12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750
  1. /******/ (() => { // webpackBootstrap
  2. /******/ var __webpack_modules__ = ({
  3. /***/ "./node_modules/@inertiajs/inertia-vue3/dist/index.js":
  4. /*!************************************************************!*\
  5. !*** ./node_modules/@inertiajs/inertia-vue3/dist/index.js ***!
  6. \************************************************************/
  7. /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
  8. function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var r=e(__webpack_require__(/*! lodash.isequal */ "./node_modules/lodash.isequal/index.js")),t=__webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js"),n=e(__webpack_require__(/*! lodash.clonedeep */ "./node_modules/lodash.clonedeep/index.js")),o=__webpack_require__(/*! @inertiajs/inertia */ "./node_modules/@inertiajs/inertia/dist/index.js");function i(){return(i=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function a(){var e=[].slice.call(arguments),a="string"==typeof e[0]?e[0]:null,u=("string"==typeof e[0]?e[1]:e[0])||{},s=a?o.Inertia.restore(a):null,c=n(u),l=null,p=null,f=function(e){return e},d=t.reactive(i({},s?s.data:u,{isDirty:!1,errors:s?s.errors:{},hasErrors:!1,processing:!1,progress:null,wasSuccessful:!1,recentlySuccessful:!1,data:function(){var e=this;return Object.keys(u).reduce(function(r,t){return r[t]=e[t],r},{})},transform:function(e){return f=e,this},defaults:function(e,r){var t;return c=void 0===e?this.data():Object.assign({},n(c),r?((t={})[e]=r,t):e),this},reset:function(){var e=[].slice.call(arguments),r=n(c);return Object.assign(this,0===e.length?r:Object.keys(r).filter(function(r){return e.includes(r)}).reduce(function(e,t){return e[t]=r[t],e},{})),this},setError:function(e,r){var t;return Object.assign(this.errors,r?((t={})[e]=r,t):e),this.hasErrors=Object.keys(this.errors).length>0,this},clearErrors:function(){var e=this,r=[].slice.call(arguments);return this.errors=Object.keys(this.errors).reduce(function(t,n){var o;return i({},t,r.length>0&&!r.includes(n)?((o={})[n]=e.errors[n],o):{})},{}),this.hasErrors=Object.keys(this.errors).length>0,this},submit:function(e,r,t){var a=this,u=this;void 0===t&&(t={});var s=f(this.data()),d=i({},t,{onCancelToken:function(e){if(l=e,t.onCancelToken)return t.onCancelToken(e)},onBefore:function(e){if(u.wasSuccessful=!1,u.recentlySuccessful=!1,clearTimeout(p),t.onBefore)return t.onBefore(e)},onStart:function(e){if(u.processing=!0,t.onStart)return t.onStart(e)},onProgress:function(e){if(u.progress=e,t.onProgress)return t.onProgress(e)},onSuccess:function(e){try{var r=function(e){return c=n(a.data()),a.isDirty=!1,e};return a.processing=!1,a.progress=null,a.clearErrors(),a.wasSuccessful=!0,a.recentlySuccessful=!0,p=setTimeout(function(){return a.recentlySuccessful=!1},2e3),Promise.resolve(t.onSuccess?Promise.resolve(t.onSuccess(e)).then(r):r(null))}catch(e){return Promise.reject(e)}},onError:function(e){if(u.processing=!1,u.progress=null,u.clearErrors().setError(e),t.onError)return t.onError(e)},onCancel:function(){if(u.processing=!1,u.progress=null,t.onCancel)return t.onCancel()},onFinish:function(){if(u.processing=!1,u.progress=null,l=null,t.onFinish)return t.onFinish()}});"delete"===e?o.Inertia.delete(r,i({},d,{data:s})):o.Inertia[e](r,s,d)},get:function(e,r){this.submit("get",e,r)},post:function(e,r){this.submit("post",e,r)},put:function(e,r){this.submit("put",e,r)},patch:function(e,r){this.submit("patch",e,r)},delete:function(e,r){this.submit("delete",e,r)},cancel:function(){l&&l.cancel()},__rememberable:null===a,__remember:function(){return{data:this.data(),errors:this.errors}},__restore:function(e){Object.assign(this,e.data),this.setError(e.errors)}}));return t.watch(d,function(e){d.isDirty=!r(d.data(),c),a&&o.Inertia.remember(n(e.__remember()),a)},{immediate:!0,deep:!0}),d}var u={created:function(){var e=this;if(this.$options.remember){Array.isArray(this.$options.remember)&&(this.$options.remember={data:this.$options.remember}),"string"==typeof this.$options.remember&&(this.$options.remember={data:[this.$options.remember]}),"string"==typeof this.$options.remember.data&&(this.$options.remember={data:[this.$options.remember.data]});var r=this.$options.remember.key instanceof Function?this.$options.remember.key.call(this):this.$options.remember.key,t=o.Inertia.restore(r),a=this.$options.remember.data.filter(function(r){return!(null!==e[r]&&"object"==typeof e[r]&&!1===e[r].__rememberable)}),u=function(r){return null!==e[r]&&"object"==typeof e[r]&&"function"==typeof e[r].__remember&&"function"==typeof e[r].__restore};a.forEach(function(s){void 0!==e[s]&&void 0!==t&&void 0!==t[s]&&(u(s)?e[s].__restore(t[s]):e[s]=t[s]),e.$watch(s,function(){o.Inertia.remember(a.reduce(function(r,t){var o;return i({},r,((o={})[t]=n(u(t)?e[t].__remember():e[t]),o))},{}),r)},{immediate:!0,deep:!0})})}}},s=t.ref(null),c=t.ref({}),l=t.ref(null),p=null,f={name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:function(e){return e}},onHeadUpdate:{type:Function,required:!1,default:function(){return function(){}}}},setup:function(e){var r=e.initialPage,n=e.initialComponent,a=e.resolveComponent,u=e.titleCallback,f=e.onHeadUpdate;s.value=n?t.markRaw(n):null,c.value=r,l.value=null;var d="undefined"==typeof window;return p=o.createHeadManager(d,u,f),d||o.Inertia.init({initialPage:r,resolveComponent:a,swapComponent:function(e){try{return s.value=t.markRaw(e.component),c.value=e.page,l.value=e.preserveState?l.value:Date.now(),Promise.resolve()}catch(e){return Promise.reject(e)}}}),function(){if(s.value){s.value.inheritAttrs=!!s.value.inheritAttrs;var e=t.h(s.value,i({},c.value.props,{key:l.value}));return s.value.layout?"function"==typeof s.value.layout?s.value.layout(t.h,e):(Array.isArray(s.value.layout)?s.value.layout:[s.value.layout]).concat(e).reverse().reduce(function(e,r){return r.inheritAttrs=!!r.inheritAttrs,t.h(r,i({},c.value.props),function(){return e})}):e}}}},d={install:function(e){o.Inertia.form=a,Object.defineProperty(e.config.globalProperties,"$inertia",{get:function(){return o.Inertia}}),Object.defineProperty(e.config.globalProperties,"$page",{get:function(){return c.value}}),Object.defineProperty(e.config.globalProperties,"$headManager",{get:function(){return p}}),e.mixin(u)}},h={props:{title:{type:String,required:!1}},data:function(){return{provider:this.$headManager.createProvider()}},beforeUnmount:function(){this.provider.disconnect()},methods:{isUnaryTag:function(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart:function(e){e.props=e.props||{},e.props.inertia=void 0!==e.props["head-key"]?e.props["head-key"]:"";var r=Object.keys(e.props).reduce(function(r,t){var n=e.props[t];return["key","head-key"].includes(t)?r:""===n?r+" "+t:r+" "+t+'="'+n+'"'},"");return"<"+e.type+r+">"},renderTagChildren:function(e){var r=this;return"string"==typeof e.children?e.children:e.children.reduce(function(e,t){return e+r.renderTag(t)},"")},renderTag:function(e){if("Symbol(Text)"===e.type.toString())return e.children;if("Symbol()"===e.type.toString())return"";if("Symbol(Comment)"===e.type.toString())return"";var r=this.renderTagStart(e);return e.children&&(r+=this.renderTagChildren(e)),this.isUnaryTag(e)||(r+="</"+e.type+">"),r},addTitleElement:function(e){return this.title&&!e.find(function(e){return e.startsWith("<title")})&&e.push("<title inertia>"+this.title+"</title>"),e},renderNodes:function(e){var r=this;return this.addTitleElement(e.flatMap(function(e){return"Symbol(Fragment)"===e.type.toString()?e.children:e}).map(function(e){return r.renderTag(e)}).filter(function(e){return e}))}},render:function(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}},m={name:"InertiaLink",props:{as:{type:String,default:"a"},data:{type:Object,default:function(){return{}}},href:{type:String},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:function(){return[]}},headers:{type:Object,default:function(){return{}}},queryStringArrayFormat:{type:String,default:"brackets"}},setup:function(e,r){var n=r.slots,a=r.attrs;return function(e){var r=e.as.toLowerCase(),u=e.method.toLowerCase(),s=o.mergeDataIntoQueryString(u,e.href||"",e.data,e.queryStringArrayFormat),c=s[0],l=s[1];return"a"===r&&"get"!==u&&console.warn('Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.\n\nPlease specify a more appropriate element using the "as" attribute. For example:\n\n<Link href="'+c+'" method="'+u+'" as="button">...</Link>'),t.h(e.as,i({},a,"a"===r?{href:c}:{},{onClick:function(r){var t;o.shouldIntercept(r)&&(r.preventDefault(),o.Inertia.visit(c,{data:l,method:u,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:null!=(t=e.preserveState)?t:"get"!==u,only:e.only,headers:e.headers,onCancelToken:a.onCancelToken||function(){return{}},onBefore:a.onBefore||function(){return{}},onStart:a.onStart||function(){return{}},onProgress:a.onProgress||function(){return{}},onFinish:a.onFinish||function(){return{}},onCancel:a.onCancel||function(){return{}},onSuccess:a.onSuccess||function(){return{}},onError:a.onError||function(){return{}}}))}}),n)}}};exports.App=f,exports.Head=h,exports.InertiaApp=f,exports.InertiaHead=h,exports.InertiaLink=m,exports.Link=m,exports.app=f,exports.createInertiaApp=function(e){try{var r,n,o,i,a,u,s;n=void 0===(r=e.id)?"app":r,o=e.resolve,i=e.setup,a=e.title,u=e.page,s=e.render;var c="undefined"==typeof window,l=c?null:document.getElementById(n),p=u||JSON.parse(l.dataset.page),h=function(e){return Promise.resolve(o(e)).then(function(e){return e.default||e})},m=[];return Promise.resolve(h(p.component).then(function(e){return i({el:l,app:f,App:f,props:{initialPage:p,initialComponent:e,resolveComponent:h,titleCallback:a,onHeadUpdate:c?function(e){return m=e}:null},plugin:d})})).then(function(e){return function(){if(c)return Promise.resolve(s(t.createSSRApp({render:function(){return t.h("div",{id:n,"data-page":JSON.stringify(p),innerHTML:s(e)})}}))).then(function(e){return{head:m,body:e}})}()})}catch(e){return Promise.reject(e)}},exports.link=m,exports.plugin=d,exports.useForm=a,exports.usePage=function(){return{props:t.computed(function(){return c.value.props}),url:t.computed(function(){return c.value.url}),component:t.computed(function(){return c.value.component}),version:t.computed(function(){return c.value.version})}},exports.useRemember=function(e,r){if("object"==typeof e&&null!==e&&!1===e.__rememberable)return e;var i=o.Inertia.restore(r),a=t.isReactive(e)?t.reactive:t.ref,u="function"==typeof e.__remember&&"function"==typeof e.__restore,s=void 0===i?e:a(u?e.__restore(i):i);return t.watch(s,function(t){o.Inertia.remember(n(u?e.__remember():t),r)},{immediate:!0,deep:!0}),s};
  9. //# sourceMappingURL=index.js.map
  10. /***/ }),
  11. /***/ "./node_modules/@inertiajs/inertia/dist/index.js":
  12. /*!*******************************************************!*\
  13. !*** ./node_modules/@inertiajs/inertia/dist/index.js ***!
  14. \*******************************************************/
  15. /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
  16. function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var t=e(__webpack_require__(/*! axios */ "./node_modules/@inertiajs/inertia/node_modules/axios/index.js")),n=__webpack_require__(/*! qs */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/index.js"),i=e(__webpack_require__(/*! deepmerge */ "./node_modules/deepmerge/dist/cjs.js"));function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var o,s={modal:null,listener:null,show:function(e){var t=this;"object"==typeof e&&(e="All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>"+JSON.stringify(e));var n=document.createElement("html");n.innerHTML=e,n.querySelectorAll("a").forEach(function(e){return e.setAttribute("target","_top")}),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",function(){return t.hide()});var i=document.createElement("iframe");if(i.style.backgroundColor="white",i.style.borderRadius="5px",i.style.width="100%",i.style.height="100%",this.modal.appendChild(i),document.body.prepend(this.modal),document.body.style.overflow="hidden",!i.contentWindow)throw new Error("iframe not yet ready.");i.contentWindow.document.open(),i.contentWindow.document.write(n.outerHTML),i.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide:function(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape:function(e){27===e.keyCode&&this.hide()}};function a(e,t){var n;return function(){var i=arguments,r=this;clearTimeout(n),n=setTimeout(function(){return e.apply(r,[].slice.call(i))},t)}}function c(e,t,n){for(var i in void 0===t&&(t=new FormData),void 0===n&&(n=null),e=e||{})Object.prototype.hasOwnProperty.call(e,i)&&d(t,l(n,i),e[i]);return t}function l(e,t){return e?e+"["+t+"]":t}function d(e,t,n){return Array.isArray(n)?Array.from(n.keys()).forEach(function(i){return d(e,l(t,i.toString()),n[i])}):n instanceof Date?e.append(t,n.toISOString()):n instanceof File?e.append(t,n,n.name):n instanceof Blob?e.append(t,n):"boolean"==typeof n?e.append(t,n?"1":"0"):"string"==typeof n?e.append(t,n):"number"==typeof n?e.append(t,""+n):null==n?e.append(t,""):void c(n,e,t)}function u(e){return new URL(e.toString(),window.location.toString())}function h(e,t,r,o){void 0===o&&(o="brackets");var s=/^https?:\/\//.test(t.toString()),a=s||t.toString().startsWith("/"),c=!a&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),l=t.toString().includes("?")||e===exports.Method.GET&&Object.keys(r).length,d=t.toString().includes("#"),u=new URL(t.toString(),"http://localhost");return e===exports.Method.GET&&Object.keys(r).length&&(u.search=n.stringify(i(n.parse(u.search,{ignoreQueryPrefix:!0}),r),{encodeValuesOnly:!0,arrayFormat:o}),r={}),[[s?u.protocol+"//"+u.host:"",a?u.pathname:"",c?u.pathname.substring(1):"",l?u.search:"",d?u.hash:""].join(""),r]}function p(e){return(e=new URL(e.href)).hash="",e}function f(e,t){return document.dispatchEvent(new CustomEvent("inertia:"+e,t))}(o=exports.Method||(exports.Method={})).GET="get",o.POST="post",o.PUT="put",o.PATCH="patch",o.DELETE="delete";var v=function(e){return f("finish",{detail:{visit:e}})},m=function(e){return f("navigate",{detail:{page:e}})},g="undefined"==typeof window,w=function(){function e(){this.visitId=null}var n=e.prototype;return n.init=function(e){var t=e.resolveComponent,n=e.swapComponent;this.page=e.initialPage,this.resolveComponent=t,this.swapComponent=n,this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()},n.handleInitialPageVisit=function(e){this.page.url+=window.location.hash,this.setPage(e,{preserveState:!0}).then(function(){return m(e)})},n.setupEventListeners=function(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",a(this.handleScrollEvent.bind(this),100),!0)},n.scrollRegions=function(){return document.querySelectorAll("[scroll-region]")},n.handleScrollEvent=function(e){"function"==typeof e.target.hasAttribute&&e.target.hasAttribute("scroll-region")&&this.saveScrollPositions()},n.saveScrollPositions=function(){this.replaceState(r({},this.page,{scrollRegions:Array.from(this.scrollRegions()).map(function(e){return{top:e.scrollTop,left:e.scrollLeft}})}))},n.resetScrollPositions=function(){var e;document.documentElement.scrollTop=0,document.documentElement.scrollLeft=0,this.scrollRegions().forEach(function(e){e.scrollTop=0,e.scrollLeft=0}),this.saveScrollPositions(),window.location.hash&&(null==(e=document.getElementById(window.location.hash.slice(1)))||e.scrollIntoView())},n.restoreScrollPositions=function(){var e=this;this.page.scrollRegions&&this.scrollRegions().forEach(function(t,n){var i=e.page.scrollRegions[n];i&&(t.scrollTop=i.top,t.scrollLeft=i.left)})},n.isBackForwardVisit=function(){return window.history.state&&window.performance&&window.performance.getEntriesByType("navigation").length>0&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},n.handleBackForwardVisit=function(e){var t=this;window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then(function(){t.restoreScrollPositions(),m(e)})},n.locationVisit=function(e,t){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:t})),window.location.href=e.href,p(window.location).href===p(e).href&&window.location.reload()}catch(e){return!1}},n.isLocationVisit=function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(e){return!1}},n.handleLocationVisit=function(e){var t,n,i,r,o=this,s=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=null!=(t=null==(n=window.history.state)?void 0:n.rememberedState)?t:{},e.scrollRegions=null!=(i=null==(r=window.history.state)?void 0:r.scrollRegions)?i:[],this.setPage(e,{preserveScroll:s.preserveScroll,preserveState:!0}).then(function(){s.preserveScroll&&o.restoreScrollPositions(),m(e)})},n.isLocationVisitResponse=function(e){return e&&409===e.status&&e.headers["x-inertia-location"]},n.isInertiaResponse=function(e){return null==e?void 0:e.headers["x-inertia"]},n.createVisitId=function(){return this.visitId={},this.visitId},n.cancelVisit=function(e,t){var n=t.cancelled,i=void 0!==n&&n,r=t.interrupted,o=void 0!==r&&r;!e||e.completed||e.cancelled||e.interrupted||(e.cancelToken.cancel(),e.onCancel(),e.completed=!1,e.cancelled=i,e.interrupted=o,v(e),e.onFinish(e))},n.finishVisit=function(e){e.cancelled||e.interrupted||(e.completed=!0,e.cancelled=!1,e.interrupted=!1,v(e),e.onFinish(e))},n.resolvePreserveOption=function(e,t){return"function"==typeof e?e(t):"errors"===e?Object.keys(t.props.errors||{}).length>0:e},n.visit=function(e,n){var i=this,o=void 0===n?{}:n,a=o.method,l=void 0===a?exports.Method.GET:a,d=o.data,v=void 0===d?{}:d,m=o.replace,g=void 0!==m&&m,w=o.preserveScroll,y=void 0!==w&&w,S=o.preserveState,b=void 0!==S&&S,E=o.only,P=void 0===E?[]:E,I=o.headers,x=void 0===I?{}:I,V=o.errorBag,T=void 0===V?"":V,L=o.forceFormData,O=void 0!==L&&L,k=o.onCancelToken,C=void 0===k?function(){}:k,M=o.onBefore,A=void 0===M?function(){}:M,F=o.onStart,R=void 0===F?function(){}:F,j=o.onProgress,D=void 0===j?function(){}:j,B=o.onFinish,q=void 0===B?function(){}:B,N=o.onCancel,H=void 0===N?function(){}:N,W=o.onSuccess,G=void 0===W?function(){}:W,U=o.onError,X=void 0===U?function(){}:U,J=o.queryStringArrayFormat,K=void 0===J?"brackets":J,_="string"==typeof e?u(e):e;if(!function e(t){return t instanceof File||t instanceof Blob||t instanceof FileList&&t.length>0||t instanceof FormData&&Array.from(t.values()).some(function(t){return e(t)})||"object"==typeof t&&null!==t&&Object.values(t).some(function(t){return e(t)})}(v)&&!O||v instanceof FormData||(v=c(v)),!(v instanceof FormData)){var z=h(l,_,v,K),Q=z[1];_=u(z[0]),v=Q}var Y={url:_,method:l,data:v,replace:g,preserveScroll:y,preserveState:b,only:P,headers:x,errorBag:T,forceFormData:O,queryStringArrayFormat:K,cancelled:!1,completed:!1,interrupted:!1};if(!1!==A(Y)&&function(e){return f("before",{cancelable:!0,detail:{visit:e}})}(Y)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var Z=this.createVisitId();this.activeVisit=r({},Y,{onCancelToken:C,onBefore:A,onStart:R,onProgress:D,onFinish:q,onCancel:H,onSuccess:G,onError:X,queryStringArrayFormat:K,cancelToken:t.CancelToken.source()}),C({cancel:function(){i.activeVisit&&i.cancelVisit(i.activeVisit,{cancelled:!0})}}),function(e){f("start",{detail:{visit:e}})}(Y),R(Y),t({method:l,url:p(_).href,data:l===exports.Method.GET?{}:v,params:l===exports.Method.GET?v:{},cancelToken:this.activeVisit.cancelToken.token,headers:r({},x,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},P.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":P.join(",")}:{},T&&T.length?{"X-Inertia-Error-Bag":T}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(e){v instanceof FormData&&(e.percentage=Math.round(e.loaded/e.total*100),function(e){f("progress",{detail:{progress:e}})}(e),D(e))}}).then(function(e){var t;if(!i.isInertiaResponse(e))return Promise.reject({response:e});var n=e.data;P.length&&n.component===i.page.component&&(n.props=r({},i.page.props,n.props)),y=i.resolvePreserveOption(y,n),(b=i.resolvePreserveOption(b,n))&&null!=(t=window.history.state)&&t.rememberedState&&n.component===i.page.component&&(n.rememberedState=window.history.state.rememberedState);var o=_,s=u(n.url);return o.hash&&!s.hash&&p(o).href===s.href&&(s.hash=o.hash,n.url=s.href),i.setPage(n,{visitId:Z,replace:g,preserveScroll:y,preserveState:b})}).then(function(){var e=i.page.props.errors||{};if(Object.keys(e).length>0){var t=T?e[T]?e[T]:{}:e;return function(e){f("error",{detail:{errors:e}})}(t),X(t)}return f("success",{detail:{page:i.page}}),G(i.page)}).catch(function(e){if(i.isInertiaResponse(e.response))return i.setPage(e.response.data,{visitId:Z});if(i.isLocationVisitResponse(e.response)){var t=u(e.response.headers["x-inertia-location"]),n=_;n.hash&&!t.hash&&p(n).href===t.href&&(t.hash=n.hash),i.locationVisit(t,!0===y)}else{if(!e.response)return Promise.reject(e);f("invalid",{cancelable:!0,detail:{response:e.response}})&&s.show(e.response.data)}}).then(function(){i.activeVisit&&i.finishVisit(i.activeVisit)}).catch(function(e){if(!t.isCancel(e)){var n=f("exception",{cancelable:!0,detail:{exception:e}});if(i.activeVisit&&i.finishVisit(i.activeVisit),n)return Promise.reject(e)}})}},n.setPage=function(e,t){var n=this,i=void 0===t?{}:t,r=i.visitId,o=void 0===r?this.createVisitId():r,s=i.replace,a=void 0!==s&&s,c=i.preserveScroll,l=void 0!==c&&c,d=i.preserveState,h=void 0!==d&&d;return Promise.resolve(this.resolveComponent(e.component)).then(function(t){o===n.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},(a=a||u(e.url).href===window.location.href)?n.replaceState(e):n.pushState(e),n.swapComponent({component:t,page:e,preserveState:h}).then(function(){l||n.resetScrollPositions(),a||m(e)}))})},n.pushState=function(e){this.page=e,window.history.pushState(e,"",e.url)},n.replaceState=function(e){this.page=e,window.history.replaceState(e,"",e.url)},n.handlePopstateEvent=function(e){var t=this;if(null!==e.state){var n=e.state,i=this.createVisitId();Promise.resolve(this.resolveComponent(n.component)).then(function(e){i===t.visitId&&(t.page=n,t.swapComponent({component:e,page:n,preserveState:!1}).then(function(){t.restoreScrollPositions(),m(n)}))})}else{var o=u(this.page.url);o.hash=window.location.hash,this.replaceState(r({},this.page,{url:o.href})),this.resetScrollPositions()}},n.get=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({},n,{method:exports.Method.GET,data:t}))},n.reload=function(e){return void 0===e&&(e={}),this.visit(window.location.href,r({},e,{preserveScroll:!0,preserveState:!0}))},n.replace=function(e,t){var n;return void 0===t&&(t={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(n=t.method)?n:"get")+"() instead."),this.visit(e,r({preserveState:!0},t,{replace:!0}))},n.post=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({preserveState:!0},n,{method:exports.Method.POST,data:t}))},n.put=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({preserveState:!0},n,{method:exports.Method.PUT,data:t}))},n.patch=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),this.visit(e,r({preserveState:!0},n,{method:exports.Method.PATCH,data:t}))},n.delete=function(e,t){return void 0===t&&(t={}),this.visit(e,r({preserveState:!0},t,{method:exports.Method.DELETE}))},n.remember=function(e,t){var n,i;void 0===t&&(t="default"),g||this.replaceState(r({},this.page,{rememberedState:r({},null==(n=this.page)?void 0:n.rememberedState,(i={},i[t]=e,i))}))},n.restore=function(e){var t,n;if(void 0===e&&(e="default"),!g)return null==(t=window.history.state)||null==(n=t.rememberedState)?void 0:n[e]},n.on=function(e,t){var n=function(e){var n=t(e);e.cancelable&&!e.defaultPrevented&&!1===n&&e.preventDefault()};return document.addEventListener("inertia:"+e,n),function(){return document.removeEventListener("inertia:"+e,n)}},e}(),y={buildDOMElement:function(e){var t=document.createElement("template");t.innerHTML=e;var n=t.content.firstChild;if(!e.startsWith("<script "))return n;var i=document.createElement("script");return i.innerHTML=n.innerHTML,n.getAttributeNames().forEach(function(e){i.setAttribute(e,n.getAttribute(e)||"")}),i},isInertiaManagedElement:function(e){return e.nodeType===Node.ELEMENT_NODE&&null!==e.getAttribute("inertia")},findMatchingElementIndex:function(e,t){var n=e.getAttribute("inertia");return null!==n?t.findIndex(function(e){return e.getAttribute("inertia")===n}):-1},update:a(function(e){var t=this,n=e.map(function(e){return t.buildDOMElement(e)});Array.from(document.head.childNodes).filter(function(e){return t.isInertiaManagedElement(e)}).forEach(function(e){var i=t.findMatchingElementIndex(e,n);if(-1!==i){var r,o=n.splice(i,1)[0];o&&!e.isEqualNode(o)&&(null==e||null==(r=e.parentNode)||r.replaceChild(o,e))}else{var s;null==e||null==(s=e.parentNode)||s.removeChild(e)}}),n.forEach(function(e){return document.head.appendChild(e)})},1)},S=new w;exports.Inertia=S,exports.createHeadManager=function(e,t,n){var i={},r=0;function o(){var e=Object.values(i).reduce(function(e,t){return e.concat(t)},[]).reduce(function(e,n){if(-1===n.indexOf("<"))return e;if(0===n.indexOf("<title ")){var i=n.match(/(<title [^>]+>)(.*?)(<\/title>)/);return e.title=i?""+i[1]+t(i[2])+i[3]:n,e}var r=n.match(/ inertia="[^"]+"/);return r?e[r[0]]=n:e[Object.keys(e).length]=n,e},{});return Object.values(e)}function s(){e?n(o()):y.update(o())}return{createProvider:function(){var e=function(){var e=r+=1;return i[e]=[],e.toString()}();return{update:function(t){return function(e,t){void 0===t&&(t=[]),null!==e&&Object.keys(i).indexOf(e)>-1&&(i[e]=t),s()}(e,t)},disconnect:function(){return function(e){null!==e&&-1!==Object.keys(i).indexOf(e)&&(delete i[e],s())}(e)}}}}},exports.hrefToUrl=u,exports.mergeDataIntoQueryString=h,exports.shouldIntercept=function(e){var t="a"===e.currentTarget.tagName.toLowerCase();return!(e.target&&null!=e&&e.target.isContentEditable||e.defaultPrevented||t&&e.which>1||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey)},exports.urlWithoutHash=p;
  17. //# sourceMappingURL=index.js.map
  18. /***/ }),
  19. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/index.js":
  20. /*!*********************************************************************!*\
  21. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/index.js ***!
  22. \*********************************************************************/
  23. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  24. module.exports = __webpack_require__(/*! ./lib/axios */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/axios.js");
  25. /***/ }),
  26. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js":
  27. /*!********************************************************************************!*\
  28. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js ***!
  29. \********************************************************************************/
  30. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  31. "use strict";
  32. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  33. var settle = __webpack_require__(/*! ./../core/settle */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/settle.js");
  34. var cookies = __webpack_require__(/*! ./../helpers/cookies */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/cookies.js");
  35. var buildURL = __webpack_require__(/*! ./../helpers/buildURL */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js");
  36. var buildFullPath = __webpack_require__(/*! ../core/buildFullPath */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/buildFullPath.js");
  37. var parseHeaders = __webpack_require__(/*! ./../helpers/parseHeaders */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/parseHeaders.js");
  38. var isURLSameOrigin = __webpack_require__(/*! ./../helpers/isURLSameOrigin */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isURLSameOrigin.js");
  39. var createError = __webpack_require__(/*! ../core/createError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js");
  40. module.exports = function xhrAdapter(config) {
  41. return new Promise(function dispatchXhrRequest(resolve, reject) {
  42. var requestData = config.data;
  43. var requestHeaders = config.headers;
  44. var responseType = config.responseType;
  45. if (utils.isFormData(requestData)) {
  46. delete requestHeaders['Content-Type']; // Let the browser set it
  47. }
  48. var request = new XMLHttpRequest();
  49. // HTTP basic authentication
  50. if (config.auth) {
  51. var username = config.auth.username || '';
  52. var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';
  53. requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);
  54. }
  55. var fullPath = buildFullPath(config.baseURL, config.url);
  56. request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);
  57. // Set the request timeout in MS
  58. request.timeout = config.timeout;
  59. function onloadend() {
  60. if (!request) {
  61. return;
  62. }
  63. // Prepare the response
  64. var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;
  65. var responseData = !responseType || responseType === 'text' || responseType === 'json' ?
  66. request.responseText : request.response;
  67. var response = {
  68. data: responseData,
  69. status: request.status,
  70. statusText: request.statusText,
  71. headers: responseHeaders,
  72. config: config,
  73. request: request
  74. };
  75. settle(resolve, reject, response);
  76. // Clean up request
  77. request = null;
  78. }
  79. if ('onloadend' in request) {
  80. // Use onloadend if available
  81. request.onloadend = onloadend;
  82. } else {
  83. // Listen for ready state to emulate onloadend
  84. request.onreadystatechange = function handleLoad() {
  85. if (!request || request.readyState !== 4) {
  86. return;
  87. }
  88. // The request errored out and we didn't get a response, this will be
  89. // handled by onerror instead
  90. // With one exception: request that using file: protocol, most browsers
  91. // will return status as 0 even though it's a successful request
  92. if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {
  93. return;
  94. }
  95. // readystate handler is calling before onerror or ontimeout handlers,
  96. // so we should call onloadend on the next 'tick'
  97. setTimeout(onloadend);
  98. };
  99. }
  100. // Handle browser request cancellation (as opposed to a manual cancellation)
  101. request.onabort = function handleAbort() {
  102. if (!request) {
  103. return;
  104. }
  105. reject(createError('Request aborted', config, 'ECONNABORTED', request));
  106. // Clean up request
  107. request = null;
  108. };
  109. // Handle low level network errors
  110. request.onerror = function handleError() {
  111. // Real errors are hidden from us by the browser
  112. // onerror should only fire if it's a network error
  113. reject(createError('Network Error', config, null, request));
  114. // Clean up request
  115. request = null;
  116. };
  117. // Handle timeout
  118. request.ontimeout = function handleTimeout() {
  119. var timeoutErrorMessage = 'timeout of ' + config.timeout + 'ms exceeded';
  120. if (config.timeoutErrorMessage) {
  121. timeoutErrorMessage = config.timeoutErrorMessage;
  122. }
  123. reject(createError(
  124. timeoutErrorMessage,
  125. config,
  126. config.transitional && config.transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',
  127. request));
  128. // Clean up request
  129. request = null;
  130. };
  131. // Add xsrf header
  132. // This is only done if running in a standard browser environment.
  133. // Specifically not if we're in a web worker, or react-native.
  134. if (utils.isStandardBrowserEnv()) {
  135. // Add xsrf header
  136. var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?
  137. cookies.read(config.xsrfCookieName) :
  138. undefined;
  139. if (xsrfValue) {
  140. requestHeaders[config.xsrfHeaderName] = xsrfValue;
  141. }
  142. }
  143. // Add headers to the request
  144. if ('setRequestHeader' in request) {
  145. utils.forEach(requestHeaders, function setRequestHeader(val, key) {
  146. if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {
  147. // Remove Content-Type if data is undefined
  148. delete requestHeaders[key];
  149. } else {
  150. // Otherwise add header to the request
  151. request.setRequestHeader(key, val);
  152. }
  153. });
  154. }
  155. // Add withCredentials to request if needed
  156. if (!utils.isUndefined(config.withCredentials)) {
  157. request.withCredentials = !!config.withCredentials;
  158. }
  159. // Add responseType to request if needed
  160. if (responseType && responseType !== 'json') {
  161. request.responseType = config.responseType;
  162. }
  163. // Handle progress if needed
  164. if (typeof config.onDownloadProgress === 'function') {
  165. request.addEventListener('progress', config.onDownloadProgress);
  166. }
  167. // Not all browsers support upload events
  168. if (typeof config.onUploadProgress === 'function' && request.upload) {
  169. request.upload.addEventListener('progress', config.onUploadProgress);
  170. }
  171. if (config.cancelToken) {
  172. // Handle cancellation
  173. config.cancelToken.promise.then(function onCanceled(cancel) {
  174. if (!request) {
  175. return;
  176. }
  177. request.abort();
  178. reject(cancel);
  179. // Clean up request
  180. request = null;
  181. });
  182. }
  183. if (!requestData) {
  184. requestData = null;
  185. }
  186. // Send the request
  187. request.send(requestData);
  188. });
  189. };
  190. /***/ }),
  191. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/axios.js":
  192. /*!*************************************************************************!*\
  193. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/axios.js ***!
  194. \*************************************************************************/
  195. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  196. "use strict";
  197. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  198. var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js");
  199. var Axios = __webpack_require__(/*! ./core/Axios */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/Axios.js");
  200. var mergeConfig = __webpack_require__(/*! ./core/mergeConfig */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js");
  201. var defaults = __webpack_require__(/*! ./defaults */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js");
  202. /**
  203. * Create an instance of Axios
  204. *
  205. * @param {Object} defaultConfig The default config for the instance
  206. * @return {Axios} A new instance of Axios
  207. */
  208. function createInstance(defaultConfig) {
  209. var context = new Axios(defaultConfig);
  210. var instance = bind(Axios.prototype.request, context);
  211. // Copy axios.prototype to instance
  212. utils.extend(instance, Axios.prototype, context);
  213. // Copy context to instance
  214. utils.extend(instance, context);
  215. return instance;
  216. }
  217. // Create the default instance to be exported
  218. var axios = createInstance(defaults);
  219. // Expose Axios class to allow class inheritance
  220. axios.Axios = Axios;
  221. // Factory for creating new instances
  222. axios.create = function create(instanceConfig) {
  223. return createInstance(mergeConfig(axios.defaults, instanceConfig));
  224. };
  225. // Expose Cancel & CancelToken
  226. axios.Cancel = __webpack_require__(/*! ./cancel/Cancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js");
  227. axios.CancelToken = __webpack_require__(/*! ./cancel/CancelToken */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/CancelToken.js");
  228. axios.isCancel = __webpack_require__(/*! ./cancel/isCancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js");
  229. // Expose all/spread
  230. axios.all = function all(promises) {
  231. return Promise.all(promises);
  232. };
  233. axios.spread = __webpack_require__(/*! ./helpers/spread */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/spread.js");
  234. // Expose isAxiosError
  235. axios.isAxiosError = __webpack_require__(/*! ./helpers/isAxiosError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAxiosError.js");
  236. module.exports = axios;
  237. // Allow use of default import syntax in TypeScript
  238. module.exports["default"] = axios;
  239. /***/ }),
  240. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js":
  241. /*!*********************************************************************************!*\
  242. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js ***!
  243. \*********************************************************************************/
  244. /***/ ((module) => {
  245. "use strict";
  246. /**
  247. * A `Cancel` is an object that is thrown when an operation is canceled.
  248. *
  249. * @class
  250. * @param {string=} message The message.
  251. */
  252. function Cancel(message) {
  253. this.message = message;
  254. }
  255. Cancel.prototype.toString = function toString() {
  256. return 'Cancel' + (this.message ? ': ' + this.message : '');
  257. };
  258. Cancel.prototype.__CANCEL__ = true;
  259. module.exports = Cancel;
  260. /***/ }),
  261. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/CancelToken.js":
  262. /*!**************************************************************************************!*\
  263. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/CancelToken.js ***!
  264. \**************************************************************************************/
  265. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  266. "use strict";
  267. var Cancel = __webpack_require__(/*! ./Cancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/Cancel.js");
  268. /**
  269. * A `CancelToken` is an object that can be used to request cancellation of an operation.
  270. *
  271. * @class
  272. * @param {Function} executor The executor function.
  273. */
  274. function CancelToken(executor) {
  275. if (typeof executor !== 'function') {
  276. throw new TypeError('executor must be a function.');
  277. }
  278. var resolvePromise;
  279. this.promise = new Promise(function promiseExecutor(resolve) {
  280. resolvePromise = resolve;
  281. });
  282. var token = this;
  283. executor(function cancel(message) {
  284. if (token.reason) {
  285. // Cancellation has already been requested
  286. return;
  287. }
  288. token.reason = new Cancel(message);
  289. resolvePromise(token.reason);
  290. });
  291. }
  292. /**
  293. * Throws a `Cancel` if cancellation has been requested.
  294. */
  295. CancelToken.prototype.throwIfRequested = function throwIfRequested() {
  296. if (this.reason) {
  297. throw this.reason;
  298. }
  299. };
  300. /**
  301. * Returns an object that contains a new `CancelToken` and a function that, when called,
  302. * cancels the `CancelToken`.
  303. */
  304. CancelToken.source = function source() {
  305. var cancel;
  306. var token = new CancelToken(function executor(c) {
  307. cancel = c;
  308. });
  309. return {
  310. token: token,
  311. cancel: cancel
  312. };
  313. };
  314. module.exports = CancelToken;
  315. /***/ }),
  316. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js":
  317. /*!***********************************************************************************!*\
  318. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js ***!
  319. \***********************************************************************************/
  320. /***/ ((module) => {
  321. "use strict";
  322. module.exports = function isCancel(value) {
  323. return !!(value && value.__CANCEL__);
  324. };
  325. /***/ }),
  326. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/Axios.js":
  327. /*!******************************************************************************!*\
  328. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/Axios.js ***!
  329. \******************************************************************************/
  330. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  331. "use strict";
  332. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  333. var buildURL = __webpack_require__(/*! ../helpers/buildURL */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js");
  334. var InterceptorManager = __webpack_require__(/*! ./InterceptorManager */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/InterceptorManager.js");
  335. var dispatchRequest = __webpack_require__(/*! ./dispatchRequest */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/dispatchRequest.js");
  336. var mergeConfig = __webpack_require__(/*! ./mergeConfig */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js");
  337. var validator = __webpack_require__(/*! ../helpers/validator */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/validator.js");
  338. var validators = validator.validators;
  339. /**
  340. * Create a new instance of Axios
  341. *
  342. * @param {Object} instanceConfig The default config for the instance
  343. */
  344. function Axios(instanceConfig) {
  345. this.defaults = instanceConfig;
  346. this.interceptors = {
  347. request: new InterceptorManager(),
  348. response: new InterceptorManager()
  349. };
  350. }
  351. /**
  352. * Dispatch a request
  353. *
  354. * @param {Object} config The config specific for this request (merged with this.defaults)
  355. */
  356. Axios.prototype.request = function request(config) {
  357. /*eslint no-param-reassign:0*/
  358. // Allow for axios('example/url'[, config]) a la fetch API
  359. if (typeof config === 'string') {
  360. config = arguments[1] || {};
  361. config.url = arguments[0];
  362. } else {
  363. config = config || {};
  364. }
  365. config = mergeConfig(this.defaults, config);
  366. // Set config.method
  367. if (config.method) {
  368. config.method = config.method.toLowerCase();
  369. } else if (this.defaults.method) {
  370. config.method = this.defaults.method.toLowerCase();
  371. } else {
  372. config.method = 'get';
  373. }
  374. var transitional = config.transitional;
  375. if (transitional !== undefined) {
  376. validator.assertOptions(transitional, {
  377. silentJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
  378. forcedJSONParsing: validators.transitional(validators.boolean, '1.0.0'),
  379. clarifyTimeoutError: validators.transitional(validators.boolean, '1.0.0')
  380. }, false);
  381. }
  382. // filter out skipped interceptors
  383. var requestInterceptorChain = [];
  384. var synchronousRequestInterceptors = true;
  385. this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {
  386. if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {
  387. return;
  388. }
  389. synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;
  390. requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);
  391. });
  392. var responseInterceptorChain = [];
  393. this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {
  394. responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);
  395. });
  396. var promise;
  397. if (!synchronousRequestInterceptors) {
  398. var chain = [dispatchRequest, undefined];
  399. Array.prototype.unshift.apply(chain, requestInterceptorChain);
  400. chain = chain.concat(responseInterceptorChain);
  401. promise = Promise.resolve(config);
  402. while (chain.length) {
  403. promise = promise.then(chain.shift(), chain.shift());
  404. }
  405. return promise;
  406. }
  407. var newConfig = config;
  408. while (requestInterceptorChain.length) {
  409. var onFulfilled = requestInterceptorChain.shift();
  410. var onRejected = requestInterceptorChain.shift();
  411. try {
  412. newConfig = onFulfilled(newConfig);
  413. } catch (error) {
  414. onRejected(error);
  415. break;
  416. }
  417. }
  418. try {
  419. promise = dispatchRequest(newConfig);
  420. } catch (error) {
  421. return Promise.reject(error);
  422. }
  423. while (responseInterceptorChain.length) {
  424. promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());
  425. }
  426. return promise;
  427. };
  428. Axios.prototype.getUri = function getUri(config) {
  429. config = mergeConfig(this.defaults, config);
  430. return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\?/, '');
  431. };
  432. // Provide aliases for supported request methods
  433. utils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {
  434. /*eslint func-names:0*/
  435. Axios.prototype[method] = function(url, config) {
  436. return this.request(mergeConfig(config || {}, {
  437. method: method,
  438. url: url,
  439. data: (config || {}).data
  440. }));
  441. };
  442. });
  443. utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  444. /*eslint func-names:0*/
  445. Axios.prototype[method] = function(url, data, config) {
  446. return this.request(mergeConfig(config || {}, {
  447. method: method,
  448. url: url,
  449. data: data
  450. }));
  451. };
  452. });
  453. module.exports = Axios;
  454. /***/ }),
  455. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/InterceptorManager.js":
  456. /*!*******************************************************************************************!*\
  457. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/InterceptorManager.js ***!
  458. \*******************************************************************************************/
  459. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  460. "use strict";
  461. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  462. function InterceptorManager() {
  463. this.handlers = [];
  464. }
  465. /**
  466. * Add a new interceptor to the stack
  467. *
  468. * @param {Function} fulfilled The function to handle `then` for a `Promise`
  469. * @param {Function} rejected The function to handle `reject` for a `Promise`
  470. *
  471. * @return {Number} An ID used to remove interceptor later
  472. */
  473. InterceptorManager.prototype.use = function use(fulfilled, rejected, options) {
  474. this.handlers.push({
  475. fulfilled: fulfilled,
  476. rejected: rejected,
  477. synchronous: options ? options.synchronous : false,
  478. runWhen: options ? options.runWhen : null
  479. });
  480. return this.handlers.length - 1;
  481. };
  482. /**
  483. * Remove an interceptor from the stack
  484. *
  485. * @param {Number} id The ID that was returned by `use`
  486. */
  487. InterceptorManager.prototype.eject = function eject(id) {
  488. if (this.handlers[id]) {
  489. this.handlers[id] = null;
  490. }
  491. };
  492. /**
  493. * Iterate over all the registered interceptors
  494. *
  495. * This method is particularly useful for skipping over any
  496. * interceptors that may have become `null` calling `eject`.
  497. *
  498. * @param {Function} fn The function to call for each interceptor
  499. */
  500. InterceptorManager.prototype.forEach = function forEach(fn) {
  501. utils.forEach(this.handlers, function forEachHandler(h) {
  502. if (h !== null) {
  503. fn(h);
  504. }
  505. });
  506. };
  507. module.exports = InterceptorManager;
  508. /***/ }),
  509. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/buildFullPath.js":
  510. /*!**************************************************************************************!*\
  511. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/buildFullPath.js ***!
  512. \**************************************************************************************/
  513. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  514. "use strict";
  515. var isAbsoluteURL = __webpack_require__(/*! ../helpers/isAbsoluteURL */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAbsoluteURL.js");
  516. var combineURLs = __webpack_require__(/*! ../helpers/combineURLs */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/combineURLs.js");
  517. /**
  518. * Creates a new URL by combining the baseURL with the requestedURL,
  519. * only when the requestedURL is not already an absolute URL.
  520. * If the requestURL is absolute, this function returns the requestedURL untouched.
  521. *
  522. * @param {string} baseURL The base URL
  523. * @param {string} requestedURL Absolute or relative URL to combine
  524. * @returns {string} The combined full path
  525. */
  526. module.exports = function buildFullPath(baseURL, requestedURL) {
  527. if (baseURL && !isAbsoluteURL(requestedURL)) {
  528. return combineURLs(baseURL, requestedURL);
  529. }
  530. return requestedURL;
  531. };
  532. /***/ }),
  533. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js":
  534. /*!************************************************************************************!*\
  535. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js ***!
  536. \************************************************************************************/
  537. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  538. "use strict";
  539. var enhanceError = __webpack_require__(/*! ./enhanceError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js");
  540. /**
  541. * Create an Error with the specified message, config, error code, request and response.
  542. *
  543. * @param {string} message The error message.
  544. * @param {Object} config The config.
  545. * @param {string} [code] The error code (for example, 'ECONNABORTED').
  546. * @param {Object} [request] The request.
  547. * @param {Object} [response] The response.
  548. * @returns {Error} The created error.
  549. */
  550. module.exports = function createError(message, config, code, request, response) {
  551. var error = new Error(message);
  552. return enhanceError(error, config, code, request, response);
  553. };
  554. /***/ }),
  555. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/dispatchRequest.js":
  556. /*!****************************************************************************************!*\
  557. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/dispatchRequest.js ***!
  558. \****************************************************************************************/
  559. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  560. "use strict";
  561. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  562. var transformData = __webpack_require__(/*! ./transformData */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/transformData.js");
  563. var isCancel = __webpack_require__(/*! ../cancel/isCancel */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/cancel/isCancel.js");
  564. var defaults = __webpack_require__(/*! ../defaults */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js");
  565. /**
  566. * Throws a `Cancel` if cancellation has been requested.
  567. */
  568. function throwIfCancellationRequested(config) {
  569. if (config.cancelToken) {
  570. config.cancelToken.throwIfRequested();
  571. }
  572. }
  573. /**
  574. * Dispatch a request to the server using the configured adapter.
  575. *
  576. * @param {object} config The config that is to be used for the request
  577. * @returns {Promise} The Promise to be fulfilled
  578. */
  579. module.exports = function dispatchRequest(config) {
  580. throwIfCancellationRequested(config);
  581. // Ensure headers exist
  582. config.headers = config.headers || {};
  583. // Transform request data
  584. config.data = transformData.call(
  585. config,
  586. config.data,
  587. config.headers,
  588. config.transformRequest
  589. );
  590. // Flatten headers
  591. config.headers = utils.merge(
  592. config.headers.common || {},
  593. config.headers[config.method] || {},
  594. config.headers
  595. );
  596. utils.forEach(
  597. ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],
  598. function cleanHeaderConfig(method) {
  599. delete config.headers[method];
  600. }
  601. );
  602. var adapter = config.adapter || defaults.adapter;
  603. return adapter(config).then(function onAdapterResolution(response) {
  604. throwIfCancellationRequested(config);
  605. // Transform response data
  606. response.data = transformData.call(
  607. config,
  608. response.data,
  609. response.headers,
  610. config.transformResponse
  611. );
  612. return response;
  613. }, function onAdapterRejection(reason) {
  614. if (!isCancel(reason)) {
  615. throwIfCancellationRequested(config);
  616. // Transform response data
  617. if (reason && reason.response) {
  618. reason.response.data = transformData.call(
  619. config,
  620. reason.response.data,
  621. reason.response.headers,
  622. config.transformResponse
  623. );
  624. }
  625. }
  626. return Promise.reject(reason);
  627. });
  628. };
  629. /***/ }),
  630. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js":
  631. /*!*************************************************************************************!*\
  632. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js ***!
  633. \*************************************************************************************/
  634. /***/ ((module) => {
  635. "use strict";
  636. /**
  637. * Update an Error with the specified config, error code, and response.
  638. *
  639. * @param {Error} error The error to update.
  640. * @param {Object} config The config.
  641. * @param {string} [code] The error code (for example, 'ECONNABORTED').
  642. * @param {Object} [request] The request.
  643. * @param {Object} [response] The response.
  644. * @returns {Error} The error.
  645. */
  646. module.exports = function enhanceError(error, config, code, request, response) {
  647. error.config = config;
  648. if (code) {
  649. error.code = code;
  650. }
  651. error.request = request;
  652. error.response = response;
  653. error.isAxiosError = true;
  654. error.toJSON = function toJSON() {
  655. return {
  656. // Standard
  657. message: this.message,
  658. name: this.name,
  659. // Microsoft
  660. description: this.description,
  661. number: this.number,
  662. // Mozilla
  663. fileName: this.fileName,
  664. lineNumber: this.lineNumber,
  665. columnNumber: this.columnNumber,
  666. stack: this.stack,
  667. // Axios
  668. config: this.config,
  669. code: this.code
  670. };
  671. };
  672. return error;
  673. };
  674. /***/ }),
  675. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js":
  676. /*!************************************************************************************!*\
  677. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/mergeConfig.js ***!
  678. \************************************************************************************/
  679. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  680. "use strict";
  681. var utils = __webpack_require__(/*! ../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  682. /**
  683. * Config-specific merge-function which creates a new config-object
  684. * by merging two configuration objects together.
  685. *
  686. * @param {Object} config1
  687. * @param {Object} config2
  688. * @returns {Object} New object resulting from merging config2 to config1
  689. */
  690. module.exports = function mergeConfig(config1, config2) {
  691. // eslint-disable-next-line no-param-reassign
  692. config2 = config2 || {};
  693. var config = {};
  694. var valueFromConfig2Keys = ['url', 'method', 'data'];
  695. var mergeDeepPropertiesKeys = ['headers', 'auth', 'proxy', 'params'];
  696. var defaultToConfig2Keys = [
  697. 'baseURL', 'transformRequest', 'transformResponse', 'paramsSerializer',
  698. 'timeout', 'timeoutMessage', 'withCredentials', 'adapter', 'responseType', 'xsrfCookieName',
  699. 'xsrfHeaderName', 'onUploadProgress', 'onDownloadProgress', 'decompress',
  700. 'maxContentLength', 'maxBodyLength', 'maxRedirects', 'transport', 'httpAgent',
  701. 'httpsAgent', 'cancelToken', 'socketPath', 'responseEncoding'
  702. ];
  703. var directMergeKeys = ['validateStatus'];
  704. function getMergedValue(target, source) {
  705. if (utils.isPlainObject(target) && utils.isPlainObject(source)) {
  706. return utils.merge(target, source);
  707. } else if (utils.isPlainObject(source)) {
  708. return utils.merge({}, source);
  709. } else if (utils.isArray(source)) {
  710. return source.slice();
  711. }
  712. return source;
  713. }
  714. function mergeDeepProperties(prop) {
  715. if (!utils.isUndefined(config2[prop])) {
  716. config[prop] = getMergedValue(config1[prop], config2[prop]);
  717. } else if (!utils.isUndefined(config1[prop])) {
  718. config[prop] = getMergedValue(undefined, config1[prop]);
  719. }
  720. }
  721. utils.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
  722. if (!utils.isUndefined(config2[prop])) {
  723. config[prop] = getMergedValue(undefined, config2[prop]);
  724. }
  725. });
  726. utils.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
  727. utils.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
  728. if (!utils.isUndefined(config2[prop])) {
  729. config[prop] = getMergedValue(undefined, config2[prop]);
  730. } else if (!utils.isUndefined(config1[prop])) {
  731. config[prop] = getMergedValue(undefined, config1[prop]);
  732. }
  733. });
  734. utils.forEach(directMergeKeys, function merge(prop) {
  735. if (prop in config2) {
  736. config[prop] = getMergedValue(config1[prop], config2[prop]);
  737. } else if (prop in config1) {
  738. config[prop] = getMergedValue(undefined, config1[prop]);
  739. }
  740. });
  741. var axiosKeys = valueFromConfig2Keys
  742. .concat(mergeDeepPropertiesKeys)
  743. .concat(defaultToConfig2Keys)
  744. .concat(directMergeKeys);
  745. var otherKeys = Object
  746. .keys(config1)
  747. .concat(Object.keys(config2))
  748. .filter(function filterAxiosKeys(key) {
  749. return axiosKeys.indexOf(key) === -1;
  750. });
  751. utils.forEach(otherKeys, mergeDeepProperties);
  752. return config;
  753. };
  754. /***/ }),
  755. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/settle.js":
  756. /*!*******************************************************************************!*\
  757. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/settle.js ***!
  758. \*******************************************************************************/
  759. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  760. "use strict";
  761. var createError = __webpack_require__(/*! ./createError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/createError.js");
  762. /**
  763. * Resolve or reject a Promise based on response status.
  764. *
  765. * @param {Function} resolve A function that resolves the promise.
  766. * @param {Function} reject A function that rejects the promise.
  767. * @param {object} response The response.
  768. */
  769. module.exports = function settle(resolve, reject, response) {
  770. var validateStatus = response.config.validateStatus;
  771. if (!response.status || !validateStatus || validateStatus(response.status)) {
  772. resolve(response);
  773. } else {
  774. reject(createError(
  775. 'Request failed with status code ' + response.status,
  776. response.config,
  777. null,
  778. response.request,
  779. response
  780. ));
  781. }
  782. };
  783. /***/ }),
  784. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/transformData.js":
  785. /*!**************************************************************************************!*\
  786. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/transformData.js ***!
  787. \**************************************************************************************/
  788. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  789. "use strict";
  790. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  791. var defaults = __webpack_require__(/*! ./../defaults */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js");
  792. /**
  793. * Transform the data for a request or a response
  794. *
  795. * @param {Object|String} data The data to be transformed
  796. * @param {Array} headers The headers for the request or response
  797. * @param {Array|Function} fns A single function or Array of functions
  798. * @returns {*} The resulting transformed data
  799. */
  800. module.exports = function transformData(data, headers, fns) {
  801. var context = this || defaults;
  802. /*eslint no-param-reassign:0*/
  803. utils.forEach(fns, function transform(fn) {
  804. data = fn.call(context, data, headers);
  805. });
  806. return data;
  807. };
  808. /***/ }),
  809. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js":
  810. /*!****************************************************************************!*\
  811. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/defaults.js ***!
  812. \****************************************************************************/
  813. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  814. "use strict";
  815. /* provided dependency */ var process = __webpack_require__(/*! process/browser.js */ "./node_modules/process/browser.js");
  816. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  817. var normalizeHeaderName = __webpack_require__(/*! ./helpers/normalizeHeaderName */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/normalizeHeaderName.js");
  818. var enhanceError = __webpack_require__(/*! ./core/enhanceError */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/core/enhanceError.js");
  819. var DEFAULT_CONTENT_TYPE = {
  820. 'Content-Type': 'application/x-www-form-urlencoded'
  821. };
  822. function setContentTypeIfUnset(headers, value) {
  823. if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {
  824. headers['Content-Type'] = value;
  825. }
  826. }
  827. function getDefaultAdapter() {
  828. var adapter;
  829. if (typeof XMLHttpRequest !== 'undefined') {
  830. // For browsers use XHR adapter
  831. adapter = __webpack_require__(/*! ./adapters/xhr */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js");
  832. } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {
  833. // For node use HTTP adapter
  834. adapter = __webpack_require__(/*! ./adapters/http */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/adapters/xhr.js");
  835. }
  836. return adapter;
  837. }
  838. function stringifySafely(rawValue, parser, encoder) {
  839. if (utils.isString(rawValue)) {
  840. try {
  841. (parser || JSON.parse)(rawValue);
  842. return utils.trim(rawValue);
  843. } catch (e) {
  844. if (e.name !== 'SyntaxError') {
  845. throw e;
  846. }
  847. }
  848. }
  849. return (encoder || JSON.stringify)(rawValue);
  850. }
  851. var defaults = {
  852. transitional: {
  853. silentJSONParsing: true,
  854. forcedJSONParsing: true,
  855. clarifyTimeoutError: false
  856. },
  857. adapter: getDefaultAdapter(),
  858. transformRequest: [function transformRequest(data, headers) {
  859. normalizeHeaderName(headers, 'Accept');
  860. normalizeHeaderName(headers, 'Content-Type');
  861. if (utils.isFormData(data) ||
  862. utils.isArrayBuffer(data) ||
  863. utils.isBuffer(data) ||
  864. utils.isStream(data) ||
  865. utils.isFile(data) ||
  866. utils.isBlob(data)
  867. ) {
  868. return data;
  869. }
  870. if (utils.isArrayBufferView(data)) {
  871. return data.buffer;
  872. }
  873. if (utils.isURLSearchParams(data)) {
  874. setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');
  875. return data.toString();
  876. }
  877. if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {
  878. setContentTypeIfUnset(headers, 'application/json');
  879. return stringifySafely(data);
  880. }
  881. return data;
  882. }],
  883. transformResponse: [function transformResponse(data) {
  884. var transitional = this.transitional;
  885. var silentJSONParsing = transitional && transitional.silentJSONParsing;
  886. var forcedJSONParsing = transitional && transitional.forcedJSONParsing;
  887. var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';
  888. if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {
  889. try {
  890. return JSON.parse(data);
  891. } catch (e) {
  892. if (strictJSONParsing) {
  893. if (e.name === 'SyntaxError') {
  894. throw enhanceError(e, this, 'E_JSON_PARSE');
  895. }
  896. throw e;
  897. }
  898. }
  899. }
  900. return data;
  901. }],
  902. /**
  903. * A timeout in milliseconds to abort a request. If set to 0 (default) a
  904. * timeout is not created.
  905. */
  906. timeout: 0,
  907. xsrfCookieName: 'XSRF-TOKEN',
  908. xsrfHeaderName: 'X-XSRF-TOKEN',
  909. maxContentLength: -1,
  910. maxBodyLength: -1,
  911. validateStatus: function validateStatus(status) {
  912. return status >= 200 && status < 300;
  913. }
  914. };
  915. defaults.headers = {
  916. common: {
  917. 'Accept': 'application/json, text/plain, */*'
  918. }
  919. };
  920. utils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {
  921. defaults.headers[method] = {};
  922. });
  923. utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
  924. defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);
  925. });
  926. module.exports = defaults;
  927. /***/ }),
  928. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js":
  929. /*!********************************************************************************!*\
  930. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js ***!
  931. \********************************************************************************/
  932. /***/ ((module) => {
  933. "use strict";
  934. module.exports = function bind(fn, thisArg) {
  935. return function wrap() {
  936. var args = new Array(arguments.length);
  937. for (var i = 0; i < args.length; i++) {
  938. args[i] = arguments[i];
  939. }
  940. return fn.apply(thisArg, args);
  941. };
  942. };
  943. /***/ }),
  944. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js":
  945. /*!************************************************************************************!*\
  946. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/buildURL.js ***!
  947. \************************************************************************************/
  948. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  949. "use strict";
  950. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  951. function encode(val) {
  952. return encodeURIComponent(val).
  953. replace(/%3A/gi, ':').
  954. replace(/%24/g, '$').
  955. replace(/%2C/gi, ',').
  956. replace(/%20/g, '+').
  957. replace(/%5B/gi, '[').
  958. replace(/%5D/gi, ']');
  959. }
  960. /**
  961. * Build a URL by appending params to the end
  962. *
  963. * @param {string} url The base of the url (e.g., http://www.google.com)
  964. * @param {object} [params] The params to be appended
  965. * @returns {string} The formatted url
  966. */
  967. module.exports = function buildURL(url, params, paramsSerializer) {
  968. /*eslint no-param-reassign:0*/
  969. if (!params) {
  970. return url;
  971. }
  972. var serializedParams;
  973. if (paramsSerializer) {
  974. serializedParams = paramsSerializer(params);
  975. } else if (utils.isURLSearchParams(params)) {
  976. serializedParams = params.toString();
  977. } else {
  978. var parts = [];
  979. utils.forEach(params, function serialize(val, key) {
  980. if (val === null || typeof val === 'undefined') {
  981. return;
  982. }
  983. if (utils.isArray(val)) {
  984. key = key + '[]';
  985. } else {
  986. val = [val];
  987. }
  988. utils.forEach(val, function parseValue(v) {
  989. if (utils.isDate(v)) {
  990. v = v.toISOString();
  991. } else if (utils.isObject(v)) {
  992. v = JSON.stringify(v);
  993. }
  994. parts.push(encode(key) + '=' + encode(v));
  995. });
  996. });
  997. serializedParams = parts.join('&');
  998. }
  999. if (serializedParams) {
  1000. var hashmarkIndex = url.indexOf('#');
  1001. if (hashmarkIndex !== -1) {
  1002. url = url.slice(0, hashmarkIndex);
  1003. }
  1004. url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;
  1005. }
  1006. return url;
  1007. };
  1008. /***/ }),
  1009. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/combineURLs.js":
  1010. /*!***************************************************************************************!*\
  1011. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/combineURLs.js ***!
  1012. \***************************************************************************************/
  1013. /***/ ((module) => {
  1014. "use strict";
  1015. /**
  1016. * Creates a new URL by combining the specified URLs
  1017. *
  1018. * @param {string} baseURL The base URL
  1019. * @param {string} relativeURL The relative URL
  1020. * @returns {string} The combined URL
  1021. */
  1022. module.exports = function combineURLs(baseURL, relativeURL) {
  1023. return relativeURL
  1024. ? baseURL.replace(/\/+$/, '') + '/' + relativeURL.replace(/^\/+/, '')
  1025. : baseURL;
  1026. };
  1027. /***/ }),
  1028. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/cookies.js":
  1029. /*!***********************************************************************************!*\
  1030. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/cookies.js ***!
  1031. \***********************************************************************************/
  1032. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1033. "use strict";
  1034. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1035. module.exports = (
  1036. utils.isStandardBrowserEnv() ?
  1037. // Standard browser envs support document.cookie
  1038. (function standardBrowserEnv() {
  1039. return {
  1040. write: function write(name, value, expires, path, domain, secure) {
  1041. var cookie = [];
  1042. cookie.push(name + '=' + encodeURIComponent(value));
  1043. if (utils.isNumber(expires)) {
  1044. cookie.push('expires=' + new Date(expires).toGMTString());
  1045. }
  1046. if (utils.isString(path)) {
  1047. cookie.push('path=' + path);
  1048. }
  1049. if (utils.isString(domain)) {
  1050. cookie.push('domain=' + domain);
  1051. }
  1052. if (secure === true) {
  1053. cookie.push('secure');
  1054. }
  1055. document.cookie = cookie.join('; ');
  1056. },
  1057. read: function read(name) {
  1058. var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
  1059. return (match ? decodeURIComponent(match[3]) : null);
  1060. },
  1061. remove: function remove(name) {
  1062. this.write(name, '', Date.now() - 86400000);
  1063. }
  1064. };
  1065. })() :
  1066. // Non standard browser env (web workers, react-native) lack needed support.
  1067. (function nonStandardBrowserEnv() {
  1068. return {
  1069. write: function write() {},
  1070. read: function read() { return null; },
  1071. remove: function remove() {}
  1072. };
  1073. })()
  1074. );
  1075. /***/ }),
  1076. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAbsoluteURL.js":
  1077. /*!*****************************************************************************************!*\
  1078. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAbsoluteURL.js ***!
  1079. \*****************************************************************************************/
  1080. /***/ ((module) => {
  1081. "use strict";
  1082. /**
  1083. * Determines whether the specified URL is absolute
  1084. *
  1085. * @param {string} url The URL to test
  1086. * @returns {boolean} True if the specified URL is absolute, otherwise false
  1087. */
  1088. module.exports = function isAbsoluteURL(url) {
  1089. // A URL is considered absolute if it begins with "<scheme>://" or "//" (protocol-relative URL).
  1090. // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed
  1091. // by any combination of letters, digits, plus, period, or hyphen.
  1092. return /^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(url);
  1093. };
  1094. /***/ }),
  1095. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAxiosError.js":
  1096. /*!****************************************************************************************!*\
  1097. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isAxiosError.js ***!
  1098. \****************************************************************************************/
  1099. /***/ ((module) => {
  1100. "use strict";
  1101. /**
  1102. * Determines whether the payload is an error thrown by Axios
  1103. *
  1104. * @param {*} payload The value to test
  1105. * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
  1106. */
  1107. module.exports = function isAxiosError(payload) {
  1108. return (typeof payload === 'object') && (payload.isAxiosError === true);
  1109. };
  1110. /***/ }),
  1111. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isURLSameOrigin.js":
  1112. /*!*******************************************************************************************!*\
  1113. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/isURLSameOrigin.js ***!
  1114. \*******************************************************************************************/
  1115. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1116. "use strict";
  1117. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1118. module.exports = (
  1119. utils.isStandardBrowserEnv() ?
  1120. // Standard browser envs have full support of the APIs needed to test
  1121. // whether the request URL is of the same origin as current location.
  1122. (function standardBrowserEnv() {
  1123. var msie = /(msie|trident)/i.test(navigator.userAgent);
  1124. var urlParsingNode = document.createElement('a');
  1125. var originURL;
  1126. /**
  1127. * Parse a URL to discover it's components
  1128. *
  1129. * @param {String} url The URL to be parsed
  1130. * @returns {Object}
  1131. */
  1132. function resolveURL(url) {
  1133. var href = url;
  1134. if (msie) {
  1135. // IE needs attribute set twice to normalize properties
  1136. urlParsingNode.setAttribute('href', href);
  1137. href = urlParsingNode.href;
  1138. }
  1139. urlParsingNode.setAttribute('href', href);
  1140. // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
  1141. return {
  1142. href: urlParsingNode.href,
  1143. protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',
  1144. host: urlParsingNode.host,
  1145. search: urlParsingNode.search ? urlParsingNode.search.replace(/^\?/, '') : '',
  1146. hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',
  1147. hostname: urlParsingNode.hostname,
  1148. port: urlParsingNode.port,
  1149. pathname: (urlParsingNode.pathname.charAt(0) === '/') ?
  1150. urlParsingNode.pathname :
  1151. '/' + urlParsingNode.pathname
  1152. };
  1153. }
  1154. originURL = resolveURL(window.location.href);
  1155. /**
  1156. * Determine if a URL shares the same origin as the current location
  1157. *
  1158. * @param {String} requestURL The URL to test
  1159. * @returns {boolean} True if URL shares the same origin, otherwise false
  1160. */
  1161. return function isURLSameOrigin(requestURL) {
  1162. var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;
  1163. return (parsed.protocol === originURL.protocol &&
  1164. parsed.host === originURL.host);
  1165. };
  1166. })() :
  1167. // Non standard browser envs (web workers, react-native) lack needed support.
  1168. (function nonStandardBrowserEnv() {
  1169. return function isURLSameOrigin() {
  1170. return true;
  1171. };
  1172. })()
  1173. );
  1174. /***/ }),
  1175. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/normalizeHeaderName.js":
  1176. /*!***********************************************************************************************!*\
  1177. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/normalizeHeaderName.js ***!
  1178. \***********************************************************************************************/
  1179. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1180. "use strict";
  1181. var utils = __webpack_require__(/*! ../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1182. module.exports = function normalizeHeaderName(headers, normalizedName) {
  1183. utils.forEach(headers, function processHeader(value, name) {
  1184. if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {
  1185. headers[normalizedName] = value;
  1186. delete headers[name];
  1187. }
  1188. });
  1189. };
  1190. /***/ }),
  1191. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/parseHeaders.js":
  1192. /*!****************************************************************************************!*\
  1193. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/parseHeaders.js ***!
  1194. \****************************************************************************************/
  1195. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1196. "use strict";
  1197. var utils = __webpack_require__(/*! ./../utils */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js");
  1198. // Headers whose duplicates are ignored by node
  1199. // c.f. https://nodejs.org/api/http.html#http_message_headers
  1200. var ignoreDuplicateOf = [
  1201. 'age', 'authorization', 'content-length', 'content-type', 'etag',
  1202. 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',
  1203. 'last-modified', 'location', 'max-forwards', 'proxy-authorization',
  1204. 'referer', 'retry-after', 'user-agent'
  1205. ];
  1206. /**
  1207. * Parse headers into an object
  1208. *
  1209. * ```
  1210. * Date: Wed, 27 Aug 2014 08:58:49 GMT
  1211. * Content-Type: application/json
  1212. * Connection: keep-alive
  1213. * Transfer-Encoding: chunked
  1214. * ```
  1215. *
  1216. * @param {String} headers Headers needing to be parsed
  1217. * @returns {Object} Headers parsed into an object
  1218. */
  1219. module.exports = function parseHeaders(headers) {
  1220. var parsed = {};
  1221. var key;
  1222. var val;
  1223. var i;
  1224. if (!headers) { return parsed; }
  1225. utils.forEach(headers.split('\n'), function parser(line) {
  1226. i = line.indexOf(':');
  1227. key = utils.trim(line.substr(0, i)).toLowerCase();
  1228. val = utils.trim(line.substr(i + 1));
  1229. if (key) {
  1230. if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {
  1231. return;
  1232. }
  1233. if (key === 'set-cookie') {
  1234. parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);
  1235. } else {
  1236. parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;
  1237. }
  1238. }
  1239. });
  1240. return parsed;
  1241. };
  1242. /***/ }),
  1243. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/spread.js":
  1244. /*!**********************************************************************************!*\
  1245. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/spread.js ***!
  1246. \**********************************************************************************/
  1247. /***/ ((module) => {
  1248. "use strict";
  1249. /**
  1250. * Syntactic sugar for invoking a function and expanding an array for arguments.
  1251. *
  1252. * Common use case would be to use `Function.prototype.apply`.
  1253. *
  1254. * ```js
  1255. * function f(x, y, z) {}
  1256. * var args = [1, 2, 3];
  1257. * f.apply(null, args);
  1258. * ```
  1259. *
  1260. * With `spread` this example can be re-written.
  1261. *
  1262. * ```js
  1263. * spread(function(x, y, z) {})([1, 2, 3]);
  1264. * ```
  1265. *
  1266. * @param {Function} callback
  1267. * @returns {Function}
  1268. */
  1269. module.exports = function spread(callback) {
  1270. return function wrap(arr) {
  1271. return callback.apply(null, arr);
  1272. };
  1273. };
  1274. /***/ }),
  1275. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/validator.js":
  1276. /*!*************************************************************************************!*\
  1277. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/validator.js ***!
  1278. \*************************************************************************************/
  1279. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1280. "use strict";
  1281. var pkg = __webpack_require__(/*! ./../../package.json */ "./node_modules/@inertiajs/inertia/node_modules/axios/package.json");
  1282. var validators = {};
  1283. // eslint-disable-next-line func-names
  1284. ['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {
  1285. validators[type] = function validator(thing) {
  1286. return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;
  1287. };
  1288. });
  1289. var deprecatedWarnings = {};
  1290. var currentVerArr = pkg.version.split('.');
  1291. /**
  1292. * Compare package versions
  1293. * @param {string} version
  1294. * @param {string?} thanVersion
  1295. * @returns {boolean}
  1296. */
  1297. function isOlderVersion(version, thanVersion) {
  1298. var pkgVersionArr = thanVersion ? thanVersion.split('.') : currentVerArr;
  1299. var destVer = version.split('.');
  1300. for (var i = 0; i < 3; i++) {
  1301. if (pkgVersionArr[i] > destVer[i]) {
  1302. return true;
  1303. } else if (pkgVersionArr[i] < destVer[i]) {
  1304. return false;
  1305. }
  1306. }
  1307. return false;
  1308. }
  1309. /**
  1310. * Transitional option validator
  1311. * @param {function|boolean?} validator
  1312. * @param {string?} version
  1313. * @param {string} message
  1314. * @returns {function}
  1315. */
  1316. validators.transitional = function transitional(validator, version, message) {
  1317. var isDeprecated = version && isOlderVersion(version);
  1318. function formatMessage(opt, desc) {
  1319. return '[Axios v' + pkg.version + '] Transitional option \'' + opt + '\'' + desc + (message ? '. ' + message : '');
  1320. }
  1321. // eslint-disable-next-line func-names
  1322. return function(value, opt, opts) {
  1323. if (validator === false) {
  1324. throw new Error(formatMessage(opt, ' has been removed in ' + version));
  1325. }
  1326. if (isDeprecated && !deprecatedWarnings[opt]) {
  1327. deprecatedWarnings[opt] = true;
  1328. // eslint-disable-next-line no-console
  1329. console.warn(
  1330. formatMessage(
  1331. opt,
  1332. ' has been deprecated since v' + version + ' and will be removed in the near future'
  1333. )
  1334. );
  1335. }
  1336. return validator ? validator(value, opt, opts) : true;
  1337. };
  1338. };
  1339. /**
  1340. * Assert object's properties type
  1341. * @param {object} options
  1342. * @param {object} schema
  1343. * @param {boolean?} allowUnknown
  1344. */
  1345. function assertOptions(options, schema, allowUnknown) {
  1346. if (typeof options !== 'object') {
  1347. throw new TypeError('options must be an object');
  1348. }
  1349. var keys = Object.keys(options);
  1350. var i = keys.length;
  1351. while (i-- > 0) {
  1352. var opt = keys[i];
  1353. var validator = schema[opt];
  1354. if (validator) {
  1355. var value = options[opt];
  1356. var result = value === undefined || validator(value, opt, options);
  1357. if (result !== true) {
  1358. throw new TypeError('option ' + opt + ' must be ' + result);
  1359. }
  1360. continue;
  1361. }
  1362. if (allowUnknown !== true) {
  1363. throw Error('Unknown option ' + opt);
  1364. }
  1365. }
  1366. }
  1367. module.exports = {
  1368. isOlderVersion: isOlderVersion,
  1369. assertOptions: assertOptions,
  1370. validators: validators
  1371. };
  1372. /***/ }),
  1373. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js":
  1374. /*!*************************************************************************!*\
  1375. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/lib/utils.js ***!
  1376. \*************************************************************************/
  1377. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1378. "use strict";
  1379. var bind = __webpack_require__(/*! ./helpers/bind */ "./node_modules/@inertiajs/inertia/node_modules/axios/lib/helpers/bind.js");
  1380. // utils is a library of generic helper functions non-specific to axios
  1381. var toString = Object.prototype.toString;
  1382. /**
  1383. * Determine if a value is an Array
  1384. *
  1385. * @param {Object} val The value to test
  1386. * @returns {boolean} True if value is an Array, otherwise false
  1387. */
  1388. function isArray(val) {
  1389. return toString.call(val) === '[object Array]';
  1390. }
  1391. /**
  1392. * Determine if a value is undefined
  1393. *
  1394. * @param {Object} val The value to test
  1395. * @returns {boolean} True if the value is undefined, otherwise false
  1396. */
  1397. function isUndefined(val) {
  1398. return typeof val === 'undefined';
  1399. }
  1400. /**
  1401. * Determine if a value is a Buffer
  1402. *
  1403. * @param {Object} val The value to test
  1404. * @returns {boolean} True if value is a Buffer, otherwise false
  1405. */
  1406. function isBuffer(val) {
  1407. return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)
  1408. && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);
  1409. }
  1410. /**
  1411. * Determine if a value is an ArrayBuffer
  1412. *
  1413. * @param {Object} val The value to test
  1414. * @returns {boolean} True if value is an ArrayBuffer, otherwise false
  1415. */
  1416. function isArrayBuffer(val) {
  1417. return toString.call(val) === '[object ArrayBuffer]';
  1418. }
  1419. /**
  1420. * Determine if a value is a FormData
  1421. *
  1422. * @param {Object} val The value to test
  1423. * @returns {boolean} True if value is an FormData, otherwise false
  1424. */
  1425. function isFormData(val) {
  1426. return (typeof FormData !== 'undefined') && (val instanceof FormData);
  1427. }
  1428. /**
  1429. * Determine if a value is a view on an ArrayBuffer
  1430. *
  1431. * @param {Object} val The value to test
  1432. * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false
  1433. */
  1434. function isArrayBufferView(val) {
  1435. var result;
  1436. if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {
  1437. result = ArrayBuffer.isView(val);
  1438. } else {
  1439. result = (val) && (val.buffer) && (val.buffer instanceof ArrayBuffer);
  1440. }
  1441. return result;
  1442. }
  1443. /**
  1444. * Determine if a value is a String
  1445. *
  1446. * @param {Object} val The value to test
  1447. * @returns {boolean} True if value is a String, otherwise false
  1448. */
  1449. function isString(val) {
  1450. return typeof val === 'string';
  1451. }
  1452. /**
  1453. * Determine if a value is a Number
  1454. *
  1455. * @param {Object} val The value to test
  1456. * @returns {boolean} True if value is a Number, otherwise false
  1457. */
  1458. function isNumber(val) {
  1459. return typeof val === 'number';
  1460. }
  1461. /**
  1462. * Determine if a value is an Object
  1463. *
  1464. * @param {Object} val The value to test
  1465. * @returns {boolean} True if value is an Object, otherwise false
  1466. */
  1467. function isObject(val) {
  1468. return val !== null && typeof val === 'object';
  1469. }
  1470. /**
  1471. * Determine if a value is a plain Object
  1472. *
  1473. * @param {Object} val The value to test
  1474. * @return {boolean} True if value is a plain Object, otherwise false
  1475. */
  1476. function isPlainObject(val) {
  1477. if (toString.call(val) !== '[object Object]') {
  1478. return false;
  1479. }
  1480. var prototype = Object.getPrototypeOf(val);
  1481. return prototype === null || prototype === Object.prototype;
  1482. }
  1483. /**
  1484. * Determine if a value is a Date
  1485. *
  1486. * @param {Object} val The value to test
  1487. * @returns {boolean} True if value is a Date, otherwise false
  1488. */
  1489. function isDate(val) {
  1490. return toString.call(val) === '[object Date]';
  1491. }
  1492. /**
  1493. * Determine if a value is a File
  1494. *
  1495. * @param {Object} val The value to test
  1496. * @returns {boolean} True if value is a File, otherwise false
  1497. */
  1498. function isFile(val) {
  1499. return toString.call(val) === '[object File]';
  1500. }
  1501. /**
  1502. * Determine if a value is a Blob
  1503. *
  1504. * @param {Object} val The value to test
  1505. * @returns {boolean} True if value is a Blob, otherwise false
  1506. */
  1507. function isBlob(val) {
  1508. return toString.call(val) === '[object Blob]';
  1509. }
  1510. /**
  1511. * Determine if a value is a Function
  1512. *
  1513. * @param {Object} val The value to test
  1514. * @returns {boolean} True if value is a Function, otherwise false
  1515. */
  1516. function isFunction(val) {
  1517. return toString.call(val) === '[object Function]';
  1518. }
  1519. /**
  1520. * Determine if a value is a Stream
  1521. *
  1522. * @param {Object} val The value to test
  1523. * @returns {boolean} True if value is a Stream, otherwise false
  1524. */
  1525. function isStream(val) {
  1526. return isObject(val) && isFunction(val.pipe);
  1527. }
  1528. /**
  1529. * Determine if a value is a URLSearchParams object
  1530. *
  1531. * @param {Object} val The value to test
  1532. * @returns {boolean} True if value is a URLSearchParams object, otherwise false
  1533. */
  1534. function isURLSearchParams(val) {
  1535. return typeof URLSearchParams !== 'undefined' && val instanceof URLSearchParams;
  1536. }
  1537. /**
  1538. * Trim excess whitespace off the beginning and end of a string
  1539. *
  1540. * @param {String} str The String to trim
  1541. * @returns {String} The String freed of excess whitespace
  1542. */
  1543. function trim(str) {
  1544. return str.trim ? str.trim() : str.replace(/^\s+|\s+$/g, '');
  1545. }
  1546. /**
  1547. * Determine if we're running in a standard browser environment
  1548. *
  1549. * This allows axios to run in a web worker, and react-native.
  1550. * Both environments support XMLHttpRequest, but not fully standard globals.
  1551. *
  1552. * web workers:
  1553. * typeof window -> undefined
  1554. * typeof document -> undefined
  1555. *
  1556. * react-native:
  1557. * navigator.product -> 'ReactNative'
  1558. * nativescript
  1559. * navigator.product -> 'NativeScript' or 'NS'
  1560. */
  1561. function isStandardBrowserEnv() {
  1562. if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||
  1563. navigator.product === 'NativeScript' ||
  1564. navigator.product === 'NS')) {
  1565. return false;
  1566. }
  1567. return (
  1568. typeof window !== 'undefined' &&
  1569. typeof document !== 'undefined'
  1570. );
  1571. }
  1572. /**
  1573. * Iterate over an Array or an Object invoking a function for each item.
  1574. *
  1575. * If `obj` is an Array callback will be called passing
  1576. * the value, index, and complete array for each item.
  1577. *
  1578. * If 'obj' is an Object callback will be called passing
  1579. * the value, key, and complete object for each property.
  1580. *
  1581. * @param {Object|Array} obj The object to iterate
  1582. * @param {Function} fn The callback to invoke for each item
  1583. */
  1584. function forEach(obj, fn) {
  1585. // Don't bother if no value provided
  1586. if (obj === null || typeof obj === 'undefined') {
  1587. return;
  1588. }
  1589. // Force an array if not already something iterable
  1590. if (typeof obj !== 'object') {
  1591. /*eslint no-param-reassign:0*/
  1592. obj = [obj];
  1593. }
  1594. if (isArray(obj)) {
  1595. // Iterate over array values
  1596. for (var i = 0, l = obj.length; i < l; i++) {
  1597. fn.call(null, obj[i], i, obj);
  1598. }
  1599. } else {
  1600. // Iterate over object keys
  1601. for (var key in obj) {
  1602. if (Object.prototype.hasOwnProperty.call(obj, key)) {
  1603. fn.call(null, obj[key], key, obj);
  1604. }
  1605. }
  1606. }
  1607. }
  1608. /**
  1609. * Accepts varargs expecting each argument to be an object, then
  1610. * immutably merges the properties of each object and returns result.
  1611. *
  1612. * When multiple objects contain the same key the later object in
  1613. * the arguments list will take precedence.
  1614. *
  1615. * Example:
  1616. *
  1617. * ```js
  1618. * var result = merge({foo: 123}, {foo: 456});
  1619. * console.log(result.foo); // outputs 456
  1620. * ```
  1621. *
  1622. * @param {Object} obj1 Object to merge
  1623. * @returns {Object} Result of all merge properties
  1624. */
  1625. function merge(/* obj1, obj2, obj3, ... */) {
  1626. var result = {};
  1627. function assignValue(val, key) {
  1628. if (isPlainObject(result[key]) && isPlainObject(val)) {
  1629. result[key] = merge(result[key], val);
  1630. } else if (isPlainObject(val)) {
  1631. result[key] = merge({}, val);
  1632. } else if (isArray(val)) {
  1633. result[key] = val.slice();
  1634. } else {
  1635. result[key] = val;
  1636. }
  1637. }
  1638. for (var i = 0, l = arguments.length; i < l; i++) {
  1639. forEach(arguments[i], assignValue);
  1640. }
  1641. return result;
  1642. }
  1643. /**
  1644. * Extends object a by mutably adding to it the properties of object b.
  1645. *
  1646. * @param {Object} a The object to be extended
  1647. * @param {Object} b The object to copy properties from
  1648. * @param {Object} thisArg The object to bind function to
  1649. * @return {Object} The resulting value of object a
  1650. */
  1651. function extend(a, b, thisArg) {
  1652. forEach(b, function assignValue(val, key) {
  1653. if (thisArg && typeof val === 'function') {
  1654. a[key] = bind(val, thisArg);
  1655. } else {
  1656. a[key] = val;
  1657. }
  1658. });
  1659. return a;
  1660. }
  1661. /**
  1662. * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)
  1663. *
  1664. * @param {string} content with BOM
  1665. * @return {string} content value without BOM
  1666. */
  1667. function stripBOM(content) {
  1668. if (content.charCodeAt(0) === 0xFEFF) {
  1669. content = content.slice(1);
  1670. }
  1671. return content;
  1672. }
  1673. module.exports = {
  1674. isArray: isArray,
  1675. isArrayBuffer: isArrayBuffer,
  1676. isBuffer: isBuffer,
  1677. isFormData: isFormData,
  1678. isArrayBufferView: isArrayBufferView,
  1679. isString: isString,
  1680. isNumber: isNumber,
  1681. isObject: isObject,
  1682. isPlainObject: isPlainObject,
  1683. isUndefined: isUndefined,
  1684. isDate: isDate,
  1685. isFile: isFile,
  1686. isBlob: isBlob,
  1687. isFunction: isFunction,
  1688. isStream: isStream,
  1689. isURLSearchParams: isURLSearchParams,
  1690. isStandardBrowserEnv: isStandardBrowserEnv,
  1691. forEach: forEach,
  1692. merge: merge,
  1693. extend: extend,
  1694. trim: trim,
  1695. stripBOM: stripBOM
  1696. };
  1697. /***/ }),
  1698. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js":
  1699. /*!************************************************************************!*\
  1700. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js ***!
  1701. \************************************************************************/
  1702. /***/ ((module) => {
  1703. "use strict";
  1704. var replace = String.prototype.replace;
  1705. var percentTwenties = /%20/g;
  1706. var Format = {
  1707. RFC1738: 'RFC1738',
  1708. RFC3986: 'RFC3986'
  1709. };
  1710. module.exports = {
  1711. 'default': Format.RFC3986,
  1712. formatters: {
  1713. RFC1738: function (value) {
  1714. return replace.call(value, percentTwenties, '+');
  1715. },
  1716. RFC3986: function (value) {
  1717. return String(value);
  1718. }
  1719. },
  1720. RFC1738: Format.RFC1738,
  1721. RFC3986: Format.RFC3986
  1722. };
  1723. /***/ }),
  1724. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/index.js":
  1725. /*!**********************************************************************!*\
  1726. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/index.js ***!
  1727. \**********************************************************************/
  1728. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1729. "use strict";
  1730. var stringify = __webpack_require__(/*! ./stringify */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/stringify.js");
  1731. var parse = __webpack_require__(/*! ./parse */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/parse.js");
  1732. var formats = __webpack_require__(/*! ./formats */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js");
  1733. module.exports = {
  1734. formats: formats,
  1735. parse: parse,
  1736. stringify: stringify
  1737. };
  1738. /***/ }),
  1739. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/parse.js":
  1740. /*!**********************************************************************!*\
  1741. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/parse.js ***!
  1742. \**********************************************************************/
  1743. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1744. "use strict";
  1745. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js");
  1746. var has = Object.prototype.hasOwnProperty;
  1747. var isArray = Array.isArray;
  1748. var defaults = {
  1749. allowDots: false,
  1750. allowPrototypes: false,
  1751. allowSparse: false,
  1752. arrayLimit: 20,
  1753. charset: 'utf-8',
  1754. charsetSentinel: false,
  1755. comma: false,
  1756. decoder: utils.decode,
  1757. delimiter: '&',
  1758. depth: 5,
  1759. ignoreQueryPrefix: false,
  1760. interpretNumericEntities: false,
  1761. parameterLimit: 1000,
  1762. parseArrays: true,
  1763. plainObjects: false,
  1764. strictNullHandling: false
  1765. };
  1766. var interpretNumericEntities = function (str) {
  1767. return str.replace(/&#(\d+);/g, function ($0, numberStr) {
  1768. return String.fromCharCode(parseInt(numberStr, 10));
  1769. });
  1770. };
  1771. var parseArrayValue = function (val, options) {
  1772. if (val && typeof val === 'string' && options.comma && val.indexOf(',') > -1) {
  1773. return val.split(',');
  1774. }
  1775. return val;
  1776. };
  1777. // This is what browsers will submit when the ✓ character occurs in an
  1778. // application/x-www-form-urlencoded body and the encoding of the page containing
  1779. // the form is iso-8859-1, or when the submitted form has an accept-charset
  1780. // attribute of iso-8859-1. Presumably also with other charsets that do not contain
  1781. // the ✓ character, such as us-ascii.
  1782. var isoSentinel = 'utf8=%26%2310003%3B'; // encodeURIComponent('&#10003;')
  1783. // These are the percent-encoded utf-8 octets representing a checkmark, indicating that the request actually is utf-8 encoded.
  1784. var charsetSentinel = 'utf8=%E2%9C%93'; // encodeURIComponent('✓')
  1785. var parseValues = function parseQueryStringValues(str, options) {
  1786. var obj = {};
  1787. var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, '') : str;
  1788. var limit = options.parameterLimit === Infinity ? undefined : options.parameterLimit;
  1789. var parts = cleanStr.split(options.delimiter, limit);
  1790. var skipIndex = -1; // Keep track of where the utf8 sentinel was found
  1791. var i;
  1792. var charset = options.charset;
  1793. if (options.charsetSentinel) {
  1794. for (i = 0; i < parts.length; ++i) {
  1795. if (parts[i].indexOf('utf8=') === 0) {
  1796. if (parts[i] === charsetSentinel) {
  1797. charset = 'utf-8';
  1798. } else if (parts[i] === isoSentinel) {
  1799. charset = 'iso-8859-1';
  1800. }
  1801. skipIndex = i;
  1802. i = parts.length; // The eslint settings do not allow break;
  1803. }
  1804. }
  1805. }
  1806. for (i = 0; i < parts.length; ++i) {
  1807. if (i === skipIndex) {
  1808. continue;
  1809. }
  1810. var part = parts[i];
  1811. var bracketEqualsPos = part.indexOf(']=');
  1812. var pos = bracketEqualsPos === -1 ? part.indexOf('=') : bracketEqualsPos + 1;
  1813. var key, val;
  1814. if (pos === -1) {
  1815. key = options.decoder(part, defaults.decoder, charset, 'key');
  1816. val = options.strictNullHandling ? null : '';
  1817. } else {
  1818. key = options.decoder(part.slice(0, pos), defaults.decoder, charset, 'key');
  1819. val = utils.maybeMap(
  1820. parseArrayValue(part.slice(pos + 1), options),
  1821. function (encodedVal) {
  1822. return options.decoder(encodedVal, defaults.decoder, charset, 'value');
  1823. }
  1824. );
  1825. }
  1826. if (val && options.interpretNumericEntities && charset === 'iso-8859-1') {
  1827. val = interpretNumericEntities(val);
  1828. }
  1829. if (part.indexOf('[]=') > -1) {
  1830. val = isArray(val) ? [val] : val;
  1831. }
  1832. if (has.call(obj, key)) {
  1833. obj[key] = utils.combine(obj[key], val);
  1834. } else {
  1835. obj[key] = val;
  1836. }
  1837. }
  1838. return obj;
  1839. };
  1840. var parseObject = function (chain, val, options, valuesParsed) {
  1841. var leaf = valuesParsed ? val : parseArrayValue(val, options);
  1842. for (var i = chain.length - 1; i >= 0; --i) {
  1843. var obj;
  1844. var root = chain[i];
  1845. if (root === '[]' && options.parseArrays) {
  1846. obj = [].concat(leaf);
  1847. } else {
  1848. obj = options.plainObjects ? Object.create(null) : {};
  1849. var cleanRoot = root.charAt(0) === '[' && root.charAt(root.length - 1) === ']' ? root.slice(1, -1) : root;
  1850. var index = parseInt(cleanRoot, 10);
  1851. if (!options.parseArrays && cleanRoot === '') {
  1852. obj = { 0: leaf };
  1853. } else if (
  1854. !isNaN(index)
  1855. && root !== cleanRoot
  1856. && String(index) === cleanRoot
  1857. && index >= 0
  1858. && (options.parseArrays && index <= options.arrayLimit)
  1859. ) {
  1860. obj = [];
  1861. obj[index] = leaf;
  1862. } else if (cleanRoot !== '__proto__') {
  1863. obj[cleanRoot] = leaf;
  1864. }
  1865. }
  1866. leaf = obj;
  1867. }
  1868. return leaf;
  1869. };
  1870. var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
  1871. if (!givenKey) {
  1872. return;
  1873. }
  1874. // Transform dot notation to bracket notation
  1875. var key = options.allowDots ? givenKey.replace(/\.([^.[]+)/g, '[$1]') : givenKey;
  1876. // The regex chunks
  1877. var brackets = /(\[[^[\]]*])/;
  1878. var child = /(\[[^[\]]*])/g;
  1879. // Get the parent
  1880. var segment = options.depth > 0 && brackets.exec(key);
  1881. var parent = segment ? key.slice(0, segment.index) : key;
  1882. // Stash the parent if it exists
  1883. var keys = [];
  1884. if (parent) {
  1885. // If we aren't using plain objects, optionally prefix keys that would overwrite object prototype properties
  1886. if (!options.plainObjects && has.call(Object.prototype, parent)) {
  1887. if (!options.allowPrototypes) {
  1888. return;
  1889. }
  1890. }
  1891. keys.push(parent);
  1892. }
  1893. // Loop through children appending to the array until we hit depth
  1894. var i = 0;
  1895. while (options.depth > 0 && (segment = child.exec(key)) !== null && i < options.depth) {
  1896. i += 1;
  1897. if (!options.plainObjects && has.call(Object.prototype, segment[1].slice(1, -1))) {
  1898. if (!options.allowPrototypes) {
  1899. return;
  1900. }
  1901. }
  1902. keys.push(segment[1]);
  1903. }
  1904. // If there's a remainder, just add whatever is left
  1905. if (segment) {
  1906. keys.push('[' + key.slice(segment.index) + ']');
  1907. }
  1908. return parseObject(keys, val, options, valuesParsed);
  1909. };
  1910. var normalizeParseOptions = function normalizeParseOptions(opts) {
  1911. if (!opts) {
  1912. return defaults;
  1913. }
  1914. if (opts.decoder !== null && opts.decoder !== undefined && typeof opts.decoder !== 'function') {
  1915. throw new TypeError('Decoder has to be a function.');
  1916. }
  1917. if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
  1918. throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
  1919. }
  1920. var charset = typeof opts.charset === 'undefined' ? defaults.charset : opts.charset;
  1921. return {
  1922. allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
  1923. allowPrototypes: typeof opts.allowPrototypes === 'boolean' ? opts.allowPrototypes : defaults.allowPrototypes,
  1924. allowSparse: typeof opts.allowSparse === 'boolean' ? opts.allowSparse : defaults.allowSparse,
  1925. arrayLimit: typeof opts.arrayLimit === 'number' ? opts.arrayLimit : defaults.arrayLimit,
  1926. charset: charset,
  1927. charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
  1928. comma: typeof opts.comma === 'boolean' ? opts.comma : defaults.comma,
  1929. decoder: typeof opts.decoder === 'function' ? opts.decoder : defaults.decoder,
  1930. delimiter: typeof opts.delimiter === 'string' || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
  1931. // eslint-disable-next-line no-implicit-coercion, no-extra-parens
  1932. depth: (typeof opts.depth === 'number' || opts.depth === false) ? +opts.depth : defaults.depth,
  1933. ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
  1934. interpretNumericEntities: typeof opts.interpretNumericEntities === 'boolean' ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
  1935. parameterLimit: typeof opts.parameterLimit === 'number' ? opts.parameterLimit : defaults.parameterLimit,
  1936. parseArrays: opts.parseArrays !== false,
  1937. plainObjects: typeof opts.plainObjects === 'boolean' ? opts.plainObjects : defaults.plainObjects,
  1938. strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
  1939. };
  1940. };
  1941. module.exports = function (str, opts) {
  1942. var options = normalizeParseOptions(opts);
  1943. if (str === '' || str === null || typeof str === 'undefined') {
  1944. return options.plainObjects ? Object.create(null) : {};
  1945. }
  1946. var tempObj = typeof str === 'string' ? parseValues(str, options) : str;
  1947. var obj = options.plainObjects ? Object.create(null) : {};
  1948. // Iterate over the keys and setup the new object
  1949. var keys = Object.keys(tempObj);
  1950. for (var i = 0; i < keys.length; ++i) {
  1951. var key = keys[i];
  1952. var newObj = parseKeys(key, tempObj[key], options, typeof str === 'string');
  1953. obj = utils.merge(obj, newObj, options);
  1954. }
  1955. if (options.allowSparse === true) {
  1956. return obj;
  1957. }
  1958. return utils.compact(obj);
  1959. };
  1960. /***/ }),
  1961. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/stringify.js":
  1962. /*!**************************************************************************!*\
  1963. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/stringify.js ***!
  1964. \**************************************************************************/
  1965. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  1966. "use strict";
  1967. var getSideChannel = __webpack_require__(/*! side-channel */ "./node_modules/side-channel/index.js");
  1968. var utils = __webpack_require__(/*! ./utils */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js");
  1969. var formats = __webpack_require__(/*! ./formats */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js");
  1970. var has = Object.prototype.hasOwnProperty;
  1971. var arrayPrefixGenerators = {
  1972. brackets: function brackets(prefix) {
  1973. return prefix + '[]';
  1974. },
  1975. comma: 'comma',
  1976. indices: function indices(prefix, key) {
  1977. return prefix + '[' + key + ']';
  1978. },
  1979. repeat: function repeat(prefix) {
  1980. return prefix;
  1981. }
  1982. };
  1983. var isArray = Array.isArray;
  1984. var split = String.prototype.split;
  1985. var push = Array.prototype.push;
  1986. var pushToArray = function (arr, valueOrArray) {
  1987. push.apply(arr, isArray(valueOrArray) ? valueOrArray : [valueOrArray]);
  1988. };
  1989. var toISO = Date.prototype.toISOString;
  1990. var defaultFormat = formats['default'];
  1991. var defaults = {
  1992. addQueryPrefix: false,
  1993. allowDots: false,
  1994. charset: 'utf-8',
  1995. charsetSentinel: false,
  1996. delimiter: '&',
  1997. encode: true,
  1998. encoder: utils.encode,
  1999. encodeValuesOnly: false,
  2000. format: defaultFormat,
  2001. formatter: formats.formatters[defaultFormat],
  2002. // deprecated
  2003. indices: false,
  2004. serializeDate: function serializeDate(date) {
  2005. return toISO.call(date);
  2006. },
  2007. skipNulls: false,
  2008. strictNullHandling: false
  2009. };
  2010. var isNonNullishPrimitive = function isNonNullishPrimitive(v) {
  2011. return typeof v === 'string'
  2012. || typeof v === 'number'
  2013. || typeof v === 'boolean'
  2014. || typeof v === 'symbol'
  2015. || typeof v === 'bigint';
  2016. };
  2017. var sentinel = {};
  2018. var stringify = function stringify(
  2019. object,
  2020. prefix,
  2021. generateArrayPrefix,
  2022. strictNullHandling,
  2023. skipNulls,
  2024. encoder,
  2025. filter,
  2026. sort,
  2027. allowDots,
  2028. serializeDate,
  2029. format,
  2030. formatter,
  2031. encodeValuesOnly,
  2032. charset,
  2033. sideChannel
  2034. ) {
  2035. var obj = object;
  2036. var tmpSc = sideChannel;
  2037. var step = 0;
  2038. var findFlag = false;
  2039. while ((tmpSc = tmpSc.get(sentinel)) !== void undefined && !findFlag) {
  2040. // Where object last appeared in the ref tree
  2041. var pos = tmpSc.get(object);
  2042. step += 1;
  2043. if (typeof pos !== 'undefined') {
  2044. if (pos === step) {
  2045. throw new RangeError('Cyclic object value');
  2046. } else {
  2047. findFlag = true; // Break while
  2048. }
  2049. }
  2050. if (typeof tmpSc.get(sentinel) === 'undefined') {
  2051. step = 0;
  2052. }
  2053. }
  2054. if (typeof filter === 'function') {
  2055. obj = filter(prefix, obj);
  2056. } else if (obj instanceof Date) {
  2057. obj = serializeDate(obj);
  2058. } else if (generateArrayPrefix === 'comma' && isArray(obj)) {
  2059. obj = utils.maybeMap(obj, function (value) {
  2060. if (value instanceof Date) {
  2061. return serializeDate(value);
  2062. }
  2063. return value;
  2064. });
  2065. }
  2066. if (obj === null) {
  2067. if (strictNullHandling) {
  2068. return encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, 'key', format) : prefix;
  2069. }
  2070. obj = '';
  2071. }
  2072. if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
  2073. if (encoder) {
  2074. var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, 'key', format);
  2075. if (generateArrayPrefix === 'comma' && encodeValuesOnly) {
  2076. var valuesArray = split.call(String(obj), ',');
  2077. var valuesJoined = '';
  2078. for (var i = 0; i < valuesArray.length; ++i) {
  2079. valuesJoined += (i === 0 ? '' : ',') + formatter(encoder(valuesArray[i], defaults.encoder, charset, 'value', format));
  2080. }
  2081. return [formatter(keyValue) + '=' + valuesJoined];
  2082. }
  2083. return [formatter(keyValue) + '=' + formatter(encoder(obj, defaults.encoder, charset, 'value', format))];
  2084. }
  2085. return [formatter(prefix) + '=' + formatter(String(obj))];
  2086. }
  2087. var values = [];
  2088. if (typeof obj === 'undefined') {
  2089. return values;
  2090. }
  2091. var objKeys;
  2092. if (generateArrayPrefix === 'comma' && isArray(obj)) {
  2093. // we need to join elements in
  2094. objKeys = [{ value: obj.length > 0 ? obj.join(',') || null : void undefined }];
  2095. } else if (isArray(filter)) {
  2096. objKeys = filter;
  2097. } else {
  2098. var keys = Object.keys(obj);
  2099. objKeys = sort ? keys.sort(sort) : keys;
  2100. }
  2101. for (var j = 0; j < objKeys.length; ++j) {
  2102. var key = objKeys[j];
  2103. var value = typeof key === 'object' && typeof key.value !== 'undefined' ? key.value : obj[key];
  2104. if (skipNulls && value === null) {
  2105. continue;
  2106. }
  2107. var keyPrefix = isArray(obj)
  2108. ? typeof generateArrayPrefix === 'function' ? generateArrayPrefix(prefix, key) : prefix
  2109. : prefix + (allowDots ? '.' + key : '[' + key + ']');
  2110. sideChannel.set(object, step);
  2111. var valueSideChannel = getSideChannel();
  2112. valueSideChannel.set(sentinel, sideChannel);
  2113. pushToArray(values, stringify(
  2114. value,
  2115. keyPrefix,
  2116. generateArrayPrefix,
  2117. strictNullHandling,
  2118. skipNulls,
  2119. encoder,
  2120. filter,
  2121. sort,
  2122. allowDots,
  2123. serializeDate,
  2124. format,
  2125. formatter,
  2126. encodeValuesOnly,
  2127. charset,
  2128. valueSideChannel
  2129. ));
  2130. }
  2131. return values;
  2132. };
  2133. var normalizeStringifyOptions = function normalizeStringifyOptions(opts) {
  2134. if (!opts) {
  2135. return defaults;
  2136. }
  2137. if (opts.encoder !== null && typeof opts.encoder !== 'undefined' && typeof opts.encoder !== 'function') {
  2138. throw new TypeError('Encoder has to be a function.');
  2139. }
  2140. var charset = opts.charset || defaults.charset;
  2141. if (typeof opts.charset !== 'undefined' && opts.charset !== 'utf-8' && opts.charset !== 'iso-8859-1') {
  2142. throw new TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
  2143. }
  2144. var format = formats['default'];
  2145. if (typeof opts.format !== 'undefined') {
  2146. if (!has.call(formats.formatters, opts.format)) {
  2147. throw new TypeError('Unknown format option provided.');
  2148. }
  2149. format = opts.format;
  2150. }
  2151. var formatter = formats.formatters[format];
  2152. var filter = defaults.filter;
  2153. if (typeof opts.filter === 'function' || isArray(opts.filter)) {
  2154. filter = opts.filter;
  2155. }
  2156. return {
  2157. addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
  2158. allowDots: typeof opts.allowDots === 'undefined' ? defaults.allowDots : !!opts.allowDots,
  2159. charset: charset,
  2160. charsetSentinel: typeof opts.charsetSentinel === 'boolean' ? opts.charsetSentinel : defaults.charsetSentinel,
  2161. delimiter: typeof opts.delimiter === 'undefined' ? defaults.delimiter : opts.delimiter,
  2162. encode: typeof opts.encode === 'boolean' ? opts.encode : defaults.encode,
  2163. encoder: typeof opts.encoder === 'function' ? opts.encoder : defaults.encoder,
  2164. encodeValuesOnly: typeof opts.encodeValuesOnly === 'boolean' ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
  2165. filter: filter,
  2166. format: format,
  2167. formatter: formatter,
  2168. serializeDate: typeof opts.serializeDate === 'function' ? opts.serializeDate : defaults.serializeDate,
  2169. skipNulls: typeof opts.skipNulls === 'boolean' ? opts.skipNulls : defaults.skipNulls,
  2170. sort: typeof opts.sort === 'function' ? opts.sort : null,
  2171. strictNullHandling: typeof opts.strictNullHandling === 'boolean' ? opts.strictNullHandling : defaults.strictNullHandling
  2172. };
  2173. };
  2174. module.exports = function (object, opts) {
  2175. var obj = object;
  2176. var options = normalizeStringifyOptions(opts);
  2177. var objKeys;
  2178. var filter;
  2179. if (typeof options.filter === 'function') {
  2180. filter = options.filter;
  2181. obj = filter('', obj);
  2182. } else if (isArray(options.filter)) {
  2183. filter = options.filter;
  2184. objKeys = filter;
  2185. }
  2186. var keys = [];
  2187. if (typeof obj !== 'object' || obj === null) {
  2188. return '';
  2189. }
  2190. var arrayFormat;
  2191. if (opts && opts.arrayFormat in arrayPrefixGenerators) {
  2192. arrayFormat = opts.arrayFormat;
  2193. } else if (opts && 'indices' in opts) {
  2194. arrayFormat = opts.indices ? 'indices' : 'repeat';
  2195. } else {
  2196. arrayFormat = 'indices';
  2197. }
  2198. var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
  2199. if (!objKeys) {
  2200. objKeys = Object.keys(obj);
  2201. }
  2202. if (options.sort) {
  2203. objKeys.sort(options.sort);
  2204. }
  2205. var sideChannel = getSideChannel();
  2206. for (var i = 0; i < objKeys.length; ++i) {
  2207. var key = objKeys[i];
  2208. if (options.skipNulls && obj[key] === null) {
  2209. continue;
  2210. }
  2211. pushToArray(keys, stringify(
  2212. obj[key],
  2213. key,
  2214. generateArrayPrefix,
  2215. options.strictNullHandling,
  2216. options.skipNulls,
  2217. options.encode ? options.encoder : null,
  2218. options.filter,
  2219. options.sort,
  2220. options.allowDots,
  2221. options.serializeDate,
  2222. options.format,
  2223. options.formatter,
  2224. options.encodeValuesOnly,
  2225. options.charset,
  2226. sideChannel
  2227. ));
  2228. }
  2229. var joined = keys.join(options.delimiter);
  2230. var prefix = options.addQueryPrefix === true ? '?' : '';
  2231. if (options.charsetSentinel) {
  2232. if (options.charset === 'iso-8859-1') {
  2233. // encodeURIComponent('&#10003;'), the "numeric entity" representation of a checkmark
  2234. prefix += 'utf8=%26%2310003%3B&';
  2235. } else {
  2236. // encodeURIComponent('✓')
  2237. prefix += 'utf8=%E2%9C%93&';
  2238. }
  2239. }
  2240. return joined.length > 0 ? prefix + joined : '';
  2241. };
  2242. /***/ }),
  2243. /***/ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js":
  2244. /*!**********************************************************************!*\
  2245. !*** ./node_modules/@inertiajs/inertia/node_modules/qs/lib/utils.js ***!
  2246. \**********************************************************************/
  2247. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  2248. "use strict";
  2249. var formats = __webpack_require__(/*! ./formats */ "./node_modules/@inertiajs/inertia/node_modules/qs/lib/formats.js");
  2250. var has = Object.prototype.hasOwnProperty;
  2251. var isArray = Array.isArray;
  2252. var hexTable = (function () {
  2253. var array = [];
  2254. for (var i = 0; i < 256; ++i) {
  2255. array.push('%' + ((i < 16 ? '0' : '') + i.toString(16)).toUpperCase());
  2256. }
  2257. return array;
  2258. }());
  2259. var compactQueue = function compactQueue(queue) {
  2260. while (queue.length > 1) {
  2261. var item = queue.pop();
  2262. var obj = item.obj[item.prop];
  2263. if (isArray(obj)) {
  2264. var compacted = [];
  2265. for (var j = 0; j < obj.length; ++j) {
  2266. if (typeof obj[j] !== 'undefined') {
  2267. compacted.push(obj[j]);
  2268. }
  2269. }
  2270. item.obj[item.prop] = compacted;
  2271. }
  2272. }
  2273. };
  2274. var arrayToObject = function arrayToObject(source, options) {
  2275. var obj = options && options.plainObjects ? Object.create(null) : {};
  2276. for (var i = 0; i < source.length; ++i) {
  2277. if (typeof source[i] !== 'undefined') {
  2278. obj[i] = source[i];
  2279. }
  2280. }
  2281. return obj;
  2282. };
  2283. var merge = function merge(target, source, options) {
  2284. /* eslint no-param-reassign: 0 */
  2285. if (!source) {
  2286. return target;
  2287. }
  2288. if (typeof source !== 'object') {
  2289. if (isArray(target)) {
  2290. target.push(source);
  2291. } else if (target && typeof target === 'object') {
  2292. if ((options && (options.plainObjects || options.allowPrototypes)) || !has.call(Object.prototype, source)) {
  2293. target[source] = true;
  2294. }
  2295. } else {
  2296. return [target, source];
  2297. }
  2298. return target;
  2299. }
  2300. if (!target || typeof target !== 'object') {
  2301. return [target].concat(source);
  2302. }
  2303. var mergeTarget = target;
  2304. if (isArray(target) && !isArray(source)) {
  2305. mergeTarget = arrayToObject(target, options);
  2306. }
  2307. if (isArray(target) && isArray(source)) {
  2308. source.forEach(function (item, i) {
  2309. if (has.call(target, i)) {
  2310. var targetItem = target[i];
  2311. if (targetItem && typeof targetItem === 'object' && item && typeof item === 'object') {
  2312. target[i] = merge(targetItem, item, options);
  2313. } else {
  2314. target.push(item);
  2315. }
  2316. } else {
  2317. target[i] = item;
  2318. }
  2319. });
  2320. return target;
  2321. }
  2322. return Object.keys(source).reduce(function (acc, key) {
  2323. var value = source[key];
  2324. if (has.call(acc, key)) {
  2325. acc[key] = merge(acc[key], value, options);
  2326. } else {
  2327. acc[key] = value;
  2328. }
  2329. return acc;
  2330. }, mergeTarget);
  2331. };
  2332. var assign = function assignSingleSource(target, source) {
  2333. return Object.keys(source).reduce(function (acc, key) {
  2334. acc[key] = source[key];
  2335. return acc;
  2336. }, target);
  2337. };
  2338. var decode = function (str, decoder, charset) {
  2339. var strWithoutPlus = str.replace(/\+/g, ' ');
  2340. if (charset === 'iso-8859-1') {
  2341. // unescape never throws, no try...catch needed:
  2342. return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
  2343. }
  2344. // utf-8
  2345. try {
  2346. return decodeURIComponent(strWithoutPlus);
  2347. } catch (e) {
  2348. return strWithoutPlus;
  2349. }
  2350. };
  2351. var encode = function encode(str, defaultEncoder, charset, kind, format) {
  2352. // This code was originally written by Brian White (mscdex) for the io.js core querystring library.
  2353. // It has been adapted here for stricter adherence to RFC 3986
  2354. if (str.length === 0) {
  2355. return str;
  2356. }
  2357. var string = str;
  2358. if (typeof str === 'symbol') {
  2359. string = Symbol.prototype.toString.call(str);
  2360. } else if (typeof str !== 'string') {
  2361. string = String(str);
  2362. }
  2363. if (charset === 'iso-8859-1') {
  2364. return escape(string).replace(/%u[0-9a-f]{4}/gi, function ($0) {
  2365. return '%26%23' + parseInt($0.slice(2), 16) + '%3B';
  2366. });
  2367. }
  2368. var out = '';
  2369. for (var i = 0; i < string.length; ++i) {
  2370. var c = string.charCodeAt(i);
  2371. if (
  2372. c === 0x2D // -
  2373. || c === 0x2E // .
  2374. || c === 0x5F // _
  2375. || c === 0x7E // ~
  2376. || (c >= 0x30 && c <= 0x39) // 0-9
  2377. || (c >= 0x41 && c <= 0x5A) // a-z
  2378. || (c >= 0x61 && c <= 0x7A) // A-Z
  2379. || (format === formats.RFC1738 && (c === 0x28 || c === 0x29)) // ( )
  2380. ) {
  2381. out += string.charAt(i);
  2382. continue;
  2383. }
  2384. if (c < 0x80) {
  2385. out = out + hexTable[c];
  2386. continue;
  2387. }
  2388. if (c < 0x800) {
  2389. out = out + (hexTable[0xC0 | (c >> 6)] + hexTable[0x80 | (c & 0x3F)]);
  2390. continue;
  2391. }
  2392. if (c < 0xD800 || c >= 0xE000) {
  2393. out = out + (hexTable[0xE0 | (c >> 12)] + hexTable[0x80 | ((c >> 6) & 0x3F)] + hexTable[0x80 | (c & 0x3F)]);
  2394. continue;
  2395. }
  2396. i += 1;
  2397. c = 0x10000 + (((c & 0x3FF) << 10) | (string.charCodeAt(i) & 0x3FF));
  2398. /* eslint operator-linebreak: [2, "before"] */
  2399. out += hexTable[0xF0 | (c >> 18)]
  2400. + hexTable[0x80 | ((c >> 12) & 0x3F)]
  2401. + hexTable[0x80 | ((c >> 6) & 0x3F)]
  2402. + hexTable[0x80 | (c & 0x3F)];
  2403. }
  2404. return out;
  2405. };
  2406. var compact = function compact(value) {
  2407. var queue = [{ obj: { o: value }, prop: 'o' }];
  2408. var refs = [];
  2409. for (var i = 0; i < queue.length; ++i) {
  2410. var item = queue[i];
  2411. var obj = item.obj[item.prop];
  2412. var keys = Object.keys(obj);
  2413. for (var j = 0; j < keys.length; ++j) {
  2414. var key = keys[j];
  2415. var val = obj[key];
  2416. if (typeof val === 'object' && val !== null && refs.indexOf(val) === -1) {
  2417. queue.push({ obj: obj, prop: key });
  2418. refs.push(val);
  2419. }
  2420. }
  2421. }
  2422. compactQueue(queue);
  2423. return value;
  2424. };
  2425. var isRegExp = function isRegExp(obj) {
  2426. return Object.prototype.toString.call(obj) === '[object RegExp]';
  2427. };
  2428. var isBuffer = function isBuffer(obj) {
  2429. if (!obj || typeof obj !== 'object') {
  2430. return false;
  2431. }
  2432. return !!(obj.constructor && obj.constructor.isBuffer && obj.constructor.isBuffer(obj));
  2433. };
  2434. var combine = function combine(a, b) {
  2435. return [].concat(a, b);
  2436. };
  2437. var maybeMap = function maybeMap(val, fn) {
  2438. if (isArray(val)) {
  2439. var mapped = [];
  2440. for (var i = 0; i < val.length; i += 1) {
  2441. mapped.push(fn(val[i]));
  2442. }
  2443. return mapped;
  2444. }
  2445. return fn(val);
  2446. };
  2447. module.exports = {
  2448. arrayToObject: arrayToObject,
  2449. assign: assign,
  2450. combine: combine,
  2451. compact: compact,
  2452. decode: decode,
  2453. encode: encode,
  2454. isBuffer: isBuffer,
  2455. isRegExp: isRegExp,
  2456. maybeMap: maybeMap,
  2457. merge: merge
  2458. };
  2459. /***/ }),
  2460. /***/ "./node_modules/@inertiajs/progress/dist/index.js":
  2461. /*!********************************************************!*\
  2462. !*** ./node_modules/@inertiajs/progress/dist/index.js ***!
  2463. \********************************************************/
  2464. /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
  2465. var n,e=(n=__webpack_require__(/*! nprogress */ "./node_modules/nprogress/nprogress.js"))&&"object"==typeof n&&"default"in n?n.default:n,t=null;function r(n){document.addEventListener("inertia:start",o.bind(null,n)),document.addEventListener("inertia:progress",i),document.addEventListener("inertia:finish",s)}function o(n){t=setTimeout(function(){return e.start()},n)}function i(n){e.isStarted()&&n.detail.progress.percentage&&e.set(Math.max(e.status,n.detail.progress.percentage/100*.9))}function s(n){clearTimeout(t),e.isStarted()&&(n.detail.visit.completed?e.done():n.detail.visit.interrupted?e.set(0):n.detail.visit.cancelled&&(e.done(),e.remove()))}exports.InertiaProgress={init:function(n){var t=void 0===n?{}:n,o=t.delay,i=t.color,s=void 0===i?"#29d":i,a=t.includeCSS,p=void 0===a||a,d=t.showSpinner,l=void 0!==d&&d;r(void 0===o?250:o),e.configure({showSpinner:l}),p&&function(n){var e=document.createElement("style");e.type="text/css",e.textContent="\n #nprogress {\n pointer-events: none;\n }\n\n #nprogress .bar {\n background: "+n+";\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n }\n\n #nprogress .peg {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px "+n+", 0 0 5px "+n+";\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n }\n\n #nprogress .spinner {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n }\n\n #nprogress .spinner-icon {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: "+n+";\n border-left-color: "+n+";\n border-radius: 50%;\n\n -webkit-animation: nprogress-spinner 400ms linear infinite;\n animation: nprogress-spinner 400ms linear infinite;\n }\n\n .nprogress-custom-parent {\n overflow: hidden;\n position: relative;\n }\n\n .nprogress-custom-parent #nprogress .spinner,\n .nprogress-custom-parent #nprogress .bar {\n position: absolute;\n }\n\n @-webkit-keyframes nprogress-spinner {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n }\n @keyframes nprogress-spinner {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n }\n ",document.head.appendChild(e)}(s)}};
  2466. //# sourceMappingURL=index.js.map
  2467. /***/ }),
  2468. /***/ "./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js":
  2469. /*!***************************************************************************!*\
  2470. !*** ./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js ***!
  2471. \***************************************************************************/
  2472. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  2473. "use strict";
  2474. __webpack_require__.r(__webpack_exports__);
  2475. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  2476. /* harmony export */ "generateCodeFrame": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_0__.generateCodeFrame),
  2477. /* harmony export */ "BASE_TRANSITION": () => (/* binding */ BASE_TRANSITION),
  2478. /* harmony export */ "CAMELIZE": () => (/* binding */ CAMELIZE),
  2479. /* harmony export */ "CAPITALIZE": () => (/* binding */ CAPITALIZE),
  2480. /* harmony export */ "CREATE_BLOCK": () => (/* binding */ CREATE_BLOCK),
  2481. /* harmony export */ "CREATE_COMMENT": () => (/* binding */ CREATE_COMMENT),
  2482. /* harmony export */ "CREATE_ELEMENT_BLOCK": () => (/* binding */ CREATE_ELEMENT_BLOCK),
  2483. /* harmony export */ "CREATE_ELEMENT_VNODE": () => (/* binding */ CREATE_ELEMENT_VNODE),
  2484. /* harmony export */ "CREATE_SLOTS": () => (/* binding */ CREATE_SLOTS),
  2485. /* harmony export */ "CREATE_STATIC": () => (/* binding */ CREATE_STATIC),
  2486. /* harmony export */ "CREATE_TEXT": () => (/* binding */ CREATE_TEXT),
  2487. /* harmony export */ "CREATE_VNODE": () => (/* binding */ CREATE_VNODE),
  2488. /* harmony export */ "FRAGMENT": () => (/* binding */ FRAGMENT),
  2489. /* harmony export */ "GUARD_REACTIVE_PROPS": () => (/* binding */ GUARD_REACTIVE_PROPS),
  2490. /* harmony export */ "IS_MEMO_SAME": () => (/* binding */ IS_MEMO_SAME),
  2491. /* harmony export */ "IS_REF": () => (/* binding */ IS_REF),
  2492. /* harmony export */ "KEEP_ALIVE": () => (/* binding */ KEEP_ALIVE),
  2493. /* harmony export */ "MERGE_PROPS": () => (/* binding */ MERGE_PROPS),
  2494. /* harmony export */ "NORMALIZE_CLASS": () => (/* binding */ NORMALIZE_CLASS),
  2495. /* harmony export */ "NORMALIZE_PROPS": () => (/* binding */ NORMALIZE_PROPS),
  2496. /* harmony export */ "NORMALIZE_STYLE": () => (/* binding */ NORMALIZE_STYLE),
  2497. /* harmony export */ "OPEN_BLOCK": () => (/* binding */ OPEN_BLOCK),
  2498. /* harmony export */ "POP_SCOPE_ID": () => (/* binding */ POP_SCOPE_ID),
  2499. /* harmony export */ "PUSH_SCOPE_ID": () => (/* binding */ PUSH_SCOPE_ID),
  2500. /* harmony export */ "RENDER_LIST": () => (/* binding */ RENDER_LIST),
  2501. /* harmony export */ "RENDER_SLOT": () => (/* binding */ RENDER_SLOT),
  2502. /* harmony export */ "RESOLVE_COMPONENT": () => (/* binding */ RESOLVE_COMPONENT),
  2503. /* harmony export */ "RESOLVE_DIRECTIVE": () => (/* binding */ RESOLVE_DIRECTIVE),
  2504. /* harmony export */ "RESOLVE_DYNAMIC_COMPONENT": () => (/* binding */ RESOLVE_DYNAMIC_COMPONENT),
  2505. /* harmony export */ "RESOLVE_FILTER": () => (/* binding */ RESOLVE_FILTER),
  2506. /* harmony export */ "SET_BLOCK_TRACKING": () => (/* binding */ SET_BLOCK_TRACKING),
  2507. /* harmony export */ "SUSPENSE": () => (/* binding */ SUSPENSE),
  2508. /* harmony export */ "TELEPORT": () => (/* binding */ TELEPORT),
  2509. /* harmony export */ "TO_DISPLAY_STRING": () => (/* binding */ TO_DISPLAY_STRING),
  2510. /* harmony export */ "TO_HANDLERS": () => (/* binding */ TO_HANDLERS),
  2511. /* harmony export */ "TO_HANDLER_KEY": () => (/* binding */ TO_HANDLER_KEY),
  2512. /* harmony export */ "UNREF": () => (/* binding */ UNREF),
  2513. /* harmony export */ "WITH_CTX": () => (/* binding */ WITH_CTX),
  2514. /* harmony export */ "WITH_DIRECTIVES": () => (/* binding */ WITH_DIRECTIVES),
  2515. /* harmony export */ "WITH_MEMO": () => (/* binding */ WITH_MEMO),
  2516. /* harmony export */ "advancePositionWithClone": () => (/* binding */ advancePositionWithClone),
  2517. /* harmony export */ "advancePositionWithMutation": () => (/* binding */ advancePositionWithMutation),
  2518. /* harmony export */ "assert": () => (/* binding */ assert),
  2519. /* harmony export */ "baseCompile": () => (/* binding */ baseCompile),
  2520. /* harmony export */ "baseParse": () => (/* binding */ baseParse),
  2521. /* harmony export */ "buildDirectiveArgs": () => (/* binding */ buildDirectiveArgs),
  2522. /* harmony export */ "buildProps": () => (/* binding */ buildProps),
  2523. /* harmony export */ "buildSlots": () => (/* binding */ buildSlots),
  2524. /* harmony export */ "checkCompatEnabled": () => (/* binding */ checkCompatEnabled),
  2525. /* harmony export */ "createArrayExpression": () => (/* binding */ createArrayExpression),
  2526. /* harmony export */ "createAssignmentExpression": () => (/* binding */ createAssignmentExpression),
  2527. /* harmony export */ "createBlockStatement": () => (/* binding */ createBlockStatement),
  2528. /* harmony export */ "createCacheExpression": () => (/* binding */ createCacheExpression),
  2529. /* harmony export */ "createCallExpression": () => (/* binding */ createCallExpression),
  2530. /* harmony export */ "createCompilerError": () => (/* binding */ createCompilerError),
  2531. /* harmony export */ "createCompoundExpression": () => (/* binding */ createCompoundExpression),
  2532. /* harmony export */ "createConditionalExpression": () => (/* binding */ createConditionalExpression),
  2533. /* harmony export */ "createForLoopParams": () => (/* binding */ createForLoopParams),
  2534. /* harmony export */ "createFunctionExpression": () => (/* binding */ createFunctionExpression),
  2535. /* harmony export */ "createIfStatement": () => (/* binding */ createIfStatement),
  2536. /* harmony export */ "createInterpolation": () => (/* binding */ createInterpolation),
  2537. /* harmony export */ "createObjectExpression": () => (/* binding */ createObjectExpression),
  2538. /* harmony export */ "createObjectProperty": () => (/* binding */ createObjectProperty),
  2539. /* harmony export */ "createReturnStatement": () => (/* binding */ createReturnStatement),
  2540. /* harmony export */ "createRoot": () => (/* binding */ createRoot),
  2541. /* harmony export */ "createSequenceExpression": () => (/* binding */ createSequenceExpression),
  2542. /* harmony export */ "createSimpleExpression": () => (/* binding */ createSimpleExpression),
  2543. /* harmony export */ "createStructuralDirectiveTransform": () => (/* binding */ createStructuralDirectiveTransform),
  2544. /* harmony export */ "createTemplateLiteral": () => (/* binding */ createTemplateLiteral),
  2545. /* harmony export */ "createTransformContext": () => (/* binding */ createTransformContext),
  2546. /* harmony export */ "createVNodeCall": () => (/* binding */ createVNodeCall),
  2547. /* harmony export */ "extractIdentifiers": () => (/* binding */ extractIdentifiers),
  2548. /* harmony export */ "findDir": () => (/* binding */ findDir),
  2549. /* harmony export */ "findProp": () => (/* binding */ findProp),
  2550. /* harmony export */ "generate": () => (/* binding */ generate),
  2551. /* harmony export */ "getBaseTransformPreset": () => (/* binding */ getBaseTransformPreset),
  2552. /* harmony export */ "getInnerRange": () => (/* binding */ getInnerRange),
  2553. /* harmony export */ "getMemoedVNodeCall": () => (/* binding */ getMemoedVNodeCall),
  2554. /* harmony export */ "getVNodeBlockHelper": () => (/* binding */ getVNodeBlockHelper),
  2555. /* harmony export */ "getVNodeHelper": () => (/* binding */ getVNodeHelper),
  2556. /* harmony export */ "hasDynamicKeyVBind": () => (/* binding */ hasDynamicKeyVBind),
  2557. /* harmony export */ "hasScopeRef": () => (/* binding */ hasScopeRef),
  2558. /* harmony export */ "helperNameMap": () => (/* binding */ helperNameMap),
  2559. /* harmony export */ "injectProp": () => (/* binding */ injectProp),
  2560. /* harmony export */ "isBuiltInType": () => (/* binding */ isBuiltInType),
  2561. /* harmony export */ "isCoreComponent": () => (/* binding */ isCoreComponent),
  2562. /* harmony export */ "isFunctionType": () => (/* binding */ isFunctionType),
  2563. /* harmony export */ "isInDestructureAssignment": () => (/* binding */ isInDestructureAssignment),
  2564. /* harmony export */ "isMemberExpression": () => (/* binding */ isMemberExpression),
  2565. /* harmony export */ "isMemberExpressionBrowser": () => (/* binding */ isMemberExpressionBrowser),
  2566. /* harmony export */ "isMemberExpressionNode": () => (/* binding */ isMemberExpressionNode),
  2567. /* harmony export */ "isReferencedIdentifier": () => (/* binding */ isReferencedIdentifier),
  2568. /* harmony export */ "isSimpleIdentifier": () => (/* binding */ isSimpleIdentifier),
  2569. /* harmony export */ "isSlotOutlet": () => (/* binding */ isSlotOutlet),
  2570. /* harmony export */ "isStaticArgOf": () => (/* binding */ isStaticArgOf),
  2571. /* harmony export */ "isStaticExp": () => (/* binding */ isStaticExp),
  2572. /* harmony export */ "isStaticProperty": () => (/* binding */ isStaticProperty),
  2573. /* harmony export */ "isStaticPropertyKey": () => (/* binding */ isStaticPropertyKey),
  2574. /* harmony export */ "isTemplateNode": () => (/* binding */ isTemplateNode),
  2575. /* harmony export */ "isText": () => (/* binding */ isText),
  2576. /* harmony export */ "isVSlot": () => (/* binding */ isVSlot),
  2577. /* harmony export */ "locStub": () => (/* binding */ locStub),
  2578. /* harmony export */ "makeBlock": () => (/* binding */ makeBlock),
  2579. /* harmony export */ "noopDirectiveTransform": () => (/* binding */ noopDirectiveTransform),
  2580. /* harmony export */ "processExpression": () => (/* binding */ processExpression),
  2581. /* harmony export */ "processFor": () => (/* binding */ processFor),
  2582. /* harmony export */ "processIf": () => (/* binding */ processIf),
  2583. /* harmony export */ "processSlotOutlet": () => (/* binding */ processSlotOutlet),
  2584. /* harmony export */ "registerRuntimeHelpers": () => (/* binding */ registerRuntimeHelpers),
  2585. /* harmony export */ "resolveComponentType": () => (/* binding */ resolveComponentType),
  2586. /* harmony export */ "toValidAssetId": () => (/* binding */ toValidAssetId),
  2587. /* harmony export */ "trackSlotScopes": () => (/* binding */ trackSlotScopes),
  2588. /* harmony export */ "trackVForSlotScopes": () => (/* binding */ trackVForSlotScopes),
  2589. /* harmony export */ "transform": () => (/* binding */ transform),
  2590. /* harmony export */ "transformBind": () => (/* binding */ transformBind),
  2591. /* harmony export */ "transformElement": () => (/* binding */ transformElement),
  2592. /* harmony export */ "transformExpression": () => (/* binding */ transformExpression),
  2593. /* harmony export */ "transformModel": () => (/* binding */ transformModel),
  2594. /* harmony export */ "transformOn": () => (/* binding */ transformOn),
  2595. /* harmony export */ "traverseNode": () => (/* binding */ traverseNode),
  2596. /* harmony export */ "walkBlockDeclarations": () => (/* binding */ walkBlockDeclarations),
  2597. /* harmony export */ "walkFunctionParams": () => (/* binding */ walkFunctionParams),
  2598. /* harmony export */ "walkIdentifiers": () => (/* binding */ walkIdentifiers),
  2599. /* harmony export */ "warnDeprecation": () => (/* binding */ warnDeprecation)
  2600. /* harmony export */ });
  2601. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  2602. function defaultOnError(error) {
  2603. throw error;
  2604. }
  2605. function defaultOnWarn(msg) {
  2606. ( true) && console.warn(`[Vue warn] ${msg.message}`);
  2607. }
  2608. function createCompilerError(code, loc, messages, additionalMessage) {
  2609. const msg = true
  2610. ? (messages || errorMessages)[code] + (additionalMessage || ``)
  2611. : 0;
  2612. const error = new SyntaxError(String(msg));
  2613. error.code = code;
  2614. error.loc = loc;
  2615. return error;
  2616. }
  2617. const errorMessages = {
  2618. // parse errors
  2619. [0 /* ABRUPT_CLOSING_OF_EMPTY_COMMENT */]: 'Illegal comment.',
  2620. [1 /* CDATA_IN_HTML_CONTENT */]: 'CDATA section is allowed only in XML context.',
  2621. [2 /* DUPLICATE_ATTRIBUTE */]: 'Duplicate attribute.',
  2622. [3 /* END_TAG_WITH_ATTRIBUTES */]: 'End tag cannot have attributes.',
  2623. [4 /* END_TAG_WITH_TRAILING_SOLIDUS */]: "Illegal '/' in tags.",
  2624. [5 /* EOF_BEFORE_TAG_NAME */]: 'Unexpected EOF in tag.',
  2625. [6 /* EOF_IN_CDATA */]: 'Unexpected EOF in CDATA section.',
  2626. [7 /* EOF_IN_COMMENT */]: 'Unexpected EOF in comment.',
  2627. [8 /* EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT */]: 'Unexpected EOF in script.',
  2628. [9 /* EOF_IN_TAG */]: 'Unexpected EOF in tag.',
  2629. [10 /* INCORRECTLY_CLOSED_COMMENT */]: 'Incorrectly closed comment.',
  2630. [11 /* INCORRECTLY_OPENED_COMMENT */]: 'Incorrectly opened comment.',
  2631. [12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */]: "Illegal tag name. Use '&lt;' to print '<'.",
  2632. [13 /* MISSING_ATTRIBUTE_VALUE */]: 'Attribute value was expected.',
  2633. [14 /* MISSING_END_TAG_NAME */]: 'End tag name was expected.',
  2634. [15 /* MISSING_WHITESPACE_BETWEEN_ATTRIBUTES */]: 'Whitespace was expected.',
  2635. [16 /* NESTED_COMMENT */]: "Unexpected '<!--' in comment.",
  2636. [17 /* UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME */]: 'Attribute name cannot contain U+0022 ("), U+0027 (\'), and U+003C (<).',
  2637. [18 /* UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE */]: 'Unquoted attribute value cannot contain U+0022 ("), U+0027 (\'), U+003C (<), U+003D (=), and U+0060 (`).',
  2638. [19 /* UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME */]: "Attribute name cannot start with '='.",
  2639. [21 /* UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME */]: "'<?' is allowed only in XML context.",
  2640. [20 /* UNEXPECTED_NULL_CHARACTER */]: `Unexpected null character.`,
  2641. [22 /* UNEXPECTED_SOLIDUS_IN_TAG */]: "Illegal '/' in tags.",
  2642. // Vue-specific parse errors
  2643. [23 /* X_INVALID_END_TAG */]: 'Invalid end tag.',
  2644. [24 /* X_MISSING_END_TAG */]: 'Element is missing end tag.',
  2645. [25 /* X_MISSING_INTERPOLATION_END */]: 'Interpolation end sign was not found.',
  2646. [27 /* X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END */]: 'End bracket for dynamic directive argument was not found. ' +
  2647. 'Note that dynamic directive argument cannot contain spaces.',
  2648. [26 /* X_MISSING_DIRECTIVE_NAME */]: 'Legal directive name was expected.',
  2649. // transform errors
  2650. [28 /* X_V_IF_NO_EXPRESSION */]: `v-if/v-else-if is missing expression.`,
  2651. [29 /* X_V_IF_SAME_KEY */]: `v-if/else branches must use unique keys.`,
  2652. [30 /* X_V_ELSE_NO_ADJACENT_IF */]: `v-else/v-else-if has no adjacent v-if or v-else-if.`,
  2653. [31 /* X_V_FOR_NO_EXPRESSION */]: `v-for is missing expression.`,
  2654. [32 /* X_V_FOR_MALFORMED_EXPRESSION */]: `v-for has invalid expression.`,
  2655. [33 /* X_V_FOR_TEMPLATE_KEY_PLACEMENT */]: `<template v-for> key should be placed on the <template> tag.`,
  2656. [34 /* X_V_BIND_NO_EXPRESSION */]: `v-bind is missing expression.`,
  2657. [35 /* X_V_ON_NO_EXPRESSION */]: `v-on is missing expression.`,
  2658. [36 /* X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET */]: `Unexpected custom directive on <slot> outlet.`,
  2659. [37 /* X_V_SLOT_MIXED_SLOT_USAGE */]: `Mixed v-slot usage on both the component and nested <template>.` +
  2660. `When there are multiple named slots, all slots should use <template> ` +
  2661. `syntax to avoid scope ambiguity.`,
  2662. [38 /* X_V_SLOT_DUPLICATE_SLOT_NAMES */]: `Duplicate slot names found. `,
  2663. [39 /* X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN */]: `Extraneous children found when component already has explicitly named ` +
  2664. `default slot. These children will be ignored.`,
  2665. [40 /* X_V_SLOT_MISPLACED */]: `v-slot can only be used on components or <template> tags.`,
  2666. [41 /* X_V_MODEL_NO_EXPRESSION */]: `v-model is missing expression.`,
  2667. [42 /* X_V_MODEL_MALFORMED_EXPRESSION */]: `v-model value must be a valid JavaScript member expression.`,
  2668. [43 /* X_V_MODEL_ON_SCOPE_VARIABLE */]: `v-model cannot be used on v-for or v-slot scope variables because they are not writable.`,
  2669. [44 /* X_INVALID_EXPRESSION */]: `Error parsing JavaScript expression: `,
  2670. [45 /* X_KEEP_ALIVE_INVALID_CHILDREN */]: `<KeepAlive> expects exactly one child component.`,
  2671. // generic errors
  2672. [46 /* X_PREFIX_ID_NOT_SUPPORTED */]: `"prefixIdentifiers" option is not supported in this build of compiler.`,
  2673. [47 /* X_MODULE_MODE_NOT_SUPPORTED */]: `ES module mode is not supported in this build of compiler.`,
  2674. [48 /* X_CACHE_HANDLER_NOT_SUPPORTED */]: `"cacheHandlers" option is only supported when the "prefixIdentifiers" option is enabled.`,
  2675. [49 /* X_SCOPE_ID_NOT_SUPPORTED */]: `"scopeId" option is only supported in module mode.`,
  2676. // just to fulfill types
  2677. [50 /* __EXTEND_POINT__ */]: ``
  2678. };
  2679. const FRAGMENT = Symbol(( true) ? `Fragment` : 0);
  2680. const TELEPORT = Symbol(( true) ? `Teleport` : 0);
  2681. const SUSPENSE = Symbol(( true) ? `Suspense` : 0);
  2682. const KEEP_ALIVE = Symbol(( true) ? `KeepAlive` : 0);
  2683. const BASE_TRANSITION = Symbol(( true) ? `BaseTransition` : 0);
  2684. const OPEN_BLOCK = Symbol(( true) ? `openBlock` : 0);
  2685. const CREATE_BLOCK = Symbol(( true) ? `createBlock` : 0);
  2686. const CREATE_ELEMENT_BLOCK = Symbol(( true) ? `createElementBlock` : 0);
  2687. const CREATE_VNODE = Symbol(( true) ? `createVNode` : 0);
  2688. const CREATE_ELEMENT_VNODE = Symbol(( true) ? `createElementVNode` : 0);
  2689. const CREATE_COMMENT = Symbol(( true) ? `createCommentVNode` : 0);
  2690. const CREATE_TEXT = Symbol(( true) ? `createTextVNode` : 0);
  2691. const CREATE_STATIC = Symbol(( true) ? `createStaticVNode` : 0);
  2692. const RESOLVE_COMPONENT = Symbol(( true) ? `resolveComponent` : 0);
  2693. const RESOLVE_DYNAMIC_COMPONENT = Symbol(( true) ? `resolveDynamicComponent` : 0);
  2694. const RESOLVE_DIRECTIVE = Symbol(( true) ? `resolveDirective` : 0);
  2695. const RESOLVE_FILTER = Symbol(( true) ? `resolveFilter` : 0);
  2696. const WITH_DIRECTIVES = Symbol(( true) ? `withDirectives` : 0);
  2697. const RENDER_LIST = Symbol(( true) ? `renderList` : 0);
  2698. const RENDER_SLOT = Symbol(( true) ? `renderSlot` : 0);
  2699. const CREATE_SLOTS = Symbol(( true) ? `createSlots` : 0);
  2700. const TO_DISPLAY_STRING = Symbol(( true) ? `toDisplayString` : 0);
  2701. const MERGE_PROPS = Symbol(( true) ? `mergeProps` : 0);
  2702. const NORMALIZE_CLASS = Symbol(( true) ? `normalizeClass` : 0);
  2703. const NORMALIZE_STYLE = Symbol(( true) ? `normalizeStyle` : 0);
  2704. const NORMALIZE_PROPS = Symbol(( true) ? `normalizeProps` : 0);
  2705. const GUARD_REACTIVE_PROPS = Symbol(( true) ? `guardReactiveProps` : 0);
  2706. const TO_HANDLERS = Symbol(( true) ? `toHandlers` : 0);
  2707. const CAMELIZE = Symbol(( true) ? `camelize` : 0);
  2708. const CAPITALIZE = Symbol(( true) ? `capitalize` : 0);
  2709. const TO_HANDLER_KEY = Symbol(( true) ? `toHandlerKey` : 0);
  2710. const SET_BLOCK_TRACKING = Symbol(( true) ? `setBlockTracking` : 0);
  2711. const PUSH_SCOPE_ID = Symbol(( true) ? `pushScopeId` : 0);
  2712. const POP_SCOPE_ID = Symbol(( true) ? `popScopeId` : 0);
  2713. const WITH_CTX = Symbol(( true) ? `withCtx` : 0);
  2714. const UNREF = Symbol(( true) ? `unref` : 0);
  2715. const IS_REF = Symbol(( true) ? `isRef` : 0);
  2716. const WITH_MEMO = Symbol(( true) ? `withMemo` : 0);
  2717. const IS_MEMO_SAME = Symbol(( true) ? `isMemoSame` : 0);
  2718. // Name mapping for runtime helpers that need to be imported from 'vue' in
  2719. // generated code. Make sure these are correctly exported in the runtime!
  2720. // Using `any` here because TS doesn't allow symbols as index type.
  2721. const helperNameMap = {
  2722. [FRAGMENT]: `Fragment`,
  2723. [TELEPORT]: `Teleport`,
  2724. [SUSPENSE]: `Suspense`,
  2725. [KEEP_ALIVE]: `KeepAlive`,
  2726. [BASE_TRANSITION]: `BaseTransition`,
  2727. [OPEN_BLOCK]: `openBlock`,
  2728. [CREATE_BLOCK]: `createBlock`,
  2729. [CREATE_ELEMENT_BLOCK]: `createElementBlock`,
  2730. [CREATE_VNODE]: `createVNode`,
  2731. [CREATE_ELEMENT_VNODE]: `createElementVNode`,
  2732. [CREATE_COMMENT]: `createCommentVNode`,
  2733. [CREATE_TEXT]: `createTextVNode`,
  2734. [CREATE_STATIC]: `createStaticVNode`,
  2735. [RESOLVE_COMPONENT]: `resolveComponent`,
  2736. [RESOLVE_DYNAMIC_COMPONENT]: `resolveDynamicComponent`,
  2737. [RESOLVE_DIRECTIVE]: `resolveDirective`,
  2738. [RESOLVE_FILTER]: `resolveFilter`,
  2739. [WITH_DIRECTIVES]: `withDirectives`,
  2740. [RENDER_LIST]: `renderList`,
  2741. [RENDER_SLOT]: `renderSlot`,
  2742. [CREATE_SLOTS]: `createSlots`,
  2743. [TO_DISPLAY_STRING]: `toDisplayString`,
  2744. [MERGE_PROPS]: `mergeProps`,
  2745. [NORMALIZE_CLASS]: `normalizeClass`,
  2746. [NORMALIZE_STYLE]: `normalizeStyle`,
  2747. [NORMALIZE_PROPS]: `normalizeProps`,
  2748. [GUARD_REACTIVE_PROPS]: `guardReactiveProps`,
  2749. [TO_HANDLERS]: `toHandlers`,
  2750. [CAMELIZE]: `camelize`,
  2751. [CAPITALIZE]: `capitalize`,
  2752. [TO_HANDLER_KEY]: `toHandlerKey`,
  2753. [SET_BLOCK_TRACKING]: `setBlockTracking`,
  2754. [PUSH_SCOPE_ID]: `pushScopeId`,
  2755. [POP_SCOPE_ID]: `popScopeId`,
  2756. [WITH_CTX]: `withCtx`,
  2757. [UNREF]: `unref`,
  2758. [IS_REF]: `isRef`,
  2759. [WITH_MEMO]: `withMemo`,
  2760. [IS_MEMO_SAME]: `isMemoSame`
  2761. };
  2762. function registerRuntimeHelpers(helpers) {
  2763. Object.getOwnPropertySymbols(helpers).forEach(s => {
  2764. helperNameMap[s] = helpers[s];
  2765. });
  2766. }
  2767. // AST Utilities ---------------------------------------------------------------
  2768. // Some expressions, e.g. sequence and conditional expressions, are never
  2769. // associated with template nodes, so their source locations are just a stub.
  2770. // Container types like CompoundExpression also don't need a real location.
  2771. const locStub = {
  2772. source: '',
  2773. start: { line: 1, column: 1, offset: 0 },
  2774. end: { line: 1, column: 1, offset: 0 }
  2775. };
  2776. function createRoot(children, loc = locStub) {
  2777. return {
  2778. type: 0 /* ROOT */,
  2779. children,
  2780. helpers: [],
  2781. components: [],
  2782. directives: [],
  2783. hoists: [],
  2784. imports: [],
  2785. cached: 0,
  2786. temps: 0,
  2787. codegenNode: undefined,
  2788. loc
  2789. };
  2790. }
  2791. function createVNodeCall(context, tag, props, children, patchFlag, dynamicProps, directives, isBlock = false, disableTracking = false, isComponent = false, loc = locStub) {
  2792. if (context) {
  2793. if (isBlock) {
  2794. context.helper(OPEN_BLOCK);
  2795. context.helper(getVNodeBlockHelper(context.inSSR, isComponent));
  2796. }
  2797. else {
  2798. context.helper(getVNodeHelper(context.inSSR, isComponent));
  2799. }
  2800. if (directives) {
  2801. context.helper(WITH_DIRECTIVES);
  2802. }
  2803. }
  2804. return {
  2805. type: 13 /* VNODE_CALL */,
  2806. tag,
  2807. props,
  2808. children,
  2809. patchFlag,
  2810. dynamicProps,
  2811. directives,
  2812. isBlock,
  2813. disableTracking,
  2814. isComponent,
  2815. loc
  2816. };
  2817. }
  2818. function createArrayExpression(elements, loc = locStub) {
  2819. return {
  2820. type: 17 /* JS_ARRAY_EXPRESSION */,
  2821. loc,
  2822. elements
  2823. };
  2824. }
  2825. function createObjectExpression(properties, loc = locStub) {
  2826. return {
  2827. type: 15 /* JS_OBJECT_EXPRESSION */,
  2828. loc,
  2829. properties
  2830. };
  2831. }
  2832. function createObjectProperty(key, value) {
  2833. return {
  2834. type: 16 /* JS_PROPERTY */,
  2835. loc: locStub,
  2836. key: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(key) ? createSimpleExpression(key, true) : key,
  2837. value
  2838. };
  2839. }
  2840. function createSimpleExpression(content, isStatic = false, loc = locStub, constType = 0 /* NOT_CONSTANT */) {
  2841. return {
  2842. type: 4 /* SIMPLE_EXPRESSION */,
  2843. loc,
  2844. content,
  2845. isStatic,
  2846. constType: isStatic ? 3 /* CAN_STRINGIFY */ : constType
  2847. };
  2848. }
  2849. function createInterpolation(content, loc) {
  2850. return {
  2851. type: 5 /* INTERPOLATION */,
  2852. loc,
  2853. content: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(content)
  2854. ? createSimpleExpression(content, false, loc)
  2855. : content
  2856. };
  2857. }
  2858. function createCompoundExpression(children, loc = locStub) {
  2859. return {
  2860. type: 8 /* COMPOUND_EXPRESSION */,
  2861. loc,
  2862. children
  2863. };
  2864. }
  2865. function createCallExpression(callee, args = [], loc = locStub) {
  2866. return {
  2867. type: 14 /* JS_CALL_EXPRESSION */,
  2868. loc,
  2869. callee,
  2870. arguments: args
  2871. };
  2872. }
  2873. function createFunctionExpression(params, returns = undefined, newline = false, isSlot = false, loc = locStub) {
  2874. return {
  2875. type: 18 /* JS_FUNCTION_EXPRESSION */,
  2876. params,
  2877. returns,
  2878. newline,
  2879. isSlot,
  2880. loc
  2881. };
  2882. }
  2883. function createConditionalExpression(test, consequent, alternate, newline = true) {
  2884. return {
  2885. type: 19 /* JS_CONDITIONAL_EXPRESSION */,
  2886. test,
  2887. consequent,
  2888. alternate,
  2889. newline,
  2890. loc: locStub
  2891. };
  2892. }
  2893. function createCacheExpression(index, value, isVNode = false) {
  2894. return {
  2895. type: 20 /* JS_CACHE_EXPRESSION */,
  2896. index,
  2897. value,
  2898. isVNode,
  2899. loc: locStub
  2900. };
  2901. }
  2902. function createBlockStatement(body) {
  2903. return {
  2904. type: 21 /* JS_BLOCK_STATEMENT */,
  2905. body,
  2906. loc: locStub
  2907. };
  2908. }
  2909. function createTemplateLiteral(elements) {
  2910. return {
  2911. type: 22 /* JS_TEMPLATE_LITERAL */,
  2912. elements,
  2913. loc: locStub
  2914. };
  2915. }
  2916. function createIfStatement(test, consequent, alternate) {
  2917. return {
  2918. type: 23 /* JS_IF_STATEMENT */,
  2919. test,
  2920. consequent,
  2921. alternate,
  2922. loc: locStub
  2923. };
  2924. }
  2925. function createAssignmentExpression(left, right) {
  2926. return {
  2927. type: 24 /* JS_ASSIGNMENT_EXPRESSION */,
  2928. left,
  2929. right,
  2930. loc: locStub
  2931. };
  2932. }
  2933. function createSequenceExpression(expressions) {
  2934. return {
  2935. type: 25 /* JS_SEQUENCE_EXPRESSION */,
  2936. expressions,
  2937. loc: locStub
  2938. };
  2939. }
  2940. function createReturnStatement(returns) {
  2941. return {
  2942. type: 26 /* JS_RETURN_STATEMENT */,
  2943. returns,
  2944. loc: locStub
  2945. };
  2946. }
  2947. const isStaticExp = (p) => p.type === 4 /* SIMPLE_EXPRESSION */ && p.isStatic;
  2948. const isBuiltInType = (tag, expected) => tag === expected || tag === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hyphenate)(expected);
  2949. function isCoreComponent(tag) {
  2950. if (isBuiltInType(tag, 'Teleport')) {
  2951. return TELEPORT;
  2952. }
  2953. else if (isBuiltInType(tag, 'Suspense')) {
  2954. return SUSPENSE;
  2955. }
  2956. else if (isBuiltInType(tag, 'KeepAlive')) {
  2957. return KEEP_ALIVE;
  2958. }
  2959. else if (isBuiltInType(tag, 'BaseTransition')) {
  2960. return BASE_TRANSITION;
  2961. }
  2962. }
  2963. const nonIdentifierRE = /^\d|[^\$\w]/;
  2964. const isSimpleIdentifier = (name) => !nonIdentifierRE.test(name);
  2965. const validFirstIdentCharRE = /[A-Za-z_$\xA0-\uFFFF]/;
  2966. const validIdentCharRE = /[\.\?\w$\xA0-\uFFFF]/;
  2967. const whitespaceRE = /\s+[.[]\s*|\s*[.[]\s+/g;
  2968. /**
  2969. * Simple lexer to check if an expression is a member expression. This is
  2970. * lax and only checks validity at the root level (i.e. does not validate exps
  2971. * inside square brackets), but it's ok since these are only used on template
  2972. * expressions and false positives are invalid expressions in the first place.
  2973. */
  2974. const isMemberExpressionBrowser = (path) => {
  2975. // remove whitespaces around . or [ first
  2976. path = path.trim().replace(whitespaceRE, s => s.trim());
  2977. let state = 0 /* inMemberExp */;
  2978. let stateStack = [];
  2979. let currentOpenBracketCount = 0;
  2980. let currentOpenParensCount = 0;
  2981. let currentStringType = null;
  2982. for (let i = 0; i < path.length; i++) {
  2983. const char = path.charAt(i);
  2984. switch (state) {
  2985. case 0 /* inMemberExp */:
  2986. if (char === '[') {
  2987. stateStack.push(state);
  2988. state = 1 /* inBrackets */;
  2989. currentOpenBracketCount++;
  2990. }
  2991. else if (char === '(') {
  2992. stateStack.push(state);
  2993. state = 2 /* inParens */;
  2994. currentOpenParensCount++;
  2995. }
  2996. else if (!(i === 0 ? validFirstIdentCharRE : validIdentCharRE).test(char)) {
  2997. return false;
  2998. }
  2999. break;
  3000. case 1 /* inBrackets */:
  3001. if (char === `'` || char === `"` || char === '`') {
  3002. stateStack.push(state);
  3003. state = 3 /* inString */;
  3004. currentStringType = char;
  3005. }
  3006. else if (char === `[`) {
  3007. currentOpenBracketCount++;
  3008. }
  3009. else if (char === `]`) {
  3010. if (!--currentOpenBracketCount) {
  3011. state = stateStack.pop();
  3012. }
  3013. }
  3014. break;
  3015. case 2 /* inParens */:
  3016. if (char === `'` || char === `"` || char === '`') {
  3017. stateStack.push(state);
  3018. state = 3 /* inString */;
  3019. currentStringType = char;
  3020. }
  3021. else if (char === `(`) {
  3022. currentOpenParensCount++;
  3023. }
  3024. else if (char === `)`) {
  3025. // if the exp ends as a call then it should not be considered valid
  3026. if (i === path.length - 1) {
  3027. return false;
  3028. }
  3029. if (!--currentOpenParensCount) {
  3030. state = stateStack.pop();
  3031. }
  3032. }
  3033. break;
  3034. case 3 /* inString */:
  3035. if (char === currentStringType) {
  3036. state = stateStack.pop();
  3037. currentStringType = null;
  3038. }
  3039. break;
  3040. }
  3041. }
  3042. return !currentOpenBracketCount && !currentOpenParensCount;
  3043. };
  3044. const isMemberExpressionNode = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NOOP
  3045. ;
  3046. const isMemberExpression = isMemberExpressionBrowser
  3047. ;
  3048. function getInnerRange(loc, offset, length) {
  3049. const source = loc.source.slice(offset, offset + length);
  3050. const newLoc = {
  3051. source,
  3052. start: advancePositionWithClone(loc.start, loc.source, offset),
  3053. end: loc.end
  3054. };
  3055. if (length != null) {
  3056. newLoc.end = advancePositionWithClone(loc.start, loc.source, offset + length);
  3057. }
  3058. return newLoc;
  3059. }
  3060. function advancePositionWithClone(pos, source, numberOfCharacters = source.length) {
  3061. return advancePositionWithMutation((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, pos), source, numberOfCharacters);
  3062. }
  3063. // advance by mutation without cloning (for performance reasons), since this
  3064. // gets called a lot in the parser
  3065. function advancePositionWithMutation(pos, source, numberOfCharacters = source.length) {
  3066. let linesCount = 0;
  3067. let lastNewLinePos = -1;
  3068. for (let i = 0; i < numberOfCharacters; i++) {
  3069. if (source.charCodeAt(i) === 10 /* newline char code */) {
  3070. linesCount++;
  3071. lastNewLinePos = i;
  3072. }
  3073. }
  3074. pos.offset += numberOfCharacters;
  3075. pos.line += linesCount;
  3076. pos.column =
  3077. lastNewLinePos === -1
  3078. ? pos.column + numberOfCharacters
  3079. : numberOfCharacters - lastNewLinePos;
  3080. return pos;
  3081. }
  3082. function assert(condition, msg) {
  3083. /* istanbul ignore if */
  3084. if (!condition) {
  3085. throw new Error(msg || `unexpected compiler condition`);
  3086. }
  3087. }
  3088. function findDir(node, name, allowEmpty = false) {
  3089. for (let i = 0; i < node.props.length; i++) {
  3090. const p = node.props[i];
  3091. if (p.type === 7 /* DIRECTIVE */ &&
  3092. (allowEmpty || p.exp) &&
  3093. ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(name) ? p.name === name : name.test(p.name))) {
  3094. return p;
  3095. }
  3096. }
  3097. }
  3098. function findProp(node, name, dynamicOnly = false, allowEmpty = false) {
  3099. for (let i = 0; i < node.props.length; i++) {
  3100. const p = node.props[i];
  3101. if (p.type === 6 /* ATTRIBUTE */) {
  3102. if (dynamicOnly)
  3103. continue;
  3104. if (p.name === name && (p.value || allowEmpty)) {
  3105. return p;
  3106. }
  3107. }
  3108. else if (p.name === 'bind' &&
  3109. (p.exp || allowEmpty) &&
  3110. isStaticArgOf(p.arg, name)) {
  3111. return p;
  3112. }
  3113. }
  3114. }
  3115. function isStaticArgOf(arg, name) {
  3116. return !!(arg && isStaticExp(arg) && arg.content === name);
  3117. }
  3118. function hasDynamicKeyVBind(node) {
  3119. return node.props.some(p => p.type === 7 /* DIRECTIVE */ &&
  3120. p.name === 'bind' &&
  3121. (!p.arg || // v-bind="obj"
  3122. p.arg.type !== 4 /* SIMPLE_EXPRESSION */ || // v-bind:[_ctx.foo]
  3123. !p.arg.isStatic) // v-bind:[foo]
  3124. );
  3125. }
  3126. function isText(node) {
  3127. return node.type === 5 /* INTERPOLATION */ || node.type === 2 /* TEXT */;
  3128. }
  3129. function isVSlot(p) {
  3130. return p.type === 7 /* DIRECTIVE */ && p.name === 'slot';
  3131. }
  3132. function isTemplateNode(node) {
  3133. return (node.type === 1 /* ELEMENT */ && node.tagType === 3 /* TEMPLATE */);
  3134. }
  3135. function isSlotOutlet(node) {
  3136. return node.type === 1 /* ELEMENT */ && node.tagType === 2 /* SLOT */;
  3137. }
  3138. function getVNodeHelper(ssr, isComponent) {
  3139. return ssr || isComponent ? CREATE_VNODE : CREATE_ELEMENT_VNODE;
  3140. }
  3141. function getVNodeBlockHelper(ssr, isComponent) {
  3142. return ssr || isComponent ? CREATE_BLOCK : CREATE_ELEMENT_BLOCK;
  3143. }
  3144. const propsHelperSet = new Set([NORMALIZE_PROPS, GUARD_REACTIVE_PROPS]);
  3145. function getUnnormalizedProps(props, callPath = []) {
  3146. if (props &&
  3147. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(props) &&
  3148. props.type === 14 /* JS_CALL_EXPRESSION */) {
  3149. const callee = props.callee;
  3150. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(callee) && propsHelperSet.has(callee)) {
  3151. return getUnnormalizedProps(props.arguments[0], callPath.concat(props));
  3152. }
  3153. }
  3154. return [props, callPath];
  3155. }
  3156. function injectProp(node, prop, context) {
  3157. let propsWithInjection;
  3158. /**
  3159. * 1. mergeProps(...)
  3160. * 2. toHandlers(...)
  3161. * 3. normalizeProps(...)
  3162. * 4. normalizeProps(guardReactiveProps(...))
  3163. *
  3164. * we need to get the real props before normalization
  3165. */
  3166. let props = node.type === 13 /* VNODE_CALL */ ? node.props : node.arguments[2];
  3167. let callPath = [];
  3168. let parentCall;
  3169. if (props &&
  3170. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(props) &&
  3171. props.type === 14 /* JS_CALL_EXPRESSION */) {
  3172. const ret = getUnnormalizedProps(props);
  3173. props = ret[0];
  3174. callPath = ret[1];
  3175. parentCall = callPath[callPath.length - 1];
  3176. }
  3177. if (props == null || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(props)) {
  3178. propsWithInjection = createObjectExpression([prop]);
  3179. }
  3180. else if (props.type === 14 /* JS_CALL_EXPRESSION */) {
  3181. // merged props... add ours
  3182. // only inject key to object literal if it's the first argument so that
  3183. // if doesn't override user provided keys
  3184. const first = props.arguments[0];
  3185. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(first) && first.type === 15 /* JS_OBJECT_EXPRESSION */) {
  3186. first.properties.unshift(prop);
  3187. }
  3188. else {
  3189. if (props.callee === TO_HANDLERS) {
  3190. // #2366
  3191. propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [
  3192. createObjectExpression([prop]),
  3193. props
  3194. ]);
  3195. }
  3196. else {
  3197. props.arguments.unshift(createObjectExpression([prop]));
  3198. }
  3199. }
  3200. !propsWithInjection && (propsWithInjection = props);
  3201. }
  3202. else if (props.type === 15 /* JS_OBJECT_EXPRESSION */) {
  3203. let alreadyExists = false;
  3204. // check existing key to avoid overriding user provided keys
  3205. if (prop.key.type === 4 /* SIMPLE_EXPRESSION */) {
  3206. const propKeyName = prop.key.content;
  3207. alreadyExists = props.properties.some(p => p.key.type === 4 /* SIMPLE_EXPRESSION */ &&
  3208. p.key.content === propKeyName);
  3209. }
  3210. if (!alreadyExists) {
  3211. props.properties.unshift(prop);
  3212. }
  3213. propsWithInjection = props;
  3214. }
  3215. else {
  3216. // single v-bind with expression, return a merged replacement
  3217. propsWithInjection = createCallExpression(context.helper(MERGE_PROPS), [
  3218. createObjectExpression([prop]),
  3219. props
  3220. ]);
  3221. // in the case of nested helper call, e.g. `normalizeProps(guardReactiveProps(props))`,
  3222. // it will be rewritten as `normalizeProps(mergeProps({ key: 0 }, props))`,
  3223. // the `guardReactiveProps` will no longer be needed
  3224. if (parentCall && parentCall.callee === GUARD_REACTIVE_PROPS) {
  3225. parentCall = callPath[callPath.length - 2];
  3226. }
  3227. }
  3228. if (node.type === 13 /* VNODE_CALL */) {
  3229. if (parentCall) {
  3230. parentCall.arguments[0] = propsWithInjection;
  3231. }
  3232. else {
  3233. node.props = propsWithInjection;
  3234. }
  3235. }
  3236. else {
  3237. if (parentCall) {
  3238. parentCall.arguments[0] = propsWithInjection;
  3239. }
  3240. else {
  3241. node.arguments[2] = propsWithInjection;
  3242. }
  3243. }
  3244. }
  3245. function toValidAssetId(name, type) {
  3246. // see issue#4422, we need adding identifier on validAssetId if variable `name` has specific character
  3247. return `_${type}_${name.replace(/[^\w]/g, (searchValue, replaceValue) => {
  3248. return searchValue === '-' ? '_' : name.charCodeAt(replaceValue).toString();
  3249. })}`;
  3250. }
  3251. // Check if a node contains expressions that reference current context scope ids
  3252. function hasScopeRef(node, ids) {
  3253. if (!node || Object.keys(ids).length === 0) {
  3254. return false;
  3255. }
  3256. switch (node.type) {
  3257. case 1 /* ELEMENT */:
  3258. for (let i = 0; i < node.props.length; i++) {
  3259. const p = node.props[i];
  3260. if (p.type === 7 /* DIRECTIVE */ &&
  3261. (hasScopeRef(p.arg, ids) || hasScopeRef(p.exp, ids))) {
  3262. return true;
  3263. }
  3264. }
  3265. return node.children.some(c => hasScopeRef(c, ids));
  3266. case 11 /* FOR */:
  3267. if (hasScopeRef(node.source, ids)) {
  3268. return true;
  3269. }
  3270. return node.children.some(c => hasScopeRef(c, ids));
  3271. case 9 /* IF */:
  3272. return node.branches.some(b => hasScopeRef(b, ids));
  3273. case 10 /* IF_BRANCH */:
  3274. if (hasScopeRef(node.condition, ids)) {
  3275. return true;
  3276. }
  3277. return node.children.some(c => hasScopeRef(c, ids));
  3278. case 4 /* SIMPLE_EXPRESSION */:
  3279. return (!node.isStatic &&
  3280. isSimpleIdentifier(node.content) &&
  3281. !!ids[node.content]);
  3282. case 8 /* COMPOUND_EXPRESSION */:
  3283. return node.children.some(c => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(c) && hasScopeRef(c, ids));
  3284. case 5 /* INTERPOLATION */:
  3285. case 12 /* TEXT_CALL */:
  3286. return hasScopeRef(node.content, ids);
  3287. case 2 /* TEXT */:
  3288. case 3 /* COMMENT */:
  3289. return false;
  3290. default:
  3291. if ((true)) ;
  3292. return false;
  3293. }
  3294. }
  3295. function getMemoedVNodeCall(node) {
  3296. if (node.type === 14 /* JS_CALL_EXPRESSION */ && node.callee === WITH_MEMO) {
  3297. return node.arguments[1].returns;
  3298. }
  3299. else {
  3300. return node;
  3301. }
  3302. }
  3303. function makeBlock(node, { helper, removeHelper, inSSR }) {
  3304. if (!node.isBlock) {
  3305. node.isBlock = true;
  3306. removeHelper(getVNodeHelper(inSSR, node.isComponent));
  3307. helper(OPEN_BLOCK);
  3308. helper(getVNodeBlockHelper(inSSR, node.isComponent));
  3309. }
  3310. }
  3311. const deprecationData = {
  3312. ["COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */]: {
  3313. message: `Platform-native elements with "is" prop will no longer be ` +
  3314. `treated as components in Vue 3 unless the "is" value is explicitly ` +
  3315. `prefixed with "vue:".`,
  3316. link: `https://v3-migration.vuejs.org/breaking-changes/custom-elements-interop.html`
  3317. },
  3318. ["COMPILER_V_BIND_SYNC" /* COMPILER_V_BIND_SYNC */]: {
  3319. message: key => `.sync modifier for v-bind has been removed. Use v-model with ` +
  3320. `argument instead. \`v-bind:${key}.sync\` should be changed to ` +
  3321. `\`v-model:${key}\`.`,
  3322. link: `https://v3-migration.vuejs.org/breaking-changes/v-model.html`
  3323. },
  3324. ["COMPILER_V_BIND_PROP" /* COMPILER_V_BIND_PROP */]: {
  3325. message: `.prop modifier for v-bind has been removed and no longer necessary. ` +
  3326. `Vue 3 will automatically set a binding as DOM property when appropriate.`
  3327. },
  3328. ["COMPILER_V_BIND_OBJECT_ORDER" /* COMPILER_V_BIND_OBJECT_ORDER */]: {
  3329. message: `v-bind="obj" usage is now order sensitive and behaves like JavaScript ` +
  3330. `object spread: it will now overwrite an existing non-mergeable attribute ` +
  3331. `that appears before v-bind in the case of conflict. ` +
  3332. `To retain 2.x behavior, move v-bind to make it the first attribute. ` +
  3333. `You can also suppress this warning if the usage is intended.`,
  3334. link: `https://v3-migration.vuejs.org/breaking-changes/v-bind.html`
  3335. },
  3336. ["COMPILER_V_ON_NATIVE" /* COMPILER_V_ON_NATIVE */]: {
  3337. message: `.native modifier for v-on has been removed as is no longer necessary.`,
  3338. link: `https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html`
  3339. },
  3340. ["COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */]: {
  3341. message: `v-if / v-for precedence when used on the same element has changed ` +
  3342. `in Vue 3: v-if now takes higher precedence and will no longer have ` +
  3343. `access to v-for scope variables. It is best to avoid the ambiguity ` +
  3344. `with <template> tags or use a computed property that filters v-for ` +
  3345. `data source.`,
  3346. link: `https://v3-migration.vuejs.org/breaking-changes/v-if-v-for.html`
  3347. },
  3348. ["COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */]: {
  3349. message: `<template> with no special directives will render as a native template ` +
  3350. `element instead of its inner content in Vue 3.`
  3351. },
  3352. ["COMPILER_INLINE_TEMPLATE" /* COMPILER_INLINE_TEMPLATE */]: {
  3353. message: `"inline-template" has been removed in Vue 3.`,
  3354. link: `https://v3-migration.vuejs.org/breaking-changes/inline-template-attribute.html`
  3355. },
  3356. ["COMPILER_FILTER" /* COMPILER_FILTERS */]: {
  3357. message: `filters have been removed in Vue 3. ` +
  3358. `The "|" symbol will be treated as native JavaScript bitwise OR operator. ` +
  3359. `Use method calls or computed properties instead.`,
  3360. link: `https://v3-migration.vuejs.org/breaking-changes/filters.html`
  3361. }
  3362. };
  3363. function getCompatValue(key, context) {
  3364. const config = context.options
  3365. ? context.options.compatConfig
  3366. : context.compatConfig;
  3367. const value = config && config[key];
  3368. if (key === 'MODE') {
  3369. return value || 3; // compiler defaults to v3 behavior
  3370. }
  3371. else {
  3372. return value;
  3373. }
  3374. }
  3375. function isCompatEnabled(key, context) {
  3376. const mode = getCompatValue('MODE', context);
  3377. const value = getCompatValue(key, context);
  3378. // in v3 mode, only enable if explicitly set to true
  3379. // otherwise enable for any non-false value
  3380. return mode === 3 ? value === true : value !== false;
  3381. }
  3382. function checkCompatEnabled(key, context, loc, ...args) {
  3383. const enabled = isCompatEnabled(key, context);
  3384. if (( true) && enabled) {
  3385. warnDeprecation(key, context, loc, ...args);
  3386. }
  3387. return enabled;
  3388. }
  3389. function warnDeprecation(key, context, loc, ...args) {
  3390. const val = getCompatValue(key, context);
  3391. if (val === 'suppress-warning') {
  3392. return;
  3393. }
  3394. const { message, link } = deprecationData[key];
  3395. const msg = `(deprecation ${key}) ${typeof message === 'function' ? message(...args) : message}${link ? `\n Details: ${link}` : ``}`;
  3396. const err = new SyntaxError(msg);
  3397. err.code = key;
  3398. if (loc)
  3399. err.loc = loc;
  3400. context.onWarn(err);
  3401. }
  3402. // The default decoder only provides escapes for characters reserved as part of
  3403. // the template syntax, and is only used if the custom renderer did not provide
  3404. // a platform-specific decoder.
  3405. const decodeRE = /&(gt|lt|amp|apos|quot);/g;
  3406. const decodeMap = {
  3407. gt: '>',
  3408. lt: '<',
  3409. amp: '&',
  3410. apos: "'",
  3411. quot: '"'
  3412. };
  3413. const defaultParserOptions = {
  3414. delimiters: [`{{`, `}}`],
  3415. getNamespace: () => 0 /* HTML */,
  3416. getTextMode: () => 0 /* DATA */,
  3417. isVoidTag: _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NO,
  3418. isPreTag: _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NO,
  3419. isCustomElement: _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NO,
  3420. decodeEntities: (rawText) => rawText.replace(decodeRE, (_, p1) => decodeMap[p1]),
  3421. onError: defaultOnError,
  3422. onWarn: defaultOnWarn,
  3423. comments: ("development" !== 'production')
  3424. };
  3425. function baseParse(content, options = {}) {
  3426. const context = createParserContext(content, options);
  3427. const start = getCursor(context);
  3428. return createRoot(parseChildren(context, 0 /* DATA */, []), getSelection(context, start));
  3429. }
  3430. function createParserContext(content, rawOptions) {
  3431. const options = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, defaultParserOptions);
  3432. let key;
  3433. for (key in rawOptions) {
  3434. // @ts-ignore
  3435. options[key] =
  3436. rawOptions[key] === undefined
  3437. ? defaultParserOptions[key]
  3438. : rawOptions[key];
  3439. }
  3440. return {
  3441. options,
  3442. column: 1,
  3443. line: 1,
  3444. offset: 0,
  3445. originalSource: content,
  3446. source: content,
  3447. inPre: false,
  3448. inVPre: false,
  3449. onWarn: options.onWarn
  3450. };
  3451. }
  3452. function parseChildren(context, mode, ancestors) {
  3453. const parent = last(ancestors);
  3454. const ns = parent ? parent.ns : 0 /* HTML */;
  3455. const nodes = [];
  3456. while (!isEnd(context, mode, ancestors)) {
  3457. const s = context.source;
  3458. let node = undefined;
  3459. if (mode === 0 /* DATA */ || mode === 1 /* RCDATA */) {
  3460. if (!context.inVPre && startsWith(s, context.options.delimiters[0])) {
  3461. // '{{'
  3462. node = parseInterpolation(context, mode);
  3463. }
  3464. else if (mode === 0 /* DATA */ && s[0] === '<') {
  3465. // https://html.spec.whatwg.org/multipage/parsing.html#tag-open-state
  3466. if (s.length === 1) {
  3467. emitError(context, 5 /* EOF_BEFORE_TAG_NAME */, 1);
  3468. }
  3469. else if (s[1] === '!') {
  3470. // https://html.spec.whatwg.org/multipage/parsing.html#markup-declaration-open-state
  3471. if (startsWith(s, '<!--')) {
  3472. node = parseComment(context);
  3473. }
  3474. else if (startsWith(s, '<!DOCTYPE')) {
  3475. // Ignore DOCTYPE by a limitation.
  3476. node = parseBogusComment(context);
  3477. }
  3478. else if (startsWith(s, '<![CDATA[')) {
  3479. if (ns !== 0 /* HTML */) {
  3480. node = parseCDATA(context, ancestors);
  3481. }
  3482. else {
  3483. emitError(context, 1 /* CDATA_IN_HTML_CONTENT */);
  3484. node = parseBogusComment(context);
  3485. }
  3486. }
  3487. else {
  3488. emitError(context, 11 /* INCORRECTLY_OPENED_COMMENT */);
  3489. node = parseBogusComment(context);
  3490. }
  3491. }
  3492. else if (s[1] === '/') {
  3493. // https://html.spec.whatwg.org/multipage/parsing.html#end-tag-open-state
  3494. if (s.length === 2) {
  3495. emitError(context, 5 /* EOF_BEFORE_TAG_NAME */, 2);
  3496. }
  3497. else if (s[2] === '>') {
  3498. emitError(context, 14 /* MISSING_END_TAG_NAME */, 2);
  3499. advanceBy(context, 3);
  3500. continue;
  3501. }
  3502. else if (/[a-z]/i.test(s[2])) {
  3503. emitError(context, 23 /* X_INVALID_END_TAG */);
  3504. parseTag(context, 1 /* End */, parent);
  3505. continue;
  3506. }
  3507. else {
  3508. emitError(context, 12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */, 2);
  3509. node = parseBogusComment(context);
  3510. }
  3511. }
  3512. else if (/[a-z]/i.test(s[1])) {
  3513. node = parseElement(context, ancestors);
  3514. // 2.x <template> with no directive compat
  3515. if (isCompatEnabled("COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */, context) &&
  3516. node &&
  3517. node.tag === 'template' &&
  3518. !node.props.some(p => p.type === 7 /* DIRECTIVE */ &&
  3519. isSpecialTemplateDirective(p.name))) {
  3520. ( true) &&
  3521. warnDeprecation("COMPILER_NATIVE_TEMPLATE" /* COMPILER_NATIVE_TEMPLATE */, context, node.loc);
  3522. node = node.children;
  3523. }
  3524. }
  3525. else if (s[1] === '?') {
  3526. emitError(context, 21 /* UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME */, 1);
  3527. node = parseBogusComment(context);
  3528. }
  3529. else {
  3530. emitError(context, 12 /* INVALID_FIRST_CHARACTER_OF_TAG_NAME */, 1);
  3531. }
  3532. }
  3533. }
  3534. if (!node) {
  3535. node = parseText(context, mode);
  3536. }
  3537. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(node)) {
  3538. for (let i = 0; i < node.length; i++) {
  3539. pushNode(nodes, node[i]);
  3540. }
  3541. }
  3542. else {
  3543. pushNode(nodes, node);
  3544. }
  3545. }
  3546. // Whitespace handling strategy like v2
  3547. let removedWhitespace = false;
  3548. if (mode !== 2 /* RAWTEXT */ && mode !== 1 /* RCDATA */) {
  3549. const shouldCondense = context.options.whitespace !== 'preserve';
  3550. for (let i = 0; i < nodes.length; i++) {
  3551. const node = nodes[i];
  3552. if (!context.inPre && node.type === 2 /* TEXT */) {
  3553. if (!/[^\t\r\n\f ]/.test(node.content)) {
  3554. const prev = nodes[i - 1];
  3555. const next = nodes[i + 1];
  3556. // Remove if:
  3557. // - the whitespace is the first or last node, or:
  3558. // - (condense mode) the whitespace is adjacent to a comment, or:
  3559. // - (condense mode) the whitespace is between two elements AND contains newline
  3560. if (!prev ||
  3561. !next ||
  3562. (shouldCondense &&
  3563. (prev.type === 3 /* COMMENT */ ||
  3564. next.type === 3 /* COMMENT */ ||
  3565. (prev.type === 1 /* ELEMENT */ &&
  3566. next.type === 1 /* ELEMENT */ &&
  3567. /[\r\n]/.test(node.content))))) {
  3568. removedWhitespace = true;
  3569. nodes[i] = null;
  3570. }
  3571. else {
  3572. // Otherwise, the whitespace is condensed into a single space
  3573. node.content = ' ';
  3574. }
  3575. }
  3576. else if (shouldCondense) {
  3577. // in condense mode, consecutive whitespaces in text are condensed
  3578. // down to a single space.
  3579. node.content = node.content.replace(/[\t\r\n\f ]+/g, ' ');
  3580. }
  3581. }
  3582. // Remove comment nodes if desired by configuration.
  3583. else if (node.type === 3 /* COMMENT */ && !context.options.comments) {
  3584. removedWhitespace = true;
  3585. nodes[i] = null;
  3586. }
  3587. }
  3588. if (context.inPre && parent && context.options.isPreTag(parent.tag)) {
  3589. // remove leading newline per html spec
  3590. // https://html.spec.whatwg.org/multipage/grouping-content.html#the-pre-element
  3591. const first = nodes[0];
  3592. if (first && first.type === 2 /* TEXT */) {
  3593. first.content = first.content.replace(/^\r?\n/, '');
  3594. }
  3595. }
  3596. }
  3597. return removedWhitespace ? nodes.filter(Boolean) : nodes;
  3598. }
  3599. function pushNode(nodes, node) {
  3600. if (node.type === 2 /* TEXT */) {
  3601. const prev = last(nodes);
  3602. // Merge if both this and the previous node are text and those are
  3603. // consecutive. This happens for cases like "a < b".
  3604. if (prev &&
  3605. prev.type === 2 /* TEXT */ &&
  3606. prev.loc.end.offset === node.loc.start.offset) {
  3607. prev.content += node.content;
  3608. prev.loc.end = node.loc.end;
  3609. prev.loc.source += node.loc.source;
  3610. return;
  3611. }
  3612. }
  3613. nodes.push(node);
  3614. }
  3615. function parseCDATA(context, ancestors) {
  3616. advanceBy(context, 9);
  3617. const nodes = parseChildren(context, 3 /* CDATA */, ancestors);
  3618. if (context.source.length === 0) {
  3619. emitError(context, 6 /* EOF_IN_CDATA */);
  3620. }
  3621. else {
  3622. advanceBy(context, 3);
  3623. }
  3624. return nodes;
  3625. }
  3626. function parseComment(context) {
  3627. const start = getCursor(context);
  3628. let content;
  3629. // Regular comment.
  3630. const match = /--(\!)?>/.exec(context.source);
  3631. if (!match) {
  3632. content = context.source.slice(4);
  3633. advanceBy(context, context.source.length);
  3634. emitError(context, 7 /* EOF_IN_COMMENT */);
  3635. }
  3636. else {
  3637. if (match.index <= 3) {
  3638. emitError(context, 0 /* ABRUPT_CLOSING_OF_EMPTY_COMMENT */);
  3639. }
  3640. if (match[1]) {
  3641. emitError(context, 10 /* INCORRECTLY_CLOSED_COMMENT */);
  3642. }
  3643. content = context.source.slice(4, match.index);
  3644. // Advancing with reporting nested comments.
  3645. const s = context.source.slice(0, match.index);
  3646. let prevIndex = 1, nestedIndex = 0;
  3647. while ((nestedIndex = s.indexOf('<!--', prevIndex)) !== -1) {
  3648. advanceBy(context, nestedIndex - prevIndex + 1);
  3649. if (nestedIndex + 4 < s.length) {
  3650. emitError(context, 16 /* NESTED_COMMENT */);
  3651. }
  3652. prevIndex = nestedIndex + 1;
  3653. }
  3654. advanceBy(context, match.index + match[0].length - prevIndex + 1);
  3655. }
  3656. return {
  3657. type: 3 /* COMMENT */,
  3658. content,
  3659. loc: getSelection(context, start)
  3660. };
  3661. }
  3662. function parseBogusComment(context) {
  3663. const start = getCursor(context);
  3664. const contentStart = context.source[1] === '?' ? 1 : 2;
  3665. let content;
  3666. const closeIndex = context.source.indexOf('>');
  3667. if (closeIndex === -1) {
  3668. content = context.source.slice(contentStart);
  3669. advanceBy(context, context.source.length);
  3670. }
  3671. else {
  3672. content = context.source.slice(contentStart, closeIndex);
  3673. advanceBy(context, closeIndex + 1);
  3674. }
  3675. return {
  3676. type: 3 /* COMMENT */,
  3677. content,
  3678. loc: getSelection(context, start)
  3679. };
  3680. }
  3681. function parseElement(context, ancestors) {
  3682. // Start tag.
  3683. const wasInPre = context.inPre;
  3684. const wasInVPre = context.inVPre;
  3685. const parent = last(ancestors);
  3686. const element = parseTag(context, 0 /* Start */, parent);
  3687. const isPreBoundary = context.inPre && !wasInPre;
  3688. const isVPreBoundary = context.inVPre && !wasInVPre;
  3689. if (element.isSelfClosing || context.options.isVoidTag(element.tag)) {
  3690. // #4030 self-closing <pre> tag
  3691. if (isPreBoundary) {
  3692. context.inPre = false;
  3693. }
  3694. if (isVPreBoundary) {
  3695. context.inVPre = false;
  3696. }
  3697. return element;
  3698. }
  3699. // Children.
  3700. ancestors.push(element);
  3701. const mode = context.options.getTextMode(element, parent);
  3702. const children = parseChildren(context, mode, ancestors);
  3703. ancestors.pop();
  3704. // 2.x inline-template compat
  3705. {
  3706. const inlineTemplateProp = element.props.find(p => p.type === 6 /* ATTRIBUTE */ && p.name === 'inline-template');
  3707. if (inlineTemplateProp &&
  3708. checkCompatEnabled("COMPILER_INLINE_TEMPLATE" /* COMPILER_INLINE_TEMPLATE */, context, inlineTemplateProp.loc)) {
  3709. const loc = getSelection(context, element.loc.end);
  3710. inlineTemplateProp.value = {
  3711. type: 2 /* TEXT */,
  3712. content: loc.source,
  3713. loc
  3714. };
  3715. }
  3716. }
  3717. element.children = children;
  3718. // End tag.
  3719. if (startsWithEndTagOpen(context.source, element.tag)) {
  3720. parseTag(context, 1 /* End */, parent);
  3721. }
  3722. else {
  3723. emitError(context, 24 /* X_MISSING_END_TAG */, 0, element.loc.start);
  3724. if (context.source.length === 0 && element.tag.toLowerCase() === 'script') {
  3725. const first = children[0];
  3726. if (first && startsWith(first.loc.source, '<!--')) {
  3727. emitError(context, 8 /* EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT */);
  3728. }
  3729. }
  3730. }
  3731. element.loc = getSelection(context, element.loc.start);
  3732. if (isPreBoundary) {
  3733. context.inPre = false;
  3734. }
  3735. if (isVPreBoundary) {
  3736. context.inVPre = false;
  3737. }
  3738. return element;
  3739. }
  3740. const isSpecialTemplateDirective = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.makeMap)(`if,else,else-if,for,slot`);
  3741. function parseTag(context, type, parent) {
  3742. // Tag open.
  3743. const start = getCursor(context);
  3744. const match = /^<\/?([a-z][^\t\r\n\f />]*)/i.exec(context.source);
  3745. const tag = match[1];
  3746. const ns = context.options.getNamespace(tag, parent);
  3747. advanceBy(context, match[0].length);
  3748. advanceSpaces(context);
  3749. // save current state in case we need to re-parse attributes with v-pre
  3750. const cursor = getCursor(context);
  3751. const currentSource = context.source;
  3752. // check <pre> tag
  3753. if (context.options.isPreTag(tag)) {
  3754. context.inPre = true;
  3755. }
  3756. // Attributes.
  3757. let props = parseAttributes(context, type);
  3758. // check v-pre
  3759. if (type === 0 /* Start */ &&
  3760. !context.inVPre &&
  3761. props.some(p => p.type === 7 /* DIRECTIVE */ && p.name === 'pre')) {
  3762. context.inVPre = true;
  3763. // reset context
  3764. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)(context, cursor);
  3765. context.source = currentSource;
  3766. // re-parse attrs and filter out v-pre itself
  3767. props = parseAttributes(context, type).filter(p => p.name !== 'v-pre');
  3768. }
  3769. // Tag close.
  3770. let isSelfClosing = false;
  3771. if (context.source.length === 0) {
  3772. emitError(context, 9 /* EOF_IN_TAG */);
  3773. }
  3774. else {
  3775. isSelfClosing = startsWith(context.source, '/>');
  3776. if (type === 1 /* End */ && isSelfClosing) {
  3777. emitError(context, 4 /* END_TAG_WITH_TRAILING_SOLIDUS */);
  3778. }
  3779. advanceBy(context, isSelfClosing ? 2 : 1);
  3780. }
  3781. if (type === 1 /* End */) {
  3782. return;
  3783. }
  3784. // 2.x deprecation checks
  3785. if (( true) &&
  3786. isCompatEnabled("COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */, context)) {
  3787. let hasIf = false;
  3788. let hasFor = false;
  3789. for (let i = 0; i < props.length; i++) {
  3790. const p = props[i];
  3791. if (p.type === 7 /* DIRECTIVE */) {
  3792. if (p.name === 'if') {
  3793. hasIf = true;
  3794. }
  3795. else if (p.name === 'for') {
  3796. hasFor = true;
  3797. }
  3798. }
  3799. if (hasIf && hasFor) {
  3800. warnDeprecation("COMPILER_V_IF_V_FOR_PRECEDENCE" /* COMPILER_V_IF_V_FOR_PRECEDENCE */, context, getSelection(context, start));
  3801. break;
  3802. }
  3803. }
  3804. }
  3805. let tagType = 0 /* ELEMENT */;
  3806. if (!context.inVPre) {
  3807. if (tag === 'slot') {
  3808. tagType = 2 /* SLOT */;
  3809. }
  3810. else if (tag === 'template') {
  3811. if (props.some(p => p.type === 7 /* DIRECTIVE */ && isSpecialTemplateDirective(p.name))) {
  3812. tagType = 3 /* TEMPLATE */;
  3813. }
  3814. }
  3815. else if (isComponent(tag, props, context)) {
  3816. tagType = 1 /* COMPONENT */;
  3817. }
  3818. }
  3819. return {
  3820. type: 1 /* ELEMENT */,
  3821. ns,
  3822. tag,
  3823. tagType,
  3824. props,
  3825. isSelfClosing,
  3826. children: [],
  3827. loc: getSelection(context, start),
  3828. codegenNode: undefined // to be created during transform phase
  3829. };
  3830. }
  3831. function isComponent(tag, props, context) {
  3832. const options = context.options;
  3833. if (options.isCustomElement(tag)) {
  3834. return false;
  3835. }
  3836. if (tag === 'component' ||
  3837. /^[A-Z]/.test(tag) ||
  3838. isCoreComponent(tag) ||
  3839. (options.isBuiltInComponent && options.isBuiltInComponent(tag)) ||
  3840. (options.isNativeTag && !options.isNativeTag(tag))) {
  3841. return true;
  3842. }
  3843. // at this point the tag should be a native tag, but check for potential "is"
  3844. // casting
  3845. for (let i = 0; i < props.length; i++) {
  3846. const p = props[i];
  3847. if (p.type === 6 /* ATTRIBUTE */) {
  3848. if (p.name === 'is' && p.value) {
  3849. if (p.value.content.startsWith('vue:')) {
  3850. return true;
  3851. }
  3852. else if (checkCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context, p.loc)) {
  3853. return true;
  3854. }
  3855. }
  3856. }
  3857. else {
  3858. // directive
  3859. // v-is (TODO Deprecate)
  3860. if (p.name === 'is') {
  3861. return true;
  3862. }
  3863. else if (
  3864. // :is on plain element - only treat as component in compat mode
  3865. p.name === 'bind' &&
  3866. isStaticArgOf(p.arg, 'is') &&
  3867. true &&
  3868. checkCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context, p.loc)) {
  3869. return true;
  3870. }
  3871. }
  3872. }
  3873. }
  3874. function parseAttributes(context, type) {
  3875. const props = [];
  3876. const attributeNames = new Set();
  3877. while (context.source.length > 0 &&
  3878. !startsWith(context.source, '>') &&
  3879. !startsWith(context.source, '/>')) {
  3880. if (startsWith(context.source, '/')) {
  3881. emitError(context, 22 /* UNEXPECTED_SOLIDUS_IN_TAG */);
  3882. advanceBy(context, 1);
  3883. advanceSpaces(context);
  3884. continue;
  3885. }
  3886. if (type === 1 /* End */) {
  3887. emitError(context, 3 /* END_TAG_WITH_ATTRIBUTES */);
  3888. }
  3889. const attr = parseAttribute(context, attributeNames);
  3890. // Trim whitespace between class
  3891. // https://github.com/vuejs/core/issues/4251
  3892. if (attr.type === 6 /* ATTRIBUTE */ &&
  3893. attr.value &&
  3894. attr.name === 'class') {
  3895. attr.value.content = attr.value.content.replace(/\s+/g, ' ').trim();
  3896. }
  3897. if (type === 0 /* Start */) {
  3898. props.push(attr);
  3899. }
  3900. if (/^[^\t\r\n\f />]/.test(context.source)) {
  3901. emitError(context, 15 /* MISSING_WHITESPACE_BETWEEN_ATTRIBUTES */);
  3902. }
  3903. advanceSpaces(context);
  3904. }
  3905. return props;
  3906. }
  3907. function parseAttribute(context, nameSet) {
  3908. // Name.
  3909. const start = getCursor(context);
  3910. const match = /^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(context.source);
  3911. const name = match[0];
  3912. if (nameSet.has(name)) {
  3913. emitError(context, 2 /* DUPLICATE_ATTRIBUTE */);
  3914. }
  3915. nameSet.add(name);
  3916. if (name[0] === '=') {
  3917. emitError(context, 19 /* UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME */);
  3918. }
  3919. {
  3920. const pattern = /["'<]/g;
  3921. let m;
  3922. while ((m = pattern.exec(name))) {
  3923. emitError(context, 17 /* UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME */, m.index);
  3924. }
  3925. }
  3926. advanceBy(context, name.length);
  3927. // Value
  3928. let value = undefined;
  3929. if (/^[\t\r\n\f ]*=/.test(context.source)) {
  3930. advanceSpaces(context);
  3931. advanceBy(context, 1);
  3932. advanceSpaces(context);
  3933. value = parseAttributeValue(context);
  3934. if (!value) {
  3935. emitError(context, 13 /* MISSING_ATTRIBUTE_VALUE */);
  3936. }
  3937. }
  3938. const loc = getSelection(context, start);
  3939. if (!context.inVPre && /^(v-[A-Za-z0-9-]|:|\.|@|#)/.test(name)) {
  3940. const match = /(?:^v-([a-z0-9-]+))?(?:(?::|^\.|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(name);
  3941. let isPropShorthand = startsWith(name, '.');
  3942. let dirName = match[1] ||
  3943. (isPropShorthand || startsWith(name, ':')
  3944. ? 'bind'
  3945. : startsWith(name, '@')
  3946. ? 'on'
  3947. : 'slot');
  3948. let arg;
  3949. if (match[2]) {
  3950. const isSlot = dirName === 'slot';
  3951. const startOffset = name.lastIndexOf(match[2]);
  3952. const loc = getSelection(context, getNewPosition(context, start, startOffset), getNewPosition(context, start, startOffset + match[2].length + ((isSlot && match[3]) || '').length));
  3953. let content = match[2];
  3954. let isStatic = true;
  3955. if (content.startsWith('[')) {
  3956. isStatic = false;
  3957. if (!content.endsWith(']')) {
  3958. emitError(context, 27 /* X_MISSING_DYNAMIC_DIRECTIVE_ARGUMENT_END */);
  3959. content = content.slice(1);
  3960. }
  3961. else {
  3962. content = content.slice(1, content.length - 1);
  3963. }
  3964. }
  3965. else if (isSlot) {
  3966. // #1241 special case for v-slot: vuetify relies extensively on slot
  3967. // names containing dots. v-slot doesn't have any modifiers and Vue 2.x
  3968. // supports such usage so we are keeping it consistent with 2.x.
  3969. content += match[3] || '';
  3970. }
  3971. arg = {
  3972. type: 4 /* SIMPLE_EXPRESSION */,
  3973. content,
  3974. isStatic,
  3975. constType: isStatic
  3976. ? 3 /* CAN_STRINGIFY */
  3977. : 0 /* NOT_CONSTANT */,
  3978. loc
  3979. };
  3980. }
  3981. if (value && value.isQuoted) {
  3982. const valueLoc = value.loc;
  3983. valueLoc.start.offset++;
  3984. valueLoc.start.column++;
  3985. valueLoc.end = advancePositionWithClone(valueLoc.start, value.content);
  3986. valueLoc.source = valueLoc.source.slice(1, -1);
  3987. }
  3988. const modifiers = match[3] ? match[3].slice(1).split('.') : [];
  3989. if (isPropShorthand)
  3990. modifiers.push('prop');
  3991. // 2.x compat v-bind:foo.sync -> v-model:foo
  3992. if (dirName === 'bind' && arg) {
  3993. if (modifiers.includes('sync') &&
  3994. checkCompatEnabled("COMPILER_V_BIND_SYNC" /* COMPILER_V_BIND_SYNC */, context, loc, arg.loc.source)) {
  3995. dirName = 'model';
  3996. modifiers.splice(modifiers.indexOf('sync'), 1);
  3997. }
  3998. if (( true) && modifiers.includes('prop')) {
  3999. checkCompatEnabled("COMPILER_V_BIND_PROP" /* COMPILER_V_BIND_PROP */, context, loc);
  4000. }
  4001. }
  4002. return {
  4003. type: 7 /* DIRECTIVE */,
  4004. name: dirName,
  4005. exp: value && {
  4006. type: 4 /* SIMPLE_EXPRESSION */,
  4007. content: value.content,
  4008. isStatic: false,
  4009. // Treat as non-constant by default. This can be potentially set to
  4010. // other values by `transformExpression` to make it eligible for hoisting.
  4011. constType: 0 /* NOT_CONSTANT */,
  4012. loc: value.loc
  4013. },
  4014. arg,
  4015. modifiers,
  4016. loc
  4017. };
  4018. }
  4019. // missing directive name or illegal directive name
  4020. if (!context.inVPre && startsWith(name, 'v-')) {
  4021. emitError(context, 26 /* X_MISSING_DIRECTIVE_NAME */);
  4022. }
  4023. return {
  4024. type: 6 /* ATTRIBUTE */,
  4025. name,
  4026. value: value && {
  4027. type: 2 /* TEXT */,
  4028. content: value.content,
  4029. loc: value.loc
  4030. },
  4031. loc
  4032. };
  4033. }
  4034. function parseAttributeValue(context) {
  4035. const start = getCursor(context);
  4036. let content;
  4037. const quote = context.source[0];
  4038. const isQuoted = quote === `"` || quote === `'`;
  4039. if (isQuoted) {
  4040. // Quoted value.
  4041. advanceBy(context, 1);
  4042. const endIndex = context.source.indexOf(quote);
  4043. if (endIndex === -1) {
  4044. content = parseTextData(context, context.source.length, 4 /* ATTRIBUTE_VALUE */);
  4045. }
  4046. else {
  4047. content = parseTextData(context, endIndex, 4 /* ATTRIBUTE_VALUE */);
  4048. advanceBy(context, 1);
  4049. }
  4050. }
  4051. else {
  4052. // Unquoted
  4053. const match = /^[^\t\r\n\f >]+/.exec(context.source);
  4054. if (!match) {
  4055. return undefined;
  4056. }
  4057. const unexpectedChars = /["'<=`]/g;
  4058. let m;
  4059. while ((m = unexpectedChars.exec(match[0]))) {
  4060. emitError(context, 18 /* UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE */, m.index);
  4061. }
  4062. content = parseTextData(context, match[0].length, 4 /* ATTRIBUTE_VALUE */);
  4063. }
  4064. return { content, isQuoted, loc: getSelection(context, start) };
  4065. }
  4066. function parseInterpolation(context, mode) {
  4067. const [open, close] = context.options.delimiters;
  4068. const closeIndex = context.source.indexOf(close, open.length);
  4069. if (closeIndex === -1) {
  4070. emitError(context, 25 /* X_MISSING_INTERPOLATION_END */);
  4071. return undefined;
  4072. }
  4073. const start = getCursor(context);
  4074. advanceBy(context, open.length);
  4075. const innerStart = getCursor(context);
  4076. const innerEnd = getCursor(context);
  4077. const rawContentLength = closeIndex - open.length;
  4078. const rawContent = context.source.slice(0, rawContentLength);
  4079. const preTrimContent = parseTextData(context, rawContentLength, mode);
  4080. const content = preTrimContent.trim();
  4081. const startOffset = preTrimContent.indexOf(content);
  4082. if (startOffset > 0) {
  4083. advancePositionWithMutation(innerStart, rawContent, startOffset);
  4084. }
  4085. const endOffset = rawContentLength - (preTrimContent.length - content.length - startOffset);
  4086. advancePositionWithMutation(innerEnd, rawContent, endOffset);
  4087. advanceBy(context, close.length);
  4088. return {
  4089. type: 5 /* INTERPOLATION */,
  4090. content: {
  4091. type: 4 /* SIMPLE_EXPRESSION */,
  4092. isStatic: false,
  4093. // Set `isConstant` to false by default and will decide in transformExpression
  4094. constType: 0 /* NOT_CONSTANT */,
  4095. content,
  4096. loc: getSelection(context, innerStart, innerEnd)
  4097. },
  4098. loc: getSelection(context, start)
  4099. };
  4100. }
  4101. function parseText(context, mode) {
  4102. const endTokens = mode === 3 /* CDATA */ ? [']]>'] : ['<', context.options.delimiters[0]];
  4103. let endIndex = context.source.length;
  4104. for (let i = 0; i < endTokens.length; i++) {
  4105. const index = context.source.indexOf(endTokens[i], 1);
  4106. if (index !== -1 && endIndex > index) {
  4107. endIndex = index;
  4108. }
  4109. }
  4110. const start = getCursor(context);
  4111. const content = parseTextData(context, endIndex, mode);
  4112. return {
  4113. type: 2 /* TEXT */,
  4114. content,
  4115. loc: getSelection(context, start)
  4116. };
  4117. }
  4118. /**
  4119. * Get text data with a given length from the current location.
  4120. * This translates HTML entities in the text data.
  4121. */
  4122. function parseTextData(context, length, mode) {
  4123. const rawText = context.source.slice(0, length);
  4124. advanceBy(context, length);
  4125. if (mode === 2 /* RAWTEXT */ ||
  4126. mode === 3 /* CDATA */ ||
  4127. !rawText.includes('&')) {
  4128. return rawText;
  4129. }
  4130. else {
  4131. // DATA or RCDATA containing "&"". Entity decoding required.
  4132. return context.options.decodeEntities(rawText, mode === 4 /* ATTRIBUTE_VALUE */);
  4133. }
  4134. }
  4135. function getCursor(context) {
  4136. const { column, line, offset } = context;
  4137. return { column, line, offset };
  4138. }
  4139. function getSelection(context, start, end) {
  4140. end = end || getCursor(context);
  4141. return {
  4142. start,
  4143. end,
  4144. source: context.originalSource.slice(start.offset, end.offset)
  4145. };
  4146. }
  4147. function last(xs) {
  4148. return xs[xs.length - 1];
  4149. }
  4150. function startsWith(source, searchString) {
  4151. return source.startsWith(searchString);
  4152. }
  4153. function advanceBy(context, numberOfCharacters) {
  4154. const { source } = context;
  4155. advancePositionWithMutation(context, source, numberOfCharacters);
  4156. context.source = source.slice(numberOfCharacters);
  4157. }
  4158. function advanceSpaces(context) {
  4159. const match = /^[\t\r\n\f ]+/.exec(context.source);
  4160. if (match) {
  4161. advanceBy(context, match[0].length);
  4162. }
  4163. }
  4164. function getNewPosition(context, start, numberOfCharacters) {
  4165. return advancePositionWithClone(start, context.originalSource.slice(start.offset, numberOfCharacters), numberOfCharacters);
  4166. }
  4167. function emitError(context, code, offset, loc = getCursor(context)) {
  4168. if (offset) {
  4169. loc.offset += offset;
  4170. loc.column += offset;
  4171. }
  4172. context.options.onError(createCompilerError(code, {
  4173. start: loc,
  4174. end: loc,
  4175. source: ''
  4176. }));
  4177. }
  4178. function isEnd(context, mode, ancestors) {
  4179. const s = context.source;
  4180. switch (mode) {
  4181. case 0 /* DATA */:
  4182. if (startsWith(s, '</')) {
  4183. // TODO: probably bad performance
  4184. for (let i = ancestors.length - 1; i >= 0; --i) {
  4185. if (startsWithEndTagOpen(s, ancestors[i].tag)) {
  4186. return true;
  4187. }
  4188. }
  4189. }
  4190. break;
  4191. case 1 /* RCDATA */:
  4192. case 2 /* RAWTEXT */: {
  4193. const parent = last(ancestors);
  4194. if (parent && startsWithEndTagOpen(s, parent.tag)) {
  4195. return true;
  4196. }
  4197. break;
  4198. }
  4199. case 3 /* CDATA */:
  4200. if (startsWith(s, ']]>')) {
  4201. return true;
  4202. }
  4203. break;
  4204. }
  4205. return !s;
  4206. }
  4207. function startsWithEndTagOpen(source, tag) {
  4208. return (startsWith(source, '</') &&
  4209. source.slice(2, 2 + tag.length).toLowerCase() === tag.toLowerCase() &&
  4210. /[\t\r\n\f />]/.test(source[2 + tag.length] || '>'));
  4211. }
  4212. function hoistStatic(root, context) {
  4213. walk(root, context,
  4214. // Root node is unfortunately non-hoistable due to potential parent
  4215. // fallthrough attributes.
  4216. isSingleElementRoot(root, root.children[0]));
  4217. }
  4218. function isSingleElementRoot(root, child) {
  4219. const { children } = root;
  4220. return (children.length === 1 &&
  4221. child.type === 1 /* ELEMENT */ &&
  4222. !isSlotOutlet(child));
  4223. }
  4224. function walk(node, context, doNotHoistNode = false) {
  4225. const { children } = node;
  4226. const originalCount = children.length;
  4227. let hoistedCount = 0;
  4228. for (let i = 0; i < children.length; i++) {
  4229. const child = children[i];
  4230. // only plain elements & text calls are eligible for hoisting.
  4231. if (child.type === 1 /* ELEMENT */ &&
  4232. child.tagType === 0 /* ELEMENT */) {
  4233. const constantType = doNotHoistNode
  4234. ? 0 /* NOT_CONSTANT */
  4235. : getConstantType(child, context);
  4236. if (constantType > 0 /* NOT_CONSTANT */) {
  4237. if (constantType >= 2 /* CAN_HOIST */) {
  4238. child.codegenNode.patchFlag =
  4239. -1 /* HOISTED */ + (( true) ? ` /* HOISTED */` : 0);
  4240. child.codegenNode = context.hoist(child.codegenNode);
  4241. hoistedCount++;
  4242. continue;
  4243. }
  4244. }
  4245. else {
  4246. // node may contain dynamic children, but its props may be eligible for
  4247. // hoisting.
  4248. const codegenNode = child.codegenNode;
  4249. if (codegenNode.type === 13 /* VNODE_CALL */) {
  4250. const flag = getPatchFlag(codegenNode);
  4251. if ((!flag ||
  4252. flag === 512 /* NEED_PATCH */ ||
  4253. flag === 1 /* TEXT */) &&
  4254. getGeneratedPropsConstantType(child, context) >=
  4255. 2 /* CAN_HOIST */) {
  4256. const props = getNodeProps(child);
  4257. if (props) {
  4258. codegenNode.props = context.hoist(props);
  4259. }
  4260. }
  4261. if (codegenNode.dynamicProps) {
  4262. codegenNode.dynamicProps = context.hoist(codegenNode.dynamicProps);
  4263. }
  4264. }
  4265. }
  4266. }
  4267. else if (child.type === 12 /* TEXT_CALL */ &&
  4268. getConstantType(child.content, context) >= 2 /* CAN_HOIST */) {
  4269. child.codegenNode = context.hoist(child.codegenNode);
  4270. hoistedCount++;
  4271. }
  4272. // walk further
  4273. if (child.type === 1 /* ELEMENT */) {
  4274. const isComponent = child.tagType === 1 /* COMPONENT */;
  4275. if (isComponent) {
  4276. context.scopes.vSlot++;
  4277. }
  4278. walk(child, context);
  4279. if (isComponent) {
  4280. context.scopes.vSlot--;
  4281. }
  4282. }
  4283. else if (child.type === 11 /* FOR */) {
  4284. // Do not hoist v-for single child because it has to be a block
  4285. walk(child, context, child.children.length === 1);
  4286. }
  4287. else if (child.type === 9 /* IF */) {
  4288. for (let i = 0; i < child.branches.length; i++) {
  4289. // Do not hoist v-if single child because it has to be a block
  4290. walk(child.branches[i], context, child.branches[i].children.length === 1);
  4291. }
  4292. }
  4293. }
  4294. if (hoistedCount && context.transformHoist) {
  4295. context.transformHoist(children, context, node);
  4296. }
  4297. // all children were hoisted - the entire children array is hoistable.
  4298. if (hoistedCount &&
  4299. hoistedCount === originalCount &&
  4300. node.type === 1 /* ELEMENT */ &&
  4301. node.tagType === 0 /* ELEMENT */ &&
  4302. node.codegenNode &&
  4303. node.codegenNode.type === 13 /* VNODE_CALL */ &&
  4304. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(node.codegenNode.children)) {
  4305. node.codegenNode.children = context.hoist(createArrayExpression(node.codegenNode.children));
  4306. }
  4307. }
  4308. function getConstantType(node, context) {
  4309. const { constantCache } = context;
  4310. switch (node.type) {
  4311. case 1 /* ELEMENT */:
  4312. if (node.tagType !== 0 /* ELEMENT */) {
  4313. return 0 /* NOT_CONSTANT */;
  4314. }
  4315. const cached = constantCache.get(node);
  4316. if (cached !== undefined) {
  4317. return cached;
  4318. }
  4319. const codegenNode = node.codegenNode;
  4320. if (codegenNode.type !== 13 /* VNODE_CALL */) {
  4321. return 0 /* NOT_CONSTANT */;
  4322. }
  4323. if (codegenNode.isBlock &&
  4324. node.tag !== 'svg' &&
  4325. node.tag !== 'foreignObject') {
  4326. return 0 /* NOT_CONSTANT */;
  4327. }
  4328. const flag = getPatchFlag(codegenNode);
  4329. if (!flag) {
  4330. let returnType = 3 /* CAN_STRINGIFY */;
  4331. // Element itself has no patch flag. However we still need to check:
  4332. // 1. Even for a node with no patch flag, it is possible for it to contain
  4333. // non-hoistable expressions that refers to scope variables, e.g. compiler
  4334. // injected keys or cached event handlers. Therefore we need to always
  4335. // check the codegenNode's props to be sure.
  4336. const generatedPropsType = getGeneratedPropsConstantType(node, context);
  4337. if (generatedPropsType === 0 /* NOT_CONSTANT */) {
  4338. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4339. return 0 /* NOT_CONSTANT */;
  4340. }
  4341. if (generatedPropsType < returnType) {
  4342. returnType = generatedPropsType;
  4343. }
  4344. // 2. its children.
  4345. for (let i = 0; i < node.children.length; i++) {
  4346. const childType = getConstantType(node.children[i], context);
  4347. if (childType === 0 /* NOT_CONSTANT */) {
  4348. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4349. return 0 /* NOT_CONSTANT */;
  4350. }
  4351. if (childType < returnType) {
  4352. returnType = childType;
  4353. }
  4354. }
  4355. // 3. if the type is not already CAN_SKIP_PATCH which is the lowest non-0
  4356. // type, check if any of the props can cause the type to be lowered
  4357. // we can skip can_patch because it's guaranteed by the absence of a
  4358. // patchFlag.
  4359. if (returnType > 1 /* CAN_SKIP_PATCH */) {
  4360. for (let i = 0; i < node.props.length; i++) {
  4361. const p = node.props[i];
  4362. if (p.type === 7 /* DIRECTIVE */ && p.name === 'bind' && p.exp) {
  4363. const expType = getConstantType(p.exp, context);
  4364. if (expType === 0 /* NOT_CONSTANT */) {
  4365. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4366. return 0 /* NOT_CONSTANT */;
  4367. }
  4368. if (expType < returnType) {
  4369. returnType = expType;
  4370. }
  4371. }
  4372. }
  4373. }
  4374. // only svg/foreignObject could be block here, however if they are
  4375. // static then they don't need to be blocks since there will be no
  4376. // nested updates.
  4377. if (codegenNode.isBlock) {
  4378. context.removeHelper(OPEN_BLOCK);
  4379. context.removeHelper(getVNodeBlockHelper(context.inSSR, codegenNode.isComponent));
  4380. codegenNode.isBlock = false;
  4381. context.helper(getVNodeHelper(context.inSSR, codegenNode.isComponent));
  4382. }
  4383. constantCache.set(node, returnType);
  4384. return returnType;
  4385. }
  4386. else {
  4387. constantCache.set(node, 0 /* NOT_CONSTANT */);
  4388. return 0 /* NOT_CONSTANT */;
  4389. }
  4390. case 2 /* TEXT */:
  4391. case 3 /* COMMENT */:
  4392. return 3 /* CAN_STRINGIFY */;
  4393. case 9 /* IF */:
  4394. case 11 /* FOR */:
  4395. case 10 /* IF_BRANCH */:
  4396. return 0 /* NOT_CONSTANT */;
  4397. case 5 /* INTERPOLATION */:
  4398. case 12 /* TEXT_CALL */:
  4399. return getConstantType(node.content, context);
  4400. case 4 /* SIMPLE_EXPRESSION */:
  4401. return node.constType;
  4402. case 8 /* COMPOUND_EXPRESSION */:
  4403. let returnType = 3 /* CAN_STRINGIFY */;
  4404. for (let i = 0; i < node.children.length; i++) {
  4405. const child = node.children[i];
  4406. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(child) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(child)) {
  4407. continue;
  4408. }
  4409. const childType = getConstantType(child, context);
  4410. if (childType === 0 /* NOT_CONSTANT */) {
  4411. return 0 /* NOT_CONSTANT */;
  4412. }
  4413. else if (childType < returnType) {
  4414. returnType = childType;
  4415. }
  4416. }
  4417. return returnType;
  4418. default:
  4419. if ((true)) ;
  4420. return 0 /* NOT_CONSTANT */;
  4421. }
  4422. }
  4423. const allowHoistedHelperSet = new Set([
  4424. NORMALIZE_CLASS,
  4425. NORMALIZE_STYLE,
  4426. NORMALIZE_PROPS,
  4427. GUARD_REACTIVE_PROPS
  4428. ]);
  4429. function getConstantTypeOfHelperCall(value, context) {
  4430. if (value.type === 14 /* JS_CALL_EXPRESSION */ &&
  4431. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(value.callee) &&
  4432. allowHoistedHelperSet.has(value.callee)) {
  4433. const arg = value.arguments[0];
  4434. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  4435. return getConstantType(arg, context);
  4436. }
  4437. else if (arg.type === 14 /* JS_CALL_EXPRESSION */) {
  4438. // in the case of nested helper call, e.g. `normalizeProps(guardReactiveProps(exp))`
  4439. return getConstantTypeOfHelperCall(arg, context);
  4440. }
  4441. }
  4442. return 0 /* NOT_CONSTANT */;
  4443. }
  4444. function getGeneratedPropsConstantType(node, context) {
  4445. let returnType = 3 /* CAN_STRINGIFY */;
  4446. const props = getNodeProps(node);
  4447. if (props && props.type === 15 /* JS_OBJECT_EXPRESSION */) {
  4448. const { properties } = props;
  4449. for (let i = 0; i < properties.length; i++) {
  4450. const { key, value } = properties[i];
  4451. const keyType = getConstantType(key, context);
  4452. if (keyType === 0 /* NOT_CONSTANT */) {
  4453. return keyType;
  4454. }
  4455. if (keyType < returnType) {
  4456. returnType = keyType;
  4457. }
  4458. let valueType;
  4459. if (value.type === 4 /* SIMPLE_EXPRESSION */) {
  4460. valueType = getConstantType(value, context);
  4461. }
  4462. else if (value.type === 14 /* JS_CALL_EXPRESSION */) {
  4463. // some helper calls can be hoisted,
  4464. // such as the `normalizeProps` generated by the compiler for pre-normalize class,
  4465. // in this case we need to respect the ConstantType of the helper's arguments
  4466. valueType = getConstantTypeOfHelperCall(value, context);
  4467. }
  4468. else {
  4469. valueType = 0 /* NOT_CONSTANT */;
  4470. }
  4471. if (valueType === 0 /* NOT_CONSTANT */) {
  4472. return valueType;
  4473. }
  4474. if (valueType < returnType) {
  4475. returnType = valueType;
  4476. }
  4477. }
  4478. }
  4479. return returnType;
  4480. }
  4481. function getNodeProps(node) {
  4482. const codegenNode = node.codegenNode;
  4483. if (codegenNode.type === 13 /* VNODE_CALL */) {
  4484. return codegenNode.props;
  4485. }
  4486. }
  4487. function getPatchFlag(node) {
  4488. const flag = node.patchFlag;
  4489. return flag ? parseInt(flag, 10) : undefined;
  4490. }
  4491. function createTransformContext(root, { filename = '', prefixIdentifiers = false, hoistStatic = false, cacheHandlers = false, nodeTransforms = [], directiveTransforms = {}, transformHoist = null, isBuiltInComponent = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NOOP, isCustomElement = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.NOOP, expressionPlugins = [], scopeId = null, slotted = true, ssr = false, inSSR = false, ssrCssVars = ``, bindingMetadata = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.EMPTY_OBJ, inline = false, isTS = false, onError = defaultOnError, onWarn = defaultOnWarn, compatConfig }) {
  4492. const nameMatch = filename.replace(/\?.*$/, '').match(/([^/\\]+)\.\w+$/);
  4493. const context = {
  4494. // options
  4495. selfName: nameMatch && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.camelize)(nameMatch[1])),
  4496. prefixIdentifiers,
  4497. hoistStatic,
  4498. cacheHandlers,
  4499. nodeTransforms,
  4500. directiveTransforms,
  4501. transformHoist,
  4502. isBuiltInComponent,
  4503. isCustomElement,
  4504. expressionPlugins,
  4505. scopeId,
  4506. slotted,
  4507. ssr,
  4508. inSSR,
  4509. ssrCssVars,
  4510. bindingMetadata,
  4511. inline,
  4512. isTS,
  4513. onError,
  4514. onWarn,
  4515. compatConfig,
  4516. // state
  4517. root,
  4518. helpers: new Map(),
  4519. components: new Set(),
  4520. directives: new Set(),
  4521. hoists: [],
  4522. imports: [],
  4523. constantCache: new Map(),
  4524. temps: 0,
  4525. cached: 0,
  4526. identifiers: Object.create(null),
  4527. scopes: {
  4528. vFor: 0,
  4529. vSlot: 0,
  4530. vPre: 0,
  4531. vOnce: 0
  4532. },
  4533. parent: null,
  4534. currentNode: root,
  4535. childIndex: 0,
  4536. inVOnce: false,
  4537. // methods
  4538. helper(name) {
  4539. const count = context.helpers.get(name) || 0;
  4540. context.helpers.set(name, count + 1);
  4541. return name;
  4542. },
  4543. removeHelper(name) {
  4544. const count = context.helpers.get(name);
  4545. if (count) {
  4546. const currentCount = count - 1;
  4547. if (!currentCount) {
  4548. context.helpers.delete(name);
  4549. }
  4550. else {
  4551. context.helpers.set(name, currentCount);
  4552. }
  4553. }
  4554. },
  4555. helperString(name) {
  4556. return `_${helperNameMap[context.helper(name)]}`;
  4557. },
  4558. replaceNode(node) {
  4559. /* istanbul ignore if */
  4560. if ((true)) {
  4561. if (!context.currentNode) {
  4562. throw new Error(`Node being replaced is already removed.`);
  4563. }
  4564. if (!context.parent) {
  4565. throw new Error(`Cannot replace root node.`);
  4566. }
  4567. }
  4568. context.parent.children[context.childIndex] = context.currentNode = node;
  4569. },
  4570. removeNode(node) {
  4571. if (( true) && !context.parent) {
  4572. throw new Error(`Cannot remove root node.`);
  4573. }
  4574. const list = context.parent.children;
  4575. const removalIndex = node
  4576. ? list.indexOf(node)
  4577. : context.currentNode
  4578. ? context.childIndex
  4579. : -1;
  4580. /* istanbul ignore if */
  4581. if (( true) && removalIndex < 0) {
  4582. throw new Error(`node being removed is not a child of current parent`);
  4583. }
  4584. if (!node || node === context.currentNode) {
  4585. // current node removed
  4586. context.currentNode = null;
  4587. context.onNodeRemoved();
  4588. }
  4589. else {
  4590. // sibling node removed
  4591. if (context.childIndex > removalIndex) {
  4592. context.childIndex--;
  4593. context.onNodeRemoved();
  4594. }
  4595. }
  4596. context.parent.children.splice(removalIndex, 1);
  4597. },
  4598. onNodeRemoved: () => { },
  4599. addIdentifiers(exp) {
  4600. },
  4601. removeIdentifiers(exp) {
  4602. },
  4603. hoist(exp) {
  4604. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(exp))
  4605. exp = createSimpleExpression(exp);
  4606. context.hoists.push(exp);
  4607. const identifier = createSimpleExpression(`_hoisted_${context.hoists.length}`, false, exp.loc, 2 /* CAN_HOIST */);
  4608. identifier.hoisted = exp;
  4609. return identifier;
  4610. },
  4611. cache(exp, isVNode = false) {
  4612. return createCacheExpression(context.cached++, exp, isVNode);
  4613. }
  4614. };
  4615. {
  4616. context.filters = new Set();
  4617. }
  4618. return context;
  4619. }
  4620. function transform(root, options) {
  4621. const context = createTransformContext(root, options);
  4622. traverseNode(root, context);
  4623. if (options.hoistStatic) {
  4624. hoistStatic(root, context);
  4625. }
  4626. if (!options.ssr) {
  4627. createRootCodegen(root, context);
  4628. }
  4629. // finalize meta information
  4630. root.helpers = [...context.helpers.keys()];
  4631. root.components = [...context.components];
  4632. root.directives = [...context.directives];
  4633. root.imports = context.imports;
  4634. root.hoists = context.hoists;
  4635. root.temps = context.temps;
  4636. root.cached = context.cached;
  4637. {
  4638. root.filters = [...context.filters];
  4639. }
  4640. }
  4641. function createRootCodegen(root, context) {
  4642. const { helper } = context;
  4643. const { children } = root;
  4644. if (children.length === 1) {
  4645. const child = children[0];
  4646. // if the single child is an element, turn it into a block.
  4647. if (isSingleElementRoot(root, child) && child.codegenNode) {
  4648. // single element root is never hoisted so codegenNode will never be
  4649. // SimpleExpressionNode
  4650. const codegenNode = child.codegenNode;
  4651. if (codegenNode.type === 13 /* VNODE_CALL */) {
  4652. makeBlock(codegenNode, context);
  4653. }
  4654. root.codegenNode = codegenNode;
  4655. }
  4656. else {
  4657. // - single <slot/>, IfNode, ForNode: already blocks.
  4658. // - single text node: always patched.
  4659. // root codegen falls through via genNode()
  4660. root.codegenNode = child;
  4661. }
  4662. }
  4663. else if (children.length > 1) {
  4664. // root has multiple nodes - return a fragment block.
  4665. let patchFlag = 64 /* STABLE_FRAGMENT */;
  4666. let patchFlagText = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[64];
  4667. // check if the fragment actually contains a single valid child with
  4668. // the rest being comments
  4669. if (( true) &&
  4670. children.filter(c => c.type !== 3 /* COMMENT */).length === 1) {
  4671. patchFlag |= 2048 /* DEV_ROOT_FRAGMENT */;
  4672. patchFlagText += `, ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[2048]}`;
  4673. }
  4674. root.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, root.children, patchFlag + (( true) ? ` /* ${patchFlagText} */` : 0), undefined, undefined, true, undefined, false /* isComponent */);
  4675. }
  4676. else ;
  4677. }
  4678. function traverseChildren(parent, context) {
  4679. let i = 0;
  4680. const nodeRemoved = () => {
  4681. i--;
  4682. };
  4683. for (; i < parent.children.length; i++) {
  4684. const child = parent.children[i];
  4685. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(child))
  4686. continue;
  4687. context.parent = parent;
  4688. context.childIndex = i;
  4689. context.onNodeRemoved = nodeRemoved;
  4690. traverseNode(child, context);
  4691. }
  4692. }
  4693. function traverseNode(node, context) {
  4694. context.currentNode = node;
  4695. // apply transform plugins
  4696. const { nodeTransforms } = context;
  4697. const exitFns = [];
  4698. for (let i = 0; i < nodeTransforms.length; i++) {
  4699. const onExit = nodeTransforms[i](node, context);
  4700. if (onExit) {
  4701. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(onExit)) {
  4702. exitFns.push(...onExit);
  4703. }
  4704. else {
  4705. exitFns.push(onExit);
  4706. }
  4707. }
  4708. if (!context.currentNode) {
  4709. // node was removed
  4710. return;
  4711. }
  4712. else {
  4713. // node may have been replaced
  4714. node = context.currentNode;
  4715. }
  4716. }
  4717. switch (node.type) {
  4718. case 3 /* COMMENT */:
  4719. if (!context.ssr) {
  4720. // inject import for the Comment symbol, which is needed for creating
  4721. // comment nodes with `createVNode`
  4722. context.helper(CREATE_COMMENT);
  4723. }
  4724. break;
  4725. case 5 /* INTERPOLATION */:
  4726. // no need to traverse, but we need to inject toString helper
  4727. if (!context.ssr) {
  4728. context.helper(TO_DISPLAY_STRING);
  4729. }
  4730. break;
  4731. // for container types, further traverse downwards
  4732. case 9 /* IF */:
  4733. for (let i = 0; i < node.branches.length; i++) {
  4734. traverseNode(node.branches[i], context);
  4735. }
  4736. break;
  4737. case 10 /* IF_BRANCH */:
  4738. case 11 /* FOR */:
  4739. case 1 /* ELEMENT */:
  4740. case 0 /* ROOT */:
  4741. traverseChildren(node, context);
  4742. break;
  4743. }
  4744. // exit transforms
  4745. context.currentNode = node;
  4746. let i = exitFns.length;
  4747. while (i--) {
  4748. exitFns[i]();
  4749. }
  4750. }
  4751. function createStructuralDirectiveTransform(name, fn) {
  4752. const matches = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(name)
  4753. ? (n) => n === name
  4754. : (n) => name.test(n);
  4755. return (node, context) => {
  4756. if (node.type === 1 /* ELEMENT */) {
  4757. const { props } = node;
  4758. // structural directive transforms are not concerned with slots
  4759. // as they are handled separately in vSlot.ts
  4760. if (node.tagType === 3 /* TEMPLATE */ && props.some(isVSlot)) {
  4761. return;
  4762. }
  4763. const exitFns = [];
  4764. for (let i = 0; i < props.length; i++) {
  4765. const prop = props[i];
  4766. if (prop.type === 7 /* DIRECTIVE */ && matches(prop.name)) {
  4767. // structural directives are removed to avoid infinite recursion
  4768. // also we remove them *before* applying so that it can further
  4769. // traverse itself in case it moves the node around
  4770. props.splice(i, 1);
  4771. i--;
  4772. const onExit = fn(node, prop, context);
  4773. if (onExit)
  4774. exitFns.push(onExit);
  4775. }
  4776. }
  4777. return exitFns;
  4778. }
  4779. };
  4780. }
  4781. const PURE_ANNOTATION = `/*#__PURE__*/`;
  4782. function createCodegenContext(ast, { mode = 'function', prefixIdentifiers = mode === 'module', sourceMap = false, filename = `template.vue.html`, scopeId = null, optimizeImports = false, runtimeGlobalName = `Vue`, runtimeModuleName = `vue`, ssrRuntimeModuleName = 'vue/server-renderer', ssr = false, isTS = false, inSSR = false }) {
  4783. const context = {
  4784. mode,
  4785. prefixIdentifiers,
  4786. sourceMap,
  4787. filename,
  4788. scopeId,
  4789. optimizeImports,
  4790. runtimeGlobalName,
  4791. runtimeModuleName,
  4792. ssrRuntimeModuleName,
  4793. ssr,
  4794. isTS,
  4795. inSSR,
  4796. source: ast.loc.source,
  4797. code: ``,
  4798. column: 1,
  4799. line: 1,
  4800. offset: 0,
  4801. indentLevel: 0,
  4802. pure: false,
  4803. map: undefined,
  4804. helper(key) {
  4805. return `_${helperNameMap[key]}`;
  4806. },
  4807. push(code, node) {
  4808. context.code += code;
  4809. },
  4810. indent() {
  4811. newline(++context.indentLevel);
  4812. },
  4813. deindent(withoutNewLine = false) {
  4814. if (withoutNewLine) {
  4815. --context.indentLevel;
  4816. }
  4817. else {
  4818. newline(--context.indentLevel);
  4819. }
  4820. },
  4821. newline() {
  4822. newline(context.indentLevel);
  4823. }
  4824. };
  4825. function newline(n) {
  4826. context.push('\n' + ` `.repeat(n));
  4827. }
  4828. return context;
  4829. }
  4830. function generate(ast, options = {}) {
  4831. const context = createCodegenContext(ast, options);
  4832. if (options.onContextCreated)
  4833. options.onContextCreated(context);
  4834. const { mode, push, prefixIdentifiers, indent, deindent, newline, scopeId, ssr } = context;
  4835. const hasHelpers = ast.helpers.length > 0;
  4836. const useWithBlock = !prefixIdentifiers && mode !== 'module';
  4837. // preambles
  4838. // in setup() inline mode, the preamble is generated in a sub context
  4839. // and returned separately.
  4840. const preambleContext = context;
  4841. {
  4842. genFunctionPreamble(ast, preambleContext);
  4843. }
  4844. // enter render function
  4845. const functionName = ssr ? `ssrRender` : `render`;
  4846. const args = ssr ? ['_ctx', '_push', '_parent', '_attrs'] : ['_ctx', '_cache'];
  4847. const signature = args.join(', ');
  4848. {
  4849. push(`function ${functionName}(${signature}) {`);
  4850. }
  4851. indent();
  4852. if (useWithBlock) {
  4853. push(`with (_ctx) {`);
  4854. indent();
  4855. // function mode const declarations should be inside with block
  4856. // also they should be renamed to avoid collision with user properties
  4857. if (hasHelpers) {
  4858. push(`const { ${ast.helpers
  4859. .map(s => `${helperNameMap[s]}: _${helperNameMap[s]}`)
  4860. .join(', ')} } = _Vue`);
  4861. push(`\n`);
  4862. newline();
  4863. }
  4864. }
  4865. // generate asset resolution statements
  4866. if (ast.components.length) {
  4867. genAssets(ast.components, 'component', context);
  4868. if (ast.directives.length || ast.temps > 0) {
  4869. newline();
  4870. }
  4871. }
  4872. if (ast.directives.length) {
  4873. genAssets(ast.directives, 'directive', context);
  4874. if (ast.temps > 0) {
  4875. newline();
  4876. }
  4877. }
  4878. if (ast.filters && ast.filters.length) {
  4879. newline();
  4880. genAssets(ast.filters, 'filter', context);
  4881. newline();
  4882. }
  4883. if (ast.temps > 0) {
  4884. push(`let `);
  4885. for (let i = 0; i < ast.temps; i++) {
  4886. push(`${i > 0 ? `, ` : ``}_temp${i}`);
  4887. }
  4888. }
  4889. if (ast.components.length || ast.directives.length || ast.temps) {
  4890. push(`\n`);
  4891. newline();
  4892. }
  4893. // generate the VNode tree expression
  4894. if (!ssr) {
  4895. push(`return `);
  4896. }
  4897. if (ast.codegenNode) {
  4898. genNode(ast.codegenNode, context);
  4899. }
  4900. else {
  4901. push(`null`);
  4902. }
  4903. if (useWithBlock) {
  4904. deindent();
  4905. push(`}`);
  4906. }
  4907. deindent();
  4908. push(`}`);
  4909. return {
  4910. ast,
  4911. code: context.code,
  4912. preamble: ``,
  4913. // SourceMapGenerator does have toJSON() method but it's not in the types
  4914. map: context.map ? context.map.toJSON() : undefined
  4915. };
  4916. }
  4917. function genFunctionPreamble(ast, context) {
  4918. const { ssr, prefixIdentifiers, push, newline, runtimeModuleName, runtimeGlobalName, ssrRuntimeModuleName } = context;
  4919. const VueBinding = runtimeGlobalName;
  4920. const aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;
  4921. // Generate const declaration for helpers
  4922. // In prefix mode, we place the const declaration at top so it's done
  4923. // only once; But if we not prefixing, we place the declaration inside the
  4924. // with block so it doesn't incur the `in` check cost for every helper access.
  4925. if (ast.helpers.length > 0) {
  4926. {
  4927. // "with" mode.
  4928. // save Vue in a separate variable to avoid collision
  4929. push(`const _Vue = ${VueBinding}\n`);
  4930. // in "with" mode, helpers are declared inside the with block to avoid
  4931. // has check cost, but hoists are lifted out of the function - we need
  4932. // to provide the helper here.
  4933. if (ast.hoists.length) {
  4934. const staticHelpers = [
  4935. CREATE_VNODE,
  4936. CREATE_ELEMENT_VNODE,
  4937. CREATE_COMMENT,
  4938. CREATE_TEXT,
  4939. CREATE_STATIC
  4940. ]
  4941. .filter(helper => ast.helpers.includes(helper))
  4942. .map(aliasHelper)
  4943. .join(', ');
  4944. push(`const { ${staticHelpers} } = _Vue\n`);
  4945. }
  4946. }
  4947. }
  4948. genHoists(ast.hoists, context);
  4949. newline();
  4950. push(`return `);
  4951. }
  4952. function genAssets(assets, type, { helper, push, newline, isTS }) {
  4953. const resolver = helper(type === 'filter'
  4954. ? RESOLVE_FILTER
  4955. : type === 'component'
  4956. ? RESOLVE_COMPONENT
  4957. : RESOLVE_DIRECTIVE);
  4958. for (let i = 0; i < assets.length; i++) {
  4959. let id = assets[i];
  4960. // potential component implicit self-reference inferred from SFC filename
  4961. const maybeSelfReference = id.endsWith('__self');
  4962. if (maybeSelfReference) {
  4963. id = id.slice(0, -6);
  4964. }
  4965. push(`const ${toValidAssetId(id, type)} = ${resolver}(${JSON.stringify(id)}${maybeSelfReference ? `, true` : ``})${isTS ? `!` : ``}`);
  4966. if (i < assets.length - 1) {
  4967. newline();
  4968. }
  4969. }
  4970. }
  4971. function genHoists(hoists, context) {
  4972. if (!hoists.length) {
  4973. return;
  4974. }
  4975. context.pure = true;
  4976. const { push, newline, helper, scopeId, mode } = context;
  4977. newline();
  4978. for (let i = 0; i < hoists.length; i++) {
  4979. const exp = hoists[i];
  4980. if (exp) {
  4981. push(`const _hoisted_${i + 1} = ${``}`);
  4982. genNode(exp, context);
  4983. newline();
  4984. }
  4985. }
  4986. context.pure = false;
  4987. }
  4988. function isText$1(n) {
  4989. return ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(n) ||
  4990. n.type === 4 /* SIMPLE_EXPRESSION */ ||
  4991. n.type === 2 /* TEXT */ ||
  4992. n.type === 5 /* INTERPOLATION */ ||
  4993. n.type === 8 /* COMPOUND_EXPRESSION */);
  4994. }
  4995. function genNodeListAsArray(nodes, context) {
  4996. const multilines = nodes.length > 3 ||
  4997. ((( true)) && nodes.some(n => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(n) || !isText$1(n)));
  4998. context.push(`[`);
  4999. multilines && context.indent();
  5000. genNodeList(nodes, context, multilines);
  5001. multilines && context.deindent();
  5002. context.push(`]`);
  5003. }
  5004. function genNodeList(nodes, context, multilines = false, comma = true) {
  5005. const { push, newline } = context;
  5006. for (let i = 0; i < nodes.length; i++) {
  5007. const node = nodes[i];
  5008. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(node)) {
  5009. push(node);
  5010. }
  5011. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(node)) {
  5012. genNodeListAsArray(node, context);
  5013. }
  5014. else {
  5015. genNode(node, context);
  5016. }
  5017. if (i < nodes.length - 1) {
  5018. if (multilines) {
  5019. comma && push(',');
  5020. newline();
  5021. }
  5022. else {
  5023. comma && push(', ');
  5024. }
  5025. }
  5026. }
  5027. }
  5028. function genNode(node, context) {
  5029. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(node)) {
  5030. context.push(node);
  5031. return;
  5032. }
  5033. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(node)) {
  5034. context.push(context.helper(node));
  5035. return;
  5036. }
  5037. switch (node.type) {
  5038. case 1 /* ELEMENT */:
  5039. case 9 /* IF */:
  5040. case 11 /* FOR */:
  5041. ( true) &&
  5042. assert(node.codegenNode != null, `Codegen node is missing for element/if/for node. ` +
  5043. `Apply appropriate transforms first.`);
  5044. genNode(node.codegenNode, context);
  5045. break;
  5046. case 2 /* TEXT */:
  5047. genText(node, context);
  5048. break;
  5049. case 4 /* SIMPLE_EXPRESSION */:
  5050. genExpression(node, context);
  5051. break;
  5052. case 5 /* INTERPOLATION */:
  5053. genInterpolation(node, context);
  5054. break;
  5055. case 12 /* TEXT_CALL */:
  5056. genNode(node.codegenNode, context);
  5057. break;
  5058. case 8 /* COMPOUND_EXPRESSION */:
  5059. genCompoundExpression(node, context);
  5060. break;
  5061. case 3 /* COMMENT */:
  5062. genComment(node, context);
  5063. break;
  5064. case 13 /* VNODE_CALL */:
  5065. genVNodeCall(node, context);
  5066. break;
  5067. case 14 /* JS_CALL_EXPRESSION */:
  5068. genCallExpression(node, context);
  5069. break;
  5070. case 15 /* JS_OBJECT_EXPRESSION */:
  5071. genObjectExpression(node, context);
  5072. break;
  5073. case 17 /* JS_ARRAY_EXPRESSION */:
  5074. genArrayExpression(node, context);
  5075. break;
  5076. case 18 /* JS_FUNCTION_EXPRESSION */:
  5077. genFunctionExpression(node, context);
  5078. break;
  5079. case 19 /* JS_CONDITIONAL_EXPRESSION */:
  5080. genConditionalExpression(node, context);
  5081. break;
  5082. case 20 /* JS_CACHE_EXPRESSION */:
  5083. genCacheExpression(node, context);
  5084. break;
  5085. case 21 /* JS_BLOCK_STATEMENT */:
  5086. genNodeList(node.body, context, true, false);
  5087. break;
  5088. // SSR only types
  5089. case 22 /* JS_TEMPLATE_LITERAL */:
  5090. break;
  5091. case 23 /* JS_IF_STATEMENT */:
  5092. break;
  5093. case 24 /* JS_ASSIGNMENT_EXPRESSION */:
  5094. break;
  5095. case 25 /* JS_SEQUENCE_EXPRESSION */:
  5096. break;
  5097. case 26 /* JS_RETURN_STATEMENT */:
  5098. break;
  5099. /* istanbul ignore next */
  5100. case 10 /* IF_BRANCH */:
  5101. // noop
  5102. break;
  5103. default:
  5104. if ((true)) {
  5105. assert(false, `unhandled codegen node type: ${node.type}`);
  5106. // make sure we exhaust all possible types
  5107. const exhaustiveCheck = node;
  5108. return exhaustiveCheck;
  5109. }
  5110. }
  5111. }
  5112. function genText(node, context) {
  5113. context.push(JSON.stringify(node.content), node);
  5114. }
  5115. function genExpression(node, context) {
  5116. const { content, isStatic } = node;
  5117. context.push(isStatic ? JSON.stringify(content) : content, node);
  5118. }
  5119. function genInterpolation(node, context) {
  5120. const { push, helper, pure } = context;
  5121. if (pure)
  5122. push(PURE_ANNOTATION);
  5123. push(`${helper(TO_DISPLAY_STRING)}(`);
  5124. genNode(node.content, context);
  5125. push(`)`);
  5126. }
  5127. function genCompoundExpression(node, context) {
  5128. for (let i = 0; i < node.children.length; i++) {
  5129. const child = node.children[i];
  5130. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(child)) {
  5131. context.push(child);
  5132. }
  5133. else {
  5134. genNode(child, context);
  5135. }
  5136. }
  5137. }
  5138. function genExpressionAsPropertyKey(node, context) {
  5139. const { push } = context;
  5140. if (node.type === 8 /* COMPOUND_EXPRESSION */) {
  5141. push(`[`);
  5142. genCompoundExpression(node, context);
  5143. push(`]`);
  5144. }
  5145. else if (node.isStatic) {
  5146. // only quote keys if necessary
  5147. const text = isSimpleIdentifier(node.content)
  5148. ? node.content
  5149. : JSON.stringify(node.content);
  5150. push(text, node);
  5151. }
  5152. else {
  5153. push(`[${node.content}]`, node);
  5154. }
  5155. }
  5156. function genComment(node, context) {
  5157. const { push, helper, pure } = context;
  5158. if (pure) {
  5159. push(PURE_ANNOTATION);
  5160. }
  5161. push(`${helper(CREATE_COMMENT)}(${JSON.stringify(node.content)})`, node);
  5162. }
  5163. function genVNodeCall(node, context) {
  5164. const { push, helper, pure } = context;
  5165. const { tag, props, children, patchFlag, dynamicProps, directives, isBlock, disableTracking, isComponent } = node;
  5166. if (directives) {
  5167. push(helper(WITH_DIRECTIVES) + `(`);
  5168. }
  5169. if (isBlock) {
  5170. push(`(${helper(OPEN_BLOCK)}(${disableTracking ? `true` : ``}), `);
  5171. }
  5172. if (pure) {
  5173. push(PURE_ANNOTATION);
  5174. }
  5175. const callHelper = isBlock
  5176. ? getVNodeBlockHelper(context.inSSR, isComponent)
  5177. : getVNodeHelper(context.inSSR, isComponent);
  5178. push(helper(callHelper) + `(`, node);
  5179. genNodeList(genNullableArgs([tag, props, children, patchFlag, dynamicProps]), context);
  5180. push(`)`);
  5181. if (isBlock) {
  5182. push(`)`);
  5183. }
  5184. if (directives) {
  5185. push(`, `);
  5186. genNode(directives, context);
  5187. push(`)`);
  5188. }
  5189. }
  5190. function genNullableArgs(args) {
  5191. let i = args.length;
  5192. while (i--) {
  5193. if (args[i] != null)
  5194. break;
  5195. }
  5196. return args.slice(0, i + 1).map(arg => arg || `null`);
  5197. }
  5198. // JavaScript
  5199. function genCallExpression(node, context) {
  5200. const { push, helper, pure } = context;
  5201. const callee = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(node.callee) ? node.callee : helper(node.callee);
  5202. if (pure) {
  5203. push(PURE_ANNOTATION);
  5204. }
  5205. push(callee + `(`, node);
  5206. genNodeList(node.arguments, context);
  5207. push(`)`);
  5208. }
  5209. function genObjectExpression(node, context) {
  5210. const { push, indent, deindent, newline } = context;
  5211. const { properties } = node;
  5212. if (!properties.length) {
  5213. push(`{}`, node);
  5214. return;
  5215. }
  5216. const multilines = properties.length > 1 ||
  5217. ((( true)) &&
  5218. properties.some(p => p.value.type !== 4 /* SIMPLE_EXPRESSION */));
  5219. push(multilines ? `{` : `{ `);
  5220. multilines && indent();
  5221. for (let i = 0; i < properties.length; i++) {
  5222. const { key, value } = properties[i];
  5223. // key
  5224. genExpressionAsPropertyKey(key, context);
  5225. push(`: `);
  5226. // value
  5227. genNode(value, context);
  5228. if (i < properties.length - 1) {
  5229. // will only reach this if it's multilines
  5230. push(`,`);
  5231. newline();
  5232. }
  5233. }
  5234. multilines && deindent();
  5235. push(multilines ? `}` : ` }`);
  5236. }
  5237. function genArrayExpression(node, context) {
  5238. genNodeListAsArray(node.elements, context);
  5239. }
  5240. function genFunctionExpression(node, context) {
  5241. const { push, indent, deindent } = context;
  5242. const { params, returns, body, newline, isSlot } = node;
  5243. if (isSlot) {
  5244. // wrap slot functions with owner context
  5245. push(`_${helperNameMap[WITH_CTX]}(`);
  5246. }
  5247. push(`(`, node);
  5248. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(params)) {
  5249. genNodeList(params, context);
  5250. }
  5251. else if (params) {
  5252. genNode(params, context);
  5253. }
  5254. push(`) => `);
  5255. if (newline || body) {
  5256. push(`{`);
  5257. indent();
  5258. }
  5259. if (returns) {
  5260. if (newline) {
  5261. push(`return `);
  5262. }
  5263. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(returns)) {
  5264. genNodeListAsArray(returns, context);
  5265. }
  5266. else {
  5267. genNode(returns, context);
  5268. }
  5269. }
  5270. else if (body) {
  5271. genNode(body, context);
  5272. }
  5273. if (newline || body) {
  5274. deindent();
  5275. push(`}`);
  5276. }
  5277. if (isSlot) {
  5278. if (node.isNonScopedSlot) {
  5279. push(`, undefined, true`);
  5280. }
  5281. push(`)`);
  5282. }
  5283. }
  5284. function genConditionalExpression(node, context) {
  5285. const { test, consequent, alternate, newline: needNewline } = node;
  5286. const { push, indent, deindent, newline } = context;
  5287. if (test.type === 4 /* SIMPLE_EXPRESSION */) {
  5288. const needsParens = !isSimpleIdentifier(test.content);
  5289. needsParens && push(`(`);
  5290. genExpression(test, context);
  5291. needsParens && push(`)`);
  5292. }
  5293. else {
  5294. push(`(`);
  5295. genNode(test, context);
  5296. push(`)`);
  5297. }
  5298. needNewline && indent();
  5299. context.indentLevel++;
  5300. needNewline || push(` `);
  5301. push(`? `);
  5302. genNode(consequent, context);
  5303. context.indentLevel--;
  5304. needNewline && newline();
  5305. needNewline || push(` `);
  5306. push(`: `);
  5307. const isNested = alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */;
  5308. if (!isNested) {
  5309. context.indentLevel++;
  5310. }
  5311. genNode(alternate, context);
  5312. if (!isNested) {
  5313. context.indentLevel--;
  5314. }
  5315. needNewline && deindent(true /* without newline */);
  5316. }
  5317. function genCacheExpression(node, context) {
  5318. const { push, helper, indent, deindent, newline } = context;
  5319. push(`_cache[${node.index}] || (`);
  5320. if (node.isVNode) {
  5321. indent();
  5322. push(`${helper(SET_BLOCK_TRACKING)}(-1),`);
  5323. newline();
  5324. }
  5325. push(`_cache[${node.index}] = `);
  5326. genNode(node.value, context);
  5327. if (node.isVNode) {
  5328. push(`,`);
  5329. newline();
  5330. push(`${helper(SET_BLOCK_TRACKING)}(1),`);
  5331. newline();
  5332. push(`_cache[${node.index}]`);
  5333. deindent();
  5334. }
  5335. push(`)`);
  5336. }
  5337. function walkIdentifiers(root, onIdentifier, includeAll = false, parentStack = [], knownIds = Object.create(null)) {
  5338. {
  5339. return;
  5340. }
  5341. }
  5342. function isReferencedIdentifier(id, parent, parentStack) {
  5343. {
  5344. return false;
  5345. }
  5346. }
  5347. function isInDestructureAssignment(parent, parentStack) {
  5348. if (parent &&
  5349. (parent.type === 'ObjectProperty' || parent.type === 'ArrayPattern')) {
  5350. let i = parentStack.length;
  5351. while (i--) {
  5352. const p = parentStack[i];
  5353. if (p.type === 'AssignmentExpression') {
  5354. return true;
  5355. }
  5356. else if (p.type !== 'ObjectProperty' && !p.type.endsWith('Pattern')) {
  5357. break;
  5358. }
  5359. }
  5360. }
  5361. return false;
  5362. }
  5363. function walkFunctionParams(node, onIdent) {
  5364. for (const p of node.params) {
  5365. for (const id of extractIdentifiers(p)) {
  5366. onIdent(id);
  5367. }
  5368. }
  5369. }
  5370. function walkBlockDeclarations(block, onIdent) {
  5371. for (const stmt of block.body) {
  5372. if (stmt.type === 'VariableDeclaration') {
  5373. if (stmt.declare)
  5374. continue;
  5375. for (const decl of stmt.declarations) {
  5376. for (const id of extractIdentifiers(decl.id)) {
  5377. onIdent(id);
  5378. }
  5379. }
  5380. }
  5381. else if (stmt.type === 'FunctionDeclaration' ||
  5382. stmt.type === 'ClassDeclaration') {
  5383. if (stmt.declare || !stmt.id)
  5384. continue;
  5385. onIdent(stmt.id);
  5386. }
  5387. }
  5388. }
  5389. function extractIdentifiers(param, nodes = []) {
  5390. switch (param.type) {
  5391. case 'Identifier':
  5392. nodes.push(param);
  5393. break;
  5394. case 'MemberExpression':
  5395. let object = param;
  5396. while (object.type === 'MemberExpression') {
  5397. object = object.object;
  5398. }
  5399. nodes.push(object);
  5400. break;
  5401. case 'ObjectPattern':
  5402. for (const prop of param.properties) {
  5403. if (prop.type === 'RestElement') {
  5404. extractIdentifiers(prop.argument, nodes);
  5405. }
  5406. else {
  5407. extractIdentifiers(prop.value, nodes);
  5408. }
  5409. }
  5410. break;
  5411. case 'ArrayPattern':
  5412. param.elements.forEach(element => {
  5413. if (element)
  5414. extractIdentifiers(element, nodes);
  5415. });
  5416. break;
  5417. case 'RestElement':
  5418. extractIdentifiers(param.argument, nodes);
  5419. break;
  5420. case 'AssignmentPattern':
  5421. extractIdentifiers(param.left, nodes);
  5422. break;
  5423. }
  5424. return nodes;
  5425. }
  5426. const isFunctionType = (node) => {
  5427. return /Function(?:Expression|Declaration)$|Method$/.test(node.type);
  5428. };
  5429. const isStaticProperty = (node) => node &&
  5430. (node.type === 'ObjectProperty' || node.type === 'ObjectMethod') &&
  5431. !node.computed;
  5432. const isStaticPropertyKey = (node, parent) => isStaticProperty(parent) && parent.key === node;
  5433. // these keywords should not appear inside expressions, but operators like
  5434. // typeof, instanceof and in are allowed
  5435. const prohibitedKeywordRE = new RegExp('\\b' +
  5436. ('do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,' +
  5437. 'super,throw,while,yield,delete,export,import,return,switch,default,' +
  5438. 'extends,finally,continue,debugger,function,arguments,typeof,void')
  5439. .split(',')
  5440. .join('\\b|\\b') +
  5441. '\\b');
  5442. // strip strings in expressions
  5443. const stripStringRE = /'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;
  5444. /**
  5445. * Validate a non-prefixed expression.
  5446. * This is only called when using the in-browser runtime compiler since it
  5447. * doesn't prefix expressions.
  5448. */
  5449. function validateBrowserExpression(node, context, asParams = false, asRawStatements = false) {
  5450. const exp = node.content;
  5451. // empty expressions are validated per-directive since some directives
  5452. // do allow empty expressions.
  5453. if (!exp.trim()) {
  5454. return;
  5455. }
  5456. try {
  5457. new Function(asRawStatements
  5458. ? ` ${exp} `
  5459. : `return ${asParams ? `(${exp}) => {}` : `(${exp})`}`);
  5460. }
  5461. catch (e) {
  5462. let message = e.message;
  5463. const keywordMatch = exp
  5464. .replace(stripStringRE, '')
  5465. .match(prohibitedKeywordRE);
  5466. if (keywordMatch) {
  5467. message = `avoid using JavaScript keyword as property name: "${keywordMatch[0]}"`;
  5468. }
  5469. context.onError(createCompilerError(44 /* X_INVALID_EXPRESSION */, node.loc, undefined, message));
  5470. }
  5471. }
  5472. const transformExpression = (node, context) => {
  5473. if (node.type === 5 /* INTERPOLATION */) {
  5474. node.content = processExpression(node.content, context);
  5475. }
  5476. else if (node.type === 1 /* ELEMENT */) {
  5477. // handle directives on element
  5478. for (let i = 0; i < node.props.length; i++) {
  5479. const dir = node.props[i];
  5480. // do not process for v-on & v-for since they are special handled
  5481. if (dir.type === 7 /* DIRECTIVE */ && dir.name !== 'for') {
  5482. const exp = dir.exp;
  5483. const arg = dir.arg;
  5484. // do not process exp if this is v-on:arg - we need special handling
  5485. // for wrapping inline statements.
  5486. if (exp &&
  5487. exp.type === 4 /* SIMPLE_EXPRESSION */ &&
  5488. !(dir.name === 'on' && arg)) {
  5489. dir.exp = processExpression(exp, context,
  5490. // slot args must be processed as function params
  5491. dir.name === 'slot');
  5492. }
  5493. if (arg && arg.type === 4 /* SIMPLE_EXPRESSION */ && !arg.isStatic) {
  5494. dir.arg = processExpression(arg, context);
  5495. }
  5496. }
  5497. }
  5498. }
  5499. };
  5500. // Important: since this function uses Node.js only dependencies, it should
  5501. // always be used with a leading !true check so that it can be
  5502. // tree-shaken from the browser build.
  5503. function processExpression(node, context,
  5504. // some expressions like v-slot props & v-for aliases should be parsed as
  5505. // function params
  5506. asParams = false,
  5507. // v-on handler values may contain multiple statements
  5508. asRawStatements = false, localVars = Object.create(context.identifiers)) {
  5509. {
  5510. if ((true)) {
  5511. // simple in-browser validation (same logic in 2.x)
  5512. validateBrowserExpression(node, context, asParams, asRawStatements);
  5513. }
  5514. return node;
  5515. }
  5516. }
  5517. const transformIf = createStructuralDirectiveTransform(/^(if|else|else-if)$/, (node, dir, context) => {
  5518. return processIf(node, dir, context, (ifNode, branch, isRoot) => {
  5519. // #1587: We need to dynamically increment the key based on the current
  5520. // node's sibling nodes, since chained v-if/else branches are
  5521. // rendered at the same depth
  5522. const siblings = context.parent.children;
  5523. let i = siblings.indexOf(ifNode);
  5524. let key = 0;
  5525. while (i-- >= 0) {
  5526. const sibling = siblings[i];
  5527. if (sibling && sibling.type === 9 /* IF */) {
  5528. key += sibling.branches.length;
  5529. }
  5530. }
  5531. // Exit callback. Complete the codegenNode when all children have been
  5532. // transformed.
  5533. return () => {
  5534. if (isRoot) {
  5535. ifNode.codegenNode = createCodegenNodeForBranch(branch, key, context);
  5536. }
  5537. else {
  5538. // attach this branch's codegen node to the v-if root.
  5539. const parentCondition = getParentCondition(ifNode.codegenNode);
  5540. parentCondition.alternate = createCodegenNodeForBranch(branch, key + ifNode.branches.length - 1, context);
  5541. }
  5542. };
  5543. });
  5544. });
  5545. // target-agnostic transform used for both Client and SSR
  5546. function processIf(node, dir, context, processCodegen) {
  5547. if (dir.name !== 'else' &&
  5548. (!dir.exp || !dir.exp.content.trim())) {
  5549. const loc = dir.exp ? dir.exp.loc : node.loc;
  5550. context.onError(createCompilerError(28 /* X_V_IF_NO_EXPRESSION */, dir.loc));
  5551. dir.exp = createSimpleExpression(`true`, false, loc);
  5552. }
  5553. if ( true && dir.exp) {
  5554. validateBrowserExpression(dir.exp, context);
  5555. }
  5556. if (dir.name === 'if') {
  5557. const branch = createIfBranch(node, dir);
  5558. const ifNode = {
  5559. type: 9 /* IF */,
  5560. loc: node.loc,
  5561. branches: [branch]
  5562. };
  5563. context.replaceNode(ifNode);
  5564. if (processCodegen) {
  5565. return processCodegen(ifNode, branch, true);
  5566. }
  5567. }
  5568. else {
  5569. // locate the adjacent v-if
  5570. const siblings = context.parent.children;
  5571. const comments = [];
  5572. let i = siblings.indexOf(node);
  5573. while (i-- >= -1) {
  5574. const sibling = siblings[i];
  5575. if (( true) && sibling && sibling.type === 3 /* COMMENT */) {
  5576. context.removeNode(sibling);
  5577. comments.unshift(sibling);
  5578. continue;
  5579. }
  5580. if (sibling &&
  5581. sibling.type === 2 /* TEXT */ &&
  5582. !sibling.content.trim().length) {
  5583. context.removeNode(sibling);
  5584. continue;
  5585. }
  5586. if (sibling && sibling.type === 9 /* IF */) {
  5587. // Check if v-else was followed by v-else-if
  5588. if (dir.name === 'else-if' &&
  5589. sibling.branches[sibling.branches.length - 1].condition === undefined) {
  5590. context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, node.loc));
  5591. }
  5592. // move the node to the if node's branches
  5593. context.removeNode();
  5594. const branch = createIfBranch(node, dir);
  5595. if (( true) &&
  5596. comments.length &&
  5597. // #3619 ignore comments if the v-if is direct child of <transition>
  5598. !(context.parent &&
  5599. context.parent.type === 1 /* ELEMENT */ &&
  5600. isBuiltInType(context.parent.tag, 'transition'))) {
  5601. branch.children = [...comments, ...branch.children];
  5602. }
  5603. // check if user is forcing same key on different branches
  5604. if (true) {
  5605. const key = branch.userKey;
  5606. if (key) {
  5607. sibling.branches.forEach(({ userKey }) => {
  5608. if (isSameKey(userKey, key)) {
  5609. context.onError(createCompilerError(29 /* X_V_IF_SAME_KEY */, branch.userKey.loc));
  5610. }
  5611. });
  5612. }
  5613. }
  5614. sibling.branches.push(branch);
  5615. const onExit = processCodegen && processCodegen(sibling, branch, false);
  5616. // since the branch was removed, it will not be traversed.
  5617. // make sure to traverse here.
  5618. traverseNode(branch, context);
  5619. // call on exit
  5620. if (onExit)
  5621. onExit();
  5622. // make sure to reset currentNode after traversal to indicate this
  5623. // node has been removed.
  5624. context.currentNode = null;
  5625. }
  5626. else {
  5627. context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, node.loc));
  5628. }
  5629. break;
  5630. }
  5631. }
  5632. }
  5633. function createIfBranch(node, dir) {
  5634. return {
  5635. type: 10 /* IF_BRANCH */,
  5636. loc: node.loc,
  5637. condition: dir.name === 'else' ? undefined : dir.exp,
  5638. children: node.tagType === 3 /* TEMPLATE */ && !findDir(node, 'for')
  5639. ? node.children
  5640. : [node],
  5641. userKey: findProp(node, `key`)
  5642. };
  5643. }
  5644. function createCodegenNodeForBranch(branch, keyIndex, context) {
  5645. if (branch.condition) {
  5646. return createConditionalExpression(branch.condition, createChildrenCodegenNode(branch, keyIndex, context),
  5647. // make sure to pass in asBlock: true so that the comment node call
  5648. // closes the current block.
  5649. createCallExpression(context.helper(CREATE_COMMENT), [
  5650. ( true) ? '"v-if"' : 0,
  5651. 'true'
  5652. ]));
  5653. }
  5654. else {
  5655. return createChildrenCodegenNode(branch, keyIndex, context);
  5656. }
  5657. }
  5658. function createChildrenCodegenNode(branch, keyIndex, context) {
  5659. const { helper } = context;
  5660. const keyProperty = createObjectProperty(`key`, createSimpleExpression(`${keyIndex}`, false, locStub, 2 /* CAN_HOIST */));
  5661. const { children } = branch;
  5662. const firstChild = children[0];
  5663. const needFragmentWrapper = children.length !== 1 || firstChild.type !== 1 /* ELEMENT */;
  5664. if (needFragmentWrapper) {
  5665. if (children.length === 1 && firstChild.type === 11 /* FOR */) {
  5666. // optimize away nested fragments when child is a ForNode
  5667. const vnodeCall = firstChild.codegenNode;
  5668. injectProp(vnodeCall, keyProperty, context);
  5669. return vnodeCall;
  5670. }
  5671. else {
  5672. let patchFlag = 64 /* STABLE_FRAGMENT */;
  5673. let patchFlagText = _vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[64];
  5674. // check if the fragment actually contains a single valid child with
  5675. // the rest being comments
  5676. if (( true) &&
  5677. children.filter(c => c.type !== 3 /* COMMENT */).length === 1) {
  5678. patchFlag |= 2048 /* DEV_ROOT_FRAGMENT */;
  5679. patchFlagText += `, ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[2048]}`;
  5680. }
  5681. return createVNodeCall(context, helper(FRAGMENT), createObjectExpression([keyProperty]), children, patchFlag + (( true) ? ` /* ${patchFlagText} */` : 0), undefined, undefined, true, false, false /* isComponent */, branch.loc);
  5682. }
  5683. }
  5684. else {
  5685. const ret = firstChild.codegenNode;
  5686. const vnodeCall = getMemoedVNodeCall(ret);
  5687. // Change createVNode to createBlock.
  5688. if (vnodeCall.type === 13 /* VNODE_CALL */) {
  5689. makeBlock(vnodeCall, context);
  5690. }
  5691. // inject branch key
  5692. injectProp(vnodeCall, keyProperty, context);
  5693. return ret;
  5694. }
  5695. }
  5696. function isSameKey(a, b) {
  5697. if (!a || a.type !== b.type) {
  5698. return false;
  5699. }
  5700. if (a.type === 6 /* ATTRIBUTE */) {
  5701. if (a.value.content !== b.value.content) {
  5702. return false;
  5703. }
  5704. }
  5705. else {
  5706. // directive
  5707. const exp = a.exp;
  5708. const branchExp = b.exp;
  5709. if (exp.type !== branchExp.type) {
  5710. return false;
  5711. }
  5712. if (exp.type !== 4 /* SIMPLE_EXPRESSION */ ||
  5713. exp.isStatic !== branchExp.isStatic ||
  5714. exp.content !== branchExp.content) {
  5715. return false;
  5716. }
  5717. }
  5718. return true;
  5719. }
  5720. function getParentCondition(node) {
  5721. while (true) {
  5722. if (node.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {
  5723. if (node.alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {
  5724. node = node.alternate;
  5725. }
  5726. else {
  5727. return node;
  5728. }
  5729. }
  5730. else if (node.type === 20 /* JS_CACHE_EXPRESSION */) {
  5731. node = node.value;
  5732. }
  5733. }
  5734. }
  5735. const transformFor = createStructuralDirectiveTransform('for', (node, dir, context) => {
  5736. const { helper, removeHelper } = context;
  5737. return processFor(node, dir, context, forNode => {
  5738. // create the loop render function expression now, and add the
  5739. // iterator on exit after all children have been traversed
  5740. const renderExp = createCallExpression(helper(RENDER_LIST), [
  5741. forNode.source
  5742. ]);
  5743. const isTemplate = isTemplateNode(node);
  5744. const memo = findDir(node, 'memo');
  5745. const keyProp = findProp(node, `key`);
  5746. const keyExp = keyProp &&
  5747. (keyProp.type === 6 /* ATTRIBUTE */
  5748. ? createSimpleExpression(keyProp.value.content, true)
  5749. : keyProp.exp);
  5750. const keyProperty = keyProp ? createObjectProperty(`key`, keyExp) : null;
  5751. const isStableFragment = forNode.source.type === 4 /* SIMPLE_EXPRESSION */ &&
  5752. forNode.source.constType > 0 /* NOT_CONSTANT */;
  5753. const fragmentFlag = isStableFragment
  5754. ? 64 /* STABLE_FRAGMENT */
  5755. : keyProp
  5756. ? 128 /* KEYED_FRAGMENT */
  5757. : 256 /* UNKEYED_FRAGMENT */;
  5758. forNode.codegenNode = createVNodeCall(context, helper(FRAGMENT), undefined, renderExp, fragmentFlag +
  5759. (( true) ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[fragmentFlag]} */` : 0), undefined, undefined, true /* isBlock */, !isStableFragment /* disableTracking */, false /* isComponent */, node.loc);
  5760. return () => {
  5761. // finish the codegen now that all children have been traversed
  5762. let childBlock;
  5763. const { children } = forNode;
  5764. // check <template v-for> key placement
  5765. if (( true) && isTemplate) {
  5766. node.children.some(c => {
  5767. if (c.type === 1 /* ELEMENT */) {
  5768. const key = findProp(c, 'key');
  5769. if (key) {
  5770. context.onError(createCompilerError(33 /* X_V_FOR_TEMPLATE_KEY_PLACEMENT */, key.loc));
  5771. return true;
  5772. }
  5773. }
  5774. });
  5775. }
  5776. const needFragmentWrapper = children.length !== 1 || children[0].type !== 1 /* ELEMENT */;
  5777. const slotOutlet = isSlotOutlet(node)
  5778. ? node
  5779. : isTemplate &&
  5780. node.children.length === 1 &&
  5781. isSlotOutlet(node.children[0])
  5782. ? node.children[0] // api-extractor somehow fails to infer this
  5783. : null;
  5784. if (slotOutlet) {
  5785. // <slot v-for="..."> or <template v-for="..."><slot/></template>
  5786. childBlock = slotOutlet.codegenNode;
  5787. if (isTemplate && keyProperty) {
  5788. // <template v-for="..." :key="..."><slot/></template>
  5789. // we need to inject the key to the renderSlot() call.
  5790. // the props for renderSlot is passed as the 3rd argument.
  5791. injectProp(childBlock, keyProperty, context);
  5792. }
  5793. }
  5794. else if (needFragmentWrapper) {
  5795. // <template v-for="..."> with text or multi-elements
  5796. // should generate a fragment block for each loop
  5797. childBlock = createVNodeCall(context, helper(FRAGMENT), keyProperty ? createObjectExpression([keyProperty]) : undefined, node.children, 64 /* STABLE_FRAGMENT */ +
  5798. (( true)
  5799. ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[64]} */`
  5800. : 0), undefined, undefined, true, undefined, false /* isComponent */);
  5801. }
  5802. else {
  5803. // Normal element v-for. Directly use the child's codegenNode
  5804. // but mark it as a block.
  5805. childBlock = children[0]
  5806. .codegenNode;
  5807. if (isTemplate && keyProperty) {
  5808. injectProp(childBlock, keyProperty, context);
  5809. }
  5810. if (childBlock.isBlock !== !isStableFragment) {
  5811. if (childBlock.isBlock) {
  5812. // switch from block to vnode
  5813. removeHelper(OPEN_BLOCK);
  5814. removeHelper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));
  5815. }
  5816. else {
  5817. // switch from vnode to block
  5818. removeHelper(getVNodeHelper(context.inSSR, childBlock.isComponent));
  5819. }
  5820. }
  5821. childBlock.isBlock = !isStableFragment;
  5822. if (childBlock.isBlock) {
  5823. helper(OPEN_BLOCK);
  5824. helper(getVNodeBlockHelper(context.inSSR, childBlock.isComponent));
  5825. }
  5826. else {
  5827. helper(getVNodeHelper(context.inSSR, childBlock.isComponent));
  5828. }
  5829. }
  5830. if (memo) {
  5831. const loop = createFunctionExpression(createForLoopParams(forNode.parseResult, [
  5832. createSimpleExpression(`_cached`)
  5833. ]));
  5834. loop.body = createBlockStatement([
  5835. createCompoundExpression([`const _memo = (`, memo.exp, `)`]),
  5836. createCompoundExpression([
  5837. `if (_cached`,
  5838. ...(keyExp ? [` && _cached.key === `, keyExp] : []),
  5839. ` && ${context.helperString(IS_MEMO_SAME)}(_cached, _memo)) return _cached`
  5840. ]),
  5841. createCompoundExpression([`const _item = `, childBlock]),
  5842. createSimpleExpression(`_item.memo = _memo`),
  5843. createSimpleExpression(`return _item`)
  5844. ]);
  5845. renderExp.arguments.push(loop, createSimpleExpression(`_cache`), createSimpleExpression(String(context.cached++)));
  5846. }
  5847. else {
  5848. renderExp.arguments.push(createFunctionExpression(createForLoopParams(forNode.parseResult), childBlock, true /* force newline */));
  5849. }
  5850. };
  5851. });
  5852. });
  5853. // target-agnostic transform used for both Client and SSR
  5854. function processFor(node, dir, context, processCodegen) {
  5855. if (!dir.exp) {
  5856. context.onError(createCompilerError(31 /* X_V_FOR_NO_EXPRESSION */, dir.loc));
  5857. return;
  5858. }
  5859. const parseResult = parseForExpression(
  5860. // can only be simple expression because vFor transform is applied
  5861. // before expression transform.
  5862. dir.exp, context);
  5863. if (!parseResult) {
  5864. context.onError(createCompilerError(32 /* X_V_FOR_MALFORMED_EXPRESSION */, dir.loc));
  5865. return;
  5866. }
  5867. const { addIdentifiers, removeIdentifiers, scopes } = context;
  5868. const { source, value, key, index } = parseResult;
  5869. const forNode = {
  5870. type: 11 /* FOR */,
  5871. loc: dir.loc,
  5872. source,
  5873. valueAlias: value,
  5874. keyAlias: key,
  5875. objectIndexAlias: index,
  5876. parseResult,
  5877. children: isTemplateNode(node) ? node.children : [node]
  5878. };
  5879. context.replaceNode(forNode);
  5880. // bookkeeping
  5881. scopes.vFor++;
  5882. const onExit = processCodegen && processCodegen(forNode);
  5883. return () => {
  5884. scopes.vFor--;
  5885. if (onExit)
  5886. onExit();
  5887. };
  5888. }
  5889. const forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;
  5890. // This regex doesn't cover the case if key or index aliases have destructuring,
  5891. // but those do not make sense in the first place, so this works in practice.
  5892. const forIteratorRE = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/;
  5893. const stripParensRE = /^\(|\)$/g;
  5894. function parseForExpression(input, context) {
  5895. const loc = input.loc;
  5896. const exp = input.content;
  5897. const inMatch = exp.match(forAliasRE);
  5898. if (!inMatch)
  5899. return;
  5900. const [, LHS, RHS] = inMatch;
  5901. const result = {
  5902. source: createAliasExpression(loc, RHS.trim(), exp.indexOf(RHS, LHS.length)),
  5903. value: undefined,
  5904. key: undefined,
  5905. index: undefined
  5906. };
  5907. if (true) {
  5908. validateBrowserExpression(result.source, context);
  5909. }
  5910. let valueContent = LHS.trim().replace(stripParensRE, '').trim();
  5911. const trimmedOffset = LHS.indexOf(valueContent);
  5912. const iteratorMatch = valueContent.match(forIteratorRE);
  5913. if (iteratorMatch) {
  5914. valueContent = valueContent.replace(forIteratorRE, '').trim();
  5915. const keyContent = iteratorMatch[1].trim();
  5916. let keyOffset;
  5917. if (keyContent) {
  5918. keyOffset = exp.indexOf(keyContent, trimmedOffset + valueContent.length);
  5919. result.key = createAliasExpression(loc, keyContent, keyOffset);
  5920. if (true) {
  5921. validateBrowserExpression(result.key, context, true);
  5922. }
  5923. }
  5924. if (iteratorMatch[2]) {
  5925. const indexContent = iteratorMatch[2].trim();
  5926. if (indexContent) {
  5927. result.index = createAliasExpression(loc, indexContent, exp.indexOf(indexContent, result.key
  5928. ? keyOffset + keyContent.length
  5929. : trimmedOffset + valueContent.length));
  5930. if (true) {
  5931. validateBrowserExpression(result.index, context, true);
  5932. }
  5933. }
  5934. }
  5935. }
  5936. if (valueContent) {
  5937. result.value = createAliasExpression(loc, valueContent, trimmedOffset);
  5938. if (true) {
  5939. validateBrowserExpression(result.value, context, true);
  5940. }
  5941. }
  5942. return result;
  5943. }
  5944. function createAliasExpression(range, content, offset) {
  5945. return createSimpleExpression(content, false, getInnerRange(range, offset, content.length));
  5946. }
  5947. function createForLoopParams({ value, key, index }, memoArgs = []) {
  5948. return createParamsList([value, key, index, ...memoArgs]);
  5949. }
  5950. function createParamsList(args) {
  5951. let i = args.length;
  5952. while (i--) {
  5953. if (args[i])
  5954. break;
  5955. }
  5956. return args
  5957. .slice(0, i + 1)
  5958. .map((arg, i) => arg || createSimpleExpression(`_`.repeat(i + 1), false));
  5959. }
  5960. const defaultFallback = createSimpleExpression(`undefined`, false);
  5961. // A NodeTransform that:
  5962. // 1. Tracks scope identifiers for scoped slots so that they don't get prefixed
  5963. // by transformExpression. This is only applied in non-browser builds with
  5964. // { prefixIdentifiers: true }.
  5965. // 2. Track v-slot depths so that we know a slot is inside another slot.
  5966. // Note the exit callback is executed before buildSlots() on the same node,
  5967. // so only nested slots see positive numbers.
  5968. const trackSlotScopes = (node, context) => {
  5969. if (node.type === 1 /* ELEMENT */ &&
  5970. (node.tagType === 1 /* COMPONENT */ ||
  5971. node.tagType === 3 /* TEMPLATE */)) {
  5972. // We are only checking non-empty v-slot here
  5973. // since we only care about slots that introduce scope variables.
  5974. const vSlot = findDir(node, 'slot');
  5975. if (vSlot) {
  5976. vSlot.exp;
  5977. context.scopes.vSlot++;
  5978. return () => {
  5979. context.scopes.vSlot--;
  5980. };
  5981. }
  5982. }
  5983. };
  5984. // A NodeTransform that tracks scope identifiers for scoped slots with v-for.
  5985. // This transform is only applied in non-browser builds with { prefixIdentifiers: true }
  5986. const trackVForSlotScopes = (node, context) => {
  5987. let vFor;
  5988. if (isTemplateNode(node) &&
  5989. node.props.some(isVSlot) &&
  5990. (vFor = findDir(node, 'for'))) {
  5991. const result = (vFor.parseResult = parseForExpression(vFor.exp, context));
  5992. if (result) {
  5993. const { value, key, index } = result;
  5994. const { addIdentifiers, removeIdentifiers } = context;
  5995. value && addIdentifiers(value);
  5996. key && addIdentifiers(key);
  5997. index && addIdentifiers(index);
  5998. return () => {
  5999. value && removeIdentifiers(value);
  6000. key && removeIdentifiers(key);
  6001. index && removeIdentifiers(index);
  6002. };
  6003. }
  6004. }
  6005. };
  6006. const buildClientSlotFn = (props, children, loc) => createFunctionExpression(props, children, false /* newline */, true /* isSlot */, children.length ? children[0].loc : loc);
  6007. // Instead of being a DirectiveTransform, v-slot processing is called during
  6008. // transformElement to build the slots object for a component.
  6009. function buildSlots(node, context, buildSlotFn = buildClientSlotFn) {
  6010. context.helper(WITH_CTX);
  6011. const { children, loc } = node;
  6012. const slotsProperties = [];
  6013. const dynamicSlots = [];
  6014. // If the slot is inside a v-for or another v-slot, force it to be dynamic
  6015. // since it likely uses a scope variable.
  6016. let hasDynamicSlots = context.scopes.vSlot > 0 || context.scopes.vFor > 0;
  6017. // 1. Check for slot with slotProps on component itself.
  6018. // <Comp v-slot="{ prop }"/>
  6019. const onComponentSlot = findDir(node, 'slot', true);
  6020. if (onComponentSlot) {
  6021. const { arg, exp } = onComponentSlot;
  6022. if (arg && !isStaticExp(arg)) {
  6023. hasDynamicSlots = true;
  6024. }
  6025. slotsProperties.push(createObjectProperty(arg || createSimpleExpression('default', true), buildSlotFn(exp, children, loc)));
  6026. }
  6027. // 2. Iterate through children and check for template slots
  6028. // <template v-slot:foo="{ prop }">
  6029. let hasTemplateSlots = false;
  6030. let hasNamedDefaultSlot = false;
  6031. const implicitDefaultChildren = [];
  6032. const seenSlotNames = new Set();
  6033. for (let i = 0; i < children.length; i++) {
  6034. const slotElement = children[i];
  6035. let slotDir;
  6036. if (!isTemplateNode(slotElement) ||
  6037. !(slotDir = findDir(slotElement, 'slot', true))) {
  6038. // not a <template v-slot>, skip.
  6039. if (slotElement.type !== 3 /* COMMENT */) {
  6040. implicitDefaultChildren.push(slotElement);
  6041. }
  6042. continue;
  6043. }
  6044. if (onComponentSlot) {
  6045. // already has on-component slot - this is incorrect usage.
  6046. context.onError(createCompilerError(37 /* X_V_SLOT_MIXED_SLOT_USAGE */, slotDir.loc));
  6047. break;
  6048. }
  6049. hasTemplateSlots = true;
  6050. const { children: slotChildren, loc: slotLoc } = slotElement;
  6051. const { arg: slotName = createSimpleExpression(`default`, true), exp: slotProps, loc: dirLoc } = slotDir;
  6052. // check if name is dynamic.
  6053. let staticSlotName;
  6054. if (isStaticExp(slotName)) {
  6055. staticSlotName = slotName ? slotName.content : `default`;
  6056. }
  6057. else {
  6058. hasDynamicSlots = true;
  6059. }
  6060. const slotFunction = buildSlotFn(slotProps, slotChildren, slotLoc);
  6061. // check if this slot is conditional (v-if/v-for)
  6062. let vIf;
  6063. let vElse;
  6064. let vFor;
  6065. if ((vIf = findDir(slotElement, 'if'))) {
  6066. hasDynamicSlots = true;
  6067. dynamicSlots.push(createConditionalExpression(vIf.exp, buildDynamicSlot(slotName, slotFunction), defaultFallback));
  6068. }
  6069. else if ((vElse = findDir(slotElement, /^else(-if)?$/, true /* allowEmpty */))) {
  6070. // find adjacent v-if
  6071. let j = i;
  6072. let prev;
  6073. while (j--) {
  6074. prev = children[j];
  6075. if (prev.type !== 3 /* COMMENT */) {
  6076. break;
  6077. }
  6078. }
  6079. if (prev && isTemplateNode(prev) && findDir(prev, 'if')) {
  6080. // remove node
  6081. children.splice(i, 1);
  6082. i--;
  6083. // attach this slot to previous conditional
  6084. let conditional = dynamicSlots[dynamicSlots.length - 1];
  6085. while (conditional.alternate.type === 19 /* JS_CONDITIONAL_EXPRESSION */) {
  6086. conditional = conditional.alternate;
  6087. }
  6088. conditional.alternate = vElse.exp
  6089. ? createConditionalExpression(vElse.exp, buildDynamicSlot(slotName, slotFunction), defaultFallback)
  6090. : buildDynamicSlot(slotName, slotFunction);
  6091. }
  6092. else {
  6093. context.onError(createCompilerError(30 /* X_V_ELSE_NO_ADJACENT_IF */, vElse.loc));
  6094. }
  6095. }
  6096. else if ((vFor = findDir(slotElement, 'for'))) {
  6097. hasDynamicSlots = true;
  6098. const parseResult = vFor.parseResult ||
  6099. parseForExpression(vFor.exp, context);
  6100. if (parseResult) {
  6101. // Render the dynamic slots as an array and add it to the createSlot()
  6102. // args. The runtime knows how to handle it appropriately.
  6103. dynamicSlots.push(createCallExpression(context.helper(RENDER_LIST), [
  6104. parseResult.source,
  6105. createFunctionExpression(createForLoopParams(parseResult), buildDynamicSlot(slotName, slotFunction), true /* force newline */)
  6106. ]));
  6107. }
  6108. else {
  6109. context.onError(createCompilerError(32 /* X_V_FOR_MALFORMED_EXPRESSION */, vFor.loc));
  6110. }
  6111. }
  6112. else {
  6113. // check duplicate static names
  6114. if (staticSlotName) {
  6115. if (seenSlotNames.has(staticSlotName)) {
  6116. context.onError(createCompilerError(38 /* X_V_SLOT_DUPLICATE_SLOT_NAMES */, dirLoc));
  6117. continue;
  6118. }
  6119. seenSlotNames.add(staticSlotName);
  6120. if (staticSlotName === 'default') {
  6121. hasNamedDefaultSlot = true;
  6122. }
  6123. }
  6124. slotsProperties.push(createObjectProperty(slotName, slotFunction));
  6125. }
  6126. }
  6127. if (!onComponentSlot) {
  6128. const buildDefaultSlotProperty = (props, children) => {
  6129. const fn = buildSlotFn(props, children, loc);
  6130. if (context.compatConfig) {
  6131. fn.isNonScopedSlot = true;
  6132. }
  6133. return createObjectProperty(`default`, fn);
  6134. };
  6135. if (!hasTemplateSlots) {
  6136. // implicit default slot (on component)
  6137. slotsProperties.push(buildDefaultSlotProperty(undefined, children));
  6138. }
  6139. else if (implicitDefaultChildren.length &&
  6140. // #3766
  6141. // with whitespace: 'preserve', whitespaces between slots will end up in
  6142. // implicitDefaultChildren. Ignore if all implicit children are whitespaces.
  6143. implicitDefaultChildren.some(node => isNonWhitespaceContent(node))) {
  6144. // implicit default slot (mixed with named slots)
  6145. if (hasNamedDefaultSlot) {
  6146. context.onError(createCompilerError(39 /* X_V_SLOT_EXTRANEOUS_DEFAULT_SLOT_CHILDREN */, implicitDefaultChildren[0].loc));
  6147. }
  6148. else {
  6149. slotsProperties.push(buildDefaultSlotProperty(undefined, implicitDefaultChildren));
  6150. }
  6151. }
  6152. }
  6153. const slotFlag = hasDynamicSlots
  6154. ? 2 /* DYNAMIC */
  6155. : hasForwardedSlots(node.children)
  6156. ? 3 /* FORWARDED */
  6157. : 1 /* STABLE */;
  6158. let slots = createObjectExpression(slotsProperties.concat(createObjectProperty(`_`,
  6159. // 2 = compiled but dynamic = can skip normalization, but must run diff
  6160. // 1 = compiled and static = can skip normalization AND diff as optimized
  6161. createSimpleExpression(slotFlag + (( true) ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.slotFlagsText[slotFlag]} */` : 0), false))), loc);
  6162. if (dynamicSlots.length) {
  6163. slots = createCallExpression(context.helper(CREATE_SLOTS), [
  6164. slots,
  6165. createArrayExpression(dynamicSlots)
  6166. ]);
  6167. }
  6168. return {
  6169. slots,
  6170. hasDynamicSlots
  6171. };
  6172. }
  6173. function buildDynamicSlot(name, fn) {
  6174. return createObjectExpression([
  6175. createObjectProperty(`name`, name),
  6176. createObjectProperty(`fn`, fn)
  6177. ]);
  6178. }
  6179. function hasForwardedSlots(children) {
  6180. for (let i = 0; i < children.length; i++) {
  6181. const child = children[i];
  6182. switch (child.type) {
  6183. case 1 /* ELEMENT */:
  6184. if (child.tagType === 2 /* SLOT */ ||
  6185. hasForwardedSlots(child.children)) {
  6186. return true;
  6187. }
  6188. break;
  6189. case 9 /* IF */:
  6190. if (hasForwardedSlots(child.branches))
  6191. return true;
  6192. break;
  6193. case 10 /* IF_BRANCH */:
  6194. case 11 /* FOR */:
  6195. if (hasForwardedSlots(child.children))
  6196. return true;
  6197. break;
  6198. }
  6199. }
  6200. return false;
  6201. }
  6202. function isNonWhitespaceContent(node) {
  6203. if (node.type !== 2 /* TEXT */ && node.type !== 12 /* TEXT_CALL */)
  6204. return true;
  6205. return node.type === 2 /* TEXT */
  6206. ? !!node.content.trim()
  6207. : isNonWhitespaceContent(node.content);
  6208. }
  6209. // some directive transforms (e.g. v-model) may return a symbol for runtime
  6210. // import, which should be used instead of a resolveDirective call.
  6211. const directiveImportMap = new WeakMap();
  6212. // generate a JavaScript AST for this element's codegen
  6213. const transformElement = (node, context) => {
  6214. // perform the work on exit, after all child expressions have been
  6215. // processed and merged.
  6216. return function postTransformElement() {
  6217. node = context.currentNode;
  6218. if (!(node.type === 1 /* ELEMENT */ &&
  6219. (node.tagType === 0 /* ELEMENT */ ||
  6220. node.tagType === 1 /* COMPONENT */))) {
  6221. return;
  6222. }
  6223. const { tag, props } = node;
  6224. const isComponent = node.tagType === 1 /* COMPONENT */;
  6225. // The goal of the transform is to create a codegenNode implementing the
  6226. // VNodeCall interface.
  6227. let vnodeTag = isComponent
  6228. ? resolveComponentType(node, context)
  6229. : `"${tag}"`;
  6230. const isDynamicComponent = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(vnodeTag) && vnodeTag.callee === RESOLVE_DYNAMIC_COMPONENT;
  6231. let vnodeProps;
  6232. let vnodeChildren;
  6233. let vnodePatchFlag;
  6234. let patchFlag = 0;
  6235. let vnodeDynamicProps;
  6236. let dynamicPropNames;
  6237. let vnodeDirectives;
  6238. let shouldUseBlock =
  6239. // dynamic component may resolve to plain elements
  6240. isDynamicComponent ||
  6241. vnodeTag === TELEPORT ||
  6242. vnodeTag === SUSPENSE ||
  6243. (!isComponent &&
  6244. // <svg> and <foreignObject> must be forced into blocks so that block
  6245. // updates inside get proper isSVG flag at runtime. (#639, #643)
  6246. // This is technically web-specific, but splitting the logic out of core
  6247. // leads to too much unnecessary complexity.
  6248. (tag === 'svg' || tag === 'foreignObject'));
  6249. // props
  6250. if (props.length > 0) {
  6251. const propsBuildResult = buildProps(node, context);
  6252. vnodeProps = propsBuildResult.props;
  6253. patchFlag = propsBuildResult.patchFlag;
  6254. dynamicPropNames = propsBuildResult.dynamicPropNames;
  6255. const directives = propsBuildResult.directives;
  6256. vnodeDirectives =
  6257. directives && directives.length
  6258. ? createArrayExpression(directives.map(dir => buildDirectiveArgs(dir, context)))
  6259. : undefined;
  6260. if (propsBuildResult.shouldUseBlock) {
  6261. shouldUseBlock = true;
  6262. }
  6263. }
  6264. // children
  6265. if (node.children.length > 0) {
  6266. if (vnodeTag === KEEP_ALIVE) {
  6267. // Although a built-in component, we compile KeepAlive with raw children
  6268. // instead of slot functions so that it can be used inside Transition
  6269. // or other Transition-wrapping HOCs.
  6270. // To ensure correct updates with block optimizations, we need to:
  6271. // 1. Force keep-alive into a block. This avoids its children being
  6272. // collected by a parent block.
  6273. shouldUseBlock = true;
  6274. // 2. Force keep-alive to always be updated, since it uses raw children.
  6275. patchFlag |= 1024 /* DYNAMIC_SLOTS */;
  6276. if (( true) && node.children.length > 1) {
  6277. context.onError(createCompilerError(45 /* X_KEEP_ALIVE_INVALID_CHILDREN */, {
  6278. start: node.children[0].loc.start,
  6279. end: node.children[node.children.length - 1].loc.end,
  6280. source: ''
  6281. }));
  6282. }
  6283. }
  6284. const shouldBuildAsSlots = isComponent &&
  6285. // Teleport is not a real component and has dedicated runtime handling
  6286. vnodeTag !== TELEPORT &&
  6287. // explained above.
  6288. vnodeTag !== KEEP_ALIVE;
  6289. if (shouldBuildAsSlots) {
  6290. const { slots, hasDynamicSlots } = buildSlots(node, context);
  6291. vnodeChildren = slots;
  6292. if (hasDynamicSlots) {
  6293. patchFlag |= 1024 /* DYNAMIC_SLOTS */;
  6294. }
  6295. }
  6296. else if (node.children.length === 1 && vnodeTag !== TELEPORT) {
  6297. const child = node.children[0];
  6298. const type = child.type;
  6299. // check for dynamic text children
  6300. const hasDynamicTextChild = type === 5 /* INTERPOLATION */ ||
  6301. type === 8 /* COMPOUND_EXPRESSION */;
  6302. if (hasDynamicTextChild &&
  6303. getConstantType(child, context) === 0 /* NOT_CONSTANT */) {
  6304. patchFlag |= 1 /* TEXT */;
  6305. }
  6306. // pass directly if the only child is a text node
  6307. // (plain / interpolation / expression)
  6308. if (hasDynamicTextChild || type === 2 /* TEXT */) {
  6309. vnodeChildren = child;
  6310. }
  6311. else {
  6312. vnodeChildren = node.children;
  6313. }
  6314. }
  6315. else {
  6316. vnodeChildren = node.children;
  6317. }
  6318. }
  6319. // patchFlag & dynamicPropNames
  6320. if (patchFlag !== 0) {
  6321. if ((true)) {
  6322. if (patchFlag < 0) {
  6323. // special flags (negative and mutually exclusive)
  6324. vnodePatchFlag = patchFlag + ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[patchFlag]} */`;
  6325. }
  6326. else {
  6327. // bitwise flags
  6328. const flagNames = Object.keys(_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames)
  6329. .map(Number)
  6330. .filter(n => n > 0 && patchFlag & n)
  6331. .map(n => _vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[n])
  6332. .join(`, `);
  6333. vnodePatchFlag = patchFlag + ` /* ${flagNames} */`;
  6334. }
  6335. }
  6336. else {}
  6337. if (dynamicPropNames && dynamicPropNames.length) {
  6338. vnodeDynamicProps = stringifyDynamicPropNames(dynamicPropNames);
  6339. }
  6340. }
  6341. node.codegenNode = createVNodeCall(context, vnodeTag, vnodeProps, vnodeChildren, vnodePatchFlag, vnodeDynamicProps, vnodeDirectives, !!shouldUseBlock, false /* disableTracking */, isComponent, node.loc);
  6342. };
  6343. };
  6344. function resolveComponentType(node, context, ssr = false) {
  6345. let { tag } = node;
  6346. // 1. dynamic component
  6347. const isExplicitDynamic = isComponentTag(tag);
  6348. const isProp = findProp(node, 'is');
  6349. if (isProp) {
  6350. if (isExplicitDynamic ||
  6351. (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context))) {
  6352. const exp = isProp.type === 6 /* ATTRIBUTE */
  6353. ? isProp.value && createSimpleExpression(isProp.value.content, true)
  6354. : isProp.exp;
  6355. if (exp) {
  6356. return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT), [
  6357. exp
  6358. ]);
  6359. }
  6360. }
  6361. else if (isProp.type === 6 /* ATTRIBUTE */ &&
  6362. isProp.value.content.startsWith('vue:')) {
  6363. // <button is="vue:xxx">
  6364. // if not <component>, only is value that starts with "vue:" will be
  6365. // treated as component by the parse phase and reach here, unless it's
  6366. // compat mode where all is values are considered components
  6367. tag = isProp.value.content.slice(4);
  6368. }
  6369. }
  6370. // 1.5 v-is (TODO: Deprecate)
  6371. const isDir = !isExplicitDynamic && findDir(node, 'is');
  6372. if (isDir && isDir.exp) {
  6373. return createCallExpression(context.helper(RESOLVE_DYNAMIC_COMPONENT), [
  6374. isDir.exp
  6375. ]);
  6376. }
  6377. // 2. built-in components (Teleport, Transition, KeepAlive, Suspense...)
  6378. const builtIn = isCoreComponent(tag) || context.isBuiltInComponent(tag);
  6379. if (builtIn) {
  6380. // built-ins are simply fallthroughs / have special handling during ssr
  6381. // so we don't need to import their runtime equivalents
  6382. if (!ssr)
  6383. context.helper(builtIn);
  6384. return builtIn;
  6385. }
  6386. // 5. user component (resolve)
  6387. context.helper(RESOLVE_COMPONENT);
  6388. context.components.add(tag);
  6389. return toValidAssetId(tag, `component`);
  6390. }
  6391. function buildProps(node, context, props = node.props, ssr = false) {
  6392. const { tag, loc: elementLoc, children } = node;
  6393. const isComponent = node.tagType === 1 /* COMPONENT */;
  6394. let properties = [];
  6395. const mergeArgs = [];
  6396. const runtimeDirectives = [];
  6397. const hasChildren = children.length > 0;
  6398. let shouldUseBlock = false;
  6399. // patchFlag analysis
  6400. let patchFlag = 0;
  6401. let hasRef = false;
  6402. let hasClassBinding = false;
  6403. let hasStyleBinding = false;
  6404. let hasHydrationEventBinding = false;
  6405. let hasDynamicKeys = false;
  6406. let hasVnodeHook = false;
  6407. const dynamicPropNames = [];
  6408. const analyzePatchFlag = ({ key, value }) => {
  6409. if (isStaticExp(key)) {
  6410. const name = key.content;
  6411. const isEventHandler = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isOn)(name);
  6412. if (!isComponent &&
  6413. isEventHandler &&
  6414. // omit the flag for click handlers because hydration gives click
  6415. // dedicated fast path.
  6416. name.toLowerCase() !== 'onclick' &&
  6417. // omit v-model handlers
  6418. name !== 'onUpdate:modelValue' &&
  6419. // omit onVnodeXXX hooks
  6420. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isReservedProp)(name)) {
  6421. hasHydrationEventBinding = true;
  6422. }
  6423. if (isEventHandler && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isReservedProp)(name)) {
  6424. hasVnodeHook = true;
  6425. }
  6426. if (value.type === 20 /* JS_CACHE_EXPRESSION */ ||
  6427. ((value.type === 4 /* SIMPLE_EXPRESSION */ ||
  6428. value.type === 8 /* COMPOUND_EXPRESSION */) &&
  6429. getConstantType(value, context) > 0)) {
  6430. // skip if the prop is a cached handler or has constant value
  6431. return;
  6432. }
  6433. if (name === 'ref') {
  6434. hasRef = true;
  6435. }
  6436. else if (name === 'class') {
  6437. hasClassBinding = true;
  6438. }
  6439. else if (name === 'style') {
  6440. hasStyleBinding = true;
  6441. }
  6442. else if (name !== 'key' && !dynamicPropNames.includes(name)) {
  6443. dynamicPropNames.push(name);
  6444. }
  6445. // treat the dynamic class and style binding of the component as dynamic props
  6446. if (isComponent &&
  6447. (name === 'class' || name === 'style') &&
  6448. !dynamicPropNames.includes(name)) {
  6449. dynamicPropNames.push(name);
  6450. }
  6451. }
  6452. else {
  6453. hasDynamicKeys = true;
  6454. }
  6455. };
  6456. for (let i = 0; i < props.length; i++) {
  6457. // static attribute
  6458. const prop = props[i];
  6459. if (prop.type === 6 /* ATTRIBUTE */) {
  6460. const { loc, name, value } = prop;
  6461. let isStatic = true;
  6462. if (name === 'ref') {
  6463. hasRef = true;
  6464. if (context.scopes.vFor > 0) {
  6465. properties.push(createObjectProperty(createSimpleExpression('ref_for', true), createSimpleExpression('true')));
  6466. }
  6467. }
  6468. // skip is on <component>, or is="vue:xxx"
  6469. if (name === 'is' &&
  6470. (isComponentTag(tag) ||
  6471. (value && value.content.startsWith('vue:')) ||
  6472. (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context)))) {
  6473. continue;
  6474. }
  6475. properties.push(createObjectProperty(createSimpleExpression(name, true, getInnerRange(loc, 0, name.length)), createSimpleExpression(value ? value.content : '', isStatic, value ? value.loc : loc)));
  6476. }
  6477. else {
  6478. // directives
  6479. const { name, arg, exp, loc } = prop;
  6480. const isVBind = name === 'bind';
  6481. const isVOn = name === 'on';
  6482. // skip v-slot - it is handled by its dedicated transform.
  6483. if (name === 'slot') {
  6484. if (!isComponent) {
  6485. context.onError(createCompilerError(40 /* X_V_SLOT_MISPLACED */, loc));
  6486. }
  6487. continue;
  6488. }
  6489. // skip v-once/v-memo - they are handled by dedicated transforms.
  6490. if (name === 'once' || name === 'memo') {
  6491. continue;
  6492. }
  6493. // skip v-is and :is on <component>
  6494. if (name === 'is' ||
  6495. (isVBind &&
  6496. isStaticArgOf(arg, 'is') &&
  6497. (isComponentTag(tag) ||
  6498. (isCompatEnabled("COMPILER_IS_ON_ELEMENT" /* COMPILER_IS_ON_ELEMENT */, context))))) {
  6499. continue;
  6500. }
  6501. // skip v-on in SSR compilation
  6502. if (isVOn && ssr) {
  6503. continue;
  6504. }
  6505. if (
  6506. // #938: elements with dynamic keys should be forced into blocks
  6507. (isVBind && isStaticArgOf(arg, 'key')) ||
  6508. // inline before-update hooks need to force block so that it is invoked
  6509. // before children
  6510. (isVOn && hasChildren && isStaticArgOf(arg, 'vue:before-update'))) {
  6511. shouldUseBlock = true;
  6512. }
  6513. if (isVBind && isStaticArgOf(arg, 'ref') && context.scopes.vFor > 0) {
  6514. properties.push(createObjectProperty(createSimpleExpression('ref_for', true), createSimpleExpression('true')));
  6515. }
  6516. // special case for v-bind and v-on with no argument
  6517. if (!arg && (isVBind || isVOn)) {
  6518. hasDynamicKeys = true;
  6519. if (exp) {
  6520. if (properties.length) {
  6521. mergeArgs.push(createObjectExpression(dedupeProperties(properties), elementLoc));
  6522. properties = [];
  6523. }
  6524. if (isVBind) {
  6525. {
  6526. // 2.x v-bind object order compat
  6527. if ((true)) {
  6528. const hasOverridableKeys = mergeArgs.some(arg => {
  6529. if (arg.type === 15 /* JS_OBJECT_EXPRESSION */) {
  6530. return arg.properties.some(({ key }) => {
  6531. if (key.type !== 4 /* SIMPLE_EXPRESSION */ ||
  6532. !key.isStatic) {
  6533. return true;
  6534. }
  6535. return (key.content !== 'class' &&
  6536. key.content !== 'style' &&
  6537. !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isOn)(key.content));
  6538. });
  6539. }
  6540. else {
  6541. // dynamic expression
  6542. return true;
  6543. }
  6544. });
  6545. if (hasOverridableKeys) {
  6546. checkCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER" /* COMPILER_V_BIND_OBJECT_ORDER */, context, loc);
  6547. }
  6548. }
  6549. if (isCompatEnabled("COMPILER_V_BIND_OBJECT_ORDER" /* COMPILER_V_BIND_OBJECT_ORDER */, context)) {
  6550. mergeArgs.unshift(exp);
  6551. continue;
  6552. }
  6553. }
  6554. mergeArgs.push(exp);
  6555. }
  6556. else {
  6557. // v-on="obj" -> toHandlers(obj)
  6558. mergeArgs.push({
  6559. type: 14 /* JS_CALL_EXPRESSION */,
  6560. loc,
  6561. callee: context.helper(TO_HANDLERS),
  6562. arguments: [exp]
  6563. });
  6564. }
  6565. }
  6566. else {
  6567. context.onError(createCompilerError(isVBind
  6568. ? 34 /* X_V_BIND_NO_EXPRESSION */
  6569. : 35 /* X_V_ON_NO_EXPRESSION */, loc));
  6570. }
  6571. continue;
  6572. }
  6573. const directiveTransform = context.directiveTransforms[name];
  6574. if (directiveTransform) {
  6575. // has built-in directive transform.
  6576. const { props, needRuntime } = directiveTransform(prop, node, context);
  6577. !ssr && props.forEach(analyzePatchFlag);
  6578. properties.push(...props);
  6579. if (needRuntime) {
  6580. runtimeDirectives.push(prop);
  6581. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(needRuntime)) {
  6582. directiveImportMap.set(prop, needRuntime);
  6583. }
  6584. }
  6585. }
  6586. else if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isBuiltInDirective)(name)) {
  6587. // no built-in transform, this is a user custom directive.
  6588. runtimeDirectives.push(prop);
  6589. // custom dirs may use beforeUpdate so they need to force blocks
  6590. // to ensure before-update gets called before children update
  6591. if (hasChildren) {
  6592. shouldUseBlock = true;
  6593. }
  6594. }
  6595. }
  6596. }
  6597. let propsExpression = undefined;
  6598. // has v-bind="object" or v-on="object", wrap with mergeProps
  6599. if (mergeArgs.length) {
  6600. if (properties.length) {
  6601. mergeArgs.push(createObjectExpression(dedupeProperties(properties), elementLoc));
  6602. }
  6603. if (mergeArgs.length > 1) {
  6604. propsExpression = createCallExpression(context.helper(MERGE_PROPS), mergeArgs, elementLoc);
  6605. }
  6606. else {
  6607. // single v-bind with nothing else - no need for a mergeProps call
  6608. propsExpression = mergeArgs[0];
  6609. }
  6610. }
  6611. else if (properties.length) {
  6612. propsExpression = createObjectExpression(dedupeProperties(properties), elementLoc);
  6613. }
  6614. // patchFlag analysis
  6615. if (hasDynamicKeys) {
  6616. patchFlag |= 16 /* FULL_PROPS */;
  6617. }
  6618. else {
  6619. if (hasClassBinding && !isComponent) {
  6620. patchFlag |= 2 /* CLASS */;
  6621. }
  6622. if (hasStyleBinding && !isComponent) {
  6623. patchFlag |= 4 /* STYLE */;
  6624. }
  6625. if (dynamicPropNames.length) {
  6626. patchFlag |= 8 /* PROPS */;
  6627. }
  6628. if (hasHydrationEventBinding) {
  6629. patchFlag |= 32 /* HYDRATE_EVENTS */;
  6630. }
  6631. }
  6632. if (!shouldUseBlock &&
  6633. (patchFlag === 0 || patchFlag === 32 /* HYDRATE_EVENTS */) &&
  6634. (hasRef || hasVnodeHook || runtimeDirectives.length > 0)) {
  6635. patchFlag |= 512 /* NEED_PATCH */;
  6636. }
  6637. // pre-normalize props, SSR is skipped for now
  6638. if (!context.inSSR && propsExpression) {
  6639. switch (propsExpression.type) {
  6640. case 15 /* JS_OBJECT_EXPRESSION */:
  6641. // means that there is no v-bind,
  6642. // but still need to deal with dynamic key binding
  6643. let classKeyIndex = -1;
  6644. let styleKeyIndex = -1;
  6645. let hasDynamicKey = false;
  6646. for (let i = 0; i < propsExpression.properties.length; i++) {
  6647. const key = propsExpression.properties[i].key;
  6648. if (isStaticExp(key)) {
  6649. if (key.content === 'class') {
  6650. classKeyIndex = i;
  6651. }
  6652. else if (key.content === 'style') {
  6653. styleKeyIndex = i;
  6654. }
  6655. }
  6656. else if (!key.isHandlerKey) {
  6657. hasDynamicKey = true;
  6658. }
  6659. }
  6660. const classProp = propsExpression.properties[classKeyIndex];
  6661. const styleProp = propsExpression.properties[styleKeyIndex];
  6662. // no dynamic key
  6663. if (!hasDynamicKey) {
  6664. if (classProp && !isStaticExp(classProp.value)) {
  6665. classProp.value = createCallExpression(context.helper(NORMALIZE_CLASS), [classProp.value]);
  6666. }
  6667. if (styleProp &&
  6668. !isStaticExp(styleProp.value) &&
  6669. // the static style is compiled into an object,
  6670. // so use `hasStyleBinding` to ensure that it is a dynamic style binding
  6671. (hasStyleBinding ||
  6672. // v-bind:style and style both exist,
  6673. // v-bind:style with static literal object
  6674. styleProp.value.type === 17 /* JS_ARRAY_EXPRESSION */)) {
  6675. styleProp.value = createCallExpression(context.helper(NORMALIZE_STYLE), [styleProp.value]);
  6676. }
  6677. }
  6678. else {
  6679. // dynamic key binding, wrap with `normalizeProps`
  6680. propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [propsExpression]);
  6681. }
  6682. break;
  6683. case 14 /* JS_CALL_EXPRESSION */:
  6684. // mergeProps call, do nothing
  6685. break;
  6686. default:
  6687. // single v-bind
  6688. propsExpression = createCallExpression(context.helper(NORMALIZE_PROPS), [
  6689. createCallExpression(context.helper(GUARD_REACTIVE_PROPS), [
  6690. propsExpression
  6691. ])
  6692. ]);
  6693. break;
  6694. }
  6695. }
  6696. return {
  6697. props: propsExpression,
  6698. directives: runtimeDirectives,
  6699. patchFlag,
  6700. dynamicPropNames,
  6701. shouldUseBlock
  6702. };
  6703. }
  6704. // Dedupe props in an object literal.
  6705. // Literal duplicated attributes would have been warned during the parse phase,
  6706. // however, it's possible to encounter duplicated `onXXX` handlers with different
  6707. // modifiers. We also need to merge static and dynamic class / style attributes.
  6708. // - onXXX handlers / style: merge into array
  6709. // - class: merge into single expression with concatenation
  6710. function dedupeProperties(properties) {
  6711. const knownProps = new Map();
  6712. const deduped = [];
  6713. for (let i = 0; i < properties.length; i++) {
  6714. const prop = properties[i];
  6715. // dynamic keys are always allowed
  6716. if (prop.key.type === 8 /* COMPOUND_EXPRESSION */ || !prop.key.isStatic) {
  6717. deduped.push(prop);
  6718. continue;
  6719. }
  6720. const name = prop.key.content;
  6721. const existing = knownProps.get(name);
  6722. if (existing) {
  6723. if (name === 'style' || name === 'class' || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isOn)(name)) {
  6724. mergeAsArray(existing, prop);
  6725. }
  6726. // unexpected duplicate, should have emitted error during parse
  6727. }
  6728. else {
  6729. knownProps.set(name, prop);
  6730. deduped.push(prop);
  6731. }
  6732. }
  6733. return deduped;
  6734. }
  6735. function mergeAsArray(existing, incoming) {
  6736. if (existing.value.type === 17 /* JS_ARRAY_EXPRESSION */) {
  6737. existing.value.elements.push(incoming.value);
  6738. }
  6739. else {
  6740. existing.value = createArrayExpression([existing.value, incoming.value], existing.loc);
  6741. }
  6742. }
  6743. function buildDirectiveArgs(dir, context) {
  6744. const dirArgs = [];
  6745. const runtime = directiveImportMap.get(dir);
  6746. if (runtime) {
  6747. // built-in directive with runtime
  6748. dirArgs.push(context.helperString(runtime));
  6749. }
  6750. else {
  6751. {
  6752. // inject statement for resolving directive
  6753. context.helper(RESOLVE_DIRECTIVE);
  6754. context.directives.add(dir.name);
  6755. dirArgs.push(toValidAssetId(dir.name, `directive`));
  6756. }
  6757. }
  6758. const { loc } = dir;
  6759. if (dir.exp)
  6760. dirArgs.push(dir.exp);
  6761. if (dir.arg) {
  6762. if (!dir.exp) {
  6763. dirArgs.push(`void 0`);
  6764. }
  6765. dirArgs.push(dir.arg);
  6766. }
  6767. if (Object.keys(dir.modifiers).length) {
  6768. if (!dir.arg) {
  6769. if (!dir.exp) {
  6770. dirArgs.push(`void 0`);
  6771. }
  6772. dirArgs.push(`void 0`);
  6773. }
  6774. const trueExpression = createSimpleExpression(`true`, false, loc);
  6775. dirArgs.push(createObjectExpression(dir.modifiers.map(modifier => createObjectProperty(modifier, trueExpression)), loc));
  6776. }
  6777. return createArrayExpression(dirArgs, dir.loc);
  6778. }
  6779. function stringifyDynamicPropNames(props) {
  6780. let propsNamesString = `[`;
  6781. for (let i = 0, l = props.length; i < l; i++) {
  6782. propsNamesString += JSON.stringify(props[i]);
  6783. if (i < l - 1)
  6784. propsNamesString += ', ';
  6785. }
  6786. return propsNamesString + `]`;
  6787. }
  6788. function isComponentTag(tag) {
  6789. return tag === 'component' || tag === 'Component';
  6790. }
  6791. ( true)
  6792. ? Object.freeze({})
  6793. : 0;
  6794. ( true) ? Object.freeze([]) : 0;
  6795. const cacheStringFunction = (fn) => {
  6796. const cache = Object.create(null);
  6797. return ((str) => {
  6798. const hit = cache[str];
  6799. return hit || (cache[str] = fn(str));
  6800. });
  6801. };
  6802. const camelizeRE = /-(\w)/g;
  6803. /**
  6804. * @private
  6805. */
  6806. const camelize = cacheStringFunction((str) => {
  6807. return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));
  6808. });
  6809. const transformSlotOutlet = (node, context) => {
  6810. if (isSlotOutlet(node)) {
  6811. const { children, loc } = node;
  6812. const { slotName, slotProps } = processSlotOutlet(node, context);
  6813. const slotArgs = [
  6814. context.prefixIdentifiers ? `_ctx.$slots` : `$slots`,
  6815. slotName,
  6816. '{}',
  6817. 'undefined',
  6818. 'true'
  6819. ];
  6820. let expectedLen = 2;
  6821. if (slotProps) {
  6822. slotArgs[2] = slotProps;
  6823. expectedLen = 3;
  6824. }
  6825. if (children.length) {
  6826. slotArgs[3] = createFunctionExpression([], children, false, false, loc);
  6827. expectedLen = 4;
  6828. }
  6829. if (context.scopeId && !context.slotted) {
  6830. expectedLen = 5;
  6831. }
  6832. slotArgs.splice(expectedLen); // remove unused arguments
  6833. node.codegenNode = createCallExpression(context.helper(RENDER_SLOT), slotArgs, loc);
  6834. }
  6835. };
  6836. function processSlotOutlet(node, context) {
  6837. let slotName = `"default"`;
  6838. let slotProps = undefined;
  6839. const nonNameProps = [];
  6840. for (let i = 0; i < node.props.length; i++) {
  6841. const p = node.props[i];
  6842. if (p.type === 6 /* ATTRIBUTE */) {
  6843. if (p.value) {
  6844. if (p.name === 'name') {
  6845. slotName = JSON.stringify(p.value.content);
  6846. }
  6847. else {
  6848. p.name = camelize(p.name);
  6849. nonNameProps.push(p);
  6850. }
  6851. }
  6852. }
  6853. else {
  6854. if (p.name === 'bind' && isStaticArgOf(p.arg, 'name')) {
  6855. if (p.exp)
  6856. slotName = p.exp;
  6857. }
  6858. else {
  6859. if (p.name === 'bind' && p.arg && isStaticExp(p.arg)) {
  6860. p.arg.content = camelize(p.arg.content);
  6861. }
  6862. nonNameProps.push(p);
  6863. }
  6864. }
  6865. }
  6866. if (nonNameProps.length > 0) {
  6867. const { props, directives } = buildProps(node, context, nonNameProps);
  6868. slotProps = props;
  6869. if (directives.length) {
  6870. context.onError(createCompilerError(36 /* X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET */, directives[0].loc));
  6871. }
  6872. }
  6873. return {
  6874. slotName,
  6875. slotProps
  6876. };
  6877. }
  6878. const fnExpRE = /^\s*([\w$_]+|(async\s*)?\([^)]*?\))\s*=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/;
  6879. const transformOn = (dir, node, context, augmentor) => {
  6880. const { loc, modifiers, arg } = dir;
  6881. if (!dir.exp && !modifiers.length) {
  6882. context.onError(createCompilerError(35 /* X_V_ON_NO_EXPRESSION */, loc));
  6883. }
  6884. let eventName;
  6885. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  6886. if (arg.isStatic) {
  6887. let rawName = arg.content;
  6888. // TODO deprecate @vnodeXXX usage
  6889. if (rawName.startsWith('vue:')) {
  6890. rawName = `vnode-${rawName.slice(4)}`;
  6891. }
  6892. // for all event listeners, auto convert it to camelCase. See issue #2249
  6893. eventName = createSimpleExpression((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.camelize)(rawName)), true, arg.loc);
  6894. }
  6895. else {
  6896. // #2388
  6897. eventName = createCompoundExpression([
  6898. `${context.helperString(TO_HANDLER_KEY)}(`,
  6899. arg,
  6900. `)`
  6901. ]);
  6902. }
  6903. }
  6904. else {
  6905. // already a compound expression.
  6906. eventName = arg;
  6907. eventName.children.unshift(`${context.helperString(TO_HANDLER_KEY)}(`);
  6908. eventName.children.push(`)`);
  6909. }
  6910. // handler processing
  6911. let exp = dir.exp;
  6912. if (exp && !exp.content.trim()) {
  6913. exp = undefined;
  6914. }
  6915. let shouldCache = context.cacheHandlers && !exp && !context.inVOnce;
  6916. if (exp) {
  6917. const isMemberExp = isMemberExpression(exp.content);
  6918. const isInlineStatement = !(isMemberExp || fnExpRE.test(exp.content));
  6919. const hasMultipleStatements = exp.content.includes(`;`);
  6920. if (true) {
  6921. validateBrowserExpression(exp, context, false, hasMultipleStatements);
  6922. }
  6923. if (isInlineStatement || (shouldCache && isMemberExp)) {
  6924. // wrap inline statement in a function expression
  6925. exp = createCompoundExpression([
  6926. `${isInlineStatement
  6927. ? `$event`
  6928. : `${``}(...args)`} => ${hasMultipleStatements ? `{` : `(`}`,
  6929. exp,
  6930. hasMultipleStatements ? `}` : `)`
  6931. ]);
  6932. }
  6933. }
  6934. let ret = {
  6935. props: [
  6936. createObjectProperty(eventName, exp || createSimpleExpression(`() => {}`, false, loc))
  6937. ]
  6938. };
  6939. // apply extended compiler augmentor
  6940. if (augmentor) {
  6941. ret = augmentor(ret);
  6942. }
  6943. if (shouldCache) {
  6944. // cache handlers so that it's always the same handler being passed down.
  6945. // this avoids unnecessary re-renders when users use inline handlers on
  6946. // components.
  6947. ret.props[0].value = context.cache(ret.props[0].value);
  6948. }
  6949. // mark the key as handler for props normalization check
  6950. ret.props.forEach(p => (p.key.isHandlerKey = true));
  6951. return ret;
  6952. };
  6953. // v-bind without arg is handled directly in ./transformElements.ts due to it affecting
  6954. // codegen for the entire props object. This transform here is only for v-bind
  6955. // *with* args.
  6956. const transformBind = (dir, _node, context) => {
  6957. const { exp, modifiers, loc } = dir;
  6958. const arg = dir.arg;
  6959. if (arg.type !== 4 /* SIMPLE_EXPRESSION */) {
  6960. arg.children.unshift(`(`);
  6961. arg.children.push(`) || ""`);
  6962. }
  6963. else if (!arg.isStatic) {
  6964. arg.content = `${arg.content} || ""`;
  6965. }
  6966. // .sync is replaced by v-model:arg
  6967. if (modifiers.includes('camel')) {
  6968. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  6969. if (arg.isStatic) {
  6970. arg.content = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.camelize)(arg.content);
  6971. }
  6972. else {
  6973. arg.content = `${context.helperString(CAMELIZE)}(${arg.content})`;
  6974. }
  6975. }
  6976. else {
  6977. arg.children.unshift(`${context.helperString(CAMELIZE)}(`);
  6978. arg.children.push(`)`);
  6979. }
  6980. }
  6981. if (!context.inSSR) {
  6982. if (modifiers.includes('prop')) {
  6983. injectPrefix(arg, '.');
  6984. }
  6985. if (modifiers.includes('attr')) {
  6986. injectPrefix(arg, '^');
  6987. }
  6988. }
  6989. if (!exp ||
  6990. (exp.type === 4 /* SIMPLE_EXPRESSION */ && !exp.content.trim())) {
  6991. context.onError(createCompilerError(34 /* X_V_BIND_NO_EXPRESSION */, loc));
  6992. return {
  6993. props: [createObjectProperty(arg, createSimpleExpression('', true, loc))]
  6994. };
  6995. }
  6996. return {
  6997. props: [createObjectProperty(arg, exp)]
  6998. };
  6999. };
  7000. const injectPrefix = (arg, prefix) => {
  7001. if (arg.type === 4 /* SIMPLE_EXPRESSION */) {
  7002. if (arg.isStatic) {
  7003. arg.content = prefix + arg.content;
  7004. }
  7005. else {
  7006. arg.content = `\`${prefix}\${${arg.content}}\``;
  7007. }
  7008. }
  7009. else {
  7010. arg.children.unshift(`'${prefix}' + (`);
  7011. arg.children.push(`)`);
  7012. }
  7013. };
  7014. // Merge adjacent text nodes and expressions into a single expression
  7015. // e.g. <div>abc {{ d }} {{ e }}</div> should have a single expression node as child.
  7016. const transformText = (node, context) => {
  7017. if (node.type === 0 /* ROOT */ ||
  7018. node.type === 1 /* ELEMENT */ ||
  7019. node.type === 11 /* FOR */ ||
  7020. node.type === 10 /* IF_BRANCH */) {
  7021. // perform the transform on node exit so that all expressions have already
  7022. // been processed.
  7023. return () => {
  7024. const children = node.children;
  7025. let currentContainer = undefined;
  7026. let hasText = false;
  7027. for (let i = 0; i < children.length; i++) {
  7028. const child = children[i];
  7029. if (isText(child)) {
  7030. hasText = true;
  7031. for (let j = i + 1; j < children.length; j++) {
  7032. const next = children[j];
  7033. if (isText(next)) {
  7034. if (!currentContainer) {
  7035. currentContainer = children[i] = {
  7036. type: 8 /* COMPOUND_EXPRESSION */,
  7037. loc: child.loc,
  7038. children: [child]
  7039. };
  7040. }
  7041. // merge adjacent text node into current
  7042. currentContainer.children.push(` + `, next);
  7043. children.splice(j, 1);
  7044. j--;
  7045. }
  7046. else {
  7047. currentContainer = undefined;
  7048. break;
  7049. }
  7050. }
  7051. }
  7052. }
  7053. if (!hasText ||
  7054. // if this is a plain element with a single text child, leave it
  7055. // as-is since the runtime has dedicated fast path for this by directly
  7056. // setting textContent of the element.
  7057. // for component root it's always normalized anyway.
  7058. (children.length === 1 &&
  7059. (node.type === 0 /* ROOT */ ||
  7060. (node.type === 1 /* ELEMENT */ &&
  7061. node.tagType === 0 /* ELEMENT */ &&
  7062. // #3756
  7063. // custom directives can potentially add DOM elements arbitrarily,
  7064. // we need to avoid setting textContent of the element at runtime
  7065. // to avoid accidentally overwriting the DOM elements added
  7066. // by the user through custom directives.
  7067. !node.props.find(p => p.type === 7 /* DIRECTIVE */ &&
  7068. !context.directiveTransforms[p.name]) &&
  7069. // in compat mode, <template> tags with no special directives
  7070. // will be rendered as a fragment so its children must be
  7071. // converted into vnodes.
  7072. !(node.tag === 'template'))))) {
  7073. return;
  7074. }
  7075. // pre-convert text nodes into createTextVNode(text) calls to avoid
  7076. // runtime normalization.
  7077. for (let i = 0; i < children.length; i++) {
  7078. const child = children[i];
  7079. if (isText(child) || child.type === 8 /* COMPOUND_EXPRESSION */) {
  7080. const callArgs = [];
  7081. // createTextVNode defaults to single whitespace, so if it is a
  7082. // single space the code could be an empty call to save bytes.
  7083. if (child.type !== 2 /* TEXT */ || child.content !== ' ') {
  7084. callArgs.push(child);
  7085. }
  7086. // mark dynamic text with flag so it gets patched inside a block
  7087. if (!context.ssr &&
  7088. getConstantType(child, context) === 0 /* NOT_CONSTANT */) {
  7089. callArgs.push(1 /* TEXT */ +
  7090. (( true) ? ` /* ${_vue_shared__WEBPACK_IMPORTED_MODULE_0__.PatchFlagNames[1]} */` : 0));
  7091. }
  7092. children[i] = {
  7093. type: 12 /* TEXT_CALL */,
  7094. content: child,
  7095. loc: child.loc,
  7096. codegenNode: createCallExpression(context.helper(CREATE_TEXT), callArgs)
  7097. };
  7098. }
  7099. }
  7100. };
  7101. }
  7102. };
  7103. const seen = new WeakSet();
  7104. const transformOnce = (node, context) => {
  7105. if (node.type === 1 /* ELEMENT */ && findDir(node, 'once', true)) {
  7106. if (seen.has(node) || context.inVOnce) {
  7107. return;
  7108. }
  7109. seen.add(node);
  7110. context.inVOnce = true;
  7111. context.helper(SET_BLOCK_TRACKING);
  7112. return () => {
  7113. context.inVOnce = false;
  7114. const cur = context.currentNode;
  7115. if (cur.codegenNode) {
  7116. cur.codegenNode = context.cache(cur.codegenNode, true /* isVNode */);
  7117. }
  7118. };
  7119. }
  7120. };
  7121. const transformModel = (dir, node, context) => {
  7122. const { exp, arg } = dir;
  7123. if (!exp) {
  7124. context.onError(createCompilerError(41 /* X_V_MODEL_NO_EXPRESSION */, dir.loc));
  7125. return createTransformProps();
  7126. }
  7127. const rawExp = exp.loc.source;
  7128. const expString = exp.type === 4 /* SIMPLE_EXPRESSION */ ? exp.content : rawExp;
  7129. // im SFC <script setup> inline mode, the exp may have been transformed into
  7130. // _unref(exp)
  7131. context.bindingMetadata[rawExp];
  7132. const maybeRef = !true /* SETUP_CONST */;
  7133. if (!expString.trim() ||
  7134. (!isMemberExpression(expString) && !maybeRef)) {
  7135. context.onError(createCompilerError(42 /* X_V_MODEL_MALFORMED_EXPRESSION */, exp.loc));
  7136. return createTransformProps();
  7137. }
  7138. const propName = arg ? arg : createSimpleExpression('modelValue', true);
  7139. const eventName = arg
  7140. ? isStaticExp(arg)
  7141. ? `onUpdate:${arg.content}`
  7142. : createCompoundExpression(['"onUpdate:" + ', arg])
  7143. : `onUpdate:modelValue`;
  7144. let assignmentExp;
  7145. const eventArg = context.isTS ? `($event: any)` : `$event`;
  7146. {
  7147. assignmentExp = createCompoundExpression([
  7148. `${eventArg} => ((`,
  7149. exp,
  7150. `) = $event)`
  7151. ]);
  7152. }
  7153. const props = [
  7154. // modelValue: foo
  7155. createObjectProperty(propName, dir.exp),
  7156. // "onUpdate:modelValue": $event => (foo = $event)
  7157. createObjectProperty(eventName, assignmentExp)
  7158. ];
  7159. // modelModifiers: { foo: true, "bar-baz": true }
  7160. if (dir.modifiers.length && node.tagType === 1 /* COMPONENT */) {
  7161. const modifiers = dir.modifiers
  7162. .map(m => (isSimpleIdentifier(m) ? m : JSON.stringify(m)) + `: true`)
  7163. .join(`, `);
  7164. const modifiersKey = arg
  7165. ? isStaticExp(arg)
  7166. ? `${arg.content}Modifiers`
  7167. : createCompoundExpression([arg, ' + "Modifiers"'])
  7168. : `modelModifiers`;
  7169. props.push(createObjectProperty(modifiersKey, createSimpleExpression(`{ ${modifiers} }`, false, dir.loc, 2 /* CAN_HOIST */)));
  7170. }
  7171. return createTransformProps(props);
  7172. };
  7173. function createTransformProps(props = []) {
  7174. return { props };
  7175. }
  7176. const validDivisionCharRE = /[\w).+\-_$\]]/;
  7177. const transformFilter = (node, context) => {
  7178. if (!isCompatEnabled("COMPILER_FILTER" /* COMPILER_FILTERS */, context)) {
  7179. return;
  7180. }
  7181. if (node.type === 5 /* INTERPOLATION */) {
  7182. // filter rewrite is applied before expression transform so only
  7183. // simple expressions are possible at this stage
  7184. rewriteFilter(node.content, context);
  7185. }
  7186. if (node.type === 1 /* ELEMENT */) {
  7187. node.props.forEach((prop) => {
  7188. if (prop.type === 7 /* DIRECTIVE */ &&
  7189. prop.name !== 'for' &&
  7190. prop.exp) {
  7191. rewriteFilter(prop.exp, context);
  7192. }
  7193. });
  7194. }
  7195. };
  7196. function rewriteFilter(node, context) {
  7197. if (node.type === 4 /* SIMPLE_EXPRESSION */) {
  7198. parseFilter(node, context);
  7199. }
  7200. else {
  7201. for (let i = 0; i < node.children.length; i++) {
  7202. const child = node.children[i];
  7203. if (typeof child !== 'object')
  7204. continue;
  7205. if (child.type === 4 /* SIMPLE_EXPRESSION */) {
  7206. parseFilter(child, context);
  7207. }
  7208. else if (child.type === 8 /* COMPOUND_EXPRESSION */) {
  7209. rewriteFilter(node, context);
  7210. }
  7211. else if (child.type === 5 /* INTERPOLATION */) {
  7212. rewriteFilter(child.content, context);
  7213. }
  7214. }
  7215. }
  7216. }
  7217. function parseFilter(node, context) {
  7218. const exp = node.content;
  7219. let inSingle = false;
  7220. let inDouble = false;
  7221. let inTemplateString = false;
  7222. let inRegex = false;
  7223. let curly = 0;
  7224. let square = 0;
  7225. let paren = 0;
  7226. let lastFilterIndex = 0;
  7227. let c, prev, i, expression, filters = [];
  7228. for (i = 0; i < exp.length; i++) {
  7229. prev = c;
  7230. c = exp.charCodeAt(i);
  7231. if (inSingle) {
  7232. if (c === 0x27 && prev !== 0x5c)
  7233. inSingle = false;
  7234. }
  7235. else if (inDouble) {
  7236. if (c === 0x22 && prev !== 0x5c)
  7237. inDouble = false;
  7238. }
  7239. else if (inTemplateString) {
  7240. if (c === 0x60 && prev !== 0x5c)
  7241. inTemplateString = false;
  7242. }
  7243. else if (inRegex) {
  7244. if (c === 0x2f && prev !== 0x5c)
  7245. inRegex = false;
  7246. }
  7247. else if (c === 0x7c && // pipe
  7248. exp.charCodeAt(i + 1) !== 0x7c &&
  7249. exp.charCodeAt(i - 1) !== 0x7c &&
  7250. !curly &&
  7251. !square &&
  7252. !paren) {
  7253. if (expression === undefined) {
  7254. // first filter, end of expression
  7255. lastFilterIndex = i + 1;
  7256. expression = exp.slice(0, i).trim();
  7257. }
  7258. else {
  7259. pushFilter();
  7260. }
  7261. }
  7262. else {
  7263. switch (c) {
  7264. case 0x22:
  7265. inDouble = true;
  7266. break; // "
  7267. case 0x27:
  7268. inSingle = true;
  7269. break; // '
  7270. case 0x60:
  7271. inTemplateString = true;
  7272. break; // `
  7273. case 0x28:
  7274. paren++;
  7275. break; // (
  7276. case 0x29:
  7277. paren--;
  7278. break; // )
  7279. case 0x5b:
  7280. square++;
  7281. break; // [
  7282. case 0x5d:
  7283. square--;
  7284. break; // ]
  7285. case 0x7b:
  7286. curly++;
  7287. break; // {
  7288. case 0x7d:
  7289. curly--;
  7290. break; // }
  7291. }
  7292. if (c === 0x2f) {
  7293. // /
  7294. let j = i - 1;
  7295. let p;
  7296. // find first non-whitespace prev char
  7297. for (; j >= 0; j--) {
  7298. p = exp.charAt(j);
  7299. if (p !== ' ')
  7300. break;
  7301. }
  7302. if (!p || !validDivisionCharRE.test(p)) {
  7303. inRegex = true;
  7304. }
  7305. }
  7306. }
  7307. }
  7308. if (expression === undefined) {
  7309. expression = exp.slice(0, i).trim();
  7310. }
  7311. else if (lastFilterIndex !== 0) {
  7312. pushFilter();
  7313. }
  7314. function pushFilter() {
  7315. filters.push(exp.slice(lastFilterIndex, i).trim());
  7316. lastFilterIndex = i + 1;
  7317. }
  7318. if (filters.length) {
  7319. ( true) &&
  7320. warnDeprecation("COMPILER_FILTER" /* COMPILER_FILTERS */, context, node.loc);
  7321. for (i = 0; i < filters.length; i++) {
  7322. expression = wrapFilter(expression, filters[i], context);
  7323. }
  7324. node.content = expression;
  7325. }
  7326. }
  7327. function wrapFilter(exp, filter, context) {
  7328. context.helper(RESOLVE_FILTER);
  7329. const i = filter.indexOf('(');
  7330. if (i < 0) {
  7331. context.filters.add(filter);
  7332. return `${toValidAssetId(filter, 'filter')}(${exp})`;
  7333. }
  7334. else {
  7335. const name = filter.slice(0, i);
  7336. const args = filter.slice(i + 1);
  7337. context.filters.add(name);
  7338. return `${toValidAssetId(name, 'filter')}(${exp}${args !== ')' ? ',' + args : args}`;
  7339. }
  7340. }
  7341. const seen$1 = new WeakSet();
  7342. const transformMemo = (node, context) => {
  7343. if (node.type === 1 /* ELEMENT */) {
  7344. const dir = findDir(node, 'memo');
  7345. if (!dir || seen$1.has(node)) {
  7346. return;
  7347. }
  7348. seen$1.add(node);
  7349. return () => {
  7350. const codegenNode = node.codegenNode ||
  7351. context.currentNode.codegenNode;
  7352. if (codegenNode && codegenNode.type === 13 /* VNODE_CALL */) {
  7353. // non-component sub tree should be turned into a block
  7354. if (node.tagType !== 1 /* COMPONENT */) {
  7355. makeBlock(codegenNode, context);
  7356. }
  7357. node.codegenNode = createCallExpression(context.helper(WITH_MEMO), [
  7358. dir.exp,
  7359. createFunctionExpression(undefined, codegenNode),
  7360. `_cache`,
  7361. String(context.cached++)
  7362. ]);
  7363. }
  7364. };
  7365. }
  7366. };
  7367. function getBaseTransformPreset(prefixIdentifiers) {
  7368. return [
  7369. [
  7370. transformOnce,
  7371. transformIf,
  7372. transformMemo,
  7373. transformFor,
  7374. ...([transformFilter] ),
  7375. ...(( true)
  7376. ? [transformExpression]
  7377. : 0),
  7378. transformSlotOutlet,
  7379. transformElement,
  7380. trackSlotScopes,
  7381. transformText
  7382. ],
  7383. {
  7384. on: transformOn,
  7385. bind: transformBind,
  7386. model: transformModel
  7387. }
  7388. ];
  7389. }
  7390. // we name it `baseCompile` so that higher order compilers like
  7391. // @vue/compiler-dom can export `compile` while re-exporting everything else.
  7392. function baseCompile(template, options = {}) {
  7393. const onError = options.onError || defaultOnError;
  7394. const isModuleMode = options.mode === 'module';
  7395. /* istanbul ignore if */
  7396. {
  7397. if (options.prefixIdentifiers === true) {
  7398. onError(createCompilerError(46 /* X_PREFIX_ID_NOT_SUPPORTED */));
  7399. }
  7400. else if (isModuleMode) {
  7401. onError(createCompilerError(47 /* X_MODULE_MODE_NOT_SUPPORTED */));
  7402. }
  7403. }
  7404. const prefixIdentifiers = !true ;
  7405. if (options.cacheHandlers) {
  7406. onError(createCompilerError(48 /* X_CACHE_HANDLER_NOT_SUPPORTED */));
  7407. }
  7408. if (options.scopeId && !isModuleMode) {
  7409. onError(createCompilerError(49 /* X_SCOPE_ID_NOT_SUPPORTED */));
  7410. }
  7411. const ast = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isString)(template) ? baseParse(template, options) : template;
  7412. const [nodeTransforms, directiveTransforms] = getBaseTransformPreset();
  7413. transform(ast, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, options, {
  7414. prefixIdentifiers,
  7415. nodeTransforms: [
  7416. ...nodeTransforms,
  7417. ...(options.nodeTransforms || []) // user transforms
  7418. ],
  7419. directiveTransforms: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, directiveTransforms, options.directiveTransforms || {} // user transforms
  7420. )
  7421. }));
  7422. return generate(ast, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, options, {
  7423. prefixIdentifiers
  7424. }));
  7425. }
  7426. const noopDirectiveTransform = () => ({ props: [] });
  7427. /***/ }),
  7428. /***/ "./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js":
  7429. /*!*************************************************************************!*\
  7430. !*** ./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js ***!
  7431. \*************************************************************************/
  7432. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  7433. "use strict";
  7434. __webpack_require__.r(__webpack_exports__);
  7435. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  7436. /* harmony export */ "BASE_TRANSITION": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.BASE_TRANSITION),
  7437. /* harmony export */ "CAMELIZE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CAMELIZE),
  7438. /* harmony export */ "CAPITALIZE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CAPITALIZE),
  7439. /* harmony export */ "CREATE_BLOCK": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_BLOCK),
  7440. /* harmony export */ "CREATE_COMMENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_COMMENT),
  7441. /* harmony export */ "CREATE_ELEMENT_BLOCK": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_ELEMENT_BLOCK),
  7442. /* harmony export */ "CREATE_ELEMENT_VNODE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_ELEMENT_VNODE),
  7443. /* harmony export */ "CREATE_SLOTS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_SLOTS),
  7444. /* harmony export */ "CREATE_STATIC": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_STATIC),
  7445. /* harmony export */ "CREATE_TEXT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_TEXT),
  7446. /* harmony export */ "CREATE_VNODE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.CREATE_VNODE),
  7447. /* harmony export */ "FRAGMENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.FRAGMENT),
  7448. /* harmony export */ "GUARD_REACTIVE_PROPS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.GUARD_REACTIVE_PROPS),
  7449. /* harmony export */ "IS_MEMO_SAME": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.IS_MEMO_SAME),
  7450. /* harmony export */ "IS_REF": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.IS_REF),
  7451. /* harmony export */ "KEEP_ALIVE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.KEEP_ALIVE),
  7452. /* harmony export */ "MERGE_PROPS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.MERGE_PROPS),
  7453. /* harmony export */ "NORMALIZE_CLASS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.NORMALIZE_CLASS),
  7454. /* harmony export */ "NORMALIZE_PROPS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.NORMALIZE_PROPS),
  7455. /* harmony export */ "NORMALIZE_STYLE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.NORMALIZE_STYLE),
  7456. /* harmony export */ "OPEN_BLOCK": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.OPEN_BLOCK),
  7457. /* harmony export */ "POP_SCOPE_ID": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.POP_SCOPE_ID),
  7458. /* harmony export */ "PUSH_SCOPE_ID": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.PUSH_SCOPE_ID),
  7459. /* harmony export */ "RENDER_LIST": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RENDER_LIST),
  7460. /* harmony export */ "RENDER_SLOT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RENDER_SLOT),
  7461. /* harmony export */ "RESOLVE_COMPONENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_COMPONENT),
  7462. /* harmony export */ "RESOLVE_DIRECTIVE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_DIRECTIVE),
  7463. /* harmony export */ "RESOLVE_DYNAMIC_COMPONENT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_DYNAMIC_COMPONENT),
  7464. /* harmony export */ "RESOLVE_FILTER": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.RESOLVE_FILTER),
  7465. /* harmony export */ "SET_BLOCK_TRACKING": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.SET_BLOCK_TRACKING),
  7466. /* harmony export */ "SUSPENSE": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.SUSPENSE),
  7467. /* harmony export */ "TELEPORT": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TELEPORT),
  7468. /* harmony export */ "TO_DISPLAY_STRING": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_DISPLAY_STRING),
  7469. /* harmony export */ "TO_HANDLERS": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_HANDLERS),
  7470. /* harmony export */ "TO_HANDLER_KEY": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_HANDLER_KEY),
  7471. /* harmony export */ "UNREF": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.UNREF),
  7472. /* harmony export */ "WITH_CTX": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.WITH_CTX),
  7473. /* harmony export */ "WITH_DIRECTIVES": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.WITH_DIRECTIVES),
  7474. /* harmony export */ "WITH_MEMO": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.WITH_MEMO),
  7475. /* harmony export */ "advancePositionWithClone": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.advancePositionWithClone),
  7476. /* harmony export */ "advancePositionWithMutation": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.advancePositionWithMutation),
  7477. /* harmony export */ "assert": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.assert),
  7478. /* harmony export */ "baseCompile": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseCompile),
  7479. /* harmony export */ "baseParse": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseParse),
  7480. /* harmony export */ "buildDirectiveArgs": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.buildDirectiveArgs),
  7481. /* harmony export */ "buildProps": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.buildProps),
  7482. /* harmony export */ "buildSlots": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.buildSlots),
  7483. /* harmony export */ "checkCompatEnabled": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.checkCompatEnabled),
  7484. /* harmony export */ "createArrayExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createArrayExpression),
  7485. /* harmony export */ "createAssignmentExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createAssignmentExpression),
  7486. /* harmony export */ "createBlockStatement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createBlockStatement),
  7487. /* harmony export */ "createCacheExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCacheExpression),
  7488. /* harmony export */ "createCallExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression),
  7489. /* harmony export */ "createCompilerError": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompilerError),
  7490. /* harmony export */ "createCompoundExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompoundExpression),
  7491. /* harmony export */ "createConditionalExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createConditionalExpression),
  7492. /* harmony export */ "createForLoopParams": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createForLoopParams),
  7493. /* harmony export */ "createFunctionExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createFunctionExpression),
  7494. /* harmony export */ "createIfStatement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createIfStatement),
  7495. /* harmony export */ "createInterpolation": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createInterpolation),
  7496. /* harmony export */ "createObjectExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectExpression),
  7497. /* harmony export */ "createObjectProperty": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty),
  7498. /* harmony export */ "createReturnStatement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createReturnStatement),
  7499. /* harmony export */ "createRoot": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createRoot),
  7500. /* harmony export */ "createSequenceExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSequenceExpression),
  7501. /* harmony export */ "createSimpleExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression),
  7502. /* harmony export */ "createStructuralDirectiveTransform": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createStructuralDirectiveTransform),
  7503. /* harmony export */ "createTemplateLiteral": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createTemplateLiteral),
  7504. /* harmony export */ "createTransformContext": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createTransformContext),
  7505. /* harmony export */ "createVNodeCall": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createVNodeCall),
  7506. /* harmony export */ "extractIdentifiers": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.extractIdentifiers),
  7507. /* harmony export */ "findDir": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findDir),
  7508. /* harmony export */ "findProp": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findProp),
  7509. /* harmony export */ "generate": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.generate),
  7510. /* harmony export */ "generateCodeFrame": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.generateCodeFrame),
  7511. /* harmony export */ "getBaseTransformPreset": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getBaseTransformPreset),
  7512. /* harmony export */ "getInnerRange": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getInnerRange),
  7513. /* harmony export */ "getMemoedVNodeCall": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getMemoedVNodeCall),
  7514. /* harmony export */ "getVNodeBlockHelper": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getVNodeBlockHelper),
  7515. /* harmony export */ "getVNodeHelper": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.getVNodeHelper),
  7516. /* harmony export */ "hasDynamicKeyVBind": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.hasDynamicKeyVBind),
  7517. /* harmony export */ "hasScopeRef": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.hasScopeRef),
  7518. /* harmony export */ "helperNameMap": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.helperNameMap),
  7519. /* harmony export */ "injectProp": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.injectProp),
  7520. /* harmony export */ "isBuiltInType": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isBuiltInType),
  7521. /* harmony export */ "isCoreComponent": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isCoreComponent),
  7522. /* harmony export */ "isFunctionType": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isFunctionType),
  7523. /* harmony export */ "isInDestructureAssignment": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isInDestructureAssignment),
  7524. /* harmony export */ "isMemberExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isMemberExpression),
  7525. /* harmony export */ "isMemberExpressionBrowser": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isMemberExpressionBrowser),
  7526. /* harmony export */ "isMemberExpressionNode": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isMemberExpressionNode),
  7527. /* harmony export */ "isReferencedIdentifier": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isReferencedIdentifier),
  7528. /* harmony export */ "isSimpleIdentifier": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isSimpleIdentifier),
  7529. /* harmony export */ "isSlotOutlet": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isSlotOutlet),
  7530. /* harmony export */ "isStaticArgOf": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticArgOf),
  7531. /* harmony export */ "isStaticExp": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp),
  7532. /* harmony export */ "isStaticProperty": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticProperty),
  7533. /* harmony export */ "isStaticPropertyKey": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticPropertyKey),
  7534. /* harmony export */ "isTemplateNode": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isTemplateNode),
  7535. /* harmony export */ "isText": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isText),
  7536. /* harmony export */ "isVSlot": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isVSlot),
  7537. /* harmony export */ "locStub": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.locStub),
  7538. /* harmony export */ "makeBlock": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.makeBlock),
  7539. /* harmony export */ "noopDirectiveTransform": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.noopDirectiveTransform),
  7540. /* harmony export */ "processExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processExpression),
  7541. /* harmony export */ "processFor": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processFor),
  7542. /* harmony export */ "processIf": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processIf),
  7543. /* harmony export */ "processSlotOutlet": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.processSlotOutlet),
  7544. /* harmony export */ "registerRuntimeHelpers": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeHelpers),
  7545. /* harmony export */ "resolveComponentType": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.resolveComponentType),
  7546. /* harmony export */ "toValidAssetId": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.toValidAssetId),
  7547. /* harmony export */ "trackSlotScopes": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.trackSlotScopes),
  7548. /* harmony export */ "trackVForSlotScopes": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.trackVForSlotScopes),
  7549. /* harmony export */ "transform": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transform),
  7550. /* harmony export */ "transformBind": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformBind),
  7551. /* harmony export */ "transformElement": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformElement),
  7552. /* harmony export */ "transformExpression": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformExpression),
  7553. /* harmony export */ "transformModel": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformModel),
  7554. /* harmony export */ "transformOn": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformOn),
  7555. /* harmony export */ "traverseNode": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.traverseNode),
  7556. /* harmony export */ "walkBlockDeclarations": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.walkBlockDeclarations),
  7557. /* harmony export */ "walkFunctionParams": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.walkFunctionParams),
  7558. /* harmony export */ "walkIdentifiers": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.walkIdentifiers),
  7559. /* harmony export */ "warnDeprecation": () => (/* reexport safe */ _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.warnDeprecation),
  7560. /* harmony export */ "DOMDirectiveTransforms": () => (/* binding */ DOMDirectiveTransforms),
  7561. /* harmony export */ "DOMNodeTransforms": () => (/* binding */ DOMNodeTransforms),
  7562. /* harmony export */ "TRANSITION": () => (/* binding */ TRANSITION),
  7563. /* harmony export */ "TRANSITION_GROUP": () => (/* binding */ TRANSITION_GROUP),
  7564. /* harmony export */ "V_MODEL_CHECKBOX": () => (/* binding */ V_MODEL_CHECKBOX),
  7565. /* harmony export */ "V_MODEL_DYNAMIC": () => (/* binding */ V_MODEL_DYNAMIC),
  7566. /* harmony export */ "V_MODEL_RADIO": () => (/* binding */ V_MODEL_RADIO),
  7567. /* harmony export */ "V_MODEL_SELECT": () => (/* binding */ V_MODEL_SELECT),
  7568. /* harmony export */ "V_MODEL_TEXT": () => (/* binding */ V_MODEL_TEXT),
  7569. /* harmony export */ "V_ON_WITH_KEYS": () => (/* binding */ V_ON_WITH_KEYS),
  7570. /* harmony export */ "V_ON_WITH_MODIFIERS": () => (/* binding */ V_ON_WITH_MODIFIERS),
  7571. /* harmony export */ "V_SHOW": () => (/* binding */ V_SHOW),
  7572. /* harmony export */ "compile": () => (/* binding */ compile),
  7573. /* harmony export */ "createDOMCompilerError": () => (/* binding */ createDOMCompilerError),
  7574. /* harmony export */ "parse": () => (/* binding */ parse),
  7575. /* harmony export */ "parserOptions": () => (/* binding */ parserOptions),
  7576. /* harmony export */ "transformStyle": () => (/* binding */ transformStyle)
  7577. /* harmony export */ });
  7578. /* harmony import */ var _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/compiler-core */ "./node_modules/@vue/compiler-core/dist/compiler-core.esm-bundler.js");
  7579. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  7580. const V_MODEL_RADIO = Symbol(( true) ? `vModelRadio` : 0);
  7581. const V_MODEL_CHECKBOX = Symbol(( true) ? `vModelCheckbox` : 0);
  7582. const V_MODEL_TEXT = Symbol(( true) ? `vModelText` : 0);
  7583. const V_MODEL_SELECT = Symbol(( true) ? `vModelSelect` : 0);
  7584. const V_MODEL_DYNAMIC = Symbol(( true) ? `vModelDynamic` : 0);
  7585. const V_ON_WITH_MODIFIERS = Symbol(( true) ? `vOnModifiersGuard` : 0);
  7586. const V_ON_WITH_KEYS = Symbol(( true) ? `vOnKeysGuard` : 0);
  7587. const V_SHOW = Symbol(( true) ? `vShow` : 0);
  7588. const TRANSITION = Symbol(( true) ? `Transition` : 0);
  7589. const TRANSITION_GROUP = Symbol(( true) ? `TransitionGroup` : 0);
  7590. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeHelpers)({
  7591. [V_MODEL_RADIO]: `vModelRadio`,
  7592. [V_MODEL_CHECKBOX]: `vModelCheckbox`,
  7593. [V_MODEL_TEXT]: `vModelText`,
  7594. [V_MODEL_SELECT]: `vModelSelect`,
  7595. [V_MODEL_DYNAMIC]: `vModelDynamic`,
  7596. [V_ON_WITH_MODIFIERS]: `withModifiers`,
  7597. [V_ON_WITH_KEYS]: `withKeys`,
  7598. [V_SHOW]: `vShow`,
  7599. [TRANSITION]: `Transition`,
  7600. [TRANSITION_GROUP]: `TransitionGroup`
  7601. });
  7602. /* eslint-disable no-restricted-globals */
  7603. let decoder;
  7604. function decodeHtmlBrowser(raw, asAttr = false) {
  7605. if (!decoder) {
  7606. decoder = document.createElement('div');
  7607. }
  7608. if (asAttr) {
  7609. decoder.innerHTML = `<div foo="${raw.replace(/"/g, '&quot;')}">`;
  7610. return decoder.children[0].getAttribute('foo');
  7611. }
  7612. else {
  7613. decoder.innerHTML = raw;
  7614. return decoder.textContent;
  7615. }
  7616. }
  7617. const isRawTextContainer = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('style,iframe,script,noscript', true);
  7618. const parserOptions = {
  7619. isVoidTag: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.isVoidTag,
  7620. isNativeTag: tag => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isHTMLTag)(tag) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSVGTag)(tag),
  7621. isPreTag: tag => tag === 'pre',
  7622. decodeEntities: decodeHtmlBrowser ,
  7623. isBuiltInComponent: (tag) => {
  7624. if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isBuiltInType)(tag, `Transition`)) {
  7625. return TRANSITION;
  7626. }
  7627. else if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isBuiltInType)(tag, `TransitionGroup`)) {
  7628. return TRANSITION_GROUP;
  7629. }
  7630. },
  7631. // https://html.spec.whatwg.org/multipage/parsing.html#tree-construction-dispatcher
  7632. getNamespace(tag, parent) {
  7633. let ns = parent ? parent.ns : 0 /* HTML */;
  7634. if (parent && ns === 2 /* MATH_ML */) {
  7635. if (parent.tag === 'annotation-xml') {
  7636. if (tag === 'svg') {
  7637. return 1 /* SVG */;
  7638. }
  7639. if (parent.props.some(a => a.type === 6 /* ATTRIBUTE */ &&
  7640. a.name === 'encoding' &&
  7641. a.value != null &&
  7642. (a.value.content === 'text/html' ||
  7643. a.value.content === 'application/xhtml+xml'))) {
  7644. ns = 0 /* HTML */;
  7645. }
  7646. }
  7647. else if (/^m(?:[ions]|text)$/.test(parent.tag) &&
  7648. tag !== 'mglyph' &&
  7649. tag !== 'malignmark') {
  7650. ns = 0 /* HTML */;
  7651. }
  7652. }
  7653. else if (parent && ns === 1 /* SVG */) {
  7654. if (parent.tag === 'foreignObject' ||
  7655. parent.tag === 'desc' ||
  7656. parent.tag === 'title') {
  7657. ns = 0 /* HTML */;
  7658. }
  7659. }
  7660. if (ns === 0 /* HTML */) {
  7661. if (tag === 'svg') {
  7662. return 1 /* SVG */;
  7663. }
  7664. if (tag === 'math') {
  7665. return 2 /* MATH_ML */;
  7666. }
  7667. }
  7668. return ns;
  7669. },
  7670. // https://html.spec.whatwg.org/multipage/parsing.html#parsing-html-fragments
  7671. getTextMode({ tag, ns }) {
  7672. if (ns === 0 /* HTML */) {
  7673. if (tag === 'textarea' || tag === 'title') {
  7674. return 1 /* RCDATA */;
  7675. }
  7676. if (isRawTextContainer(tag)) {
  7677. return 2 /* RAWTEXT */;
  7678. }
  7679. }
  7680. return 0 /* DATA */;
  7681. }
  7682. };
  7683. // Parse inline CSS strings for static style attributes into an object.
  7684. // This is a NodeTransform since it works on the static `style` attribute and
  7685. // converts it into a dynamic equivalent:
  7686. // style="color: red" -> :style='{ "color": "red" }'
  7687. // It is then processed by `transformElement` and included in the generated
  7688. // props.
  7689. const transformStyle = node => {
  7690. if (node.type === 1 /* ELEMENT */) {
  7691. node.props.forEach((p, i) => {
  7692. if (p.type === 6 /* ATTRIBUTE */ && p.name === 'style' && p.value) {
  7693. // replace p with an expression node
  7694. node.props[i] = {
  7695. type: 7 /* DIRECTIVE */,
  7696. name: `bind`,
  7697. arg: (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`style`, true, p.loc),
  7698. exp: parseInlineCSS(p.value.content, p.loc),
  7699. modifiers: [],
  7700. loc: p.loc
  7701. };
  7702. }
  7703. });
  7704. }
  7705. };
  7706. const parseInlineCSS = (cssText, loc) => {
  7707. const normalized = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.parseStringStyle)(cssText);
  7708. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(JSON.stringify(normalized), false, loc, 3 /* CAN_STRINGIFY */);
  7709. };
  7710. function createDOMCompilerError(code, loc) {
  7711. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompilerError)(code, loc, true ? DOMErrorMessages : 0);
  7712. }
  7713. const DOMErrorMessages = {
  7714. [50 /* X_V_HTML_NO_EXPRESSION */]: `v-html is missing expression.`,
  7715. [51 /* X_V_HTML_WITH_CHILDREN */]: `v-html will override element children.`,
  7716. [52 /* X_V_TEXT_NO_EXPRESSION */]: `v-text is missing expression.`,
  7717. [53 /* X_V_TEXT_WITH_CHILDREN */]: `v-text will override element children.`,
  7718. [54 /* X_V_MODEL_ON_INVALID_ELEMENT */]: `v-model can only be used on <input>, <textarea> and <select> elements.`,
  7719. [55 /* X_V_MODEL_ARG_ON_ELEMENT */]: `v-model argument is not supported on plain elements.`,
  7720. [56 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */]: `v-model cannot be used on file inputs since they are read-only. Use a v-on:change listener instead.`,
  7721. [57 /* X_V_MODEL_UNNECESSARY_VALUE */]: `Unnecessary value binding used alongside v-model. It will interfere with v-model's behavior.`,
  7722. [58 /* X_V_SHOW_NO_EXPRESSION */]: `v-show is missing expression.`,
  7723. [59 /* X_TRANSITION_INVALID_CHILDREN */]: `<Transition> expects exactly one child element or component.`,
  7724. [60 /* X_IGNORED_SIDE_EFFECT_TAG */]: `Tags with side effect (<script> and <style>) are ignored in client component templates.`
  7725. };
  7726. const transformVHtml = (dir, node, context) => {
  7727. const { exp, loc } = dir;
  7728. if (!exp) {
  7729. context.onError(createDOMCompilerError(50 /* X_V_HTML_NO_EXPRESSION */, loc));
  7730. }
  7731. if (node.children.length) {
  7732. context.onError(createDOMCompilerError(51 /* X_V_HTML_WITH_CHILDREN */, loc));
  7733. node.children.length = 0;
  7734. }
  7735. return {
  7736. props: [
  7737. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty)((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`innerHTML`, true, loc), exp || (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)('', true))
  7738. ]
  7739. };
  7740. };
  7741. const transformVText = (dir, node, context) => {
  7742. const { exp, loc } = dir;
  7743. if (!exp) {
  7744. context.onError(createDOMCompilerError(52 /* X_V_TEXT_NO_EXPRESSION */, loc));
  7745. }
  7746. if (node.children.length) {
  7747. context.onError(createDOMCompilerError(53 /* X_V_TEXT_WITH_CHILDREN */, loc));
  7748. node.children.length = 0;
  7749. }
  7750. return {
  7751. props: [
  7752. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty)((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`textContent`, true), exp
  7753. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression)(context.helperString(_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.TO_DISPLAY_STRING), [exp], loc)
  7754. : (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)('', true))
  7755. ]
  7756. };
  7757. };
  7758. const transformModel = (dir, node, context) => {
  7759. const baseResult = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformModel)(dir, node, context);
  7760. // base transform has errors OR component v-model (only need props)
  7761. if (!baseResult.props.length || node.tagType === 1 /* COMPONENT */) {
  7762. return baseResult;
  7763. }
  7764. if (dir.arg) {
  7765. context.onError(createDOMCompilerError(55 /* X_V_MODEL_ARG_ON_ELEMENT */, dir.arg.loc));
  7766. }
  7767. function checkDuplicatedValue() {
  7768. const value = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findProp)(node, 'value');
  7769. if (value) {
  7770. context.onError(createDOMCompilerError(57 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));
  7771. }
  7772. }
  7773. const { tag } = node;
  7774. const isCustomElement = context.isCustomElement(tag);
  7775. if (tag === 'input' ||
  7776. tag === 'textarea' ||
  7777. tag === 'select' ||
  7778. isCustomElement) {
  7779. let directiveToUse = V_MODEL_TEXT;
  7780. let isInvalidType = false;
  7781. if (tag === 'input' || isCustomElement) {
  7782. const type = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.findProp)(node, `type`);
  7783. if (type) {
  7784. if (type.type === 7 /* DIRECTIVE */) {
  7785. // :type="foo"
  7786. directiveToUse = V_MODEL_DYNAMIC;
  7787. }
  7788. else if (type.value) {
  7789. switch (type.value.content) {
  7790. case 'radio':
  7791. directiveToUse = V_MODEL_RADIO;
  7792. break;
  7793. case 'checkbox':
  7794. directiveToUse = V_MODEL_CHECKBOX;
  7795. break;
  7796. case 'file':
  7797. isInvalidType = true;
  7798. context.onError(createDOMCompilerError(56 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
  7799. break;
  7800. default:
  7801. // text type
  7802. ( true) && checkDuplicatedValue();
  7803. break;
  7804. }
  7805. }
  7806. }
  7807. else if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.hasDynamicKeyVBind)(node)) {
  7808. // element has bindings with dynamic keys, which can possibly contain
  7809. // "type".
  7810. directiveToUse = V_MODEL_DYNAMIC;
  7811. }
  7812. else {
  7813. // text type
  7814. ( true) && checkDuplicatedValue();
  7815. }
  7816. }
  7817. else if (tag === 'select') {
  7818. directiveToUse = V_MODEL_SELECT;
  7819. }
  7820. else {
  7821. // textarea
  7822. ( true) && checkDuplicatedValue();
  7823. }
  7824. // inject runtime directive
  7825. // by returning the helper symbol via needRuntime
  7826. // the import will replaced a resolveDirective call.
  7827. if (!isInvalidType) {
  7828. baseResult.needRuntime = context.helper(directiveToUse);
  7829. }
  7830. }
  7831. else {
  7832. context.onError(createDOMCompilerError(54 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
  7833. }
  7834. // native vmodel doesn't need the `modelValue` props since they are also
  7835. // passed to the runtime as `binding.value`. removing it reduces code size.
  7836. baseResult.props = baseResult.props.filter(p => !(p.key.type === 4 /* SIMPLE_EXPRESSION */ &&
  7837. p.key.content === 'modelValue'));
  7838. return baseResult;
  7839. };
  7840. const isEventOptionModifier = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)(`passive,once,capture`);
  7841. const isNonKeyModifier = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)(
  7842. // event propagation management
  7843. `stop,prevent,self,` +
  7844. // system modifiers + exact
  7845. `ctrl,shift,alt,meta,exact,` +
  7846. // mouse
  7847. `middle`);
  7848. // left & right could be mouse or key modifiers based on event type
  7849. const maybeKeyModifier = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('left,right');
  7850. const isKeyboardEvent = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)(`onkeyup,onkeydown,onkeypress`, true);
  7851. const resolveModifiers = (key, modifiers, context, loc) => {
  7852. const keyModifiers = [];
  7853. const nonKeyModifiers = [];
  7854. const eventOptionModifiers = [];
  7855. for (let i = 0; i < modifiers.length; i++) {
  7856. const modifier = modifiers[i];
  7857. if (modifier === 'native' &&
  7858. (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.checkCompatEnabled)("COMPILER_V_ON_NATIVE" /* COMPILER_V_ON_NATIVE */, context, loc)) {
  7859. eventOptionModifiers.push(modifier);
  7860. }
  7861. else if (isEventOptionModifier(modifier)) {
  7862. // eventOptionModifiers: modifiers for addEventListener() options,
  7863. // e.g. .passive & .capture
  7864. eventOptionModifiers.push(modifier);
  7865. }
  7866. else {
  7867. // runtimeModifiers: modifiers that needs runtime guards
  7868. if (maybeKeyModifier(modifier)) {
  7869. if ((0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key)) {
  7870. if (isKeyboardEvent(key.content)) {
  7871. keyModifiers.push(modifier);
  7872. }
  7873. else {
  7874. nonKeyModifiers.push(modifier);
  7875. }
  7876. }
  7877. else {
  7878. keyModifiers.push(modifier);
  7879. nonKeyModifiers.push(modifier);
  7880. }
  7881. }
  7882. else {
  7883. if (isNonKeyModifier(modifier)) {
  7884. nonKeyModifiers.push(modifier);
  7885. }
  7886. else {
  7887. keyModifiers.push(modifier);
  7888. }
  7889. }
  7890. }
  7891. }
  7892. return {
  7893. keyModifiers,
  7894. nonKeyModifiers,
  7895. eventOptionModifiers
  7896. };
  7897. };
  7898. const transformClick = (key, event) => {
  7899. const isStaticClick = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key) && key.content.toLowerCase() === 'onclick';
  7900. return isStaticClick
  7901. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(event, true)
  7902. : key.type !== 4 /* SIMPLE_EXPRESSION */
  7903. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompoundExpression)([
  7904. `(`,
  7905. key,
  7906. `) === "onClick" ? "${event}" : (`,
  7907. key,
  7908. `)`
  7909. ])
  7910. : key;
  7911. };
  7912. const transformOn = (dir, node, context) => {
  7913. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.transformOn)(dir, node, context, baseResult => {
  7914. const { modifiers } = dir;
  7915. if (!modifiers.length)
  7916. return baseResult;
  7917. let { key, value: handlerExp } = baseResult.props[0];
  7918. const { keyModifiers, nonKeyModifiers, eventOptionModifiers } = resolveModifiers(key, modifiers, context, dir.loc);
  7919. // normalize click.right and click.middle since they don't actually fire
  7920. if (nonKeyModifiers.includes('right')) {
  7921. key = transformClick(key, `onContextmenu`);
  7922. }
  7923. if (nonKeyModifiers.includes('middle')) {
  7924. key = transformClick(key, `onMouseup`);
  7925. }
  7926. if (nonKeyModifiers.length) {
  7927. handlerExp = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression)(context.helper(V_ON_WITH_MODIFIERS), [
  7928. handlerExp,
  7929. JSON.stringify(nonKeyModifiers)
  7930. ]);
  7931. }
  7932. if (keyModifiers.length &&
  7933. // if event name is dynamic, always wrap with keys guard
  7934. (!(0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key) || isKeyboardEvent(key.content))) {
  7935. handlerExp = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCallExpression)(context.helper(V_ON_WITH_KEYS), [
  7936. handlerExp,
  7937. JSON.stringify(keyModifiers)
  7938. ]);
  7939. }
  7940. if (eventOptionModifiers.length) {
  7941. const modifierPostfix = eventOptionModifiers.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize).join('');
  7942. key = (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.isStaticExp)(key)
  7943. ? (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createSimpleExpression)(`${key.content}${modifierPostfix}`, true)
  7944. : (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createCompoundExpression)([`(`, key, `) + "${modifierPostfix}"`]);
  7945. }
  7946. return {
  7947. props: [(0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.createObjectProperty)(key, handlerExp)]
  7948. };
  7949. });
  7950. };
  7951. const transformShow = (dir, node, context) => {
  7952. const { exp, loc } = dir;
  7953. if (!exp) {
  7954. context.onError(createDOMCompilerError(58 /* X_V_SHOW_NO_EXPRESSION */, loc));
  7955. }
  7956. return {
  7957. props: [],
  7958. needRuntime: context.helper(V_SHOW)
  7959. };
  7960. };
  7961. const warnTransitionChildren = (node, context) => {
  7962. if (node.type === 1 /* ELEMENT */ &&
  7963. node.tagType === 1 /* COMPONENT */) {
  7964. const component = context.isBuiltInComponent(node.tag);
  7965. if (component === TRANSITION) {
  7966. return () => {
  7967. if (node.children.length && hasMultipleChildren(node)) {
  7968. context.onError(createDOMCompilerError(59 /* X_TRANSITION_INVALID_CHILDREN */, {
  7969. start: node.children[0].loc.start,
  7970. end: node.children[node.children.length - 1].loc.end,
  7971. source: ''
  7972. }));
  7973. }
  7974. };
  7975. }
  7976. }
  7977. };
  7978. function hasMultipleChildren(node) {
  7979. // #1352 filter out potential comment nodes.
  7980. const children = (node.children = node.children.filter(c => c.type !== 3 /* COMMENT */ &&
  7981. !(c.type === 2 /* TEXT */ && !c.content.trim())));
  7982. const child = children[0];
  7983. return (children.length !== 1 ||
  7984. child.type === 11 /* FOR */ ||
  7985. (child.type === 9 /* IF */ && child.branches.some(hasMultipleChildren)));
  7986. }
  7987. const ignoreSideEffectTags = (node, context) => {
  7988. if (node.type === 1 /* ELEMENT */ &&
  7989. node.tagType === 0 /* ELEMENT */ &&
  7990. (node.tag === 'script' || node.tag === 'style')) {
  7991. context.onError(createDOMCompilerError(60 /* X_IGNORED_SIDE_EFFECT_TAG */, node.loc));
  7992. context.removeNode();
  7993. }
  7994. };
  7995. const DOMNodeTransforms = [
  7996. transformStyle,
  7997. ...(( true) ? [warnTransitionChildren] : 0)
  7998. ];
  7999. const DOMDirectiveTransforms = {
  8000. cloak: _vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.noopDirectiveTransform,
  8001. html: transformVHtml,
  8002. text: transformVText,
  8003. model: transformModel,
  8004. on: transformOn,
  8005. show: transformShow
  8006. };
  8007. function compile(template, options = {}) {
  8008. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseCompile)(template, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, parserOptions, options, {
  8009. nodeTransforms: [
  8010. // ignore <script> and <tag>
  8011. // this is not put inside DOMNodeTransforms because that list is used
  8012. // by compiler-ssr to generate vnode fallback branches
  8013. ignoreSideEffectTags,
  8014. ...DOMNodeTransforms,
  8015. ...(options.nodeTransforms || [])
  8016. ],
  8017. directiveTransforms: (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, DOMDirectiveTransforms, options.directiveTransforms || {}),
  8018. transformHoist: null
  8019. }));
  8020. }
  8021. function parse(template, options = {}) {
  8022. return (0,_vue_compiler_core__WEBPACK_IMPORTED_MODULE_0__.baseParse)(template, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, parserOptions, options));
  8023. }
  8024. /***/ }),
  8025. /***/ "./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js":
  8026. /*!*********************************************************************!*\
  8027. !*** ./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js ***!
  8028. \*********************************************************************/
  8029. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  8030. "use strict";
  8031. __webpack_require__.r(__webpack_exports__);
  8032. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  8033. /* harmony export */ "EffectScope": () => (/* binding */ EffectScope),
  8034. /* harmony export */ "ITERATE_KEY": () => (/* binding */ ITERATE_KEY),
  8035. /* harmony export */ "ReactiveEffect": () => (/* binding */ ReactiveEffect),
  8036. /* harmony export */ "computed": () => (/* binding */ computed),
  8037. /* harmony export */ "customRef": () => (/* binding */ customRef),
  8038. /* harmony export */ "deferredComputed": () => (/* binding */ deferredComputed),
  8039. /* harmony export */ "effect": () => (/* binding */ effect),
  8040. /* harmony export */ "effectScope": () => (/* binding */ effectScope),
  8041. /* harmony export */ "enableTracking": () => (/* binding */ enableTracking),
  8042. /* harmony export */ "getCurrentScope": () => (/* binding */ getCurrentScope),
  8043. /* harmony export */ "isProxy": () => (/* binding */ isProxy),
  8044. /* harmony export */ "isReactive": () => (/* binding */ isReactive),
  8045. /* harmony export */ "isReadonly": () => (/* binding */ isReadonly),
  8046. /* harmony export */ "isRef": () => (/* binding */ isRef),
  8047. /* harmony export */ "isShallow": () => (/* binding */ isShallow),
  8048. /* harmony export */ "markRaw": () => (/* binding */ markRaw),
  8049. /* harmony export */ "onScopeDispose": () => (/* binding */ onScopeDispose),
  8050. /* harmony export */ "pauseTracking": () => (/* binding */ pauseTracking),
  8051. /* harmony export */ "proxyRefs": () => (/* binding */ proxyRefs),
  8052. /* harmony export */ "reactive": () => (/* binding */ reactive),
  8053. /* harmony export */ "readonly": () => (/* binding */ readonly),
  8054. /* harmony export */ "ref": () => (/* binding */ ref),
  8055. /* harmony export */ "resetTracking": () => (/* binding */ resetTracking),
  8056. /* harmony export */ "shallowReactive": () => (/* binding */ shallowReactive),
  8057. /* harmony export */ "shallowReadonly": () => (/* binding */ shallowReadonly),
  8058. /* harmony export */ "shallowRef": () => (/* binding */ shallowRef),
  8059. /* harmony export */ "stop": () => (/* binding */ stop),
  8060. /* harmony export */ "toRaw": () => (/* binding */ toRaw),
  8061. /* harmony export */ "toRef": () => (/* binding */ toRef),
  8062. /* harmony export */ "toRefs": () => (/* binding */ toRefs),
  8063. /* harmony export */ "track": () => (/* binding */ track),
  8064. /* harmony export */ "trigger": () => (/* binding */ trigger),
  8065. /* harmony export */ "triggerRef": () => (/* binding */ triggerRef),
  8066. /* harmony export */ "unref": () => (/* binding */ unref)
  8067. /* harmony export */ });
  8068. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  8069. function warn(msg, ...args) {
  8070. console.warn(`[Vue warn] ${msg}`, ...args);
  8071. }
  8072. let activeEffectScope;
  8073. class EffectScope {
  8074. constructor(detached = false) {
  8075. this.active = true;
  8076. this.effects = [];
  8077. this.cleanups = [];
  8078. if (!detached && activeEffectScope) {
  8079. this.parent = activeEffectScope;
  8080. this.index =
  8081. (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;
  8082. }
  8083. }
  8084. run(fn) {
  8085. if (this.active) {
  8086. try {
  8087. activeEffectScope = this;
  8088. return fn();
  8089. }
  8090. finally {
  8091. activeEffectScope = this.parent;
  8092. }
  8093. }
  8094. else if ((true)) {
  8095. warn(`cannot run an inactive effect scope.`);
  8096. }
  8097. }
  8098. on() {
  8099. activeEffectScope = this;
  8100. }
  8101. off() {
  8102. activeEffectScope = this.parent;
  8103. }
  8104. stop(fromParent) {
  8105. if (this.active) {
  8106. let i, l;
  8107. for (i = 0, l = this.effects.length; i < l; i++) {
  8108. this.effects[i].stop();
  8109. }
  8110. for (i = 0, l = this.cleanups.length; i < l; i++) {
  8111. this.cleanups[i]();
  8112. }
  8113. if (this.scopes) {
  8114. for (i = 0, l = this.scopes.length; i < l; i++) {
  8115. this.scopes[i].stop(true);
  8116. }
  8117. }
  8118. // nested scope, dereference from parent to avoid memory leaks
  8119. if (this.parent && !fromParent) {
  8120. // optimized O(1) removal
  8121. const last = this.parent.scopes.pop();
  8122. if (last && last !== this) {
  8123. this.parent.scopes[this.index] = last;
  8124. last.index = this.index;
  8125. }
  8126. }
  8127. this.active = false;
  8128. }
  8129. }
  8130. }
  8131. function effectScope(detached) {
  8132. return new EffectScope(detached);
  8133. }
  8134. function recordEffectScope(effect, scope = activeEffectScope) {
  8135. if (scope && scope.active) {
  8136. scope.effects.push(effect);
  8137. }
  8138. }
  8139. function getCurrentScope() {
  8140. return activeEffectScope;
  8141. }
  8142. function onScopeDispose(fn) {
  8143. if (activeEffectScope) {
  8144. activeEffectScope.cleanups.push(fn);
  8145. }
  8146. else if ((true)) {
  8147. warn(`onScopeDispose() is called when there is no active effect scope` +
  8148. ` to be associated with.`);
  8149. }
  8150. }
  8151. const createDep = (effects) => {
  8152. const dep = new Set(effects);
  8153. dep.w = 0;
  8154. dep.n = 0;
  8155. return dep;
  8156. };
  8157. const wasTracked = (dep) => (dep.w & trackOpBit) > 0;
  8158. const newTracked = (dep) => (dep.n & trackOpBit) > 0;
  8159. const initDepMarkers = ({ deps }) => {
  8160. if (deps.length) {
  8161. for (let i = 0; i < deps.length; i++) {
  8162. deps[i].w |= trackOpBit; // set was tracked
  8163. }
  8164. }
  8165. };
  8166. const finalizeDepMarkers = (effect) => {
  8167. const { deps } = effect;
  8168. if (deps.length) {
  8169. let ptr = 0;
  8170. for (let i = 0; i < deps.length; i++) {
  8171. const dep = deps[i];
  8172. if (wasTracked(dep) && !newTracked(dep)) {
  8173. dep.delete(effect);
  8174. }
  8175. else {
  8176. deps[ptr++] = dep;
  8177. }
  8178. // clear bits
  8179. dep.w &= ~trackOpBit;
  8180. dep.n &= ~trackOpBit;
  8181. }
  8182. deps.length = ptr;
  8183. }
  8184. };
  8185. const targetMap = new WeakMap();
  8186. // The number of effects currently being tracked recursively.
  8187. let effectTrackDepth = 0;
  8188. let trackOpBit = 1;
  8189. /**
  8190. * The bitwise track markers support at most 30 levels of recursion.
  8191. * This value is chosen to enable modern JS engines to use a SMI on all platforms.
  8192. * When recursion depth is greater, fall back to using a full cleanup.
  8193. */
  8194. const maxMarkerBits = 30;
  8195. let activeEffect;
  8196. const ITERATE_KEY = Symbol(( true) ? 'iterate' : 0);
  8197. const MAP_KEY_ITERATE_KEY = Symbol(( true) ? 'Map key iterate' : 0);
  8198. class ReactiveEffect {
  8199. constructor(fn, scheduler = null, scope) {
  8200. this.fn = fn;
  8201. this.scheduler = scheduler;
  8202. this.active = true;
  8203. this.deps = [];
  8204. this.parent = undefined;
  8205. recordEffectScope(this, scope);
  8206. }
  8207. run() {
  8208. if (!this.active) {
  8209. return this.fn();
  8210. }
  8211. let parent = activeEffect;
  8212. let lastShouldTrack = shouldTrack;
  8213. while (parent) {
  8214. if (parent === this) {
  8215. return;
  8216. }
  8217. parent = parent.parent;
  8218. }
  8219. try {
  8220. this.parent = activeEffect;
  8221. activeEffect = this;
  8222. shouldTrack = true;
  8223. trackOpBit = 1 << ++effectTrackDepth;
  8224. if (effectTrackDepth <= maxMarkerBits) {
  8225. initDepMarkers(this);
  8226. }
  8227. else {
  8228. cleanupEffect(this);
  8229. }
  8230. return this.fn();
  8231. }
  8232. finally {
  8233. if (effectTrackDepth <= maxMarkerBits) {
  8234. finalizeDepMarkers(this);
  8235. }
  8236. trackOpBit = 1 << --effectTrackDepth;
  8237. activeEffect = this.parent;
  8238. shouldTrack = lastShouldTrack;
  8239. this.parent = undefined;
  8240. }
  8241. }
  8242. stop() {
  8243. if (this.active) {
  8244. cleanupEffect(this);
  8245. if (this.onStop) {
  8246. this.onStop();
  8247. }
  8248. this.active = false;
  8249. }
  8250. }
  8251. }
  8252. function cleanupEffect(effect) {
  8253. const { deps } = effect;
  8254. if (deps.length) {
  8255. for (let i = 0; i < deps.length; i++) {
  8256. deps[i].delete(effect);
  8257. }
  8258. deps.length = 0;
  8259. }
  8260. }
  8261. function effect(fn, options) {
  8262. if (fn.effect) {
  8263. fn = fn.effect.fn;
  8264. }
  8265. const _effect = new ReactiveEffect(fn);
  8266. if (options) {
  8267. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)(_effect, options);
  8268. if (options.scope)
  8269. recordEffectScope(_effect, options.scope);
  8270. }
  8271. if (!options || !options.lazy) {
  8272. _effect.run();
  8273. }
  8274. const runner = _effect.run.bind(_effect);
  8275. runner.effect = _effect;
  8276. return runner;
  8277. }
  8278. function stop(runner) {
  8279. runner.effect.stop();
  8280. }
  8281. let shouldTrack = true;
  8282. const trackStack = [];
  8283. function pauseTracking() {
  8284. trackStack.push(shouldTrack);
  8285. shouldTrack = false;
  8286. }
  8287. function enableTracking() {
  8288. trackStack.push(shouldTrack);
  8289. shouldTrack = true;
  8290. }
  8291. function resetTracking() {
  8292. const last = trackStack.pop();
  8293. shouldTrack = last === undefined ? true : last;
  8294. }
  8295. function track(target, type, key) {
  8296. if (shouldTrack && activeEffect) {
  8297. let depsMap = targetMap.get(target);
  8298. if (!depsMap) {
  8299. targetMap.set(target, (depsMap = new Map()));
  8300. }
  8301. let dep = depsMap.get(key);
  8302. if (!dep) {
  8303. depsMap.set(key, (dep = createDep()));
  8304. }
  8305. const eventInfo = ( true)
  8306. ? { effect: activeEffect, target, type, key }
  8307. : 0;
  8308. trackEffects(dep, eventInfo);
  8309. }
  8310. }
  8311. function trackEffects(dep, debuggerEventExtraInfo) {
  8312. let shouldTrack = false;
  8313. if (effectTrackDepth <= maxMarkerBits) {
  8314. if (!newTracked(dep)) {
  8315. dep.n |= trackOpBit; // set newly tracked
  8316. shouldTrack = !wasTracked(dep);
  8317. }
  8318. }
  8319. else {
  8320. // Full cleanup mode.
  8321. shouldTrack = !dep.has(activeEffect);
  8322. }
  8323. if (shouldTrack) {
  8324. dep.add(activeEffect);
  8325. activeEffect.deps.push(dep);
  8326. if (( true) && activeEffect.onTrack) {
  8327. activeEffect.onTrack(Object.assign({
  8328. effect: activeEffect
  8329. }, debuggerEventExtraInfo));
  8330. }
  8331. }
  8332. }
  8333. function trigger(target, type, key, newValue, oldValue, oldTarget) {
  8334. const depsMap = targetMap.get(target);
  8335. if (!depsMap) {
  8336. // never been tracked
  8337. return;
  8338. }
  8339. let deps = [];
  8340. if (type === "clear" /* CLEAR */) {
  8341. // collection being cleared
  8342. // trigger all effects for target
  8343. deps = [...depsMap.values()];
  8344. }
  8345. else if (key === 'length' && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target)) {
  8346. depsMap.forEach((dep, key) => {
  8347. if (key === 'length' || key >= newValue) {
  8348. deps.push(dep);
  8349. }
  8350. });
  8351. }
  8352. else {
  8353. // schedule runs for SET | ADD | DELETE
  8354. if (key !== void 0) {
  8355. deps.push(depsMap.get(key));
  8356. }
  8357. // also run for iteration key on ADD | DELETE | Map.SET
  8358. switch (type) {
  8359. case "add" /* ADD */:
  8360. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target)) {
  8361. deps.push(depsMap.get(ITERATE_KEY));
  8362. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)) {
  8363. deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
  8364. }
  8365. }
  8366. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isIntegerKey)(key)) {
  8367. // new index added to array -> length changes
  8368. deps.push(depsMap.get('length'));
  8369. }
  8370. break;
  8371. case "delete" /* DELETE */:
  8372. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target)) {
  8373. deps.push(depsMap.get(ITERATE_KEY));
  8374. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)) {
  8375. deps.push(depsMap.get(MAP_KEY_ITERATE_KEY));
  8376. }
  8377. }
  8378. break;
  8379. case "set" /* SET */:
  8380. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)) {
  8381. deps.push(depsMap.get(ITERATE_KEY));
  8382. }
  8383. break;
  8384. }
  8385. }
  8386. const eventInfo = ( true)
  8387. ? { target, type, key, newValue, oldValue, oldTarget }
  8388. : 0;
  8389. if (deps.length === 1) {
  8390. if (deps[0]) {
  8391. if ((true)) {
  8392. triggerEffects(deps[0], eventInfo);
  8393. }
  8394. else {}
  8395. }
  8396. }
  8397. else {
  8398. const effects = [];
  8399. for (const dep of deps) {
  8400. if (dep) {
  8401. effects.push(...dep);
  8402. }
  8403. }
  8404. if ((true)) {
  8405. triggerEffects(createDep(effects), eventInfo);
  8406. }
  8407. else {}
  8408. }
  8409. }
  8410. function triggerEffects(dep, debuggerEventExtraInfo) {
  8411. // spread into array for stabilization
  8412. for (const effect of (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(dep) ? dep : [...dep]) {
  8413. if (effect !== activeEffect || effect.allowRecurse) {
  8414. if (( true) && effect.onTrigger) {
  8415. effect.onTrigger((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({ effect }, debuggerEventExtraInfo));
  8416. }
  8417. if (effect.scheduler) {
  8418. effect.scheduler();
  8419. }
  8420. else {
  8421. effect.run();
  8422. }
  8423. }
  8424. }
  8425. }
  8426. const isNonTrackableKeys = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.makeMap)(`__proto__,__v_isRef,__isVue`);
  8427. const builtInSymbols = new Set(Object.getOwnPropertyNames(Symbol)
  8428. .map(key => Symbol[key])
  8429. .filter(_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol));
  8430. const get = /*#__PURE__*/ createGetter();
  8431. const shallowGet = /*#__PURE__*/ createGetter(false, true);
  8432. const readonlyGet = /*#__PURE__*/ createGetter(true);
  8433. const shallowReadonlyGet = /*#__PURE__*/ createGetter(true, true);
  8434. const arrayInstrumentations = /*#__PURE__*/ createArrayInstrumentations();
  8435. function createArrayInstrumentations() {
  8436. const instrumentations = {};
  8437. ['includes', 'indexOf', 'lastIndexOf'].forEach(key => {
  8438. instrumentations[key] = function (...args) {
  8439. const arr = toRaw(this);
  8440. for (let i = 0, l = this.length; i < l; i++) {
  8441. track(arr, "get" /* GET */, i + '');
  8442. }
  8443. // we run the method using the original args first (which may be reactive)
  8444. const res = arr[key](...args);
  8445. if (res === -1 || res === false) {
  8446. // if that didn't work, run it again using raw values.
  8447. return arr[key](...args.map(toRaw));
  8448. }
  8449. else {
  8450. return res;
  8451. }
  8452. };
  8453. });
  8454. ['push', 'pop', 'shift', 'unshift', 'splice'].forEach(key => {
  8455. instrumentations[key] = function (...args) {
  8456. pauseTracking();
  8457. const res = toRaw(this)[key].apply(this, args);
  8458. resetTracking();
  8459. return res;
  8460. };
  8461. });
  8462. return instrumentations;
  8463. }
  8464. function createGetter(isReadonly = false, shallow = false) {
  8465. return function get(target, key, receiver) {
  8466. if (key === "__v_isReactive" /* IS_REACTIVE */) {
  8467. return !isReadonly;
  8468. }
  8469. else if (key === "__v_isReadonly" /* IS_READONLY */) {
  8470. return isReadonly;
  8471. }
  8472. else if (key === "__v_isShallow" /* IS_SHALLOW */) {
  8473. return shallow;
  8474. }
  8475. else if (key === "__v_raw" /* RAW */ &&
  8476. receiver ===
  8477. (isReadonly
  8478. ? shallow
  8479. ? shallowReadonlyMap
  8480. : readonlyMap
  8481. : shallow
  8482. ? shallowReactiveMap
  8483. : reactiveMap).get(target)) {
  8484. return target;
  8485. }
  8486. const targetIsArray = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target);
  8487. if (!isReadonly && targetIsArray && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(arrayInstrumentations, key)) {
  8488. return Reflect.get(arrayInstrumentations, key, receiver);
  8489. }
  8490. const res = Reflect.get(target, key, receiver);
  8491. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
  8492. return res;
  8493. }
  8494. if (!isReadonly) {
  8495. track(target, "get" /* GET */, key);
  8496. }
  8497. if (shallow) {
  8498. return res;
  8499. }
  8500. if (isRef(res)) {
  8501. // ref unwrapping - does not apply for Array + integer key.
  8502. const shouldUnwrap = !targetIsArray || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isIntegerKey)(key);
  8503. return shouldUnwrap ? res.value : res;
  8504. }
  8505. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(res)) {
  8506. // Convert returned value into a proxy as well. we do the isObject check
  8507. // here to avoid invalid value warning. Also need to lazy access readonly
  8508. // and reactive here to avoid circular dependency.
  8509. return isReadonly ? readonly(res) : reactive(res);
  8510. }
  8511. return res;
  8512. };
  8513. }
  8514. const set = /*#__PURE__*/ createSetter();
  8515. const shallowSet = /*#__PURE__*/ createSetter(true);
  8516. function createSetter(shallow = false) {
  8517. return function set(target, key, value, receiver) {
  8518. let oldValue = target[key];
  8519. if (isReadonly(oldValue) && isRef(oldValue) && !isRef(value)) {
  8520. return false;
  8521. }
  8522. if (!shallow && !isReadonly(value)) {
  8523. if (!isShallow(value)) {
  8524. value = toRaw(value);
  8525. oldValue = toRaw(oldValue);
  8526. }
  8527. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target) && isRef(oldValue) && !isRef(value)) {
  8528. oldValue.value = value;
  8529. return true;
  8530. }
  8531. }
  8532. const hadKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isIntegerKey)(key)
  8533. ? Number(key) < target.length
  8534. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(target, key);
  8535. const result = Reflect.set(target, key, value, receiver);
  8536. // don't trigger if target is something up in the prototype chain of original
  8537. if (target === toRaw(receiver)) {
  8538. if (!hadKey) {
  8539. trigger(target, "add" /* ADD */, key, value);
  8540. }
  8541. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasChanged)(value, oldValue)) {
  8542. trigger(target, "set" /* SET */, key, value, oldValue);
  8543. }
  8544. }
  8545. return result;
  8546. };
  8547. }
  8548. function deleteProperty(target, key) {
  8549. const hadKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(target, key);
  8550. const oldValue = target[key];
  8551. const result = Reflect.deleteProperty(target, key);
  8552. if (result && hadKey) {
  8553. trigger(target, "delete" /* DELETE */, key, undefined, oldValue);
  8554. }
  8555. return result;
  8556. }
  8557. function has(target, key) {
  8558. const result = Reflect.has(target, key);
  8559. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isSymbol)(key) || !builtInSymbols.has(key)) {
  8560. track(target, "has" /* HAS */, key);
  8561. }
  8562. return result;
  8563. }
  8564. function ownKeys(target) {
  8565. track(target, "iterate" /* ITERATE */, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(target) ? 'length' : ITERATE_KEY);
  8566. return Reflect.ownKeys(target);
  8567. }
  8568. const mutableHandlers = {
  8569. get,
  8570. set,
  8571. deleteProperty,
  8572. has,
  8573. ownKeys
  8574. };
  8575. const readonlyHandlers = {
  8576. get: readonlyGet,
  8577. set(target, key) {
  8578. if ((true)) {
  8579. console.warn(`Set operation on key "${String(key)}" failed: target is readonly.`, target);
  8580. }
  8581. return true;
  8582. },
  8583. deleteProperty(target, key) {
  8584. if ((true)) {
  8585. console.warn(`Delete operation on key "${String(key)}" failed: target is readonly.`, target);
  8586. }
  8587. return true;
  8588. }
  8589. };
  8590. const shallowReactiveHandlers = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, mutableHandlers, {
  8591. get: shallowGet,
  8592. set: shallowSet
  8593. });
  8594. // Props handlers are special in the sense that it should not unwrap top-level
  8595. // refs (in order to allow refs to be explicitly passed down), but should
  8596. // retain the reactivity of the normal readonly object.
  8597. const shallowReadonlyHandlers = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.extend)({}, readonlyHandlers, {
  8598. get: shallowReadonlyGet
  8599. });
  8600. const toShallow = (value) => value;
  8601. const getProto = (v) => Reflect.getPrototypeOf(v);
  8602. function get$1(target, key, isReadonly = false, isShallow = false) {
  8603. // #1772: readonly(reactive(Map)) should return readonly + reactive version
  8604. // of the value
  8605. target = target["__v_raw" /* RAW */];
  8606. const rawTarget = toRaw(target);
  8607. const rawKey = toRaw(key);
  8608. if (key !== rawKey) {
  8609. !isReadonly && track(rawTarget, "get" /* GET */, key);
  8610. }
  8611. !isReadonly && track(rawTarget, "get" /* GET */, rawKey);
  8612. const { has } = getProto(rawTarget);
  8613. const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;
  8614. if (has.call(rawTarget, key)) {
  8615. return wrap(target.get(key));
  8616. }
  8617. else if (has.call(rawTarget, rawKey)) {
  8618. return wrap(target.get(rawKey));
  8619. }
  8620. else if (target !== rawTarget) {
  8621. // #3602 readonly(reactive(Map))
  8622. // ensure that the nested reactive `Map` can do tracking for itself
  8623. target.get(key);
  8624. }
  8625. }
  8626. function has$1(key, isReadonly = false) {
  8627. const target = this["__v_raw" /* RAW */];
  8628. const rawTarget = toRaw(target);
  8629. const rawKey = toRaw(key);
  8630. if (key !== rawKey) {
  8631. !isReadonly && track(rawTarget, "has" /* HAS */, key);
  8632. }
  8633. !isReadonly && track(rawTarget, "has" /* HAS */, rawKey);
  8634. return key === rawKey
  8635. ? target.has(key)
  8636. : target.has(key) || target.has(rawKey);
  8637. }
  8638. function size(target, isReadonly = false) {
  8639. target = target["__v_raw" /* RAW */];
  8640. !isReadonly && track(toRaw(target), "iterate" /* ITERATE */, ITERATE_KEY);
  8641. return Reflect.get(target, 'size', target);
  8642. }
  8643. function add(value) {
  8644. value = toRaw(value);
  8645. const target = toRaw(this);
  8646. const proto = getProto(target);
  8647. const hadKey = proto.has.call(target, value);
  8648. if (!hadKey) {
  8649. target.add(value);
  8650. trigger(target, "add" /* ADD */, value, value);
  8651. }
  8652. return this;
  8653. }
  8654. function set$1(key, value) {
  8655. value = toRaw(value);
  8656. const target = toRaw(this);
  8657. const { has, get } = getProto(target);
  8658. let hadKey = has.call(target, key);
  8659. if (!hadKey) {
  8660. key = toRaw(key);
  8661. hadKey = has.call(target, key);
  8662. }
  8663. else if ((true)) {
  8664. checkIdentityKeys(target, has, key);
  8665. }
  8666. const oldValue = get.call(target, key);
  8667. target.set(key, value);
  8668. if (!hadKey) {
  8669. trigger(target, "add" /* ADD */, key, value);
  8670. }
  8671. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasChanged)(value, oldValue)) {
  8672. trigger(target, "set" /* SET */, key, value, oldValue);
  8673. }
  8674. return this;
  8675. }
  8676. function deleteEntry(key) {
  8677. const target = toRaw(this);
  8678. const { has, get } = getProto(target);
  8679. let hadKey = has.call(target, key);
  8680. if (!hadKey) {
  8681. key = toRaw(key);
  8682. hadKey = has.call(target, key);
  8683. }
  8684. else if ((true)) {
  8685. checkIdentityKeys(target, has, key);
  8686. }
  8687. const oldValue = get ? get.call(target, key) : undefined;
  8688. // forward the operation before queueing reactions
  8689. const result = target.delete(key);
  8690. if (hadKey) {
  8691. trigger(target, "delete" /* DELETE */, key, undefined, oldValue);
  8692. }
  8693. return result;
  8694. }
  8695. function clear() {
  8696. const target = toRaw(this);
  8697. const hadItems = target.size !== 0;
  8698. const oldTarget = ( true)
  8699. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(target)
  8700. ? new Map(target)
  8701. : new Set(target)
  8702. : 0;
  8703. // forward the operation before queueing reactions
  8704. const result = target.clear();
  8705. if (hadItems) {
  8706. trigger(target, "clear" /* CLEAR */, undefined, undefined, oldTarget);
  8707. }
  8708. return result;
  8709. }
  8710. function createForEach(isReadonly, isShallow) {
  8711. return function forEach(callback, thisArg) {
  8712. const observed = this;
  8713. const target = observed["__v_raw" /* RAW */];
  8714. const rawTarget = toRaw(target);
  8715. const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;
  8716. !isReadonly && track(rawTarget, "iterate" /* ITERATE */, ITERATE_KEY);
  8717. return target.forEach((value, key) => {
  8718. // important: make sure the callback is
  8719. // 1. invoked with the reactive map as `this` and 3rd arg
  8720. // 2. the value received should be a corresponding reactive/readonly.
  8721. return callback.call(thisArg, wrap(value), wrap(key), observed);
  8722. });
  8723. };
  8724. }
  8725. function createIterableMethod(method, isReadonly, isShallow) {
  8726. return function (...args) {
  8727. const target = this["__v_raw" /* RAW */];
  8728. const rawTarget = toRaw(target);
  8729. const targetIsMap = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isMap)(rawTarget);
  8730. const isPair = method === 'entries' || (method === Symbol.iterator && targetIsMap);
  8731. const isKeyOnly = method === 'keys' && targetIsMap;
  8732. const innerIterator = target[method](...args);
  8733. const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;
  8734. !isReadonly &&
  8735. track(rawTarget, "iterate" /* ITERATE */, isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);
  8736. // return a wrapped iterator which returns observed versions of the
  8737. // values emitted from the real iterator
  8738. return {
  8739. // iterator protocol
  8740. next() {
  8741. const { value, done } = innerIterator.next();
  8742. return done
  8743. ? { value, done }
  8744. : {
  8745. value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
  8746. done
  8747. };
  8748. },
  8749. // iterable protocol
  8750. [Symbol.iterator]() {
  8751. return this;
  8752. }
  8753. };
  8754. };
  8755. }
  8756. function createReadonlyMethod(type) {
  8757. return function (...args) {
  8758. if ((true)) {
  8759. const key = args[0] ? `on key "${args[0]}" ` : ``;
  8760. console.warn(`${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.capitalize)(type)} operation ${key}failed: target is readonly.`, toRaw(this));
  8761. }
  8762. return type === "delete" /* DELETE */ ? false : this;
  8763. };
  8764. }
  8765. function createInstrumentations() {
  8766. const mutableInstrumentations = {
  8767. get(key) {
  8768. return get$1(this, key);
  8769. },
  8770. get size() {
  8771. return size(this);
  8772. },
  8773. has: has$1,
  8774. add,
  8775. set: set$1,
  8776. delete: deleteEntry,
  8777. clear,
  8778. forEach: createForEach(false, false)
  8779. };
  8780. const shallowInstrumentations = {
  8781. get(key) {
  8782. return get$1(this, key, false, true);
  8783. },
  8784. get size() {
  8785. return size(this);
  8786. },
  8787. has: has$1,
  8788. add,
  8789. set: set$1,
  8790. delete: deleteEntry,
  8791. clear,
  8792. forEach: createForEach(false, true)
  8793. };
  8794. const readonlyInstrumentations = {
  8795. get(key) {
  8796. return get$1(this, key, true);
  8797. },
  8798. get size() {
  8799. return size(this, true);
  8800. },
  8801. has(key) {
  8802. return has$1.call(this, key, true);
  8803. },
  8804. add: createReadonlyMethod("add" /* ADD */),
  8805. set: createReadonlyMethod("set" /* SET */),
  8806. delete: createReadonlyMethod("delete" /* DELETE */),
  8807. clear: createReadonlyMethod("clear" /* CLEAR */),
  8808. forEach: createForEach(true, false)
  8809. };
  8810. const shallowReadonlyInstrumentations = {
  8811. get(key) {
  8812. return get$1(this, key, true, true);
  8813. },
  8814. get size() {
  8815. return size(this, true);
  8816. },
  8817. has(key) {
  8818. return has$1.call(this, key, true);
  8819. },
  8820. add: createReadonlyMethod("add" /* ADD */),
  8821. set: createReadonlyMethod("set" /* SET */),
  8822. delete: createReadonlyMethod("delete" /* DELETE */),
  8823. clear: createReadonlyMethod("clear" /* CLEAR */),
  8824. forEach: createForEach(true, true)
  8825. };
  8826. const iteratorMethods = ['keys', 'values', 'entries', Symbol.iterator];
  8827. iteratorMethods.forEach(method => {
  8828. mutableInstrumentations[method] = createIterableMethod(method, false, false);
  8829. readonlyInstrumentations[method] = createIterableMethod(method, true, false);
  8830. shallowInstrumentations[method] = createIterableMethod(method, false, true);
  8831. shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);
  8832. });
  8833. return [
  8834. mutableInstrumentations,
  8835. readonlyInstrumentations,
  8836. shallowInstrumentations,
  8837. shallowReadonlyInstrumentations
  8838. ];
  8839. }
  8840. const [mutableInstrumentations, readonlyInstrumentations, shallowInstrumentations, shallowReadonlyInstrumentations] = /* #__PURE__*/ createInstrumentations();
  8841. function createInstrumentationGetter(isReadonly, shallow) {
  8842. const instrumentations = shallow
  8843. ? isReadonly
  8844. ? shallowReadonlyInstrumentations
  8845. : shallowInstrumentations
  8846. : isReadonly
  8847. ? readonlyInstrumentations
  8848. : mutableInstrumentations;
  8849. return (target, key, receiver) => {
  8850. if (key === "__v_isReactive" /* IS_REACTIVE */) {
  8851. return !isReadonly;
  8852. }
  8853. else if (key === "__v_isReadonly" /* IS_READONLY */) {
  8854. return isReadonly;
  8855. }
  8856. else if (key === "__v_raw" /* RAW */) {
  8857. return target;
  8858. }
  8859. return Reflect.get((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasOwn)(instrumentations, key) && key in target
  8860. ? instrumentations
  8861. : target, key, receiver);
  8862. };
  8863. }
  8864. const mutableCollectionHandlers = {
  8865. get: /*#__PURE__*/ createInstrumentationGetter(false, false)
  8866. };
  8867. const shallowCollectionHandlers = {
  8868. get: /*#__PURE__*/ createInstrumentationGetter(false, true)
  8869. };
  8870. const readonlyCollectionHandlers = {
  8871. get: /*#__PURE__*/ createInstrumentationGetter(true, false)
  8872. };
  8873. const shallowReadonlyCollectionHandlers = {
  8874. get: /*#__PURE__*/ createInstrumentationGetter(true, true)
  8875. };
  8876. function checkIdentityKeys(target, has, key) {
  8877. const rawKey = toRaw(key);
  8878. if (rawKey !== key && has.call(target, rawKey)) {
  8879. const type = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.toRawType)(target);
  8880. console.warn(`Reactive ${type} contains both the raw and reactive ` +
  8881. `versions of the same object${type === `Map` ? ` as keys` : ``}, ` +
  8882. `which can lead to inconsistencies. ` +
  8883. `Avoid differentiating between the raw and reactive versions ` +
  8884. `of an object and only use the reactive version if possible.`);
  8885. }
  8886. }
  8887. const reactiveMap = new WeakMap();
  8888. const shallowReactiveMap = new WeakMap();
  8889. const readonlyMap = new WeakMap();
  8890. const shallowReadonlyMap = new WeakMap();
  8891. function targetTypeMap(rawType) {
  8892. switch (rawType) {
  8893. case 'Object':
  8894. case 'Array':
  8895. return 1 /* COMMON */;
  8896. case 'Map':
  8897. case 'Set':
  8898. case 'WeakMap':
  8899. case 'WeakSet':
  8900. return 2 /* COLLECTION */;
  8901. default:
  8902. return 0 /* INVALID */;
  8903. }
  8904. }
  8905. function getTargetType(value) {
  8906. return value["__v_skip" /* SKIP */] || !Object.isExtensible(value)
  8907. ? 0 /* INVALID */
  8908. : targetTypeMap((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.toRawType)(value));
  8909. }
  8910. function reactive(target) {
  8911. // if trying to observe a readonly proxy, return the readonly version.
  8912. if (isReadonly(target)) {
  8913. return target;
  8914. }
  8915. return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);
  8916. }
  8917. /**
  8918. * Return a shallowly-reactive copy of the original object, where only the root
  8919. * level properties are reactive. It also does not auto-unwrap refs (even at the
  8920. * root level).
  8921. */
  8922. function shallowReactive(target) {
  8923. return createReactiveObject(target, false, shallowReactiveHandlers, shallowCollectionHandlers, shallowReactiveMap);
  8924. }
  8925. /**
  8926. * Creates a readonly copy of the original object. Note the returned copy is not
  8927. * made reactive, but `readonly` can be called on an already reactive object.
  8928. */
  8929. function readonly(target) {
  8930. return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);
  8931. }
  8932. /**
  8933. * Returns a reactive-copy of the original object, where only the root level
  8934. * properties are readonly, and does NOT unwrap refs nor recursively convert
  8935. * returned properties.
  8936. * This is used for creating the props proxy object for stateful components.
  8937. */
  8938. function shallowReadonly(target) {
  8939. return createReactiveObject(target, true, shallowReadonlyHandlers, shallowReadonlyCollectionHandlers, shallowReadonlyMap);
  8940. }
  8941. function createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {
  8942. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(target)) {
  8943. if ((true)) {
  8944. console.warn(`value cannot be made reactive: ${String(target)}`);
  8945. }
  8946. return target;
  8947. }
  8948. // target is already a Proxy, return it.
  8949. // exception: calling readonly() on a reactive object
  8950. if (target["__v_raw" /* RAW */] &&
  8951. !(isReadonly && target["__v_isReactive" /* IS_REACTIVE */])) {
  8952. return target;
  8953. }
  8954. // target already has corresponding Proxy
  8955. const existingProxy = proxyMap.get(target);
  8956. if (existingProxy) {
  8957. return existingProxy;
  8958. }
  8959. // only a whitelist of value types can be observed.
  8960. const targetType = getTargetType(target);
  8961. if (targetType === 0 /* INVALID */) {
  8962. return target;
  8963. }
  8964. const proxy = new Proxy(target, targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers);
  8965. proxyMap.set(target, proxy);
  8966. return proxy;
  8967. }
  8968. function isReactive(value) {
  8969. if (isReadonly(value)) {
  8970. return isReactive(value["__v_raw" /* RAW */]);
  8971. }
  8972. return !!(value && value["__v_isReactive" /* IS_REACTIVE */]);
  8973. }
  8974. function isReadonly(value) {
  8975. return !!(value && value["__v_isReadonly" /* IS_READONLY */]);
  8976. }
  8977. function isShallow(value) {
  8978. return !!(value && value["__v_isShallow" /* IS_SHALLOW */]);
  8979. }
  8980. function isProxy(value) {
  8981. return isReactive(value) || isReadonly(value);
  8982. }
  8983. function toRaw(observed) {
  8984. const raw = observed && observed["__v_raw" /* RAW */];
  8985. return raw ? toRaw(raw) : observed;
  8986. }
  8987. function markRaw(value) {
  8988. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.def)(value, "__v_skip" /* SKIP */, true);
  8989. return value;
  8990. }
  8991. const toReactive = (value) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(value) ? reactive(value) : value;
  8992. const toReadonly = (value) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isObject)(value) ? readonly(value) : value;
  8993. function trackRefValue(ref) {
  8994. if (shouldTrack && activeEffect) {
  8995. ref = toRaw(ref);
  8996. if ((true)) {
  8997. trackEffects(ref.dep || (ref.dep = createDep()), {
  8998. target: ref,
  8999. type: "get" /* GET */,
  9000. key: 'value'
  9001. });
  9002. }
  9003. else {}
  9004. }
  9005. }
  9006. function triggerRefValue(ref, newVal) {
  9007. ref = toRaw(ref);
  9008. if (ref.dep) {
  9009. if ((true)) {
  9010. triggerEffects(ref.dep, {
  9011. target: ref,
  9012. type: "set" /* SET */,
  9013. key: 'value',
  9014. newValue: newVal
  9015. });
  9016. }
  9017. else {}
  9018. }
  9019. }
  9020. function isRef(r) {
  9021. return !!(r && r.__v_isRef === true);
  9022. }
  9023. function ref(value) {
  9024. return createRef(value, false);
  9025. }
  9026. function shallowRef(value) {
  9027. return createRef(value, true);
  9028. }
  9029. function createRef(rawValue, shallow) {
  9030. if (isRef(rawValue)) {
  9031. return rawValue;
  9032. }
  9033. return new RefImpl(rawValue, shallow);
  9034. }
  9035. class RefImpl {
  9036. constructor(value, __v_isShallow) {
  9037. this.__v_isShallow = __v_isShallow;
  9038. this.dep = undefined;
  9039. this.__v_isRef = true;
  9040. this._rawValue = __v_isShallow ? value : toRaw(value);
  9041. this._value = __v_isShallow ? value : toReactive(value);
  9042. }
  9043. get value() {
  9044. trackRefValue(this);
  9045. return this._value;
  9046. }
  9047. set value(newVal) {
  9048. newVal = this.__v_isShallow ? newVal : toRaw(newVal);
  9049. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.hasChanged)(newVal, this._rawValue)) {
  9050. this._rawValue = newVal;
  9051. this._value = this.__v_isShallow ? newVal : toReactive(newVal);
  9052. triggerRefValue(this, newVal);
  9053. }
  9054. }
  9055. }
  9056. function triggerRef(ref) {
  9057. triggerRefValue(ref, ( true) ? ref.value : 0);
  9058. }
  9059. function unref(ref) {
  9060. return isRef(ref) ? ref.value : ref;
  9061. }
  9062. const shallowUnwrapHandlers = {
  9063. get: (target, key, receiver) => unref(Reflect.get(target, key, receiver)),
  9064. set: (target, key, value, receiver) => {
  9065. const oldValue = target[key];
  9066. if (isRef(oldValue) && !isRef(value)) {
  9067. oldValue.value = value;
  9068. return true;
  9069. }
  9070. else {
  9071. return Reflect.set(target, key, value, receiver);
  9072. }
  9073. }
  9074. };
  9075. function proxyRefs(objectWithRefs) {
  9076. return isReactive(objectWithRefs)
  9077. ? objectWithRefs
  9078. : new Proxy(objectWithRefs, shallowUnwrapHandlers);
  9079. }
  9080. class CustomRefImpl {
  9081. constructor(factory) {
  9082. this.dep = undefined;
  9083. this.__v_isRef = true;
  9084. const { get, set } = factory(() => trackRefValue(this), () => triggerRefValue(this));
  9085. this._get = get;
  9086. this._set = set;
  9087. }
  9088. get value() {
  9089. return this._get();
  9090. }
  9091. set value(newVal) {
  9092. this._set(newVal);
  9093. }
  9094. }
  9095. function customRef(factory) {
  9096. return new CustomRefImpl(factory);
  9097. }
  9098. function toRefs(object) {
  9099. if (( true) && !isProxy(object)) {
  9100. console.warn(`toRefs() expects a reactive object but received a plain one.`);
  9101. }
  9102. const ret = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isArray)(object) ? new Array(object.length) : {};
  9103. for (const key in object) {
  9104. ret[key] = toRef(object, key);
  9105. }
  9106. return ret;
  9107. }
  9108. class ObjectRefImpl {
  9109. constructor(_object, _key, _defaultValue) {
  9110. this._object = _object;
  9111. this._key = _key;
  9112. this._defaultValue = _defaultValue;
  9113. this.__v_isRef = true;
  9114. }
  9115. get value() {
  9116. const val = this._object[this._key];
  9117. return val === undefined ? this._defaultValue : val;
  9118. }
  9119. set value(newVal) {
  9120. this._object[this._key] = newVal;
  9121. }
  9122. }
  9123. function toRef(object, key, defaultValue) {
  9124. const val = object[key];
  9125. return isRef(val)
  9126. ? val
  9127. : new ObjectRefImpl(object, key, defaultValue);
  9128. }
  9129. class ComputedRefImpl {
  9130. constructor(getter, _setter, isReadonly, isSSR) {
  9131. this._setter = _setter;
  9132. this.dep = undefined;
  9133. this.__v_isRef = true;
  9134. this._dirty = true;
  9135. this.effect = new ReactiveEffect(getter, () => {
  9136. if (!this._dirty) {
  9137. this._dirty = true;
  9138. triggerRefValue(this);
  9139. }
  9140. });
  9141. this.effect.computed = this;
  9142. this.effect.active = this._cacheable = !isSSR;
  9143. this["__v_isReadonly" /* IS_READONLY */] = isReadonly;
  9144. }
  9145. get value() {
  9146. // the computed ref may get wrapped by other proxies e.g. readonly() #3376
  9147. const self = toRaw(this);
  9148. trackRefValue(self);
  9149. if (self._dirty || !self._cacheable) {
  9150. self._dirty = false;
  9151. self._value = self.effect.run();
  9152. }
  9153. return self._value;
  9154. }
  9155. set value(newValue) {
  9156. this._setter(newValue);
  9157. }
  9158. }
  9159. function computed(getterOrOptions, debugOptions, isSSR = false) {
  9160. let getter;
  9161. let setter;
  9162. const onlyGetter = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_0__.isFunction)(getterOrOptions);
  9163. if (onlyGetter) {
  9164. getter = getterOrOptions;
  9165. setter = ( true)
  9166. ? () => {
  9167. console.warn('Write operation failed: computed value is readonly');
  9168. }
  9169. : 0;
  9170. }
  9171. else {
  9172. getter = getterOrOptions.get;
  9173. setter = getterOrOptions.set;
  9174. }
  9175. const cRef = new ComputedRefImpl(getter, setter, onlyGetter || !setter, isSSR);
  9176. if (( true) && debugOptions && !isSSR) {
  9177. cRef.effect.onTrack = debugOptions.onTrack;
  9178. cRef.effect.onTrigger = debugOptions.onTrigger;
  9179. }
  9180. return cRef;
  9181. }
  9182. var _a;
  9183. const tick = Promise.resolve();
  9184. const queue = [];
  9185. let queued = false;
  9186. const scheduler = (fn) => {
  9187. queue.push(fn);
  9188. if (!queued) {
  9189. queued = true;
  9190. tick.then(flush);
  9191. }
  9192. };
  9193. const flush = () => {
  9194. for (let i = 0; i < queue.length; i++) {
  9195. queue[i]();
  9196. }
  9197. queue.length = 0;
  9198. queued = false;
  9199. };
  9200. class DeferredComputedRefImpl {
  9201. constructor(getter) {
  9202. this.dep = undefined;
  9203. this._dirty = true;
  9204. this.__v_isRef = true;
  9205. this[_a] = true;
  9206. let compareTarget;
  9207. let hasCompareTarget = false;
  9208. let scheduled = false;
  9209. this.effect = new ReactiveEffect(getter, (computedTrigger) => {
  9210. if (this.dep) {
  9211. if (computedTrigger) {
  9212. compareTarget = this._value;
  9213. hasCompareTarget = true;
  9214. }
  9215. else if (!scheduled) {
  9216. const valueToCompare = hasCompareTarget ? compareTarget : this._value;
  9217. scheduled = true;
  9218. hasCompareTarget = false;
  9219. scheduler(() => {
  9220. if (this.effect.active && this._get() !== valueToCompare) {
  9221. triggerRefValue(this);
  9222. }
  9223. scheduled = false;
  9224. });
  9225. }
  9226. // chained upstream computeds are notified synchronously to ensure
  9227. // value invalidation in case of sync access; normal effects are
  9228. // deferred to be triggered in scheduler.
  9229. for (const e of this.dep) {
  9230. if (e.computed instanceof DeferredComputedRefImpl) {
  9231. e.scheduler(true /* computedTrigger */);
  9232. }
  9233. }
  9234. }
  9235. this._dirty = true;
  9236. });
  9237. this.effect.computed = this;
  9238. }
  9239. _get() {
  9240. if (this._dirty) {
  9241. this._dirty = false;
  9242. return (this._value = this.effect.run());
  9243. }
  9244. return this._value;
  9245. }
  9246. get value() {
  9247. trackRefValue(this);
  9248. // the computed ref may get wrapped by other proxies e.g. readonly() #3376
  9249. return toRaw(this)._get();
  9250. }
  9251. }
  9252. _a = "__v_isReadonly" /* IS_READONLY */;
  9253. function deferredComputed(getter) {
  9254. return new DeferredComputedRefImpl(getter);
  9255. }
  9256. /***/ }),
  9257. /***/ "./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js":
  9258. /*!*************************************************************************!*\
  9259. !*** ./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js ***!
  9260. \*************************************************************************/
  9261. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  9262. "use strict";
  9263. __webpack_require__.r(__webpack_exports__);
  9264. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  9265. /* harmony export */ "EffectScope": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.EffectScope),
  9266. /* harmony export */ "ReactiveEffect": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect),
  9267. /* harmony export */ "customRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.customRef),
  9268. /* harmony export */ "effect": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.effect),
  9269. /* harmony export */ "effectScope": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.effectScope),
  9270. /* harmony export */ "getCurrentScope": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.getCurrentScope),
  9271. /* harmony export */ "isProxy": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy),
  9272. /* harmony export */ "isReactive": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive),
  9273. /* harmony export */ "isReadonly": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReadonly),
  9274. /* harmony export */ "isRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef),
  9275. /* harmony export */ "isShallow": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isShallow),
  9276. /* harmony export */ "markRaw": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.markRaw),
  9277. /* harmony export */ "onScopeDispose": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.onScopeDispose),
  9278. /* harmony export */ "proxyRefs": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.proxyRefs),
  9279. /* harmony export */ "reactive": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.reactive),
  9280. /* harmony export */ "readonly": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.readonly),
  9281. /* harmony export */ "ref": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref),
  9282. /* harmony export */ "shallowReactive": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReactive),
  9283. /* harmony export */ "shallowReadonly": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly),
  9284. /* harmony export */ "shallowRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowRef),
  9285. /* harmony export */ "stop": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.stop),
  9286. /* harmony export */ "toRaw": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw),
  9287. /* harmony export */ "toRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRef),
  9288. /* harmony export */ "toRefs": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRefs),
  9289. /* harmony export */ "triggerRef": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.triggerRef),
  9290. /* harmony export */ "unref": () => (/* reexport safe */ _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.unref),
  9291. /* harmony export */ "camelize": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize),
  9292. /* harmony export */ "capitalize": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize),
  9293. /* harmony export */ "normalizeClass": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeClass),
  9294. /* harmony export */ "normalizeProps": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeProps),
  9295. /* harmony export */ "normalizeStyle": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeStyle),
  9296. /* harmony export */ "toDisplayString": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.toDisplayString),
  9297. /* harmony export */ "toHandlerKey": () => (/* reexport safe */ _vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey),
  9298. /* harmony export */ "BaseTransition": () => (/* binding */ BaseTransition),
  9299. /* harmony export */ "Comment": () => (/* binding */ Comment),
  9300. /* harmony export */ "Fragment": () => (/* binding */ Fragment),
  9301. /* harmony export */ "KeepAlive": () => (/* binding */ KeepAlive),
  9302. /* harmony export */ "Static": () => (/* binding */ Static),
  9303. /* harmony export */ "Suspense": () => (/* binding */ Suspense),
  9304. /* harmony export */ "Teleport": () => (/* binding */ Teleport),
  9305. /* harmony export */ "Text": () => (/* binding */ Text),
  9306. /* harmony export */ "callWithAsyncErrorHandling": () => (/* binding */ callWithAsyncErrorHandling),
  9307. /* harmony export */ "callWithErrorHandling": () => (/* binding */ callWithErrorHandling),
  9308. /* harmony export */ "cloneVNode": () => (/* binding */ cloneVNode),
  9309. /* harmony export */ "compatUtils": () => (/* binding */ compatUtils),
  9310. /* harmony export */ "computed": () => (/* binding */ computed),
  9311. /* harmony export */ "createBlock": () => (/* binding */ createBlock),
  9312. /* harmony export */ "createCommentVNode": () => (/* binding */ createCommentVNode),
  9313. /* harmony export */ "createElementBlock": () => (/* binding */ createElementBlock),
  9314. /* harmony export */ "createElementVNode": () => (/* binding */ createBaseVNode),
  9315. /* harmony export */ "createHydrationRenderer": () => (/* binding */ createHydrationRenderer),
  9316. /* harmony export */ "createPropsRestProxy": () => (/* binding */ createPropsRestProxy),
  9317. /* harmony export */ "createRenderer": () => (/* binding */ createRenderer),
  9318. /* harmony export */ "createSlots": () => (/* binding */ createSlots),
  9319. /* harmony export */ "createStaticVNode": () => (/* binding */ createStaticVNode),
  9320. /* harmony export */ "createTextVNode": () => (/* binding */ createTextVNode),
  9321. /* harmony export */ "createVNode": () => (/* binding */ createVNode),
  9322. /* harmony export */ "defineAsyncComponent": () => (/* binding */ defineAsyncComponent),
  9323. /* harmony export */ "defineComponent": () => (/* binding */ defineComponent),
  9324. /* harmony export */ "defineEmits": () => (/* binding */ defineEmits),
  9325. /* harmony export */ "defineExpose": () => (/* binding */ defineExpose),
  9326. /* harmony export */ "defineProps": () => (/* binding */ defineProps),
  9327. /* harmony export */ "devtools": () => (/* binding */ devtools),
  9328. /* harmony export */ "getCurrentInstance": () => (/* binding */ getCurrentInstance),
  9329. /* harmony export */ "getTransitionRawChildren": () => (/* binding */ getTransitionRawChildren),
  9330. /* harmony export */ "guardReactiveProps": () => (/* binding */ guardReactiveProps),
  9331. /* harmony export */ "h": () => (/* binding */ h),
  9332. /* harmony export */ "handleError": () => (/* binding */ handleError),
  9333. /* harmony export */ "initCustomFormatter": () => (/* binding */ initCustomFormatter),
  9334. /* harmony export */ "inject": () => (/* binding */ inject),
  9335. /* harmony export */ "isMemoSame": () => (/* binding */ isMemoSame),
  9336. /* harmony export */ "isRuntimeOnly": () => (/* binding */ isRuntimeOnly),
  9337. /* harmony export */ "isVNode": () => (/* binding */ isVNode),
  9338. /* harmony export */ "mergeDefaults": () => (/* binding */ mergeDefaults),
  9339. /* harmony export */ "mergeProps": () => (/* binding */ mergeProps),
  9340. /* harmony export */ "nextTick": () => (/* binding */ nextTick),
  9341. /* harmony export */ "onActivated": () => (/* binding */ onActivated),
  9342. /* harmony export */ "onBeforeMount": () => (/* binding */ onBeforeMount),
  9343. /* harmony export */ "onBeforeUnmount": () => (/* binding */ onBeforeUnmount),
  9344. /* harmony export */ "onBeforeUpdate": () => (/* binding */ onBeforeUpdate),
  9345. /* harmony export */ "onDeactivated": () => (/* binding */ onDeactivated),
  9346. /* harmony export */ "onErrorCaptured": () => (/* binding */ onErrorCaptured),
  9347. /* harmony export */ "onMounted": () => (/* binding */ onMounted),
  9348. /* harmony export */ "onRenderTracked": () => (/* binding */ onRenderTracked),
  9349. /* harmony export */ "onRenderTriggered": () => (/* binding */ onRenderTriggered),
  9350. /* harmony export */ "onServerPrefetch": () => (/* binding */ onServerPrefetch),
  9351. /* harmony export */ "onUnmounted": () => (/* binding */ onUnmounted),
  9352. /* harmony export */ "onUpdated": () => (/* binding */ onUpdated),
  9353. /* harmony export */ "openBlock": () => (/* binding */ openBlock),
  9354. /* harmony export */ "popScopeId": () => (/* binding */ popScopeId),
  9355. /* harmony export */ "provide": () => (/* binding */ provide),
  9356. /* harmony export */ "pushScopeId": () => (/* binding */ pushScopeId),
  9357. /* harmony export */ "queuePostFlushCb": () => (/* binding */ queuePostFlushCb),
  9358. /* harmony export */ "registerRuntimeCompiler": () => (/* binding */ registerRuntimeCompiler),
  9359. /* harmony export */ "renderList": () => (/* binding */ renderList),
  9360. /* harmony export */ "renderSlot": () => (/* binding */ renderSlot),
  9361. /* harmony export */ "resolveComponent": () => (/* binding */ resolveComponent),
  9362. /* harmony export */ "resolveDirective": () => (/* binding */ resolveDirective),
  9363. /* harmony export */ "resolveDynamicComponent": () => (/* binding */ resolveDynamicComponent),
  9364. /* harmony export */ "resolveFilter": () => (/* binding */ resolveFilter),
  9365. /* harmony export */ "resolveTransitionHooks": () => (/* binding */ resolveTransitionHooks),
  9366. /* harmony export */ "setBlockTracking": () => (/* binding */ setBlockTracking),
  9367. /* harmony export */ "setDevtoolsHook": () => (/* binding */ setDevtoolsHook),
  9368. /* harmony export */ "setTransitionHooks": () => (/* binding */ setTransitionHooks),
  9369. /* harmony export */ "ssrContextKey": () => (/* binding */ ssrContextKey),
  9370. /* harmony export */ "ssrUtils": () => (/* binding */ ssrUtils),
  9371. /* harmony export */ "toHandlers": () => (/* binding */ toHandlers),
  9372. /* harmony export */ "transformVNodeArgs": () => (/* binding */ transformVNodeArgs),
  9373. /* harmony export */ "useAttrs": () => (/* binding */ useAttrs),
  9374. /* harmony export */ "useSSRContext": () => (/* binding */ useSSRContext),
  9375. /* harmony export */ "useSlots": () => (/* binding */ useSlots),
  9376. /* harmony export */ "useTransitionState": () => (/* binding */ useTransitionState),
  9377. /* harmony export */ "version": () => (/* binding */ version),
  9378. /* harmony export */ "warn": () => (/* binding */ warn),
  9379. /* harmony export */ "watch": () => (/* binding */ watch),
  9380. /* harmony export */ "watchEffect": () => (/* binding */ watchEffect),
  9381. /* harmony export */ "watchPostEffect": () => (/* binding */ watchPostEffect),
  9382. /* harmony export */ "watchSyncEffect": () => (/* binding */ watchSyncEffect),
  9383. /* harmony export */ "withAsyncContext": () => (/* binding */ withAsyncContext),
  9384. /* harmony export */ "withCtx": () => (/* binding */ withCtx),
  9385. /* harmony export */ "withDefaults": () => (/* binding */ withDefaults),
  9386. /* harmony export */ "withDirectives": () => (/* binding */ withDirectives),
  9387. /* harmony export */ "withMemo": () => (/* binding */ withMemo),
  9388. /* harmony export */ "withScopeId": () => (/* binding */ withScopeId)
  9389. /* harmony export */ });
  9390. /* harmony import */ var _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/reactivity */ "./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");
  9391. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  9392. const stack = [];
  9393. function pushWarningContext(vnode) {
  9394. stack.push(vnode);
  9395. }
  9396. function popWarningContext() {
  9397. stack.pop();
  9398. }
  9399. function warn(msg, ...args) {
  9400. // avoid props formatting or warn handler tracking deps that might be mutated
  9401. // during patch, leading to infinite recursion.
  9402. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  9403. const instance = stack.length ? stack[stack.length - 1].component : null;
  9404. const appWarnHandler = instance && instance.appContext.config.warnHandler;
  9405. const trace = getComponentTrace();
  9406. if (appWarnHandler) {
  9407. callWithErrorHandling(appWarnHandler, instance, 11 /* APP_WARN_HANDLER */, [
  9408. msg + args.join(''),
  9409. instance && instance.proxy,
  9410. trace
  9411. .map(({ vnode }) => `at <${formatComponentName(instance, vnode.type)}>`)
  9412. .join('\n'),
  9413. trace
  9414. ]);
  9415. }
  9416. else {
  9417. const warnArgs = [`[Vue warn]: ${msg}`, ...args];
  9418. /* istanbul ignore if */
  9419. if (trace.length &&
  9420. // avoid spamming console during tests
  9421. !false) {
  9422. warnArgs.push(`\n`, ...formatTrace(trace));
  9423. }
  9424. console.warn(...warnArgs);
  9425. }
  9426. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  9427. }
  9428. function getComponentTrace() {
  9429. let currentVNode = stack[stack.length - 1];
  9430. if (!currentVNode) {
  9431. return [];
  9432. }
  9433. // we can't just use the stack because it will be incomplete during updates
  9434. // that did not start from the root. Re-construct the parent chain using
  9435. // instance parent pointers.
  9436. const normalizedStack = [];
  9437. while (currentVNode) {
  9438. const last = normalizedStack[0];
  9439. if (last && last.vnode === currentVNode) {
  9440. last.recurseCount++;
  9441. }
  9442. else {
  9443. normalizedStack.push({
  9444. vnode: currentVNode,
  9445. recurseCount: 0
  9446. });
  9447. }
  9448. const parentInstance = currentVNode.component && currentVNode.component.parent;
  9449. currentVNode = parentInstance && parentInstance.vnode;
  9450. }
  9451. return normalizedStack;
  9452. }
  9453. /* istanbul ignore next */
  9454. function formatTrace(trace) {
  9455. const logs = [];
  9456. trace.forEach((entry, i) => {
  9457. logs.push(...(i === 0 ? [] : [`\n`]), ...formatTraceEntry(entry));
  9458. });
  9459. return logs;
  9460. }
  9461. function formatTraceEntry({ vnode, recurseCount }) {
  9462. const postfix = recurseCount > 0 ? `... (${recurseCount} recursive calls)` : ``;
  9463. const isRoot = vnode.component ? vnode.component.parent == null : false;
  9464. const open = ` at <${formatComponentName(vnode.component, vnode.type, isRoot)}`;
  9465. const close = `>` + postfix;
  9466. return vnode.props
  9467. ? [open, ...formatProps(vnode.props), close]
  9468. : [open + close];
  9469. }
  9470. /* istanbul ignore next */
  9471. function formatProps(props) {
  9472. const res = [];
  9473. const keys = Object.keys(props);
  9474. keys.slice(0, 3).forEach(key => {
  9475. res.push(...formatProp(key, props[key]));
  9476. });
  9477. if (keys.length > 3) {
  9478. res.push(` ...`);
  9479. }
  9480. return res;
  9481. }
  9482. /* istanbul ignore next */
  9483. function formatProp(key, value, raw) {
  9484. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(value)) {
  9485. value = JSON.stringify(value);
  9486. return raw ? value : [`${key}=${value}`];
  9487. }
  9488. else if (typeof value === 'number' ||
  9489. typeof value === 'boolean' ||
  9490. value == null) {
  9491. return raw ? value : [`${key}=${value}`];
  9492. }
  9493. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(value)) {
  9494. value = formatProp(key, (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(value.value), true);
  9495. return raw ? value : [`${key}=Ref<`, value, `>`];
  9496. }
  9497. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  9498. return [`${key}=fn${value.name ? `<${value.name}>` : ``}`];
  9499. }
  9500. else {
  9501. value = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(value);
  9502. return raw ? value : [`${key}=`, value];
  9503. }
  9504. }
  9505. const ErrorTypeStrings = {
  9506. ["sp" /* SERVER_PREFETCH */]: 'serverPrefetch hook',
  9507. ["bc" /* BEFORE_CREATE */]: 'beforeCreate hook',
  9508. ["c" /* CREATED */]: 'created hook',
  9509. ["bm" /* BEFORE_MOUNT */]: 'beforeMount hook',
  9510. ["m" /* MOUNTED */]: 'mounted hook',
  9511. ["bu" /* BEFORE_UPDATE */]: 'beforeUpdate hook',
  9512. ["u" /* UPDATED */]: 'updated',
  9513. ["bum" /* BEFORE_UNMOUNT */]: 'beforeUnmount hook',
  9514. ["um" /* UNMOUNTED */]: 'unmounted hook',
  9515. ["a" /* ACTIVATED */]: 'activated hook',
  9516. ["da" /* DEACTIVATED */]: 'deactivated hook',
  9517. ["ec" /* ERROR_CAPTURED */]: 'errorCaptured hook',
  9518. ["rtc" /* RENDER_TRACKED */]: 'renderTracked hook',
  9519. ["rtg" /* RENDER_TRIGGERED */]: 'renderTriggered hook',
  9520. [0 /* SETUP_FUNCTION */]: 'setup function',
  9521. [1 /* RENDER_FUNCTION */]: 'render function',
  9522. [2 /* WATCH_GETTER */]: 'watcher getter',
  9523. [3 /* WATCH_CALLBACK */]: 'watcher callback',
  9524. [4 /* WATCH_CLEANUP */]: 'watcher cleanup function',
  9525. [5 /* NATIVE_EVENT_HANDLER */]: 'native event handler',
  9526. [6 /* COMPONENT_EVENT_HANDLER */]: 'component event handler',
  9527. [7 /* VNODE_HOOK */]: 'vnode hook',
  9528. [8 /* DIRECTIVE_HOOK */]: 'directive hook',
  9529. [9 /* TRANSITION_HOOK */]: 'transition hook',
  9530. [10 /* APP_ERROR_HANDLER */]: 'app errorHandler',
  9531. [11 /* APP_WARN_HANDLER */]: 'app warnHandler',
  9532. [12 /* FUNCTION_REF */]: 'ref function',
  9533. [13 /* ASYNC_COMPONENT_LOADER */]: 'async component loader',
  9534. [14 /* SCHEDULER */]: 'scheduler flush. This is likely a Vue internals bug. ' +
  9535. 'Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core'
  9536. };
  9537. function callWithErrorHandling(fn, instance, type, args) {
  9538. let res;
  9539. try {
  9540. res = args ? fn(...args) : fn();
  9541. }
  9542. catch (err) {
  9543. handleError(err, instance, type);
  9544. }
  9545. return res;
  9546. }
  9547. function callWithAsyncErrorHandling(fn, instance, type, args) {
  9548. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(fn)) {
  9549. const res = callWithErrorHandling(fn, instance, type, args);
  9550. if (res && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(res)) {
  9551. res.catch(err => {
  9552. handleError(err, instance, type);
  9553. });
  9554. }
  9555. return res;
  9556. }
  9557. const values = [];
  9558. for (let i = 0; i < fn.length; i++) {
  9559. values.push(callWithAsyncErrorHandling(fn[i], instance, type, args));
  9560. }
  9561. return values;
  9562. }
  9563. function handleError(err, instance, type, throwInDev = true) {
  9564. const contextVNode = instance ? instance.vnode : null;
  9565. if (instance) {
  9566. let cur = instance.parent;
  9567. // the exposed instance is the render proxy to keep it consistent with 2.x
  9568. const exposedInstance = instance.proxy;
  9569. // in production the hook receives only the error code
  9570. const errorInfo = ( true) ? ErrorTypeStrings[type] : 0;
  9571. while (cur) {
  9572. const errorCapturedHooks = cur.ec;
  9573. if (errorCapturedHooks) {
  9574. for (let i = 0; i < errorCapturedHooks.length; i++) {
  9575. if (errorCapturedHooks[i](err, exposedInstance, errorInfo) === false) {
  9576. return;
  9577. }
  9578. }
  9579. }
  9580. cur = cur.parent;
  9581. }
  9582. // app-level handling
  9583. const appErrorHandler = instance.appContext.config.errorHandler;
  9584. if (appErrorHandler) {
  9585. callWithErrorHandling(appErrorHandler, null, 10 /* APP_ERROR_HANDLER */, [err, exposedInstance, errorInfo]);
  9586. return;
  9587. }
  9588. }
  9589. logError(err, type, contextVNode, throwInDev);
  9590. }
  9591. function logError(err, type, contextVNode, throwInDev = true) {
  9592. if ((true)) {
  9593. const info = ErrorTypeStrings[type];
  9594. if (contextVNode) {
  9595. pushWarningContext(contextVNode);
  9596. }
  9597. warn(`Unhandled error${info ? ` during execution of ${info}` : ``}`);
  9598. if (contextVNode) {
  9599. popWarningContext();
  9600. }
  9601. // crash in dev by default so it's more noticeable
  9602. if (throwInDev) {
  9603. throw err;
  9604. }
  9605. else {
  9606. console.error(err);
  9607. }
  9608. }
  9609. else {}
  9610. }
  9611. let isFlushing = false;
  9612. let isFlushPending = false;
  9613. const queue = [];
  9614. let flushIndex = 0;
  9615. const pendingPreFlushCbs = [];
  9616. let activePreFlushCbs = null;
  9617. let preFlushIndex = 0;
  9618. const pendingPostFlushCbs = [];
  9619. let activePostFlushCbs = null;
  9620. let postFlushIndex = 0;
  9621. const resolvedPromise = Promise.resolve();
  9622. let currentFlushPromise = null;
  9623. let currentPreFlushParentJob = null;
  9624. const RECURSION_LIMIT = 100;
  9625. function nextTick(fn) {
  9626. const p = currentFlushPromise || resolvedPromise;
  9627. return fn ? p.then(this ? fn.bind(this) : fn) : p;
  9628. }
  9629. // #2768
  9630. // Use binary-search to find a suitable position in the queue,
  9631. // so that the queue maintains the increasing order of job's id,
  9632. // which can prevent the job from being skipped and also can avoid repeated patching.
  9633. function findInsertionIndex(id) {
  9634. // the start index should be `flushIndex + 1`
  9635. let start = flushIndex + 1;
  9636. let end = queue.length;
  9637. while (start < end) {
  9638. const middle = (start + end) >>> 1;
  9639. const middleJobId = getId(queue[middle]);
  9640. middleJobId < id ? (start = middle + 1) : (end = middle);
  9641. }
  9642. return start;
  9643. }
  9644. function queueJob(job) {
  9645. // the dedupe search uses the startIndex argument of Array.includes()
  9646. // by default the search index includes the current job that is being run
  9647. // so it cannot recursively trigger itself again.
  9648. // if the job is a watch() callback, the search will start with a +1 index to
  9649. // allow it recursively trigger itself - it is the user's responsibility to
  9650. // ensure it doesn't end up in an infinite loop.
  9651. if ((!queue.length ||
  9652. !queue.includes(job, isFlushing && job.allowRecurse ? flushIndex + 1 : flushIndex)) &&
  9653. job !== currentPreFlushParentJob) {
  9654. if (job.id == null) {
  9655. queue.push(job);
  9656. }
  9657. else {
  9658. queue.splice(findInsertionIndex(job.id), 0, job);
  9659. }
  9660. queueFlush();
  9661. }
  9662. }
  9663. function queueFlush() {
  9664. if (!isFlushing && !isFlushPending) {
  9665. isFlushPending = true;
  9666. currentFlushPromise = resolvedPromise.then(flushJobs);
  9667. }
  9668. }
  9669. function invalidateJob(job) {
  9670. const i = queue.indexOf(job);
  9671. if (i > flushIndex) {
  9672. queue.splice(i, 1);
  9673. }
  9674. }
  9675. function queueCb(cb, activeQueue, pendingQueue, index) {
  9676. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(cb)) {
  9677. if (!activeQueue ||
  9678. !activeQueue.includes(cb, cb.allowRecurse ? index + 1 : index)) {
  9679. pendingQueue.push(cb);
  9680. }
  9681. }
  9682. else {
  9683. // if cb is an array, it is a component lifecycle hook which can only be
  9684. // triggered by a job, which is already deduped in the main queue, so
  9685. // we can skip duplicate check here to improve perf
  9686. pendingQueue.push(...cb);
  9687. }
  9688. queueFlush();
  9689. }
  9690. function queuePreFlushCb(cb) {
  9691. queueCb(cb, activePreFlushCbs, pendingPreFlushCbs, preFlushIndex);
  9692. }
  9693. function queuePostFlushCb(cb) {
  9694. queueCb(cb, activePostFlushCbs, pendingPostFlushCbs, postFlushIndex);
  9695. }
  9696. function flushPreFlushCbs(seen, parentJob = null) {
  9697. if (pendingPreFlushCbs.length) {
  9698. currentPreFlushParentJob = parentJob;
  9699. activePreFlushCbs = [...new Set(pendingPreFlushCbs)];
  9700. pendingPreFlushCbs.length = 0;
  9701. if ((true)) {
  9702. seen = seen || new Map();
  9703. }
  9704. for (preFlushIndex = 0; preFlushIndex < activePreFlushCbs.length; preFlushIndex++) {
  9705. if (( true) &&
  9706. checkRecursiveUpdates(seen, activePreFlushCbs[preFlushIndex])) {
  9707. continue;
  9708. }
  9709. activePreFlushCbs[preFlushIndex]();
  9710. }
  9711. activePreFlushCbs = null;
  9712. preFlushIndex = 0;
  9713. currentPreFlushParentJob = null;
  9714. // recursively flush until it drains
  9715. flushPreFlushCbs(seen, parentJob);
  9716. }
  9717. }
  9718. function flushPostFlushCbs(seen) {
  9719. if (pendingPostFlushCbs.length) {
  9720. const deduped = [...new Set(pendingPostFlushCbs)];
  9721. pendingPostFlushCbs.length = 0;
  9722. // #1947 already has active queue, nested flushPostFlushCbs call
  9723. if (activePostFlushCbs) {
  9724. activePostFlushCbs.push(...deduped);
  9725. return;
  9726. }
  9727. activePostFlushCbs = deduped;
  9728. if ((true)) {
  9729. seen = seen || new Map();
  9730. }
  9731. activePostFlushCbs.sort((a, b) => getId(a) - getId(b));
  9732. for (postFlushIndex = 0; postFlushIndex < activePostFlushCbs.length; postFlushIndex++) {
  9733. if (( true) &&
  9734. checkRecursiveUpdates(seen, activePostFlushCbs[postFlushIndex])) {
  9735. continue;
  9736. }
  9737. activePostFlushCbs[postFlushIndex]();
  9738. }
  9739. activePostFlushCbs = null;
  9740. postFlushIndex = 0;
  9741. }
  9742. }
  9743. const getId = (job) => job.id == null ? Infinity : job.id;
  9744. function flushJobs(seen) {
  9745. isFlushPending = false;
  9746. isFlushing = true;
  9747. if ((true)) {
  9748. seen = seen || new Map();
  9749. }
  9750. flushPreFlushCbs(seen);
  9751. // Sort queue before flush.
  9752. // This ensures that:
  9753. // 1. Components are updated from parent to child. (because parent is always
  9754. // created before the child so its render effect will have smaller
  9755. // priority number)
  9756. // 2. If a component is unmounted during a parent component's update,
  9757. // its update can be skipped.
  9758. queue.sort((a, b) => getId(a) - getId(b));
  9759. // conditional usage of checkRecursiveUpdate must be determined out of
  9760. // try ... catch block since Rollup by default de-optimizes treeshaking
  9761. // inside try-catch. This can leave all warning code unshaked. Although
  9762. // they would get eventually shaken by a minifier like terser, some minifiers
  9763. // would fail to do that (e.g. https://github.com/evanw/esbuild/issues/1610)
  9764. const check = ( true)
  9765. ? (job) => checkRecursiveUpdates(seen, job)
  9766. : 0;
  9767. try {
  9768. for (flushIndex = 0; flushIndex < queue.length; flushIndex++) {
  9769. const job = queue[flushIndex];
  9770. if (job && job.active !== false) {
  9771. if (( true) && check(job)) {
  9772. continue;
  9773. }
  9774. // console.log(`running:`, job.id)
  9775. callWithErrorHandling(job, null, 14 /* SCHEDULER */);
  9776. }
  9777. }
  9778. }
  9779. finally {
  9780. flushIndex = 0;
  9781. queue.length = 0;
  9782. flushPostFlushCbs(seen);
  9783. isFlushing = false;
  9784. currentFlushPromise = null;
  9785. // some postFlushCb queued jobs!
  9786. // keep flushing until it drains.
  9787. if (queue.length ||
  9788. pendingPreFlushCbs.length ||
  9789. pendingPostFlushCbs.length) {
  9790. flushJobs(seen);
  9791. }
  9792. }
  9793. }
  9794. function checkRecursiveUpdates(seen, fn) {
  9795. if (!seen.has(fn)) {
  9796. seen.set(fn, 1);
  9797. }
  9798. else {
  9799. const count = seen.get(fn);
  9800. if (count > RECURSION_LIMIT) {
  9801. const instance = fn.ownerInstance;
  9802. const componentName = instance && getComponentName(instance.type);
  9803. warn(`Maximum recursive updates exceeded${componentName ? ` in component <${componentName}>` : ``}. ` +
  9804. `This means you have a reactive effect that is mutating its own ` +
  9805. `dependencies and thus recursively triggering itself. Possible sources ` +
  9806. `include component template, render function, updated hook or ` +
  9807. `watcher source function.`);
  9808. return true;
  9809. }
  9810. else {
  9811. seen.set(fn, count + 1);
  9812. }
  9813. }
  9814. }
  9815. /* eslint-disable no-restricted-globals */
  9816. let isHmrUpdating = false;
  9817. const hmrDirtyComponents = new Set();
  9818. // Expose the HMR runtime on the global object
  9819. // This makes it entirely tree-shakable without polluting the exports and makes
  9820. // it easier to be used in toolings like vue-loader
  9821. // Note: for a component to be eligible for HMR it also needs the __hmrId option
  9822. // to be set so that its instances can be registered / removed.
  9823. if ((true)) {
  9824. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.getGlobalThis)().__VUE_HMR_RUNTIME__ = {
  9825. createRecord: tryWrap(createRecord),
  9826. rerender: tryWrap(rerender),
  9827. reload: tryWrap(reload)
  9828. };
  9829. }
  9830. const map = new Map();
  9831. function registerHMR(instance) {
  9832. const id = instance.type.__hmrId;
  9833. let record = map.get(id);
  9834. if (!record) {
  9835. createRecord(id, instance.type);
  9836. record = map.get(id);
  9837. }
  9838. record.instances.add(instance);
  9839. }
  9840. function unregisterHMR(instance) {
  9841. map.get(instance.type.__hmrId).instances.delete(instance);
  9842. }
  9843. function createRecord(id, initialDef) {
  9844. if (map.has(id)) {
  9845. return false;
  9846. }
  9847. map.set(id, {
  9848. initialDef: normalizeClassComponent(initialDef),
  9849. instances: new Set()
  9850. });
  9851. return true;
  9852. }
  9853. function normalizeClassComponent(component) {
  9854. return isClassComponent(component) ? component.__vccOpts : component;
  9855. }
  9856. function rerender(id, newRender) {
  9857. const record = map.get(id);
  9858. if (!record) {
  9859. return;
  9860. }
  9861. // update initial record (for not-yet-rendered component)
  9862. record.initialDef.render = newRender;
  9863. [...record.instances].forEach(instance => {
  9864. if (newRender) {
  9865. instance.render = newRender;
  9866. normalizeClassComponent(instance.type).render = newRender;
  9867. }
  9868. instance.renderCache = [];
  9869. // this flag forces child components with slot content to update
  9870. isHmrUpdating = true;
  9871. instance.update();
  9872. isHmrUpdating = false;
  9873. });
  9874. }
  9875. function reload(id, newComp) {
  9876. const record = map.get(id);
  9877. if (!record)
  9878. return;
  9879. newComp = normalizeClassComponent(newComp);
  9880. // update initial def (for not-yet-rendered components)
  9881. updateComponentDef(record.initialDef, newComp);
  9882. // create a snapshot which avoids the set being mutated during updates
  9883. const instances = [...record.instances];
  9884. for (const instance of instances) {
  9885. const oldComp = normalizeClassComponent(instance.type);
  9886. if (!hmrDirtyComponents.has(oldComp)) {
  9887. // 1. Update existing comp definition to match new one
  9888. if (oldComp !== record.initialDef) {
  9889. updateComponentDef(oldComp, newComp);
  9890. }
  9891. // 2. mark definition dirty. This forces the renderer to replace the
  9892. // component on patch.
  9893. hmrDirtyComponents.add(oldComp);
  9894. }
  9895. // 3. invalidate options resolution cache
  9896. instance.appContext.optionsCache.delete(instance.type);
  9897. // 4. actually update
  9898. if (instance.ceReload) {
  9899. // custom element
  9900. hmrDirtyComponents.add(oldComp);
  9901. instance.ceReload(newComp.styles);
  9902. hmrDirtyComponents.delete(oldComp);
  9903. }
  9904. else if (instance.parent) {
  9905. // 4. Force the parent instance to re-render. This will cause all updated
  9906. // components to be unmounted and re-mounted. Queue the update so that we
  9907. // don't end up forcing the same parent to re-render multiple times.
  9908. queueJob(instance.parent.update);
  9909. // instance is the inner component of an async custom element
  9910. // invoke to reset styles
  9911. if (instance.parent.type.__asyncLoader &&
  9912. instance.parent.ceReload) {
  9913. instance.parent.ceReload(newComp.styles);
  9914. }
  9915. }
  9916. else if (instance.appContext.reload) {
  9917. // root instance mounted via createApp() has a reload method
  9918. instance.appContext.reload();
  9919. }
  9920. else if (typeof window !== 'undefined') {
  9921. // root instance inside tree created via raw render(). Force reload.
  9922. window.location.reload();
  9923. }
  9924. else {
  9925. console.warn('[HMR] Root or manually mounted instance modified. Full reload required.');
  9926. }
  9927. }
  9928. // 5. make sure to cleanup dirty hmr components after update
  9929. queuePostFlushCb(() => {
  9930. for (const instance of instances) {
  9931. hmrDirtyComponents.delete(normalizeClassComponent(instance.type));
  9932. }
  9933. });
  9934. }
  9935. function updateComponentDef(oldComp, newComp) {
  9936. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(oldComp, newComp);
  9937. for (const key in oldComp) {
  9938. if (key !== '__file' && !(key in newComp)) {
  9939. delete oldComp[key];
  9940. }
  9941. }
  9942. }
  9943. function tryWrap(fn) {
  9944. return (id, arg) => {
  9945. try {
  9946. return fn(id, arg);
  9947. }
  9948. catch (e) {
  9949. console.error(e);
  9950. console.warn(`[HMR] Something went wrong during Vue component hot-reload. ` +
  9951. `Full reload required.`);
  9952. }
  9953. };
  9954. }
  9955. let devtools;
  9956. let buffer = [];
  9957. let devtoolsNotInstalled = false;
  9958. function emit(event, ...args) {
  9959. if (devtools) {
  9960. devtools.emit(event, ...args);
  9961. }
  9962. else if (!devtoolsNotInstalled) {
  9963. buffer.push({ event, args });
  9964. }
  9965. }
  9966. function setDevtoolsHook(hook, target) {
  9967. var _a, _b;
  9968. devtools = hook;
  9969. if (devtools) {
  9970. devtools.enabled = true;
  9971. buffer.forEach(({ event, args }) => devtools.emit(event, ...args));
  9972. buffer = [];
  9973. }
  9974. else if (
  9975. // handle late devtools injection - only do this if we are in an actual
  9976. // browser environment to avoid the timer handle stalling test runner exit
  9977. // (#4815)
  9978. // eslint-disable-next-line no-restricted-globals
  9979. typeof window !== 'undefined' &&
  9980. // some envs mock window but not fully
  9981. window.HTMLElement &&
  9982. // also exclude jsdom
  9983. !((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {
  9984. const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =
  9985. target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);
  9986. replay.push((newHook) => {
  9987. setDevtoolsHook(newHook, target);
  9988. });
  9989. // clear buffer after 3s - the user probably doesn't have devtools installed
  9990. // at all, and keeping the buffer will cause memory leaks (#4738)
  9991. setTimeout(() => {
  9992. if (!devtools) {
  9993. target.__VUE_DEVTOOLS_HOOK_REPLAY__ = null;
  9994. devtoolsNotInstalled = true;
  9995. buffer = [];
  9996. }
  9997. }, 3000);
  9998. }
  9999. else {
  10000. // non-browser env, assume not installed
  10001. devtoolsNotInstalled = true;
  10002. buffer = [];
  10003. }
  10004. }
  10005. function devtoolsInitApp(app, version) {
  10006. emit("app:init" /* APP_INIT */, app, version, {
  10007. Fragment,
  10008. Text,
  10009. Comment,
  10010. Static
  10011. });
  10012. }
  10013. function devtoolsUnmountApp(app) {
  10014. emit("app:unmount" /* APP_UNMOUNT */, app);
  10015. }
  10016. const devtoolsComponentAdded = /*#__PURE__*/ createDevtoolsComponentHook("component:added" /* COMPONENT_ADDED */);
  10017. const devtoolsComponentUpdated =
  10018. /*#__PURE__*/ createDevtoolsComponentHook("component:updated" /* COMPONENT_UPDATED */);
  10019. const devtoolsComponentRemoved =
  10020. /*#__PURE__*/ createDevtoolsComponentHook("component:removed" /* COMPONENT_REMOVED */);
  10021. function createDevtoolsComponentHook(hook) {
  10022. return (component) => {
  10023. emit(hook, component.appContext.app, component.uid, component.parent ? component.parent.uid : undefined, component);
  10024. };
  10025. }
  10026. const devtoolsPerfStart = /*#__PURE__*/ createDevtoolsPerformanceHook("perf:start" /* PERFORMANCE_START */);
  10027. const devtoolsPerfEnd = /*#__PURE__*/ createDevtoolsPerformanceHook("perf:end" /* PERFORMANCE_END */);
  10028. function createDevtoolsPerformanceHook(hook) {
  10029. return (component, type, time) => {
  10030. emit(hook, component.appContext.app, component.uid, component, type, time);
  10031. };
  10032. }
  10033. function devtoolsComponentEmit(component, event, params) {
  10034. emit("component:emit" /* COMPONENT_EMIT */, component.appContext.app, component, event, params);
  10035. }
  10036. function emit$1(instance, event, ...rawArgs) {
  10037. const props = instance.vnode.props || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  10038. if ((true)) {
  10039. const { emitsOptions, propsOptions: [propsOptions] } = instance;
  10040. if (emitsOptions) {
  10041. if (!(event in emitsOptions) &&
  10042. !(false )) {
  10043. if (!propsOptions || !((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(event) in propsOptions)) {
  10044. warn(`Component emitted event "${event}" but it is neither declared in ` +
  10045. `the emits option nor as an "${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(event)}" prop.`);
  10046. }
  10047. }
  10048. else {
  10049. const validator = emitsOptions[event];
  10050. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(validator)) {
  10051. const isValid = validator(...rawArgs);
  10052. if (!isValid) {
  10053. warn(`Invalid event arguments: event validation failed for event "${event}".`);
  10054. }
  10055. }
  10056. }
  10057. }
  10058. }
  10059. let args = rawArgs;
  10060. const isModelListener = event.startsWith('update:');
  10061. // for v-model update:xxx events, apply modifiers on args
  10062. const modelArg = isModelListener && event.slice(7);
  10063. if (modelArg && modelArg in props) {
  10064. const modifiersKey = `${modelArg === 'modelValue' ? 'model' : modelArg}Modifiers`;
  10065. const { number, trim } = props[modifiersKey] || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  10066. if (trim) {
  10067. args = rawArgs.map(a => a.trim());
  10068. }
  10069. else if (number) {
  10070. args = rawArgs.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber);
  10071. }
  10072. }
  10073. if (true) {
  10074. devtoolsComponentEmit(instance, event, args);
  10075. }
  10076. if ((true)) {
  10077. const lowerCaseEvent = event.toLowerCase();
  10078. if (lowerCaseEvent !== event && props[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(lowerCaseEvent)]) {
  10079. warn(`Event "${lowerCaseEvent}" is emitted in component ` +
  10080. `${formatComponentName(instance, instance.type)} but the handler is registered for "${event}". ` +
  10081. `Note that HTML attributes are case-insensitive and you cannot use ` +
  10082. `v-on to listen to camelCase events when using in-DOM templates. ` +
  10083. `You should probably use "${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(event)}" instead of "${event}".`);
  10084. }
  10085. }
  10086. let handlerName;
  10087. let handler = props[(handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(event))] ||
  10088. // also try camelCase event handler (#2249)
  10089. props[(handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(event)))];
  10090. // for v-model update:xxx events, also trigger kebab-case equivalent
  10091. // for props passed via kebab-case
  10092. if (!handler && isModelListener) {
  10093. handler = props[(handlerName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(event)))];
  10094. }
  10095. if (handler) {
  10096. callWithAsyncErrorHandling(handler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);
  10097. }
  10098. const onceHandler = props[handlerName + `Once`];
  10099. if (onceHandler) {
  10100. if (!instance.emitted) {
  10101. instance.emitted = {};
  10102. }
  10103. else if (instance.emitted[handlerName]) {
  10104. return;
  10105. }
  10106. instance.emitted[handlerName] = true;
  10107. callWithAsyncErrorHandling(onceHandler, instance, 6 /* COMPONENT_EVENT_HANDLER */, args);
  10108. }
  10109. }
  10110. function normalizeEmitsOptions(comp, appContext, asMixin = false) {
  10111. const cache = appContext.emitsCache;
  10112. const cached = cache.get(comp);
  10113. if (cached !== undefined) {
  10114. return cached;
  10115. }
  10116. const raw = comp.emits;
  10117. let normalized = {};
  10118. // apply mixin/extends props
  10119. let hasExtends = false;
  10120. if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(comp)) {
  10121. const extendEmits = (raw) => {
  10122. const normalizedFromExtend = normalizeEmitsOptions(raw, appContext, true);
  10123. if (normalizedFromExtend) {
  10124. hasExtends = true;
  10125. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(normalized, normalizedFromExtend);
  10126. }
  10127. };
  10128. if (!asMixin && appContext.mixins.length) {
  10129. appContext.mixins.forEach(extendEmits);
  10130. }
  10131. if (comp.extends) {
  10132. extendEmits(comp.extends);
  10133. }
  10134. if (comp.mixins) {
  10135. comp.mixins.forEach(extendEmits);
  10136. }
  10137. }
  10138. if (!raw && !hasExtends) {
  10139. cache.set(comp, null);
  10140. return null;
  10141. }
  10142. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  10143. raw.forEach(key => (normalized[key] = null));
  10144. }
  10145. else {
  10146. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(normalized, raw);
  10147. }
  10148. cache.set(comp, normalized);
  10149. return normalized;
  10150. }
  10151. // Check if an incoming prop key is a declared emit event listener.
  10152. // e.g. With `emits: { click: null }`, props named `onClick` and `onclick` are
  10153. // both considered matched listeners.
  10154. function isEmitListener(options, key) {
  10155. if (!options || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  10156. return false;
  10157. }
  10158. key = key.slice(2).replace(/Once$/, '');
  10159. return ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, key[0].toLowerCase() + key.slice(1)) ||
  10160. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key)) ||
  10161. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, key));
  10162. }
  10163. /**
  10164. * mark the current rendering instance for asset resolution (e.g.
  10165. * resolveComponent, resolveDirective) during render
  10166. */
  10167. let currentRenderingInstance = null;
  10168. let currentScopeId = null;
  10169. /**
  10170. * Note: rendering calls maybe nested. The function returns the parent rendering
  10171. * instance if present, which should be restored after the render is done:
  10172. *
  10173. * ```js
  10174. * const prev = setCurrentRenderingInstance(i)
  10175. * // ...render
  10176. * setCurrentRenderingInstance(prev)
  10177. * ```
  10178. */
  10179. function setCurrentRenderingInstance(instance) {
  10180. const prev = currentRenderingInstance;
  10181. currentRenderingInstance = instance;
  10182. currentScopeId = (instance && instance.type.__scopeId) || null;
  10183. return prev;
  10184. }
  10185. /**
  10186. * Set scope id when creating hoisted vnodes.
  10187. * @private compiler helper
  10188. */
  10189. function pushScopeId(id) {
  10190. currentScopeId = id;
  10191. }
  10192. /**
  10193. * Technically we no longer need this after 3.0.8 but we need to keep the same
  10194. * API for backwards compat w/ code generated by compilers.
  10195. * @private
  10196. */
  10197. function popScopeId() {
  10198. currentScopeId = null;
  10199. }
  10200. /**
  10201. * Only for backwards compat
  10202. * @private
  10203. */
  10204. const withScopeId = (_id) => withCtx;
  10205. /**
  10206. * Wrap a slot function to memoize current rendering instance
  10207. * @private compiler helper
  10208. */
  10209. function withCtx(fn, ctx = currentRenderingInstance, isNonScopedSlot // false only
  10210. ) {
  10211. if (!ctx)
  10212. return fn;
  10213. // already normalized
  10214. if (fn._n) {
  10215. return fn;
  10216. }
  10217. const renderFnWithContext = (...args) => {
  10218. // If a user calls a compiled slot inside a template expression (#1745), it
  10219. // can mess up block tracking, so by default we disable block tracking and
  10220. // force bail out when invoking a compiled slot (indicated by the ._d flag).
  10221. // This isn't necessary if rendering a compiled `<slot>`, so we flip the
  10222. // ._d flag off when invoking the wrapped fn inside `renderSlot`.
  10223. if (renderFnWithContext._d) {
  10224. setBlockTracking(-1);
  10225. }
  10226. const prevInstance = setCurrentRenderingInstance(ctx);
  10227. const res = fn(...args);
  10228. setCurrentRenderingInstance(prevInstance);
  10229. if (renderFnWithContext._d) {
  10230. setBlockTracking(1);
  10231. }
  10232. if (true) {
  10233. devtoolsComponentUpdated(ctx);
  10234. }
  10235. return res;
  10236. };
  10237. // mark normalized to avoid duplicated wrapping
  10238. renderFnWithContext._n = true;
  10239. // mark this as compiled by default
  10240. // this is used in vnode.ts -> normalizeChildren() to set the slot
  10241. // rendering flag.
  10242. renderFnWithContext._c = true;
  10243. // disable block tracking by default
  10244. renderFnWithContext._d = true;
  10245. return renderFnWithContext;
  10246. }
  10247. /**
  10248. * dev only flag to track whether $attrs was used during render.
  10249. * If $attrs was used during render then the warning for failed attrs
  10250. * fallthrough can be suppressed.
  10251. */
  10252. let accessedAttrs = false;
  10253. function markAttrsAccessed() {
  10254. accessedAttrs = true;
  10255. }
  10256. function renderComponentRoot(instance) {
  10257. const { type: Component, vnode, proxy, withProxy, props, propsOptions: [propsOptions], slots, attrs, emit, render, renderCache, data, setupState, ctx, inheritAttrs } = instance;
  10258. let result;
  10259. let fallthroughAttrs;
  10260. const prev = setCurrentRenderingInstance(instance);
  10261. if ((true)) {
  10262. accessedAttrs = false;
  10263. }
  10264. try {
  10265. if (vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */) {
  10266. // withProxy is a proxy with a different `has` trap only for
  10267. // runtime-compiled render functions using `with` block.
  10268. const proxyToUse = withProxy || proxy;
  10269. result = normalizeVNode(render.call(proxyToUse, proxyToUse, renderCache, props, setupState, data, ctx));
  10270. fallthroughAttrs = attrs;
  10271. }
  10272. else {
  10273. // functional
  10274. const render = Component;
  10275. // in dev, mark attrs accessed if optional props (attrs === props)
  10276. if (( true) && attrs === props) {
  10277. markAttrsAccessed();
  10278. }
  10279. result = normalizeVNode(render.length > 1
  10280. ? render(props, ( true)
  10281. ? {
  10282. get attrs() {
  10283. markAttrsAccessed();
  10284. return attrs;
  10285. },
  10286. slots,
  10287. emit
  10288. }
  10289. : 0)
  10290. : render(props, null /* we know it doesn't need it */));
  10291. fallthroughAttrs = Component.props
  10292. ? attrs
  10293. : getFunctionalFallthrough(attrs);
  10294. }
  10295. }
  10296. catch (err) {
  10297. blockStack.length = 0;
  10298. handleError(err, instance, 1 /* RENDER_FUNCTION */);
  10299. result = createVNode(Comment);
  10300. }
  10301. // attr merging
  10302. // in dev mode, comments are preserved, and it's possible for a template
  10303. // to have comments along side the root element which makes it a fragment
  10304. let root = result;
  10305. let setRoot = undefined;
  10306. if (( true) &&
  10307. result.patchFlag > 0 &&
  10308. result.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {
  10309. [root, setRoot] = getChildRoot(result);
  10310. }
  10311. if (fallthroughAttrs && inheritAttrs !== false) {
  10312. const keys = Object.keys(fallthroughAttrs);
  10313. const { shapeFlag } = root;
  10314. if (keys.length) {
  10315. if (shapeFlag & (1 /* ELEMENT */ | 6 /* COMPONENT */)) {
  10316. if (propsOptions && keys.some(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)) {
  10317. // If a v-model listener (onUpdate:xxx) has a corresponding declared
  10318. // prop, it indicates this component expects to handle v-model and
  10319. // it should not fallthrough.
  10320. // related: #1543, #1643, #1989
  10321. fallthroughAttrs = filterModelListeners(fallthroughAttrs, propsOptions);
  10322. }
  10323. root = cloneVNode(root, fallthroughAttrs);
  10324. }
  10325. else if (( true) && !accessedAttrs && root.type !== Comment) {
  10326. const allAttrs = Object.keys(attrs);
  10327. const eventAttrs = [];
  10328. const extraAttrs = [];
  10329. for (let i = 0, l = allAttrs.length; i < l; i++) {
  10330. const key = allAttrs[i];
  10331. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  10332. // ignore v-model handlers when they fail to fallthrough
  10333. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)(key)) {
  10334. // remove `on`, lowercase first letter to reflect event casing
  10335. // accurately
  10336. eventAttrs.push(key[2].toLowerCase() + key.slice(3));
  10337. }
  10338. }
  10339. else {
  10340. extraAttrs.push(key);
  10341. }
  10342. }
  10343. if (extraAttrs.length) {
  10344. warn(`Extraneous non-props attributes (` +
  10345. `${extraAttrs.join(', ')}) ` +
  10346. `were passed to component but could not be automatically inherited ` +
  10347. `because component renders fragment or text root nodes.`);
  10348. }
  10349. if (eventAttrs.length) {
  10350. warn(`Extraneous non-emits event listeners (` +
  10351. `${eventAttrs.join(', ')}) ` +
  10352. `were passed to component but could not be automatically inherited ` +
  10353. `because component renders fragment or text root nodes. ` +
  10354. `If the listener is intended to be a component custom event listener only, ` +
  10355. `declare it using the "emits" option.`);
  10356. }
  10357. }
  10358. }
  10359. }
  10360. // inherit directives
  10361. if (vnode.dirs) {
  10362. if (( true) && !isElementRoot(root)) {
  10363. warn(`Runtime directive used on component with non-element root node. ` +
  10364. `The directives will not function as intended.`);
  10365. }
  10366. root.dirs = root.dirs ? root.dirs.concat(vnode.dirs) : vnode.dirs;
  10367. }
  10368. // inherit transition data
  10369. if (vnode.transition) {
  10370. if (( true) && !isElementRoot(root)) {
  10371. warn(`Component inside <Transition> renders non-element root node ` +
  10372. `that cannot be animated.`);
  10373. }
  10374. root.transition = vnode.transition;
  10375. }
  10376. if (( true) && setRoot) {
  10377. setRoot(root);
  10378. }
  10379. else {
  10380. result = root;
  10381. }
  10382. setCurrentRenderingInstance(prev);
  10383. return result;
  10384. }
  10385. /**
  10386. * dev only
  10387. * In dev mode, template root level comments are rendered, which turns the
  10388. * template into a fragment root, but we need to locate the single element
  10389. * root for attrs and scope id processing.
  10390. */
  10391. const getChildRoot = (vnode) => {
  10392. const rawChildren = vnode.children;
  10393. const dynamicChildren = vnode.dynamicChildren;
  10394. const childRoot = filterSingleRoot(rawChildren);
  10395. if (!childRoot) {
  10396. return [vnode, undefined];
  10397. }
  10398. const index = rawChildren.indexOf(childRoot);
  10399. const dynamicIndex = dynamicChildren ? dynamicChildren.indexOf(childRoot) : -1;
  10400. const setRoot = (updatedRoot) => {
  10401. rawChildren[index] = updatedRoot;
  10402. if (dynamicChildren) {
  10403. if (dynamicIndex > -1) {
  10404. dynamicChildren[dynamicIndex] = updatedRoot;
  10405. }
  10406. else if (updatedRoot.patchFlag > 0) {
  10407. vnode.dynamicChildren = [...dynamicChildren, updatedRoot];
  10408. }
  10409. }
  10410. };
  10411. return [normalizeVNode(childRoot), setRoot];
  10412. };
  10413. function filterSingleRoot(children) {
  10414. let singleRoot;
  10415. for (let i = 0; i < children.length; i++) {
  10416. const child = children[i];
  10417. if (isVNode(child)) {
  10418. // ignore user comment
  10419. if (child.type !== Comment || child.children === 'v-if') {
  10420. if (singleRoot) {
  10421. // has more than 1 non-comment child, return now
  10422. return;
  10423. }
  10424. else {
  10425. singleRoot = child;
  10426. }
  10427. }
  10428. }
  10429. else {
  10430. return;
  10431. }
  10432. }
  10433. return singleRoot;
  10434. }
  10435. const getFunctionalFallthrough = (attrs) => {
  10436. let res;
  10437. for (const key in attrs) {
  10438. if (key === 'class' || key === 'style' || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  10439. (res || (res = {}))[key] = attrs[key];
  10440. }
  10441. }
  10442. return res;
  10443. };
  10444. const filterModelListeners = (attrs, props) => {
  10445. const res = {};
  10446. for (const key in attrs) {
  10447. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)(key) || !(key.slice(9) in props)) {
  10448. res[key] = attrs[key];
  10449. }
  10450. }
  10451. return res;
  10452. };
  10453. const isElementRoot = (vnode) => {
  10454. return (vnode.shapeFlag & (6 /* COMPONENT */ | 1 /* ELEMENT */) ||
  10455. vnode.type === Comment // potential v-if branch switch
  10456. );
  10457. };
  10458. function shouldUpdateComponent(prevVNode, nextVNode, optimized) {
  10459. const { props: prevProps, children: prevChildren, component } = prevVNode;
  10460. const { props: nextProps, children: nextChildren, patchFlag } = nextVNode;
  10461. const emits = component.emitsOptions;
  10462. // Parent component's render function was hot-updated. Since this may have
  10463. // caused the child component's slots content to have changed, we need to
  10464. // force the child to update as well.
  10465. if (( true) && (prevChildren || nextChildren) && isHmrUpdating) {
  10466. return true;
  10467. }
  10468. // force child update for runtime directive or transition on component vnode.
  10469. if (nextVNode.dirs || nextVNode.transition) {
  10470. return true;
  10471. }
  10472. if (optimized && patchFlag >= 0) {
  10473. if (patchFlag & 1024 /* DYNAMIC_SLOTS */) {
  10474. // slot content that references values that might have changed,
  10475. // e.g. in a v-for
  10476. return true;
  10477. }
  10478. if (patchFlag & 16 /* FULL_PROPS */) {
  10479. if (!prevProps) {
  10480. return !!nextProps;
  10481. }
  10482. // presence of this flag indicates props are always non-null
  10483. return hasPropsChanged(prevProps, nextProps, emits);
  10484. }
  10485. else if (patchFlag & 8 /* PROPS */) {
  10486. const dynamicProps = nextVNode.dynamicProps;
  10487. for (let i = 0; i < dynamicProps.length; i++) {
  10488. const key = dynamicProps[i];
  10489. if (nextProps[key] !== prevProps[key] &&
  10490. !isEmitListener(emits, key)) {
  10491. return true;
  10492. }
  10493. }
  10494. }
  10495. }
  10496. else {
  10497. // this path is only taken by manually written render functions
  10498. // so presence of any children leads to a forced update
  10499. if (prevChildren || nextChildren) {
  10500. if (!nextChildren || !nextChildren.$stable) {
  10501. return true;
  10502. }
  10503. }
  10504. if (prevProps === nextProps) {
  10505. return false;
  10506. }
  10507. if (!prevProps) {
  10508. return !!nextProps;
  10509. }
  10510. if (!nextProps) {
  10511. return true;
  10512. }
  10513. return hasPropsChanged(prevProps, nextProps, emits);
  10514. }
  10515. return false;
  10516. }
  10517. function hasPropsChanged(prevProps, nextProps, emitsOptions) {
  10518. const nextKeys = Object.keys(nextProps);
  10519. if (nextKeys.length !== Object.keys(prevProps).length) {
  10520. return true;
  10521. }
  10522. for (let i = 0; i < nextKeys.length; i++) {
  10523. const key = nextKeys[i];
  10524. if (nextProps[key] !== prevProps[key] &&
  10525. !isEmitListener(emitsOptions, key)) {
  10526. return true;
  10527. }
  10528. }
  10529. return false;
  10530. }
  10531. function updateHOCHostEl({ vnode, parent }, el // HostNode
  10532. ) {
  10533. while (parent && parent.subTree === vnode) {
  10534. (vnode = parent.vnode).el = el;
  10535. parent = parent.parent;
  10536. }
  10537. }
  10538. const isSuspense = (type) => type.__isSuspense;
  10539. // Suspense exposes a component-like API, and is treated like a component
  10540. // in the compiler, but internally it's a special built-in type that hooks
  10541. // directly into the renderer.
  10542. const SuspenseImpl = {
  10543. name: 'Suspense',
  10544. // In order to make Suspense tree-shakable, we need to avoid importing it
  10545. // directly in the renderer. The renderer checks for the __isSuspense flag
  10546. // on a vnode's type and calls the `process` method, passing in renderer
  10547. // internals.
  10548. __isSuspense: true,
  10549. process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized,
  10550. // platform-specific impl passed from renderer
  10551. rendererInternals) {
  10552. if (n1 == null) {
  10553. mountSuspense(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals);
  10554. }
  10555. else {
  10556. patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, rendererInternals);
  10557. }
  10558. },
  10559. hydrate: hydrateSuspense,
  10560. create: createSuspenseBoundary,
  10561. normalize: normalizeSuspenseChildren
  10562. };
  10563. // Force-casted public typing for h and TSX props inference
  10564. const Suspense = (SuspenseImpl );
  10565. function triggerEvent(vnode, name) {
  10566. const eventListener = vnode.props && vnode.props[name];
  10567. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(eventListener)) {
  10568. eventListener();
  10569. }
  10570. }
  10571. function mountSuspense(vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals) {
  10572. const { p: patch, o: { createElement } } = rendererInternals;
  10573. const hiddenContainer = createElement('div');
  10574. const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals));
  10575. // start mounting the content subtree in an off-dom container
  10576. patch(null, (suspense.pendingBranch = vnode.ssContent), hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds);
  10577. // now check if we have encountered any async deps
  10578. if (suspense.deps > 0) {
  10579. // has async
  10580. // invoke @fallback event
  10581. triggerEvent(vnode, 'onPending');
  10582. triggerEvent(vnode, 'onFallback');
  10583. // mount the fallback tree
  10584. patch(null, vnode.ssFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10585. isSVG, slotScopeIds);
  10586. setActiveBranch(suspense, vnode.ssFallback);
  10587. }
  10588. else {
  10589. // Suspense has no async deps. Just resolve.
  10590. suspense.resolve();
  10591. }
  10592. }
  10593. function patchSuspense(n1, n2, container, anchor, parentComponent, isSVG, slotScopeIds, optimized, { p: patch, um: unmount, o: { createElement } }) {
  10594. const suspense = (n2.suspense = n1.suspense);
  10595. suspense.vnode = n2;
  10596. n2.el = n1.el;
  10597. const newBranch = n2.ssContent;
  10598. const newFallback = n2.ssFallback;
  10599. const { activeBranch, pendingBranch, isInFallback, isHydrating } = suspense;
  10600. if (pendingBranch) {
  10601. suspense.pendingBranch = newBranch;
  10602. if (isSameVNodeType(newBranch, pendingBranch)) {
  10603. // same root type but content may have changed.
  10604. patch(pendingBranch, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10605. if (suspense.deps <= 0) {
  10606. suspense.resolve();
  10607. }
  10608. else if (isInFallback) {
  10609. patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10610. isSVG, slotScopeIds, optimized);
  10611. setActiveBranch(suspense, newFallback);
  10612. }
  10613. }
  10614. else {
  10615. // toggled before pending tree is resolved
  10616. suspense.pendingId++;
  10617. if (isHydrating) {
  10618. // if toggled before hydration is finished, the current DOM tree is
  10619. // no longer valid. set it as the active branch so it will be unmounted
  10620. // when resolved
  10621. suspense.isHydrating = false;
  10622. suspense.activeBranch = pendingBranch;
  10623. }
  10624. else {
  10625. unmount(pendingBranch, parentComponent, suspense);
  10626. }
  10627. // increment pending ID. this is used to invalidate async callbacks
  10628. // reset suspense state
  10629. suspense.deps = 0;
  10630. // discard effects from pending branch
  10631. suspense.effects.length = 0;
  10632. // discard previous container
  10633. suspense.hiddenContainer = createElement('div');
  10634. if (isInFallback) {
  10635. // already in fallback state
  10636. patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10637. if (suspense.deps <= 0) {
  10638. suspense.resolve();
  10639. }
  10640. else {
  10641. patch(activeBranch, newFallback, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10642. isSVG, slotScopeIds, optimized);
  10643. setActiveBranch(suspense, newFallback);
  10644. }
  10645. }
  10646. else if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {
  10647. // toggled "back" to current active branch
  10648. patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10649. // force resolve
  10650. suspense.resolve(true);
  10651. }
  10652. else {
  10653. // switched to a 3rd branch
  10654. patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10655. if (suspense.deps <= 0) {
  10656. suspense.resolve();
  10657. }
  10658. }
  10659. }
  10660. }
  10661. else {
  10662. if (activeBranch && isSameVNodeType(newBranch, activeBranch)) {
  10663. // root did not change, just normal patch
  10664. patch(activeBranch, newBranch, container, anchor, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10665. setActiveBranch(suspense, newBranch);
  10666. }
  10667. else {
  10668. // root node toggled
  10669. // invoke @pending event
  10670. triggerEvent(n2, 'onPending');
  10671. // mount pending branch in off-dom container
  10672. suspense.pendingBranch = newBranch;
  10673. suspense.pendingId++;
  10674. patch(null, newBranch, suspense.hiddenContainer, null, parentComponent, suspense, isSVG, slotScopeIds, optimized);
  10675. if (suspense.deps <= 0) {
  10676. // incoming branch has no async deps, resolve now.
  10677. suspense.resolve();
  10678. }
  10679. else {
  10680. const { timeout, pendingId } = suspense;
  10681. if (timeout > 0) {
  10682. setTimeout(() => {
  10683. if (suspense.pendingId === pendingId) {
  10684. suspense.fallback(newFallback);
  10685. }
  10686. }, timeout);
  10687. }
  10688. else if (timeout === 0) {
  10689. suspense.fallback(newFallback);
  10690. }
  10691. }
  10692. }
  10693. }
  10694. }
  10695. let hasWarned = false;
  10696. function createSuspenseBoundary(vnode, parent, parentComponent, container, hiddenContainer, anchor, isSVG, slotScopeIds, optimized, rendererInternals, isHydrating = false) {
  10697. /* istanbul ignore if */
  10698. if ( true && !hasWarned) {
  10699. hasWarned = true;
  10700. // @ts-ignore `console.info` cannot be null error
  10701. console[console.info ? 'info' : 'log'](`<Suspense> is an experimental feature and its API will likely change.`);
  10702. }
  10703. const { p: patch, m: move, um: unmount, n: next, o: { parentNode, remove } } = rendererInternals;
  10704. const timeout = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(vnode.props && vnode.props.timeout);
  10705. const suspense = {
  10706. vnode,
  10707. parent,
  10708. parentComponent,
  10709. isSVG,
  10710. container,
  10711. hiddenContainer,
  10712. anchor,
  10713. deps: 0,
  10714. pendingId: 0,
  10715. timeout: typeof timeout === 'number' ? timeout : -1,
  10716. activeBranch: null,
  10717. pendingBranch: null,
  10718. isInFallback: true,
  10719. isHydrating,
  10720. isUnmounted: false,
  10721. effects: [],
  10722. resolve(resume = false) {
  10723. if ((true)) {
  10724. if (!resume && !suspense.pendingBranch) {
  10725. throw new Error(`suspense.resolve() is called without a pending branch.`);
  10726. }
  10727. if (suspense.isUnmounted) {
  10728. throw new Error(`suspense.resolve() is called on an already unmounted suspense boundary.`);
  10729. }
  10730. }
  10731. const { vnode, activeBranch, pendingBranch, pendingId, effects, parentComponent, container } = suspense;
  10732. if (suspense.isHydrating) {
  10733. suspense.isHydrating = false;
  10734. }
  10735. else if (!resume) {
  10736. const delayEnter = activeBranch &&
  10737. pendingBranch.transition &&
  10738. pendingBranch.transition.mode === 'out-in';
  10739. if (delayEnter) {
  10740. activeBranch.transition.afterLeave = () => {
  10741. if (pendingId === suspense.pendingId) {
  10742. move(pendingBranch, container, anchor, 0 /* ENTER */);
  10743. }
  10744. };
  10745. }
  10746. // this is initial anchor on mount
  10747. let { anchor } = suspense;
  10748. // unmount current active tree
  10749. if (activeBranch) {
  10750. // if the fallback tree was mounted, it may have been moved
  10751. // as part of a parent suspense. get the latest anchor for insertion
  10752. anchor = next(activeBranch);
  10753. unmount(activeBranch, parentComponent, suspense, true);
  10754. }
  10755. if (!delayEnter) {
  10756. // move content from off-dom container to actual container
  10757. move(pendingBranch, container, anchor, 0 /* ENTER */);
  10758. }
  10759. }
  10760. setActiveBranch(suspense, pendingBranch);
  10761. suspense.pendingBranch = null;
  10762. suspense.isInFallback = false;
  10763. // flush buffered effects
  10764. // check if there is a pending parent suspense
  10765. let parent = suspense.parent;
  10766. let hasUnresolvedAncestor = false;
  10767. while (parent) {
  10768. if (parent.pendingBranch) {
  10769. // found a pending parent suspense, merge buffered post jobs
  10770. // into that parent
  10771. parent.effects.push(...effects);
  10772. hasUnresolvedAncestor = true;
  10773. break;
  10774. }
  10775. parent = parent.parent;
  10776. }
  10777. // no pending parent suspense, flush all jobs
  10778. if (!hasUnresolvedAncestor) {
  10779. queuePostFlushCb(effects);
  10780. }
  10781. suspense.effects = [];
  10782. // invoke @resolve event
  10783. triggerEvent(vnode, 'onResolve');
  10784. },
  10785. fallback(fallbackVNode) {
  10786. if (!suspense.pendingBranch) {
  10787. return;
  10788. }
  10789. const { vnode, activeBranch, parentComponent, container, isSVG } = suspense;
  10790. // invoke @fallback event
  10791. triggerEvent(vnode, 'onFallback');
  10792. const anchor = next(activeBranch);
  10793. const mountFallback = () => {
  10794. if (!suspense.isInFallback) {
  10795. return;
  10796. }
  10797. // mount the fallback tree
  10798. patch(null, fallbackVNode, container, anchor, parentComponent, null, // fallback tree will not have suspense context
  10799. isSVG, slotScopeIds, optimized);
  10800. setActiveBranch(suspense, fallbackVNode);
  10801. };
  10802. const delayEnter = fallbackVNode.transition && fallbackVNode.transition.mode === 'out-in';
  10803. if (delayEnter) {
  10804. activeBranch.transition.afterLeave = mountFallback;
  10805. }
  10806. suspense.isInFallback = true;
  10807. // unmount current active branch
  10808. unmount(activeBranch, parentComponent, null, // no suspense so unmount hooks fire now
  10809. true // shouldRemove
  10810. );
  10811. if (!delayEnter) {
  10812. mountFallback();
  10813. }
  10814. },
  10815. move(container, anchor, type) {
  10816. suspense.activeBranch &&
  10817. move(suspense.activeBranch, container, anchor, type);
  10818. suspense.container = container;
  10819. },
  10820. next() {
  10821. return suspense.activeBranch && next(suspense.activeBranch);
  10822. },
  10823. registerDep(instance, setupRenderEffect) {
  10824. const isInPendingSuspense = !!suspense.pendingBranch;
  10825. if (isInPendingSuspense) {
  10826. suspense.deps++;
  10827. }
  10828. const hydratedEl = instance.vnode.el;
  10829. instance
  10830. .asyncDep.catch(err => {
  10831. handleError(err, instance, 0 /* SETUP_FUNCTION */);
  10832. })
  10833. .then(asyncSetupResult => {
  10834. // retry when the setup() promise resolves.
  10835. // component may have been unmounted before resolve.
  10836. if (instance.isUnmounted ||
  10837. suspense.isUnmounted ||
  10838. suspense.pendingId !== instance.suspenseId) {
  10839. return;
  10840. }
  10841. // retry from this component
  10842. instance.asyncResolved = true;
  10843. const { vnode } = instance;
  10844. if ((true)) {
  10845. pushWarningContext(vnode);
  10846. }
  10847. handleSetupResult(instance, asyncSetupResult, false);
  10848. if (hydratedEl) {
  10849. // vnode may have been replaced if an update happened before the
  10850. // async dep is resolved.
  10851. vnode.el = hydratedEl;
  10852. }
  10853. const placeholder = !hydratedEl && instance.subTree.el;
  10854. setupRenderEffect(instance, vnode,
  10855. // component may have been moved before resolve.
  10856. // if this is not a hydration, instance.subTree will be the comment
  10857. // placeholder.
  10858. parentNode(hydratedEl || instance.subTree.el),
  10859. // anchor will not be used if this is hydration, so only need to
  10860. // consider the comment placeholder case.
  10861. hydratedEl ? null : next(instance.subTree), suspense, isSVG, optimized);
  10862. if (placeholder) {
  10863. remove(placeholder);
  10864. }
  10865. updateHOCHostEl(instance, vnode.el);
  10866. if ((true)) {
  10867. popWarningContext();
  10868. }
  10869. // only decrease deps count if suspense is not already resolved
  10870. if (isInPendingSuspense && --suspense.deps === 0) {
  10871. suspense.resolve();
  10872. }
  10873. });
  10874. },
  10875. unmount(parentSuspense, doRemove) {
  10876. suspense.isUnmounted = true;
  10877. if (suspense.activeBranch) {
  10878. unmount(suspense.activeBranch, parentComponent, parentSuspense, doRemove);
  10879. }
  10880. if (suspense.pendingBranch) {
  10881. unmount(suspense.pendingBranch, parentComponent, parentSuspense, doRemove);
  10882. }
  10883. }
  10884. };
  10885. return suspense;
  10886. }
  10887. function hydrateSuspense(node, vnode, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, rendererInternals, hydrateNode) {
  10888. /* eslint-disable no-restricted-globals */
  10889. const suspense = (vnode.suspense = createSuspenseBoundary(vnode, parentSuspense, parentComponent, node.parentNode, document.createElement('div'), null, isSVG, slotScopeIds, optimized, rendererInternals, true /* hydrating */));
  10890. // there are two possible scenarios for server-rendered suspense:
  10891. // - success: ssr content should be fully resolved
  10892. // - failure: ssr content should be the fallback branch.
  10893. // however, on the client we don't really know if it has failed or not
  10894. // attempt to hydrate the DOM assuming it has succeeded, but we still
  10895. // need to construct a suspense boundary first
  10896. const result = hydrateNode(node, (suspense.pendingBranch = vnode.ssContent), parentComponent, suspense, slotScopeIds, optimized);
  10897. if (suspense.deps === 0) {
  10898. suspense.resolve();
  10899. }
  10900. return result;
  10901. /* eslint-enable no-restricted-globals */
  10902. }
  10903. function normalizeSuspenseChildren(vnode) {
  10904. const { shapeFlag, children } = vnode;
  10905. const isSlotChildren = shapeFlag & 32 /* SLOTS_CHILDREN */;
  10906. vnode.ssContent = normalizeSuspenseSlot(isSlotChildren ? children.default : children);
  10907. vnode.ssFallback = isSlotChildren
  10908. ? normalizeSuspenseSlot(children.fallback)
  10909. : createVNode(Comment);
  10910. }
  10911. function normalizeSuspenseSlot(s) {
  10912. let block;
  10913. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(s)) {
  10914. const trackBlock = isBlockTreeEnabled && s._c;
  10915. if (trackBlock) {
  10916. // disableTracking: false
  10917. // allow block tracking for compiled slots
  10918. // (see ./componentRenderContext.ts)
  10919. s._d = false;
  10920. openBlock();
  10921. }
  10922. s = s();
  10923. if (trackBlock) {
  10924. s._d = true;
  10925. block = currentBlock;
  10926. closeBlock();
  10927. }
  10928. }
  10929. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(s)) {
  10930. const singleChild = filterSingleRoot(s);
  10931. if (( true) && !singleChild) {
  10932. warn(`<Suspense> slots expect a single root node.`);
  10933. }
  10934. s = singleChild;
  10935. }
  10936. s = normalizeVNode(s);
  10937. if (block && !s.dynamicChildren) {
  10938. s.dynamicChildren = block.filter(c => c !== s);
  10939. }
  10940. return s;
  10941. }
  10942. function queueEffectWithSuspense(fn, suspense) {
  10943. if (suspense && suspense.pendingBranch) {
  10944. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(fn)) {
  10945. suspense.effects.push(...fn);
  10946. }
  10947. else {
  10948. suspense.effects.push(fn);
  10949. }
  10950. }
  10951. else {
  10952. queuePostFlushCb(fn);
  10953. }
  10954. }
  10955. function setActiveBranch(suspense, branch) {
  10956. suspense.activeBranch = branch;
  10957. const { vnode, parentComponent } = suspense;
  10958. const el = (vnode.el = branch.el);
  10959. // in case suspense is the root node of a component,
  10960. // recursively update the HOC el
  10961. if (parentComponent && parentComponent.subTree === vnode) {
  10962. parentComponent.vnode.el = el;
  10963. updateHOCHostEl(parentComponent, el);
  10964. }
  10965. }
  10966. function provide(key, value) {
  10967. if (!currentInstance) {
  10968. if ((true)) {
  10969. warn(`provide() can only be used inside setup().`);
  10970. }
  10971. }
  10972. else {
  10973. let provides = currentInstance.provides;
  10974. // by default an instance inherits its parent's provides object
  10975. // but when it needs to provide values of its own, it creates its
  10976. // own provides object using parent provides object as prototype.
  10977. // this way in `inject` we can simply look up injections from direct
  10978. // parent and let the prototype chain do the work.
  10979. const parentProvides = currentInstance.parent && currentInstance.parent.provides;
  10980. if (parentProvides === provides) {
  10981. provides = currentInstance.provides = Object.create(parentProvides);
  10982. }
  10983. // TS doesn't allow symbol as index type
  10984. provides[key] = value;
  10985. }
  10986. }
  10987. function inject(key, defaultValue, treatDefaultAsFactory = false) {
  10988. // fallback to `currentRenderingInstance` so that this can be called in
  10989. // a functional component
  10990. const instance = currentInstance || currentRenderingInstance;
  10991. if (instance) {
  10992. // #2400
  10993. // to support `app.use` plugins,
  10994. // fallback to appContext's `provides` if the instance is at root
  10995. const provides = instance.parent == null
  10996. ? instance.vnode.appContext && instance.vnode.appContext.provides
  10997. : instance.parent.provides;
  10998. if (provides && key in provides) {
  10999. // TS doesn't allow symbol as index type
  11000. return provides[key];
  11001. }
  11002. else if (arguments.length > 1) {
  11003. return treatDefaultAsFactory && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(defaultValue)
  11004. ? defaultValue.call(instance.proxy)
  11005. : defaultValue;
  11006. }
  11007. else if ((true)) {
  11008. warn(`injection "${String(key)}" not found.`);
  11009. }
  11010. }
  11011. else if ((true)) {
  11012. warn(`inject() can only be used inside setup() or functional components.`);
  11013. }
  11014. }
  11015. // Simple effect.
  11016. function watchEffect(effect, options) {
  11017. return doWatch(effect, null, options);
  11018. }
  11019. function watchPostEffect(effect, options) {
  11020. return doWatch(effect, null, (( true)
  11021. ? Object.assign(options || {}, { flush: 'post' })
  11022. : 0));
  11023. }
  11024. function watchSyncEffect(effect, options) {
  11025. return doWatch(effect, null, (( true)
  11026. ? Object.assign(options || {}, { flush: 'sync' })
  11027. : 0));
  11028. }
  11029. // initial value for watchers to trigger on undefined initial values
  11030. const INITIAL_WATCHER_VALUE = {};
  11031. // implementation
  11032. function watch(source, cb, options) {
  11033. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(cb)) {
  11034. warn(`\`watch(fn, options?)\` signature has been moved to a separate API. ` +
  11035. `Use \`watchEffect(fn, options?)\` instead. \`watch\` now only ` +
  11036. `supports \`watch(source, cb, options?) signature.`);
  11037. }
  11038. return doWatch(source, cb, options);
  11039. }
  11040. function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  11041. if (( true) && !cb) {
  11042. if (immediate !== undefined) {
  11043. warn(`watch() "immediate" option is only respected when using the ` +
  11044. `watch(source, callback, options?) signature.`);
  11045. }
  11046. if (deep !== undefined) {
  11047. warn(`watch() "deep" option is only respected when using the ` +
  11048. `watch(source, callback, options?) signature.`);
  11049. }
  11050. }
  11051. const warnInvalidSource = (s) => {
  11052. warn(`Invalid watch source: `, s, `A watch source can only be a getter/effect function, a ref, ` +
  11053. `a reactive object, or an array of these types.`);
  11054. };
  11055. const instance = currentInstance;
  11056. let getter;
  11057. let forceTrigger = false;
  11058. let isMultiSource = false;
  11059. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(source)) {
  11060. getter = () => source.value;
  11061. forceTrigger = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isShallow)(source);
  11062. }
  11063. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive)(source)) {
  11064. getter = () => source;
  11065. deep = true;
  11066. }
  11067. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(source)) {
  11068. isMultiSource = true;
  11069. forceTrigger = source.some(_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive);
  11070. getter = () => source.map(s => {
  11071. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(s)) {
  11072. return s.value;
  11073. }
  11074. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive)(s)) {
  11075. return traverse(s);
  11076. }
  11077. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(s)) {
  11078. return callWithErrorHandling(s, instance, 2 /* WATCH_GETTER */);
  11079. }
  11080. else {
  11081. ( true) && warnInvalidSource(s);
  11082. }
  11083. });
  11084. }
  11085. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(source)) {
  11086. if (cb) {
  11087. // getter with cb
  11088. getter = () => callWithErrorHandling(source, instance, 2 /* WATCH_GETTER */);
  11089. }
  11090. else {
  11091. // no cb -> simple effect
  11092. getter = () => {
  11093. if (instance && instance.isUnmounted) {
  11094. return;
  11095. }
  11096. if (cleanup) {
  11097. cleanup();
  11098. }
  11099. return callWithAsyncErrorHandling(source, instance, 3 /* WATCH_CALLBACK */, [onCleanup]);
  11100. };
  11101. }
  11102. }
  11103. else {
  11104. getter = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  11105. ( true) && warnInvalidSource(source);
  11106. }
  11107. if (cb && deep) {
  11108. const baseGetter = getter;
  11109. getter = () => traverse(baseGetter());
  11110. }
  11111. let cleanup;
  11112. let onCleanup = (fn) => {
  11113. cleanup = effect.onStop = () => {
  11114. callWithErrorHandling(fn, instance, 4 /* WATCH_CLEANUP */);
  11115. };
  11116. };
  11117. // in SSR there is no need to setup an actual effect, and it should be noop
  11118. // unless it's eager
  11119. if (isInSSRComponentSetup) {
  11120. // we will also not call the invalidate callback (+ runner is not set up)
  11121. onCleanup = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  11122. if (!cb) {
  11123. getter();
  11124. }
  11125. else if (immediate) {
  11126. callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [
  11127. getter(),
  11128. isMultiSource ? [] : undefined,
  11129. onCleanup
  11130. ]);
  11131. }
  11132. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  11133. }
  11134. let oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;
  11135. const job = () => {
  11136. if (!effect.active) {
  11137. return;
  11138. }
  11139. if (cb) {
  11140. // watch(source, cb)
  11141. const newValue = effect.run();
  11142. if (deep ||
  11143. forceTrigger ||
  11144. (isMultiSource
  11145. ? newValue.some((v, i) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(v, oldValue[i]))
  11146. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasChanged)(newValue, oldValue)) ||
  11147. (false )) {
  11148. // cleanup before running cb again
  11149. if (cleanup) {
  11150. cleanup();
  11151. }
  11152. callWithAsyncErrorHandling(cb, instance, 3 /* WATCH_CALLBACK */, [
  11153. newValue,
  11154. // pass undefined as the old value when it's changed for the first time
  11155. oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,
  11156. onCleanup
  11157. ]);
  11158. oldValue = newValue;
  11159. }
  11160. }
  11161. else {
  11162. // watchEffect
  11163. effect.run();
  11164. }
  11165. };
  11166. // important: mark the job as a watcher callback so that scheduler knows
  11167. // it is allowed to self-trigger (#1727)
  11168. job.allowRecurse = !!cb;
  11169. let scheduler;
  11170. if (flush === 'sync') {
  11171. scheduler = job; // the scheduler function gets called directly
  11172. }
  11173. else if (flush === 'post') {
  11174. scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);
  11175. }
  11176. else {
  11177. // default: 'pre'
  11178. scheduler = () => {
  11179. if (!instance || instance.isMounted) {
  11180. queuePreFlushCb(job);
  11181. }
  11182. else {
  11183. // with 'pre' option, the first call must happen before
  11184. // the component is mounted so it is called synchronously.
  11185. job();
  11186. }
  11187. };
  11188. }
  11189. const effect = new _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect(getter, scheduler);
  11190. if ((true)) {
  11191. effect.onTrack = onTrack;
  11192. effect.onTrigger = onTrigger;
  11193. }
  11194. // initial run
  11195. if (cb) {
  11196. if (immediate) {
  11197. job();
  11198. }
  11199. else {
  11200. oldValue = effect.run();
  11201. }
  11202. }
  11203. else if (flush === 'post') {
  11204. queuePostRenderEffect(effect.run.bind(effect), instance && instance.suspense);
  11205. }
  11206. else {
  11207. effect.run();
  11208. }
  11209. return () => {
  11210. effect.stop();
  11211. if (instance && instance.scope) {
  11212. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.remove)(instance.scope.effects, effect);
  11213. }
  11214. };
  11215. }
  11216. // this.$watch
  11217. function instanceWatch(source, value, options) {
  11218. const publicThis = this.proxy;
  11219. const getter = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(source)
  11220. ? source.includes('.')
  11221. ? createPathGetter(publicThis, source)
  11222. : () => publicThis[source]
  11223. : source.bind(publicThis, publicThis);
  11224. let cb;
  11225. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  11226. cb = value;
  11227. }
  11228. else {
  11229. cb = value.handler;
  11230. options = value;
  11231. }
  11232. const cur = currentInstance;
  11233. setCurrentInstance(this);
  11234. const res = doWatch(getter, cb.bind(publicThis), options);
  11235. if (cur) {
  11236. setCurrentInstance(cur);
  11237. }
  11238. else {
  11239. unsetCurrentInstance();
  11240. }
  11241. return res;
  11242. }
  11243. function createPathGetter(ctx, path) {
  11244. const segments = path.split('.');
  11245. return () => {
  11246. let cur = ctx;
  11247. for (let i = 0; i < segments.length && cur; i++) {
  11248. cur = cur[segments[i]];
  11249. }
  11250. return cur;
  11251. };
  11252. }
  11253. function traverse(value, seen) {
  11254. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(value) || value["__v_skip" /* SKIP */]) {
  11255. return value;
  11256. }
  11257. seen = seen || new Set();
  11258. if (seen.has(value)) {
  11259. return value;
  11260. }
  11261. seen.add(value);
  11262. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(value)) {
  11263. traverse(value.value, seen);
  11264. }
  11265. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  11266. for (let i = 0; i < value.length; i++) {
  11267. traverse(value[i], seen);
  11268. }
  11269. }
  11270. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isMap)(value)) {
  11271. value.forEach((v) => {
  11272. traverse(v, seen);
  11273. });
  11274. }
  11275. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPlainObject)(value)) {
  11276. for (const key in value) {
  11277. traverse(value[key], seen);
  11278. }
  11279. }
  11280. return value;
  11281. }
  11282. function useTransitionState() {
  11283. const state = {
  11284. isMounted: false,
  11285. isLeaving: false,
  11286. isUnmounting: false,
  11287. leavingVNodes: new Map()
  11288. };
  11289. onMounted(() => {
  11290. state.isMounted = true;
  11291. });
  11292. onBeforeUnmount(() => {
  11293. state.isUnmounting = true;
  11294. });
  11295. return state;
  11296. }
  11297. const TransitionHookValidator = [Function, Array];
  11298. const BaseTransitionImpl = {
  11299. name: `BaseTransition`,
  11300. props: {
  11301. mode: String,
  11302. appear: Boolean,
  11303. persisted: Boolean,
  11304. // enter
  11305. onBeforeEnter: TransitionHookValidator,
  11306. onEnter: TransitionHookValidator,
  11307. onAfterEnter: TransitionHookValidator,
  11308. onEnterCancelled: TransitionHookValidator,
  11309. // leave
  11310. onBeforeLeave: TransitionHookValidator,
  11311. onLeave: TransitionHookValidator,
  11312. onAfterLeave: TransitionHookValidator,
  11313. onLeaveCancelled: TransitionHookValidator,
  11314. // appear
  11315. onBeforeAppear: TransitionHookValidator,
  11316. onAppear: TransitionHookValidator,
  11317. onAfterAppear: TransitionHookValidator,
  11318. onAppearCancelled: TransitionHookValidator
  11319. },
  11320. setup(props, { slots }) {
  11321. const instance = getCurrentInstance();
  11322. const state = useTransitionState();
  11323. let prevTransitionKey;
  11324. return () => {
  11325. const children = slots.default && getTransitionRawChildren(slots.default(), true);
  11326. if (!children || !children.length) {
  11327. return;
  11328. }
  11329. // warn multiple elements
  11330. if (( true) && children.length > 1) {
  11331. warn('<transition> can only be used on a single element or component. Use ' +
  11332. '<transition-group> for lists.');
  11333. }
  11334. // there's no need to track reactivity for these props so use the raw
  11335. // props for a bit better perf
  11336. const rawProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  11337. const { mode } = rawProps;
  11338. // check mode
  11339. if (( true) &&
  11340. mode &&
  11341. mode !== 'in-out' && mode !== 'out-in' && mode !== 'default') {
  11342. warn(`invalid <transition> mode: ${mode}`);
  11343. }
  11344. // at this point children has a guaranteed length of 1.
  11345. const child = children[0];
  11346. if (state.isLeaving) {
  11347. return emptyPlaceholder(child);
  11348. }
  11349. // in the case of <transition><keep-alive/></transition>, we need to
  11350. // compare the type of the kept-alive children.
  11351. const innerChild = getKeepAliveChild(child);
  11352. if (!innerChild) {
  11353. return emptyPlaceholder(child);
  11354. }
  11355. const enterHooks = resolveTransitionHooks(innerChild, rawProps, state, instance);
  11356. setTransitionHooks(innerChild, enterHooks);
  11357. const oldChild = instance.subTree;
  11358. const oldInnerChild = oldChild && getKeepAliveChild(oldChild);
  11359. let transitionKeyChanged = false;
  11360. const { getTransitionKey } = innerChild.type;
  11361. if (getTransitionKey) {
  11362. const key = getTransitionKey();
  11363. if (prevTransitionKey === undefined) {
  11364. prevTransitionKey = key;
  11365. }
  11366. else if (key !== prevTransitionKey) {
  11367. prevTransitionKey = key;
  11368. transitionKeyChanged = true;
  11369. }
  11370. }
  11371. // handle mode
  11372. if (oldInnerChild &&
  11373. oldInnerChild.type !== Comment &&
  11374. (!isSameVNodeType(innerChild, oldInnerChild) || transitionKeyChanged)) {
  11375. const leavingHooks = resolveTransitionHooks(oldInnerChild, rawProps, state, instance);
  11376. // update old tree's hooks in case of dynamic transition
  11377. setTransitionHooks(oldInnerChild, leavingHooks);
  11378. // switching between different views
  11379. if (mode === 'out-in') {
  11380. state.isLeaving = true;
  11381. // return placeholder node and queue update when leave finishes
  11382. leavingHooks.afterLeave = () => {
  11383. state.isLeaving = false;
  11384. instance.update();
  11385. };
  11386. return emptyPlaceholder(child);
  11387. }
  11388. else if (mode === 'in-out' && innerChild.type !== Comment) {
  11389. leavingHooks.delayLeave = (el, earlyRemove, delayedLeave) => {
  11390. const leavingVNodesCache = getLeavingNodesForType(state, oldInnerChild);
  11391. leavingVNodesCache[String(oldInnerChild.key)] = oldInnerChild;
  11392. // early removal callback
  11393. el._leaveCb = () => {
  11394. earlyRemove();
  11395. el._leaveCb = undefined;
  11396. delete enterHooks.delayedLeave;
  11397. };
  11398. enterHooks.delayedLeave = delayedLeave;
  11399. };
  11400. }
  11401. }
  11402. return child;
  11403. };
  11404. }
  11405. };
  11406. // export the public type for h/tsx inference
  11407. // also to avoid inline import() in generated d.ts files
  11408. const BaseTransition = BaseTransitionImpl;
  11409. function getLeavingNodesForType(state, vnode) {
  11410. const { leavingVNodes } = state;
  11411. let leavingVNodesCache = leavingVNodes.get(vnode.type);
  11412. if (!leavingVNodesCache) {
  11413. leavingVNodesCache = Object.create(null);
  11414. leavingVNodes.set(vnode.type, leavingVNodesCache);
  11415. }
  11416. return leavingVNodesCache;
  11417. }
  11418. // The transition hooks are attached to the vnode as vnode.transition
  11419. // and will be called at appropriate timing in the renderer.
  11420. function resolveTransitionHooks(vnode, props, state, instance) {
  11421. const { appear, mode, persisted = false, onBeforeEnter, onEnter, onAfterEnter, onEnterCancelled, onBeforeLeave, onLeave, onAfterLeave, onLeaveCancelled, onBeforeAppear, onAppear, onAfterAppear, onAppearCancelled } = props;
  11422. const key = String(vnode.key);
  11423. const leavingVNodesCache = getLeavingNodesForType(state, vnode);
  11424. const callHook = (hook, args) => {
  11425. hook &&
  11426. callWithAsyncErrorHandling(hook, instance, 9 /* TRANSITION_HOOK */, args);
  11427. };
  11428. const hooks = {
  11429. mode,
  11430. persisted,
  11431. beforeEnter(el) {
  11432. let hook = onBeforeEnter;
  11433. if (!state.isMounted) {
  11434. if (appear) {
  11435. hook = onBeforeAppear || onBeforeEnter;
  11436. }
  11437. else {
  11438. return;
  11439. }
  11440. }
  11441. // for same element (v-show)
  11442. if (el._leaveCb) {
  11443. el._leaveCb(true /* cancelled */);
  11444. }
  11445. // for toggled element with same key (v-if)
  11446. const leavingVNode = leavingVNodesCache[key];
  11447. if (leavingVNode &&
  11448. isSameVNodeType(vnode, leavingVNode) &&
  11449. leavingVNode.el._leaveCb) {
  11450. // force early removal (not cancelled)
  11451. leavingVNode.el._leaveCb();
  11452. }
  11453. callHook(hook, [el]);
  11454. },
  11455. enter(el) {
  11456. let hook = onEnter;
  11457. let afterHook = onAfterEnter;
  11458. let cancelHook = onEnterCancelled;
  11459. if (!state.isMounted) {
  11460. if (appear) {
  11461. hook = onAppear || onEnter;
  11462. afterHook = onAfterAppear || onAfterEnter;
  11463. cancelHook = onAppearCancelled || onEnterCancelled;
  11464. }
  11465. else {
  11466. return;
  11467. }
  11468. }
  11469. let called = false;
  11470. const done = (el._enterCb = (cancelled) => {
  11471. if (called)
  11472. return;
  11473. called = true;
  11474. if (cancelled) {
  11475. callHook(cancelHook, [el]);
  11476. }
  11477. else {
  11478. callHook(afterHook, [el]);
  11479. }
  11480. if (hooks.delayedLeave) {
  11481. hooks.delayedLeave();
  11482. }
  11483. el._enterCb = undefined;
  11484. });
  11485. if (hook) {
  11486. hook(el, done);
  11487. if (hook.length <= 1) {
  11488. done();
  11489. }
  11490. }
  11491. else {
  11492. done();
  11493. }
  11494. },
  11495. leave(el, remove) {
  11496. const key = String(vnode.key);
  11497. if (el._enterCb) {
  11498. el._enterCb(true /* cancelled */);
  11499. }
  11500. if (state.isUnmounting) {
  11501. return remove();
  11502. }
  11503. callHook(onBeforeLeave, [el]);
  11504. let called = false;
  11505. const done = (el._leaveCb = (cancelled) => {
  11506. if (called)
  11507. return;
  11508. called = true;
  11509. remove();
  11510. if (cancelled) {
  11511. callHook(onLeaveCancelled, [el]);
  11512. }
  11513. else {
  11514. callHook(onAfterLeave, [el]);
  11515. }
  11516. el._leaveCb = undefined;
  11517. if (leavingVNodesCache[key] === vnode) {
  11518. delete leavingVNodesCache[key];
  11519. }
  11520. });
  11521. leavingVNodesCache[key] = vnode;
  11522. if (onLeave) {
  11523. onLeave(el, done);
  11524. if (onLeave.length <= 1) {
  11525. done();
  11526. }
  11527. }
  11528. else {
  11529. done();
  11530. }
  11531. },
  11532. clone(vnode) {
  11533. return resolveTransitionHooks(vnode, props, state, instance);
  11534. }
  11535. };
  11536. return hooks;
  11537. }
  11538. // the placeholder really only handles one special case: KeepAlive
  11539. // in the case of a KeepAlive in a leave phase we need to return a KeepAlive
  11540. // placeholder with empty content to avoid the KeepAlive instance from being
  11541. // unmounted.
  11542. function emptyPlaceholder(vnode) {
  11543. if (isKeepAlive(vnode)) {
  11544. vnode = cloneVNode(vnode);
  11545. vnode.children = null;
  11546. return vnode;
  11547. }
  11548. }
  11549. function getKeepAliveChild(vnode) {
  11550. return isKeepAlive(vnode)
  11551. ? vnode.children
  11552. ? vnode.children[0]
  11553. : undefined
  11554. : vnode;
  11555. }
  11556. function setTransitionHooks(vnode, hooks) {
  11557. if (vnode.shapeFlag & 6 /* COMPONENT */ && vnode.component) {
  11558. setTransitionHooks(vnode.component.subTree, hooks);
  11559. }
  11560. else if (vnode.shapeFlag & 128 /* SUSPENSE */) {
  11561. vnode.ssContent.transition = hooks.clone(vnode.ssContent);
  11562. vnode.ssFallback.transition = hooks.clone(vnode.ssFallback);
  11563. }
  11564. else {
  11565. vnode.transition = hooks;
  11566. }
  11567. }
  11568. function getTransitionRawChildren(children, keepComment = false) {
  11569. let ret = [];
  11570. let keyedFragmentCount = 0;
  11571. for (let i = 0; i < children.length; i++) {
  11572. const child = children[i];
  11573. // handle fragment children case, e.g. v-for
  11574. if (child.type === Fragment) {
  11575. if (child.patchFlag & 128 /* KEYED_FRAGMENT */)
  11576. keyedFragmentCount++;
  11577. ret = ret.concat(getTransitionRawChildren(child.children, keepComment));
  11578. }
  11579. // comment placeholders should be skipped, e.g. v-if
  11580. else if (keepComment || child.type !== Comment) {
  11581. ret.push(child);
  11582. }
  11583. }
  11584. // #1126 if a transition children list contains multiple sub fragments, these
  11585. // fragments will be merged into a flat children array. Since each v-for
  11586. // fragment may contain different static bindings inside, we need to de-op
  11587. // these children to force full diffs to ensure correct behavior.
  11588. if (keyedFragmentCount > 1) {
  11589. for (let i = 0; i < ret.length; i++) {
  11590. ret[i].patchFlag = -2 /* BAIL */;
  11591. }
  11592. }
  11593. return ret;
  11594. }
  11595. // implementation, close to no-op
  11596. function defineComponent(options) {
  11597. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(options) ? { setup: options, name: options.name } : options;
  11598. }
  11599. const isAsyncWrapper = (i) => !!i.type.__asyncLoader;
  11600. function defineAsyncComponent(source) {
  11601. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(source)) {
  11602. source = { loader: source };
  11603. }
  11604. const { loader, loadingComponent, errorComponent, delay = 200, timeout, // undefined = never times out
  11605. suspensible = true, onError: userOnError } = source;
  11606. let pendingRequest = null;
  11607. let resolvedComp;
  11608. let retries = 0;
  11609. const retry = () => {
  11610. retries++;
  11611. pendingRequest = null;
  11612. return load();
  11613. };
  11614. const load = () => {
  11615. let thisRequest;
  11616. return (pendingRequest ||
  11617. (thisRequest = pendingRequest =
  11618. loader()
  11619. .catch(err => {
  11620. err = err instanceof Error ? err : new Error(String(err));
  11621. if (userOnError) {
  11622. return new Promise((resolve, reject) => {
  11623. const userRetry = () => resolve(retry());
  11624. const userFail = () => reject(err);
  11625. userOnError(err, userRetry, userFail, retries + 1);
  11626. });
  11627. }
  11628. else {
  11629. throw err;
  11630. }
  11631. })
  11632. .then((comp) => {
  11633. if (thisRequest !== pendingRequest && pendingRequest) {
  11634. return pendingRequest;
  11635. }
  11636. if (( true) && !comp) {
  11637. warn(`Async component loader resolved to undefined. ` +
  11638. `If you are using retry(), make sure to return its return value.`);
  11639. }
  11640. // interop module default
  11641. if (comp &&
  11642. (comp.__esModule || comp[Symbol.toStringTag] === 'Module')) {
  11643. comp = comp.default;
  11644. }
  11645. if (( true) && comp && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(comp) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(comp)) {
  11646. throw new Error(`Invalid async component load result: ${comp}`);
  11647. }
  11648. resolvedComp = comp;
  11649. return comp;
  11650. })));
  11651. };
  11652. return defineComponent({
  11653. name: 'AsyncComponentWrapper',
  11654. __asyncLoader: load,
  11655. get __asyncResolved() {
  11656. return resolvedComp;
  11657. },
  11658. setup() {
  11659. const instance = currentInstance;
  11660. // already resolved
  11661. if (resolvedComp) {
  11662. return () => createInnerComp(resolvedComp, instance);
  11663. }
  11664. const onError = (err) => {
  11665. pendingRequest = null;
  11666. handleError(err, instance, 13 /* ASYNC_COMPONENT_LOADER */, !errorComponent /* do not throw in dev if user provided error component */);
  11667. };
  11668. // suspense-controlled or SSR.
  11669. if ((suspensible && instance.suspense) ||
  11670. (isInSSRComponentSetup)) {
  11671. return load()
  11672. .then(comp => {
  11673. return () => createInnerComp(comp, instance);
  11674. })
  11675. .catch(err => {
  11676. onError(err);
  11677. return () => errorComponent
  11678. ? createVNode(errorComponent, {
  11679. error: err
  11680. })
  11681. : null;
  11682. });
  11683. }
  11684. const loaded = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref)(false);
  11685. const error = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref)();
  11686. const delayed = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ref)(!!delay);
  11687. if (delay) {
  11688. setTimeout(() => {
  11689. delayed.value = false;
  11690. }, delay);
  11691. }
  11692. if (timeout != null) {
  11693. setTimeout(() => {
  11694. if (!loaded.value && !error.value) {
  11695. const err = new Error(`Async component timed out after ${timeout}ms.`);
  11696. onError(err);
  11697. error.value = err;
  11698. }
  11699. }, timeout);
  11700. }
  11701. load()
  11702. .then(() => {
  11703. loaded.value = true;
  11704. if (instance.parent && isKeepAlive(instance.parent.vnode)) {
  11705. // parent is keep-alive, force update so the loaded component's
  11706. // name is taken into account
  11707. queueJob(instance.parent.update);
  11708. }
  11709. })
  11710. .catch(err => {
  11711. onError(err);
  11712. error.value = err;
  11713. });
  11714. return () => {
  11715. if (loaded.value && resolvedComp) {
  11716. return createInnerComp(resolvedComp, instance);
  11717. }
  11718. else if (error.value && errorComponent) {
  11719. return createVNode(errorComponent, {
  11720. error: error.value
  11721. });
  11722. }
  11723. else if (loadingComponent && !delayed.value) {
  11724. return createVNode(loadingComponent);
  11725. }
  11726. };
  11727. }
  11728. });
  11729. }
  11730. function createInnerComp(comp, { vnode: { ref, props, children } }) {
  11731. const vnode = createVNode(comp, props, children);
  11732. // ensure inner component inherits the async wrapper's ref owner
  11733. vnode.ref = ref;
  11734. return vnode;
  11735. }
  11736. const isKeepAlive = (vnode) => vnode.type.__isKeepAlive;
  11737. const KeepAliveImpl = {
  11738. name: `KeepAlive`,
  11739. // Marker for special handling inside the renderer. We are not using a ===
  11740. // check directly on KeepAlive in the renderer, because importing it directly
  11741. // would prevent it from being tree-shaken.
  11742. __isKeepAlive: true,
  11743. props: {
  11744. include: [String, RegExp, Array],
  11745. exclude: [String, RegExp, Array],
  11746. max: [String, Number]
  11747. },
  11748. setup(props, { slots }) {
  11749. const instance = getCurrentInstance();
  11750. // KeepAlive communicates with the instantiated renderer via the
  11751. // ctx where the renderer passes in its internals,
  11752. // and the KeepAlive instance exposes activate/deactivate implementations.
  11753. // The whole point of this is to avoid importing KeepAlive directly in the
  11754. // renderer to facilitate tree-shaking.
  11755. const sharedContext = instance.ctx;
  11756. // if the internal renderer is not registered, it indicates that this is server-side rendering,
  11757. // for KeepAlive, we just need to render its children
  11758. if (!sharedContext.renderer) {
  11759. return slots.default;
  11760. }
  11761. const cache = new Map();
  11762. const keys = new Set();
  11763. let current = null;
  11764. if (true) {
  11765. instance.__v_cache = cache;
  11766. }
  11767. const parentSuspense = instance.suspense;
  11768. const { renderer: { p: patch, m: move, um: _unmount, o: { createElement } } } = sharedContext;
  11769. const storageContainer = createElement('div');
  11770. sharedContext.activate = (vnode, container, anchor, isSVG, optimized) => {
  11771. const instance = vnode.component;
  11772. move(vnode, container, anchor, 0 /* ENTER */, parentSuspense);
  11773. // in case props have changed
  11774. patch(instance.vnode, vnode, container, anchor, instance, parentSuspense, isSVG, vnode.slotScopeIds, optimized);
  11775. queuePostRenderEffect(() => {
  11776. instance.isDeactivated = false;
  11777. if (instance.a) {
  11778. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.a);
  11779. }
  11780. const vnodeHook = vnode.props && vnode.props.onVnodeMounted;
  11781. if (vnodeHook) {
  11782. invokeVNodeHook(vnodeHook, instance.parent, vnode);
  11783. }
  11784. }, parentSuspense);
  11785. if (true) {
  11786. // Update components tree
  11787. devtoolsComponentAdded(instance);
  11788. }
  11789. };
  11790. sharedContext.deactivate = (vnode) => {
  11791. const instance = vnode.component;
  11792. move(vnode, storageContainer, null, 1 /* LEAVE */, parentSuspense);
  11793. queuePostRenderEffect(() => {
  11794. if (instance.da) {
  11795. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.da);
  11796. }
  11797. const vnodeHook = vnode.props && vnode.props.onVnodeUnmounted;
  11798. if (vnodeHook) {
  11799. invokeVNodeHook(vnodeHook, instance.parent, vnode);
  11800. }
  11801. instance.isDeactivated = true;
  11802. }, parentSuspense);
  11803. if (true) {
  11804. // Update components tree
  11805. devtoolsComponentAdded(instance);
  11806. }
  11807. };
  11808. function unmount(vnode) {
  11809. // reset the shapeFlag so it can be properly unmounted
  11810. resetShapeFlag(vnode);
  11811. _unmount(vnode, instance, parentSuspense, true);
  11812. }
  11813. function pruneCache(filter) {
  11814. cache.forEach((vnode, key) => {
  11815. const name = getComponentName(vnode.type);
  11816. if (name && (!filter || !filter(name))) {
  11817. pruneCacheEntry(key);
  11818. }
  11819. });
  11820. }
  11821. function pruneCacheEntry(key) {
  11822. const cached = cache.get(key);
  11823. if (!current || cached.type !== current.type) {
  11824. unmount(cached);
  11825. }
  11826. else if (current) {
  11827. // current active instance should no longer be kept-alive.
  11828. // we can't unmount it now but it might be later, so reset its flag now.
  11829. resetShapeFlag(current);
  11830. }
  11831. cache.delete(key);
  11832. keys.delete(key);
  11833. }
  11834. // prune cache on include/exclude prop change
  11835. watch(() => [props.include, props.exclude], ([include, exclude]) => {
  11836. include && pruneCache(name => matches(include, name));
  11837. exclude && pruneCache(name => !matches(exclude, name));
  11838. },
  11839. // prune post-render after `current` has been updated
  11840. { flush: 'post', deep: true });
  11841. // cache sub tree after render
  11842. let pendingCacheKey = null;
  11843. const cacheSubtree = () => {
  11844. // fix #1621, the pendingCacheKey could be 0
  11845. if (pendingCacheKey != null) {
  11846. cache.set(pendingCacheKey, getInnerChild(instance.subTree));
  11847. }
  11848. };
  11849. onMounted(cacheSubtree);
  11850. onUpdated(cacheSubtree);
  11851. onBeforeUnmount(() => {
  11852. cache.forEach(cached => {
  11853. const { subTree, suspense } = instance;
  11854. const vnode = getInnerChild(subTree);
  11855. if (cached.type === vnode.type) {
  11856. // current instance will be unmounted as part of keep-alive's unmount
  11857. resetShapeFlag(vnode);
  11858. // but invoke its deactivated hook here
  11859. const da = vnode.component.da;
  11860. da && queuePostRenderEffect(da, suspense);
  11861. return;
  11862. }
  11863. unmount(cached);
  11864. });
  11865. });
  11866. return () => {
  11867. pendingCacheKey = null;
  11868. if (!slots.default) {
  11869. return null;
  11870. }
  11871. const children = slots.default();
  11872. const rawVNode = children[0];
  11873. if (children.length > 1) {
  11874. if ((true)) {
  11875. warn(`KeepAlive should contain exactly one component child.`);
  11876. }
  11877. current = null;
  11878. return children;
  11879. }
  11880. else if (!isVNode(rawVNode) ||
  11881. (!(rawVNode.shapeFlag & 4 /* STATEFUL_COMPONENT */) &&
  11882. !(rawVNode.shapeFlag & 128 /* SUSPENSE */))) {
  11883. current = null;
  11884. return rawVNode;
  11885. }
  11886. let vnode = getInnerChild(rawVNode);
  11887. const comp = vnode.type;
  11888. // for async components, name check should be based in its loaded
  11889. // inner component if available
  11890. const name = getComponentName(isAsyncWrapper(vnode)
  11891. ? vnode.type.__asyncResolved || {}
  11892. : comp);
  11893. const { include, exclude, max } = props;
  11894. if ((include && (!name || !matches(include, name))) ||
  11895. (exclude && name && matches(exclude, name))) {
  11896. current = vnode;
  11897. return rawVNode;
  11898. }
  11899. const key = vnode.key == null ? comp : vnode.key;
  11900. const cachedVNode = cache.get(key);
  11901. // clone vnode if it's reused because we are going to mutate it
  11902. if (vnode.el) {
  11903. vnode = cloneVNode(vnode);
  11904. if (rawVNode.shapeFlag & 128 /* SUSPENSE */) {
  11905. rawVNode.ssContent = vnode;
  11906. }
  11907. }
  11908. // #1513 it's possible for the returned vnode to be cloned due to attr
  11909. // fallthrough or scopeId, so the vnode here may not be the final vnode
  11910. // that is mounted. Instead of caching it directly, we store the pending
  11911. // key and cache `instance.subTree` (the normalized vnode) in
  11912. // beforeMount/beforeUpdate hooks.
  11913. pendingCacheKey = key;
  11914. if (cachedVNode) {
  11915. // copy over mounted state
  11916. vnode.el = cachedVNode.el;
  11917. vnode.component = cachedVNode.component;
  11918. if (vnode.transition) {
  11919. // recursively update transition hooks on subTree
  11920. setTransitionHooks(vnode, vnode.transition);
  11921. }
  11922. // avoid vnode being mounted as fresh
  11923. vnode.shapeFlag |= 512 /* COMPONENT_KEPT_ALIVE */;
  11924. // make this key the freshest
  11925. keys.delete(key);
  11926. keys.add(key);
  11927. }
  11928. else {
  11929. keys.add(key);
  11930. // prune oldest entry
  11931. if (max && keys.size > parseInt(max, 10)) {
  11932. pruneCacheEntry(keys.values().next().value);
  11933. }
  11934. }
  11935. // avoid vnode being unmounted
  11936. vnode.shapeFlag |= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;
  11937. current = vnode;
  11938. return rawVNode;
  11939. };
  11940. }
  11941. };
  11942. // export the public type for h/tsx inference
  11943. // also to avoid inline import() in generated d.ts files
  11944. const KeepAlive = KeepAliveImpl;
  11945. function matches(pattern, name) {
  11946. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(pattern)) {
  11947. return pattern.some((p) => matches(p, name));
  11948. }
  11949. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(pattern)) {
  11950. return pattern.split(',').includes(name);
  11951. }
  11952. else if (pattern.test) {
  11953. return pattern.test(name);
  11954. }
  11955. /* istanbul ignore next */
  11956. return false;
  11957. }
  11958. function onActivated(hook, target) {
  11959. registerKeepAliveHook(hook, "a" /* ACTIVATED */, target);
  11960. }
  11961. function onDeactivated(hook, target) {
  11962. registerKeepAliveHook(hook, "da" /* DEACTIVATED */, target);
  11963. }
  11964. function registerKeepAliveHook(hook, type, target = currentInstance) {
  11965. // cache the deactivate branch check wrapper for injected hooks so the same
  11966. // hook can be properly deduped by the scheduler. "__wdc" stands for "with
  11967. // deactivation check".
  11968. const wrappedHook = hook.__wdc ||
  11969. (hook.__wdc = () => {
  11970. // only fire the hook if the target instance is NOT in a deactivated branch.
  11971. let current = target;
  11972. while (current) {
  11973. if (current.isDeactivated) {
  11974. return;
  11975. }
  11976. current = current.parent;
  11977. }
  11978. return hook();
  11979. });
  11980. injectHook(type, wrappedHook, target);
  11981. // In addition to registering it on the target instance, we walk up the parent
  11982. // chain and register it on all ancestor instances that are keep-alive roots.
  11983. // This avoids the need to walk the entire component tree when invoking these
  11984. // hooks, and more importantly, avoids the need to track child components in
  11985. // arrays.
  11986. if (target) {
  11987. let current = target.parent;
  11988. while (current && current.parent) {
  11989. if (isKeepAlive(current.parent.vnode)) {
  11990. injectToKeepAliveRoot(wrappedHook, type, target, current);
  11991. }
  11992. current = current.parent;
  11993. }
  11994. }
  11995. }
  11996. function injectToKeepAliveRoot(hook, type, target, keepAliveRoot) {
  11997. // injectHook wraps the original for error handling, so make sure to remove
  11998. // the wrapped version.
  11999. const injected = injectHook(type, hook, keepAliveRoot, true /* prepend */);
  12000. onUnmounted(() => {
  12001. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.remove)(keepAliveRoot[type], injected);
  12002. }, target);
  12003. }
  12004. function resetShapeFlag(vnode) {
  12005. let shapeFlag = vnode.shapeFlag;
  12006. if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {
  12007. shapeFlag -= 256 /* COMPONENT_SHOULD_KEEP_ALIVE */;
  12008. }
  12009. if (shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {
  12010. shapeFlag -= 512 /* COMPONENT_KEPT_ALIVE */;
  12011. }
  12012. vnode.shapeFlag = shapeFlag;
  12013. }
  12014. function getInnerChild(vnode) {
  12015. return vnode.shapeFlag & 128 /* SUSPENSE */ ? vnode.ssContent : vnode;
  12016. }
  12017. function injectHook(type, hook, target = currentInstance, prepend = false) {
  12018. if (target) {
  12019. const hooks = target[type] || (target[type] = []);
  12020. // cache the error handling wrapper for injected hooks so the same hook
  12021. // can be properly deduped by the scheduler. "__weh" stands for "with error
  12022. // handling".
  12023. const wrappedHook = hook.__weh ||
  12024. (hook.__weh = (...args) => {
  12025. if (target.isUnmounted) {
  12026. return;
  12027. }
  12028. // disable tracking inside all lifecycle hooks
  12029. // since they can potentially be called inside effects.
  12030. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  12031. // Set currentInstance during hook invocation.
  12032. // This assumes the hook does not synchronously trigger other hooks, which
  12033. // can only be false when the user does something really funky.
  12034. setCurrentInstance(target);
  12035. const res = callWithAsyncErrorHandling(hook, target, type, args);
  12036. unsetCurrentInstance();
  12037. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  12038. return res;
  12039. });
  12040. if (prepend) {
  12041. hooks.unshift(wrappedHook);
  12042. }
  12043. else {
  12044. hooks.push(wrappedHook);
  12045. }
  12046. return wrappedHook;
  12047. }
  12048. else if ((true)) {
  12049. const apiName = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(ErrorTypeStrings[type].replace(/ hook$/, ''));
  12050. warn(`${apiName} is called when there is no active component instance to be ` +
  12051. `associated with. ` +
  12052. `Lifecycle injection APIs can only be used during execution of setup().` +
  12053. (` If you are using async setup(), make sure to register lifecycle ` +
  12054. `hooks before the first await statement.`
  12055. ));
  12056. }
  12057. }
  12058. const createHook = (lifecycle) => (hook, target = currentInstance) =>
  12059. // post-create lifecycle registrations are noops during SSR (except for serverPrefetch)
  12060. (!isInSSRComponentSetup || lifecycle === "sp" /* SERVER_PREFETCH */) &&
  12061. injectHook(lifecycle, hook, target);
  12062. const onBeforeMount = createHook("bm" /* BEFORE_MOUNT */);
  12063. const onMounted = createHook("m" /* MOUNTED */);
  12064. const onBeforeUpdate = createHook("bu" /* BEFORE_UPDATE */);
  12065. const onUpdated = createHook("u" /* UPDATED */);
  12066. const onBeforeUnmount = createHook("bum" /* BEFORE_UNMOUNT */);
  12067. const onUnmounted = createHook("um" /* UNMOUNTED */);
  12068. const onServerPrefetch = createHook("sp" /* SERVER_PREFETCH */);
  12069. const onRenderTriggered = createHook("rtg" /* RENDER_TRIGGERED */);
  12070. const onRenderTracked = createHook("rtc" /* RENDER_TRACKED */);
  12071. function onErrorCaptured(hook, target = currentInstance) {
  12072. injectHook("ec" /* ERROR_CAPTURED */, hook, target);
  12073. }
  12074. function createDuplicateChecker() {
  12075. const cache = Object.create(null);
  12076. return (type, key) => {
  12077. if (cache[key]) {
  12078. warn(`${type} property "${key}" is already defined in ${cache[key]}.`);
  12079. }
  12080. else {
  12081. cache[key] = type;
  12082. }
  12083. };
  12084. }
  12085. let shouldCacheAccess = true;
  12086. function applyOptions(instance) {
  12087. const options = resolveMergedOptions(instance);
  12088. const publicThis = instance.proxy;
  12089. const ctx = instance.ctx;
  12090. // do not cache property access on public proxy during state initialization
  12091. shouldCacheAccess = false;
  12092. // call beforeCreate first before accessing other options since
  12093. // the hook may mutate resolved options (#2791)
  12094. if (options.beforeCreate) {
  12095. callHook(options.beforeCreate, instance, "bc" /* BEFORE_CREATE */);
  12096. }
  12097. const {
  12098. // state
  12099. data: dataOptions, computed: computedOptions, methods, watch: watchOptions, provide: provideOptions, inject: injectOptions,
  12100. // lifecycle
  12101. created, beforeMount, mounted, beforeUpdate, updated, activated, deactivated, beforeDestroy, beforeUnmount, destroyed, unmounted, render, renderTracked, renderTriggered, errorCaptured, serverPrefetch,
  12102. // public API
  12103. expose, inheritAttrs,
  12104. // assets
  12105. components, directives, filters } = options;
  12106. const checkDuplicateProperties = ( true) ? createDuplicateChecker() : 0;
  12107. if ((true)) {
  12108. const [propsOptions] = instance.propsOptions;
  12109. if (propsOptions) {
  12110. for (const key in propsOptions) {
  12111. checkDuplicateProperties("Props" /* PROPS */, key);
  12112. }
  12113. }
  12114. }
  12115. // options initialization order (to be consistent with Vue 2):
  12116. // - props (already done outside of this function)
  12117. // - inject
  12118. // - methods
  12119. // - data (deferred since it relies on `this` access)
  12120. // - computed
  12121. // - watch (deferred since it relies on `this` access)
  12122. if (injectOptions) {
  12123. resolveInjections(injectOptions, ctx, checkDuplicateProperties, instance.appContext.config.unwrapInjectedRef);
  12124. }
  12125. if (methods) {
  12126. for (const key in methods) {
  12127. const methodHandler = methods[key];
  12128. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(methodHandler)) {
  12129. // In dev mode, we use the `createRenderContext` function to define
  12130. // methods to the proxy target, and those are read-only but
  12131. // reconfigurable, so it needs to be redefined here
  12132. if ((true)) {
  12133. Object.defineProperty(ctx, key, {
  12134. value: methodHandler.bind(publicThis),
  12135. configurable: true,
  12136. enumerable: true,
  12137. writable: true
  12138. });
  12139. }
  12140. else {}
  12141. if ((true)) {
  12142. checkDuplicateProperties("Methods" /* METHODS */, key);
  12143. }
  12144. }
  12145. else if ((true)) {
  12146. warn(`Method "${key}" has type "${typeof methodHandler}" in the component definition. ` +
  12147. `Did you reference the function correctly?`);
  12148. }
  12149. }
  12150. }
  12151. if (dataOptions) {
  12152. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(dataOptions)) {
  12153. warn(`The data option must be a function. ` +
  12154. `Plain object usage is no longer supported.`);
  12155. }
  12156. const data = dataOptions.call(publicThis, publicThis);
  12157. if (( true) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(data)) {
  12158. warn(`data() returned a Promise - note data() cannot be async; If you ` +
  12159. `intend to perform data fetching before component renders, use ` +
  12160. `async setup() + <Suspense>.`);
  12161. }
  12162. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(data)) {
  12163. ( true) && warn(`data() should return an object.`);
  12164. }
  12165. else {
  12166. instance.data = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.reactive)(data);
  12167. if ((true)) {
  12168. for (const key in data) {
  12169. checkDuplicateProperties("Data" /* DATA */, key);
  12170. // expose data on ctx during dev
  12171. if (key[0] !== '$' && key[0] !== '_') {
  12172. Object.defineProperty(ctx, key, {
  12173. configurable: true,
  12174. enumerable: true,
  12175. get: () => data[key],
  12176. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  12177. });
  12178. }
  12179. }
  12180. }
  12181. }
  12182. }
  12183. // state initialization complete at this point - start caching access
  12184. shouldCacheAccess = true;
  12185. if (computedOptions) {
  12186. for (const key in computedOptions) {
  12187. const opt = computedOptions[key];
  12188. const get = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt)
  12189. ? opt.bind(publicThis, publicThis)
  12190. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt.get)
  12191. ? opt.get.bind(publicThis, publicThis)
  12192. : _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  12193. if (( true) && get === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP) {
  12194. warn(`Computed property "${key}" has no getter.`);
  12195. }
  12196. const set = !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt.set)
  12197. ? opt.set.bind(publicThis)
  12198. : ( true)
  12199. ? () => {
  12200. warn(`Write operation failed: computed property "${key}" is readonly.`);
  12201. }
  12202. : 0;
  12203. const c = computed({
  12204. get,
  12205. set
  12206. });
  12207. Object.defineProperty(ctx, key, {
  12208. enumerable: true,
  12209. configurable: true,
  12210. get: () => c.value,
  12211. set: v => (c.value = v)
  12212. });
  12213. if ((true)) {
  12214. checkDuplicateProperties("Computed" /* COMPUTED */, key);
  12215. }
  12216. }
  12217. }
  12218. if (watchOptions) {
  12219. for (const key in watchOptions) {
  12220. createWatcher(watchOptions[key], ctx, publicThis, key);
  12221. }
  12222. }
  12223. if (provideOptions) {
  12224. const provides = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(provideOptions)
  12225. ? provideOptions.call(publicThis)
  12226. : provideOptions;
  12227. Reflect.ownKeys(provides).forEach(key => {
  12228. provide(key, provides[key]);
  12229. });
  12230. }
  12231. if (created) {
  12232. callHook(created, instance, "c" /* CREATED */);
  12233. }
  12234. function registerLifecycleHook(register, hook) {
  12235. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)) {
  12236. hook.forEach(_hook => register(_hook.bind(publicThis)));
  12237. }
  12238. else if (hook) {
  12239. register(hook.bind(publicThis));
  12240. }
  12241. }
  12242. registerLifecycleHook(onBeforeMount, beforeMount);
  12243. registerLifecycleHook(onMounted, mounted);
  12244. registerLifecycleHook(onBeforeUpdate, beforeUpdate);
  12245. registerLifecycleHook(onUpdated, updated);
  12246. registerLifecycleHook(onActivated, activated);
  12247. registerLifecycleHook(onDeactivated, deactivated);
  12248. registerLifecycleHook(onErrorCaptured, errorCaptured);
  12249. registerLifecycleHook(onRenderTracked, renderTracked);
  12250. registerLifecycleHook(onRenderTriggered, renderTriggered);
  12251. registerLifecycleHook(onBeforeUnmount, beforeUnmount);
  12252. registerLifecycleHook(onUnmounted, unmounted);
  12253. registerLifecycleHook(onServerPrefetch, serverPrefetch);
  12254. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(expose)) {
  12255. if (expose.length) {
  12256. const exposed = instance.exposed || (instance.exposed = {});
  12257. expose.forEach(key => {
  12258. Object.defineProperty(exposed, key, {
  12259. get: () => publicThis[key],
  12260. set: val => (publicThis[key] = val)
  12261. });
  12262. });
  12263. }
  12264. else if (!instance.exposed) {
  12265. instance.exposed = {};
  12266. }
  12267. }
  12268. // options that are handled when creating the instance but also need to be
  12269. // applied from mixins
  12270. if (render && instance.render === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP) {
  12271. instance.render = render;
  12272. }
  12273. if (inheritAttrs != null) {
  12274. instance.inheritAttrs = inheritAttrs;
  12275. }
  12276. // asset options.
  12277. if (components)
  12278. instance.components = components;
  12279. if (directives)
  12280. instance.directives = directives;
  12281. }
  12282. function resolveInjections(injectOptions, ctx, checkDuplicateProperties = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP, unwrapRef = false) {
  12283. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(injectOptions)) {
  12284. injectOptions = normalizeInject(injectOptions);
  12285. }
  12286. for (const key in injectOptions) {
  12287. const opt = injectOptions[key];
  12288. let injected;
  12289. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(opt)) {
  12290. if ('default' in opt) {
  12291. injected = inject(opt.from || key, opt.default, true /* treat default function as factory */);
  12292. }
  12293. else {
  12294. injected = inject(opt.from || key);
  12295. }
  12296. }
  12297. else {
  12298. injected = inject(opt);
  12299. }
  12300. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(injected)) {
  12301. // TODO remove the check in 3.3
  12302. if (unwrapRef) {
  12303. Object.defineProperty(ctx, key, {
  12304. enumerable: true,
  12305. configurable: true,
  12306. get: () => injected.value,
  12307. set: v => (injected.value = v)
  12308. });
  12309. }
  12310. else {
  12311. if ((true)) {
  12312. warn(`injected property "${key}" is a ref and will be auto-unwrapped ` +
  12313. `and no longer needs \`.value\` in the next minor release. ` +
  12314. `To opt-in to the new behavior now, ` +
  12315. `set \`app.config.unwrapInjectedRef = true\` (this config is ` +
  12316. `temporary and will not be needed in the future.)`);
  12317. }
  12318. ctx[key] = injected;
  12319. }
  12320. }
  12321. else {
  12322. ctx[key] = injected;
  12323. }
  12324. if ((true)) {
  12325. checkDuplicateProperties("Inject" /* INJECT */, key);
  12326. }
  12327. }
  12328. }
  12329. function callHook(hook, instance, type) {
  12330. callWithAsyncErrorHandling((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)
  12331. ? hook.map(h => h.bind(instance.proxy))
  12332. : hook.bind(instance.proxy), instance, type);
  12333. }
  12334. function createWatcher(raw, ctx, publicThis, key) {
  12335. const getter = key.includes('.')
  12336. ? createPathGetter(publicThis, key)
  12337. : () => publicThis[key];
  12338. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(raw)) {
  12339. const handler = ctx[raw];
  12340. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handler)) {
  12341. watch(getter, handler);
  12342. }
  12343. else if ((true)) {
  12344. warn(`Invalid watch handler specified by key "${raw}"`, handler);
  12345. }
  12346. }
  12347. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(raw)) {
  12348. watch(getter, raw.bind(publicThis));
  12349. }
  12350. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(raw)) {
  12351. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  12352. raw.forEach(r => createWatcher(r, ctx, publicThis, key));
  12353. }
  12354. else {
  12355. const handler = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(raw.handler)
  12356. ? raw.handler.bind(publicThis)
  12357. : ctx[raw.handler];
  12358. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(handler)) {
  12359. watch(getter, handler, raw);
  12360. }
  12361. else if ((true)) {
  12362. warn(`Invalid watch handler specified by key "${raw.handler}"`, handler);
  12363. }
  12364. }
  12365. }
  12366. else if ((true)) {
  12367. warn(`Invalid watch option: "${key}"`, raw);
  12368. }
  12369. }
  12370. /**
  12371. * Resolve merged options and cache it on the component.
  12372. * This is done only once per-component since the merging does not involve
  12373. * instances.
  12374. */
  12375. function resolveMergedOptions(instance) {
  12376. const base = instance.type;
  12377. const { mixins, extends: extendsOptions } = base;
  12378. const { mixins: globalMixins, optionsCache: cache, config: { optionMergeStrategies } } = instance.appContext;
  12379. const cached = cache.get(base);
  12380. let resolved;
  12381. if (cached) {
  12382. resolved = cached;
  12383. }
  12384. else if (!globalMixins.length && !mixins && !extendsOptions) {
  12385. {
  12386. resolved = base;
  12387. }
  12388. }
  12389. else {
  12390. resolved = {};
  12391. if (globalMixins.length) {
  12392. globalMixins.forEach(m => mergeOptions(resolved, m, optionMergeStrategies, true));
  12393. }
  12394. mergeOptions(resolved, base, optionMergeStrategies);
  12395. }
  12396. cache.set(base, resolved);
  12397. return resolved;
  12398. }
  12399. function mergeOptions(to, from, strats, asMixin = false) {
  12400. const { mixins, extends: extendsOptions } = from;
  12401. if (extendsOptions) {
  12402. mergeOptions(to, extendsOptions, strats, true);
  12403. }
  12404. if (mixins) {
  12405. mixins.forEach((m) => mergeOptions(to, m, strats, true));
  12406. }
  12407. for (const key in from) {
  12408. if (asMixin && key === 'expose') {
  12409. ( true) &&
  12410. warn(`"expose" option is ignored when declared in mixins or extends. ` +
  12411. `It should only be declared in the base component itself.`);
  12412. }
  12413. else {
  12414. const strat = internalOptionMergeStrats[key] || (strats && strats[key]);
  12415. to[key] = strat ? strat(to[key], from[key]) : from[key];
  12416. }
  12417. }
  12418. return to;
  12419. }
  12420. const internalOptionMergeStrats = {
  12421. data: mergeDataFn,
  12422. props: mergeObjectOptions,
  12423. emits: mergeObjectOptions,
  12424. // objects
  12425. methods: mergeObjectOptions,
  12426. computed: mergeObjectOptions,
  12427. // lifecycle
  12428. beforeCreate: mergeAsArray,
  12429. created: mergeAsArray,
  12430. beforeMount: mergeAsArray,
  12431. mounted: mergeAsArray,
  12432. beforeUpdate: mergeAsArray,
  12433. updated: mergeAsArray,
  12434. beforeDestroy: mergeAsArray,
  12435. beforeUnmount: mergeAsArray,
  12436. destroyed: mergeAsArray,
  12437. unmounted: mergeAsArray,
  12438. activated: mergeAsArray,
  12439. deactivated: mergeAsArray,
  12440. errorCaptured: mergeAsArray,
  12441. serverPrefetch: mergeAsArray,
  12442. // assets
  12443. components: mergeObjectOptions,
  12444. directives: mergeObjectOptions,
  12445. // watch
  12446. watch: mergeWatchOptions,
  12447. // provide / inject
  12448. provide: mergeDataFn,
  12449. inject: mergeInject
  12450. };
  12451. function mergeDataFn(to, from) {
  12452. if (!from) {
  12453. return to;
  12454. }
  12455. if (!to) {
  12456. return from;
  12457. }
  12458. return function mergedDataFn() {
  12459. return ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend))((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(to) ? to.call(this, this) : to, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(from) ? from.call(this, this) : from);
  12460. };
  12461. }
  12462. function mergeInject(to, from) {
  12463. return mergeObjectOptions(normalizeInject(to), normalizeInject(from));
  12464. }
  12465. function normalizeInject(raw) {
  12466. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  12467. const res = {};
  12468. for (let i = 0; i < raw.length; i++) {
  12469. res[raw[i]] = raw[i];
  12470. }
  12471. return res;
  12472. }
  12473. return raw;
  12474. }
  12475. function mergeAsArray(to, from) {
  12476. return to ? [...new Set([].concat(to, from))] : from;
  12477. }
  12478. function mergeObjectOptions(to, from) {
  12479. return to ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(Object.create(null), to), from) : from;
  12480. }
  12481. function mergeWatchOptions(to, from) {
  12482. if (!to)
  12483. return from;
  12484. if (!from)
  12485. return to;
  12486. const merged = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(Object.create(null), to);
  12487. for (const key in from) {
  12488. merged[key] = mergeAsArray(to[key], from[key]);
  12489. }
  12490. return merged;
  12491. }
  12492. function initProps(instance, rawProps, isStateful, // result of bitwise flag comparison
  12493. isSSR = false) {
  12494. const props = {};
  12495. const attrs = {};
  12496. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.def)(attrs, InternalObjectKey, 1);
  12497. instance.propsDefaults = Object.create(null);
  12498. setFullProps(instance, rawProps, props, attrs);
  12499. // ensure all declared prop keys are present
  12500. for (const key in instance.propsOptions[0]) {
  12501. if (!(key in props)) {
  12502. props[key] = undefined;
  12503. }
  12504. }
  12505. // validation
  12506. if ((true)) {
  12507. validateProps(rawProps || {}, props, instance);
  12508. }
  12509. if (isStateful) {
  12510. // stateful
  12511. instance.props = isSSR ? props : (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReactive)(props);
  12512. }
  12513. else {
  12514. if (!instance.type.props) {
  12515. // functional w/ optional props, props === attrs
  12516. instance.props = attrs;
  12517. }
  12518. else {
  12519. // functional w/ declared props
  12520. instance.props = props;
  12521. }
  12522. }
  12523. instance.attrs = attrs;
  12524. }
  12525. function updateProps(instance, rawProps, rawPrevProps, optimized) {
  12526. const { props, attrs, vnode: { patchFlag } } = instance;
  12527. const rawCurrentProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  12528. const [options] = instance.propsOptions;
  12529. let hasAttrsChanged = false;
  12530. if (
  12531. // always force full diff in dev
  12532. // - #1942 if hmr is enabled with sfc component
  12533. // - vite#872 non-sfc component used by sfc component
  12534. !(( true) &&
  12535. (instance.type.__hmrId ||
  12536. (instance.parent && instance.parent.type.__hmrId))) &&
  12537. (optimized || patchFlag > 0) &&
  12538. !(patchFlag & 16 /* FULL_PROPS */)) {
  12539. if (patchFlag & 8 /* PROPS */) {
  12540. // Compiler-generated props & no keys change, just set the updated
  12541. // the props.
  12542. const propsToUpdate = instance.vnode.dynamicProps;
  12543. for (let i = 0; i < propsToUpdate.length; i++) {
  12544. let key = propsToUpdate[i];
  12545. // PROPS flag guarantees rawProps to be non-null
  12546. const value = rawProps[key];
  12547. if (options) {
  12548. // attr / props separation was done on init and will be consistent
  12549. // in this code path, so just check if attrs have it.
  12550. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(attrs, key)) {
  12551. if (value !== attrs[key]) {
  12552. attrs[key] = value;
  12553. hasAttrsChanged = true;
  12554. }
  12555. }
  12556. else {
  12557. const camelizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key);
  12558. props[camelizedKey] = resolvePropValue(options, rawCurrentProps, camelizedKey, value, instance, false /* isAbsent */);
  12559. }
  12560. }
  12561. else {
  12562. if (value !== attrs[key]) {
  12563. attrs[key] = value;
  12564. hasAttrsChanged = true;
  12565. }
  12566. }
  12567. }
  12568. }
  12569. }
  12570. else {
  12571. // full props update.
  12572. if (setFullProps(instance, rawProps, props, attrs)) {
  12573. hasAttrsChanged = true;
  12574. }
  12575. // in case of dynamic props, check if we need to delete keys from
  12576. // the props object
  12577. let kebabKey;
  12578. for (const key in rawCurrentProps) {
  12579. if (!rawProps ||
  12580. // for camelCase
  12581. (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, key) &&
  12582. // it's possible the original props was passed in as kebab-case
  12583. // and converted to camelCase (#955)
  12584. ((kebabKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key)) === key || !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, kebabKey)))) {
  12585. if (options) {
  12586. if (rawPrevProps &&
  12587. // for camelCase
  12588. (rawPrevProps[key] !== undefined ||
  12589. // for kebab-case
  12590. rawPrevProps[kebabKey] !== undefined)) {
  12591. props[key] = resolvePropValue(options, rawCurrentProps, key, undefined, instance, true /* isAbsent */);
  12592. }
  12593. }
  12594. else {
  12595. delete props[key];
  12596. }
  12597. }
  12598. }
  12599. // in the case of functional component w/o props declaration, props and
  12600. // attrs point to the same object so it should already have been updated.
  12601. if (attrs !== rawCurrentProps) {
  12602. for (const key in attrs) {
  12603. if (!rawProps ||
  12604. (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, key) &&
  12605. (!false ))) {
  12606. delete attrs[key];
  12607. hasAttrsChanged = true;
  12608. }
  12609. }
  12610. }
  12611. }
  12612. // trigger updates for $attrs in case it's used in component slots
  12613. if (hasAttrsChanged) {
  12614. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.trigger)(instance, "set" /* SET */, '$attrs');
  12615. }
  12616. if ((true)) {
  12617. validateProps(rawProps || {}, props, instance);
  12618. }
  12619. }
  12620. function setFullProps(instance, rawProps, props, attrs) {
  12621. const [options, needCastKeys] = instance.propsOptions;
  12622. let hasAttrsChanged = false;
  12623. let rawCastValues;
  12624. if (rawProps) {
  12625. for (let key in rawProps) {
  12626. // key, ref are reserved and never passed down
  12627. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key)) {
  12628. continue;
  12629. }
  12630. const value = rawProps[key];
  12631. // prop option names are camelized during normalization, so to support
  12632. // kebab -> camel conversion here we need to camelize the key.
  12633. let camelKey;
  12634. if (options && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(options, (camelKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key)))) {
  12635. if (!needCastKeys || !needCastKeys.includes(camelKey)) {
  12636. props[camelKey] = value;
  12637. }
  12638. else {
  12639. (rawCastValues || (rawCastValues = {}))[camelKey] = value;
  12640. }
  12641. }
  12642. else if (!isEmitListener(instance.emitsOptions, key)) {
  12643. if (!(key in attrs) || value !== attrs[key]) {
  12644. attrs[key] = value;
  12645. hasAttrsChanged = true;
  12646. }
  12647. }
  12648. }
  12649. }
  12650. if (needCastKeys) {
  12651. const rawCurrentProps = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  12652. const castValues = rawCastValues || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  12653. for (let i = 0; i < needCastKeys.length; i++) {
  12654. const key = needCastKeys[i];
  12655. props[key] = resolvePropValue(options, rawCurrentProps, key, castValues[key], instance, !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(castValues, key));
  12656. }
  12657. }
  12658. return hasAttrsChanged;
  12659. }
  12660. function resolvePropValue(options, props, key, value, instance, isAbsent) {
  12661. const opt = options[key];
  12662. if (opt != null) {
  12663. const hasDefault = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(opt, 'default');
  12664. // default values
  12665. if (hasDefault && value === undefined) {
  12666. const defaultValue = opt.default;
  12667. if (opt.type !== Function && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(defaultValue)) {
  12668. const { propsDefaults } = instance;
  12669. if (key in propsDefaults) {
  12670. value = propsDefaults[key];
  12671. }
  12672. else {
  12673. setCurrentInstance(instance);
  12674. value = propsDefaults[key] = defaultValue.call(null, props);
  12675. unsetCurrentInstance();
  12676. }
  12677. }
  12678. else {
  12679. value = defaultValue;
  12680. }
  12681. }
  12682. // boolean casting
  12683. if (opt[0 /* shouldCast */]) {
  12684. if (isAbsent && !hasDefault) {
  12685. value = false;
  12686. }
  12687. else if (opt[1 /* shouldCastTrue */] &&
  12688. (value === '' || value === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key))) {
  12689. value = true;
  12690. }
  12691. }
  12692. }
  12693. return value;
  12694. }
  12695. function normalizePropsOptions(comp, appContext, asMixin = false) {
  12696. const cache = appContext.propsCache;
  12697. const cached = cache.get(comp);
  12698. if (cached) {
  12699. return cached;
  12700. }
  12701. const raw = comp.props;
  12702. const normalized = {};
  12703. const needCastKeys = [];
  12704. // apply mixin/extends props
  12705. let hasExtends = false;
  12706. if ( true && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(comp)) {
  12707. const extendProps = (raw) => {
  12708. hasExtends = true;
  12709. const [props, keys] = normalizePropsOptions(raw, appContext, true);
  12710. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(normalized, props);
  12711. if (keys)
  12712. needCastKeys.push(...keys);
  12713. };
  12714. if (!asMixin && appContext.mixins.length) {
  12715. appContext.mixins.forEach(extendProps);
  12716. }
  12717. if (comp.extends) {
  12718. extendProps(comp.extends);
  12719. }
  12720. if (comp.mixins) {
  12721. comp.mixins.forEach(extendProps);
  12722. }
  12723. }
  12724. if (!raw && !hasExtends) {
  12725. cache.set(comp, _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR);
  12726. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  12727. }
  12728. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)) {
  12729. for (let i = 0; i < raw.length; i++) {
  12730. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(raw[i])) {
  12731. warn(`props must be strings when using array syntax.`, raw[i]);
  12732. }
  12733. const normalizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(raw[i]);
  12734. if (validatePropName(normalizedKey)) {
  12735. normalized[normalizedKey] = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  12736. }
  12737. }
  12738. }
  12739. else if (raw) {
  12740. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(raw)) {
  12741. warn(`invalid props options`, raw);
  12742. }
  12743. for (const key in raw) {
  12744. const normalizedKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key);
  12745. if (validatePropName(normalizedKey)) {
  12746. const opt = raw[key];
  12747. const prop = (normalized[normalizedKey] =
  12748. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(opt) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt) ? { type: opt } : opt);
  12749. if (prop) {
  12750. const booleanIndex = getTypeIndex(Boolean, prop.type);
  12751. const stringIndex = getTypeIndex(String, prop.type);
  12752. prop[0 /* shouldCast */] = booleanIndex > -1;
  12753. prop[1 /* shouldCastTrue */] =
  12754. stringIndex < 0 || booleanIndex < stringIndex;
  12755. // if the prop needs boolean casting or default value
  12756. if (booleanIndex > -1 || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(prop, 'default')) {
  12757. needCastKeys.push(normalizedKey);
  12758. }
  12759. }
  12760. }
  12761. }
  12762. }
  12763. const res = [normalized, needCastKeys];
  12764. cache.set(comp, res);
  12765. return res;
  12766. }
  12767. function validatePropName(key) {
  12768. if (key[0] !== '$') {
  12769. return true;
  12770. }
  12771. else if ((true)) {
  12772. warn(`Invalid prop name: "${key}" is a reserved property.`);
  12773. }
  12774. return false;
  12775. }
  12776. // use function string name to check type constructors
  12777. // so that it works across vms / iframes.
  12778. function getType(ctor) {
  12779. const match = ctor && ctor.toString().match(/^\s*function (\w+)/);
  12780. return match ? match[1] : ctor === null ? 'null' : '';
  12781. }
  12782. function isSameType(a, b) {
  12783. return getType(a) === getType(b);
  12784. }
  12785. function getTypeIndex(type, expectedTypes) {
  12786. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(expectedTypes)) {
  12787. return expectedTypes.findIndex(t => isSameType(t, type));
  12788. }
  12789. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(expectedTypes)) {
  12790. return isSameType(expectedTypes, type) ? 0 : -1;
  12791. }
  12792. return -1;
  12793. }
  12794. /**
  12795. * dev only
  12796. */
  12797. function validateProps(rawProps, props, instance) {
  12798. const resolvedValues = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(props);
  12799. const options = instance.propsOptions[0];
  12800. for (const key in options) {
  12801. let opt = options[key];
  12802. if (opt == null)
  12803. continue;
  12804. validateProp(key, resolvedValues[key], opt, !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, key) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(rawProps, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key)));
  12805. }
  12806. }
  12807. /**
  12808. * dev only
  12809. */
  12810. function validateProp(name, value, prop, isAbsent) {
  12811. const { type, required, validator } = prop;
  12812. // required!
  12813. if (required && isAbsent) {
  12814. warn('Missing required prop: "' + name + '"');
  12815. return;
  12816. }
  12817. // missing but optional
  12818. if (value == null && !prop.required) {
  12819. return;
  12820. }
  12821. // type check
  12822. if (type != null && type !== true) {
  12823. let isValid = false;
  12824. const types = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(type) ? type : [type];
  12825. const expectedTypes = [];
  12826. // value is valid as long as one of the specified types match
  12827. for (let i = 0; i < types.length && !isValid; i++) {
  12828. const { valid, expectedType } = assertType(value, types[i]);
  12829. expectedTypes.push(expectedType || '');
  12830. isValid = valid;
  12831. }
  12832. if (!isValid) {
  12833. warn(getInvalidTypeMessage(name, value, expectedTypes));
  12834. return;
  12835. }
  12836. }
  12837. // custom validator
  12838. if (validator && !validator(value)) {
  12839. warn('Invalid prop: custom validator check failed for prop "' + name + '".');
  12840. }
  12841. }
  12842. const isSimpleType = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('String,Number,Boolean,Function,Symbol,BigInt');
  12843. /**
  12844. * dev only
  12845. */
  12846. function assertType(value, type) {
  12847. let valid;
  12848. const expectedType = getType(type);
  12849. if (isSimpleType(expectedType)) {
  12850. const t = typeof value;
  12851. valid = t === expectedType.toLowerCase();
  12852. // for primitive wrapper objects
  12853. if (!valid && t === 'object') {
  12854. valid = value instanceof type;
  12855. }
  12856. }
  12857. else if (expectedType === 'Object') {
  12858. valid = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(value);
  12859. }
  12860. else if (expectedType === 'Array') {
  12861. valid = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value);
  12862. }
  12863. else if (expectedType === 'null') {
  12864. valid = value === null;
  12865. }
  12866. else {
  12867. valid = value instanceof type;
  12868. }
  12869. return {
  12870. valid,
  12871. expectedType
  12872. };
  12873. }
  12874. /**
  12875. * dev only
  12876. */
  12877. function getInvalidTypeMessage(name, value, expectedTypes) {
  12878. let message = `Invalid prop: type check failed for prop "${name}".` +
  12879. ` Expected ${expectedTypes.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize).join(' | ')}`;
  12880. const expectedType = expectedTypes[0];
  12881. const receivedType = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toRawType)(value);
  12882. const expectedValue = styleValue(value, expectedType);
  12883. const receivedValue = styleValue(value, receivedType);
  12884. // check if we need to specify expected value
  12885. if (expectedTypes.length === 1 &&
  12886. isExplicable(expectedType) &&
  12887. !isBoolean(expectedType, receivedType)) {
  12888. message += ` with value ${expectedValue}`;
  12889. }
  12890. message += `, got ${receivedType} `;
  12891. // check if we need to specify received value
  12892. if (isExplicable(receivedType)) {
  12893. message += `with value ${receivedValue}.`;
  12894. }
  12895. return message;
  12896. }
  12897. /**
  12898. * dev only
  12899. */
  12900. function styleValue(value, type) {
  12901. if (type === 'String') {
  12902. return `"${value}"`;
  12903. }
  12904. else if (type === 'Number') {
  12905. return `${Number(value)}`;
  12906. }
  12907. else {
  12908. return `${value}`;
  12909. }
  12910. }
  12911. /**
  12912. * dev only
  12913. */
  12914. function isExplicable(type) {
  12915. const explicitTypes = ['string', 'number', 'boolean'];
  12916. return explicitTypes.some(elem => type.toLowerCase() === elem);
  12917. }
  12918. /**
  12919. * dev only
  12920. */
  12921. function isBoolean(...args) {
  12922. return args.some(elem => elem.toLowerCase() === 'boolean');
  12923. }
  12924. const isInternalKey = (key) => key[0] === '_' || key === '$stable';
  12925. const normalizeSlotValue = (value) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)
  12926. ? value.map(normalizeVNode)
  12927. : [normalizeVNode(value)];
  12928. const normalizeSlot = (key, rawSlot, ctx) => {
  12929. const normalized = withCtx((...args) => {
  12930. if (( true) && currentInstance) {
  12931. warn(`Slot "${key}" invoked outside of the render function: ` +
  12932. `this will not track dependencies used in the slot. ` +
  12933. `Invoke the slot function inside the render function instead.`);
  12934. }
  12935. return normalizeSlotValue(rawSlot(...args));
  12936. }, ctx);
  12937. normalized._c = false;
  12938. return normalized;
  12939. };
  12940. const normalizeObjectSlots = (rawSlots, slots, instance) => {
  12941. const ctx = rawSlots._ctx;
  12942. for (const key in rawSlots) {
  12943. if (isInternalKey(key))
  12944. continue;
  12945. const value = rawSlots[key];
  12946. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  12947. slots[key] = normalizeSlot(key, value, ctx);
  12948. }
  12949. else if (value != null) {
  12950. if (true) {
  12951. warn(`Non-function value encountered for slot "${key}". ` +
  12952. `Prefer function slots for better performance.`);
  12953. }
  12954. const normalized = normalizeSlotValue(value);
  12955. slots[key] = () => normalized;
  12956. }
  12957. }
  12958. };
  12959. const normalizeVNodeSlots = (instance, children) => {
  12960. if (( true) &&
  12961. !isKeepAlive(instance.vnode) &&
  12962. !(false )) {
  12963. warn(`Non-function value encountered for default slot. ` +
  12964. `Prefer function slots for better performance.`);
  12965. }
  12966. const normalized = normalizeSlotValue(children);
  12967. instance.slots.default = () => normalized;
  12968. };
  12969. const initSlots = (instance, children) => {
  12970. if (instance.vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {
  12971. const type = children._;
  12972. if (type) {
  12973. // users can get the shallow readonly version of the slots object through `this.$slots`,
  12974. // we should avoid the proxy object polluting the slots of the internal instance
  12975. instance.slots = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(children);
  12976. // make compiler marker non-enumerable
  12977. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.def)(children, '_', type);
  12978. }
  12979. else {
  12980. normalizeObjectSlots(children, (instance.slots = {}));
  12981. }
  12982. }
  12983. else {
  12984. instance.slots = {};
  12985. if (children) {
  12986. normalizeVNodeSlots(instance, children);
  12987. }
  12988. }
  12989. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.def)(instance.slots, InternalObjectKey, 1);
  12990. };
  12991. const updateSlots = (instance, children, optimized) => {
  12992. const { vnode, slots } = instance;
  12993. let needDeletionCheck = true;
  12994. let deletionComparisonTarget = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  12995. if (vnode.shapeFlag & 32 /* SLOTS_CHILDREN */) {
  12996. const type = children._;
  12997. if (type) {
  12998. // compiled slots.
  12999. if (( true) && isHmrUpdating) {
  13000. // Parent was HMR updated so slot content may have changed.
  13001. // force update slots and mark instance for hmr as well
  13002. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(slots, children);
  13003. }
  13004. else if (optimized && type === 1 /* STABLE */) {
  13005. // compiled AND stable.
  13006. // no need to update, and skip stale slots removal.
  13007. needDeletionCheck = false;
  13008. }
  13009. else {
  13010. // compiled but dynamic (v-if/v-for on slots) - update slots, but skip
  13011. // normalization.
  13012. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(slots, children);
  13013. // #2893
  13014. // when rendering the optimized slots by manually written render function,
  13015. // we need to delete the `slots._` flag if necessary to make subsequent updates reliable,
  13016. // i.e. let the `renderSlot` create the bailed Fragment
  13017. if (!optimized && type === 1 /* STABLE */) {
  13018. delete slots._;
  13019. }
  13020. }
  13021. }
  13022. else {
  13023. needDeletionCheck = !children.$stable;
  13024. normalizeObjectSlots(children, slots);
  13025. }
  13026. deletionComparisonTarget = children;
  13027. }
  13028. else if (children) {
  13029. // non slot object children (direct value) passed to a component
  13030. normalizeVNodeSlots(instance, children);
  13031. deletionComparisonTarget = { default: 1 };
  13032. }
  13033. // delete stale slots
  13034. if (needDeletionCheck) {
  13035. for (const key in slots) {
  13036. if (!isInternalKey(key) && !(key in deletionComparisonTarget)) {
  13037. delete slots[key];
  13038. }
  13039. }
  13040. }
  13041. };
  13042. /**
  13043. Runtime helper for applying directives to a vnode. Example usage:
  13044. const comp = resolveComponent('comp')
  13045. const foo = resolveDirective('foo')
  13046. const bar = resolveDirective('bar')
  13047. return withDirectives(h(comp), [
  13048. [foo, this.x],
  13049. [bar, this.y]
  13050. ])
  13051. */
  13052. function validateDirectiveName(name) {
  13053. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isBuiltInDirective)(name)) {
  13054. warn('Do not use built-in directive ids as custom directive id: ' + name);
  13055. }
  13056. }
  13057. /**
  13058. * Adds directives to a VNode.
  13059. */
  13060. function withDirectives(vnode, directives) {
  13061. const internalInstance = currentRenderingInstance;
  13062. if (internalInstance === null) {
  13063. ( true) && warn(`withDirectives can only be used inside render functions.`);
  13064. return vnode;
  13065. }
  13066. const instance = internalInstance.proxy;
  13067. const bindings = vnode.dirs || (vnode.dirs = []);
  13068. for (let i = 0; i < directives.length; i++) {
  13069. let [dir, value, arg, modifiers = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ] = directives[i];
  13070. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(dir)) {
  13071. dir = {
  13072. mounted: dir,
  13073. updated: dir
  13074. };
  13075. }
  13076. if (dir.deep) {
  13077. traverse(value);
  13078. }
  13079. bindings.push({
  13080. dir,
  13081. instance,
  13082. value,
  13083. oldValue: void 0,
  13084. arg,
  13085. modifiers
  13086. });
  13087. }
  13088. return vnode;
  13089. }
  13090. function invokeDirectiveHook(vnode, prevVNode, instance, name) {
  13091. const bindings = vnode.dirs;
  13092. const oldBindings = prevVNode && prevVNode.dirs;
  13093. for (let i = 0; i < bindings.length; i++) {
  13094. const binding = bindings[i];
  13095. if (oldBindings) {
  13096. binding.oldValue = oldBindings[i].value;
  13097. }
  13098. let hook = binding.dir[name];
  13099. if (hook) {
  13100. // disable tracking inside all lifecycle hooks
  13101. // since they can potentially be called inside effects.
  13102. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  13103. callWithAsyncErrorHandling(hook, instance, 8 /* DIRECTIVE_HOOK */, [
  13104. vnode.el,
  13105. binding,
  13106. vnode,
  13107. prevVNode
  13108. ]);
  13109. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  13110. }
  13111. }
  13112. }
  13113. function createAppContext() {
  13114. return {
  13115. app: null,
  13116. config: {
  13117. isNativeTag: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NO,
  13118. performance: false,
  13119. globalProperties: {},
  13120. optionMergeStrategies: {},
  13121. errorHandler: undefined,
  13122. warnHandler: undefined,
  13123. compilerOptions: {}
  13124. },
  13125. mixins: [],
  13126. components: {},
  13127. directives: {},
  13128. provides: Object.create(null),
  13129. optionsCache: new WeakMap(),
  13130. propsCache: new WeakMap(),
  13131. emitsCache: new WeakMap()
  13132. };
  13133. }
  13134. let uid = 0;
  13135. function createAppAPI(render, hydrate) {
  13136. return function createApp(rootComponent, rootProps = null) {
  13137. if (rootProps != null && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(rootProps)) {
  13138. ( true) && warn(`root props passed to app.mount() must be an object.`);
  13139. rootProps = null;
  13140. }
  13141. const context = createAppContext();
  13142. const installedPlugins = new Set();
  13143. let isMounted = false;
  13144. const app = (context.app = {
  13145. _uid: uid++,
  13146. _component: rootComponent,
  13147. _props: rootProps,
  13148. _container: null,
  13149. _context: context,
  13150. _instance: null,
  13151. version,
  13152. get config() {
  13153. return context.config;
  13154. },
  13155. set config(v) {
  13156. if ((true)) {
  13157. warn(`app.config cannot be replaced. Modify individual options instead.`);
  13158. }
  13159. },
  13160. use(plugin, ...options) {
  13161. if (installedPlugins.has(plugin)) {
  13162. ( true) && warn(`Plugin has already been applied to target app.`);
  13163. }
  13164. else if (plugin && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(plugin.install)) {
  13165. installedPlugins.add(plugin);
  13166. plugin.install(app, ...options);
  13167. }
  13168. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(plugin)) {
  13169. installedPlugins.add(plugin);
  13170. plugin(app, ...options);
  13171. }
  13172. else if ((true)) {
  13173. warn(`A plugin must either be a function or an object with an "install" ` +
  13174. `function.`);
  13175. }
  13176. return app;
  13177. },
  13178. mixin(mixin) {
  13179. if (true) {
  13180. if (!context.mixins.includes(mixin)) {
  13181. context.mixins.push(mixin);
  13182. }
  13183. else if ((true)) {
  13184. warn('Mixin has already been applied to target app' +
  13185. (mixin.name ? `: ${mixin.name}` : ''));
  13186. }
  13187. }
  13188. else {}
  13189. return app;
  13190. },
  13191. component(name, component) {
  13192. if ((true)) {
  13193. validateComponentName(name, context.config);
  13194. }
  13195. if (!component) {
  13196. return context.components[name];
  13197. }
  13198. if (( true) && context.components[name]) {
  13199. warn(`Component "${name}" has already been registered in target app.`);
  13200. }
  13201. context.components[name] = component;
  13202. return app;
  13203. },
  13204. directive(name, directive) {
  13205. if ((true)) {
  13206. validateDirectiveName(name);
  13207. }
  13208. if (!directive) {
  13209. return context.directives[name];
  13210. }
  13211. if (( true) && context.directives[name]) {
  13212. warn(`Directive "${name}" has already been registered in target app.`);
  13213. }
  13214. context.directives[name] = directive;
  13215. return app;
  13216. },
  13217. mount(rootContainer, isHydrate, isSVG) {
  13218. if (!isMounted) {
  13219. const vnode = createVNode(rootComponent, rootProps);
  13220. // store app context on the root VNode.
  13221. // this will be set on the root instance on initial mount.
  13222. vnode.appContext = context;
  13223. // HMR root reload
  13224. if ((true)) {
  13225. context.reload = () => {
  13226. render(cloneVNode(vnode), rootContainer, isSVG);
  13227. };
  13228. }
  13229. if (isHydrate && hydrate) {
  13230. hydrate(vnode, rootContainer);
  13231. }
  13232. else {
  13233. render(vnode, rootContainer, isSVG);
  13234. }
  13235. isMounted = true;
  13236. app._container = rootContainer;
  13237. rootContainer.__vue_app__ = app;
  13238. if (true) {
  13239. app._instance = vnode.component;
  13240. devtoolsInitApp(app, version);
  13241. }
  13242. return getExposeProxy(vnode.component) || vnode.component.proxy;
  13243. }
  13244. else if ((true)) {
  13245. warn(`App has already been mounted.\n` +
  13246. `If you want to remount the same app, move your app creation logic ` +
  13247. `into a factory function and create fresh app instances for each ` +
  13248. `mount - e.g. \`const createMyApp = () => createApp(App)\``);
  13249. }
  13250. },
  13251. unmount() {
  13252. if (isMounted) {
  13253. render(null, app._container);
  13254. if (true) {
  13255. app._instance = null;
  13256. devtoolsUnmountApp(app);
  13257. }
  13258. delete app._container.__vue_app__;
  13259. }
  13260. else if ((true)) {
  13261. warn(`Cannot unmount an app that is not mounted.`);
  13262. }
  13263. },
  13264. provide(key, value) {
  13265. if (( true) && key in context.provides) {
  13266. warn(`App already provides property with key "${String(key)}". ` +
  13267. `It will be overwritten with the new value.`);
  13268. }
  13269. // TypeScript doesn't allow symbols as index type
  13270. // https://github.com/Microsoft/TypeScript/issues/24587
  13271. context.provides[key] = value;
  13272. return app;
  13273. }
  13274. });
  13275. return app;
  13276. };
  13277. }
  13278. /**
  13279. * Function for handling a template ref
  13280. */
  13281. function setRef(rawRef, oldRawRef, parentSuspense, vnode, isUnmount = false) {
  13282. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(rawRef)) {
  13283. rawRef.forEach((r, i) => setRef(r, oldRawRef && ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(oldRawRef) ? oldRawRef[i] : oldRawRef), parentSuspense, vnode, isUnmount));
  13284. return;
  13285. }
  13286. if (isAsyncWrapper(vnode) && !isUnmount) {
  13287. // when mounting async components, nothing needs to be done,
  13288. // because the template ref is forwarded to inner component
  13289. return;
  13290. }
  13291. const refValue = vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */
  13292. ? getExposeProxy(vnode.component) || vnode.component.proxy
  13293. : vnode.el;
  13294. const value = isUnmount ? null : refValue;
  13295. const { i: owner, r: ref } = rawRef;
  13296. if (( true) && !owner) {
  13297. warn(`Missing ref owner context. ref cannot be used on hoisted vnodes. ` +
  13298. `A vnode with ref must be created inside the render function.`);
  13299. return;
  13300. }
  13301. const oldRef = oldRawRef && oldRawRef.r;
  13302. const refs = owner.refs === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ ? (owner.refs = {}) : owner.refs;
  13303. const setupState = owner.setupState;
  13304. // dynamic ref changed. unset old ref
  13305. if (oldRef != null && oldRef !== ref) {
  13306. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(oldRef)) {
  13307. refs[oldRef] = null;
  13308. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, oldRef)) {
  13309. setupState[oldRef] = null;
  13310. }
  13311. }
  13312. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(oldRef)) {
  13313. oldRef.value = null;
  13314. }
  13315. }
  13316. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(ref)) {
  13317. callWithErrorHandling(ref, owner, 12 /* FUNCTION_REF */, [value, refs]);
  13318. }
  13319. else {
  13320. const _isString = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(ref);
  13321. const _isRef = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(ref);
  13322. if (_isString || _isRef) {
  13323. const doSet = () => {
  13324. if (rawRef.f) {
  13325. const existing = _isString ? refs[ref] : ref.value;
  13326. if (isUnmount) {
  13327. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(existing) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.remove)(existing, refValue);
  13328. }
  13329. else {
  13330. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(existing)) {
  13331. if (_isString) {
  13332. refs[ref] = [refValue];
  13333. }
  13334. else {
  13335. ref.value = [refValue];
  13336. if (rawRef.k)
  13337. refs[rawRef.k] = ref.value;
  13338. }
  13339. }
  13340. else if (!existing.includes(refValue)) {
  13341. existing.push(refValue);
  13342. }
  13343. }
  13344. }
  13345. else if (_isString) {
  13346. refs[ref] = value;
  13347. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, ref)) {
  13348. setupState[ref] = value;
  13349. }
  13350. }
  13351. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(ref)) {
  13352. ref.value = value;
  13353. if (rawRef.k)
  13354. refs[rawRef.k] = value;
  13355. }
  13356. else if ((true)) {
  13357. warn('Invalid template ref type:', ref, `(${typeof ref})`);
  13358. }
  13359. };
  13360. if (value) {
  13361. doSet.id = -1;
  13362. queuePostRenderEffect(doSet, parentSuspense);
  13363. }
  13364. else {
  13365. doSet();
  13366. }
  13367. }
  13368. else if ((true)) {
  13369. warn('Invalid template ref type:', ref, `(${typeof ref})`);
  13370. }
  13371. }
  13372. }
  13373. let hasMismatch = false;
  13374. const isSVGContainer = (container) => /svg/.test(container.namespaceURI) && container.tagName !== 'foreignObject';
  13375. const isComment = (node) => node.nodeType === 8 /* COMMENT */;
  13376. // Note: hydration is DOM-specific
  13377. // But we have to place it in core due to tight coupling with core - splitting
  13378. // it out creates a ton of unnecessary complexity.
  13379. // Hydration also depends on some renderer internal logic which needs to be
  13380. // passed in via arguments.
  13381. function createHydrationFunctions(rendererInternals) {
  13382. const { mt: mountComponent, p: patch, o: { patchProp, nextSibling, parentNode, remove, insert, createComment } } = rendererInternals;
  13383. const hydrate = (vnode, container) => {
  13384. if (!container.hasChildNodes()) {
  13385. ( true) &&
  13386. warn(`Attempting to hydrate existing markup but container is empty. ` +
  13387. `Performing full mount instead.`);
  13388. patch(null, vnode, container);
  13389. flushPostFlushCbs();
  13390. return;
  13391. }
  13392. hasMismatch = false;
  13393. hydrateNode(container.firstChild, vnode, null, null, null);
  13394. flushPostFlushCbs();
  13395. if (hasMismatch && !false) {
  13396. // this error should show up in production
  13397. console.error(`Hydration completed but contains mismatches.`);
  13398. }
  13399. };
  13400. const hydrateNode = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized = false) => {
  13401. const isFragmentStart = isComment(node) && node.data === '[';
  13402. const onMismatch = () => handleMismatch(node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragmentStart);
  13403. const { type, ref, shapeFlag } = vnode;
  13404. const domType = node.nodeType;
  13405. vnode.el = node;
  13406. let nextNode = null;
  13407. switch (type) {
  13408. case Text:
  13409. if (domType !== 3 /* TEXT */) {
  13410. nextNode = onMismatch();
  13411. }
  13412. else {
  13413. if (node.data !== vnode.children) {
  13414. hasMismatch = true;
  13415. ( true) &&
  13416. warn(`Hydration text mismatch:` +
  13417. `\n- Client: ${JSON.stringify(node.data)}` +
  13418. `\n- Server: ${JSON.stringify(vnode.children)}`);
  13419. node.data = vnode.children;
  13420. }
  13421. nextNode = nextSibling(node);
  13422. }
  13423. break;
  13424. case Comment:
  13425. if (domType !== 8 /* COMMENT */ || isFragmentStart) {
  13426. nextNode = onMismatch();
  13427. }
  13428. else {
  13429. nextNode = nextSibling(node);
  13430. }
  13431. break;
  13432. case Static:
  13433. if (domType !== 1 /* ELEMENT */) {
  13434. nextNode = onMismatch();
  13435. }
  13436. else {
  13437. // determine anchor, adopt content
  13438. nextNode = node;
  13439. // if the static vnode has its content stripped during build,
  13440. // adopt it from the server-rendered HTML.
  13441. const needToAdoptContent = !vnode.children.length;
  13442. for (let i = 0; i < vnode.staticCount; i++) {
  13443. if (needToAdoptContent)
  13444. vnode.children += nextNode.outerHTML;
  13445. if (i === vnode.staticCount - 1) {
  13446. vnode.anchor = nextNode;
  13447. }
  13448. nextNode = nextSibling(nextNode);
  13449. }
  13450. return nextNode;
  13451. }
  13452. break;
  13453. case Fragment:
  13454. if (!isFragmentStart) {
  13455. nextNode = onMismatch();
  13456. }
  13457. else {
  13458. nextNode = hydrateFragment(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
  13459. }
  13460. break;
  13461. default:
  13462. if (shapeFlag & 1 /* ELEMENT */) {
  13463. if (domType !== 1 /* ELEMENT */ ||
  13464. vnode.type.toLowerCase() !==
  13465. node.tagName.toLowerCase()) {
  13466. nextNode = onMismatch();
  13467. }
  13468. else {
  13469. nextNode = hydrateElement(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
  13470. }
  13471. }
  13472. else if (shapeFlag & 6 /* COMPONENT */) {
  13473. // when setting up the render effect, if the initial vnode already
  13474. // has .el set, the component will perform hydration instead of mount
  13475. // on its sub-tree.
  13476. vnode.slotScopeIds = slotScopeIds;
  13477. const container = parentNode(node);
  13478. mountComponent(vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), optimized);
  13479. // component may be async, so in the case of fragments we cannot rely
  13480. // on component's rendered output to determine the end of the fragment
  13481. // instead, we do a lookahead to find the end anchor node.
  13482. nextNode = isFragmentStart
  13483. ? locateClosingAsyncAnchor(node)
  13484. : nextSibling(node);
  13485. // #3787
  13486. // if component is async, it may get moved / unmounted before its
  13487. // inner component is loaded, so we need to give it a placeholder
  13488. // vnode that matches its adopted DOM.
  13489. if (isAsyncWrapper(vnode)) {
  13490. let subTree;
  13491. if (isFragmentStart) {
  13492. subTree = createVNode(Fragment);
  13493. subTree.anchor = nextNode
  13494. ? nextNode.previousSibling
  13495. : container.lastChild;
  13496. }
  13497. else {
  13498. subTree =
  13499. node.nodeType === 3 ? createTextVNode('') : createVNode('div');
  13500. }
  13501. subTree.el = node;
  13502. vnode.component.subTree = subTree;
  13503. }
  13504. }
  13505. else if (shapeFlag & 64 /* TELEPORT */) {
  13506. if (domType !== 8 /* COMMENT */) {
  13507. nextNode = onMismatch();
  13508. }
  13509. else {
  13510. nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, rendererInternals, hydrateChildren);
  13511. }
  13512. }
  13513. else if (shapeFlag & 128 /* SUSPENSE */) {
  13514. nextNode = vnode.type.hydrate(node, vnode, parentComponent, parentSuspense, isSVGContainer(parentNode(node)), slotScopeIds, optimized, rendererInternals, hydrateNode);
  13515. }
  13516. else if ((true)) {
  13517. warn('Invalid HostVNode type:', type, `(${typeof type})`);
  13518. }
  13519. }
  13520. if (ref != null) {
  13521. setRef(ref, null, parentSuspense, vnode);
  13522. }
  13523. return nextNode;
  13524. };
  13525. const hydrateElement = (el, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {
  13526. optimized = optimized || !!vnode.dynamicChildren;
  13527. const { type, props, patchFlag, shapeFlag, dirs } = vnode;
  13528. // #4006 for form elements with non-string v-model value bindings
  13529. // e.g. <option :value="obj">, <input type="checkbox" :true-value="1">
  13530. const forcePatchValue = (type === 'input' && dirs) || type === 'option';
  13531. // skip props & children if this is hoisted static nodes
  13532. // #5405 in dev, always hydrate children for HMR
  13533. if (true /* HOISTED */) {
  13534. if (dirs) {
  13535. invokeDirectiveHook(vnode, null, parentComponent, 'created');
  13536. }
  13537. // props
  13538. if (props) {
  13539. if (forcePatchValue ||
  13540. !optimized ||
  13541. patchFlag & (16 /* FULL_PROPS */ | 32 /* HYDRATE_EVENTS */)) {
  13542. for (const key in props) {
  13543. if ((forcePatchValue && key.endsWith('value')) ||
  13544. ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key))) {
  13545. patchProp(el, key, null, props[key], false, undefined, parentComponent);
  13546. }
  13547. }
  13548. }
  13549. else if (props.onClick) {
  13550. // Fast path for click listeners (which is most often) to avoid
  13551. // iterating through props.
  13552. patchProp(el, 'onClick', null, props.onClick, false, undefined, parentComponent);
  13553. }
  13554. }
  13555. // vnode / directive hooks
  13556. let vnodeHooks;
  13557. if ((vnodeHooks = props && props.onVnodeBeforeMount)) {
  13558. invokeVNodeHook(vnodeHooks, parentComponent, vnode);
  13559. }
  13560. if (dirs) {
  13561. invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');
  13562. }
  13563. if ((vnodeHooks = props && props.onVnodeMounted) || dirs) {
  13564. queueEffectWithSuspense(() => {
  13565. vnodeHooks && invokeVNodeHook(vnodeHooks, parentComponent, vnode);
  13566. dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');
  13567. }, parentSuspense);
  13568. }
  13569. // children
  13570. if (shapeFlag & 16 /* ARRAY_CHILDREN */ &&
  13571. // skip if element has innerHTML / textContent
  13572. !(props && (props.innerHTML || props.textContent))) {
  13573. let next = hydrateChildren(el.firstChild, vnode, el, parentComponent, parentSuspense, slotScopeIds, optimized);
  13574. let hasWarned = false;
  13575. while (next) {
  13576. hasMismatch = true;
  13577. if (( true) && !hasWarned) {
  13578. warn(`Hydration children mismatch in <${vnode.type}>: ` +
  13579. `server rendered element contains more child nodes than client vdom.`);
  13580. hasWarned = true;
  13581. }
  13582. // The SSRed DOM contains more nodes than it should. Remove them.
  13583. const cur = next;
  13584. next = next.nextSibling;
  13585. remove(cur);
  13586. }
  13587. }
  13588. else if (shapeFlag & 8 /* TEXT_CHILDREN */) {
  13589. if (el.textContent !== vnode.children) {
  13590. hasMismatch = true;
  13591. ( true) &&
  13592. warn(`Hydration text content mismatch in <${vnode.type}>:\n` +
  13593. `- Client: ${el.textContent}\n` +
  13594. `- Server: ${vnode.children}`);
  13595. el.textContent = vnode.children;
  13596. }
  13597. }
  13598. }
  13599. return el.nextSibling;
  13600. };
  13601. const hydrateChildren = (node, parentVNode, container, parentComponent, parentSuspense, slotScopeIds, optimized) => {
  13602. optimized = optimized || !!parentVNode.dynamicChildren;
  13603. const children = parentVNode.children;
  13604. const l = children.length;
  13605. let hasWarned = false;
  13606. for (let i = 0; i < l; i++) {
  13607. const vnode = optimized
  13608. ? children[i]
  13609. : (children[i] = normalizeVNode(children[i]));
  13610. if (node) {
  13611. node = hydrateNode(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized);
  13612. }
  13613. else if (vnode.type === Text && !vnode.children) {
  13614. continue;
  13615. }
  13616. else {
  13617. hasMismatch = true;
  13618. if (( true) && !hasWarned) {
  13619. warn(`Hydration children mismatch in <${container.tagName.toLowerCase()}>: ` +
  13620. `server rendered element contains fewer child nodes than client vdom.`);
  13621. hasWarned = true;
  13622. }
  13623. // the SSRed DOM didn't contain enough nodes. Mount the missing ones.
  13624. patch(null, vnode, container, null, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);
  13625. }
  13626. }
  13627. return node;
  13628. };
  13629. const hydrateFragment = (node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized) => {
  13630. const { slotScopeIds: fragmentSlotScopeIds } = vnode;
  13631. if (fragmentSlotScopeIds) {
  13632. slotScopeIds = slotScopeIds
  13633. ? slotScopeIds.concat(fragmentSlotScopeIds)
  13634. : fragmentSlotScopeIds;
  13635. }
  13636. const container = parentNode(node);
  13637. const next = hydrateChildren(nextSibling(node), vnode, container, parentComponent, parentSuspense, slotScopeIds, optimized);
  13638. if (next && isComment(next) && next.data === ']') {
  13639. return nextSibling((vnode.anchor = next));
  13640. }
  13641. else {
  13642. // fragment didn't hydrate successfully, since we didn't get a end anchor
  13643. // back. This should have led to node/children mismatch warnings.
  13644. hasMismatch = true;
  13645. // since the anchor is missing, we need to create one and insert it
  13646. insert((vnode.anchor = createComment(`]`)), container, next);
  13647. return next;
  13648. }
  13649. };
  13650. const handleMismatch = (node, vnode, parentComponent, parentSuspense, slotScopeIds, isFragment) => {
  13651. hasMismatch = true;
  13652. ( true) &&
  13653. warn(`Hydration node mismatch:\n- Client vnode:`, vnode.type, `\n- Server rendered DOM:`, node, node.nodeType === 3 /* TEXT */
  13654. ? `(text)`
  13655. : isComment(node) && node.data === '['
  13656. ? `(start of fragment)`
  13657. : ``);
  13658. vnode.el = null;
  13659. if (isFragment) {
  13660. // remove excessive fragment nodes
  13661. const end = locateClosingAsyncAnchor(node);
  13662. while (true) {
  13663. const next = nextSibling(node);
  13664. if (next && next !== end) {
  13665. remove(next);
  13666. }
  13667. else {
  13668. break;
  13669. }
  13670. }
  13671. }
  13672. const next = nextSibling(node);
  13673. const container = parentNode(node);
  13674. remove(node);
  13675. patch(null, vnode, container, next, parentComponent, parentSuspense, isSVGContainer(container), slotScopeIds);
  13676. return next;
  13677. };
  13678. const locateClosingAsyncAnchor = (node) => {
  13679. let match = 0;
  13680. while (node) {
  13681. node = nextSibling(node);
  13682. if (node && isComment(node)) {
  13683. if (node.data === '[')
  13684. match++;
  13685. if (node.data === ']') {
  13686. if (match === 0) {
  13687. return nextSibling(node);
  13688. }
  13689. else {
  13690. match--;
  13691. }
  13692. }
  13693. }
  13694. }
  13695. return node;
  13696. };
  13697. return [hydrate, hydrateNode];
  13698. }
  13699. /* eslint-disable no-restricted-globals */
  13700. let supported;
  13701. let perf;
  13702. function startMeasure(instance, type) {
  13703. if (instance.appContext.config.performance && isSupported()) {
  13704. perf.mark(`vue-${type}-${instance.uid}`);
  13705. }
  13706. if (true) {
  13707. devtoolsPerfStart(instance, type, supported ? perf.now() : Date.now());
  13708. }
  13709. }
  13710. function endMeasure(instance, type) {
  13711. if (instance.appContext.config.performance && isSupported()) {
  13712. const startTag = `vue-${type}-${instance.uid}`;
  13713. const endTag = startTag + `:end`;
  13714. perf.mark(endTag);
  13715. perf.measure(`<${formatComponentName(instance, instance.type)}> ${type}`, startTag, endTag);
  13716. perf.clearMarks(startTag);
  13717. perf.clearMarks(endTag);
  13718. }
  13719. if (true) {
  13720. devtoolsPerfEnd(instance, type, supported ? perf.now() : Date.now());
  13721. }
  13722. }
  13723. function isSupported() {
  13724. if (supported !== undefined) {
  13725. return supported;
  13726. }
  13727. if (typeof window !== 'undefined' && window.performance) {
  13728. supported = true;
  13729. perf = window.performance;
  13730. }
  13731. else {
  13732. supported = false;
  13733. }
  13734. return supported;
  13735. }
  13736. /**
  13737. * This is only called in esm-bundler builds.
  13738. * It is called when a renderer is created, in `baseCreateRenderer` so that
  13739. * importing runtime-core is side-effects free.
  13740. *
  13741. * istanbul-ignore-next
  13742. */
  13743. function initFeatureFlags() {
  13744. const needWarn = [];
  13745. if (false) {}
  13746. if (false) {}
  13747. if (( true) && needWarn.length) {
  13748. const multi = needWarn.length > 1;
  13749. console.warn(`Feature flag${multi ? `s` : ``} ${needWarn.join(', ')} ${multi ? `are` : `is`} not explicitly defined. You are running the esm-bundler build of Vue, ` +
  13750. `which expects these compile-time feature flags to be globally injected ` +
  13751. `via the bundler config in order to get better tree-shaking in the ` +
  13752. `production bundle.\n\n` +
  13753. `For more details, see https://link.vuejs.org/feature-flags.`);
  13754. }
  13755. }
  13756. const queuePostRenderEffect = queueEffectWithSuspense
  13757. ;
  13758. /**
  13759. * The createRenderer function accepts two generic arguments:
  13760. * HostNode and HostElement, corresponding to Node and Element types in the
  13761. * host environment. For example, for runtime-dom, HostNode would be the DOM
  13762. * `Node` interface and HostElement would be the DOM `Element` interface.
  13763. *
  13764. * Custom renderers can pass in the platform specific types like this:
  13765. *
  13766. * ``` js
  13767. * const { render, createApp } = createRenderer<Node, Element>({
  13768. * patchProp,
  13769. * ...nodeOps
  13770. * })
  13771. * ```
  13772. */
  13773. function createRenderer(options) {
  13774. return baseCreateRenderer(options);
  13775. }
  13776. // Separate API for creating hydration-enabled renderer.
  13777. // Hydration logic is only used when calling this function, making it
  13778. // tree-shakable.
  13779. function createHydrationRenderer(options) {
  13780. return baseCreateRenderer(options, createHydrationFunctions);
  13781. }
  13782. // implementation
  13783. function baseCreateRenderer(options, createHydrationFns) {
  13784. // compile-time feature flags check
  13785. {
  13786. initFeatureFlags();
  13787. }
  13788. const target = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.getGlobalThis)();
  13789. target.__VUE__ = true;
  13790. if (true) {
  13791. setDevtoolsHook(target.__VUE_DEVTOOLS_GLOBAL_HOOK__, target);
  13792. }
  13793. const { insert: hostInsert, remove: hostRemove, patchProp: hostPatchProp, createElement: hostCreateElement, createText: hostCreateText, createComment: hostCreateComment, setText: hostSetText, setElementText: hostSetElementText, parentNode: hostParentNode, nextSibling: hostNextSibling, setScopeId: hostSetScopeId = _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP, cloneNode: hostCloneNode, insertStaticContent: hostInsertStaticContent } = options;
  13794. // Note: functions inside this closure should use `const xxx = () => {}`
  13795. // style in order to prevent being inlined by minifiers.
  13796. const patch = (n1, n2, container, anchor = null, parentComponent = null, parentSuspense = null, isSVG = false, slotScopeIds = null, optimized = ( true) && isHmrUpdating ? false : !!n2.dynamicChildren) => {
  13797. if (n1 === n2) {
  13798. return;
  13799. }
  13800. // patching & not same type, unmount old tree
  13801. if (n1 && !isSameVNodeType(n1, n2)) {
  13802. anchor = getNextHostNode(n1);
  13803. unmount(n1, parentComponent, parentSuspense, true);
  13804. n1 = null;
  13805. }
  13806. if (n2.patchFlag === -2 /* BAIL */) {
  13807. optimized = false;
  13808. n2.dynamicChildren = null;
  13809. }
  13810. const { type, ref, shapeFlag } = n2;
  13811. switch (type) {
  13812. case Text:
  13813. processText(n1, n2, container, anchor);
  13814. break;
  13815. case Comment:
  13816. processCommentNode(n1, n2, container, anchor);
  13817. break;
  13818. case Static:
  13819. if (n1 == null) {
  13820. mountStaticNode(n2, container, anchor, isSVG);
  13821. }
  13822. else if ((true)) {
  13823. patchStaticNode(n1, n2, container, isSVG);
  13824. }
  13825. break;
  13826. case Fragment:
  13827. processFragment(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13828. break;
  13829. default:
  13830. if (shapeFlag & 1 /* ELEMENT */) {
  13831. processElement(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13832. }
  13833. else if (shapeFlag & 6 /* COMPONENT */) {
  13834. processComponent(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13835. }
  13836. else if (shapeFlag & 64 /* TELEPORT */) {
  13837. type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);
  13838. }
  13839. else if (shapeFlag & 128 /* SUSPENSE */) {
  13840. type.process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals);
  13841. }
  13842. else if ((true)) {
  13843. warn('Invalid VNode type:', type, `(${typeof type})`);
  13844. }
  13845. }
  13846. // set ref
  13847. if (ref != null && parentComponent) {
  13848. setRef(ref, n1 && n1.ref, parentSuspense, n2 || n1, !n2);
  13849. }
  13850. };
  13851. const processText = (n1, n2, container, anchor) => {
  13852. if (n1 == null) {
  13853. hostInsert((n2.el = hostCreateText(n2.children)), container, anchor);
  13854. }
  13855. else {
  13856. const el = (n2.el = n1.el);
  13857. if (n2.children !== n1.children) {
  13858. hostSetText(el, n2.children);
  13859. }
  13860. }
  13861. };
  13862. const processCommentNode = (n1, n2, container, anchor) => {
  13863. if (n1 == null) {
  13864. hostInsert((n2.el = hostCreateComment(n2.children || '')), container, anchor);
  13865. }
  13866. else {
  13867. // there's no support for dynamic comments
  13868. n2.el = n1.el;
  13869. }
  13870. };
  13871. const mountStaticNode = (n2, container, anchor, isSVG) => {
  13872. [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG, n2.el, n2.anchor);
  13873. };
  13874. /**
  13875. * Dev / HMR only
  13876. */
  13877. const patchStaticNode = (n1, n2, container, isSVG) => {
  13878. // static nodes are only patched during dev for HMR
  13879. if (n2.children !== n1.children) {
  13880. const anchor = hostNextSibling(n1.anchor);
  13881. // remove existing
  13882. removeStaticNode(n1);
  13883. [n2.el, n2.anchor] = hostInsertStaticContent(n2.children, container, anchor, isSVG);
  13884. }
  13885. else {
  13886. n2.el = n1.el;
  13887. n2.anchor = n1.anchor;
  13888. }
  13889. };
  13890. const moveStaticNode = ({ el, anchor }, container, nextSibling) => {
  13891. let next;
  13892. while (el && el !== anchor) {
  13893. next = hostNextSibling(el);
  13894. hostInsert(el, container, nextSibling);
  13895. el = next;
  13896. }
  13897. hostInsert(anchor, container, nextSibling);
  13898. };
  13899. const removeStaticNode = ({ el, anchor }) => {
  13900. let next;
  13901. while (el && el !== anchor) {
  13902. next = hostNextSibling(el);
  13903. hostRemove(el);
  13904. el = next;
  13905. }
  13906. hostRemove(anchor);
  13907. };
  13908. const processElement = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  13909. isSVG = isSVG || n2.type === 'svg';
  13910. if (n1 == null) {
  13911. mountElement(n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13912. }
  13913. else {
  13914. patchElement(n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  13915. }
  13916. };
  13917. const mountElement = (vnode, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  13918. let el;
  13919. let vnodeHook;
  13920. const { type, props, shapeFlag, transition, patchFlag, dirs } = vnode;
  13921. if (false /* HOISTED */) {}
  13922. else {
  13923. el = vnode.el = hostCreateElement(vnode.type, isSVG, props && props.is, props);
  13924. // mount children first, since some props may rely on child content
  13925. // being already rendered, e.g. `<select value>`
  13926. if (shapeFlag & 8 /* TEXT_CHILDREN */) {
  13927. hostSetElementText(el, vnode.children);
  13928. }
  13929. else if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  13930. mountChildren(vnode.children, el, null, parentComponent, parentSuspense, isSVG && type !== 'foreignObject', slotScopeIds, optimized);
  13931. }
  13932. if (dirs) {
  13933. invokeDirectiveHook(vnode, null, parentComponent, 'created');
  13934. }
  13935. // props
  13936. if (props) {
  13937. for (const key in props) {
  13938. if (key !== 'value' && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key)) {
  13939. hostPatchProp(el, key, null, props[key], isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);
  13940. }
  13941. }
  13942. /**
  13943. * Special case for setting value on DOM elements:
  13944. * - it can be order-sensitive (e.g. should be set *after* min/max, #2325, #4024)
  13945. * - it needs to be forced (#1471)
  13946. * #2353 proposes adding another renderer option to configure this, but
  13947. * the properties affects are so finite it is worth special casing it
  13948. * here to reduce the complexity. (Special casing it also should not
  13949. * affect non-DOM renderers)
  13950. */
  13951. if ('value' in props) {
  13952. hostPatchProp(el, 'value', null, props.value);
  13953. }
  13954. if ((vnodeHook = props.onVnodeBeforeMount)) {
  13955. invokeVNodeHook(vnodeHook, parentComponent, vnode);
  13956. }
  13957. }
  13958. // scopeId
  13959. setScopeId(el, vnode, vnode.scopeId, slotScopeIds, parentComponent);
  13960. }
  13961. if (true) {
  13962. Object.defineProperty(el, '__vnode', {
  13963. value: vnode,
  13964. enumerable: false
  13965. });
  13966. Object.defineProperty(el, '__vueParentComponent', {
  13967. value: parentComponent,
  13968. enumerable: false
  13969. });
  13970. }
  13971. if (dirs) {
  13972. invokeDirectiveHook(vnode, null, parentComponent, 'beforeMount');
  13973. }
  13974. // #1583 For inside suspense + suspense not resolved case, enter hook should call when suspense resolved
  13975. // #1689 For inside suspense + suspense resolved case, just call it
  13976. const needCallTransitionHooks = (!parentSuspense || (parentSuspense && !parentSuspense.pendingBranch)) &&
  13977. transition &&
  13978. !transition.persisted;
  13979. if (needCallTransitionHooks) {
  13980. transition.beforeEnter(el);
  13981. }
  13982. hostInsert(el, container, anchor);
  13983. if ((vnodeHook = props && props.onVnodeMounted) ||
  13984. needCallTransitionHooks ||
  13985. dirs) {
  13986. queuePostRenderEffect(() => {
  13987. vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
  13988. needCallTransitionHooks && transition.enter(el);
  13989. dirs && invokeDirectiveHook(vnode, null, parentComponent, 'mounted');
  13990. }, parentSuspense);
  13991. }
  13992. };
  13993. const setScopeId = (el, vnode, scopeId, slotScopeIds, parentComponent) => {
  13994. if (scopeId) {
  13995. hostSetScopeId(el, scopeId);
  13996. }
  13997. if (slotScopeIds) {
  13998. for (let i = 0; i < slotScopeIds.length; i++) {
  13999. hostSetScopeId(el, slotScopeIds[i]);
  14000. }
  14001. }
  14002. if (parentComponent) {
  14003. let subTree = parentComponent.subTree;
  14004. if (( true) &&
  14005. subTree.patchFlag > 0 &&
  14006. subTree.patchFlag & 2048 /* DEV_ROOT_FRAGMENT */) {
  14007. subTree =
  14008. filterSingleRoot(subTree.children) || subTree;
  14009. }
  14010. if (vnode === subTree) {
  14011. const parentVNode = parentComponent.vnode;
  14012. setScopeId(el, parentVNode, parentVNode.scopeId, parentVNode.slotScopeIds, parentComponent.parent);
  14013. }
  14014. }
  14015. };
  14016. const mountChildren = (children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, start = 0) => {
  14017. for (let i = start; i < children.length; i++) {
  14018. const child = (children[i] = optimized
  14019. ? cloneIfMounted(children[i])
  14020. : normalizeVNode(children[i]));
  14021. patch(null, child, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14022. }
  14023. };
  14024. const patchElement = (n1, n2, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14025. const el = (n2.el = n1.el);
  14026. let { patchFlag, dynamicChildren, dirs } = n2;
  14027. // #1426 take the old vnode's patch flag into account since user may clone a
  14028. // compiler-generated vnode, which de-opts to FULL_PROPS
  14029. patchFlag |= n1.patchFlag & 16 /* FULL_PROPS */;
  14030. const oldProps = n1.props || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  14031. const newProps = n2.props || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  14032. let vnodeHook;
  14033. // disable recurse in beforeUpdate hooks
  14034. parentComponent && toggleRecurse(parentComponent, false);
  14035. if ((vnodeHook = newProps.onVnodeBeforeUpdate)) {
  14036. invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
  14037. }
  14038. if (dirs) {
  14039. invokeDirectiveHook(n2, n1, parentComponent, 'beforeUpdate');
  14040. }
  14041. parentComponent && toggleRecurse(parentComponent, true);
  14042. if (( true) && isHmrUpdating) {
  14043. // HMR updated, force full diff
  14044. patchFlag = 0;
  14045. optimized = false;
  14046. dynamicChildren = null;
  14047. }
  14048. const areChildrenSVG = isSVG && n2.type !== 'foreignObject';
  14049. if (dynamicChildren) {
  14050. patchBlockChildren(n1.dynamicChildren, dynamicChildren, el, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds);
  14051. if (( true) && parentComponent && parentComponent.type.__hmrId) {
  14052. traverseStaticChildren(n1, n2);
  14053. }
  14054. }
  14055. else if (!optimized) {
  14056. // full diff
  14057. patchChildren(n1, n2, el, null, parentComponent, parentSuspense, areChildrenSVG, slotScopeIds, false);
  14058. }
  14059. if (patchFlag > 0) {
  14060. // the presence of a patchFlag means this element's render code was
  14061. // generated by the compiler and can take the fast path.
  14062. // in this path old node and new node are guaranteed to have the same shape
  14063. // (i.e. at the exact same position in the source template)
  14064. if (patchFlag & 16 /* FULL_PROPS */) {
  14065. // element props contain dynamic keys, full diff needed
  14066. patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);
  14067. }
  14068. else {
  14069. // class
  14070. // this flag is matched when the element has dynamic class bindings.
  14071. if (patchFlag & 2 /* CLASS */) {
  14072. if (oldProps.class !== newProps.class) {
  14073. hostPatchProp(el, 'class', null, newProps.class, isSVG);
  14074. }
  14075. }
  14076. // style
  14077. // this flag is matched when the element has dynamic style bindings
  14078. if (patchFlag & 4 /* STYLE */) {
  14079. hostPatchProp(el, 'style', oldProps.style, newProps.style, isSVG);
  14080. }
  14081. // props
  14082. // This flag is matched when the element has dynamic prop/attr bindings
  14083. // other than class and style. The keys of dynamic prop/attrs are saved for
  14084. // faster iteration.
  14085. // Note dynamic keys like :[foo]="bar" will cause this optimization to
  14086. // bail out and go through a full diff because we need to unset the old key
  14087. if (patchFlag & 8 /* PROPS */) {
  14088. // if the flag is present then dynamicProps must be non-null
  14089. const propsToUpdate = n2.dynamicProps;
  14090. for (let i = 0; i < propsToUpdate.length; i++) {
  14091. const key = propsToUpdate[i];
  14092. const prev = oldProps[key];
  14093. const next = newProps[key];
  14094. // #1471 force patch value
  14095. if (next !== prev || key === 'value') {
  14096. hostPatchProp(el, key, prev, next, isSVG, n1.children, parentComponent, parentSuspense, unmountChildren);
  14097. }
  14098. }
  14099. }
  14100. }
  14101. // text
  14102. // This flag is matched when the element has only dynamic text children.
  14103. if (patchFlag & 1 /* TEXT */) {
  14104. if (n1.children !== n2.children) {
  14105. hostSetElementText(el, n2.children);
  14106. }
  14107. }
  14108. }
  14109. else if (!optimized && dynamicChildren == null) {
  14110. // unoptimized, full diff
  14111. patchProps(el, n2, oldProps, newProps, parentComponent, parentSuspense, isSVG);
  14112. }
  14113. if ((vnodeHook = newProps.onVnodeUpdated) || dirs) {
  14114. queuePostRenderEffect(() => {
  14115. vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, n2, n1);
  14116. dirs && invokeDirectiveHook(n2, n1, parentComponent, 'updated');
  14117. }, parentSuspense);
  14118. }
  14119. };
  14120. // The fast path for blocks.
  14121. const patchBlockChildren = (oldChildren, newChildren, fallbackContainer, parentComponent, parentSuspense, isSVG, slotScopeIds) => {
  14122. for (let i = 0; i < newChildren.length; i++) {
  14123. const oldVNode = oldChildren[i];
  14124. const newVNode = newChildren[i];
  14125. // Determine the container (parent element) for the patch.
  14126. const container =
  14127. // oldVNode may be an errored async setup() component inside Suspense
  14128. // which will not have a mounted element
  14129. oldVNode.el &&
  14130. // - In the case of a Fragment, we need to provide the actual parent
  14131. // of the Fragment itself so it can move its children.
  14132. (oldVNode.type === Fragment ||
  14133. // - In the case of different nodes, there is going to be a replacement
  14134. // which also requires the correct parent container
  14135. !isSameVNodeType(oldVNode, newVNode) ||
  14136. // - In the case of a component, it could contain anything.
  14137. oldVNode.shapeFlag & (6 /* COMPONENT */ | 64 /* TELEPORT */))
  14138. ? hostParentNode(oldVNode.el)
  14139. : // In other cases, the parent container is not actually used so we
  14140. // just pass the block element here to avoid a DOM parentNode call.
  14141. fallbackContainer;
  14142. patch(oldVNode, newVNode, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, true);
  14143. }
  14144. };
  14145. const patchProps = (el, vnode, oldProps, newProps, parentComponent, parentSuspense, isSVG) => {
  14146. if (oldProps !== newProps) {
  14147. for (const key in newProps) {
  14148. // empty string is not valid prop
  14149. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key))
  14150. continue;
  14151. const next = newProps[key];
  14152. const prev = oldProps[key];
  14153. // defer patching value
  14154. if (next !== prev && key !== 'value') {
  14155. hostPatchProp(el, key, prev, next, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);
  14156. }
  14157. }
  14158. if (oldProps !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  14159. for (const key in oldProps) {
  14160. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isReservedProp)(key) && !(key in newProps)) {
  14161. hostPatchProp(el, key, oldProps[key], null, isSVG, vnode.children, parentComponent, parentSuspense, unmountChildren);
  14162. }
  14163. }
  14164. }
  14165. if ('value' in newProps) {
  14166. hostPatchProp(el, 'value', oldProps.value, newProps.value);
  14167. }
  14168. }
  14169. };
  14170. const processFragment = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14171. const fragmentStartAnchor = (n2.el = n1 ? n1.el : hostCreateText(''));
  14172. const fragmentEndAnchor = (n2.anchor = n1 ? n1.anchor : hostCreateText(''));
  14173. let { patchFlag, dynamicChildren, slotScopeIds: fragmentSlotScopeIds } = n2;
  14174. if (( true) && isHmrUpdating) {
  14175. // HMR updated, force full diff
  14176. patchFlag = 0;
  14177. optimized = false;
  14178. dynamicChildren = null;
  14179. }
  14180. // check if this is a slot fragment with :slotted scope ids
  14181. if (fragmentSlotScopeIds) {
  14182. slotScopeIds = slotScopeIds
  14183. ? slotScopeIds.concat(fragmentSlotScopeIds)
  14184. : fragmentSlotScopeIds;
  14185. }
  14186. if (n1 == null) {
  14187. hostInsert(fragmentStartAnchor, container, anchor);
  14188. hostInsert(fragmentEndAnchor, container, anchor);
  14189. // a fragment can only have array children
  14190. // since they are either generated by the compiler, or implicitly created
  14191. // from arrays.
  14192. mountChildren(n2.children, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14193. }
  14194. else {
  14195. if (patchFlag > 0 &&
  14196. patchFlag & 64 /* STABLE_FRAGMENT */ &&
  14197. dynamicChildren &&
  14198. // #2715 the previous fragment could've been a BAILed one as a result
  14199. // of renderSlot() with no valid children
  14200. n1.dynamicChildren) {
  14201. // a stable fragment (template root or <template v-for>) doesn't need to
  14202. // patch children order, but it may contain dynamicChildren.
  14203. patchBlockChildren(n1.dynamicChildren, dynamicChildren, container, parentComponent, parentSuspense, isSVG, slotScopeIds);
  14204. if (( true) && parentComponent && parentComponent.type.__hmrId) {
  14205. traverseStaticChildren(n1, n2);
  14206. }
  14207. else if (
  14208. // #2080 if the stable fragment has a key, it's a <template v-for> that may
  14209. // get moved around. Make sure all root level vnodes inherit el.
  14210. // #2134 or if it's a component root, it may also get moved around
  14211. // as the component is being moved.
  14212. n2.key != null ||
  14213. (parentComponent && n2 === parentComponent.subTree)) {
  14214. traverseStaticChildren(n1, n2, true /* shallow */);
  14215. }
  14216. }
  14217. else {
  14218. // keyed / unkeyed, or manual fragments.
  14219. // for keyed & unkeyed, since they are compiler generated from v-for,
  14220. // each child is guaranteed to be a block so the fragment will never
  14221. // have dynamicChildren.
  14222. patchChildren(n1, n2, container, fragmentEndAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14223. }
  14224. }
  14225. };
  14226. const processComponent = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14227. n2.slotScopeIds = slotScopeIds;
  14228. if (n1 == null) {
  14229. if (n2.shapeFlag & 512 /* COMPONENT_KEPT_ALIVE */) {
  14230. parentComponent.ctx.activate(n2, container, anchor, isSVG, optimized);
  14231. }
  14232. else {
  14233. mountComponent(n2, container, anchor, parentComponent, parentSuspense, isSVG, optimized);
  14234. }
  14235. }
  14236. else {
  14237. updateComponent(n1, n2, optimized);
  14238. }
  14239. };
  14240. const mountComponent = (initialVNode, container, anchor, parentComponent, parentSuspense, isSVG, optimized) => {
  14241. const instance = (initialVNode.component = createComponentInstance(initialVNode, parentComponent, parentSuspense));
  14242. if (( true) && instance.type.__hmrId) {
  14243. registerHMR(instance);
  14244. }
  14245. if ((true)) {
  14246. pushWarningContext(initialVNode);
  14247. startMeasure(instance, `mount`);
  14248. }
  14249. // inject renderer internals for keepAlive
  14250. if (isKeepAlive(initialVNode)) {
  14251. instance.ctx.renderer = internals;
  14252. }
  14253. // resolve props and slots for setup context
  14254. {
  14255. if ((true)) {
  14256. startMeasure(instance, `init`);
  14257. }
  14258. setupComponent(instance);
  14259. if ((true)) {
  14260. endMeasure(instance, `init`);
  14261. }
  14262. }
  14263. // setup() is async. This component relies on async logic to be resolved
  14264. // before proceeding
  14265. if (instance.asyncDep) {
  14266. parentSuspense && parentSuspense.registerDep(instance, setupRenderEffect);
  14267. // Give it a placeholder if this is not hydration
  14268. // TODO handle self-defined fallback
  14269. if (!initialVNode.el) {
  14270. const placeholder = (instance.subTree = createVNode(Comment));
  14271. processCommentNode(null, placeholder, container, anchor);
  14272. }
  14273. return;
  14274. }
  14275. setupRenderEffect(instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized);
  14276. if ((true)) {
  14277. popWarningContext();
  14278. endMeasure(instance, `mount`);
  14279. }
  14280. };
  14281. const updateComponent = (n1, n2, optimized) => {
  14282. const instance = (n2.component = n1.component);
  14283. if (shouldUpdateComponent(n1, n2, optimized)) {
  14284. if (instance.asyncDep &&
  14285. !instance.asyncResolved) {
  14286. // async & still pending - just update props and slots
  14287. // since the component's reactive effect for render isn't set-up yet
  14288. if ((true)) {
  14289. pushWarningContext(n2);
  14290. }
  14291. updateComponentPreRender(instance, n2, optimized);
  14292. if ((true)) {
  14293. popWarningContext();
  14294. }
  14295. return;
  14296. }
  14297. else {
  14298. // normal update
  14299. instance.next = n2;
  14300. // in case the child component is also queued, remove it to avoid
  14301. // double updating the same child component in the same flush.
  14302. invalidateJob(instance.update);
  14303. // instance.update is the reactive effect.
  14304. instance.update();
  14305. }
  14306. }
  14307. else {
  14308. // no update needed. just copy over properties
  14309. n2.component = n1.component;
  14310. n2.el = n1.el;
  14311. instance.vnode = n2;
  14312. }
  14313. };
  14314. const setupRenderEffect = (instance, initialVNode, container, anchor, parentSuspense, isSVG, optimized) => {
  14315. const componentUpdateFn = () => {
  14316. if (!instance.isMounted) {
  14317. let vnodeHook;
  14318. const { el, props } = initialVNode;
  14319. const { bm, m, parent } = instance;
  14320. const isAsyncWrapperVNode = isAsyncWrapper(initialVNode);
  14321. toggleRecurse(instance, false);
  14322. // beforeMount hook
  14323. if (bm) {
  14324. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(bm);
  14325. }
  14326. // onVnodeBeforeMount
  14327. if (!isAsyncWrapperVNode &&
  14328. (vnodeHook = props && props.onVnodeBeforeMount)) {
  14329. invokeVNodeHook(vnodeHook, parent, initialVNode);
  14330. }
  14331. toggleRecurse(instance, true);
  14332. if (el && hydrateNode) {
  14333. // vnode has adopted host node - perform hydration instead of mount.
  14334. const hydrateSubTree = () => {
  14335. if ((true)) {
  14336. startMeasure(instance, `render`);
  14337. }
  14338. instance.subTree = renderComponentRoot(instance);
  14339. if ((true)) {
  14340. endMeasure(instance, `render`);
  14341. }
  14342. if ((true)) {
  14343. startMeasure(instance, `hydrate`);
  14344. }
  14345. hydrateNode(el, instance.subTree, instance, parentSuspense, null);
  14346. if ((true)) {
  14347. endMeasure(instance, `hydrate`);
  14348. }
  14349. };
  14350. if (isAsyncWrapperVNode) {
  14351. initialVNode.type.__asyncLoader().then(
  14352. // note: we are moving the render call into an async callback,
  14353. // which means it won't track dependencies - but it's ok because
  14354. // a server-rendered async wrapper is already in resolved state
  14355. // and it will never need to change.
  14356. () => !instance.isUnmounted && hydrateSubTree());
  14357. }
  14358. else {
  14359. hydrateSubTree();
  14360. }
  14361. }
  14362. else {
  14363. if ((true)) {
  14364. startMeasure(instance, `render`);
  14365. }
  14366. const subTree = (instance.subTree = renderComponentRoot(instance));
  14367. if ((true)) {
  14368. endMeasure(instance, `render`);
  14369. }
  14370. if ((true)) {
  14371. startMeasure(instance, `patch`);
  14372. }
  14373. patch(null, subTree, container, anchor, instance, parentSuspense, isSVG);
  14374. if ((true)) {
  14375. endMeasure(instance, `patch`);
  14376. }
  14377. initialVNode.el = subTree.el;
  14378. }
  14379. // mounted hook
  14380. if (m) {
  14381. queuePostRenderEffect(m, parentSuspense);
  14382. }
  14383. // onVnodeMounted
  14384. if (!isAsyncWrapperVNode &&
  14385. (vnodeHook = props && props.onVnodeMounted)) {
  14386. const scopedInitialVNode = initialVNode;
  14387. queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, scopedInitialVNode), parentSuspense);
  14388. }
  14389. // activated hook for keep-alive roots.
  14390. // #1742 activated hook must be accessed after first render
  14391. // since the hook may be injected by a child keep-alive
  14392. if (initialVNode.shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {
  14393. instance.a && queuePostRenderEffect(instance.a, parentSuspense);
  14394. }
  14395. instance.isMounted = true;
  14396. if (true) {
  14397. devtoolsComponentAdded(instance);
  14398. }
  14399. // #2458: deference mount-only object parameters to prevent memleaks
  14400. initialVNode = container = anchor = null;
  14401. }
  14402. else {
  14403. // updateComponent
  14404. // This is triggered by mutation of component's own state (next: null)
  14405. // OR parent calling processComponent (next: VNode)
  14406. let { next, bu, u, parent, vnode } = instance;
  14407. let originNext = next;
  14408. let vnodeHook;
  14409. if ((true)) {
  14410. pushWarningContext(next || instance.vnode);
  14411. }
  14412. // Disallow component effect recursion during pre-lifecycle hooks.
  14413. toggleRecurse(instance, false);
  14414. if (next) {
  14415. next.el = vnode.el;
  14416. updateComponentPreRender(instance, next, optimized);
  14417. }
  14418. else {
  14419. next = vnode;
  14420. }
  14421. // beforeUpdate hook
  14422. if (bu) {
  14423. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(bu);
  14424. }
  14425. // onVnodeBeforeUpdate
  14426. if ((vnodeHook = next.props && next.props.onVnodeBeforeUpdate)) {
  14427. invokeVNodeHook(vnodeHook, parent, next, vnode);
  14428. }
  14429. toggleRecurse(instance, true);
  14430. // render
  14431. if ((true)) {
  14432. startMeasure(instance, `render`);
  14433. }
  14434. const nextTree = renderComponentRoot(instance);
  14435. if ((true)) {
  14436. endMeasure(instance, `render`);
  14437. }
  14438. const prevTree = instance.subTree;
  14439. instance.subTree = nextTree;
  14440. if ((true)) {
  14441. startMeasure(instance, `patch`);
  14442. }
  14443. patch(prevTree, nextTree,
  14444. // parent may have changed if it's in a teleport
  14445. hostParentNode(prevTree.el),
  14446. // anchor may have changed if it's in a fragment
  14447. getNextHostNode(prevTree), instance, parentSuspense, isSVG);
  14448. if ((true)) {
  14449. endMeasure(instance, `patch`);
  14450. }
  14451. next.el = nextTree.el;
  14452. if (originNext === null) {
  14453. // self-triggered update. In case of HOC, update parent component
  14454. // vnode el. HOC is indicated by parent instance's subTree pointing
  14455. // to child component's vnode
  14456. updateHOCHostEl(instance, nextTree.el);
  14457. }
  14458. // updated hook
  14459. if (u) {
  14460. queuePostRenderEffect(u, parentSuspense);
  14461. }
  14462. // onVnodeUpdated
  14463. if ((vnodeHook = next.props && next.props.onVnodeUpdated)) {
  14464. queuePostRenderEffect(() => invokeVNodeHook(vnodeHook, parent, next, vnode), parentSuspense);
  14465. }
  14466. if (true) {
  14467. devtoolsComponentUpdated(instance);
  14468. }
  14469. if ((true)) {
  14470. popWarningContext();
  14471. }
  14472. }
  14473. };
  14474. // create reactive effect for rendering
  14475. const effect = (instance.effect = new _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect(componentUpdateFn, () => queueJob(instance.update), instance.scope // track it in component's effect scope
  14476. ));
  14477. const update = (instance.update = effect.run.bind(effect));
  14478. update.id = instance.uid;
  14479. // allowRecurse
  14480. // #1801, #2043 component render effects should allow recursive updates
  14481. toggleRecurse(instance, true);
  14482. if ((true)) {
  14483. effect.onTrack = instance.rtc
  14484. ? e => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.rtc, e)
  14485. : void 0;
  14486. effect.onTrigger = instance.rtg
  14487. ? e => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(instance.rtg, e)
  14488. : void 0;
  14489. // @ts-ignore (for scheduler)
  14490. update.ownerInstance = instance;
  14491. }
  14492. update();
  14493. };
  14494. const updateComponentPreRender = (instance, nextVNode, optimized) => {
  14495. nextVNode.component = instance;
  14496. const prevProps = instance.vnode.props;
  14497. instance.vnode = nextVNode;
  14498. instance.next = null;
  14499. updateProps(instance, nextVNode.props, prevProps, optimized);
  14500. updateSlots(instance, nextVNode.children, optimized);
  14501. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  14502. // props update may have triggered pre-flush watchers.
  14503. // flush them before the render update.
  14504. flushPreFlushCbs(undefined, instance.update);
  14505. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  14506. };
  14507. const patchChildren = (n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized = false) => {
  14508. const c1 = n1 && n1.children;
  14509. const prevShapeFlag = n1 ? n1.shapeFlag : 0;
  14510. const c2 = n2.children;
  14511. const { patchFlag, shapeFlag } = n2;
  14512. // fast path
  14513. if (patchFlag > 0) {
  14514. if (patchFlag & 128 /* KEYED_FRAGMENT */) {
  14515. // this could be either fully-keyed or mixed (some keyed some not)
  14516. // presence of patchFlag means children are guaranteed to be arrays
  14517. patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14518. return;
  14519. }
  14520. else if (patchFlag & 256 /* UNKEYED_FRAGMENT */) {
  14521. // unkeyed
  14522. patchUnkeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14523. return;
  14524. }
  14525. }
  14526. // children has 3 possibilities: text, array or no children.
  14527. if (shapeFlag & 8 /* TEXT_CHILDREN */) {
  14528. // text children fast path
  14529. if (prevShapeFlag & 16 /* ARRAY_CHILDREN */) {
  14530. unmountChildren(c1, parentComponent, parentSuspense);
  14531. }
  14532. if (c2 !== c1) {
  14533. hostSetElementText(container, c2);
  14534. }
  14535. }
  14536. else {
  14537. if (prevShapeFlag & 16 /* ARRAY_CHILDREN */) {
  14538. // prev children was array
  14539. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  14540. // two arrays, cannot assume anything, do full diff
  14541. patchKeyedChildren(c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14542. }
  14543. else {
  14544. // no new children, just unmount old
  14545. unmountChildren(c1, parentComponent, parentSuspense, true);
  14546. }
  14547. }
  14548. else {
  14549. // prev children was text OR null
  14550. // new children is array OR null
  14551. if (prevShapeFlag & 8 /* TEXT_CHILDREN */) {
  14552. hostSetElementText(container, '');
  14553. }
  14554. // mount new if array
  14555. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  14556. mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14557. }
  14558. }
  14559. }
  14560. };
  14561. const patchUnkeyedChildren = (c1, c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14562. c1 = c1 || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  14563. c2 = c2 || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  14564. const oldLength = c1.length;
  14565. const newLength = c2.length;
  14566. const commonLength = Math.min(oldLength, newLength);
  14567. let i;
  14568. for (i = 0; i < commonLength; i++) {
  14569. const nextChild = (c2[i] = optimized
  14570. ? cloneIfMounted(c2[i])
  14571. : normalizeVNode(c2[i]));
  14572. patch(c1[i], nextChild, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14573. }
  14574. if (oldLength > newLength) {
  14575. // remove old
  14576. unmountChildren(c1, parentComponent, parentSuspense, true, false, commonLength);
  14577. }
  14578. else {
  14579. // mount new
  14580. mountChildren(c2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, commonLength);
  14581. }
  14582. };
  14583. // can be all-keyed or mixed
  14584. const patchKeyedChildren = (c1, c2, container, parentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized) => {
  14585. let i = 0;
  14586. const l2 = c2.length;
  14587. let e1 = c1.length - 1; // prev ending index
  14588. let e2 = l2 - 1; // next ending index
  14589. // 1. sync from start
  14590. // (a b) c
  14591. // (a b) d e
  14592. while (i <= e1 && i <= e2) {
  14593. const n1 = c1[i];
  14594. const n2 = (c2[i] = optimized
  14595. ? cloneIfMounted(c2[i])
  14596. : normalizeVNode(c2[i]));
  14597. if (isSameVNodeType(n1, n2)) {
  14598. patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14599. }
  14600. else {
  14601. break;
  14602. }
  14603. i++;
  14604. }
  14605. // 2. sync from end
  14606. // a (b c)
  14607. // d e (b c)
  14608. while (i <= e1 && i <= e2) {
  14609. const n1 = c1[e1];
  14610. const n2 = (c2[e2] = optimized
  14611. ? cloneIfMounted(c2[e2])
  14612. : normalizeVNode(c2[e2]));
  14613. if (isSameVNodeType(n1, n2)) {
  14614. patch(n1, n2, container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14615. }
  14616. else {
  14617. break;
  14618. }
  14619. e1--;
  14620. e2--;
  14621. }
  14622. // 3. common sequence + mount
  14623. // (a b)
  14624. // (a b) c
  14625. // i = 2, e1 = 1, e2 = 2
  14626. // (a b)
  14627. // c (a b)
  14628. // i = 0, e1 = -1, e2 = 0
  14629. if (i > e1) {
  14630. if (i <= e2) {
  14631. const nextPos = e2 + 1;
  14632. const anchor = nextPos < l2 ? c2[nextPos].el : parentAnchor;
  14633. while (i <= e2) {
  14634. patch(null, (c2[i] = optimized
  14635. ? cloneIfMounted(c2[i])
  14636. : normalizeVNode(c2[i])), container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14637. i++;
  14638. }
  14639. }
  14640. }
  14641. // 4. common sequence + unmount
  14642. // (a b) c
  14643. // (a b)
  14644. // i = 2, e1 = 2, e2 = 1
  14645. // a (b c)
  14646. // (b c)
  14647. // i = 0, e1 = 0, e2 = -1
  14648. else if (i > e2) {
  14649. while (i <= e1) {
  14650. unmount(c1[i], parentComponent, parentSuspense, true);
  14651. i++;
  14652. }
  14653. }
  14654. // 5. unknown sequence
  14655. // [i ... e1 + 1]: a b [c d e] f g
  14656. // [i ... e2 + 1]: a b [e d c h] f g
  14657. // i = 2, e1 = 4, e2 = 5
  14658. else {
  14659. const s1 = i; // prev starting index
  14660. const s2 = i; // next starting index
  14661. // 5.1 build key:index map for newChildren
  14662. const keyToNewIndexMap = new Map();
  14663. for (i = s2; i <= e2; i++) {
  14664. const nextChild = (c2[i] = optimized
  14665. ? cloneIfMounted(c2[i])
  14666. : normalizeVNode(c2[i]));
  14667. if (nextChild.key != null) {
  14668. if (( true) && keyToNewIndexMap.has(nextChild.key)) {
  14669. warn(`Duplicate keys found during update:`, JSON.stringify(nextChild.key), `Make sure keys are unique.`);
  14670. }
  14671. keyToNewIndexMap.set(nextChild.key, i);
  14672. }
  14673. }
  14674. // 5.2 loop through old children left to be patched and try to patch
  14675. // matching nodes & remove nodes that are no longer present
  14676. let j;
  14677. let patched = 0;
  14678. const toBePatched = e2 - s2 + 1;
  14679. let moved = false;
  14680. // used to track whether any node has moved
  14681. let maxNewIndexSoFar = 0;
  14682. // works as Map<newIndex, oldIndex>
  14683. // Note that oldIndex is offset by +1
  14684. // and oldIndex = 0 is a special value indicating the new node has
  14685. // no corresponding old node.
  14686. // used for determining longest stable subsequence
  14687. const newIndexToOldIndexMap = new Array(toBePatched);
  14688. for (i = 0; i < toBePatched; i++)
  14689. newIndexToOldIndexMap[i] = 0;
  14690. for (i = s1; i <= e1; i++) {
  14691. const prevChild = c1[i];
  14692. if (patched >= toBePatched) {
  14693. // all new children have been patched so this can only be a removal
  14694. unmount(prevChild, parentComponent, parentSuspense, true);
  14695. continue;
  14696. }
  14697. let newIndex;
  14698. if (prevChild.key != null) {
  14699. newIndex = keyToNewIndexMap.get(prevChild.key);
  14700. }
  14701. else {
  14702. // key-less node, try to locate a key-less node of the same type
  14703. for (j = s2; j <= e2; j++) {
  14704. if (newIndexToOldIndexMap[j - s2] === 0 &&
  14705. isSameVNodeType(prevChild, c2[j])) {
  14706. newIndex = j;
  14707. break;
  14708. }
  14709. }
  14710. }
  14711. if (newIndex === undefined) {
  14712. unmount(prevChild, parentComponent, parentSuspense, true);
  14713. }
  14714. else {
  14715. newIndexToOldIndexMap[newIndex - s2] = i + 1;
  14716. if (newIndex >= maxNewIndexSoFar) {
  14717. maxNewIndexSoFar = newIndex;
  14718. }
  14719. else {
  14720. moved = true;
  14721. }
  14722. patch(prevChild, c2[newIndex], container, null, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14723. patched++;
  14724. }
  14725. }
  14726. // 5.3 move and mount
  14727. // generate longest stable subsequence only when nodes have moved
  14728. const increasingNewIndexSequence = moved
  14729. ? getSequence(newIndexToOldIndexMap)
  14730. : _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR;
  14731. j = increasingNewIndexSequence.length - 1;
  14732. // looping backwards so that we can use last patched node as anchor
  14733. for (i = toBePatched - 1; i >= 0; i--) {
  14734. const nextIndex = s2 + i;
  14735. const nextChild = c2[nextIndex];
  14736. const anchor = nextIndex + 1 < l2 ? c2[nextIndex + 1].el : parentAnchor;
  14737. if (newIndexToOldIndexMap[i] === 0) {
  14738. // mount new
  14739. patch(null, nextChild, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  14740. }
  14741. else if (moved) {
  14742. // move if:
  14743. // There is no stable subsequence (e.g. a reverse)
  14744. // OR current node is not among the stable sequence
  14745. if (j < 0 || i !== increasingNewIndexSequence[j]) {
  14746. move(nextChild, container, anchor, 2 /* REORDER */);
  14747. }
  14748. else {
  14749. j--;
  14750. }
  14751. }
  14752. }
  14753. }
  14754. };
  14755. const move = (vnode, container, anchor, moveType, parentSuspense = null) => {
  14756. const { el, type, transition, children, shapeFlag } = vnode;
  14757. if (shapeFlag & 6 /* COMPONENT */) {
  14758. move(vnode.component.subTree, container, anchor, moveType);
  14759. return;
  14760. }
  14761. if (shapeFlag & 128 /* SUSPENSE */) {
  14762. vnode.suspense.move(container, anchor, moveType);
  14763. return;
  14764. }
  14765. if (shapeFlag & 64 /* TELEPORT */) {
  14766. type.move(vnode, container, anchor, internals);
  14767. return;
  14768. }
  14769. if (type === Fragment) {
  14770. hostInsert(el, container, anchor);
  14771. for (let i = 0; i < children.length; i++) {
  14772. move(children[i], container, anchor, moveType);
  14773. }
  14774. hostInsert(vnode.anchor, container, anchor);
  14775. return;
  14776. }
  14777. if (type === Static) {
  14778. moveStaticNode(vnode, container, anchor);
  14779. return;
  14780. }
  14781. // single nodes
  14782. const needTransition = moveType !== 2 /* REORDER */ &&
  14783. shapeFlag & 1 /* ELEMENT */ &&
  14784. transition;
  14785. if (needTransition) {
  14786. if (moveType === 0 /* ENTER */) {
  14787. transition.beforeEnter(el);
  14788. hostInsert(el, container, anchor);
  14789. queuePostRenderEffect(() => transition.enter(el), parentSuspense);
  14790. }
  14791. else {
  14792. const { leave, delayLeave, afterLeave } = transition;
  14793. const remove = () => hostInsert(el, container, anchor);
  14794. const performLeave = () => {
  14795. leave(el, () => {
  14796. remove();
  14797. afterLeave && afterLeave();
  14798. });
  14799. };
  14800. if (delayLeave) {
  14801. delayLeave(el, remove, performLeave);
  14802. }
  14803. else {
  14804. performLeave();
  14805. }
  14806. }
  14807. }
  14808. else {
  14809. hostInsert(el, container, anchor);
  14810. }
  14811. };
  14812. const unmount = (vnode, parentComponent, parentSuspense, doRemove = false, optimized = false) => {
  14813. const { type, props, ref, children, dynamicChildren, shapeFlag, patchFlag, dirs } = vnode;
  14814. // unset ref
  14815. if (ref != null) {
  14816. setRef(ref, null, parentSuspense, vnode, true);
  14817. }
  14818. if (shapeFlag & 256 /* COMPONENT_SHOULD_KEEP_ALIVE */) {
  14819. parentComponent.ctx.deactivate(vnode);
  14820. return;
  14821. }
  14822. const shouldInvokeDirs = shapeFlag & 1 /* ELEMENT */ && dirs;
  14823. const shouldInvokeVnodeHook = !isAsyncWrapper(vnode);
  14824. let vnodeHook;
  14825. if (shouldInvokeVnodeHook &&
  14826. (vnodeHook = props && props.onVnodeBeforeUnmount)) {
  14827. invokeVNodeHook(vnodeHook, parentComponent, vnode);
  14828. }
  14829. if (shapeFlag & 6 /* COMPONENT */) {
  14830. unmountComponent(vnode.component, parentSuspense, doRemove);
  14831. }
  14832. else {
  14833. if (shapeFlag & 128 /* SUSPENSE */) {
  14834. vnode.suspense.unmount(parentSuspense, doRemove);
  14835. return;
  14836. }
  14837. if (shouldInvokeDirs) {
  14838. invokeDirectiveHook(vnode, null, parentComponent, 'beforeUnmount');
  14839. }
  14840. if (shapeFlag & 64 /* TELEPORT */) {
  14841. vnode.type.remove(vnode, parentComponent, parentSuspense, optimized, internals, doRemove);
  14842. }
  14843. else if (dynamicChildren &&
  14844. // #1153: fast path should not be taken for non-stable (v-for) fragments
  14845. (type !== Fragment ||
  14846. (patchFlag > 0 && patchFlag & 64 /* STABLE_FRAGMENT */))) {
  14847. // fast path for block nodes: only need to unmount dynamic children.
  14848. unmountChildren(dynamicChildren, parentComponent, parentSuspense, false, true);
  14849. }
  14850. else if ((type === Fragment &&
  14851. patchFlag &
  14852. (128 /* KEYED_FRAGMENT */ | 256 /* UNKEYED_FRAGMENT */)) ||
  14853. (!optimized && shapeFlag & 16 /* ARRAY_CHILDREN */)) {
  14854. unmountChildren(children, parentComponent, parentSuspense);
  14855. }
  14856. if (doRemove) {
  14857. remove(vnode);
  14858. }
  14859. }
  14860. if ((shouldInvokeVnodeHook &&
  14861. (vnodeHook = props && props.onVnodeUnmounted)) ||
  14862. shouldInvokeDirs) {
  14863. queuePostRenderEffect(() => {
  14864. vnodeHook && invokeVNodeHook(vnodeHook, parentComponent, vnode);
  14865. shouldInvokeDirs &&
  14866. invokeDirectiveHook(vnode, null, parentComponent, 'unmounted');
  14867. }, parentSuspense);
  14868. }
  14869. };
  14870. const remove = vnode => {
  14871. const { type, el, anchor, transition } = vnode;
  14872. if (type === Fragment) {
  14873. removeFragment(el, anchor);
  14874. return;
  14875. }
  14876. if (type === Static) {
  14877. removeStaticNode(vnode);
  14878. return;
  14879. }
  14880. const performRemove = () => {
  14881. hostRemove(el);
  14882. if (transition && !transition.persisted && transition.afterLeave) {
  14883. transition.afterLeave();
  14884. }
  14885. };
  14886. if (vnode.shapeFlag & 1 /* ELEMENT */ &&
  14887. transition &&
  14888. !transition.persisted) {
  14889. const { leave, delayLeave } = transition;
  14890. const performLeave = () => leave(el, performRemove);
  14891. if (delayLeave) {
  14892. delayLeave(vnode.el, performRemove, performLeave);
  14893. }
  14894. else {
  14895. performLeave();
  14896. }
  14897. }
  14898. else {
  14899. performRemove();
  14900. }
  14901. };
  14902. const removeFragment = (cur, end) => {
  14903. // For fragments, directly remove all contained DOM nodes.
  14904. // (fragment child nodes cannot have transition)
  14905. let next;
  14906. while (cur !== end) {
  14907. next = hostNextSibling(cur);
  14908. hostRemove(cur);
  14909. cur = next;
  14910. }
  14911. hostRemove(end);
  14912. };
  14913. const unmountComponent = (instance, parentSuspense, doRemove) => {
  14914. if (( true) && instance.type.__hmrId) {
  14915. unregisterHMR(instance);
  14916. }
  14917. const { bum, scope, update, subTree, um } = instance;
  14918. // beforeUnmount hook
  14919. if (bum) {
  14920. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(bum);
  14921. }
  14922. // stop effects in component scope
  14923. scope.stop();
  14924. // update may be null if a component is unmounted before its async
  14925. // setup has resolved.
  14926. if (update) {
  14927. // so that scheduler will no longer invoke it
  14928. update.active = false;
  14929. unmount(subTree, instance, parentSuspense, doRemove);
  14930. }
  14931. // unmounted hook
  14932. if (um) {
  14933. queuePostRenderEffect(um, parentSuspense);
  14934. }
  14935. queuePostRenderEffect(() => {
  14936. instance.isUnmounted = true;
  14937. }, parentSuspense);
  14938. // A component with async dep inside a pending suspense is unmounted before
  14939. // its async dep resolves. This should remove the dep from the suspense, and
  14940. // cause the suspense to resolve immediately if that was the last dep.
  14941. if (parentSuspense &&
  14942. parentSuspense.pendingBranch &&
  14943. !parentSuspense.isUnmounted &&
  14944. instance.asyncDep &&
  14945. !instance.asyncResolved &&
  14946. instance.suspenseId === parentSuspense.pendingId) {
  14947. parentSuspense.deps--;
  14948. if (parentSuspense.deps === 0) {
  14949. parentSuspense.resolve();
  14950. }
  14951. }
  14952. if (true) {
  14953. devtoolsComponentRemoved(instance);
  14954. }
  14955. };
  14956. const unmountChildren = (children, parentComponent, parentSuspense, doRemove = false, optimized = false, start = 0) => {
  14957. for (let i = start; i < children.length; i++) {
  14958. unmount(children[i], parentComponent, parentSuspense, doRemove, optimized);
  14959. }
  14960. };
  14961. const getNextHostNode = vnode => {
  14962. if (vnode.shapeFlag & 6 /* COMPONENT */) {
  14963. return getNextHostNode(vnode.component.subTree);
  14964. }
  14965. if (vnode.shapeFlag & 128 /* SUSPENSE */) {
  14966. return vnode.suspense.next();
  14967. }
  14968. return hostNextSibling((vnode.anchor || vnode.el));
  14969. };
  14970. const render = (vnode, container, isSVG) => {
  14971. if (vnode == null) {
  14972. if (container._vnode) {
  14973. unmount(container._vnode, null, null, true);
  14974. }
  14975. }
  14976. else {
  14977. patch(container._vnode || null, vnode, container, null, null, null, isSVG);
  14978. }
  14979. flushPostFlushCbs();
  14980. container._vnode = vnode;
  14981. };
  14982. const internals = {
  14983. p: patch,
  14984. um: unmount,
  14985. m: move,
  14986. r: remove,
  14987. mt: mountComponent,
  14988. mc: mountChildren,
  14989. pc: patchChildren,
  14990. pbc: patchBlockChildren,
  14991. n: getNextHostNode,
  14992. o: options
  14993. };
  14994. let hydrate;
  14995. let hydrateNode;
  14996. if (createHydrationFns) {
  14997. [hydrate, hydrateNode] = createHydrationFns(internals);
  14998. }
  14999. return {
  15000. render,
  15001. hydrate,
  15002. createApp: createAppAPI(render, hydrate)
  15003. };
  15004. }
  15005. function toggleRecurse({ effect, update }, allowed) {
  15006. effect.allowRecurse = update.allowRecurse = allowed;
  15007. }
  15008. /**
  15009. * #1156
  15010. * When a component is HMR-enabled, we need to make sure that all static nodes
  15011. * inside a block also inherit the DOM element from the previous tree so that
  15012. * HMR updates (which are full updates) can retrieve the element for patching.
  15013. *
  15014. * #2080
  15015. * Inside keyed `template` fragment static children, if a fragment is moved,
  15016. * the children will always be moved. Therefore, in order to ensure correct move
  15017. * position, el should be inherited from previous nodes.
  15018. */
  15019. function traverseStaticChildren(n1, n2, shallow = false) {
  15020. const ch1 = n1.children;
  15021. const ch2 = n2.children;
  15022. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(ch1) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(ch2)) {
  15023. for (let i = 0; i < ch1.length; i++) {
  15024. // this is only called in the optimized path so array children are
  15025. // guaranteed to be vnodes
  15026. const c1 = ch1[i];
  15027. let c2 = ch2[i];
  15028. if (c2.shapeFlag & 1 /* ELEMENT */ && !c2.dynamicChildren) {
  15029. if (c2.patchFlag <= 0 || c2.patchFlag === 32 /* HYDRATE_EVENTS */) {
  15030. c2 = ch2[i] = cloneIfMounted(ch2[i]);
  15031. c2.el = c1.el;
  15032. }
  15033. if (!shallow)
  15034. traverseStaticChildren(c1, c2);
  15035. }
  15036. // also inherit for comment nodes, but not placeholders (e.g. v-if which
  15037. // would have received .el during block patch)
  15038. if (( true) && c2.type === Comment && !c2.el) {
  15039. c2.el = c1.el;
  15040. }
  15041. }
  15042. }
  15043. }
  15044. // https://en.wikipedia.org/wiki/Longest_increasing_subsequence
  15045. function getSequence(arr) {
  15046. const p = arr.slice();
  15047. const result = [0];
  15048. let i, j, u, v, c;
  15049. const len = arr.length;
  15050. for (i = 0; i < len; i++) {
  15051. const arrI = arr[i];
  15052. if (arrI !== 0) {
  15053. j = result[result.length - 1];
  15054. if (arr[j] < arrI) {
  15055. p[i] = j;
  15056. result.push(i);
  15057. continue;
  15058. }
  15059. u = 0;
  15060. v = result.length - 1;
  15061. while (u < v) {
  15062. c = (u + v) >> 1;
  15063. if (arr[result[c]] < arrI) {
  15064. u = c + 1;
  15065. }
  15066. else {
  15067. v = c;
  15068. }
  15069. }
  15070. if (arrI < arr[result[u]]) {
  15071. if (u > 0) {
  15072. p[i] = result[u - 1];
  15073. }
  15074. result[u] = i;
  15075. }
  15076. }
  15077. }
  15078. u = result.length;
  15079. v = result[u - 1];
  15080. while (u-- > 0) {
  15081. result[u] = v;
  15082. v = p[v];
  15083. }
  15084. return result;
  15085. }
  15086. const isTeleport = (type) => type.__isTeleport;
  15087. const isTeleportDisabled = (props) => props && (props.disabled || props.disabled === '');
  15088. const isTargetSVG = (target) => typeof SVGElement !== 'undefined' && target instanceof SVGElement;
  15089. const resolveTarget = (props, select) => {
  15090. const targetSelector = props && props.to;
  15091. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(targetSelector)) {
  15092. if (!select) {
  15093. ( true) &&
  15094. warn(`Current renderer does not support string target for Teleports. ` +
  15095. `(missing querySelector renderer option)`);
  15096. return null;
  15097. }
  15098. else {
  15099. const target = select(targetSelector);
  15100. if (!target) {
  15101. ( true) &&
  15102. warn(`Failed to locate Teleport target with selector "${targetSelector}". ` +
  15103. `Note the target element must exist before the component is mounted - ` +
  15104. `i.e. the target cannot be rendered by the component itself, and ` +
  15105. `ideally should be outside of the entire Vue component tree.`);
  15106. }
  15107. return target;
  15108. }
  15109. }
  15110. else {
  15111. if (( true) && !targetSelector && !isTeleportDisabled(props)) {
  15112. warn(`Invalid Teleport target: ${targetSelector}`);
  15113. }
  15114. return targetSelector;
  15115. }
  15116. };
  15117. const TeleportImpl = {
  15118. __isTeleport: true,
  15119. process(n1, n2, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized, internals) {
  15120. const { mc: mountChildren, pc: patchChildren, pbc: patchBlockChildren, o: { insert, querySelector, createText, createComment } } = internals;
  15121. const disabled = isTeleportDisabled(n2.props);
  15122. let { shapeFlag, children, dynamicChildren } = n2;
  15123. // #3302
  15124. // HMR updated, force full diff
  15125. if (( true) && isHmrUpdating) {
  15126. optimized = false;
  15127. dynamicChildren = null;
  15128. }
  15129. if (n1 == null) {
  15130. // insert anchors in the main view
  15131. const placeholder = (n2.el = ( true)
  15132. ? createComment('teleport start')
  15133. : 0);
  15134. const mainAnchor = (n2.anchor = ( true)
  15135. ? createComment('teleport end')
  15136. : 0);
  15137. insert(placeholder, container, anchor);
  15138. insert(mainAnchor, container, anchor);
  15139. const target = (n2.target = resolveTarget(n2.props, querySelector));
  15140. const targetAnchor = (n2.targetAnchor = createText(''));
  15141. if (target) {
  15142. insert(targetAnchor, target);
  15143. // #2652 we could be teleporting from a non-SVG tree into an SVG tree
  15144. isSVG = isSVG || isTargetSVG(target);
  15145. }
  15146. else if (( true) && !disabled) {
  15147. warn('Invalid Teleport target on mount:', target, `(${typeof target})`);
  15148. }
  15149. const mount = (container, anchor) => {
  15150. // Teleport *always* has Array children. This is enforced in both the
  15151. // compiler and vnode children normalization.
  15152. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15153. mountChildren(children, container, anchor, parentComponent, parentSuspense, isSVG, slotScopeIds, optimized);
  15154. }
  15155. };
  15156. if (disabled) {
  15157. mount(container, mainAnchor);
  15158. }
  15159. else if (target) {
  15160. mount(target, targetAnchor);
  15161. }
  15162. }
  15163. else {
  15164. // update content
  15165. n2.el = n1.el;
  15166. const mainAnchor = (n2.anchor = n1.anchor);
  15167. const target = (n2.target = n1.target);
  15168. const targetAnchor = (n2.targetAnchor = n1.targetAnchor);
  15169. const wasDisabled = isTeleportDisabled(n1.props);
  15170. const currentContainer = wasDisabled ? container : target;
  15171. const currentAnchor = wasDisabled ? mainAnchor : targetAnchor;
  15172. isSVG = isSVG || isTargetSVG(target);
  15173. if (dynamicChildren) {
  15174. // fast path when the teleport happens to be a block root
  15175. patchBlockChildren(n1.dynamicChildren, dynamicChildren, currentContainer, parentComponent, parentSuspense, isSVG, slotScopeIds);
  15176. // even in block tree mode we need to make sure all root-level nodes
  15177. // in the teleport inherit previous DOM references so that they can
  15178. // be moved in future patches.
  15179. traverseStaticChildren(n1, n2, true);
  15180. }
  15181. else if (!optimized) {
  15182. patchChildren(n1, n2, currentContainer, currentAnchor, parentComponent, parentSuspense, isSVG, slotScopeIds, false);
  15183. }
  15184. if (disabled) {
  15185. if (!wasDisabled) {
  15186. // enabled -> disabled
  15187. // move into main container
  15188. moveTeleport(n2, container, mainAnchor, internals, 1 /* TOGGLE */);
  15189. }
  15190. }
  15191. else {
  15192. // target changed
  15193. if ((n2.props && n2.props.to) !== (n1.props && n1.props.to)) {
  15194. const nextTarget = (n2.target = resolveTarget(n2.props, querySelector));
  15195. if (nextTarget) {
  15196. moveTeleport(n2, nextTarget, null, internals, 0 /* TARGET_CHANGE */);
  15197. }
  15198. else if ((true)) {
  15199. warn('Invalid Teleport target on update:', target, `(${typeof target})`);
  15200. }
  15201. }
  15202. else if (wasDisabled) {
  15203. // disabled -> enabled
  15204. // move into teleport target
  15205. moveTeleport(n2, target, targetAnchor, internals, 1 /* TOGGLE */);
  15206. }
  15207. }
  15208. }
  15209. },
  15210. remove(vnode, parentComponent, parentSuspense, optimized, { um: unmount, o: { remove: hostRemove } }, doRemove) {
  15211. const { shapeFlag, children, anchor, targetAnchor, target, props } = vnode;
  15212. if (target) {
  15213. hostRemove(targetAnchor);
  15214. }
  15215. // an unmounted teleport should always remove its children if not disabled
  15216. if (doRemove || !isTeleportDisabled(props)) {
  15217. hostRemove(anchor);
  15218. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15219. for (let i = 0; i < children.length; i++) {
  15220. const child = children[i];
  15221. unmount(child, parentComponent, parentSuspense, true, !!child.dynamicChildren);
  15222. }
  15223. }
  15224. }
  15225. },
  15226. move: moveTeleport,
  15227. hydrate: hydrateTeleport
  15228. };
  15229. function moveTeleport(vnode, container, parentAnchor, { o: { insert }, m: move }, moveType = 2 /* REORDER */) {
  15230. // move target anchor if this is a target change.
  15231. if (moveType === 0 /* TARGET_CHANGE */) {
  15232. insert(vnode.targetAnchor, container, parentAnchor);
  15233. }
  15234. const { el, anchor, shapeFlag, children, props } = vnode;
  15235. const isReorder = moveType === 2 /* REORDER */;
  15236. // move main view anchor if this is a re-order.
  15237. if (isReorder) {
  15238. insert(el, container, parentAnchor);
  15239. }
  15240. // if this is a re-order and teleport is enabled (content is in target)
  15241. // do not move children. So the opposite is: only move children if this
  15242. // is not a reorder, or the teleport is disabled
  15243. if (!isReorder || isTeleportDisabled(props)) {
  15244. // Teleport has either Array children or no children.
  15245. if (shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15246. for (let i = 0; i < children.length; i++) {
  15247. move(children[i], container, parentAnchor, 2 /* REORDER */);
  15248. }
  15249. }
  15250. }
  15251. // move main view anchor if this is a re-order.
  15252. if (isReorder) {
  15253. insert(anchor, container, parentAnchor);
  15254. }
  15255. }
  15256. function hydrateTeleport(node, vnode, parentComponent, parentSuspense, slotScopeIds, optimized, { o: { nextSibling, parentNode, querySelector } }, hydrateChildren) {
  15257. const target = (vnode.target = resolveTarget(vnode.props, querySelector));
  15258. if (target) {
  15259. // if multiple teleports rendered to the same target element, we need to
  15260. // pick up from where the last teleport finished instead of the first node
  15261. const targetNode = target._lpa || target.firstChild;
  15262. if (vnode.shapeFlag & 16 /* ARRAY_CHILDREN */) {
  15263. if (isTeleportDisabled(vnode.props)) {
  15264. vnode.anchor = hydrateChildren(nextSibling(node), vnode, parentNode(node), parentComponent, parentSuspense, slotScopeIds, optimized);
  15265. vnode.targetAnchor = targetNode;
  15266. }
  15267. else {
  15268. vnode.anchor = nextSibling(node);
  15269. vnode.targetAnchor = hydrateChildren(targetNode, vnode, target, parentComponent, parentSuspense, slotScopeIds, optimized);
  15270. }
  15271. target._lpa =
  15272. vnode.targetAnchor && nextSibling(vnode.targetAnchor);
  15273. }
  15274. }
  15275. return vnode.anchor && nextSibling(vnode.anchor);
  15276. }
  15277. // Force-casted public typing for h and TSX props inference
  15278. const Teleport = TeleportImpl;
  15279. const COMPONENTS = 'components';
  15280. const DIRECTIVES = 'directives';
  15281. /**
  15282. * @private
  15283. */
  15284. function resolveComponent(name, maybeSelfReference) {
  15285. return resolveAsset(COMPONENTS, name, true, maybeSelfReference) || name;
  15286. }
  15287. const NULL_DYNAMIC_COMPONENT = Symbol();
  15288. /**
  15289. * @private
  15290. */
  15291. function resolveDynamicComponent(component) {
  15292. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(component)) {
  15293. return resolveAsset(COMPONENTS, component, false) || component;
  15294. }
  15295. else {
  15296. // invalid types will fallthrough to createVNode and raise warning
  15297. return (component || NULL_DYNAMIC_COMPONENT);
  15298. }
  15299. }
  15300. /**
  15301. * @private
  15302. */
  15303. function resolveDirective(name) {
  15304. return resolveAsset(DIRECTIVES, name);
  15305. }
  15306. // implementation
  15307. function resolveAsset(type, name, warnMissing = true, maybeSelfReference = false) {
  15308. const instance = currentRenderingInstance || currentInstance;
  15309. if (instance) {
  15310. const Component = instance.type;
  15311. // explicit self name has highest priority
  15312. if (type === COMPONENTS) {
  15313. const selfName = getComponentName(Component);
  15314. if (selfName &&
  15315. (selfName === name ||
  15316. selfName === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name) ||
  15317. selfName === (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name)))) {
  15318. return Component;
  15319. }
  15320. }
  15321. const res =
  15322. // local registration
  15323. // check instance[type] first which is resolved for options API
  15324. resolve(instance[type] || Component[type], name) ||
  15325. // global registration
  15326. resolve(instance.appContext[type], name);
  15327. if (!res && maybeSelfReference) {
  15328. // fallback to implicit self-reference
  15329. return Component;
  15330. }
  15331. if (( true) && warnMissing && !res) {
  15332. const extra = type === COMPONENTS
  15333. ? `\nIf this is a native custom element, make sure to exclude it from ` +
  15334. `component resolution via compilerOptions.isCustomElement.`
  15335. : ``;
  15336. warn(`Failed to resolve ${type.slice(0, -1)}: ${name}${extra}`);
  15337. }
  15338. return res;
  15339. }
  15340. else if ((true)) {
  15341. warn(`resolve${(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)(type.slice(0, -1))} ` +
  15342. `can only be used in render() or setup().`);
  15343. }
  15344. }
  15345. function resolve(registry, name) {
  15346. return (registry &&
  15347. (registry[name] ||
  15348. registry[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name)] ||
  15349. registry[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(name))]));
  15350. }
  15351. const Fragment = Symbol(( true) ? 'Fragment' : 0);
  15352. const Text = Symbol(( true) ? 'Text' : 0);
  15353. const Comment = Symbol(( true) ? 'Comment' : 0);
  15354. const Static = Symbol(( true) ? 'Static' : 0);
  15355. // Since v-if and v-for are the two possible ways node structure can dynamically
  15356. // change, once we consider v-if branches and each v-for fragment a block, we
  15357. // can divide a template into nested blocks, and within each block the node
  15358. // structure would be stable. This allows us to skip most children diffing
  15359. // and only worry about the dynamic nodes (indicated by patch flags).
  15360. const blockStack = [];
  15361. let currentBlock = null;
  15362. /**
  15363. * Open a block.
  15364. * This must be called before `createBlock`. It cannot be part of `createBlock`
  15365. * because the children of the block are evaluated before `createBlock` itself
  15366. * is called. The generated code typically looks like this:
  15367. *
  15368. * ```js
  15369. * function render() {
  15370. * return (openBlock(),createBlock('div', null, [...]))
  15371. * }
  15372. * ```
  15373. * disableTracking is true when creating a v-for fragment block, since a v-for
  15374. * fragment always diffs its children.
  15375. *
  15376. * @private
  15377. */
  15378. function openBlock(disableTracking = false) {
  15379. blockStack.push((currentBlock = disableTracking ? null : []));
  15380. }
  15381. function closeBlock() {
  15382. blockStack.pop();
  15383. currentBlock = blockStack[blockStack.length - 1] || null;
  15384. }
  15385. // Whether we should be tracking dynamic child nodes inside a block.
  15386. // Only tracks when this value is > 0
  15387. // We are not using a simple boolean because this value may need to be
  15388. // incremented/decremented by nested usage of v-once (see below)
  15389. let isBlockTreeEnabled = 1;
  15390. /**
  15391. * Block tracking sometimes needs to be disabled, for example during the
  15392. * creation of a tree that needs to be cached by v-once. The compiler generates
  15393. * code like this:
  15394. *
  15395. * ``` js
  15396. * _cache[1] || (
  15397. * setBlockTracking(-1),
  15398. * _cache[1] = createVNode(...),
  15399. * setBlockTracking(1),
  15400. * _cache[1]
  15401. * )
  15402. * ```
  15403. *
  15404. * @private
  15405. */
  15406. function setBlockTracking(value) {
  15407. isBlockTreeEnabled += value;
  15408. }
  15409. function setupBlock(vnode) {
  15410. // save current block children on the block vnode
  15411. vnode.dynamicChildren =
  15412. isBlockTreeEnabled > 0 ? currentBlock || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_ARR : null;
  15413. // close block
  15414. closeBlock();
  15415. // a block is always going to be patched, so track it as a child of its
  15416. // parent block
  15417. if (isBlockTreeEnabled > 0 && currentBlock) {
  15418. currentBlock.push(vnode);
  15419. }
  15420. return vnode;
  15421. }
  15422. /**
  15423. * @private
  15424. */
  15425. function createElementBlock(type, props, children, patchFlag, dynamicProps, shapeFlag) {
  15426. return setupBlock(createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, true /* isBlock */));
  15427. }
  15428. /**
  15429. * Create a block root vnode. Takes the same exact arguments as `createVNode`.
  15430. * A block root keeps track of dynamic nodes within the block in the
  15431. * `dynamicChildren` array.
  15432. *
  15433. * @private
  15434. */
  15435. function createBlock(type, props, children, patchFlag, dynamicProps) {
  15436. return setupBlock(createVNode(type, props, children, patchFlag, dynamicProps, true /* isBlock: prevent a block from tracking itself */));
  15437. }
  15438. function isVNode(value) {
  15439. return value ? value.__v_isVNode === true : false;
  15440. }
  15441. function isSameVNodeType(n1, n2) {
  15442. if (( true) &&
  15443. n2.shapeFlag & 6 /* COMPONENT */ &&
  15444. hmrDirtyComponents.has(n2.type)) {
  15445. // HMR only: if the component has been hot-updated, force a reload.
  15446. return false;
  15447. }
  15448. return n1.type === n2.type && n1.key === n2.key;
  15449. }
  15450. let vnodeArgsTransformer;
  15451. /**
  15452. * Internal API for registering an arguments transform for createVNode
  15453. * used for creating stubs in the test-utils
  15454. * It is *internal* but needs to be exposed for test-utils to pick up proper
  15455. * typings
  15456. */
  15457. function transformVNodeArgs(transformer) {
  15458. vnodeArgsTransformer = transformer;
  15459. }
  15460. const createVNodeWithArgsTransform = (...args) => {
  15461. return _createVNode(...(vnodeArgsTransformer
  15462. ? vnodeArgsTransformer(args, currentRenderingInstance)
  15463. : args));
  15464. };
  15465. const InternalObjectKey = `__vInternal`;
  15466. const normalizeKey = ({ key }) => key != null ? key : null;
  15467. const normalizeRef = ({ ref, ref_key, ref_for }) => {
  15468. return (ref != null
  15469. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(ref) || (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(ref) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(ref)
  15470. ? { i: currentRenderingInstance, r: ref, k: ref_key, f: !!ref_for }
  15471. : ref
  15472. : null);
  15473. };
  15474. function createBaseVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, shapeFlag = type === Fragment ? 0 : 1 /* ELEMENT */, isBlockNode = false, needFullChildrenNormalization = false) {
  15475. const vnode = {
  15476. __v_isVNode: true,
  15477. __v_skip: true,
  15478. type,
  15479. props,
  15480. key: props && normalizeKey(props),
  15481. ref: props && normalizeRef(props),
  15482. scopeId: currentScopeId,
  15483. slotScopeIds: null,
  15484. children,
  15485. component: null,
  15486. suspense: null,
  15487. ssContent: null,
  15488. ssFallback: null,
  15489. dirs: null,
  15490. transition: null,
  15491. el: null,
  15492. anchor: null,
  15493. target: null,
  15494. targetAnchor: null,
  15495. staticCount: 0,
  15496. shapeFlag,
  15497. patchFlag,
  15498. dynamicProps,
  15499. dynamicChildren: null,
  15500. appContext: null
  15501. };
  15502. if (needFullChildrenNormalization) {
  15503. normalizeChildren(vnode, children);
  15504. // normalize suspense children
  15505. if (shapeFlag & 128 /* SUSPENSE */) {
  15506. type.normalize(vnode);
  15507. }
  15508. }
  15509. else if (children) {
  15510. // compiled element vnode - if children is passed, only possible types are
  15511. // string or Array.
  15512. vnode.shapeFlag |= (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(children)
  15513. ? 8 /* TEXT_CHILDREN */
  15514. : 16 /* ARRAY_CHILDREN */;
  15515. }
  15516. // validate key
  15517. if (( true) && vnode.key !== vnode.key) {
  15518. warn(`VNode created with invalid key (NaN). VNode type:`, vnode.type);
  15519. }
  15520. // track vnode for block tree
  15521. if (isBlockTreeEnabled > 0 &&
  15522. // avoid a block node from tracking itself
  15523. !isBlockNode &&
  15524. // has current parent block
  15525. currentBlock &&
  15526. // presence of a patch flag indicates this node needs patching on updates.
  15527. // component nodes also should always be patched, because even if the
  15528. // component doesn't need to update, it needs to persist the instance on to
  15529. // the next vnode so that it can be properly unmounted later.
  15530. (vnode.patchFlag > 0 || shapeFlag & 6 /* COMPONENT */) &&
  15531. // the EVENTS flag is only for hydration and if it is the only flag, the
  15532. // vnode should not be considered dynamic due to handler caching.
  15533. vnode.patchFlag !== 32 /* HYDRATE_EVENTS */) {
  15534. currentBlock.push(vnode);
  15535. }
  15536. return vnode;
  15537. }
  15538. const createVNode = (( true) ? createVNodeWithArgsTransform : 0);
  15539. function _createVNode(type, props = null, children = null, patchFlag = 0, dynamicProps = null, isBlockNode = false) {
  15540. if (!type || type === NULL_DYNAMIC_COMPONENT) {
  15541. if (( true) && !type) {
  15542. warn(`Invalid vnode type when creating vnode: ${type}.`);
  15543. }
  15544. type = Comment;
  15545. }
  15546. if (isVNode(type)) {
  15547. // createVNode receiving an existing vnode. This happens in cases like
  15548. // <component :is="vnode"/>
  15549. // #2078 make sure to merge refs during the clone instead of overwriting it
  15550. const cloned = cloneVNode(type, props, true /* mergeRef: true */);
  15551. if (children) {
  15552. normalizeChildren(cloned, children);
  15553. }
  15554. return cloned;
  15555. }
  15556. // class component normalization.
  15557. if (isClassComponent(type)) {
  15558. type = type.__vccOpts;
  15559. }
  15560. // class & style normalization.
  15561. if (props) {
  15562. // for reactive or proxy objects, we need to clone it to enable mutation.
  15563. props = guardReactiveProps(props);
  15564. let { class: klass, style } = props;
  15565. if (klass && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(klass)) {
  15566. props.class = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeClass)(klass);
  15567. }
  15568. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(style)) {
  15569. // reactive state objects need to be cloned since they are likely to be
  15570. // mutated
  15571. if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy)(style) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(style)) {
  15572. style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, style);
  15573. }
  15574. props.style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeStyle)(style);
  15575. }
  15576. }
  15577. // encode the vnode type information into a bitmap
  15578. const shapeFlag = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(type)
  15579. ? 1 /* ELEMENT */
  15580. : isSuspense(type)
  15581. ? 128 /* SUSPENSE */
  15582. : isTeleport(type)
  15583. ? 64 /* TELEPORT */
  15584. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(type)
  15585. ? 4 /* STATEFUL_COMPONENT */
  15586. : (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(type)
  15587. ? 2 /* FUNCTIONAL_COMPONENT */
  15588. : 0;
  15589. if (( true) && shapeFlag & 4 /* STATEFUL_COMPONENT */ && (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy)(type)) {
  15590. type = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(type);
  15591. warn(`Vue received a Component which was made a reactive object. This can ` +
  15592. `lead to unnecessary performance overhead, and should be avoided by ` +
  15593. `marking the component with \`markRaw\` or using \`shallowRef\` ` +
  15594. `instead of \`ref\`.`, `\nComponent that was made reactive: `, type);
  15595. }
  15596. return createBaseVNode(type, props, children, patchFlag, dynamicProps, shapeFlag, isBlockNode, true);
  15597. }
  15598. function guardReactiveProps(props) {
  15599. if (!props)
  15600. return null;
  15601. return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isProxy)(props) || InternalObjectKey in props
  15602. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, props)
  15603. : props;
  15604. }
  15605. function cloneVNode(vnode, extraProps, mergeRef = false) {
  15606. // This is intentionally NOT using spread or extend to avoid the runtime
  15607. // key enumeration cost.
  15608. const { props, ref, patchFlag, children } = vnode;
  15609. const mergedProps = extraProps ? mergeProps(props || {}, extraProps) : props;
  15610. const cloned = {
  15611. __v_isVNode: true,
  15612. __v_skip: true,
  15613. type: vnode.type,
  15614. props: mergedProps,
  15615. key: mergedProps && normalizeKey(mergedProps),
  15616. ref: extraProps && extraProps.ref
  15617. ? // #2078 in the case of <component :is="vnode" ref="extra"/>
  15618. // if the vnode itself already has a ref, cloneVNode will need to merge
  15619. // the refs so the single vnode can be set on multiple refs
  15620. mergeRef && ref
  15621. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(ref)
  15622. ? ref.concat(normalizeRef(extraProps))
  15623. : [ref, normalizeRef(extraProps)]
  15624. : normalizeRef(extraProps)
  15625. : ref,
  15626. scopeId: vnode.scopeId,
  15627. slotScopeIds: vnode.slotScopeIds,
  15628. children: ( true) && patchFlag === -1 /* HOISTED */ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(children)
  15629. ? children.map(deepCloneVNode)
  15630. : children,
  15631. target: vnode.target,
  15632. targetAnchor: vnode.targetAnchor,
  15633. staticCount: vnode.staticCount,
  15634. shapeFlag: vnode.shapeFlag,
  15635. // if the vnode is cloned with extra props, we can no longer assume its
  15636. // existing patch flag to be reliable and need to add the FULL_PROPS flag.
  15637. // note: preserve flag for fragments since they use the flag for children
  15638. // fast paths only.
  15639. patchFlag: extraProps && vnode.type !== Fragment
  15640. ? patchFlag === -1 // hoisted node
  15641. ? 16 /* FULL_PROPS */
  15642. : patchFlag | 16 /* FULL_PROPS */
  15643. : patchFlag,
  15644. dynamicProps: vnode.dynamicProps,
  15645. dynamicChildren: vnode.dynamicChildren,
  15646. appContext: vnode.appContext,
  15647. dirs: vnode.dirs,
  15648. transition: vnode.transition,
  15649. // These should technically only be non-null on mounted VNodes. However,
  15650. // they *should* be copied for kept-alive vnodes. So we just always copy
  15651. // them since them being non-null during a mount doesn't affect the logic as
  15652. // they will simply be overwritten.
  15653. component: vnode.component,
  15654. suspense: vnode.suspense,
  15655. ssContent: vnode.ssContent && cloneVNode(vnode.ssContent),
  15656. ssFallback: vnode.ssFallback && cloneVNode(vnode.ssFallback),
  15657. el: vnode.el,
  15658. anchor: vnode.anchor
  15659. };
  15660. return cloned;
  15661. }
  15662. /**
  15663. * Dev only, for HMR of hoisted vnodes reused in v-for
  15664. * https://github.com/vitejs/vite/issues/2022
  15665. */
  15666. function deepCloneVNode(vnode) {
  15667. const cloned = cloneVNode(vnode);
  15668. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(vnode.children)) {
  15669. cloned.children = vnode.children.map(deepCloneVNode);
  15670. }
  15671. return cloned;
  15672. }
  15673. /**
  15674. * @private
  15675. */
  15676. function createTextVNode(text = ' ', flag = 0) {
  15677. return createVNode(Text, null, text, flag);
  15678. }
  15679. /**
  15680. * @private
  15681. */
  15682. function createStaticVNode(content, numberOfNodes) {
  15683. // A static vnode can contain multiple stringified elements, and the number
  15684. // of elements is necessary for hydration.
  15685. const vnode = createVNode(Static, null, content);
  15686. vnode.staticCount = numberOfNodes;
  15687. return vnode;
  15688. }
  15689. /**
  15690. * @private
  15691. */
  15692. function createCommentVNode(text = '',
  15693. // when used as the v-else branch, the comment node must be created as a
  15694. // block to ensure correct updates.
  15695. asBlock = false) {
  15696. return asBlock
  15697. ? (openBlock(), createBlock(Comment, null, text))
  15698. : createVNode(Comment, null, text);
  15699. }
  15700. function normalizeVNode(child) {
  15701. if (child == null || typeof child === 'boolean') {
  15702. // empty placeholder
  15703. return createVNode(Comment);
  15704. }
  15705. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(child)) {
  15706. // fragment
  15707. return createVNode(Fragment, null,
  15708. // #3666, avoid reference pollution when reusing vnode
  15709. child.slice());
  15710. }
  15711. else if (typeof child === 'object') {
  15712. // already vnode, this should be the most common since compiled templates
  15713. // always produce all-vnode children arrays
  15714. return cloneIfMounted(child);
  15715. }
  15716. else {
  15717. // strings and numbers
  15718. return createVNode(Text, null, String(child));
  15719. }
  15720. }
  15721. // optimized normalization for template-compiled render fns
  15722. function cloneIfMounted(child) {
  15723. return child.el === null || child.memo ? child : cloneVNode(child);
  15724. }
  15725. function normalizeChildren(vnode, children) {
  15726. let type = 0;
  15727. const { shapeFlag } = vnode;
  15728. if (children == null) {
  15729. children = null;
  15730. }
  15731. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(children)) {
  15732. type = 16 /* ARRAY_CHILDREN */;
  15733. }
  15734. else if (typeof children === 'object') {
  15735. if (shapeFlag & (1 /* ELEMENT */ | 64 /* TELEPORT */)) {
  15736. // Normalize slot to plain children for plain element and Teleport
  15737. const slot = children.default;
  15738. if (slot) {
  15739. // _c marker is added by withCtx() indicating this is a compiled slot
  15740. slot._c && (slot._d = false);
  15741. normalizeChildren(vnode, slot());
  15742. slot._c && (slot._d = true);
  15743. }
  15744. return;
  15745. }
  15746. else {
  15747. type = 32 /* SLOTS_CHILDREN */;
  15748. const slotFlag = children._;
  15749. if (!slotFlag && !(InternalObjectKey in children)) {
  15750. children._ctx = currentRenderingInstance;
  15751. }
  15752. else if (slotFlag === 3 /* FORWARDED */ && currentRenderingInstance) {
  15753. // a child component receives forwarded slots from the parent.
  15754. // its slot type is determined by its parent's slot type.
  15755. if (currentRenderingInstance.slots._ === 1 /* STABLE */) {
  15756. children._ = 1 /* STABLE */;
  15757. }
  15758. else {
  15759. children._ = 2 /* DYNAMIC */;
  15760. vnode.patchFlag |= 1024 /* DYNAMIC_SLOTS */;
  15761. }
  15762. }
  15763. }
  15764. }
  15765. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(children)) {
  15766. children = { default: children, _ctx: currentRenderingInstance };
  15767. type = 32 /* SLOTS_CHILDREN */;
  15768. }
  15769. else {
  15770. children = String(children);
  15771. // force teleport children to array so it can be moved around
  15772. if (shapeFlag & 64 /* TELEPORT */) {
  15773. type = 16 /* ARRAY_CHILDREN */;
  15774. children = [createTextVNode(children)];
  15775. }
  15776. else {
  15777. type = 8 /* TEXT_CHILDREN */;
  15778. }
  15779. }
  15780. vnode.children = children;
  15781. vnode.shapeFlag |= type;
  15782. }
  15783. function mergeProps(...args) {
  15784. const ret = {};
  15785. for (let i = 0; i < args.length; i++) {
  15786. const toMerge = args[i];
  15787. for (const key in toMerge) {
  15788. if (key === 'class') {
  15789. if (ret.class !== toMerge.class) {
  15790. ret.class = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeClass)([ret.class, toMerge.class]);
  15791. }
  15792. }
  15793. else if (key === 'style') {
  15794. ret.style = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.normalizeStyle)([ret.style, toMerge.style]);
  15795. }
  15796. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  15797. const existing = ret[key];
  15798. const incoming = toMerge[key];
  15799. if (incoming &&
  15800. existing !== incoming &&
  15801. !((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(existing) && existing.includes(incoming))) {
  15802. ret[key] = existing
  15803. ? [].concat(existing, incoming)
  15804. : incoming;
  15805. }
  15806. }
  15807. else if (key !== '') {
  15808. ret[key] = toMerge[key];
  15809. }
  15810. }
  15811. }
  15812. return ret;
  15813. }
  15814. function invokeVNodeHook(hook, instance, vnode, prevVNode = null) {
  15815. callWithAsyncErrorHandling(hook, instance, 7 /* VNODE_HOOK */, [
  15816. vnode,
  15817. prevVNode
  15818. ]);
  15819. }
  15820. /**
  15821. * Actual implementation
  15822. */
  15823. function renderList(source, renderItem, cache, index) {
  15824. let ret;
  15825. const cached = (cache && cache[index]);
  15826. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(source) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(source)) {
  15827. ret = new Array(source.length);
  15828. for (let i = 0, l = source.length; i < l; i++) {
  15829. ret[i] = renderItem(source[i], i, undefined, cached && cached[i]);
  15830. }
  15831. }
  15832. else if (typeof source === 'number') {
  15833. if (( true) && !Number.isInteger(source)) {
  15834. warn(`The v-for range expect an integer value but got ${source}.`);
  15835. return [];
  15836. }
  15837. ret = new Array(source);
  15838. for (let i = 0; i < source; i++) {
  15839. ret[i] = renderItem(i + 1, i, undefined, cached && cached[i]);
  15840. }
  15841. }
  15842. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(source)) {
  15843. if (source[Symbol.iterator]) {
  15844. ret = Array.from(source, (item, i) => renderItem(item, i, undefined, cached && cached[i]));
  15845. }
  15846. else {
  15847. const keys = Object.keys(source);
  15848. ret = new Array(keys.length);
  15849. for (let i = 0, l = keys.length; i < l; i++) {
  15850. const key = keys[i];
  15851. ret[i] = renderItem(source[key], key, i, cached && cached[i]);
  15852. }
  15853. }
  15854. }
  15855. else {
  15856. ret = [];
  15857. }
  15858. if (cache) {
  15859. cache[index] = ret;
  15860. }
  15861. return ret;
  15862. }
  15863. /**
  15864. * Compiler runtime helper for creating dynamic slots object
  15865. * @private
  15866. */
  15867. function createSlots(slots, dynamicSlots) {
  15868. for (let i = 0; i < dynamicSlots.length; i++) {
  15869. const slot = dynamicSlots[i];
  15870. // array of dynamic slot generated by <template v-for="..." #[...]>
  15871. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(slot)) {
  15872. for (let j = 0; j < slot.length; j++) {
  15873. slots[slot[j].name] = slot[j].fn;
  15874. }
  15875. }
  15876. else if (slot) {
  15877. // conditional single slot generated by <template v-if="..." #foo>
  15878. slots[slot.name] = slot.fn;
  15879. }
  15880. }
  15881. return slots;
  15882. }
  15883. /**
  15884. * Compiler runtime helper for rendering `<slot/>`
  15885. * @private
  15886. */
  15887. function renderSlot(slots, name, props = {},
  15888. // this is not a user-facing function, so the fallback is always generated by
  15889. // the compiler and guaranteed to be a function returning an array
  15890. fallback, noSlotted) {
  15891. if (currentRenderingInstance.isCE) {
  15892. return createVNode('slot', name === 'default' ? null : { name }, fallback && fallback());
  15893. }
  15894. let slot = slots[name];
  15895. if (( true) && slot && slot.length > 1) {
  15896. warn(`SSR-optimized slot function detected in a non-SSR-optimized render ` +
  15897. `function. You need to mark this component with $dynamic-slots in the ` +
  15898. `parent template.`);
  15899. slot = () => [];
  15900. }
  15901. // a compiled slot disables block tracking by default to avoid manual
  15902. // invocation interfering with template-based block tracking, but in
  15903. // `renderSlot` we can be sure that it's template-based so we can force
  15904. // enable it.
  15905. if (slot && slot._c) {
  15906. slot._d = false;
  15907. }
  15908. openBlock();
  15909. const validSlotContent = slot && ensureValidVNode(slot(props));
  15910. const rendered = createBlock(Fragment, { key: props.key || `_${name}` }, validSlotContent || (fallback ? fallback() : []), validSlotContent && slots._ === 1 /* STABLE */
  15911. ? 64 /* STABLE_FRAGMENT */
  15912. : -2 /* BAIL */);
  15913. if (!noSlotted && rendered.scopeId) {
  15914. rendered.slotScopeIds = [rendered.scopeId + '-s'];
  15915. }
  15916. if (slot && slot._c) {
  15917. slot._d = true;
  15918. }
  15919. return rendered;
  15920. }
  15921. function ensureValidVNode(vnodes) {
  15922. return vnodes.some(child => {
  15923. if (!isVNode(child))
  15924. return true;
  15925. if (child.type === Comment)
  15926. return false;
  15927. if (child.type === Fragment &&
  15928. !ensureValidVNode(child.children))
  15929. return false;
  15930. return true;
  15931. })
  15932. ? vnodes
  15933. : null;
  15934. }
  15935. /**
  15936. * For prefixing keys in v-on="obj" with "on"
  15937. * @private
  15938. */
  15939. function toHandlers(obj) {
  15940. const ret = {};
  15941. if (( true) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(obj)) {
  15942. warn(`v-on with no argument expects an object value.`);
  15943. return ret;
  15944. }
  15945. for (const key in obj) {
  15946. ret[(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toHandlerKey)(key)] = obj[key];
  15947. }
  15948. return ret;
  15949. }
  15950. /**
  15951. * #2437 In Vue 3, functional components do not have a public instance proxy but
  15952. * they exist in the internal parent chain. For code that relies on traversing
  15953. * public $parent chains, skip functional ones and go to the parent instead.
  15954. */
  15955. const getPublicInstance = (i) => {
  15956. if (!i)
  15957. return null;
  15958. if (isStatefulComponent(i))
  15959. return getExposeProxy(i) || i.proxy;
  15960. return getPublicInstance(i.parent);
  15961. };
  15962. const publicPropertiesMap = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(Object.create(null), {
  15963. $: i => i,
  15964. $el: i => i.vnode.el,
  15965. $data: i => i.data,
  15966. $props: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.props) : 0),
  15967. $attrs: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.attrs) : 0),
  15968. $slots: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.slots) : 0),
  15969. $refs: i => (( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(i.refs) : 0),
  15970. $parent: i => getPublicInstance(i.parent),
  15971. $root: i => getPublicInstance(i.root),
  15972. $emit: i => i.emit,
  15973. $options: i => ( true ? resolveMergedOptions(i) : 0),
  15974. $forceUpdate: i => () => queueJob(i.update),
  15975. $nextTick: i => nextTick.bind(i.proxy),
  15976. $watch: i => ( true ? instanceWatch.bind(i) : 0)
  15977. });
  15978. const PublicInstanceProxyHandlers = {
  15979. get({ _: instance }, key) {
  15980. const { ctx, setupState, data, props, accessCache, type, appContext } = instance;
  15981. // for internal formatters to know that this is a Vue instance
  15982. if (( true) && key === '__isVue') {
  15983. return true;
  15984. }
  15985. // prioritize <script setup> bindings during dev.
  15986. // this allows even properties that start with _ or $ to be used - so that
  15987. // it aligns with the production behavior where the render fn is inlined and
  15988. // indeed has access to all declared variables.
  15989. if (( true) &&
  15990. setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ &&
  15991. setupState.__isScriptSetup &&
  15992. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) {
  15993. return setupState[key];
  15994. }
  15995. // data / props / ctx
  15996. // This getter gets called for every property access on the render context
  15997. // during render and is a major hotspot. The most expensive part of this
  15998. // is the multiple hasOwn() calls. It's much faster to do a simple property
  15999. // access on a plain object, so we use an accessCache object (with null
  16000. // prototype) to memoize what access type a key corresponds to.
  16001. let normalizedProps;
  16002. if (key[0] !== '$') {
  16003. const n = accessCache[key];
  16004. if (n !== undefined) {
  16005. switch (n) {
  16006. case 1 /* SETUP */:
  16007. return setupState[key];
  16008. case 2 /* DATA */:
  16009. return data[key];
  16010. case 4 /* CONTEXT */:
  16011. return ctx[key];
  16012. case 3 /* PROPS */:
  16013. return props[key];
  16014. // default: just fallthrough
  16015. }
  16016. }
  16017. else if (setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) {
  16018. accessCache[key] = 1 /* SETUP */;
  16019. return setupState[key];
  16020. }
  16021. else if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) {
  16022. accessCache[key] = 2 /* DATA */;
  16023. return data[key];
  16024. }
  16025. else if (
  16026. // only cache other properties when instance has declared (thus stable)
  16027. // props
  16028. (normalizedProps = instance.propsOptions[0]) &&
  16029. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(normalizedProps, key)) {
  16030. accessCache[key] = 3 /* PROPS */;
  16031. return props[key];
  16032. }
  16033. else if (ctx !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(ctx, key)) {
  16034. accessCache[key] = 4 /* CONTEXT */;
  16035. return ctx[key];
  16036. }
  16037. else if ( false || shouldCacheAccess) {
  16038. accessCache[key] = 0 /* OTHER */;
  16039. }
  16040. }
  16041. const publicGetter = publicPropertiesMap[key];
  16042. let cssModule, globalProperties;
  16043. // public $xxx properties
  16044. if (publicGetter) {
  16045. if (key === '$attrs') {
  16046. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.track)(instance, "get" /* GET */, key);
  16047. ( true) && markAttrsAccessed();
  16048. }
  16049. return publicGetter(instance);
  16050. }
  16051. else if (
  16052. // css module (injected by vue-loader)
  16053. (cssModule = type.__cssModules) &&
  16054. (cssModule = cssModule[key])) {
  16055. return cssModule;
  16056. }
  16057. else if (ctx !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(ctx, key)) {
  16058. // user may set custom properties to `this` that start with `$`
  16059. accessCache[key] = 4 /* CONTEXT */;
  16060. return ctx[key];
  16061. }
  16062. else if (
  16063. // global properties
  16064. ((globalProperties = appContext.config.globalProperties),
  16065. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(globalProperties, key))) {
  16066. {
  16067. return globalProperties[key];
  16068. }
  16069. }
  16070. else if (( true) &&
  16071. currentRenderingInstance &&
  16072. (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(key) ||
  16073. // #1091 avoid internal isRef/isVNode checks on component instance leading
  16074. // to infinite warning loop
  16075. key.indexOf('__v') !== 0)) {
  16076. if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ &&
  16077. (key[0] === '$' || key[0] === '_') &&
  16078. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) {
  16079. warn(`Property ${JSON.stringify(key)} must be accessed via $data because it starts with a reserved ` +
  16080. `character ("$" or "_") and is not proxied on the render context.`);
  16081. }
  16082. else if (instance === currentRenderingInstance) {
  16083. warn(`Property ${JSON.stringify(key)} was accessed during render ` +
  16084. `but is not defined on instance.`);
  16085. }
  16086. }
  16087. },
  16088. set({ _: instance }, key, value) {
  16089. const { data, setupState, ctx } = instance;
  16090. if (setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) {
  16091. setupState[key] = value;
  16092. return true;
  16093. }
  16094. else if (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) {
  16095. data[key] = value;
  16096. return true;
  16097. }
  16098. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(instance.props, key)) {
  16099. ( true) &&
  16100. warn(`Attempting to mutate prop "${key}". Props are readonly.`, instance);
  16101. return false;
  16102. }
  16103. if (key[0] === '$' && key.slice(1) in instance) {
  16104. ( true) &&
  16105. warn(`Attempting to mutate public property "${key}". ` +
  16106. `Properties starting with $ are reserved and readonly.`, instance);
  16107. return false;
  16108. }
  16109. else {
  16110. if (( true) && key in instance.appContext.config.globalProperties) {
  16111. Object.defineProperty(ctx, key, {
  16112. enumerable: true,
  16113. configurable: true,
  16114. value
  16115. });
  16116. }
  16117. else {
  16118. ctx[key] = value;
  16119. }
  16120. }
  16121. return true;
  16122. },
  16123. has({ _: { data, setupState, accessCache, ctx, appContext, propsOptions } }, key) {
  16124. let normalizedProps;
  16125. return (!!accessCache[key] ||
  16126. (data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(data, key)) ||
  16127. (setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(setupState, key)) ||
  16128. ((normalizedProps = propsOptions[0]) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(normalizedProps, key)) ||
  16129. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(ctx, key) ||
  16130. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(publicPropertiesMap, key) ||
  16131. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hasOwn)(appContext.config.globalProperties, key));
  16132. },
  16133. defineProperty(target, key, descriptor) {
  16134. if (descriptor.get != null) {
  16135. this.set(target, key, descriptor.get(), null);
  16136. }
  16137. else if (descriptor.value != null) {
  16138. this.set(target, key, descriptor.value, null);
  16139. }
  16140. return Reflect.defineProperty(target, key, descriptor);
  16141. }
  16142. };
  16143. if (true) {
  16144. PublicInstanceProxyHandlers.ownKeys = (target) => {
  16145. warn(`Avoid app logic that relies on enumerating keys on a component instance. ` +
  16146. `The keys will be empty in production mode to avoid performance overhead.`);
  16147. return Reflect.ownKeys(target);
  16148. };
  16149. }
  16150. const RuntimeCompiledPublicInstanceProxyHandlers = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, PublicInstanceProxyHandlers, {
  16151. get(target, key) {
  16152. // fast path for unscopables when using `with` block
  16153. if (key === Symbol.unscopables) {
  16154. return;
  16155. }
  16156. return PublicInstanceProxyHandlers.get(target, key, target);
  16157. },
  16158. has(_, key) {
  16159. const has = key[0] !== '_' && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isGloballyWhitelisted)(key);
  16160. if (( true) && !has && PublicInstanceProxyHandlers.has(_, key)) {
  16161. warn(`Property ${JSON.stringify(key)} should not start with _ which is a reserved prefix for Vue internals.`);
  16162. }
  16163. return has;
  16164. }
  16165. });
  16166. // dev only
  16167. // In dev mode, the proxy target exposes the same properties as seen on `this`
  16168. // for easier console inspection. In prod mode it will be an empty object so
  16169. // these properties definitions can be skipped.
  16170. function createDevRenderContext(instance) {
  16171. const target = {};
  16172. // expose internal instance for proxy handlers
  16173. Object.defineProperty(target, `_`, {
  16174. configurable: true,
  16175. enumerable: false,
  16176. get: () => instance
  16177. });
  16178. // expose public properties
  16179. Object.keys(publicPropertiesMap).forEach(key => {
  16180. Object.defineProperty(target, key, {
  16181. configurable: true,
  16182. enumerable: false,
  16183. get: () => publicPropertiesMap[key](instance),
  16184. // intercepted by the proxy so no need for implementation,
  16185. // but needed to prevent set errors
  16186. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  16187. });
  16188. });
  16189. return target;
  16190. }
  16191. // dev only
  16192. function exposePropsOnRenderContext(instance) {
  16193. const { ctx, propsOptions: [propsOptions] } = instance;
  16194. if (propsOptions) {
  16195. Object.keys(propsOptions).forEach(key => {
  16196. Object.defineProperty(ctx, key, {
  16197. enumerable: true,
  16198. configurable: true,
  16199. get: () => instance.props[key],
  16200. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  16201. });
  16202. });
  16203. }
  16204. }
  16205. // dev only
  16206. function exposeSetupStateOnRenderContext(instance) {
  16207. const { ctx, setupState } = instance;
  16208. Object.keys((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(setupState)).forEach(key => {
  16209. if (!setupState.__isScriptSetup) {
  16210. if (key[0] === '$' || key[0] === '_') {
  16211. warn(`setup() return property ${JSON.stringify(key)} should not start with "$" or "_" ` +
  16212. `which are reserved prefixes for Vue internals.`);
  16213. return;
  16214. }
  16215. Object.defineProperty(ctx, key, {
  16216. enumerable: true,
  16217. configurable: true,
  16218. get: () => setupState[key],
  16219. set: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP
  16220. });
  16221. }
  16222. });
  16223. }
  16224. const emptyAppContext = createAppContext();
  16225. let uid$1 = 0;
  16226. function createComponentInstance(vnode, parent, suspense) {
  16227. const type = vnode.type;
  16228. // inherit parent app context - or - if root, adopt from root vnode
  16229. const appContext = (parent ? parent.appContext : vnode.appContext) || emptyAppContext;
  16230. const instance = {
  16231. uid: uid$1++,
  16232. vnode,
  16233. type,
  16234. parent,
  16235. appContext,
  16236. root: null,
  16237. next: null,
  16238. subTree: null,
  16239. effect: null,
  16240. update: null,
  16241. scope: new _vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.EffectScope(true /* detached */),
  16242. render: null,
  16243. proxy: null,
  16244. exposed: null,
  16245. exposeProxy: null,
  16246. withProxy: null,
  16247. provides: parent ? parent.provides : Object.create(appContext.provides),
  16248. accessCache: null,
  16249. renderCache: [],
  16250. // local resovled assets
  16251. components: null,
  16252. directives: null,
  16253. // resolved props and emits options
  16254. propsOptions: normalizePropsOptions(type, appContext),
  16255. emitsOptions: normalizeEmitsOptions(type, appContext),
  16256. // emit
  16257. emit: null,
  16258. emitted: null,
  16259. // props default value
  16260. propsDefaults: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16261. // inheritAttrs
  16262. inheritAttrs: type.inheritAttrs,
  16263. // state
  16264. ctx: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16265. data: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16266. props: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16267. attrs: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16268. slots: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16269. refs: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16270. setupState: _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ,
  16271. setupContext: null,
  16272. // suspense related
  16273. suspense,
  16274. suspenseId: suspense ? suspense.pendingId : 0,
  16275. asyncDep: null,
  16276. asyncResolved: false,
  16277. // lifecycle hooks
  16278. // not using enums here because it results in computed properties
  16279. isMounted: false,
  16280. isUnmounted: false,
  16281. isDeactivated: false,
  16282. bc: null,
  16283. c: null,
  16284. bm: null,
  16285. m: null,
  16286. bu: null,
  16287. u: null,
  16288. um: null,
  16289. bum: null,
  16290. da: null,
  16291. a: null,
  16292. rtg: null,
  16293. rtc: null,
  16294. ec: null,
  16295. sp: null
  16296. };
  16297. if ((true)) {
  16298. instance.ctx = createDevRenderContext(instance);
  16299. }
  16300. else {}
  16301. instance.root = parent ? parent.root : instance;
  16302. instance.emit = emit$1.bind(null, instance);
  16303. // apply custom element special handling
  16304. if (vnode.ce) {
  16305. vnode.ce(instance);
  16306. }
  16307. return instance;
  16308. }
  16309. let currentInstance = null;
  16310. const getCurrentInstance = () => currentInstance || currentRenderingInstance;
  16311. const setCurrentInstance = (instance) => {
  16312. currentInstance = instance;
  16313. instance.scope.on();
  16314. };
  16315. const unsetCurrentInstance = () => {
  16316. currentInstance && currentInstance.scope.off();
  16317. currentInstance = null;
  16318. };
  16319. const isBuiltInTag = /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.makeMap)('slot,component');
  16320. function validateComponentName(name, config) {
  16321. const appIsNativeTag = config.isNativeTag || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NO;
  16322. if (isBuiltInTag(name) || appIsNativeTag(name)) {
  16323. warn('Do not use built-in or reserved HTML elements as component id: ' + name);
  16324. }
  16325. }
  16326. function isStatefulComponent(instance) {
  16327. return instance.vnode.shapeFlag & 4 /* STATEFUL_COMPONENT */;
  16328. }
  16329. let isInSSRComponentSetup = false;
  16330. function setupComponent(instance, isSSR = false) {
  16331. isInSSRComponentSetup = isSSR;
  16332. const { props, children } = instance.vnode;
  16333. const isStateful = isStatefulComponent(instance);
  16334. initProps(instance, props, isStateful, isSSR);
  16335. initSlots(instance, children);
  16336. const setupResult = isStateful
  16337. ? setupStatefulComponent(instance, isSSR)
  16338. : undefined;
  16339. isInSSRComponentSetup = false;
  16340. return setupResult;
  16341. }
  16342. function setupStatefulComponent(instance, isSSR) {
  16343. const Component = instance.type;
  16344. if ((true)) {
  16345. if (Component.name) {
  16346. validateComponentName(Component.name, instance.appContext.config);
  16347. }
  16348. if (Component.components) {
  16349. const names = Object.keys(Component.components);
  16350. for (let i = 0; i < names.length; i++) {
  16351. validateComponentName(names[i], instance.appContext.config);
  16352. }
  16353. }
  16354. if (Component.directives) {
  16355. const names = Object.keys(Component.directives);
  16356. for (let i = 0; i < names.length; i++) {
  16357. validateDirectiveName(names[i]);
  16358. }
  16359. }
  16360. if (Component.compilerOptions && isRuntimeOnly()) {
  16361. warn(`"compilerOptions" is only supported when using a build of Vue that ` +
  16362. `includes the runtime compiler. Since you are using a runtime-only ` +
  16363. `build, the options should be passed via your build tool config instead.`);
  16364. }
  16365. }
  16366. // 0. create render proxy property access cache
  16367. instance.accessCache = Object.create(null);
  16368. // 1. create public instance / render proxy
  16369. // also mark it raw so it's never observed
  16370. instance.proxy = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.markRaw)(new Proxy(instance.ctx, PublicInstanceProxyHandlers));
  16371. if ((true)) {
  16372. exposePropsOnRenderContext(instance);
  16373. }
  16374. // 2. call setup()
  16375. const { setup } = Component;
  16376. if (setup) {
  16377. const setupContext = (instance.setupContext =
  16378. setup.length > 1 ? createSetupContext(instance) : null);
  16379. setCurrentInstance(instance);
  16380. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  16381. const setupResult = callWithErrorHandling(setup, instance, 0 /* SETUP_FUNCTION */, [( true) ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(instance.props) : 0, setupContext]);
  16382. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  16383. unsetCurrentInstance();
  16384. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(setupResult)) {
  16385. setupResult.then(unsetCurrentInstance, unsetCurrentInstance);
  16386. if (isSSR) {
  16387. // return the promise so server-renderer can wait on it
  16388. return setupResult
  16389. .then((resolvedResult) => {
  16390. handleSetupResult(instance, resolvedResult, isSSR);
  16391. })
  16392. .catch(e => {
  16393. handleError(e, instance, 0 /* SETUP_FUNCTION */);
  16394. });
  16395. }
  16396. else {
  16397. // async setup returned Promise.
  16398. // bail here and wait for re-entry.
  16399. instance.asyncDep = setupResult;
  16400. }
  16401. }
  16402. else {
  16403. handleSetupResult(instance, setupResult, isSSR);
  16404. }
  16405. }
  16406. else {
  16407. finishComponentSetup(instance, isSSR);
  16408. }
  16409. }
  16410. function handleSetupResult(instance, setupResult, isSSR) {
  16411. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(setupResult)) {
  16412. // setup returned an inline render function
  16413. if (instance.type.__ssrInlineRender) {
  16414. // when the function's name is `ssrRender` (compiled by SFC inline mode),
  16415. // set it as ssrRender instead.
  16416. instance.ssrRender = setupResult;
  16417. }
  16418. else {
  16419. instance.render = setupResult;
  16420. }
  16421. }
  16422. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(setupResult)) {
  16423. if (( true) && isVNode(setupResult)) {
  16424. warn(`setup() should not return VNodes directly - ` +
  16425. `return a render function instead.`);
  16426. }
  16427. // setup returned bindings.
  16428. // assuming a render function compiled from template is present.
  16429. if (true) {
  16430. instance.devtoolsRawSetupState = setupResult;
  16431. }
  16432. instance.setupState = (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.proxyRefs)(setupResult);
  16433. if ((true)) {
  16434. exposeSetupStateOnRenderContext(instance);
  16435. }
  16436. }
  16437. else if (( true) && setupResult !== undefined) {
  16438. warn(`setup() should return an object. Received: ${setupResult === null ? 'null' : typeof setupResult}`);
  16439. }
  16440. finishComponentSetup(instance, isSSR);
  16441. }
  16442. let compile;
  16443. let installWithProxy;
  16444. /**
  16445. * For runtime-dom to register the compiler.
  16446. * Note the exported method uses any to avoid d.ts relying on the compiler types.
  16447. */
  16448. function registerRuntimeCompiler(_compile) {
  16449. compile = _compile;
  16450. installWithProxy = i => {
  16451. if (i.render._rc) {
  16452. i.withProxy = new Proxy(i.ctx, RuntimeCompiledPublicInstanceProxyHandlers);
  16453. }
  16454. };
  16455. }
  16456. // dev only
  16457. const isRuntimeOnly = () => !compile;
  16458. function finishComponentSetup(instance, isSSR, skipOptions) {
  16459. const Component = instance.type;
  16460. // template / render function normalization
  16461. // could be already set when returned from setup()
  16462. if (!instance.render) {
  16463. // only do on-the-fly compile if not in SSR - SSR on-the-fly compilation
  16464. // is done by server-renderer
  16465. if (!isSSR && compile && !Component.render) {
  16466. const template = Component.template;
  16467. if (template) {
  16468. if ((true)) {
  16469. startMeasure(instance, `compile`);
  16470. }
  16471. const { isCustomElement, compilerOptions } = instance.appContext.config;
  16472. const { delimiters, compilerOptions: componentCompilerOptions } = Component;
  16473. const finalCompilerOptions = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({
  16474. isCustomElement,
  16475. delimiters
  16476. }, compilerOptions), componentCompilerOptions);
  16477. Component.render = compile(template, finalCompilerOptions);
  16478. if ((true)) {
  16479. endMeasure(instance, `compile`);
  16480. }
  16481. }
  16482. }
  16483. instance.render = (Component.render || _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP);
  16484. // for runtime-compiled render functions using `with` blocks, the render
  16485. // proxy used needs a different `has` handler which is more performant and
  16486. // also only allows a whitelist of globals to fallthrough.
  16487. if (installWithProxy) {
  16488. installWithProxy(instance);
  16489. }
  16490. }
  16491. // support for 2.x options
  16492. if (true) {
  16493. setCurrentInstance(instance);
  16494. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.pauseTracking)();
  16495. applyOptions(instance);
  16496. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.resetTracking)();
  16497. unsetCurrentInstance();
  16498. }
  16499. // warn missing template/render
  16500. // the runtime compilation of template in SSR is done by server-render
  16501. if (( true) && !Component.render && instance.render === _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP && !isSSR) {
  16502. /* istanbul ignore if */
  16503. if (!compile && Component.template) {
  16504. warn(`Component provided template option but ` +
  16505. `runtime compilation is not supported in this build of Vue.` +
  16506. (` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
  16507. ) /* should not happen */);
  16508. }
  16509. else {
  16510. warn(`Component is missing template or render function.`);
  16511. }
  16512. }
  16513. }
  16514. function createAttrsProxy(instance) {
  16515. return new Proxy(instance.attrs, ( true)
  16516. ? {
  16517. get(target, key) {
  16518. markAttrsAccessed();
  16519. (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.track)(instance, "get" /* GET */, '$attrs');
  16520. return target[key];
  16521. },
  16522. set() {
  16523. warn(`setupContext.attrs is readonly.`);
  16524. return false;
  16525. },
  16526. deleteProperty() {
  16527. warn(`setupContext.attrs is readonly.`);
  16528. return false;
  16529. }
  16530. }
  16531. : 0);
  16532. }
  16533. function createSetupContext(instance) {
  16534. const expose = exposed => {
  16535. if (( true) && instance.exposed) {
  16536. warn(`expose() should be called only once per setup().`);
  16537. }
  16538. instance.exposed = exposed || {};
  16539. };
  16540. let attrs;
  16541. if ((true)) {
  16542. // We use getters in dev in case libs like test-utils overwrite instance
  16543. // properties (overwrites should not be done in prod)
  16544. return Object.freeze({
  16545. get attrs() {
  16546. return attrs || (attrs = createAttrsProxy(instance));
  16547. },
  16548. get slots() {
  16549. return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly)(instance.slots);
  16550. },
  16551. get emit() {
  16552. return (event, ...args) => instance.emit(event, ...args);
  16553. },
  16554. expose
  16555. });
  16556. }
  16557. else {}
  16558. }
  16559. function getExposeProxy(instance) {
  16560. if (instance.exposed) {
  16561. return (instance.exposeProxy ||
  16562. (instance.exposeProxy = new Proxy((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.proxyRefs)((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.markRaw)(instance.exposed)), {
  16563. get(target, key) {
  16564. if (key in target) {
  16565. return target[key];
  16566. }
  16567. else if (key in publicPropertiesMap) {
  16568. return publicPropertiesMap[key](instance);
  16569. }
  16570. }
  16571. })));
  16572. }
  16573. }
  16574. const classifyRE = /(?:^|[-_])(\w)/g;
  16575. const classify = (str) => str.replace(classifyRE, c => c.toUpperCase()).replace(/[-_]/g, '');
  16576. function getComponentName(Component) {
  16577. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(Component)
  16578. ? Component.displayName || Component.name
  16579. : Component.name;
  16580. }
  16581. /* istanbul ignore next */
  16582. function formatComponentName(instance, Component, isRoot = false) {
  16583. let name = getComponentName(Component);
  16584. if (!name && Component.__file) {
  16585. const match = Component.__file.match(/([^/\\]+)\.\w+$/);
  16586. if (match) {
  16587. name = match[1];
  16588. }
  16589. }
  16590. if (!name && instance && instance.parent) {
  16591. // try to infer the name based on reverse resolution
  16592. const inferFromRegistry = (registry) => {
  16593. for (const key in registry) {
  16594. if (registry[key] === Component) {
  16595. return key;
  16596. }
  16597. }
  16598. };
  16599. name =
  16600. inferFromRegistry(instance.components ||
  16601. instance.parent.type.components) || inferFromRegistry(instance.appContext.components);
  16602. }
  16603. return name ? classify(name) : isRoot ? `App` : `Anonymous`;
  16604. }
  16605. function isClassComponent(value) {
  16606. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value) && '__vccOpts' in value;
  16607. }
  16608. const computed = ((getterOrOptions, debugOptions) => {
  16609. // @ts-ignore
  16610. return (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.computed)(getterOrOptions, debugOptions, isInSSRComponentSetup);
  16611. });
  16612. // dev only
  16613. const warnRuntimeUsage = (method) => warn(`${method}() is a compiler-hint helper that is only usable inside ` +
  16614. `<script setup> of a single file component. Its arguments should be ` +
  16615. `compiled away and passing it at runtime has no effect.`);
  16616. // implementation
  16617. function defineProps() {
  16618. if ((true)) {
  16619. warnRuntimeUsage(`defineProps`);
  16620. }
  16621. return null;
  16622. }
  16623. // implementation
  16624. function defineEmits() {
  16625. if ((true)) {
  16626. warnRuntimeUsage(`defineEmits`);
  16627. }
  16628. return null;
  16629. }
  16630. /**
  16631. * Vue `<script setup>` compiler macro for declaring a component's exposed
  16632. * instance properties when it is accessed by a parent component via template
  16633. * refs.
  16634. *
  16635. * `<script setup>` components are closed by default - i.e. variables inside
  16636. * the `<script setup>` scope is not exposed to parent unless explicitly exposed
  16637. * via `defineExpose`.
  16638. *
  16639. * This is only usable inside `<script setup>`, is compiled away in the
  16640. * output and should **not** be actually called at runtime.
  16641. */
  16642. function defineExpose(exposed) {
  16643. if ((true)) {
  16644. warnRuntimeUsage(`defineExpose`);
  16645. }
  16646. }
  16647. /**
  16648. * Vue `<script setup>` compiler macro for providing props default values when
  16649. * using type-based `defineProps` declaration.
  16650. *
  16651. * Example usage:
  16652. * ```ts
  16653. * withDefaults(defineProps<{
  16654. * size?: number
  16655. * labels?: string[]
  16656. * }>(), {
  16657. * size: 3,
  16658. * labels: () => ['default label']
  16659. * })
  16660. * ```
  16661. *
  16662. * This is only usable inside `<script setup>`, is compiled away in the output
  16663. * and should **not** be actually called at runtime.
  16664. */
  16665. function withDefaults(props, defaults) {
  16666. if ((true)) {
  16667. warnRuntimeUsage(`withDefaults`);
  16668. }
  16669. return null;
  16670. }
  16671. function useSlots() {
  16672. return getContext().slots;
  16673. }
  16674. function useAttrs() {
  16675. return getContext().attrs;
  16676. }
  16677. function getContext() {
  16678. const i = getCurrentInstance();
  16679. if (( true) && !i) {
  16680. warn(`useContext() called without active instance.`);
  16681. }
  16682. return i.setupContext || (i.setupContext = createSetupContext(i));
  16683. }
  16684. /**
  16685. * Runtime helper for merging default declarations. Imported by compiled code
  16686. * only.
  16687. * @internal
  16688. */
  16689. function mergeDefaults(raw, defaults) {
  16690. const props = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(raw)
  16691. ? raw.reduce((normalized, p) => ((normalized[p] = {}), normalized), {})
  16692. : raw;
  16693. for (const key in defaults) {
  16694. const opt = props[key];
  16695. if (opt) {
  16696. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(opt) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(opt)) {
  16697. props[key] = { type: opt, default: defaults[key] };
  16698. }
  16699. else {
  16700. opt.default = defaults[key];
  16701. }
  16702. }
  16703. else if (opt === null) {
  16704. props[key] = { default: defaults[key] };
  16705. }
  16706. else if ((true)) {
  16707. warn(`props default key "${key}" has no corresponding declaration.`);
  16708. }
  16709. }
  16710. return props;
  16711. }
  16712. /**
  16713. * Used to create a proxy for the rest element when destructuring props with
  16714. * defineProps().
  16715. * @internal
  16716. */
  16717. function createPropsRestProxy(props, excludedKeys) {
  16718. const ret = {};
  16719. for (const key in props) {
  16720. if (!excludedKeys.includes(key)) {
  16721. Object.defineProperty(ret, key, {
  16722. enumerable: true,
  16723. get: () => props[key]
  16724. });
  16725. }
  16726. }
  16727. return ret;
  16728. }
  16729. /**
  16730. * `<script setup>` helper for persisting the current instance context over
  16731. * async/await flows.
  16732. *
  16733. * `@vue/compiler-sfc` converts the following:
  16734. *
  16735. * ```ts
  16736. * const x = await foo()
  16737. * ```
  16738. *
  16739. * into:
  16740. *
  16741. * ```ts
  16742. * let __temp, __restore
  16743. * const x = (([__temp, __restore] = withAsyncContext(() => foo())),__temp=await __temp,__restore(),__temp)
  16744. * ```
  16745. * @internal
  16746. */
  16747. function withAsyncContext(getAwaitable) {
  16748. const ctx = getCurrentInstance();
  16749. if (( true) && !ctx) {
  16750. warn(`withAsyncContext called without active current instance. ` +
  16751. `This is likely a bug.`);
  16752. }
  16753. let awaitable = getAwaitable();
  16754. unsetCurrentInstance();
  16755. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isPromise)(awaitable)) {
  16756. awaitable = awaitable.catch(e => {
  16757. setCurrentInstance(ctx);
  16758. throw e;
  16759. });
  16760. }
  16761. return [awaitable, () => setCurrentInstance(ctx)];
  16762. }
  16763. // Actual implementation
  16764. function h(type, propsOrChildren, children) {
  16765. const l = arguments.length;
  16766. if (l === 2) {
  16767. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(propsOrChildren) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(propsOrChildren)) {
  16768. // single vnode without props
  16769. if (isVNode(propsOrChildren)) {
  16770. return createVNode(type, null, [propsOrChildren]);
  16771. }
  16772. // props without children
  16773. return createVNode(type, propsOrChildren);
  16774. }
  16775. else {
  16776. // omit props
  16777. return createVNode(type, null, propsOrChildren);
  16778. }
  16779. }
  16780. else {
  16781. if (l > 3) {
  16782. children = Array.prototype.slice.call(arguments, 2);
  16783. }
  16784. else if (l === 3 && isVNode(children)) {
  16785. children = [children];
  16786. }
  16787. return createVNode(type, propsOrChildren, children);
  16788. }
  16789. }
  16790. const ssrContextKey = Symbol(( true) ? `ssrContext` : 0);
  16791. const useSSRContext = () => {
  16792. {
  16793. const ctx = inject(ssrContextKey);
  16794. if (!ctx) {
  16795. warn(`Server rendering context not provided. Make sure to only call ` +
  16796. `useSSRContext() conditionally in the server build.`);
  16797. }
  16798. return ctx;
  16799. }
  16800. };
  16801. function isShallow(value) {
  16802. return !!(value && value["__v_isShallow" /* IS_SHALLOW */]);
  16803. }
  16804. function initCustomFormatter() {
  16805. /* eslint-disable no-restricted-globals */
  16806. if ( false || typeof window === 'undefined') {
  16807. return;
  16808. }
  16809. const vueStyle = { style: 'color:#3ba776' };
  16810. const numberStyle = { style: 'color:#0b1bc9' };
  16811. const stringStyle = { style: 'color:#b62e24' };
  16812. const keywordStyle = { style: 'color:#9d288c' };
  16813. // custom formatter for Chrome
  16814. // https://www.mattzeunert.com/2016/02/19/custom-chrome-devtools-object-formatters.html
  16815. const formatter = {
  16816. header(obj) {
  16817. // TODO also format ComponentPublicInstance & ctx.slots/attrs in setup
  16818. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(obj)) {
  16819. return null;
  16820. }
  16821. if (obj.__isVue) {
  16822. return ['div', vueStyle, `VueInstance`];
  16823. }
  16824. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isRef)(obj)) {
  16825. return [
  16826. 'div',
  16827. {},
  16828. ['span', vueStyle, genRefFlag(obj)],
  16829. '<',
  16830. formatValue(obj.value),
  16831. `>`
  16832. ];
  16833. }
  16834. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReactive)(obj)) {
  16835. return [
  16836. 'div',
  16837. {},
  16838. ['span', vueStyle, isShallow(obj) ? 'ShallowReactive' : 'Reactive'],
  16839. '<',
  16840. formatValue(obj),
  16841. `>${(0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReadonly)(obj) ? ` (readonly)` : ``}`
  16842. ];
  16843. }
  16844. else if ((0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.isReadonly)(obj)) {
  16845. return [
  16846. 'div',
  16847. {},
  16848. ['span', vueStyle, isShallow(obj) ? 'ShallowReadonly' : 'Readonly'],
  16849. '<',
  16850. formatValue(obj),
  16851. '>'
  16852. ];
  16853. }
  16854. return null;
  16855. },
  16856. hasBody(obj) {
  16857. return obj && obj.__isVue;
  16858. },
  16859. body(obj) {
  16860. if (obj && obj.__isVue) {
  16861. return [
  16862. 'div',
  16863. {},
  16864. ...formatInstance(obj.$)
  16865. ];
  16866. }
  16867. }
  16868. };
  16869. function formatInstance(instance) {
  16870. const blocks = [];
  16871. if (instance.type.props && instance.props) {
  16872. blocks.push(createInstanceBlock('props', (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(instance.props)));
  16873. }
  16874. if (instance.setupState !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  16875. blocks.push(createInstanceBlock('setup', instance.setupState));
  16876. }
  16877. if (instance.data !== _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ) {
  16878. blocks.push(createInstanceBlock('data', (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(instance.data)));
  16879. }
  16880. const computed = extractKeys(instance, 'computed');
  16881. if (computed) {
  16882. blocks.push(createInstanceBlock('computed', computed));
  16883. }
  16884. const injected = extractKeys(instance, 'inject');
  16885. if (injected) {
  16886. blocks.push(createInstanceBlock('injected', injected));
  16887. }
  16888. blocks.push([
  16889. 'div',
  16890. {},
  16891. [
  16892. 'span',
  16893. {
  16894. style: keywordStyle.style + ';opacity:0.66'
  16895. },
  16896. '$ (internal): '
  16897. ],
  16898. ['object', { object: instance }]
  16899. ]);
  16900. return blocks;
  16901. }
  16902. function createInstanceBlock(type, target) {
  16903. target = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, target);
  16904. if (!Object.keys(target).length) {
  16905. return ['span', {}];
  16906. }
  16907. return [
  16908. 'div',
  16909. { style: 'line-height:1.25em;margin-bottom:0.6em' },
  16910. [
  16911. 'div',
  16912. {
  16913. style: 'color:#476582'
  16914. },
  16915. type
  16916. ],
  16917. [
  16918. 'div',
  16919. {
  16920. style: 'padding-left:1.25em'
  16921. },
  16922. ...Object.keys(target).map(key => {
  16923. return [
  16924. 'div',
  16925. {},
  16926. ['span', keywordStyle, key + ': '],
  16927. formatValue(target[key], false)
  16928. ];
  16929. })
  16930. ]
  16931. ];
  16932. }
  16933. function formatValue(v, asRaw = true) {
  16934. if (typeof v === 'number') {
  16935. return ['span', numberStyle, v];
  16936. }
  16937. else if (typeof v === 'string') {
  16938. return ['span', stringStyle, JSON.stringify(v)];
  16939. }
  16940. else if (typeof v === 'boolean') {
  16941. return ['span', keywordStyle, v];
  16942. }
  16943. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(v)) {
  16944. return ['object', { object: asRaw ? (0,_vue_reactivity__WEBPACK_IMPORTED_MODULE_0__.toRaw)(v) : v }];
  16945. }
  16946. else {
  16947. return ['span', stringStyle, String(v)];
  16948. }
  16949. }
  16950. function extractKeys(instance, type) {
  16951. const Comp = instance.type;
  16952. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(Comp)) {
  16953. return;
  16954. }
  16955. const extracted = {};
  16956. for (const key in instance.ctx) {
  16957. if (isKeyOfType(Comp, key, type)) {
  16958. extracted[key] = instance.ctx[key];
  16959. }
  16960. }
  16961. return extracted;
  16962. }
  16963. function isKeyOfType(Comp, key, type) {
  16964. const opts = Comp[type];
  16965. if (((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(opts) && opts.includes(key)) ||
  16966. ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(opts) && key in opts)) {
  16967. return true;
  16968. }
  16969. if (Comp.extends && isKeyOfType(Comp.extends, key, type)) {
  16970. return true;
  16971. }
  16972. if (Comp.mixins && Comp.mixins.some(m => isKeyOfType(m, key, type))) {
  16973. return true;
  16974. }
  16975. }
  16976. function genRefFlag(v) {
  16977. if (isShallow(v)) {
  16978. return `ShallowRef`;
  16979. }
  16980. if (v.effect) {
  16981. return `ComputedRef`;
  16982. }
  16983. return `Ref`;
  16984. }
  16985. if (window.devtoolsFormatters) {
  16986. window.devtoolsFormatters.push(formatter);
  16987. }
  16988. else {
  16989. window.devtoolsFormatters = [formatter];
  16990. }
  16991. }
  16992. function withMemo(memo, render, cache, index) {
  16993. const cached = cache[index];
  16994. if (cached && isMemoSame(cached, memo)) {
  16995. return cached;
  16996. }
  16997. const ret = render();
  16998. // shallow clone
  16999. ret.memo = memo.slice();
  17000. return (cache[index] = ret);
  17001. }
  17002. function isMemoSame(cached, memo) {
  17003. const prev = cached.memo;
  17004. if (prev.length != memo.length) {
  17005. return false;
  17006. }
  17007. for (let i = 0; i < prev.length; i++) {
  17008. if (prev[i] !== memo[i]) {
  17009. return false;
  17010. }
  17011. }
  17012. // make sure to let parent block track it when returning cached
  17013. if (isBlockTreeEnabled > 0 && currentBlock) {
  17014. currentBlock.push(cached);
  17015. }
  17016. return true;
  17017. }
  17018. // Core API ------------------------------------------------------------------
  17019. const version = "3.2.31";
  17020. const _ssrUtils = {
  17021. createComponentInstance,
  17022. setupComponent,
  17023. renderComponentRoot,
  17024. setCurrentRenderingInstance,
  17025. isVNode,
  17026. normalizeVNode
  17027. };
  17028. /**
  17029. * SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
  17030. * @internal
  17031. */
  17032. const ssrUtils = (_ssrUtils );
  17033. /**
  17034. * @internal only exposed in compat builds
  17035. */
  17036. const resolveFilter = null;
  17037. /**
  17038. * @internal only exposed in compat builds.
  17039. */
  17040. const compatUtils = (null);
  17041. /***/ }),
  17042. /***/ "./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js":
  17043. /*!***********************************************************************!*\
  17044. !*** ./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js ***!
  17045. \***********************************************************************/
  17046. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  17047. "use strict";
  17048. __webpack_require__.r(__webpack_exports__);
  17049. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  17050. /* harmony export */ "BaseTransition": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.BaseTransition),
  17051. /* harmony export */ "Comment": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Comment),
  17052. /* harmony export */ "EffectScope": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.EffectScope),
  17053. /* harmony export */ "Fragment": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Fragment),
  17054. /* harmony export */ "KeepAlive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.KeepAlive),
  17055. /* harmony export */ "ReactiveEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect),
  17056. /* harmony export */ "Static": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Static),
  17057. /* harmony export */ "Suspense": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Suspense),
  17058. /* harmony export */ "Teleport": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Teleport),
  17059. /* harmony export */ "Text": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Text),
  17060. /* harmony export */ "callWithAsyncErrorHandling": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.callWithAsyncErrorHandling),
  17061. /* harmony export */ "callWithErrorHandling": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.callWithErrorHandling),
  17062. /* harmony export */ "camelize": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.camelize),
  17063. /* harmony export */ "capitalize": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.capitalize),
  17064. /* harmony export */ "cloneVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.cloneVNode),
  17065. /* harmony export */ "compatUtils": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.compatUtils),
  17066. /* harmony export */ "computed": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.computed),
  17067. /* harmony export */ "createBlock": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createBlock),
  17068. /* harmony export */ "createCommentVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode),
  17069. /* harmony export */ "createElementBlock": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createElementBlock),
  17070. /* harmony export */ "createElementVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createElementVNode),
  17071. /* harmony export */ "createHydrationRenderer": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createHydrationRenderer),
  17072. /* harmony export */ "createPropsRestProxy": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createPropsRestProxy),
  17073. /* harmony export */ "createRenderer": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createRenderer),
  17074. /* harmony export */ "createSlots": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createSlots),
  17075. /* harmony export */ "createStaticVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createStaticVNode),
  17076. /* harmony export */ "createTextVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createTextVNode),
  17077. /* harmony export */ "createVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createVNode),
  17078. /* harmony export */ "customRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.customRef),
  17079. /* harmony export */ "defineAsyncComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineAsyncComponent),
  17080. /* harmony export */ "defineComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineComponent),
  17081. /* harmony export */ "defineEmits": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineEmits),
  17082. /* harmony export */ "defineExpose": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineExpose),
  17083. /* harmony export */ "defineProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineProps),
  17084. /* harmony export */ "devtools": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.devtools),
  17085. /* harmony export */ "effect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.effect),
  17086. /* harmony export */ "effectScope": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.effectScope),
  17087. /* harmony export */ "getCurrentInstance": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance),
  17088. /* harmony export */ "getCurrentScope": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentScope),
  17089. /* harmony export */ "getTransitionRawChildren": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getTransitionRawChildren),
  17090. /* harmony export */ "guardReactiveProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps),
  17091. /* harmony export */ "h": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.h),
  17092. /* harmony export */ "handleError": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.handleError),
  17093. /* harmony export */ "initCustomFormatter": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.initCustomFormatter),
  17094. /* harmony export */ "inject": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.inject),
  17095. /* harmony export */ "isMemoSame": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isMemoSame),
  17096. /* harmony export */ "isProxy": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isProxy),
  17097. /* harmony export */ "isReactive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isReactive),
  17098. /* harmony export */ "isReadonly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isReadonly),
  17099. /* harmony export */ "isRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isRef),
  17100. /* harmony export */ "isRuntimeOnly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isRuntimeOnly),
  17101. /* harmony export */ "isShallow": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isShallow),
  17102. /* harmony export */ "isVNode": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isVNode),
  17103. /* harmony export */ "markRaw": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.markRaw),
  17104. /* harmony export */ "mergeDefaults": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.mergeDefaults),
  17105. /* harmony export */ "mergeProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.mergeProps),
  17106. /* harmony export */ "nextTick": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.nextTick),
  17107. /* harmony export */ "normalizeClass": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.normalizeClass),
  17108. /* harmony export */ "normalizeProps": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.normalizeProps),
  17109. /* harmony export */ "normalizeStyle": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle),
  17110. /* harmony export */ "onActivated": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onActivated),
  17111. /* harmony export */ "onBeforeMount": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onBeforeMount),
  17112. /* harmony export */ "onBeforeUnmount": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onBeforeUnmount),
  17113. /* harmony export */ "onBeforeUpdate": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onBeforeUpdate),
  17114. /* harmony export */ "onDeactivated": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onDeactivated),
  17115. /* harmony export */ "onErrorCaptured": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onErrorCaptured),
  17116. /* harmony export */ "onMounted": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onMounted),
  17117. /* harmony export */ "onRenderTracked": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onRenderTracked),
  17118. /* harmony export */ "onRenderTriggered": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onRenderTriggered),
  17119. /* harmony export */ "onScopeDispose": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onScopeDispose),
  17120. /* harmony export */ "onServerPrefetch": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onServerPrefetch),
  17121. /* harmony export */ "onUnmounted": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUnmounted),
  17122. /* harmony export */ "onUpdated": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUpdated),
  17123. /* harmony export */ "openBlock": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.openBlock),
  17124. /* harmony export */ "popScopeId": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.popScopeId),
  17125. /* harmony export */ "provide": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.provide),
  17126. /* harmony export */ "proxyRefs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.proxyRefs),
  17127. /* harmony export */ "pushScopeId": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.pushScopeId),
  17128. /* harmony export */ "queuePostFlushCb": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.queuePostFlushCb),
  17129. /* harmony export */ "reactive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.reactive),
  17130. /* harmony export */ "readonly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.readonly),
  17131. /* harmony export */ "ref": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ref),
  17132. /* harmony export */ "registerRuntimeCompiler": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeCompiler),
  17133. /* harmony export */ "renderList": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.renderList),
  17134. /* harmony export */ "renderSlot": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.renderSlot),
  17135. /* harmony export */ "resolveComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveComponent),
  17136. /* harmony export */ "resolveDirective": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveDirective),
  17137. /* harmony export */ "resolveDynamicComponent": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent),
  17138. /* harmony export */ "resolveFilter": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveFilter),
  17139. /* harmony export */ "resolveTransitionHooks": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks),
  17140. /* harmony export */ "setBlockTracking": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setBlockTracking),
  17141. /* harmony export */ "setDevtoolsHook": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setDevtoolsHook),
  17142. /* harmony export */ "setTransitionHooks": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks),
  17143. /* harmony export */ "shallowReactive": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.shallowReactive),
  17144. /* harmony export */ "shallowReadonly": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly),
  17145. /* harmony export */ "shallowRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.shallowRef),
  17146. /* harmony export */ "ssrContextKey": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ssrContextKey),
  17147. /* harmony export */ "ssrUtils": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.ssrUtils),
  17148. /* harmony export */ "stop": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.stop),
  17149. /* harmony export */ "toDisplayString": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toDisplayString),
  17150. /* harmony export */ "toHandlerKey": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toHandlerKey),
  17151. /* harmony export */ "toHandlers": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toHandlers),
  17152. /* harmony export */ "toRaw": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toRaw),
  17153. /* harmony export */ "toRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toRef),
  17154. /* harmony export */ "toRefs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.toRefs),
  17155. /* harmony export */ "transformVNodeArgs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.transformVNodeArgs),
  17156. /* harmony export */ "triggerRef": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.triggerRef),
  17157. /* harmony export */ "unref": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.unref),
  17158. /* harmony export */ "useAttrs": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useAttrs),
  17159. /* harmony export */ "useSSRContext": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useSSRContext),
  17160. /* harmony export */ "useSlots": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useSlots),
  17161. /* harmony export */ "useTransitionState": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useTransitionState),
  17162. /* harmony export */ "version": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.version),
  17163. /* harmony export */ "warn": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn),
  17164. /* harmony export */ "watch": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watch),
  17165. /* harmony export */ "watchEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchEffect),
  17166. /* harmony export */ "watchPostEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchPostEffect),
  17167. /* harmony export */ "watchSyncEffect": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchSyncEffect),
  17168. /* harmony export */ "withAsyncContext": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withAsyncContext),
  17169. /* harmony export */ "withCtx": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withCtx),
  17170. /* harmony export */ "withDefaults": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withDefaults),
  17171. /* harmony export */ "withDirectives": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withDirectives),
  17172. /* harmony export */ "withMemo": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withMemo),
  17173. /* harmony export */ "withScopeId": () => (/* reexport safe */ _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.withScopeId),
  17174. /* harmony export */ "Transition": () => (/* binding */ Transition),
  17175. /* harmony export */ "TransitionGroup": () => (/* binding */ TransitionGroup),
  17176. /* harmony export */ "VueElement": () => (/* binding */ VueElement),
  17177. /* harmony export */ "createApp": () => (/* binding */ createApp),
  17178. /* harmony export */ "createSSRApp": () => (/* binding */ createSSRApp),
  17179. /* harmony export */ "defineCustomElement": () => (/* binding */ defineCustomElement),
  17180. /* harmony export */ "defineSSRCustomElement": () => (/* binding */ defineSSRCustomElement),
  17181. /* harmony export */ "hydrate": () => (/* binding */ hydrate),
  17182. /* harmony export */ "initDirectivesForSSR": () => (/* binding */ initDirectivesForSSR),
  17183. /* harmony export */ "render": () => (/* binding */ render),
  17184. /* harmony export */ "useCssModule": () => (/* binding */ useCssModule),
  17185. /* harmony export */ "useCssVars": () => (/* binding */ useCssVars),
  17186. /* harmony export */ "vModelCheckbox": () => (/* binding */ vModelCheckbox),
  17187. /* harmony export */ "vModelDynamic": () => (/* binding */ vModelDynamic),
  17188. /* harmony export */ "vModelRadio": () => (/* binding */ vModelRadio),
  17189. /* harmony export */ "vModelSelect": () => (/* binding */ vModelSelect),
  17190. /* harmony export */ "vModelText": () => (/* binding */ vModelText),
  17191. /* harmony export */ "vShow": () => (/* binding */ vShow),
  17192. /* harmony export */ "withKeys": () => (/* binding */ withKeys),
  17193. /* harmony export */ "withModifiers": () => (/* binding */ withModifiers)
  17194. /* harmony export */ });
  17195. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  17196. /* harmony import */ var _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/runtime-core */ "./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");
  17197. /* harmony import */ var _vue_runtime_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @vue/runtime-core */ "./node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js");
  17198. const svgNS = 'http://www.w3.org/2000/svg';
  17199. const doc = (typeof document !== 'undefined' ? document : null);
  17200. const templateContainer = doc && doc.createElement('template');
  17201. const nodeOps = {
  17202. insert: (child, parent, anchor) => {
  17203. parent.insertBefore(child, anchor || null);
  17204. },
  17205. remove: child => {
  17206. const parent = child.parentNode;
  17207. if (parent) {
  17208. parent.removeChild(child);
  17209. }
  17210. },
  17211. createElement: (tag, isSVG, is, props) => {
  17212. const el = isSVG
  17213. ? doc.createElementNS(svgNS, tag)
  17214. : doc.createElement(tag, is ? { is } : undefined);
  17215. if (tag === 'select' && props && props.multiple != null) {
  17216. el.setAttribute('multiple', props.multiple);
  17217. }
  17218. return el;
  17219. },
  17220. createText: text => doc.createTextNode(text),
  17221. createComment: text => doc.createComment(text),
  17222. setText: (node, text) => {
  17223. node.nodeValue = text;
  17224. },
  17225. setElementText: (el, text) => {
  17226. el.textContent = text;
  17227. },
  17228. parentNode: node => node.parentNode,
  17229. nextSibling: node => node.nextSibling,
  17230. querySelector: selector => doc.querySelector(selector),
  17231. setScopeId(el, id) {
  17232. el.setAttribute(id, '');
  17233. },
  17234. cloneNode(el) {
  17235. const cloned = el.cloneNode(true);
  17236. // #3072
  17237. // - in `patchDOMProp`, we store the actual value in the `el._value` property.
  17238. // - normally, elements using `:value` bindings will not be hoisted, but if
  17239. // the bound value is a constant, e.g. `:value="true"` - they do get
  17240. // hoisted.
  17241. // - in production, hoisted nodes are cloned when subsequent inserts, but
  17242. // cloneNode() does not copy the custom property we attached.
  17243. // - This may need to account for other custom DOM properties we attach to
  17244. // elements in addition to `_value` in the future.
  17245. if (`_value` in el) {
  17246. cloned._value = el._value;
  17247. }
  17248. return cloned;
  17249. },
  17250. // __UNSAFE__
  17251. // Reason: innerHTML.
  17252. // Static content here can only come from compiled templates.
  17253. // As long as the user only uses trusted templates, this is safe.
  17254. insertStaticContent(content, parent, anchor, isSVG, start, end) {
  17255. // <parent> before | first ... last | anchor </parent>
  17256. const before = anchor ? anchor.previousSibling : parent.lastChild;
  17257. // #5308 can only take cached path if:
  17258. // - has a single root node
  17259. // - nextSibling info is still available
  17260. if (start && (start === end || start.nextSibling)) {
  17261. // cached
  17262. while (true) {
  17263. parent.insertBefore(start.cloneNode(true), anchor);
  17264. if (start === end || !(start = start.nextSibling))
  17265. break;
  17266. }
  17267. }
  17268. else {
  17269. // fresh insert
  17270. templateContainer.innerHTML = isSVG ? `<svg>${content}</svg>` : content;
  17271. const template = templateContainer.content;
  17272. if (isSVG) {
  17273. // remove outer svg wrapper
  17274. const wrapper = template.firstChild;
  17275. while (wrapper.firstChild) {
  17276. template.appendChild(wrapper.firstChild);
  17277. }
  17278. template.removeChild(wrapper);
  17279. }
  17280. parent.insertBefore(template, anchor);
  17281. }
  17282. return [
  17283. // first
  17284. before ? before.nextSibling : parent.firstChild,
  17285. // last
  17286. anchor ? anchor.previousSibling : parent.lastChild
  17287. ];
  17288. }
  17289. };
  17290. // compiler should normalize class + :class bindings on the same element
  17291. // into a single binding ['staticClass', dynamic]
  17292. function patchClass(el, value, isSVG) {
  17293. // directly setting className should be faster than setAttribute in theory
  17294. // if this is an element during a transition, take the temporary transition
  17295. // classes into account.
  17296. const transitionClasses = el._vtc;
  17297. if (transitionClasses) {
  17298. value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(' ');
  17299. }
  17300. if (value == null) {
  17301. el.removeAttribute('class');
  17302. }
  17303. else if (isSVG) {
  17304. el.setAttribute('class', value);
  17305. }
  17306. else {
  17307. el.className = value;
  17308. }
  17309. }
  17310. function patchStyle(el, prev, next) {
  17311. const style = el.style;
  17312. const isCssString = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(next);
  17313. if (next && !isCssString) {
  17314. for (const key in next) {
  17315. setStyle(style, key, next[key]);
  17316. }
  17317. if (prev && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(prev)) {
  17318. for (const key in prev) {
  17319. if (next[key] == null) {
  17320. setStyle(style, key, '');
  17321. }
  17322. }
  17323. }
  17324. }
  17325. else {
  17326. const currentDisplay = style.display;
  17327. if (isCssString) {
  17328. if (prev !== next) {
  17329. style.cssText = next;
  17330. }
  17331. }
  17332. else if (prev) {
  17333. el.removeAttribute('style');
  17334. }
  17335. // indicates that the `display` of the element is controlled by `v-show`,
  17336. // so we always keep the current `display` value regardless of the `style`
  17337. // value, thus handing over control to `v-show`.
  17338. if ('_vod' in el) {
  17339. style.display = currentDisplay;
  17340. }
  17341. }
  17342. }
  17343. const importantRE = /\s*!important$/;
  17344. function setStyle(style, name, val) {
  17345. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(val)) {
  17346. val.forEach(v => setStyle(style, name, v));
  17347. }
  17348. else {
  17349. if (name.startsWith('--')) {
  17350. // custom property definition
  17351. style.setProperty(name, val);
  17352. }
  17353. else {
  17354. const prefixed = autoPrefix(style, name);
  17355. if (importantRE.test(val)) {
  17356. // !important
  17357. style.setProperty((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(prefixed), val.replace(importantRE, ''), 'important');
  17358. }
  17359. else {
  17360. style[prefixed] = val;
  17361. }
  17362. }
  17363. }
  17364. }
  17365. const prefixes = ['Webkit', 'Moz', 'ms'];
  17366. const prefixCache = {};
  17367. function autoPrefix(style, rawName) {
  17368. const cached = prefixCache[rawName];
  17369. if (cached) {
  17370. return cached;
  17371. }
  17372. let name = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(rawName);
  17373. if (name !== 'filter' && name in style) {
  17374. return (prefixCache[rawName] = name);
  17375. }
  17376. name = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.capitalize)(name);
  17377. for (let i = 0; i < prefixes.length; i++) {
  17378. const prefixed = prefixes[i] + name;
  17379. if (prefixed in style) {
  17380. return (prefixCache[rawName] = prefixed);
  17381. }
  17382. }
  17383. return rawName;
  17384. }
  17385. const xlinkNS = 'http://www.w3.org/1999/xlink';
  17386. function patchAttr(el, key, value, isSVG, instance) {
  17387. if (isSVG && key.startsWith('xlink:')) {
  17388. if (value == null) {
  17389. el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
  17390. }
  17391. else {
  17392. el.setAttributeNS(xlinkNS, key, value);
  17393. }
  17394. }
  17395. else {
  17396. // note we are only checking boolean attributes that don't have a
  17397. // corresponding dom prop of the same name here.
  17398. const isBoolean = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSpecialBooleanAttr)(key);
  17399. if (value == null || (isBoolean && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.includeBooleanAttr)(value))) {
  17400. el.removeAttribute(key);
  17401. }
  17402. else {
  17403. el.setAttribute(key, isBoolean ? '' : value);
  17404. }
  17405. }
  17406. }
  17407. // __UNSAFE__
  17408. // functions. The user is responsible for using them with only trusted content.
  17409. function patchDOMProp(el, key, value,
  17410. // the following args are passed only due to potential innerHTML/textContent
  17411. // overriding existing VNodes, in which case the old tree must be properly
  17412. // unmounted.
  17413. prevChildren, parentComponent, parentSuspense, unmountChildren) {
  17414. if (key === 'innerHTML' || key === 'textContent') {
  17415. if (prevChildren) {
  17416. unmountChildren(prevChildren, parentComponent, parentSuspense);
  17417. }
  17418. el[key] = value == null ? '' : value;
  17419. return;
  17420. }
  17421. if (key === 'value' &&
  17422. el.tagName !== 'PROGRESS' &&
  17423. // custom elements may use _value internally
  17424. !el.tagName.includes('-')) {
  17425. // store value as _value as well since
  17426. // non-string values will be stringified.
  17427. el._value = value;
  17428. const newValue = value == null ? '' : value;
  17429. if (el.value !== newValue ||
  17430. // #4956: always set for OPTION elements because its value falls back to
  17431. // textContent if no value attribute is present. And setting .value for
  17432. // OPTION has no side effect
  17433. el.tagName === 'OPTION') {
  17434. el.value = newValue;
  17435. }
  17436. if (value == null) {
  17437. el.removeAttribute(key);
  17438. }
  17439. return;
  17440. }
  17441. if (value === '' || value == null) {
  17442. const type = typeof el[key];
  17443. if (type === 'boolean') {
  17444. // e.g. <select multiple> compiles to { multiple: '' }
  17445. el[key] = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.includeBooleanAttr)(value);
  17446. return;
  17447. }
  17448. else if (value == null && type === 'string') {
  17449. // e.g. <div :id="null">
  17450. el[key] = '';
  17451. el.removeAttribute(key);
  17452. return;
  17453. }
  17454. else if (type === 'number') {
  17455. // e.g. <img :width="null">
  17456. // the value of some IDL attr must be greater than 0, e.g. input.size = 0 -> error
  17457. try {
  17458. el[key] = 0;
  17459. }
  17460. catch (_a) { }
  17461. el.removeAttribute(key);
  17462. return;
  17463. }
  17464. }
  17465. // some properties perform value validation and throw
  17466. try {
  17467. el[key] = value;
  17468. }
  17469. catch (e) {
  17470. if ((true)) {
  17471. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Failed setting prop "${key}" on <${el.tagName.toLowerCase()}>: ` +
  17472. `value ${value} is invalid.`, e);
  17473. }
  17474. }
  17475. }
  17476. // Async edge case fix requires storing an event listener's attach timestamp.
  17477. let _getNow = Date.now;
  17478. let skipTimestampCheck = false;
  17479. if (typeof window !== 'undefined') {
  17480. // Determine what event timestamp the browser is using. Annoyingly, the
  17481. // timestamp can either be hi-res (relative to page load) or low-res
  17482. // (relative to UNIX epoch), so in order to compare time we have to use the
  17483. // same timestamp type when saving the flush timestamp.
  17484. if (_getNow() > document.createEvent('Event').timeStamp) {
  17485. // if the low-res timestamp which is bigger than the event timestamp
  17486. // (which is evaluated AFTER) it means the event is using a hi-res timestamp,
  17487. // and we need to use the hi-res version for event listeners as well.
  17488. _getNow = () => performance.now();
  17489. }
  17490. // #3485: Firefox <= 53 has incorrect Event.timeStamp implementation
  17491. // and does not fire microtasks in between event propagation, so safe to exclude.
  17492. const ffMatch = navigator.userAgent.match(/firefox\/(\d+)/i);
  17493. skipTimestampCheck = !!(ffMatch && Number(ffMatch[1]) <= 53);
  17494. }
  17495. // To avoid the overhead of repeatedly calling performance.now(), we cache
  17496. // and use the same timestamp for all event listeners attached in the same tick.
  17497. let cachedNow = 0;
  17498. const p = Promise.resolve();
  17499. const reset = () => {
  17500. cachedNow = 0;
  17501. };
  17502. const getNow = () => cachedNow || (p.then(reset), (cachedNow = _getNow()));
  17503. function addEventListener(el, event, handler, options) {
  17504. el.addEventListener(event, handler, options);
  17505. }
  17506. function removeEventListener(el, event, handler, options) {
  17507. el.removeEventListener(event, handler, options);
  17508. }
  17509. function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
  17510. // vei = vue event invokers
  17511. const invokers = el._vei || (el._vei = {});
  17512. const existingInvoker = invokers[rawName];
  17513. if (nextValue && existingInvoker) {
  17514. // patch
  17515. existingInvoker.value = nextValue;
  17516. }
  17517. else {
  17518. const [name, options] = parseName(rawName);
  17519. if (nextValue) {
  17520. // add
  17521. const invoker = (invokers[rawName] = createInvoker(nextValue, instance));
  17522. addEventListener(el, name, invoker, options);
  17523. }
  17524. else if (existingInvoker) {
  17525. // remove
  17526. removeEventListener(el, name, existingInvoker, options);
  17527. invokers[rawName] = undefined;
  17528. }
  17529. }
  17530. }
  17531. const optionsModifierRE = /(?:Once|Passive|Capture)$/;
  17532. function parseName(name) {
  17533. let options;
  17534. if (optionsModifierRE.test(name)) {
  17535. options = {};
  17536. let m;
  17537. while ((m = name.match(optionsModifierRE))) {
  17538. name = name.slice(0, name.length - m[0].length);
  17539. options[m[0].toLowerCase()] = true;
  17540. }
  17541. }
  17542. return [(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(name.slice(2)), options];
  17543. }
  17544. function createInvoker(initialValue, instance) {
  17545. const invoker = (e) => {
  17546. // async edge case #6566: inner click event triggers patch, event handler
  17547. // attached to outer element during patch, and triggered again. This
  17548. // happens because browsers fire microtask ticks between event propagation.
  17549. // the solution is simple: we save the timestamp when a handler is attached,
  17550. // and the handler would only fire if the event passed to it was fired
  17551. // AFTER it was attached.
  17552. const timeStamp = e.timeStamp || _getNow();
  17553. if (skipTimestampCheck || timeStamp >= invoker.attached - 1) {
  17554. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.callWithAsyncErrorHandling)(patchStopImmediatePropagation(e, invoker.value), instance, 5 /* NATIVE_EVENT_HANDLER */, [e]);
  17555. }
  17556. };
  17557. invoker.value = initialValue;
  17558. invoker.attached = getNow();
  17559. return invoker;
  17560. }
  17561. function patchStopImmediatePropagation(e, value) {
  17562. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  17563. const originalStop = e.stopImmediatePropagation;
  17564. e.stopImmediatePropagation = () => {
  17565. originalStop.call(e);
  17566. e._stopped = true;
  17567. };
  17568. return value.map(fn => (e) => !e._stopped && fn && fn(e));
  17569. }
  17570. else {
  17571. return value;
  17572. }
  17573. }
  17574. const nativeOnRE = /^on[a-z]/;
  17575. const patchProp = (el, key, prevValue, nextValue, isSVG = false, prevChildren, parentComponent, parentSuspense, unmountChildren) => {
  17576. if (key === 'class') {
  17577. patchClass(el, nextValue, isSVG);
  17578. }
  17579. else if (key === 'style') {
  17580. patchStyle(el, prevValue, nextValue);
  17581. }
  17582. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isOn)(key)) {
  17583. // ignore v-model listeners
  17584. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isModelListener)(key)) {
  17585. patchEvent(el, key, prevValue, nextValue, parentComponent);
  17586. }
  17587. }
  17588. else if (key[0] === '.'
  17589. ? ((key = key.slice(1)), true)
  17590. : key[0] === '^'
  17591. ? ((key = key.slice(1)), false)
  17592. : shouldSetAsProp(el, key, nextValue, isSVG)) {
  17593. patchDOMProp(el, key, nextValue, prevChildren, parentComponent, parentSuspense, unmountChildren);
  17594. }
  17595. else {
  17596. // special case for <input v-model type="checkbox"> with
  17597. // :true-value & :false-value
  17598. // store value as dom properties since non-string values will be
  17599. // stringified.
  17600. if (key === 'true-value') {
  17601. el._trueValue = nextValue;
  17602. }
  17603. else if (key === 'false-value') {
  17604. el._falseValue = nextValue;
  17605. }
  17606. patchAttr(el, key, nextValue, isSVG);
  17607. }
  17608. };
  17609. function shouldSetAsProp(el, key, value, isSVG) {
  17610. if (isSVG) {
  17611. // most keys must be set as attribute on svg elements to work
  17612. // ...except innerHTML & textContent
  17613. if (key === 'innerHTML' || key === 'textContent') {
  17614. return true;
  17615. }
  17616. // or native onclick with function values
  17617. if (key in el && nativeOnRE.test(key) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(value)) {
  17618. return true;
  17619. }
  17620. return false;
  17621. }
  17622. // spellcheck and draggable are numerated attrs, however their
  17623. // corresponding DOM properties are actually booleans - this leads to
  17624. // setting it with a string "false" value leading it to be coerced to
  17625. // `true`, so we need to always treat them as attributes.
  17626. // Note that `contentEditable` doesn't have this problem: its DOM
  17627. // property is also enumerated string values.
  17628. if (key === 'spellcheck' || key === 'draggable') {
  17629. return false;
  17630. }
  17631. // #1787, #2840 form property on form elements is readonly and must be set as
  17632. // attribute.
  17633. if (key === 'form') {
  17634. return false;
  17635. }
  17636. // #1526 <input list> must be set as attribute
  17637. if (key === 'list' && el.tagName === 'INPUT') {
  17638. return false;
  17639. }
  17640. // #2766 <textarea type> must be set as attribute
  17641. if (key === 'type' && el.tagName === 'TEXTAREA') {
  17642. return false;
  17643. }
  17644. // native onclick with string value, must be set as attribute
  17645. if (nativeOnRE.test(key) && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(value)) {
  17646. return false;
  17647. }
  17648. return key in el;
  17649. }
  17650. function defineCustomElement(options, hydate) {
  17651. const Comp = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.defineComponent)(options);
  17652. class VueCustomElement extends VueElement {
  17653. constructor(initialProps) {
  17654. super(Comp, initialProps, hydate);
  17655. }
  17656. }
  17657. VueCustomElement.def = Comp;
  17658. return VueCustomElement;
  17659. }
  17660. const defineSSRCustomElement = ((options) => {
  17661. // @ts-ignore
  17662. return defineCustomElement(options, hydrate);
  17663. });
  17664. const BaseClass = (typeof HTMLElement !== 'undefined' ? HTMLElement : class {
  17665. });
  17666. class VueElement extends BaseClass {
  17667. constructor(_def, _props = {}, hydrate) {
  17668. super();
  17669. this._def = _def;
  17670. this._props = _props;
  17671. /**
  17672. * @internal
  17673. */
  17674. this._instance = null;
  17675. this._connected = false;
  17676. this._resolved = false;
  17677. this._numberProps = null;
  17678. if (this.shadowRoot && hydrate) {
  17679. hydrate(this._createVNode(), this.shadowRoot);
  17680. }
  17681. else {
  17682. if (( true) && this.shadowRoot) {
  17683. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Custom element has pre-rendered declarative shadow root but is not ` +
  17684. `defined as hydratable. Use \`defineSSRCustomElement\`.`);
  17685. }
  17686. this.attachShadow({ mode: 'open' });
  17687. }
  17688. }
  17689. connectedCallback() {
  17690. this._connected = true;
  17691. if (!this._instance) {
  17692. this._resolveDef();
  17693. }
  17694. }
  17695. disconnectedCallback() {
  17696. this._connected = false;
  17697. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.nextTick)(() => {
  17698. if (!this._connected) {
  17699. render(null, this.shadowRoot);
  17700. this._instance = null;
  17701. }
  17702. });
  17703. }
  17704. /**
  17705. * resolve inner component definition (handle possible async component)
  17706. */
  17707. _resolveDef() {
  17708. if (this._resolved) {
  17709. return;
  17710. }
  17711. this._resolved = true;
  17712. // set initial attrs
  17713. for (let i = 0; i < this.attributes.length; i++) {
  17714. this._setAttr(this.attributes[i].name);
  17715. }
  17716. // watch future attr changes
  17717. new MutationObserver(mutations => {
  17718. for (const m of mutations) {
  17719. this._setAttr(m.attributeName);
  17720. }
  17721. }).observe(this, { attributes: true });
  17722. const resolve = (def) => {
  17723. const { props, styles } = def;
  17724. const hasOptions = !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(props);
  17725. const rawKeys = props ? (hasOptions ? Object.keys(props) : props) : [];
  17726. // cast Number-type props set before resolve
  17727. let numberProps;
  17728. if (hasOptions) {
  17729. for (const key in this._props) {
  17730. const opt = props[key];
  17731. if (opt === Number || (opt && opt.type === Number)) {
  17732. this._props[key] = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(this._props[key]);
  17733. (numberProps || (numberProps = Object.create(null)))[key] = true;
  17734. }
  17735. }
  17736. }
  17737. this._numberProps = numberProps;
  17738. // check if there are props set pre-upgrade or connect
  17739. for (const key of Object.keys(this)) {
  17740. if (key[0] !== '_') {
  17741. this._setProp(key, this[key], true, false);
  17742. }
  17743. }
  17744. // defining getter/setters on prototype
  17745. for (const key of rawKeys.map(_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)) {
  17746. Object.defineProperty(this, key, {
  17747. get() {
  17748. return this._getProp(key);
  17749. },
  17750. set(val) {
  17751. this._setProp(key, val);
  17752. }
  17753. });
  17754. }
  17755. // apply CSS
  17756. this._applyStyles(styles);
  17757. // initial render
  17758. this._update();
  17759. };
  17760. const asyncDef = this._def.__asyncLoader;
  17761. if (asyncDef) {
  17762. asyncDef().then(resolve);
  17763. }
  17764. else {
  17765. resolve(this._def);
  17766. }
  17767. }
  17768. _setAttr(key) {
  17769. let value = this.getAttribute(key);
  17770. if (this._numberProps && this._numberProps[key]) {
  17771. value = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(value);
  17772. }
  17773. this._setProp((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.camelize)(key), value, false);
  17774. }
  17775. /**
  17776. * @internal
  17777. */
  17778. _getProp(key) {
  17779. return this._props[key];
  17780. }
  17781. /**
  17782. * @internal
  17783. */
  17784. _setProp(key, val, shouldReflect = true, shouldUpdate = true) {
  17785. if (val !== this._props[key]) {
  17786. this._props[key] = val;
  17787. if (shouldUpdate && this._instance) {
  17788. this._update();
  17789. }
  17790. // reflect
  17791. if (shouldReflect) {
  17792. if (val === true) {
  17793. this.setAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key), '');
  17794. }
  17795. else if (typeof val === 'string' || typeof val === 'number') {
  17796. this.setAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key), val + '');
  17797. }
  17798. else if (!val) {
  17799. this.removeAttribute((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(key));
  17800. }
  17801. }
  17802. }
  17803. }
  17804. _update() {
  17805. render(this._createVNode(), this.shadowRoot);
  17806. }
  17807. _createVNode() {
  17808. const vnode = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createVNode)(this._def, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, this._props));
  17809. if (!this._instance) {
  17810. vnode.ce = instance => {
  17811. this._instance = instance;
  17812. instance.isCE = true;
  17813. // HMR
  17814. if ((true)) {
  17815. instance.ceReload = newStyles => {
  17816. // always reset styles
  17817. if (this._styles) {
  17818. this._styles.forEach(s => this.shadowRoot.removeChild(s));
  17819. this._styles.length = 0;
  17820. }
  17821. this._applyStyles(newStyles);
  17822. // if this is an async component, ceReload is called from the inner
  17823. // component so no need to reload the async wrapper
  17824. if (!this._def.__asyncLoader) {
  17825. // reload
  17826. this._instance = null;
  17827. this._update();
  17828. }
  17829. };
  17830. }
  17831. // intercept emit
  17832. instance.emit = (event, ...args) => {
  17833. this.dispatchEvent(new CustomEvent(event, {
  17834. detail: args
  17835. }));
  17836. };
  17837. // locate nearest Vue custom element parent for provide/inject
  17838. let parent = this;
  17839. while ((parent =
  17840. parent && (parent.parentNode || parent.host))) {
  17841. if (parent instanceof VueElement) {
  17842. instance.parent = parent._instance;
  17843. break;
  17844. }
  17845. }
  17846. };
  17847. }
  17848. return vnode;
  17849. }
  17850. _applyStyles(styles) {
  17851. if (styles) {
  17852. styles.forEach(css => {
  17853. const s = document.createElement('style');
  17854. s.textContent = css;
  17855. this.shadowRoot.appendChild(s);
  17856. // record for HMR
  17857. if ((true)) {
  17858. (this._styles || (this._styles = [])).push(s);
  17859. }
  17860. });
  17861. }
  17862. }
  17863. }
  17864. function useCssModule(name = '$style') {
  17865. /* istanbul ignore else */
  17866. {
  17867. const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance)();
  17868. if (!instance) {
  17869. ( true) && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`useCssModule must be called inside setup()`);
  17870. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  17871. }
  17872. const modules = instance.type.__cssModules;
  17873. if (!modules) {
  17874. ( true) && (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Current instance does not have CSS modules injected.`);
  17875. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  17876. }
  17877. const mod = modules[name];
  17878. if (!mod) {
  17879. ( true) &&
  17880. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Current instance does not have CSS module named "${name}".`);
  17881. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.EMPTY_OBJ;
  17882. }
  17883. return mod;
  17884. }
  17885. }
  17886. /**
  17887. * Runtime helper for SFC's CSS variable injection feature.
  17888. * @private
  17889. */
  17890. function useCssVars(getter) {
  17891. const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance)();
  17892. /* istanbul ignore next */
  17893. if (!instance) {
  17894. ( true) &&
  17895. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`useCssVars is called without current active component instance.`);
  17896. return;
  17897. }
  17898. const setVars = () => setVarsOnVNode(instance.subTree, getter(instance.proxy));
  17899. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.watchPostEffect)(setVars);
  17900. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onMounted)(() => {
  17901. const ob = new MutationObserver(setVars);
  17902. ob.observe(instance.subTree.el.parentNode, { childList: true });
  17903. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUnmounted)(() => ob.disconnect());
  17904. });
  17905. }
  17906. function setVarsOnVNode(vnode, vars) {
  17907. if (vnode.shapeFlag & 128 /* SUSPENSE */) {
  17908. const suspense = vnode.suspense;
  17909. vnode = suspense.activeBranch;
  17910. if (suspense.pendingBranch && !suspense.isHydrating) {
  17911. suspense.effects.push(() => {
  17912. setVarsOnVNode(suspense.activeBranch, vars);
  17913. });
  17914. }
  17915. }
  17916. // drill down HOCs until it's a non-component vnode
  17917. while (vnode.component) {
  17918. vnode = vnode.component.subTree;
  17919. }
  17920. if (vnode.shapeFlag & 1 /* ELEMENT */ && vnode.el) {
  17921. setVarsOnNode(vnode.el, vars);
  17922. }
  17923. else if (vnode.type === _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Fragment) {
  17924. vnode.children.forEach(c => setVarsOnVNode(c, vars));
  17925. }
  17926. else if (vnode.type === _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Static) {
  17927. let { el, anchor } = vnode;
  17928. while (el) {
  17929. setVarsOnNode(el, vars);
  17930. if (el === anchor)
  17931. break;
  17932. el = el.nextSibling;
  17933. }
  17934. }
  17935. }
  17936. function setVarsOnNode(el, vars) {
  17937. if (el.nodeType === 1) {
  17938. const style = el.style;
  17939. for (const key in vars) {
  17940. style.setProperty(`--${key}`, vars[key]);
  17941. }
  17942. }
  17943. }
  17944. const TRANSITION = 'transition';
  17945. const ANIMATION = 'animation';
  17946. // DOM Transition is a higher-order-component based on the platform-agnostic
  17947. // base Transition component, with DOM-specific logic.
  17948. const Transition = (props, { slots }) => (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.h)(_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.BaseTransition, resolveTransitionProps(props), slots);
  17949. Transition.displayName = 'Transition';
  17950. const DOMTransitionPropsValidators = {
  17951. name: String,
  17952. type: String,
  17953. css: {
  17954. type: Boolean,
  17955. default: true
  17956. },
  17957. duration: [String, Number, Object],
  17958. enterFromClass: String,
  17959. enterActiveClass: String,
  17960. enterToClass: String,
  17961. appearFromClass: String,
  17962. appearActiveClass: String,
  17963. appearToClass: String,
  17964. leaveFromClass: String,
  17965. leaveActiveClass: String,
  17966. leaveToClass: String
  17967. };
  17968. const TransitionPropsValidators = (Transition.props =
  17969. /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.BaseTransition.props, DOMTransitionPropsValidators));
  17970. /**
  17971. * #3227 Incoming hooks may be merged into arrays when wrapping Transition
  17972. * with custom HOCs.
  17973. */
  17974. const callHook = (hook, args = []) => {
  17975. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)) {
  17976. hook.forEach(h => h(...args));
  17977. }
  17978. else if (hook) {
  17979. hook(...args);
  17980. }
  17981. };
  17982. /**
  17983. * Check if a hook expects a callback (2nd arg), which means the user
  17984. * intends to explicitly control the end of the transition.
  17985. */
  17986. const hasExplicitCallback = (hook) => {
  17987. return hook
  17988. ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(hook)
  17989. ? hook.some(h => h.length > 1)
  17990. : hook.length > 1
  17991. : false;
  17992. };
  17993. function resolveTransitionProps(rawProps) {
  17994. const baseProps = {};
  17995. for (const key in rawProps) {
  17996. if (!(key in DOMTransitionPropsValidators)) {
  17997. baseProps[key] = rawProps[key];
  17998. }
  17999. }
  18000. if (rawProps.css === false) {
  18001. return baseProps;
  18002. }
  18003. const { name = 'v', type, duration, enterFromClass = `${name}-enter-from`, enterActiveClass = `${name}-enter-active`, enterToClass = `${name}-enter-to`, appearFromClass = enterFromClass, appearActiveClass = enterActiveClass, appearToClass = enterToClass, leaveFromClass = `${name}-leave-from`, leaveActiveClass = `${name}-leave-active`, leaveToClass = `${name}-leave-to` } = rawProps;
  18004. const durations = normalizeDuration(duration);
  18005. const enterDuration = durations && durations[0];
  18006. const leaveDuration = durations && durations[1];
  18007. const { onBeforeEnter, onEnter, onEnterCancelled, onLeave, onLeaveCancelled, onBeforeAppear = onBeforeEnter, onAppear = onEnter, onAppearCancelled = onEnterCancelled } = baseProps;
  18008. const finishEnter = (el, isAppear, done) => {
  18009. removeTransitionClass(el, isAppear ? appearToClass : enterToClass);
  18010. removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);
  18011. done && done();
  18012. };
  18013. const finishLeave = (el, done) => {
  18014. removeTransitionClass(el, leaveToClass);
  18015. removeTransitionClass(el, leaveActiveClass);
  18016. done && done();
  18017. };
  18018. const makeEnterHook = (isAppear) => {
  18019. return (el, done) => {
  18020. const hook = isAppear ? onAppear : onEnter;
  18021. const resolve = () => finishEnter(el, isAppear, done);
  18022. callHook(hook, [el, resolve]);
  18023. nextFrame(() => {
  18024. removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);
  18025. addTransitionClass(el, isAppear ? appearToClass : enterToClass);
  18026. if (!hasExplicitCallback(hook)) {
  18027. whenTransitionEnds(el, type, enterDuration, resolve);
  18028. }
  18029. });
  18030. };
  18031. };
  18032. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)(baseProps, {
  18033. onBeforeEnter(el) {
  18034. callHook(onBeforeEnter, [el]);
  18035. addTransitionClass(el, enterFromClass);
  18036. addTransitionClass(el, enterActiveClass);
  18037. },
  18038. onBeforeAppear(el) {
  18039. callHook(onBeforeAppear, [el]);
  18040. addTransitionClass(el, appearFromClass);
  18041. addTransitionClass(el, appearActiveClass);
  18042. },
  18043. onEnter: makeEnterHook(false),
  18044. onAppear: makeEnterHook(true),
  18045. onLeave(el, done) {
  18046. const resolve = () => finishLeave(el, done);
  18047. addTransitionClass(el, leaveFromClass);
  18048. // force reflow so *-leave-from classes immediately take effect (#2593)
  18049. forceReflow();
  18050. addTransitionClass(el, leaveActiveClass);
  18051. nextFrame(() => {
  18052. removeTransitionClass(el, leaveFromClass);
  18053. addTransitionClass(el, leaveToClass);
  18054. if (!hasExplicitCallback(onLeave)) {
  18055. whenTransitionEnds(el, type, leaveDuration, resolve);
  18056. }
  18057. });
  18058. callHook(onLeave, [el, resolve]);
  18059. },
  18060. onEnterCancelled(el) {
  18061. finishEnter(el, false);
  18062. callHook(onEnterCancelled, [el]);
  18063. },
  18064. onAppearCancelled(el) {
  18065. finishEnter(el, true);
  18066. callHook(onAppearCancelled, [el]);
  18067. },
  18068. onLeaveCancelled(el) {
  18069. finishLeave(el);
  18070. callHook(onLeaveCancelled, [el]);
  18071. }
  18072. });
  18073. }
  18074. function normalizeDuration(duration) {
  18075. if (duration == null) {
  18076. return null;
  18077. }
  18078. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isObject)(duration)) {
  18079. return [NumberOf(duration.enter), NumberOf(duration.leave)];
  18080. }
  18081. else {
  18082. const n = NumberOf(duration);
  18083. return [n, n];
  18084. }
  18085. }
  18086. function NumberOf(val) {
  18087. const res = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(val);
  18088. if ((true))
  18089. validateDuration(res);
  18090. return res;
  18091. }
  18092. function validateDuration(val) {
  18093. if (typeof val !== 'number') {
  18094. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<transition> explicit duration is not a valid number - ` +
  18095. `got ${JSON.stringify(val)}.`);
  18096. }
  18097. else if (isNaN(val)) {
  18098. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<transition> explicit duration is NaN - ` +
  18099. 'the duration expression might be incorrect.');
  18100. }
  18101. }
  18102. function addTransitionClass(el, cls) {
  18103. cls.split(/\s+/).forEach(c => c && el.classList.add(c));
  18104. (el._vtc ||
  18105. (el._vtc = new Set())).add(cls);
  18106. }
  18107. function removeTransitionClass(el, cls) {
  18108. cls.split(/\s+/).forEach(c => c && el.classList.remove(c));
  18109. const { _vtc } = el;
  18110. if (_vtc) {
  18111. _vtc.delete(cls);
  18112. if (!_vtc.size) {
  18113. el._vtc = undefined;
  18114. }
  18115. }
  18116. }
  18117. function nextFrame(cb) {
  18118. requestAnimationFrame(() => {
  18119. requestAnimationFrame(cb);
  18120. });
  18121. }
  18122. let endId = 0;
  18123. function whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {
  18124. const id = (el._endId = ++endId);
  18125. const resolveIfNotStale = () => {
  18126. if (id === el._endId) {
  18127. resolve();
  18128. }
  18129. };
  18130. if (explicitTimeout) {
  18131. return setTimeout(resolveIfNotStale, explicitTimeout);
  18132. }
  18133. const { type, timeout, propCount } = getTransitionInfo(el, expectedType);
  18134. if (!type) {
  18135. return resolve();
  18136. }
  18137. const endEvent = type + 'end';
  18138. let ended = 0;
  18139. const end = () => {
  18140. el.removeEventListener(endEvent, onEnd);
  18141. resolveIfNotStale();
  18142. };
  18143. const onEnd = (e) => {
  18144. if (e.target === el && ++ended >= propCount) {
  18145. end();
  18146. }
  18147. };
  18148. setTimeout(() => {
  18149. if (ended < propCount) {
  18150. end();
  18151. }
  18152. }, timeout + 1);
  18153. el.addEventListener(endEvent, onEnd);
  18154. }
  18155. function getTransitionInfo(el, expectedType) {
  18156. const styles = window.getComputedStyle(el);
  18157. // JSDOM may return undefined for transition properties
  18158. const getStyleProperties = (key) => (styles[key] || '').split(', ');
  18159. const transitionDelays = getStyleProperties(TRANSITION + 'Delay');
  18160. const transitionDurations = getStyleProperties(TRANSITION + 'Duration');
  18161. const transitionTimeout = getTimeout(transitionDelays, transitionDurations);
  18162. const animationDelays = getStyleProperties(ANIMATION + 'Delay');
  18163. const animationDurations = getStyleProperties(ANIMATION + 'Duration');
  18164. const animationTimeout = getTimeout(animationDelays, animationDurations);
  18165. let type = null;
  18166. let timeout = 0;
  18167. let propCount = 0;
  18168. /* istanbul ignore if */
  18169. if (expectedType === TRANSITION) {
  18170. if (transitionTimeout > 0) {
  18171. type = TRANSITION;
  18172. timeout = transitionTimeout;
  18173. propCount = transitionDurations.length;
  18174. }
  18175. }
  18176. else if (expectedType === ANIMATION) {
  18177. if (animationTimeout > 0) {
  18178. type = ANIMATION;
  18179. timeout = animationTimeout;
  18180. propCount = animationDurations.length;
  18181. }
  18182. }
  18183. else {
  18184. timeout = Math.max(transitionTimeout, animationTimeout);
  18185. type =
  18186. timeout > 0
  18187. ? transitionTimeout > animationTimeout
  18188. ? TRANSITION
  18189. : ANIMATION
  18190. : null;
  18191. propCount = type
  18192. ? type === TRANSITION
  18193. ? transitionDurations.length
  18194. : animationDurations.length
  18195. : 0;
  18196. }
  18197. const hasTransform = type === TRANSITION &&
  18198. /\b(transform|all)(,|$)/.test(styles[TRANSITION + 'Property']);
  18199. return {
  18200. type,
  18201. timeout,
  18202. propCount,
  18203. hasTransform
  18204. };
  18205. }
  18206. function getTimeout(delays, durations) {
  18207. while (delays.length < durations.length) {
  18208. delays = delays.concat(delays);
  18209. }
  18210. return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));
  18211. }
  18212. // Old versions of Chromium (below 61.0.3163.100) formats floating pointer
  18213. // numbers in a locale-dependent way, using a comma instead of a dot.
  18214. // If comma is not replaced with a dot, the input will be rounded down
  18215. // (i.e. acting as a floor function) causing unexpected behaviors
  18216. function toMs(s) {
  18217. return Number(s.slice(0, -1).replace(',', '.')) * 1000;
  18218. }
  18219. // synchronously force layout to put elements into a certain state
  18220. function forceReflow() {
  18221. return document.body.offsetHeight;
  18222. }
  18223. const positionMap = new WeakMap();
  18224. const newPositionMap = new WeakMap();
  18225. const TransitionGroupImpl = {
  18226. name: 'TransitionGroup',
  18227. props: /*#__PURE__*/ (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({}, TransitionPropsValidators, {
  18228. tag: String,
  18229. moveClass: String
  18230. }),
  18231. setup(props, { slots }) {
  18232. const instance = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance)();
  18233. const state = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.useTransitionState)();
  18234. let prevChildren;
  18235. let children;
  18236. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.onUpdated)(() => {
  18237. // children is guaranteed to exist after initial render
  18238. if (!prevChildren.length) {
  18239. return;
  18240. }
  18241. const moveClass = props.moveClass || `${props.name || 'v'}-move`;
  18242. if (!hasCSSTransform(prevChildren[0].el, instance.vnode.el, moveClass)) {
  18243. return;
  18244. }
  18245. // we divide the work into three loops to avoid mixing DOM reads and writes
  18246. // in each iteration - which helps prevent layout thrashing.
  18247. prevChildren.forEach(callPendingCbs);
  18248. prevChildren.forEach(recordPosition);
  18249. const movedChildren = prevChildren.filter(applyTranslation);
  18250. // force reflow to put everything in position
  18251. forceReflow();
  18252. movedChildren.forEach(c => {
  18253. const el = c.el;
  18254. const style = el.style;
  18255. addTransitionClass(el, moveClass);
  18256. style.transform = style.webkitTransform = style.transitionDuration = '';
  18257. const cb = (el._moveCb = (e) => {
  18258. if (e && e.target !== el) {
  18259. return;
  18260. }
  18261. if (!e || /transform$/.test(e.propertyName)) {
  18262. el.removeEventListener('transitionend', cb);
  18263. el._moveCb = null;
  18264. removeTransitionClass(el, moveClass);
  18265. }
  18266. });
  18267. el.addEventListener('transitionend', cb);
  18268. });
  18269. });
  18270. return () => {
  18271. const rawProps = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_2__.toRaw)(props);
  18272. const cssTransitionProps = resolveTransitionProps(rawProps);
  18273. let tag = rawProps.tag || _vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.Fragment;
  18274. prevChildren = children;
  18275. children = slots.default ? (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.getTransitionRawChildren)(slots.default()) : [];
  18276. for (let i = 0; i < children.length; i++) {
  18277. const child = children[i];
  18278. if (child.key != null) {
  18279. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks)(child, (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks)(child, cssTransitionProps, state, instance));
  18280. }
  18281. else if ((true)) {
  18282. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<TransitionGroup> children must be keyed.`);
  18283. }
  18284. }
  18285. if (prevChildren) {
  18286. for (let i = 0; i < prevChildren.length; i++) {
  18287. const child = prevChildren[i];
  18288. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks)(child, (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks)(child, cssTransitionProps, state, instance));
  18289. positionMap.set(child, child.el.getBoundingClientRect());
  18290. }
  18291. }
  18292. return (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createVNode)(tag, null, children);
  18293. };
  18294. }
  18295. };
  18296. const TransitionGroup = TransitionGroupImpl;
  18297. function callPendingCbs(c) {
  18298. const el = c.el;
  18299. if (el._moveCb) {
  18300. el._moveCb();
  18301. }
  18302. if (el._enterCb) {
  18303. el._enterCb();
  18304. }
  18305. }
  18306. function recordPosition(c) {
  18307. newPositionMap.set(c, c.el.getBoundingClientRect());
  18308. }
  18309. function applyTranslation(c) {
  18310. const oldPos = positionMap.get(c);
  18311. const newPos = newPositionMap.get(c);
  18312. const dx = oldPos.left - newPos.left;
  18313. const dy = oldPos.top - newPos.top;
  18314. if (dx || dy) {
  18315. const s = c.el.style;
  18316. s.transform = s.webkitTransform = `translate(${dx}px,${dy}px)`;
  18317. s.transitionDuration = '0s';
  18318. return c;
  18319. }
  18320. }
  18321. function hasCSSTransform(el, root, moveClass) {
  18322. // Detect whether an element with the move class applied has
  18323. // CSS transitions. Since the element may be inside an entering
  18324. // transition at this very moment, we make a clone of it and remove
  18325. // all other transition classes applied to ensure only the move class
  18326. // is applied.
  18327. const clone = el.cloneNode();
  18328. if (el._vtc) {
  18329. el._vtc.forEach(cls => {
  18330. cls.split(/\s+/).forEach(c => c && clone.classList.remove(c));
  18331. });
  18332. }
  18333. moveClass.split(/\s+/).forEach(c => c && clone.classList.add(c));
  18334. clone.style.display = 'none';
  18335. const container = (root.nodeType === 1 ? root : root.parentNode);
  18336. container.appendChild(clone);
  18337. const { hasTransform } = getTransitionInfo(clone);
  18338. container.removeChild(clone);
  18339. return hasTransform;
  18340. }
  18341. const getModelAssigner = (vnode) => {
  18342. const fn = vnode.props['onUpdate:modelValue'];
  18343. return (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(fn) ? value => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.invokeArrayFns)(fn, value) : fn;
  18344. };
  18345. function onCompositionStart(e) {
  18346. e.target.composing = true;
  18347. }
  18348. function onCompositionEnd(e) {
  18349. const target = e.target;
  18350. if (target.composing) {
  18351. target.composing = false;
  18352. trigger(target, 'input');
  18353. }
  18354. }
  18355. function trigger(el, type) {
  18356. const e = document.createEvent('HTMLEvents');
  18357. e.initEvent(type, true, true);
  18358. el.dispatchEvent(e);
  18359. }
  18360. // We are exporting the v-model runtime directly as vnode hooks so that it can
  18361. // be tree-shaken in case v-model is never used.
  18362. const vModelText = {
  18363. created(el, { modifiers: { lazy, trim, number } }, vnode) {
  18364. el._assign = getModelAssigner(vnode);
  18365. const castToNumber = number || (vnode.props && vnode.props.type === 'number');
  18366. addEventListener(el, lazy ? 'change' : 'input', e => {
  18367. if (e.target.composing)
  18368. return;
  18369. let domValue = el.value;
  18370. if (trim) {
  18371. domValue = domValue.trim();
  18372. }
  18373. else if (castToNumber) {
  18374. domValue = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(domValue);
  18375. }
  18376. el._assign(domValue);
  18377. });
  18378. if (trim) {
  18379. addEventListener(el, 'change', () => {
  18380. el.value = el.value.trim();
  18381. });
  18382. }
  18383. if (!lazy) {
  18384. addEventListener(el, 'compositionstart', onCompositionStart);
  18385. addEventListener(el, 'compositionend', onCompositionEnd);
  18386. // Safari < 10.2 & UIWebView doesn't fire compositionend when
  18387. // switching focus before confirming composition choice
  18388. // this also fixes the issue where some browsers e.g. iOS Chrome
  18389. // fires "change" instead of "input" on autocomplete.
  18390. addEventListener(el, 'change', onCompositionEnd);
  18391. }
  18392. },
  18393. // set value on mounted so it's after min/max for type="range"
  18394. mounted(el, { value }) {
  18395. el.value = value == null ? '' : value;
  18396. },
  18397. beforeUpdate(el, { value, modifiers: { lazy, trim, number } }, vnode) {
  18398. el._assign = getModelAssigner(vnode);
  18399. // avoid clearing unresolved text. #2302
  18400. if (el.composing)
  18401. return;
  18402. if (document.activeElement === el) {
  18403. if (lazy) {
  18404. return;
  18405. }
  18406. if (trim && el.value.trim() === value) {
  18407. return;
  18408. }
  18409. if ((number || el.type === 'number') && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(el.value) === value) {
  18410. return;
  18411. }
  18412. }
  18413. const newValue = value == null ? '' : value;
  18414. if (el.value !== newValue) {
  18415. el.value = newValue;
  18416. }
  18417. }
  18418. };
  18419. const vModelCheckbox = {
  18420. // #4096 array checkboxes need to be deep traversed
  18421. deep: true,
  18422. created(el, _, vnode) {
  18423. el._assign = getModelAssigner(vnode);
  18424. addEventListener(el, 'change', () => {
  18425. const modelValue = el._modelValue;
  18426. const elementValue = getValue(el);
  18427. const checked = el.checked;
  18428. const assign = el._assign;
  18429. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(modelValue)) {
  18430. const index = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(modelValue, elementValue);
  18431. const found = index !== -1;
  18432. if (checked && !found) {
  18433. assign(modelValue.concat(elementValue));
  18434. }
  18435. else if (!checked && found) {
  18436. const filtered = [...modelValue];
  18437. filtered.splice(index, 1);
  18438. assign(filtered);
  18439. }
  18440. }
  18441. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(modelValue)) {
  18442. const cloned = new Set(modelValue);
  18443. if (checked) {
  18444. cloned.add(elementValue);
  18445. }
  18446. else {
  18447. cloned.delete(elementValue);
  18448. }
  18449. assign(cloned);
  18450. }
  18451. else {
  18452. assign(getCheckboxValue(el, checked));
  18453. }
  18454. });
  18455. },
  18456. // set initial checked on mount to wait for true-value/false-value
  18457. mounted: setChecked,
  18458. beforeUpdate(el, binding, vnode) {
  18459. el._assign = getModelAssigner(vnode);
  18460. setChecked(el, binding, vnode);
  18461. }
  18462. };
  18463. function setChecked(el, { value, oldValue }, vnode) {
  18464. el._modelValue = value;
  18465. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  18466. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(value, vnode.props.value) > -1;
  18467. }
  18468. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value)) {
  18469. el.checked = value.has(vnode.props.value);
  18470. }
  18471. else if (value !== oldValue) {
  18472. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(value, getCheckboxValue(el, true));
  18473. }
  18474. }
  18475. const vModelRadio = {
  18476. created(el, { value }, vnode) {
  18477. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(value, vnode.props.value);
  18478. el._assign = getModelAssigner(vnode);
  18479. addEventListener(el, 'change', () => {
  18480. el._assign(getValue(el));
  18481. });
  18482. },
  18483. beforeUpdate(el, { value, oldValue }, vnode) {
  18484. el._assign = getModelAssigner(vnode);
  18485. if (value !== oldValue) {
  18486. el.checked = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(value, vnode.props.value);
  18487. }
  18488. }
  18489. };
  18490. const vModelSelect = {
  18491. // <select multiple> value need to be deep traversed
  18492. deep: true,
  18493. created(el, { value, modifiers: { number } }, vnode) {
  18494. const isSetModel = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value);
  18495. addEventListener(el, 'change', () => {
  18496. const selectedVal = Array.prototype.filter
  18497. .call(el.options, (o) => o.selected)
  18498. .map((o) => number ? (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.toNumber)(getValue(o)) : getValue(o));
  18499. el._assign(el.multiple
  18500. ? isSetModel
  18501. ? new Set(selectedVal)
  18502. : selectedVal
  18503. : selectedVal[0]);
  18504. });
  18505. el._assign = getModelAssigner(vnode);
  18506. },
  18507. // set value in mounted & updated because <select> relies on its children
  18508. // <option>s.
  18509. mounted(el, { value }) {
  18510. setSelected(el, value);
  18511. },
  18512. beforeUpdate(el, _binding, vnode) {
  18513. el._assign = getModelAssigner(vnode);
  18514. },
  18515. updated(el, { value }) {
  18516. setSelected(el, value);
  18517. }
  18518. };
  18519. function setSelected(el, value) {
  18520. const isMultiple = el.multiple;
  18521. if (isMultiple && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value) && !(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value)) {
  18522. ( true) &&
  18523. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`<select multiple v-model> expects an Array or Set value for its binding, ` +
  18524. `but got ${Object.prototype.toString.call(value).slice(8, -1)}.`);
  18525. return;
  18526. }
  18527. for (let i = 0, l = el.options.length; i < l; i++) {
  18528. const option = el.options[i];
  18529. const optionValue = getValue(option);
  18530. if (isMultiple) {
  18531. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  18532. option.selected = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(value, optionValue) > -1;
  18533. }
  18534. else {
  18535. option.selected = value.has(optionValue);
  18536. }
  18537. }
  18538. else {
  18539. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(getValue(option), value)) {
  18540. if (el.selectedIndex !== i)
  18541. el.selectedIndex = i;
  18542. return;
  18543. }
  18544. }
  18545. }
  18546. if (!isMultiple && el.selectedIndex !== -1) {
  18547. el.selectedIndex = -1;
  18548. }
  18549. }
  18550. // retrieve raw value set via :value bindings
  18551. function getValue(el) {
  18552. return '_value' in el ? el._value : el.value;
  18553. }
  18554. // retrieve raw value for true-value and false-value set via :true-value or :false-value bindings
  18555. function getCheckboxValue(el, checked) {
  18556. const key = checked ? '_trueValue' : '_falseValue';
  18557. return key in el ? el[key] : checked;
  18558. }
  18559. const vModelDynamic = {
  18560. created(el, binding, vnode) {
  18561. callModelHook(el, binding, vnode, null, 'created');
  18562. },
  18563. mounted(el, binding, vnode) {
  18564. callModelHook(el, binding, vnode, null, 'mounted');
  18565. },
  18566. beforeUpdate(el, binding, vnode, prevVNode) {
  18567. callModelHook(el, binding, vnode, prevVNode, 'beforeUpdate');
  18568. },
  18569. updated(el, binding, vnode, prevVNode) {
  18570. callModelHook(el, binding, vnode, prevVNode, 'updated');
  18571. }
  18572. };
  18573. function callModelHook(el, binding, vnode, prevVNode, hook) {
  18574. let modelToUse;
  18575. switch (el.tagName) {
  18576. case 'SELECT':
  18577. modelToUse = vModelSelect;
  18578. break;
  18579. case 'TEXTAREA':
  18580. modelToUse = vModelText;
  18581. break;
  18582. default:
  18583. switch (vnode.props && vnode.props.type) {
  18584. case 'checkbox':
  18585. modelToUse = vModelCheckbox;
  18586. break;
  18587. case 'radio':
  18588. modelToUse = vModelRadio;
  18589. break;
  18590. default:
  18591. modelToUse = vModelText;
  18592. }
  18593. }
  18594. const fn = modelToUse[hook];
  18595. fn && fn(el, binding, vnode, prevVNode);
  18596. }
  18597. // SSR vnode transforms, only used when user includes client-oriented render
  18598. // function in SSR
  18599. function initVModelForSSR() {
  18600. vModelText.getSSRProps = ({ value }) => ({ value });
  18601. vModelRadio.getSSRProps = ({ value }, vnode) => {
  18602. if (vnode.props && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseEqual)(vnode.props.value, value)) {
  18603. return { checked: true };
  18604. }
  18605. };
  18606. vModelCheckbox.getSSRProps = ({ value }, vnode) => {
  18607. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isArray)(value)) {
  18608. if (vnode.props && (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.looseIndexOf)(value, vnode.props.value) > -1) {
  18609. return { checked: true };
  18610. }
  18611. }
  18612. else if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSet)(value)) {
  18613. if (vnode.props && value.has(vnode.props.value)) {
  18614. return { checked: true };
  18615. }
  18616. }
  18617. else if (value) {
  18618. return { checked: true };
  18619. }
  18620. };
  18621. }
  18622. const systemModifiers = ['ctrl', 'shift', 'alt', 'meta'];
  18623. const modifierGuards = {
  18624. stop: e => e.stopPropagation(),
  18625. prevent: e => e.preventDefault(),
  18626. self: e => e.target !== e.currentTarget,
  18627. ctrl: e => !e.ctrlKey,
  18628. shift: e => !e.shiftKey,
  18629. alt: e => !e.altKey,
  18630. meta: e => !e.metaKey,
  18631. left: e => 'button' in e && e.button !== 0,
  18632. middle: e => 'button' in e && e.button !== 1,
  18633. right: e => 'button' in e && e.button !== 2,
  18634. exact: (e, modifiers) => systemModifiers.some(m => e[`${m}Key`] && !modifiers.includes(m))
  18635. };
  18636. /**
  18637. * @private
  18638. */
  18639. const withModifiers = (fn, modifiers) => {
  18640. return (event, ...args) => {
  18641. for (let i = 0; i < modifiers.length; i++) {
  18642. const guard = modifierGuards[modifiers[i]];
  18643. if (guard && guard(event, modifiers))
  18644. return;
  18645. }
  18646. return fn(event, ...args);
  18647. };
  18648. };
  18649. // Kept for 2.x compat.
  18650. // Note: IE11 compat for `spacebar` and `del` is removed for now.
  18651. const keyNames = {
  18652. esc: 'escape',
  18653. space: ' ',
  18654. up: 'arrow-up',
  18655. left: 'arrow-left',
  18656. right: 'arrow-right',
  18657. down: 'arrow-down',
  18658. delete: 'backspace'
  18659. };
  18660. /**
  18661. * @private
  18662. */
  18663. const withKeys = (fn, modifiers) => {
  18664. return (event) => {
  18665. if (!('key' in event)) {
  18666. return;
  18667. }
  18668. const eventKey = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.hyphenate)(event.key);
  18669. if (modifiers.some(k => k === eventKey || keyNames[k] === eventKey)) {
  18670. return fn(event);
  18671. }
  18672. };
  18673. };
  18674. const vShow = {
  18675. beforeMount(el, { value }, { transition }) {
  18676. el._vod = el.style.display === 'none' ? '' : el.style.display;
  18677. if (transition && value) {
  18678. transition.beforeEnter(el);
  18679. }
  18680. else {
  18681. setDisplay(el, value);
  18682. }
  18683. },
  18684. mounted(el, { value }, { transition }) {
  18685. if (transition && value) {
  18686. transition.enter(el);
  18687. }
  18688. },
  18689. updated(el, { value, oldValue }, { transition }) {
  18690. if (!value === !oldValue)
  18691. return;
  18692. if (transition) {
  18693. if (value) {
  18694. transition.beforeEnter(el);
  18695. setDisplay(el, true);
  18696. transition.enter(el);
  18697. }
  18698. else {
  18699. transition.leave(el, () => {
  18700. setDisplay(el, false);
  18701. });
  18702. }
  18703. }
  18704. else {
  18705. setDisplay(el, value);
  18706. }
  18707. },
  18708. beforeUnmount(el, { value }) {
  18709. setDisplay(el, value);
  18710. }
  18711. };
  18712. function setDisplay(el, value) {
  18713. el.style.display = value ? el._vod : 'none';
  18714. }
  18715. // SSR vnode transforms, only used when user includes client-oriented render
  18716. // function in SSR
  18717. function initVShowForSSR() {
  18718. vShow.getSSRProps = ({ value }) => {
  18719. if (!value) {
  18720. return { style: { display: 'none' } };
  18721. }
  18722. };
  18723. }
  18724. const rendererOptions = (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({ patchProp }, nodeOps);
  18725. // lazy create the renderer - this makes core renderer logic tree-shakable
  18726. // in case the user only imports reactivity utilities from Vue.
  18727. let renderer;
  18728. let enabledHydration = false;
  18729. function ensureRenderer() {
  18730. return (renderer ||
  18731. (renderer = (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createRenderer)(rendererOptions)));
  18732. }
  18733. function ensureHydrationRenderer() {
  18734. renderer = enabledHydration
  18735. ? renderer
  18736. : (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.createHydrationRenderer)(rendererOptions);
  18737. enabledHydration = true;
  18738. return renderer;
  18739. }
  18740. // use explicit type casts here to avoid import() calls in rolled-up d.ts
  18741. const render = ((...args) => {
  18742. ensureRenderer().render(...args);
  18743. });
  18744. const hydrate = ((...args) => {
  18745. ensureHydrationRenderer().hydrate(...args);
  18746. });
  18747. const createApp = ((...args) => {
  18748. const app = ensureRenderer().createApp(...args);
  18749. if ((true)) {
  18750. injectNativeTagCheck(app);
  18751. injectCompilerOptionsCheck(app);
  18752. }
  18753. const { mount } = app;
  18754. app.mount = (containerOrSelector) => {
  18755. const container = normalizeContainer(containerOrSelector);
  18756. if (!container)
  18757. return;
  18758. const component = app._component;
  18759. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isFunction)(component) && !component.render && !component.template) {
  18760. // __UNSAFE__
  18761. // Reason: potential execution of JS expressions in in-DOM template.
  18762. // The user must make sure the in-DOM template is trusted. If it's
  18763. // rendered by the server, the template should not contain any user data.
  18764. component.template = container.innerHTML;
  18765. }
  18766. // clear content before mounting
  18767. container.innerHTML = '';
  18768. const proxy = mount(container, false, container instanceof SVGElement);
  18769. if (container instanceof Element) {
  18770. container.removeAttribute('v-cloak');
  18771. container.setAttribute('data-v-app', '');
  18772. }
  18773. return proxy;
  18774. };
  18775. return app;
  18776. });
  18777. const createSSRApp = ((...args) => {
  18778. const app = ensureHydrationRenderer().createApp(...args);
  18779. if ((true)) {
  18780. injectNativeTagCheck(app);
  18781. injectCompilerOptionsCheck(app);
  18782. }
  18783. const { mount } = app;
  18784. app.mount = (containerOrSelector) => {
  18785. const container = normalizeContainer(containerOrSelector);
  18786. if (container) {
  18787. return mount(container, true, container instanceof SVGElement);
  18788. }
  18789. };
  18790. return app;
  18791. });
  18792. function injectNativeTagCheck(app) {
  18793. // Inject `isNativeTag`
  18794. // this is used for component name validation (dev only)
  18795. Object.defineProperty(app.config, 'isNativeTag', {
  18796. value: (tag) => (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isHTMLTag)(tag) || (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isSVGTag)(tag),
  18797. writable: false
  18798. });
  18799. }
  18800. // dev only
  18801. function injectCompilerOptionsCheck(app) {
  18802. if ((0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.isRuntimeOnly)()) {
  18803. const isCustomElement = app.config.isCustomElement;
  18804. Object.defineProperty(app.config, 'isCustomElement', {
  18805. get() {
  18806. return isCustomElement;
  18807. },
  18808. set() {
  18809. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`The \`isCustomElement\` config option is deprecated. Use ` +
  18810. `\`compilerOptions.isCustomElement\` instead.`);
  18811. }
  18812. });
  18813. const compilerOptions = app.config.compilerOptions;
  18814. const msg = `The \`compilerOptions\` config option is only respected when using ` +
  18815. `a build of Vue.js that includes the runtime compiler (aka "full build"). ` +
  18816. `Since you are using the runtime-only build, \`compilerOptions\` ` +
  18817. `must be passed to \`@vue/compiler-dom\` in the build setup instead.\n` +
  18818. `- For vue-loader: pass it via vue-loader's \`compilerOptions\` loader option.\n` +
  18819. `- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n` +
  18820. `- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-dom`;
  18821. Object.defineProperty(app.config, 'compilerOptions', {
  18822. get() {
  18823. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(msg);
  18824. return compilerOptions;
  18825. },
  18826. set() {
  18827. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(msg);
  18828. }
  18829. });
  18830. }
  18831. }
  18832. function normalizeContainer(container) {
  18833. if ((0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(container)) {
  18834. const res = document.querySelector(container);
  18835. if (( true) && !res) {
  18836. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`Failed to mount app: mount target selector "${container}" returned null.`);
  18837. }
  18838. return res;
  18839. }
  18840. if (( true) &&
  18841. window.ShadowRoot &&
  18842. container instanceof window.ShadowRoot &&
  18843. container.mode === 'closed') {
  18844. (0,_vue_runtime_core__WEBPACK_IMPORTED_MODULE_0__.warn)(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`);
  18845. }
  18846. return container;
  18847. }
  18848. let ssrDirectiveInitialized = false;
  18849. /**
  18850. * @internal
  18851. */
  18852. const initDirectivesForSSR = () => {
  18853. if (!ssrDirectiveInitialized) {
  18854. ssrDirectiveInitialized = true;
  18855. initVModelForSSR();
  18856. initVShowForSSR();
  18857. }
  18858. }
  18859. ;
  18860. /***/ }),
  18861. /***/ "./node_modules/@vue/shared/dist/shared.esm-bundler.js":
  18862. /*!*************************************************************!*\
  18863. !*** ./node_modules/@vue/shared/dist/shared.esm-bundler.js ***!
  18864. \*************************************************************/
  18865. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  18866. "use strict";
  18867. __webpack_require__.r(__webpack_exports__);
  18868. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  18869. /* harmony export */ "EMPTY_ARR": () => (/* binding */ EMPTY_ARR),
  18870. /* harmony export */ "EMPTY_OBJ": () => (/* binding */ EMPTY_OBJ),
  18871. /* harmony export */ "NO": () => (/* binding */ NO),
  18872. /* harmony export */ "NOOP": () => (/* binding */ NOOP),
  18873. /* harmony export */ "PatchFlagNames": () => (/* binding */ PatchFlagNames),
  18874. /* harmony export */ "camelize": () => (/* binding */ camelize),
  18875. /* harmony export */ "capitalize": () => (/* binding */ capitalize),
  18876. /* harmony export */ "def": () => (/* binding */ def),
  18877. /* harmony export */ "escapeHtml": () => (/* binding */ escapeHtml),
  18878. /* harmony export */ "escapeHtmlComment": () => (/* binding */ escapeHtmlComment),
  18879. /* harmony export */ "extend": () => (/* binding */ extend),
  18880. /* harmony export */ "generateCodeFrame": () => (/* binding */ generateCodeFrame),
  18881. /* harmony export */ "getGlobalThis": () => (/* binding */ getGlobalThis),
  18882. /* harmony export */ "hasChanged": () => (/* binding */ hasChanged),
  18883. /* harmony export */ "hasOwn": () => (/* binding */ hasOwn),
  18884. /* harmony export */ "hyphenate": () => (/* binding */ hyphenate),
  18885. /* harmony export */ "includeBooleanAttr": () => (/* binding */ includeBooleanAttr),
  18886. /* harmony export */ "invokeArrayFns": () => (/* binding */ invokeArrayFns),
  18887. /* harmony export */ "isArray": () => (/* binding */ isArray),
  18888. /* harmony export */ "isBooleanAttr": () => (/* binding */ isBooleanAttr),
  18889. /* harmony export */ "isBuiltInDirective": () => (/* binding */ isBuiltInDirective),
  18890. /* harmony export */ "isDate": () => (/* binding */ isDate),
  18891. /* harmony export */ "isFunction": () => (/* binding */ isFunction),
  18892. /* harmony export */ "isGloballyWhitelisted": () => (/* binding */ isGloballyWhitelisted),
  18893. /* harmony export */ "isHTMLTag": () => (/* binding */ isHTMLTag),
  18894. /* harmony export */ "isIntegerKey": () => (/* binding */ isIntegerKey),
  18895. /* harmony export */ "isKnownHtmlAttr": () => (/* binding */ isKnownHtmlAttr),
  18896. /* harmony export */ "isKnownSvgAttr": () => (/* binding */ isKnownSvgAttr),
  18897. /* harmony export */ "isMap": () => (/* binding */ isMap),
  18898. /* harmony export */ "isModelListener": () => (/* binding */ isModelListener),
  18899. /* harmony export */ "isNoUnitNumericStyleProp": () => (/* binding */ isNoUnitNumericStyleProp),
  18900. /* harmony export */ "isObject": () => (/* binding */ isObject),
  18901. /* harmony export */ "isOn": () => (/* binding */ isOn),
  18902. /* harmony export */ "isPlainObject": () => (/* binding */ isPlainObject),
  18903. /* harmony export */ "isPromise": () => (/* binding */ isPromise),
  18904. /* harmony export */ "isReservedProp": () => (/* binding */ isReservedProp),
  18905. /* harmony export */ "isSSRSafeAttrName": () => (/* binding */ isSSRSafeAttrName),
  18906. /* harmony export */ "isSVGTag": () => (/* binding */ isSVGTag),
  18907. /* harmony export */ "isSet": () => (/* binding */ isSet),
  18908. /* harmony export */ "isSpecialBooleanAttr": () => (/* binding */ isSpecialBooleanAttr),
  18909. /* harmony export */ "isString": () => (/* binding */ isString),
  18910. /* harmony export */ "isSymbol": () => (/* binding */ isSymbol),
  18911. /* harmony export */ "isVoidTag": () => (/* binding */ isVoidTag),
  18912. /* harmony export */ "looseEqual": () => (/* binding */ looseEqual),
  18913. /* harmony export */ "looseIndexOf": () => (/* binding */ looseIndexOf),
  18914. /* harmony export */ "makeMap": () => (/* binding */ makeMap),
  18915. /* harmony export */ "normalizeClass": () => (/* binding */ normalizeClass),
  18916. /* harmony export */ "normalizeProps": () => (/* binding */ normalizeProps),
  18917. /* harmony export */ "normalizeStyle": () => (/* binding */ normalizeStyle),
  18918. /* harmony export */ "objectToString": () => (/* binding */ objectToString),
  18919. /* harmony export */ "parseStringStyle": () => (/* binding */ parseStringStyle),
  18920. /* harmony export */ "propsToAttrMap": () => (/* binding */ propsToAttrMap),
  18921. /* harmony export */ "remove": () => (/* binding */ remove),
  18922. /* harmony export */ "slotFlagsText": () => (/* binding */ slotFlagsText),
  18923. /* harmony export */ "stringifyStyle": () => (/* binding */ stringifyStyle),
  18924. /* harmony export */ "toDisplayString": () => (/* binding */ toDisplayString),
  18925. /* harmony export */ "toHandlerKey": () => (/* binding */ toHandlerKey),
  18926. /* harmony export */ "toNumber": () => (/* binding */ toNumber),
  18927. /* harmony export */ "toRawType": () => (/* binding */ toRawType),
  18928. /* harmony export */ "toTypeString": () => (/* binding */ toTypeString)
  18929. /* harmony export */ });
  18930. /**
  18931. * Make a map and return a function for checking if a key
  18932. * is in that map.
  18933. * IMPORTANT: all calls of this function must be prefixed with
  18934. * \/\*#\_\_PURE\_\_\*\/
  18935. * So that rollup can tree-shake them if necessary.
  18936. */
  18937. function makeMap(str, expectsLowerCase) {
  18938. const map = Object.create(null);
  18939. const list = str.split(',');
  18940. for (let i = 0; i < list.length; i++) {
  18941. map[list[i]] = true;
  18942. }
  18943. return expectsLowerCase ? val => !!map[val.toLowerCase()] : val => !!map[val];
  18944. }
  18945. /**
  18946. * dev only flag -> name mapping
  18947. */
  18948. const PatchFlagNames = {
  18949. [1 /* TEXT */]: `TEXT`,
  18950. [2 /* CLASS */]: `CLASS`,
  18951. [4 /* STYLE */]: `STYLE`,
  18952. [8 /* PROPS */]: `PROPS`,
  18953. [16 /* FULL_PROPS */]: `FULL_PROPS`,
  18954. [32 /* HYDRATE_EVENTS */]: `HYDRATE_EVENTS`,
  18955. [64 /* STABLE_FRAGMENT */]: `STABLE_FRAGMENT`,
  18956. [128 /* KEYED_FRAGMENT */]: `KEYED_FRAGMENT`,
  18957. [256 /* UNKEYED_FRAGMENT */]: `UNKEYED_FRAGMENT`,
  18958. [512 /* NEED_PATCH */]: `NEED_PATCH`,
  18959. [1024 /* DYNAMIC_SLOTS */]: `DYNAMIC_SLOTS`,
  18960. [2048 /* DEV_ROOT_FRAGMENT */]: `DEV_ROOT_FRAGMENT`,
  18961. [-1 /* HOISTED */]: `HOISTED`,
  18962. [-2 /* BAIL */]: `BAIL`
  18963. };
  18964. /**
  18965. * Dev only
  18966. */
  18967. const slotFlagsText = {
  18968. [1 /* STABLE */]: 'STABLE',
  18969. [2 /* DYNAMIC */]: 'DYNAMIC',
  18970. [3 /* FORWARDED */]: 'FORWARDED'
  18971. };
  18972. const GLOBALS_WHITE_LISTED = 'Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,' +
  18973. 'decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,' +
  18974. 'Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt';
  18975. const isGloballyWhitelisted = /*#__PURE__*/ makeMap(GLOBALS_WHITE_LISTED);
  18976. const range = 2;
  18977. function generateCodeFrame(source, start = 0, end = source.length) {
  18978. // Split the content into individual lines but capture the newline sequence
  18979. // that separated each line. This is important because the actual sequence is
  18980. // needed to properly take into account the full line length for offset
  18981. // comparison
  18982. let lines = source.split(/(\r?\n)/);
  18983. // Separate the lines and newline sequences into separate arrays for easier referencing
  18984. const newlineSequences = lines.filter((_, idx) => idx % 2 === 1);
  18985. lines = lines.filter((_, idx) => idx % 2 === 0);
  18986. let count = 0;
  18987. const res = [];
  18988. for (let i = 0; i < lines.length; i++) {
  18989. count +=
  18990. lines[i].length +
  18991. ((newlineSequences[i] && newlineSequences[i].length) || 0);
  18992. if (count >= start) {
  18993. for (let j = i - range; j <= i + range || end > count; j++) {
  18994. if (j < 0 || j >= lines.length)
  18995. continue;
  18996. const line = j + 1;
  18997. res.push(`${line}${' '.repeat(Math.max(3 - String(line).length, 0))}| ${lines[j]}`);
  18998. const lineLength = lines[j].length;
  18999. const newLineSeqLength = (newlineSequences[j] && newlineSequences[j].length) || 0;
  19000. if (j === i) {
  19001. // push underline
  19002. const pad = start - (count - (lineLength + newLineSeqLength));
  19003. const length = Math.max(1, end > count ? lineLength - pad : end - start);
  19004. res.push(` | ` + ' '.repeat(pad) + '^'.repeat(length));
  19005. }
  19006. else if (j > i) {
  19007. if (end > count) {
  19008. const length = Math.max(Math.min(end - count, lineLength), 1);
  19009. res.push(` | ` + '^'.repeat(length));
  19010. }
  19011. count += lineLength + newLineSeqLength;
  19012. }
  19013. }
  19014. break;
  19015. }
  19016. }
  19017. return res.join('\n');
  19018. }
  19019. /**
  19020. * On the client we only need to offer special cases for boolean attributes that
  19021. * have different names from their corresponding dom properties:
  19022. * - itemscope -> N/A
  19023. * - allowfullscreen -> allowFullscreen
  19024. * - formnovalidate -> formNoValidate
  19025. * - ismap -> isMap
  19026. * - nomodule -> noModule
  19027. * - novalidate -> noValidate
  19028. * - readonly -> readOnly
  19029. */
  19030. const specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;
  19031. const isSpecialBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs);
  19032. /**
  19033. * The full list is needed during SSR to produce the correct initial markup.
  19034. */
  19035. const isBooleanAttr = /*#__PURE__*/ makeMap(specialBooleanAttrs +
  19036. `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,` +
  19037. `loop,open,required,reversed,scoped,seamless,` +
  19038. `checked,muted,multiple,selected`);
  19039. /**
  19040. * Boolean attributes should be included if the value is truthy or ''.
  19041. * e.g. `<select multiple>` compiles to `{ multiple: '' }`
  19042. */
  19043. function includeBooleanAttr(value) {
  19044. return !!value || value === '';
  19045. }
  19046. const unsafeAttrCharRE = /[>/="'\u0009\u000a\u000c\u0020]/;
  19047. const attrValidationCache = {};
  19048. function isSSRSafeAttrName(name) {
  19049. if (attrValidationCache.hasOwnProperty(name)) {
  19050. return attrValidationCache[name];
  19051. }
  19052. const isUnsafe = unsafeAttrCharRE.test(name);
  19053. if (isUnsafe) {
  19054. console.error(`unsafe attribute name: ${name}`);
  19055. }
  19056. return (attrValidationCache[name] = !isUnsafe);
  19057. }
  19058. const propsToAttrMap = {
  19059. acceptCharset: 'accept-charset',
  19060. className: 'class',
  19061. htmlFor: 'for',
  19062. httpEquiv: 'http-equiv'
  19063. };
  19064. /**
  19065. * CSS properties that accept plain numbers
  19066. */
  19067. const isNoUnitNumericStyleProp = /*#__PURE__*/ makeMap(`animation-iteration-count,border-image-outset,border-image-slice,` +
  19068. `border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,` +
  19069. `columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,` +
  19070. `grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,` +
  19071. `grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,` +
  19072. `line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,` +
  19073. // SVG
  19074. `fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,` +
  19075. `stroke-miterlimit,stroke-opacity,stroke-width`);
  19076. /**
  19077. * Known attributes, this is used for stringification of runtime static nodes
  19078. * so that we don't stringify bindings that cannot be set from HTML.
  19079. * Don't also forget to allow `data-*` and `aria-*`!
  19080. * Generated from https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
  19081. */
  19082. const isKnownHtmlAttr = /*#__PURE__*/ makeMap(`accept,accept-charset,accesskey,action,align,allow,alt,async,` +
  19083. `autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,` +
  19084. `border,buffered,capture,challenge,charset,checked,cite,class,code,` +
  19085. `codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,` +
  19086. `coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,` +
  19087. `disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,` +
  19088. `formaction,formenctype,formmethod,formnovalidate,formtarget,headers,` +
  19089. `height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,` +
  19090. `ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,` +
  19091. `manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,` +
  19092. `open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,` +
  19093. `referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,` +
  19094. `selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,` +
  19095. `start,step,style,summary,tabindex,target,title,translate,type,usemap,` +
  19096. `value,width,wrap`);
  19097. /**
  19098. * Generated from https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute
  19099. */
  19100. const isKnownSvgAttr = /*#__PURE__*/ makeMap(`xmlns,accent-height,accumulate,additive,alignment-baseline,alphabetic,amplitude,` +
  19101. `arabic-form,ascent,attributeName,attributeType,azimuth,baseFrequency,` +
  19102. `baseline-shift,baseProfile,bbox,begin,bias,by,calcMode,cap-height,class,` +
  19103. `clip,clipPathUnits,clip-path,clip-rule,color,color-interpolation,` +
  19104. `color-interpolation-filters,color-profile,color-rendering,` +
  19105. `contentScriptType,contentStyleType,crossorigin,cursor,cx,cy,d,decelerate,` +
  19106. `descent,diffuseConstant,direction,display,divisor,dominant-baseline,dur,dx,` +
  19107. `dy,edgeMode,elevation,enable-background,end,exponent,fill,fill-opacity,` +
  19108. `fill-rule,filter,filterRes,filterUnits,flood-color,flood-opacity,` +
  19109. `font-family,font-size,font-size-adjust,font-stretch,font-style,` +
  19110. `font-variant,font-weight,format,from,fr,fx,fy,g1,g2,glyph-name,` +
  19111. `glyph-orientation-horizontal,glyph-orientation-vertical,glyphRef,` +
  19112. `gradientTransform,gradientUnits,hanging,height,href,hreflang,horiz-adv-x,` +
  19113. `horiz-origin-x,id,ideographic,image-rendering,in,in2,intercept,k,k1,k2,k3,` +
  19114. `k4,kernelMatrix,kernelUnitLength,kerning,keyPoints,keySplines,keyTimes,` +
  19115. `lang,lengthAdjust,letter-spacing,lighting-color,limitingConeAngle,local,` +
  19116. `marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,` +
  19117. `mask,maskContentUnits,maskUnits,mathematical,max,media,method,min,mode,` +
  19118. `name,numOctaves,offset,opacity,operator,order,orient,orientation,origin,` +
  19119. `overflow,overline-position,overline-thickness,panose-1,paint-order,path,` +
  19120. `pathLength,patternContentUnits,patternTransform,patternUnits,ping,` +
  19121. `pointer-events,points,pointsAtX,pointsAtY,pointsAtZ,preserveAlpha,` +
  19122. `preserveAspectRatio,primitiveUnits,r,radius,referrerPolicy,refX,refY,rel,` +
  19123. `rendering-intent,repeatCount,repeatDur,requiredExtensions,requiredFeatures,` +
  19124. `restart,result,rotate,rx,ry,scale,seed,shape-rendering,slope,spacing,` +
  19125. `specularConstant,specularExponent,speed,spreadMethod,startOffset,` +
  19126. `stdDeviation,stemh,stemv,stitchTiles,stop-color,stop-opacity,` +
  19127. `strikethrough-position,strikethrough-thickness,string,stroke,` +
  19128. `stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,` +
  19129. `stroke-miterlimit,stroke-opacity,stroke-width,style,surfaceScale,` +
  19130. `systemLanguage,tabindex,tableValues,target,targetX,targetY,text-anchor,` +
  19131. `text-decoration,text-rendering,textLength,to,transform,transform-origin,` +
  19132. `type,u1,u2,underline-position,underline-thickness,unicode,unicode-bidi,` +
  19133. `unicode-range,units-per-em,v-alphabetic,v-hanging,v-ideographic,` +
  19134. `v-mathematical,values,vector-effect,version,vert-adv-y,vert-origin-x,` +
  19135. `vert-origin-y,viewBox,viewTarget,visibility,width,widths,word-spacing,` +
  19136. `writing-mode,x,x-height,x1,x2,xChannelSelector,xlink:actuate,xlink:arcrole,` +
  19137. `xlink:href,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,` +
  19138. `xml:space,y,y1,y2,yChannelSelector,z,zoomAndPan`);
  19139. function normalizeStyle(value) {
  19140. if (isArray(value)) {
  19141. const res = {};
  19142. for (let i = 0; i < value.length; i++) {
  19143. const item = value[i];
  19144. const normalized = isString(item)
  19145. ? parseStringStyle(item)
  19146. : normalizeStyle(item);
  19147. if (normalized) {
  19148. for (const key in normalized) {
  19149. res[key] = normalized[key];
  19150. }
  19151. }
  19152. }
  19153. return res;
  19154. }
  19155. else if (isString(value)) {
  19156. return value;
  19157. }
  19158. else if (isObject(value)) {
  19159. return value;
  19160. }
  19161. }
  19162. const listDelimiterRE = /;(?![^(]*\))/g;
  19163. const propertyDelimiterRE = /:(.+)/;
  19164. function parseStringStyle(cssText) {
  19165. const ret = {};
  19166. cssText.split(listDelimiterRE).forEach(item => {
  19167. if (item) {
  19168. const tmp = item.split(propertyDelimiterRE);
  19169. tmp.length > 1 && (ret[tmp[0].trim()] = tmp[1].trim());
  19170. }
  19171. });
  19172. return ret;
  19173. }
  19174. function stringifyStyle(styles) {
  19175. let ret = '';
  19176. if (!styles || isString(styles)) {
  19177. return ret;
  19178. }
  19179. for (const key in styles) {
  19180. const value = styles[key];
  19181. const normalizedKey = key.startsWith(`--`) ? key : hyphenate(key);
  19182. if (isString(value) ||
  19183. (typeof value === 'number' && isNoUnitNumericStyleProp(normalizedKey))) {
  19184. // only render valid values
  19185. ret += `${normalizedKey}:${value};`;
  19186. }
  19187. }
  19188. return ret;
  19189. }
  19190. function normalizeClass(value) {
  19191. let res = '';
  19192. if (isString(value)) {
  19193. res = value;
  19194. }
  19195. else if (isArray(value)) {
  19196. for (let i = 0; i < value.length; i++) {
  19197. const normalized = normalizeClass(value[i]);
  19198. if (normalized) {
  19199. res += normalized + ' ';
  19200. }
  19201. }
  19202. }
  19203. else if (isObject(value)) {
  19204. for (const name in value) {
  19205. if (value[name]) {
  19206. res += name + ' ';
  19207. }
  19208. }
  19209. }
  19210. return res.trim();
  19211. }
  19212. function normalizeProps(props) {
  19213. if (!props)
  19214. return null;
  19215. let { class: klass, style } = props;
  19216. if (klass && !isString(klass)) {
  19217. props.class = normalizeClass(klass);
  19218. }
  19219. if (style) {
  19220. props.style = normalizeStyle(style);
  19221. }
  19222. return props;
  19223. }
  19224. // These tag configs are shared between compiler-dom and runtime-dom, so they
  19225. // https://developer.mozilla.org/en-US/docs/Web/HTML/Element
  19226. const HTML_TAGS = 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +
  19227. 'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
  19228. 'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +
  19229. 'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +
  19230. 'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +
  19231. 'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +
  19232. 'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +
  19233. 'option,output,progress,select,textarea,details,dialog,menu,' +
  19234. 'summary,template,blockquote,iframe,tfoot';
  19235. // https://developer.mozilla.org/en-US/docs/Web/SVG/Element
  19236. const SVG_TAGS = 'svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,' +
  19237. 'defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,' +
  19238. 'feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,' +
  19239. 'feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,' +
  19240. 'feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,' +
  19241. 'fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,' +
  19242. 'foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,' +
  19243. 'mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,' +
  19244. 'polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,' +
  19245. 'text,textPath,title,tspan,unknown,use,view';
  19246. const VOID_TAGS = 'area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr';
  19247. /**
  19248. * Compiler only.
  19249. * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
  19250. */
  19251. const isHTMLTag = /*#__PURE__*/ makeMap(HTML_TAGS);
  19252. /**
  19253. * Compiler only.
  19254. * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
  19255. */
  19256. const isSVGTag = /*#__PURE__*/ makeMap(SVG_TAGS);
  19257. /**
  19258. * Compiler only.
  19259. * Do NOT use in runtime code paths unless behind `(process.env.NODE_ENV !== 'production')` flag.
  19260. */
  19261. const isVoidTag = /*#__PURE__*/ makeMap(VOID_TAGS);
  19262. const escapeRE = /["'&<>]/;
  19263. function escapeHtml(string) {
  19264. const str = '' + string;
  19265. const match = escapeRE.exec(str);
  19266. if (!match) {
  19267. return str;
  19268. }
  19269. let html = '';
  19270. let escaped;
  19271. let index;
  19272. let lastIndex = 0;
  19273. for (index = match.index; index < str.length; index++) {
  19274. switch (str.charCodeAt(index)) {
  19275. case 34: // "
  19276. escaped = '&quot;';
  19277. break;
  19278. case 38: // &
  19279. escaped = '&amp;';
  19280. break;
  19281. case 39: // '
  19282. escaped = '&#39;';
  19283. break;
  19284. case 60: // <
  19285. escaped = '&lt;';
  19286. break;
  19287. case 62: // >
  19288. escaped = '&gt;';
  19289. break;
  19290. default:
  19291. continue;
  19292. }
  19293. if (lastIndex !== index) {
  19294. html += str.slice(lastIndex, index);
  19295. }
  19296. lastIndex = index + 1;
  19297. html += escaped;
  19298. }
  19299. return lastIndex !== index ? html + str.slice(lastIndex, index) : html;
  19300. }
  19301. // https://www.w3.org/TR/html52/syntax.html#comments
  19302. const commentStripRE = /^-?>|<!--|-->|--!>|<!-$/g;
  19303. function escapeHtmlComment(src) {
  19304. return src.replace(commentStripRE, '');
  19305. }
  19306. function looseCompareArrays(a, b) {
  19307. if (a.length !== b.length)
  19308. return false;
  19309. let equal = true;
  19310. for (let i = 0; equal && i < a.length; i++) {
  19311. equal = looseEqual(a[i], b[i]);
  19312. }
  19313. return equal;
  19314. }
  19315. function looseEqual(a, b) {
  19316. if (a === b)
  19317. return true;
  19318. let aValidType = isDate(a);
  19319. let bValidType = isDate(b);
  19320. if (aValidType || bValidType) {
  19321. return aValidType && bValidType ? a.getTime() === b.getTime() : false;
  19322. }
  19323. aValidType = isArray(a);
  19324. bValidType = isArray(b);
  19325. if (aValidType || bValidType) {
  19326. return aValidType && bValidType ? looseCompareArrays(a, b) : false;
  19327. }
  19328. aValidType = isObject(a);
  19329. bValidType = isObject(b);
  19330. if (aValidType || bValidType) {
  19331. /* istanbul ignore if: this if will probably never be called */
  19332. if (!aValidType || !bValidType) {
  19333. return false;
  19334. }
  19335. const aKeysCount = Object.keys(a).length;
  19336. const bKeysCount = Object.keys(b).length;
  19337. if (aKeysCount !== bKeysCount) {
  19338. return false;
  19339. }
  19340. for (const key in a) {
  19341. const aHasKey = a.hasOwnProperty(key);
  19342. const bHasKey = b.hasOwnProperty(key);
  19343. if ((aHasKey && !bHasKey) ||
  19344. (!aHasKey && bHasKey) ||
  19345. !looseEqual(a[key], b[key])) {
  19346. return false;
  19347. }
  19348. }
  19349. }
  19350. return String(a) === String(b);
  19351. }
  19352. function looseIndexOf(arr, val) {
  19353. return arr.findIndex(item => looseEqual(item, val));
  19354. }
  19355. /**
  19356. * For converting {{ interpolation }} values to displayed strings.
  19357. * @private
  19358. */
  19359. const toDisplayString = (val) => {
  19360. return isString(val)
  19361. ? val
  19362. : val == null
  19363. ? ''
  19364. : isArray(val) ||
  19365. (isObject(val) &&
  19366. (val.toString === objectToString || !isFunction(val.toString)))
  19367. ? JSON.stringify(val, replacer, 2)
  19368. : String(val);
  19369. };
  19370. const replacer = (_key, val) => {
  19371. // can't use isRef here since @vue/shared has no deps
  19372. if (val && val.__v_isRef) {
  19373. return replacer(_key, val.value);
  19374. }
  19375. else if (isMap(val)) {
  19376. return {
  19377. [`Map(${val.size})`]: [...val.entries()].reduce((entries, [key, val]) => {
  19378. entries[`${key} =>`] = val;
  19379. return entries;
  19380. }, {})
  19381. };
  19382. }
  19383. else if (isSet(val)) {
  19384. return {
  19385. [`Set(${val.size})`]: [...val.values()]
  19386. };
  19387. }
  19388. else if (isObject(val) && !isArray(val) && !isPlainObject(val)) {
  19389. return String(val);
  19390. }
  19391. return val;
  19392. };
  19393. const EMPTY_OBJ = ( true)
  19394. ? Object.freeze({})
  19395. : 0;
  19396. const EMPTY_ARR = ( true) ? Object.freeze([]) : 0;
  19397. const NOOP = () => { };
  19398. /**
  19399. * Always return false.
  19400. */
  19401. const NO = () => false;
  19402. const onRE = /^on[^a-z]/;
  19403. const isOn = (key) => onRE.test(key);
  19404. const isModelListener = (key) => key.startsWith('onUpdate:');
  19405. const extend = Object.assign;
  19406. const remove = (arr, el) => {
  19407. const i = arr.indexOf(el);
  19408. if (i > -1) {
  19409. arr.splice(i, 1);
  19410. }
  19411. };
  19412. const hasOwnProperty = Object.prototype.hasOwnProperty;
  19413. const hasOwn = (val, key) => hasOwnProperty.call(val, key);
  19414. const isArray = Array.isArray;
  19415. const isMap = (val) => toTypeString(val) === '[object Map]';
  19416. const isSet = (val) => toTypeString(val) === '[object Set]';
  19417. const isDate = (val) => val instanceof Date;
  19418. const isFunction = (val) => typeof val === 'function';
  19419. const isString = (val) => typeof val === 'string';
  19420. const isSymbol = (val) => typeof val === 'symbol';
  19421. const isObject = (val) => val !== null && typeof val === 'object';
  19422. const isPromise = (val) => {
  19423. return isObject(val) && isFunction(val.then) && isFunction(val.catch);
  19424. };
  19425. const objectToString = Object.prototype.toString;
  19426. const toTypeString = (value) => objectToString.call(value);
  19427. const toRawType = (value) => {
  19428. // extract "RawType" from strings like "[object RawType]"
  19429. return toTypeString(value).slice(8, -1);
  19430. };
  19431. const isPlainObject = (val) => toTypeString(val) === '[object Object]';
  19432. const isIntegerKey = (key) => isString(key) &&
  19433. key !== 'NaN' &&
  19434. key[0] !== '-' &&
  19435. '' + parseInt(key, 10) === key;
  19436. const isReservedProp = /*#__PURE__*/ makeMap(
  19437. // the leading comma is intentional so empty string "" is also included
  19438. ',key,ref,ref_for,ref_key,' +
  19439. 'onVnodeBeforeMount,onVnodeMounted,' +
  19440. 'onVnodeBeforeUpdate,onVnodeUpdated,' +
  19441. 'onVnodeBeforeUnmount,onVnodeUnmounted');
  19442. const isBuiltInDirective = /*#__PURE__*/ makeMap('bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo');
  19443. const cacheStringFunction = (fn) => {
  19444. const cache = Object.create(null);
  19445. return ((str) => {
  19446. const hit = cache[str];
  19447. return hit || (cache[str] = fn(str));
  19448. });
  19449. };
  19450. const camelizeRE = /-(\w)/g;
  19451. /**
  19452. * @private
  19453. */
  19454. const camelize = cacheStringFunction((str) => {
  19455. return str.replace(camelizeRE, (_, c) => (c ? c.toUpperCase() : ''));
  19456. });
  19457. const hyphenateRE = /\B([A-Z])/g;
  19458. /**
  19459. * @private
  19460. */
  19461. const hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, '-$1').toLowerCase());
  19462. /**
  19463. * @private
  19464. */
  19465. const capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));
  19466. /**
  19467. * @private
  19468. */
  19469. const toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);
  19470. // compare whether a value has changed, accounting for NaN.
  19471. const hasChanged = (value, oldValue) => !Object.is(value, oldValue);
  19472. const invokeArrayFns = (fns, arg) => {
  19473. for (let i = 0; i < fns.length; i++) {
  19474. fns[i](arg);
  19475. }
  19476. };
  19477. const def = (obj, key, value) => {
  19478. Object.defineProperty(obj, key, {
  19479. configurable: true,
  19480. enumerable: false,
  19481. value
  19482. });
  19483. };
  19484. const toNumber = (val) => {
  19485. const n = parseFloat(val);
  19486. return isNaN(n) ? val : n;
  19487. };
  19488. let _globalThis;
  19489. const getGlobalThis = () => {
  19490. return (_globalThis ||
  19491. (_globalThis =
  19492. typeof globalThis !== 'undefined'
  19493. ? globalThis
  19494. : typeof self !== 'undefined'
  19495. ? self
  19496. : typeof window !== 'undefined'
  19497. ? window
  19498. : typeof __webpack_require__.g !== 'undefined'
  19499. ? __webpack_require__.g
  19500. : {}));
  19501. };
  19502. /***/ }),
  19503. /***/ "./node_modules/call-bind/callBound.js":
  19504. /*!*********************************************!*\
  19505. !*** ./node_modules/call-bind/callBound.js ***!
  19506. \*********************************************/
  19507. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  19508. "use strict";
  19509. var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js");
  19510. var callBind = __webpack_require__(/*! ./ */ "./node_modules/call-bind/index.js");
  19511. var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf'));
  19512. module.exports = function callBoundIntrinsic(name, allowMissing) {
  19513. var intrinsic = GetIntrinsic(name, !!allowMissing);
  19514. if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) {
  19515. return callBind(intrinsic);
  19516. }
  19517. return intrinsic;
  19518. };
  19519. /***/ }),
  19520. /***/ "./node_modules/call-bind/index.js":
  19521. /*!*****************************************!*\
  19522. !*** ./node_modules/call-bind/index.js ***!
  19523. \*****************************************/
  19524. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  19525. "use strict";
  19526. var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js");
  19527. var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js");
  19528. var $apply = GetIntrinsic('%Function.prototype.apply%');
  19529. var $call = GetIntrinsic('%Function.prototype.call%');
  19530. var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply);
  19531. var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true);
  19532. var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
  19533. var $max = GetIntrinsic('%Math.max%');
  19534. if ($defineProperty) {
  19535. try {
  19536. $defineProperty({}, 'a', { value: 1 });
  19537. } catch (e) {
  19538. // IE 8 has a broken defineProperty
  19539. $defineProperty = null;
  19540. }
  19541. }
  19542. module.exports = function callBind(originalFunction) {
  19543. var func = $reflectApply(bind, $call, arguments);
  19544. if ($gOPD && $defineProperty) {
  19545. var desc = $gOPD(func, 'length');
  19546. if (desc.configurable) {
  19547. // original length, plus the receiver, minus any additional arguments (after the receiver)
  19548. $defineProperty(
  19549. func,
  19550. 'length',
  19551. { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
  19552. );
  19553. }
  19554. }
  19555. return func;
  19556. };
  19557. var applyBind = function applyBind() {
  19558. return $reflectApply(bind, $apply, arguments);
  19559. };
  19560. if ($defineProperty) {
  19561. $defineProperty(module.exports, 'apply', { value: applyBind });
  19562. } else {
  19563. module.exports.apply = applyBind;
  19564. }
  19565. /***/ }),
  19566. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./resources/js/assets/styles/layout.scss":
  19567. /*!**************************************************************************************************************************************************************************************************************************************************!*\
  19568. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./resources/js/assets/styles/layout.scss ***!
  19569. \**************************************************************************************************************************************************************************************************************************************************/
  19570. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19571. "use strict";
  19572. __webpack_require__.r(__webpack_exports__);
  19573. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19574. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19575. /* harmony export */ });
  19576. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19577. /* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19578. // Imports
  19579. var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19580. // Module
  19581. ___CSS_LOADER_EXPORT___.push([module.id, "/* General */\n.preloader {\n position: fixed;\n z-index: 999999;\n background: #edf1f5;\n width: 100%;\n height: 100%;\n}\n\n.preloader-content {\n border: 0 solid transparent;\n border-radius: 50%;\n width: 150px;\n height: 150px;\n position: absolute;\n top: calc(50vh - 75px);\n left: calc(50vw - 75px);\n}\n\n.preloader-content:before, .preloader-content:after {\n content: \"\";\n border: 1em solid var(--primary-color);\n border-radius: 50%;\n width: inherit;\n height: inherit;\n position: absolute;\n top: 0;\n left: 0;\n -webkit-animation: loader 2s linear infinite;\n animation: loader 2s linear infinite;\n opacity: 0;\n}\n\n.preloader-content:before {\n -webkit-animation-delay: 0.5s;\n animation-delay: 0.5s;\n}\n\n@-webkit-keyframes loader {\n 0% {\n transform: scale(0);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(1);\n opacity: 0;\n }\n}\n\n@keyframes loader {\n 0% {\n transform: scale(0);\n opacity: 0;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n transform: scale(1);\n opacity: 0;\n }\n}\n* {\n box-sizing: border-box;\n}\n\nhtml {\n height: 100%;\n font-size: 14px;\n}\n\nbody {\n font-family: var(--font-family);\n color: var(--text-color);\n background-color: var(--surface-ground);\n margin: 0;\n padding: 0;\n min-height: 100%;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\na {\n text-decoration: none;\n color: var(--primary-color);\n}\n\n.layout-theme-light {\n background-color: #edf1f5;\n}\n\n.layout-topbar {\n position: fixed;\n height: 5rem;\n z-index: 997;\n left: 0;\n top: 0;\n width: 100%;\n padding: 0 2rem;\n background-color: var(--surface-card);\n transition: left 0.2s;\n display: flex;\n align-items: center;\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);\n}\n.layout-topbar .layout-topbar-logo {\n display: flex;\n align-items: center;\n color: var(--surface-900);\n font-size: 1.5rem;\n font-weight: 500;\n width: 300px;\n border-radius: 12px;\n}\n.layout-topbar .layout-topbar-logo img {\n height: 2.5rem;\n margin-right: 0.5rem;\n}\n.layout-topbar .layout-topbar-logo:focus {\n outline: 0 none;\n outline-offset: 0;\n transition: box-shadow 0.2s;\n box-shadow: var(--focus-ring);\n}\n.layout-topbar .layout-topbar-button {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n position: relative;\n color: var(--text-color-secondary);\n border-radius: 50%;\n width: 3rem;\n height: 3rem;\n cursor: pointer;\n transition: background-color 0.2s;\n}\n.layout-topbar .layout-topbar-button:hover {\n color: var(--text-color);\n background-color: var(--surface-hover);\n}\n.layout-topbar .layout-topbar-button:focus {\n outline: 0 none;\n outline-offset: 0;\n transition: box-shadow 0.2s;\n box-shadow: var(--focus-ring);\n}\n.layout-topbar .layout-topbar-button i {\n font-size: 1.5rem;\n}\n.layout-topbar .layout-topbar-button span {\n font-size: 1rem;\n display: none;\n}\n.layout-topbar .layout-menu-button {\n margin-left: 2rem;\n}\n.layout-topbar .layout-topbar-menu-button {\n display: none;\n}\n.layout-topbar .layout-topbar-menu-button i {\n font-size: 1.25rem;\n}\n.layout-topbar .layout-topbar-menu {\n margin: 0 0 0 auto;\n padding: 0;\n list-style: none;\n display: flex;\n}\n.layout-topbar .layout-topbar-menu .layout-topbar-button {\n margin-left: 1rem;\n}\n\n@media (max-width: 991px) {\n .layout-topbar {\n justify-content: space-between;\n }\n .layout-topbar .layout-topbar-logo {\n width: auto;\n order: 2;\n }\n .layout-topbar .layout-menu-button {\n margin-left: 0;\n order: 1;\n }\n .layout-topbar .layout-topbar-menu-button {\n display: inline-flex;\n margin-left: 0;\n order: 3;\n }\n .layout-topbar .layout-topbar-menu {\n margin-left: 0;\n position: absolute;\n flex-direction: column;\n background-color: var(--surface-overlay);\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);\n border-radius: 12px;\n padding: 1rem;\n right: 2rem;\n top: 5rem;\n min-width: 15rem;\n }\n .layout-topbar .layout-topbar-menu .layout-topbar-button {\n margin-left: 0;\n display: flex;\n width: 100%;\n height: auto;\n justify-content: flex-start;\n border-radius: 12px;\n padding: 1rem;\n }\n .layout-topbar .layout-topbar-menu .layout-topbar-button i {\n font-size: 1rem;\n margin-right: 0.5rem;\n }\n .layout-topbar .layout-topbar-menu .layout-topbar-button span {\n font-weight: medium;\n display: block;\n }\n}\n.layout-sidebar {\n position: fixed;\n width: 300px;\n height: calc(100vh - 9rem);\n z-index: 999;\n overflow-y: auto;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n top: 7rem;\n left: 2rem;\n transition: transform 0.2s, left 0.2s;\n background-color: var(--surface-overlay);\n border-radius: 12px;\n padding: 1.5rem;\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);\n}\n\n.layout-menu {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.layout-menu li.layout-menuitem-category {\n margin-top: 0.75rem;\n}\n.layout-menu li.layout-menuitem-category:first-child {\n margin-top: 0;\n}\n.layout-menu li .layout-menuitem-root-text {\n text-transform: uppercase;\n color: var(--surface-900);\n font-weight: 600;\n margin-bottom: 0.5rem;\n font-size: 0.875rem;\n}\n.layout-menu li a {\n cursor: pointer;\n text-decoration: none;\n display: flex;\n align-items: center;\n color: var(--text-color);\n transition: color 0.2s;\n border-radius: 12px;\n padding: 0.75rem 1rem;\n transition: background-color 0.15s;\n}\n.layout-menu li a span {\n margin-left: 0.5rem;\n}\n.layout-menu li a .menuitem-toggle-icon {\n margin-left: auto;\n}\n.layout-menu li a:focus {\n outline: 0 none;\n outline-offset: 0;\n transition: box-shadow 0.2s;\n box-shadow: inset var(--focus-ring);\n}\n.layout-menu li a:hover {\n background-color: var(--surface-hover);\n}\n.layout-menu li a.router-link-exact-active {\n font-weight: 700;\n color: var(--primary-color);\n}\n.layout-menu li a .p-badge {\n margin-left: auto;\n}\n.layout-menu li.active-menuitem > a .menuitem-toggle-icon:before {\n content: \"\\e933\";\n}\n.layout-menu li ul {\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n.layout-menu li ul.layout-submenu-wrapper-enter-from, .layout-menu li ul.layout-submenu-wrapper-leave-to {\n max-height: 0;\n}\n.layout-menu li ul.layout-submenu-wrapper-enter-to, .layout-menu li ul.layout-submenu-wrapper-leave-from {\n max-height: 1000px;\n}\n.layout-menu li ul.layout-submenu-wrapper-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n.layout-menu li ul.layout-submenu-wrapper-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n.layout-menu li ul ul {\n padding-left: 1rem;\n}\n\n.layout-main-container {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n justify-content: space-between;\n padding: 7rem 2rem 2rem 4rem;\n transition: margin-left 0.2s;\n}\n\n.layout-main {\n flex: 1 1 auto;\n}\n\n.layout-footer {\n transition: margin-left 0.2s;\n display: flex;\n align-items: center;\n justify-content: center;\n padding-top: 1rem;\n border-top: 1px solid var(--surface-border);\n}\n\n@media (min-width: 992px) {\n .layout-wrapper.layout-overlay .layout-main-container {\n margin-left: 0;\n padding-left: 2rem;\n }\n .layout-wrapper.layout-overlay .layout-sidebar {\n transform: translateX(-100%);\n left: 0;\n top: 0;\n height: 100vh;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .layout-wrapper.layout-overlay.layout-overlay-sidebar-active .layout-sidebar {\n transform: translateX(0);\n }\n .layout-wrapper.layout-static .layout-main-container {\n margin-left: 300px;\n }\n .layout-wrapper.layout-static.layout-static-sidebar-inactive .layout-sidebar {\n transform: translateX(-100%);\n left: 0;\n }\n .layout-wrapper.layout-static.layout-static-sidebar-inactive .layout-main-container {\n margin-left: 0;\n padding-left: 2rem;\n }\n .layout-wrapper .layout-mask {\n display: none;\n }\n}\n@media (max-width: 991px) {\n .layout-wrapper .layout-main-container {\n margin-left: 0;\n padding-left: 2rem;\n }\n .layout-wrapper .layout-sidebar {\n transform: translateX(-100%);\n left: 0;\n top: 0;\n height: 100vh;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n }\n .layout-wrapper .layout-mask {\n z-index: 998;\n background-color: var(--maskbg);\n }\n .layout-wrapper .layout-mask.layout-mask-enter-from, .layout-wrapper .layout-mask.layout-mask-leave-to {\n background-color: transparent;\n }\n .layout-wrapper.layout-mobile-sidebar-active .layout-sidebar {\n transform: translateX(0);\n }\n .layout-wrapper.layout-mobile-sidebar-active .layout-mask {\n display: block;\n }\n\n .body-overflow-hidden {\n overflow: hidden;\n }\n}\n.card {\n background-color: var(--surface-card);\n padding: 1.5rem;\n color: var(--surface-900);\n margin-bottom: 1rem;\n border-radius: 12px;\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n}\n.card.card-w-title {\n padding-bottom: 2rem;\n}\n\nh1, h2, h3, h4, h5, h6 {\n margin: 1.5rem 0 1rem 0;\n font-family: inherit;\n font-weight: 500;\n line-height: 1.2;\n color: inherit;\n}\nh1:first-child, h2:first-child, h3:first-child, h4:first-child, h5:first-child, h6:first-child {\n margin-top: 0;\n}\n\nh1 {\n font-size: 2.5rem;\n}\n\nh2 {\n font-size: 2rem;\n}\n\nh3 {\n font-size: 1.75rem;\n}\n\nh4 {\n font-size: 1.5rem;\n}\n\nh5 {\n font-size: 1.25rem;\n}\n\nh6 {\n font-size: 1rem;\n}\n\nmark {\n background: #FFF8E1;\n padding: 0.25rem 0.4rem;\n border-radius: 12px;\n font-family: monospace;\n}\n\nblockquote {\n margin: 1rem 0;\n padding: 0 2rem;\n border-left: 4px solid #90A4AE;\n}\n\nhr {\n border-top: solid var(--surface-border);\n border-width: 1px 0 0 0;\n margin: 1rem 0;\n}\n\np {\n margin: 0 0 1rem 0;\n line-height: 1.5;\n}\np:last-child {\n margin-bottom: 0;\n}", ""]);
  19582. // Exports
  19583. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19584. /***/ }),
  19585. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeflex/primeflex.css":
  19586. /*!******************************************************************************************************************************************************************************!*\
  19587. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeflex/primeflex.css ***!
  19588. \******************************************************************************************************************************************************************************/
  19589. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19590. "use strict";
  19591. __webpack_require__.r(__webpack_exports__);
  19592. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19593. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19594. /* harmony export */ });
  19595. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19596. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19597. // Imports
  19598. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19599. // Module
  19600. ___CSS_LOADER_EXPORT___.push([module.id, ".grid {\n display: flex;\n flex-wrap: wrap;\n margin-right: -0.5rem;\n margin-left: -0.5rem;\n margin-top: -0.5rem;\n}\n\n.grid > .col,\n.grid > [class*=col] {\n box-sizing: border-box;\n}\n\n.grid-nogutter {\n margin-right: 0;\n margin-left: 0;\n margin-top: 0;\n}\n\n.grid-nogutter > .col,\n.grid-nogutter > [class*=col-] {\n padding: 0;\n}\n\n.col {\n flex-grow: 1;\n flex-basis: 0;\n padding: 0.5rem;\n}\n\n.col-fixed {\n flex: 0 0 auto;\n padding: 0.5rem;\n}\n\n.col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n}\n\n.col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n}\n\n.col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n}\n\n.col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n}\n\n.col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n}\n\n.col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n}\n\n.col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n}\n\n.col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n}\n\n.col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n}\n\n.col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n}\n\n.col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n}\n\n.col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .sm\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .sm\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .sm\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .sm\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .sm\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .sm\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .sm\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .sm\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .sm\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .sm\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .sm\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .md\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .md\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .md\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .md\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .md\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .md\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .md\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .md\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .md\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .md\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .md\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .lg\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .lg\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .lg\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .lg\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .lg\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .lg\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .lg\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .lg\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .lg\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .lg\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .lg\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:col-1 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 8.3333%;\n }\n .xl\\:col-2 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 16.6667%;\n }\n .xl\\:col-3 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 25%;\n }\n .xl\\:col-4 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 33.3333%;\n }\n .xl\\:col-5 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 41.6667%;\n }\n .xl\\:col-6 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 50%;\n }\n .xl\\:col-7 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 58.3333%;\n }\n .xl\\:col-8 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 66.6667%;\n }\n .xl\\:col-9 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 75%;\n }\n .xl\\:col-10 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 83.3333%;\n }\n .xl\\:col-11 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 91.6667%;\n }\n .xl\\:col-12 {\n flex: 0 0 auto;\n padding: 0.5rem;\n width: 100%;\n }\n}\n.col-offset-0 {\n margin-left: 0 !important;\n}\n\n.col-offset-1 {\n margin-left: 8.3333% !important;\n}\n\n.col-offset-2 {\n margin-left: 16.6667% !important;\n}\n\n.col-offset-3 {\n margin-left: 25% !important;\n}\n\n.col-offset-4 {\n margin-left: 33.3333% !important;\n}\n\n.col-offset-5 {\n margin-left: 41.6667% !important;\n}\n\n.col-offset-6 {\n margin-left: 50% !important;\n}\n\n.col-offset-7 {\n margin-left: 58.3333% !important;\n}\n\n.col-offset-8 {\n margin-left: 66.6667% !important;\n}\n\n.col-offset-9 {\n margin-left: 75% !important;\n}\n\n.col-offset-10 {\n margin-left: 83.3333% !important;\n}\n\n.col-offset-11 {\n margin-left: 91.6667% !important;\n}\n\n.col-offset-12 {\n margin-left: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .sm\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .sm\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .sm\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .sm\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .sm\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .sm\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .sm\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .sm\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .sm\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .sm\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .sm\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .sm\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .md\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .md\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .md\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .md\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .md\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .md\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .md\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .md\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .md\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .md\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .md\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .md\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .lg\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .lg\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .lg\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .lg\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .lg\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .lg\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .lg\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .lg\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .lg\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .lg\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .lg\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .lg\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:col-offset-0 {\n margin-left: 0 !important;\n }\n .xl\\:col-offset-1 {\n margin-left: 8.3333% !important;\n }\n .xl\\:col-offset-2 {\n margin-left: 16.6667% !important;\n }\n .xl\\:col-offset-3 {\n margin-left: 25% !important;\n }\n .xl\\:col-offset-4 {\n margin-left: 33.3333% !important;\n }\n .xl\\:col-offset-5 {\n margin-left: 41.6667% !important;\n }\n .xl\\:col-offset-6 {\n margin-left: 50% !important;\n }\n .xl\\:col-offset-7 {\n margin-left: 58.3333% !important;\n }\n .xl\\:col-offset-8 {\n margin-left: 66.6667% !important;\n }\n .xl\\:col-offset-9 {\n margin-left: 75% !important;\n }\n .xl\\:col-offset-10 {\n margin-left: 83.3333% !important;\n }\n .xl\\:col-offset-11 {\n margin-left: 91.6667% !important;\n }\n .xl\\:col-offset-12 {\n margin-left: 100% !important;\n }\n}\n.text-0 {\n color: var(--surface-0) !important;\n}\n\n.text-50 {\n color: var(--surface-50) !important;\n}\n\n.text-100 {\n color: var(--surface-100) !important;\n}\n\n.text-200 {\n color: var(--surface-200) !important;\n}\n\n.text-300 {\n color: var(--surface-300) !important;\n}\n\n.text-400 {\n color: var(--surface-400) !important;\n}\n\n.text-500 {\n color: var(--surface-500) !important;\n}\n\n.text-600 {\n color: var(--surface-600) !important;\n}\n\n.text-700 {\n color: var(--surface-700) !important;\n}\n\n.text-800 {\n color: var(--surface-800) !important;\n}\n\n.text-900 {\n color: var(--surface-900) !important;\n}\n\n.focus\\:text-0:focus {\n color: var(--surface-0) !important;\n}\n\n.hover\\:text-0:hover {\n color: var(--surface-0) !important;\n}\n\n.active\\:text-0:active {\n color: var(--surface-0) !important;\n}\n\n.focus\\:text-50:focus {\n color: var(--surface-50) !important;\n}\n\n.hover\\:text-50:hover {\n color: var(--surface-50) !important;\n}\n\n.active\\:text-50:active {\n color: var(--surface-50) !important;\n}\n\n.focus\\:text-100:focus {\n color: var(--surface-100) !important;\n}\n\n.hover\\:text-100:hover {\n color: var(--surface-100) !important;\n}\n\n.active\\:text-100:active {\n color: var(--surface-100) !important;\n}\n\n.focus\\:text-200:focus {\n color: var(--surface-200) !important;\n}\n\n.hover\\:text-200:hover {\n color: var(--surface-200) !important;\n}\n\n.active\\:text-200:active {\n color: var(--surface-200) !important;\n}\n\n.focus\\:text-300:focus {\n color: var(--surface-300) !important;\n}\n\n.hover\\:text-300:hover {\n color: var(--surface-300) !important;\n}\n\n.active\\:text-300:active {\n color: var(--surface-300) !important;\n}\n\n.focus\\:text-400:focus {\n color: var(--surface-400) !important;\n}\n\n.hover\\:text-400:hover {\n color: var(--surface-400) !important;\n}\n\n.active\\:text-400:active {\n color: var(--surface-400) !important;\n}\n\n.focus\\:text-500:focus {\n color: var(--surface-500) !important;\n}\n\n.hover\\:text-500:hover {\n color: var(--surface-500) !important;\n}\n\n.active\\:text-500:active {\n color: var(--surface-500) !important;\n}\n\n.focus\\:text-600:focus {\n color: var(--surface-600) !important;\n}\n\n.hover\\:text-600:hover {\n color: var(--surface-600) !important;\n}\n\n.active\\:text-600:active {\n color: var(--surface-600) !important;\n}\n\n.focus\\:text-700:focus {\n color: var(--surface-700) !important;\n}\n\n.hover\\:text-700:hover {\n color: var(--surface-700) !important;\n}\n\n.active\\:text-700:active {\n color: var(--surface-700) !important;\n}\n\n.focus\\:text-800:focus {\n color: var(--surface-800) !important;\n}\n\n.hover\\:text-800:hover {\n color: var(--surface-800) !important;\n}\n\n.active\\:text-800:active {\n color: var(--surface-800) !important;\n}\n\n.focus\\:text-900:focus {\n color: var(--surface-900) !important;\n}\n\n.hover\\:text-900:hover {\n color: var(--surface-900) !important;\n}\n\n.active\\:text-900:active {\n color: var(--surface-900) !important;\n}\n\n.surface-0 {\n background-color: var(--surface-0) !important;\n}\n\n.surface-50 {\n background-color: var(--surface-50) !important;\n}\n\n.surface-100 {\n background-color: var(--surface-100) !important;\n}\n\n.surface-200 {\n background-color: var(--surface-200) !important;\n}\n\n.surface-300 {\n background-color: var(--surface-300) !important;\n}\n\n.surface-400 {\n background-color: var(--surface-400) !important;\n}\n\n.surface-500 {\n background-color: var(--surface-500) !important;\n}\n\n.surface-600 {\n background-color: var(--surface-600) !important;\n}\n\n.surface-700 {\n background-color: var(--surface-700) !important;\n}\n\n.surface-800 {\n background-color: var(--surface-800) !important;\n}\n\n.surface-900 {\n background-color: var(--surface-900) !important;\n}\n\n.focus\\:surface-0:focus {\n background-color: var(--surface-0) !important;\n}\n\n.hover\\:surface-0:hover {\n background-color: var(--surface-0) !important;\n}\n\n.active\\:surface-0:active {\n background-color: var(--surface-0) !important;\n}\n\n.focus\\:surface-50:focus {\n background-color: var(--surface-50) !important;\n}\n\n.hover\\:surface-50:hover {\n background-color: var(--surface-50) !important;\n}\n\n.active\\:surface-50:active {\n background-color: var(--surface-50) !important;\n}\n\n.focus\\:surface-100:focus {\n background-color: var(--surface-100) !important;\n}\n\n.hover\\:surface-100:hover {\n background-color: var(--surface-100) !important;\n}\n\n.active\\:surface-100:active {\n background-color: var(--surface-100) !important;\n}\n\n.focus\\:surface-200:focus {\n background-color: var(--surface-200) !important;\n}\n\n.hover\\:surface-200:hover {\n background-color: var(--surface-200) !important;\n}\n\n.active\\:surface-200:active {\n background-color: var(--surface-200) !important;\n}\n\n.focus\\:surface-300:focus {\n background-color: var(--surface-300) !important;\n}\n\n.hover\\:surface-300:hover {\n background-color: var(--surface-300) !important;\n}\n\n.active\\:surface-300:active {\n background-color: var(--surface-300) !important;\n}\n\n.focus\\:surface-400:focus {\n background-color: var(--surface-400) !important;\n}\n\n.hover\\:surface-400:hover {\n background-color: var(--surface-400) !important;\n}\n\n.active\\:surface-400:active {\n background-color: var(--surface-400) !important;\n}\n\n.focus\\:surface-500:focus {\n background-color: var(--surface-500) !important;\n}\n\n.hover\\:surface-500:hover {\n background-color: var(--surface-500) !important;\n}\n\n.active\\:surface-500:active {\n background-color: var(--surface-500) !important;\n}\n\n.focus\\:surface-600:focus {\n background-color: var(--surface-600) !important;\n}\n\n.hover\\:surface-600:hover {\n background-color: var(--surface-600) !important;\n}\n\n.active\\:surface-600:active {\n background-color: var(--surface-600) !important;\n}\n\n.focus\\:surface-700:focus {\n background-color: var(--surface-700) !important;\n}\n\n.hover\\:surface-700:hover {\n background-color: var(--surface-700) !important;\n}\n\n.active\\:surface-700:active {\n background-color: var(--surface-700) !important;\n}\n\n.focus\\:surface-800:focus {\n background-color: var(--surface-800) !important;\n}\n\n.hover\\:surface-800:hover {\n background-color: var(--surface-800) !important;\n}\n\n.active\\:surface-800:active {\n background-color: var(--surface-800) !important;\n}\n\n.focus\\:surface-900:focus {\n background-color: var(--surface-900) !important;\n}\n\n.hover\\:surface-900:hover {\n background-color: var(--surface-900) !important;\n}\n\n.active\\:surface-900:active {\n background-color: var(--surface-900) !important;\n}\n\n.border-0 {\n border-color: var(--surface-0) !important;\n}\n\n.border-50 {\n border-color: var(--surface-50) !important;\n}\n\n.border-100 {\n border-color: var(--surface-100) !important;\n}\n\n.border-200 {\n border-color: var(--surface-200) !important;\n}\n\n.border-300 {\n border-color: var(--surface-300) !important;\n}\n\n.border-400 {\n border-color: var(--surface-400) !important;\n}\n\n.border-500 {\n border-color: var(--surface-500) !important;\n}\n\n.border-600 {\n border-color: var(--surface-600) !important;\n}\n\n.border-700 {\n border-color: var(--surface-700) !important;\n}\n\n.border-800 {\n border-color: var(--surface-800) !important;\n}\n\n.border-900 {\n border-color: var(--surface-900) !important;\n}\n\n.focus\\:border-0:focus {\n border-color: var(--surface-0) !important;\n}\n\n.hover\\:border-0:hover {\n border-color: var(--surface-0) !important;\n}\n\n.active\\:border-0:active {\n border-color: var(--surface-0) !important;\n}\n\n.focus\\:border-50:focus {\n border-color: var(--surface-50) !important;\n}\n\n.hover\\:border-50:hover {\n border-color: var(--surface-50) !important;\n}\n\n.active\\:border-50:active {\n border-color: var(--surface-50) !important;\n}\n\n.focus\\:border-100:focus {\n border-color: var(--surface-100) !important;\n}\n\n.hover\\:border-100:hover {\n border-color: var(--surface-100) !important;\n}\n\n.active\\:border-100:active {\n border-color: var(--surface-100) !important;\n}\n\n.focus\\:border-200:focus {\n border-color: var(--surface-200) !important;\n}\n\n.hover\\:border-200:hover {\n border-color: var(--surface-200) !important;\n}\n\n.active\\:border-200:active {\n border-color: var(--surface-200) !important;\n}\n\n.focus\\:border-300:focus {\n border-color: var(--surface-300) !important;\n}\n\n.hover\\:border-300:hover {\n border-color: var(--surface-300) !important;\n}\n\n.active\\:border-300:active {\n border-color: var(--surface-300) !important;\n}\n\n.focus\\:border-400:focus {\n border-color: var(--surface-400) !important;\n}\n\n.hover\\:border-400:hover {\n border-color: var(--surface-400) !important;\n}\n\n.active\\:border-400:active {\n border-color: var(--surface-400) !important;\n}\n\n.focus\\:border-500:focus {\n border-color: var(--surface-500) !important;\n}\n\n.hover\\:border-500:hover {\n border-color: var(--surface-500) !important;\n}\n\n.active\\:border-500:active {\n border-color: var(--surface-500) !important;\n}\n\n.focus\\:border-600:focus {\n border-color: var(--surface-600) !important;\n}\n\n.hover\\:border-600:hover {\n border-color: var(--surface-600) !important;\n}\n\n.active\\:border-600:active {\n border-color: var(--surface-600) !important;\n}\n\n.focus\\:border-700:focus {\n border-color: var(--surface-700) !important;\n}\n\n.hover\\:border-700:hover {\n border-color: var(--surface-700) !important;\n}\n\n.active\\:border-700:active {\n border-color: var(--surface-700) !important;\n}\n\n.focus\\:border-800:focus {\n border-color: var(--surface-800) !important;\n}\n\n.hover\\:border-800:hover {\n border-color: var(--surface-800) !important;\n}\n\n.active\\:border-800:active {\n border-color: var(--surface-800) !important;\n}\n\n.focus\\:border-900:focus {\n border-color: var(--surface-900) !important;\n}\n\n.hover\\:border-900:hover {\n border-color: var(--surface-900) !important;\n}\n\n.active\\:border-900:active {\n border-color: var(--surface-900) !important;\n}\n\n.bg-transparent {\n background-color: transparent !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-transparent {\n background-color: transparent !important;\n }\n}\n.border-transparent {\n border-color: transparent !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-transparent {\n border-color: transparent !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-transparent {\n border-color: transparent !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-transparent {\n border-color: transparent !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-transparent {\n border-color: transparent !important;\n }\n}\n.text-blue-50 {\n color: var(--blue-50) !important;\n}\n.text-blue-100 {\n color: var(--blue-100) !important;\n}\n.text-blue-200 {\n color: var(--blue-200) !important;\n}\n.text-blue-300 {\n color: var(--blue-300) !important;\n}\n.text-blue-400 {\n color: var(--blue-400) !important;\n}\n.text-blue-500 {\n color: var(--blue-500) !important;\n}\n.text-blue-600 {\n color: var(--blue-600) !important;\n}\n.text-blue-700 {\n color: var(--blue-700) !important;\n}\n.text-blue-800 {\n color: var(--blue-800) !important;\n}\n.text-blue-900 {\n color: var(--blue-900) !important;\n}\n\n.focus\\:text-blue-50:focus {\n color: var(--blue-50) !important;\n}\n.focus\\:text-blue-100:focus {\n color: var(--blue-100) !important;\n}\n.focus\\:text-blue-200:focus {\n color: var(--blue-200) !important;\n}\n.focus\\:text-blue-300:focus {\n color: var(--blue-300) !important;\n}\n.focus\\:text-blue-400:focus {\n color: var(--blue-400) !important;\n}\n.focus\\:text-blue-500:focus {\n color: var(--blue-500) !important;\n}\n.focus\\:text-blue-600:focus {\n color: var(--blue-600) !important;\n}\n.focus\\:text-blue-700:focus {\n color: var(--blue-700) !important;\n}\n.focus\\:text-blue-800:focus {\n color: var(--blue-800) !important;\n}\n.focus\\:text-blue-900:focus {\n color: var(--blue-900) !important;\n}\n\n.hover\\:text-blue-50:hover {\n color: var(--blue-50) !important;\n}\n.hover\\:text-blue-100:hover {\n color: var(--blue-100) !important;\n}\n.hover\\:text-blue-200:hover {\n color: var(--blue-200) !important;\n}\n.hover\\:text-blue-300:hover {\n color: var(--blue-300) !important;\n}\n.hover\\:text-blue-400:hover {\n color: var(--blue-400) !important;\n}\n.hover\\:text-blue-500:hover {\n color: var(--blue-500) !important;\n}\n.hover\\:text-blue-600:hover {\n color: var(--blue-600) !important;\n}\n.hover\\:text-blue-700:hover {\n color: var(--blue-700) !important;\n}\n.hover\\:text-blue-800:hover {\n color: var(--blue-800) !important;\n}\n.hover\\:text-blue-900:hover {\n color: var(--blue-900) !important;\n}\n\n.active\\:text-blue-50:active {\n color: var(--blue-50) !important;\n}\n.active\\:text-blue-100:active {\n color: var(--blue-100) !important;\n}\n.active\\:text-blue-200:active {\n color: var(--blue-200) !important;\n}\n.active\\:text-blue-300:active {\n color: var(--blue-300) !important;\n}\n.active\\:text-blue-400:active {\n color: var(--blue-400) !important;\n}\n.active\\:text-blue-500:active {\n color: var(--blue-500) !important;\n}\n.active\\:text-blue-600:active {\n color: var(--blue-600) !important;\n}\n.active\\:text-blue-700:active {\n color: var(--blue-700) !important;\n}\n.active\\:text-blue-800:active {\n color: var(--blue-800) !important;\n}\n.active\\:text-blue-900:active {\n color: var(--blue-900) !important;\n}\n\n.text-green-50 {\n color: var(--green-50) !important;\n}\n.text-green-100 {\n color: var(--green-100) !important;\n}\n.text-green-200 {\n color: var(--green-200) !important;\n}\n.text-green-300 {\n color: var(--green-300) !important;\n}\n.text-green-400 {\n color: var(--green-400) !important;\n}\n.text-green-500 {\n color: var(--green-500) !important;\n}\n.text-green-600 {\n color: var(--green-600) !important;\n}\n.text-green-700 {\n color: var(--green-700) !important;\n}\n.text-green-800 {\n color: var(--green-800) !important;\n}\n.text-green-900 {\n color: var(--green-900) !important;\n}\n\n.focus\\:text-green-50:focus {\n color: var(--green-50) !important;\n}\n.focus\\:text-green-100:focus {\n color: var(--green-100) !important;\n}\n.focus\\:text-green-200:focus {\n color: var(--green-200) !important;\n}\n.focus\\:text-green-300:focus {\n color: var(--green-300) !important;\n}\n.focus\\:text-green-400:focus {\n color: var(--green-400) !important;\n}\n.focus\\:text-green-500:focus {\n color: var(--green-500) !important;\n}\n.focus\\:text-green-600:focus {\n color: var(--green-600) !important;\n}\n.focus\\:text-green-700:focus {\n color: var(--green-700) !important;\n}\n.focus\\:text-green-800:focus {\n color: var(--green-800) !important;\n}\n.focus\\:text-green-900:focus {\n color: var(--green-900) !important;\n}\n\n.hover\\:text-green-50:hover {\n color: var(--green-50) !important;\n}\n.hover\\:text-green-100:hover {\n color: var(--green-100) !important;\n}\n.hover\\:text-green-200:hover {\n color: var(--green-200) !important;\n}\n.hover\\:text-green-300:hover {\n color: var(--green-300) !important;\n}\n.hover\\:text-green-400:hover {\n color: var(--green-400) !important;\n}\n.hover\\:text-green-500:hover {\n color: var(--green-500) !important;\n}\n.hover\\:text-green-600:hover {\n color: var(--green-600) !important;\n}\n.hover\\:text-green-700:hover {\n color: var(--green-700) !important;\n}\n.hover\\:text-green-800:hover {\n color: var(--green-800) !important;\n}\n.hover\\:text-green-900:hover {\n color: var(--green-900) !important;\n}\n\n.active\\:text-green-50:active {\n color: var(--green-50) !important;\n}\n.active\\:text-green-100:active {\n color: var(--green-100) !important;\n}\n.active\\:text-green-200:active {\n color: var(--green-200) !important;\n}\n.active\\:text-green-300:active {\n color: var(--green-300) !important;\n}\n.active\\:text-green-400:active {\n color: var(--green-400) !important;\n}\n.active\\:text-green-500:active {\n color: var(--green-500) !important;\n}\n.active\\:text-green-600:active {\n color: var(--green-600) !important;\n}\n.active\\:text-green-700:active {\n color: var(--green-700) !important;\n}\n.active\\:text-green-800:active {\n color: var(--green-800) !important;\n}\n.active\\:text-green-900:active {\n color: var(--green-900) !important;\n}\n\n.text-yellow-50 {\n color: var(--yellow-50) !important;\n}\n.text-yellow-100 {\n color: var(--yellow-100) !important;\n}\n.text-yellow-200 {\n color: var(--yellow-200) !important;\n}\n.text-yellow-300 {\n color: var(--yellow-300) !important;\n}\n.text-yellow-400 {\n color: var(--yellow-400) !important;\n}\n.text-yellow-500 {\n color: var(--yellow-500) !important;\n}\n.text-yellow-600 {\n color: var(--yellow-600) !important;\n}\n.text-yellow-700 {\n color: var(--yellow-700) !important;\n}\n.text-yellow-800 {\n color: var(--yellow-800) !important;\n}\n.text-yellow-900 {\n color: var(--yellow-900) !important;\n}\n\n.focus\\:text-yellow-50:focus {\n color: var(--yellow-50) !important;\n}\n.focus\\:text-yellow-100:focus {\n color: var(--yellow-100) !important;\n}\n.focus\\:text-yellow-200:focus {\n color: var(--yellow-200) !important;\n}\n.focus\\:text-yellow-300:focus {\n color: var(--yellow-300) !important;\n}\n.focus\\:text-yellow-400:focus {\n color: var(--yellow-400) !important;\n}\n.focus\\:text-yellow-500:focus {\n color: var(--yellow-500) !important;\n}\n.focus\\:text-yellow-600:focus {\n color: var(--yellow-600) !important;\n}\n.focus\\:text-yellow-700:focus {\n color: var(--yellow-700) !important;\n}\n.focus\\:text-yellow-800:focus {\n color: var(--yellow-800) !important;\n}\n.focus\\:text-yellow-900:focus {\n color: var(--yellow-900) !important;\n}\n\n.hover\\:text-yellow-50:hover {\n color: var(--yellow-50) !important;\n}\n.hover\\:text-yellow-100:hover {\n color: var(--yellow-100) !important;\n}\n.hover\\:text-yellow-200:hover {\n color: var(--yellow-200) !important;\n}\n.hover\\:text-yellow-300:hover {\n color: var(--yellow-300) !important;\n}\n.hover\\:text-yellow-400:hover {\n color: var(--yellow-400) !important;\n}\n.hover\\:text-yellow-500:hover {\n color: var(--yellow-500) !important;\n}\n.hover\\:text-yellow-600:hover {\n color: var(--yellow-600) !important;\n}\n.hover\\:text-yellow-700:hover {\n color: var(--yellow-700) !important;\n}\n.hover\\:text-yellow-800:hover {\n color: var(--yellow-800) !important;\n}\n.hover\\:text-yellow-900:hover {\n color: var(--yellow-900) !important;\n}\n\n.active\\:text-yellow-50:active {\n color: var(--yellow-50) !important;\n}\n.active\\:text-yellow-100:active {\n color: var(--yellow-100) !important;\n}\n.active\\:text-yellow-200:active {\n color: var(--yellow-200) !important;\n}\n.active\\:text-yellow-300:active {\n color: var(--yellow-300) !important;\n}\n.active\\:text-yellow-400:active {\n color: var(--yellow-400) !important;\n}\n.active\\:text-yellow-500:active {\n color: var(--yellow-500) !important;\n}\n.active\\:text-yellow-600:active {\n color: var(--yellow-600) !important;\n}\n.active\\:text-yellow-700:active {\n color: var(--yellow-700) !important;\n}\n.active\\:text-yellow-800:active {\n color: var(--yellow-800) !important;\n}\n.active\\:text-yellow-900:active {\n color: var(--yellow-900) !important;\n}\n\n.text-cyan-50 {\n color: var(--cyan-50) !important;\n}\n.text-cyan-100 {\n color: var(--cyan-100) !important;\n}\n.text-cyan-200 {\n color: var(--cyan-200) !important;\n}\n.text-cyan-300 {\n color: var(--cyan-300) !important;\n}\n.text-cyan-400 {\n color: var(--cyan-400) !important;\n}\n.text-cyan-500 {\n color: var(--cyan-500) !important;\n}\n.text-cyan-600 {\n color: var(--cyan-600) !important;\n}\n.text-cyan-700 {\n color: var(--cyan-700) !important;\n}\n.text-cyan-800 {\n color: var(--cyan-800) !important;\n}\n.text-cyan-900 {\n color: var(--cyan-900) !important;\n}\n\n.focus\\:text-cyan-50:focus {\n color: var(--cyan-50) !important;\n}\n.focus\\:text-cyan-100:focus {\n color: var(--cyan-100) !important;\n}\n.focus\\:text-cyan-200:focus {\n color: var(--cyan-200) !important;\n}\n.focus\\:text-cyan-300:focus {\n color: var(--cyan-300) !important;\n}\n.focus\\:text-cyan-400:focus {\n color: var(--cyan-400) !important;\n}\n.focus\\:text-cyan-500:focus {\n color: var(--cyan-500) !important;\n}\n.focus\\:text-cyan-600:focus {\n color: var(--cyan-600) !important;\n}\n.focus\\:text-cyan-700:focus {\n color: var(--cyan-700) !important;\n}\n.focus\\:text-cyan-800:focus {\n color: var(--cyan-800) !important;\n}\n.focus\\:text-cyan-900:focus {\n color: var(--cyan-900) !important;\n}\n\n.hover\\:text-cyan-50:hover {\n color: var(--cyan-50) !important;\n}\n.hover\\:text-cyan-100:hover {\n color: var(--cyan-100) !important;\n}\n.hover\\:text-cyan-200:hover {\n color: var(--cyan-200) !important;\n}\n.hover\\:text-cyan-300:hover {\n color: var(--cyan-300) !important;\n}\n.hover\\:text-cyan-400:hover {\n color: var(--cyan-400) !important;\n}\n.hover\\:text-cyan-500:hover {\n color: var(--cyan-500) !important;\n}\n.hover\\:text-cyan-600:hover {\n color: var(--cyan-600) !important;\n}\n.hover\\:text-cyan-700:hover {\n color: var(--cyan-700) !important;\n}\n.hover\\:text-cyan-800:hover {\n color: var(--cyan-800) !important;\n}\n.hover\\:text-cyan-900:hover {\n color: var(--cyan-900) !important;\n}\n\n.active\\:text-cyan-50:active {\n color: var(--cyan-50) !important;\n}\n.active\\:text-cyan-100:active {\n color: var(--cyan-100) !important;\n}\n.active\\:text-cyan-200:active {\n color: var(--cyan-200) !important;\n}\n.active\\:text-cyan-300:active {\n color: var(--cyan-300) !important;\n}\n.active\\:text-cyan-400:active {\n color: var(--cyan-400) !important;\n}\n.active\\:text-cyan-500:active {\n color: var(--cyan-500) !important;\n}\n.active\\:text-cyan-600:active {\n color: var(--cyan-600) !important;\n}\n.active\\:text-cyan-700:active {\n color: var(--cyan-700) !important;\n}\n.active\\:text-cyan-800:active {\n color: var(--cyan-800) !important;\n}\n.active\\:text-cyan-900:active {\n color: var(--cyan-900) !important;\n}\n\n.text-pink-50 {\n color: var(--pink-50) !important;\n}\n.text-pink-100 {\n color: var(--pink-100) !important;\n}\n.text-pink-200 {\n color: var(--pink-200) !important;\n}\n.text-pink-300 {\n color: var(--pink-300) !important;\n}\n.text-pink-400 {\n color: var(--pink-400) !important;\n}\n.text-pink-500 {\n color: var(--pink-500) !important;\n}\n.text-pink-600 {\n color: var(--pink-600) !important;\n}\n.text-pink-700 {\n color: var(--pink-700) !important;\n}\n.text-pink-800 {\n color: var(--pink-800) !important;\n}\n.text-pink-900 {\n color: var(--pink-900) !important;\n}\n\n.focus\\:text-pink-50:focus {\n color: var(--pink-50) !important;\n}\n.focus\\:text-pink-100:focus {\n color: var(--pink-100) !important;\n}\n.focus\\:text-pink-200:focus {\n color: var(--pink-200) !important;\n}\n.focus\\:text-pink-300:focus {\n color: var(--pink-300) !important;\n}\n.focus\\:text-pink-400:focus {\n color: var(--pink-400) !important;\n}\n.focus\\:text-pink-500:focus {\n color: var(--pink-500) !important;\n}\n.focus\\:text-pink-600:focus {\n color: var(--pink-600) !important;\n}\n.focus\\:text-pink-700:focus {\n color: var(--pink-700) !important;\n}\n.focus\\:text-pink-800:focus {\n color: var(--pink-800) !important;\n}\n.focus\\:text-pink-900:focus {\n color: var(--pink-900) !important;\n}\n\n.hover\\:text-pink-50:hover {\n color: var(--pink-50) !important;\n}\n.hover\\:text-pink-100:hover {\n color: var(--pink-100) !important;\n}\n.hover\\:text-pink-200:hover {\n color: var(--pink-200) !important;\n}\n.hover\\:text-pink-300:hover {\n color: var(--pink-300) !important;\n}\n.hover\\:text-pink-400:hover {\n color: var(--pink-400) !important;\n}\n.hover\\:text-pink-500:hover {\n color: var(--pink-500) !important;\n}\n.hover\\:text-pink-600:hover {\n color: var(--pink-600) !important;\n}\n.hover\\:text-pink-700:hover {\n color: var(--pink-700) !important;\n}\n.hover\\:text-pink-800:hover {\n color: var(--pink-800) !important;\n}\n.hover\\:text-pink-900:hover {\n color: var(--pink-900) !important;\n}\n\n.active\\:text-pink-50:active {\n color: var(--pink-50) !important;\n}\n.active\\:text-pink-100:active {\n color: var(--pink-100) !important;\n}\n.active\\:text-pink-200:active {\n color: var(--pink-200) !important;\n}\n.active\\:text-pink-300:active {\n color: var(--pink-300) !important;\n}\n.active\\:text-pink-400:active {\n color: var(--pink-400) !important;\n}\n.active\\:text-pink-500:active {\n color: var(--pink-500) !important;\n}\n.active\\:text-pink-600:active {\n color: var(--pink-600) !important;\n}\n.active\\:text-pink-700:active {\n color: var(--pink-700) !important;\n}\n.active\\:text-pink-800:active {\n color: var(--pink-800) !important;\n}\n.active\\:text-pink-900:active {\n color: var(--pink-900) !important;\n}\n\n.text-indigo-50 {\n color: var(--indigo-50) !important;\n}\n.text-indigo-100 {\n color: var(--indigo-100) !important;\n}\n.text-indigo-200 {\n color: var(--indigo-200) !important;\n}\n.text-indigo-300 {\n color: var(--indigo-300) !important;\n}\n.text-indigo-400 {\n color: var(--indigo-400) !important;\n}\n.text-indigo-500 {\n color: var(--indigo-500) !important;\n}\n.text-indigo-600 {\n color: var(--indigo-600) !important;\n}\n.text-indigo-700 {\n color: var(--indigo-700) !important;\n}\n.text-indigo-800 {\n color: var(--indigo-800) !important;\n}\n.text-indigo-900 {\n color: var(--indigo-900) !important;\n}\n\n.focus\\:text-indigo-50:focus {\n color: var(--indigo-50) !important;\n}\n.focus\\:text-indigo-100:focus {\n color: var(--indigo-100) !important;\n}\n.focus\\:text-indigo-200:focus {\n color: var(--indigo-200) !important;\n}\n.focus\\:text-indigo-300:focus {\n color: var(--indigo-300) !important;\n}\n.focus\\:text-indigo-400:focus {\n color: var(--indigo-400) !important;\n}\n.focus\\:text-indigo-500:focus {\n color: var(--indigo-500) !important;\n}\n.focus\\:text-indigo-600:focus {\n color: var(--indigo-600) !important;\n}\n.focus\\:text-indigo-700:focus {\n color: var(--indigo-700) !important;\n}\n.focus\\:text-indigo-800:focus {\n color: var(--indigo-800) !important;\n}\n.focus\\:text-indigo-900:focus {\n color: var(--indigo-900) !important;\n}\n\n.hover\\:text-indigo-50:hover {\n color: var(--indigo-50) !important;\n}\n.hover\\:text-indigo-100:hover {\n color: var(--indigo-100) !important;\n}\n.hover\\:text-indigo-200:hover {\n color: var(--indigo-200) !important;\n}\n.hover\\:text-indigo-300:hover {\n color: var(--indigo-300) !important;\n}\n.hover\\:text-indigo-400:hover {\n color: var(--indigo-400) !important;\n}\n.hover\\:text-indigo-500:hover {\n color: var(--indigo-500) !important;\n}\n.hover\\:text-indigo-600:hover {\n color: var(--indigo-600) !important;\n}\n.hover\\:text-indigo-700:hover {\n color: var(--indigo-700) !important;\n}\n.hover\\:text-indigo-800:hover {\n color: var(--indigo-800) !important;\n}\n.hover\\:text-indigo-900:hover {\n color: var(--indigo-900) !important;\n}\n\n.active\\:text-indigo-50:active {\n color: var(--indigo-50) !important;\n}\n.active\\:text-indigo-100:active {\n color: var(--indigo-100) !important;\n}\n.active\\:text-indigo-200:active {\n color: var(--indigo-200) !important;\n}\n.active\\:text-indigo-300:active {\n color: var(--indigo-300) !important;\n}\n.active\\:text-indigo-400:active {\n color: var(--indigo-400) !important;\n}\n.active\\:text-indigo-500:active {\n color: var(--indigo-500) !important;\n}\n.active\\:text-indigo-600:active {\n color: var(--indigo-600) !important;\n}\n.active\\:text-indigo-700:active {\n color: var(--indigo-700) !important;\n}\n.active\\:text-indigo-800:active {\n color: var(--indigo-800) !important;\n}\n.active\\:text-indigo-900:active {\n color: var(--indigo-900) !important;\n}\n\n.text-teal-50 {\n color: var(--teal-50) !important;\n}\n.text-teal-100 {\n color: var(--teal-100) !important;\n}\n.text-teal-200 {\n color: var(--teal-200) !important;\n}\n.text-teal-300 {\n color: var(--teal-300) !important;\n}\n.text-teal-400 {\n color: var(--teal-400) !important;\n}\n.text-teal-500 {\n color: var(--teal-500) !important;\n}\n.text-teal-600 {\n color: var(--teal-600) !important;\n}\n.text-teal-700 {\n color: var(--teal-700) !important;\n}\n.text-teal-800 {\n color: var(--teal-800) !important;\n}\n.text-teal-900 {\n color: var(--teal-900) !important;\n}\n\n.focus\\:text-teal-50:focus {\n color: var(--teal-50) !important;\n}\n.focus\\:text-teal-100:focus {\n color: var(--teal-100) !important;\n}\n.focus\\:text-teal-200:focus {\n color: var(--teal-200) !important;\n}\n.focus\\:text-teal-300:focus {\n color: var(--teal-300) !important;\n}\n.focus\\:text-teal-400:focus {\n color: var(--teal-400) !important;\n}\n.focus\\:text-teal-500:focus {\n color: var(--teal-500) !important;\n}\n.focus\\:text-teal-600:focus {\n color: var(--teal-600) !important;\n}\n.focus\\:text-teal-700:focus {\n color: var(--teal-700) !important;\n}\n.focus\\:text-teal-800:focus {\n color: var(--teal-800) !important;\n}\n.focus\\:text-teal-900:focus {\n color: var(--teal-900) !important;\n}\n\n.hover\\:text-teal-50:hover {\n color: var(--teal-50) !important;\n}\n.hover\\:text-teal-100:hover {\n color: var(--teal-100) !important;\n}\n.hover\\:text-teal-200:hover {\n color: var(--teal-200) !important;\n}\n.hover\\:text-teal-300:hover {\n color: var(--teal-300) !important;\n}\n.hover\\:text-teal-400:hover {\n color: var(--teal-400) !important;\n}\n.hover\\:text-teal-500:hover {\n color: var(--teal-500) !important;\n}\n.hover\\:text-teal-600:hover {\n color: var(--teal-600) !important;\n}\n.hover\\:text-teal-700:hover {\n color: var(--teal-700) !important;\n}\n.hover\\:text-teal-800:hover {\n color: var(--teal-800) !important;\n}\n.hover\\:text-teal-900:hover {\n color: var(--teal-900) !important;\n}\n\n.active\\:text-teal-50:active {\n color: var(--teal-50) !important;\n}\n.active\\:text-teal-100:active {\n color: var(--teal-100) !important;\n}\n.active\\:text-teal-200:active {\n color: var(--teal-200) !important;\n}\n.active\\:text-teal-300:active {\n color: var(--teal-300) !important;\n}\n.active\\:text-teal-400:active {\n color: var(--teal-400) !important;\n}\n.active\\:text-teal-500:active {\n color: var(--teal-500) !important;\n}\n.active\\:text-teal-600:active {\n color: var(--teal-600) !important;\n}\n.active\\:text-teal-700:active {\n color: var(--teal-700) !important;\n}\n.active\\:text-teal-800:active {\n color: var(--teal-800) !important;\n}\n.active\\:text-teal-900:active {\n color: var(--teal-900) !important;\n}\n\n.text-orange-50 {\n color: var(--orange-50) !important;\n}\n.text-orange-100 {\n color: var(--orange-100) !important;\n}\n.text-orange-200 {\n color: var(--orange-200) !important;\n}\n.text-orange-300 {\n color: var(--orange-300) !important;\n}\n.text-orange-400 {\n color: var(--orange-400) !important;\n}\n.text-orange-500 {\n color: var(--orange-500) !important;\n}\n.text-orange-600 {\n color: var(--orange-600) !important;\n}\n.text-orange-700 {\n color: var(--orange-700) !important;\n}\n.text-orange-800 {\n color: var(--orange-800) !important;\n}\n.text-orange-900 {\n color: var(--orange-900) !important;\n}\n\n.focus\\:text-orange-50:focus {\n color: var(--orange-50) !important;\n}\n.focus\\:text-orange-100:focus {\n color: var(--orange-100) !important;\n}\n.focus\\:text-orange-200:focus {\n color: var(--orange-200) !important;\n}\n.focus\\:text-orange-300:focus {\n color: var(--orange-300) !important;\n}\n.focus\\:text-orange-400:focus {\n color: var(--orange-400) !important;\n}\n.focus\\:text-orange-500:focus {\n color: var(--orange-500) !important;\n}\n.focus\\:text-orange-600:focus {\n color: var(--orange-600) !important;\n}\n.focus\\:text-orange-700:focus {\n color: var(--orange-700) !important;\n}\n.focus\\:text-orange-800:focus {\n color: var(--orange-800) !important;\n}\n.focus\\:text-orange-900:focus {\n color: var(--orange-900) !important;\n}\n\n.hover\\:text-orange-50:hover {\n color: var(--orange-50) !important;\n}\n.hover\\:text-orange-100:hover {\n color: var(--orange-100) !important;\n}\n.hover\\:text-orange-200:hover {\n color: var(--orange-200) !important;\n}\n.hover\\:text-orange-300:hover {\n color: var(--orange-300) !important;\n}\n.hover\\:text-orange-400:hover {\n color: var(--orange-400) !important;\n}\n.hover\\:text-orange-500:hover {\n color: var(--orange-500) !important;\n}\n.hover\\:text-orange-600:hover {\n color: var(--orange-600) !important;\n}\n.hover\\:text-orange-700:hover {\n color: var(--orange-700) !important;\n}\n.hover\\:text-orange-800:hover {\n color: var(--orange-800) !important;\n}\n.hover\\:text-orange-900:hover {\n color: var(--orange-900) !important;\n}\n\n.active\\:text-orange-50:active {\n color: var(--orange-50) !important;\n}\n.active\\:text-orange-100:active {\n color: var(--orange-100) !important;\n}\n.active\\:text-orange-200:active {\n color: var(--orange-200) !important;\n}\n.active\\:text-orange-300:active {\n color: var(--orange-300) !important;\n}\n.active\\:text-orange-400:active {\n color: var(--orange-400) !important;\n}\n.active\\:text-orange-500:active {\n color: var(--orange-500) !important;\n}\n.active\\:text-orange-600:active {\n color: var(--orange-600) !important;\n}\n.active\\:text-orange-700:active {\n color: var(--orange-700) !important;\n}\n.active\\:text-orange-800:active {\n color: var(--orange-800) !important;\n}\n.active\\:text-orange-900:active {\n color: var(--orange-900) !important;\n}\n\n.text-bluegray-50 {\n color: var(--bluegray-50) !important;\n}\n.text-bluegray-100 {\n color: var(--bluegray-100) !important;\n}\n.text-bluegray-200 {\n color: var(--bluegray-200) !important;\n}\n.text-bluegray-300 {\n color: var(--bluegray-300) !important;\n}\n.text-bluegray-400 {\n color: var(--bluegray-400) !important;\n}\n.text-bluegray-500 {\n color: var(--bluegray-500) !important;\n}\n.text-bluegray-600 {\n color: var(--bluegray-600) !important;\n}\n.text-bluegray-700 {\n color: var(--bluegray-700) !important;\n}\n.text-bluegray-800 {\n color: var(--bluegray-800) !important;\n}\n.text-bluegray-900 {\n color: var(--bluegray-900) !important;\n}\n\n.focus\\:text-bluegray-50:focus {\n color: var(--bluegray-50) !important;\n}\n.focus\\:text-bluegray-100:focus {\n color: var(--bluegray-100) !important;\n}\n.focus\\:text-bluegray-200:focus {\n color: var(--bluegray-200) !important;\n}\n.focus\\:text-bluegray-300:focus {\n color: var(--bluegray-300) !important;\n}\n.focus\\:text-bluegray-400:focus {\n color: var(--bluegray-400) !important;\n}\n.focus\\:text-bluegray-500:focus {\n color: var(--bluegray-500) !important;\n}\n.focus\\:text-bluegray-600:focus {\n color: var(--bluegray-600) !important;\n}\n.focus\\:text-bluegray-700:focus {\n color: var(--bluegray-700) !important;\n}\n.focus\\:text-bluegray-800:focus {\n color: var(--bluegray-800) !important;\n}\n.focus\\:text-bluegray-900:focus {\n color: var(--bluegray-900) !important;\n}\n\n.hover\\:text-bluegray-50:hover {\n color: var(--bluegray-50) !important;\n}\n.hover\\:text-bluegray-100:hover {\n color: var(--bluegray-100) !important;\n}\n.hover\\:text-bluegray-200:hover {\n color: var(--bluegray-200) !important;\n}\n.hover\\:text-bluegray-300:hover {\n color: var(--bluegray-300) !important;\n}\n.hover\\:text-bluegray-400:hover {\n color: var(--bluegray-400) !important;\n}\n.hover\\:text-bluegray-500:hover {\n color: var(--bluegray-500) !important;\n}\n.hover\\:text-bluegray-600:hover {\n color: var(--bluegray-600) !important;\n}\n.hover\\:text-bluegray-700:hover {\n color: var(--bluegray-700) !important;\n}\n.hover\\:text-bluegray-800:hover {\n color: var(--bluegray-800) !important;\n}\n.hover\\:text-bluegray-900:hover {\n color: var(--bluegray-900) !important;\n}\n\n.active\\:text-bluegray-50:active {\n color: var(--bluegray-50) !important;\n}\n.active\\:text-bluegray-100:active {\n color: var(--bluegray-100) !important;\n}\n.active\\:text-bluegray-200:active {\n color: var(--bluegray-200) !important;\n}\n.active\\:text-bluegray-300:active {\n color: var(--bluegray-300) !important;\n}\n.active\\:text-bluegray-400:active {\n color: var(--bluegray-400) !important;\n}\n.active\\:text-bluegray-500:active {\n color: var(--bluegray-500) !important;\n}\n.active\\:text-bluegray-600:active {\n color: var(--bluegray-600) !important;\n}\n.active\\:text-bluegray-700:active {\n color: var(--bluegray-700) !important;\n}\n.active\\:text-bluegray-800:active {\n color: var(--bluegray-800) !important;\n}\n.active\\:text-bluegray-900:active {\n color: var(--bluegray-900) !important;\n}\n\n.text-purple-50 {\n color: var(--purple-50) !important;\n}\n.text-purple-100 {\n color: var(--purple-100) !important;\n}\n.text-purple-200 {\n color: var(--purple-200) !important;\n}\n.text-purple-300 {\n color: var(--purple-300) !important;\n}\n.text-purple-400 {\n color: var(--purple-400) !important;\n}\n.text-purple-500 {\n color: var(--purple-500) !important;\n}\n.text-purple-600 {\n color: var(--purple-600) !important;\n}\n.text-purple-700 {\n color: var(--purple-700) !important;\n}\n.text-purple-800 {\n color: var(--purple-800) !important;\n}\n.text-purple-900 {\n color: var(--purple-900) !important;\n}\n\n.focus\\:text-purple-50:focus {\n color: var(--purple-50) !important;\n}\n.focus\\:text-purple-100:focus {\n color: var(--purple-100) !important;\n}\n.focus\\:text-purple-200:focus {\n color: var(--purple-200) !important;\n}\n.focus\\:text-purple-300:focus {\n color: var(--purple-300) !important;\n}\n.focus\\:text-purple-400:focus {\n color: var(--purple-400) !important;\n}\n.focus\\:text-purple-500:focus {\n color: var(--purple-500) !important;\n}\n.focus\\:text-purple-600:focus {\n color: var(--purple-600) !important;\n}\n.focus\\:text-purple-700:focus {\n color: var(--purple-700) !important;\n}\n.focus\\:text-purple-800:focus {\n color: var(--purple-800) !important;\n}\n.focus\\:text-purple-900:focus {\n color: var(--purple-900) !important;\n}\n\n.hover\\:text-purple-50:hover {\n color: var(--purple-50) !important;\n}\n.hover\\:text-purple-100:hover {\n color: var(--purple-100) !important;\n}\n.hover\\:text-purple-200:hover {\n color: var(--purple-200) !important;\n}\n.hover\\:text-purple-300:hover {\n color: var(--purple-300) !important;\n}\n.hover\\:text-purple-400:hover {\n color: var(--purple-400) !important;\n}\n.hover\\:text-purple-500:hover {\n color: var(--purple-500) !important;\n}\n.hover\\:text-purple-600:hover {\n color: var(--purple-600) !important;\n}\n.hover\\:text-purple-700:hover {\n color: var(--purple-700) !important;\n}\n.hover\\:text-purple-800:hover {\n color: var(--purple-800) !important;\n}\n.hover\\:text-purple-900:hover {\n color: var(--purple-900) !important;\n}\n\n.active\\:text-purple-50:active {\n color: var(--purple-50) !important;\n}\n.active\\:text-purple-100:active {\n color: var(--purple-100) !important;\n}\n.active\\:text-purple-200:active {\n color: var(--purple-200) !important;\n}\n.active\\:text-purple-300:active {\n color: var(--purple-300) !important;\n}\n.active\\:text-purple-400:active {\n color: var(--purple-400) !important;\n}\n.active\\:text-purple-500:active {\n color: var(--purple-500) !important;\n}\n.active\\:text-purple-600:active {\n color: var(--purple-600) !important;\n}\n.active\\:text-purple-700:active {\n color: var(--purple-700) !important;\n}\n.active\\:text-purple-800:active {\n color: var(--purple-800) !important;\n}\n.active\\:text-purple-900:active {\n color: var(--purple-900) !important;\n}\n\n.text-gray-50 {\n color: var(--gray-50) !important;\n}\n.text-gray-100 {\n color: var(--gray-100) !important;\n}\n.text-gray-200 {\n color: var(--gray-200) !important;\n}\n.text-gray-300 {\n color: var(--gray-300) !important;\n}\n.text-gray-400 {\n color: var(--gray-400) !important;\n}\n.text-gray-500 {\n color: var(--gray-500) !important;\n}\n.text-gray-600 {\n color: var(--gray-600) !important;\n}\n.text-gray-700 {\n color: var(--gray-700) !important;\n}\n.text-gray-800 {\n color: var(--gray-800) !important;\n}\n.text-gray-900 {\n color: var(--gray-900) !important;\n}\n\n.focus\\:text-gray-50:focus {\n color: var(--gray-50) !important;\n}\n.focus\\:text-gray-100:focus {\n color: var(--gray-100) !important;\n}\n.focus\\:text-gray-200:focus {\n color: var(--gray-200) !important;\n}\n.focus\\:text-gray-300:focus {\n color: var(--gray-300) !important;\n}\n.focus\\:text-gray-400:focus {\n color: var(--gray-400) !important;\n}\n.focus\\:text-gray-500:focus {\n color: var(--gray-500) !important;\n}\n.focus\\:text-gray-600:focus {\n color: var(--gray-600) !important;\n}\n.focus\\:text-gray-700:focus {\n color: var(--gray-700) !important;\n}\n.focus\\:text-gray-800:focus {\n color: var(--gray-800) !important;\n}\n.focus\\:text-gray-900:focus {\n color: var(--gray-900) !important;\n}\n\n.hover\\:text-gray-50:hover {\n color: var(--gray-50) !important;\n}\n.hover\\:text-gray-100:hover {\n color: var(--gray-100) !important;\n}\n.hover\\:text-gray-200:hover {\n color: var(--gray-200) !important;\n}\n.hover\\:text-gray-300:hover {\n color: var(--gray-300) !important;\n}\n.hover\\:text-gray-400:hover {\n color: var(--gray-400) !important;\n}\n.hover\\:text-gray-500:hover {\n color: var(--gray-500) !important;\n}\n.hover\\:text-gray-600:hover {\n color: var(--gray-600) !important;\n}\n.hover\\:text-gray-700:hover {\n color: var(--gray-700) !important;\n}\n.hover\\:text-gray-800:hover {\n color: var(--gray-800) !important;\n}\n.hover\\:text-gray-900:hover {\n color: var(--gray-900) !important;\n}\n\n.active\\:text-gray-50:active {\n color: var(--gray-50) !important;\n}\n.active\\:text-gray-100:active {\n color: var(--gray-100) !important;\n}\n.active\\:text-gray-200:active {\n color: var(--gray-200) !important;\n}\n.active\\:text-gray-300:active {\n color: var(--gray-300) !important;\n}\n.active\\:text-gray-400:active {\n color: var(--gray-400) !important;\n}\n.active\\:text-gray-500:active {\n color: var(--gray-500) !important;\n}\n.active\\:text-gray-600:active {\n color: var(--gray-600) !important;\n}\n.active\\:text-gray-700:active {\n color: var(--gray-700) !important;\n}\n.active\\:text-gray-800:active {\n color: var(--gray-800) !important;\n}\n.active\\:text-gray-900:active {\n color: var(--gray-900) !important;\n}\n\n.bg-blue-50 {\n background-color: var(--blue-50) !important;\n}\n.bg-blue-100 {\n background-color: var(--blue-100) !important;\n}\n.bg-blue-200 {\n background-color: var(--blue-200) !important;\n}\n.bg-blue-300 {\n background-color: var(--blue-300) !important;\n}\n.bg-blue-400 {\n background-color: var(--blue-400) !important;\n}\n.bg-blue-500 {\n background-color: var(--blue-500) !important;\n}\n.bg-blue-600 {\n background-color: var(--blue-600) !important;\n}\n.bg-blue-700 {\n background-color: var(--blue-700) !important;\n}\n.bg-blue-800 {\n background-color: var(--blue-800) !important;\n}\n.bg-blue-900 {\n background-color: var(--blue-900) !important;\n}\n\n.focus\\:bg-blue-50:focus {\n background-color: var(--blue-50) !important;\n}\n.focus\\:bg-blue-100:focus {\n background-color: var(--blue-100) !important;\n}\n.focus\\:bg-blue-200:focus {\n background-color: var(--blue-200) !important;\n}\n.focus\\:bg-blue-300:focus {\n background-color: var(--blue-300) !important;\n}\n.focus\\:bg-blue-400:focus {\n background-color: var(--blue-400) !important;\n}\n.focus\\:bg-blue-500:focus {\n background-color: var(--blue-500) !important;\n}\n.focus\\:bg-blue-600:focus {\n background-color: var(--blue-600) !important;\n}\n.focus\\:bg-blue-700:focus {\n background-color: var(--blue-700) !important;\n}\n.focus\\:bg-blue-800:focus {\n background-color: var(--blue-800) !important;\n}\n.focus\\:bg-blue-900:focus {\n background-color: var(--blue-900) !important;\n}\n\n.hover\\:bg-blue-50:hover {\n background-color: var(--blue-50) !important;\n}\n.hover\\:bg-blue-100:hover {\n background-color: var(--blue-100) !important;\n}\n.hover\\:bg-blue-200:hover {\n background-color: var(--blue-200) !important;\n}\n.hover\\:bg-blue-300:hover {\n background-color: var(--blue-300) !important;\n}\n.hover\\:bg-blue-400:hover {\n background-color: var(--blue-400) !important;\n}\n.hover\\:bg-blue-500:hover {\n background-color: var(--blue-500) !important;\n}\n.hover\\:bg-blue-600:hover {\n background-color: var(--blue-600) !important;\n}\n.hover\\:bg-blue-700:hover {\n background-color: var(--blue-700) !important;\n}\n.hover\\:bg-blue-800:hover {\n background-color: var(--blue-800) !important;\n}\n.hover\\:bg-blue-900:hover {\n background-color: var(--blue-900) !important;\n}\n\n.active\\:bg-blue-50:active {\n background-color: var(--blue-50) !important;\n}\n.active\\:bg-blue-100:active {\n background-color: var(--blue-100) !important;\n}\n.active\\:bg-blue-200:active {\n background-color: var(--blue-200) !important;\n}\n.active\\:bg-blue-300:active {\n background-color: var(--blue-300) !important;\n}\n.active\\:bg-blue-400:active {\n background-color: var(--blue-400) !important;\n}\n.active\\:bg-blue-500:active {\n background-color: var(--blue-500) !important;\n}\n.active\\:bg-blue-600:active {\n background-color: var(--blue-600) !important;\n}\n.active\\:bg-blue-700:active {\n background-color: var(--blue-700) !important;\n}\n.active\\:bg-blue-800:active {\n background-color: var(--blue-800) !important;\n}\n.active\\:bg-blue-900:active {\n background-color: var(--blue-900) !important;\n}\n\n.bg-green-50 {\n background-color: var(--green-50) !important;\n}\n.bg-green-100 {\n background-color: var(--green-100) !important;\n}\n.bg-green-200 {\n background-color: var(--green-200) !important;\n}\n.bg-green-300 {\n background-color: var(--green-300) !important;\n}\n.bg-green-400 {\n background-color: var(--green-400) !important;\n}\n.bg-green-500 {\n background-color: var(--green-500) !important;\n}\n.bg-green-600 {\n background-color: var(--green-600) !important;\n}\n.bg-green-700 {\n background-color: var(--green-700) !important;\n}\n.bg-green-800 {\n background-color: var(--green-800) !important;\n}\n.bg-green-900 {\n background-color: var(--green-900) !important;\n}\n\n.focus\\:bg-green-50:focus {\n background-color: var(--green-50) !important;\n}\n.focus\\:bg-green-100:focus {\n background-color: var(--green-100) !important;\n}\n.focus\\:bg-green-200:focus {\n background-color: var(--green-200) !important;\n}\n.focus\\:bg-green-300:focus {\n background-color: var(--green-300) !important;\n}\n.focus\\:bg-green-400:focus {\n background-color: var(--green-400) !important;\n}\n.focus\\:bg-green-500:focus {\n background-color: var(--green-500) !important;\n}\n.focus\\:bg-green-600:focus {\n background-color: var(--green-600) !important;\n}\n.focus\\:bg-green-700:focus {\n background-color: var(--green-700) !important;\n}\n.focus\\:bg-green-800:focus {\n background-color: var(--green-800) !important;\n}\n.focus\\:bg-green-900:focus {\n background-color: var(--green-900) !important;\n}\n\n.hover\\:bg-green-50:hover {\n background-color: var(--green-50) !important;\n}\n.hover\\:bg-green-100:hover {\n background-color: var(--green-100) !important;\n}\n.hover\\:bg-green-200:hover {\n background-color: var(--green-200) !important;\n}\n.hover\\:bg-green-300:hover {\n background-color: var(--green-300) !important;\n}\n.hover\\:bg-green-400:hover {\n background-color: var(--green-400) !important;\n}\n.hover\\:bg-green-500:hover {\n background-color: var(--green-500) !important;\n}\n.hover\\:bg-green-600:hover {\n background-color: var(--green-600) !important;\n}\n.hover\\:bg-green-700:hover {\n background-color: var(--green-700) !important;\n}\n.hover\\:bg-green-800:hover {\n background-color: var(--green-800) !important;\n}\n.hover\\:bg-green-900:hover {\n background-color: var(--green-900) !important;\n}\n\n.active\\:bg-green-50:active {\n background-color: var(--green-50) !important;\n}\n.active\\:bg-green-100:active {\n background-color: var(--green-100) !important;\n}\n.active\\:bg-green-200:active {\n background-color: var(--green-200) !important;\n}\n.active\\:bg-green-300:active {\n background-color: var(--green-300) !important;\n}\n.active\\:bg-green-400:active {\n background-color: var(--green-400) !important;\n}\n.active\\:bg-green-500:active {\n background-color: var(--green-500) !important;\n}\n.active\\:bg-green-600:active {\n background-color: var(--green-600) !important;\n}\n.active\\:bg-green-700:active {\n background-color: var(--green-700) !important;\n}\n.active\\:bg-green-800:active {\n background-color: var(--green-800) !important;\n}\n.active\\:bg-green-900:active {\n background-color: var(--green-900) !important;\n}\n\n.bg-yellow-50 {\n background-color: var(--yellow-50) !important;\n}\n.bg-yellow-100 {\n background-color: var(--yellow-100) !important;\n}\n.bg-yellow-200 {\n background-color: var(--yellow-200) !important;\n}\n.bg-yellow-300 {\n background-color: var(--yellow-300) !important;\n}\n.bg-yellow-400 {\n background-color: var(--yellow-400) !important;\n}\n.bg-yellow-500 {\n background-color: var(--yellow-500) !important;\n}\n.bg-yellow-600 {\n background-color: var(--yellow-600) !important;\n}\n.bg-yellow-700 {\n background-color: var(--yellow-700) !important;\n}\n.bg-yellow-800 {\n background-color: var(--yellow-800) !important;\n}\n.bg-yellow-900 {\n background-color: var(--yellow-900) !important;\n}\n\n.focus\\:bg-yellow-50:focus {\n background-color: var(--yellow-50) !important;\n}\n.focus\\:bg-yellow-100:focus {\n background-color: var(--yellow-100) !important;\n}\n.focus\\:bg-yellow-200:focus {\n background-color: var(--yellow-200) !important;\n}\n.focus\\:bg-yellow-300:focus {\n background-color: var(--yellow-300) !important;\n}\n.focus\\:bg-yellow-400:focus {\n background-color: var(--yellow-400) !important;\n}\n.focus\\:bg-yellow-500:focus {\n background-color: var(--yellow-500) !important;\n}\n.focus\\:bg-yellow-600:focus {\n background-color: var(--yellow-600) !important;\n}\n.focus\\:bg-yellow-700:focus {\n background-color: var(--yellow-700) !important;\n}\n.focus\\:bg-yellow-800:focus {\n background-color: var(--yellow-800) !important;\n}\n.focus\\:bg-yellow-900:focus {\n background-color: var(--yellow-900) !important;\n}\n\n.hover\\:bg-yellow-50:hover {\n background-color: var(--yellow-50) !important;\n}\n.hover\\:bg-yellow-100:hover {\n background-color: var(--yellow-100) !important;\n}\n.hover\\:bg-yellow-200:hover {\n background-color: var(--yellow-200) !important;\n}\n.hover\\:bg-yellow-300:hover {\n background-color: var(--yellow-300) !important;\n}\n.hover\\:bg-yellow-400:hover {\n background-color: var(--yellow-400) !important;\n}\n.hover\\:bg-yellow-500:hover {\n background-color: var(--yellow-500) !important;\n}\n.hover\\:bg-yellow-600:hover {\n background-color: var(--yellow-600) !important;\n}\n.hover\\:bg-yellow-700:hover {\n background-color: var(--yellow-700) !important;\n}\n.hover\\:bg-yellow-800:hover {\n background-color: var(--yellow-800) !important;\n}\n.hover\\:bg-yellow-900:hover {\n background-color: var(--yellow-900) !important;\n}\n\n.active\\:bg-yellow-50:active {\n background-color: var(--yellow-50) !important;\n}\n.active\\:bg-yellow-100:active {\n background-color: var(--yellow-100) !important;\n}\n.active\\:bg-yellow-200:active {\n background-color: var(--yellow-200) !important;\n}\n.active\\:bg-yellow-300:active {\n background-color: var(--yellow-300) !important;\n}\n.active\\:bg-yellow-400:active {\n background-color: var(--yellow-400) !important;\n}\n.active\\:bg-yellow-500:active {\n background-color: var(--yellow-500) !important;\n}\n.active\\:bg-yellow-600:active {\n background-color: var(--yellow-600) !important;\n}\n.active\\:bg-yellow-700:active {\n background-color: var(--yellow-700) !important;\n}\n.active\\:bg-yellow-800:active {\n background-color: var(--yellow-800) !important;\n}\n.active\\:bg-yellow-900:active {\n background-color: var(--yellow-900) !important;\n}\n\n.bg-cyan-50 {\n background-color: var(--cyan-50) !important;\n}\n.bg-cyan-100 {\n background-color: var(--cyan-100) !important;\n}\n.bg-cyan-200 {\n background-color: var(--cyan-200) !important;\n}\n.bg-cyan-300 {\n background-color: var(--cyan-300) !important;\n}\n.bg-cyan-400 {\n background-color: var(--cyan-400) !important;\n}\n.bg-cyan-500 {\n background-color: var(--cyan-500) !important;\n}\n.bg-cyan-600 {\n background-color: var(--cyan-600) !important;\n}\n.bg-cyan-700 {\n background-color: var(--cyan-700) !important;\n}\n.bg-cyan-800 {\n background-color: var(--cyan-800) !important;\n}\n.bg-cyan-900 {\n background-color: var(--cyan-900) !important;\n}\n\n.focus\\:bg-cyan-50:focus {\n background-color: var(--cyan-50) !important;\n}\n.focus\\:bg-cyan-100:focus {\n background-color: var(--cyan-100) !important;\n}\n.focus\\:bg-cyan-200:focus {\n background-color: var(--cyan-200) !important;\n}\n.focus\\:bg-cyan-300:focus {\n background-color: var(--cyan-300) !important;\n}\n.focus\\:bg-cyan-400:focus {\n background-color: var(--cyan-400) !important;\n}\n.focus\\:bg-cyan-500:focus {\n background-color: var(--cyan-500) !important;\n}\n.focus\\:bg-cyan-600:focus {\n background-color: var(--cyan-600) !important;\n}\n.focus\\:bg-cyan-700:focus {\n background-color: var(--cyan-700) !important;\n}\n.focus\\:bg-cyan-800:focus {\n background-color: var(--cyan-800) !important;\n}\n.focus\\:bg-cyan-900:focus {\n background-color: var(--cyan-900) !important;\n}\n\n.hover\\:bg-cyan-50:hover {\n background-color: var(--cyan-50) !important;\n}\n.hover\\:bg-cyan-100:hover {\n background-color: var(--cyan-100) !important;\n}\n.hover\\:bg-cyan-200:hover {\n background-color: var(--cyan-200) !important;\n}\n.hover\\:bg-cyan-300:hover {\n background-color: var(--cyan-300) !important;\n}\n.hover\\:bg-cyan-400:hover {\n background-color: var(--cyan-400) !important;\n}\n.hover\\:bg-cyan-500:hover {\n background-color: var(--cyan-500) !important;\n}\n.hover\\:bg-cyan-600:hover {\n background-color: var(--cyan-600) !important;\n}\n.hover\\:bg-cyan-700:hover {\n background-color: var(--cyan-700) !important;\n}\n.hover\\:bg-cyan-800:hover {\n background-color: var(--cyan-800) !important;\n}\n.hover\\:bg-cyan-900:hover {\n background-color: var(--cyan-900) !important;\n}\n\n.active\\:bg-cyan-50:active {\n background-color: var(--cyan-50) !important;\n}\n.active\\:bg-cyan-100:active {\n background-color: var(--cyan-100) !important;\n}\n.active\\:bg-cyan-200:active {\n background-color: var(--cyan-200) !important;\n}\n.active\\:bg-cyan-300:active {\n background-color: var(--cyan-300) !important;\n}\n.active\\:bg-cyan-400:active {\n background-color: var(--cyan-400) !important;\n}\n.active\\:bg-cyan-500:active {\n background-color: var(--cyan-500) !important;\n}\n.active\\:bg-cyan-600:active {\n background-color: var(--cyan-600) !important;\n}\n.active\\:bg-cyan-700:active {\n background-color: var(--cyan-700) !important;\n}\n.active\\:bg-cyan-800:active {\n background-color: var(--cyan-800) !important;\n}\n.active\\:bg-cyan-900:active {\n background-color: var(--cyan-900) !important;\n}\n\n.bg-pink-50 {\n background-color: var(--pink-50) !important;\n}\n.bg-pink-100 {\n background-color: var(--pink-100) !important;\n}\n.bg-pink-200 {\n background-color: var(--pink-200) !important;\n}\n.bg-pink-300 {\n background-color: var(--pink-300) !important;\n}\n.bg-pink-400 {\n background-color: var(--pink-400) !important;\n}\n.bg-pink-500 {\n background-color: var(--pink-500) !important;\n}\n.bg-pink-600 {\n background-color: var(--pink-600) !important;\n}\n.bg-pink-700 {\n background-color: var(--pink-700) !important;\n}\n.bg-pink-800 {\n background-color: var(--pink-800) !important;\n}\n.bg-pink-900 {\n background-color: var(--pink-900) !important;\n}\n\n.focus\\:bg-pink-50:focus {\n background-color: var(--pink-50) !important;\n}\n.focus\\:bg-pink-100:focus {\n background-color: var(--pink-100) !important;\n}\n.focus\\:bg-pink-200:focus {\n background-color: var(--pink-200) !important;\n}\n.focus\\:bg-pink-300:focus {\n background-color: var(--pink-300) !important;\n}\n.focus\\:bg-pink-400:focus {\n background-color: var(--pink-400) !important;\n}\n.focus\\:bg-pink-500:focus {\n background-color: var(--pink-500) !important;\n}\n.focus\\:bg-pink-600:focus {\n background-color: var(--pink-600) !important;\n}\n.focus\\:bg-pink-700:focus {\n background-color: var(--pink-700) !important;\n}\n.focus\\:bg-pink-800:focus {\n background-color: var(--pink-800) !important;\n}\n.focus\\:bg-pink-900:focus {\n background-color: var(--pink-900) !important;\n}\n\n.hover\\:bg-pink-50:hover {\n background-color: var(--pink-50) !important;\n}\n.hover\\:bg-pink-100:hover {\n background-color: var(--pink-100) !important;\n}\n.hover\\:bg-pink-200:hover {\n background-color: var(--pink-200) !important;\n}\n.hover\\:bg-pink-300:hover {\n background-color: var(--pink-300) !important;\n}\n.hover\\:bg-pink-400:hover {\n background-color: var(--pink-400) !important;\n}\n.hover\\:bg-pink-500:hover {\n background-color: var(--pink-500) !important;\n}\n.hover\\:bg-pink-600:hover {\n background-color: var(--pink-600) !important;\n}\n.hover\\:bg-pink-700:hover {\n background-color: var(--pink-700) !important;\n}\n.hover\\:bg-pink-800:hover {\n background-color: var(--pink-800) !important;\n}\n.hover\\:bg-pink-900:hover {\n background-color: var(--pink-900) !important;\n}\n\n.active\\:bg-pink-50:active {\n background-color: var(--pink-50) !important;\n}\n.active\\:bg-pink-100:active {\n background-color: var(--pink-100) !important;\n}\n.active\\:bg-pink-200:active {\n background-color: var(--pink-200) !important;\n}\n.active\\:bg-pink-300:active {\n background-color: var(--pink-300) !important;\n}\n.active\\:bg-pink-400:active {\n background-color: var(--pink-400) !important;\n}\n.active\\:bg-pink-500:active {\n background-color: var(--pink-500) !important;\n}\n.active\\:bg-pink-600:active {\n background-color: var(--pink-600) !important;\n}\n.active\\:bg-pink-700:active {\n background-color: var(--pink-700) !important;\n}\n.active\\:bg-pink-800:active {\n background-color: var(--pink-800) !important;\n}\n.active\\:bg-pink-900:active {\n background-color: var(--pink-900) !important;\n}\n\n.bg-indigo-50 {\n background-color: var(--indigo-50) !important;\n}\n.bg-indigo-100 {\n background-color: var(--indigo-100) !important;\n}\n.bg-indigo-200 {\n background-color: var(--indigo-200) !important;\n}\n.bg-indigo-300 {\n background-color: var(--indigo-300) !important;\n}\n.bg-indigo-400 {\n background-color: var(--indigo-400) !important;\n}\n.bg-indigo-500 {\n background-color: var(--indigo-500) !important;\n}\n.bg-indigo-600 {\n background-color: var(--indigo-600) !important;\n}\n.bg-indigo-700 {\n background-color: var(--indigo-700) !important;\n}\n.bg-indigo-800 {\n background-color: var(--indigo-800) !important;\n}\n.bg-indigo-900 {\n background-color: var(--indigo-900) !important;\n}\n\n.focus\\:bg-indigo-50:focus {\n background-color: var(--indigo-50) !important;\n}\n.focus\\:bg-indigo-100:focus {\n background-color: var(--indigo-100) !important;\n}\n.focus\\:bg-indigo-200:focus {\n background-color: var(--indigo-200) !important;\n}\n.focus\\:bg-indigo-300:focus {\n background-color: var(--indigo-300) !important;\n}\n.focus\\:bg-indigo-400:focus {\n background-color: var(--indigo-400) !important;\n}\n.focus\\:bg-indigo-500:focus {\n background-color: var(--indigo-500) !important;\n}\n.focus\\:bg-indigo-600:focus {\n background-color: var(--indigo-600) !important;\n}\n.focus\\:bg-indigo-700:focus {\n background-color: var(--indigo-700) !important;\n}\n.focus\\:bg-indigo-800:focus {\n background-color: var(--indigo-800) !important;\n}\n.focus\\:bg-indigo-900:focus {\n background-color: var(--indigo-900) !important;\n}\n\n.hover\\:bg-indigo-50:hover {\n background-color: var(--indigo-50) !important;\n}\n.hover\\:bg-indigo-100:hover {\n background-color: var(--indigo-100) !important;\n}\n.hover\\:bg-indigo-200:hover {\n background-color: var(--indigo-200) !important;\n}\n.hover\\:bg-indigo-300:hover {\n background-color: var(--indigo-300) !important;\n}\n.hover\\:bg-indigo-400:hover {\n background-color: var(--indigo-400) !important;\n}\n.hover\\:bg-indigo-500:hover {\n background-color: var(--indigo-500) !important;\n}\n.hover\\:bg-indigo-600:hover {\n background-color: var(--indigo-600) !important;\n}\n.hover\\:bg-indigo-700:hover {\n background-color: var(--indigo-700) !important;\n}\n.hover\\:bg-indigo-800:hover {\n background-color: var(--indigo-800) !important;\n}\n.hover\\:bg-indigo-900:hover {\n background-color: var(--indigo-900) !important;\n}\n\n.active\\:bg-indigo-50:active {\n background-color: var(--indigo-50) !important;\n}\n.active\\:bg-indigo-100:active {\n background-color: var(--indigo-100) !important;\n}\n.active\\:bg-indigo-200:active {\n background-color: var(--indigo-200) !important;\n}\n.active\\:bg-indigo-300:active {\n background-color: var(--indigo-300) !important;\n}\n.active\\:bg-indigo-400:active {\n background-color: var(--indigo-400) !important;\n}\n.active\\:bg-indigo-500:active {\n background-color: var(--indigo-500) !important;\n}\n.active\\:bg-indigo-600:active {\n background-color: var(--indigo-600) !important;\n}\n.active\\:bg-indigo-700:active {\n background-color: var(--indigo-700) !important;\n}\n.active\\:bg-indigo-800:active {\n background-color: var(--indigo-800) !important;\n}\n.active\\:bg-indigo-900:active {\n background-color: var(--indigo-900) !important;\n}\n\n.bg-teal-50 {\n background-color: var(--teal-50) !important;\n}\n.bg-teal-100 {\n background-color: var(--teal-100) !important;\n}\n.bg-teal-200 {\n background-color: var(--teal-200) !important;\n}\n.bg-teal-300 {\n background-color: var(--teal-300) !important;\n}\n.bg-teal-400 {\n background-color: var(--teal-400) !important;\n}\n.bg-teal-500 {\n background-color: var(--teal-500) !important;\n}\n.bg-teal-600 {\n background-color: var(--teal-600) !important;\n}\n.bg-teal-700 {\n background-color: var(--teal-700) !important;\n}\n.bg-teal-800 {\n background-color: var(--teal-800) !important;\n}\n.bg-teal-900 {\n background-color: var(--teal-900) !important;\n}\n\n.focus\\:bg-teal-50:focus {\n background-color: var(--teal-50) !important;\n}\n.focus\\:bg-teal-100:focus {\n background-color: var(--teal-100) !important;\n}\n.focus\\:bg-teal-200:focus {\n background-color: var(--teal-200) !important;\n}\n.focus\\:bg-teal-300:focus {\n background-color: var(--teal-300) !important;\n}\n.focus\\:bg-teal-400:focus {\n background-color: var(--teal-400) !important;\n}\n.focus\\:bg-teal-500:focus {\n background-color: var(--teal-500) !important;\n}\n.focus\\:bg-teal-600:focus {\n background-color: var(--teal-600) !important;\n}\n.focus\\:bg-teal-700:focus {\n background-color: var(--teal-700) !important;\n}\n.focus\\:bg-teal-800:focus {\n background-color: var(--teal-800) !important;\n}\n.focus\\:bg-teal-900:focus {\n background-color: var(--teal-900) !important;\n}\n\n.hover\\:bg-teal-50:hover {\n background-color: var(--teal-50) !important;\n}\n.hover\\:bg-teal-100:hover {\n background-color: var(--teal-100) !important;\n}\n.hover\\:bg-teal-200:hover {\n background-color: var(--teal-200) !important;\n}\n.hover\\:bg-teal-300:hover {\n background-color: var(--teal-300) !important;\n}\n.hover\\:bg-teal-400:hover {\n background-color: var(--teal-400) !important;\n}\n.hover\\:bg-teal-500:hover {\n background-color: var(--teal-500) !important;\n}\n.hover\\:bg-teal-600:hover {\n background-color: var(--teal-600) !important;\n}\n.hover\\:bg-teal-700:hover {\n background-color: var(--teal-700) !important;\n}\n.hover\\:bg-teal-800:hover {\n background-color: var(--teal-800) !important;\n}\n.hover\\:bg-teal-900:hover {\n background-color: var(--teal-900) !important;\n}\n\n.active\\:bg-teal-50:active {\n background-color: var(--teal-50) !important;\n}\n.active\\:bg-teal-100:active {\n background-color: var(--teal-100) !important;\n}\n.active\\:bg-teal-200:active {\n background-color: var(--teal-200) !important;\n}\n.active\\:bg-teal-300:active {\n background-color: var(--teal-300) !important;\n}\n.active\\:bg-teal-400:active {\n background-color: var(--teal-400) !important;\n}\n.active\\:bg-teal-500:active {\n background-color: var(--teal-500) !important;\n}\n.active\\:bg-teal-600:active {\n background-color: var(--teal-600) !important;\n}\n.active\\:bg-teal-700:active {\n background-color: var(--teal-700) !important;\n}\n.active\\:bg-teal-800:active {\n background-color: var(--teal-800) !important;\n}\n.active\\:bg-teal-900:active {\n background-color: var(--teal-900) !important;\n}\n\n.bg-orange-50 {\n background-color: var(--orange-50) !important;\n}\n.bg-orange-100 {\n background-color: var(--orange-100) !important;\n}\n.bg-orange-200 {\n background-color: var(--orange-200) !important;\n}\n.bg-orange-300 {\n background-color: var(--orange-300) !important;\n}\n.bg-orange-400 {\n background-color: var(--orange-400) !important;\n}\n.bg-orange-500 {\n background-color: var(--orange-500) !important;\n}\n.bg-orange-600 {\n background-color: var(--orange-600) !important;\n}\n.bg-orange-700 {\n background-color: var(--orange-700) !important;\n}\n.bg-orange-800 {\n background-color: var(--orange-800) !important;\n}\n.bg-orange-900 {\n background-color: var(--orange-900) !important;\n}\n\n.focus\\:bg-orange-50:focus {\n background-color: var(--orange-50) !important;\n}\n.focus\\:bg-orange-100:focus {\n background-color: var(--orange-100) !important;\n}\n.focus\\:bg-orange-200:focus {\n background-color: var(--orange-200) !important;\n}\n.focus\\:bg-orange-300:focus {\n background-color: var(--orange-300) !important;\n}\n.focus\\:bg-orange-400:focus {\n background-color: var(--orange-400) !important;\n}\n.focus\\:bg-orange-500:focus {\n background-color: var(--orange-500) !important;\n}\n.focus\\:bg-orange-600:focus {\n background-color: var(--orange-600) !important;\n}\n.focus\\:bg-orange-700:focus {\n background-color: var(--orange-700) !important;\n}\n.focus\\:bg-orange-800:focus {\n background-color: var(--orange-800) !important;\n}\n.focus\\:bg-orange-900:focus {\n background-color: var(--orange-900) !important;\n}\n\n.hover\\:bg-orange-50:hover {\n background-color: var(--orange-50) !important;\n}\n.hover\\:bg-orange-100:hover {\n background-color: var(--orange-100) !important;\n}\n.hover\\:bg-orange-200:hover {\n background-color: var(--orange-200) !important;\n}\n.hover\\:bg-orange-300:hover {\n background-color: var(--orange-300) !important;\n}\n.hover\\:bg-orange-400:hover {\n background-color: var(--orange-400) !important;\n}\n.hover\\:bg-orange-500:hover {\n background-color: var(--orange-500) !important;\n}\n.hover\\:bg-orange-600:hover {\n background-color: var(--orange-600) !important;\n}\n.hover\\:bg-orange-700:hover {\n background-color: var(--orange-700) !important;\n}\n.hover\\:bg-orange-800:hover {\n background-color: var(--orange-800) !important;\n}\n.hover\\:bg-orange-900:hover {\n background-color: var(--orange-900) !important;\n}\n\n.active\\:bg-orange-50:active {\n background-color: var(--orange-50) !important;\n}\n.active\\:bg-orange-100:active {\n background-color: var(--orange-100) !important;\n}\n.active\\:bg-orange-200:active {\n background-color: var(--orange-200) !important;\n}\n.active\\:bg-orange-300:active {\n background-color: var(--orange-300) !important;\n}\n.active\\:bg-orange-400:active {\n background-color: var(--orange-400) !important;\n}\n.active\\:bg-orange-500:active {\n background-color: var(--orange-500) !important;\n}\n.active\\:bg-orange-600:active {\n background-color: var(--orange-600) !important;\n}\n.active\\:bg-orange-700:active {\n background-color: var(--orange-700) !important;\n}\n.active\\:bg-orange-800:active {\n background-color: var(--orange-800) !important;\n}\n.active\\:bg-orange-900:active {\n background-color: var(--orange-900) !important;\n}\n\n.bg-bluegray-50 {\n background-color: var(--bluegray-50) !important;\n}\n.bg-bluegray-100 {\n background-color: var(--bluegray-100) !important;\n}\n.bg-bluegray-200 {\n background-color: var(--bluegray-200) !important;\n}\n.bg-bluegray-300 {\n background-color: var(--bluegray-300) !important;\n}\n.bg-bluegray-400 {\n background-color: var(--bluegray-400) !important;\n}\n.bg-bluegray-500 {\n background-color: var(--bluegray-500) !important;\n}\n.bg-bluegray-600 {\n background-color: var(--bluegray-600) !important;\n}\n.bg-bluegray-700 {\n background-color: var(--bluegray-700) !important;\n}\n.bg-bluegray-800 {\n background-color: var(--bluegray-800) !important;\n}\n.bg-bluegray-900 {\n background-color: var(--bluegray-900) !important;\n}\n\n.focus\\:bg-bluegray-50:focus {\n background-color: var(--bluegray-50) !important;\n}\n.focus\\:bg-bluegray-100:focus {\n background-color: var(--bluegray-100) !important;\n}\n.focus\\:bg-bluegray-200:focus {\n background-color: var(--bluegray-200) !important;\n}\n.focus\\:bg-bluegray-300:focus {\n background-color: var(--bluegray-300) !important;\n}\n.focus\\:bg-bluegray-400:focus {\n background-color: var(--bluegray-400) !important;\n}\n.focus\\:bg-bluegray-500:focus {\n background-color: var(--bluegray-500) !important;\n}\n.focus\\:bg-bluegray-600:focus {\n background-color: var(--bluegray-600) !important;\n}\n.focus\\:bg-bluegray-700:focus {\n background-color: var(--bluegray-700) !important;\n}\n.focus\\:bg-bluegray-800:focus {\n background-color: var(--bluegray-800) !important;\n}\n.focus\\:bg-bluegray-900:focus {\n background-color: var(--bluegray-900) !important;\n}\n\n.hover\\:bg-bluegray-50:hover {\n background-color: var(--bluegray-50) !important;\n}\n.hover\\:bg-bluegray-100:hover {\n background-color: var(--bluegray-100) !important;\n}\n.hover\\:bg-bluegray-200:hover {\n background-color: var(--bluegray-200) !important;\n}\n.hover\\:bg-bluegray-300:hover {\n background-color: var(--bluegray-300) !important;\n}\n.hover\\:bg-bluegray-400:hover {\n background-color: var(--bluegray-400) !important;\n}\n.hover\\:bg-bluegray-500:hover {\n background-color: var(--bluegray-500) !important;\n}\n.hover\\:bg-bluegray-600:hover {\n background-color: var(--bluegray-600) !important;\n}\n.hover\\:bg-bluegray-700:hover {\n background-color: var(--bluegray-700) !important;\n}\n.hover\\:bg-bluegray-800:hover {\n background-color: var(--bluegray-800) !important;\n}\n.hover\\:bg-bluegray-900:hover {\n background-color: var(--bluegray-900) !important;\n}\n\n.active\\:bg-bluegray-50:active {\n background-color: var(--bluegray-50) !important;\n}\n.active\\:bg-bluegray-100:active {\n background-color: var(--bluegray-100) !important;\n}\n.active\\:bg-bluegray-200:active {\n background-color: var(--bluegray-200) !important;\n}\n.active\\:bg-bluegray-300:active {\n background-color: var(--bluegray-300) !important;\n}\n.active\\:bg-bluegray-400:active {\n background-color: var(--bluegray-400) !important;\n}\n.active\\:bg-bluegray-500:active {\n background-color: var(--bluegray-500) !important;\n}\n.active\\:bg-bluegray-600:active {\n background-color: var(--bluegray-600) !important;\n}\n.active\\:bg-bluegray-700:active {\n background-color: var(--bluegray-700) !important;\n}\n.active\\:bg-bluegray-800:active {\n background-color: var(--bluegray-800) !important;\n}\n.active\\:bg-bluegray-900:active {\n background-color: var(--bluegray-900) !important;\n}\n\n.bg-purple-50 {\n background-color: var(--purple-50) !important;\n}\n.bg-purple-100 {\n background-color: var(--purple-100) !important;\n}\n.bg-purple-200 {\n background-color: var(--purple-200) !important;\n}\n.bg-purple-300 {\n background-color: var(--purple-300) !important;\n}\n.bg-purple-400 {\n background-color: var(--purple-400) !important;\n}\n.bg-purple-500 {\n background-color: var(--purple-500) !important;\n}\n.bg-purple-600 {\n background-color: var(--purple-600) !important;\n}\n.bg-purple-700 {\n background-color: var(--purple-700) !important;\n}\n.bg-purple-800 {\n background-color: var(--purple-800) !important;\n}\n.bg-purple-900 {\n background-color: var(--purple-900) !important;\n}\n\n.focus\\:bg-purple-50:focus {\n background-color: var(--purple-50) !important;\n}\n.focus\\:bg-purple-100:focus {\n background-color: var(--purple-100) !important;\n}\n.focus\\:bg-purple-200:focus {\n background-color: var(--purple-200) !important;\n}\n.focus\\:bg-purple-300:focus {\n background-color: var(--purple-300) !important;\n}\n.focus\\:bg-purple-400:focus {\n background-color: var(--purple-400) !important;\n}\n.focus\\:bg-purple-500:focus {\n background-color: var(--purple-500) !important;\n}\n.focus\\:bg-purple-600:focus {\n background-color: var(--purple-600) !important;\n}\n.focus\\:bg-purple-700:focus {\n background-color: var(--purple-700) !important;\n}\n.focus\\:bg-purple-800:focus {\n background-color: var(--purple-800) !important;\n}\n.focus\\:bg-purple-900:focus {\n background-color: var(--purple-900) !important;\n}\n\n.hover\\:bg-purple-50:hover {\n background-color: var(--purple-50) !important;\n}\n.hover\\:bg-purple-100:hover {\n background-color: var(--purple-100) !important;\n}\n.hover\\:bg-purple-200:hover {\n background-color: var(--purple-200) !important;\n}\n.hover\\:bg-purple-300:hover {\n background-color: var(--purple-300) !important;\n}\n.hover\\:bg-purple-400:hover {\n background-color: var(--purple-400) !important;\n}\n.hover\\:bg-purple-500:hover {\n background-color: var(--purple-500) !important;\n}\n.hover\\:bg-purple-600:hover {\n background-color: var(--purple-600) !important;\n}\n.hover\\:bg-purple-700:hover {\n background-color: var(--purple-700) !important;\n}\n.hover\\:bg-purple-800:hover {\n background-color: var(--purple-800) !important;\n}\n.hover\\:bg-purple-900:hover {\n background-color: var(--purple-900) !important;\n}\n\n.active\\:bg-purple-50:active {\n background-color: var(--purple-50) !important;\n}\n.active\\:bg-purple-100:active {\n background-color: var(--purple-100) !important;\n}\n.active\\:bg-purple-200:active {\n background-color: var(--purple-200) !important;\n}\n.active\\:bg-purple-300:active {\n background-color: var(--purple-300) !important;\n}\n.active\\:bg-purple-400:active {\n background-color: var(--purple-400) !important;\n}\n.active\\:bg-purple-500:active {\n background-color: var(--purple-500) !important;\n}\n.active\\:bg-purple-600:active {\n background-color: var(--purple-600) !important;\n}\n.active\\:bg-purple-700:active {\n background-color: var(--purple-700) !important;\n}\n.active\\:bg-purple-800:active {\n background-color: var(--purple-800) !important;\n}\n.active\\:bg-purple-900:active {\n background-color: var(--purple-900) !important;\n}\n\n.bg-gray-50 {\n background-color: var(--gray-50) !important;\n}\n.bg-gray-100 {\n background-color: var(--gray-100) !important;\n}\n.bg-gray-200 {\n background-color: var(--gray-200) !important;\n}\n.bg-gray-300 {\n background-color: var(--gray-300) !important;\n}\n.bg-gray-400 {\n background-color: var(--gray-400) !important;\n}\n.bg-gray-500 {\n background-color: var(--gray-500) !important;\n}\n.bg-gray-600 {\n background-color: var(--gray-600) !important;\n}\n.bg-gray-700 {\n background-color: var(--gray-700) !important;\n}\n.bg-gray-800 {\n background-color: var(--gray-800) !important;\n}\n.bg-gray-900 {\n background-color: var(--gray-900) !important;\n}\n\n.focus\\:bg-gray-50:focus {\n background-color: var(--gray-50) !important;\n}\n.focus\\:bg-gray-100:focus {\n background-color: var(--gray-100) !important;\n}\n.focus\\:bg-gray-200:focus {\n background-color: var(--gray-200) !important;\n}\n.focus\\:bg-gray-300:focus {\n background-color: var(--gray-300) !important;\n}\n.focus\\:bg-gray-400:focus {\n background-color: var(--gray-400) !important;\n}\n.focus\\:bg-gray-500:focus {\n background-color: var(--gray-500) !important;\n}\n.focus\\:bg-gray-600:focus {\n background-color: var(--gray-600) !important;\n}\n.focus\\:bg-gray-700:focus {\n background-color: var(--gray-700) !important;\n}\n.focus\\:bg-gray-800:focus {\n background-color: var(--gray-800) !important;\n}\n.focus\\:bg-gray-900:focus {\n background-color: var(--gray-900) !important;\n}\n\n.hover\\:bg-gray-50:hover {\n background-color: var(--gray-50) !important;\n}\n.hover\\:bg-gray-100:hover {\n background-color: var(--gray-100) !important;\n}\n.hover\\:bg-gray-200:hover {\n background-color: var(--gray-200) !important;\n}\n.hover\\:bg-gray-300:hover {\n background-color: var(--gray-300) !important;\n}\n.hover\\:bg-gray-400:hover {\n background-color: var(--gray-400) !important;\n}\n.hover\\:bg-gray-500:hover {\n background-color: var(--gray-500) !important;\n}\n.hover\\:bg-gray-600:hover {\n background-color: var(--gray-600) !important;\n}\n.hover\\:bg-gray-700:hover {\n background-color: var(--gray-700) !important;\n}\n.hover\\:bg-gray-800:hover {\n background-color: var(--gray-800) !important;\n}\n.hover\\:bg-gray-900:hover {\n background-color: var(--gray-900) !important;\n}\n\n.active\\:bg-gray-50:active {\n background-color: var(--gray-50) !important;\n}\n.active\\:bg-gray-100:active {\n background-color: var(--gray-100) !important;\n}\n.active\\:bg-gray-200:active {\n background-color: var(--gray-200) !important;\n}\n.active\\:bg-gray-300:active {\n background-color: var(--gray-300) !important;\n}\n.active\\:bg-gray-400:active {\n background-color: var(--gray-400) !important;\n}\n.active\\:bg-gray-500:active {\n background-color: var(--gray-500) !important;\n}\n.active\\:bg-gray-600:active {\n background-color: var(--gray-600) !important;\n}\n.active\\:bg-gray-700:active {\n background-color: var(--gray-700) !important;\n}\n.active\\:bg-gray-800:active {\n background-color: var(--gray-800) !important;\n}\n.active\\:bg-gray-900:active {\n background-color: var(--gray-900) !important;\n}\n\n.border-blue-50 {\n border-color: var(--blue-50) !important;\n}\n.border-blue-100 {\n border-color: var(--blue-100) !important;\n}\n.border-blue-200 {\n border-color: var(--blue-200) !important;\n}\n.border-blue-300 {\n border-color: var(--blue-300) !important;\n}\n.border-blue-400 {\n border-color: var(--blue-400) !important;\n}\n.border-blue-500 {\n border-color: var(--blue-500) !important;\n}\n.border-blue-600 {\n border-color: var(--blue-600) !important;\n}\n.border-blue-700 {\n border-color: var(--blue-700) !important;\n}\n.border-blue-800 {\n border-color: var(--blue-800) !important;\n}\n.border-blue-900 {\n border-color: var(--blue-900) !important;\n}\n\n.focus\\:border-blue-50:focus {\n border-color: var(--blue-50) !important;\n}\n.focus\\:border-blue-100:focus {\n border-color: var(--blue-100) !important;\n}\n.focus\\:border-blue-200:focus {\n border-color: var(--blue-200) !important;\n}\n.focus\\:border-blue-300:focus {\n border-color: var(--blue-300) !important;\n}\n.focus\\:border-blue-400:focus {\n border-color: var(--blue-400) !important;\n}\n.focus\\:border-blue-500:focus {\n border-color: var(--blue-500) !important;\n}\n.focus\\:border-blue-600:focus {\n border-color: var(--blue-600) !important;\n}\n.focus\\:border-blue-700:focus {\n border-color: var(--blue-700) !important;\n}\n.focus\\:border-blue-800:focus {\n border-color: var(--blue-800) !important;\n}\n.focus\\:border-blue-900:focus {\n border-color: var(--blue-900) !important;\n}\n\n.hover\\:border-blue-50:hover {\n border-color: var(--blue-50) !important;\n}\n.hover\\:border-blue-100:hover {\n border-color: var(--blue-100) !important;\n}\n.hover\\:border-blue-200:hover {\n border-color: var(--blue-200) !important;\n}\n.hover\\:border-blue-300:hover {\n border-color: var(--blue-300) !important;\n}\n.hover\\:border-blue-400:hover {\n border-color: var(--blue-400) !important;\n}\n.hover\\:border-blue-500:hover {\n border-color: var(--blue-500) !important;\n}\n.hover\\:border-blue-600:hover {\n border-color: var(--blue-600) !important;\n}\n.hover\\:border-blue-700:hover {\n border-color: var(--blue-700) !important;\n}\n.hover\\:border-blue-800:hover {\n border-color: var(--blue-800) !important;\n}\n.hover\\:border-blue-900:hover {\n border-color: var(--blue-900) !important;\n}\n\n.active\\:border-blue-50:active {\n border-color: var(--blue-50) !important;\n}\n.active\\:border-blue-100:active {\n border-color: var(--blue-100) !important;\n}\n.active\\:border-blue-200:active {\n border-color: var(--blue-200) !important;\n}\n.active\\:border-blue-300:active {\n border-color: var(--blue-300) !important;\n}\n.active\\:border-blue-400:active {\n border-color: var(--blue-400) !important;\n}\n.active\\:border-blue-500:active {\n border-color: var(--blue-500) !important;\n}\n.active\\:border-blue-600:active {\n border-color: var(--blue-600) !important;\n}\n.active\\:border-blue-700:active {\n border-color: var(--blue-700) !important;\n}\n.active\\:border-blue-800:active {\n border-color: var(--blue-800) !important;\n}\n.active\\:border-blue-900:active {\n border-color: var(--blue-900) !important;\n}\n\n.border-green-50 {\n border-color: var(--green-50) !important;\n}\n.border-green-100 {\n border-color: var(--green-100) !important;\n}\n.border-green-200 {\n border-color: var(--green-200) !important;\n}\n.border-green-300 {\n border-color: var(--green-300) !important;\n}\n.border-green-400 {\n border-color: var(--green-400) !important;\n}\n.border-green-500 {\n border-color: var(--green-500) !important;\n}\n.border-green-600 {\n border-color: var(--green-600) !important;\n}\n.border-green-700 {\n border-color: var(--green-700) !important;\n}\n.border-green-800 {\n border-color: var(--green-800) !important;\n}\n.border-green-900 {\n border-color: var(--green-900) !important;\n}\n\n.focus\\:border-green-50:focus {\n border-color: var(--green-50) !important;\n}\n.focus\\:border-green-100:focus {\n border-color: var(--green-100) !important;\n}\n.focus\\:border-green-200:focus {\n border-color: var(--green-200) !important;\n}\n.focus\\:border-green-300:focus {\n border-color: var(--green-300) !important;\n}\n.focus\\:border-green-400:focus {\n border-color: var(--green-400) !important;\n}\n.focus\\:border-green-500:focus {\n border-color: var(--green-500) !important;\n}\n.focus\\:border-green-600:focus {\n border-color: var(--green-600) !important;\n}\n.focus\\:border-green-700:focus {\n border-color: var(--green-700) !important;\n}\n.focus\\:border-green-800:focus {\n border-color: var(--green-800) !important;\n}\n.focus\\:border-green-900:focus {\n border-color: var(--green-900) !important;\n}\n\n.hover\\:border-green-50:hover {\n border-color: var(--green-50) !important;\n}\n.hover\\:border-green-100:hover {\n border-color: var(--green-100) !important;\n}\n.hover\\:border-green-200:hover {\n border-color: var(--green-200) !important;\n}\n.hover\\:border-green-300:hover {\n border-color: var(--green-300) !important;\n}\n.hover\\:border-green-400:hover {\n border-color: var(--green-400) !important;\n}\n.hover\\:border-green-500:hover {\n border-color: var(--green-500) !important;\n}\n.hover\\:border-green-600:hover {\n border-color: var(--green-600) !important;\n}\n.hover\\:border-green-700:hover {\n border-color: var(--green-700) !important;\n}\n.hover\\:border-green-800:hover {\n border-color: var(--green-800) !important;\n}\n.hover\\:border-green-900:hover {\n border-color: var(--green-900) !important;\n}\n\n.active\\:border-green-50:active {\n border-color: var(--green-50) !important;\n}\n.active\\:border-green-100:active {\n border-color: var(--green-100) !important;\n}\n.active\\:border-green-200:active {\n border-color: var(--green-200) !important;\n}\n.active\\:border-green-300:active {\n border-color: var(--green-300) !important;\n}\n.active\\:border-green-400:active {\n border-color: var(--green-400) !important;\n}\n.active\\:border-green-500:active {\n border-color: var(--green-500) !important;\n}\n.active\\:border-green-600:active {\n border-color: var(--green-600) !important;\n}\n.active\\:border-green-700:active {\n border-color: var(--green-700) !important;\n}\n.active\\:border-green-800:active {\n border-color: var(--green-800) !important;\n}\n.active\\:border-green-900:active {\n border-color: var(--green-900) !important;\n}\n\n.border-yellow-50 {\n border-color: var(--yellow-50) !important;\n}\n.border-yellow-100 {\n border-color: var(--yellow-100) !important;\n}\n.border-yellow-200 {\n border-color: var(--yellow-200) !important;\n}\n.border-yellow-300 {\n border-color: var(--yellow-300) !important;\n}\n.border-yellow-400 {\n border-color: var(--yellow-400) !important;\n}\n.border-yellow-500 {\n border-color: var(--yellow-500) !important;\n}\n.border-yellow-600 {\n border-color: var(--yellow-600) !important;\n}\n.border-yellow-700 {\n border-color: var(--yellow-700) !important;\n}\n.border-yellow-800 {\n border-color: var(--yellow-800) !important;\n}\n.border-yellow-900 {\n border-color: var(--yellow-900) !important;\n}\n\n.focus\\:border-yellow-50:focus {\n border-color: var(--yellow-50) !important;\n}\n.focus\\:border-yellow-100:focus {\n border-color: var(--yellow-100) !important;\n}\n.focus\\:border-yellow-200:focus {\n border-color: var(--yellow-200) !important;\n}\n.focus\\:border-yellow-300:focus {\n border-color: var(--yellow-300) !important;\n}\n.focus\\:border-yellow-400:focus {\n border-color: var(--yellow-400) !important;\n}\n.focus\\:border-yellow-500:focus {\n border-color: var(--yellow-500) !important;\n}\n.focus\\:border-yellow-600:focus {\n border-color: var(--yellow-600) !important;\n}\n.focus\\:border-yellow-700:focus {\n border-color: var(--yellow-700) !important;\n}\n.focus\\:border-yellow-800:focus {\n border-color: var(--yellow-800) !important;\n}\n.focus\\:border-yellow-900:focus {\n border-color: var(--yellow-900) !important;\n}\n\n.hover\\:border-yellow-50:hover {\n border-color: var(--yellow-50) !important;\n}\n.hover\\:border-yellow-100:hover {\n border-color: var(--yellow-100) !important;\n}\n.hover\\:border-yellow-200:hover {\n border-color: var(--yellow-200) !important;\n}\n.hover\\:border-yellow-300:hover {\n border-color: var(--yellow-300) !important;\n}\n.hover\\:border-yellow-400:hover {\n border-color: var(--yellow-400) !important;\n}\n.hover\\:border-yellow-500:hover {\n border-color: var(--yellow-500) !important;\n}\n.hover\\:border-yellow-600:hover {\n border-color: var(--yellow-600) !important;\n}\n.hover\\:border-yellow-700:hover {\n border-color: var(--yellow-700) !important;\n}\n.hover\\:border-yellow-800:hover {\n border-color: var(--yellow-800) !important;\n}\n.hover\\:border-yellow-900:hover {\n border-color: var(--yellow-900) !important;\n}\n\n.active\\:border-yellow-50:active {\n border-color: var(--yellow-50) !important;\n}\n.active\\:border-yellow-100:active {\n border-color: var(--yellow-100) !important;\n}\n.active\\:border-yellow-200:active {\n border-color: var(--yellow-200) !important;\n}\n.active\\:border-yellow-300:active {\n border-color: var(--yellow-300) !important;\n}\n.active\\:border-yellow-400:active {\n border-color: var(--yellow-400) !important;\n}\n.active\\:border-yellow-500:active {\n border-color: var(--yellow-500) !important;\n}\n.active\\:border-yellow-600:active {\n border-color: var(--yellow-600) !important;\n}\n.active\\:border-yellow-700:active {\n border-color: var(--yellow-700) !important;\n}\n.active\\:border-yellow-800:active {\n border-color: var(--yellow-800) !important;\n}\n.active\\:border-yellow-900:active {\n border-color: var(--yellow-900) !important;\n}\n\n.border-cyan-50 {\n border-color: var(--cyan-50) !important;\n}\n.border-cyan-100 {\n border-color: var(--cyan-100) !important;\n}\n.border-cyan-200 {\n border-color: var(--cyan-200) !important;\n}\n.border-cyan-300 {\n border-color: var(--cyan-300) !important;\n}\n.border-cyan-400 {\n border-color: var(--cyan-400) !important;\n}\n.border-cyan-500 {\n border-color: var(--cyan-500) !important;\n}\n.border-cyan-600 {\n border-color: var(--cyan-600) !important;\n}\n.border-cyan-700 {\n border-color: var(--cyan-700) !important;\n}\n.border-cyan-800 {\n border-color: var(--cyan-800) !important;\n}\n.border-cyan-900 {\n border-color: var(--cyan-900) !important;\n}\n\n.focus\\:border-cyan-50:focus {\n border-color: var(--cyan-50) !important;\n}\n.focus\\:border-cyan-100:focus {\n border-color: var(--cyan-100) !important;\n}\n.focus\\:border-cyan-200:focus {\n border-color: var(--cyan-200) !important;\n}\n.focus\\:border-cyan-300:focus {\n border-color: var(--cyan-300) !important;\n}\n.focus\\:border-cyan-400:focus {\n border-color: var(--cyan-400) !important;\n}\n.focus\\:border-cyan-500:focus {\n border-color: var(--cyan-500) !important;\n}\n.focus\\:border-cyan-600:focus {\n border-color: var(--cyan-600) !important;\n}\n.focus\\:border-cyan-700:focus {\n border-color: var(--cyan-700) !important;\n}\n.focus\\:border-cyan-800:focus {\n border-color: var(--cyan-800) !important;\n}\n.focus\\:border-cyan-900:focus {\n border-color: var(--cyan-900) !important;\n}\n\n.hover\\:border-cyan-50:hover {\n border-color: var(--cyan-50) !important;\n}\n.hover\\:border-cyan-100:hover {\n border-color: var(--cyan-100) !important;\n}\n.hover\\:border-cyan-200:hover {\n border-color: var(--cyan-200) !important;\n}\n.hover\\:border-cyan-300:hover {\n border-color: var(--cyan-300) !important;\n}\n.hover\\:border-cyan-400:hover {\n border-color: var(--cyan-400) !important;\n}\n.hover\\:border-cyan-500:hover {\n border-color: var(--cyan-500) !important;\n}\n.hover\\:border-cyan-600:hover {\n border-color: var(--cyan-600) !important;\n}\n.hover\\:border-cyan-700:hover {\n border-color: var(--cyan-700) !important;\n}\n.hover\\:border-cyan-800:hover {\n border-color: var(--cyan-800) !important;\n}\n.hover\\:border-cyan-900:hover {\n border-color: var(--cyan-900) !important;\n}\n\n.active\\:border-cyan-50:active {\n border-color: var(--cyan-50) !important;\n}\n.active\\:border-cyan-100:active {\n border-color: var(--cyan-100) !important;\n}\n.active\\:border-cyan-200:active {\n border-color: var(--cyan-200) !important;\n}\n.active\\:border-cyan-300:active {\n border-color: var(--cyan-300) !important;\n}\n.active\\:border-cyan-400:active {\n border-color: var(--cyan-400) !important;\n}\n.active\\:border-cyan-500:active {\n border-color: var(--cyan-500) !important;\n}\n.active\\:border-cyan-600:active {\n border-color: var(--cyan-600) !important;\n}\n.active\\:border-cyan-700:active {\n border-color: var(--cyan-700) !important;\n}\n.active\\:border-cyan-800:active {\n border-color: var(--cyan-800) !important;\n}\n.active\\:border-cyan-900:active {\n border-color: var(--cyan-900) !important;\n}\n\n.border-pink-50 {\n border-color: var(--pink-50) !important;\n}\n.border-pink-100 {\n border-color: var(--pink-100) !important;\n}\n.border-pink-200 {\n border-color: var(--pink-200) !important;\n}\n.border-pink-300 {\n border-color: var(--pink-300) !important;\n}\n.border-pink-400 {\n border-color: var(--pink-400) !important;\n}\n.border-pink-500 {\n border-color: var(--pink-500) !important;\n}\n.border-pink-600 {\n border-color: var(--pink-600) !important;\n}\n.border-pink-700 {\n border-color: var(--pink-700) !important;\n}\n.border-pink-800 {\n border-color: var(--pink-800) !important;\n}\n.border-pink-900 {\n border-color: var(--pink-900) !important;\n}\n\n.focus\\:border-pink-50:focus {\n border-color: var(--pink-50) !important;\n}\n.focus\\:border-pink-100:focus {\n border-color: var(--pink-100) !important;\n}\n.focus\\:border-pink-200:focus {\n border-color: var(--pink-200) !important;\n}\n.focus\\:border-pink-300:focus {\n border-color: var(--pink-300) !important;\n}\n.focus\\:border-pink-400:focus {\n border-color: var(--pink-400) !important;\n}\n.focus\\:border-pink-500:focus {\n border-color: var(--pink-500) !important;\n}\n.focus\\:border-pink-600:focus {\n border-color: var(--pink-600) !important;\n}\n.focus\\:border-pink-700:focus {\n border-color: var(--pink-700) !important;\n}\n.focus\\:border-pink-800:focus {\n border-color: var(--pink-800) !important;\n}\n.focus\\:border-pink-900:focus {\n border-color: var(--pink-900) !important;\n}\n\n.hover\\:border-pink-50:hover {\n border-color: var(--pink-50) !important;\n}\n.hover\\:border-pink-100:hover {\n border-color: var(--pink-100) !important;\n}\n.hover\\:border-pink-200:hover {\n border-color: var(--pink-200) !important;\n}\n.hover\\:border-pink-300:hover {\n border-color: var(--pink-300) !important;\n}\n.hover\\:border-pink-400:hover {\n border-color: var(--pink-400) !important;\n}\n.hover\\:border-pink-500:hover {\n border-color: var(--pink-500) !important;\n}\n.hover\\:border-pink-600:hover {\n border-color: var(--pink-600) !important;\n}\n.hover\\:border-pink-700:hover {\n border-color: var(--pink-700) !important;\n}\n.hover\\:border-pink-800:hover {\n border-color: var(--pink-800) !important;\n}\n.hover\\:border-pink-900:hover {\n border-color: var(--pink-900) !important;\n}\n\n.active\\:border-pink-50:active {\n border-color: var(--pink-50) !important;\n}\n.active\\:border-pink-100:active {\n border-color: var(--pink-100) !important;\n}\n.active\\:border-pink-200:active {\n border-color: var(--pink-200) !important;\n}\n.active\\:border-pink-300:active {\n border-color: var(--pink-300) !important;\n}\n.active\\:border-pink-400:active {\n border-color: var(--pink-400) !important;\n}\n.active\\:border-pink-500:active {\n border-color: var(--pink-500) !important;\n}\n.active\\:border-pink-600:active {\n border-color: var(--pink-600) !important;\n}\n.active\\:border-pink-700:active {\n border-color: var(--pink-700) !important;\n}\n.active\\:border-pink-800:active {\n border-color: var(--pink-800) !important;\n}\n.active\\:border-pink-900:active {\n border-color: var(--pink-900) !important;\n}\n\n.border-indigo-50 {\n border-color: var(--indigo-50) !important;\n}\n.border-indigo-100 {\n border-color: var(--indigo-100) !important;\n}\n.border-indigo-200 {\n border-color: var(--indigo-200) !important;\n}\n.border-indigo-300 {\n border-color: var(--indigo-300) !important;\n}\n.border-indigo-400 {\n border-color: var(--indigo-400) !important;\n}\n.border-indigo-500 {\n border-color: var(--indigo-500) !important;\n}\n.border-indigo-600 {\n border-color: var(--indigo-600) !important;\n}\n.border-indigo-700 {\n border-color: var(--indigo-700) !important;\n}\n.border-indigo-800 {\n border-color: var(--indigo-800) !important;\n}\n.border-indigo-900 {\n border-color: var(--indigo-900) !important;\n}\n\n.focus\\:border-indigo-50:focus {\n border-color: var(--indigo-50) !important;\n}\n.focus\\:border-indigo-100:focus {\n border-color: var(--indigo-100) !important;\n}\n.focus\\:border-indigo-200:focus {\n border-color: var(--indigo-200) !important;\n}\n.focus\\:border-indigo-300:focus {\n border-color: var(--indigo-300) !important;\n}\n.focus\\:border-indigo-400:focus {\n border-color: var(--indigo-400) !important;\n}\n.focus\\:border-indigo-500:focus {\n border-color: var(--indigo-500) !important;\n}\n.focus\\:border-indigo-600:focus {\n border-color: var(--indigo-600) !important;\n}\n.focus\\:border-indigo-700:focus {\n border-color: var(--indigo-700) !important;\n}\n.focus\\:border-indigo-800:focus {\n border-color: var(--indigo-800) !important;\n}\n.focus\\:border-indigo-900:focus {\n border-color: var(--indigo-900) !important;\n}\n\n.hover\\:border-indigo-50:hover {\n border-color: var(--indigo-50) !important;\n}\n.hover\\:border-indigo-100:hover {\n border-color: var(--indigo-100) !important;\n}\n.hover\\:border-indigo-200:hover {\n border-color: var(--indigo-200) !important;\n}\n.hover\\:border-indigo-300:hover {\n border-color: var(--indigo-300) !important;\n}\n.hover\\:border-indigo-400:hover {\n border-color: var(--indigo-400) !important;\n}\n.hover\\:border-indigo-500:hover {\n border-color: var(--indigo-500) !important;\n}\n.hover\\:border-indigo-600:hover {\n border-color: var(--indigo-600) !important;\n}\n.hover\\:border-indigo-700:hover {\n border-color: var(--indigo-700) !important;\n}\n.hover\\:border-indigo-800:hover {\n border-color: var(--indigo-800) !important;\n}\n.hover\\:border-indigo-900:hover {\n border-color: var(--indigo-900) !important;\n}\n\n.active\\:border-indigo-50:active {\n border-color: var(--indigo-50) !important;\n}\n.active\\:border-indigo-100:active {\n border-color: var(--indigo-100) !important;\n}\n.active\\:border-indigo-200:active {\n border-color: var(--indigo-200) !important;\n}\n.active\\:border-indigo-300:active {\n border-color: var(--indigo-300) !important;\n}\n.active\\:border-indigo-400:active {\n border-color: var(--indigo-400) !important;\n}\n.active\\:border-indigo-500:active {\n border-color: var(--indigo-500) !important;\n}\n.active\\:border-indigo-600:active {\n border-color: var(--indigo-600) !important;\n}\n.active\\:border-indigo-700:active {\n border-color: var(--indigo-700) !important;\n}\n.active\\:border-indigo-800:active {\n border-color: var(--indigo-800) !important;\n}\n.active\\:border-indigo-900:active {\n border-color: var(--indigo-900) !important;\n}\n\n.border-teal-50 {\n border-color: var(--teal-50) !important;\n}\n.border-teal-100 {\n border-color: var(--teal-100) !important;\n}\n.border-teal-200 {\n border-color: var(--teal-200) !important;\n}\n.border-teal-300 {\n border-color: var(--teal-300) !important;\n}\n.border-teal-400 {\n border-color: var(--teal-400) !important;\n}\n.border-teal-500 {\n border-color: var(--teal-500) !important;\n}\n.border-teal-600 {\n border-color: var(--teal-600) !important;\n}\n.border-teal-700 {\n border-color: var(--teal-700) !important;\n}\n.border-teal-800 {\n border-color: var(--teal-800) !important;\n}\n.border-teal-900 {\n border-color: var(--teal-900) !important;\n}\n\n.focus\\:border-teal-50:focus {\n border-color: var(--teal-50) !important;\n}\n.focus\\:border-teal-100:focus {\n border-color: var(--teal-100) !important;\n}\n.focus\\:border-teal-200:focus {\n border-color: var(--teal-200) !important;\n}\n.focus\\:border-teal-300:focus {\n border-color: var(--teal-300) !important;\n}\n.focus\\:border-teal-400:focus {\n border-color: var(--teal-400) !important;\n}\n.focus\\:border-teal-500:focus {\n border-color: var(--teal-500) !important;\n}\n.focus\\:border-teal-600:focus {\n border-color: var(--teal-600) !important;\n}\n.focus\\:border-teal-700:focus {\n border-color: var(--teal-700) !important;\n}\n.focus\\:border-teal-800:focus {\n border-color: var(--teal-800) !important;\n}\n.focus\\:border-teal-900:focus {\n border-color: var(--teal-900) !important;\n}\n\n.hover\\:border-teal-50:hover {\n border-color: var(--teal-50) !important;\n}\n.hover\\:border-teal-100:hover {\n border-color: var(--teal-100) !important;\n}\n.hover\\:border-teal-200:hover {\n border-color: var(--teal-200) !important;\n}\n.hover\\:border-teal-300:hover {\n border-color: var(--teal-300) !important;\n}\n.hover\\:border-teal-400:hover {\n border-color: var(--teal-400) !important;\n}\n.hover\\:border-teal-500:hover {\n border-color: var(--teal-500) !important;\n}\n.hover\\:border-teal-600:hover {\n border-color: var(--teal-600) !important;\n}\n.hover\\:border-teal-700:hover {\n border-color: var(--teal-700) !important;\n}\n.hover\\:border-teal-800:hover {\n border-color: var(--teal-800) !important;\n}\n.hover\\:border-teal-900:hover {\n border-color: var(--teal-900) !important;\n}\n\n.active\\:border-teal-50:active {\n border-color: var(--teal-50) !important;\n}\n.active\\:border-teal-100:active {\n border-color: var(--teal-100) !important;\n}\n.active\\:border-teal-200:active {\n border-color: var(--teal-200) !important;\n}\n.active\\:border-teal-300:active {\n border-color: var(--teal-300) !important;\n}\n.active\\:border-teal-400:active {\n border-color: var(--teal-400) !important;\n}\n.active\\:border-teal-500:active {\n border-color: var(--teal-500) !important;\n}\n.active\\:border-teal-600:active {\n border-color: var(--teal-600) !important;\n}\n.active\\:border-teal-700:active {\n border-color: var(--teal-700) !important;\n}\n.active\\:border-teal-800:active {\n border-color: var(--teal-800) !important;\n}\n.active\\:border-teal-900:active {\n border-color: var(--teal-900) !important;\n}\n\n.border-orange-50 {\n border-color: var(--orange-50) !important;\n}\n.border-orange-100 {\n border-color: var(--orange-100) !important;\n}\n.border-orange-200 {\n border-color: var(--orange-200) !important;\n}\n.border-orange-300 {\n border-color: var(--orange-300) !important;\n}\n.border-orange-400 {\n border-color: var(--orange-400) !important;\n}\n.border-orange-500 {\n border-color: var(--orange-500) !important;\n}\n.border-orange-600 {\n border-color: var(--orange-600) !important;\n}\n.border-orange-700 {\n border-color: var(--orange-700) !important;\n}\n.border-orange-800 {\n border-color: var(--orange-800) !important;\n}\n.border-orange-900 {\n border-color: var(--orange-900) !important;\n}\n\n.focus\\:border-orange-50:focus {\n border-color: var(--orange-50) !important;\n}\n.focus\\:border-orange-100:focus {\n border-color: var(--orange-100) !important;\n}\n.focus\\:border-orange-200:focus {\n border-color: var(--orange-200) !important;\n}\n.focus\\:border-orange-300:focus {\n border-color: var(--orange-300) !important;\n}\n.focus\\:border-orange-400:focus {\n border-color: var(--orange-400) !important;\n}\n.focus\\:border-orange-500:focus {\n border-color: var(--orange-500) !important;\n}\n.focus\\:border-orange-600:focus {\n border-color: var(--orange-600) !important;\n}\n.focus\\:border-orange-700:focus {\n border-color: var(--orange-700) !important;\n}\n.focus\\:border-orange-800:focus {\n border-color: var(--orange-800) !important;\n}\n.focus\\:border-orange-900:focus {\n border-color: var(--orange-900) !important;\n}\n\n.hover\\:border-orange-50:hover {\n border-color: var(--orange-50) !important;\n}\n.hover\\:border-orange-100:hover {\n border-color: var(--orange-100) !important;\n}\n.hover\\:border-orange-200:hover {\n border-color: var(--orange-200) !important;\n}\n.hover\\:border-orange-300:hover {\n border-color: var(--orange-300) !important;\n}\n.hover\\:border-orange-400:hover {\n border-color: var(--orange-400) !important;\n}\n.hover\\:border-orange-500:hover {\n border-color: var(--orange-500) !important;\n}\n.hover\\:border-orange-600:hover {\n border-color: var(--orange-600) !important;\n}\n.hover\\:border-orange-700:hover {\n border-color: var(--orange-700) !important;\n}\n.hover\\:border-orange-800:hover {\n border-color: var(--orange-800) !important;\n}\n.hover\\:border-orange-900:hover {\n border-color: var(--orange-900) !important;\n}\n\n.active\\:border-orange-50:active {\n border-color: var(--orange-50) !important;\n}\n.active\\:border-orange-100:active {\n border-color: var(--orange-100) !important;\n}\n.active\\:border-orange-200:active {\n border-color: var(--orange-200) !important;\n}\n.active\\:border-orange-300:active {\n border-color: var(--orange-300) !important;\n}\n.active\\:border-orange-400:active {\n border-color: var(--orange-400) !important;\n}\n.active\\:border-orange-500:active {\n border-color: var(--orange-500) !important;\n}\n.active\\:border-orange-600:active {\n border-color: var(--orange-600) !important;\n}\n.active\\:border-orange-700:active {\n border-color: var(--orange-700) !important;\n}\n.active\\:border-orange-800:active {\n border-color: var(--orange-800) !important;\n}\n.active\\:border-orange-900:active {\n border-color: var(--orange-900) !important;\n}\n\n.border-bluegray-50 {\n border-color: var(--bluegray-50) !important;\n}\n.border-bluegray-100 {\n border-color: var(--bluegray-100) !important;\n}\n.border-bluegray-200 {\n border-color: var(--bluegray-200) !important;\n}\n.border-bluegray-300 {\n border-color: var(--bluegray-300) !important;\n}\n.border-bluegray-400 {\n border-color: var(--bluegray-400) !important;\n}\n.border-bluegray-500 {\n border-color: var(--bluegray-500) !important;\n}\n.border-bluegray-600 {\n border-color: var(--bluegray-600) !important;\n}\n.border-bluegray-700 {\n border-color: var(--bluegray-700) !important;\n}\n.border-bluegray-800 {\n border-color: var(--bluegray-800) !important;\n}\n.border-bluegray-900 {\n border-color: var(--bluegray-900) !important;\n}\n\n.focus\\:border-bluegray-50:focus {\n border-color: var(--bluegray-50) !important;\n}\n.focus\\:border-bluegray-100:focus {\n border-color: var(--bluegray-100) !important;\n}\n.focus\\:border-bluegray-200:focus {\n border-color: var(--bluegray-200) !important;\n}\n.focus\\:border-bluegray-300:focus {\n border-color: var(--bluegray-300) !important;\n}\n.focus\\:border-bluegray-400:focus {\n border-color: var(--bluegray-400) !important;\n}\n.focus\\:border-bluegray-500:focus {\n border-color: var(--bluegray-500) !important;\n}\n.focus\\:border-bluegray-600:focus {\n border-color: var(--bluegray-600) !important;\n}\n.focus\\:border-bluegray-700:focus {\n border-color: var(--bluegray-700) !important;\n}\n.focus\\:border-bluegray-800:focus {\n border-color: var(--bluegray-800) !important;\n}\n.focus\\:border-bluegray-900:focus {\n border-color: var(--bluegray-900) !important;\n}\n\n.hover\\:border-bluegray-50:hover {\n border-color: var(--bluegray-50) !important;\n}\n.hover\\:border-bluegray-100:hover {\n border-color: var(--bluegray-100) !important;\n}\n.hover\\:border-bluegray-200:hover {\n border-color: var(--bluegray-200) !important;\n}\n.hover\\:border-bluegray-300:hover {\n border-color: var(--bluegray-300) !important;\n}\n.hover\\:border-bluegray-400:hover {\n border-color: var(--bluegray-400) !important;\n}\n.hover\\:border-bluegray-500:hover {\n border-color: var(--bluegray-500) !important;\n}\n.hover\\:border-bluegray-600:hover {\n border-color: var(--bluegray-600) !important;\n}\n.hover\\:border-bluegray-700:hover {\n border-color: var(--bluegray-700) !important;\n}\n.hover\\:border-bluegray-800:hover {\n border-color: var(--bluegray-800) !important;\n}\n.hover\\:border-bluegray-900:hover {\n border-color: var(--bluegray-900) !important;\n}\n\n.active\\:border-bluegray-50:active {\n border-color: var(--bluegray-50) !important;\n}\n.active\\:border-bluegray-100:active {\n border-color: var(--bluegray-100) !important;\n}\n.active\\:border-bluegray-200:active {\n border-color: var(--bluegray-200) !important;\n}\n.active\\:border-bluegray-300:active {\n border-color: var(--bluegray-300) !important;\n}\n.active\\:border-bluegray-400:active {\n border-color: var(--bluegray-400) !important;\n}\n.active\\:border-bluegray-500:active {\n border-color: var(--bluegray-500) !important;\n}\n.active\\:border-bluegray-600:active {\n border-color: var(--bluegray-600) !important;\n}\n.active\\:border-bluegray-700:active {\n border-color: var(--bluegray-700) !important;\n}\n.active\\:border-bluegray-800:active {\n border-color: var(--bluegray-800) !important;\n}\n.active\\:border-bluegray-900:active {\n border-color: var(--bluegray-900) !important;\n}\n\n.border-purple-50 {\n border-color: var(--purple-50) !important;\n}\n.border-purple-100 {\n border-color: var(--purple-100) !important;\n}\n.border-purple-200 {\n border-color: var(--purple-200) !important;\n}\n.border-purple-300 {\n border-color: var(--purple-300) !important;\n}\n.border-purple-400 {\n border-color: var(--purple-400) !important;\n}\n.border-purple-500 {\n border-color: var(--purple-500) !important;\n}\n.border-purple-600 {\n border-color: var(--purple-600) !important;\n}\n.border-purple-700 {\n border-color: var(--purple-700) !important;\n}\n.border-purple-800 {\n border-color: var(--purple-800) !important;\n}\n.border-purple-900 {\n border-color: var(--purple-900) !important;\n}\n\n.focus\\:border-purple-50:focus {\n border-color: var(--purple-50) !important;\n}\n.focus\\:border-purple-100:focus {\n border-color: var(--purple-100) !important;\n}\n.focus\\:border-purple-200:focus {\n border-color: var(--purple-200) !important;\n}\n.focus\\:border-purple-300:focus {\n border-color: var(--purple-300) !important;\n}\n.focus\\:border-purple-400:focus {\n border-color: var(--purple-400) !important;\n}\n.focus\\:border-purple-500:focus {\n border-color: var(--purple-500) !important;\n}\n.focus\\:border-purple-600:focus {\n border-color: var(--purple-600) !important;\n}\n.focus\\:border-purple-700:focus {\n border-color: var(--purple-700) !important;\n}\n.focus\\:border-purple-800:focus {\n border-color: var(--purple-800) !important;\n}\n.focus\\:border-purple-900:focus {\n border-color: var(--purple-900) !important;\n}\n\n.hover\\:border-purple-50:hover {\n border-color: var(--purple-50) !important;\n}\n.hover\\:border-purple-100:hover {\n border-color: var(--purple-100) !important;\n}\n.hover\\:border-purple-200:hover {\n border-color: var(--purple-200) !important;\n}\n.hover\\:border-purple-300:hover {\n border-color: var(--purple-300) !important;\n}\n.hover\\:border-purple-400:hover {\n border-color: var(--purple-400) !important;\n}\n.hover\\:border-purple-500:hover {\n border-color: var(--purple-500) !important;\n}\n.hover\\:border-purple-600:hover {\n border-color: var(--purple-600) !important;\n}\n.hover\\:border-purple-700:hover {\n border-color: var(--purple-700) !important;\n}\n.hover\\:border-purple-800:hover {\n border-color: var(--purple-800) !important;\n}\n.hover\\:border-purple-900:hover {\n border-color: var(--purple-900) !important;\n}\n\n.active\\:border-purple-50:active {\n border-color: var(--purple-50) !important;\n}\n.active\\:border-purple-100:active {\n border-color: var(--purple-100) !important;\n}\n.active\\:border-purple-200:active {\n border-color: var(--purple-200) !important;\n}\n.active\\:border-purple-300:active {\n border-color: var(--purple-300) !important;\n}\n.active\\:border-purple-400:active {\n border-color: var(--purple-400) !important;\n}\n.active\\:border-purple-500:active {\n border-color: var(--purple-500) !important;\n}\n.active\\:border-purple-600:active {\n border-color: var(--purple-600) !important;\n}\n.active\\:border-purple-700:active {\n border-color: var(--purple-700) !important;\n}\n.active\\:border-purple-800:active {\n border-color: var(--purple-800) !important;\n}\n.active\\:border-purple-900:active {\n border-color: var(--purple-900) !important;\n}\n\n.border-gray-50 {\n border-color: var(--gray-50) !important;\n}\n.border-gray-100 {\n border-color: var(--gray-100) !important;\n}\n.border-gray-200 {\n border-color: var(--gray-200) !important;\n}\n.border-gray-300 {\n border-color: var(--gray-300) !important;\n}\n.border-gray-400 {\n border-color: var(--gray-400) !important;\n}\n.border-gray-500 {\n border-color: var(--gray-500) !important;\n}\n.border-gray-600 {\n border-color: var(--gray-600) !important;\n}\n.border-gray-700 {\n border-color: var(--gray-700) !important;\n}\n.border-gray-800 {\n border-color: var(--gray-800) !important;\n}\n.border-gray-900 {\n border-color: var(--gray-900) !important;\n}\n\n.focus\\:border-gray-50:focus {\n border-color: var(--gray-50) !important;\n}\n.focus\\:border-gray-100:focus {\n border-color: var(--gray-100) !important;\n}\n.focus\\:border-gray-200:focus {\n border-color: var(--gray-200) !important;\n}\n.focus\\:border-gray-300:focus {\n border-color: var(--gray-300) !important;\n}\n.focus\\:border-gray-400:focus {\n border-color: var(--gray-400) !important;\n}\n.focus\\:border-gray-500:focus {\n border-color: var(--gray-500) !important;\n}\n.focus\\:border-gray-600:focus {\n border-color: var(--gray-600) !important;\n}\n.focus\\:border-gray-700:focus {\n border-color: var(--gray-700) !important;\n}\n.focus\\:border-gray-800:focus {\n border-color: var(--gray-800) !important;\n}\n.focus\\:border-gray-900:focus {\n border-color: var(--gray-900) !important;\n}\n\n.hover\\:border-gray-50:hover {\n border-color: var(--gray-50) !important;\n}\n.hover\\:border-gray-100:hover {\n border-color: var(--gray-100) !important;\n}\n.hover\\:border-gray-200:hover {\n border-color: var(--gray-200) !important;\n}\n.hover\\:border-gray-300:hover {\n border-color: var(--gray-300) !important;\n}\n.hover\\:border-gray-400:hover {\n border-color: var(--gray-400) !important;\n}\n.hover\\:border-gray-500:hover {\n border-color: var(--gray-500) !important;\n}\n.hover\\:border-gray-600:hover {\n border-color: var(--gray-600) !important;\n}\n.hover\\:border-gray-700:hover {\n border-color: var(--gray-700) !important;\n}\n.hover\\:border-gray-800:hover {\n border-color: var(--gray-800) !important;\n}\n.hover\\:border-gray-900:hover {\n border-color: var(--gray-900) !important;\n}\n\n.active\\:border-gray-50:active {\n border-color: var(--gray-50) !important;\n}\n.active\\:border-gray-100:active {\n border-color: var(--gray-100) !important;\n}\n.active\\:border-gray-200:active {\n border-color: var(--gray-200) !important;\n}\n.active\\:border-gray-300:active {\n border-color: var(--gray-300) !important;\n}\n.active\\:border-gray-400:active {\n border-color: var(--gray-400) !important;\n}\n.active\\:border-gray-500:active {\n border-color: var(--gray-500) !important;\n}\n.active\\:border-gray-600:active {\n border-color: var(--gray-600) !important;\n}\n.active\\:border-gray-700:active {\n border-color: var(--gray-700) !important;\n}\n.active\\:border-gray-800:active {\n border-color: var(--gray-800) !important;\n}\n.active\\:border-gray-900:active {\n border-color: var(--gray-900) !important;\n}\n\n.bg-white-alpha-10 {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.bg-white-alpha-20 {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.bg-white-alpha-30 {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.bg-white-alpha-40 {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.bg-white-alpha-50 {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.bg-white-alpha-60 {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.bg-white-alpha-70 {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.bg-white-alpha-80 {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.bg-white-alpha-90 {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.hover\\:bg-white-alpha-10:hover {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.hover\\:bg-white-alpha-20:hover {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.hover\\:bg-white-alpha-30:hover {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.hover\\:bg-white-alpha-40:hover {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.hover\\:bg-white-alpha-50:hover {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.hover\\:bg-white-alpha-60:hover {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.hover\\:bg-white-alpha-70:hover {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.hover\\:bg-white-alpha-80:hover {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.hover\\:bg-white-alpha-90:hover {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.focus\\:bg-white-alpha-10:focus {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.focus\\:bg-white-alpha-20:focus {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.focus\\:bg-white-alpha-30:focus {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.focus\\:bg-white-alpha-40:focus {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.focus\\:bg-white-alpha-50:focus {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.focus\\:bg-white-alpha-60:focus {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.focus\\:bg-white-alpha-70:focus {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.focus\\:bg-white-alpha-80:focus {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.focus\\:bg-white-alpha-90:focus {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.active\\:bg-white-alpha-10:active {\n background-color: rgba(255,255,255,0.1) !important;\n}\n.active\\:bg-white-alpha-20:active {\n background-color: rgba(255,255,255,0.2) !important;\n}\n.active\\:bg-white-alpha-30:active {\n background-color: rgba(255,255,255,0.3) !important;\n}\n.active\\:bg-white-alpha-40:active {\n background-color: rgba(255,255,255,0.4) !important;\n}\n.active\\:bg-white-alpha-50:active {\n background-color: rgba(255,255,255,0.5) !important;\n}\n.active\\:bg-white-alpha-60:active {\n background-color: rgba(255,255,255,0.6) !important;\n}\n.active\\:bg-white-alpha-70:active {\n background-color: rgba(255,255,255,0.7) !important;\n}\n.active\\:bg-white-alpha-80:active {\n background-color: rgba(255,255,255,0.8) !important;\n}\n.active\\:bg-white-alpha-90:active {\n background-color: rgba(255,255,255,0.9) !important;\n}\n\n.bg-black-alpha-10 {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.bg-black-alpha-20 {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.bg-black-alpha-30 {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.bg-black-alpha-40 {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.bg-black-alpha-50 {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.bg-black-alpha-60 {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.bg-black-alpha-70 {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.bg-black-alpha-80 {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.bg-black-alpha-90 {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.hover\\:bg-black-alpha-10:hover {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.hover\\:bg-black-alpha-20:hover {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.hover\\:bg-black-alpha-30:hover {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.hover\\:bg-black-alpha-40:hover {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.hover\\:bg-black-alpha-50:hover {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.hover\\:bg-black-alpha-60:hover {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.hover\\:bg-black-alpha-70:hover {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.hover\\:bg-black-alpha-80:hover {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.hover\\:bg-black-alpha-90:hover {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.focus\\:bg-black-alpha-10:focus {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.focus\\:bg-black-alpha-20:focus {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.focus\\:bg-black-alpha-30:focus {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.focus\\:bg-black-alpha-40:focus {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.focus\\:bg-black-alpha-50:focus {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.focus\\:bg-black-alpha-60:focus {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.focus\\:bg-black-alpha-70:focus {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.focus\\:bg-black-alpha-80:focus {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.focus\\:bg-black-alpha-90:focus {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.active\\:bg-black-alpha-10:active {\n background-color: rgba(0,0,0,0.1) !important;\n}\n.active\\:bg-black-alpha-20:active {\n background-color: rgba(0,0,0,0.2) !important;\n}\n.active\\:bg-black-alpha-30:active {\n background-color: rgba(0,0,0,0.3) !important;\n}\n.active\\:bg-black-alpha-40:active {\n background-color: rgba(0,0,0,0.4) !important;\n}\n.active\\:bg-black-alpha-50:active {\n background-color: rgba(0,0,0,0.5) !important;\n}\n.active\\:bg-black-alpha-60:active {\n background-color: rgba(0,0,0,0.6) !important;\n}\n.active\\:bg-black-alpha-70:active {\n background-color: rgba(0,0,0,0.7) !important;\n}\n.active\\:bg-black-alpha-80:active {\n background-color: rgba(0,0,0,0.8) !important;\n}\n.active\\:bg-black-alpha-90:active {\n background-color: rgba(0,0,0,0.9) !important;\n}\n\n.border-white-alpha-10 {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.border-white-alpha-20 {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.border-white-alpha-30 {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.border-white-alpha-40 {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.border-white-alpha-50 {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.border-white-alpha-60 {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.border-white-alpha-70 {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.border-white-alpha-80 {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.border-white-alpha-90 {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.hover\\:border-white-alpha-10:hover {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.hover\\:border-white-alpha-20:hover {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.hover\\:border-white-alpha-30:hover {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.hover\\:border-white-alpha-40:hover {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.hover\\:border-white-alpha-50:hover {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.hover\\:border-white-alpha-60:hover {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.hover\\:border-white-alpha-70:hover {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.hover\\:border-white-alpha-80:hover {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.hover\\:border-white-alpha-90:hover {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.focus\\:border-white-alpha-10:focus {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.focus\\:border-white-alpha-20:focus {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.focus\\:border-white-alpha-30:focus {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.focus\\:border-white-alpha-40:focus {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.focus\\:border-white-alpha-50:focus {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.focus\\:border-white-alpha-60:focus {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.focus\\:border-white-alpha-70:focus {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.focus\\:border-white-alpha-80:focus {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.focus\\:border-white-alpha-90:focus {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.active\\:border-white-alpha-10:active {\n border-color: rgba(255,255,255,0.1) !important;\n}\n.active\\:border-white-alpha-20:active {\n border-color: rgba(255,255,255,0.2) !important;\n}\n.active\\:border-white-alpha-30:active {\n border-color: rgba(255,255,255,0.3) !important;\n}\n.active\\:border-white-alpha-40:active {\n border-color: rgba(255,255,255,0.4) !important;\n}\n.active\\:border-white-alpha-50:active {\n border-color: rgba(255,255,255,0.5) !important;\n}\n.active\\:border-white-alpha-60:active {\n border-color: rgba(255,255,255,0.6) !important;\n}\n.active\\:border-white-alpha-70:active {\n border-color: rgba(255,255,255,0.7) !important;\n}\n.active\\:border-white-alpha-80:active {\n border-color: rgba(255,255,255,0.8) !important;\n}\n.active\\:border-white-alpha-90:active {\n border-color: rgba(255,255,255,0.9) !important;\n}\n\n.border-black-alpha-10 {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.border-black-alpha-20 {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.border-black-alpha-30 {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.border-black-alpha-40 {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.border-black-alpha-50 {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.border-black-alpha-60 {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.border-black-alpha-70 {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.border-black-alpha-80 {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.border-black-alpha-90 {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.hover\\:border-black-alpha-10:hover {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.hover\\:border-black-alpha-20:hover {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.hover\\:border-black-alpha-30:hover {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.hover\\:border-black-alpha-40:hover {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.hover\\:border-black-alpha-50:hover {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.hover\\:border-black-alpha-60:hover {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.hover\\:border-black-alpha-70:hover {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.hover\\:border-black-alpha-80:hover {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.hover\\:border-black-alpha-90:hover {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.focus\\:border-black-alpha-10:focus {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.focus\\:border-black-alpha-20:focus {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.focus\\:border-black-alpha-30:focus {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.focus\\:border-black-alpha-40:focus {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.focus\\:border-black-alpha-50:focus {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.focus\\:border-black-alpha-60:focus {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.focus\\:border-black-alpha-70:focus {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.focus\\:border-black-alpha-80:focus {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.focus\\:border-black-alpha-90:focus {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.active\\:border-black-alpha-10:active {\n border-color: rgba(0,0,0,0.1) !important;\n}\n.active\\:border-black-alpha-20:active {\n border-color: rgba(0,0,0,0.2) !important;\n}\n.active\\:border-black-alpha-30:active {\n border-color: rgba(0,0,0,0.3) !important;\n}\n.active\\:border-black-alpha-40:active {\n border-color: rgba(0,0,0,0.4) !important;\n}\n.active\\:border-black-alpha-50:active {\n border-color: rgba(0,0,0,0.5) !important;\n}\n.active\\:border-black-alpha-60:active {\n border-color: rgba(0,0,0,0.6) !important;\n}\n.active\\:border-black-alpha-70:active {\n border-color: rgba(0,0,0,0.7) !important;\n}\n.active\\:border-black-alpha-80:active {\n border-color: rgba(0,0,0,0.8) !important;\n}\n.active\\:border-black-alpha-90:active {\n border-color: rgba(0,0,0,0.9) !important;\n}\n\n.text-white-alpha-10 {\n color: rgba(255,255,255,0.1) !important;\n}\n.text-white-alpha-20 {\n color: rgba(255,255,255,0.2) !important;\n}\n.text-white-alpha-30 {\n color: rgba(255,255,255,0.3) !important;\n}\n.text-white-alpha-40 {\n color: rgba(255,255,255,0.4) !important;\n}\n.text-white-alpha-50 {\n color: rgba(255,255,255,0.5) !important;\n}\n.text-white-alpha-60 {\n color: rgba(255,255,255,0.6) !important;\n}\n.text-white-alpha-70 {\n color: rgba(255,255,255,0.7) !important;\n}\n.text-white-alpha-80 {\n color: rgba(255,255,255,0.8) !important;\n}\n.text-white-alpha-90 {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.hover\\:text-white-alpha-10:hover {\n color: rgba(255,255,255,0.1) !important;\n}\n.hover\\:text-white-alpha-20:hover {\n color: rgba(255,255,255,0.2) !important;\n}\n.hover\\:text-white-alpha-30:hover {\n color: rgba(255,255,255,0.3) !important;\n}\n.hover\\:text-white-alpha-40:hover {\n color: rgba(255,255,255,0.4) !important;\n}\n.hover\\:text-white-alpha-50:hover {\n color: rgba(255,255,255,0.5) !important;\n}\n.hover\\:text-white-alpha-60:hover {\n color: rgba(255,255,255,0.6) !important;\n}\n.hover\\:text-white-alpha-70:hover {\n color: rgba(255,255,255,0.7) !important;\n}\n.hover\\:text-white-alpha-80:hover {\n color: rgba(255,255,255,0.8) !important;\n}\n.hover\\:text-white-alpha-90:hover {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.focus\\:text-white-alpha-10:focus {\n color: rgba(255,255,255,0.1) !important;\n}\n.focus\\:text-white-alpha-20:focus {\n color: rgba(255,255,255,0.2) !important;\n}\n.focus\\:text-white-alpha-30:focus {\n color: rgba(255,255,255,0.3) !important;\n}\n.focus\\:text-white-alpha-40:focus {\n color: rgba(255,255,255,0.4) !important;\n}\n.focus\\:text-white-alpha-50:focus {\n color: rgba(255,255,255,0.5) !important;\n}\n.focus\\:text-white-alpha-60:focus {\n color: rgba(255,255,255,0.6) !important;\n}\n.focus\\:text-white-alpha-70:focus {\n color: rgba(255,255,255,0.7) !important;\n}\n.focus\\:text-white-alpha-80:focus {\n color: rgba(255,255,255,0.8) !important;\n}\n.focus\\:text-white-alpha-90:focus {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.active\\:text-white-alpha-10:active {\n color: rgba(255,255,255,0.1) !important;\n}\n.active\\:text-white-alpha-20:active {\n color: rgba(255,255,255,0.2) !important;\n}\n.active\\:text-white-alpha-30:active {\n color: rgba(255,255,255,0.3) !important;\n}\n.active\\:text-white-alpha-40:active {\n color: rgba(255,255,255,0.4) !important;\n}\n.active\\:text-white-alpha-50:active {\n color: rgba(255,255,255,0.5) !important;\n}\n.active\\:text-white-alpha-60:active {\n color: rgba(255,255,255,0.6) !important;\n}\n.active\\:text-white-alpha-70:active {\n color: rgba(255,255,255,0.7) !important;\n}\n.active\\:text-white-alpha-80:active {\n color: rgba(255,255,255,0.8) !important;\n}\n.active\\:text-white-alpha-90:active {\n color: rgba(255,255,255,0.9) !important;\n}\n\n.text-black-alpha-10 {\n color: rgba(0,0,0,0.1) !important;\n}\n.text-black-alpha-20 {\n color: rgba(0,0,0,0.2) !important;\n}\n.text-black-alpha-30 {\n color: rgba(0,0,0,0.3) !important;\n}\n.text-black-alpha-40 {\n color: rgba(0,0,0,0.4) !important;\n}\n.text-black-alpha-50 {\n color: rgba(0,0,0,0.5) !important;\n}\n.text-black-alpha-60 {\n color: rgba(0,0,0,0.6) !important;\n}\n.text-black-alpha-70 {\n color: rgba(0,0,0,0.7) !important;\n}\n.text-black-alpha-80 {\n color: rgba(0,0,0,0.8) !important;\n}\n.text-black-alpha-90 {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.hover\\:text-black-alpha-10:hover {\n color: rgba(0,0,0,0.1) !important;\n}\n.hover\\:text-black-alpha-20:hover {\n color: rgba(0,0,0,0.2) !important;\n}\n.hover\\:text-black-alpha-30:hover {\n color: rgba(0,0,0,0.3) !important;\n}\n.hover\\:text-black-alpha-40:hover {\n color: rgba(0,0,0,0.4) !important;\n}\n.hover\\:text-black-alpha-50:hover {\n color: rgba(0,0,0,0.5) !important;\n}\n.hover\\:text-black-alpha-60:hover {\n color: rgba(0,0,0,0.6) !important;\n}\n.hover\\:text-black-alpha-70:hover {\n color: rgba(0,0,0,0.7) !important;\n}\n.hover\\:text-black-alpha-80:hover {\n color: rgba(0,0,0,0.8) !important;\n}\n.hover\\:text-black-alpha-90:hover {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.focus\\:text-black-alpha-10:focus {\n color: rgba(0,0,0,0.1) !important;\n}\n.focus\\:text-black-alpha-20:focus {\n color: rgba(0,0,0,0.2) !important;\n}\n.focus\\:text-black-alpha-30:focus {\n color: rgba(0,0,0,0.3) !important;\n}\n.focus\\:text-black-alpha-40:focus {\n color: rgba(0,0,0,0.4) !important;\n}\n.focus\\:text-black-alpha-50:focus {\n color: rgba(0,0,0,0.5) !important;\n}\n.focus\\:text-black-alpha-60:focus {\n color: rgba(0,0,0,0.6) !important;\n}\n.focus\\:text-black-alpha-70:focus {\n color: rgba(0,0,0,0.7) !important;\n}\n.focus\\:text-black-alpha-80:focus {\n color: rgba(0,0,0,0.8) !important;\n}\n.focus\\:text-black-alpha-90:focus {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.active\\:text-black-alpha-10:active {\n color: rgba(0,0,0,0.1) !important;\n}\n.active\\:text-black-alpha-20:active {\n color: rgba(0,0,0,0.2) !important;\n}\n.active\\:text-black-alpha-30:active {\n color: rgba(0,0,0,0.3) !important;\n}\n.active\\:text-black-alpha-40:active {\n color: rgba(0,0,0,0.4) !important;\n}\n.active\\:text-black-alpha-50:active {\n color: rgba(0,0,0,0.5) !important;\n}\n.active\\:text-black-alpha-60:active {\n color: rgba(0,0,0,0.6) !important;\n}\n.active\\:text-black-alpha-70:active {\n color: rgba(0,0,0,0.7) !important;\n}\n.active\\:text-black-alpha-80:active {\n color: rgba(0,0,0,0.8) !important;\n}\n.active\\:text-black-alpha-90:active {\n color: rgba(0,0,0,0.9) !important;\n}\n\n.text-primary {\n color: var(--primary-color) !important;\n}\n\n.hover\\:text-primary:hover {\n color: var(--primary-color) !important;\n}\n\n.bg-primary {\n background-color: var(--primary-color) !important;\n color: var(--primary-color-text) !important;\n}\n\n.hover\\:bg-primary:hover {\n background-color: var(--primary-color) !important;\n color: var(--primary-color-text) !important;\n}\n\n.border-primary {\n border-color: var(--primary-color) !important;\n}\n\n.hover\\:border-primary:hover {\n border-color: var(--primary-color) !important;\n}\n\n.bg-primary-reverse {\n background-color: var(--primary-color-text) !important;\n color: var(--primary-color) !important;\n}\n\n.hover\\:bg-primary-reverse:hover {\n background-color: var(--primary-color-text) !important;\n color: var(--primary-color) !important;\n}\n\n.text-white {\n color: #ffffff !important;\n}\n\n.hover\\:text-white:hover {\n color: #ffffff !important;\n}\n\n.bg-white {\n background-color: #ffffff !important;\n}\n\n.hover\\:bg-white:hover {\n background-color: #ffffff !important;\n}\n\n.border-white {\n border-color: #ffffff !important;\n}\n\n.hover\\:border-white:hover {\n border-color: #ffffff !important;\n}\n\n.surface-ground {\n background-color: var(--surface-ground) !important;\n}\n\n.surface-section {\n background-color: var(--surface-section) !important;\n}\n\n.surface-card {\n background-color: var(--surface-card) !important;\n}\n\n.surface-overlay {\n background-color: var(--surface-overlay) !important;\n}\n\n.surface-border {\n border-color: var(--surface-border) !important;\n}\n\n.surface-hover {\n background-color: var(--surface-hover) !important;\n}\n\n.field {\n margin-bottom: 1rem;\n}\n\n.field > label {\n display: inline-block;\n margin-bottom: 0.5rem;\n}\n\n.field.grid > label {\n display: flex;\n align-items: center;\n}\n\n.field > small {\n margin-top: 0.25rem;\n}\n\n.field.grid,\n.formgrid.grid {\n margin-top: 0;\n}\n\n.field.grid .col-fixed,\n.formgrid.grid .col-fixed,\n.field.grid .col,\n.formgrid.grid .col,\n.field.grid .col-1,\n.formgrid.grid .col-1,\n.field.grid .col-2,\n.formgrid.grid .col-2,\n.field.grid .col-3,\n.formgrid.grid .col-3,\n.field.grid .col-4,\n.formgrid.grid .col-4,\n.field.grid .col-5,\n.formgrid.grid .col-5,\n.field.grid .col-6,\n.formgrid.grid .col-6,\n.field.grid .col-7,\n.formgrid.grid .col-7,\n.field.grid .col-8,\n.formgrid.grid .col-8,\n.field.grid .col-9,\n.formgrid.grid .col-9,\n.field.grid .col-10,\n.formgrid.grid .col-10,\n.field.grid .col-11,\n.formgrid.grid .col-11,\n.field.grid .col-12,\n.formgrid.grid .col-12 {\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.formgroup-inline {\n display: flex;\n flex-wrap: wrap;\n align-items: flex-start;\n}\n\n.formgroup-inline .field,\n.formgroup-inline .field-checkbox,\n.formgroup-inline .field-radiobutton {\n margin-right: 1rem;\n}\n\n.formgroup-inline .field > label,\n.formgroup-inline .field-checkbox > label,\n.formgroup-inline .field-radiobutton > label {\n margin-right: 0.5rem;\n margin-bottom: 0;\n}\n\n.field-checkbox,\n.field-radiobutton {\n margin-bottom: 1rem;\n display: flex;\n align-items: center;\n}\n\n.field-checkbox > label,\n.field-radiobutton > label {\n margin-left: 0.5rem;\n line-height: 1;\n}\n\n.hidden {\n display: none !important;\n}\n\n.block {\n display: block !important;\n}\n\n.inline {\n display: inline !important;\n}\n\n.inline-block {\n display: inline-block !important;\n}\n\n.flex {\n display: flex !important;\n}\n\n.inline-flex {\n display: inline-flex !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:hidden {\n display: none !important;\n }\n .sm\\:block {\n display: block !important;\n }\n .sm\\:inline {\n display: inline !important;\n }\n .sm\\:inline-block {\n display: inline-block !important;\n }\n .sm\\:flex {\n display: flex !important;\n }\n .sm\\:inline-flex {\n display: inline-flex !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:hidden {\n display: none !important;\n }\n .md\\:block {\n display: block !important;\n }\n .md\\:inline {\n display: inline !important;\n }\n .md\\:inline-block {\n display: inline-block !important;\n }\n .md\\:flex {\n display: flex !important;\n }\n .md\\:inline-flex {\n display: inline-flex !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:hidden {\n display: none !important;\n }\n .lg\\:block {\n display: block !important;\n }\n .lg\\:inline {\n display: inline !important;\n }\n .lg\\:inline-block {\n display: inline-block !important;\n }\n .lg\\:flex {\n display: flex !important;\n }\n .lg\\:inline-flex {\n display: inline-flex !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:hidden {\n display: none !important;\n }\n .xl\\:block {\n display: block !important;\n }\n .xl\\:inline {\n display: inline !important;\n }\n .xl\\:inline-block {\n display: inline-block !important;\n }\n .xl\\:flex {\n display: flex !important;\n }\n .xl\\:inline-flex {\n display: inline-flex !important;\n }\n}\n.text-center {\n text-align: center !important;\n}\n\n.text-justify {\n text-align: justify !important;\n}\n\n.text-left {\n text-align: left !important;\n}\n\n.text-right {\n text-align: right !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:text-center {\n text-align: center !important;\n }\n .sm\\:text-justify {\n text-align: justify !important;\n }\n .sm\\:text-left {\n text-align: left !important;\n }\n .sm\\:text-right {\n text-align: right !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:text-center {\n text-align: center !important;\n }\n .md\\:text-justify {\n text-align: justify !important;\n }\n .md\\:text-left {\n text-align: left !important;\n }\n .md\\:text-right {\n text-align: right !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:text-center {\n text-align: center !important;\n }\n .lg\\:text-justify {\n text-align: justify !important;\n }\n .lg\\:text-left {\n text-align: left !important;\n }\n .lg\\:text-right {\n text-align: right !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:text-center {\n text-align: center !important;\n }\n .xl\\:text-justify {\n text-align: justify !important;\n }\n .xl\\:text-left {\n text-align: left !important;\n }\n .xl\\:text-right {\n text-align: right !important;\n }\n}\n.underline {\n text-decoration: underline !important;\n}\n\n.line-through {\n text-decoration: line-through !important;\n}\n\n.no-underline {\n text-decoration: none !important;\n}\n\n.lowercase {\n text-transform: lowercase !important;\n}\n\n.uppercase {\n text-transform: uppercase !important;\n}\n\n.capitalize {\n text-transform: capitalize !important;\n}\n\n.text-overflow-clip {\n text-overflow: clip !important;\n}\n\n.text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .sm\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .md\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .lg\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:text-overflow-clip {\n text-overflow: clip !important;\n }\n .xl\\:text-overflow-ellipsis {\n text-overflow: ellipsis !important;\n }\n}\n.font-light {\n font-weight: 300 !important;\n}\n\n.font-normal {\n font-weight: 400 !important;\n}\n\n.font-medium {\n font-weight: 500 !important;\n}\n\n.font-semibold {\n font-weight: 600 !important;\n}\n\n.font-bold {\n font-weight: 700 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:font-light {\n font-weight: 300 !important;\n }\n .sm\\:font-normal {\n font-weight: 400 !important;\n }\n .sm\\:font-medium {\n font-weight: 500 !important;\n }\n .sm\\:font-semibold {\n font-weight: 600 !important;\n }\n .sm\\:font-bold {\n font-weight: 700 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:font-light {\n font-weight: 300 !important;\n }\n .md\\:font-normal {\n font-weight: 400 !important;\n }\n .md\\:font-medium {\n font-weight: 500 !important;\n }\n .md\\:font-semibold {\n font-weight: 600 !important;\n }\n .md\\:font-bold {\n font-weight: 700 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:font-light {\n font-weight: 300 !important;\n }\n .lg\\:font-normal {\n font-weight: 400 !important;\n }\n .lg\\:font-medium {\n font-weight: 500 !important;\n }\n .lg\\:font-semibold {\n font-weight: 600 !important;\n }\n .lg\\:font-bold {\n font-weight: 700 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:font-light {\n font-weight: 300 !important;\n }\n .xl\\:font-normal {\n font-weight: 400 !important;\n }\n .xl\\:font-medium {\n font-weight: 500 !important;\n }\n .xl\\:font-semibold {\n font-weight: 600 !important;\n }\n .xl\\:font-bold {\n font-weight: 700 !important;\n }\n}\n.font-italic {\n font-style: italic !important;\n}\n\n.text-xs {\n font-size: 0.75rem !important;\n}\n\n.text-sm {\n font-size: 0.875rem !important;\n}\n\n.text-base {\n font-size: 1rem !important;\n}\n\n.text-lg {\n font-size: 1.125rem !important;\n}\n\n.text-xl {\n font-size: 1.25rem !important;\n}\n\n.text-2xl {\n font-size: 1.5rem !important;\n}\n\n.text-3xl {\n font-size: 1.75rem !important;\n}\n\n.text-4xl {\n font-size: 2rem !important;\n}\n\n.text-5xl {\n font-size: 2.5rem !important;\n}\n\n.text-6xl {\n font-size: 3rem !important;\n}\n\n.text-7xl {\n font-size: 4rem !important;\n}\n\n.text-8xl {\n font-size: 6rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:text-xs {\n font-size: 0.75rem !important;\n }\n .sm\\:text-sm {\n font-size: 0.875rem !important;\n }\n .sm\\:text-base {\n font-size: 1rem !important;\n }\n .sm\\:text-lg {\n font-size: 1.125rem !important;\n }\n .sm\\:text-xl {\n font-size: 1.25rem !important;\n }\n .sm\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .sm\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .sm\\:text-4xl {\n font-size: 2rem !important;\n }\n .sm\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .sm\\:text-6xl {\n font-size: 3rem !important;\n }\n .sm\\:text-7xl {\n font-size: 4rem !important;\n }\n .sm\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:text-xs {\n font-size: 0.75rem !important;\n }\n .md\\:text-sm {\n font-size: 0.875rem !important;\n }\n .md\\:text-base {\n font-size: 1rem !important;\n }\n .md\\:text-lg {\n font-size: 1.125rem !important;\n }\n .md\\:text-xl {\n font-size: 1.25rem !important;\n }\n .md\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .md\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .md\\:text-4xl {\n font-size: 2rem !important;\n }\n .md\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .md\\:text-6xl {\n font-size: 3rem !important;\n }\n .md\\:text-7xl {\n font-size: 4rem !important;\n }\n .md\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:text-xs {\n font-size: 0.75rem !important;\n }\n .lg\\:text-sm {\n font-size: 0.875rem !important;\n }\n .lg\\:text-base {\n font-size: 1rem !important;\n }\n .lg\\:text-lg {\n font-size: 1.125rem !important;\n }\n .lg\\:text-xl {\n font-size: 1.25rem !important;\n }\n .lg\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .lg\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .lg\\:text-4xl {\n font-size: 2rem !important;\n }\n .lg\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .lg\\:text-6xl {\n font-size: 3rem !important;\n }\n .lg\\:text-7xl {\n font-size: 4rem !important;\n }\n .lg\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:text-xs {\n font-size: 0.75rem !important;\n }\n .xl\\:text-sm {\n font-size: 0.875rem !important;\n }\n .xl\\:text-base {\n font-size: 1rem !important;\n }\n .xl\\:text-lg {\n font-size: 1.125rem !important;\n }\n .xl\\:text-xl {\n font-size: 1.25rem !important;\n }\n .xl\\:text-2xl {\n font-size: 1.5rem !important;\n }\n .xl\\:text-3xl {\n font-size: 1.75rem !important;\n }\n .xl\\:text-4xl {\n font-size: 2rem !important;\n }\n .xl\\:text-5xl {\n font-size: 2.5rem !important;\n }\n .xl\\:text-6xl {\n font-size: 3rem !important;\n }\n .xl\\:text-7xl {\n font-size: 4rem !important;\n }\n .xl\\:text-8xl {\n font-size: 6rem !important;\n }\n}\n.line-height-1 {\n line-height: 1 !important;\n}\n\n.line-height-2 {\n line-height: 1.25 !important;\n}\n\n.line-height-3 {\n line-height: 1.5 !important;\n}\n\n.line-height-4 {\n line-height: 2 !important;\n}\n\n.white-space-normal {\n white-space: normal !important;\n}\n\n.white-space-nowrap {\n white-space: nowrap !important;\n}\n\n.flex-row {\n flex-direction: row !important;\n}\n\n.flex-row-reverse {\n flex-direction: row-reverse !important;\n}\n\n.flex-column {\n flex-direction: column !important;\n}\n\n.flex-column-reverse {\n flex-direction: column-reverse !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-row {\n flex-direction: row !important;\n }\n .sm\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .sm\\:flex-column {\n flex-direction: column !important;\n }\n .sm\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-row {\n flex-direction: row !important;\n }\n .md\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .md\\:flex-column {\n flex-direction: column !important;\n }\n .md\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-row {\n flex-direction: row !important;\n }\n .lg\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .lg\\:flex-column {\n flex-direction: column !important;\n }\n .lg\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-row {\n flex-direction: row !important;\n }\n .xl\\:flex-row-reverse {\n flex-direction: row-reverse !important;\n }\n .xl\\:flex-column {\n flex-direction: column !important;\n }\n .xl\\:flex-column-reverse {\n flex-direction: column-reverse !important;\n }\n}\n.flex-wrap {\n flex-wrap: wrap !important;\n}\n\n.flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n}\n\n.flex-nowrap {\n flex-wrap: nowrap !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .sm\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .sm\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .md\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .md\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .lg\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .lg\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-wrap {\n flex-wrap: wrap !important;\n }\n .xl\\:flex-wrap-reverse {\n flex-wrap: wrap-reverse !important;\n }\n .xl\\:flex-nowrap {\n flex-wrap: nowrap !important;\n }\n}\n.justify-content-start {\n justify-content: flex-start !important;\n}\n\n.justify-content-end {\n justify-content: flex-end !important;\n}\n\n.justify-content-center {\n justify-content: center !important;\n}\n\n.justify-content-between {\n justify-content: space-between !important;\n}\n\n.justify-content-around {\n justify-content: space-around !important;\n}\n\n.justify-content-evenly {\n justify-content: space-evenly !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .sm\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .sm\\:justify-content-center {\n justify-content: center !important;\n }\n .sm\\:justify-content-between {\n justify-content: space-between !important;\n }\n .sm\\:justify-content-around {\n justify-content: space-around !important;\n }\n .sm\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .md\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .md\\:justify-content-center {\n justify-content: center !important;\n }\n .md\\:justify-content-between {\n justify-content: space-between !important;\n }\n .md\\:justify-content-around {\n justify-content: space-around !important;\n }\n .md\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .lg\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .lg\\:justify-content-center {\n justify-content: center !important;\n }\n .lg\\:justify-content-between {\n justify-content: space-between !important;\n }\n .lg\\:justify-content-around {\n justify-content: space-around !important;\n }\n .lg\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:justify-content-start {\n justify-content: flex-start !important;\n }\n .xl\\:justify-content-end {\n justify-content: flex-end !important;\n }\n .xl\\:justify-content-center {\n justify-content: center !important;\n }\n .xl\\:justify-content-between {\n justify-content: space-between !important;\n }\n .xl\\:justify-content-around {\n justify-content: space-around !important;\n }\n .xl\\:justify-content-evenly {\n justify-content: space-evenly !important;\n }\n}\n.align-content-start {\n align-content: flex-start !important;\n}\n\n.align-content-end {\n align-content: flex-end !important;\n}\n\n.align-content-center {\n align-content: center !important;\n}\n\n.align-content-between {\n align-content: space-between !important;\n}\n\n.align-content-around {\n align-content: space-around !important;\n}\n\n.align-content-evenly {\n align-content: space-evenly !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:align-content-start {\n align-content: flex-start !important;\n }\n .sm\\:align-content-end {\n align-content: flex-end !important;\n }\n .sm\\:align-content-center {\n align-content: center !important;\n }\n .sm\\:align-content-between {\n align-content: space-between !important;\n }\n .sm\\:align-content-around {\n align-content: space-around !important;\n }\n .sm\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:align-content-start {\n align-content: flex-start !important;\n }\n .md\\:align-content-end {\n align-content: flex-end !important;\n }\n .md\\:align-content-center {\n align-content: center !important;\n }\n .md\\:align-content-between {\n align-content: space-between !important;\n }\n .md\\:align-content-around {\n align-content: space-around !important;\n }\n .md\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:align-content-start {\n align-content: flex-start !important;\n }\n .lg\\:align-content-end {\n align-content: flex-end !important;\n }\n .lg\\:align-content-center {\n align-content: center !important;\n }\n .lg\\:align-content-between {\n align-content: space-between !important;\n }\n .lg\\:align-content-around {\n align-content: space-around !important;\n }\n .lg\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:align-content-start {\n align-content: flex-start !important;\n }\n .xl\\:align-content-end {\n align-content: flex-end !important;\n }\n .xl\\:align-content-center {\n align-content: center !important;\n }\n .xl\\:align-content-between {\n align-content: space-between !important;\n }\n .xl\\:align-content-around {\n align-content: space-around !important;\n }\n .xl\\:align-content-evenly {\n align-content: space-evenly !important;\n }\n}\n.align-items-stretch {\n align-items: stretch !important;\n}\n\n.align-items-start {\n align-items: flex-start !important;\n}\n\n.align-items-center {\n align-items: center !important;\n}\n\n.align-items-end {\n align-items: flex-end !important;\n}\n\n.align-items-baseline {\n align-items: baseline !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:align-items-stretch {\n align-items: stretch !important;\n }\n .sm\\:align-items-start {\n align-items: flex-start !important;\n }\n .sm\\:align-items-center {\n align-items: center !important;\n }\n .sm\\:align-items-end {\n align-items: flex-end !important;\n }\n .sm\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:align-items-stretch {\n align-items: stretch !important;\n }\n .md\\:align-items-start {\n align-items: flex-start !important;\n }\n .md\\:align-items-center {\n align-items: center !important;\n }\n .md\\:align-items-end {\n align-items: flex-end !important;\n }\n .md\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:align-items-stretch {\n align-items: stretch !important;\n }\n .lg\\:align-items-start {\n align-items: flex-start !important;\n }\n .lg\\:align-items-center {\n align-items: center !important;\n }\n .lg\\:align-items-end {\n align-items: flex-end !important;\n }\n .lg\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:align-items-stretch {\n align-items: stretch !important;\n }\n .xl\\:align-items-start {\n align-items: flex-start !important;\n }\n .xl\\:align-items-center {\n align-items: center !important;\n }\n .xl\\:align-items-end {\n align-items: flex-end !important;\n }\n .xl\\:align-items-baseline {\n align-items: baseline !important;\n }\n}\n.align-self-auto {\n align-self: auto !important;\n}\n\n.align-self-start {\n align-self: flex-start !important;\n}\n\n.align-self-end {\n align-self: flex-end !important;\n}\n\n.align-self-center {\n align-self: center !important;\n}\n\n.align-self-stretch {\n align-self: stretch !important;\n}\n\n.align-self-baseline {\n align-self: baseline !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:align-self-auto {\n align-self: auto !important;\n }\n .sm\\:align-self-start {\n align-self: flex-start !important;\n }\n .sm\\:align-self-end {\n align-self: flex-end !important;\n }\n .sm\\:align-self-center {\n align-self: center !important;\n }\n .sm\\:align-self-stretch {\n align-self: stretch !important;\n }\n .sm\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:align-self-auto {\n align-self: auto !important;\n }\n .md\\:align-self-start {\n align-self: flex-start !important;\n }\n .md\\:align-self-end {\n align-self: flex-end !important;\n }\n .md\\:align-self-center {\n align-self: center !important;\n }\n .md\\:align-self-stretch {\n align-self: stretch !important;\n }\n .md\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:align-self-auto {\n align-self: auto !important;\n }\n .lg\\:align-self-start {\n align-self: flex-start !important;\n }\n .lg\\:align-self-end {\n align-self: flex-end !important;\n }\n .lg\\:align-self-center {\n align-self: center !important;\n }\n .lg\\:align-self-stretch {\n align-self: stretch !important;\n }\n .lg\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:align-self-auto {\n align-self: auto !important;\n }\n .xl\\:align-self-start {\n align-self: flex-start !important;\n }\n .xl\\:align-self-end {\n align-self: flex-end !important;\n }\n .xl\\:align-self-center {\n align-self: center !important;\n }\n .xl\\:align-self-stretch {\n align-self: stretch !important;\n }\n .xl\\:align-self-baseline {\n align-self: baseline !important;\n }\n}\n.flex-order-0 {\n order: 0 !important;\n}\n\n.flex-order-1 {\n order: 1 !important;\n}\n\n.flex-order-2 {\n order: 2 !important;\n}\n\n.flex-order-3 {\n order: 3 !important;\n}\n\n.flex-order-4 {\n order: 4 !important;\n}\n\n.flex-order-5 {\n order: 5 !important;\n}\n\n.flex-order-6 {\n order: 6 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-order-0 {\n order: 0 !important;\n }\n .sm\\:flex-order-1 {\n order: 1 !important;\n }\n .sm\\:flex-order-2 {\n order: 2 !important;\n }\n .sm\\:flex-order-3 {\n order: 3 !important;\n }\n .sm\\:flex-order-4 {\n order: 4 !important;\n }\n .sm\\:flex-order-5 {\n order: 5 !important;\n }\n .sm\\:flex-order-6 {\n order: 6 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-order-0 {\n order: 0 !important;\n }\n .md\\:flex-order-1 {\n order: 1 !important;\n }\n .md\\:flex-order-2 {\n order: 2 !important;\n }\n .md\\:flex-order-3 {\n order: 3 !important;\n }\n .md\\:flex-order-4 {\n order: 4 !important;\n }\n .md\\:flex-order-5 {\n order: 5 !important;\n }\n .md\\:flex-order-6 {\n order: 6 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-order-0 {\n order: 0 !important;\n }\n .lg\\:flex-order-1 {\n order: 1 !important;\n }\n .lg\\:flex-order-2 {\n order: 2 !important;\n }\n .lg\\:flex-order-3 {\n order: 3 !important;\n }\n .lg\\:flex-order-4 {\n order: 4 !important;\n }\n .lg\\:flex-order-5 {\n order: 5 !important;\n }\n .lg\\:flex-order-6 {\n order: 6 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-order-0 {\n order: 0 !important;\n }\n .xl\\:flex-order-1 {\n order: 1 !important;\n }\n .xl\\:flex-order-2 {\n order: 2 !important;\n }\n .xl\\:flex-order-3 {\n order: 3 !important;\n }\n .xl\\:flex-order-4 {\n order: 4 !important;\n }\n .xl\\:flex-order-5 {\n order: 5 !important;\n }\n .xl\\:flex-order-6 {\n order: 6 !important;\n }\n}\n.flex-1 {\n flex: 1 1 0% !important;\n}\n\n.flex-auto {\n flex: 1 1 auto !important;\n}\n\n.flex-initial {\n flex: 0 1 auto !important;\n}\n\n.flex-none {\n flex: none !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .sm\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .sm\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .sm\\:flex-none {\n flex: none !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .md\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .md\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .md\\:flex-none {\n flex: none !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .lg\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .lg\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .lg\\:flex-none {\n flex: none !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-1 {\n flex: 1 1 0% !important;\n }\n .xl\\:flex-auto {\n flex: 1 1 auto !important;\n }\n .xl\\:flex-initial {\n flex: 0 1 auto !important;\n }\n .xl\\:flex-none {\n flex: none !important;\n }\n}\n.flex-grow-0 {\n flex-grow: 0 !important;\n}\n\n.flex-grow-1 {\n flex-grow: 1 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .sm\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .md\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .lg\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-grow-0 {\n flex-grow: 0 !important;\n }\n .xl\\:flex-grow-1 {\n flex-grow: 1 !important;\n }\n}\n.flex-shrink-0 {\n flex-shrink: 0 !important;\n}\n\n.flex-shrink-1 {\n flex-shrink: 1 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .sm\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .md\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .lg\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:flex-shrink-0 {\n flex-shrink: 0 !important;\n }\n .xl\\:flex-shrink-1 {\n flex-shrink: 1 !important;\n }\n}\n.p-0 {\n padding: 0rem !important;\n}\n\n.p-1 {\n padding: 0.25rem !important;\n}\n\n.p-2 {\n padding: 0.5rem !important;\n}\n\n.p-3 {\n padding: 1rem !important;\n}\n\n.p-4 {\n padding: 1.5rem !important;\n}\n\n.p-5 {\n padding: 2rem !important;\n}\n\n.p-6 {\n padding: 3rem !important;\n}\n\n.p-7 {\n padding: 4rem !important;\n}\n\n.p-8 {\n padding: 5rem !important;\n}\n\n.pt-0 {\n padding-top: 0rem !important;\n}\n\n.pt-1 {\n padding-top: 0.25rem !important;\n}\n\n.pt-2 {\n padding-top: 0.5rem !important;\n}\n\n.pt-3 {\n padding-top: 1rem !important;\n}\n\n.pt-4 {\n padding-top: 1.5rem !important;\n}\n\n.pt-5 {\n padding-top: 2rem !important;\n}\n\n.pt-6 {\n padding-top: 3rem !important;\n}\n\n.pt-7 {\n padding-top: 4rem !important;\n}\n\n.pt-8 {\n padding-top: 5rem !important;\n}\n\n.pr-0 {\n padding-right: 0rem !important;\n}\n\n.pr-1 {\n padding-right: 0.25rem !important;\n}\n\n.pr-2 {\n padding-right: 0.5rem !important;\n}\n\n.pr-3 {\n padding-right: 1rem !important;\n}\n\n.pr-4 {\n padding-right: 1.5rem !important;\n}\n\n.pr-5 {\n padding-right: 2rem !important;\n}\n\n.pr-6 {\n padding-right: 3rem !important;\n}\n\n.pr-7 {\n padding-right: 4rem !important;\n}\n\n.pr-8 {\n padding-right: 5rem !important;\n}\n\n.pl-0 {\n padding-left: 0rem !important;\n}\n\n.pl-1 {\n padding-left: 0.25rem !important;\n}\n\n.pl-2 {\n padding-left: 0.5rem !important;\n}\n\n.pl-3 {\n padding-left: 1rem !important;\n}\n\n.pl-4 {\n padding-left: 1.5rem !important;\n}\n\n.pl-5 {\n padding-left: 2rem !important;\n}\n\n.pl-6 {\n padding-left: 3rem !important;\n}\n\n.pl-7 {\n padding-left: 4rem !important;\n}\n\n.pl-8 {\n padding-left: 5rem !important;\n}\n\n.pb-0 {\n padding-bottom: 0rem !important;\n}\n\n.pb-1 {\n padding-bottom: 0.25rem !important;\n}\n\n.pb-2 {\n padding-bottom: 0.5rem !important;\n}\n\n.pb-3 {\n padding-bottom: 1rem !important;\n}\n\n.pb-4 {\n padding-bottom: 1.5rem !important;\n}\n\n.pb-5 {\n padding-bottom: 2rem !important;\n}\n\n.pb-6 {\n padding-bottom: 3rem !important;\n}\n\n.pb-7 {\n padding-bottom: 4rem !important;\n}\n\n.pb-8 {\n padding-bottom: 5rem !important;\n}\n\n.px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n}\n\n.px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n}\n\n.px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n}\n\n.px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n}\n\n.px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n}\n\n.px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n}\n\n.px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n}\n\n.px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n}\n\n.px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n}\n\n.py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n}\n\n.py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n}\n\n.py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n}\n\n.py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n}\n\n.py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n}\n\n.py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n}\n\n.py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n}\n\n.py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n}\n\n.py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:p-0 {\n padding: 0rem !important;\n }\n\n .sm\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .sm\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .sm\\:p-3 {\n padding: 1rem !important;\n }\n\n .sm\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .sm\\:p-5 {\n padding: 2rem !important;\n }\n\n .sm\\:p-6 {\n padding: 3rem !important;\n }\n\n .sm\\:p-7 {\n padding: 4rem !important;\n }\n\n .sm\\:p-8 {\n padding: 5rem !important;\n }\n\n .sm\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .sm\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .sm\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .sm\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .sm\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .sm\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .sm\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .sm\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .sm\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .sm\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .sm\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .sm\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .sm\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .sm\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .sm\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .sm\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .sm\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .sm\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .sm\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .sm\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .sm\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .sm\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .sm\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .sm\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .sm\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .sm\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .sm\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .sm\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .sm\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .sm\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .sm\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .sm\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .sm\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .sm\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .sm\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .sm\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .sm\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .sm\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .sm\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .sm\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .sm\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .sm\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .sm\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .sm\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .sm\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .sm\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .sm\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .sm\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .sm\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .sm\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .sm\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .sm\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .sm\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .sm\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:p-0 {\n padding: 0rem !important;\n }\n\n .md\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .md\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .md\\:p-3 {\n padding: 1rem !important;\n }\n\n .md\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .md\\:p-5 {\n padding: 2rem !important;\n }\n\n .md\\:p-6 {\n padding: 3rem !important;\n }\n\n .md\\:p-7 {\n padding: 4rem !important;\n }\n\n .md\\:p-8 {\n padding: 5rem !important;\n }\n\n .md\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .md\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .md\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .md\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .md\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .md\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .md\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .md\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .md\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .md\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .md\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .md\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .md\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .md\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .md\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .md\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .md\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .md\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .md\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .md\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .md\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .md\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .md\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .md\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .md\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .md\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .md\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .md\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .md\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .md\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .md\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .md\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .md\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .md\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .md\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .md\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .md\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .md\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .md\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .md\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .md\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .md\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .md\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .md\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .md\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .md\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .md\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .md\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .md\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .md\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .md\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .md\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .md\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .md\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:p-0 {\n padding: 0rem !important;\n }\n\n .lg\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .lg\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .lg\\:p-3 {\n padding: 1rem !important;\n }\n\n .lg\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .lg\\:p-5 {\n padding: 2rem !important;\n }\n\n .lg\\:p-6 {\n padding: 3rem !important;\n }\n\n .lg\\:p-7 {\n padding: 4rem !important;\n }\n\n .lg\\:p-8 {\n padding: 5rem !important;\n }\n\n .lg\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .lg\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .lg\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .lg\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .lg\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .lg\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .lg\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .lg\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .lg\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .lg\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .lg\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .lg\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .lg\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .lg\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .lg\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .lg\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .lg\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .lg\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .lg\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .lg\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .lg\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .lg\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .lg\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .lg\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .lg\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .lg\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .lg\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .lg\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .lg\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .lg\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .lg\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .lg\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .lg\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .lg\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .lg\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .lg\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .lg\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .lg\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .lg\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .lg\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .lg\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .lg\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .lg\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .lg\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .lg\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .lg\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .lg\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .lg\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .lg\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .lg\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .lg\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .lg\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .lg\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .lg\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:p-0 {\n padding: 0rem !important;\n }\n\n .xl\\:p-1 {\n padding: 0.25rem !important;\n }\n\n .xl\\:p-2 {\n padding: 0.5rem !important;\n }\n\n .xl\\:p-3 {\n padding: 1rem !important;\n }\n\n .xl\\:p-4 {\n padding: 1.5rem !important;\n }\n\n .xl\\:p-5 {\n padding: 2rem !important;\n }\n\n .xl\\:p-6 {\n padding: 3rem !important;\n }\n\n .xl\\:p-7 {\n padding: 4rem !important;\n }\n\n .xl\\:p-8 {\n padding: 5rem !important;\n }\n\n .xl\\:pt-0 {\n padding-top: 0rem !important;\n }\n\n .xl\\:pt-1 {\n padding-top: 0.25rem !important;\n }\n\n .xl\\:pt-2 {\n padding-top: 0.5rem !important;\n }\n\n .xl\\:pt-3 {\n padding-top: 1rem !important;\n }\n\n .xl\\:pt-4 {\n padding-top: 1.5rem !important;\n }\n\n .xl\\:pt-5 {\n padding-top: 2rem !important;\n }\n\n .xl\\:pt-6 {\n padding-top: 3rem !important;\n }\n\n .xl\\:pt-7 {\n padding-top: 4rem !important;\n }\n\n .xl\\:pt-8 {\n padding-top: 5rem !important;\n }\n\n .xl\\:pr-0 {\n padding-right: 0rem !important;\n }\n\n .xl\\:pr-1 {\n padding-right: 0.25rem !important;\n }\n\n .xl\\:pr-2 {\n padding-right: 0.5rem !important;\n }\n\n .xl\\:pr-3 {\n padding-right: 1rem !important;\n }\n\n .xl\\:pr-4 {\n padding-right: 1.5rem !important;\n }\n\n .xl\\:pr-5 {\n padding-right: 2rem !important;\n }\n\n .xl\\:pr-6 {\n padding-right: 3rem !important;\n }\n\n .xl\\:pr-7 {\n padding-right: 4rem !important;\n }\n\n .xl\\:pr-8 {\n padding-right: 5rem !important;\n }\n\n .xl\\:pl-0 {\n padding-left: 0rem !important;\n }\n\n .xl\\:pl-1 {\n padding-left: 0.25rem !important;\n }\n\n .xl\\:pl-2 {\n padding-left: 0.5rem !important;\n }\n\n .xl\\:pl-3 {\n padding-left: 1rem !important;\n }\n\n .xl\\:pl-4 {\n padding-left: 1.5rem !important;\n }\n\n .xl\\:pl-5 {\n padding-left: 2rem !important;\n }\n\n .xl\\:pl-6 {\n padding-left: 3rem !important;\n }\n\n .xl\\:pl-7 {\n padding-left: 4rem !important;\n }\n\n .xl\\:pl-8 {\n padding-left: 5rem !important;\n }\n\n .xl\\:pb-0 {\n padding-bottom: 0rem !important;\n }\n\n .xl\\:pb-1 {\n padding-bottom: 0.25rem !important;\n }\n\n .xl\\:pb-2 {\n padding-bottom: 0.5rem !important;\n }\n\n .xl\\:pb-3 {\n padding-bottom: 1rem !important;\n }\n\n .xl\\:pb-4 {\n padding-bottom: 1.5rem !important;\n }\n\n .xl\\:pb-5 {\n padding-bottom: 2rem !important;\n }\n\n .xl\\:pb-6 {\n padding-bottom: 3rem !important;\n }\n\n .xl\\:pb-7 {\n padding-bottom: 4rem !important;\n }\n\n .xl\\:pb-8 {\n padding-bottom: 5rem !important;\n }\n\n .xl\\:px-0 {\n padding-left: 0rem !important;\n padding-right: 0rem !important;\n }\n\n .xl\\:px-1 {\n padding-left: 0.25rem !important;\n padding-right: 0.25rem !important;\n }\n\n .xl\\:px-2 {\n padding-left: 0.5rem !important;\n padding-right: 0.5rem !important;\n }\n\n .xl\\:px-3 {\n padding-left: 1rem !important;\n padding-right: 1rem !important;\n }\n\n .xl\\:px-4 {\n padding-left: 1.5rem !important;\n padding-right: 1.5rem !important;\n }\n\n .xl\\:px-5 {\n padding-left: 2rem !important;\n padding-right: 2rem !important;\n }\n\n .xl\\:px-6 {\n padding-left: 3rem !important;\n padding-right: 3rem !important;\n }\n\n .xl\\:px-7 {\n padding-left: 4rem !important;\n padding-right: 4rem !important;\n }\n\n .xl\\:px-8 {\n padding-left: 5rem !important;\n padding-right: 5rem !important;\n }\n\n .xl\\:py-0 {\n padding-top: 0rem !important;\n padding-bottom: 0rem !important;\n }\n\n .xl\\:py-1 {\n padding-top: 0.25rem !important;\n padding-bottom: 0.25rem !important;\n }\n\n .xl\\:py-2 {\n padding-top: 0.5rem !important;\n padding-bottom: 0.5rem !important;\n }\n\n .xl\\:py-3 {\n padding-top: 1rem !important;\n padding-bottom: 1rem !important;\n }\n\n .xl\\:py-4 {\n padding-top: 1.5rem !important;\n padding-bottom: 1.5rem !important;\n }\n\n .xl\\:py-5 {\n padding-top: 2rem !important;\n padding-bottom: 2rem !important;\n }\n\n .xl\\:py-6 {\n padding-top: 3rem !important;\n padding-bottom: 3rem !important;\n }\n\n .xl\\:py-7 {\n padding-top: 4rem !important;\n padding-bottom: 4rem !important;\n }\n\n .xl\\:py-8 {\n padding-top: 5rem !important;\n padding-bottom: 5rem !important;\n }\n}\n.m-0 {\n margin: 0rem !important;\n}\n\n.m-1 {\n margin: 0.25rem !important;\n}\n\n.m-2 {\n margin: 0.5rem !important;\n}\n\n.m-3 {\n margin: 1rem !important;\n}\n\n.m-4 {\n margin: 1.5rem !important;\n}\n\n.m-5 {\n margin: 2rem !important;\n}\n\n.m-6 {\n margin: 3rem !important;\n}\n\n.m-7 {\n margin: 4rem !important;\n}\n\n.m-8 {\n margin: 5rem !important;\n}\n\n.-m-1 {\n margin: -0.25rem !important;\n}\n\n.-m-2 {\n margin: -0.5rem !important;\n}\n\n.-m-3 {\n margin: -1rem !important;\n}\n\n.-m-4 {\n margin: -1.5rem !important;\n}\n\n.-m-5 {\n margin: -2rem !important;\n}\n\n.-m-6 {\n margin: -3rem !important;\n}\n\n.-m-7 {\n margin: -4rem !important;\n}\n\n.-m-8 {\n margin: -5rem !important;\n}\n\n.m-auto {\n margin: auto !important;\n}\n\n.mt-0 {\n margin-top: 0rem !important;\n}\n\n.mt-1 {\n margin-top: 0.25rem !important;\n}\n\n.mt-2 {\n margin-top: 0.5rem !important;\n}\n\n.mt-3 {\n margin-top: 1rem !important;\n}\n\n.mt-4 {\n margin-top: 1.5rem !important;\n}\n\n.mt-5 {\n margin-top: 2rem !important;\n}\n\n.mt-6 {\n margin-top: 3rem !important;\n}\n\n.mt-7 {\n margin-top: 4rem !important;\n}\n\n.mt-8 {\n margin-top: 5rem !important;\n}\n\n.-mt-1 {\n margin-top: -0.25rem !important;\n}\n\n.-mt-2 {\n margin-top: -0.5rem !important;\n}\n\n.-mt-3 {\n margin-top: -1rem !important;\n}\n\n.-mt-4 {\n margin-top: -1.5rem !important;\n}\n\n.-mt-5 {\n margin-top: -2rem !important;\n}\n\n.-mt-6 {\n margin-top: -3rem !important;\n}\n\n.-mt-7 {\n margin-top: -4rem !important;\n}\n\n.-mt-8 {\n margin-top: -5rem !important;\n}\n\n.mt-auto {\n margin-top: auto !important;\n}\n\n.mr-0 {\n margin-right: 0rem !important;\n}\n\n.mr-1 {\n margin-right: 0.25rem !important;\n}\n\n.mr-2 {\n margin-right: 0.5rem !important;\n}\n\n.mr-3 {\n margin-right: 1rem !important;\n}\n\n.mr-4 {\n margin-right: 1.5rem !important;\n}\n\n.mr-5 {\n margin-right: 2rem !important;\n}\n\n.mr-6 {\n margin-right: 3rem !important;\n}\n\n.mr-7 {\n margin-right: 4rem !important;\n}\n\n.mr-8 {\n margin-right: 5rem !important;\n}\n\n.-mr-1 {\n margin-right: -0.25rem !important;\n}\n\n.-mr-2 {\n margin-right: -0.5rem !important;\n}\n\n.-mr-3 {\n margin-right: -1rem !important;\n}\n\n.-mr-4 {\n margin-right: -1.5rem !important;\n}\n\n.-mr-5 {\n margin-right: -2rem !important;\n}\n\n.-mr-6 {\n margin-right: -3rem !important;\n}\n\n.-mr-7 {\n margin-right: -4rem !important;\n}\n\n.-mr-8 {\n margin-right: -5rem !important;\n}\n\n.mr-auto {\n margin-right: auto !important;\n}\n\n.ml-0 {\n margin-left: 0rem !important;\n}\n\n.ml-1 {\n margin-left: 0.25rem !important;\n}\n\n.ml-2 {\n margin-left: 0.5rem !important;\n}\n\n.ml-3 {\n margin-left: 1rem !important;\n}\n\n.ml-4 {\n margin-left: 1.5rem !important;\n}\n\n.ml-5 {\n margin-left: 2rem !important;\n}\n\n.ml-6 {\n margin-left: 3rem !important;\n}\n\n.ml-7 {\n margin-left: 4rem !important;\n}\n\n.ml-8 {\n margin-left: 5rem !important;\n}\n\n.-ml-1 {\n margin-left: -0.25rem !important;\n}\n\n.-ml-2 {\n margin-left: -0.5rem !important;\n}\n\n.-ml-3 {\n margin-left: -1rem !important;\n}\n\n.-ml-4 {\n margin-left: -1.5rem !important;\n}\n\n.-ml-5 {\n margin-left: -2rem !important;\n}\n\n.-ml-6 {\n margin-left: -3rem !important;\n}\n\n.-ml-7 {\n margin-left: -4rem !important;\n}\n\n.-ml-8 {\n margin-left: -5rem !important;\n}\n\n.ml-auto {\n margin-left: auto !important;\n}\n\n.mb-0 {\n margin-bottom: 0rem !important;\n}\n\n.mb-1 {\n margin-bottom: 0.25rem !important;\n}\n\n.mb-2 {\n margin-bottom: 0.5rem !important;\n}\n\n.mb-3 {\n margin-bottom: 1rem !important;\n}\n\n.mb-4 {\n margin-bottom: 1.5rem !important;\n}\n\n.mb-5 {\n margin-bottom: 2rem !important;\n}\n\n.mb-6 {\n margin-bottom: 3rem !important;\n}\n\n.mb-7 {\n margin-bottom: 4rem !important;\n}\n\n.mb-8 {\n margin-bottom: 5rem !important;\n}\n\n.-mb-1 {\n margin-bottom: -0.25rem !important;\n}\n\n.-mb-2 {\n margin-bottom: -0.5rem !important;\n}\n\n.-mb-3 {\n margin-bottom: -1rem !important;\n}\n\n.-mb-4 {\n margin-bottom: -1.5rem !important;\n}\n\n.-mb-5 {\n margin-bottom: -2rem !important;\n}\n\n.-mb-6 {\n margin-bottom: -3rem !important;\n}\n\n.-mb-7 {\n margin-bottom: -4rem !important;\n}\n\n.-mb-8 {\n margin-bottom: -5rem !important;\n}\n\n.mb-auto {\n margin-bottom: auto !important;\n}\n\n.mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n}\n\n.mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n}\n\n.mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n}\n\n.mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n}\n\n.mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n}\n\n.mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n}\n\n.mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n}\n\n.mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n}\n\n.mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n}\n\n.-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n}\n\n.-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n}\n\n.-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n}\n\n.-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n}\n\n.-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n}\n\n.-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n}\n\n.-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n}\n\n.-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n}\n\n.mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n}\n\n.my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n}\n\n.my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n}\n\n.my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n}\n\n.my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n}\n\n.my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n}\n\n.my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n}\n\n.my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n}\n\n.my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n}\n\n.my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n}\n\n.-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n}\n\n.-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n}\n\n.-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n}\n\n.-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n}\n\n.-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n}\n\n.-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n}\n\n.-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n}\n\n.-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n}\n\n.my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:m-0 {\n margin: 0rem !important;\n }\n\n .sm\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .sm\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .sm\\:m-3 {\n margin: 1rem !important;\n }\n\n .sm\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .sm\\:m-5 {\n margin: 2rem !important;\n }\n\n .sm\\:m-6 {\n margin: 3rem !important;\n }\n\n .sm\\:m-7 {\n margin: 4rem !important;\n }\n\n .sm\\:m-8 {\n margin: 5rem !important;\n }\n\n .sm\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .sm\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .sm\\:-m-3 {\n margin: -1rem !important;\n }\n\n .sm\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .sm\\:-m-5 {\n margin: -2rem !important;\n }\n\n .sm\\:-m-6 {\n margin: -3rem !important;\n }\n\n .sm\\:-m-7 {\n margin: -4rem !important;\n }\n\n .sm\\:-m-8 {\n margin: -5rem !important;\n }\n\n .sm\\:m-auto {\n margin: auto !important;\n }\n\n .sm\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .sm\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .sm\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .sm\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .sm\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .sm\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .sm\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .sm\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .sm\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .sm\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .sm\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .sm\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .sm\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .sm\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .sm\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .sm\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .sm\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .sm\\:mt-auto {\n margin-top: auto !important;\n }\n\n .sm\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .sm\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .sm\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .sm\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .sm\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .sm\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .sm\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .sm\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .sm\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .sm\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .sm\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .sm\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .sm\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .sm\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .sm\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .sm\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .sm\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .sm\\:mr-auto {\n margin-right: auto !important;\n }\n\n .sm\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .sm\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .sm\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .sm\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .sm\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .sm\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .sm\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .sm\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .sm\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .sm\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .sm\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .sm\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .sm\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .sm\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .sm\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .sm\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .sm\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .sm\\:ml-auto {\n margin-left: auto !important;\n }\n\n .sm\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .sm\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .sm\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .sm\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .sm\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .sm\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .sm\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .sm\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .sm\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .sm\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .sm\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .sm\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .sm\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .sm\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .sm\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .sm\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .sm\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .sm\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .sm\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .sm\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .sm\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .sm\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .sm\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .sm\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .sm\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .sm\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .sm\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .sm\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .sm\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .sm\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .sm\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .sm\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .sm\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .sm\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .sm\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .sm\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .sm\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .sm\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .sm\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .sm\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .sm\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .sm\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .sm\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .sm\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .sm\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .sm\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .sm\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .sm\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .sm\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .sm\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .sm\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .sm\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .sm\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .sm\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:m-0 {\n margin: 0rem !important;\n }\n\n .md\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .md\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .md\\:m-3 {\n margin: 1rem !important;\n }\n\n .md\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .md\\:m-5 {\n margin: 2rem !important;\n }\n\n .md\\:m-6 {\n margin: 3rem !important;\n }\n\n .md\\:m-7 {\n margin: 4rem !important;\n }\n\n .md\\:m-8 {\n margin: 5rem !important;\n }\n\n .md\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .md\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .md\\:-m-3 {\n margin: -1rem !important;\n }\n\n .md\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .md\\:-m-5 {\n margin: -2rem !important;\n }\n\n .md\\:-m-6 {\n margin: -3rem !important;\n }\n\n .md\\:-m-7 {\n margin: -4rem !important;\n }\n\n .md\\:-m-8 {\n margin: -5rem !important;\n }\n\n .md\\:m-auto {\n margin: auto !important;\n }\n\n .md\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .md\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .md\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .md\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .md\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .md\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .md\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .md\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .md\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .md\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .md\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .md\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .md\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .md\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .md\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .md\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .md\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .md\\:mt-auto {\n margin-top: auto !important;\n }\n\n .md\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .md\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .md\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .md\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .md\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .md\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .md\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .md\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .md\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .md\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .md\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .md\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .md\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .md\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .md\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .md\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .md\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .md\\:mr-auto {\n margin-right: auto !important;\n }\n\n .md\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .md\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .md\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .md\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .md\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .md\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .md\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .md\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .md\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .md\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .md\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .md\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .md\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .md\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .md\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .md\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .md\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .md\\:ml-auto {\n margin-left: auto !important;\n }\n\n .md\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .md\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .md\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .md\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .md\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .md\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .md\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .md\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .md\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .md\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .md\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .md\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .md\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .md\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .md\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .md\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .md\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .md\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .md\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .md\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .md\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .md\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .md\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .md\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .md\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .md\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .md\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .md\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .md\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .md\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .md\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .md\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .md\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .md\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .md\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .md\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .md\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .md\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .md\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .md\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .md\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .md\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .md\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .md\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .md\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .md\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .md\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .md\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .md\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .md\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .md\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .md\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .md\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .md\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:m-0 {\n margin: 0rem !important;\n }\n\n .lg\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .lg\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .lg\\:m-3 {\n margin: 1rem !important;\n }\n\n .lg\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .lg\\:m-5 {\n margin: 2rem !important;\n }\n\n .lg\\:m-6 {\n margin: 3rem !important;\n }\n\n .lg\\:m-7 {\n margin: 4rem !important;\n }\n\n .lg\\:m-8 {\n margin: 5rem !important;\n }\n\n .lg\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .lg\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .lg\\:-m-3 {\n margin: -1rem !important;\n }\n\n .lg\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .lg\\:-m-5 {\n margin: -2rem !important;\n }\n\n .lg\\:-m-6 {\n margin: -3rem !important;\n }\n\n .lg\\:-m-7 {\n margin: -4rem !important;\n }\n\n .lg\\:-m-8 {\n margin: -5rem !important;\n }\n\n .lg\\:m-auto {\n margin: auto !important;\n }\n\n .lg\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .lg\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .lg\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .lg\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .lg\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .lg\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .lg\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .lg\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .lg\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .lg\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .lg\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .lg\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .lg\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .lg\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .lg\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .lg\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .lg\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .lg\\:mt-auto {\n margin-top: auto !important;\n }\n\n .lg\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .lg\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .lg\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .lg\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .lg\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .lg\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .lg\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .lg\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .lg\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .lg\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .lg\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .lg\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .lg\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .lg\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .lg\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .lg\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .lg\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .lg\\:mr-auto {\n margin-right: auto !important;\n }\n\n .lg\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .lg\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .lg\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .lg\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .lg\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .lg\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .lg\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .lg\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .lg\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .lg\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .lg\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .lg\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .lg\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .lg\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .lg\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .lg\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .lg\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .lg\\:ml-auto {\n margin-left: auto !important;\n }\n\n .lg\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .lg\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .lg\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .lg\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .lg\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .lg\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .lg\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .lg\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .lg\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .lg\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .lg\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .lg\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .lg\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .lg\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .lg\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .lg\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .lg\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .lg\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .lg\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .lg\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .lg\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .lg\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .lg\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .lg\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .lg\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .lg\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .lg\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .lg\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .lg\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .lg\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .lg\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .lg\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .lg\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .lg\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .lg\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .lg\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .lg\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .lg\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .lg\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .lg\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .lg\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .lg\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .lg\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .lg\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .lg\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .lg\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .lg\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .lg\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .lg\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .lg\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .lg\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .lg\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .lg\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .lg\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:m-0 {\n margin: 0rem !important;\n }\n\n .xl\\:m-1 {\n margin: 0.25rem !important;\n }\n\n .xl\\:m-2 {\n margin: 0.5rem !important;\n }\n\n .xl\\:m-3 {\n margin: 1rem !important;\n }\n\n .xl\\:m-4 {\n margin: 1.5rem !important;\n }\n\n .xl\\:m-5 {\n margin: 2rem !important;\n }\n\n .xl\\:m-6 {\n margin: 3rem !important;\n }\n\n .xl\\:m-7 {\n margin: 4rem !important;\n }\n\n .xl\\:m-8 {\n margin: 5rem !important;\n }\n\n .xl\\:-m-1 {\n margin: -0.25rem !important;\n }\n\n .xl\\:-m-2 {\n margin: -0.5rem !important;\n }\n\n .xl\\:-m-3 {\n margin: -1rem !important;\n }\n\n .xl\\:-m-4 {\n margin: -1.5rem !important;\n }\n\n .xl\\:-m-5 {\n margin: -2rem !important;\n }\n\n .xl\\:-m-6 {\n margin: -3rem !important;\n }\n\n .xl\\:-m-7 {\n margin: -4rem !important;\n }\n\n .xl\\:-m-8 {\n margin: -5rem !important;\n }\n\n .xl\\:m-auto {\n margin: auto !important;\n }\n\n .xl\\:mt-0 {\n margin-top: 0rem !important;\n }\n\n .xl\\:mt-1 {\n margin-top: 0.25rem !important;\n }\n\n .xl\\:mt-2 {\n margin-top: 0.5rem !important;\n }\n\n .xl\\:mt-3 {\n margin-top: 1rem !important;\n }\n\n .xl\\:mt-4 {\n margin-top: 1.5rem !important;\n }\n\n .xl\\:mt-5 {\n margin-top: 2rem !important;\n }\n\n .xl\\:mt-6 {\n margin-top: 3rem !important;\n }\n\n .xl\\:mt-7 {\n margin-top: 4rem !important;\n }\n\n .xl\\:mt-8 {\n margin-top: 5rem !important;\n }\n\n .xl\\:-mt-1 {\n margin-top: -0.25rem !important;\n }\n\n .xl\\:-mt-2 {\n margin-top: -0.5rem !important;\n }\n\n .xl\\:-mt-3 {\n margin-top: -1rem !important;\n }\n\n .xl\\:-mt-4 {\n margin-top: -1.5rem !important;\n }\n\n .xl\\:-mt-5 {\n margin-top: -2rem !important;\n }\n\n .xl\\:-mt-6 {\n margin-top: -3rem !important;\n }\n\n .xl\\:-mt-7 {\n margin-top: -4rem !important;\n }\n\n .xl\\:-mt-8 {\n margin-top: -5rem !important;\n }\n\n .xl\\:mt-auto {\n margin-top: auto !important;\n }\n\n .xl\\:mr-0 {\n margin-right: 0rem !important;\n }\n\n .xl\\:mr-1 {\n margin-right: 0.25rem !important;\n }\n\n .xl\\:mr-2 {\n margin-right: 0.5rem !important;\n }\n\n .xl\\:mr-3 {\n margin-right: 1rem !important;\n }\n\n .xl\\:mr-4 {\n margin-right: 1.5rem !important;\n }\n\n .xl\\:mr-5 {\n margin-right: 2rem !important;\n }\n\n .xl\\:mr-6 {\n margin-right: 3rem !important;\n }\n\n .xl\\:mr-7 {\n margin-right: 4rem !important;\n }\n\n .xl\\:mr-8 {\n margin-right: 5rem !important;\n }\n\n .xl\\:-mr-1 {\n margin-right: -0.25rem !important;\n }\n\n .xl\\:-mr-2 {\n margin-right: -0.5rem !important;\n }\n\n .xl\\:-mr-3 {\n margin-right: -1rem !important;\n }\n\n .xl\\:-mr-4 {\n margin-right: -1.5rem !important;\n }\n\n .xl\\:-mr-5 {\n margin-right: -2rem !important;\n }\n\n .xl\\:-mr-6 {\n margin-right: -3rem !important;\n }\n\n .xl\\:-mr-7 {\n margin-right: -4rem !important;\n }\n\n .xl\\:-mr-8 {\n margin-right: -5rem !important;\n }\n\n .xl\\:mr-auto {\n margin-right: auto !important;\n }\n\n .xl\\:ml-0 {\n margin-left: 0rem !important;\n }\n\n .xl\\:ml-1 {\n margin-left: 0.25rem !important;\n }\n\n .xl\\:ml-2 {\n margin-left: 0.5rem !important;\n }\n\n .xl\\:ml-3 {\n margin-left: 1rem !important;\n }\n\n .xl\\:ml-4 {\n margin-left: 1.5rem !important;\n }\n\n .xl\\:ml-5 {\n margin-left: 2rem !important;\n }\n\n .xl\\:ml-6 {\n margin-left: 3rem !important;\n }\n\n .xl\\:ml-7 {\n margin-left: 4rem !important;\n }\n\n .xl\\:ml-8 {\n margin-left: 5rem !important;\n }\n\n .xl\\:-ml-1 {\n margin-left: -0.25rem !important;\n }\n\n .xl\\:-ml-2 {\n margin-left: -0.5rem !important;\n }\n\n .xl\\:-ml-3 {\n margin-left: -1rem !important;\n }\n\n .xl\\:-ml-4 {\n margin-left: -1.5rem !important;\n }\n\n .xl\\:-ml-5 {\n margin-left: -2rem !important;\n }\n\n .xl\\:-ml-6 {\n margin-left: -3rem !important;\n }\n\n .xl\\:-ml-7 {\n margin-left: -4rem !important;\n }\n\n .xl\\:-ml-8 {\n margin-left: -5rem !important;\n }\n\n .xl\\:ml-auto {\n margin-left: auto !important;\n }\n\n .xl\\:mb-0 {\n margin-bottom: 0rem !important;\n }\n\n .xl\\:mb-1 {\n margin-bottom: 0.25rem !important;\n }\n\n .xl\\:mb-2 {\n margin-bottom: 0.5rem !important;\n }\n\n .xl\\:mb-3 {\n margin-bottom: 1rem !important;\n }\n\n .xl\\:mb-4 {\n margin-bottom: 1.5rem !important;\n }\n\n .xl\\:mb-5 {\n margin-bottom: 2rem !important;\n }\n\n .xl\\:mb-6 {\n margin-bottom: 3rem !important;\n }\n\n .xl\\:mb-7 {\n margin-bottom: 4rem !important;\n }\n\n .xl\\:mb-8 {\n margin-bottom: 5rem !important;\n }\n\n .xl\\:-mb-1 {\n margin-bottom: -0.25rem !important;\n }\n\n .xl\\:-mb-2 {\n margin-bottom: -0.5rem !important;\n }\n\n .xl\\:-mb-3 {\n margin-bottom: -1rem !important;\n }\n\n .xl\\:-mb-4 {\n margin-bottom: -1.5rem !important;\n }\n\n .xl\\:-mb-5 {\n margin-bottom: -2rem !important;\n }\n\n .xl\\:-mb-6 {\n margin-bottom: -3rem !important;\n }\n\n .xl\\:-mb-7 {\n margin-bottom: -4rem !important;\n }\n\n .xl\\:-mb-8 {\n margin-bottom: -5rem !important;\n }\n\n .xl\\:mb-auto {\n margin-bottom: auto !important;\n }\n\n .xl\\:mx-0 {\n margin-left: 0rem !important;\n margin-right: 0rem !important;\n }\n\n .xl\\:mx-1 {\n margin-left: 0.25rem !important;\n margin-right: 0.25rem !important;\n }\n\n .xl\\:mx-2 {\n margin-left: 0.5rem !important;\n margin-right: 0.5rem !important;\n }\n\n .xl\\:mx-3 {\n margin-left: 1rem !important;\n margin-right: 1rem !important;\n }\n\n .xl\\:mx-4 {\n margin-left: 1.5rem !important;\n margin-right: 1.5rem !important;\n }\n\n .xl\\:mx-5 {\n margin-left: 2rem !important;\n margin-right: 2rem !important;\n }\n\n .xl\\:mx-6 {\n margin-left: 3rem !important;\n margin-right: 3rem !important;\n }\n\n .xl\\:mx-7 {\n margin-left: 4rem !important;\n margin-right: 4rem !important;\n }\n\n .xl\\:mx-8 {\n margin-left: 5rem !important;\n margin-right: 5rem !important;\n }\n\n .xl\\:-mx-1 {\n margin-left: -0.25rem !important;\n margin-right: -0.25rem !important;\n }\n\n .xl\\:-mx-2 {\n margin-left: -0.5rem !important;\n margin-right: -0.5rem !important;\n }\n\n .xl\\:-mx-3 {\n margin-left: -1rem !important;\n margin-right: -1rem !important;\n }\n\n .xl\\:-mx-4 {\n margin-left: -1.5rem !important;\n margin-right: -1.5rem !important;\n }\n\n .xl\\:-mx-5 {\n margin-left: -2rem !important;\n margin-right: -2rem !important;\n }\n\n .xl\\:-mx-6 {\n margin-left: -3rem !important;\n margin-right: -3rem !important;\n }\n\n .xl\\:-mx-7 {\n margin-left: -4rem !important;\n margin-right: -4rem !important;\n }\n\n .xl\\:-mx-8 {\n margin-left: -5rem !important;\n margin-right: -5rem !important;\n }\n\n .xl\\:mx-auto {\n margin-left: auto !important;\n margin-right: auto !important;\n }\n\n .xl\\:my-0 {\n margin-top: 0rem !important;\n margin-bottom: 0rem !important;\n }\n\n .xl\\:my-1 {\n margin-top: 0.25rem !important;\n margin-bottom: 0.25rem !important;\n }\n\n .xl\\:my-2 {\n margin-top: 0.5rem !important;\n margin-bottom: 0.5rem !important;\n }\n\n .xl\\:my-3 {\n margin-top: 1rem !important;\n margin-bottom: 1rem !important;\n }\n\n .xl\\:my-4 {\n margin-top: 1.5rem !important;\n margin-bottom: 1.5rem !important;\n }\n\n .xl\\:my-5 {\n margin-top: 2rem !important;\n margin-bottom: 2rem !important;\n }\n\n .xl\\:my-6 {\n margin-top: 3rem !important;\n margin-bottom: 3rem !important;\n }\n\n .xl\\:my-7 {\n margin-top: 4rem !important;\n margin-bottom: 4rem !important;\n }\n\n .xl\\:my-8 {\n margin-top: 5rem !important;\n margin-bottom: 5rem !important;\n }\n\n .xl\\:-my-1 {\n margin-top: -0.25rem !important;\n margin-bottom: -0.25rem !important;\n }\n\n .xl\\:-my-2 {\n margin-top: -0.5rem !important;\n margin-bottom: -0.5rem !important;\n }\n\n .xl\\:-my-3 {\n margin-top: -1rem !important;\n margin-bottom: -1rem !important;\n }\n\n .xl\\:-my-4 {\n margin-top: -1.5rem !important;\n margin-bottom: -1.5rem !important;\n }\n\n .xl\\:-my-5 {\n margin-top: -2rem !important;\n margin-bottom: -2rem !important;\n }\n\n .xl\\:-my-6 {\n margin-top: -3rem !important;\n margin-bottom: -3rem !important;\n }\n\n .xl\\:-my-7 {\n margin-top: -4rem !important;\n margin-bottom: -4rem !important;\n }\n\n .xl\\:-my-8 {\n margin-top: -5rem !important;\n margin-bottom: -5rem !important;\n }\n\n .xl\\:my-auto {\n margin-top: auto !important;\n margin-bottom: auto !important;\n }\n}\n.shadow-none {\n box-shadow: none !important;\n}\n\n.shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n}\n\n.shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n}\n\n.shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n}\n\n.shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n}\n\n.shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n}\n\n.shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n}\n\n.shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n}\n\n.shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:shadow-none {\n box-shadow: none !important;\n }\n .sm\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .sm\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .sm\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .sm\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .sm\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .sm\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .sm\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .sm\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:shadow-none {\n box-shadow: none !important;\n }\n .md\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .md\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .md\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .md\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .md\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .md\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .md\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .md\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:shadow-none {\n box-shadow: none !important;\n }\n .lg\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .lg\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .lg\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .lg\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .lg\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .lg\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .lg\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .lg\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:shadow-none {\n box-shadow: none !important;\n }\n .xl\\:shadow-1 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08) !important;\n }\n .xl\\:shadow-2 {\n box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.03), 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.12) !important;\n }\n .xl\\:shadow-3 {\n box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.08), 0px 3px 4px rgba(0, 0, 0, 0.1), 0px 1px 4px -1px rgba(0, 0, 0, 0.1) !important;\n }\n .xl\\:shadow-4 {\n box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.12), 0px 4px 5px rgba(0, 0, 0, 0.14), 0px 2px 4px -1px rgba(0, 0, 0, 0.2) !important;\n }\n .xl\\:shadow-5 {\n box-shadow: 0px 1px 7px rgba(0, 0, 0, 0.1), 0px 4px 5px -2px rgba(0, 0, 0, 0.12), 0px 10px 15px -5px rgba(0, 0, 0, 0.2) !important;\n }\n .xl\\:shadow-6 {\n box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.06), 0px 7px 9px rgba(0, 0, 0, 0.12), 0px 20px 25px -8px rgba(0, 0, 0, 0.18) !important;\n }\n .xl\\:shadow-7 {\n box-shadow: 0px 7px 30px rgba(0, 0, 0, 0.08), 0px 22px 30px 2px rgba(0, 0, 0, 0.15), 0px 8px 10px rgba(0, 0, 0, 0.15) !important;\n }\n .xl\\:shadow-8 {\n box-shadow: 0px 9px 46px 8px rgba(0, 0, 0, 0.12), 0px 24px 38px 3px rgba(0, 0, 0, 0.14), 0px 11px 15px rgba(0, 0, 0, 0.2) !important;\n }\n}\n.border-none {\n border-width: 0px !important;\n border-style: none;\n}\n\n.border-1 {\n border-width: 1px !important;\n border-style: solid;\n}\n\n.border-2 {\n border-width: 2px !important;\n border-style: solid;\n}\n\n.border-3 {\n border-width: 3px !important;\n border-style: solid;\n}\n\n.border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n}\n\n.border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n}\n\n.border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n}\n\n.border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n}\n\n.border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n}\n\n.border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n}\n\n.border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n}\n\n.border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n}\n\n.border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n}\n\n.border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n}\n\n.border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n}\n\n.border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n}\n\n.border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n}\n\n.border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n}\n\n.border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n}\n\n.border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n}\n\n.border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n}\n\n.border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n}\n\n.border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n}\n\n.border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n}\n\n.border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n}\n\n.border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n}\n\n.border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n}\n\n.border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .sm\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .sm\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .sm\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .sm\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .sm\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .sm\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .sm\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .sm\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .sm\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .sm\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .sm\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .sm\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .sm\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .sm\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .sm\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .sm\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .sm\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .sm\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .sm\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .sm\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .sm\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .sm\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .sm\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .md\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .md\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .md\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .md\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .md\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .md\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .md\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .md\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .md\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .md\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .md\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .md\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .md\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .md\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .md\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .md\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .md\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .md\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .md\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .md\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .md\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .md\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .md\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .md\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .md\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .md\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .md\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .lg\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .lg\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .lg\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .lg\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .lg\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .lg\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .lg\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .lg\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .lg\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .lg\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .lg\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .lg\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .lg\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .lg\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .lg\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .lg\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .lg\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .lg\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .lg\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .lg\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .lg\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .lg\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .lg\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-none {\n border-width: 0px !important;\n border-style: none;\n }\n .xl\\:border-1 {\n border-width: 1px !important;\n border-style: solid;\n }\n .xl\\:border-2 {\n border-width: 2px !important;\n border-style: solid;\n }\n .xl\\:border-3 {\n border-width: 3px !important;\n border-style: solid;\n }\n .xl\\:border-top-none {\n border-top-width: 0px !important;\n border-top-style: none;\n }\n .xl\\:border-top-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n }\n .xl\\:border-top-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n }\n .xl\\:border-top-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n }\n .xl\\:border-right-none {\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .xl\\:border-right-1 {\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .xl\\:border-right-2 {\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .xl\\:border-right-3 {\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .xl\\:border-left-none {\n border-left-width: 0px !important;\n border-left-style: none;\n }\n .xl\\:border-left-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n }\n .xl\\:border-left-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n }\n .xl\\:border-left-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n }\n .xl\\:border-bottom-none {\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .xl\\:border-bottom-1 {\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-bottom-2 {\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-bottom-3 {\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-x-none {\n border-left-width: 0px !important;\n border-left-style: none;\n border-right-width: 0px !important;\n border-right-style: none;\n }\n .xl\\:border-x-1 {\n border-left-width: 1px !important;\n border-left-style: solid;\n border-right-width: 1px !important;\n border-right-style: solid;\n }\n .xl\\:border-x-2 {\n border-left-width: 2px !important;\n border-left-style: solid;\n border-right-width: 2px !important;\n border-right-style: solid;\n }\n .xl\\:border-x-3 {\n border-left-width: 3px !important;\n border-left-style: solid;\n border-right-width: 3px !important;\n border-right-style: solid;\n }\n .xl\\:border-y-none {\n border-top-width: 0px !important;\n border-top-style: none;\n border-bottom-width: 0px !important;\n border-bottom-style: none;\n }\n .xl\\:border-y-1 {\n border-top-width: 1px !important;\n border-top-style: solid;\n border-bottom-width: 1px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-y-2 {\n border-top-width: 2px !important;\n border-top-style: solid;\n border-bottom-width: 2px !important;\n border-bottom-style: solid;\n }\n .xl\\:border-y-3 {\n border-top-width: 3px !important;\n border-top-style: solid;\n border-bottom-width: 3px !important;\n border-bottom-style: solid;\n }\n}\n.border-solid {\n border-style: solid !important;\n}\n\n.border-dashed {\n border-style: dashed !important;\n}\n\n.border-dotted {\n border-style: dotted !important;\n}\n\n.border-double {\n border-style: double !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-solid {\n border-style: solid !important;\n }\n .sm\\:border-dashed {\n border-style: dashed !important;\n }\n .sm\\:border-dotted {\n border-style: dotted !important;\n }\n .sm\\:border-double {\n border-style: double !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-solid {\n border-style: solid !important;\n }\n .md\\:border-dashed {\n border-style: dashed !important;\n }\n .md\\:border-dotted {\n border-style: dotted !important;\n }\n .md\\:border-double {\n border-style: double !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-solid {\n border-style: solid !important;\n }\n .lg\\:border-dashed {\n border-style: dashed !important;\n }\n .lg\\:border-dotted {\n border-style: dotted !important;\n }\n .lg\\:border-double {\n border-style: double !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-solid {\n border-style: solid !important;\n }\n .xl\\:border-dashed {\n border-style: dashed !important;\n }\n .xl\\:border-dotted {\n border-style: dotted !important;\n }\n .xl\\:border-double {\n border-style: double !important;\n }\n}\n.border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n}\n\n.border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n}\n\n.border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n}\n\n.border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .sm\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .sm\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .sm\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .md\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .md\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .md\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .lg\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .lg\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .lg\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-round-left {\n border-top-left-radius: var(--border-radius);\n border-bottom-left-radius: var(--border-radius);\n }\n .xl\\:border-round-top {\n border-top-left-radius: var(--border-radius);\n border-top-right-radius: var(--border-radius);\n }\n .xl\\:border-round-right {\n border-top-right-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n .xl\\:border-round-bottom {\n border-bottom-left-radius: var(--border-radius);\n border-bottom-right-radius: var(--border-radius);\n }\n}\n.border-noround {\n border-radius: 0 !important;\n}\n\n.border-round {\n border-radius: var(--border-radius) !important;\n}\n\n.border-circle {\n border-radius: 50% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:border-noround {\n border-radius: 0 !important;\n }\n .sm\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .sm\\:border-circle {\n border-radius: 50% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:border-noround {\n border-radius: 0 !important;\n }\n .md\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .md\\:border-circle {\n border-radius: 50% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:border-noround {\n border-radius: 0 !important;\n }\n .lg\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .lg\\:border-circle {\n border-radius: 50% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:border-noround {\n border-radius: 0 !important;\n }\n .xl\\:border-round {\n border-radius: var(--border-radius) !important;\n }\n .xl\\:border-circle {\n border-radius: 50% !important;\n }\n}\n.w-full {\n width: 100% !important;\n}\n\n.w-screen {\n width: 100vw !important;\n}\n\n.w-auto {\n width: auto !important;\n}\n\n.w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n}\n\n.w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n}\n\n.w-1 {\n width: 8.3333% !important;\n}\n\n.w-2 {\n width: 16.6667% !important;\n}\n\n.w-3 {\n width: 25% !important;\n}\n\n.w-4 {\n width: 33.3333% !important;\n}\n\n.w-5 {\n width: 41.6667% !important;\n}\n\n.w-6 {\n width: 50% !important;\n}\n\n.w-7 {\n width: 58.3333% !important;\n}\n\n.w-8 {\n width: 66.6667% !important;\n}\n\n.w-9 {\n width: 75% !important;\n}\n\n.w-10 {\n width: 83.3333% !important;\n}\n\n.w-11 {\n width: 91.6667% !important;\n}\n\n.w-12 {\n width: 100% !important;\n}\n\n.w-1rem {\n width: 1rem !important;\n}\n\n.w-2rem {\n width: 2rem !important;\n}\n\n.w-3rem {\n width: 3rem !important;\n}\n\n.w-4rem {\n width: 4rem !important;\n}\n\n.w-5rem {\n width: 5rem !important;\n}\n\n.w-6rem {\n width: 6rem !important;\n}\n\n.w-7rem {\n width: 7rem !important;\n}\n\n.w-8rem {\n width: 8rem !important;\n}\n\n.w-9rem {\n width: 9rem !important;\n}\n\n.w-10rem {\n width: 10rem !important;\n}\n\n.w-11rem {\n width: 11rem !important;\n}\n\n.w-12rem {\n width: 12rem !important;\n}\n\n.w-13rem {\n width: 13rem !important;\n}\n\n.w-14rem {\n width: 14rem !important;\n}\n\n.w-15rem {\n width: 15rem !important;\n}\n\n.w-16rem {\n width: 16rem !important;\n}\n\n.w-17rem {\n width: 17rem !important;\n}\n\n.w-18rem {\n width: 18rem !important;\n}\n\n.w-19rem {\n width: 19rem !important;\n}\n\n.w-20rem {\n width: 20rem !important;\n}\n\n.w-21rem {\n width: 21rem !important;\n}\n\n.w-22rem {\n width: 22rem !important;\n}\n\n.w-23rem {\n width: 23rem !important;\n}\n\n.w-24rem {\n width: 24rem !important;\n}\n\n.w-25rem {\n width: 25rem !important;\n}\n\n.w-26rem {\n width: 26rem !important;\n}\n\n.w-27rem {\n width: 27rem !important;\n}\n\n.w-28rem {\n width: 28rem !important;\n}\n\n.w-29rem {\n width: 29rem !important;\n}\n\n.w-30rem {\n width: 30rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:w-full {\n width: 100% !important;\n }\n .sm\\:w-screen {\n width: 100vw !important;\n }\n .sm\\:w-auto {\n width: auto !important;\n }\n .sm\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .sm\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .sm\\:w-1 {\n width: 8.3333% !important;\n }\n .sm\\:w-2 {\n width: 16.6667% !important;\n }\n .sm\\:w-3 {\n width: 25% !important;\n }\n .sm\\:w-4 {\n width: 33.3333% !important;\n }\n .sm\\:w-5 {\n width: 41.6667% !important;\n }\n .sm\\:w-6 {\n width: 50% !important;\n }\n .sm\\:w-7 {\n width: 58.3333% !important;\n }\n .sm\\:w-8 {\n width: 66.6667% !important;\n }\n .sm\\:w-9 {\n width: 75% !important;\n }\n .sm\\:w-10 {\n width: 83.3333% !important;\n }\n .sm\\:w-11 {\n width: 91.6667% !important;\n }\n .sm\\:w-12 {\n width: 100% !important;\n }\n .sm\\:w-1rem {\n width: 1rem !important;\n }\n .sm\\:w-2rem {\n width: 2rem !important;\n }\n .sm\\:w-3rem {\n width: 3rem !important;\n }\n .sm\\:w-4rem {\n width: 4rem !important;\n }\n .sm\\:w-5rem {\n width: 5rem !important;\n }\n .sm\\:w-6rem {\n width: 6rem !important;\n }\n .sm\\:w-7rem {\n width: 7rem !important;\n }\n .sm\\:w-8rem {\n width: 8rem !important;\n }\n .sm\\:w-9rem {\n width: 9rem !important;\n }\n .sm\\:w-10rem {\n width: 10rem !important;\n }\n .sm\\:w-11rem {\n width: 11rem !important;\n }\n .sm\\:w-12rem {\n width: 12rem !important;\n }\n .sm\\:w-13rem {\n width: 13rem !important;\n }\n .sm\\:w-14rem {\n width: 14rem !important;\n }\n .sm\\:w-15rem {\n width: 15rem !important;\n }\n .sm\\:w-16rem {\n width: 16rem !important;\n }\n .sm\\:w-17rem {\n width: 17rem !important;\n }\n .sm\\:w-18rem {\n width: 18rem !important;\n }\n .sm\\:w-19rem {\n width: 19rem !important;\n }\n .sm\\:w-20rem {\n width: 20rem !important;\n }\n .sm\\:w-21rem {\n width: 21rem !important;\n }\n .sm\\:w-22rem {\n width: 22rem !important;\n }\n .sm\\:w-23rem {\n width: 23rem !important;\n }\n .sm\\:w-24rem {\n width: 24rem !important;\n }\n .sm\\:w-25rem {\n width: 25rem !important;\n }\n .sm\\:w-26rem {\n width: 26rem !important;\n }\n .sm\\:w-27rem {\n width: 27rem !important;\n }\n .sm\\:w-28rem {\n width: 28rem !important;\n }\n .sm\\:w-29rem {\n width: 29rem !important;\n }\n .sm\\:w-30rem {\n width: 30rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:w-full {\n width: 100% !important;\n }\n .md\\:w-screen {\n width: 100vw !important;\n }\n .md\\:w-auto {\n width: auto !important;\n }\n .md\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .md\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .md\\:w-1 {\n width: 8.3333% !important;\n }\n .md\\:w-2 {\n width: 16.6667% !important;\n }\n .md\\:w-3 {\n width: 25% !important;\n }\n .md\\:w-4 {\n width: 33.3333% !important;\n }\n .md\\:w-5 {\n width: 41.6667% !important;\n }\n .md\\:w-6 {\n width: 50% !important;\n }\n .md\\:w-7 {\n width: 58.3333% !important;\n }\n .md\\:w-8 {\n width: 66.6667% !important;\n }\n .md\\:w-9 {\n width: 75% !important;\n }\n .md\\:w-10 {\n width: 83.3333% !important;\n }\n .md\\:w-11 {\n width: 91.6667% !important;\n }\n .md\\:w-12 {\n width: 100% !important;\n }\n .md\\:w-1rem {\n width: 1rem !important;\n }\n .md\\:w-2rem {\n width: 2rem !important;\n }\n .md\\:w-3rem {\n width: 3rem !important;\n }\n .md\\:w-4rem {\n width: 4rem !important;\n }\n .md\\:w-5rem {\n width: 5rem !important;\n }\n .md\\:w-6rem {\n width: 6rem !important;\n }\n .md\\:w-7rem {\n width: 7rem !important;\n }\n .md\\:w-8rem {\n width: 8rem !important;\n }\n .md\\:w-9rem {\n width: 9rem !important;\n }\n .md\\:w-10rem {\n width: 10rem !important;\n }\n .md\\:w-11rem {\n width: 11rem !important;\n }\n .md\\:w-12rem {\n width: 12rem !important;\n }\n .md\\:w-13rem {\n width: 13rem !important;\n }\n .md\\:w-14rem {\n width: 14rem !important;\n }\n .md\\:w-15rem {\n width: 15rem !important;\n }\n .md\\:w-16rem {\n width: 16rem !important;\n }\n .md\\:w-17rem {\n width: 17rem !important;\n }\n .md\\:w-18rem {\n width: 18rem !important;\n }\n .md\\:w-19rem {\n width: 19rem !important;\n }\n .md\\:w-20rem {\n width: 20rem !important;\n }\n .md\\:w-21rem {\n width: 21rem !important;\n }\n .md\\:w-22rem {\n width: 22rem !important;\n }\n .md\\:w-23rem {\n width: 23rem !important;\n }\n .md\\:w-24rem {\n width: 24rem !important;\n }\n .md\\:w-25rem {\n width: 25rem !important;\n }\n .md\\:w-26rem {\n width: 26rem !important;\n }\n .md\\:w-27rem {\n width: 27rem !important;\n }\n .md\\:w-28rem {\n width: 28rem !important;\n }\n .md\\:w-29rem {\n width: 29rem !important;\n }\n .md\\:w-30rem {\n width: 30rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:w-full {\n width: 100% !important;\n }\n .lg\\:w-screen {\n width: 100vw !important;\n }\n .lg\\:w-auto {\n width: auto !important;\n }\n .lg\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .lg\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .lg\\:w-1 {\n width: 8.3333% !important;\n }\n .lg\\:w-2 {\n width: 16.6667% !important;\n }\n .lg\\:w-3 {\n width: 25% !important;\n }\n .lg\\:w-4 {\n width: 33.3333% !important;\n }\n .lg\\:w-5 {\n width: 41.6667% !important;\n }\n .lg\\:w-6 {\n width: 50% !important;\n }\n .lg\\:w-7 {\n width: 58.3333% !important;\n }\n .lg\\:w-8 {\n width: 66.6667% !important;\n }\n .lg\\:w-9 {\n width: 75% !important;\n }\n .lg\\:w-10 {\n width: 83.3333% !important;\n }\n .lg\\:w-11 {\n width: 91.6667% !important;\n }\n .lg\\:w-12 {\n width: 100% !important;\n }\n .lg\\:w-1rem {\n width: 1rem !important;\n }\n .lg\\:w-2rem {\n width: 2rem !important;\n }\n .lg\\:w-3rem {\n width: 3rem !important;\n }\n .lg\\:w-4rem {\n width: 4rem !important;\n }\n .lg\\:w-5rem {\n width: 5rem !important;\n }\n .lg\\:w-6rem {\n width: 6rem !important;\n }\n .lg\\:w-7rem {\n width: 7rem !important;\n }\n .lg\\:w-8rem {\n width: 8rem !important;\n }\n .lg\\:w-9rem {\n width: 9rem !important;\n }\n .lg\\:w-10rem {\n width: 10rem !important;\n }\n .lg\\:w-11rem {\n width: 11rem !important;\n }\n .lg\\:w-12rem {\n width: 12rem !important;\n }\n .lg\\:w-13rem {\n width: 13rem !important;\n }\n .lg\\:w-14rem {\n width: 14rem !important;\n }\n .lg\\:w-15rem {\n width: 15rem !important;\n }\n .lg\\:w-16rem {\n width: 16rem !important;\n }\n .lg\\:w-17rem {\n width: 17rem !important;\n }\n .lg\\:w-18rem {\n width: 18rem !important;\n }\n .lg\\:w-19rem {\n width: 19rem !important;\n }\n .lg\\:w-20rem {\n width: 20rem !important;\n }\n .lg\\:w-21rem {\n width: 21rem !important;\n }\n .lg\\:w-22rem {\n width: 22rem !important;\n }\n .lg\\:w-23rem {\n width: 23rem !important;\n }\n .lg\\:w-24rem {\n width: 24rem !important;\n }\n .lg\\:w-25rem {\n width: 25rem !important;\n }\n .lg\\:w-26rem {\n width: 26rem !important;\n }\n .lg\\:w-27rem {\n width: 27rem !important;\n }\n .lg\\:w-28rem {\n width: 28rem !important;\n }\n .lg\\:w-29rem {\n width: 29rem !important;\n }\n .lg\\:w-30rem {\n width: 30rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:w-full {\n width: 100% !important;\n }\n .xl\\:w-screen {\n width: 100vw !important;\n }\n .xl\\:w-auto {\n width: auto !important;\n }\n .xl\\:w-min {\n width: -webkit-min-content !important;\n width: -moz-min-content !important;\n width: min-content !important;\n }\n .xl\\:w-max {\n width: -webkit-max-content !important;\n width: -moz-max-content !important;\n width: max-content !important;\n }\n .xl\\:w-1 {\n width: 8.3333% !important;\n }\n .xl\\:w-2 {\n width: 16.6667% !important;\n }\n .xl\\:w-3 {\n width: 25% !important;\n }\n .xl\\:w-4 {\n width: 33.3333% !important;\n }\n .xl\\:w-5 {\n width: 41.6667% !important;\n }\n .xl\\:w-6 {\n width: 50% !important;\n }\n .xl\\:w-7 {\n width: 58.3333% !important;\n }\n .xl\\:w-8 {\n width: 66.6667% !important;\n }\n .xl\\:w-9 {\n width: 75% !important;\n }\n .xl\\:w-10 {\n width: 83.3333% !important;\n }\n .xl\\:w-11 {\n width: 91.6667% !important;\n }\n .xl\\:w-12 {\n width: 100% !important;\n }\n .xl\\:w-1rem {\n width: 1rem !important;\n }\n .xl\\:w-2rem {\n width: 2rem !important;\n }\n .xl\\:w-3rem {\n width: 3rem !important;\n }\n .xl\\:w-4rem {\n width: 4rem !important;\n }\n .xl\\:w-5rem {\n width: 5rem !important;\n }\n .xl\\:w-6rem {\n width: 6rem !important;\n }\n .xl\\:w-7rem {\n width: 7rem !important;\n }\n .xl\\:w-8rem {\n width: 8rem !important;\n }\n .xl\\:w-9rem {\n width: 9rem !important;\n }\n .xl\\:w-10rem {\n width: 10rem !important;\n }\n .xl\\:w-11rem {\n width: 11rem !important;\n }\n .xl\\:w-12rem {\n width: 12rem !important;\n }\n .xl\\:w-13rem {\n width: 13rem !important;\n }\n .xl\\:w-14rem {\n width: 14rem !important;\n }\n .xl\\:w-15rem {\n width: 15rem !important;\n }\n .xl\\:w-16rem {\n width: 16rem !important;\n }\n .xl\\:w-17rem {\n width: 17rem !important;\n }\n .xl\\:w-18rem {\n width: 18rem !important;\n }\n .xl\\:w-19rem {\n width: 19rem !important;\n }\n .xl\\:w-20rem {\n width: 20rem !important;\n }\n .xl\\:w-21rem {\n width: 21rem !important;\n }\n .xl\\:w-22rem {\n width: 22rem !important;\n }\n .xl\\:w-23rem {\n width: 23rem !important;\n }\n .xl\\:w-24rem {\n width: 24rem !important;\n }\n .xl\\:w-25rem {\n width: 25rem !important;\n }\n .xl\\:w-26rem {\n width: 26rem !important;\n }\n .xl\\:w-27rem {\n width: 27rem !important;\n }\n .xl\\:w-28rem {\n width: 28rem !important;\n }\n .xl\\:w-29rem {\n width: 29rem !important;\n }\n .xl\\:w-30rem {\n width: 30rem !important;\n }\n}\n.h-full {\n height: 100% !important;\n}\n\n.h-screen {\n height: 100vh !important;\n}\n\n.h-auto {\n height: auto !important;\n}\n\n.h-1rem {\n height: 1rem !important;\n}\n\n.h-2rem {\n height: 2rem !important;\n}\n\n.h-3rem {\n height: 3rem !important;\n}\n\n.h-4rem {\n height: 4rem !important;\n}\n\n.h-5rem {\n height: 5rem !important;\n}\n\n.h-6rem {\n height: 6rem !important;\n}\n\n.h-7rem {\n height: 7rem !important;\n}\n\n.h-8rem {\n height: 8rem !important;\n}\n\n.h-9rem {\n height: 9rem !important;\n}\n\n.h-10rem {\n height: 10rem !important;\n}\n\n.h-11rem {\n height: 11rem !important;\n}\n\n.h-12rem {\n height: 12rem !important;\n}\n\n.h-13rem {\n height: 13rem !important;\n}\n\n.h-14rem {\n height: 14rem !important;\n}\n\n.h-15rem {\n height: 15rem !important;\n}\n\n.h-16rem {\n height: 16rem !important;\n}\n\n.h-17rem {\n height: 17rem !important;\n}\n\n.h-18rem {\n height: 18rem !important;\n}\n\n.h-19rem {\n height: 19rem !important;\n}\n\n.h-20rem {\n height: 20rem !important;\n}\n\n.h-21rem {\n height: 21rem !important;\n}\n\n.h-22rem {\n height: 22rem !important;\n}\n\n.h-23rem {\n height: 23rem !important;\n}\n\n.h-24rem {\n height: 24rem !important;\n}\n\n.h-25rem {\n height: 25rem !important;\n}\n\n.h-26rem {\n height: 26rem !important;\n}\n\n.h-27rem {\n height: 27rem !important;\n}\n\n.h-28rem {\n height: 28rem !important;\n}\n\n.h-29rem {\n height: 29rem !important;\n}\n\n.h-30rem {\n height: 30rem !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:h-full {\n height: 100% !important;\n }\n .sm\\:h-screen {\n height: 100vh !important;\n }\n .sm\\:h-auto {\n height: auto !important;\n }\n .sm\\:h-1rem {\n height: 1rem !important;\n }\n .sm\\:h-2rem {\n height: 2rem !important;\n }\n .sm\\:h-3rem {\n height: 3rem !important;\n }\n .sm\\:h-4rem {\n height: 4rem !important;\n }\n .sm\\:h-5rem {\n height: 5rem !important;\n }\n .sm\\:h-6rem {\n height: 6rem !important;\n }\n .sm\\:h-7rem {\n height: 7rem !important;\n }\n .sm\\:h-8rem {\n height: 8rem !important;\n }\n .sm\\:h-9rem {\n height: 9rem !important;\n }\n .sm\\:h-10rem {\n height: 10rem !important;\n }\n .sm\\:h-11rem {\n height: 11rem !important;\n }\n .sm\\:h-12rem {\n height: 12rem !important;\n }\n .sm\\:h-13rem {\n height: 13rem !important;\n }\n .sm\\:h-14rem {\n height: 14rem !important;\n }\n .sm\\:h-15rem {\n height: 15rem !important;\n }\n .sm\\:h-16rem {\n height: 16rem !important;\n }\n .sm\\:h-17rem {\n height: 17rem !important;\n }\n .sm\\:h-18rem {\n height: 18rem !important;\n }\n .sm\\:h-19rem {\n height: 19rem !important;\n }\n .sm\\:h-20rem {\n height: 20rem !important;\n }\n .sm\\:h-21rem {\n height: 21rem !important;\n }\n .sm\\:h-22rem {\n height: 22rem !important;\n }\n .sm\\:h-23rem {\n height: 23rem !important;\n }\n .sm\\:h-24rem {\n height: 24rem !important;\n }\n .sm\\:h-25rem {\n height: 25rem !important;\n }\n .sm\\:h-26rem {\n height: 26rem !important;\n }\n .sm\\:h-27rem {\n height: 27rem !important;\n }\n .sm\\:h-28rem {\n height: 28rem !important;\n }\n .sm\\:h-29rem {\n height: 29rem !important;\n }\n .sm\\:h-30rem {\n height: 30rem !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:h-full {\n height: 100% !important;\n }\n .md\\:h-screen {\n height: 100vh !important;\n }\n .md\\:h-auto {\n height: auto !important;\n }\n .md\\:h-1rem {\n height: 1rem !important;\n }\n .md\\:h-2rem {\n height: 2rem !important;\n }\n .md\\:h-3rem {\n height: 3rem !important;\n }\n .md\\:h-4rem {\n height: 4rem !important;\n }\n .md\\:h-5rem {\n height: 5rem !important;\n }\n .md\\:h-6rem {\n height: 6rem !important;\n }\n .md\\:h-7rem {\n height: 7rem !important;\n }\n .md\\:h-8rem {\n height: 8rem !important;\n }\n .md\\:h-9rem {\n height: 9rem !important;\n }\n .md\\:h-10rem {\n height: 10rem !important;\n }\n .md\\:h-11rem {\n height: 11rem !important;\n }\n .md\\:h-12rem {\n height: 12rem !important;\n }\n .md\\:h-13rem {\n height: 13rem !important;\n }\n .md\\:h-14rem {\n height: 14rem !important;\n }\n .md\\:h-15rem {\n height: 15rem !important;\n }\n .md\\:h-16rem {\n height: 16rem !important;\n }\n .md\\:h-17rem {\n height: 17rem !important;\n }\n .md\\:h-18rem {\n height: 18rem !important;\n }\n .md\\:h-19rem {\n height: 19rem !important;\n }\n .md\\:h-20rem {\n height: 20rem !important;\n }\n .md\\:h-21rem {\n height: 21rem !important;\n }\n .md\\:h-22rem {\n height: 22rem !important;\n }\n .md\\:h-23rem {\n height: 23rem !important;\n }\n .md\\:h-24rem {\n height: 24rem !important;\n }\n .md\\:h-25rem {\n height: 25rem !important;\n }\n .md\\:h-26rem {\n height: 26rem !important;\n }\n .md\\:h-27rem {\n height: 27rem !important;\n }\n .md\\:h-28rem {\n height: 28rem !important;\n }\n .md\\:h-29rem {\n height: 29rem !important;\n }\n .md\\:h-30rem {\n height: 30rem !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:h-full {\n height: 100% !important;\n }\n .lg\\:h-screen {\n height: 100vh !important;\n }\n .lg\\:h-auto {\n height: auto !important;\n }\n .lg\\:h-1rem {\n height: 1rem !important;\n }\n .lg\\:h-2rem {\n height: 2rem !important;\n }\n .lg\\:h-3rem {\n height: 3rem !important;\n }\n .lg\\:h-4rem {\n height: 4rem !important;\n }\n .lg\\:h-5rem {\n height: 5rem !important;\n }\n .lg\\:h-6rem {\n height: 6rem !important;\n }\n .lg\\:h-7rem {\n height: 7rem !important;\n }\n .lg\\:h-8rem {\n height: 8rem !important;\n }\n .lg\\:h-9rem {\n height: 9rem !important;\n }\n .lg\\:h-10rem {\n height: 10rem !important;\n }\n .lg\\:h-11rem {\n height: 11rem !important;\n }\n .lg\\:h-12rem {\n height: 12rem !important;\n }\n .lg\\:h-13rem {\n height: 13rem !important;\n }\n .lg\\:h-14rem {\n height: 14rem !important;\n }\n .lg\\:h-15rem {\n height: 15rem !important;\n }\n .lg\\:h-16rem {\n height: 16rem !important;\n }\n .lg\\:h-17rem {\n height: 17rem !important;\n }\n .lg\\:h-18rem {\n height: 18rem !important;\n }\n .lg\\:h-19rem {\n height: 19rem !important;\n }\n .lg\\:h-20rem {\n height: 20rem !important;\n }\n .lg\\:h-21rem {\n height: 21rem !important;\n }\n .lg\\:h-22rem {\n height: 22rem !important;\n }\n .lg\\:h-23rem {\n height: 23rem !important;\n }\n .lg\\:h-24rem {\n height: 24rem !important;\n }\n .lg\\:h-25rem {\n height: 25rem !important;\n }\n .lg\\:h-26rem {\n height: 26rem !important;\n }\n .lg\\:h-27rem {\n height: 27rem !important;\n }\n .lg\\:h-28rem {\n height: 28rem !important;\n }\n .lg\\:h-29rem {\n height: 29rem !important;\n }\n .lg\\:h-30rem {\n height: 30rem !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:h-full {\n height: 100% !important;\n }\n .xl\\:h-screen {\n height: 100vh !important;\n }\n .xl\\:h-auto {\n height: auto !important;\n }\n .xl\\:h-1rem {\n height: 1rem !important;\n }\n .xl\\:h-2rem {\n height: 2rem !important;\n }\n .xl\\:h-3rem {\n height: 3rem !important;\n }\n .xl\\:h-4rem {\n height: 4rem !important;\n }\n .xl\\:h-5rem {\n height: 5rem !important;\n }\n .xl\\:h-6rem {\n height: 6rem !important;\n }\n .xl\\:h-7rem {\n height: 7rem !important;\n }\n .xl\\:h-8rem {\n height: 8rem !important;\n }\n .xl\\:h-9rem {\n height: 9rem !important;\n }\n .xl\\:h-10rem {\n height: 10rem !important;\n }\n .xl\\:h-11rem {\n height: 11rem !important;\n }\n .xl\\:h-12rem {\n height: 12rem !important;\n }\n .xl\\:h-13rem {\n height: 13rem !important;\n }\n .xl\\:h-14rem {\n height: 14rem !important;\n }\n .xl\\:h-15rem {\n height: 15rem !important;\n }\n .xl\\:h-16rem {\n height: 16rem !important;\n }\n .xl\\:h-17rem {\n height: 17rem !important;\n }\n .xl\\:h-18rem {\n height: 18rem !important;\n }\n .xl\\:h-19rem {\n height: 19rem !important;\n }\n .xl\\:h-20rem {\n height: 20rem !important;\n }\n .xl\\:h-21rem {\n height: 21rem !important;\n }\n .xl\\:h-22rem {\n height: 22rem !important;\n }\n .xl\\:h-23rem {\n height: 23rem !important;\n }\n .xl\\:h-24rem {\n height: 24rem !important;\n }\n .xl\\:h-25rem {\n height: 25rem !important;\n }\n .xl\\:h-26rem {\n height: 26rem !important;\n }\n .xl\\:h-27rem {\n height: 27rem !important;\n }\n .xl\\:h-28rem {\n height: 28rem !important;\n }\n .xl\\:h-29rem {\n height: 29rem !important;\n }\n .xl\\:h-30rem {\n height: 30rem !important;\n }\n}\n.min-w-0 {\n min-width: 0px !important;\n}\n\n.min-w-full {\n min-width: 100% !important;\n}\n\n.min-w-screen {\n min-width: 100vw !important;\n}\n\n.min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n}\n\n.min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:min-w-0 {\n min-width: 0px !important;\n }\n .sm\\:min-w-full {\n min-width: 100% !important;\n }\n .sm\\:min-w-screen {\n min-width: 100vw !important;\n }\n .sm\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .sm\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:min-w-0 {\n min-width: 0px !important;\n }\n .md\\:min-w-full {\n min-width: 100% !important;\n }\n .md\\:min-w-screen {\n min-width: 100vw !important;\n }\n .md\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .md\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:min-w-0 {\n min-width: 0px !important;\n }\n .lg\\:min-w-full {\n min-width: 100% !important;\n }\n .lg\\:min-w-screen {\n min-width: 100vw !important;\n }\n .lg\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .lg\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:min-w-0 {\n min-width: 0px !important;\n }\n .xl\\:min-w-full {\n min-width: 100% !important;\n }\n .xl\\:min-w-screen {\n min-width: 100vw !important;\n }\n .xl\\:min-w-min {\n min-width: -webkit-min-content !important;\n min-width: -moz-min-content !important;\n min-width: min-content !important;\n }\n .xl\\:min-w-max {\n min-width: -webkit-max-content !important;\n min-width: -moz-max-content !important;\n min-width: max-content !important;\n }\n}\n.max-w-0 {\n max-width: 0px !important;\n}\n\n.max-w-full {\n max-width: 100% !important;\n}\n\n.max-w-screen {\n max-width: 100vw !important;\n}\n\n.max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n}\n\n.max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:max-w-0 {\n max-width: 0px !important;\n }\n .sm\\:max-w-full {\n max-width: 100% !important;\n }\n .sm\\:max-w-screen {\n max-width: 100vw !important;\n }\n .sm\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .sm\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:max-w-0 {\n max-width: 0px !important;\n }\n .md\\:max-w-full {\n max-width: 100% !important;\n }\n .md\\:max-w-screen {\n max-width: 100vw !important;\n }\n .md\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .md\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:max-w-0 {\n max-width: 0px !important;\n }\n .lg\\:max-w-full {\n max-width: 100% !important;\n }\n .lg\\:max-w-screen {\n max-width: 100vw !important;\n }\n .lg\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .lg\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:max-w-0 {\n max-width: 0px !important;\n }\n .xl\\:max-w-full {\n max-width: 100% !important;\n }\n .xl\\:max-w-screen {\n max-width: 100vw !important;\n }\n .xl\\:max-w-min {\n max-width: -webkit-min-content !important;\n max-width: -moz-min-content !important;\n max-width: min-content !important;\n }\n .xl\\:max-w-max {\n max-width: -webkit-max-content !important;\n max-width: -moz-max-content !important;\n max-width: max-content !important;\n }\n}\n.min-h-0 {\n min-height: 0px !important;\n}\n\n.min-h-full {\n min-height: 100% !important;\n}\n\n.min-h-screen {\n min-height: 100vh !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:min-h-0 {\n min-height: 0px !important;\n }\n .sm\\:min-h-full {\n min-height: 100% !important;\n }\n .sm\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:min-h-0 {\n min-height: 0px !important;\n }\n .md\\:min-h-full {\n min-height: 100% !important;\n }\n .md\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:min-h-0 {\n min-height: 0px !important;\n }\n .lg\\:min-h-full {\n min-height: 100% !important;\n }\n .lg\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:min-h-0 {\n min-height: 0px !important;\n }\n .xl\\:min-h-full {\n min-height: 100% !important;\n }\n .xl\\:min-h-screen {\n min-height: 100vh !important;\n }\n}\n.max-h-0 {\n max-height: 0px !important;\n}\n\n.max-h-full {\n max-height: 100% !important;\n}\n\n.max-h-screen {\n max-height: 100vh !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:max-h-0 {\n max-height: 0px !important;\n }\n .sm\\:max-h-full {\n max-height: 100% !important;\n }\n .sm\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:max-h-0 {\n max-height: 0px !important;\n }\n .md\\:max-h-full {\n max-height: 100% !important;\n }\n .md\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:max-h-0 {\n max-height: 0px !important;\n }\n .lg\\:max-h-full {\n max-height: 100% !important;\n }\n .lg\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:max-h-0 {\n max-height: 0px !important;\n }\n .xl\\:max-h-full {\n max-height: 100% !important;\n }\n .xl\\:max-h-screen {\n max-height: 100vh !important;\n }\n}\n.static {\n position: static !important;\n}\n\n.fixed {\n position: fixed !important;\n}\n\n.absolute {\n position: absolute !important;\n}\n\n.relative {\n position: relative !important;\n}\n\n.sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:static {\n position: static !important;\n }\n .sm\\:fixed {\n position: fixed !important;\n }\n .sm\\:absolute {\n position: absolute !important;\n }\n .sm\\:relative {\n position: relative !important;\n }\n .sm\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:static {\n position: static !important;\n }\n .md\\:fixed {\n position: fixed !important;\n }\n .md\\:absolute {\n position: absolute !important;\n }\n .md\\:relative {\n position: relative !important;\n }\n .md\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:static {\n position: static !important;\n }\n .lg\\:fixed {\n position: fixed !important;\n }\n .lg\\:absolute {\n position: absolute !important;\n }\n .lg\\:relative {\n position: relative !important;\n }\n .lg\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:static {\n position: static !important;\n }\n .xl\\:fixed {\n position: fixed !important;\n }\n .xl\\:absolute {\n position: absolute !important;\n }\n .xl\\:relative {\n position: relative !important;\n }\n .xl\\:sticky {\n position: -webkit-sticky !important;\n position: sticky !important;\n }\n}\n.top-auto {\n top: auto !important;\n}\n\n.top-0 {\n top: 0px !important;\n}\n\n.top-50 {\n top: 50% !important;\n}\n\n.top-100 {\n top: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:top-auto {\n top: auto !important;\n }\n .sm\\:top-0 {\n top: 0px !important;\n }\n .sm\\:top-50 {\n top: 50% !important;\n }\n .sm\\:top-100 {\n top: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:top-auto {\n top: auto !important;\n }\n .md\\:top-0 {\n top: 0px !important;\n }\n .md\\:top-50 {\n top: 50% !important;\n }\n .md\\:top-100 {\n top: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:top-auto {\n top: auto !important;\n }\n .lg\\:top-0 {\n top: 0px !important;\n }\n .lg\\:top-50 {\n top: 50% !important;\n }\n .lg\\:top-100 {\n top: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:top-auto {\n top: auto !important;\n }\n .xl\\:top-0 {\n top: 0px !important;\n }\n .xl\\:top-50 {\n top: 50% !important;\n }\n .xl\\:top-100 {\n top: 100% !important;\n }\n}\n.left-auto {\n left: auto !important;\n}\n\n.left-0 {\n left: 0px !important;\n}\n\n.left-50 {\n left: 50% !important;\n}\n\n.left-100 {\n left: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:left-auto {\n left: auto !important;\n }\n .sm\\:left-0 {\n left: 0px !important;\n }\n .sm\\:left-50 {\n left: 50% !important;\n }\n .sm\\:left-100 {\n left: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:left-auto {\n left: auto !important;\n }\n .md\\:left-0 {\n left: 0px !important;\n }\n .md\\:left-50 {\n left: 50% !important;\n }\n .md\\:left-100 {\n left: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:left-auto {\n left: auto !important;\n }\n .lg\\:left-0 {\n left: 0px !important;\n }\n .lg\\:left-50 {\n left: 50% !important;\n }\n .lg\\:left-100 {\n left: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:left-auto {\n left: auto !important;\n }\n .xl\\:left-0 {\n left: 0px !important;\n }\n .xl\\:left-50 {\n left: 50% !important;\n }\n .xl\\:left-100 {\n left: 100% !important;\n }\n}\n.right-auto {\n right: auto !important;\n}\n\n.right-0 {\n right: 0px !important;\n}\n\n.right-50 {\n right: 50% !important;\n}\n\n.right-100 {\n right: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:right-auto {\n right: auto !important;\n }\n .sm\\:right-0 {\n right: 0px !important;\n }\n .sm\\:right-50 {\n right: 50% !important;\n }\n .sm\\:right-100 {\n right: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:right-auto {\n right: auto !important;\n }\n .md\\:right-0 {\n right: 0px !important;\n }\n .md\\:right-50 {\n right: 50% !important;\n }\n .md\\:right-100 {\n right: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:right-auto {\n right: auto !important;\n }\n .lg\\:right-0 {\n right: 0px !important;\n }\n .lg\\:right-50 {\n right: 50% !important;\n }\n .lg\\:right-100 {\n right: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:right-auto {\n right: auto !important;\n }\n .xl\\:right-0 {\n right: 0px !important;\n }\n .xl\\:right-50 {\n right: 50% !important;\n }\n .xl\\:right-100 {\n right: 100% !important;\n }\n}\n.bottom-auto {\n bottom: auto !important;\n}\n\n.bottom-0 {\n bottom: 0px !important;\n}\n\n.bottom-50 {\n bottom: 50% !important;\n}\n\n.bottom-100 {\n bottom: 100% !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bottom-auto {\n bottom: auto !important;\n }\n .sm\\:bottom-0 {\n bottom: 0px !important;\n }\n .sm\\:bottom-50 {\n bottom: 50% !important;\n }\n .sm\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bottom-auto {\n bottom: auto !important;\n }\n .md\\:bottom-0 {\n bottom: 0px !important;\n }\n .md\\:bottom-50 {\n bottom: 50% !important;\n }\n .md\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bottom-auto {\n bottom: auto !important;\n }\n .lg\\:bottom-0 {\n bottom: 0px !important;\n }\n .lg\\:bottom-50 {\n bottom: 50% !important;\n }\n .lg\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bottom-auto {\n bottom: auto !important;\n }\n .xl\\:bottom-0 {\n bottom: 0px !important;\n }\n .xl\\:bottom-50 {\n bottom: 50% !important;\n }\n .xl\\:bottom-100 {\n bottom: 100% !important;\n }\n}\n.overflow-auto {\n overflow: auto !important;\n}\n\n.overflow-hidden {\n overflow: hidden !important;\n}\n\n.overflow-visible {\n overflow: visible !important;\n}\n\n.overflow-scroll {\n overflow: scroll !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:overflow-auto {\n overflow: auto !important;\n }\n .sm\\:overflow-hidden {\n overflow: hidden !important;\n }\n .sm\\:overflow-visible {\n overflow: visible !important;\n }\n .sm\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:overflow-auto {\n overflow: auto !important;\n }\n .md\\:overflow-hidden {\n overflow: hidden !important;\n }\n .md\\:overflow-visible {\n overflow: visible !important;\n }\n .md\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:overflow-auto {\n overflow: auto !important;\n }\n .lg\\:overflow-hidden {\n overflow: hidden !important;\n }\n .lg\\:overflow-visible {\n overflow: visible !important;\n }\n .lg\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:overflow-auto {\n overflow: auto !important;\n }\n .xl\\:overflow-hidden {\n overflow: hidden !important;\n }\n .xl\\:overflow-visible {\n overflow: visible !important;\n }\n .xl\\:overflow-scroll {\n overflow: scroll !important;\n }\n}\n.overflow-x-auto {\n overflow-x: auto !important;\n}\n\n.overflow-x-hidden {\n overflow-x: hidden !important;\n}\n\n.overflow-x-visible {\n overflow-x: visible !important;\n}\n\n.overflow-x-scroll {\n overflow-x: scroll !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .sm\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .sm\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .sm\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .md\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .md\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .md\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .lg\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .lg\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .lg\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:overflow-x-auto {\n overflow-x: auto !important;\n }\n .xl\\:overflow-x-hidden {\n overflow-x: hidden !important;\n }\n .xl\\:overflow-x-visible {\n overflow-x: visible !important;\n }\n .xl\\:overflow-x-scroll {\n overflow-x: scroll !important;\n }\n}\n.overflow-y-auto {\n overflow-y: auto !important;\n}\n\n.overflow-y-hidden {\n overflow-y: hidden !important;\n}\n\n.overflow-y-visible {\n overflow-y: visible !important;\n}\n\n.overflow-y-scroll {\n overflow-y: scroll !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .sm\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .sm\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .sm\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .md\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .md\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .md\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .lg\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .lg\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .lg\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:overflow-y-auto {\n overflow-y: auto !important;\n }\n .xl\\:overflow-y-hidden {\n overflow-y: hidden !important;\n }\n .xl\\:overflow-y-visible {\n overflow-y: visible !important;\n }\n .xl\\:overflow-y-scroll {\n overflow-y: scroll !important;\n }\n}\n.z-auto {\n z-index: auto !important;\n}\n\n.z-0 {\n z-index: 0 !important;\n}\n\n.z-1 {\n z-index: 1 !important;\n}\n\n.z-2 {\n z-index: 2 !important;\n}\n\n.z-3 {\n z-index: 3 !important;\n}\n\n.z-4 {\n z-index: 4 !important;\n}\n\n.z-5 {\n z-index: 5 !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:z-auto {\n z-index: auto !important;\n }\n .sm\\:z-0 {\n z-index: 0 !important;\n }\n .sm\\:z-1 {\n z-index: 1 !important;\n }\n .sm\\:z-2 {\n z-index: 2 !important;\n }\n .sm\\:z-3 {\n z-index: 3 !important;\n }\n .sm\\:z-4 {\n z-index: 4 !important;\n }\n .sm\\:z-5 {\n z-index: 5 !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:z-auto {\n z-index: auto !important;\n }\n .md\\:z-0 {\n z-index: 0 !important;\n }\n .md\\:z-1 {\n z-index: 1 !important;\n }\n .md\\:z-2 {\n z-index: 2 !important;\n }\n .md\\:z-3 {\n z-index: 3 !important;\n }\n .md\\:z-4 {\n z-index: 4 !important;\n }\n .md\\:z-5 {\n z-index: 5 !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:z-auto {\n z-index: auto !important;\n }\n .lg\\:z-0 {\n z-index: 0 !important;\n }\n .lg\\:z-1 {\n z-index: 1 !important;\n }\n .lg\\:z-2 {\n z-index: 2 !important;\n }\n .lg\\:z-3 {\n z-index: 3 !important;\n }\n .lg\\:z-4 {\n z-index: 4 !important;\n }\n .lg\\:z-5 {\n z-index: 5 !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:z-auto {\n z-index: auto !important;\n }\n .xl\\:z-0 {\n z-index: 0 !important;\n }\n .xl\\:z-1 {\n z-index: 1 !important;\n }\n .xl\\:z-2 {\n z-index: 2 !important;\n }\n .xl\\:z-3 {\n z-index: 3 !important;\n }\n .xl\\:z-4 {\n z-index: 4 !important;\n }\n .xl\\:z-5 {\n z-index: 5 !important;\n }\n}\n.bg-repeat {\n background-repeat: repeat !important;\n}\n\n.bg-no-repeat {\n background-repeat: no-repeat !important;\n}\n\n.bg-repeat-x {\n background-repeat: repeat-x !important;\n}\n\n.bg-repeat-y {\n background-repeat: repeat-y !important;\n}\n\n.bg-repeat-round {\n background-repeat: round !important;\n}\n\n.bg-repeat-space {\n background-repeat: space !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .sm\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .sm\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .sm\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .sm\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .sm\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .md\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .md\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .md\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .md\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .md\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .lg\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .lg\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .lg\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .lg\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .lg\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-repeat {\n background-repeat: repeat !important;\n }\n .xl\\:bg-no-repeat {\n background-repeat: no-repeat !important;\n }\n .xl\\:bg-repeat-x {\n background-repeat: repeat-x !important;\n }\n .xl\\:bg-repeat-y {\n background-repeat: repeat-y !important;\n }\n .xl\\:bg-repeat-round {\n background-repeat: round !important;\n }\n .xl\\:bg-repeat-space {\n background-repeat: space !important;\n }\n}\n.bg-auto {\n background-size: auto !important;\n}\n\n.bg-cover {\n background-size: cover !important;\n}\n\n.bg-contain {\n background-size: contain !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-auto {\n background-size: auto !important;\n }\n .sm\\:bg-cover {\n background-size: cover !important;\n }\n .sm\\:bg-contain {\n background-size: contain !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-auto {\n background-size: auto !important;\n }\n .md\\:bg-cover {\n background-size: cover !important;\n }\n .md\\:bg-contain {\n background-size: contain !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-auto {\n background-size: auto !important;\n }\n .lg\\:bg-cover {\n background-size: cover !important;\n }\n .lg\\:bg-contain {\n background-size: contain !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-auto {\n background-size: auto !important;\n }\n .xl\\:bg-cover {\n background-size: cover !important;\n }\n .xl\\:bg-contain {\n background-size: contain !important;\n }\n}\n.bg-bottom {\n background-position: bottom !important;\n}\n\n.bg-center {\n background-position: center !important;\n}\n\n.bg-left {\n background-position: left !important;\n}\n\n.bg-left-bottom {\n background-position: left bottom !important;\n}\n\n.bg-left-top {\n background-position: left top !important;\n}\n\n.bg-right {\n background-position: right !important;\n}\n\n.bg-right-bottom {\n background-position: right bottom !important;\n}\n\n.bg-right-top {\n background-position: right top !important;\n}\n\n.bg-top {\n background-position: top !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:bg-bottom {\n background-position: bottom !important;\n }\n .sm\\:bg-center {\n background-position: center !important;\n }\n .sm\\:bg-left {\n background-position: left !important;\n }\n .sm\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .sm\\:bg-left-top {\n background-position: left top !important;\n }\n .sm\\:bg-right {\n background-position: right !important;\n }\n .sm\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .sm\\:bg-right-top {\n background-position: right top !important;\n }\n .sm\\:bg-top {\n background-position: top !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:bg-bottom {\n background-position: bottom !important;\n }\n .md\\:bg-center {\n background-position: center !important;\n }\n .md\\:bg-left {\n background-position: left !important;\n }\n .md\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .md\\:bg-left-top {\n background-position: left top !important;\n }\n .md\\:bg-right {\n background-position: right !important;\n }\n .md\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .md\\:bg-right-top {\n background-position: right top !important;\n }\n .md\\:bg-top {\n background-position: top !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:bg-bottom {\n background-position: bottom !important;\n }\n .lg\\:bg-center {\n background-position: center !important;\n }\n .lg\\:bg-left {\n background-position: left !important;\n }\n .lg\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .lg\\:bg-left-top {\n background-position: left top !important;\n }\n .lg\\:bg-right {\n background-position: right !important;\n }\n .lg\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .lg\\:bg-right-top {\n background-position: right top !important;\n }\n .lg\\:bg-top {\n background-position: top !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:bg-bottom {\n background-position: bottom !important;\n }\n .xl\\:bg-center {\n background-position: center !important;\n }\n .xl\\:bg-left {\n background-position: left !important;\n }\n .xl\\:bg-left-bottom {\n background-position: left bottom !important;\n }\n .xl\\:bg-left-top {\n background-position: left top !important;\n }\n .xl\\:bg-right {\n background-position: right !important;\n }\n .xl\\:bg-right-bottom {\n background-position: right bottom !important;\n }\n .xl\\:bg-right-top {\n background-position: right top !important;\n }\n .xl\\:bg-top {\n background-position: top !important;\n }\n}\n.select-none {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n\n.select-text {\n -webkit-user-select: text !important;\n -moz-user-select: text !important;\n -ms-user-select: text !important;\n user-select: text !important;\n}\n\n.select-all {\n -webkit-user-select: all !important;\n -moz-user-select: all !important;\n user-select: all !important;\n}\n\n.select-auto {\n -webkit-user-select: auto !important;\n -moz-user-select: auto !important;\n -ms-user-select: auto !important;\n user-select: auto !important;\n}\n\n.list-none {\n list-style: none !important;\n}\n\n.list-disc {\n list-style: disc !important;\n}\n\n.list-decimal {\n list-style: decimal !important;\n}\n\n.appearance-none {\n -webkit-appearance: none !important;\n -moz-appearance: none !important;\n appearance: none !important;\n}\n\n.outline-none {\n outline: none !important;\n}\n\n.pointer-events-none {\n pointer-events: none !important;\n}\n\n.pointer-events-auto {\n pointer-events: auto !important;\n}\n\n.cursor-auto {\n cursor: auto !important;\n}\n\n.cursor-pointer {\n cursor: pointer !important;\n}\n\n.cursor-wait {\n cursor: wait !important;\n}\n\n.cursor-move {\n cursor: move !important;\n}\n\n.select-none {\n -webkit-user-select: none !important;\n -moz-user-select: none !important;\n -ms-user-select: none !important;\n user-select: none !important;\n}\n\n.select-text {\n -webkit-user-select: text !important;\n -moz-user-select: text !important;\n -ms-user-select: text !important;\n user-select: text !important;\n}\n\n.select-all {\n -webkit-user-select: all !important;\n -moz-user-select: all !important;\n user-select: all !important;\n}\n\n.select-auto {\n -webkit-user-select: auto !important;\n -moz-user-select: auto !important;\n -ms-user-select: auto !important;\n user-select: auto !important;\n}\n\n.opacity-0 {\n opacity: 0 !important;\n}\n\n.opacity-10 {\n opacity: .1 !important;\n}\n\n.opacity-20 {\n opacity: .2 !important;\n}\n\n.opacity-30 {\n opacity: .3 !important;\n}\n\n.opacity-40 {\n opacity: .4 !important;\n}\n\n.opacity-50 {\n opacity: .5 !important;\n}\n\n.opacity-60 {\n opacity: .6 !important;\n}\n\n.opacity-70 {\n opacity: .7 !important;\n}\n\n.opacity-80 {\n opacity: .8 !important;\n}\n\n.opacity-90 {\n opacity: .9 !important;\n}\n\n.opacity-100 {\n opacity: 1 !important;\n}\n\n.transition-none {\n transition-property: none !important;\n}\n\n.transition-all {\n transition-property: all !important;\n}\n\n.transition-colors {\n transition-property: background-color,border-color,color !important;\n}\n\n.transition-transform {\n transition-property: transform !important;\n}\n\n.transition-duration-100 {\n transition-duration: 100ms !important;\n}\n\n.transition-duration-150 {\n transition-duration: 150ms !important;\n}\n\n.transition-duration-200 {\n transition-duration: 200ms !important;\n}\n\n.transition-duration-300 {\n transition-duration: 300ms !important;\n}\n\n.transition-duration-400 {\n transition-duration: 400ms !important;\n}\n\n.transition-duration-500 {\n transition-duration: 500ms !important;\n}\n\n.transition-duration-1000 {\n transition-duration: 1000ms !important;\n}\n\n.transition-duration-2000 {\n transition-duration: 2000ms !important;\n}\n\n.transition-duration-3000 {\n transition-duration: 3000ms !important;\n}\n\n.transition-linear {\n transition-timing-function: linear !important;\n}\n\n.transition-ease-in {\n transition-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;\n}\n\n.transition-ease-out {\n transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.transition-ease-in-out {\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n\n.transition-delay-100 {\n transition-delay: 100ms !important;\n}\n\n.transition-delay-150 {\n transition-delay: 150ms !important;\n}\n\n.transition-delay-200 {\n transition-delay: 200ms !important;\n}\n\n.transition-delay-300 {\n transition-delay: 300ms !important;\n}\n\n.transition-delay-400 {\n transition-delay: 400ms !important;\n}\n\n.transition-delay-500 {\n transition-delay: 500ms !important;\n}\n\n.transition-delay-1000 {\n transition-delay: 1000ms !important;\n}\n\n.translate-x-0 {\n transform: translateX(0%) !important;\n}\n\n.translate-x-100 {\n transform: translateX(100%) !important;\n}\n\n.-translate-x-100 {\n transform: translateX(-100%) !important;\n}\n\n.translate-y-0 {\n transform: translateY(0%) !important;\n}\n\n.translate-y-100 {\n transform: translateY(100%) !important;\n}\n\n.-translate-y-100 {\n transform: translateY(-100%) !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .sm\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .sm\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .sm\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .sm\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .sm\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .md\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .md\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .md\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .md\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .md\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .lg\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .lg\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .lg\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .lg\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .lg\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:translate-x-0 {\n transform: translateX(0%) !important;\n }\n .xl\\:translate-x-100 {\n transform: translateX(100%) !important;\n }\n .xl\\:-translate-x-100 {\n transform: translateX(-100%) !important;\n }\n .xl\\:translate-y-0 {\n transform: translateY(0%) !important;\n }\n .xl\\:translate-y-100 {\n transform: translateY(100%) !important;\n }\n .xl\\:-translate-y-100 {\n transform: translateY(-100%) !important;\n }\n}\n.rotate-45 {\n transform: rotate(45deg) !important;\n}\n\n.-rotate-45 {\n transform: rotate(-45deg) !important;\n}\n\n.rotate-90 {\n transform: rotate(90deg) !important;\n}\n\n.-rotate-90 {\n transform: rotate(-90deg) !important;\n}\n\n.rotate-180 {\n transform: rotate(180deg) !important;\n}\n\n.-rotate-180 {\n transform: rotate(-180deg) !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .sm\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .sm\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .sm\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .sm\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .sm\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .md\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .md\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .md\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .md\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .md\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .lg\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .lg\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .lg\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .lg\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .lg\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:rotate-45 {\n transform: rotate(45deg) !important;\n }\n .xl\\:-rotate-45 {\n transform: rotate(-45deg) !important;\n }\n .xl\\:rotate-90 {\n transform: rotate(90deg) !important;\n }\n .xl\\:-rotate-90 {\n transform: rotate(-90deg) !important;\n }\n .xl\\:rotate-180 {\n transform: rotate(180deg) !important;\n }\n .xl\\:-rotate-180 {\n transform: rotate(-180deg) !important;\n }\n}\n.origin-center {\n transform-origin: center !important;\n}\n\n.origin-top {\n transform-origin: top !important;\n}\n\n.origin-top-right {\n transform-origin: top right !important;\n}\n\n.origin-right {\n transform-origin: right !important;\n}\n\n.origin-bottom-right {\n transform-origin: bottom right !important;\n}\n\n.origin-bottom {\n transform-origin: bottom !important;\n}\n\n.origin-bottom-left {\n transform-origin: bottom left !important;\n}\n\n.origin-left {\n transform-origin: left !important;\n}\n\n.origin-top-left {\n transform-origin: top-left !important;\n}\n\n@media screen and (min-width: 576px) {\n .sm\\:origin-center {\n transform-origin: center !important;\n }\n .sm\\:origin-top {\n transform-origin: top !important;\n }\n .sm\\:origin-top-right {\n transform-origin: top right !important;\n }\n .sm\\:origin-right {\n transform-origin: right !important;\n }\n .sm\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .sm\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .sm\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .sm\\:origin-left {\n transform-origin: left !important;\n }\n .sm\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@media screen and (min-width: 768px) {\n .md\\:origin-center {\n transform-origin: center !important;\n }\n .md\\:origin-top {\n transform-origin: top !important;\n }\n .md\\:origin-top-right {\n transform-origin: top right !important;\n }\n .md\\:origin-right {\n transform-origin: right !important;\n }\n .md\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .md\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .md\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .md\\:origin-left {\n transform-origin: left !important;\n }\n .md\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@media screen and (min-width: 992px) {\n .lg\\:origin-center {\n transform-origin: center !important;\n }\n .lg\\:origin-top {\n transform-origin: top !important;\n }\n .lg\\:origin-top-right {\n transform-origin: top right !important;\n }\n .lg\\:origin-right {\n transform-origin: right !important;\n }\n .lg\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .lg\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .lg\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .lg\\:origin-left {\n transform-origin: left !important;\n }\n .lg\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@media screen and (min-width: 1200px) {\n .xl\\:origin-center {\n transform-origin: center !important;\n }\n .xl\\:origin-top {\n transform-origin: top !important;\n }\n .xl\\:origin-top-right {\n transform-origin: top right !important;\n }\n .xl\\:origin-right {\n transform-origin: right !important;\n }\n .xl\\:origin-bottom-right {\n transform-origin: bottom right !important;\n }\n .xl\\:origin-bottom {\n transform-origin: bottom !important;\n }\n .xl\\:origin-bottom-left {\n transform-origin: bottom left !important;\n }\n .xl\\:origin-left {\n transform-origin: left !important;\n }\n .xl\\:origin-top-left {\n transform-origin: top-left !important;\n }\n}\n@-webkit-keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@keyframes fadein {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n}\n@-webkit-keyframes fadeout {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n@keyframes fadeout {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n@-webkit-keyframes scalein {\n 0% {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: scaleY(1);\n }\n}\n@keyframes scalein {\n 0% {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: scaleY(1);\n }\n}\n@-webkit-keyframes slidedown {\n 0% {\n max-height: 0;\n }\n 100% {\n max-height: auto;\n }\n}\n@keyframes slidedown {\n 0% {\n max-height: 0;\n }\n 100% {\n max-height: auto;\n }\n}\n@-webkit-keyframes slideup {\n 0% {\n max-height: 1000px;\n }\n 100% {\n max-height: 0;\n }\n}\n@keyframes slideup {\n 0% {\n max-height: 1000px;\n }\n 100% {\n max-height: 0;\n }\n}\n@-webkit-keyframes fadeinleft {\n 0% {\n opacity: 0;\n transform: translateX(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@keyframes fadeinleft {\n 0% {\n opacity: 0;\n transform: translateX(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@-webkit-keyframes fadeoutleft {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(-100%);\n }\n}\n@keyframes fadeoutleft {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(-100%);\n }\n}\n@-webkit-keyframes fadeinright {\n 0% {\n opacity: 0;\n transform: translateX(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@keyframes fadeinright {\n 0% {\n opacity: 0;\n transform: translateX(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateX(0%);\n }\n}\n@-webkit-keyframes fadeoutright {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(100%);\n }\n}\n@keyframes fadeoutright {\n 0% {\n opacity: 1;\n transform: translateX(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateX(100%);\n }\n}\n@-webkit-keyframes fadeinup {\n 0% {\n opacity: 0;\n transform: translateY(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@keyframes fadeinup {\n 0% {\n opacity: 0;\n transform: translateY(-100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@-webkit-keyframes fadeoutup {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(-100%);\n }\n}\n@keyframes fadeoutup {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(-100%);\n }\n}\n@-webkit-keyframes fadeindown {\n 0% {\n opacity: 0;\n transform: translateY(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@keyframes fadeindown {\n 0% {\n opacity: 0;\n transform: translateY(100%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 1;\n transform: translateY(0%);\n }\n}\n@-webkit-keyframes fadeoutdown {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(100%);\n }\n}\n@keyframes fadeoutdown {\n 0% {\n opacity: 1;\n transform: translateY(0%);\n transition: transform 0.12s cubic-bezier(0, 0, 0.2, 1), opacity 0.12s cubic-bezier(0, 0, 0.2, 1);\n }\n 100% {\n opacity: 0;\n transform: translateY(100%);\n }\n}\n@-webkit-keyframes animate-width {\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n}\n@keyframes animate-width {\n 0% {\n width: 0;\n }\n 100% {\n width: 100%;\n }\n}\n.fadein {\n -webkit-animation: fadein 0.15s linear;\n animation: fadein 0.15s linear;\n}\n\n.fadeout {\n -webkit-animation: fadeout 0.15s linear;\n animation: fadeout 0.15s linear;\n}\n\n.slidedown {\n -webkit-animation: slidedown 0.45s ease-in-out;\n animation: slidedown 0.45s ease-in-out;\n}\n\n.slideup {\n -webkit-animation: slideup 0.45s cubic-bezier(0, 1, 0, 1);\n animation: slideup 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.scalein {\n -webkit-animation: scalein 0.15s linear;\n animation: scalein 0.15s linear;\n}\n\n.fadeinleft {\n -webkit-animation: fadeinleft 0.15s linear;\n animation: fadeinleft 0.15s linear;\n}\n\n.fadeoutleft {\n -webkit-animation: fadeoutleft 0.15s linear;\n animation: fadeoutleft 0.15s linear;\n}\n\n.fadeinright {\n -webkit-animation: fadeinright 0.15s linear;\n animation: fadeinright 0.15s linear;\n}\n\n.fadeoutright {\n -webkit-animation: fadeoutright 0.15s linear;\n animation: fadeoutright 0.15s linear;\n}\n\n.fadeinup {\n -webkit-animation: fadeinup 0.15s linear;\n animation: fadeinup 0.15s linear;\n}\n\n.fadeoutup {\n -webkit-animation: fadeoutup 0.15s linear;\n animation: fadeoutup 0.15s linear;\n}\n\n.fadeindown {\n -webkit-animation: fadeindown 0.15s linear;\n animation: fadeindown 0.15s linear;\n}\n\n.fadeoutdown {\n -webkit-animation: fadeoutdown 0.15s linear;\n animation: fadeoutdown 0.15s linear;\n}\n\n.animate-width {\n -webkit-animation: animate-width 1000ms linear;\n animation: animate-width 1000ms linear;\n}\n\n.animation-duration-100 {\n -webkit-animation-duration: 100ms !important;\n animation-duration: 100ms !important;\n}\n\n.animation-duration-150 {\n -webkit-animation-duration: 150ms !important;\n animation-duration: 150ms !important;\n}\n\n.animation-duration-200 {\n -webkit-animation-duration: 200ms !important;\n animation-duration: 200ms !important;\n}\n\n.animation-duration-300 {\n -webkit-animation-duration: 300ms !important;\n animation-duration: 300ms !important;\n}\n\n.animation-duration-400 {\n -webkit-animation-duration: 400ms !important;\n animation-duration: 400ms !important;\n}\n\n.animation-duration-500 {\n -webkit-animation-duration: 500ms !important;\n animation-duration: 500ms !important;\n}\n\n.animation-duration-1000 {\n -webkit-animation-duration: 1000ms !important;\n animation-duration: 1000ms !important;\n}\n\n.animation-duration-2000 {\n -webkit-animation-duration: 2000ms !important;\n animation-duration: 2000ms !important;\n}\n\n.animation-duration-3000 {\n -webkit-animation-duration: 3000ms !important;\n animation-duration: 3000ms !important;\n}\n\n.animation-delay-100 {\n -webkit-animation-delay: 100ms !important;\n animation-delay: 100ms !important;\n}\n\n.animation-delay-150 {\n -webkit-animation-delay: 150ms !important;\n animation-delay: 150ms !important;\n}\n\n.animation-delay-200 {\n -webkit-animation-delay: 200ms !important;\n animation-delay: 200ms !important;\n}\n\n.animation-delay-300 {\n -webkit-animation-delay: 300ms !important;\n animation-delay: 300ms !important;\n}\n\n.animation-delay-400 {\n -webkit-animation-delay: 400ms !important;\n animation-delay: 400ms !important;\n}\n\n.animation-delay-500 {\n -webkit-animation-delay: 500ms !important;\n animation-delay: 500ms !important;\n}\n\n.animation-delay-1000 {\n -webkit-animation-delay: 1000ms !important;\n animation-delay: 1000ms !important;\n}\n\n.animation-iteration-1 {\n -webkit-animation-iteration-count: 1 !important;\n animation-iteration-count: 1 !important;\n}\n\n.animation-iteration-2 {\n -webkit-animation-iteration-count: 2 !important;\n animation-iteration-count: 2 !important;\n}\n\n.animation-iteration-infinite {\n -webkit-animation-iteration-count: infinite !important;\n animation-iteration-count: infinite !important;\n}\n\n.animation-linear {\n -webkit-animation-timing-function: linear !important;\n animation-timing-function: linear !important;\n}\n\n.animation-ease-in {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;\n animation-timing-function: cubic-bezier(0.4, 0, 1, 1) !important;\n}\n\n.animation-ease-out {\n -webkit-animation-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;\n animation-timing-function: cubic-bezier(0, 0, 0.2, 1) !important;\n}\n\n.animation-ease-in-out {\n -webkit-animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;\n}\n\n.animation-fill-none {\n -webkit-animation-fill-mode: none !important;\n animation-fill-mode: none !important;\n}\n\n.animation-fill-forwards {\n -webkit-animation-fill-mode: forwards !important;\n animation-fill-mode: forwards !important;\n}\n\n.animation-fill-backwards {\n -webkit-animation-fill-mode: backwards !important;\n animation-fill-mode: backwards !important;\n}\n\n.animation-fill-both {\n -webkit-animation-fill-mode: both !important;\n animation-fill-mode: both !important;\n}\n", ""]);
  19601. // Exports
  19602. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19603. /***/ }),
  19604. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeicons/primeicons.css":
  19605. /*!********************************************************************************************************************************************************************************!*\
  19606. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeicons/primeicons.css ***!
  19607. \********************************************************************************************************************************************************************************/
  19608. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19609. "use strict";
  19610. __webpack_require__.r(__webpack_exports__);
  19611. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19612. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19613. /* harmony export */ });
  19614. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19615. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19616. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js");
  19617. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__);
  19618. /* harmony import */ var _fonts_primeicons_eot__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fonts/primeicons.eot */ "./node_modules/primeicons/fonts/primeicons.eot");
  19619. /* harmony import */ var _fonts_primeicons_ttf__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fonts/primeicons.ttf */ "./node_modules/primeicons/fonts/primeicons.ttf");
  19620. /* harmony import */ var _fonts_primeicons_woff__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fonts/primeicons.woff */ "./node_modules/primeicons/fonts/primeicons.woff");
  19621. /* harmony import */ var _fonts_primeicons_svg__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fonts/primeicons.svg */ "./node_modules/primeicons/fonts/primeicons.svg");
  19622. // Imports
  19623. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19624. var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_eot__WEBPACK_IMPORTED_MODULE_2__["default"]);
  19625. var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_eot__WEBPACK_IMPORTED_MODULE_2__["default"], { hash: "?#iefix" });
  19626. var ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_ttf__WEBPACK_IMPORTED_MODULE_3__["default"]);
  19627. var ___CSS_LOADER_URL_REPLACEMENT_3___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_woff__WEBPACK_IMPORTED_MODULE_4__["default"]);
  19628. var ___CSS_LOADER_URL_REPLACEMENT_4___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_primeicons_svg__WEBPACK_IMPORTED_MODULE_5__["default"], { hash: "?#primeicons" });
  19629. // Module
  19630. ___CSS_LOADER_EXPORT___.push([module.id, "@font-face {\n font-family: 'primeicons';\n font-display: block;\n src: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n src: url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") format('embedded-opentype'), url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") format('truetype'), url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") format('woff'), url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") format('svg');\n font-weight: normal;\n font-style: normal;\n}\n\n.pi {\n font-family: 'primeicons';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n display: inline-block;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.pi:before {\n --webkit-backface-visibility:hidden;\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n}\n\n.pi-fw {\n width: 1.28571429em;\n text-align: center;\n}\n\n.pi-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(359deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(359deg);\n }\n}\n\n.pi-sort-alt-slash:before {\n content: \"\\e9ee\";\n}\n\n.pi-arrows-h:before {\n content: \"\\e9ec\";\n}\n\n.pi-arrows-v:before {\n content: \"\\e9ed\";\n}\n\n.pi-pound:before {\n content: \"\\e9eb\";\n}\n\n.pi-prime:before {\n content: \"\\e9ea\";\n}\n\n.pi-chart-pie:before {\n content: \"\\e9e9\";\n}\n\n.pi-reddit:before {\n content: \"\\e9e8\";\n}\n\n.pi-code:before {\n content: \"\\e9e7\";\n}\n\n.pi-sync:before {\n content: \"\\e9e6\";\n}\n\n.pi-shopping-bag:before {\n content: \"\\e9e5\";\n}\n\n.pi-server:before {\n content: \"\\e9e4\";\n}\n\n.pi-database:before {\n content: \"\\e9e3\";\n}\n\n.pi-hashtag:before {\n content: \"\\e9e2\";\n}\n\n.pi-bookmark-fill:before {\n content: \"\\e9df\";\n}\n\n.pi-filter-fill:before {\n content: \"\\e9e0\";\n}\n\n.pi-heart-fill:before {\n content: \"\\e9e1\";\n}\n\n.pi-flag-fill:before {\n content: \"\\e9de\";\n}\n\n.pi-circle:before {\n content: \"\\e9dc\";\n}\n\n.pi-circle-fill:before {\n content: \"\\e9dd\";\n}\n\n.pi-bolt:before {\n content: \"\\e9db\";\n}\n\n.pi-history:before {\n content: \"\\e9da\";\n}\n\n.pi-box:before {\n content: \"\\e9d9\";\n}\n\n.pi-at:before {\n content: \"\\e9d8\";\n}\n\n.pi-arrow-up-right:before {\n content: \"\\e9d4\";\n}\n\n.pi-arrow-up-left:before {\n content: \"\\e9d5\";\n}\n\n.pi-arrow-down-left:before {\n content: \"\\e9d6\";\n}\n\n.pi-arrow-down-right:before {\n content: \"\\e9d7\";\n}\n\n.pi-telegram:before {\n content: \"\\e9d3\";\n}\n\n.pi-stop-circle:before {\n content: \"\\e9d2\";\n}\n\n.pi-stop:before {\n content: \"\\e9d1\";\n}\n\n.pi-whatsapp:before {\n content: \"\\e9d0\";\n}\n\n.pi-building:before {\n content: \"\\e9cf\";\n}\n\n.pi-qrcode:before {\n content: \"\\e9ce\";\n}\n\n.pi-car:before {\n content: \"\\e9cd\";\n}\n\n.pi-instagram:before {\n content: \"\\e9cc\";\n}\n\n.pi-linkedin:before {\n content: \"\\e9cb\";\n}\n\n.pi-send:before {\n content: \"\\e9ca\";\n}\n\n.pi-slack:before {\n content: \"\\e9c9\";\n}\n\n.pi-sun:before {\n content: \"\\e9c8\";\n}\n\n.pi-moon:before {\n content: \"\\e9c7\";\n}\n\n.pi-vimeo:before {\n content: \"\\e9c6\";\n}\n\n.pi-youtube:before {\n content: \"\\e9c5\";\n}\n\n.pi-flag:before {\n content: \"\\e9c4\";\n}\n\n.pi-wallet:before {\n content: \"\\e9c3\";\n}\n\n.pi-map:before {\n content: \"\\e9c2\";\n}\n\n.pi-link:before {\n content: \"\\e9c1\";\n}\n\n.pi-credit-card:before {\n content: \"\\e9bf\";\n}\n\n.pi-discord:before {\n content: \"\\e9c0\";\n}\n\n.pi-percentage:before {\n content: \"\\e9be\";\n}\n\n.pi-euro:before {\n content: \"\\e9bd\";\n}\n\n.pi-book:before {\n content: \"\\e9ba\";\n}\n\n.pi-shield:before {\n content: \"\\e9b9\";\n}\n\n.pi-paypal:before {\n content: \"\\e9bb\";\n}\n\n.pi-amazon:before {\n content: \"\\e9bc\";\n}\n\n.pi-phone:before {\n content: \"\\e9b8\";\n}\n\n.pi-filter-slash:before {\n content: \"\\e9b7\";\n}\n\n.pi-facebook:before {\n content: \"\\e9b4\";\n}\n\n.pi-github:before {\n content: \"\\e9b5\";\n}\n\n.pi-twitter:before {\n content: \"\\e9b6\";\n}\n\n.pi-step-backward-alt:before {\n content: \"\\e9ac\";\n}\n\n.pi-step-forward-alt:before {\n content: \"\\e9ad\";\n}\n\n.pi-forward:before {\n content: \"\\e9ae\";\n}\n\n.pi-backward:before {\n content: \"\\e9af\";\n}\n\n.pi-fast-backward:before {\n content: \"\\e9b0\";\n}\n\n.pi-fast-forward:before {\n content: \"\\e9b1\";\n}\n\n.pi-pause:before {\n content: \"\\e9b2\";\n}\n\n.pi-play:before {\n content: \"\\e9b3\";\n}\n\n.pi-compass:before {\n content: \"\\e9ab\";\n}\n\n.pi-id-card:before {\n content: \"\\e9aa\";\n}\n\n.pi-ticket:before {\n content: \"\\e9a9\";\n}\n\n.pi-file-o:before {\n content: \"\\e9a8\";\n}\n\n.pi-reply:before {\n content: \"\\e9a7\";\n}\n\n.pi-directions-alt:before {\n content: \"\\e9a5\";\n}\n\n.pi-directions:before {\n content: \"\\e9a6\";\n}\n\n.pi-thumbs-up:before {\n content: \"\\e9a3\";\n}\n\n.pi-thumbs-down:before {\n content: \"\\e9a4\";\n}\n\n.pi-sort-numeric-down-alt:before {\n content: \"\\e996\";\n}\n\n.pi-sort-numeric-up-alt:before {\n content: \"\\e997\";\n}\n\n.pi-sort-alpha-down-alt:before {\n content: \"\\e998\";\n}\n\n.pi-sort-alpha-up-alt:before {\n content: \"\\e999\";\n}\n\n.pi-sort-numeric-down:before {\n content: \"\\e99a\";\n}\n\n.pi-sort-numeric-up:before {\n content: \"\\e99b\";\n}\n\n.pi-sort-alpha-down:before {\n content: \"\\e99c\";\n}\n\n.pi-sort-alpha-up:before {\n content: \"\\e99d\";\n}\n\n.pi-sort-alt:before {\n content: \"\\e99e\";\n}\n\n.pi-sort-amount-up:before {\n content: \"\\e99f\";\n}\n\n.pi-sort-amount-down:before {\n content: \"\\e9a0\";\n}\n\n.pi-sort-amount-down-alt:before {\n content: \"\\e9a1\";\n}\n\n.pi-sort-amount-up-alt:before {\n content: \"\\e9a2\";\n}\n\n.pi-palette:before {\n content: \"\\e995\";\n}\n\n.pi-undo:before {\n content: \"\\e994\";\n}\n\n.pi-desktop:before {\n content: \"\\e993\";\n}\n\n.pi-sliders-v:before {\n content: \"\\e991\";\n}\n\n.pi-sliders-h:before {\n content: \"\\e992\";\n}\n\n.pi-search-plus:before {\n content: \"\\e98f\";\n}\n\n.pi-search-minus:before {\n content: \"\\e990\";\n}\n\n.pi-file-excel:before {\n content: \"\\e98e\";\n}\n\n.pi-file-pdf:before {\n content: \"\\e98d\";\n}\n\n.pi-check-square:before {\n content: \"\\e98c\";\n}\n\n.pi-chart-line:before {\n content: \"\\e98b\";\n}\n\n.pi-user-edit:before {\n content: \"\\e98a\";\n}\n\n.pi-exclamation-circle:before {\n content: \"\\e989\";\n}\n\n.pi-android:before {\n content: \"\\e985\";\n}\n\n.pi-google:before {\n content: \"\\e986\";\n}\n\n.pi-apple:before {\n content: \"\\e987\";\n}\n\n.pi-microsoft:before {\n content: \"\\e988\";\n}\n\n.pi-heart:before {\n content: \"\\e984\";\n}\n\n.pi-mobile:before {\n content: \"\\e982\";\n}\n\n.pi-tablet:before {\n content: \"\\e983\";\n}\n\n.pi-key:before {\n content: \"\\e981\";\n}\n\n.pi-shopping-cart:before {\n content: \"\\e980\";\n}\n\n.pi-comments:before {\n content: \"\\e97e\";\n}\n\n.pi-comment:before {\n content: \"\\e97f\";\n}\n\n.pi-briefcase:before {\n content: \"\\e97d\";\n}\n\n.pi-bell:before {\n content: \"\\e97c\";\n}\n\n.pi-paperclip:before {\n content: \"\\e97b\";\n}\n\n.pi-share-alt:before {\n content: \"\\e97a\";\n}\n\n.pi-envelope:before {\n content: \"\\e979\";\n}\n\n.pi-volume-down:before {\n content: \"\\e976\";\n}\n\n.pi-volume-up:before {\n content: \"\\e977\";\n}\n\n.pi-volume-off:before {\n content: \"\\e978\";\n}\n\n.pi-eject:before {\n content: \"\\e975\";\n}\n\n.pi-money-bill:before {\n content: \"\\e974\";\n}\n\n.pi-images:before {\n content: \"\\e973\";\n}\n\n.pi-image:before {\n content: \"\\e972\";\n}\n\n.pi-sign-in:before {\n content: \"\\e970\";\n}\n\n.pi-sign-out:before {\n content: \"\\e971\";\n}\n\n.pi-wifi:before {\n content: \"\\e96f\";\n}\n\n.pi-sitemap:before {\n content: \"\\e96e\";\n}\n\n.pi-chart-bar:before {\n content: \"\\e96d\";\n}\n\n.pi-camera:before {\n content: \"\\e96c\";\n}\n\n.pi-dollar:before {\n content: \"\\e96b\";\n}\n\n.pi-lock-open:before {\n content: \"\\e96a\";\n}\n\n.pi-table:before {\n content: \"\\e969\";\n}\n\n.pi-map-marker:before {\n content: \"\\e968\";\n}\n\n.pi-list:before {\n content: \"\\e967\";\n}\n\n.pi-eye-slash:before {\n content: \"\\e965\";\n}\n\n.pi-eye:before {\n content: \"\\e966\";\n}\n\n.pi-folder-open:before {\n content: \"\\e964\";\n}\n\n.pi-folder:before {\n content: \"\\e963\";\n}\n\n.pi-video:before {\n content: \"\\e962\";\n}\n\n.pi-inbox:before {\n content: \"\\e961\";\n}\n\n.pi-lock:before {\n content: \"\\e95f\";\n}\n\n.pi-unlock:before {\n content: \"\\e960\";\n}\n\n.pi-tags:before {\n content: \"\\e95d\";\n}\n\n.pi-tag:before {\n content: \"\\e95e\";\n}\n\n.pi-power-off:before {\n content: \"\\e95c\";\n}\n\n.pi-save:before {\n content: \"\\e95b\";\n}\n\n.pi-question-circle:before {\n content: \"\\e959\";\n}\n\n.pi-question:before {\n content: \"\\e95a\";\n}\n\n.pi-copy:before {\n content: \"\\e957\";\n}\n\n.pi-file:before {\n content: \"\\e958\";\n}\n\n.pi-clone:before {\n content: \"\\e955\";\n}\n\n.pi-calendar-times:before {\n content: \"\\e952\";\n}\n\n.pi-calendar-minus:before {\n content: \"\\e953\";\n}\n\n.pi-calendar-plus:before {\n content: \"\\e954\";\n}\n\n.pi-ellipsis-v:before {\n content: \"\\e950\";\n}\n\n.pi-ellipsis-h:before {\n content: \"\\e951\";\n}\n\n.pi-bookmark:before {\n content: \"\\e94e\";\n}\n\n.pi-globe:before {\n content: \"\\e94f\";\n}\n\n.pi-replay:before {\n content: \"\\e94d\";\n}\n\n.pi-filter:before {\n content: \"\\e94c\";\n}\n\n.pi-print:before {\n content: \"\\e94b\";\n}\n\n.pi-align-right:before {\n content: \"\\e946\";\n}\n\n.pi-align-left:before {\n content: \"\\e947\";\n}\n\n.pi-align-center:before {\n content: \"\\e948\";\n}\n\n.pi-align-justify:before {\n content: \"\\e949\";\n}\n\n.pi-cog:before {\n content: \"\\e94a\";\n}\n\n.pi-cloud-download:before {\n content: \"\\e943\";\n}\n\n.pi-cloud-upload:before {\n content: \"\\e944\";\n}\n\n.pi-cloud:before {\n content: \"\\e945\";\n}\n\n.pi-pencil:before {\n content: \"\\e942\";\n}\n\n.pi-users:before {\n content: \"\\e941\";\n}\n\n.pi-clock:before {\n content: \"\\e940\";\n}\n\n.pi-user-minus:before {\n content: \"\\e93e\";\n}\n\n.pi-user-plus:before {\n content: \"\\e93f\";\n}\n\n.pi-trash:before {\n content: \"\\e93d\";\n}\n\n.pi-external-link:before {\n content: \"\\e93c\";\n}\n\n.pi-window-maximize:before {\n content: \"\\e93b\";\n}\n\n.pi-window-minimize:before {\n content: \"\\e93a\";\n}\n\n.pi-refresh:before {\n content: \"\\e938\";\n}\n \n.pi-user:before {\n content: \"\\e939\";\n}\n\n.pi-exclamation-triangle:before {\n content: \"\\e922\";\n}\n\n.pi-calendar:before {\n content: \"\\e927\";\n}\n\n.pi-chevron-circle-left:before {\n content: \"\\e928\";\n}\n\n.pi-chevron-circle-down:before {\n content: \"\\e929\";\n}\n\n.pi-chevron-circle-right:before {\n content: \"\\e92a\";\n}\n\n.pi-chevron-circle-up:before {\n content: \"\\e92b\";\n}\n\n.pi-angle-double-down:before {\n content: \"\\e92c\";\n}\n\n.pi-angle-double-left:before {\n content: \"\\e92d\";\n}\n\n.pi-angle-double-right:before {\n content: \"\\e92e\";\n}\n\n.pi-angle-double-up:before {\n content: \"\\e92f\";\n}\n\n.pi-angle-down:before {\n content: \"\\e930\";\n}\n\n.pi-angle-left:before {\n content: \"\\e931\";\n}\n\n.pi-angle-right:before {\n content: \"\\e932\";\n}\n\n.pi-angle-up:before {\n content: \"\\e933\";\n}\n\n.pi-upload:before {\n content: \"\\e934\";\n}\n\n.pi-download:before {\n content: \"\\e956\";\n}\n\n.pi-ban:before {\n content: \"\\e935\";\n}\n\n.pi-star-fill:before {\n content: \"\\e936\";\n}\n\n.pi-star:before {\n content: \"\\e937\";\n}\n\n.pi-chevron-left:before {\n content: \"\\e900\";\n}\n\n.pi-chevron-right:before {\n content: \"\\e901\";\n}\n\n.pi-chevron-down:before {\n content: \"\\e902\";\n}\n\n.pi-chevron-up:before {\n content: \"\\e903\";\n}\n\n.pi-caret-left:before {\n content: \"\\e904\";\n}\n\n.pi-caret-right:before {\n content: \"\\e905\";\n}\n\n.pi-caret-down:before {\n content: \"\\e906\";\n}\n\n.pi-caret-up:before {\n content: \"\\e907\";\n}\n\n.pi-search:before {\n content: \"\\e908\";\n}\n\n.pi-check:before {\n content: \"\\e909\";\n}\n\n.pi-check-circle:before {\n content: \"\\e90a\";\n}\n\n.pi-times:before {\n content: \"\\e90b\";\n}\n\n.pi-times-circle:before {\n content: \"\\e90c\";\n}\n\n.pi-plus:before {\n content: \"\\e90d\";\n}\n\n.pi-plus-circle:before {\n content: \"\\e90e\";\n}\n\n.pi-minus:before {\n content: \"\\e90f\";\n}\n\n.pi-minus-circle:before {\n content: \"\\e910\";\n}\n\n.pi-circle-on:before {\n content: \"\\e911\";\n}\n\n.pi-circle-off:before {\n content: \"\\e912\";\n}\n\n.pi-sort-down:before {\n content: \"\\e913\";\n}\n\n.pi-sort-up:before {\n content: \"\\e914\";\n}\n\n.pi-sort:before {\n content: \"\\e915\";\n}\n\n.pi-step-backward:before {\n content: \"\\e916\";\n}\n\n.pi-step-forward:before {\n content: \"\\e917\";\n}\n\n.pi-th-large:before {\n content: \"\\e918\";\n}\n\n.pi-arrow-down:before {\n content: \"\\e919\";\n}\n\n.pi-arrow-left:before {\n content: \"\\e91a\";\n}\n\n.pi-arrow-right:before {\n content: \"\\e91b\";\n}\n\n.pi-arrow-up:before {\n content: \"\\e91c\";\n}\n\n.pi-bars:before {\n content: \"\\e91d\";\n}\n\n.pi-arrow-circle-down:before {\n content: \"\\e91e\";\n}\n\n.pi-arrow-circle-left:before {\n content: \"\\e91f\";\n}\n\n.pi-arrow-circle-right:before {\n content: \"\\e920\";\n}\n\n.pi-arrow-circle-up:before {\n content: \"\\e921\";\n}\n\n.pi-info:before {\n content: \"\\e923\";\n}\n\n.pi-info-circle:before {\n content: \"\\e924\";\n}\n\n.pi-home:before {\n content: \"\\e925\";\n}\n\n.pi-spinner:before {\n content: \"\\e926\";\n}\n", ""]);
  19631. // Exports
  19632. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19633. /***/ }),
  19634. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/primevue.min.css":
  19635. /*!******************************************************************************************************************************************************************************************!*\
  19636. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/primevue.min.css ***!
  19637. \******************************************************************************************************************************************************************************************/
  19638. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19639. "use strict";
  19640. __webpack_require__.r(__webpack_exports__);
  19641. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19642. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19643. /* harmony export */ });
  19644. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19645. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19646. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js");
  19647. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__);
  19648. /* harmony import */ var _images_color_png__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./images/color.png */ "./node_modules/primevue/resources/images/color.png");
  19649. /* harmony import */ var _images_hue_png__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./images/hue.png */ "./node_modules/primevue/resources/images/hue.png");
  19650. // Imports
  19651. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19652. var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_images_color_png__WEBPACK_IMPORTED_MODULE_2__["default"]);
  19653. var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_images_hue_png__WEBPACK_IMPORTED_MODULE_3__["default"]);
  19654. // Module
  19655. ___CSS_LOADER_EXPORT___.push([module.id, ".p-component,.p-component *{box-sizing:border-box}.p-hidden{display:none}.p-hidden-space{visibility:hidden}.p-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.p-hidden-accessible input,.p-hidden-accessible select{transform:scale(0)}.p-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none}.p-disabled,.p-disabled *{cursor:default !important;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-component-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.p-overflow-hidden{overflow:hidden}.p-unselectable-text{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-scrollbar-measure{width:100px;height:100px;overflow:scroll;position:absolute;top:-9999px}@-webkit-keyframes p-fadein{0%{opacity:0}100%{opacity:1}}@keyframes p-fadein{0%{opacity:0}100%{opacity:1}}input[type=\"button\"],input[type=\"submit\"],input[type=\"reset\"],input[type=\"file\"]::-webkit-file-upload-button,button{border-radius:0}.p-link{text-align:left;background-color:transparent;margin:0;padding:0;border:0;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.p-link:disabled{cursor:default}.p-connected-overlay{opacity:0;transform:scaleY(0.8);transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-visible{opacity:1;transform:scaleY(1)}.p-connected-overlay-hidden{opacity:0;transform:scaleY(1);transition:opacity .1s linear}.p-connected-overlay-enter-from{opacity:0;transform:scaleY(0.8)}.p-connected-overlay-leave-to{opacity:0}.p-connected-overlay-enter-active{transition:transform .12s cubic-bezier(0,0,0.2,1),opacity .12s cubic-bezier(0,0,0.2,1)}.p-connected-overlay-leave-active{transition:opacity .1s linear}.p-toggleable-content-enter-from,.p-toggleable-content-leave-to{max-height:0}.p-toggleable-content-enter-to,.p-toggleable-content-leave-from{max-height:1000px}.p-toggleable-content-leave-active{overflow:hidden;transition:max-height .45s cubic-bezier(0,1,0,1)}.p-toggleable-content-enter-active{overflow:hidden;transition:max-height 1s ease-in-out}.p-sr-only{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal !important}.p-badge{display:inline-block;border-radius:10px;text-align:center;padding:0 .5rem}.p-overlay-badge{position:relative}.p-overlay-badge .p-badge{position:absolute;top:0;right:0;transform:translate(50%,-50%);transform-origin:100% 0;margin:0}.p-badge-dot{width:.5rem;min-width:.5rem;height:.5rem;border-radius:50%;padding:0}.p-badge-no-gutter{padding:0;border-radius:50%}.p-button{margin:0;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-items:center;vertical-align:bottom;text-align:center;overflow:hidden;position:relative}.p-button-label{flex:1 1 auto}.p-button-icon-right{order:1}.p-button:disabled{cursor:default}.p-button-icon-only{justify-content:center}.p-button-icon-only .p-button-label{visibility:hidden;width:0;flex:0 0 auto}.p-button-vertical{flex-direction:column}.p-button-icon-bottom{order:2}.p-buttonset .p-button{margin:0}.p-buttonset .p-button:not(:last-child){border-right:0 none}.p-buttonset .p-button:not(:first-of-type):not(:last-of-type){border-radius:0}.p-buttonset .p-button:first-of-type{border-top-right-radius:0;border-bottom-right-radius:0}.p-buttonset .p-button:last-of-type{border-top-left-radius:0;border-bottom-left-radius:0}.p-buttonset .p-button:focus{position:relative;z-index:1}.p-button-label{transition:all .2s}.p-checkbox{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom;position:relative}.p-checkbox-box{display:flex;justify-content:center;align-items:center}.p-colorpicker-panel .p-colorpicker-color{background:transparent url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") no-repeat left top}.p-colorpicker-panel .p-colorpicker-hue{background:transparent url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") no-repeat left top}.p-inputtext{margin:0}.p-fluid .p-inputtext{width:100%}.p-inputgroup{display:flex;align-items:stretch;width:100%}.p-inputgroup-addon{display:flex;align-items:center;justify-content:center}.p-inputgroup .p-float-label{display:flex;align-items:stretch;width:100%}.p-inputgroup .p-inputtext,.p-fluid .p-inputgroup .p-inputtext,.p-inputgroup .p-inputwrapper,.p-fluid .p-inputgroup .p-input{flex:1 1 auto;width:1%}.p-float-label{display:block;position:relative}.p-float-label label{position:absolute;pointer-events:none;top:50%;margin-top:-.5rem;transition-property:all;transition-timing-function:ease;line-height:1}.p-float-label textarea ~ label{top:1rem}.p-float-label input:focus ~ label,.p-float-label input.p-filled ~ label,.p-float-label textarea:focus ~ label,.p-float-label textarea.p-filled ~ label,.p-float-label .p-inputwrapper-focus ~ label,.p-float-label .p-inputwrapper-filled ~ label{top:-.75rem;font-size:12px}.p-float-label .input:-webkit-autofill ~ label{top:-20px;font-size:12px}.p-input-icon-left,.p-input-icon-right{position:relative;display:inline-block}.p-input-icon-left>i,.p-input-icon-right>i{position:absolute;top:50%;margin-top:-.5rem}.p-fluid .p-input-icon-left,.p-fluid .p-input-icon-right{display:block;width:100%}.p-radiobutton{display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:bottom}.p-radiobutton-box{display:flex;justify-content:center;align-items:center}.p-radiobutton-icon{-webkit-backface-visibility:hidden;backface-visibility:hidden;transform:translateZ(0) scale(.1);border-radius:50%;visibility:hidden}.p-radiobutton-box.p-highlight .p-radiobutton-icon{transform:translateZ(0) scale(1.0,1.0);visibility:visible}.p-ripple{overflow:hidden;position:relative}.p-ink{display:block;position:absolute;background:rgba(255,255,255,0.5);border-radius:100%;transform:scale(0)}.p-ink-active{-webkit-animation:ripple .4s linear;animation:ripple .4s linear}.p-ripple-disabled .p-ink{display:none !important}@-webkit-keyframes ripple{100%{opacity:0;transform:scale(2.5)}}@keyframes ripple{100%{opacity:0;transform:scale(2.5)}}.p-tooltip{position:absolute;display:none;padding:.25em .5rem;max-width:12.5rem}.p-tooltip.p-tooltip-right,.p-tooltip.p-tooltip-left{padding:0 .25rem}.p-tooltip.p-tooltip-top,.p-tooltip.p-tooltip-bottom{padding:.25em 0}.p-tooltip .p-tooltip-text{white-space:pre-line;word-break:break-word}.p-tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.p-tooltip-right .p-tooltip-arrow{top:50%;left:0;margin-top:-.25rem;border-width:.25em .25em .25em 0}.p-tooltip-left .p-tooltip-arrow{top:50%;right:0;margin-top:-.25rem;border-width:.25em 0 .25em .25rem}.p-tooltip.p-tooltip-top{padding:.25em 0}.p-tooltip-top .p-tooltip-arrow{bottom:0;left:50%;margin-left:-.25rem;border-width:.25em .25em 0}.p-tooltip-bottom .p-tooltip-arrow{top:0;left:50%;margin-left:-.25rem;border-width:0 .25em .25rem}", ""]);
  19656. // Exports
  19657. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19658. /***/ }),
  19659. /***/ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/themes/tailwind-light/theme.css":
  19660. /*!*********************************************************************************************************************************************************************************************************!*\
  19661. !*** ./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/themes/tailwind-light/theme.css ***!
  19662. \*********************************************************************************************************************************************************************************************************/
  19663. /***/ ((module, __webpack_exports__, __webpack_require__) => {
  19664. "use strict";
  19665. __webpack_require__.r(__webpack_exports__);
  19666. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19667. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19668. /* harmony export */ });
  19669. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
  19670. /* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0__);
  19671. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js");
  19672. /* harmony import */ var _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1__);
  19673. /* harmony import */ var _fonts_Inter_Light_woff2__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./fonts/Inter-Light.woff2 */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Light.woff2");
  19674. /* harmony import */ var _fonts_Inter_Light_woff__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./fonts/Inter-Light.woff */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Light.woff");
  19675. /* harmony import */ var _fonts_Inter_Regular_woff2__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./fonts/Inter-Regular.woff2 */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Regular.woff2");
  19676. /* harmony import */ var _fonts_Inter_Regular_woff__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./fonts/Inter-Regular.woff */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Regular.woff");
  19677. /* harmony import */ var _fonts_Inter_Medium_woff2__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./fonts/Inter-Medium.woff2 */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Medium.woff2");
  19678. /* harmony import */ var _fonts_Inter_Medium_woff__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./fonts/Inter-Medium.woff */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Medium.woff");
  19679. /* harmony import */ var _fonts_Inter_SemiBold_woff2__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./fonts/Inter-SemiBold.woff2 */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2");
  19680. /* harmony import */ var _fonts_Inter_SemiBold_woff__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./fonts/Inter-SemiBold.woff */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff");
  19681. /* harmony import */ var _fonts_Inter_Bold_woff2__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./fonts/Inter-Bold.woff2 */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Bold.woff2");
  19682. /* harmony import */ var _fonts_Inter_Bold_woff__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./fonts/Inter-Bold.woff */ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Bold.woff");
  19683. // Imports
  19684. var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_0___default()(function(i){return i[1]});
  19685. var ___CSS_LOADER_URL_REPLACEMENT_0___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Light_woff2__WEBPACK_IMPORTED_MODULE_2__["default"]);
  19686. var ___CSS_LOADER_URL_REPLACEMENT_1___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Light_woff__WEBPACK_IMPORTED_MODULE_3__["default"]);
  19687. var ___CSS_LOADER_URL_REPLACEMENT_2___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Regular_woff2__WEBPACK_IMPORTED_MODULE_4__["default"]);
  19688. var ___CSS_LOADER_URL_REPLACEMENT_3___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Regular_woff__WEBPACK_IMPORTED_MODULE_5__["default"]);
  19689. var ___CSS_LOADER_URL_REPLACEMENT_4___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Medium_woff2__WEBPACK_IMPORTED_MODULE_6__["default"]);
  19690. var ___CSS_LOADER_URL_REPLACEMENT_5___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Medium_woff__WEBPACK_IMPORTED_MODULE_7__["default"]);
  19691. var ___CSS_LOADER_URL_REPLACEMENT_6___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_SemiBold_woff2__WEBPACK_IMPORTED_MODULE_8__["default"]);
  19692. var ___CSS_LOADER_URL_REPLACEMENT_7___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_SemiBold_woff__WEBPACK_IMPORTED_MODULE_9__["default"]);
  19693. var ___CSS_LOADER_URL_REPLACEMENT_8___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Bold_woff2__WEBPACK_IMPORTED_MODULE_10__["default"]);
  19694. var ___CSS_LOADER_URL_REPLACEMENT_9___ = _css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_1___default()(_fonts_Inter_Bold_woff__WEBPACK_IMPORTED_MODULE_11__["default"]);
  19695. // Module
  19696. ___CSS_LOADER_EXPORT___.push([module.id, ":root {\n --surface-a:#ffffff;\n --surface-b:#fafafa;\n --surface-c:#f4f4f5;\n --surface-d:#e5e7eb;\n --surface-e:#ffffff;\n --surface-f:#ffffff;\n --text-color:#3f3f46;\n --text-color-secondary:#71717A;\n --primary-color:#4F46E5;\n --primary-color-text:#ffffff;\n --font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;\n --surface-0: #ffffff;\n --surface-50: #FAFAFA;\n --surface-100: #F4F4F5;\n --surface-200: #E4E4E7;\n --surface-300: #D4D4D8;\n --surface-400: #A1A1AA;\n --surface-500: #71717A;\n --surface-600: #52525B;\n --surface-700: #3F3F46;\n --surface-800: #27272A;\n --surface-900: #18181B;\n --gray-50: #FAFAFA;\n --gray-100: #F4F4F5;\n --gray-200: #E4E4E7;\n --gray-300: #D4D4D8;\n --gray-400: #A1A1AA;\n --gray-500: #71717A;\n --gray-600: #52525B;\n --gray-700: #3F3F46;\n --gray-800: #27272A;\n --gray-900: #18181B;\n --content-padding:1.25rem;\n --inline-spacing:0.5rem;\n --border-radius:0.375rem;\n --surface-ground:#FAFAFA;\n --surface-section:#ffffff;\n --surface-card:#ffffff;\n --surface-overlay:#ffffff;\n --surface-border:#e5e7eb;\n --surface-hover: #f4f4f5;\n --focus-ring: 0 0 0 1px #6366F1;\n --maskbg: rgba(0, 0, 0, 0.4);\n}\n\n@font-face {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 300;\n src: local(\"\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_1___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n@font-face {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n src: local(\"\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_2___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_3___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n@font-face {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 500;\n src: local(\"\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_4___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_5___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n@font-face {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n src: local(\"\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_6___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_7___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n@font-face {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 700;\n src: local(\"\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_8___ + ") format(\"woff2\"), url(" + ___CSS_LOADER_URL_REPLACEMENT_9___ + ") format(\"woff\");\n /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */\n}\n* {\n box-sizing: border-box;\n}\n\n.p-component {\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n font-weight: normal;\n}\n\n.p-component-overlay {\n background-color: rgba(0, 0, 0, 0.4);\n transition-duration: 0.2s;\n}\n\n.p-disabled, .p-component:disabled {\n opacity: 0.6;\n}\n\n.p-error {\n color: #e24c4c;\n}\n\n.p-text-secondary {\n color: #71717A;\n}\n\n.pi {\n font-size: 1rem;\n}\n\n.p-link {\n font-size: 1rem;\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n border-radius: 0.375rem;\n}\n.p-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n.p-component-overlay-enter {\n -webkit-animation: p-component-overlay-enter-animation 150ms forwards;\n animation: p-component-overlay-enter-animation 150ms forwards;\n}\n\n.p-component-overlay-leave {\n -webkit-animation: p-component-overlay-leave-animation 150ms forwards;\n animation: p-component-overlay-leave-animation 150ms forwards;\n}\n\n@-webkit-keyframes p-component-overlay-enter-animation {\n from {\n background-color: transparent;\n }\n to {\n background-color: var(--maskbg);\n }\n}\n\n@keyframes p-component-overlay-enter-animation {\n from {\n background-color: transparent;\n }\n to {\n background-color: var(--maskbg);\n }\n}\n@-webkit-keyframes p-component-overlay-leave-animation {\n from {\n background-color: var(--maskbg);\n }\n to {\n background-color: transparent;\n }\n}\n@keyframes p-component-overlay-leave-animation {\n from {\n background-color: var(--maskbg);\n }\n to {\n background-color: transparent;\n }\n}\n\n:root {\n --blue-50:#f5f9ff;\n --blue-100:#d0e1fd;\n --blue-200:#abc9fb;\n --blue-300:#85b2f9;\n --blue-400:#609af8;\n --blue-500:#3b82f6;\n --blue-600:#326fd1;\n --blue-700:#295bac;\n --blue-800:#204887;\n --blue-900:#183462;\n --green-50:#f4fcf7;\n --green-100:#caf1d8;\n --green-200:#a0e6ba;\n --green-300:#76db9b;\n --green-400:#4cd07d;\n --green-500:#22c55e;\n --green-600:#1da750;\n --green-700:#188a42;\n --green-800:#136c34;\n --green-900:#0e4f26;\n --yellow-50:#fefbf3;\n --yellow-100:#faedc4;\n --yellow-200:#f6de95;\n --yellow-300:#f2d066;\n --yellow-400:#eec137;\n --yellow-500:#eab308;\n --yellow-600:#c79807;\n --yellow-700:#a47d06;\n --yellow-800:#816204;\n --yellow-900:#5e4803;\n --cyan-50:#f3fbfd;\n --cyan-100:#c3edf5;\n --cyan-200:#94e0ed;\n --cyan-300:#65d2e4;\n --cyan-400:#35c4dc;\n --cyan-500:#06b6d4;\n --cyan-600:#059bb4;\n --cyan-700:#047f94;\n --cyan-800:#036475;\n --cyan-900:#024955;\n --pink-50:#fef6fa;\n --pink-100:#fad3e7;\n --pink-200:#f7b0d3;\n --pink-300:#f38ec0;\n --pink-400:#f06bac;\n --pink-500:#ec4899;\n --pink-600:#c93d82;\n --pink-700:#a5326b;\n --pink-800:#822854;\n --pink-900:#5e1d3d;\n --indigo-50:#f7f7fe;\n --indigo-100:#dadafc;\n --indigo-200:#bcbdf9;\n --indigo-300:#9ea0f6;\n --indigo-400:#8183f4;\n --indigo-500:#6366f1;\n --indigo-600:#5457cd;\n --indigo-700:#4547a9;\n --indigo-800:#363885;\n --indigo-900:#282960;\n --teal-50:#f3fbfb;\n --teal-100:#c7eeea;\n --teal-200:#9ae0d9;\n --teal-300:#6dd3c8;\n --teal-400:#41c5b7;\n --teal-500:#14b8a6;\n --teal-600:#119c8d;\n --teal-700:#0e8174;\n --teal-800:#0b655b;\n --teal-900:#084a42;\n --orange-50:#fff8f3;\n --orange-100:#feddc7;\n --orange-200:#fcc39b;\n --orange-300:#fba86f;\n --orange-400:#fa8e42;\n --orange-500:#f97316;\n --orange-600:#d46213;\n --orange-700:#ae510f;\n --orange-800:#893f0c;\n --orange-900:#642e09;\n --bluegray-50:#f7f8f9;\n --bluegray-100:#dadee3;\n --bluegray-200:#bcc3cd;\n --bluegray-300:#9fa9b7;\n --bluegray-400:#818ea1;\n --bluegray-500:#64748b;\n --bluegray-600:#556376;\n --bluegray-700:#465161;\n --bluegray-800:#37404c;\n --bluegray-900:#282e38;\n --purple-50:#fbf7ff;\n --purple-100:#ead6fd;\n --purple-200:#dab6fc;\n --purple-300:#c996fa;\n --purple-400:#b975f9;\n --purple-500:#a855f7;\n --purple-600:#8f48d2;\n --purple-700:#763cad;\n --purple-800:#5c2f88;\n --purple-900:#432263;\n --red-50:#fef6f6;\n --red-100:#fbd2d2;\n --red-200:#f8afaf;\n --red-300:#f58b8b;\n --red-400:#f26868;\n --red-500:#ef4444;\n --red-600:#cb3a3a;\n --red-700:#a73030;\n --red-800:#832525;\n --red-900:#601b1b;\n}\n\n.p-autocomplete .p-autocomplete-loader {\n right: 0.75rem;\n}\n.p-autocomplete.p-autocomplete-dd .p-autocomplete-loader {\n right: 3.75rem;\n}\n.p-autocomplete .p-autocomplete-multiple-container {\n padding: 0.375rem 0.75rem;\n}\n.p-autocomplete .p-autocomplete-multiple-container:not(.p-disabled):hover {\n border-color: #d4d4d8;\n}\n.p-autocomplete .p-autocomplete-multiple-container:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token {\n padding: 0.375rem 0;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n color: #3f3f46;\n padding: 0;\n margin: 0;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: #e5e7eb;\n color: #3f3f46;\n border-radius: 16px;\n}\n.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-token .p-autocomplete-token-icon {\n margin-left: 0.5rem;\n}\n.p-autocomplete.p-invalid.p-component > .p-inputtext {\n border-color: #f0a9a7;\n}\n\n.p-autocomplete-panel {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-autocomplete-panel .p-autocomplete-items {\n padding: 0.25rem 0;\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item {\n margin: 0;\n padding: 0.75rem 1rem;\n border: 0 none;\n color: #3f3f46;\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item:hover {\n color: #18181B;\n background: #f4f4f5;\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-autocomplete-panel .p-autocomplete-items .p-autocomplete-item-group {\n margin: 0;\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: #ffffff;\n font-weight: 600;\n}\n\n.p-calendar.p-invalid.p-component > .p-inputtext {\n border-color: #f0a9a7;\n}\n\n.p-datepicker {\n padding: 0.5rem;\n background: #ffffff;\n color: #3f3f46;\n border: 1px solid #d4d4d8;\n border-radius: 0.375rem;\n}\n.p-datepicker:not(.p-datepicker-inline) {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-datepicker:not(.p-datepicker-inline) .p-datepicker-header {\n background: #ffffff;\n}\n.p-datepicker .p-datepicker-header {\n padding: 0.5rem;\n color: #3f3f46;\n background: #ffffff;\n font-weight: 600;\n margin: 0;\n border-bottom: 1px solid #e5e7eb;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-prev,\n.p-datepicker .p-datepicker-header .p-datepicker-next {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-prev:enabled:hover,\n.p-datepicker .p-datepicker-header .p-datepicker-next:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-prev:focus,\n.p-datepicker .p-datepicker-header .p-datepicker-next:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title {\n line-height: 2rem;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-year,\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month {\n color: #3f3f46;\n transition: none;\n font-weight: 600;\n padding: 0.5rem;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-year:enabled:hover,\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month:enabled:hover {\n color: #4F46E5;\n}\n.p-datepicker .p-datepicker-header .p-datepicker-title .p-datepicker-month {\n margin-right: 0.5rem;\n}\n.p-datepicker table {\n font-size: 1rem;\n margin: 0.5rem 0;\n}\n.p-datepicker table th {\n padding: 0.5rem;\n}\n.p-datepicker table th > span {\n width: 2.5rem;\n height: 2.5rem;\n}\n.p-datepicker table td {\n padding: 0.5rem;\n}\n.p-datepicker table td > span {\n width: 2.5rem;\n height: 2.5rem;\n border-radius: 50%;\n transition: none;\n border: 1px solid transparent;\n}\n.p-datepicker table td > span.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-datepicker table td > span:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-datepicker table td.p-datepicker-today > span {\n background: #d4d4d8;\n color: #3f3f46;\n border-color: transparent;\n}\n.p-datepicker table td.p-datepicker-today > span.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-datepicker .p-datepicker-buttonbar {\n padding: 1rem 0;\n border-top: 1px solid #f3f4f6;\n}\n.p-datepicker .p-datepicker-buttonbar .p-button {\n width: auto;\n}\n.p-datepicker .p-timepicker {\n border-top: 1px solid #f3f4f6;\n padding: 0.5rem;\n}\n.p-datepicker .p-timepicker button {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-datepicker .p-timepicker button:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-datepicker .p-timepicker button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-datepicker .p-timepicker button:last-child {\n margin-top: 0.2em;\n}\n.p-datepicker .p-timepicker span {\n font-size: 1.25rem;\n}\n.p-datepicker .p-timepicker > div {\n padding: 0 0.5rem;\n}\n.p-datepicker.p-datepicker-timeonly .p-timepicker {\n border-top: 0 none;\n}\n.p-datepicker .p-monthpicker {\n margin: 0.5rem 0;\n}\n.p-datepicker .p-monthpicker .p-monthpicker-month {\n padding: 0.5rem;\n transition: none;\n border-radius: 0.375rem;\n}\n.p-datepicker .p-monthpicker .p-monthpicker-month.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-datepicker .p-yearpicker {\n margin: 0.5rem 0;\n}\n.p-datepicker .p-yearpicker .p-yearpicker-year {\n padding: 0.5rem;\n transition: none;\n border-radius: 0.375rem;\n}\n.p-datepicker .p-yearpicker .p-yearpicker-year.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-datepicker.p-datepicker-multiple-month .p-datepicker-group {\n border-left: 1px solid #f3f4f6;\n padding-right: 0.5rem;\n padding-left: 0.5rem;\n padding-top: 0;\n padding-bottom: 0;\n}\n.p-datepicker.p-datepicker-multiple-month .p-datepicker-group:first-child {\n padding-left: 0;\n border-left: 0 none;\n}\n.p-datepicker.p-datepicker-multiple-month .p-datepicker-group:last-child {\n padding-right: 0;\n}\n.p-datepicker:not(.p-disabled) table td span:not(.p-highlight):not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-datepicker:not(.p-disabled) table td span:not(.p-highlight):not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-datepicker:not(.p-disabled) .p-monthpicker .p-monthpicker-month:not(.p-disabled):not(.p-highlight):hover {\n background: #f4f4f5;\n}\n.p-datepicker:not(.p-disabled) .p-monthpicker .p-monthpicker-month:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-datepicker:not(.p-disabled) .p-yearpicker .p-yearpicker-year:not(.p-disabled):not(.p-highlight):hover {\n background: #f4f4f5;\n}\n.p-datepicker:not(.p-disabled) .p-yearpicker .p-yearpicker-year:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n@media screen and (max-width: 769px) {\n .p-datepicker table th, .p-datepicker table td {\n padding: 0;\n }\n}\n.p-cascadeselect {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n transition: none;\n border-radius: 0.375rem;\n}\n.p-cascadeselect:not(.p-disabled):hover {\n border-color: #d4d4d8;\n}\n.p-cascadeselect:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-cascadeselect .p-cascadeselect-label {\n background: transparent;\n border: 0 none;\n padding: 0.75rem 0.75rem;\n}\n.p-cascadeselect .p-cascadeselect-label.p-placeholder {\n color: #71717A;\n}\n.p-cascadeselect .p-cascadeselect-label:enabled:focus {\n outline: 0 none;\n box-shadow: none;\n}\n.p-cascadeselect .p-cascadeselect-trigger {\n background: transparent;\n color: #71717A;\n width: 3rem;\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n.p-cascadeselect.p-invalid.p-component {\n border-color: #f0a9a7;\n}\n\n.p-cascadeselect-panel {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-cascadeselect-panel .p-cascadeselect-items {\n padding: 0.25rem 0;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item {\n margin: 0;\n border: 0 none;\n color: #3f3f46;\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item .p-cascadeselect-item-content {\n padding: 0.75rem 1rem;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item .p-cascadeselect-item-content:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item:not(.p-highlight):not(.p-disabled):hover {\n color: #18181B;\n background: #f4f4f5;\n}\n.p-cascadeselect-panel .p-cascadeselect-items .p-cascadeselect-item .p-cascadeselect-group-icon {\n font-size: 0.875rem;\n}\n\n.p-input-filled .p-cascadeselect {\n background: #fafafa;\n}\n.p-input-filled .p-cascadeselect:not(.p-disabled):hover {\n background-color: #fafafa;\n}\n.p-input-filled .p-cascadeselect:not(.p-disabled).p-focus {\n background-color: #ffffff;\n}\n\n.p-checkbox {\n width: 16px;\n height: 16px;\n}\n.p-checkbox .p-checkbox-box {\n border: 2px solid #d4d4d8;\n background: #ffffff;\n width: 16px;\n height: 16px;\n color: #3f3f46;\n border-radius: 0.375rem;\n transition: none;\n}\n.p-checkbox .p-checkbox-box .p-checkbox-icon {\n transition-duration: 0.2s;\n color: #ffffff;\n font-size: 10px;\n}\n.p-checkbox .p-checkbox-box.p-highlight {\n border-color: #4F46E5;\n background: #4F46E5;\n}\n.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover {\n border-color: #d4d4d8;\n}\n.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover {\n border-color: #4F46E5;\n background: #4F46E5;\n color: #ffffff;\n}\n.p-checkbox.p-invalid > .p-checkbox-box {\n border-color: #f0a9a7;\n}\n\n.p-input-filled .p-checkbox .p-checkbox-box {\n background-color: #fafafa;\n}\n.p-input-filled .p-checkbox .p-checkbox-box.p-highlight {\n background: #4F46E5;\n}\n.p-input-filled .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box:hover {\n background-color: #fafafa;\n}\n.p-input-filled .p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-highlight:hover {\n background: #4F46E5;\n}\n\n.p-chips .p-chips-multiple-container {\n padding: 0.375rem 0.75rem;\n}\n.p-chips .p-chips-multiple-container:not(.p-disabled):hover {\n border-color: #d4d4d8;\n}\n.p-chips .p-chips-multiple-container:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-chips .p-chips-multiple-container .p-chips-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: #e5e7eb;\n color: #3f3f46;\n border-radius: 16px;\n}\n.p-chips .p-chips-multiple-container .p-chips-token .p-chips-token-icon {\n margin-left: 0.5rem;\n}\n.p-chips .p-chips-multiple-container .p-chips-input-token {\n padding: 0.375rem 0;\n}\n.p-chips .p-chips-multiple-container .p-chips-input-token input {\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n color: #3f3f46;\n padding: 0;\n margin: 0;\n}\n.p-chips.p-invalid.p-component > .p-inputtext {\n border-color: #f0a9a7;\n}\n\n.p-colorpicker-preview {\n width: 2rem;\n height: 2rem;\n}\n\n.p-colorpicker-panel {\n background: #27272A;\n border: 1px solid #18181B;\n}\n.p-colorpicker-panel .p-colorpicker-color-handle,\n.p-colorpicker-panel .p-colorpicker-hue-handle {\n border-color: #ffffff;\n}\n\n.p-colorpicker-overlay-panel {\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n\n.p-dropdown {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n transition: none;\n border-radius: 0.375rem;\n}\n.p-dropdown:not(.p-disabled):hover {\n border-color: #d4d4d8;\n}\n.p-dropdown:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-dropdown.p-dropdown-clearable .p-dropdown-label {\n padding-right: 1.75rem;\n}\n.p-dropdown .p-dropdown-label {\n background: transparent;\n border: 0 none;\n}\n.p-dropdown .p-dropdown-label.p-placeholder {\n color: #71717A;\n}\n.p-dropdown .p-dropdown-label:enabled:focus {\n outline: 0 none;\n box-shadow: none;\n}\n.p-dropdown .p-dropdown-trigger {\n background: transparent;\n color: #71717A;\n width: 3rem;\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n.p-dropdown .p-dropdown-clear-icon {\n color: #71717A;\n right: 3rem;\n}\n.p-dropdown.p-invalid.p-component {\n border-color: #f0a9a7;\n}\n\n.p-dropdown-panel {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-dropdown-panel .p-dropdown-header {\n padding: 0.5rem 0.75rem;\n border-bottom: 0 none;\n color: #3f3f46;\n background: #fafafa;\n margin: 0;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-dropdown-panel .p-dropdown-header .p-dropdown-filter {\n padding-right: 1.75rem;\n margin-right: -1.75rem;\n}\n.p-dropdown-panel .p-dropdown-header .p-dropdown-filter-icon {\n right: 0.75rem;\n color: #71717A;\n}\n.p-dropdown-panel .p-dropdown-items {\n padding: 0.25rem 0;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item {\n margin: 0;\n padding: 0.75rem 1rem;\n border: 0 none;\n color: #3f3f46;\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item:not(.p-highlight):not(.p-disabled):hover {\n color: #18181B;\n background: #f4f4f5;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-item-group {\n margin: 0;\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: #ffffff;\n font-weight: 600;\n}\n.p-dropdown-panel .p-dropdown-items .p-dropdown-empty-message {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: transparent;\n}\n\n.p-input-filled .p-dropdown {\n background: #fafafa;\n}\n.p-input-filled .p-dropdown:not(.p-disabled):hover {\n background-color: #fafafa;\n}\n.p-input-filled .p-dropdown:not(.p-disabled).p-focus {\n background-color: #ffffff;\n}\n.p-input-filled .p-dropdown:not(.p-disabled).p-focus .p-inputtext {\n background-color: transparent;\n}\n\n.p-editor-container .p-editor-toolbar {\n background: #fafafa;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-editor-container .p-editor-toolbar.ql-snow {\n border: 1px solid #e5e7eb;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-stroke {\n stroke: #71717A;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-fill {\n fill: #71717A;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label {\n border: 0 none;\n color: #71717A;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover {\n color: #3f3f46;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover .ql-stroke {\n stroke: #3f3f46;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker .ql-picker-label:hover .ql-fill {\n fill: #3f3f46;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n color: #3f3f46;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {\n stroke: #3f3f46;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {\n fill: #3f3f46;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n border-radius: 0.375rem;\n padding: 0.25rem 0;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options .ql-picker-item {\n color: #3f3f46;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options .ql-picker-item:hover {\n color: #18181B;\n background: #f4f4f5;\n}\n.p-editor-container .p-editor-toolbar.ql-snow .ql-picker.ql-expanded:not(.ql-icon-picker) .ql-picker-item {\n padding: 0.75rem 1rem;\n}\n.p-editor-container .p-editor-content {\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-editor-container .p-editor-content.ql-snow {\n border: 1px solid #e5e7eb;\n}\n.p-editor-container .p-editor-content .ql-editor {\n background: #ffffff;\n color: #3f3f46;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-editor-container .ql-snow.ql-toolbar button:hover,\n.p-editor-container .ql-snow.ql-toolbar button:focus {\n color: #3f3f46;\n}\n.p-editor-container .ql-snow.ql-toolbar button:hover .ql-stroke,\n.p-editor-container .ql-snow.ql-toolbar button:focus .ql-stroke {\n stroke: #3f3f46;\n}\n.p-editor-container .ql-snow.ql-toolbar button:hover .ql-fill,\n.p-editor-container .ql-snow.ql-toolbar button:focus .ql-fill {\n fill: #3f3f46;\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected {\n color: #4F46E5;\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke {\n stroke: #4F46E5;\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-fill,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill {\n fill: #4F46E5;\n}\n.p-editor-container .ql-snow.ql-toolbar button.ql-active .ql-picker-label,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-picker-label,\n.p-editor-container .ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-picker-label {\n color: #4F46E5;\n}\n\n.p-inputgroup-addon {\n background: #fafafa;\n color: #71717A;\n border-top: 1px solid #d4d4d8;\n border-left: 1px solid #d4d4d8;\n border-bottom: 1px solid #d4d4d8;\n padding: 0.75rem 0.75rem;\n min-width: 3rem;\n}\n.p-inputgroup-addon:last-child {\n border-right: 1px solid #d4d4d8;\n}\n\n.p-inputgroup > .p-component,\n.p-inputgroup > .p-inputwrapper > .p-inputtext,\n.p-inputgroup > .p-float-label > .p-component {\n border-radius: 0;\n margin: 0;\n}\n.p-inputgroup > .p-component + .p-inputgroup-addon,\n.p-inputgroup > .p-inputwrapper > .p-inputtext + .p-inputgroup-addon,\n.p-inputgroup > .p-float-label > .p-component + .p-inputgroup-addon {\n border-left: 0 none;\n}\n.p-inputgroup > .p-component:focus,\n.p-inputgroup > .p-inputwrapper > .p-inputtext:focus,\n.p-inputgroup > .p-float-label > .p-component:focus {\n z-index: 1;\n}\n.p-inputgroup > .p-component:focus ~ label,\n.p-inputgroup > .p-inputwrapper > .p-inputtext:focus ~ label,\n.p-inputgroup > .p-float-label > .p-component:focus ~ label {\n z-index: 1;\n}\n\n.p-inputgroup-addon:first-child,\n.p-inputgroup button:first-child,\n.p-inputgroup input:first-child,\n.p-inputgroup > .p-inputwrapper:first-child,\n.p-inputgroup > .p-inputwrapper:first-child > .p-inputtext {\n border-top-left-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n\n.p-inputgroup .p-float-label:first-child input {\n border-top-left-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n\n.p-inputgroup-addon:last-child,\n.p-inputgroup button:last-child,\n.p-inputgroup input:last-child,\n.p-inputgroup > .p-inputwrapper:last-child,\n.p-inputgroup > .p-inputwrapper:last-child > .p-inputtext {\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n\n.p-inputgroup .p-float-label:last-child input {\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n\n.p-fluid .p-inputgroup .p-button {\n width: auto;\n}\n.p-fluid .p-inputgroup .p-button.p-button-icon-only {\n width: 3rem;\n}\n\n.p-inputnumber.p-invalid.p-component > .p-inputtext {\n border-color: #f0a9a7;\n}\n\n.p-inputswitch {\n width: 3rem;\n height: 1.75rem;\n}\n.p-inputswitch .p-inputswitch-slider {\n background: #d4d4d8;\n transition: none;\n border-radius: 30px;\n}\n.p-inputswitch .p-inputswitch-slider:before {\n background: #ffffff;\n width: 1.25rem;\n height: 1.25rem;\n left: 0.25rem;\n margin-top: -0.625rem;\n border-radius: 50%;\n transition-duration: 0.2s;\n}\n.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before {\n transform: translateX(1.25rem);\n}\n.p-inputswitch.p-focus .p-inputswitch-slider {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-inputswitch:not(.p-disabled):hover .p-inputswitch-slider {\n background: #bebec4;\n}\n.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider {\n background: #4F46E5;\n}\n.p-inputswitch.p-inputswitch-checked .p-inputswitch-slider:before {\n background: #ffffff;\n}\n.p-inputswitch.p-inputswitch-checked:not(.p-disabled):hover .p-inputswitch-slider {\n background: #4338CA;\n}\n.p-inputswitch.p-invalid {\n border-color: #f0a9a7;\n}\n\n.p-inputtext {\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n font-size: 1rem;\n color: #3f3f46;\n background: #ffffff;\n padding: 0.75rem 0.75rem;\n border: 1px solid #d4d4d8;\n transition: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border-radius: 0.375rem;\n}\n.p-inputtext:enabled:hover {\n border-color: #d4d4d8;\n}\n.p-inputtext:enabled:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-inputtext.p-invalid.p-component {\n border-color: #f0a9a7;\n}\n.p-inputtext.p-inputtext-sm {\n font-size: 0.875rem;\n padding: 0.65625rem 0.65625rem;\n}\n.p-inputtext.p-inputtext-lg {\n font-size: 1.25rem;\n padding: 0.9375rem 0.9375rem;\n}\n\n.p-float-label > label {\n left: 0.75rem;\n color: #71717A;\n transition-duration: 0.2s;\n}\n\n.p-input-icon-left > i:first-of-type {\n left: 0.75rem;\n color: #71717A;\n}\n\n.p-input-icon-left > .p-inputtext {\n padding-left: 2.5rem;\n}\n\n.p-input-icon-left.p-float-label > label {\n left: 2.5rem;\n}\n\n.p-input-icon-right > i:last-of-type {\n right: 0.75rem;\n color: #71717A;\n}\n\n.p-input-icon-right > .p-inputtext {\n padding-right: 2.5rem;\n}\n\n::-webkit-input-placeholder {\n color: #71717A;\n}\n\n:-moz-placeholder {\n color: #71717A;\n}\n\n::-moz-placeholder {\n color: #71717A;\n}\n\n:-ms-input-placeholder {\n color: #71717A;\n}\n\n.p-input-filled .p-inputtext {\n background-color: #fafafa;\n}\n.p-input-filled .p-inputtext:enabled:hover {\n background-color: #fafafa;\n}\n.p-input-filled .p-inputtext:enabled:focus {\n background-color: #ffffff;\n}\n\n.p-inputtext-sm .p-inputtext {\n font-size: 0.875rem;\n padding: 0.65625rem 0.65625rem;\n}\n\n.p-inputtext-lg .p-inputtext {\n font-size: 1.25rem;\n padding: 0.9375rem 0.9375rem;\n}\n\n.p-listbox {\n background: #ffffff;\n color: #3f3f46;\n border: 1px solid #d4d4d8;\n border-radius: 0.375rem;\n}\n.p-listbox .p-listbox-header {\n padding: 0.5rem 0.75rem;\n border-bottom: 0 none;\n color: #3f3f46;\n background: #fafafa;\n margin: 0;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-listbox .p-listbox-header .p-listbox-filter {\n padding-right: 1.75rem;\n}\n.p-listbox .p-listbox-header .p-listbox-filter-icon {\n right: 0.75rem;\n color: #71717A;\n}\n.p-listbox .p-listbox-list {\n padding: 0.25rem 0;\n}\n.p-listbox .p-listbox-list .p-listbox-item {\n margin: 0;\n padding: 0.75rem 1rem;\n border: 0 none;\n color: #3f3f46;\n transition: none;\n border-radius: 0;\n}\n.p-listbox .p-listbox-list .p-listbox-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-listbox .p-listbox-list .p-listbox-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-listbox .p-listbox-list .p-listbox-item-group {\n margin: 0;\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: #ffffff;\n font-weight: 600;\n}\n.p-listbox .p-listbox-list .p-listbox-empty-message {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: transparent;\n}\n.p-listbox:not(.p-disabled) .p-listbox-item:not(.p-highlight):not(.p-disabled):hover {\n color: #18181B;\n background: #f4f4f5;\n}\n.p-listbox.p-invalid {\n border-color: #f0a9a7;\n}\n\n.p-multiselect {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n transition: none;\n border-radius: 0.375rem;\n}\n.p-multiselect:not(.p-disabled):hover {\n border-color: #d4d4d8;\n}\n.p-multiselect:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-multiselect .p-multiselect-label {\n padding: 0.75rem 0.75rem;\n transition: none;\n}\n.p-multiselect .p-multiselect-label.p-placeholder {\n color: #71717A;\n}\n.p-multiselect.p-multiselect-chip .p-multiselect-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: #e5e7eb;\n color: #3f3f46;\n border-radius: 16px;\n}\n.p-multiselect.p-multiselect-chip .p-multiselect-token .p-multiselect-token-icon {\n margin-left: 0.5rem;\n}\n.p-multiselect .p-multiselect-trigger {\n background: transparent;\n color: #71717A;\n width: 3rem;\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n.p-multiselect.p-invalid.p-component {\n border-color: #f0a9a7;\n}\n\n.p-inputwrapper-filled.p-multiselect.p-multiselect-chip .p-multiselect-label {\n padding: 0.375rem 0.75rem;\n}\n\n.p-multiselect-panel {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-multiselect-panel .p-multiselect-header {\n padding: 0.5rem 0.75rem;\n border-bottom: 0 none;\n color: #3f3f46;\n background: #fafafa;\n margin: 0;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-inputtext {\n padding-right: 1.75rem;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-filter-container .p-multiselect-filter-icon {\n right: 0.75rem;\n color: #71717A;\n}\n.p-multiselect-panel .p-multiselect-header .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-close {\n margin-left: 0.5rem;\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-close:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-multiselect-panel .p-multiselect-header .p-multiselect-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-multiselect-panel .p-multiselect-items {\n padding: 0.25rem 0;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item {\n margin: 0;\n padding: 0.75rem 1rem;\n border: 0 none;\n color: #3f3f46;\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item:not(.p-highlight):not(.p-disabled):hover {\n color: #18181B;\n background: #f4f4f5;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-item-group {\n margin: 0;\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: #ffffff;\n font-weight: 600;\n}\n.p-multiselect-panel .p-multiselect-items .p-multiselect-empty-message {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: transparent;\n}\n\n.p-input-filled .p-multiselect {\n background: #fafafa;\n}\n.p-input-filled .p-multiselect:not(.p-disabled):hover {\n background-color: #fafafa;\n}\n.p-input-filled .p-multiselect:not(.p-disabled).p-focus {\n background-color: #ffffff;\n}\n\n.p-password.p-invalid.p-component > .p-inputtext {\n border-color: #f0a9a7;\n}\n\n.p-password-panel {\n padding: 1.25rem;\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n border-radius: 0.375rem;\n}\n.p-password-panel .p-password-meter {\n margin-bottom: 0.5rem;\n background: #e5e7eb;\n}\n.p-password-panel .p-password-meter .p-password-strength.weak {\n background: #EF4444;\n}\n.p-password-panel .p-password-meter .p-password-strength.medium {\n background: #F59E0B;\n}\n.p-password-panel .p-password-meter .p-password-strength.strong {\n background: #22C55E;\n}\n\n.p-radiobutton {\n width: 16px;\n height: 16px;\n}\n.p-radiobutton .p-radiobutton-box {\n border: 2px solid #d4d4d8;\n background: #ffffff;\n width: 16px;\n height: 16px;\n color: #3f3f46;\n border-radius: 50%;\n transition: none;\n}\n.p-radiobutton .p-radiobutton-box:not(.p-disabled):not(.p-highlight):hover {\n border-color: #d4d4d8;\n}\n.p-radiobutton .p-radiobutton-box:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-radiobutton .p-radiobutton-box .p-radiobutton-icon {\n width: 6px;\n height: 6px;\n transition-duration: 0.2s;\n background-color: #ffffff;\n}\n.p-radiobutton .p-radiobutton-box.p-highlight {\n border-color: #4F46E5;\n background: #4F46E5;\n}\n.p-radiobutton .p-radiobutton-box.p-highlight:not(.p-disabled):hover {\n border-color: #4F46E5;\n background: #4F46E5;\n color: #ffffff;\n}\n.p-radiobutton.p-invalid > .p-radiobutton-box {\n border-color: #f0a9a7;\n}\n.p-radiobutton:focus {\n outline: 0 none;\n}\n\n.p-input-filled .p-radiobutton .p-radiobutton-box {\n background-color: #fafafa;\n}\n.p-input-filled .p-radiobutton .p-radiobutton-box:not(.p-disabled):hover {\n background-color: #fafafa;\n}\n.p-input-filled .p-radiobutton .p-radiobutton-box.p-highlight {\n background: #4F46E5;\n}\n.p-input-filled .p-radiobutton .p-radiobutton-box.p-highlight:not(.p-disabled):hover {\n background: #4F46E5;\n}\n\n.p-rating .p-rating-icon {\n color: #3f3f46;\n margin-left: 0.5rem;\n transition: none;\n font-size: 1.143rem;\n}\n.p-rating .p-rating-icon.p-rating-cancel {\n color: #EF4444;\n}\n.p-rating .p-rating-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-rating .p-rating-icon:first-child {\n margin-left: 0;\n}\n.p-rating .p-rating-icon.pi-star-fill {\n color: #4F46E5;\n}\n.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon:hover {\n color: #4F46E5;\n}\n.p-rating:not(.p-disabled):not(.p-readonly) .p-rating-icon.p-rating-cancel:hover {\n color: #DC2626;\n}\n\n.p-selectbutton .p-button {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n color: #3f3f46;\n transition: none;\n}\n.p-selectbutton .p-button .p-button-icon-left,\n.p-selectbutton .p-button .p-button-icon-right {\n color: #71717A;\n}\n.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover {\n background: #f4f4f5;\n border-color: #d4d4d8;\n color: #3f3f46;\n}\n.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-left,\n.p-selectbutton .p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-right {\n color: #71717A;\n}\n.p-selectbutton .p-button.p-highlight {\n background: #4F46E5;\n border-color: #4F46E5;\n color: #ffffff;\n}\n.p-selectbutton .p-button.p-highlight .p-button-icon-left,\n.p-selectbutton .p-button.p-highlight .p-button-icon-right {\n color: #ffffff;\n}\n.p-selectbutton .p-button.p-highlight:hover {\n background: #4338CA;\n border-color: #4338CA;\n color: #ffffff;\n}\n.p-selectbutton .p-button.p-highlight:hover .p-button-icon-left,\n.p-selectbutton .p-button.p-highlight:hover .p-button-icon-right {\n color: #ffffff;\n}\n.p-selectbutton.p-invalid > .p-button {\n border-color: #f0a9a7;\n}\n\n.p-slider {\n background: #e5e7eb;\n border: 0 none;\n border-radius: 0.375rem;\n}\n.p-slider.p-slider-horizontal {\n height: 0.286rem;\n}\n.p-slider.p-slider-horizontal .p-slider-handle {\n margin-top: -0.5715rem;\n margin-left: -0.5715rem;\n}\n.p-slider.p-slider-vertical {\n width: 0.286rem;\n}\n.p-slider.p-slider-vertical .p-slider-handle {\n margin-left: -0.5715rem;\n margin-bottom: -0.5715rem;\n}\n.p-slider .p-slider-handle {\n height: 1.143rem;\n width: 1.143rem;\n background: #ffffff;\n border: 2px solid #4F46E5;\n border-radius: 50%;\n transition: none;\n}\n.p-slider .p-slider-handle:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-slider .p-slider-range {\n background: #4F46E5;\n}\n.p-slider:not(.p-disabled) .p-slider-handle:hover {\n background: #4F46E5;\n border-color: #4F46E5;\n}\n\n.p-treeselect {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n transition: none;\n border-radius: 0.375rem;\n}\n.p-treeselect:not(.p-disabled):hover {\n border-color: #d4d4d8;\n}\n.p-treeselect:not(.p-disabled).p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n border-color: #4F46E5;\n}\n.p-treeselect .p-treeselect-label {\n padding: 0.75rem 0.75rem;\n transition: none;\n}\n.p-treeselect .p-treeselect-label.p-placeholder {\n color: #71717A;\n}\n.p-treeselect.p-treeselect-chip .p-treeselect-token {\n padding: 0.375rem 0.75rem;\n margin-right: 0.5rem;\n background: #e5e7eb;\n color: #3f3f46;\n border-radius: 16px;\n}\n.p-treeselect .p-treeselect-trigger {\n background: transparent;\n color: #71717A;\n width: 3rem;\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n.p-treeselect.p-invalid.p-component {\n border-color: #f0a9a7;\n}\n\n.p-inputwrapper-filled.p-treeselect.p-treeselect-chip .p-treeselect-label {\n padding: 0.375rem 0.75rem;\n}\n\n.p-treeselect-panel {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-treeselect-panel .p-treeselect-items-wrapper .p-tree {\n border: 0 none;\n}\n.p-treeselect-panel .p-treeselect-items-wrapper .p-treeselect-empty-message {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: transparent;\n}\n\n.p-input-filled .p-treeselect {\n background: #fafafa;\n}\n.p-input-filled .p-treeselect:not(.p-disabled):hover {\n background-color: #fafafa;\n}\n.p-input-filled .p-treeselect:not(.p-disabled).p-focus {\n background-color: #ffffff;\n}\n\n.p-togglebutton.p-button {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n color: #3f3f46;\n transition: none;\n}\n.p-togglebutton.p-button .p-button-icon-left,\n.p-togglebutton.p-button .p-button-icon-right {\n color: #71717A;\n}\n.p-togglebutton.p-button:not(.p-disabled):not(.p-highlight):hover {\n background: #f4f4f5;\n border-color: #d4d4d8;\n color: #3f3f46;\n}\n.p-togglebutton.p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-left,\n.p-togglebutton.p-button:not(.p-disabled):not(.p-highlight):hover .p-button-icon-right {\n color: #71717A;\n}\n.p-togglebutton.p-button.p-highlight {\n background: #4F46E5;\n border-color: #4F46E5;\n color: #ffffff;\n}\n.p-togglebutton.p-button.p-highlight .p-button-icon-left,\n.p-togglebutton.p-button.p-highlight .p-button-icon-right {\n color: #ffffff;\n}\n.p-togglebutton.p-button.p-highlight:hover {\n background: #4338CA;\n border-color: #4338CA;\n color: #ffffff;\n}\n.p-togglebutton.p-button.p-highlight:hover .p-button-icon-left,\n.p-togglebutton.p-button.p-highlight:hover .p-button-icon-right {\n color: #ffffff;\n}\n.p-togglebutton.p-button.p-invalid > .p-button {\n border-color: #f0a9a7;\n}\n\n.p-button {\n color: #ffffff;\n background: #4F46E5;\n border: 1px solid #4F46E5;\n padding: 0.75rem 1rem;\n font-size: 1rem;\n transition: none;\n border-radius: 0.375rem;\n}\n.p-button:enabled:hover {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n.p-button:enabled:active {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n.p-button.p-button-outlined {\n background-color: transparent;\n color: #4F46E5;\n border: 1px solid;\n}\n.p-button.p-button-outlined:enabled:hover {\n background: rgba(79, 70, 229, 0.04);\n color: #4F46E5;\n border: 1px solid;\n}\n.p-button.p-button-outlined:enabled:active {\n background: rgba(79, 70, 229, 0.16);\n color: #4F46E5;\n border: 1px solid;\n}\n.p-button.p-button-outlined.p-button-plain {\n color: #71717A;\n border-color: #71717A;\n}\n.p-button.p-button-outlined.p-button-plain:enabled:hover {\n background: #f4f4f5;\n color: #71717A;\n}\n.p-button.p-button-outlined.p-button-plain:enabled:active {\n background: #e5e7eb;\n color: #71717A;\n}\n.p-button.p-button-text {\n background-color: transparent;\n color: #4F46E5;\n border-color: transparent;\n}\n.p-button.p-button-text:enabled:hover {\n background: rgba(79, 70, 229, 0.04);\n color: #4F46E5;\n border-color: transparent;\n}\n.p-button.p-button-text:enabled:active {\n background: rgba(79, 70, 229, 0.16);\n color: #4F46E5;\n border-color: transparent;\n}\n.p-button.p-button-text.p-button-plain {\n color: #71717A;\n}\n.p-button.p-button-text.p-button-plain:enabled:hover {\n background: #f4f4f5;\n color: #71717A;\n}\n.p-button.p-button-text.p-button-plain:enabled:active {\n background: #e5e7eb;\n color: #71717A;\n}\n.p-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-button .p-button-icon-left {\n margin-right: 0.5rem;\n}\n.p-button .p-button-icon-right {\n margin-left: 0.5rem;\n}\n.p-button .p-button-icon-bottom {\n margin-top: 0.5rem;\n}\n.p-button .p-button-icon-top {\n margin-bottom: 0.5rem;\n}\n.p-button .p-badge {\n margin-left: 0.5rem;\n min-width: 1rem;\n height: 1rem;\n line-height: 1rem;\n color: #4F46E5;\n background-color: #ffffff;\n}\n.p-button.p-button-raised {\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\n}\n.p-button.p-button-rounded {\n border-radius: 2rem;\n}\n.p-button.p-button-icon-only {\n width: 3rem;\n padding: 0.75rem 0;\n}\n.p-button.p-button-icon-only .p-button-icon-left,\n.p-button.p-button-icon-only .p-button-icon-right {\n margin: 0;\n}\n.p-button.p-button-icon-only.p-button-rounded {\n border-radius: 50%;\n height: 3rem;\n}\n.p-button.p-button-sm {\n font-size: 0.875rem;\n padding: 0.65625rem 0.875rem;\n}\n.p-button.p-button-sm .p-button-icon {\n font-size: 0.875rem;\n}\n.p-button.p-button-lg {\n font-size: 1.25rem;\n padding: 0.9375rem 1.25rem;\n}\n.p-button.p-button-lg .p-button-icon {\n font-size: 1.25rem;\n}\n.p-button.p-button-loading-label-only .p-button-label {\n margin-left: 0.5rem;\n}\n.p-button.p-button-loading-label-only .p-button-loading-icon {\n margin-right: 0;\n}\n\n.p-fluid .p-button {\n width: 100%;\n}\n.p-fluid .p-button-icon-only {\n width: 3rem;\n}\n.p-fluid .p-buttonset {\n display: flex;\n}\n.p-fluid .p-buttonset .p-button {\n flex: 1;\n}\n\n.p-button.p-button-secondary, .p-buttonset.p-button-secondary > .p-button, .p-splitbutton.p-button-secondary > .p-button {\n color: #ffffff;\n background: #64748B;\n border: 1px solid #64748B;\n}\n.p-button.p-button-secondary:enabled:hover, .p-buttonset.p-button-secondary > .p-button:enabled:hover, .p-splitbutton.p-button-secondary > .p-button:enabled:hover {\n background: #475569;\n color: #ffffff;\n border-color: #475569;\n}\n.p-button.p-button-secondary:enabled:focus, .p-buttonset.p-button-secondary > .p-button:enabled:focus, .p-splitbutton.p-button-secondary > .p-button:enabled:focus {\n box-shadow: 0 0 0 0.2rem #c0c7d2;\n}\n.p-button.p-button-secondary:enabled:active, .p-buttonset.p-button-secondary > .p-button:enabled:active, .p-splitbutton.p-button-secondary > .p-button:enabled:active {\n background: #475569;\n color: #ffffff;\n border-color: #475569;\n}\n.p-button.p-button-secondary.p-button-outlined, .p-buttonset.p-button-secondary > .p-button.p-button-outlined, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined {\n background-color: transparent;\n color: #64748B;\n border: 1px solid;\n}\n.p-button.p-button-secondary.p-button-outlined:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:hover {\n background: rgba(100, 116, 139, 0.04);\n color: #64748B;\n border: 1px solid;\n}\n.p-button.p-button-secondary.p-button-outlined:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-outlined:enabled:active {\n background: rgba(100, 116, 139, 0.16);\n color: #64748B;\n border: 1px solid;\n}\n.p-button.p-button-secondary.p-button-text, .p-buttonset.p-button-secondary > .p-button.p-button-text, .p-splitbutton.p-button-secondary > .p-button.p-button-text {\n background-color: transparent;\n color: #64748B;\n border-color: transparent;\n}\n.p-button.p-button-secondary.p-button-text:enabled:hover, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:hover {\n background: rgba(100, 116, 139, 0.04);\n border-color: transparent;\n color: #64748B;\n}\n.p-button.p-button-secondary.p-button-text:enabled:active, .p-buttonset.p-button-secondary > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-secondary > .p-button.p-button-text:enabled:active {\n background: rgba(100, 116, 139, 0.16);\n border-color: transparent;\n color: #64748B;\n}\n\n.p-button.p-button-info, .p-buttonset.p-button-info > .p-button, .p-splitbutton.p-button-info > .p-button {\n color: #ffffff;\n background: #3B82F6;\n border: 1px solid #3B82F6;\n}\n.p-button.p-button-info:enabled:hover, .p-buttonset.p-button-info > .p-button:enabled:hover, .p-splitbutton.p-button-info > .p-button:enabled:hover {\n background: #2563EB;\n color: #ffffff;\n border-color: #2563EB;\n}\n.p-button.p-button-info:enabled:focus, .p-buttonset.p-button-info > .p-button:enabled:focus, .p-splitbutton.p-button-info > .p-button:enabled:focus {\n box-shadow: 0 0 0 0.2rem #b1cdfb;\n}\n.p-button.p-button-info:enabled:active, .p-buttonset.p-button-info > .p-button:enabled:active, .p-splitbutton.p-button-info > .p-button:enabled:active {\n background: #2563EB;\n color: #ffffff;\n border-color: #2563EB;\n}\n.p-button.p-button-info.p-button-outlined, .p-buttonset.p-button-info > .p-button.p-button-outlined, .p-splitbutton.p-button-info > .p-button.p-button-outlined {\n background-color: transparent;\n color: #3B82F6;\n border: 1px solid;\n}\n.p-button.p-button-info.p-button-outlined:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:hover {\n background: rgba(59, 130, 246, 0.04);\n color: #3B82F6;\n border: 1px solid;\n}\n.p-button.p-button-info.p-button-outlined:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-outlined:enabled:active {\n background: rgba(59, 130, 246, 0.16);\n color: #3B82F6;\n border: 1px solid;\n}\n.p-button.p-button-info.p-button-text, .p-buttonset.p-button-info > .p-button.p-button-text, .p-splitbutton.p-button-info > .p-button.p-button-text {\n background-color: transparent;\n color: #3B82F6;\n border-color: transparent;\n}\n.p-button.p-button-info.p-button-text:enabled:hover, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:hover {\n background: rgba(59, 130, 246, 0.04);\n border-color: transparent;\n color: #3B82F6;\n}\n.p-button.p-button-info.p-button-text:enabled:active, .p-buttonset.p-button-info > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-info > .p-button.p-button-text:enabled:active {\n background: rgba(59, 130, 246, 0.16);\n border-color: transparent;\n color: #3B82F6;\n}\n\n.p-button.p-button-success, .p-buttonset.p-button-success > .p-button, .p-splitbutton.p-button-success > .p-button {\n color: #ffffff;\n background: #22C55E;\n border: 1px solid #22C55E;\n}\n.p-button.p-button-success:enabled:hover, .p-buttonset.p-button-success > .p-button:enabled:hover, .p-splitbutton.p-button-success > .p-button:enabled:hover {\n background: #16A34A;\n color: #ffffff;\n border-color: #16A34A;\n}\n.p-button.p-button-success:enabled:focus, .p-buttonset.p-button-success > .p-button:enabled:focus, .p-splitbutton.p-button-success > .p-button:enabled:focus {\n box-shadow: 0 0 0 0.2rem #a0efbd;\n}\n.p-button.p-button-success:enabled:active, .p-buttonset.p-button-success > .p-button:enabled:active, .p-splitbutton.p-button-success > .p-button:enabled:active {\n background: #16A34A;\n color: #ffffff;\n border-color: #16A34A;\n}\n.p-button.p-button-success.p-button-outlined, .p-buttonset.p-button-success > .p-button.p-button-outlined, .p-splitbutton.p-button-success > .p-button.p-button-outlined {\n background-color: transparent;\n color: #22C55E;\n border: 1px solid;\n}\n.p-button.p-button-success.p-button-outlined:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:hover {\n background: rgba(34, 197, 94, 0.04);\n color: #22C55E;\n border: 1px solid;\n}\n.p-button.p-button-success.p-button-outlined:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-outlined:enabled:active {\n background: rgba(34, 197, 94, 0.16);\n color: #22C55E;\n border: 1px solid;\n}\n.p-button.p-button-success.p-button-text, .p-buttonset.p-button-success > .p-button.p-button-text, .p-splitbutton.p-button-success > .p-button.p-button-text {\n background-color: transparent;\n color: #22C55E;\n border-color: transparent;\n}\n.p-button.p-button-success.p-button-text:enabled:hover, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:hover {\n background: rgba(34, 197, 94, 0.04);\n border-color: transparent;\n color: #22C55E;\n}\n.p-button.p-button-success.p-button-text:enabled:active, .p-buttonset.p-button-success > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-success > .p-button.p-button-text:enabled:active {\n background: rgba(34, 197, 94, 0.16);\n border-color: transparent;\n color: #22C55E;\n}\n\n.p-button.p-button-warning, .p-buttonset.p-button-warning > .p-button, .p-splitbutton.p-button-warning > .p-button {\n color: #ffffff;\n background: #F59E0B;\n border: 1px solid #F59E0B;\n}\n.p-button.p-button-warning:enabled:hover, .p-buttonset.p-button-warning > .p-button:enabled:hover, .p-splitbutton.p-button-warning > .p-button:enabled:hover {\n background: #D97706;\n color: #ffffff;\n border-color: #D97706;\n}\n.p-button.p-button-warning:enabled:focus, .p-buttonset.p-button-warning > .p-button:enabled:focus, .p-splitbutton.p-button-warning > .p-button:enabled:focus {\n box-shadow: 0 0 0 0.2rem #fbd89d;\n}\n.p-button.p-button-warning:enabled:active, .p-buttonset.p-button-warning > .p-button:enabled:active, .p-splitbutton.p-button-warning > .p-button:enabled:active {\n background: #D97706;\n color: #ffffff;\n border-color: #D97706;\n}\n.p-button.p-button-warning.p-button-outlined, .p-buttonset.p-button-warning > .p-button.p-button-outlined, .p-splitbutton.p-button-warning > .p-button.p-button-outlined {\n background-color: transparent;\n color: #F59E0B;\n border: 1px solid;\n}\n.p-button.p-button-warning.p-button-outlined:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:hover {\n background: rgba(245, 158, 11, 0.04);\n color: #F59E0B;\n border: 1px solid;\n}\n.p-button.p-button-warning.p-button-outlined:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-outlined:enabled:active {\n background: rgba(245, 158, 11, 0.16);\n color: #F59E0B;\n border: 1px solid;\n}\n.p-button.p-button-warning.p-button-text, .p-buttonset.p-button-warning > .p-button.p-button-text, .p-splitbutton.p-button-warning > .p-button.p-button-text {\n background-color: transparent;\n color: #F59E0B;\n border-color: transparent;\n}\n.p-button.p-button-warning.p-button-text:enabled:hover, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:hover {\n background: rgba(245, 158, 11, 0.04);\n border-color: transparent;\n color: #F59E0B;\n}\n.p-button.p-button-warning.p-button-text:enabled:active, .p-buttonset.p-button-warning > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-warning > .p-button.p-button-text:enabled:active {\n background: rgba(245, 158, 11, 0.16);\n border-color: transparent;\n color: #F59E0B;\n}\n\n.p-button.p-button-help, .p-buttonset.p-button-help > .p-button, .p-splitbutton.p-button-help > .p-button {\n color: #ffffff;\n background: #A855F7;\n border: 1px solid #A855F7;\n}\n.p-button.p-button-help:enabled:hover, .p-buttonset.p-button-help > .p-button:enabled:hover, .p-splitbutton.p-button-help > .p-button:enabled:hover {\n background: #9333EA;\n color: #ffffff;\n border-color: #9333EA;\n}\n.p-button.p-button-help:enabled:focus, .p-buttonset.p-button-help > .p-button:enabled:focus, .p-splitbutton.p-button-help > .p-button:enabled:focus {\n box-shadow: 0 0 0 0.2rem #dcbbfc;\n}\n.p-button.p-button-help:enabled:active, .p-buttonset.p-button-help > .p-button:enabled:active, .p-splitbutton.p-button-help > .p-button:enabled:active {\n background: #9333EA;\n color: #ffffff;\n border-color: #9333EA;\n}\n.p-button.p-button-help.p-button-outlined, .p-buttonset.p-button-help > .p-button.p-button-outlined, .p-splitbutton.p-button-help > .p-button.p-button-outlined {\n background-color: transparent;\n color: #A855F7;\n border: 1px solid;\n}\n.p-button.p-button-help.p-button-outlined:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:hover {\n background: rgba(168, 85, 247, 0.04);\n color: #A855F7;\n border: 1px solid;\n}\n.p-button.p-button-help.p-button-outlined:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-outlined:enabled:active {\n background: rgba(168, 85, 247, 0.16);\n color: #A855F7;\n border: 1px solid;\n}\n.p-button.p-button-help.p-button-text, .p-buttonset.p-button-help > .p-button.p-button-text, .p-splitbutton.p-button-help > .p-button.p-button-text {\n background-color: transparent;\n color: #A855F7;\n border-color: transparent;\n}\n.p-button.p-button-help.p-button-text:enabled:hover, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:hover {\n background: rgba(168, 85, 247, 0.04);\n border-color: transparent;\n color: #A855F7;\n}\n.p-button.p-button-help.p-button-text:enabled:active, .p-buttonset.p-button-help > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-help > .p-button.p-button-text:enabled:active {\n background: rgba(168, 85, 247, 0.16);\n border-color: transparent;\n color: #A855F7;\n}\n\n.p-button.p-button-danger, .p-buttonset.p-button-danger > .p-button, .p-splitbutton.p-button-danger > .p-button {\n color: #ffffff;\n background: #EF4444;\n border: 1px solid #EF4444;\n}\n.p-button.p-button-danger:enabled:hover, .p-buttonset.p-button-danger > .p-button:enabled:hover, .p-splitbutton.p-button-danger > .p-button:enabled:hover {\n background: #DC2626;\n color: #ffffff;\n border-color: #DC2626;\n}\n.p-button.p-button-danger:enabled:focus, .p-buttonset.p-button-danger > .p-button:enabled:focus, .p-splitbutton.p-button-danger > .p-button:enabled:focus {\n box-shadow: 0 0 0 0.2rem #f9b4b4;\n}\n.p-button.p-button-danger:enabled:active, .p-buttonset.p-button-danger > .p-button:enabled:active, .p-splitbutton.p-button-danger > .p-button:enabled:active {\n background: #DC2626;\n color: #ffffff;\n border-color: #DC2626;\n}\n.p-button.p-button-danger.p-button-outlined, .p-buttonset.p-button-danger > .p-button.p-button-outlined, .p-splitbutton.p-button-danger > .p-button.p-button-outlined {\n background-color: transparent;\n color: #EF4444;\n border: 1px solid;\n}\n.p-button.p-button-danger.p-button-outlined:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:hover {\n background: rgba(239, 68, 68, 0.04);\n color: #EF4444;\n border: 1px solid;\n}\n.p-button.p-button-danger.p-button-outlined:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-outlined:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-outlined:enabled:active {\n background: rgba(239, 68, 68, 0.16);\n color: #EF4444;\n border: 1px solid;\n}\n.p-button.p-button-danger.p-button-text, .p-buttonset.p-button-danger > .p-button.p-button-text, .p-splitbutton.p-button-danger > .p-button.p-button-text {\n background-color: transparent;\n color: #EF4444;\n border-color: transparent;\n}\n.p-button.p-button-danger.p-button-text:enabled:hover, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:hover, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:hover {\n background: rgba(239, 68, 68, 0.04);\n border-color: transparent;\n color: #EF4444;\n}\n.p-button.p-button-danger.p-button-text:enabled:active, .p-buttonset.p-button-danger > .p-button.p-button-text:enabled:active, .p-splitbutton.p-button-danger > .p-button.p-button-text:enabled:active {\n background: rgba(239, 68, 68, 0.16);\n border-color: transparent;\n color: #EF4444;\n}\n\n.p-button.p-button-link {\n color: #4F46E5;\n background: transparent;\n border: transparent;\n}\n.p-button.p-button-link:enabled:hover {\n background: transparent;\n color: #4F46E5;\n border-color: transparent;\n}\n.p-button.p-button-link:enabled:hover .p-button-label {\n text-decoration: underline;\n}\n.p-button.p-button-link:enabled:focus {\n background: transparent;\n box-shadow: 0 0 0 0.2rem #6366F1;\n border-color: transparent;\n}\n.p-button.p-button-link:enabled:active {\n background: transparent;\n color: #4F46E5;\n border-color: transparent;\n}\n\n.p-speeddial-button.p-button.p-button-icon-only {\n width: 4rem;\n height: 4rem;\n}\n.p-speeddial-button.p-button.p-button-icon-only .p-button-icon {\n font-size: 1.3rem;\n}\n\n.p-speeddial-action {\n width: 3rem;\n height: 3rem;\n background: #3f3f46;\n color: #fff;\n}\n.p-speeddial-action:hover {\n background: #27272A;\n color: #fff;\n}\n\n.p-speeddial-direction-up .p-speeddial-item {\n margin: 0.25rem 0;\n}\n.p-speeddial-direction-up .p-speeddial-item:first-child {\n margin-bottom: 0.5rem;\n}\n\n.p-speeddial-direction-down .p-speeddial-item {\n margin: 0.25rem 0;\n}\n.p-speeddial-direction-down .p-speeddial-item:first-child {\n margin-top: 0.5rem;\n}\n\n.p-speeddial-direction-left .p-speeddial-item {\n margin: 0 0.25rem;\n}\n.p-speeddial-direction-left .p-speeddial-item:first-child {\n margin-right: 0.5rem;\n}\n\n.p-speeddial-direction-right .p-speeddial-item {\n margin: 0 0.25rem;\n}\n.p-speeddial-direction-right .p-speeddial-item:first-child {\n margin-left: 0.5rem;\n}\n\n.p-speeddial-circle .p-speeddial-item,\n.p-speeddial-semi-circle .p-speeddial-item,\n.p-speeddial-quarter-circle .p-speeddial-item {\n margin: 0;\n}\n.p-speeddial-circle .p-speeddial-item:first-child, .p-speeddial-circle .p-speeddial-item:last-child,\n.p-speeddial-semi-circle .p-speeddial-item:first-child,\n.p-speeddial-semi-circle .p-speeddial-item:last-child,\n.p-speeddial-quarter-circle .p-speeddial-item:first-child,\n.p-speeddial-quarter-circle .p-speeddial-item:last-child {\n margin: 0;\n}\n\n.p-speeddial-mask {\n background-color: rgba(0, 0, 0, 0.4);\n}\n\n.p-splitbutton {\n border-radius: 0.375rem;\n}\n.p-splitbutton.p-button-outlined > .p-button {\n background-color: transparent;\n color: #4F46E5;\n border: 1px solid;\n}\n.p-splitbutton.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(79, 70, 229, 0.04);\n color: #4F46E5;\n}\n.p-splitbutton.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(79, 70, 229, 0.16);\n color: #4F46E5;\n}\n.p-splitbutton.p-button-outlined.p-button-plain > .p-button {\n color: #71717A;\n border-color: #71717A;\n}\n.p-splitbutton.p-button-outlined.p-button-plain > .p-button:enabled:hover, .p-splitbutton.p-button-outlined.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: #f4f4f5;\n color: #71717A;\n}\n.p-splitbutton.p-button-outlined.p-button-plain > .p-button:enabled:active, .p-splitbutton.p-button-outlined.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):active {\n background: #e5e7eb;\n color: #71717A;\n}\n.p-splitbutton.p-button-text > .p-button {\n background-color: transparent;\n color: #4F46E5;\n border-color: transparent;\n}\n.p-splitbutton.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(79, 70, 229, 0.04);\n color: #4F46E5;\n border-color: transparent;\n}\n.p-splitbutton.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(79, 70, 229, 0.16);\n color: #4F46E5;\n border-color: transparent;\n}\n.p-splitbutton.p-button-text.p-button-plain > .p-button {\n color: #71717A;\n}\n.p-splitbutton.p-button-text.p-button-plain > .p-button:enabled:hover, .p-splitbutton.p-button-text.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: #f4f4f5;\n color: #71717A;\n}\n.p-splitbutton.p-button-text.p-button-plain > .p-button:enabled:active, .p-splitbutton.p-button-text.p-button-plain > .p-button:not(button):not(a):not(.p-disabled):active {\n background: #e5e7eb;\n color: #71717A;\n}\n.p-splitbutton.p-button-raised {\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\n}\n.p-splitbutton.p-button-rounded {\n border-radius: 2rem;\n}\n.p-splitbutton.p-button-rounded > .p-button {\n border-radius: 2rem;\n}\n.p-splitbutton.p-button-sm > .p-button {\n font-size: 0.875rem;\n padding: 0.65625rem 0.875rem;\n}\n.p-splitbutton.p-button-sm > .p-button .p-button-icon {\n font-size: 0.875rem;\n}\n.p-splitbutton.p-button-lg > .p-button {\n font-size: 1.25rem;\n padding: 0.9375rem 1.25rem;\n}\n.p-splitbutton.p-button-lg > .p-button .p-button-icon {\n font-size: 1.25rem;\n}\n\n.p-splitbutton.p-button-secondary.p-button-outlined > .p-button {\n background-color: transparent;\n color: #64748B;\n border: 1px solid;\n}\n.p-splitbutton.p-button-secondary.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(100, 116, 139, 0.04);\n color: #64748B;\n}\n.p-splitbutton.p-button-secondary.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-secondary.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(100, 116, 139, 0.16);\n color: #64748B;\n}\n.p-splitbutton.p-button-secondary.p-button-text > .p-button {\n background-color: transparent;\n color: #64748B;\n border-color: transparent;\n}\n.p-splitbutton.p-button-secondary.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-secondary.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(100, 116, 139, 0.04);\n border-color: transparent;\n color: #64748B;\n}\n.p-splitbutton.p-button-secondary.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-secondary.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(100, 116, 139, 0.16);\n border-color: transparent;\n color: #64748B;\n}\n\n.p-splitbutton.p-button-info.p-button-outlined > .p-button {\n background-color: transparent;\n color: #3B82F6;\n border: 1px solid;\n}\n.p-splitbutton.p-button-info.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-info.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(59, 130, 246, 0.04);\n color: #3B82F6;\n}\n.p-splitbutton.p-button-info.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-info.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(59, 130, 246, 0.16);\n color: #3B82F6;\n}\n.p-splitbutton.p-button-info.p-button-text > .p-button {\n background-color: transparent;\n color: #3B82F6;\n border-color: transparent;\n}\n.p-splitbutton.p-button-info.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-info.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(59, 130, 246, 0.04);\n border-color: transparent;\n color: #3B82F6;\n}\n.p-splitbutton.p-button-info.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-info.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(59, 130, 246, 0.16);\n border-color: transparent;\n color: #3B82F6;\n}\n\n.p-splitbutton.p-button-success.p-button-outlined > .p-button {\n background-color: transparent;\n color: #22C55E;\n border: 1px solid;\n}\n.p-splitbutton.p-button-success.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-success.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(34, 197, 94, 0.04);\n color: #22C55E;\n}\n.p-splitbutton.p-button-success.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-success.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(34, 197, 94, 0.16);\n color: #22C55E;\n}\n.p-splitbutton.p-button-success.p-button-text > .p-button {\n background-color: transparent;\n color: #22C55E;\n border-color: transparent;\n}\n.p-splitbutton.p-button-success.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-success.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(34, 197, 94, 0.04);\n border-color: transparent;\n color: #22C55E;\n}\n.p-splitbutton.p-button-success.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-success.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(34, 197, 94, 0.16);\n border-color: transparent;\n color: #22C55E;\n}\n\n.p-splitbutton.p-button-warning.p-button-outlined > .p-button {\n background-color: transparent;\n color: #F59E0B;\n border: 1px solid;\n}\n.p-splitbutton.p-button-warning.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(245, 158, 11, 0.04);\n color: #F59E0B;\n}\n.p-splitbutton.p-button-warning.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-warning.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(245, 158, 11, 0.16);\n color: #F59E0B;\n}\n.p-splitbutton.p-button-warning.p-button-text > .p-button {\n background-color: transparent;\n color: #F59E0B;\n border-color: transparent;\n}\n.p-splitbutton.p-button-warning.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-warning.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(245, 158, 11, 0.04);\n border-color: transparent;\n color: #F59E0B;\n}\n.p-splitbutton.p-button-warning.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-warning.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(245, 158, 11, 0.16);\n border-color: transparent;\n color: #F59E0B;\n}\n\n.p-splitbutton.p-button-help.p-button-outlined > .p-button {\n background-color: transparent;\n color: #A855F7;\n border: 1px solid;\n}\n.p-splitbutton.p-button-help.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-help.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(168, 85, 247, 0.04);\n color: #A855F7;\n}\n.p-splitbutton.p-button-help.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-help.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(168, 85, 247, 0.16);\n color: #A855F7;\n}\n.p-splitbutton.p-button-help.p-button-text > .p-button {\n background-color: transparent;\n color: #A855F7;\n border-color: transparent;\n}\n.p-splitbutton.p-button-help.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-help.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(168, 85, 247, 0.04);\n border-color: transparent;\n color: #A855F7;\n}\n.p-splitbutton.p-button-help.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-help.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(168, 85, 247, 0.16);\n border-color: transparent;\n color: #A855F7;\n}\n\n.p-splitbutton.p-button-danger.p-button-outlined > .p-button {\n background-color: transparent;\n color: #EF4444;\n border: 1px solid;\n}\n.p-splitbutton.p-button-danger.p-button-outlined > .p-button:enabled:hover, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(239, 68, 68, 0.04);\n color: #EF4444;\n}\n.p-splitbutton.p-button-danger.p-button-outlined > .p-button:enabled:active, .p-splitbutton.p-button-danger.p-button-outlined > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(239, 68, 68, 0.16);\n color: #EF4444;\n}\n.p-splitbutton.p-button-danger.p-button-text > .p-button {\n background-color: transparent;\n color: #EF4444;\n border-color: transparent;\n}\n.p-splitbutton.p-button-danger.p-button-text > .p-button:enabled:hover, .p-splitbutton.p-button-danger.p-button-text > .p-button:not(button):not(a):not(.p-disabled):hover {\n background: rgba(239, 68, 68, 0.04);\n border-color: transparent;\n color: #EF4444;\n}\n.p-splitbutton.p-button-danger.p-button-text > .p-button:enabled:active, .p-splitbutton.p-button-danger.p-button-text > .p-button:not(button):not(a):not(.p-disabled):active {\n background: rgba(239, 68, 68, 0.16);\n border-color: transparent;\n color: #EF4444;\n}\n\n.p-carousel .p-carousel-content .p-carousel-prev,\n.p-carousel .p-carousel-content .p-carousel-next {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n margin: 0.5rem;\n}\n.p-carousel .p-carousel-content .p-carousel-prev:enabled:hover,\n.p-carousel .p-carousel-content .p-carousel-next:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-carousel .p-carousel-content .p-carousel-prev:focus,\n.p-carousel .p-carousel-content .p-carousel-next:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-carousel .p-carousel-indicators {\n padding: 1rem;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator {\n margin-right: 0.5rem;\n margin-bottom: 0.5rem;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator button {\n background-color: #f4f4f5;\n width: 2rem;\n height: 0.5rem;\n transition: none;\n border-radius: 0;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator button:hover {\n background: #e5e7eb;\n}\n.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {\n background: #EEF2FF;\n color: #312E81;\n}\n\n.p-datatable .p-paginator-top {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-datatable .p-paginator-bottom {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-datatable .p-datatable-header {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #f4f4f5;\n border-width: 1px 0 1px 0;\n padding: 1.25rem 1.25rem;\n font-weight: 600;\n}\n.p-datatable .p-datatable-footer {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n padding: 0.75rem 1.5rem;\n font-weight: 600;\n}\n.p-datatable .p-datatable-thead > tr > th {\n text-align: left;\n padding: 0.75rem 1.5rem;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n font-weight: 500;\n color: #6b7280;\n background: #fafafa;\n transition: none;\n}\n.p-datatable .p-datatable-tfoot > tr > td {\n text-align: left;\n padding: 1rem 1rem;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n font-weight: 600;\n color: #3f3f46;\n background: #fafafa;\n}\n.p-datatable .p-sortable-column .p-sortable-column-icon {\n color: #71717A;\n margin-left: 0.5rem;\n}\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n border-radius: 50%;\n height: 1.143rem;\n min-width: 1.143rem;\n line-height: 1.143rem;\n color: #312E81;\n background: #EEF2FF;\n margin-left: 0.5rem;\n}\n.p-datatable .p-sortable-column:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #3f3f46;\n}\n.p-datatable .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon {\n color: #71717A;\n}\n.p-datatable .p-sortable-column.p-highlight {\n background: #fafafa;\n color: #4F46E5;\n}\n.p-datatable .p-sortable-column.p-highlight .p-sortable-column-icon {\n color: #4F46E5;\n}\n.p-datatable .p-sortable-column.p-highlight:hover {\n background: #f4f4f5;\n color: #4F46E5;\n}\n.p-datatable .p-sortable-column.p-highlight:hover .p-sortable-column-icon {\n color: #4F46E5;\n}\n.p-datatable .p-sortable-column:focus {\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n outline: 0 none;\n}\n.p-datatable .p-datatable-tbody > tr {\n background: #ffffff;\n color: #3f3f46;\n transition: none;\n}\n.p-datatable .p-datatable-tbody > tr > td {\n text-align: left;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n padding: 1rem 1.5rem;\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-toggler,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-init,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-cancel {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-toggler:enabled:hover,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-init:enabled:hover,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save:enabled:hover,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-cancel:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-toggler:focus,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-init:focus,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save:focus,\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-cancel:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-datatable .p-datatable-tbody > tr > td .p-row-editor-save {\n margin-right: 0.5rem;\n}\n.p-datatable .p-datatable-tbody > tr > td > .p-column-title {\n font-weight: 500;\n}\n.p-datatable .p-datatable-tbody > tr:focus {\n outline: 0.15rem solid #6366F1;\n outline-offset: -0.15rem;\n}\n.p-datatable .p-datatable-tbody > tr.p-highlight {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-top > td {\n box-shadow: inset 0 2px 0 0 #EEF2FF;\n}\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {\n box-shadow: inset 0 -2px 0 0 #EEF2FF;\n}\n.p-datatable.p-datatable-hoverable-rows .p-datatable-tbody > tr:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #3f3f46;\n}\n.p-datatable .p-column-resizer-helper {\n background: #4F46E5;\n}\n.p-datatable .p-datatable-scrollable-header,\n.p-datatable .p-datatable-scrollable-footer {\n background: #fafafa;\n}\n.p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-thead,\n.p-datatable.p-datatable-scrollable > .p-datatable-wrapper > .p-datatable-table > .p-datatable-tfoot {\n background-color: #fafafa;\n}\n.p-datatable .p-datatable-loading-icon {\n font-size: 2rem;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-header {\n border-width: 1px 1px 0 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-footer {\n border-width: 0 1px 1px 1px;\n}\n.p-datatable.p-datatable-gridlines .p-paginator-top {\n border-width: 0 1px 0 1px;\n}\n.p-datatable.p-datatable-gridlines .p-paginator-bottom {\n border-width: 0 1px 1px 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-thead > tr > th {\n border-width: 1px 1px 1px 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-tbody > tr > td {\n border-width: 1px;\n}\n.p-datatable.p-datatable-gridlines .p-datatable-tfoot > tr > td {\n border-width: 1px;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-thead > tr > th + th {\n border-left-width: 0;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr > td + td {\n border-left-width: 0;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr + tr > td, .p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tbody > tr:first-child > td {\n border-top-width: 0;\n}\n.p-datatable.p-datatable-gridlines.p-datatable-scrollable .p-datatable-tfoot > tr > td + td {\n border-left-width: 0;\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even) {\n background: #fcfcfc;\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler {\n color: #312E81;\n}\n.p-datatable.p-datatable-striped .p-datatable-tbody > tr:nth-child(even).p-highlight .p-row-toggler:hover {\n color: #312E81;\n}\n.p-datatable.p-datatable-sm .p-datatable-header {\n padding: 0.625rem 0.625rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-thead > tr > th {\n padding: 0.375rem 0.75rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-tbody > tr > td {\n padding: 0.5rem 0.75rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-tfoot > tr > td {\n padding: 0.375rem 0.75rem;\n}\n.p-datatable.p-datatable-sm .p-datatable-footer {\n padding: 0.375rem 0.75rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-header {\n padding: 1.5625rem 1.5625rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-thead > tr > th {\n padding: 0.9375rem 1.875rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-tbody > tr > td {\n padding: 1.25rem 1.875rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-tfoot > tr > td {\n padding: 0.9375rem 1.875rem;\n}\n.p-datatable.p-datatable-lg .p-datatable-footer {\n padding: 0.9375rem 1.875rem;\n}\n\n.p-dataview .p-paginator-top {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-dataview .p-paginator-bottom {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-dataview .p-dataview-header {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #f4f4f5;\n border-width: 1px 0 1px 0;\n padding: 1.25rem 1.25rem;\n font-weight: 600;\n}\n.p-dataview .p-dataview-content {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n padding: 0;\n}\n.p-dataview.p-dataview-list .p-dataview-content > .p-grid > div {\n border: solid #f4f4f5;\n border-width: 0 0 1px 0;\n}\n.p-dataview .p-dataview-footer {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n padding: 0.75rem 1.5rem;\n font-weight: 600;\n border-bottom-left-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n\n.p-column-filter-row .p-column-filter-menu-button,\n.p-column-filter-row .p-column-filter-clear-button {\n margin-left: 0.5rem;\n}\n\n.p-column-filter-menu-button {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-column-filter-menu-button:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-column-filter-menu-button.p-column-filter-menu-button-open, .p-column-filter-menu-button.p-column-filter-menu-button-open:hover {\n background: #f4f4f5;\n color: #18181B;\n}\n.p-column-filter-menu-button.p-column-filter-menu-button-active, .p-column-filter-menu-button.p-column-filter-menu-button-active:hover {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-column-filter-menu-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n.p-column-filter-clear-button {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-column-filter-clear-button:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-column-filter-clear-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n.p-column-filter-overlay {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n min-width: 12.5rem;\n}\n.p-column-filter-overlay .p-column-filter-row-items {\n padding: 0.25rem 0;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item {\n margin: 0;\n padding: 0.75rem 1rem;\n border: 0 none;\n color: #3f3f46;\n background: transparent;\n transition: none;\n border-radius: 0;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item:not(.p-highlight):not(.p-disabled):hover {\n color: #18181B;\n background: #f4f4f5;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-row-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-column-filter-overlay .p-column-filter-row-items .p-column-filter-separator {\n border-top: 1px solid #f3f4f6;\n margin: 0.25rem 0;\n}\n\n.p-column-filter-overlay-menu .p-column-filter-operator {\n padding: 0.5rem 0.75rem;\n border-bottom: 0 none;\n color: #3f3f46;\n background: #fafafa;\n margin: 0;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint {\n padding: 1.25rem;\n border-bottom: 1px solid #f3f4f6;\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint .p-column-filter-matchmode-dropdown {\n margin-bottom: 0.5rem;\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint .p-column-filter-remove-button {\n margin-top: 0.5rem;\n}\n.p-column-filter-overlay-menu .p-column-filter-constraint:last-child {\n border-bottom: 0 none;\n}\n.p-column-filter-overlay-menu .p-column-filter-add-rule {\n padding: 0.75rem 1.25rem;\n}\n.p-column-filter-overlay-menu .p-column-filter-buttonbar {\n padding: 1.25rem;\n}\n\n.fc {\n /* FullCalendar 4 */\n /* FullCalendar 5 */\n}\n.fc.fc-unthemed .fc-view-container th {\n background: #fafafa;\n border: 1px solid #e5e7eb;\n color: #3f3f46;\n}\n.fc.fc-unthemed .fc-view-container td.fc-widget-content {\n border: 1px solid #e5e7eb;\n color: #3f3f46;\n}\n.fc.fc-unthemed .fc-view-container td.fc-head-container {\n border: 1px solid #e5e7eb;\n}\n.fc.fc-unthemed .fc-view-container .fc-view {\n background: #ffffff;\n}\n.fc.fc-unthemed .fc-view-container .fc-row {\n border-right: 1px solid #e5e7eb;\n}\n.fc.fc-unthemed .fc-view-container .fc-event {\n background: #4F46E5;\n border: 1px solid #4F46E5;\n color: #ffffff;\n}\n.fc.fc-unthemed .fc-view-container .fc-divider {\n background: #fafafa;\n border: 1px solid #e5e7eb;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button {\n color: #ffffff;\n background: #4F46E5;\n border: 1px solid #4F46E5;\n font-size: 1rem;\n transition: none;\n border-radius: 0.375rem;\n display: flex;\n align-items: center;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:enabled:hover {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:enabled:active {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:enabled:active:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-left {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-left:before {\n content: \"\\e900\";\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-right {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button .fc-icon-chevron-right:before {\n content: \"\\e901\";\n}\n.fc.fc-unthemed .fc-toolbar .fc-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n color: #3f3f46;\n transition: none;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button:hover {\n background: #f4f4f5;\n border-color: #d4d4d8;\n color: #3f3f46;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active {\n background: #4F46E5;\n border-color: #4F46E5;\n color: #ffffff;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active:hover, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active:hover {\n background: #4338CA;\n border-color: #4338CA;\n color: #ffffff;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button.fc-dayGridMonth-button:focus, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridWeek-button:focus, .fc.fc-unthemed .fc-toolbar .fc-button.fc-timeGridDay-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n z-index: 1;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button {\n border-radius: 0;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button:first-child {\n border-top-left-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.fc.fc-unthemed .fc-toolbar .fc-button-group .fc-button:last-child {\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-scrollgrid {\n border-color: #e5e7eb;\n}\n.fc.fc-theme-standard .fc-view-harness th {\n background: #fafafa;\n border-color: #e5e7eb;\n color: #3f3f46;\n}\n.fc.fc-theme-standard .fc-view-harness td {\n color: #3f3f46;\n border-color: #e5e7eb;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-view {\n background: #ffffff;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover {\n background: none;\n border: 0 none;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header {\n border: 1px solid #e5e7eb;\n padding: 1.25rem;\n background: #fafafa;\n color: #3f3f46;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close {\n opacity: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n font-family: \"PrimeIcons\" !important;\n font-size: 1rem;\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close:before {\n content: \"\\e90b\";\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-header .fc-popover-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-popover .fc-popover-body {\n padding: 1.25rem;\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n border-top: 0 none;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-block-event {\n color: #ffffff;\n background: #4F46E5;\n border-color: #4F46E5;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-block-event .fc-event-main {\n color: #ffffff;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-dot-event .fc-daygrid-event-dot {\n background: #4F46E5;\n border-color: #4F46E5;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-event.fc-daygrid-dot-event:hover {\n background: #f4f4f5;\n color: #18181B;\n}\n.fc.fc-theme-standard .fc-view-harness .fc-cell-shaded {\n background: #fafafa;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button {\n color: #ffffff;\n background: #4F46E5;\n border: 1px solid #4F46E5;\n font-size: 1rem;\n transition: none;\n border-radius: 0.375rem;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:enabled:hover {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:enabled:active {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:enabled:active:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:disabled {\n opacity: 0.6;\n color: #ffffff;\n background: #4F46E5;\n border: 1px solid #4F46E5;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-left {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-left:before {\n content: \"\\e900\";\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-right {\n font-family: \"PrimeIcons\" !important;\n text-indent: 0;\n font-size: 1rem;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button .fc-icon-chevron-right:before {\n content: \"\\e901\";\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button {\n background: #ffffff;\n border: 1px solid #d4d4d8;\n color: #3f3f46;\n transition: none;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button:hover {\n background: #f4f4f5;\n border-color: #d4d4d8;\n color: #3f3f46;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active {\n background: #4F46E5;\n border-color: #4F46E5;\n color: #ffffff;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button.fc-button-active:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button.fc-button-active:hover, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button.fc-button-active:hover {\n background: #4338CA;\n border-color: #4338CA;\n color: #ffffff;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button.fc-dayGridMonth-button:not(:disabled):focus, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridWeek-button:not(:disabled):focus, .fc.fc-theme-standard .fc-toolbar .fc-button.fc-timeGridDay-button:not(:disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n z-index: 1;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button {\n border-radius: 0;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button:first-child {\n border-top-left-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.fc.fc-theme-standard .fc-toolbar .fc-button-group .fc-button:last-child {\n border-top-right-radius: 0.375rem;\n border-bottom-right-radius: 0.375rem;\n}\n.fc.fc-theme-standard .fc-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n\n.p-orderlist .p-orderlist-controls {\n padding: 1.25rem;\n}\n.p-orderlist .p-orderlist-controls .p-button {\n margin-bottom: 0.5rem;\n}\n.p-orderlist .p-orderlist-header {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #e5e7eb;\n padding: 1.25rem;\n font-weight: 700;\n border-bottom: 0 none;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-orderlist .p-orderlist-list {\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n padding: 0.25rem 0;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item {\n padding: 0.75rem 1rem;\n margin: 0;\n border: 0 none;\n color: #3f3f46;\n background: transparent;\n transition: transform 0.2s, none;\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #18181B;\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-orderlist .p-orderlist-list .p-orderlist-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even) {\n background: #fcfcfc;\n}\n.p-orderlist.p-orderlist-striped .p-orderlist-list .p-orderlist-item:nth-child(even):hover {\n background: #f4f4f5;\n}\n\n.p-organizationchart .p-organizationchart-node-content.p-organizationchart-selectable-node:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #18181B;\n}\n.p-organizationchart .p-organizationchart-node-content.p-highlight {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-organizationchart .p-organizationchart-node-content.p-highlight .p-node-toggler i {\n color: #6f91ff;\n}\n.p-organizationchart .p-organizationchart-line-down {\n background: #e5e7eb;\n}\n.p-organizationchart .p-organizationchart-line-left {\n border-right: 1px solid #e5e7eb;\n border-color: #e5e7eb;\n}\n.p-organizationchart .p-organizationchart-line-top {\n border-top: 1px solid #e5e7eb;\n border-color: #e5e7eb;\n}\n.p-organizationchart .p-organizationchart-node-content {\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n padding: 1.25rem;\n}\n.p-organizationchart .p-organizationchart-node-content .p-node-toggler {\n background: inherit;\n color: inherit;\n border-radius: 50%;\n}\n.p-organizationchart .p-organizationchart-node-content .p-node-toggler:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n.p-paginator {\n background: #ffffff;\n color: #71717A;\n border: solid #f4f4f5;\n border-width: 0;\n padding: 0.75rem 1.5rem;\n border-radius: 0.375rem;\n}\n.p-paginator .p-paginator-first,\n.p-paginator .p-paginator-prev,\n.p-paginator .p-paginator-next,\n.p-paginator .p-paginator-last {\n background-color: transparent;\n border: 1px solid #d4d4d8;\n color: #71717A;\n min-width: 3rem;\n height: 3rem;\n margin: 0 0 0 -1px;\n transition: none;\n border-radius: 0;\n}\n.p-paginator .p-paginator-first:not(.p-disabled):not(.p-highlight):hover,\n.p-paginator .p-paginator-prev:not(.p-disabled):not(.p-highlight):hover,\n.p-paginator .p-paginator-next:not(.p-disabled):not(.p-highlight):hover,\n.p-paginator .p-paginator-last:not(.p-disabled):not(.p-highlight):hover {\n background: #f4f4f5;\n border-color: #d4d4d8;\n color: #3f3f46;\n}\n.p-paginator .p-paginator-first {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-paginator .p-paginator-last {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-paginator .p-dropdown {\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n height: 3rem;\n}\n.p-paginator .p-dropdown .p-dropdown-label {\n padding-right: 0;\n}\n.p-paginator .p-paginator-page-input {\n margin-left: 0.5rem;\n margin-right: 0.5rem;\n}\n.p-paginator .p-paginator-page-input .p-inputtext {\n max-width: 3rem;\n}\n.p-paginator .p-paginator-current {\n background-color: transparent;\n border: 1px solid #d4d4d8;\n color: #71717A;\n min-width: 3rem;\n height: 3rem;\n margin: 0 0 0 -1px;\n padding: 0 0.5rem;\n}\n.p-paginator .p-paginator-pages .p-paginator-page {\n background-color: transparent;\n border: 1px solid #d4d4d8;\n color: #71717A;\n min-width: 3rem;\n height: 3rem;\n margin: 0 0 0 -1px;\n transition: none;\n border-radius: 0;\n}\n.p-paginator .p-paginator-pages .p-paginator-page.p-highlight {\n background: #EEF2FF;\n border-color: #EEF2FF;\n color: #312E81;\n}\n.p-paginator .p-paginator-pages .p-paginator-page:not(.p-highlight):hover {\n background: #f4f4f5;\n border-color: #d4d4d8;\n color: #3f3f46;\n}\n\n.p-picklist .p-picklist-buttons {\n padding: 1.25rem;\n}\n.p-picklist .p-picklist-buttons .p-button {\n margin-bottom: 0.5rem;\n}\n.p-picklist .p-picklist-header {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #e5e7eb;\n padding: 1.25rem;\n font-weight: 700;\n border-bottom: 0 none;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-picklist .p-picklist-list {\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n padding: 0.25rem 0;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-picklist .p-picklist-list .p-picklist-item {\n padding: 0.75rem 1rem;\n margin: 0;\n border: 0 none;\n color: #3f3f46;\n background: transparent;\n transition: transform 0.2s, none;\n}\n.p-picklist .p-picklist-list .p-picklist-item:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #18181B;\n}\n.p-picklist .p-picklist-list .p-picklist-item:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-picklist .p-picklist-list .p-picklist-item.p-highlight {\n color: #312E81;\n background: #EEF2FF;\n}\n.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even) {\n background: #fcfcfc;\n}\n.p-picklist.p-picklist-striped .p-picklist-list .p-picklist-item:nth-child(even):hover {\n background: #f4f4f5;\n}\n\n.p-timeline .p-timeline-event-marker {\n border: 2px solid #4F46E5;\n border-radius: 50%;\n width: 1rem;\n height: 1rem;\n background-color: #ffffff;\n}\n.p-timeline .p-timeline-event-connector {\n background-color: #e5e7eb;\n}\n.p-timeline.p-timeline-vertical .p-timeline-event-opposite,\n.p-timeline.p-timeline-vertical .p-timeline-event-content {\n padding: 0 1rem;\n}\n.p-timeline.p-timeline-vertical .p-timeline-event-connector {\n width: 2px;\n}\n.p-timeline.p-timeline-horizontal .p-timeline-event-opposite,\n.p-timeline.p-timeline-horizontal .p-timeline-event-content {\n padding: 1rem 0;\n}\n.p-timeline.p-timeline-horizontal .p-timeline-event-connector {\n height: 2px;\n}\n\n.p-tree {\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n padding: 1.25rem;\n border-radius: 0.375rem;\n}\n.p-tree .p-tree-container .p-treenode {\n padding: 0.143rem;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content {\n border-radius: 0.375rem;\n transition: none;\n padding: 0;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler {\n margin-right: 0.5rem;\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-tree-toggler:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-treenode-icon {\n margin-right: 0.5rem;\n color: #71717A;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content .p-checkbox .p-indeterminate .p-checkbox-icon {\n color: #3f3f46;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-tree-toggler,\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon {\n color: #312E81;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-tree-toggler:hover,\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-highlight .p-treenode-icon:hover {\n color: #312E81;\n}\n.p-tree .p-tree-container .p-treenode .p-treenode-content.p-treenode-selectable:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #18181B;\n}\n.p-tree .p-tree-filter-container {\n margin-bottom: 0.5rem;\n}\n.p-tree .p-tree-filter-container .p-tree-filter {\n width: 100%;\n padding-right: 1.75rem;\n}\n.p-tree .p-tree-filter-container .p-tree-filter-icon {\n right: 0.75rem;\n color: #71717A;\n}\n.p-tree .p-treenode-children {\n padding: 0 0 0 1rem;\n}\n.p-tree .p-tree-loading-icon {\n font-size: 2rem;\n}\n\n.p-treetable .p-paginator-top {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-treetable .p-paginator-bottom {\n border-width: 0 0 1px 0;\n border-radius: 0;\n}\n.p-treetable .p-treetable-header {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #f4f4f5;\n border-width: 1px 0 1px 0;\n padding: 1.25rem 1.25rem;\n font-weight: 600;\n}\n.p-treetable .p-treetable-footer {\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n padding: 0.75rem 1.5rem;\n font-weight: 600;\n}\n.p-treetable .p-treetable-thead > tr > th {\n text-align: left;\n padding: 0.75rem 1.5rem;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n font-weight: 500;\n color: #6b7280;\n background: #fafafa;\n transition: none;\n}\n.p-treetable .p-treetable-tfoot > tr > td {\n text-align: left;\n padding: 1rem 1rem;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n font-weight: 600;\n color: #3f3f46;\n background: #fafafa;\n}\n.p-treetable .p-sortable-column {\n outline-color: #6366F1;\n}\n.p-treetable .p-sortable-column .p-sortable-column-icon {\n color: #71717A;\n margin-left: 0.5rem;\n}\n.p-treetable .p-sortable-column .p-sortable-column-badge {\n border-radius: 50%;\n height: 1.143rem;\n min-width: 1.143rem;\n line-height: 1.143rem;\n color: #312E81;\n background: #EEF2FF;\n margin-left: 0.5rem;\n}\n.p-treetable .p-sortable-column:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #3f3f46;\n}\n.p-treetable .p-sortable-column:not(.p-highlight):hover .p-sortable-column-icon {\n color: #71717A;\n}\n.p-treetable .p-sortable-column.p-highlight {\n background: #fafafa;\n color: #4F46E5;\n}\n.p-treetable .p-sortable-column.p-highlight .p-sortable-column-icon {\n color: #4F46E5;\n}\n.p-treetable .p-treetable-tbody > tr {\n background: #ffffff;\n color: #3f3f46;\n transition: none;\n}\n.p-treetable .p-treetable-tbody > tr > td {\n text-align: left;\n border: 1px solid #f4f4f5;\n border-width: 0 0 1px 0;\n padding: 1rem 1.5rem;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n margin-right: 0.5rem;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler + .p-checkbox {\n margin-right: 0.5rem;\n}\n.p-treetable .p-treetable-tbody > tr > td .p-treetable-toggler + .p-checkbox .p-indeterminate .p-checkbox-icon {\n color: #3f3f46;\n}\n.p-treetable .p-treetable-tbody > tr:focus {\n outline: 0.15rem solid #6366F1;\n outline-offset: -0.15rem;\n}\n.p-treetable .p-treetable-tbody > tr.p-highlight {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-treetable .p-treetable-tbody > tr.p-highlight .p-treetable-toggler {\n color: #312E81;\n}\n.p-treetable .p-treetable-tbody > tr.p-highlight .p-treetable-toggler:hover {\n color: #312E81;\n}\n.p-treetable.p-treetable-hoverable-rows .p-treetable-tbody > tr:not(.p-highlight):hover {\n background: #f4f4f5;\n color: #3f3f46;\n}\n.p-treetable.p-treetable-hoverable-rows .p-treetable-tbody > tr:not(.p-highlight):hover .p-treetable-toggler {\n color: #3f3f46;\n}\n.p-treetable .p-column-resizer-helper {\n background: #4F46E5;\n}\n.p-treetable .p-treetable-scrollable-header,\n.p-treetable .p-treetable-scrollable-footer {\n background: #fafafa;\n}\n.p-treetable .p-treetable-loading-icon {\n font-size: 2rem;\n}\n.p-treetable.p-treetable-gridlines .p-datatable-header {\n border-width: 1px 1px 0 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-footer {\n border-width: 0 1px 1px 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-top {\n border-width: 0 1px 0 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-bottom {\n border-width: 0 1px 1px 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-thead > tr > th {\n border-width: 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-tbody > tr > td {\n border-width: 1px;\n}\n.p-treetable.p-treetable-gridlines .p-treetable-tfoot > tr > td {\n border-width: 1px;\n}\n.p-treetable.p-treetable-sm .p-treetable-header {\n padding: 1.09375rem 1.09375rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-thead > tr > th {\n padding: 0.375rem 0.75rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-tbody > tr > td {\n padding: 0.5rem 0.75rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-tfoot > tr > td {\n padding: 0.375rem 0.75rem;\n}\n.p-treetable.p-treetable-sm .p-treetable-footer {\n padding: 0.375rem 0.75rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-header {\n padding: 1.5625rem 1.5625rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-thead > tr > th {\n padding: 0.9375rem 1.875rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-tbody > tr > td {\n padding: 1.25rem 1.875rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-tfoot > tr > td {\n padding: 0.9375rem 1.875rem;\n}\n.p-treetable.p-treetable-lg .p-treetable-footer {\n padding: 0.9375rem 1.875rem;\n}\n\n.p-accordion .p-accordion-header .p-accordion-header-link {\n padding: 1.25rem;\n border: 1px solid #e5e7eb;\n color: #3f3f46;\n background: #fafafa;\n font-weight: 700;\n border-radius: 0.375rem;\n transition: none;\n}\n.p-accordion .p-accordion-header .p-accordion-header-link .p-accordion-toggle-icon {\n margin-right: 0.5rem;\n}\n.p-accordion .p-accordion-header:not(.p-disabled) .p-accordion-header-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-accordion .p-accordion-header:not(.p-highlight):not(.p-disabled):hover .p-accordion-header-link {\n background: #f4f4f5;\n border-color: #e5e7eb;\n color: #3f3f46;\n}\n.p-accordion .p-accordion-header:not(.p-disabled).p-highlight .p-accordion-header-link {\n background: #fafafa;\n border-color: #e5e7eb;\n color: #3f3f46;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-accordion .p-accordion-header:not(.p-disabled).p-highlight:hover .p-accordion-header-link {\n border-color: #e5e7eb;\n background: #f4f4f5;\n color: #3f3f46;\n}\n.p-accordion .p-accordion-content {\n padding: 1.25rem;\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n border-top: 0;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-accordion .p-accordion-tab {\n margin-bottom: 0;\n}\n.p-accordion .p-accordion-tab .p-accordion-header .p-accordion-header-link {\n border-radius: 0;\n}\n.p-accordion .p-accordion-tab .p-accordion-content {\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-accordion .p-accordion-tab:not(:first-child) .p-accordion-header .p-accordion-header-link {\n border-top: 0 none;\n}\n.p-accordion .p-accordion-tab:not(:first-child) .p-accordion-header:not(.p-highlight):not(.p-disabled):hover .p-accordion-header-link, .p-accordion .p-accordion-tab:not(:first-child) .p-accordion-header:not(.p-disabled).p-highlight:hover .p-accordion-header-link {\n border-top: 0 none;\n}\n.p-accordion .p-accordion-tab:first-child .p-accordion-header .p-accordion-header-link {\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-accordion .p-accordion-tab:last-child .p-accordion-header:not(.p-highlight) .p-accordion-header-link {\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-accordion .p-accordion-tab:last-child .p-accordion-content {\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n\n.p-card {\n background: #ffffff;\n color: #3f3f46;\n box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);\n border-radius: 0.375rem;\n}\n.p-card .p-card-body {\n padding: 1.25rem;\n}\n.p-card .p-card-title {\n font-size: 1.5rem;\n font-weight: 700;\n margin-bottom: 0.5rem;\n}\n.p-card .p-card-subtitle {\n font-weight: 400;\n margin-bottom: 0.5rem;\n color: #71717A;\n}\n.p-card .p-card-content {\n padding: 1.25rem 0;\n}\n.p-card .p-card-footer {\n padding: 1.25rem 0 0 0;\n}\n\n.p-fieldset {\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n border-radius: 0.375rem;\n}\n.p-fieldset .p-fieldset-legend {\n padding: 1.25rem;\n border: 1px solid #e5e7eb;\n color: #3f3f46;\n background: #fafafa;\n font-weight: 700;\n border-radius: 0.375rem;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend {\n padding: 0;\n transition: none;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a {\n padding: 1.25rem;\n color: #3f3f46;\n border-radius: 0.375rem;\n transition: none;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a .p-fieldset-toggler {\n margin-right: 0.5rem;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend a:hover {\n color: #18181B;\n}\n.p-fieldset.p-fieldset-toggleable .p-fieldset-legend:hover {\n background: #f4f4f5;\n border-color: #e5e7eb;\n color: #18181B;\n}\n.p-fieldset .p-fieldset-content {\n padding: 1.25rem;\n}\n\n.p-divider .p-divider-content {\n background-color: #ffffff;\n}\n.p-divider.p-divider-horizontal {\n margin: 1rem 0;\n padding: 0 1rem;\n}\n.p-divider.p-divider-horizontal:before {\n border-top: 1px #e5e7eb;\n}\n.p-divider.p-divider-horizontal .p-divider-content {\n padding: 0 0.5rem;\n}\n.p-divider.p-divider-vertical {\n margin: 0 1rem;\n padding: 1rem 0;\n}\n.p-divider.p-divider-vertical:before {\n border-left: 1px #e5e7eb;\n}\n.p-divider.p-divider-vertical .p-divider-content {\n padding: 0.5rem 0;\n}\n\n.p-panel .p-panel-header {\n border: 1px solid #e5e7eb;\n padding: 1.25rem;\n background: #fafafa;\n color: #3f3f46;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-panel .p-panel-header .p-panel-title {\n font-weight: 700;\n}\n.p-panel .p-panel-header .p-panel-header-icon {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-panel .p-panel-header .p-panel-header-icon:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-panel .p-panel-header .p-panel-header-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-panel.p-panel-toggleable .p-panel-header {\n padding: 0.75rem 1.25rem;\n}\n.p-panel .p-panel-content {\n padding: 1.25rem;\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n border-top: 0 none;\n}\n.p-panel .p-panel-footer {\n padding: 0.75rem 1.25rem;\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n border-top: 0 none;\n}\n\n.p-scrollpanel .p-scrollpanel-bar {\n background: #fafafa;\n border: 0 none;\n}\n\n.p-splitter {\n border: 1px solid #e5e7eb;\n background: #ffffff;\n border-radius: 0.375rem;\n color: #3f3f46;\n}\n.p-splitter .p-splitter-gutter {\n transition: none;\n background: #fafafa;\n}\n.p-splitter .p-splitter-gutter .p-splitter-gutter-handle {\n background: #e5e7eb;\n}\n.p-splitter .p-splitter-gutter-resizing {\n background: #e5e7eb;\n}\n\n.p-tabview .p-tabview-nav {\n background: #ffffff;\n border: 1px solid #e5e7eb;\n border-width: 0 0 2px 0;\n}\n.p-tabview .p-tabview-nav li {\n margin-right: 0;\n}\n.p-tabview .p-tabview-nav li .p-tabview-nav-link {\n border: solid #e5e7eb;\n border-width: 0 0 2px 0;\n border-color: transparent transparent #e5e7eb transparent;\n background: #ffffff;\n color: #71717A;\n padding: 1.25rem;\n font-weight: 700;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n transition: none;\n margin: 0 0 -2px 0;\n}\n.p-tabview .p-tabview-nav li .p-tabview-nav-link:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 1px #6366F1;\n}\n.p-tabview .p-tabview-nav li:not(.p-highlight):not(.p-disabled):hover .p-tabview-nav-link {\n background: #ffffff;\n border-color: #71717A;\n color: #71717A;\n}\n.p-tabview .p-tabview-nav li.p-highlight .p-tabview-nav-link {\n background: #ffffff;\n border-color: #4F46E5;\n color: #4F46E5;\n}\n.p-tabview .p-tabview-nav-btn.p-link {\n background: #ffffff;\n color: #4F46E5;\n width: 3rem;\n box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);\n border-radius: 0;\n}\n.p-tabview .p-tabview-nav-btn.p-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 1px #6366F1;\n}\n.p-tabview .p-tabview-panels {\n background: #ffffff;\n padding: 1.25rem;\n border: 0 none;\n color: #3f3f46;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n\n.p-toolbar {\n background: #fafafa;\n border: 1px solid #e5e7eb;\n padding: 1.25rem;\n border-radius: 0.375rem;\n}\n.p-toolbar .p-toolbar-separator {\n margin: 0 0.5rem;\n}\n\n.p-confirm-popup {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);\n}\n.p-confirm-popup .p-confirm-popup-content {\n padding: 1.25rem;\n}\n.p-confirm-popup .p-confirm-popup-footer {\n text-align: right;\n padding: 0 1rem 1rem 1rem;\n}\n.p-confirm-popup .p-confirm-popup-footer button {\n margin: 0 0.5rem 0 0;\n width: auto;\n}\n.p-confirm-popup .p-confirm-popup-footer button:last-child {\n margin: 0;\n}\n.p-confirm-popup:after {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-confirm-popup:before {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-confirm-popup.p-confirm-popup-flipped:after {\n border-top-color: #ffffff;\n}\n.p-confirm-popup.p-confirm-popup-flipped:before {\n border-top-color: #ffffff;\n}\n.p-confirm-popup .p-confirm-popup-icon {\n font-size: 1.5rem;\n}\n.p-confirm-popup .p-confirm-popup-message {\n margin-left: 1rem;\n}\n\n.p-dialog {\n border-radius: 0.375rem;\n box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);\n border: 0 none;\n}\n.p-dialog .p-dialog-header {\n border-bottom: 0 none;\n background: #ffffff;\n color: #3f3f46;\n padding: 1.5rem;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-dialog .p-dialog-header .p-dialog-title {\n font-weight: 600;\n font-size: 1.5rem;\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n margin-right: 0.5rem;\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-dialog .p-dialog-header .p-dialog-header-icon:last-child {\n margin-right: 0;\n}\n.p-dialog .p-dialog-content {\n background: #ffffff;\n color: #3f3f46;\n padding: 0 1.5rem 1.5rem 1.5rem;\n}\n.p-dialog .p-dialog-footer {\n border-top: 0 none;\n background: #ffffff;\n color: #3f3f46;\n padding: 0 1.5rem 1.5rem 1.5rem;\n text-align: right;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-dialog .p-dialog-footer button {\n margin: 0 0.5rem 0 0;\n width: auto;\n}\n.p-dialog.p-confirm-dialog .p-confirm-dialog-icon {\n font-size: 2rem;\n}\n.p-dialog.p-confirm-dialog .p-confirm-dialog-message {\n margin-left: 1rem;\n}\n\n.p-overlaypanel {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n border-radius: 0.375rem;\n box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);\n}\n.p-overlaypanel .p-overlaypanel-content {\n padding: 1.25rem;\n}\n.p-overlaypanel .p-overlaypanel-close {\n background: #4F46E5;\n color: #ffffff;\n width: 2rem;\n height: 2rem;\n transition: none;\n border-radius: 50%;\n position: absolute;\n top: -1rem;\n right: -1rem;\n}\n.p-overlaypanel .p-overlaypanel-close:enabled:hover {\n background: #4338CA;\n color: #ffffff;\n}\n.p-overlaypanel:after {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-overlaypanel:before {\n border: solid transparent;\n border-color: rgba(255, 255, 255, 0);\n border-bottom-color: #ffffff;\n}\n.p-overlaypanel.p-overlaypanel-flipped:after {\n border-top-color: #ffffff;\n}\n.p-overlaypanel.p-overlaypanel-flipped:before {\n border-top-color: #ffffff;\n}\n\n.p-sidebar {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);\n}\n.p-sidebar .p-sidebar-header {\n padding: 1.25rem;\n}\n.p-sidebar .p-sidebar-header .p-sidebar-close,\n.p-sidebar .p-sidebar-header .p-sidebar-icon {\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border: 0 none;\n background: transparent;\n border-radius: 50%;\n transition: none;\n}\n.p-sidebar .p-sidebar-header .p-sidebar-close:enabled:hover,\n.p-sidebar .p-sidebar-header .p-sidebar-icon:enabled:hover {\n color: #18181B;\n border-color: transparent;\n background: #f4f4f5;\n}\n.p-sidebar .p-sidebar-header .p-sidebar-close:focus,\n.p-sidebar .p-sidebar-header .p-sidebar-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-sidebar .p-sidebar-header + .p-sidebar-content {\n padding-top: 0;\n}\n.p-sidebar .p-sidebar-content {\n padding: 1.25rem;\n}\n\n.p-tooltip .p-tooltip-text {\n background: #3f3f46;\n color: #ffffff;\n padding: 0.75rem 0.75rem;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n border-radius: 0.375rem;\n}\n.p-tooltip.p-tooltip-right .p-tooltip-arrow {\n border-right-color: #3f3f46;\n}\n.p-tooltip.p-tooltip-left .p-tooltip-arrow {\n border-left-color: #3f3f46;\n}\n.p-tooltip.p-tooltip-top .p-tooltip-arrow {\n border-top-color: #3f3f46;\n}\n.p-tooltip.p-tooltip-bottom .p-tooltip-arrow {\n border-bottom-color: #3f3f46;\n}\n\n.p-fileupload .p-fileupload-buttonbar {\n background: #fafafa;\n padding: 1.25rem;\n border: 1px solid #e5e7eb;\n color: #3f3f46;\n border-bottom: 0 none;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-fileupload .p-fileupload-buttonbar .p-button {\n margin-right: 0.5rem;\n}\n.p-fileupload .p-fileupload-buttonbar .p-button.p-fileupload-choose.p-focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-fileupload .p-fileupload-content {\n background: #ffffff;\n padding: 2rem 1rem;\n border: 1px solid #e5e7eb;\n color: #3f3f46;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-fileupload .p-progressbar {\n height: 0.25rem;\n}\n.p-fileupload .p-fileupload-row > div {\n padding: 1rem 1.5rem;\n}\n.p-fileupload.p-fileupload-advanced .p-message {\n margin-top: 0;\n}\n\n.p-fileupload-choose:not(.p-disabled):hover {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n.p-fileupload-choose:not(.p-disabled):active {\n background: #4338CA;\n color: #ffffff;\n border-color: #4338CA;\n}\n\n.p-breadcrumb {\n background: #ffffff;\n border: 1px solid #e5e7eb;\n border-radius: 0.375rem;\n padding: 1rem;\n}\n.p-breadcrumb ul li .p-menuitem-link {\n transition: none;\n border-radius: 0.375rem;\n}\n.p-breadcrumb ul li .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-breadcrumb ul li .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-breadcrumb ul li .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n}\n.p-breadcrumb ul li.p-breadcrumb-chevron {\n margin: 0 0.5rem 0 0.5rem;\n color: #3f3f46;\n}\n.p-breadcrumb ul li:last-child .p-menuitem-text {\n color: #3f3f46;\n}\n.p-breadcrumb ul li:last-child .p-menuitem-icon {\n color: #71717A;\n}\n\n.p-contextmenu {\n padding: 0.25rem 0;\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n border-radius: 0.375rem;\n width: 12.5rem;\n}\n.p-contextmenu .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-contextmenu .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-contextmenu .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-contextmenu .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-contextmenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-contextmenu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-contextmenu .p-submenu-list {\n padding: 0.25rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n border-radius: 0.375rem;\n}\n.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: #f4f4f5;\n}\n.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-contextmenu .p-menu-separator {\n border-top: 1px solid #f3f4f6;\n margin: 0.25rem 0;\n}\n.p-contextmenu .p-submenu-icon {\n font-size: 0.875rem;\n}\n\n.p-dock .p-dock-list-container {\n background: rgba(255, 255, 255, 0.1);\n border: 1px solid rgba(255, 255, 255, 0.2);\n padding: 0.5rem 0.5rem;\n border-radius: 0.5rem;\n}\n.p-dock .p-dock-item {\n padding: 0.5rem;\n}\n.p-dock .p-dock-action {\n width: 4rem;\n height: 4rem;\n}\n.p-dock.p-dock-top .p-dock-item-second-prev,\n.p-dock.p-dock-top .p-dock-item-second-next, .p-dock.p-dock-bottom .p-dock-item-second-prev,\n.p-dock.p-dock-bottom .p-dock-item-second-next {\n margin: 0 0.9rem;\n}\n.p-dock.p-dock-top .p-dock-item-prev,\n.p-dock.p-dock-top .p-dock-item-next, .p-dock.p-dock-bottom .p-dock-item-prev,\n.p-dock.p-dock-bottom .p-dock-item-next {\n margin: 0 1.3rem;\n}\n.p-dock.p-dock-top .p-dock-item-current, .p-dock.p-dock-bottom .p-dock-item-current {\n margin: 0 1.5rem;\n}\n.p-dock.p-dock-left .p-dock-item-second-prev,\n.p-dock.p-dock-left .p-dock-item-second-next, .p-dock.p-dock-right .p-dock-item-second-prev,\n.p-dock.p-dock-right .p-dock-item-second-next {\n margin: 0.9rem 0;\n}\n.p-dock.p-dock-left .p-dock-item-prev,\n.p-dock.p-dock-left .p-dock-item-next, .p-dock.p-dock-right .p-dock-item-prev,\n.p-dock.p-dock-right .p-dock-item-next {\n margin: 1.3rem 0;\n}\n.p-dock.p-dock-left .p-dock-item-current, .p-dock.p-dock-right .p-dock-item-current {\n margin: 1.5rem 0;\n}\n\n@media screen and (max-width: 960px) {\n .p-dock.p-dock-top .p-dock-list-container, .p-dock.p-dock-bottom .p-dock-list-container {\n overflow-x: auto;\n width: 100%;\n }\n .p-dock.p-dock-top .p-dock-list-container .p-dock-list, .p-dock.p-dock-bottom .p-dock-list-container .p-dock-list {\n margin: 0 auto;\n }\n .p-dock.p-dock-left .p-dock-list-container, .p-dock.p-dock-right .p-dock-list-container {\n overflow-y: auto;\n height: 100%;\n }\n .p-dock.p-dock-left .p-dock-list-container .p-dock-list, .p-dock.p-dock-right .p-dock-list-container .p-dock-list {\n margin: auto 0;\n }\n .p-dock .p-dock-list .p-dock-item {\n transform: none;\n margin: 0;\n }\n}\n.p-megamenu {\n padding: 1rem;\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #e5e7eb;\n border-radius: 0.375rem;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0.375rem;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n margin-left: 0.5rem;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem > .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #3f3f46;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon,\n.p-megamenu .p-megamenu-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-megamenu .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-megamenu .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-megamenu .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-megamenu .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-megamenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-megamenu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-megamenu .p-megamenu-panel {\n background: #ffffff;\n color: #3f3f46;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-megamenu .p-megamenu-submenu-header {\n margin: 0;\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: #ffffff;\n font-weight: 600;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-megamenu .p-megamenu-submenu {\n padding: 0.25rem 0;\n width: 12.5rem;\n}\n.p-megamenu .p-megamenu-submenu .p-menu-separator {\n border-top: 1px solid #f3f4f6;\n margin: 0.25rem 0;\n}\n.p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: #f4f4f5;\n}\n.p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-megamenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-megamenu.p-megamenu-vertical {\n width: 12.5rem;\n padding: 0.25rem 0;\n}\n\n.p-menu {\n padding: 0.25rem 0;\n background: #ffffff;\n color: #3f3f46;\n border: 1px solid #e5e7eb;\n border-radius: 0.375rem;\n width: 12.5rem;\n}\n.p-menu .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-menu .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-menu .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-menu .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-menu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-menu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-menu.p-menu-overlay {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-menu .p-submenu-header {\n margin: 0;\n padding: 0.75rem 1rem;\n color: #3f3f46;\n background: #ffffff;\n font-weight: 600;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n}\n.p-menu .p-menu-separator {\n border-top: 1px solid #f3f4f6;\n margin: 0.25rem 0;\n}\n\n.p-menubar {\n padding: 1rem;\n background: #fafafa;\n color: #3f3f46;\n border: 1px solid #e5e7eb;\n border-radius: 0.375rem;\n}\n.p-menubar .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-menubar .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-menubar .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-menubar .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-menubar .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-menubar .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0.375rem;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n margin-left: 0.5rem;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #3f3f46;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon,\n.p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-menubar .p-submenu-list {\n padding: 0.25rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n width: 12.5rem;\n}\n.p-menubar .p-submenu-list .p-menu-separator {\n border-top: 1px solid #f3f4f6;\n margin: 0.25rem 0;\n}\n.p-menubar .p-submenu-list .p-submenu-icon {\n font-size: 0.875rem;\n}\n.p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: #f4f4f5;\n}\n.p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-menubar .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n\n@media screen and (max-width: 960px) {\n .p-menubar {\n position: relative;\n }\n .p-menubar .p-menubar-button {\n display: flex;\n width: 2rem;\n height: 2rem;\n color: #71717A;\n border-radius: 50%;\n transition: none;\n }\n .p-menubar .p-menubar-button:hover {\n color: #71717A;\n background: #f4f4f5;\n }\n .p-menubar .p-menubar-button:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n }\n .p-menubar .p-menubar-root-list {\n position: absolute;\n display: none;\n padding: 0.25rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n width: 100%;\n }\n .p-menubar .p-menubar-root-list .p-menu-separator {\n border-top: 1px solid #f3f4f6;\n margin: 0.25rem 0;\n }\n .p-menubar .p-menubar-root-list .p-submenu-icon {\n font-size: 0.875rem;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem {\n width: 100%;\n position: static;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem > .p-menuitem-link > .p-submenu-icon {\n margin-left: auto;\n transition: transform 0.2s;\n }\n .p-menubar .p-menubar-root-list > .p-menuitem.p-menuitem-active > .p-menuitem-link > .p-submenu-icon {\n transform: rotate(-180deg);\n }\n .p-menubar .p-menubar-root-list .p-submenu-list {\n width: 100%;\n position: static;\n box-shadow: none;\n border: 0 none;\n }\n .p-menubar .p-menubar-root-list .p-submenu-list .p-submenu-icon {\n transition: transform 0.2s;\n transform: rotate(90deg);\n }\n .p-menubar .p-menubar-root-list .p-submenu-list .p-menuitem-active > .p-menuitem-link > .p-submenu-icon {\n transform: rotate(-90deg);\n }\n .p-menubar .p-menubar-root-list .p-menuitem {\n width: 100%;\n position: static;\n }\n .p-menubar .p-menubar-root-list ul li a {\n padding-left: 2.25rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li a {\n padding-left: 3.75rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li ul li a {\n padding-left: 5.25rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li ul li ul li a {\n padding-left: 6.75rem;\n }\n .p-menubar .p-menubar-root-list ul li ul li ul li ul li ul li a {\n padding-left: 8.25rem;\n }\n .p-menubar.p-menubar-mobile-active .p-menubar-root-list {\n display: flex;\n flex-direction: column;\n top: 100%;\n left: 0;\n z-index: 1;\n }\n}\n.p-panelmenu .p-panelmenu-header > a {\n padding: 1.25rem;\n border: 1px solid #e5e7eb;\n color: #3f3f46;\n background: #fafafa;\n font-weight: 700;\n border-radius: 0.375rem;\n transition: none;\n}\n.p-panelmenu .p-panelmenu-header > a .p-panelmenu-icon {\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-header > a .p-menuitem-icon {\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-header > a:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-panelmenu .p-panelmenu-header:not(.p-highlight):not(.p-disabled) > a:hover {\n background: #f4f4f5;\n border-color: #e5e7eb;\n color: #3f3f46;\n}\n.p-panelmenu .p-panelmenu-header.p-highlight {\n margin-bottom: 0;\n}\n.p-panelmenu .p-panelmenu-header.p-highlight > a {\n background: #fafafa;\n border-color: #e5e7eb;\n color: #3f3f46;\n border-bottom-right-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-panelmenu .p-panelmenu-header.p-highlight:not(.p-disabled) > a:hover {\n border-color: #e5e7eb;\n background: #f4f4f5;\n color: #3f3f46;\n}\n.p-panelmenu .p-panelmenu-content {\n padding: 0.25rem 0;\n border: 1px solid #e5e7eb;\n background: #ffffff;\n color: #3f3f46;\n margin-bottom: 0;\n border-top: 0;\n border-top-right-radius: 0;\n border-top-left-radius: 0;\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-panelmenu .p-panelmenu-content .p-menuitem .p-menuitem-link .p-panelmenu-icon {\n margin-right: 0.5rem;\n}\n.p-panelmenu .p-panelmenu-content .p-submenu-list:not(.p-panelmenu-root-submenu) {\n padding: 0 0 0 1rem;\n}\n.p-panelmenu .p-panelmenu-panel {\n margin-bottom: 0;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-header > a {\n border-radius: 0;\n}\n.p-panelmenu .p-panelmenu-panel .p-panelmenu-content {\n border-radius: 0;\n}\n.p-panelmenu .p-panelmenu-panel:not(:first-child) .p-panelmenu-header > a {\n border-top: 0 none;\n}\n.p-panelmenu .p-panelmenu-panel:not(:first-child) .p-panelmenu-header:not(.p-highlight):not(.p-disabled):hover > a, .p-panelmenu .p-panelmenu-panel:not(:first-child) .p-panelmenu-header:not(.p-disabled).p-highlight:hover > a {\n border-top: 0 none;\n}\n.p-panelmenu .p-panelmenu-panel:first-child .p-panelmenu-header > a {\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n}\n.p-panelmenu .p-panelmenu-panel:last-child .p-panelmenu-header:not(.p-highlight) > a {\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n.p-panelmenu .p-panelmenu-panel:last-child .p-panelmenu-content {\n border-bottom-right-radius: 0.375rem;\n border-bottom-left-radius: 0.375rem;\n}\n\n.p-steps .p-steps-item .p-menuitem-link {\n background: transparent;\n transition: none;\n border-radius: 0.375rem;\n background: #ffffff;\n}\n.p-steps .p-steps-item .p-menuitem-link .p-steps-number {\n color: #3f3f46;\n border: 1px solid #f4f4f5;\n background: #ffffff;\n min-width: 2rem;\n height: 2rem;\n line-height: 2rem;\n font-size: 1.143rem;\n z-index: 1;\n border-radius: 50%;\n}\n.p-steps .p-steps-item .p-menuitem-link .p-steps-title {\n margin-top: 0.5rem;\n color: #71717A;\n}\n.p-steps .p-steps-item .p-menuitem-link:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-steps .p-steps-item.p-highlight .p-steps-number {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-steps .p-steps-item.p-highlight .p-steps-title {\n font-weight: 600;\n color: #3f3f46;\n}\n.p-steps .p-steps-item:before {\n content: \" \";\n border-top: 1px solid #f3f4f6;\n width: 100%;\n top: 50%;\n left: 0;\n display: block;\n position: absolute;\n margin-top: -1rem;\n}\n\n.p-tabmenu .p-tabmenu-nav {\n background: #ffffff;\n border: 1px solid #e5e7eb;\n border-width: 0 0 2px 0;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem {\n margin-right: 0;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link {\n border: solid #e5e7eb;\n border-width: 0 0 2px 0;\n border-color: transparent transparent #e5e7eb transparent;\n background: #ffffff;\n color: #71717A;\n padding: 1.25rem;\n font-weight: 700;\n border-top-right-radius: 0.375rem;\n border-top-left-radius: 0.375rem;\n transition: none;\n margin: 0 0 -2px 0;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link .p-menuitem-icon {\n margin-right: 0.5rem;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem .p-menuitem-link:not(.p-disabled):focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 1px #6366F1;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem:not(.p-highlight):not(.p-disabled):hover .p-menuitem-link {\n background: #ffffff;\n border-color: #71717A;\n color: #71717A;\n}\n.p-tabmenu .p-tabmenu-nav .p-tabmenuitem.p-highlight .p-menuitem-link {\n background: #ffffff;\n border-color: #4F46E5;\n color: #4F46E5;\n}\n\n.p-tieredmenu {\n padding: 0.25rem 0;\n background: #ffffff;\n color: #3f3f46;\n border: 1px solid #e5e7eb;\n border-radius: 0.375rem;\n width: 12.5rem;\n}\n.p-tieredmenu .p-menuitem-link {\n padding: 0.75rem 1rem;\n color: #3f3f46;\n border-radius: 0;\n transition: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-tieredmenu .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-tieredmenu .p-menuitem-link .p-menuitem-icon {\n color: #71717A;\n margin-right: 0.5rem;\n}\n.p-tieredmenu .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover {\n background: #f4f4f5;\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-text {\n color: #18181B;\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover .p-menuitem-icon {\n color: #71717A;\n}\n.p-tieredmenu .p-menuitem-link:not(.p-disabled):hover .p-submenu-icon {\n color: #71717A;\n}\n.p-tieredmenu .p-menuitem-link:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: inset 0 0 0 0.15rem #6366F1;\n}\n.p-tieredmenu.p-tieredmenu-overlay {\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-tieredmenu .p-submenu-list {\n padding: 0.25rem 0;\n background: #ffffff;\n border: 0 none;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n}\n.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link {\n background: #f4f4f5;\n}\n.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-text {\n color: #3f3f46;\n}\n.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-menuitem-icon, .p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-link .p-submenu-icon {\n color: #71717A;\n}\n.p-tieredmenu .p-menu-separator {\n border-top: 1px solid #f3f4f6;\n margin: 0.25rem 0;\n}\n.p-tieredmenu .p-submenu-icon {\n font-size: 0.875rem;\n}\n\n.p-inline-message {\n padding: 0.75rem 0.75rem;\n margin: 0;\n border-radius: 0.375rem;\n}\n.p-inline-message.p-inline-message-info {\n background: #EFF6FF;\n border: none;\n border-width: 0px;\n color: #2563EB;\n}\n.p-inline-message.p-inline-message-info .p-inline-message-icon {\n color: #2563EB;\n}\n.p-inline-message.p-inline-message-success {\n background: #ECFDF5;\n border: none;\n border-width: 0px;\n color: #059669;\n}\n.p-inline-message.p-inline-message-success .p-inline-message-icon {\n color: #059669;\n}\n.p-inline-message.p-inline-message-warn {\n background: #FEF3C7;\n border: none;\n border-width: 0px;\n color: #D97706;\n}\n.p-inline-message.p-inline-message-warn .p-inline-message-icon {\n color: #D97706;\n}\n.p-inline-message.p-inline-message-error {\n background: #FEF3C7;\n border: none;\n border-width: 0px;\n color: #DC2626;\n}\n.p-inline-message.p-inline-message-error .p-inline-message-icon {\n color: #DC2626;\n}\n.p-inline-message .p-inline-message-icon {\n font-size: 1rem;\n margin-right: 0.5rem;\n}\n.p-inline-message .p-inline-message-text {\n font-size: 1rem;\n}\n.p-inline-message.p-inline-message-icon-only .p-inline-message-icon {\n margin-right: 0;\n}\n\n.p-message {\n margin: 1rem 0;\n border-radius: 0.375rem;\n}\n.p-message .p-message-wrapper {\n padding: 1.25rem 1.75rem;\n}\n.p-message .p-message-close {\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n background: transparent;\n transition: none;\n}\n.p-message .p-message-close:hover {\n background: rgba(255, 255, 255, 0.3);\n}\n.p-message .p-message-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-message.p-message-info {\n background: #EFF6FF;\n border: none;\n border-width: 0 0 0 6px;\n color: #2563EB;\n}\n.p-message.p-message-info .p-message-icon {\n color: #2563EB;\n}\n.p-message.p-message-info .p-message-close {\n color: #2563EB;\n}\n.p-message.p-message-success {\n background: #ECFDF5;\n border: none;\n border-width: 0 0 0 6px;\n color: #059669;\n}\n.p-message.p-message-success .p-message-icon {\n color: #059669;\n}\n.p-message.p-message-success .p-message-close {\n color: #059669;\n}\n.p-message.p-message-warn {\n background: #FEF3C7;\n border: none;\n border-width: 0 0 0 6px;\n color: #D97706;\n}\n.p-message.p-message-warn .p-message-icon {\n color: #D97706;\n}\n.p-message.p-message-warn .p-message-close {\n color: #D97706;\n}\n.p-message.p-message-error {\n background: #FEF3C7;\n border: none;\n border-width: 0 0 0 6px;\n color: #DC2626;\n}\n.p-message.p-message-error .p-message-icon {\n color: #DC2626;\n}\n.p-message.p-message-error .p-message-close {\n color: #DC2626;\n}\n.p-message .p-message-text {\n font-size: 1rem;\n font-weight: 500;\n}\n.p-message .p-message-icon {\n font-size: 1.5rem;\n margin-right: 0.5rem;\n}\n\n.p-toast {\n opacity: 0.9;\n}\n.p-toast .p-toast-message {\n margin: 0 0 1rem 0;\n box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);\n border-radius: 0.375rem;\n}\n.p-toast .p-toast-message .p-toast-message-content {\n padding: 1rem;\n border-width: 0 0 0 6px;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-message-text {\n margin: 0 0 0 1rem;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-message-icon {\n font-size: 2rem;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-summary {\n font-weight: 700;\n}\n.p-toast .p-toast-message .p-toast-message-content .p-toast-detail {\n margin: 0.5rem 0 0 0;\n}\n.p-toast .p-toast-message .p-toast-icon-close {\n width: 2rem;\n height: 2rem;\n border-radius: 50%;\n background: transparent;\n transition: none;\n}\n.p-toast .p-toast-message .p-toast-icon-close:hover {\n background: rgba(255, 255, 255, 0.3);\n}\n.p-toast .p-toast-message .p-toast-icon-close:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n.p-toast .p-toast-message.p-toast-message-info {\n background: #EFF6FF;\n border: none;\n border-width: 0 0 0 6px;\n color: #2563EB;\n}\n.p-toast .p-toast-message.p-toast-message-info .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-info .p-toast-icon-close {\n color: #2563EB;\n}\n.p-toast .p-toast-message.p-toast-message-success {\n background: #ECFDF5;\n border: none;\n border-width: 0 0 0 6px;\n color: #059669;\n}\n.p-toast .p-toast-message.p-toast-message-success .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-success .p-toast-icon-close {\n color: #059669;\n}\n.p-toast .p-toast-message.p-toast-message-warn {\n background: #FEF3C7;\n border: none;\n border-width: 0 0 0 6px;\n color: #D97706;\n}\n.p-toast .p-toast-message.p-toast-message-warn .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-warn .p-toast-icon-close {\n color: #D97706;\n}\n.p-toast .p-toast-message.p-toast-message-error {\n background: #FEF3C7;\n border: none;\n border-width: 0 0 0 6px;\n color: #DC2626;\n}\n.p-toast .p-toast-message.p-toast-message-error .p-toast-message-icon,\n.p-toast .p-toast-message.p-toast-message-error .p-toast-icon-close {\n color: #DC2626;\n}\n\n.p-galleria .p-galleria-close {\n margin: 0.5rem;\n background: transparent;\n color: #fafafa;\n width: 4rem;\n height: 4rem;\n transition: none;\n border-radius: 50%;\n}\n.p-galleria .p-galleria-close .p-galleria-close-icon {\n font-size: 2rem;\n}\n.p-galleria .p-galleria-close:hover {\n background: rgba(255, 255, 255, 0.1);\n color: #fafafa;\n}\n.p-galleria .p-galleria-item-nav {\n background: transparent;\n color: #fafafa;\n width: 4rem;\n height: 4rem;\n transition: none;\n border-radius: 0.375rem;\n margin: 0 0.5rem;\n}\n.p-galleria .p-galleria-item-nav .p-galleria-item-prev-icon,\n.p-galleria .p-galleria-item-nav .p-galleria-item-next-icon {\n font-size: 2rem;\n}\n.p-galleria .p-galleria-item-nav:not(.p-disabled):hover {\n background: rgba(255, 255, 255, 0.1);\n color: #fafafa;\n}\n.p-galleria .p-galleria-caption {\n background: rgba(0, 0, 0, 0.5);\n color: #fafafa;\n padding: 1rem;\n}\n.p-galleria .p-galleria-indicators {\n padding: 1rem;\n}\n.p-galleria .p-galleria-indicators .p-galleria-indicator button {\n background-color: #f4f4f5;\n width: 1rem;\n height: 1rem;\n transition: none;\n border-radius: 50%;\n}\n.p-galleria .p-galleria-indicators .p-galleria-indicator button:hover {\n background: #e5e7eb;\n}\n.p-galleria .p-galleria-indicators .p-galleria-indicator.p-highlight button {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-galleria.p-galleria-indicators-bottom .p-galleria-indicator, .p-galleria.p-galleria-indicators-top .p-galleria-indicator {\n margin-right: 0.5rem;\n}\n.p-galleria.p-galleria-indicators-left .p-galleria-indicator, .p-galleria.p-galleria-indicators-right .p-galleria-indicator {\n margin-bottom: 0.5rem;\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators {\n background: rgba(0, 0, 0, 0.5);\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator button {\n background: rgba(255, 255, 255, 0.4);\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator button:hover {\n background: rgba(255, 255, 255, 0.6);\n}\n.p-galleria.p-galleria-indicator-onitem .p-galleria-indicators .p-galleria-indicator.p-highlight button {\n background: #EEF2FF;\n color: #312E81;\n}\n.p-galleria .p-galleria-thumbnail-container {\n background: rgba(0, 0, 0, 0.9);\n padding: 1rem 0.25rem;\n}\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-prev,\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-next {\n margin: 0.5rem;\n background-color: transparent;\n color: #fafafa;\n width: 2rem;\n height: 2rem;\n transition: none;\n border-radius: 50%;\n}\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-prev:hover,\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-next:hover {\n background: rgba(255, 255, 255, 0.1);\n color: #fafafa;\n}\n.p-galleria .p-galleria-thumbnail-container .p-galleria-thumbnail-item-content:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n.p-galleria-mask {\n --maskbg: rgba(0, 0, 0, 0.9);\n}\n\n.p-image-mask {\n --maskbg: rgba(0, 0, 0, 0.9);\n}\n\n.p-image-preview-indicator {\n background-color: transparent;\n color: #f8f9fa;\n transition: none;\n}\n\n.p-image-preview-container:hover > .p-image-preview-indicator {\n background-color: rgba(0, 0, 0, 0.5);\n}\n\n.p-image-toolbar {\n padding: 1rem;\n}\n\n.p-image-action.p-link {\n color: #f8f9fa;\n background-color: transparent;\n width: 3rem;\n height: 3rem;\n border-radius: 50%;\n transition: none;\n margin-right: 0.5rem;\n}\n.p-image-action.p-link:last-child {\n margin-right: 0;\n}\n.p-image-action.p-link:hover {\n color: #f8f9fa;\n background-color: rgba(255, 255, 255, 0.1);\n}\n.p-image-action.p-link i {\n font-size: 1.5rem;\n}\n\n.p-avatar {\n background-color: #e5e7eb;\n border-radius: 0.375rem;\n}\n.p-avatar.p-avatar-lg {\n width: 3rem;\n height: 3rem;\n font-size: 1.5rem;\n}\n.p-avatar.p-avatar-lg .p-avatar-icon {\n font-size: 1.5rem;\n}\n.p-avatar.p-avatar-xl {\n width: 4rem;\n height: 4rem;\n font-size: 2rem;\n}\n.p-avatar.p-avatar-xl .p-avatar-icon {\n font-size: 2rem;\n}\n\n.p-avatar-group .p-avatar {\n border: 2px solid #ffffff;\n}\n\n.p-badge {\n background: #4F46E5;\n color: #ffffff;\n font-size: 0.75rem;\n font-weight: 700;\n min-width: 1.5rem;\n height: 1.5rem;\n line-height: 1.5rem;\n}\n.p-badge.p-badge-secondary {\n background-color: #64748B;\n color: #ffffff;\n}\n.p-badge.p-badge-success {\n background-color: #22C55E;\n color: #ffffff;\n}\n.p-badge.p-badge-info {\n background-color: #3B82F6;\n color: #ffffff;\n}\n.p-badge.p-badge-warning {\n background-color: #F59E0B;\n color: #ffffff;\n}\n.p-badge.p-badge-danger {\n background-color: #EF4444;\n color: #ffffff;\n}\n.p-badge.p-badge-lg {\n font-size: 1.125rem;\n min-width: 2.25rem;\n height: 2.25rem;\n line-height: 2.25rem;\n}\n.p-badge.p-badge-xl {\n font-size: 1.5rem;\n min-width: 3rem;\n height: 3rem;\n line-height: 3rem;\n}\n\n.p-chip {\n background-color: #e5e7eb;\n color: #3f3f46;\n border-radius: 16px;\n padding: 0 0.75rem;\n}\n.p-chip .p-chip-text {\n line-height: 1.5;\n margin-top: 0.375rem;\n margin-bottom: 0.375rem;\n}\n.p-chip .p-chip-icon {\n margin-right: 0.5rem;\n}\n.p-chip img {\n width: 2.25rem;\n height: 2.25rem;\n margin-left: -0.75rem;\n margin-right: 0.5rem;\n}\n.p-chip .p-chip-remove-icon {\n margin-left: 0.5rem;\n border-radius: 0.375rem;\n transition: none;\n}\n.p-chip .p-chip-remove-icon:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n.p-inplace .p-inplace-display {\n padding: 0.75rem 0.75rem;\n border-radius: 0.375rem;\n transition: none;\n}\n.p-inplace .p-inplace-display:not(.p-disabled):hover {\n background: #f4f4f5;\n color: #18181B;\n}\n.p-inplace .p-inplace-display:focus {\n outline: 0 none;\n outline-offset: 0;\n box-shadow: 0 0 0 1px #6366F1;\n}\n\n.p-progressbar {\n border: 0 none;\n height: 1.5rem;\n background: #e5e7eb;\n border-radius: 0.375rem;\n}\n.p-progressbar .p-progressbar-value {\n border: 0 none;\n margin: 0;\n background: #4F46E5;\n}\n.p-progressbar .p-progressbar-label {\n color: #ffffff;\n line-height: 1.5rem;\n}\n\n.p-scrolltop {\n width: 3rem;\n height: 3rem;\n border-radius: 50%;\n box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);\n transition: none;\n}\n.p-scrolltop.p-link {\n background: rgba(0, 0, 0, 0.7);\n}\n.p-scrolltop.p-link:hover {\n background: rgba(0, 0, 0, 0.8);\n}\n.p-scrolltop .p-scrolltop-icon {\n font-size: 1.5rem;\n color: #fafafa;\n}\n\n.p-skeleton {\n background-color: #f4f4f5;\n border-radius: 0.375rem;\n}\n.p-skeleton:after {\n background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));\n}\n\n.p-tag {\n background: #4F46E5;\n color: #ffffff;\n font-size: 0.75rem;\n font-weight: 700;\n padding: 0.25rem 0.4rem;\n border-radius: 0.375rem;\n}\n.p-tag.p-tag-success {\n background-color: #22C55E;\n color: #ffffff;\n}\n.p-tag.p-tag-info {\n background-color: #3B82F6;\n color: #ffffff;\n}\n.p-tag.p-tag-warning {\n background-color: #F59E0B;\n color: #ffffff;\n}\n.p-tag.p-tag-danger {\n background-color: #EF4444;\n color: #ffffff;\n}\n.p-tag .p-tag-icon {\n margin-right: 0.25rem;\n font-size: 0.75rem;\n}\n\n.p-terminal {\n background: #ffffff;\n color: #3f3f46;\n border: 1px solid #e5e7eb;\n padding: 1.25rem;\n}\n.p-terminal .p-terminal-input {\n font-size: 1rem;\n font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n}\n\n/* Customizations to the designer theme should be defined here */\n.p-inputtext, .p-togglebutton, .p-selectbutton, .p-inputgroup {\n box-shadow: 0 0 #0000, 0 0 #0000, 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n}\n\n.p-inputgroup .p-inputtext, .p-inputgroup .p-togglebutton, .p-inputgroup .p-selectbutton {\n box-shadow: none;\n}\n\n.p-inputtext.p-invalid.p-component:enabled:focus {\n box-shadow: 0 0 0 1px #f0a9a7;\n}\n\n.p-highlight {\n font-weight: 600;\n}\n\n.p-button-label {\n font-weight: 500;\n}\n\n.p-inputswitch.p-focus .p-inputswitch-slider {\n box-shadow: 0 0 0 2px #6366F1;\n}\n\n.p-paginator .p-paginator-pages .p-paginator-page {\n margin-left: -1px;\n}\n.p-paginator .p-paginator-pages .p-paginator-page.p-highlight {\n border-color: #4F46E5;\n margin-right: 1px;\n}\n.p-paginator .p-paginator-current {\n border: 0 none;\n}\n\n.p-button:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6366F1, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n.p-button.p-button-secondary:enabled:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #64748B, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n.p-button.p-button-success:enabled:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #22C55E, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n.p-button.p-button-info:enabled:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #3B82F6, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n.p-button.p-button-warning:enabled:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #F59E0B, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n.p-button.p-button-help:enabled:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #A855F7, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n.p-button.p-button-danger:enabled:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #EF4444, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n\n.p-checkbox .p-checkbox-box {\n border-radius: 0.25rem;\n}\n.p-checkbox:not(.p-checkbox-disabled) .p-checkbox-box.p-focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6366F1, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n\n.p-radiobutton:not(.p-radiobutton-disabled) .p-radiobutton-box.p-focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #6366F1, 0 1px 2px 0 rgba(0, 0, 0, 0);\n}\n\n.p-carousel .p-carousel-indicators .p-carousel-indicator.p-highlight button {\n background-color: #4F46E5;\n}\n\n.p-galleria .p-galleria-indicators .p-galleria-indicator.p-highlight button {\n background-color: #4F46E5;\n}\n\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-top > td {\n box-shadow: inset 0 2px 0 0 #4F46E5;\n}\n.p-datatable .p-datatable-tbody > tr.p-datatable-dragpoint-bottom > td {\n box-shadow: inset 0 -2px 0 0 #4F46E5;\n}\n", ""]);
  19697. // Exports
  19698. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
  19699. /***/ }),
  19700. /***/ "./node_modules/css-loader/dist/runtime/api.js":
  19701. /*!*****************************************************!*\
  19702. !*** ./node_modules/css-loader/dist/runtime/api.js ***!
  19703. \*****************************************************/
  19704. /***/ ((module) => {
  19705. "use strict";
  19706. /*
  19707. MIT License http://www.opensource.org/licenses/mit-license.php
  19708. Author Tobias Koppers @sokra
  19709. */
  19710. // css base code, injected by the css-loader
  19711. // eslint-disable-next-line func-names
  19712. module.exports = function (cssWithMappingToString) {
  19713. var list = []; // return the list of modules as css string
  19714. list.toString = function toString() {
  19715. return this.map(function (item) {
  19716. var content = cssWithMappingToString(item);
  19717. if (item[2]) {
  19718. return "@media ".concat(item[2], " {").concat(content, "}");
  19719. }
  19720. return content;
  19721. }).join("");
  19722. }; // import a list of modules into the list
  19723. // eslint-disable-next-line func-names
  19724. list.i = function (modules, mediaQuery, dedupe) {
  19725. if (typeof modules === "string") {
  19726. // eslint-disable-next-line no-param-reassign
  19727. modules = [[null, modules, ""]];
  19728. }
  19729. var alreadyImportedModules = {};
  19730. if (dedupe) {
  19731. for (var i = 0; i < this.length; i++) {
  19732. // eslint-disable-next-line prefer-destructuring
  19733. var id = this[i][0];
  19734. if (id != null) {
  19735. alreadyImportedModules[id] = true;
  19736. }
  19737. }
  19738. }
  19739. for (var _i = 0; _i < modules.length; _i++) {
  19740. var item = [].concat(modules[_i]);
  19741. if (dedupe && alreadyImportedModules[item[0]]) {
  19742. // eslint-disable-next-line no-continue
  19743. continue;
  19744. }
  19745. if (mediaQuery) {
  19746. if (!item[2]) {
  19747. item[2] = mediaQuery;
  19748. } else {
  19749. item[2] = "".concat(mediaQuery, " and ").concat(item[2]);
  19750. }
  19751. }
  19752. list.push(item);
  19753. }
  19754. };
  19755. return list;
  19756. };
  19757. /***/ }),
  19758. /***/ "./node_modules/css-loader/dist/runtime/getUrl.js":
  19759. /*!********************************************************!*\
  19760. !*** ./node_modules/css-loader/dist/runtime/getUrl.js ***!
  19761. \********************************************************/
  19762. /***/ ((module) => {
  19763. "use strict";
  19764. module.exports = function (url, options) {
  19765. if (!options) {
  19766. // eslint-disable-next-line no-param-reassign
  19767. options = {};
  19768. } // eslint-disable-next-line no-underscore-dangle, no-param-reassign
  19769. url = url && url.__esModule ? url.default : url;
  19770. if (typeof url !== "string") {
  19771. return url;
  19772. } // If url is already wrapped in quotes, remove them
  19773. if (/^['"].*['"]$/.test(url)) {
  19774. // eslint-disable-next-line no-param-reassign
  19775. url = url.slice(1, -1);
  19776. }
  19777. if (options.hash) {
  19778. // eslint-disable-next-line no-param-reassign
  19779. url += options.hash;
  19780. } // Should url be wrapped?
  19781. // See https://drafts.csswg.org/css-values-3/#urls
  19782. if (/["'() \t\n]/.test(url) || options.needQuotes) {
  19783. return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\"");
  19784. }
  19785. return url;
  19786. };
  19787. /***/ }),
  19788. /***/ "./node_modules/deepmerge/dist/cjs.js":
  19789. /*!********************************************!*\
  19790. !*** ./node_modules/deepmerge/dist/cjs.js ***!
  19791. \********************************************/
  19792. /***/ ((module) => {
  19793. "use strict";
  19794. var isMergeableObject = function isMergeableObject(value) {
  19795. return isNonNullObject(value)
  19796. && !isSpecial(value)
  19797. };
  19798. function isNonNullObject(value) {
  19799. return !!value && typeof value === 'object'
  19800. }
  19801. function isSpecial(value) {
  19802. var stringValue = Object.prototype.toString.call(value);
  19803. return stringValue === '[object RegExp]'
  19804. || stringValue === '[object Date]'
  19805. || isReactElement(value)
  19806. }
  19807. // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
  19808. var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
  19809. var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
  19810. function isReactElement(value) {
  19811. return value.$$typeof === REACT_ELEMENT_TYPE
  19812. }
  19813. function emptyTarget(val) {
  19814. return Array.isArray(val) ? [] : {}
  19815. }
  19816. function cloneUnlessOtherwiseSpecified(value, options) {
  19817. return (options.clone !== false && options.isMergeableObject(value))
  19818. ? deepmerge(emptyTarget(value), value, options)
  19819. : value
  19820. }
  19821. function defaultArrayMerge(target, source, options) {
  19822. return target.concat(source).map(function(element) {
  19823. return cloneUnlessOtherwiseSpecified(element, options)
  19824. })
  19825. }
  19826. function getMergeFunction(key, options) {
  19827. if (!options.customMerge) {
  19828. return deepmerge
  19829. }
  19830. var customMerge = options.customMerge(key);
  19831. return typeof customMerge === 'function' ? customMerge : deepmerge
  19832. }
  19833. function getEnumerableOwnPropertySymbols(target) {
  19834. return Object.getOwnPropertySymbols
  19835. ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
  19836. return target.propertyIsEnumerable(symbol)
  19837. })
  19838. : []
  19839. }
  19840. function getKeys(target) {
  19841. return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))
  19842. }
  19843. function propertyIsOnObject(object, property) {
  19844. try {
  19845. return property in object
  19846. } catch(_) {
  19847. return false
  19848. }
  19849. }
  19850. // Protects from prototype poisoning and unexpected merging up the prototype chain.
  19851. function propertyIsUnsafe(target, key) {
  19852. return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
  19853. && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
  19854. && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.
  19855. }
  19856. function mergeObject(target, source, options) {
  19857. var destination = {};
  19858. if (options.isMergeableObject(target)) {
  19859. getKeys(target).forEach(function(key) {
  19860. destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
  19861. });
  19862. }
  19863. getKeys(source).forEach(function(key) {
  19864. if (propertyIsUnsafe(target, key)) {
  19865. return
  19866. }
  19867. if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
  19868. destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
  19869. } else {
  19870. destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
  19871. }
  19872. });
  19873. return destination
  19874. }
  19875. function deepmerge(target, source, options) {
  19876. options = options || {};
  19877. options.arrayMerge = options.arrayMerge || defaultArrayMerge;
  19878. options.isMergeableObject = options.isMergeableObject || isMergeableObject;
  19879. // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
  19880. // implementations can use it. The caller may not replace it.
  19881. options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
  19882. var sourceIsArray = Array.isArray(source);
  19883. var targetIsArray = Array.isArray(target);
  19884. var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
  19885. if (!sourceAndTargetTypesMatch) {
  19886. return cloneUnlessOtherwiseSpecified(source, options)
  19887. } else if (sourceIsArray) {
  19888. return options.arrayMerge(target, source, options)
  19889. } else {
  19890. return mergeObject(target, source, options)
  19891. }
  19892. }
  19893. deepmerge.all = function deepmergeAll(array, options) {
  19894. if (!Array.isArray(array)) {
  19895. throw new Error('first argument should be an array')
  19896. }
  19897. return array.reduce(function(prev, next) {
  19898. return deepmerge(prev, next, options)
  19899. }, {})
  19900. };
  19901. var deepmerge_1 = deepmerge;
  19902. module.exports = deepmerge_1;
  19903. /***/ }),
  19904. /***/ "./node_modules/primevue/resources/images/color.png":
  19905. /*!**********************************************************!*\
  19906. !*** ./node_modules/primevue/resources/images/color.png ***!
  19907. \**********************************************************/
  19908. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19909. "use strict";
  19910. __webpack_require__.r(__webpack_exports__);
  19911. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19912. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19913. /* harmony export */ });
  19914. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/images/vendor/primevue/resources/color.png?6441e63a57ccc5105bad045142bc31eb");
  19915. /***/ }),
  19916. /***/ "./node_modules/primevue/resources/images/hue.png":
  19917. /*!********************************************************!*\
  19918. !*** ./node_modules/primevue/resources/images/hue.png ***!
  19919. \********************************************************/
  19920. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19921. "use strict";
  19922. __webpack_require__.r(__webpack_exports__);
  19923. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19924. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19925. /* harmony export */ });
  19926. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/images/vendor/primevue/resources/hue.png?f8505bd4d6f3e3aa435b72d1c045d4a7");
  19927. /***/ }),
  19928. /***/ "./node_modules/primeicons/fonts/primeicons.eot":
  19929. /*!******************************************************!*\
  19930. !*** ./node_modules/primeicons/fonts/primeicons.eot ***!
  19931. \******************************************************/
  19932. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19933. "use strict";
  19934. __webpack_require__.r(__webpack_exports__);
  19935. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19936. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19937. /* harmony export */ });
  19938. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.eot?7fc4d8e224d1ff1b9c6256b15cbe43a7");
  19939. /***/ }),
  19940. /***/ "./node_modules/primeicons/fonts/primeicons.svg":
  19941. /*!******************************************************!*\
  19942. !*** ./node_modules/primeicons/fonts/primeicons.svg ***!
  19943. \******************************************************/
  19944. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19945. "use strict";
  19946. __webpack_require__.r(__webpack_exports__);
  19947. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19948. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19949. /* harmony export */ });
  19950. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.svg?c6e2053303524e39530c36f094129407");
  19951. /***/ }),
  19952. /***/ "./node_modules/primeicons/fonts/primeicons.ttf":
  19953. /*!******************************************************!*\
  19954. !*** ./node_modules/primeicons/fonts/primeicons.ttf ***!
  19955. \******************************************************/
  19956. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19957. "use strict";
  19958. __webpack_require__.r(__webpack_exports__);
  19959. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19960. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19961. /* harmony export */ });
  19962. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.ttf?91bacab1f083f2795272499faf7e83dc");
  19963. /***/ }),
  19964. /***/ "./node_modules/primeicons/fonts/primeicons.woff":
  19965. /*!*******************************************************!*\
  19966. !*** ./node_modules/primeicons/fonts/primeicons.woff ***!
  19967. \*******************************************************/
  19968. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19969. "use strict";
  19970. __webpack_require__.r(__webpack_exports__);
  19971. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19972. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19973. /* harmony export */ });
  19974. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primeicons/primeicons.woff?449aa8c65cdc5c2a868645403b9ea4d3");
  19975. /***/ }),
  19976. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Bold.woff":
  19977. /*!*************************************************************************************!*\
  19978. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Bold.woff ***!
  19979. \*************************************************************************************/
  19980. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19981. "use strict";
  19982. __webpack_require__.r(__webpack_exports__);
  19983. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19984. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19985. /* harmony export */ });
  19986. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Bold.woff?93c1301bd9f486c573b3d9001c6ec0e4");
  19987. /***/ }),
  19988. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Bold.woff2":
  19989. /*!**************************************************************************************!*\
  19990. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Bold.woff2 ***!
  19991. \**************************************************************************************/
  19992. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  19993. "use strict";
  19994. __webpack_require__.r(__webpack_exports__);
  19995. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  19996. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  19997. /* harmony export */ });
  19998. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Bold.woff2?ec64ea577b0349e055ad6646c1d8797a");
  19999. /***/ }),
  20000. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Light.woff":
  20001. /*!**************************************************************************************!*\
  20002. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Light.woff ***!
  20003. \**************************************************************************************/
  20004. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20005. "use strict";
  20006. __webpack_require__.r(__webpack_exports__);
  20007. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20008. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20009. /* harmony export */ });
  20010. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Light.woff?994e34451cc19ede31d30802a480542b");
  20011. /***/ }),
  20012. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Light.woff2":
  20013. /*!***************************************************************************************!*\
  20014. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Light.woff2 ***!
  20015. \***************************************************************************************/
  20016. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20017. "use strict";
  20018. __webpack_require__.r(__webpack_exports__);
  20019. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20020. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20021. /* harmony export */ });
  20022. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Light.woff2?2d5198822ab091ce430554a436cdf53c");
  20023. /***/ }),
  20024. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Medium.woff":
  20025. /*!***************************************************************************************!*\
  20026. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Medium.woff ***!
  20027. \***************************************************************************************/
  20028. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20029. "use strict";
  20030. __webpack_require__.r(__webpack_exports__);
  20031. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20032. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20033. /* harmony export */ });
  20034. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Medium.woff?9053572c46aeb4b16caafd643a543b8d");
  20035. /***/ }),
  20036. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Medium.woff2":
  20037. /*!****************************************************************************************!*\
  20038. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Medium.woff2 ***!
  20039. \****************************************************************************************/
  20040. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20041. "use strict";
  20042. __webpack_require__.r(__webpack_exports__);
  20043. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20044. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20045. /* harmony export */ });
  20046. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Medium.woff2?293fd13dbca5a3e450ef1ebfb232a299");
  20047. /***/ }),
  20048. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Regular.woff":
  20049. /*!****************************************************************************************!*\
  20050. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Regular.woff ***!
  20051. \****************************************************************************************/
  20052. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20053. "use strict";
  20054. __webpack_require__.r(__webpack_exports__);
  20055. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20056. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20057. /* harmony export */ });
  20058. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Regular.woff?8c206db99195777c67691cbba9d64393");
  20059. /***/ }),
  20060. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Regular.woff2":
  20061. /*!*****************************************************************************************!*\
  20062. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-Regular.woff2 ***!
  20063. \*****************************************************************************************/
  20064. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20065. "use strict";
  20066. __webpack_require__.r(__webpack_exports__);
  20067. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20068. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20069. /* harmony export */ });
  20070. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-Regular.woff2?c8ba52b05a9ef10f47584d08ece2ec5c");
  20071. /***/ }),
  20072. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff":
  20073. /*!*****************************************************************************************!*\
  20074. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff ***!
  20075. \*****************************************************************************************/
  20076. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20077. "use strict";
  20078. __webpack_require__.r(__webpack_exports__);
  20079. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20080. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20081. /* harmony export */ });
  20082. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-SemiBold.woff?cca62d21c8c555c392e580a52e0d4426");
  20083. /***/ }),
  20084. /***/ "./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2":
  20085. /*!******************************************************************************************!*\
  20086. !*** ./node_modules/primevue/resources/themes/tailwind-light/fonts/Inter-SemiBold.woff2 ***!
  20087. \******************************************************************************************/
  20088. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  20089. "use strict";
  20090. __webpack_require__.r(__webpack_exports__);
  20091. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  20092. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  20093. /* harmony export */ });
  20094. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = ("/fonts/vendor/primevue/resources/themes/tailwind-light/Inter-SemiBold.woff2?b5f0f109bc88052d4000c58ca615671d");
  20095. /***/ }),
  20096. /***/ "./node_modules/function-bind/implementation.js":
  20097. /*!******************************************************!*\
  20098. !*** ./node_modules/function-bind/implementation.js ***!
  20099. \******************************************************/
  20100. /***/ ((module) => {
  20101. "use strict";
  20102. /* eslint no-invalid-this: 1 */
  20103. var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible ';
  20104. var slice = Array.prototype.slice;
  20105. var toStr = Object.prototype.toString;
  20106. var funcType = '[object Function]';
  20107. module.exports = function bind(that) {
  20108. var target = this;
  20109. if (typeof target !== 'function' || toStr.call(target) !== funcType) {
  20110. throw new TypeError(ERROR_MESSAGE + target);
  20111. }
  20112. var args = slice.call(arguments, 1);
  20113. var bound;
  20114. var binder = function () {
  20115. if (this instanceof bound) {
  20116. var result = target.apply(
  20117. this,
  20118. args.concat(slice.call(arguments))
  20119. );
  20120. if (Object(result) === result) {
  20121. return result;
  20122. }
  20123. return this;
  20124. } else {
  20125. return target.apply(
  20126. that,
  20127. args.concat(slice.call(arguments))
  20128. );
  20129. }
  20130. };
  20131. var boundLength = Math.max(0, target.length - args.length);
  20132. var boundArgs = [];
  20133. for (var i = 0; i < boundLength; i++) {
  20134. boundArgs.push('$' + i);
  20135. }
  20136. bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder);
  20137. if (target.prototype) {
  20138. var Empty = function Empty() {};
  20139. Empty.prototype = target.prototype;
  20140. bound.prototype = new Empty();
  20141. Empty.prototype = null;
  20142. }
  20143. return bound;
  20144. };
  20145. /***/ }),
  20146. /***/ "./node_modules/function-bind/index.js":
  20147. /*!*********************************************!*\
  20148. !*** ./node_modules/function-bind/index.js ***!
  20149. \*********************************************/
  20150. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20151. "use strict";
  20152. var implementation = __webpack_require__(/*! ./implementation */ "./node_modules/function-bind/implementation.js");
  20153. module.exports = Function.prototype.bind || implementation;
  20154. /***/ }),
  20155. /***/ "./node_modules/get-intrinsic/index.js":
  20156. /*!*********************************************!*\
  20157. !*** ./node_modules/get-intrinsic/index.js ***!
  20158. \*********************************************/
  20159. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20160. "use strict";
  20161. var undefined;
  20162. var $SyntaxError = SyntaxError;
  20163. var $Function = Function;
  20164. var $TypeError = TypeError;
  20165. // eslint-disable-next-line consistent-return
  20166. var getEvalledConstructor = function (expressionSyntax) {
  20167. try {
  20168. return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')();
  20169. } catch (e) {}
  20170. };
  20171. var $gOPD = Object.getOwnPropertyDescriptor;
  20172. if ($gOPD) {
  20173. try {
  20174. $gOPD({}, '');
  20175. } catch (e) {
  20176. $gOPD = null; // this is IE 8, which has a broken gOPD
  20177. }
  20178. }
  20179. var throwTypeError = function () {
  20180. throw new $TypeError();
  20181. };
  20182. var ThrowTypeError = $gOPD
  20183. ? (function () {
  20184. try {
  20185. // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties
  20186. arguments.callee; // IE 8 does not throw here
  20187. return throwTypeError;
  20188. } catch (calleeThrows) {
  20189. try {
  20190. // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '')
  20191. return $gOPD(arguments, 'callee').get;
  20192. } catch (gOPDthrows) {
  20193. return throwTypeError;
  20194. }
  20195. }
  20196. }())
  20197. : throwTypeError;
  20198. var hasSymbols = __webpack_require__(/*! has-symbols */ "./node_modules/has-symbols/index.js")();
  20199. var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto
  20200. var needsEval = {};
  20201. var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array);
  20202. var INTRINSICS = {
  20203. '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
  20204. '%Array%': Array,
  20205. '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
  20206. '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined,
  20207. '%AsyncFromSyncIteratorPrototype%': undefined,
  20208. '%AsyncFunction%': needsEval,
  20209. '%AsyncGenerator%': needsEval,
  20210. '%AsyncGeneratorFunction%': needsEval,
  20211. '%AsyncIteratorPrototype%': needsEval,
  20212. '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics,
  20213. '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt,
  20214. '%Boolean%': Boolean,
  20215. '%DataView%': typeof DataView === 'undefined' ? undefined : DataView,
  20216. '%Date%': Date,
  20217. '%decodeURI%': decodeURI,
  20218. '%decodeURIComponent%': decodeURIComponent,
  20219. '%encodeURI%': encodeURI,
  20220. '%encodeURIComponent%': encodeURIComponent,
  20221. '%Error%': Error,
  20222. '%eval%': eval, // eslint-disable-line no-eval
  20223. '%EvalError%': EvalError,
  20224. '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
  20225. '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
  20226. '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
  20227. '%Function%': $Function,
  20228. '%GeneratorFunction%': needsEval,
  20229. '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array,
  20230. '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array,
  20231. '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array,
  20232. '%isFinite%': isFinite,
  20233. '%isNaN%': isNaN,
  20234. '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined,
  20235. '%JSON%': typeof JSON === 'object' ? JSON : undefined,
  20236. '%Map%': typeof Map === 'undefined' ? undefined : Map,
  20237. '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()),
  20238. '%Math%': Math,
  20239. '%Number%': Number,
  20240. '%Object%': Object,
  20241. '%parseFloat%': parseFloat,
  20242. '%parseInt%': parseInt,
  20243. '%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
  20244. '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
  20245. '%RangeError%': RangeError,
  20246. '%ReferenceError%': ReferenceError,
  20247. '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
  20248. '%RegExp%': RegExp,
  20249. '%Set%': typeof Set === 'undefined' ? undefined : Set,
  20250. '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()),
  20251. '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer,
  20252. '%String%': String,
  20253. '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined,
  20254. '%Symbol%': hasSymbols ? Symbol : undefined,
  20255. '%SyntaxError%': $SyntaxError,
  20256. '%ThrowTypeError%': ThrowTypeError,
  20257. '%TypedArray%': TypedArray,
  20258. '%TypeError%': $TypeError,
  20259. '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array,
  20260. '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
  20261. '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
  20262. '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
  20263. '%URIError%': URIError,
  20264. '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
  20265. '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
  20266. '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
  20267. };
  20268. var doEval = function doEval(name) {
  20269. var value;
  20270. if (name === '%AsyncFunction%') {
  20271. value = getEvalledConstructor('async function () {}');
  20272. } else if (name === '%GeneratorFunction%') {
  20273. value = getEvalledConstructor('function* () {}');
  20274. } else if (name === '%AsyncGeneratorFunction%') {
  20275. value = getEvalledConstructor('async function* () {}');
  20276. } else if (name === '%AsyncGenerator%') {
  20277. var fn = doEval('%AsyncGeneratorFunction%');
  20278. if (fn) {
  20279. value = fn.prototype;
  20280. }
  20281. } else if (name === '%AsyncIteratorPrototype%') {
  20282. var gen = doEval('%AsyncGenerator%');
  20283. if (gen) {
  20284. value = getProto(gen.prototype);
  20285. }
  20286. }
  20287. INTRINSICS[name] = value;
  20288. return value;
  20289. };
  20290. var LEGACY_ALIASES = {
  20291. '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
  20292. '%ArrayPrototype%': ['Array', 'prototype'],
  20293. '%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
  20294. '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'],
  20295. '%ArrayProto_keys%': ['Array', 'prototype', 'keys'],
  20296. '%ArrayProto_values%': ['Array', 'prototype', 'values'],
  20297. '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'],
  20298. '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'],
  20299. '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'],
  20300. '%BooleanPrototype%': ['Boolean', 'prototype'],
  20301. '%DataViewPrototype%': ['DataView', 'prototype'],
  20302. '%DatePrototype%': ['Date', 'prototype'],
  20303. '%ErrorPrototype%': ['Error', 'prototype'],
  20304. '%EvalErrorPrototype%': ['EvalError', 'prototype'],
  20305. '%Float32ArrayPrototype%': ['Float32Array', 'prototype'],
  20306. '%Float64ArrayPrototype%': ['Float64Array', 'prototype'],
  20307. '%FunctionPrototype%': ['Function', 'prototype'],
  20308. '%Generator%': ['GeneratorFunction', 'prototype'],
  20309. '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'],
  20310. '%Int8ArrayPrototype%': ['Int8Array', 'prototype'],
  20311. '%Int16ArrayPrototype%': ['Int16Array', 'prototype'],
  20312. '%Int32ArrayPrototype%': ['Int32Array', 'prototype'],
  20313. '%JSONParse%': ['JSON', 'parse'],
  20314. '%JSONStringify%': ['JSON', 'stringify'],
  20315. '%MapPrototype%': ['Map', 'prototype'],
  20316. '%NumberPrototype%': ['Number', 'prototype'],
  20317. '%ObjectPrototype%': ['Object', 'prototype'],
  20318. '%ObjProto_toString%': ['Object', 'prototype', 'toString'],
  20319. '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'],
  20320. '%PromisePrototype%': ['Promise', 'prototype'],
  20321. '%PromiseProto_then%': ['Promise', 'prototype', 'then'],
  20322. '%Promise_all%': ['Promise', 'all'],
  20323. '%Promise_reject%': ['Promise', 'reject'],
  20324. '%Promise_resolve%': ['Promise', 'resolve'],
  20325. '%RangeErrorPrototype%': ['RangeError', 'prototype'],
  20326. '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'],
  20327. '%RegExpPrototype%': ['RegExp', 'prototype'],
  20328. '%SetPrototype%': ['Set', 'prototype'],
  20329. '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'],
  20330. '%StringPrototype%': ['String', 'prototype'],
  20331. '%SymbolPrototype%': ['Symbol', 'prototype'],
  20332. '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'],
  20333. '%TypedArrayPrototype%': ['TypedArray', 'prototype'],
  20334. '%TypeErrorPrototype%': ['TypeError', 'prototype'],
  20335. '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'],
  20336. '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'],
  20337. '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'],
  20338. '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'],
  20339. '%URIErrorPrototype%': ['URIError', 'prototype'],
  20340. '%WeakMapPrototype%': ['WeakMap', 'prototype'],
  20341. '%WeakSetPrototype%': ['WeakSet', 'prototype']
  20342. };
  20343. var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js");
  20344. var hasOwn = __webpack_require__(/*! has */ "./node_modules/has/src/index.js");
  20345. var $concat = bind.call(Function.call, Array.prototype.concat);
  20346. var $spliceApply = bind.call(Function.apply, Array.prototype.splice);
  20347. var $replace = bind.call(Function.call, String.prototype.replace);
  20348. var $strSlice = bind.call(Function.call, String.prototype.slice);
  20349. /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */
  20350. var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
  20351. var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */
  20352. var stringToPath = function stringToPath(string) {
  20353. var first = $strSlice(string, 0, 1);
  20354. var last = $strSlice(string, -1);
  20355. if (first === '%' && last !== '%') {
  20356. throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`');
  20357. } else if (last === '%' && first !== '%') {
  20358. throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`');
  20359. }
  20360. var result = [];
  20361. $replace(string, rePropName, function (match, number, quote, subString) {
  20362. result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match;
  20363. });
  20364. return result;
  20365. };
  20366. /* end adaptation */
  20367. var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
  20368. var intrinsicName = name;
  20369. var alias;
  20370. if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
  20371. alias = LEGACY_ALIASES[intrinsicName];
  20372. intrinsicName = '%' + alias[0] + '%';
  20373. }
  20374. if (hasOwn(INTRINSICS, intrinsicName)) {
  20375. var value = INTRINSICS[intrinsicName];
  20376. if (value === needsEval) {
  20377. value = doEval(intrinsicName);
  20378. }
  20379. if (typeof value === 'undefined' && !allowMissing) {
  20380. throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!');
  20381. }
  20382. return {
  20383. alias: alias,
  20384. name: intrinsicName,
  20385. value: value
  20386. };
  20387. }
  20388. throw new $SyntaxError('intrinsic ' + name + ' does not exist!');
  20389. };
  20390. module.exports = function GetIntrinsic(name, allowMissing) {
  20391. if (typeof name !== 'string' || name.length === 0) {
  20392. throw new $TypeError('intrinsic name must be a non-empty string');
  20393. }
  20394. if (arguments.length > 1 && typeof allowMissing !== 'boolean') {
  20395. throw new $TypeError('"allowMissing" argument must be a boolean');
  20396. }
  20397. var parts = stringToPath(name);
  20398. var intrinsicBaseName = parts.length > 0 ? parts[0] : '';
  20399. var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing);
  20400. var intrinsicRealName = intrinsic.name;
  20401. var value = intrinsic.value;
  20402. var skipFurtherCaching = false;
  20403. var alias = intrinsic.alias;
  20404. if (alias) {
  20405. intrinsicBaseName = alias[0];
  20406. $spliceApply(parts, $concat([0, 1], alias));
  20407. }
  20408. for (var i = 1, isOwn = true; i < parts.length; i += 1) {
  20409. var part = parts[i];
  20410. var first = $strSlice(part, 0, 1);
  20411. var last = $strSlice(part, -1);
  20412. if (
  20413. (
  20414. (first === '"' || first === "'" || first === '`')
  20415. || (last === '"' || last === "'" || last === '`')
  20416. )
  20417. && first !== last
  20418. ) {
  20419. throw new $SyntaxError('property names with quotes must have matching quotes');
  20420. }
  20421. if (part === 'constructor' || !isOwn) {
  20422. skipFurtherCaching = true;
  20423. }
  20424. intrinsicBaseName += '.' + part;
  20425. intrinsicRealName = '%' + intrinsicBaseName + '%';
  20426. if (hasOwn(INTRINSICS, intrinsicRealName)) {
  20427. value = INTRINSICS[intrinsicRealName];
  20428. } else if (value != null) {
  20429. if (!(part in value)) {
  20430. if (!allowMissing) {
  20431. throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.');
  20432. }
  20433. return void undefined;
  20434. }
  20435. if ($gOPD && (i + 1) >= parts.length) {
  20436. var desc = $gOPD(value, part);
  20437. isOwn = !!desc;
  20438. // By convention, when a data property is converted to an accessor
  20439. // property to emulate a data property that does not suffer from
  20440. // the override mistake, that accessor's getter is marked with
  20441. // an `originalValue` property. Here, when we detect this, we
  20442. // uphold the illusion by pretending to see that original data
  20443. // property, i.e., returning the value rather than the getter
  20444. // itself.
  20445. if (isOwn && 'get' in desc && !('originalValue' in desc.get)) {
  20446. value = desc.get;
  20447. } else {
  20448. value = value[part];
  20449. }
  20450. } else {
  20451. isOwn = hasOwn(value, part);
  20452. value = value[part];
  20453. }
  20454. if (isOwn && !skipFurtherCaching) {
  20455. INTRINSICS[intrinsicRealName] = value;
  20456. }
  20457. }
  20458. }
  20459. return value;
  20460. };
  20461. /***/ }),
  20462. /***/ "./node_modules/has-symbols/index.js":
  20463. /*!*******************************************!*\
  20464. !*** ./node_modules/has-symbols/index.js ***!
  20465. \*******************************************/
  20466. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20467. "use strict";
  20468. var origSymbol = typeof Symbol !== 'undefined' && Symbol;
  20469. var hasSymbolSham = __webpack_require__(/*! ./shams */ "./node_modules/has-symbols/shams.js");
  20470. module.exports = function hasNativeSymbols() {
  20471. if (typeof origSymbol !== 'function') { return false; }
  20472. if (typeof Symbol !== 'function') { return false; }
  20473. if (typeof origSymbol('foo') !== 'symbol') { return false; }
  20474. if (typeof Symbol('bar') !== 'symbol') { return false; }
  20475. return hasSymbolSham();
  20476. };
  20477. /***/ }),
  20478. /***/ "./node_modules/has-symbols/shams.js":
  20479. /*!*******************************************!*\
  20480. !*** ./node_modules/has-symbols/shams.js ***!
  20481. \*******************************************/
  20482. /***/ ((module) => {
  20483. "use strict";
  20484. /* eslint complexity: [2, 18], max-statements: [2, 33] */
  20485. module.exports = function hasSymbols() {
  20486. if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; }
  20487. if (typeof Symbol.iterator === 'symbol') { return true; }
  20488. var obj = {};
  20489. var sym = Symbol('test');
  20490. var symObj = Object(sym);
  20491. if (typeof sym === 'string') { return false; }
  20492. if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; }
  20493. if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; }
  20494. // temp disabled per https://github.com/ljharb/object.assign/issues/17
  20495. // if (sym instanceof Symbol) { return false; }
  20496. // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4
  20497. // if (!(symObj instanceof Symbol)) { return false; }
  20498. // if (typeof Symbol.prototype.toString !== 'function') { return false; }
  20499. // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; }
  20500. var symVal = 42;
  20501. obj[sym] = symVal;
  20502. for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop
  20503. if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; }
  20504. if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; }
  20505. var syms = Object.getOwnPropertySymbols(obj);
  20506. if (syms.length !== 1 || syms[0] !== sym) { return false; }
  20507. if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; }
  20508. if (typeof Object.getOwnPropertyDescriptor === 'function') {
  20509. var descriptor = Object.getOwnPropertyDescriptor(obj, sym);
  20510. if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; }
  20511. }
  20512. return true;
  20513. };
  20514. /***/ }),
  20515. /***/ "./node_modules/has/src/index.js":
  20516. /*!***************************************!*\
  20517. !*** ./node_modules/has/src/index.js ***!
  20518. \***************************************/
  20519. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  20520. "use strict";
  20521. var bind = __webpack_require__(/*! function-bind */ "./node_modules/function-bind/index.js");
  20522. module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
  20523. /***/ }),
  20524. /***/ "./node_modules/lodash.clonedeep/index.js":
  20525. /*!************************************************!*\
  20526. !*** ./node_modules/lodash.clonedeep/index.js ***!
  20527. \************************************************/
  20528. /***/ ((module, exports, __webpack_require__) => {
  20529. /* module decorator */ module = __webpack_require__.nmd(module);
  20530. /**
  20531. * lodash (Custom Build) <https://lodash.com/>
  20532. * Build: `lodash modularize exports="npm" -o ./`
  20533. * Copyright jQuery Foundation and other contributors <https://jquery.org/>
  20534. * Released under MIT license <https://lodash.com/license>
  20535. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  20536. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  20537. */
  20538. /** Used as the size to enable large array optimizations. */
  20539. var LARGE_ARRAY_SIZE = 200;
  20540. /** Used to stand-in for `undefined` hash values. */
  20541. var HASH_UNDEFINED = '__lodash_hash_undefined__';
  20542. /** Used as references for various `Number` constants. */
  20543. var MAX_SAFE_INTEGER = 9007199254740991;
  20544. /** `Object#toString` result references. */
  20545. var argsTag = '[object Arguments]',
  20546. arrayTag = '[object Array]',
  20547. boolTag = '[object Boolean]',
  20548. dateTag = '[object Date]',
  20549. errorTag = '[object Error]',
  20550. funcTag = '[object Function]',
  20551. genTag = '[object GeneratorFunction]',
  20552. mapTag = '[object Map]',
  20553. numberTag = '[object Number]',
  20554. objectTag = '[object Object]',
  20555. promiseTag = '[object Promise]',
  20556. regexpTag = '[object RegExp]',
  20557. setTag = '[object Set]',
  20558. stringTag = '[object String]',
  20559. symbolTag = '[object Symbol]',
  20560. weakMapTag = '[object WeakMap]';
  20561. var arrayBufferTag = '[object ArrayBuffer]',
  20562. dataViewTag = '[object DataView]',
  20563. float32Tag = '[object Float32Array]',
  20564. float64Tag = '[object Float64Array]',
  20565. int8Tag = '[object Int8Array]',
  20566. int16Tag = '[object Int16Array]',
  20567. int32Tag = '[object Int32Array]',
  20568. uint8Tag = '[object Uint8Array]',
  20569. uint8ClampedTag = '[object Uint8ClampedArray]',
  20570. uint16Tag = '[object Uint16Array]',
  20571. uint32Tag = '[object Uint32Array]';
  20572. /**
  20573. * Used to match `RegExp`
  20574. * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
  20575. */
  20576. var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
  20577. /** Used to match `RegExp` flags from their coerced string values. */
  20578. var reFlags = /\w*$/;
  20579. /** Used to detect host constructors (Safari). */
  20580. var reIsHostCtor = /^\[object .+?Constructor\]$/;
  20581. /** Used to detect unsigned integer values. */
  20582. var reIsUint = /^(?:0|[1-9]\d*)$/;
  20583. /** Used to identify `toStringTag` values supported by `_.clone`. */
  20584. var cloneableTags = {};
  20585. cloneableTags[argsTag] = cloneableTags[arrayTag] =
  20586. cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
  20587. cloneableTags[boolTag] = cloneableTags[dateTag] =
  20588. cloneableTags[float32Tag] = cloneableTags[float64Tag] =
  20589. cloneableTags[int8Tag] = cloneableTags[int16Tag] =
  20590. cloneableTags[int32Tag] = cloneableTags[mapTag] =
  20591. cloneableTags[numberTag] = cloneableTags[objectTag] =
  20592. cloneableTags[regexpTag] = cloneableTags[setTag] =
  20593. cloneableTags[stringTag] = cloneableTags[symbolTag] =
  20594. cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
  20595. cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
  20596. cloneableTags[errorTag] = cloneableTags[funcTag] =
  20597. cloneableTags[weakMapTag] = false;
  20598. /** Detect free variable `global` from Node.js. */
  20599. var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
  20600. /** Detect free variable `self`. */
  20601. var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
  20602. /** Used as a reference to the global object. */
  20603. var root = freeGlobal || freeSelf || Function('return this')();
  20604. /** Detect free variable `exports`. */
  20605. var freeExports = true && exports && !exports.nodeType && exports;
  20606. /** Detect free variable `module`. */
  20607. var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
  20608. /** Detect the popular CommonJS extension `module.exports`. */
  20609. var moduleExports = freeModule && freeModule.exports === freeExports;
  20610. /**
  20611. * Adds the key-value `pair` to `map`.
  20612. *
  20613. * @private
  20614. * @param {Object} map The map to modify.
  20615. * @param {Array} pair The key-value pair to add.
  20616. * @returns {Object} Returns `map`.
  20617. */
  20618. function addMapEntry(map, pair) {
  20619. // Don't return `map.set` because it's not chainable in IE 11.
  20620. map.set(pair[0], pair[1]);
  20621. return map;
  20622. }
  20623. /**
  20624. * Adds `value` to `set`.
  20625. *
  20626. * @private
  20627. * @param {Object} set The set to modify.
  20628. * @param {*} value The value to add.
  20629. * @returns {Object} Returns `set`.
  20630. */
  20631. function addSetEntry(set, value) {
  20632. // Don't return `set.add` because it's not chainable in IE 11.
  20633. set.add(value);
  20634. return set;
  20635. }
  20636. /**
  20637. * A specialized version of `_.forEach` for arrays without support for
  20638. * iteratee shorthands.
  20639. *
  20640. * @private
  20641. * @param {Array} [array] The array to iterate over.
  20642. * @param {Function} iteratee The function invoked per iteration.
  20643. * @returns {Array} Returns `array`.
  20644. */
  20645. function arrayEach(array, iteratee) {
  20646. var index = -1,
  20647. length = array ? array.length : 0;
  20648. while (++index < length) {
  20649. if (iteratee(array[index], index, array) === false) {
  20650. break;
  20651. }
  20652. }
  20653. return array;
  20654. }
  20655. /**
  20656. * Appends the elements of `values` to `array`.
  20657. *
  20658. * @private
  20659. * @param {Array} array The array to modify.
  20660. * @param {Array} values The values to append.
  20661. * @returns {Array} Returns `array`.
  20662. */
  20663. function arrayPush(array, values) {
  20664. var index = -1,
  20665. length = values.length,
  20666. offset = array.length;
  20667. while (++index < length) {
  20668. array[offset + index] = values[index];
  20669. }
  20670. return array;
  20671. }
  20672. /**
  20673. * A specialized version of `_.reduce` for arrays without support for
  20674. * iteratee shorthands.
  20675. *
  20676. * @private
  20677. * @param {Array} [array] The array to iterate over.
  20678. * @param {Function} iteratee The function invoked per iteration.
  20679. * @param {*} [accumulator] The initial value.
  20680. * @param {boolean} [initAccum] Specify using the first element of `array` as
  20681. * the initial value.
  20682. * @returns {*} Returns the accumulated value.
  20683. */
  20684. function arrayReduce(array, iteratee, accumulator, initAccum) {
  20685. var index = -1,
  20686. length = array ? array.length : 0;
  20687. if (initAccum && length) {
  20688. accumulator = array[++index];
  20689. }
  20690. while (++index < length) {
  20691. accumulator = iteratee(accumulator, array[index], index, array);
  20692. }
  20693. return accumulator;
  20694. }
  20695. /**
  20696. * The base implementation of `_.times` without support for iteratee shorthands
  20697. * or max array length checks.
  20698. *
  20699. * @private
  20700. * @param {number} n The number of times to invoke `iteratee`.
  20701. * @param {Function} iteratee The function invoked per iteration.
  20702. * @returns {Array} Returns the array of results.
  20703. */
  20704. function baseTimes(n, iteratee) {
  20705. var index = -1,
  20706. result = Array(n);
  20707. while (++index < n) {
  20708. result[index] = iteratee(index);
  20709. }
  20710. return result;
  20711. }
  20712. /**
  20713. * Gets the value at `key` of `object`.
  20714. *
  20715. * @private
  20716. * @param {Object} [object] The object to query.
  20717. * @param {string} key The key of the property to get.
  20718. * @returns {*} Returns the property value.
  20719. */
  20720. function getValue(object, key) {
  20721. return object == null ? undefined : object[key];
  20722. }
  20723. /**
  20724. * Checks if `value` is a host object in IE < 9.
  20725. *
  20726. * @private
  20727. * @param {*} value The value to check.
  20728. * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
  20729. */
  20730. function isHostObject(value) {
  20731. // Many host objects are `Object` objects that can coerce to strings
  20732. // despite having improperly defined `toString` methods.
  20733. var result = false;
  20734. if (value != null && typeof value.toString != 'function') {
  20735. try {
  20736. result = !!(value + '');
  20737. } catch (e) {}
  20738. }
  20739. return result;
  20740. }
  20741. /**
  20742. * Converts `map` to its key-value pairs.
  20743. *
  20744. * @private
  20745. * @param {Object} map The map to convert.
  20746. * @returns {Array} Returns the key-value pairs.
  20747. */
  20748. function mapToArray(map) {
  20749. var index = -1,
  20750. result = Array(map.size);
  20751. map.forEach(function(value, key) {
  20752. result[++index] = [key, value];
  20753. });
  20754. return result;
  20755. }
  20756. /**
  20757. * Creates a unary function that invokes `func` with its argument transformed.
  20758. *
  20759. * @private
  20760. * @param {Function} func The function to wrap.
  20761. * @param {Function} transform The argument transform.
  20762. * @returns {Function} Returns the new function.
  20763. */
  20764. function overArg(func, transform) {
  20765. return function(arg) {
  20766. return func(transform(arg));
  20767. };
  20768. }
  20769. /**
  20770. * Converts `set` to an array of its values.
  20771. *
  20772. * @private
  20773. * @param {Object} set The set to convert.
  20774. * @returns {Array} Returns the values.
  20775. */
  20776. function setToArray(set) {
  20777. var index = -1,
  20778. result = Array(set.size);
  20779. set.forEach(function(value) {
  20780. result[++index] = value;
  20781. });
  20782. return result;
  20783. }
  20784. /** Used for built-in method references. */
  20785. var arrayProto = Array.prototype,
  20786. funcProto = Function.prototype,
  20787. objectProto = Object.prototype;
  20788. /** Used to detect overreaching core-js shims. */
  20789. var coreJsData = root['__core-js_shared__'];
  20790. /** Used to detect methods masquerading as native. */
  20791. var maskSrcKey = (function() {
  20792. var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
  20793. return uid ? ('Symbol(src)_1.' + uid) : '';
  20794. }());
  20795. /** Used to resolve the decompiled source of functions. */
  20796. var funcToString = funcProto.toString;
  20797. /** Used to check objects for own properties. */
  20798. var hasOwnProperty = objectProto.hasOwnProperty;
  20799. /**
  20800. * Used to resolve the
  20801. * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
  20802. * of values.
  20803. */
  20804. var objectToString = objectProto.toString;
  20805. /** Used to detect if a method is native. */
  20806. var reIsNative = RegExp('^' +
  20807. funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
  20808. .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
  20809. );
  20810. /** Built-in value references. */
  20811. var Buffer = moduleExports ? root.Buffer : undefined,
  20812. Symbol = root.Symbol,
  20813. Uint8Array = root.Uint8Array,
  20814. getPrototype = overArg(Object.getPrototypeOf, Object),
  20815. objectCreate = Object.create,
  20816. propertyIsEnumerable = objectProto.propertyIsEnumerable,
  20817. splice = arrayProto.splice;
  20818. /* Built-in method references for those with the same name as other `lodash` methods. */
  20819. var nativeGetSymbols = Object.getOwnPropertySymbols,
  20820. nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
  20821. nativeKeys = overArg(Object.keys, Object);
  20822. /* Built-in method references that are verified to be native. */
  20823. var DataView = getNative(root, 'DataView'),
  20824. Map = getNative(root, 'Map'),
  20825. Promise = getNative(root, 'Promise'),
  20826. Set = getNative(root, 'Set'),
  20827. WeakMap = getNative(root, 'WeakMap'),
  20828. nativeCreate = getNative(Object, 'create');
  20829. /** Used to detect maps, sets, and weakmaps. */
  20830. var dataViewCtorString = toSource(DataView),
  20831. mapCtorString = toSource(Map),
  20832. promiseCtorString = toSource(Promise),
  20833. setCtorString = toSource(Set),
  20834. weakMapCtorString = toSource(WeakMap);
  20835. /** Used to convert symbols to primitives and strings. */
  20836. var symbolProto = Symbol ? Symbol.prototype : undefined,
  20837. symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
  20838. /**
  20839. * Creates a hash object.
  20840. *
  20841. * @private
  20842. * @constructor
  20843. * @param {Array} [entries] The key-value pairs to cache.
  20844. */
  20845. function Hash(entries) {
  20846. var index = -1,
  20847. length = entries ? entries.length : 0;
  20848. this.clear();
  20849. while (++index < length) {
  20850. var entry = entries[index];
  20851. this.set(entry[0], entry[1]);
  20852. }
  20853. }
  20854. /**
  20855. * Removes all key-value entries from the hash.
  20856. *
  20857. * @private
  20858. * @name clear
  20859. * @memberOf Hash
  20860. */
  20861. function hashClear() {
  20862. this.__data__ = nativeCreate ? nativeCreate(null) : {};
  20863. }
  20864. /**
  20865. * Removes `key` and its value from the hash.
  20866. *
  20867. * @private
  20868. * @name delete
  20869. * @memberOf Hash
  20870. * @param {Object} hash The hash to modify.
  20871. * @param {string} key The key of the value to remove.
  20872. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  20873. */
  20874. function hashDelete(key) {
  20875. return this.has(key) && delete this.__data__[key];
  20876. }
  20877. /**
  20878. * Gets the hash value for `key`.
  20879. *
  20880. * @private
  20881. * @name get
  20882. * @memberOf Hash
  20883. * @param {string} key The key of the value to get.
  20884. * @returns {*} Returns the entry value.
  20885. */
  20886. function hashGet(key) {
  20887. var data = this.__data__;
  20888. if (nativeCreate) {
  20889. var result = data[key];
  20890. return result === HASH_UNDEFINED ? undefined : result;
  20891. }
  20892. return hasOwnProperty.call(data, key) ? data[key] : undefined;
  20893. }
  20894. /**
  20895. * Checks if a hash value for `key` exists.
  20896. *
  20897. * @private
  20898. * @name has
  20899. * @memberOf Hash
  20900. * @param {string} key The key of the entry to check.
  20901. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  20902. */
  20903. function hashHas(key) {
  20904. var data = this.__data__;
  20905. return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
  20906. }
  20907. /**
  20908. * Sets the hash `key` to `value`.
  20909. *
  20910. * @private
  20911. * @name set
  20912. * @memberOf Hash
  20913. * @param {string} key The key of the value to set.
  20914. * @param {*} value The value to set.
  20915. * @returns {Object} Returns the hash instance.
  20916. */
  20917. function hashSet(key, value) {
  20918. var data = this.__data__;
  20919. data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
  20920. return this;
  20921. }
  20922. // Add methods to `Hash`.
  20923. Hash.prototype.clear = hashClear;
  20924. Hash.prototype['delete'] = hashDelete;
  20925. Hash.prototype.get = hashGet;
  20926. Hash.prototype.has = hashHas;
  20927. Hash.prototype.set = hashSet;
  20928. /**
  20929. * Creates an list cache object.
  20930. *
  20931. * @private
  20932. * @constructor
  20933. * @param {Array} [entries] The key-value pairs to cache.
  20934. */
  20935. function ListCache(entries) {
  20936. var index = -1,
  20937. length = entries ? entries.length : 0;
  20938. this.clear();
  20939. while (++index < length) {
  20940. var entry = entries[index];
  20941. this.set(entry[0], entry[1]);
  20942. }
  20943. }
  20944. /**
  20945. * Removes all key-value entries from the list cache.
  20946. *
  20947. * @private
  20948. * @name clear
  20949. * @memberOf ListCache
  20950. */
  20951. function listCacheClear() {
  20952. this.__data__ = [];
  20953. }
  20954. /**
  20955. * Removes `key` and its value from the list cache.
  20956. *
  20957. * @private
  20958. * @name delete
  20959. * @memberOf ListCache
  20960. * @param {string} key The key of the value to remove.
  20961. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  20962. */
  20963. function listCacheDelete(key) {
  20964. var data = this.__data__,
  20965. index = assocIndexOf(data, key);
  20966. if (index < 0) {
  20967. return false;
  20968. }
  20969. var lastIndex = data.length - 1;
  20970. if (index == lastIndex) {
  20971. data.pop();
  20972. } else {
  20973. splice.call(data, index, 1);
  20974. }
  20975. return true;
  20976. }
  20977. /**
  20978. * Gets the list cache value for `key`.
  20979. *
  20980. * @private
  20981. * @name get
  20982. * @memberOf ListCache
  20983. * @param {string} key The key of the value to get.
  20984. * @returns {*} Returns the entry value.
  20985. */
  20986. function listCacheGet(key) {
  20987. var data = this.__data__,
  20988. index = assocIndexOf(data, key);
  20989. return index < 0 ? undefined : data[index][1];
  20990. }
  20991. /**
  20992. * Checks if a list cache value for `key` exists.
  20993. *
  20994. * @private
  20995. * @name has
  20996. * @memberOf ListCache
  20997. * @param {string} key The key of the entry to check.
  20998. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  20999. */
  21000. function listCacheHas(key) {
  21001. return assocIndexOf(this.__data__, key) > -1;
  21002. }
  21003. /**
  21004. * Sets the list cache `key` to `value`.
  21005. *
  21006. * @private
  21007. * @name set
  21008. * @memberOf ListCache
  21009. * @param {string} key The key of the value to set.
  21010. * @param {*} value The value to set.
  21011. * @returns {Object} Returns the list cache instance.
  21012. */
  21013. function listCacheSet(key, value) {
  21014. var data = this.__data__,
  21015. index = assocIndexOf(data, key);
  21016. if (index < 0) {
  21017. data.push([key, value]);
  21018. } else {
  21019. data[index][1] = value;
  21020. }
  21021. return this;
  21022. }
  21023. // Add methods to `ListCache`.
  21024. ListCache.prototype.clear = listCacheClear;
  21025. ListCache.prototype['delete'] = listCacheDelete;
  21026. ListCache.prototype.get = listCacheGet;
  21027. ListCache.prototype.has = listCacheHas;
  21028. ListCache.prototype.set = listCacheSet;
  21029. /**
  21030. * Creates a map cache object to store key-value pairs.
  21031. *
  21032. * @private
  21033. * @constructor
  21034. * @param {Array} [entries] The key-value pairs to cache.
  21035. */
  21036. function MapCache(entries) {
  21037. var index = -1,
  21038. length = entries ? entries.length : 0;
  21039. this.clear();
  21040. while (++index < length) {
  21041. var entry = entries[index];
  21042. this.set(entry[0], entry[1]);
  21043. }
  21044. }
  21045. /**
  21046. * Removes all key-value entries from the map.
  21047. *
  21048. * @private
  21049. * @name clear
  21050. * @memberOf MapCache
  21051. */
  21052. function mapCacheClear() {
  21053. this.__data__ = {
  21054. 'hash': new Hash,
  21055. 'map': new (Map || ListCache),
  21056. 'string': new Hash
  21057. };
  21058. }
  21059. /**
  21060. * Removes `key` and its value from the map.
  21061. *
  21062. * @private
  21063. * @name delete
  21064. * @memberOf MapCache
  21065. * @param {string} key The key of the value to remove.
  21066. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  21067. */
  21068. function mapCacheDelete(key) {
  21069. return getMapData(this, key)['delete'](key);
  21070. }
  21071. /**
  21072. * Gets the map value for `key`.
  21073. *
  21074. * @private
  21075. * @name get
  21076. * @memberOf MapCache
  21077. * @param {string} key The key of the value to get.
  21078. * @returns {*} Returns the entry value.
  21079. */
  21080. function mapCacheGet(key) {
  21081. return getMapData(this, key).get(key);
  21082. }
  21083. /**
  21084. * Checks if a map value for `key` exists.
  21085. *
  21086. * @private
  21087. * @name has
  21088. * @memberOf MapCache
  21089. * @param {string} key The key of the entry to check.
  21090. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  21091. */
  21092. function mapCacheHas(key) {
  21093. return getMapData(this, key).has(key);
  21094. }
  21095. /**
  21096. * Sets the map `key` to `value`.
  21097. *
  21098. * @private
  21099. * @name set
  21100. * @memberOf MapCache
  21101. * @param {string} key The key of the value to set.
  21102. * @param {*} value The value to set.
  21103. * @returns {Object} Returns the map cache instance.
  21104. */
  21105. function mapCacheSet(key, value) {
  21106. getMapData(this, key).set(key, value);
  21107. return this;
  21108. }
  21109. // Add methods to `MapCache`.
  21110. MapCache.prototype.clear = mapCacheClear;
  21111. MapCache.prototype['delete'] = mapCacheDelete;
  21112. MapCache.prototype.get = mapCacheGet;
  21113. MapCache.prototype.has = mapCacheHas;
  21114. MapCache.prototype.set = mapCacheSet;
  21115. /**
  21116. * Creates a stack cache object to store key-value pairs.
  21117. *
  21118. * @private
  21119. * @constructor
  21120. * @param {Array} [entries] The key-value pairs to cache.
  21121. */
  21122. function Stack(entries) {
  21123. this.__data__ = new ListCache(entries);
  21124. }
  21125. /**
  21126. * Removes all key-value entries from the stack.
  21127. *
  21128. * @private
  21129. * @name clear
  21130. * @memberOf Stack
  21131. */
  21132. function stackClear() {
  21133. this.__data__ = new ListCache;
  21134. }
  21135. /**
  21136. * Removes `key` and its value from the stack.
  21137. *
  21138. * @private
  21139. * @name delete
  21140. * @memberOf Stack
  21141. * @param {string} key The key of the value to remove.
  21142. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  21143. */
  21144. function stackDelete(key) {
  21145. return this.__data__['delete'](key);
  21146. }
  21147. /**
  21148. * Gets the stack value for `key`.
  21149. *
  21150. * @private
  21151. * @name get
  21152. * @memberOf Stack
  21153. * @param {string} key The key of the value to get.
  21154. * @returns {*} Returns the entry value.
  21155. */
  21156. function stackGet(key) {
  21157. return this.__data__.get(key);
  21158. }
  21159. /**
  21160. * Checks if a stack value for `key` exists.
  21161. *
  21162. * @private
  21163. * @name has
  21164. * @memberOf Stack
  21165. * @param {string} key The key of the entry to check.
  21166. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  21167. */
  21168. function stackHas(key) {
  21169. return this.__data__.has(key);
  21170. }
  21171. /**
  21172. * Sets the stack `key` to `value`.
  21173. *
  21174. * @private
  21175. * @name set
  21176. * @memberOf Stack
  21177. * @param {string} key The key of the value to set.
  21178. * @param {*} value The value to set.
  21179. * @returns {Object} Returns the stack cache instance.
  21180. */
  21181. function stackSet(key, value) {
  21182. var cache = this.__data__;
  21183. if (cache instanceof ListCache) {
  21184. var pairs = cache.__data__;
  21185. if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
  21186. pairs.push([key, value]);
  21187. return this;
  21188. }
  21189. cache = this.__data__ = new MapCache(pairs);
  21190. }
  21191. cache.set(key, value);
  21192. return this;
  21193. }
  21194. // Add methods to `Stack`.
  21195. Stack.prototype.clear = stackClear;
  21196. Stack.prototype['delete'] = stackDelete;
  21197. Stack.prototype.get = stackGet;
  21198. Stack.prototype.has = stackHas;
  21199. Stack.prototype.set = stackSet;
  21200. /**
  21201. * Creates an array of the enumerable property names of the array-like `value`.
  21202. *
  21203. * @private
  21204. * @param {*} value The value to query.
  21205. * @param {boolean} inherited Specify returning inherited property names.
  21206. * @returns {Array} Returns the array of property names.
  21207. */
  21208. function arrayLikeKeys(value, inherited) {
  21209. // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
  21210. // Safari 9 makes `arguments.length` enumerable in strict mode.
  21211. var result = (isArray(value) || isArguments(value))
  21212. ? baseTimes(value.length, String)
  21213. : [];
  21214. var length = result.length,
  21215. skipIndexes = !!length;
  21216. for (var key in value) {
  21217. if ((inherited || hasOwnProperty.call(value, key)) &&
  21218. !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
  21219. result.push(key);
  21220. }
  21221. }
  21222. return result;
  21223. }
  21224. /**
  21225. * Assigns `value` to `key` of `object` if the existing value is not equivalent
  21226. * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  21227. * for equality comparisons.
  21228. *
  21229. * @private
  21230. * @param {Object} object The object to modify.
  21231. * @param {string} key The key of the property to assign.
  21232. * @param {*} value The value to assign.
  21233. */
  21234. function assignValue(object, key, value) {
  21235. var objValue = object[key];
  21236. if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
  21237. (value === undefined && !(key in object))) {
  21238. object[key] = value;
  21239. }
  21240. }
  21241. /**
  21242. * Gets the index at which the `key` is found in `array` of key-value pairs.
  21243. *
  21244. * @private
  21245. * @param {Array} array The array to inspect.
  21246. * @param {*} key The key to search for.
  21247. * @returns {number} Returns the index of the matched value, else `-1`.
  21248. */
  21249. function assocIndexOf(array, key) {
  21250. var length = array.length;
  21251. while (length--) {
  21252. if (eq(array[length][0], key)) {
  21253. return length;
  21254. }
  21255. }
  21256. return -1;
  21257. }
  21258. /**
  21259. * The base implementation of `_.assign` without support for multiple sources
  21260. * or `customizer` functions.
  21261. *
  21262. * @private
  21263. * @param {Object} object The destination object.
  21264. * @param {Object} source The source object.
  21265. * @returns {Object} Returns `object`.
  21266. */
  21267. function baseAssign(object, source) {
  21268. return object && copyObject(source, keys(source), object);
  21269. }
  21270. /**
  21271. * The base implementation of `_.clone` and `_.cloneDeep` which tracks
  21272. * traversed objects.
  21273. *
  21274. * @private
  21275. * @param {*} value The value to clone.
  21276. * @param {boolean} [isDeep] Specify a deep clone.
  21277. * @param {boolean} [isFull] Specify a clone including symbols.
  21278. * @param {Function} [customizer] The function to customize cloning.
  21279. * @param {string} [key] The key of `value`.
  21280. * @param {Object} [object] The parent object of `value`.
  21281. * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
  21282. * @returns {*} Returns the cloned value.
  21283. */
  21284. function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
  21285. var result;
  21286. if (customizer) {
  21287. result = object ? customizer(value, key, object, stack) : customizer(value);
  21288. }
  21289. if (result !== undefined) {
  21290. return result;
  21291. }
  21292. if (!isObject(value)) {
  21293. return value;
  21294. }
  21295. var isArr = isArray(value);
  21296. if (isArr) {
  21297. result = initCloneArray(value);
  21298. if (!isDeep) {
  21299. return copyArray(value, result);
  21300. }
  21301. } else {
  21302. var tag = getTag(value),
  21303. isFunc = tag == funcTag || tag == genTag;
  21304. if (isBuffer(value)) {
  21305. return cloneBuffer(value, isDeep);
  21306. }
  21307. if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
  21308. if (isHostObject(value)) {
  21309. return object ? value : {};
  21310. }
  21311. result = initCloneObject(isFunc ? {} : value);
  21312. if (!isDeep) {
  21313. return copySymbols(value, baseAssign(result, value));
  21314. }
  21315. } else {
  21316. if (!cloneableTags[tag]) {
  21317. return object ? value : {};
  21318. }
  21319. result = initCloneByTag(value, tag, baseClone, isDeep);
  21320. }
  21321. }
  21322. // Check for circular references and return its corresponding clone.
  21323. stack || (stack = new Stack);
  21324. var stacked = stack.get(value);
  21325. if (stacked) {
  21326. return stacked;
  21327. }
  21328. stack.set(value, result);
  21329. if (!isArr) {
  21330. var props = isFull ? getAllKeys(value) : keys(value);
  21331. }
  21332. arrayEach(props || value, function(subValue, key) {
  21333. if (props) {
  21334. key = subValue;
  21335. subValue = value[key];
  21336. }
  21337. // Recursively populate clone (susceptible to call stack limits).
  21338. assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
  21339. });
  21340. return result;
  21341. }
  21342. /**
  21343. * The base implementation of `_.create` without support for assigning
  21344. * properties to the created object.
  21345. *
  21346. * @private
  21347. * @param {Object} prototype The object to inherit from.
  21348. * @returns {Object} Returns the new object.
  21349. */
  21350. function baseCreate(proto) {
  21351. return isObject(proto) ? objectCreate(proto) : {};
  21352. }
  21353. /**
  21354. * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
  21355. * `keysFunc` and `symbolsFunc` to get the enumerable property names and
  21356. * symbols of `object`.
  21357. *
  21358. * @private
  21359. * @param {Object} object The object to query.
  21360. * @param {Function} keysFunc The function to get the keys of `object`.
  21361. * @param {Function} symbolsFunc The function to get the symbols of `object`.
  21362. * @returns {Array} Returns the array of property names and symbols.
  21363. */
  21364. function baseGetAllKeys(object, keysFunc, symbolsFunc) {
  21365. var result = keysFunc(object);
  21366. return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
  21367. }
  21368. /**
  21369. * The base implementation of `getTag`.
  21370. *
  21371. * @private
  21372. * @param {*} value The value to query.
  21373. * @returns {string} Returns the `toStringTag`.
  21374. */
  21375. function baseGetTag(value) {
  21376. return objectToString.call(value);
  21377. }
  21378. /**
  21379. * The base implementation of `_.isNative` without bad shim checks.
  21380. *
  21381. * @private
  21382. * @param {*} value The value to check.
  21383. * @returns {boolean} Returns `true` if `value` is a native function,
  21384. * else `false`.
  21385. */
  21386. function baseIsNative(value) {
  21387. if (!isObject(value) || isMasked(value)) {
  21388. return false;
  21389. }
  21390. var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
  21391. return pattern.test(toSource(value));
  21392. }
  21393. /**
  21394. * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
  21395. *
  21396. * @private
  21397. * @param {Object} object The object to query.
  21398. * @returns {Array} Returns the array of property names.
  21399. */
  21400. function baseKeys(object) {
  21401. if (!isPrototype(object)) {
  21402. return nativeKeys(object);
  21403. }
  21404. var result = [];
  21405. for (var key in Object(object)) {
  21406. if (hasOwnProperty.call(object, key) && key != 'constructor') {
  21407. result.push(key);
  21408. }
  21409. }
  21410. return result;
  21411. }
  21412. /**
  21413. * Creates a clone of `buffer`.
  21414. *
  21415. * @private
  21416. * @param {Buffer} buffer The buffer to clone.
  21417. * @param {boolean} [isDeep] Specify a deep clone.
  21418. * @returns {Buffer} Returns the cloned buffer.
  21419. */
  21420. function cloneBuffer(buffer, isDeep) {
  21421. if (isDeep) {
  21422. return buffer.slice();
  21423. }
  21424. var result = new buffer.constructor(buffer.length);
  21425. buffer.copy(result);
  21426. return result;
  21427. }
  21428. /**
  21429. * Creates a clone of `arrayBuffer`.
  21430. *
  21431. * @private
  21432. * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
  21433. * @returns {ArrayBuffer} Returns the cloned array buffer.
  21434. */
  21435. function cloneArrayBuffer(arrayBuffer) {
  21436. var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
  21437. new Uint8Array(result).set(new Uint8Array(arrayBuffer));
  21438. return result;
  21439. }
  21440. /**
  21441. * Creates a clone of `dataView`.
  21442. *
  21443. * @private
  21444. * @param {Object} dataView The data view to clone.
  21445. * @param {boolean} [isDeep] Specify a deep clone.
  21446. * @returns {Object} Returns the cloned data view.
  21447. */
  21448. function cloneDataView(dataView, isDeep) {
  21449. var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
  21450. return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
  21451. }
  21452. /**
  21453. * Creates a clone of `map`.
  21454. *
  21455. * @private
  21456. * @param {Object} map The map to clone.
  21457. * @param {Function} cloneFunc The function to clone values.
  21458. * @param {boolean} [isDeep] Specify a deep clone.
  21459. * @returns {Object} Returns the cloned map.
  21460. */
  21461. function cloneMap(map, isDeep, cloneFunc) {
  21462. var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
  21463. return arrayReduce(array, addMapEntry, new map.constructor);
  21464. }
  21465. /**
  21466. * Creates a clone of `regexp`.
  21467. *
  21468. * @private
  21469. * @param {Object} regexp The regexp to clone.
  21470. * @returns {Object} Returns the cloned regexp.
  21471. */
  21472. function cloneRegExp(regexp) {
  21473. var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
  21474. result.lastIndex = regexp.lastIndex;
  21475. return result;
  21476. }
  21477. /**
  21478. * Creates a clone of `set`.
  21479. *
  21480. * @private
  21481. * @param {Object} set The set to clone.
  21482. * @param {Function} cloneFunc The function to clone values.
  21483. * @param {boolean} [isDeep] Specify a deep clone.
  21484. * @returns {Object} Returns the cloned set.
  21485. */
  21486. function cloneSet(set, isDeep, cloneFunc) {
  21487. var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
  21488. return arrayReduce(array, addSetEntry, new set.constructor);
  21489. }
  21490. /**
  21491. * Creates a clone of the `symbol` object.
  21492. *
  21493. * @private
  21494. * @param {Object} symbol The symbol object to clone.
  21495. * @returns {Object} Returns the cloned symbol object.
  21496. */
  21497. function cloneSymbol(symbol) {
  21498. return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
  21499. }
  21500. /**
  21501. * Creates a clone of `typedArray`.
  21502. *
  21503. * @private
  21504. * @param {Object} typedArray The typed array to clone.
  21505. * @param {boolean} [isDeep] Specify a deep clone.
  21506. * @returns {Object} Returns the cloned typed array.
  21507. */
  21508. function cloneTypedArray(typedArray, isDeep) {
  21509. var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
  21510. return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
  21511. }
  21512. /**
  21513. * Copies the values of `source` to `array`.
  21514. *
  21515. * @private
  21516. * @param {Array} source The array to copy values from.
  21517. * @param {Array} [array=[]] The array to copy values to.
  21518. * @returns {Array} Returns `array`.
  21519. */
  21520. function copyArray(source, array) {
  21521. var index = -1,
  21522. length = source.length;
  21523. array || (array = Array(length));
  21524. while (++index < length) {
  21525. array[index] = source[index];
  21526. }
  21527. return array;
  21528. }
  21529. /**
  21530. * Copies properties of `source` to `object`.
  21531. *
  21532. * @private
  21533. * @param {Object} source The object to copy properties from.
  21534. * @param {Array} props The property identifiers to copy.
  21535. * @param {Object} [object={}] The object to copy properties to.
  21536. * @param {Function} [customizer] The function to customize copied values.
  21537. * @returns {Object} Returns `object`.
  21538. */
  21539. function copyObject(source, props, object, customizer) {
  21540. object || (object = {});
  21541. var index = -1,
  21542. length = props.length;
  21543. while (++index < length) {
  21544. var key = props[index];
  21545. var newValue = customizer
  21546. ? customizer(object[key], source[key], key, object, source)
  21547. : undefined;
  21548. assignValue(object, key, newValue === undefined ? source[key] : newValue);
  21549. }
  21550. return object;
  21551. }
  21552. /**
  21553. * Copies own symbol properties of `source` to `object`.
  21554. *
  21555. * @private
  21556. * @param {Object} source The object to copy symbols from.
  21557. * @param {Object} [object={}] The object to copy symbols to.
  21558. * @returns {Object} Returns `object`.
  21559. */
  21560. function copySymbols(source, object) {
  21561. return copyObject(source, getSymbols(source), object);
  21562. }
  21563. /**
  21564. * Creates an array of own enumerable property names and symbols of `object`.
  21565. *
  21566. * @private
  21567. * @param {Object} object The object to query.
  21568. * @returns {Array} Returns the array of property names and symbols.
  21569. */
  21570. function getAllKeys(object) {
  21571. return baseGetAllKeys(object, keys, getSymbols);
  21572. }
  21573. /**
  21574. * Gets the data for `map`.
  21575. *
  21576. * @private
  21577. * @param {Object} map The map to query.
  21578. * @param {string} key The reference key.
  21579. * @returns {*} Returns the map data.
  21580. */
  21581. function getMapData(map, key) {
  21582. var data = map.__data__;
  21583. return isKeyable(key)
  21584. ? data[typeof key == 'string' ? 'string' : 'hash']
  21585. : data.map;
  21586. }
  21587. /**
  21588. * Gets the native function at `key` of `object`.
  21589. *
  21590. * @private
  21591. * @param {Object} object The object to query.
  21592. * @param {string} key The key of the method to get.
  21593. * @returns {*} Returns the function if it's native, else `undefined`.
  21594. */
  21595. function getNative(object, key) {
  21596. var value = getValue(object, key);
  21597. return baseIsNative(value) ? value : undefined;
  21598. }
  21599. /**
  21600. * Creates an array of the own enumerable symbol properties of `object`.
  21601. *
  21602. * @private
  21603. * @param {Object} object The object to query.
  21604. * @returns {Array} Returns the array of symbols.
  21605. */
  21606. var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
  21607. /**
  21608. * Gets the `toStringTag` of `value`.
  21609. *
  21610. * @private
  21611. * @param {*} value The value to query.
  21612. * @returns {string} Returns the `toStringTag`.
  21613. */
  21614. var getTag = baseGetTag;
  21615. // Fallback for data views, maps, sets, and weak maps in IE 11,
  21616. // for data views in Edge < 14, and promises in Node.js.
  21617. if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
  21618. (Map && getTag(new Map) != mapTag) ||
  21619. (Promise && getTag(Promise.resolve()) != promiseTag) ||
  21620. (Set && getTag(new Set) != setTag) ||
  21621. (WeakMap && getTag(new WeakMap) != weakMapTag)) {
  21622. getTag = function(value) {
  21623. var result = objectToString.call(value),
  21624. Ctor = result == objectTag ? value.constructor : undefined,
  21625. ctorString = Ctor ? toSource(Ctor) : undefined;
  21626. if (ctorString) {
  21627. switch (ctorString) {
  21628. case dataViewCtorString: return dataViewTag;
  21629. case mapCtorString: return mapTag;
  21630. case promiseCtorString: return promiseTag;
  21631. case setCtorString: return setTag;
  21632. case weakMapCtorString: return weakMapTag;
  21633. }
  21634. }
  21635. return result;
  21636. };
  21637. }
  21638. /**
  21639. * Initializes an array clone.
  21640. *
  21641. * @private
  21642. * @param {Array} array The array to clone.
  21643. * @returns {Array} Returns the initialized clone.
  21644. */
  21645. function initCloneArray(array) {
  21646. var length = array.length,
  21647. result = array.constructor(length);
  21648. // Add properties assigned by `RegExp#exec`.
  21649. if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
  21650. result.index = array.index;
  21651. result.input = array.input;
  21652. }
  21653. return result;
  21654. }
  21655. /**
  21656. * Initializes an object clone.
  21657. *
  21658. * @private
  21659. * @param {Object} object The object to clone.
  21660. * @returns {Object} Returns the initialized clone.
  21661. */
  21662. function initCloneObject(object) {
  21663. return (typeof object.constructor == 'function' && !isPrototype(object))
  21664. ? baseCreate(getPrototype(object))
  21665. : {};
  21666. }
  21667. /**
  21668. * Initializes an object clone based on its `toStringTag`.
  21669. *
  21670. * **Note:** This function only supports cloning values with tags of
  21671. * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
  21672. *
  21673. * @private
  21674. * @param {Object} object The object to clone.
  21675. * @param {string} tag The `toStringTag` of the object to clone.
  21676. * @param {Function} cloneFunc The function to clone values.
  21677. * @param {boolean} [isDeep] Specify a deep clone.
  21678. * @returns {Object} Returns the initialized clone.
  21679. */
  21680. function initCloneByTag(object, tag, cloneFunc, isDeep) {
  21681. var Ctor = object.constructor;
  21682. switch (tag) {
  21683. case arrayBufferTag:
  21684. return cloneArrayBuffer(object);
  21685. case boolTag:
  21686. case dateTag:
  21687. return new Ctor(+object);
  21688. case dataViewTag:
  21689. return cloneDataView(object, isDeep);
  21690. case float32Tag: case float64Tag:
  21691. case int8Tag: case int16Tag: case int32Tag:
  21692. case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
  21693. return cloneTypedArray(object, isDeep);
  21694. case mapTag:
  21695. return cloneMap(object, isDeep, cloneFunc);
  21696. case numberTag:
  21697. case stringTag:
  21698. return new Ctor(object);
  21699. case regexpTag:
  21700. return cloneRegExp(object);
  21701. case setTag:
  21702. return cloneSet(object, isDeep, cloneFunc);
  21703. case symbolTag:
  21704. return cloneSymbol(object);
  21705. }
  21706. }
  21707. /**
  21708. * Checks if `value` is a valid array-like index.
  21709. *
  21710. * @private
  21711. * @param {*} value The value to check.
  21712. * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
  21713. * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
  21714. */
  21715. function isIndex(value, length) {
  21716. length = length == null ? MAX_SAFE_INTEGER : length;
  21717. return !!length &&
  21718. (typeof value == 'number' || reIsUint.test(value)) &&
  21719. (value > -1 && value % 1 == 0 && value < length);
  21720. }
  21721. /**
  21722. * Checks if `value` is suitable for use as unique object key.
  21723. *
  21724. * @private
  21725. * @param {*} value The value to check.
  21726. * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
  21727. */
  21728. function isKeyable(value) {
  21729. var type = typeof value;
  21730. return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
  21731. ? (value !== '__proto__')
  21732. : (value === null);
  21733. }
  21734. /**
  21735. * Checks if `func` has its source masked.
  21736. *
  21737. * @private
  21738. * @param {Function} func The function to check.
  21739. * @returns {boolean} Returns `true` if `func` is masked, else `false`.
  21740. */
  21741. function isMasked(func) {
  21742. return !!maskSrcKey && (maskSrcKey in func);
  21743. }
  21744. /**
  21745. * Checks if `value` is likely a prototype object.
  21746. *
  21747. * @private
  21748. * @param {*} value The value to check.
  21749. * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
  21750. */
  21751. function isPrototype(value) {
  21752. var Ctor = value && value.constructor,
  21753. proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
  21754. return value === proto;
  21755. }
  21756. /**
  21757. * Converts `func` to its source code.
  21758. *
  21759. * @private
  21760. * @param {Function} func The function to process.
  21761. * @returns {string} Returns the source code.
  21762. */
  21763. function toSource(func) {
  21764. if (func != null) {
  21765. try {
  21766. return funcToString.call(func);
  21767. } catch (e) {}
  21768. try {
  21769. return (func + '');
  21770. } catch (e) {}
  21771. }
  21772. return '';
  21773. }
  21774. /**
  21775. * This method is like `_.clone` except that it recursively clones `value`.
  21776. *
  21777. * @static
  21778. * @memberOf _
  21779. * @since 1.0.0
  21780. * @category Lang
  21781. * @param {*} value The value to recursively clone.
  21782. * @returns {*} Returns the deep cloned value.
  21783. * @see _.clone
  21784. * @example
  21785. *
  21786. * var objects = [{ 'a': 1 }, { 'b': 2 }];
  21787. *
  21788. * var deep = _.cloneDeep(objects);
  21789. * console.log(deep[0] === objects[0]);
  21790. * // => false
  21791. */
  21792. function cloneDeep(value) {
  21793. return baseClone(value, true, true);
  21794. }
  21795. /**
  21796. * Performs a
  21797. * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  21798. * comparison between two values to determine if they are equivalent.
  21799. *
  21800. * @static
  21801. * @memberOf _
  21802. * @since 4.0.0
  21803. * @category Lang
  21804. * @param {*} value The value to compare.
  21805. * @param {*} other The other value to compare.
  21806. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  21807. * @example
  21808. *
  21809. * var object = { 'a': 1 };
  21810. * var other = { 'a': 1 };
  21811. *
  21812. * _.eq(object, object);
  21813. * // => true
  21814. *
  21815. * _.eq(object, other);
  21816. * // => false
  21817. *
  21818. * _.eq('a', 'a');
  21819. * // => true
  21820. *
  21821. * _.eq('a', Object('a'));
  21822. * // => false
  21823. *
  21824. * _.eq(NaN, NaN);
  21825. * // => true
  21826. */
  21827. function eq(value, other) {
  21828. return value === other || (value !== value && other !== other);
  21829. }
  21830. /**
  21831. * Checks if `value` is likely an `arguments` object.
  21832. *
  21833. * @static
  21834. * @memberOf _
  21835. * @since 0.1.0
  21836. * @category Lang
  21837. * @param {*} value The value to check.
  21838. * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  21839. * else `false`.
  21840. * @example
  21841. *
  21842. * _.isArguments(function() { return arguments; }());
  21843. * // => true
  21844. *
  21845. * _.isArguments([1, 2, 3]);
  21846. * // => false
  21847. */
  21848. function isArguments(value) {
  21849. // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
  21850. return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
  21851. (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
  21852. }
  21853. /**
  21854. * Checks if `value` is classified as an `Array` object.
  21855. *
  21856. * @static
  21857. * @memberOf _
  21858. * @since 0.1.0
  21859. * @category Lang
  21860. * @param {*} value The value to check.
  21861. * @returns {boolean} Returns `true` if `value` is an array, else `false`.
  21862. * @example
  21863. *
  21864. * _.isArray([1, 2, 3]);
  21865. * // => true
  21866. *
  21867. * _.isArray(document.body.children);
  21868. * // => false
  21869. *
  21870. * _.isArray('abc');
  21871. * // => false
  21872. *
  21873. * _.isArray(_.noop);
  21874. * // => false
  21875. */
  21876. var isArray = Array.isArray;
  21877. /**
  21878. * Checks if `value` is array-like. A value is considered array-like if it's
  21879. * not a function and has a `value.length` that's an integer greater than or
  21880. * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
  21881. *
  21882. * @static
  21883. * @memberOf _
  21884. * @since 4.0.0
  21885. * @category Lang
  21886. * @param {*} value The value to check.
  21887. * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
  21888. * @example
  21889. *
  21890. * _.isArrayLike([1, 2, 3]);
  21891. * // => true
  21892. *
  21893. * _.isArrayLike(document.body.children);
  21894. * // => true
  21895. *
  21896. * _.isArrayLike('abc');
  21897. * // => true
  21898. *
  21899. * _.isArrayLike(_.noop);
  21900. * // => false
  21901. */
  21902. function isArrayLike(value) {
  21903. return value != null && isLength(value.length) && !isFunction(value);
  21904. }
  21905. /**
  21906. * This method is like `_.isArrayLike` except that it also checks if `value`
  21907. * is an object.
  21908. *
  21909. * @static
  21910. * @memberOf _
  21911. * @since 4.0.0
  21912. * @category Lang
  21913. * @param {*} value The value to check.
  21914. * @returns {boolean} Returns `true` if `value` is an array-like object,
  21915. * else `false`.
  21916. * @example
  21917. *
  21918. * _.isArrayLikeObject([1, 2, 3]);
  21919. * // => true
  21920. *
  21921. * _.isArrayLikeObject(document.body.children);
  21922. * // => true
  21923. *
  21924. * _.isArrayLikeObject('abc');
  21925. * // => false
  21926. *
  21927. * _.isArrayLikeObject(_.noop);
  21928. * // => false
  21929. */
  21930. function isArrayLikeObject(value) {
  21931. return isObjectLike(value) && isArrayLike(value);
  21932. }
  21933. /**
  21934. * Checks if `value` is a buffer.
  21935. *
  21936. * @static
  21937. * @memberOf _
  21938. * @since 4.3.0
  21939. * @category Lang
  21940. * @param {*} value The value to check.
  21941. * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
  21942. * @example
  21943. *
  21944. * _.isBuffer(new Buffer(2));
  21945. * // => true
  21946. *
  21947. * _.isBuffer(new Uint8Array(2));
  21948. * // => false
  21949. */
  21950. var isBuffer = nativeIsBuffer || stubFalse;
  21951. /**
  21952. * Checks if `value` is classified as a `Function` object.
  21953. *
  21954. * @static
  21955. * @memberOf _
  21956. * @since 0.1.0
  21957. * @category Lang
  21958. * @param {*} value The value to check.
  21959. * @returns {boolean} Returns `true` if `value` is a function, else `false`.
  21960. * @example
  21961. *
  21962. * _.isFunction(_);
  21963. * // => true
  21964. *
  21965. * _.isFunction(/abc/);
  21966. * // => false
  21967. */
  21968. function isFunction(value) {
  21969. // The use of `Object#toString` avoids issues with the `typeof` operator
  21970. // in Safari 8-9 which returns 'object' for typed array and other constructors.
  21971. var tag = isObject(value) ? objectToString.call(value) : '';
  21972. return tag == funcTag || tag == genTag;
  21973. }
  21974. /**
  21975. * Checks if `value` is a valid array-like length.
  21976. *
  21977. * **Note:** This method is loosely based on
  21978. * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
  21979. *
  21980. * @static
  21981. * @memberOf _
  21982. * @since 4.0.0
  21983. * @category Lang
  21984. * @param {*} value The value to check.
  21985. * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
  21986. * @example
  21987. *
  21988. * _.isLength(3);
  21989. * // => true
  21990. *
  21991. * _.isLength(Number.MIN_VALUE);
  21992. * // => false
  21993. *
  21994. * _.isLength(Infinity);
  21995. * // => false
  21996. *
  21997. * _.isLength('3');
  21998. * // => false
  21999. */
  22000. function isLength(value) {
  22001. return typeof value == 'number' &&
  22002. value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
  22003. }
  22004. /**
  22005. * Checks if `value` is the
  22006. * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
  22007. * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
  22008. *
  22009. * @static
  22010. * @memberOf _
  22011. * @since 0.1.0
  22012. * @category Lang
  22013. * @param {*} value The value to check.
  22014. * @returns {boolean} Returns `true` if `value` is an object, else `false`.
  22015. * @example
  22016. *
  22017. * _.isObject({});
  22018. * // => true
  22019. *
  22020. * _.isObject([1, 2, 3]);
  22021. * // => true
  22022. *
  22023. * _.isObject(_.noop);
  22024. * // => true
  22025. *
  22026. * _.isObject(null);
  22027. * // => false
  22028. */
  22029. function isObject(value) {
  22030. var type = typeof value;
  22031. return !!value && (type == 'object' || type == 'function');
  22032. }
  22033. /**
  22034. * Checks if `value` is object-like. A value is object-like if it's not `null`
  22035. * and has a `typeof` result of "object".
  22036. *
  22037. * @static
  22038. * @memberOf _
  22039. * @since 4.0.0
  22040. * @category Lang
  22041. * @param {*} value The value to check.
  22042. * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
  22043. * @example
  22044. *
  22045. * _.isObjectLike({});
  22046. * // => true
  22047. *
  22048. * _.isObjectLike([1, 2, 3]);
  22049. * // => true
  22050. *
  22051. * _.isObjectLike(_.noop);
  22052. * // => false
  22053. *
  22054. * _.isObjectLike(null);
  22055. * // => false
  22056. */
  22057. function isObjectLike(value) {
  22058. return !!value && typeof value == 'object';
  22059. }
  22060. /**
  22061. * Creates an array of the own enumerable property names of `object`.
  22062. *
  22063. * **Note:** Non-object values are coerced to objects. See the
  22064. * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
  22065. * for more details.
  22066. *
  22067. * @static
  22068. * @since 0.1.0
  22069. * @memberOf _
  22070. * @category Object
  22071. * @param {Object} object The object to query.
  22072. * @returns {Array} Returns the array of property names.
  22073. * @example
  22074. *
  22075. * function Foo() {
  22076. * this.a = 1;
  22077. * this.b = 2;
  22078. * }
  22079. *
  22080. * Foo.prototype.c = 3;
  22081. *
  22082. * _.keys(new Foo);
  22083. * // => ['a', 'b'] (iteration order is not guaranteed)
  22084. *
  22085. * _.keys('hi');
  22086. * // => ['0', '1']
  22087. */
  22088. function keys(object) {
  22089. return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
  22090. }
  22091. /**
  22092. * This method returns a new empty array.
  22093. *
  22094. * @static
  22095. * @memberOf _
  22096. * @since 4.13.0
  22097. * @category Util
  22098. * @returns {Array} Returns the new empty array.
  22099. * @example
  22100. *
  22101. * var arrays = _.times(2, _.stubArray);
  22102. *
  22103. * console.log(arrays);
  22104. * // => [[], []]
  22105. *
  22106. * console.log(arrays[0] === arrays[1]);
  22107. * // => false
  22108. */
  22109. function stubArray() {
  22110. return [];
  22111. }
  22112. /**
  22113. * This method returns `false`.
  22114. *
  22115. * @static
  22116. * @memberOf _
  22117. * @since 4.13.0
  22118. * @category Util
  22119. * @returns {boolean} Returns `false`.
  22120. * @example
  22121. *
  22122. * _.times(2, _.stubFalse);
  22123. * // => [false, false]
  22124. */
  22125. function stubFalse() {
  22126. return false;
  22127. }
  22128. module.exports = cloneDeep;
  22129. /***/ }),
  22130. /***/ "./node_modules/lodash.isequal/index.js":
  22131. /*!**********************************************!*\
  22132. !*** ./node_modules/lodash.isequal/index.js ***!
  22133. \**********************************************/
  22134. /***/ ((module, exports, __webpack_require__) => {
  22135. /* module decorator */ module = __webpack_require__.nmd(module);
  22136. /**
  22137. * Lodash (Custom Build) <https://lodash.com/>
  22138. * Build: `lodash modularize exports="npm" -o ./`
  22139. * Copyright JS Foundation and other contributors <https://js.foundation/>
  22140. * Released under MIT license <https://lodash.com/license>
  22141. * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
  22142. * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
  22143. */
  22144. /** Used as the size to enable large array optimizations. */
  22145. var LARGE_ARRAY_SIZE = 200;
  22146. /** Used to stand-in for `undefined` hash values. */
  22147. var HASH_UNDEFINED = '__lodash_hash_undefined__';
  22148. /** Used to compose bitmasks for value comparisons. */
  22149. var COMPARE_PARTIAL_FLAG = 1,
  22150. COMPARE_UNORDERED_FLAG = 2;
  22151. /** Used as references for various `Number` constants. */
  22152. var MAX_SAFE_INTEGER = 9007199254740991;
  22153. /** `Object#toString` result references. */
  22154. var argsTag = '[object Arguments]',
  22155. arrayTag = '[object Array]',
  22156. asyncTag = '[object AsyncFunction]',
  22157. boolTag = '[object Boolean]',
  22158. dateTag = '[object Date]',
  22159. errorTag = '[object Error]',
  22160. funcTag = '[object Function]',
  22161. genTag = '[object GeneratorFunction]',
  22162. mapTag = '[object Map]',
  22163. numberTag = '[object Number]',
  22164. nullTag = '[object Null]',
  22165. objectTag = '[object Object]',
  22166. promiseTag = '[object Promise]',
  22167. proxyTag = '[object Proxy]',
  22168. regexpTag = '[object RegExp]',
  22169. setTag = '[object Set]',
  22170. stringTag = '[object String]',
  22171. symbolTag = '[object Symbol]',
  22172. undefinedTag = '[object Undefined]',
  22173. weakMapTag = '[object WeakMap]';
  22174. var arrayBufferTag = '[object ArrayBuffer]',
  22175. dataViewTag = '[object DataView]',
  22176. float32Tag = '[object Float32Array]',
  22177. float64Tag = '[object Float64Array]',
  22178. int8Tag = '[object Int8Array]',
  22179. int16Tag = '[object Int16Array]',
  22180. int32Tag = '[object Int32Array]',
  22181. uint8Tag = '[object Uint8Array]',
  22182. uint8ClampedTag = '[object Uint8ClampedArray]',
  22183. uint16Tag = '[object Uint16Array]',
  22184. uint32Tag = '[object Uint32Array]';
  22185. /**
  22186. * Used to match `RegExp`
  22187. * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
  22188. */
  22189. var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
  22190. /** Used to detect host constructors (Safari). */
  22191. var reIsHostCtor = /^\[object .+?Constructor\]$/;
  22192. /** Used to detect unsigned integer values. */
  22193. var reIsUint = /^(?:0|[1-9]\d*)$/;
  22194. /** Used to identify `toStringTag` values of typed arrays. */
  22195. var typedArrayTags = {};
  22196. typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =
  22197. typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =
  22198. typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =
  22199. typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =
  22200. typedArrayTags[uint32Tag] = true;
  22201. typedArrayTags[argsTag] = typedArrayTags[arrayTag] =
  22202. typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =
  22203. typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =
  22204. typedArrayTags[errorTag] = typedArrayTags[funcTag] =
  22205. typedArrayTags[mapTag] = typedArrayTags[numberTag] =
  22206. typedArrayTags[objectTag] = typedArrayTags[regexpTag] =
  22207. typedArrayTags[setTag] = typedArrayTags[stringTag] =
  22208. typedArrayTags[weakMapTag] = false;
  22209. /** Detect free variable `global` from Node.js. */
  22210. var freeGlobal = typeof __webpack_require__.g == 'object' && __webpack_require__.g && __webpack_require__.g.Object === Object && __webpack_require__.g;
  22211. /** Detect free variable `self`. */
  22212. var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
  22213. /** Used as a reference to the global object. */
  22214. var root = freeGlobal || freeSelf || Function('return this')();
  22215. /** Detect free variable `exports`. */
  22216. var freeExports = true && exports && !exports.nodeType && exports;
  22217. /** Detect free variable `module`. */
  22218. var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module;
  22219. /** Detect the popular CommonJS extension `module.exports`. */
  22220. var moduleExports = freeModule && freeModule.exports === freeExports;
  22221. /** Detect free variable `process` from Node.js. */
  22222. var freeProcess = moduleExports && freeGlobal.process;
  22223. /** Used to access faster Node.js helpers. */
  22224. var nodeUtil = (function() {
  22225. try {
  22226. return freeProcess && freeProcess.binding && freeProcess.binding('util');
  22227. } catch (e) {}
  22228. }());
  22229. /* Node.js helper references. */
  22230. var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
  22231. /**
  22232. * A specialized version of `_.filter` for arrays without support for
  22233. * iteratee shorthands.
  22234. *
  22235. * @private
  22236. * @param {Array} [array] The array to iterate over.
  22237. * @param {Function} predicate The function invoked per iteration.
  22238. * @returns {Array} Returns the new filtered array.
  22239. */
  22240. function arrayFilter(array, predicate) {
  22241. var index = -1,
  22242. length = array == null ? 0 : array.length,
  22243. resIndex = 0,
  22244. result = [];
  22245. while (++index < length) {
  22246. var value = array[index];
  22247. if (predicate(value, index, array)) {
  22248. result[resIndex++] = value;
  22249. }
  22250. }
  22251. return result;
  22252. }
  22253. /**
  22254. * Appends the elements of `values` to `array`.
  22255. *
  22256. * @private
  22257. * @param {Array} array The array to modify.
  22258. * @param {Array} values The values to append.
  22259. * @returns {Array} Returns `array`.
  22260. */
  22261. function arrayPush(array, values) {
  22262. var index = -1,
  22263. length = values.length,
  22264. offset = array.length;
  22265. while (++index < length) {
  22266. array[offset + index] = values[index];
  22267. }
  22268. return array;
  22269. }
  22270. /**
  22271. * A specialized version of `_.some` for arrays without support for iteratee
  22272. * shorthands.
  22273. *
  22274. * @private
  22275. * @param {Array} [array] The array to iterate over.
  22276. * @param {Function} predicate The function invoked per iteration.
  22277. * @returns {boolean} Returns `true` if any element passes the predicate check,
  22278. * else `false`.
  22279. */
  22280. function arraySome(array, predicate) {
  22281. var index = -1,
  22282. length = array == null ? 0 : array.length;
  22283. while (++index < length) {
  22284. if (predicate(array[index], index, array)) {
  22285. return true;
  22286. }
  22287. }
  22288. return false;
  22289. }
  22290. /**
  22291. * The base implementation of `_.times` without support for iteratee shorthands
  22292. * or max array length checks.
  22293. *
  22294. * @private
  22295. * @param {number} n The number of times to invoke `iteratee`.
  22296. * @param {Function} iteratee The function invoked per iteration.
  22297. * @returns {Array} Returns the array of results.
  22298. */
  22299. function baseTimes(n, iteratee) {
  22300. var index = -1,
  22301. result = Array(n);
  22302. while (++index < n) {
  22303. result[index] = iteratee(index);
  22304. }
  22305. return result;
  22306. }
  22307. /**
  22308. * The base implementation of `_.unary` without support for storing metadata.
  22309. *
  22310. * @private
  22311. * @param {Function} func The function to cap arguments for.
  22312. * @returns {Function} Returns the new capped function.
  22313. */
  22314. function baseUnary(func) {
  22315. return function(value) {
  22316. return func(value);
  22317. };
  22318. }
  22319. /**
  22320. * Checks if a `cache` value for `key` exists.
  22321. *
  22322. * @private
  22323. * @param {Object} cache The cache to query.
  22324. * @param {string} key The key of the entry to check.
  22325. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22326. */
  22327. function cacheHas(cache, key) {
  22328. return cache.has(key);
  22329. }
  22330. /**
  22331. * Gets the value at `key` of `object`.
  22332. *
  22333. * @private
  22334. * @param {Object} [object] The object to query.
  22335. * @param {string} key The key of the property to get.
  22336. * @returns {*} Returns the property value.
  22337. */
  22338. function getValue(object, key) {
  22339. return object == null ? undefined : object[key];
  22340. }
  22341. /**
  22342. * Converts `map` to its key-value pairs.
  22343. *
  22344. * @private
  22345. * @param {Object} map The map to convert.
  22346. * @returns {Array} Returns the key-value pairs.
  22347. */
  22348. function mapToArray(map) {
  22349. var index = -1,
  22350. result = Array(map.size);
  22351. map.forEach(function(value, key) {
  22352. result[++index] = [key, value];
  22353. });
  22354. return result;
  22355. }
  22356. /**
  22357. * Creates a unary function that invokes `func` with its argument transformed.
  22358. *
  22359. * @private
  22360. * @param {Function} func The function to wrap.
  22361. * @param {Function} transform The argument transform.
  22362. * @returns {Function} Returns the new function.
  22363. */
  22364. function overArg(func, transform) {
  22365. return function(arg) {
  22366. return func(transform(arg));
  22367. };
  22368. }
  22369. /**
  22370. * Converts `set` to an array of its values.
  22371. *
  22372. * @private
  22373. * @param {Object} set The set to convert.
  22374. * @returns {Array} Returns the values.
  22375. */
  22376. function setToArray(set) {
  22377. var index = -1,
  22378. result = Array(set.size);
  22379. set.forEach(function(value) {
  22380. result[++index] = value;
  22381. });
  22382. return result;
  22383. }
  22384. /** Used for built-in method references. */
  22385. var arrayProto = Array.prototype,
  22386. funcProto = Function.prototype,
  22387. objectProto = Object.prototype;
  22388. /** Used to detect overreaching core-js shims. */
  22389. var coreJsData = root['__core-js_shared__'];
  22390. /** Used to resolve the decompiled source of functions. */
  22391. var funcToString = funcProto.toString;
  22392. /** Used to check objects for own properties. */
  22393. var hasOwnProperty = objectProto.hasOwnProperty;
  22394. /** Used to detect methods masquerading as native. */
  22395. var maskSrcKey = (function() {
  22396. var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
  22397. return uid ? ('Symbol(src)_1.' + uid) : '';
  22398. }());
  22399. /**
  22400. * Used to resolve the
  22401. * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
  22402. * of values.
  22403. */
  22404. var nativeObjectToString = objectProto.toString;
  22405. /** Used to detect if a method is native. */
  22406. var reIsNative = RegExp('^' +
  22407. funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
  22408. .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
  22409. );
  22410. /** Built-in value references. */
  22411. var Buffer = moduleExports ? root.Buffer : undefined,
  22412. Symbol = root.Symbol,
  22413. Uint8Array = root.Uint8Array,
  22414. propertyIsEnumerable = objectProto.propertyIsEnumerable,
  22415. splice = arrayProto.splice,
  22416. symToStringTag = Symbol ? Symbol.toStringTag : undefined;
  22417. /* Built-in method references for those with the same name as other `lodash` methods. */
  22418. var nativeGetSymbols = Object.getOwnPropertySymbols,
  22419. nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
  22420. nativeKeys = overArg(Object.keys, Object);
  22421. /* Built-in method references that are verified to be native. */
  22422. var DataView = getNative(root, 'DataView'),
  22423. Map = getNative(root, 'Map'),
  22424. Promise = getNative(root, 'Promise'),
  22425. Set = getNative(root, 'Set'),
  22426. WeakMap = getNative(root, 'WeakMap'),
  22427. nativeCreate = getNative(Object, 'create');
  22428. /** Used to detect maps, sets, and weakmaps. */
  22429. var dataViewCtorString = toSource(DataView),
  22430. mapCtorString = toSource(Map),
  22431. promiseCtorString = toSource(Promise),
  22432. setCtorString = toSource(Set),
  22433. weakMapCtorString = toSource(WeakMap);
  22434. /** Used to convert symbols to primitives and strings. */
  22435. var symbolProto = Symbol ? Symbol.prototype : undefined,
  22436. symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
  22437. /**
  22438. * Creates a hash object.
  22439. *
  22440. * @private
  22441. * @constructor
  22442. * @param {Array} [entries] The key-value pairs to cache.
  22443. */
  22444. function Hash(entries) {
  22445. var index = -1,
  22446. length = entries == null ? 0 : entries.length;
  22447. this.clear();
  22448. while (++index < length) {
  22449. var entry = entries[index];
  22450. this.set(entry[0], entry[1]);
  22451. }
  22452. }
  22453. /**
  22454. * Removes all key-value entries from the hash.
  22455. *
  22456. * @private
  22457. * @name clear
  22458. * @memberOf Hash
  22459. */
  22460. function hashClear() {
  22461. this.__data__ = nativeCreate ? nativeCreate(null) : {};
  22462. this.size = 0;
  22463. }
  22464. /**
  22465. * Removes `key` and its value from the hash.
  22466. *
  22467. * @private
  22468. * @name delete
  22469. * @memberOf Hash
  22470. * @param {Object} hash The hash to modify.
  22471. * @param {string} key The key of the value to remove.
  22472. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22473. */
  22474. function hashDelete(key) {
  22475. var result = this.has(key) && delete this.__data__[key];
  22476. this.size -= result ? 1 : 0;
  22477. return result;
  22478. }
  22479. /**
  22480. * Gets the hash value for `key`.
  22481. *
  22482. * @private
  22483. * @name get
  22484. * @memberOf Hash
  22485. * @param {string} key The key of the value to get.
  22486. * @returns {*} Returns the entry value.
  22487. */
  22488. function hashGet(key) {
  22489. var data = this.__data__;
  22490. if (nativeCreate) {
  22491. var result = data[key];
  22492. return result === HASH_UNDEFINED ? undefined : result;
  22493. }
  22494. return hasOwnProperty.call(data, key) ? data[key] : undefined;
  22495. }
  22496. /**
  22497. * Checks if a hash value for `key` exists.
  22498. *
  22499. * @private
  22500. * @name has
  22501. * @memberOf Hash
  22502. * @param {string} key The key of the entry to check.
  22503. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22504. */
  22505. function hashHas(key) {
  22506. var data = this.__data__;
  22507. return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);
  22508. }
  22509. /**
  22510. * Sets the hash `key` to `value`.
  22511. *
  22512. * @private
  22513. * @name set
  22514. * @memberOf Hash
  22515. * @param {string} key The key of the value to set.
  22516. * @param {*} value The value to set.
  22517. * @returns {Object} Returns the hash instance.
  22518. */
  22519. function hashSet(key, value) {
  22520. var data = this.__data__;
  22521. this.size += this.has(key) ? 0 : 1;
  22522. data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
  22523. return this;
  22524. }
  22525. // Add methods to `Hash`.
  22526. Hash.prototype.clear = hashClear;
  22527. Hash.prototype['delete'] = hashDelete;
  22528. Hash.prototype.get = hashGet;
  22529. Hash.prototype.has = hashHas;
  22530. Hash.prototype.set = hashSet;
  22531. /**
  22532. * Creates an list cache object.
  22533. *
  22534. * @private
  22535. * @constructor
  22536. * @param {Array} [entries] The key-value pairs to cache.
  22537. */
  22538. function ListCache(entries) {
  22539. var index = -1,
  22540. length = entries == null ? 0 : entries.length;
  22541. this.clear();
  22542. while (++index < length) {
  22543. var entry = entries[index];
  22544. this.set(entry[0], entry[1]);
  22545. }
  22546. }
  22547. /**
  22548. * Removes all key-value entries from the list cache.
  22549. *
  22550. * @private
  22551. * @name clear
  22552. * @memberOf ListCache
  22553. */
  22554. function listCacheClear() {
  22555. this.__data__ = [];
  22556. this.size = 0;
  22557. }
  22558. /**
  22559. * Removes `key` and its value from the list cache.
  22560. *
  22561. * @private
  22562. * @name delete
  22563. * @memberOf ListCache
  22564. * @param {string} key The key of the value to remove.
  22565. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22566. */
  22567. function listCacheDelete(key) {
  22568. var data = this.__data__,
  22569. index = assocIndexOf(data, key);
  22570. if (index < 0) {
  22571. return false;
  22572. }
  22573. var lastIndex = data.length - 1;
  22574. if (index == lastIndex) {
  22575. data.pop();
  22576. } else {
  22577. splice.call(data, index, 1);
  22578. }
  22579. --this.size;
  22580. return true;
  22581. }
  22582. /**
  22583. * Gets the list cache value for `key`.
  22584. *
  22585. * @private
  22586. * @name get
  22587. * @memberOf ListCache
  22588. * @param {string} key The key of the value to get.
  22589. * @returns {*} Returns the entry value.
  22590. */
  22591. function listCacheGet(key) {
  22592. var data = this.__data__,
  22593. index = assocIndexOf(data, key);
  22594. return index < 0 ? undefined : data[index][1];
  22595. }
  22596. /**
  22597. * Checks if a list cache value for `key` exists.
  22598. *
  22599. * @private
  22600. * @name has
  22601. * @memberOf ListCache
  22602. * @param {string} key The key of the entry to check.
  22603. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22604. */
  22605. function listCacheHas(key) {
  22606. return assocIndexOf(this.__data__, key) > -1;
  22607. }
  22608. /**
  22609. * Sets the list cache `key` to `value`.
  22610. *
  22611. * @private
  22612. * @name set
  22613. * @memberOf ListCache
  22614. * @param {string} key The key of the value to set.
  22615. * @param {*} value The value to set.
  22616. * @returns {Object} Returns the list cache instance.
  22617. */
  22618. function listCacheSet(key, value) {
  22619. var data = this.__data__,
  22620. index = assocIndexOf(data, key);
  22621. if (index < 0) {
  22622. ++this.size;
  22623. data.push([key, value]);
  22624. } else {
  22625. data[index][1] = value;
  22626. }
  22627. return this;
  22628. }
  22629. // Add methods to `ListCache`.
  22630. ListCache.prototype.clear = listCacheClear;
  22631. ListCache.prototype['delete'] = listCacheDelete;
  22632. ListCache.prototype.get = listCacheGet;
  22633. ListCache.prototype.has = listCacheHas;
  22634. ListCache.prototype.set = listCacheSet;
  22635. /**
  22636. * Creates a map cache object to store key-value pairs.
  22637. *
  22638. * @private
  22639. * @constructor
  22640. * @param {Array} [entries] The key-value pairs to cache.
  22641. */
  22642. function MapCache(entries) {
  22643. var index = -1,
  22644. length = entries == null ? 0 : entries.length;
  22645. this.clear();
  22646. while (++index < length) {
  22647. var entry = entries[index];
  22648. this.set(entry[0], entry[1]);
  22649. }
  22650. }
  22651. /**
  22652. * Removes all key-value entries from the map.
  22653. *
  22654. * @private
  22655. * @name clear
  22656. * @memberOf MapCache
  22657. */
  22658. function mapCacheClear() {
  22659. this.size = 0;
  22660. this.__data__ = {
  22661. 'hash': new Hash,
  22662. 'map': new (Map || ListCache),
  22663. 'string': new Hash
  22664. };
  22665. }
  22666. /**
  22667. * Removes `key` and its value from the map.
  22668. *
  22669. * @private
  22670. * @name delete
  22671. * @memberOf MapCache
  22672. * @param {string} key The key of the value to remove.
  22673. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22674. */
  22675. function mapCacheDelete(key) {
  22676. var result = getMapData(this, key)['delete'](key);
  22677. this.size -= result ? 1 : 0;
  22678. return result;
  22679. }
  22680. /**
  22681. * Gets the map value for `key`.
  22682. *
  22683. * @private
  22684. * @name get
  22685. * @memberOf MapCache
  22686. * @param {string} key The key of the value to get.
  22687. * @returns {*} Returns the entry value.
  22688. */
  22689. function mapCacheGet(key) {
  22690. return getMapData(this, key).get(key);
  22691. }
  22692. /**
  22693. * Checks if a map value for `key` exists.
  22694. *
  22695. * @private
  22696. * @name has
  22697. * @memberOf MapCache
  22698. * @param {string} key The key of the entry to check.
  22699. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22700. */
  22701. function mapCacheHas(key) {
  22702. return getMapData(this, key).has(key);
  22703. }
  22704. /**
  22705. * Sets the map `key` to `value`.
  22706. *
  22707. * @private
  22708. * @name set
  22709. * @memberOf MapCache
  22710. * @param {string} key The key of the value to set.
  22711. * @param {*} value The value to set.
  22712. * @returns {Object} Returns the map cache instance.
  22713. */
  22714. function mapCacheSet(key, value) {
  22715. var data = getMapData(this, key),
  22716. size = data.size;
  22717. data.set(key, value);
  22718. this.size += data.size == size ? 0 : 1;
  22719. return this;
  22720. }
  22721. // Add methods to `MapCache`.
  22722. MapCache.prototype.clear = mapCacheClear;
  22723. MapCache.prototype['delete'] = mapCacheDelete;
  22724. MapCache.prototype.get = mapCacheGet;
  22725. MapCache.prototype.has = mapCacheHas;
  22726. MapCache.prototype.set = mapCacheSet;
  22727. /**
  22728. *
  22729. * Creates an array cache object to store unique values.
  22730. *
  22731. * @private
  22732. * @constructor
  22733. * @param {Array} [values] The values to cache.
  22734. */
  22735. function SetCache(values) {
  22736. var index = -1,
  22737. length = values == null ? 0 : values.length;
  22738. this.__data__ = new MapCache;
  22739. while (++index < length) {
  22740. this.add(values[index]);
  22741. }
  22742. }
  22743. /**
  22744. * Adds `value` to the array cache.
  22745. *
  22746. * @private
  22747. * @name add
  22748. * @memberOf SetCache
  22749. * @alias push
  22750. * @param {*} value The value to cache.
  22751. * @returns {Object} Returns the cache instance.
  22752. */
  22753. function setCacheAdd(value) {
  22754. this.__data__.set(value, HASH_UNDEFINED);
  22755. return this;
  22756. }
  22757. /**
  22758. * Checks if `value` is in the array cache.
  22759. *
  22760. * @private
  22761. * @name has
  22762. * @memberOf SetCache
  22763. * @param {*} value The value to search for.
  22764. * @returns {number} Returns `true` if `value` is found, else `false`.
  22765. */
  22766. function setCacheHas(value) {
  22767. return this.__data__.has(value);
  22768. }
  22769. // Add methods to `SetCache`.
  22770. SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;
  22771. SetCache.prototype.has = setCacheHas;
  22772. /**
  22773. * Creates a stack cache object to store key-value pairs.
  22774. *
  22775. * @private
  22776. * @constructor
  22777. * @param {Array} [entries] The key-value pairs to cache.
  22778. */
  22779. function Stack(entries) {
  22780. var data = this.__data__ = new ListCache(entries);
  22781. this.size = data.size;
  22782. }
  22783. /**
  22784. * Removes all key-value entries from the stack.
  22785. *
  22786. * @private
  22787. * @name clear
  22788. * @memberOf Stack
  22789. */
  22790. function stackClear() {
  22791. this.__data__ = new ListCache;
  22792. this.size = 0;
  22793. }
  22794. /**
  22795. * Removes `key` and its value from the stack.
  22796. *
  22797. * @private
  22798. * @name delete
  22799. * @memberOf Stack
  22800. * @param {string} key The key of the value to remove.
  22801. * @returns {boolean} Returns `true` if the entry was removed, else `false`.
  22802. */
  22803. function stackDelete(key) {
  22804. var data = this.__data__,
  22805. result = data['delete'](key);
  22806. this.size = data.size;
  22807. return result;
  22808. }
  22809. /**
  22810. * Gets the stack value for `key`.
  22811. *
  22812. * @private
  22813. * @name get
  22814. * @memberOf Stack
  22815. * @param {string} key The key of the value to get.
  22816. * @returns {*} Returns the entry value.
  22817. */
  22818. function stackGet(key) {
  22819. return this.__data__.get(key);
  22820. }
  22821. /**
  22822. * Checks if a stack value for `key` exists.
  22823. *
  22824. * @private
  22825. * @name has
  22826. * @memberOf Stack
  22827. * @param {string} key The key of the entry to check.
  22828. * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
  22829. */
  22830. function stackHas(key) {
  22831. return this.__data__.has(key);
  22832. }
  22833. /**
  22834. * Sets the stack `key` to `value`.
  22835. *
  22836. * @private
  22837. * @name set
  22838. * @memberOf Stack
  22839. * @param {string} key The key of the value to set.
  22840. * @param {*} value The value to set.
  22841. * @returns {Object} Returns the stack cache instance.
  22842. */
  22843. function stackSet(key, value) {
  22844. var data = this.__data__;
  22845. if (data instanceof ListCache) {
  22846. var pairs = data.__data__;
  22847. if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
  22848. pairs.push([key, value]);
  22849. this.size = ++data.size;
  22850. return this;
  22851. }
  22852. data = this.__data__ = new MapCache(pairs);
  22853. }
  22854. data.set(key, value);
  22855. this.size = data.size;
  22856. return this;
  22857. }
  22858. // Add methods to `Stack`.
  22859. Stack.prototype.clear = stackClear;
  22860. Stack.prototype['delete'] = stackDelete;
  22861. Stack.prototype.get = stackGet;
  22862. Stack.prototype.has = stackHas;
  22863. Stack.prototype.set = stackSet;
  22864. /**
  22865. * Creates an array of the enumerable property names of the array-like `value`.
  22866. *
  22867. * @private
  22868. * @param {*} value The value to query.
  22869. * @param {boolean} inherited Specify returning inherited property names.
  22870. * @returns {Array} Returns the array of property names.
  22871. */
  22872. function arrayLikeKeys(value, inherited) {
  22873. var isArr = isArray(value),
  22874. isArg = !isArr && isArguments(value),
  22875. isBuff = !isArr && !isArg && isBuffer(value),
  22876. isType = !isArr && !isArg && !isBuff && isTypedArray(value),
  22877. skipIndexes = isArr || isArg || isBuff || isType,
  22878. result = skipIndexes ? baseTimes(value.length, String) : [],
  22879. length = result.length;
  22880. for (var key in value) {
  22881. if ((inherited || hasOwnProperty.call(value, key)) &&
  22882. !(skipIndexes && (
  22883. // Safari 9 has enumerable `arguments.length` in strict mode.
  22884. key == 'length' ||
  22885. // Node.js 0.10 has enumerable non-index properties on buffers.
  22886. (isBuff && (key == 'offset' || key == 'parent')) ||
  22887. // PhantomJS 2 has enumerable non-index properties on typed arrays.
  22888. (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
  22889. // Skip index properties.
  22890. isIndex(key, length)
  22891. ))) {
  22892. result.push(key);
  22893. }
  22894. }
  22895. return result;
  22896. }
  22897. /**
  22898. * Gets the index at which the `key` is found in `array` of key-value pairs.
  22899. *
  22900. * @private
  22901. * @param {Array} array The array to inspect.
  22902. * @param {*} key The key to search for.
  22903. * @returns {number} Returns the index of the matched value, else `-1`.
  22904. */
  22905. function assocIndexOf(array, key) {
  22906. var length = array.length;
  22907. while (length--) {
  22908. if (eq(array[length][0], key)) {
  22909. return length;
  22910. }
  22911. }
  22912. return -1;
  22913. }
  22914. /**
  22915. * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
  22916. * `keysFunc` and `symbolsFunc` to get the enumerable property names and
  22917. * symbols of `object`.
  22918. *
  22919. * @private
  22920. * @param {Object} object The object to query.
  22921. * @param {Function} keysFunc The function to get the keys of `object`.
  22922. * @param {Function} symbolsFunc The function to get the symbols of `object`.
  22923. * @returns {Array} Returns the array of property names and symbols.
  22924. */
  22925. function baseGetAllKeys(object, keysFunc, symbolsFunc) {
  22926. var result = keysFunc(object);
  22927. return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
  22928. }
  22929. /**
  22930. * The base implementation of `getTag` without fallbacks for buggy environments.
  22931. *
  22932. * @private
  22933. * @param {*} value The value to query.
  22934. * @returns {string} Returns the `toStringTag`.
  22935. */
  22936. function baseGetTag(value) {
  22937. if (value == null) {
  22938. return value === undefined ? undefinedTag : nullTag;
  22939. }
  22940. return (symToStringTag && symToStringTag in Object(value))
  22941. ? getRawTag(value)
  22942. : objectToString(value);
  22943. }
  22944. /**
  22945. * The base implementation of `_.isArguments`.
  22946. *
  22947. * @private
  22948. * @param {*} value The value to check.
  22949. * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  22950. */
  22951. function baseIsArguments(value) {
  22952. return isObjectLike(value) && baseGetTag(value) == argsTag;
  22953. }
  22954. /**
  22955. * The base implementation of `_.isEqual` which supports partial comparisons
  22956. * and tracks traversed objects.
  22957. *
  22958. * @private
  22959. * @param {*} value The value to compare.
  22960. * @param {*} other The other value to compare.
  22961. * @param {boolean} bitmask The bitmask flags.
  22962. * 1 - Unordered comparison
  22963. * 2 - Partial comparison
  22964. * @param {Function} [customizer] The function to customize comparisons.
  22965. * @param {Object} [stack] Tracks traversed `value` and `other` objects.
  22966. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  22967. */
  22968. function baseIsEqual(value, other, bitmask, customizer, stack) {
  22969. if (value === other) {
  22970. return true;
  22971. }
  22972. if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {
  22973. return value !== value && other !== other;
  22974. }
  22975. return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);
  22976. }
  22977. /**
  22978. * A specialized version of `baseIsEqual` for arrays and objects which performs
  22979. * deep comparisons and tracks traversed objects enabling objects with circular
  22980. * references to be compared.
  22981. *
  22982. * @private
  22983. * @param {Object} object The object to compare.
  22984. * @param {Object} other The other object to compare.
  22985. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  22986. * @param {Function} customizer The function to customize comparisons.
  22987. * @param {Function} equalFunc The function to determine equivalents of values.
  22988. * @param {Object} [stack] Tracks traversed `object` and `other` objects.
  22989. * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  22990. */
  22991. function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {
  22992. var objIsArr = isArray(object),
  22993. othIsArr = isArray(other),
  22994. objTag = objIsArr ? arrayTag : getTag(object),
  22995. othTag = othIsArr ? arrayTag : getTag(other);
  22996. objTag = objTag == argsTag ? objectTag : objTag;
  22997. othTag = othTag == argsTag ? objectTag : othTag;
  22998. var objIsObj = objTag == objectTag,
  22999. othIsObj = othTag == objectTag,
  23000. isSameTag = objTag == othTag;
  23001. if (isSameTag && isBuffer(object)) {
  23002. if (!isBuffer(other)) {
  23003. return false;
  23004. }
  23005. objIsArr = true;
  23006. objIsObj = false;
  23007. }
  23008. if (isSameTag && !objIsObj) {
  23009. stack || (stack = new Stack);
  23010. return (objIsArr || isTypedArray(object))
  23011. ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)
  23012. : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
  23013. }
  23014. if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
  23015. var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),
  23016. othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');
  23017. if (objIsWrapped || othIsWrapped) {
  23018. var objUnwrapped = objIsWrapped ? object.value() : object,
  23019. othUnwrapped = othIsWrapped ? other.value() : other;
  23020. stack || (stack = new Stack);
  23021. return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
  23022. }
  23023. }
  23024. if (!isSameTag) {
  23025. return false;
  23026. }
  23027. stack || (stack = new Stack);
  23028. return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
  23029. }
  23030. /**
  23031. * The base implementation of `_.isNative` without bad shim checks.
  23032. *
  23033. * @private
  23034. * @param {*} value The value to check.
  23035. * @returns {boolean} Returns `true` if `value` is a native function,
  23036. * else `false`.
  23037. */
  23038. function baseIsNative(value) {
  23039. if (!isObject(value) || isMasked(value)) {
  23040. return false;
  23041. }
  23042. var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
  23043. return pattern.test(toSource(value));
  23044. }
  23045. /**
  23046. * The base implementation of `_.isTypedArray` without Node.js optimizations.
  23047. *
  23048. * @private
  23049. * @param {*} value The value to check.
  23050. * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
  23051. */
  23052. function baseIsTypedArray(value) {
  23053. return isObjectLike(value) &&
  23054. isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
  23055. }
  23056. /**
  23057. * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
  23058. *
  23059. * @private
  23060. * @param {Object} object The object to query.
  23061. * @returns {Array} Returns the array of property names.
  23062. */
  23063. function baseKeys(object) {
  23064. if (!isPrototype(object)) {
  23065. return nativeKeys(object);
  23066. }
  23067. var result = [];
  23068. for (var key in Object(object)) {
  23069. if (hasOwnProperty.call(object, key) && key != 'constructor') {
  23070. result.push(key);
  23071. }
  23072. }
  23073. return result;
  23074. }
  23075. /**
  23076. * A specialized version of `baseIsEqualDeep` for arrays with support for
  23077. * partial deep comparisons.
  23078. *
  23079. * @private
  23080. * @param {Array} array The array to compare.
  23081. * @param {Array} other The other array to compare.
  23082. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  23083. * @param {Function} customizer The function to customize comparisons.
  23084. * @param {Function} equalFunc The function to determine equivalents of values.
  23085. * @param {Object} stack Tracks traversed `array` and `other` objects.
  23086. * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.
  23087. */
  23088. function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {
  23089. var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
  23090. arrLength = array.length,
  23091. othLength = other.length;
  23092. if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
  23093. return false;
  23094. }
  23095. // Assume cyclic values are equal.
  23096. var stacked = stack.get(array);
  23097. if (stacked && stack.get(other)) {
  23098. return stacked == other;
  23099. }
  23100. var index = -1,
  23101. result = true,
  23102. seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;
  23103. stack.set(array, other);
  23104. stack.set(other, array);
  23105. // Ignore non-index properties.
  23106. while (++index < arrLength) {
  23107. var arrValue = array[index],
  23108. othValue = other[index];
  23109. if (customizer) {
  23110. var compared = isPartial
  23111. ? customizer(othValue, arrValue, index, other, array, stack)
  23112. : customizer(arrValue, othValue, index, array, other, stack);
  23113. }
  23114. if (compared !== undefined) {
  23115. if (compared) {
  23116. continue;
  23117. }
  23118. result = false;
  23119. break;
  23120. }
  23121. // Recursively compare arrays (susceptible to call stack limits).
  23122. if (seen) {
  23123. if (!arraySome(other, function(othValue, othIndex) {
  23124. if (!cacheHas(seen, othIndex) &&
  23125. (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
  23126. return seen.push(othIndex);
  23127. }
  23128. })) {
  23129. result = false;
  23130. break;
  23131. }
  23132. } else if (!(
  23133. arrValue === othValue ||
  23134. equalFunc(arrValue, othValue, bitmask, customizer, stack)
  23135. )) {
  23136. result = false;
  23137. break;
  23138. }
  23139. }
  23140. stack['delete'](array);
  23141. stack['delete'](other);
  23142. return result;
  23143. }
  23144. /**
  23145. * A specialized version of `baseIsEqualDeep` for comparing objects of
  23146. * the same `toStringTag`.
  23147. *
  23148. * **Note:** This function only supports comparing values with tags of
  23149. * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
  23150. *
  23151. * @private
  23152. * @param {Object} object The object to compare.
  23153. * @param {Object} other The other object to compare.
  23154. * @param {string} tag The `toStringTag` of the objects to compare.
  23155. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  23156. * @param {Function} customizer The function to customize comparisons.
  23157. * @param {Function} equalFunc The function to determine equivalents of values.
  23158. * @param {Object} stack Tracks traversed `object` and `other` objects.
  23159. * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  23160. */
  23161. function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {
  23162. switch (tag) {
  23163. case dataViewTag:
  23164. if ((object.byteLength != other.byteLength) ||
  23165. (object.byteOffset != other.byteOffset)) {
  23166. return false;
  23167. }
  23168. object = object.buffer;
  23169. other = other.buffer;
  23170. case arrayBufferTag:
  23171. if ((object.byteLength != other.byteLength) ||
  23172. !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
  23173. return false;
  23174. }
  23175. return true;
  23176. case boolTag:
  23177. case dateTag:
  23178. case numberTag:
  23179. // Coerce booleans to `1` or `0` and dates to milliseconds.
  23180. // Invalid dates are coerced to `NaN`.
  23181. return eq(+object, +other);
  23182. case errorTag:
  23183. return object.name == other.name && object.message == other.message;
  23184. case regexpTag:
  23185. case stringTag:
  23186. // Coerce regexes to strings and treat strings, primitives and objects,
  23187. // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring
  23188. // for more details.
  23189. return object == (other + '');
  23190. case mapTag:
  23191. var convert = mapToArray;
  23192. case setTag:
  23193. var isPartial = bitmask & COMPARE_PARTIAL_FLAG;
  23194. convert || (convert = setToArray);
  23195. if (object.size != other.size && !isPartial) {
  23196. return false;
  23197. }
  23198. // Assume cyclic values are equal.
  23199. var stacked = stack.get(object);
  23200. if (stacked) {
  23201. return stacked == other;
  23202. }
  23203. bitmask |= COMPARE_UNORDERED_FLAG;
  23204. // Recursively compare objects (susceptible to call stack limits).
  23205. stack.set(object, other);
  23206. var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);
  23207. stack['delete'](object);
  23208. return result;
  23209. case symbolTag:
  23210. if (symbolValueOf) {
  23211. return symbolValueOf.call(object) == symbolValueOf.call(other);
  23212. }
  23213. }
  23214. return false;
  23215. }
  23216. /**
  23217. * A specialized version of `baseIsEqualDeep` for objects with support for
  23218. * partial deep comparisons.
  23219. *
  23220. * @private
  23221. * @param {Object} object The object to compare.
  23222. * @param {Object} other The other object to compare.
  23223. * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.
  23224. * @param {Function} customizer The function to customize comparisons.
  23225. * @param {Function} equalFunc The function to determine equivalents of values.
  23226. * @param {Object} stack Tracks traversed `object` and `other` objects.
  23227. * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.
  23228. */
  23229. function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
  23230. var isPartial = bitmask & COMPARE_PARTIAL_FLAG,
  23231. objProps = getAllKeys(object),
  23232. objLength = objProps.length,
  23233. othProps = getAllKeys(other),
  23234. othLength = othProps.length;
  23235. if (objLength != othLength && !isPartial) {
  23236. return false;
  23237. }
  23238. var index = objLength;
  23239. while (index--) {
  23240. var key = objProps[index];
  23241. if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {
  23242. return false;
  23243. }
  23244. }
  23245. // Assume cyclic values are equal.
  23246. var stacked = stack.get(object);
  23247. if (stacked && stack.get(other)) {
  23248. return stacked == other;
  23249. }
  23250. var result = true;
  23251. stack.set(object, other);
  23252. stack.set(other, object);
  23253. var skipCtor = isPartial;
  23254. while (++index < objLength) {
  23255. key = objProps[index];
  23256. var objValue = object[key],
  23257. othValue = other[key];
  23258. if (customizer) {
  23259. var compared = isPartial
  23260. ? customizer(othValue, objValue, key, other, object, stack)
  23261. : customizer(objValue, othValue, key, object, other, stack);
  23262. }
  23263. // Recursively compare objects (susceptible to call stack limits).
  23264. if (!(compared === undefined
  23265. ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))
  23266. : compared
  23267. )) {
  23268. result = false;
  23269. break;
  23270. }
  23271. skipCtor || (skipCtor = key == 'constructor');
  23272. }
  23273. if (result && !skipCtor) {
  23274. var objCtor = object.constructor,
  23275. othCtor = other.constructor;
  23276. // Non `Object` object instances with different constructors are not equal.
  23277. if (objCtor != othCtor &&
  23278. ('constructor' in object && 'constructor' in other) &&
  23279. !(typeof objCtor == 'function' && objCtor instanceof objCtor &&
  23280. typeof othCtor == 'function' && othCtor instanceof othCtor)) {
  23281. result = false;
  23282. }
  23283. }
  23284. stack['delete'](object);
  23285. stack['delete'](other);
  23286. return result;
  23287. }
  23288. /**
  23289. * Creates an array of own enumerable property names and symbols of `object`.
  23290. *
  23291. * @private
  23292. * @param {Object} object The object to query.
  23293. * @returns {Array} Returns the array of property names and symbols.
  23294. */
  23295. function getAllKeys(object) {
  23296. return baseGetAllKeys(object, keys, getSymbols);
  23297. }
  23298. /**
  23299. * Gets the data for `map`.
  23300. *
  23301. * @private
  23302. * @param {Object} map The map to query.
  23303. * @param {string} key The reference key.
  23304. * @returns {*} Returns the map data.
  23305. */
  23306. function getMapData(map, key) {
  23307. var data = map.__data__;
  23308. return isKeyable(key)
  23309. ? data[typeof key == 'string' ? 'string' : 'hash']
  23310. : data.map;
  23311. }
  23312. /**
  23313. * Gets the native function at `key` of `object`.
  23314. *
  23315. * @private
  23316. * @param {Object} object The object to query.
  23317. * @param {string} key The key of the method to get.
  23318. * @returns {*} Returns the function if it's native, else `undefined`.
  23319. */
  23320. function getNative(object, key) {
  23321. var value = getValue(object, key);
  23322. return baseIsNative(value) ? value : undefined;
  23323. }
  23324. /**
  23325. * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
  23326. *
  23327. * @private
  23328. * @param {*} value The value to query.
  23329. * @returns {string} Returns the raw `toStringTag`.
  23330. */
  23331. function getRawTag(value) {
  23332. var isOwn = hasOwnProperty.call(value, symToStringTag),
  23333. tag = value[symToStringTag];
  23334. try {
  23335. value[symToStringTag] = undefined;
  23336. var unmasked = true;
  23337. } catch (e) {}
  23338. var result = nativeObjectToString.call(value);
  23339. if (unmasked) {
  23340. if (isOwn) {
  23341. value[symToStringTag] = tag;
  23342. } else {
  23343. delete value[symToStringTag];
  23344. }
  23345. }
  23346. return result;
  23347. }
  23348. /**
  23349. * Creates an array of the own enumerable symbols of `object`.
  23350. *
  23351. * @private
  23352. * @param {Object} object The object to query.
  23353. * @returns {Array} Returns the array of symbols.
  23354. */
  23355. var getSymbols = !nativeGetSymbols ? stubArray : function(object) {
  23356. if (object == null) {
  23357. return [];
  23358. }
  23359. object = Object(object);
  23360. return arrayFilter(nativeGetSymbols(object), function(symbol) {
  23361. return propertyIsEnumerable.call(object, symbol);
  23362. });
  23363. };
  23364. /**
  23365. * Gets the `toStringTag` of `value`.
  23366. *
  23367. * @private
  23368. * @param {*} value The value to query.
  23369. * @returns {string} Returns the `toStringTag`.
  23370. */
  23371. var getTag = baseGetTag;
  23372. // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
  23373. if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
  23374. (Map && getTag(new Map) != mapTag) ||
  23375. (Promise && getTag(Promise.resolve()) != promiseTag) ||
  23376. (Set && getTag(new Set) != setTag) ||
  23377. (WeakMap && getTag(new WeakMap) != weakMapTag)) {
  23378. getTag = function(value) {
  23379. var result = baseGetTag(value),
  23380. Ctor = result == objectTag ? value.constructor : undefined,
  23381. ctorString = Ctor ? toSource(Ctor) : '';
  23382. if (ctorString) {
  23383. switch (ctorString) {
  23384. case dataViewCtorString: return dataViewTag;
  23385. case mapCtorString: return mapTag;
  23386. case promiseCtorString: return promiseTag;
  23387. case setCtorString: return setTag;
  23388. case weakMapCtorString: return weakMapTag;
  23389. }
  23390. }
  23391. return result;
  23392. };
  23393. }
  23394. /**
  23395. * Checks if `value` is a valid array-like index.
  23396. *
  23397. * @private
  23398. * @param {*} value The value to check.
  23399. * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
  23400. * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
  23401. */
  23402. function isIndex(value, length) {
  23403. length = length == null ? MAX_SAFE_INTEGER : length;
  23404. return !!length &&
  23405. (typeof value == 'number' || reIsUint.test(value)) &&
  23406. (value > -1 && value % 1 == 0 && value < length);
  23407. }
  23408. /**
  23409. * Checks if `value` is suitable for use as unique object key.
  23410. *
  23411. * @private
  23412. * @param {*} value The value to check.
  23413. * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
  23414. */
  23415. function isKeyable(value) {
  23416. var type = typeof value;
  23417. return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
  23418. ? (value !== '__proto__')
  23419. : (value === null);
  23420. }
  23421. /**
  23422. * Checks if `func` has its source masked.
  23423. *
  23424. * @private
  23425. * @param {Function} func The function to check.
  23426. * @returns {boolean} Returns `true` if `func` is masked, else `false`.
  23427. */
  23428. function isMasked(func) {
  23429. return !!maskSrcKey && (maskSrcKey in func);
  23430. }
  23431. /**
  23432. * Checks if `value` is likely a prototype object.
  23433. *
  23434. * @private
  23435. * @param {*} value The value to check.
  23436. * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
  23437. */
  23438. function isPrototype(value) {
  23439. var Ctor = value && value.constructor,
  23440. proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
  23441. return value === proto;
  23442. }
  23443. /**
  23444. * Converts `value` to a string using `Object.prototype.toString`.
  23445. *
  23446. * @private
  23447. * @param {*} value The value to convert.
  23448. * @returns {string} Returns the converted string.
  23449. */
  23450. function objectToString(value) {
  23451. return nativeObjectToString.call(value);
  23452. }
  23453. /**
  23454. * Converts `func` to its source code.
  23455. *
  23456. * @private
  23457. * @param {Function} func The function to convert.
  23458. * @returns {string} Returns the source code.
  23459. */
  23460. function toSource(func) {
  23461. if (func != null) {
  23462. try {
  23463. return funcToString.call(func);
  23464. } catch (e) {}
  23465. try {
  23466. return (func + '');
  23467. } catch (e) {}
  23468. }
  23469. return '';
  23470. }
  23471. /**
  23472. * Performs a
  23473. * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
  23474. * comparison between two values to determine if they are equivalent.
  23475. *
  23476. * @static
  23477. * @memberOf _
  23478. * @since 4.0.0
  23479. * @category Lang
  23480. * @param {*} value The value to compare.
  23481. * @param {*} other The other value to compare.
  23482. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  23483. * @example
  23484. *
  23485. * var object = { 'a': 1 };
  23486. * var other = { 'a': 1 };
  23487. *
  23488. * _.eq(object, object);
  23489. * // => true
  23490. *
  23491. * _.eq(object, other);
  23492. * // => false
  23493. *
  23494. * _.eq('a', 'a');
  23495. * // => true
  23496. *
  23497. * _.eq('a', Object('a'));
  23498. * // => false
  23499. *
  23500. * _.eq(NaN, NaN);
  23501. * // => true
  23502. */
  23503. function eq(value, other) {
  23504. return value === other || (value !== value && other !== other);
  23505. }
  23506. /**
  23507. * Checks if `value` is likely an `arguments` object.
  23508. *
  23509. * @static
  23510. * @memberOf _
  23511. * @since 0.1.0
  23512. * @category Lang
  23513. * @param {*} value The value to check.
  23514. * @returns {boolean} Returns `true` if `value` is an `arguments` object,
  23515. * else `false`.
  23516. * @example
  23517. *
  23518. * _.isArguments(function() { return arguments; }());
  23519. * // => true
  23520. *
  23521. * _.isArguments([1, 2, 3]);
  23522. * // => false
  23523. */
  23524. var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {
  23525. return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&
  23526. !propertyIsEnumerable.call(value, 'callee');
  23527. };
  23528. /**
  23529. * Checks if `value` is classified as an `Array` object.
  23530. *
  23531. * @static
  23532. * @memberOf _
  23533. * @since 0.1.0
  23534. * @category Lang
  23535. * @param {*} value The value to check.
  23536. * @returns {boolean} Returns `true` if `value` is an array, else `false`.
  23537. * @example
  23538. *
  23539. * _.isArray([1, 2, 3]);
  23540. * // => true
  23541. *
  23542. * _.isArray(document.body.children);
  23543. * // => false
  23544. *
  23545. * _.isArray('abc');
  23546. * // => false
  23547. *
  23548. * _.isArray(_.noop);
  23549. * // => false
  23550. */
  23551. var isArray = Array.isArray;
  23552. /**
  23553. * Checks if `value` is array-like. A value is considered array-like if it's
  23554. * not a function and has a `value.length` that's an integer greater than or
  23555. * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
  23556. *
  23557. * @static
  23558. * @memberOf _
  23559. * @since 4.0.0
  23560. * @category Lang
  23561. * @param {*} value The value to check.
  23562. * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
  23563. * @example
  23564. *
  23565. * _.isArrayLike([1, 2, 3]);
  23566. * // => true
  23567. *
  23568. * _.isArrayLike(document.body.children);
  23569. * // => true
  23570. *
  23571. * _.isArrayLike('abc');
  23572. * // => true
  23573. *
  23574. * _.isArrayLike(_.noop);
  23575. * // => false
  23576. */
  23577. function isArrayLike(value) {
  23578. return value != null && isLength(value.length) && !isFunction(value);
  23579. }
  23580. /**
  23581. * Checks if `value` is a buffer.
  23582. *
  23583. * @static
  23584. * @memberOf _
  23585. * @since 4.3.0
  23586. * @category Lang
  23587. * @param {*} value The value to check.
  23588. * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
  23589. * @example
  23590. *
  23591. * _.isBuffer(new Buffer(2));
  23592. * // => true
  23593. *
  23594. * _.isBuffer(new Uint8Array(2));
  23595. * // => false
  23596. */
  23597. var isBuffer = nativeIsBuffer || stubFalse;
  23598. /**
  23599. * Performs a deep comparison between two values to determine if they are
  23600. * equivalent.
  23601. *
  23602. * **Note:** This method supports comparing arrays, array buffers, booleans,
  23603. * date objects, error objects, maps, numbers, `Object` objects, regexes,
  23604. * sets, strings, symbols, and typed arrays. `Object` objects are compared
  23605. * by their own, not inherited, enumerable properties. Functions and DOM
  23606. * nodes are compared by strict equality, i.e. `===`.
  23607. *
  23608. * @static
  23609. * @memberOf _
  23610. * @since 0.1.0
  23611. * @category Lang
  23612. * @param {*} value The value to compare.
  23613. * @param {*} other The other value to compare.
  23614. * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
  23615. * @example
  23616. *
  23617. * var object = { 'a': 1 };
  23618. * var other = { 'a': 1 };
  23619. *
  23620. * _.isEqual(object, other);
  23621. * // => true
  23622. *
  23623. * object === other;
  23624. * // => false
  23625. */
  23626. function isEqual(value, other) {
  23627. return baseIsEqual(value, other);
  23628. }
  23629. /**
  23630. * Checks if `value` is classified as a `Function` object.
  23631. *
  23632. * @static
  23633. * @memberOf _
  23634. * @since 0.1.0
  23635. * @category Lang
  23636. * @param {*} value The value to check.
  23637. * @returns {boolean} Returns `true` if `value` is a function, else `false`.
  23638. * @example
  23639. *
  23640. * _.isFunction(_);
  23641. * // => true
  23642. *
  23643. * _.isFunction(/abc/);
  23644. * // => false
  23645. */
  23646. function isFunction(value) {
  23647. if (!isObject(value)) {
  23648. return false;
  23649. }
  23650. // The use of `Object#toString` avoids issues with the `typeof` operator
  23651. // in Safari 9 which returns 'object' for typed arrays and other constructors.
  23652. var tag = baseGetTag(value);
  23653. return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
  23654. }
  23655. /**
  23656. * Checks if `value` is a valid array-like length.
  23657. *
  23658. * **Note:** This method is loosely based on
  23659. * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
  23660. *
  23661. * @static
  23662. * @memberOf _
  23663. * @since 4.0.0
  23664. * @category Lang
  23665. * @param {*} value The value to check.
  23666. * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
  23667. * @example
  23668. *
  23669. * _.isLength(3);
  23670. * // => true
  23671. *
  23672. * _.isLength(Number.MIN_VALUE);
  23673. * // => false
  23674. *
  23675. * _.isLength(Infinity);
  23676. * // => false
  23677. *
  23678. * _.isLength('3');
  23679. * // => false
  23680. */
  23681. function isLength(value) {
  23682. return typeof value == 'number' &&
  23683. value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
  23684. }
  23685. /**
  23686. * Checks if `value` is the
  23687. * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
  23688. * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
  23689. *
  23690. * @static
  23691. * @memberOf _
  23692. * @since 0.1.0
  23693. * @category Lang
  23694. * @param {*} value The value to check.
  23695. * @returns {boolean} Returns `true` if `value` is an object, else `false`.
  23696. * @example
  23697. *
  23698. * _.isObject({});
  23699. * // => true
  23700. *
  23701. * _.isObject([1, 2, 3]);
  23702. * // => true
  23703. *
  23704. * _.isObject(_.noop);
  23705. * // => true
  23706. *
  23707. * _.isObject(null);
  23708. * // => false
  23709. */
  23710. function isObject(value) {
  23711. var type = typeof value;
  23712. return value != null && (type == 'object' || type == 'function');
  23713. }
  23714. /**
  23715. * Checks if `value` is object-like. A value is object-like if it's not `null`
  23716. * and has a `typeof` result of "object".
  23717. *
  23718. * @static
  23719. * @memberOf _
  23720. * @since 4.0.0
  23721. * @category Lang
  23722. * @param {*} value The value to check.
  23723. * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
  23724. * @example
  23725. *
  23726. * _.isObjectLike({});
  23727. * // => true
  23728. *
  23729. * _.isObjectLike([1, 2, 3]);
  23730. * // => true
  23731. *
  23732. * _.isObjectLike(_.noop);
  23733. * // => false
  23734. *
  23735. * _.isObjectLike(null);
  23736. * // => false
  23737. */
  23738. function isObjectLike(value) {
  23739. return value != null && typeof value == 'object';
  23740. }
  23741. /**
  23742. * Checks if `value` is classified as a typed array.
  23743. *
  23744. * @static
  23745. * @memberOf _
  23746. * @since 3.0.0
  23747. * @category Lang
  23748. * @param {*} value The value to check.
  23749. * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
  23750. * @example
  23751. *
  23752. * _.isTypedArray(new Uint8Array);
  23753. * // => true
  23754. *
  23755. * _.isTypedArray([]);
  23756. * // => false
  23757. */
  23758. var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
  23759. /**
  23760. * Creates an array of the own enumerable property names of `object`.
  23761. *
  23762. * **Note:** Non-object values are coerced to objects. See the
  23763. * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
  23764. * for more details.
  23765. *
  23766. * @static
  23767. * @since 0.1.0
  23768. * @memberOf _
  23769. * @category Object
  23770. * @param {Object} object The object to query.
  23771. * @returns {Array} Returns the array of property names.
  23772. * @example
  23773. *
  23774. * function Foo() {
  23775. * this.a = 1;
  23776. * this.b = 2;
  23777. * }
  23778. *
  23779. * Foo.prototype.c = 3;
  23780. *
  23781. * _.keys(new Foo);
  23782. * // => ['a', 'b'] (iteration order is not guaranteed)
  23783. *
  23784. * _.keys('hi');
  23785. * // => ['0', '1']
  23786. */
  23787. function keys(object) {
  23788. return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
  23789. }
  23790. /**
  23791. * This method returns a new empty array.
  23792. *
  23793. * @static
  23794. * @memberOf _
  23795. * @since 4.13.0
  23796. * @category Util
  23797. * @returns {Array} Returns the new empty array.
  23798. * @example
  23799. *
  23800. * var arrays = _.times(2, _.stubArray);
  23801. *
  23802. * console.log(arrays);
  23803. * // => [[], []]
  23804. *
  23805. * console.log(arrays[0] === arrays[1]);
  23806. * // => false
  23807. */
  23808. function stubArray() {
  23809. return [];
  23810. }
  23811. /**
  23812. * This method returns `false`.
  23813. *
  23814. * @static
  23815. * @memberOf _
  23816. * @since 4.13.0
  23817. * @category Util
  23818. * @returns {boolean} Returns `false`.
  23819. * @example
  23820. *
  23821. * _.times(2, _.stubFalse);
  23822. * // => [false, false]
  23823. */
  23824. function stubFalse() {
  23825. return false;
  23826. }
  23827. module.exports = isEqual;
  23828. /***/ }),
  23829. /***/ "./node_modules/nprogress/nprogress.js":
  23830. /*!*********************************************!*\
  23831. !*** ./node_modules/nprogress/nprogress.js ***!
  23832. \*********************************************/
  23833. /***/ (function(module, exports, __webpack_require__) {
  23834. var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
  23835. * @license MIT */
  23836. ;(function(root, factory) {
  23837. if (true) {
  23838. !(__WEBPACK_AMD_DEFINE_FACTORY__ = (factory),
  23839. __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ?
  23840. (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) :
  23841. __WEBPACK_AMD_DEFINE_FACTORY__),
  23842. __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));
  23843. } else {}
  23844. })(this, function() {
  23845. var NProgress = {};
  23846. NProgress.version = '0.2.0';
  23847. var Settings = NProgress.settings = {
  23848. minimum: 0.08,
  23849. easing: 'ease',
  23850. positionUsing: '',
  23851. speed: 200,
  23852. trickle: true,
  23853. trickleRate: 0.02,
  23854. trickleSpeed: 800,
  23855. showSpinner: true,
  23856. barSelector: '[role="bar"]',
  23857. spinnerSelector: '[role="spinner"]',
  23858. parent: 'body',
  23859. template: '<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'
  23860. };
  23861. /**
  23862. * Updates configuration.
  23863. *
  23864. * NProgress.configure({
  23865. * minimum: 0.1
  23866. * });
  23867. */
  23868. NProgress.configure = function(options) {
  23869. var key, value;
  23870. for (key in options) {
  23871. value = options[key];
  23872. if (value !== undefined && options.hasOwnProperty(key)) Settings[key] = value;
  23873. }
  23874. return this;
  23875. };
  23876. /**
  23877. * Last number.
  23878. */
  23879. NProgress.status = null;
  23880. /**
  23881. * Sets the progress bar status, where `n` is a number from `0.0` to `1.0`.
  23882. *
  23883. * NProgress.set(0.4);
  23884. * NProgress.set(1.0);
  23885. */
  23886. NProgress.set = function(n) {
  23887. var started = NProgress.isStarted();
  23888. n = clamp(n, Settings.minimum, 1);
  23889. NProgress.status = (n === 1 ? null : n);
  23890. var progress = NProgress.render(!started),
  23891. bar = progress.querySelector(Settings.barSelector),
  23892. speed = Settings.speed,
  23893. ease = Settings.easing;
  23894. progress.offsetWidth; /* Repaint */
  23895. queue(function(next) {
  23896. // Set positionUsing if it hasn't already been set
  23897. if (Settings.positionUsing === '') Settings.positionUsing = NProgress.getPositioningCSS();
  23898. // Add transition
  23899. css(bar, barPositionCSS(n, speed, ease));
  23900. if (n === 1) {
  23901. // Fade out
  23902. css(progress, {
  23903. transition: 'none',
  23904. opacity: 1
  23905. });
  23906. progress.offsetWidth; /* Repaint */
  23907. setTimeout(function() {
  23908. css(progress, {
  23909. transition: 'all ' + speed + 'ms linear',
  23910. opacity: 0
  23911. });
  23912. setTimeout(function() {
  23913. NProgress.remove();
  23914. next();
  23915. }, speed);
  23916. }, speed);
  23917. } else {
  23918. setTimeout(next, speed);
  23919. }
  23920. });
  23921. return this;
  23922. };
  23923. NProgress.isStarted = function() {
  23924. return typeof NProgress.status === 'number';
  23925. };
  23926. /**
  23927. * Shows the progress bar.
  23928. * This is the same as setting the status to 0%, except that it doesn't go backwards.
  23929. *
  23930. * NProgress.start();
  23931. *
  23932. */
  23933. NProgress.start = function() {
  23934. if (!NProgress.status) NProgress.set(0);
  23935. var work = function() {
  23936. setTimeout(function() {
  23937. if (!NProgress.status) return;
  23938. NProgress.trickle();
  23939. work();
  23940. }, Settings.trickleSpeed);
  23941. };
  23942. if (Settings.trickle) work();
  23943. return this;
  23944. };
  23945. /**
  23946. * Hides the progress bar.
  23947. * This is the *sort of* the same as setting the status to 100%, with the
  23948. * difference being `done()` makes some placebo effect of some realistic motion.
  23949. *
  23950. * NProgress.done();
  23951. *
  23952. * If `true` is passed, it will show the progress bar even if its hidden.
  23953. *
  23954. * NProgress.done(true);
  23955. */
  23956. NProgress.done = function(force) {
  23957. if (!force && !NProgress.status) return this;
  23958. return NProgress.inc(0.3 + 0.5 * Math.random()).set(1);
  23959. };
  23960. /**
  23961. * Increments by a random amount.
  23962. */
  23963. NProgress.inc = function(amount) {
  23964. var n = NProgress.status;
  23965. if (!n) {
  23966. return NProgress.start();
  23967. } else {
  23968. if (typeof amount !== 'number') {
  23969. amount = (1 - n) * clamp(Math.random() * n, 0.1, 0.95);
  23970. }
  23971. n = clamp(n + amount, 0, 0.994);
  23972. return NProgress.set(n);
  23973. }
  23974. };
  23975. NProgress.trickle = function() {
  23976. return NProgress.inc(Math.random() * Settings.trickleRate);
  23977. };
  23978. /**
  23979. * Waits for all supplied jQuery promises and
  23980. * increases the progress as the promises resolve.
  23981. *
  23982. * @param $promise jQUery Promise
  23983. */
  23984. (function() {
  23985. var initial = 0, current = 0;
  23986. NProgress.promise = function($promise) {
  23987. if (!$promise || $promise.state() === "resolved") {
  23988. return this;
  23989. }
  23990. if (current === 0) {
  23991. NProgress.start();
  23992. }
  23993. initial++;
  23994. current++;
  23995. $promise.always(function() {
  23996. current--;
  23997. if (current === 0) {
  23998. initial = 0;
  23999. NProgress.done();
  24000. } else {
  24001. NProgress.set((initial - current) / initial);
  24002. }
  24003. });
  24004. return this;
  24005. };
  24006. })();
  24007. /**
  24008. * (Internal) renders the progress bar markup based on the `template`
  24009. * setting.
  24010. */
  24011. NProgress.render = function(fromStart) {
  24012. if (NProgress.isRendered()) return document.getElementById('nprogress');
  24013. addClass(document.documentElement, 'nprogress-busy');
  24014. var progress = document.createElement('div');
  24015. progress.id = 'nprogress';
  24016. progress.innerHTML = Settings.template;
  24017. var bar = progress.querySelector(Settings.barSelector),
  24018. perc = fromStart ? '-100' : toBarPerc(NProgress.status || 0),
  24019. parent = document.querySelector(Settings.parent),
  24020. spinner;
  24021. css(bar, {
  24022. transition: 'all 0 linear',
  24023. transform: 'translate3d(' + perc + '%,0,0)'
  24024. });
  24025. if (!Settings.showSpinner) {
  24026. spinner = progress.querySelector(Settings.spinnerSelector);
  24027. spinner && removeElement(spinner);
  24028. }
  24029. if (parent != document.body) {
  24030. addClass(parent, 'nprogress-custom-parent');
  24031. }
  24032. parent.appendChild(progress);
  24033. return progress;
  24034. };
  24035. /**
  24036. * Removes the element. Opposite of render().
  24037. */
  24038. NProgress.remove = function() {
  24039. removeClass(document.documentElement, 'nprogress-busy');
  24040. removeClass(document.querySelector(Settings.parent), 'nprogress-custom-parent');
  24041. var progress = document.getElementById('nprogress');
  24042. progress && removeElement(progress);
  24043. };
  24044. /**
  24045. * Checks if the progress bar is rendered.
  24046. */
  24047. NProgress.isRendered = function() {
  24048. return !!document.getElementById('nprogress');
  24049. };
  24050. /**
  24051. * Determine which positioning CSS rule to use.
  24052. */
  24053. NProgress.getPositioningCSS = function() {
  24054. // Sniff on document.body.style
  24055. var bodyStyle = document.body.style;
  24056. // Sniff prefixes
  24057. var vendorPrefix = ('WebkitTransform' in bodyStyle) ? 'Webkit' :
  24058. ('MozTransform' in bodyStyle) ? 'Moz' :
  24059. ('msTransform' in bodyStyle) ? 'ms' :
  24060. ('OTransform' in bodyStyle) ? 'O' : '';
  24061. if (vendorPrefix + 'Perspective' in bodyStyle) {
  24062. // Modern browsers with 3D support, e.g. Webkit, IE10
  24063. return 'translate3d';
  24064. } else if (vendorPrefix + 'Transform' in bodyStyle) {
  24065. // Browsers without 3D support, e.g. IE9
  24066. return 'translate';
  24067. } else {
  24068. // Browsers without translate() support, e.g. IE7-8
  24069. return 'margin';
  24070. }
  24071. };
  24072. /**
  24073. * Helpers
  24074. */
  24075. function clamp(n, min, max) {
  24076. if (n < min) return min;
  24077. if (n > max) return max;
  24078. return n;
  24079. }
  24080. /**
  24081. * (Internal) converts a percentage (`0..1`) to a bar translateX
  24082. * percentage (`-100%..0%`).
  24083. */
  24084. function toBarPerc(n) {
  24085. return (-1 + n) * 100;
  24086. }
  24087. /**
  24088. * (Internal) returns the correct CSS for changing the bar's
  24089. * position given an n percentage, and speed and ease from Settings
  24090. */
  24091. function barPositionCSS(n, speed, ease) {
  24092. var barCSS;
  24093. if (Settings.positionUsing === 'translate3d') {
  24094. barCSS = { transform: 'translate3d('+toBarPerc(n)+'%,0,0)' };
  24095. } else if (Settings.positionUsing === 'translate') {
  24096. barCSS = { transform: 'translate('+toBarPerc(n)+'%,0)' };
  24097. } else {
  24098. barCSS = { 'margin-left': toBarPerc(n)+'%' };
  24099. }
  24100. barCSS.transition = 'all '+speed+'ms '+ease;
  24101. return barCSS;
  24102. }
  24103. /**
  24104. * (Internal) Queues a function to be executed.
  24105. */
  24106. var queue = (function() {
  24107. var pending = [];
  24108. function next() {
  24109. var fn = pending.shift();
  24110. if (fn) {
  24111. fn(next);
  24112. }
  24113. }
  24114. return function(fn) {
  24115. pending.push(fn);
  24116. if (pending.length == 1) next();
  24117. };
  24118. })();
  24119. /**
  24120. * (Internal) Applies css properties to an element, similar to the jQuery
  24121. * css method.
  24122. *
  24123. * While this helper does assist with vendor prefixed property names, it
  24124. * does not perform any manipulation of values prior to setting styles.
  24125. */
  24126. var css = (function() {
  24127. var cssPrefixes = [ 'Webkit', 'O', 'Moz', 'ms' ],
  24128. cssProps = {};
  24129. function camelCase(string) {
  24130. return string.replace(/^-ms-/, 'ms-').replace(/-([\da-z])/gi, function(match, letter) {
  24131. return letter.toUpperCase();
  24132. });
  24133. }
  24134. function getVendorProp(name) {
  24135. var style = document.body.style;
  24136. if (name in style) return name;
  24137. var i = cssPrefixes.length,
  24138. capName = name.charAt(0).toUpperCase() + name.slice(1),
  24139. vendorName;
  24140. while (i--) {
  24141. vendorName = cssPrefixes[i] + capName;
  24142. if (vendorName in style) return vendorName;
  24143. }
  24144. return name;
  24145. }
  24146. function getStyleProp(name) {
  24147. name = camelCase(name);
  24148. return cssProps[name] || (cssProps[name] = getVendorProp(name));
  24149. }
  24150. function applyCss(element, prop, value) {
  24151. prop = getStyleProp(prop);
  24152. element.style[prop] = value;
  24153. }
  24154. return function(element, properties) {
  24155. var args = arguments,
  24156. prop,
  24157. value;
  24158. if (args.length == 2) {
  24159. for (prop in properties) {
  24160. value = properties[prop];
  24161. if (value !== undefined && properties.hasOwnProperty(prop)) applyCss(element, prop, value);
  24162. }
  24163. } else {
  24164. applyCss(element, args[1], args[2]);
  24165. }
  24166. }
  24167. })();
  24168. /**
  24169. * (Internal) Determines if an element or space separated list of class names contains a class name.
  24170. */
  24171. function hasClass(element, name) {
  24172. var list = typeof element == 'string' ? element : classList(element);
  24173. return list.indexOf(' ' + name + ' ') >= 0;
  24174. }
  24175. /**
  24176. * (Internal) Adds a class to an element.
  24177. */
  24178. function addClass(element, name) {
  24179. var oldList = classList(element),
  24180. newList = oldList + name;
  24181. if (hasClass(oldList, name)) return;
  24182. // Trim the opening space.
  24183. element.className = newList.substring(1);
  24184. }
  24185. /**
  24186. * (Internal) Removes a class from an element.
  24187. */
  24188. function removeClass(element, name) {
  24189. var oldList = classList(element),
  24190. newList;
  24191. if (!hasClass(element, name)) return;
  24192. // Replace the class name.
  24193. newList = oldList.replace(' ' + name + ' ', ' ');
  24194. // Trim the opening and closing spaces.
  24195. element.className = newList.substring(1, newList.length - 1);
  24196. }
  24197. /**
  24198. * (Internal) Gets a space separated list of the class names on the element.
  24199. * The list is wrapped with a single space on each end to facilitate finding
  24200. * matches within the list.
  24201. */
  24202. function classList(element) {
  24203. return (' ' + (element.className || '') + ' ').replace(/\s+/gi, ' ');
  24204. }
  24205. /**
  24206. * (Internal) Removes an element from the DOM.
  24207. */
  24208. function removeElement(element) {
  24209. element && element.parentNode && element.parentNode.removeChild(element);
  24210. }
  24211. return NProgress;
  24212. });
  24213. /***/ }),
  24214. /***/ "./node_modules/object-inspect/index.js":
  24215. /*!**********************************************!*\
  24216. !*** ./node_modules/object-inspect/index.js ***!
  24217. \**********************************************/
  24218. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  24219. var hasMap = typeof Map === 'function' && Map.prototype;
  24220. var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null;
  24221. var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null;
  24222. var mapForEach = hasMap && Map.prototype.forEach;
  24223. var hasSet = typeof Set === 'function' && Set.prototype;
  24224. var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null;
  24225. var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null;
  24226. var setForEach = hasSet && Set.prototype.forEach;
  24227. var hasWeakMap = typeof WeakMap === 'function' && WeakMap.prototype;
  24228. var weakMapHas = hasWeakMap ? WeakMap.prototype.has : null;
  24229. var hasWeakSet = typeof WeakSet === 'function' && WeakSet.prototype;
  24230. var weakSetHas = hasWeakSet ? WeakSet.prototype.has : null;
  24231. var hasWeakRef = typeof WeakRef === 'function' && WeakRef.prototype;
  24232. var weakRefDeref = hasWeakRef ? WeakRef.prototype.deref : null;
  24233. var booleanValueOf = Boolean.prototype.valueOf;
  24234. var objectToString = Object.prototype.toString;
  24235. var functionToString = Function.prototype.toString;
  24236. var $match = String.prototype.match;
  24237. var $slice = String.prototype.slice;
  24238. var $replace = String.prototype.replace;
  24239. var $toUpperCase = String.prototype.toUpperCase;
  24240. var $toLowerCase = String.prototype.toLowerCase;
  24241. var $test = RegExp.prototype.test;
  24242. var $concat = Array.prototype.concat;
  24243. var $join = Array.prototype.join;
  24244. var $arrSlice = Array.prototype.slice;
  24245. var $floor = Math.floor;
  24246. var bigIntValueOf = typeof BigInt === 'function' ? BigInt.prototype.valueOf : null;
  24247. var gOPS = Object.getOwnPropertySymbols;
  24248. var symToString = typeof Symbol === 'function' && typeof Symbol.iterator === 'symbol' ? Symbol.prototype.toString : null;
  24249. var hasShammedSymbols = typeof Symbol === 'function' && typeof Symbol.iterator === 'object';
  24250. // ie, `has-tostringtag/shams
  24251. var toStringTag = typeof Symbol === 'function' && Symbol.toStringTag && (typeof Symbol.toStringTag === hasShammedSymbols ? 'object' : 'symbol')
  24252. ? Symbol.toStringTag
  24253. : null;
  24254. var isEnumerable = Object.prototype.propertyIsEnumerable;
  24255. var gPO = (typeof Reflect === 'function' ? Reflect.getPrototypeOf : Object.getPrototypeOf) || (
  24256. [].__proto__ === Array.prototype // eslint-disable-line no-proto
  24257. ? function (O) {
  24258. return O.__proto__; // eslint-disable-line no-proto
  24259. }
  24260. : null
  24261. );
  24262. function addNumericSeparator(num, str) {
  24263. if (
  24264. num === Infinity
  24265. || num === -Infinity
  24266. || num !== num
  24267. || (num && num > -1000 && num < 1000)
  24268. || $test.call(/e/, str)
  24269. ) {
  24270. return str;
  24271. }
  24272. var sepRegex = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
  24273. if (typeof num === 'number') {
  24274. var int = num < 0 ? -$floor(-num) : $floor(num); // trunc(num)
  24275. if (int !== num) {
  24276. var intStr = String(int);
  24277. var dec = $slice.call(str, intStr.length + 1);
  24278. return $replace.call(intStr, sepRegex, '$&_') + '.' + $replace.call($replace.call(dec, /([0-9]{3})/g, '$&_'), /_$/, '');
  24279. }
  24280. }
  24281. return $replace.call(str, sepRegex, '$&_');
  24282. }
  24283. var inspectCustom = (__webpack_require__(/*! ./util.inspect */ "?2128").custom);
  24284. var inspectSymbol = inspectCustom && isSymbol(inspectCustom) ? inspectCustom : null;
  24285. module.exports = function inspect_(obj, options, depth, seen) {
  24286. var opts = options || {};
  24287. if (has(opts, 'quoteStyle') && (opts.quoteStyle !== 'single' && opts.quoteStyle !== 'double')) {
  24288. throw new TypeError('option "quoteStyle" must be "single" or "double"');
  24289. }
  24290. if (
  24291. has(opts, 'maxStringLength') && (typeof opts.maxStringLength === 'number'
  24292. ? opts.maxStringLength < 0 && opts.maxStringLength !== Infinity
  24293. : opts.maxStringLength !== null
  24294. )
  24295. ) {
  24296. throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');
  24297. }
  24298. var customInspect = has(opts, 'customInspect') ? opts.customInspect : true;
  24299. if (typeof customInspect !== 'boolean' && customInspect !== 'symbol') {
  24300. throw new TypeError('option "customInspect", if provided, must be `true`, `false`, or `\'symbol\'`');
  24301. }
  24302. if (
  24303. has(opts, 'indent')
  24304. && opts.indent !== null
  24305. && opts.indent !== '\t'
  24306. && !(parseInt(opts.indent, 10) === opts.indent && opts.indent > 0)
  24307. ) {
  24308. throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');
  24309. }
  24310. if (has(opts, 'numericSeparator') && typeof opts.numericSeparator !== 'boolean') {
  24311. throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');
  24312. }
  24313. var numericSeparator = opts.numericSeparator;
  24314. if (typeof obj === 'undefined') {
  24315. return 'undefined';
  24316. }
  24317. if (obj === null) {
  24318. return 'null';
  24319. }
  24320. if (typeof obj === 'boolean') {
  24321. return obj ? 'true' : 'false';
  24322. }
  24323. if (typeof obj === 'string') {
  24324. return inspectString(obj, opts);
  24325. }
  24326. if (typeof obj === 'number') {
  24327. if (obj === 0) {
  24328. return Infinity / obj > 0 ? '0' : '-0';
  24329. }
  24330. var str = String(obj);
  24331. return numericSeparator ? addNumericSeparator(obj, str) : str;
  24332. }
  24333. if (typeof obj === 'bigint') {
  24334. var bigIntStr = String(obj) + 'n';
  24335. return numericSeparator ? addNumericSeparator(obj, bigIntStr) : bigIntStr;
  24336. }
  24337. var maxDepth = typeof opts.depth === 'undefined' ? 5 : opts.depth;
  24338. if (typeof depth === 'undefined') { depth = 0; }
  24339. if (depth >= maxDepth && maxDepth > 0 && typeof obj === 'object') {
  24340. return isArray(obj) ? '[Array]' : '[Object]';
  24341. }
  24342. var indent = getIndent(opts, depth);
  24343. if (typeof seen === 'undefined') {
  24344. seen = [];
  24345. } else if (indexOf(seen, obj) >= 0) {
  24346. return '[Circular]';
  24347. }
  24348. function inspect(value, from, noIndent) {
  24349. if (from) {
  24350. seen = $arrSlice.call(seen);
  24351. seen.push(from);
  24352. }
  24353. if (noIndent) {
  24354. var newOpts = {
  24355. depth: opts.depth
  24356. };
  24357. if (has(opts, 'quoteStyle')) {
  24358. newOpts.quoteStyle = opts.quoteStyle;
  24359. }
  24360. return inspect_(value, newOpts, depth + 1, seen);
  24361. }
  24362. return inspect_(value, opts, depth + 1, seen);
  24363. }
  24364. if (typeof obj === 'function') {
  24365. var name = nameOf(obj);
  24366. var keys = arrObjKeys(obj, inspect);
  24367. return '[Function' + (name ? ': ' + name : ' (anonymous)') + ']' + (keys.length > 0 ? ' { ' + $join.call(keys, ', ') + ' }' : '');
  24368. }
  24369. if (isSymbol(obj)) {
  24370. var symString = hasShammedSymbols ? $replace.call(String(obj), /^(Symbol\(.*\))_[^)]*$/, '$1') : symToString.call(obj);
  24371. return typeof obj === 'object' && !hasShammedSymbols ? markBoxed(symString) : symString;
  24372. }
  24373. if (isElement(obj)) {
  24374. var s = '<' + $toLowerCase.call(String(obj.nodeName));
  24375. var attrs = obj.attributes || [];
  24376. for (var i = 0; i < attrs.length; i++) {
  24377. s += ' ' + attrs[i].name + '=' + wrapQuotes(quote(attrs[i].value), 'double', opts);
  24378. }
  24379. s += '>';
  24380. if (obj.childNodes && obj.childNodes.length) { s += '...'; }
  24381. s += '</' + $toLowerCase.call(String(obj.nodeName)) + '>';
  24382. return s;
  24383. }
  24384. if (isArray(obj)) {
  24385. if (obj.length === 0) { return '[]'; }
  24386. var xs = arrObjKeys(obj, inspect);
  24387. if (indent && !singleLineValues(xs)) {
  24388. return '[' + indentedJoin(xs, indent) + ']';
  24389. }
  24390. return '[ ' + $join.call(xs, ', ') + ' ]';
  24391. }
  24392. if (isError(obj)) {
  24393. var parts = arrObjKeys(obj, inspect);
  24394. if ('cause' in obj && !isEnumerable.call(obj, 'cause')) {
  24395. return '{ [' + String(obj) + '] ' + $join.call($concat.call('[cause]: ' + inspect(obj.cause), parts), ', ') + ' }';
  24396. }
  24397. if (parts.length === 0) { return '[' + String(obj) + ']'; }
  24398. return '{ [' + String(obj) + '] ' + $join.call(parts, ', ') + ' }';
  24399. }
  24400. if (typeof obj === 'object' && customInspect) {
  24401. if (inspectSymbol && typeof obj[inspectSymbol] === 'function') {
  24402. return obj[inspectSymbol]();
  24403. } else if (customInspect !== 'symbol' && typeof obj.inspect === 'function') {
  24404. return obj.inspect();
  24405. }
  24406. }
  24407. if (isMap(obj)) {
  24408. var mapParts = [];
  24409. mapForEach.call(obj, function (value, key) {
  24410. mapParts.push(inspect(key, obj, true) + ' => ' + inspect(value, obj));
  24411. });
  24412. return collectionOf('Map', mapSize.call(obj), mapParts, indent);
  24413. }
  24414. if (isSet(obj)) {
  24415. var setParts = [];
  24416. setForEach.call(obj, function (value) {
  24417. setParts.push(inspect(value, obj));
  24418. });
  24419. return collectionOf('Set', setSize.call(obj), setParts, indent);
  24420. }
  24421. if (isWeakMap(obj)) {
  24422. return weakCollectionOf('WeakMap');
  24423. }
  24424. if (isWeakSet(obj)) {
  24425. return weakCollectionOf('WeakSet');
  24426. }
  24427. if (isWeakRef(obj)) {
  24428. return weakCollectionOf('WeakRef');
  24429. }
  24430. if (isNumber(obj)) {
  24431. return markBoxed(inspect(Number(obj)));
  24432. }
  24433. if (isBigInt(obj)) {
  24434. return markBoxed(inspect(bigIntValueOf.call(obj)));
  24435. }
  24436. if (isBoolean(obj)) {
  24437. return markBoxed(booleanValueOf.call(obj));
  24438. }
  24439. if (isString(obj)) {
  24440. return markBoxed(inspect(String(obj)));
  24441. }
  24442. if (!isDate(obj) && !isRegExp(obj)) {
  24443. var ys = arrObjKeys(obj, inspect);
  24444. var isPlainObject = gPO ? gPO(obj) === Object.prototype : obj instanceof Object || obj.constructor === Object;
  24445. var protoTag = obj instanceof Object ? '' : 'null prototype';
  24446. var stringTag = !isPlainObject && toStringTag && Object(obj) === obj && toStringTag in obj ? $slice.call(toStr(obj), 8, -1) : protoTag ? 'Object' : '';
  24447. var constructorTag = isPlainObject || typeof obj.constructor !== 'function' ? '' : obj.constructor.name ? obj.constructor.name + ' ' : '';
  24448. var tag = constructorTag + (stringTag || protoTag ? '[' + $join.call($concat.call([], stringTag || [], protoTag || []), ': ') + '] ' : '');
  24449. if (ys.length === 0) { return tag + '{}'; }
  24450. if (indent) {
  24451. return tag + '{' + indentedJoin(ys, indent) + '}';
  24452. }
  24453. return tag + '{ ' + $join.call(ys, ', ') + ' }';
  24454. }
  24455. return String(obj);
  24456. };
  24457. function wrapQuotes(s, defaultStyle, opts) {
  24458. var quoteChar = (opts.quoteStyle || defaultStyle) === 'double' ? '"' : "'";
  24459. return quoteChar + s + quoteChar;
  24460. }
  24461. function quote(s) {
  24462. return $replace.call(String(s), /"/g, '&quot;');
  24463. }
  24464. function isArray(obj) { return toStr(obj) === '[object Array]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24465. function isDate(obj) { return toStr(obj) === '[object Date]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24466. function isRegExp(obj) { return toStr(obj) === '[object RegExp]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24467. function isError(obj) { return toStr(obj) === '[object Error]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24468. function isString(obj) { return toStr(obj) === '[object String]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24469. function isNumber(obj) { return toStr(obj) === '[object Number]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24470. function isBoolean(obj) { return toStr(obj) === '[object Boolean]' && (!toStringTag || !(typeof obj === 'object' && toStringTag in obj)); }
  24471. // Symbol and BigInt do have Symbol.toStringTag by spec, so that can't be used to eliminate false positives
  24472. function isSymbol(obj) {
  24473. if (hasShammedSymbols) {
  24474. return obj && typeof obj === 'object' && obj instanceof Symbol;
  24475. }
  24476. if (typeof obj === 'symbol') {
  24477. return true;
  24478. }
  24479. if (!obj || typeof obj !== 'object' || !symToString) {
  24480. return false;
  24481. }
  24482. try {
  24483. symToString.call(obj);
  24484. return true;
  24485. } catch (e) {}
  24486. return false;
  24487. }
  24488. function isBigInt(obj) {
  24489. if (!obj || typeof obj !== 'object' || !bigIntValueOf) {
  24490. return false;
  24491. }
  24492. try {
  24493. bigIntValueOf.call(obj);
  24494. return true;
  24495. } catch (e) {}
  24496. return false;
  24497. }
  24498. var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; };
  24499. function has(obj, key) {
  24500. return hasOwn.call(obj, key);
  24501. }
  24502. function toStr(obj) {
  24503. return objectToString.call(obj);
  24504. }
  24505. function nameOf(f) {
  24506. if (f.name) { return f.name; }
  24507. var m = $match.call(functionToString.call(f), /^function\s*([\w$]+)/);
  24508. if (m) { return m[1]; }
  24509. return null;
  24510. }
  24511. function indexOf(xs, x) {
  24512. if (xs.indexOf) { return xs.indexOf(x); }
  24513. for (var i = 0, l = xs.length; i < l; i++) {
  24514. if (xs[i] === x) { return i; }
  24515. }
  24516. return -1;
  24517. }
  24518. function isMap(x) {
  24519. if (!mapSize || !x || typeof x !== 'object') {
  24520. return false;
  24521. }
  24522. try {
  24523. mapSize.call(x);
  24524. try {
  24525. setSize.call(x);
  24526. } catch (s) {
  24527. return true;
  24528. }
  24529. return x instanceof Map; // core-js workaround, pre-v2.5.0
  24530. } catch (e) {}
  24531. return false;
  24532. }
  24533. function isWeakMap(x) {
  24534. if (!weakMapHas || !x || typeof x !== 'object') {
  24535. return false;
  24536. }
  24537. try {
  24538. weakMapHas.call(x, weakMapHas);
  24539. try {
  24540. weakSetHas.call(x, weakSetHas);
  24541. } catch (s) {
  24542. return true;
  24543. }
  24544. return x instanceof WeakMap; // core-js workaround, pre-v2.5.0
  24545. } catch (e) {}
  24546. return false;
  24547. }
  24548. function isWeakRef(x) {
  24549. if (!weakRefDeref || !x || typeof x !== 'object') {
  24550. return false;
  24551. }
  24552. try {
  24553. weakRefDeref.call(x);
  24554. return true;
  24555. } catch (e) {}
  24556. return false;
  24557. }
  24558. function isSet(x) {
  24559. if (!setSize || !x || typeof x !== 'object') {
  24560. return false;
  24561. }
  24562. try {
  24563. setSize.call(x);
  24564. try {
  24565. mapSize.call(x);
  24566. } catch (m) {
  24567. return true;
  24568. }
  24569. return x instanceof Set; // core-js workaround, pre-v2.5.0
  24570. } catch (e) {}
  24571. return false;
  24572. }
  24573. function isWeakSet(x) {
  24574. if (!weakSetHas || !x || typeof x !== 'object') {
  24575. return false;
  24576. }
  24577. try {
  24578. weakSetHas.call(x, weakSetHas);
  24579. try {
  24580. weakMapHas.call(x, weakMapHas);
  24581. } catch (s) {
  24582. return true;
  24583. }
  24584. return x instanceof WeakSet; // core-js workaround, pre-v2.5.0
  24585. } catch (e) {}
  24586. return false;
  24587. }
  24588. function isElement(x) {
  24589. if (!x || typeof x !== 'object') { return false; }
  24590. if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) {
  24591. return true;
  24592. }
  24593. return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function';
  24594. }
  24595. function inspectString(str, opts) {
  24596. if (str.length > opts.maxStringLength) {
  24597. var remaining = str.length - opts.maxStringLength;
  24598. var trailer = '... ' + remaining + ' more character' + (remaining > 1 ? 's' : '');
  24599. return inspectString($slice.call(str, 0, opts.maxStringLength), opts) + trailer;
  24600. }
  24601. // eslint-disable-next-line no-control-regex
  24602. var s = $replace.call($replace.call(str, /(['\\])/g, '\\$1'), /[\x00-\x1f]/g, lowbyte);
  24603. return wrapQuotes(s, 'single', opts);
  24604. }
  24605. function lowbyte(c) {
  24606. var n = c.charCodeAt(0);
  24607. var x = {
  24608. 8: 'b',
  24609. 9: 't',
  24610. 10: 'n',
  24611. 12: 'f',
  24612. 13: 'r'
  24613. }[n];
  24614. if (x) { return '\\' + x; }
  24615. return '\\x' + (n < 0x10 ? '0' : '') + $toUpperCase.call(n.toString(16));
  24616. }
  24617. function markBoxed(str) {
  24618. return 'Object(' + str + ')';
  24619. }
  24620. function weakCollectionOf(type) {
  24621. return type + ' { ? }';
  24622. }
  24623. function collectionOf(type, size, entries, indent) {
  24624. var joinedEntries = indent ? indentedJoin(entries, indent) : $join.call(entries, ', ');
  24625. return type + ' (' + size + ') {' + joinedEntries + '}';
  24626. }
  24627. function singleLineValues(xs) {
  24628. for (var i = 0; i < xs.length; i++) {
  24629. if (indexOf(xs[i], '\n') >= 0) {
  24630. return false;
  24631. }
  24632. }
  24633. return true;
  24634. }
  24635. function getIndent(opts, depth) {
  24636. var baseIndent;
  24637. if (opts.indent === '\t') {
  24638. baseIndent = '\t';
  24639. } else if (typeof opts.indent === 'number' && opts.indent > 0) {
  24640. baseIndent = $join.call(Array(opts.indent + 1), ' ');
  24641. } else {
  24642. return null;
  24643. }
  24644. return {
  24645. base: baseIndent,
  24646. prev: $join.call(Array(depth + 1), baseIndent)
  24647. };
  24648. }
  24649. function indentedJoin(xs, indent) {
  24650. if (xs.length === 0) { return ''; }
  24651. var lineJoiner = '\n' + indent.prev + indent.base;
  24652. return lineJoiner + $join.call(xs, ',' + lineJoiner) + '\n' + indent.prev;
  24653. }
  24654. function arrObjKeys(obj, inspect) {
  24655. var isArr = isArray(obj);
  24656. var xs = [];
  24657. if (isArr) {
  24658. xs.length = obj.length;
  24659. for (var i = 0; i < obj.length; i++) {
  24660. xs[i] = has(obj, i) ? inspect(obj[i], obj) : '';
  24661. }
  24662. }
  24663. var syms = typeof gOPS === 'function' ? gOPS(obj) : [];
  24664. var symMap;
  24665. if (hasShammedSymbols) {
  24666. symMap = {};
  24667. for (var k = 0; k < syms.length; k++) {
  24668. symMap['$' + syms[k]] = syms[k];
  24669. }
  24670. }
  24671. for (var key in obj) { // eslint-disable-line no-restricted-syntax
  24672. if (!has(obj, key)) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
  24673. if (isArr && String(Number(key)) === key && key < obj.length) { continue; } // eslint-disable-line no-restricted-syntax, no-continue
  24674. if (hasShammedSymbols && symMap['$' + key] instanceof Symbol) {
  24675. // this is to prevent shammed Symbols, which are stored as strings, from being included in the string key section
  24676. continue; // eslint-disable-line no-restricted-syntax, no-continue
  24677. } else if ($test.call(/[^\w$]/, key)) {
  24678. xs.push(inspect(key, obj) + ': ' + inspect(obj[key], obj));
  24679. } else {
  24680. xs.push(key + ': ' + inspect(obj[key], obj));
  24681. }
  24682. }
  24683. if (typeof gOPS === 'function') {
  24684. for (var j = 0; j < syms.length; j++) {
  24685. if (isEnumerable.call(obj, syms[j])) {
  24686. xs.push('[' + inspect(syms[j]) + ']: ' + inspect(obj[syms[j]], obj));
  24687. }
  24688. }
  24689. }
  24690. return xs;
  24691. }
  24692. /***/ }),
  24693. /***/ "./node_modules/primevue/api/api.esm.js":
  24694. /*!**********************************************!*\
  24695. !*** ./node_modules/primevue/api/api.esm.js ***!
  24696. \**********************************************/
  24697. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  24698. "use strict";
  24699. __webpack_require__.r(__webpack_exports__);
  24700. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  24701. /* harmony export */ "FilterMatchMode": () => (/* binding */ FilterMatchMode),
  24702. /* harmony export */ "FilterOperator": () => (/* binding */ FilterOperator),
  24703. /* harmony export */ "FilterService": () => (/* binding */ FilterService),
  24704. /* harmony export */ "PrimeIcons": () => (/* binding */ PrimeIcons),
  24705. /* harmony export */ "ToastSeverity": () => (/* binding */ ToastSeverities)
  24706. /* harmony export */ });
  24707. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  24708. const FilterMatchMode = {
  24709. STARTS_WITH : 'startsWith',
  24710. CONTAINS : 'contains',
  24711. NOT_CONTAINS : 'notContains',
  24712. ENDS_WITH : 'endsWith',
  24713. EQUALS : 'equals',
  24714. NOT_EQUALS : 'notEquals',
  24715. IN : 'in',
  24716. LESS_THAN : 'lt',
  24717. LESS_THAN_OR_EQUAL_TO : 'lte',
  24718. GREATER_THAN : 'gt',
  24719. GREATER_THAN_OR_EQUAL_TO : 'gte',
  24720. BETWEEN : 'between',
  24721. DATE_IS : 'dateIs',
  24722. DATE_IS_NOT : 'dateIsNot',
  24723. DATE_BEFORE : 'dateBefore',
  24724. DATE_AFTER : 'dateAfter'
  24725. };
  24726. const FilterOperator = {
  24727. AND: 'and',
  24728. OR: 'or'
  24729. };
  24730. const FilterService = {
  24731. filter(value, fields, filterValue, filterMatchMode, filterLocale) {
  24732. let filteredItems = [];
  24733. if (value) {
  24734. for (let item of value) {
  24735. for (let field of fields) {
  24736. let fieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(item, field);
  24737. if (this.filters[filterMatchMode](fieldValue, filterValue, filterLocale)) {
  24738. filteredItems.push(item);
  24739. break;
  24740. }
  24741. }
  24742. }
  24743. }
  24744. return filteredItems;
  24745. },
  24746. filters: {
  24747. startsWith(value, filter, filterLocale) {
  24748. if (filter === undefined || filter === null || filter.trim() === '') {
  24749. return true;
  24750. }
  24751. if (value === undefined || value === null) {
  24752. return false;
  24753. }
  24754. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24755. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24756. return stringValue.slice(0, filterValue.length) === filterValue;
  24757. },
  24758. contains(value, filter, filterLocale) {
  24759. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24760. return true;
  24761. }
  24762. if (value === undefined || value === null) {
  24763. return false;
  24764. }
  24765. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24766. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24767. return stringValue.indexOf(filterValue) !== -1;
  24768. },
  24769. notContains(value, filter, filterLocale) {
  24770. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24771. return true;
  24772. }
  24773. if (value === undefined || value === null) {
  24774. return false;
  24775. }
  24776. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24777. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24778. return stringValue.indexOf(filterValue) === -1;
  24779. },
  24780. endsWith(value, filter, filterLocale) {
  24781. if (filter === undefined || filter === null || filter.trim() === '') {
  24782. return true;
  24783. }
  24784. if (value === undefined || value === null) {
  24785. return false;
  24786. }
  24787. let filterValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24788. let stringValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale);
  24789. return stringValue.indexOf(filterValue, stringValue.length - filterValue.length) !== -1;
  24790. },
  24791. equals(value, filter, filterLocale) {
  24792. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24793. return true;
  24794. }
  24795. if (value === undefined || value === null) {
  24796. return false;
  24797. }
  24798. if (value.getTime && filter.getTime)
  24799. return value.getTime() === filter.getTime();
  24800. else
  24801. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) == primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24802. },
  24803. notEquals(value, filter, filterLocale) {
  24804. if (filter === undefined || filter === null || (typeof filter === 'string' && filter.trim() === '')) {
  24805. return false;
  24806. }
  24807. if (value === undefined || value === null) {
  24808. return true;
  24809. }
  24810. if (value.getTime && filter.getTime)
  24811. return value.getTime() !== filter.getTime();
  24812. else
  24813. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(value.toString()).toLocaleLowerCase(filterLocale) != primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.removeAccents(filter.toString()).toLocaleLowerCase(filterLocale);
  24814. },
  24815. in(value, filter) {
  24816. if (filter === undefined || filter === null || filter.length === 0) {
  24817. return true;
  24818. }
  24819. for (let i = 0; i < filter.length; i++) {
  24820. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(value, filter[i])) {
  24821. return true;
  24822. }
  24823. }
  24824. return false;
  24825. },
  24826. between(value, filter) {
  24827. if (filter == null || filter[0] == null || filter[1] == null) {
  24828. return true;
  24829. }
  24830. if (value === undefined || value === null) {
  24831. return false;
  24832. }
  24833. if (value.getTime)
  24834. return filter[0].getTime() <= value.getTime() && value.getTime() <= filter[1].getTime();
  24835. else
  24836. return filter[0] <= value && value <= filter[1];
  24837. },
  24838. lt(value, filter) {
  24839. if (filter === undefined || filter === null) {
  24840. return true;
  24841. }
  24842. if (value === undefined || value === null) {
  24843. return false;
  24844. }
  24845. if (value.getTime && filter.getTime)
  24846. return value.getTime() < filter.getTime();
  24847. else
  24848. return value < filter;
  24849. },
  24850. lte(value, filter) {
  24851. if (filter === undefined || filter === null) {
  24852. return true;
  24853. }
  24854. if (value === undefined || value === null) {
  24855. return false;
  24856. }
  24857. if (value.getTime && filter.getTime)
  24858. return value.getTime() <= filter.getTime();
  24859. else
  24860. return value <= filter;
  24861. },
  24862. gt(value, filter) {
  24863. if (filter === undefined || filter === null) {
  24864. return true;
  24865. }
  24866. if (value === undefined || value === null) {
  24867. return false;
  24868. }
  24869. if (value.getTime && filter.getTime)
  24870. return value.getTime() > filter.getTime();
  24871. else
  24872. return value > filter;
  24873. },
  24874. gte(value, filter) {
  24875. if (filter === undefined || filter === null) {
  24876. return true;
  24877. }
  24878. if (value === undefined || value === null) {
  24879. return false;
  24880. }
  24881. if (value.getTime && filter.getTime)
  24882. return value.getTime() >= filter.getTime();
  24883. else
  24884. return value >= filter;
  24885. },
  24886. dateIs(value, filter) {
  24887. if (filter === undefined || filter === null) {
  24888. return true;
  24889. }
  24890. if (value === undefined || value === null) {
  24891. return false;
  24892. }
  24893. return value.toDateString() === filter.toDateString();
  24894. },
  24895. dateIsNot(value, filter) {
  24896. if (filter === undefined || filter === null) {
  24897. return true;
  24898. }
  24899. if (value === undefined || value === null) {
  24900. return false;
  24901. }
  24902. return value.toDateString() !== filter.toDateString();
  24903. },
  24904. dateBefore(value, filter) {
  24905. if (filter === undefined || filter === null) {
  24906. return true;
  24907. }
  24908. if (value === undefined || value === null) {
  24909. return false;
  24910. }
  24911. return value.getTime() < filter.getTime();
  24912. },
  24913. dateAfter(value, filter) {
  24914. if (filter === undefined || filter === null) {
  24915. return true;
  24916. }
  24917. if (value === undefined || value === null) {
  24918. return false;
  24919. }
  24920. return value.getTime() > filter.getTime();
  24921. }
  24922. },
  24923. register(rule, fn) {
  24924. this.filters[rule] = fn;
  24925. }
  24926. };
  24927. const PrimeIcons = {
  24928. ALIGN_CENTER:'pi pi-align-center',
  24929. ALIGN_JUSTIFY:'pi pi-align-justify',
  24930. ALIGN_LEFT:'pi pi-align-left',
  24931. ALIGN_RIGHT:'pi pi-align-right',
  24932. AMAZON:'pi pi-amazon',
  24933. ANDROID:'pi pi-android',
  24934. ANGLE_DOUBLE_DOWN:'pi pi-angle-double-down',
  24935. ANGLE_DOUBLE_LEFT:'pi pi-angle-double-left',
  24936. ANGLE_DOUBLE_RIGHT:'pi pi-angle-double-right',
  24937. ANGLE_DOUBLE_UP:'pi pi-angle-double-up',
  24938. ANGLE_DOWN:'pi pi-angle-down',
  24939. ANGLE_LEFT:'pi pi-angle-left',
  24940. ANGLE_RIGHT:'pi pi-angle-right',
  24941. ANGLE_UP:'pi pi-angle-up',
  24942. APPLE:'pi pi-apple',
  24943. ARROW_CIRCLE_DOWN:'pi pi-arrow-circle-down',
  24944. ARROW_CIRCLE_LEFT:'pi pi-arrow-circle-left',
  24945. ARROW_CIRCLE_RIGHT:'pi pi-arrow-circle-right',
  24946. ARROW_CIRCLE_UP:'pi pi-arrow-circle-up',
  24947. ARROW_DOWN:'pi pi-arrow-down',
  24948. ARROW_DOWN_LEFT:'pi pi-arrow-down-left',
  24949. ARROW_DOWN_RIGHT:'pi pi-arrow-down-right',
  24950. ARROW_LEFT:'pi pi-arrow-left',
  24951. ARROW_RIGHT:'pi pi-arrow-right',
  24952. ARROW_UP:'pi pi-arrow-up',
  24953. ARROW_UP_LEFT:'pi pi-arrow-up-left',
  24954. ARROW_UP_RIGHT:'pi pi-arrow-up-right',
  24955. ARROW_H:'pi pi-arrow-h',
  24956. ARROW_V:'pi pi-arrow-v',
  24957. AT:'pi pi-at',
  24958. BACKWARD:'pi pi-backward',
  24959. BAN:'pi pi-ban',
  24960. BARS:'pi pi-bars',
  24961. BELL:'pi pi-bell',
  24962. BOLT:'pi pi-bolt',
  24963. BOOK:'pi pi-book',
  24964. BOOKMARK:'pi pi-bookmark',
  24965. BOOKMARK_FILL:'pi pi-bookmark-fill',
  24966. BOX:'pi pi-box',
  24967. BRIEFCASE:'pi pi-briefcase',
  24968. BUILDING:'pi pi-building',
  24969. CALENDAR:'pi pi-calendar',
  24970. CALENDAR_MINUS:'pi pi-calendar-minus',
  24971. CALENDAR_PLUS:'pi pi-calendar-plus',
  24972. CALENDAR_TIMES:'pi pi-calendar-times',
  24973. CAMERA:'pi pi-camera',
  24974. CAR:'pi pi-car',
  24975. CARET_DOWN:'pi pi-caret-down',
  24976. CARET_LEFT:'pi pi-caret-left',
  24977. CARET_RIGHT:'pi pi-caret-right',
  24978. CARET_UP:'pi pi-caret-up',
  24979. CHART_BAR:'pi pi-chart-bar',
  24980. CHART_LINE:'pi pi-chart-line',
  24981. CHART_PIE:'pi pi-chart-pie',
  24982. CHECK:'pi pi-check',
  24983. CHECK_CIRCLE:'pi pi-check-circle',
  24984. CHECK_SQUARE:'pi pi-check-square',
  24985. CHEVRON_CIRCLE_DOWN:'pi pi-chevron-circle-down',
  24986. CHEVRON_CIRCLE_LEFT:'pi pi-chevron-circle-left',
  24987. CHEVRON_CIRCLE_RIGHT:'pi pi-chevron-circle-right',
  24988. CHEVRON_CIRCLE_UP:'pi pi-chevron-circle-up',
  24989. CHEVRON_DOWN:'pi pi-chevron-down',
  24990. CHEVRON_LEFT:'pi pi-chevron-left',
  24991. CHEVRON_RIGHT:'pi pi-chevron-right',
  24992. CHEVRON_UP:'pi pi-chevron-up',
  24993. CIRCLE:'pi pi-circle',
  24994. CIRCLE_FILL:'pi pi-circle-fill',
  24995. CLOCK:'pi pi-clock',
  24996. CLONE:'pi pi-clone',
  24997. CLOUD:'pi pi-cloud',
  24998. CLOUD_DOWNLOAD:'pi pi-cloud-download',
  24999. CLOUD_UPLOAD:'pi pi-cloud-upload',
  25000. CODE:'pi pi-code',
  25001. COG:'pi pi-cog',
  25002. COMMENT:'pi pi-comment',
  25003. COMMENTS:'pi pi-comments',
  25004. COMPASS:'pi pi-compass',
  25005. COPY:'pi pi-copy',
  25006. CREDIT_CARD:'pi pi-credit-card',
  25007. DATABASE:'pi pi-database',
  25008. DESKTOP:'pi pi-desktop',
  25009. DIRECTIONS:'pi pi-directions',
  25010. DIRECTIONS_ALT:'pi pi-directions-alt',
  25011. DISCORD:'pi pi-discord',
  25012. DOLLAR:'pi pi-dollar',
  25013. DOWNLOAD:'pi pi-download',
  25014. EJECT:'pi pi-eject',
  25015. ELLIPSIS_H:'pi pi-ellipsis-h',
  25016. ELLIPSIS_V:'pi pi-ellipsis-v',
  25017. ENVELOPE:'pi pi-envelope',
  25018. EURO:'pi pi-euro',
  25019. EXCLAMATION_CIRCLE:'pi pi-exclamation-circle',
  25020. EXCLAMATION_TRIANGLE :'pi pi-exclamation-triangle',
  25021. EXTERNAL_LINK:'pi pi-external-link',
  25022. EYE:'pi pi-eye',
  25023. EYE_SLASH:'pi pi-eye-slash',
  25024. FACEBOOK:'pi pi-facebook',
  25025. FAST_BACKWARD:'pi pi-fast-backward',
  25026. FAST_FORWARD:'pi pi-fast-forward',
  25027. FILE:'pi pi-file',
  25028. FILE_EXCEL:'pi pi-file-excel',
  25029. FILE_PDF:'pi pi-file-pdf',
  25030. FILTER:'pi pi-filter',
  25031. FILTER_FILL:'pi pi-filter-fill',
  25032. FILTER_SLASH:'pi pi-filter-slash',
  25033. FLAG:'pi pi-flag',
  25034. FLAG_FILL:'pi pi-flag-fill',
  25035. FOLDER:'pi pi-folder',
  25036. FOLDER_OPEN:'pi pi-folder-open',
  25037. FORWARD:'pi pi-forward',
  25038. GITHUB:'pi pi-github',
  25039. GLOBE:'pi pi-globe',
  25040. GOOGLE:'pi pi-google',
  25041. HASHTAG:'pi pi-hashtag',
  25042. HEART:'pi pi-heart',
  25043. HEART_FILL:'pi pi-heart-fill',
  25044. HISTORY:'pi pi-history',
  25045. HOME:'pi pi-home',
  25046. ID_CARD:'pi pi-id-card',
  25047. IMAGE:'pi pi-image',
  25048. IMAGES:'pi pi-images',
  25049. INBOX:'pi pi-inbox',
  25050. INFO:'pi pi-info',
  25051. INFO_CIRCLE:'pi pi-info-circle',
  25052. INSTAGRAM:'pi pi-instagram',
  25053. KEY:'pi pi-key',
  25054. LINK:'pi pi-link',
  25055. LINKEDIN:'pi pi-linkedin',
  25056. LIST:'pi pi-list',
  25057. LOCK:'pi pi-lock',
  25058. LOCK_OPEN:'pi pi-lock-open',
  25059. MAP:'pi pi-map',
  25060. MAP_MARKER:'pi pi-map-marker',
  25061. MICROSOFT:'pi pi-microsoft',
  25062. MINUS:'pi pi-minus',
  25063. MINUS_CIRCLE:'pi pi-minus-circle',
  25064. MOBILE:'pi pi-mobile',
  25065. MONEY_BILL:'pi pi-money-bill',
  25066. MOON:'pi pi-moon',
  25067. PALETTE:'pi pi-palette',
  25068. PAPERCLIP:'pi pi-paperclip',
  25069. PAUSE:'pi pi-pause',
  25070. PAYPAL:'pi pi-paypal',
  25071. PENCIL:'pi pi-pencil',
  25072. PERCENTAGE:'pi pi-percentage',
  25073. PHONE:'pi pi-phone',
  25074. PLAY:'pi pi-play',
  25075. PLUS:'pi pi-plus',
  25076. PLUS_CIRCLE:'pi pi-plus-circle',
  25077. POUND:'pi pi-pound',
  25078. POWER_OFF:'pi pi-power-off',
  25079. PRIME:'pi pi-prime',
  25080. PRINT:'pi pi-print',
  25081. QRCODE:'pi pi-qrcode',
  25082. QUESTION:'pi pi-question',
  25083. QUESTION_CIRCLE:'pi pi-question-circle',
  25084. REDDIT:'pi pi-reddit',
  25085. REFRESH:'pi pi-refresh',
  25086. REPLAY:'pi pi-replay',
  25087. REPLY:'pi pi-reply',
  25088. SAVE:'pi pi-save',
  25089. SEARCH:'pi pi-search',
  25090. SEARCH_MINUS:'pi pi-search-minus',
  25091. SEARCH_PLUS:'pi pi-search-plus',
  25092. SEND:'pi pi-send',
  25093. SERVER:'pi pi-server',
  25094. SHARE_ALT:'pi pi-share-alt',
  25095. SHIELD:'pi pi-shield',
  25096. SHOPPING_BAG:'pi pi-shopping-bag',
  25097. SHOPPING_CART:'pi pi-shopping-cart',
  25098. SIGN_IN:'pi pi-sign-in',
  25099. SIGN_OUT:'pi pi-sign-out',
  25100. SITEMAP:'pi pi-sitemap',
  25101. SLACK:'pi pi-slack',
  25102. SLIDERS_H:'pi pi-sliders-h',
  25103. SLIDERS_V:'pi pi-sliders-v',
  25104. SORT:'pi pi-sort',
  25105. SORT_ALPHA_DOWN:'pi pi-sort-alpha-down',
  25106. SORT_ALPHA_ALT_DOWN:'pi pi-sort-alpha-alt-down',
  25107. SORT_ALPHA_UP:'pi pi-sort-alpha-up',
  25108. SORT_ALPHA_ALT_UP:'pi pi-sort-alpha-alt-up',
  25109. SORT_ALT:'pi pi-sort-alt',
  25110. SORT_ALT_SLASH:'pi pi-sort-slash',
  25111. SORT_AMOUNT_DOWN:'pi pi-sort-amount-down',
  25112. SORT_AMOUNT_DOWN_ALT:'pi pi-sort-amount-down-alt',
  25113. SORT_AMOUNT_UP:'pi pi-sort-amount-up',
  25114. SORT_AMOUNT_UP_ALT:'pi pi-sort-amount-up-alt',
  25115. SORT_DOWN:'pi pi-sort-down',
  25116. SORT_NUMERIC_DOWN:'pi pi-sort-numeric-down',
  25117. SORT_NUMERIC_ALT_DOWN:'pi pi-sort-numeric-alt-down',
  25118. SORT_NUMERIC_UP:'pi pi-sort-numeric-up',
  25119. SORT_NUMERIC_ALT_UP:'pi pi-sort-numeric-alt-up',
  25120. SORT_UP:'pi pi-sort-up',
  25121. SPINNER:'pi pi-spinner',
  25122. STAR:'pi pi-star',
  25123. STAR_FILL:'pi pi-star-fill',
  25124. STEP_BACKWARD:'pi pi-step-backward',
  25125. STEP_BACKWARD_ALT:'pi pi-step-backward-alt',
  25126. STEP_FORWARD:'pi pi-step-forward',
  25127. STEP_FORWARD_ALT:'pi pi-step-forward-alt',
  25128. STOP:'pi pi-stop',
  25129. STOP_CIRCLE:'pi pi-stop-circle',
  25130. SUN:'pi pi-sun',
  25131. SYNC:'pi pi-sync',
  25132. TABLE:'pi pi-table',
  25133. TABLET:'pi pi-tablet',
  25134. TAG:'pi pi-tag',
  25135. TAGS:'pi pi-tags',
  25136. TELEGRAM:'pi pi-telegram',
  25137. TH_LARGE:'pi pi-th-large',
  25138. THUMBS_DOWN:'pi pi-thumbs-down',
  25139. THUMBS_UP:'pi pi-thumbs-up',
  25140. TICKET:'pi pi-ticket',
  25141. TIMES:'pi pi-times',
  25142. TIMES_CIRCLE:'pi pi-times-circle',
  25143. TRASH:'pi pi-trash',
  25144. TWITTER:'pi pi-twitter',
  25145. UNDO:'pi pi-undo',
  25146. UNLOCK:'pi pi-unlock',
  25147. UPLOAD:'pi pi-upload',
  25148. USER:'pi pi-user',
  25149. USER_EDIT:'pi pi-user-edit',
  25150. USER_MINUS:'pi pi-user-minus',
  25151. USER_PLUS:'pi pi-user-plus',
  25152. USERS:'pi pi-users',
  25153. VIDEO:'pi pi-video',
  25154. VIMEO:'pi pi-vimeo',
  25155. VOLUME_DOWN:'pi pi-volume-down',
  25156. VOLUME_OFF:'pi pi-volume-off',
  25157. VOLUME_UP:'pi pi-volume-up',
  25158. WALLET:'pi pi-wallet',
  25159. WHATSAPP:'pi pi-whatsapp',
  25160. WIFI:'pi pi-wifi',
  25161. WINDOW_MAXIMIZE:'pi pi-window-maximize',
  25162. WINDOW_MINIMIZE:'pi pi-window-minimize',
  25163. YOUTUBE:'pi pi-youtube'
  25164. };
  25165. const ToastSeverities = {
  25166. INFO: 'info',
  25167. WARN: 'warn',
  25168. ERROR: 'error',
  25169. SUCCESS: 'success'
  25170. };
  25171. /***/ }),
  25172. /***/ "./node_modules/primevue/autocomplete/autocomplete.esm.js":
  25173. /*!****************************************************************!*\
  25174. !*** ./node_modules/primevue/autocomplete/autocomplete.esm.js ***!
  25175. \****************************************************************/
  25176. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  25177. "use strict";
  25178. __webpack_require__.r(__webpack_exports__);
  25179. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  25180. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  25181. /* harmony export */ });
  25182. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  25183. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  25184. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  25185. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  25186. /* harmony import */ var primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! primevue/virtualscroller */ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js");
  25187. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  25188. var script = {
  25189. name: 'AutoComplete',
  25190. inheritAttrs: false,
  25191. emits: ['update:modelValue', 'item-select', 'item-unselect', 'dropdown-click', 'clear', 'complete'],
  25192. props: {
  25193. modelValue: null,
  25194. suggestions: {
  25195. type: Array,
  25196. default: null
  25197. },
  25198. field: {
  25199. type: [String,Function],
  25200. default: null
  25201. },
  25202. optionGroupLabel: null,
  25203. optionGroupChildren: null,
  25204. scrollHeight: {
  25205. type: String,
  25206. default: '200px'
  25207. },
  25208. dropdown: {
  25209. type: Boolean,
  25210. default: false
  25211. },
  25212. dropdownMode: {
  25213. type: String,
  25214. default: 'blank'
  25215. },
  25216. autoHighlight: {
  25217. type: Boolean,
  25218. default: false
  25219. },
  25220. multiple: {
  25221. type: Boolean,
  25222. default: false
  25223. },
  25224. minLength: {
  25225. type: Number,
  25226. default: 1
  25227. },
  25228. delay: {
  25229. type: Number,
  25230. default: 300
  25231. },
  25232. appendTo: {
  25233. type: String,
  25234. default: 'body'
  25235. },
  25236. forceSelection: {
  25237. type: Boolean,
  25238. default: false
  25239. },
  25240. completeOnFocus: {
  25241. type: Boolean,
  25242. default: false
  25243. },
  25244. inputClass: null,
  25245. inputStyle: null,
  25246. class: null,
  25247. style: null,
  25248. panelClass: null,
  25249. virtualScrollerOptions: {
  25250. type: Object,
  25251. default: null
  25252. }
  25253. },
  25254. timeout: null,
  25255. outsideClickListener: null,
  25256. resizeListener: null,
  25257. scrollHandler: null,
  25258. overlay: null,
  25259. virtualScroller: null,
  25260. data() {
  25261. return {
  25262. searching: false,
  25263. focused: false,
  25264. overlayVisible: false,
  25265. inputTextValue: null,
  25266. highlightItem: null
  25267. };
  25268. },
  25269. watch: {
  25270. suggestions() {
  25271. if (this.searching) {
  25272. if (this.suggestions && this.suggestions.length)
  25273. this.showOverlay();
  25274. else
  25275. this.hideOverlay();
  25276. this.searching = false;
  25277. }
  25278. }
  25279. },
  25280. beforeUnmount() {
  25281. this.unbindOutsideClickListener();
  25282. this.unbindResizeListener();
  25283. if (this.scrollHandler) {
  25284. this.scrollHandler.destroy();
  25285. this.scrollHandler = null;
  25286. }
  25287. if (this.overlay) {
  25288. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  25289. this.overlay = null;
  25290. }
  25291. },
  25292. updated() {
  25293. if (this.overlayVisible) {
  25294. this.alignOverlay();
  25295. }
  25296. },
  25297. methods: {
  25298. getOptionIndex(index, fn) {
  25299. return this.virtualScrollerDisabled ? index : (fn && fn(index)['index']);
  25300. },
  25301. getOptionRenderKey(option) {
  25302. return this.getItemContent(option);
  25303. },
  25304. getOptionGroupRenderKey(optionGroup) {
  25305. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  25306. },
  25307. getOptionGroupLabel(optionGroup) {
  25308. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  25309. },
  25310. getOptionGroupChildren(optionGroup) {
  25311. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);
  25312. },
  25313. onOverlayEnter(el) {
  25314. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  25315. this.alignOverlay();
  25316. this.bindOutsideClickListener();
  25317. this.bindScrollListener();
  25318. this.bindResizeListener();
  25319. if (this.autoHighlight && this.suggestions && this.suggestions.length) {
  25320. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.list.firstElementChild, 'p-highlight');
  25321. }
  25322. },
  25323. onOverlayLeave() {
  25324. this.unbindOutsideClickListener();
  25325. this.unbindScrollListener();
  25326. this.unbindResizeListener();
  25327. this.overlay = null;
  25328. },
  25329. onOverlayAfterLeave(el) {
  25330. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  25331. },
  25332. alignOverlay() {
  25333. let target = this.multiple ? this.$refs.multiContainer : this.$refs.input;
  25334. if (this.appendDisabled) {
  25335. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, target);
  25336. }
  25337. else {
  25338. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(target) + 'px';
  25339. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, target);
  25340. }
  25341. },
  25342. bindOutsideClickListener() {
  25343. if (!this.outsideClickListener) {
  25344. this.outsideClickListener = (event) => {
  25345. if (this.overlayVisible && this.overlay && this.isOutsideClicked(event)) {
  25346. this.hideOverlay();
  25347. }
  25348. };
  25349. document.addEventListener('click', this.outsideClickListener);
  25350. }
  25351. },
  25352. bindScrollListener() {
  25353. if (!this.scrollHandler) {
  25354. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.container, () => {
  25355. if (this.overlayVisible) {
  25356. this.hideOverlay();
  25357. }
  25358. });
  25359. }
  25360. this.scrollHandler.bindScrollListener();
  25361. },
  25362. unbindScrollListener() {
  25363. if (this.scrollHandler) {
  25364. this.scrollHandler.unbindScrollListener();
  25365. }
  25366. },
  25367. bindResizeListener() {
  25368. if (!this.resizeListener) {
  25369. this.resizeListener = () => {
  25370. if (this.overlayVisible) {
  25371. this.hideOverlay();
  25372. }
  25373. };
  25374. window.addEventListener('resize', this.resizeListener);
  25375. }
  25376. },
  25377. unbindResizeListener() {
  25378. if (this.resizeListener) {
  25379. window.removeEventListener('resize', this.resizeListener);
  25380. this.resizeListener = null;
  25381. }
  25382. },
  25383. isOutsideClicked(event) {
  25384. return !this.overlay.contains(event.target) && !this.isInputClicked(event) && !this.isDropdownClicked(event);
  25385. },
  25386. isInputClicked(event) {
  25387. if (this.multiple)
  25388. return event.target === this.$refs.multiContainer || this.$refs.multiContainer.contains(event.target);
  25389. else
  25390. return event.target === this.$refs.input;
  25391. },
  25392. isDropdownClicked(event) {
  25393. return this.$refs.dropdownButton ? (event.target === this.$refs.dropdownButton || this.$refs.dropdownButton.$el.contains(event.target)) : false;
  25394. },
  25395. unbindOutsideClickListener() {
  25396. if (this.outsideClickListener) {
  25397. document.removeEventListener('click', this.outsideClickListener);
  25398. this.outsideClickListener = null;
  25399. }
  25400. },
  25401. selectItem(event, item) {
  25402. if (this.multiple) {
  25403. this.$refs.input.value = '';
  25404. this.inputTextValue = '';
  25405. if (!this.isSelected(item)) {
  25406. let newValue = this.modelValue ? [...this.modelValue, item] : [item];
  25407. this.$emit('update:modelValue', newValue);
  25408. }
  25409. }
  25410. else {
  25411. this.$emit('update:modelValue', item);
  25412. }
  25413. this.$emit('item-select', {
  25414. originalEvent: event,
  25415. value: item
  25416. });
  25417. this.focus();
  25418. this.hideOverlay();
  25419. },
  25420. onMultiContainerClick(event) {
  25421. this.focus();
  25422. if(this.completeOnFocus) {
  25423. this.search(event, '', 'click');
  25424. }
  25425. },
  25426. removeItem(event, index) {
  25427. let removedValue = this.modelValue[index];
  25428. let newValue = this.modelValue.filter((val, i) => (index !== i));
  25429. this.$emit('update:modelValue', newValue);
  25430. this.$emit('item-unselect', {
  25431. originalEvent: event,
  25432. value: removedValue
  25433. });
  25434. },
  25435. onDropdownClick(event) {
  25436. this.focus();
  25437. const query = this.$refs.input.value;
  25438. if (this.dropdownMode === 'blank')
  25439. this.search(event, '', 'dropdown');
  25440. else if (this.dropdownMode === 'current')
  25441. this.search(event, query, 'dropdown');
  25442. this.$emit('dropdown-click', {
  25443. originalEvent: event,
  25444. query: query
  25445. });
  25446. },
  25447. getItemContent(item) {
  25448. return this.field ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(item, this.field) : item;
  25449. },
  25450. showOverlay() {
  25451. this.overlayVisible = true;
  25452. },
  25453. hideOverlay() {
  25454. this.overlayVisible = false;
  25455. },
  25456. focus() {
  25457. this.$refs.input.focus();
  25458. },
  25459. search(event, query, source) {
  25460. //allow empty string but not undefined or null
  25461. if (query === undefined || query === null) {
  25462. return;
  25463. }
  25464. //do not search blank values on input change
  25465. if (source === 'input' && query.trim().length === 0) {
  25466. return;
  25467. }
  25468. this.searching = true;
  25469. this.$emit('complete', {
  25470. originalEvent: event,
  25471. query: query
  25472. });
  25473. },
  25474. onInputClicked(event) {
  25475. if(this.completeOnFocus) {
  25476. this.search(event, '', 'click');
  25477. }
  25478. },
  25479. onInput(event) {
  25480. this.inputTextValue = event.target.value;
  25481. if (this.timeout) {
  25482. clearTimeout(this.timeout);
  25483. }
  25484. let query = event.target.value;
  25485. if (!this.multiple) {
  25486. this.$emit('update:modelValue', query);
  25487. }
  25488. if (query.length === 0) {
  25489. this.hideOverlay();
  25490. this.$emit('clear');
  25491. }
  25492. else {
  25493. if (query.length >= this.minLength) {
  25494. this.timeout = setTimeout(() => {
  25495. this.search(event, query, 'input');
  25496. }, this.delay);
  25497. }
  25498. else {
  25499. this.hideOverlay();
  25500. }
  25501. }
  25502. },
  25503. onFocus() {
  25504. this.focused = true;
  25505. },
  25506. onBlur() {
  25507. this.focused = false;
  25508. },
  25509. onKeyDown(event) {
  25510. if (this.overlayVisible) {
  25511. let highlightItem = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.list, 'li.p-highlight');
  25512. switch(event.which) {
  25513. //down
  25514. case 40:
  25515. if (highlightItem) {
  25516. let nextElement = this.findNextItem(highlightItem);
  25517. if (nextElement) {
  25518. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(nextElement, 'p-highlight');
  25519. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(highlightItem, 'p-highlight');
  25520. nextElement.scrollIntoView({ block: 'nearest', inline: 'start' });
  25521. }
  25522. }
  25523. else {
  25524. highlightItem = this.list.firstElementChild;
  25525. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(highlightItem, 'p-autocomplete-item-group')) {
  25526. highlightItem = this.findNextItem(highlightItem);
  25527. }
  25528. if (highlightItem) {
  25529. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(highlightItem, 'p-highlight');
  25530. }
  25531. }
  25532. event.preventDefault();
  25533. break;
  25534. //up
  25535. case 38:
  25536. if (highlightItem) {
  25537. let previousElement = this.findPrevItem(highlightItem);
  25538. if (previousElement) {
  25539. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(previousElement, 'p-highlight');
  25540. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(highlightItem, 'p-highlight');
  25541. previousElement.scrollIntoView({ block: 'nearest', inline: 'start' });
  25542. }
  25543. }
  25544. event.preventDefault();
  25545. break;
  25546. //enter
  25547. case 13:
  25548. if (highlightItem) {
  25549. this.selectHighlightItem(event, highlightItem);
  25550. this.hideOverlay();
  25551. }
  25552. event.preventDefault();
  25553. break;
  25554. //escape
  25555. case 27:
  25556. this.hideOverlay();
  25557. event.preventDefault();
  25558. break;
  25559. //tab
  25560. case 9:
  25561. if (highlightItem) {
  25562. this.selectHighlightItem(event, highlightItem);
  25563. }
  25564. this.hideOverlay();
  25565. break;
  25566. }
  25567. }
  25568. if (this.multiple) {
  25569. switch(event.which) {
  25570. //backspace
  25571. case 8:
  25572. if (this.modelValue && this.modelValue.length && !this.$refs.input.value) {
  25573. let removedValue = this.modelValue[this.modelValue.length - 1];
  25574. let newValue = this.modelValue.slice(0, -1);
  25575. this.$emit('update:modelValue', newValue);
  25576. this.$emit('item-unselect', {
  25577. originalEvent: event,
  25578. value: removedValue
  25579. });
  25580. }
  25581. break;
  25582. }
  25583. }
  25584. },
  25585. selectHighlightItem(event, item) {
  25586. if (this.optionGroupLabel) {
  25587. let optionGroup = this.suggestions[item.dataset.group];
  25588. this.selectItem(event, this.getOptionGroupChildren(optionGroup)[item.dataset.index]);
  25589. }
  25590. else {
  25591. this.selectItem(event, this.suggestions[item.dataset.index]);
  25592. }
  25593. },
  25594. findNextItem(item) {
  25595. let nextItem = item.nextElementSibling;
  25596. if (nextItem)
  25597. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextItem, 'p-autocomplete-item-group') ? this.findNextItem(nextItem) : nextItem;
  25598. else
  25599. return null;
  25600. },
  25601. findPrevItem(item) {
  25602. let prevItem = item.previousElementSibling;
  25603. if (prevItem)
  25604. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevItem, 'p-autocomplete-item-group') ? this.findPrevItem(prevItem) : prevItem;
  25605. else
  25606. return null;
  25607. },
  25608. onChange(event) {
  25609. if (this.forceSelection) {
  25610. let valid = false;
  25611. let inputValue = event.target.value.trim();
  25612. if (this.suggestions) {
  25613. for (let item of this.suggestions) {
  25614. let itemValue = this.field ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(item, this.field) : item;
  25615. if (itemValue && inputValue === itemValue.trim()) {
  25616. valid = true;
  25617. this.selectItem(event, item);
  25618. break;
  25619. }
  25620. }
  25621. }
  25622. if (!valid) {
  25623. this.$refs.input.value = '';
  25624. this.inputTextValue = '';
  25625. this.$emit('clear');
  25626. if (!this.multiple) {
  25627. this.$emit('update:modelValue', null);
  25628. }
  25629. }
  25630. }
  25631. },
  25632. isSelected(val) {
  25633. let selected = false;
  25634. if (this.modelValue && this.modelValue.length) {
  25635. for (let i = 0; i < this.modelValue.length; i++) {
  25636. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(this.modelValue[i], val)) {
  25637. selected = true;
  25638. break;
  25639. }
  25640. }
  25641. }
  25642. return selected;
  25643. },
  25644. overlayRef(el) {
  25645. this.overlay = el;
  25646. },
  25647. listRef(el, contentRef) {
  25648. this.list = el;
  25649. contentRef && contentRef(el); // for virtualScroller
  25650. },
  25651. virtualScrollerRef(el) {
  25652. this.virtualScroller = el;
  25653. },
  25654. onOverlayClick(event) {
  25655. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  25656. originalEvent: event,
  25657. target: this.$el
  25658. });
  25659. }
  25660. },
  25661. computed: {
  25662. containerClass() {
  25663. return ['p-autocomplete p-component p-inputwrapper', this.class, {
  25664. 'p-autocomplete-dd': this.dropdown,
  25665. 'p-autocomplete-multiple': this.multiple,
  25666. 'p-inputwrapper-filled': ((this.modelValue) || (this.inputTextValue && this.inputTextValue.length)),
  25667. 'p-inputwrapper-focus': this.focused
  25668. }];
  25669. },
  25670. inputFieldClass() {
  25671. return ['p-autocomplete-input p-inputtext p-component', this.inputClass, {
  25672. 'p-autocomplete-dd-input': this.dropdown,
  25673. 'p-disabled': this.$attrs.disabled
  25674. }];
  25675. },
  25676. multiContainerClass() {
  25677. return ['p-autocomplete-multiple-container p-component p-inputtext', {
  25678. 'p-disabled': this.$attrs.disabled,
  25679. 'p-focus': this.focused
  25680. }];
  25681. },
  25682. panelStyleClass() {
  25683. return [
  25684. 'p-autocomplete-panel p-component', this.panelClass, {
  25685. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  25686. 'p-ripple-disabled': this.$primevue.config.ripple === false
  25687. }];
  25688. },
  25689. inputValue() {
  25690. if (this.modelValue) {
  25691. if (this.field && typeof this.modelValue === 'object') {
  25692. const resolvedFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(this.modelValue, this.field);
  25693. return resolvedFieldData != null ? resolvedFieldData : this.modelValue;
  25694. }
  25695. else
  25696. return this.modelValue;
  25697. }
  25698. else {
  25699. return '';
  25700. }
  25701. },
  25702. listId() {
  25703. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)() + '_list';
  25704. },
  25705. appendDisabled() {
  25706. return this.appendTo === 'self';
  25707. },
  25708. appendTarget() {
  25709. return this.appendDisabled ? null : this.appendTo;
  25710. },
  25711. virtualScrollerDisabled() {
  25712. return !this.virtualScrollerOptions;
  25713. }
  25714. },
  25715. components: {
  25716. 'Button': primevue_button__WEBPACK_IMPORTED_MODULE_2__["default"],
  25717. 'VirtualScroller': primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__["default"]
  25718. },
  25719. directives: {
  25720. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_3__["default"]
  25721. }
  25722. };
  25723. const _hoisted_1 = { class: "p-autocomplete-token-label" };
  25724. const _hoisted_2 = { class: "p-autocomplete-input-token" };
  25725. const _hoisted_3 = {
  25726. key: 2,
  25727. class: "p-autocomplete-loader pi pi-spinner pi-spin"
  25728. };
  25729. const _hoisted_4 = { class: "p-autocomplete-item-group" };
  25730. function render(_ctx, _cache, $props, $setup, $data, $options) {
  25731. const _component_Button = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveComponent)("Button");
  25732. const _component_VirtualScroller = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveComponent)("VirtualScroller");
  25733. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveDirective)("ripple");
  25734. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("span", {
  25735. ref: "container",
  25736. class: $options.containerClass,
  25737. "aria-haspopup": "listbox",
  25738. "aria-owns": $options.listId,
  25739. "aria-expanded": $data.overlayVisible,
  25740. style: $props.style
  25741. }, [
  25742. (!$props.multiple)
  25743. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("input", (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({
  25744. key: 0,
  25745. ref: "input",
  25746. class: $options.inputFieldClass,
  25747. style: $props.inputStyle
  25748. }, _ctx.$attrs, {
  25749. value: $options.inputValue,
  25750. onClick: _cache[1] || (_cache[1] = (...args) => ($options.onInputClicked && $options.onInputClicked(...args))),
  25751. onInput: _cache[2] || (_cache[2] = (...args) => ($options.onInput && $options.onInput(...args))),
  25752. onFocus: _cache[3] || (_cache[3] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  25753. onBlur: _cache[4] || (_cache[4] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  25754. onKeydown: _cache[5] || (_cache[5] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  25755. onChange: _cache[6] || (_cache[6] = (...args) => ($options.onChange && $options.onChange(...args))),
  25756. type: "text",
  25757. autoComplete: "off",
  25758. role: "searchbox",
  25759. "aria-autocomplete": "list",
  25760. "aria-controls": $options.listId
  25761. }), null, 16, ["value", "aria-controls"]))
  25762. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25763. ($props.multiple)
  25764. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("ul", {
  25765. key: 1,
  25766. ref: "multiContainer",
  25767. class: $options.multiContainerClass,
  25768. onClick: _cache[12] || (_cache[12] = (...args) => ($options.onMultiContainerClick && $options.onMultiContainerClick(...args)))
  25769. }, [
  25770. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)($props.modelValue, (item, i) => {
  25771. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  25772. key: i,
  25773. class: "p-autocomplete-token"
  25774. }, [
  25775. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "chip", { value: item }, () => [
  25776. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", _hoisted_1, (0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getItemContent(item)), 1)
  25777. ]),
  25778. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", {
  25779. class: "p-autocomplete-token-icon pi pi-times-circle",
  25780. onClick: $event => ($options.removeItem($event, i))
  25781. }, null, 8, ["onClick"])
  25782. ]))
  25783. }), 128)),
  25784. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("li", _hoisted_2, [
  25785. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("input", (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({
  25786. ref: "input",
  25787. type: "text",
  25788. autoComplete: "off"
  25789. }, _ctx.$attrs, {
  25790. onInput: _cache[7] || (_cache[7] = (...args) => ($options.onInput && $options.onInput(...args))),
  25791. onFocus: _cache[8] || (_cache[8] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  25792. onBlur: _cache[9] || (_cache[9] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  25793. onKeydown: _cache[10] || (_cache[10] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  25794. onChange: _cache[11] || (_cache[11] = (...args) => ($options.onChange && $options.onChange(...args))),
  25795. role: "searchbox",
  25796. "aria-autocomplete": "list",
  25797. "aria-controls": $options.listId
  25798. }), null, 16, ["aria-controls"])
  25799. ])
  25800. ], 2))
  25801. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25802. ($data.searching)
  25803. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("i", _hoisted_3))
  25804. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25805. ($props.dropdown)
  25806. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(_component_Button, {
  25807. key: 3,
  25808. ref: "dropdownButton",
  25809. type: "button",
  25810. icon: "pi pi-chevron-down",
  25811. class: "p-autocomplete-dropdown",
  25812. disabled: _ctx.$attrs.disabled,
  25813. onClick: $options.onDropdownClick
  25814. }, null, 8, ["disabled", "onClick"]))
  25815. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  25816. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Teleport, {
  25817. to: $options.appendTarget,
  25818. disabled: $options.appendDisabled
  25819. }, [
  25820. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_5__.Transition, {
  25821. name: "p-connected-overlay",
  25822. onEnter: $options.onOverlayEnter,
  25823. onLeave: $options.onOverlayLeave,
  25824. onAfterLeave: $options.onOverlayAfterLeave
  25825. }, {
  25826. default: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(() => [
  25827. ($data.overlayVisible)
  25828. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", {
  25829. key: 0,
  25830. ref: $options.overlayRef,
  25831. class: $options.panelStyleClass,
  25832. style: {'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : ''},
  25833. onClick: _cache[13] || (_cache[13] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
  25834. }, [
  25835. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "header", {
  25836. value: $props.modelValue,
  25837. suggestions: $props.suggestions
  25838. }),
  25839. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(_component_VirtualScroller, (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({ ref: $options.virtualScrollerRef }, $props.virtualScrollerOptions, {
  25840. style: {'height': $props.scrollHeight},
  25841. items: $props.suggestions,
  25842. disabled: $options.virtualScrollerDisabled
  25843. }), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createSlots)({
  25844. content: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ styleClass, contentRef, items, getItemOptions, contentStyle }) => [
  25845. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("ul", {
  25846. id: $options.listId,
  25847. ref: (el) => $options.listRef(el, contentRef),
  25848. class: ['p-autocomplete-items', styleClass],
  25849. style: contentStyle,
  25850. role: "listbox"
  25851. }, [
  25852. (!$props.optionGroupLabel)
  25853. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (item, i) => {
  25854. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  25855. class: "p-autocomplete-item",
  25856. key: $options.getOptionRenderKey(item),
  25857. onClick: $event => ($options.selectItem($event, item)),
  25858. role: "option",
  25859. "data-index": $options.getOptionIndex(i, getItemOptions)
  25860. }, [
  25861. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "item", {
  25862. item: item,
  25863. index: $options.getOptionIndex(i, getItemOptions)
  25864. }, () => [
  25865. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getItemContent(item)), 1)
  25866. ])
  25867. ], 8, ["onClick", "data-index"])), [
  25868. [_directive_ripple]
  25869. ])
  25870. }), 128))
  25871. : ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (optionGroup, i) => {
  25872. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, {
  25873. key: $options.getOptionGroupRenderKey(optionGroup)
  25874. }, [
  25875. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("li", _hoisted_4, [
  25876. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "optiongroup", {
  25877. item: optionGroup,
  25878. index: $options.getOptionIndex(i, getItemOptions)
  25879. }, () => [
  25880. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionGroupLabel(optionGroup)), 1)
  25881. ])
  25882. ]),
  25883. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)($options.getOptionGroupChildren(optionGroup), (item, j) => {
  25884. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  25885. class: "p-autocomplete-item",
  25886. key: j,
  25887. onClick: $event => ($options.selectItem($event, item)),
  25888. role: "option",
  25889. "data-group": i,
  25890. "data-index": $options.getOptionIndex(j, getItemOptions)
  25891. }, [
  25892. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "item", {
  25893. item: item,
  25894. index: $options.getOptionIndex(j, getItemOptions)
  25895. }, () => [
  25896. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getItemContent(item)), 1)
  25897. ])
  25898. ], 8, ["onClick", "data-group", "data-index"])), [
  25899. [_directive_ripple]
  25900. ])
  25901. }), 128))
  25902. ], 64))
  25903. }), 128))
  25904. ], 14, ["id"])
  25905. ]),
  25906. _: 2
  25907. }, [
  25908. (_ctx.$slots.loader)
  25909. ? {
  25910. name: "loader",
  25911. fn: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ options }) => [
  25912. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "loader", { options: options })
  25913. ])
  25914. }
  25915. : undefined
  25916. ]), 1040, ["style", "items", "disabled"]),
  25917. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "footer", {
  25918. value: $props.modelValue,
  25919. suggestions: $props.suggestions
  25920. })
  25921. ], 6))
  25922. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true)
  25923. ]),
  25924. _: 3
  25925. }, 8, ["onEnter", "onLeave", "onAfterLeave"])
  25926. ], 8, ["to", "disabled"]))
  25927. ], 14, ["aria-owns", "aria-expanded"]))
  25928. }
  25929. function styleInject(css, ref) {
  25930. if ( ref === void 0 ) ref = {};
  25931. var insertAt = ref.insertAt;
  25932. if (!css || typeof document === 'undefined') { return; }
  25933. var head = document.head || document.getElementsByTagName('head')[0];
  25934. var style = document.createElement('style');
  25935. style.type = 'text/css';
  25936. if (insertAt === 'top') {
  25937. if (head.firstChild) {
  25938. head.insertBefore(style, head.firstChild);
  25939. } else {
  25940. head.appendChild(style);
  25941. }
  25942. } else {
  25943. head.appendChild(style);
  25944. }
  25945. if (style.styleSheet) {
  25946. style.styleSheet.cssText = css;
  25947. } else {
  25948. style.appendChild(document.createTextNode(css));
  25949. }
  25950. }
  25951. var css_248z = "\n.p-autocomplete {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n position: relative;\n}\n.p-autocomplete-loader {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-autocomplete-dd .p-autocomplete-input {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-autocomplete-dd .p-autocomplete-input,\n.p-autocomplete-dd .p-autocomplete-multiple-container {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-autocomplete-dd .p-autocomplete-dropdown {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0px;\n}\n.p-autocomplete .p-autocomplete-panel {\n min-width: 100%;\n}\n.p-autocomplete-panel {\n position: absolute;\n overflow: auto;\n top: 0;\n left: 0;\n}\n.p-autocomplete-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-autocomplete-item {\n cursor: pointer;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n}\n.p-autocomplete-multiple-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n cursor: text;\n overflow: hidden;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.p-autocomplete-token {\n cursor: default;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-autocomplete-token-icon {\n cursor: pointer;\n}\n.p-autocomplete-input-token {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-autocomplete-input-token input {\n border: 0 none;\n outline: 0 none;\n background-color: transparent;\n margin: 0;\n padding: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n border-radius: 0;\n width: 100%;\n}\n.p-fluid .p-autocomplete {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-autocomplete-dd .p-autocomplete-input {\n width: 1%;\n}\n";
  25952. styleInject(css_248z);
  25953. script.render = render;
  25954. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  25955. /***/ }),
  25956. /***/ "./node_modules/primevue/badge/badge.esm.js":
  25957. /*!**************************************************!*\
  25958. !*** ./node_modules/primevue/badge/badge.esm.js ***!
  25959. \**************************************************/
  25960. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  25961. "use strict";
  25962. __webpack_require__.r(__webpack_exports__);
  25963. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  25964. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  25965. /* harmony export */ });
  25966. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  25967. var script = {
  25968. name: 'Badge',
  25969. props: {
  25970. value: null,
  25971. severity: null,
  25972. size: null
  25973. },
  25974. computed: {
  25975. containerClass() {
  25976. return this.$slots.default ? 'p-overlay-badge': this.badgeClass;
  25977. },
  25978. badgeClass() {
  25979. return ['p-badge p-component', {
  25980. 'p-badge-no-gutter': this.value && String(this.value).length === 1,
  25981. 'p-badge-dot': !this.value && !this.$slots.default,
  25982. 'p-badge-lg': this.size === 'large',
  25983. 'p-badge-xl': this.size === 'xlarge',
  25984. 'p-badge-info': this.severity === 'info',
  25985. 'p-badge-success': this.severity === 'success',
  25986. 'p-badge-warning': this.severity === 'warning',
  25987. 'p-badge-danger': this.severity === 'danger'
  25988. }];
  25989. }
  25990. }
  25991. };
  25992. function render(_ctx, _cache, $props, $setup, $data, $options) {
  25993. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("span", { class: $options.badgeClass }, [
  25994. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "default", {}, () => [
  25995. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($props.value), 1)
  25996. ])
  25997. ], 2))
  25998. }
  25999. script.render = render;
  26000. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  26001. /***/ }),
  26002. /***/ "./node_modules/primevue/button/button.esm.js":
  26003. /*!****************************************************!*\
  26004. !*** ./node_modules/primevue/button/button.esm.js ***!
  26005. \****************************************************/
  26006. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  26007. "use strict";
  26008. __webpack_require__.r(__webpack_exports__);
  26009. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  26010. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  26011. /* harmony export */ });
  26012. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  26013. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  26014. var script = {
  26015. name: 'Button',
  26016. props: {
  26017. label: {
  26018. type: String
  26019. },
  26020. icon: {
  26021. type: String
  26022. },
  26023. iconPos: {
  26024. type: String,
  26025. default: 'left'
  26026. },
  26027. badge: {
  26028. type: String
  26029. },
  26030. badgeClass: {
  26031. type: String,
  26032. default: null
  26033. },
  26034. loading: {
  26035. type: Boolean,
  26036. default: false
  26037. },
  26038. loadingIcon: {
  26039. type: String,
  26040. default: 'pi pi-spinner pi-spin'
  26041. }
  26042. },
  26043. computed: {
  26044. buttonClass() {
  26045. return {
  26046. 'p-button p-component': true,
  26047. 'p-button-icon-only': this.icon && !this.label,
  26048. 'p-button-vertical': (this.iconPos === 'top' || this.iconPos === 'bottom') && this.label,
  26049. 'p-disabled': this.$attrs.disabled || this.loading,
  26050. 'p-button-loading': this.loading,
  26051. 'p-button-loading-label-only': this.loading && !this.icon && this.label
  26052. }
  26053. },
  26054. iconClass() {
  26055. return [
  26056. this.loading ? 'p-button-loading-icon ' + this.loadingIcon : this.icon,
  26057. 'p-button-icon',
  26058. {
  26059. 'p-button-icon-left': this.iconPos === 'left' && this.label,
  26060. 'p-button-icon-right': this.iconPos === 'right' && this.label,
  26061. 'p-button-icon-top': this.iconPos === 'top' && this.label,
  26062. 'p-button-icon-bottom': this.iconPos === 'bottom' && this.label
  26063. }
  26064. ]
  26065. },
  26066. badgeStyleClass() {
  26067. return [
  26068. 'p-badge p-component', this.badgeClass, {
  26069. 'p-badge-no-gutter': this.badge && String(this.badge).length === 1
  26070. }]
  26071. },
  26072. disabled() {
  26073. return this.$attrs.disabled || this.loading;
  26074. }
  26075. },
  26076. directives: {
  26077. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_0__["default"]
  26078. }
  26079. };
  26080. const _hoisted_1 = { class: "p-button-label" };
  26081. function render(_ctx, _cache, $props, $setup, $data, $options) {
  26082. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_1__.resolveDirective)("ripple");
  26083. return (0,vue__WEBPACK_IMPORTED_MODULE_1__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("button", {
  26084. class: $options.buttonClass,
  26085. type: "button",
  26086. disabled: $options.disabled
  26087. }, [
  26088. (0,vue__WEBPACK_IMPORTED_MODULE_1__.renderSlot)(_ctx.$slots, "default", {}, () => [
  26089. ($props.loading && !$props.icon)
  26090. ? ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("span", {
  26091. key: 0,
  26092. class: $options.iconClass
  26093. }, null, 2))
  26094. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true),
  26095. ($props.icon)
  26096. ? ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("span", {
  26097. key: 1,
  26098. class: $options.iconClass
  26099. }, null, 2))
  26100. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true),
  26101. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("span", _hoisted_1, (0,vue__WEBPACK_IMPORTED_MODULE_1__.toDisplayString)($props.label||' '), 1),
  26102. ($props.badge)
  26103. ? ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("span", {
  26104. key: 2,
  26105. class: $options.badgeStyleClass
  26106. }, (0,vue__WEBPACK_IMPORTED_MODULE_1__.toDisplayString)($props.badge), 3))
  26107. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true)
  26108. ])
  26109. ], 10, ["disabled"])), [
  26110. [_directive_ripple]
  26111. ])
  26112. }
  26113. script.render = render;
  26114. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  26115. /***/ }),
  26116. /***/ "./node_modules/primevue/calendar/calendar.esm.js":
  26117. /*!********************************************************!*\
  26118. !*** ./node_modules/primevue/calendar/calendar.esm.js ***!
  26119. \********************************************************/
  26120. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  26121. "use strict";
  26122. __webpack_require__.r(__webpack_exports__);
  26123. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  26124. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  26125. /* harmony export */ });
  26126. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  26127. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  26128. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  26129. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  26130. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  26131. var script = {
  26132. name: 'Calendar',
  26133. inheritAttrs: false,
  26134. emits: ['show', 'hide', 'input', 'month-change', 'year-change', 'date-select', 'update:modelValue', 'today-click', 'clear-click', 'focus', 'blur', 'keydown'],
  26135. props: {
  26136. modelValue: null,
  26137. selectionMode: {
  26138. type: String,
  26139. default: 'single'
  26140. },
  26141. dateFormat: {
  26142. type: String,
  26143. default: null
  26144. },
  26145. inline: {
  26146. type: Boolean,
  26147. default: false
  26148. },
  26149. showOtherMonths: {
  26150. type: Boolean,
  26151. default: true
  26152. },
  26153. selectOtherMonths: {
  26154. type: Boolean,
  26155. default: false
  26156. },
  26157. showIcon: {
  26158. type: Boolean,
  26159. default: false
  26160. },
  26161. icon: {
  26162. type: String,
  26163. default: 'pi pi-calendar'
  26164. },
  26165. numberOfMonths: {
  26166. type: Number,
  26167. default: 1
  26168. },
  26169. responsiveOptions: Array,
  26170. view: {
  26171. type: String,
  26172. default: 'date'
  26173. },
  26174. touchUI: {
  26175. type: Boolean,
  26176. default: false
  26177. },
  26178. monthNavigator: {
  26179. type: Boolean,
  26180. default: false
  26181. },
  26182. yearNavigator: {
  26183. type: Boolean,
  26184. default: false
  26185. },
  26186. yearRange: {
  26187. type: String,
  26188. default: null
  26189. },
  26190. panelClass: {
  26191. type: String,
  26192. default: null
  26193. },
  26194. minDate: {
  26195. type: Date,
  26196. value: null
  26197. },
  26198. maxDate: {
  26199. type: Date,
  26200. value: null
  26201. },
  26202. disabledDates: {
  26203. type: Array,
  26204. value: null
  26205. },
  26206. disabledDays: {
  26207. type: Array,
  26208. value: null
  26209. },
  26210. maxDateCount: {
  26211. type: Number,
  26212. value: null
  26213. },
  26214. showOnFocus: {
  26215. type: Boolean,
  26216. default: true
  26217. },
  26218. autoZIndex: {
  26219. type: Boolean,
  26220. default: true
  26221. },
  26222. baseZIndex: {
  26223. type: Number,
  26224. default: 0
  26225. },
  26226. showButtonBar: {
  26227. type: Boolean,
  26228. default: false
  26229. },
  26230. shortYearCutoff: {
  26231. type: String,
  26232. default: '+10'
  26233. },
  26234. showTime: {
  26235. type: Boolean,
  26236. default: false
  26237. },
  26238. timeOnly: {
  26239. type: Boolean,
  26240. default: false
  26241. },
  26242. hourFormat: {
  26243. type: String,
  26244. default: '24'
  26245. },
  26246. stepHour: {
  26247. type: Number,
  26248. default: 1
  26249. },
  26250. stepMinute: {
  26251. type: Number,
  26252. default: 1
  26253. },
  26254. stepSecond: {
  26255. type: Number,
  26256. default: 1
  26257. },
  26258. showSeconds: {
  26259. type: Boolean,
  26260. default: false
  26261. },
  26262. hideOnDateTimeSelect: {
  26263. type: Boolean,
  26264. default: false
  26265. },
  26266. timeSeparator: {
  26267. type: String,
  26268. default: ':'
  26269. },
  26270. showWeek: {
  26271. type: Boolean,
  26272. default: false
  26273. },
  26274. manualInput: {
  26275. type: Boolean,
  26276. default: true
  26277. },
  26278. appendTo: {
  26279. type: String,
  26280. default: 'body'
  26281. },
  26282. inputClass: null,
  26283. inputStyle: null,
  26284. class: null,
  26285. style: null
  26286. },
  26287. navigationState: null,
  26288. timePickerChange: false,
  26289. scrollHandler: null,
  26290. outsideClickListener: null,
  26291. maskClickListener: null,
  26292. resizeListener: null,
  26293. overlay: null,
  26294. input: null,
  26295. mask: null,
  26296. timePickerTimer: null,
  26297. preventFocus: false,
  26298. typeUpdate: false,
  26299. created() {
  26300. this.updateCurrentMetaData();
  26301. },
  26302. mounted() {
  26303. this.createResponsiveStyle();
  26304. if (this.inline) {
  26305. this.overlay && this.overlay.setAttribute(this.attributeSelector, '');
  26306. if (!this.$attrs.disabled) {
  26307. this.preventFocus = true;
  26308. this.initFocusableCell();
  26309. if (this.numberOfMonths === 1) {
  26310. this.overlay.style.width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  26311. }
  26312. }
  26313. }
  26314. else {
  26315. this.input.value = this.formatValue(this.modelValue);
  26316. }
  26317. },
  26318. updated() {
  26319. if (this.overlay) {
  26320. this.preventFocus = true;
  26321. this.updateFocus();
  26322. }
  26323. if (this.input && this.selectionStart != null && this.selectionEnd != null) {
  26324. this.input.selectionStart = this.selectionStart;
  26325. this.input.selectionEnd = this.selectionEnd;
  26326. this.selectionStart = null;
  26327. this.selectionEnd = null;
  26328. }
  26329. },
  26330. beforeUnmount() {
  26331. if (this.timePickerTimer) {
  26332. clearTimeout(this.timePickerTimer);
  26333. }
  26334. if (this.mask) {
  26335. this.destroyMask();
  26336. }
  26337. this.destroyResponsiveStyleElement();
  26338. this.unbindOutsideClickListener();
  26339. this.unbindResizeListener();
  26340. if (this.scrollHandler) {
  26341. this.scrollHandler.destroy();
  26342. this.scrollHandler = null;
  26343. }
  26344. if (this.overlay && this.autoZIndex) {
  26345. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  26346. }
  26347. this.overlay = null;
  26348. },
  26349. data() {
  26350. return {
  26351. currentMonth: null,
  26352. currentYear: null,
  26353. currentHour: null,
  26354. currentMinute: null,
  26355. currentSecond: null,
  26356. pm: null,
  26357. focused: false,
  26358. overlayVisible: false,
  26359. currentView: this.view
  26360. }
  26361. },
  26362. watch: {
  26363. modelValue(newValue) {
  26364. this.updateCurrentMetaData();
  26365. if (!this.typeUpdate && !this.inline && this.input) {
  26366. this.input.value = this.formatValue(newValue);
  26367. }
  26368. this.typeUpdate = false;
  26369. },
  26370. showTime() {
  26371. this.updateCurrentMetaData();
  26372. },
  26373. months() {
  26374. if (this.overlay) {
  26375. if (!this.focused) {
  26376. setTimeout(this.updateFocus, 0);
  26377. }
  26378. }
  26379. },
  26380. numberOfMonths() {
  26381. this.destroyResponsiveStyleElement();
  26382. this.createResponsiveStyle();
  26383. },
  26384. responsiveOptions() {
  26385. this.destroyResponsiveStyleElement();
  26386. this.createResponsiveStyle();
  26387. }
  26388. },
  26389. methods: {
  26390. isComparable() {
  26391. return this.modelValue != null && typeof this.modelValue !== 'string';
  26392. },
  26393. isSelected(dateMeta) {
  26394. if (!this.isComparable()) {
  26395. return false;
  26396. }
  26397. if (this.modelValue) {
  26398. if (this.isSingleSelection()) {
  26399. return this.isDateEquals(this.modelValue, dateMeta);
  26400. }
  26401. else if (this.isMultipleSelection()) {
  26402. let selected = false;
  26403. for (let date of this.modelValue) {
  26404. selected = this.isDateEquals(date, dateMeta);
  26405. if (selected) {
  26406. break;
  26407. }
  26408. }
  26409. return selected;
  26410. }
  26411. else if( this.isRangeSelection()) {
  26412. if (this.modelValue[1])
  26413. return this.isDateEquals(this.modelValue[0], dateMeta) || this.isDateEquals(this.modelValue[1], dateMeta) || this.isDateBetween(this.modelValue[0], this.modelValue[1], dateMeta);
  26414. else {
  26415. return this.isDateEquals(this.modelValue[0], dateMeta);
  26416. }
  26417. }
  26418. }
  26419. return false;
  26420. },
  26421. isMonthSelected(month) {
  26422. if (this.isComparable()) {
  26423. let value = this.isRangeSelection() ? this.modelValue[0] : this.modelValue;
  26424. return !this.isMultipleSelection() ? (value.getMonth() === month && value.getFullYear() === this.currentYear) : false;
  26425. }
  26426. return false;
  26427. },
  26428. isYearSelected(year) {
  26429. if (this.isComparable()) {
  26430. let value = this.isRangeSelection() ? this.modelValue[0] : this.modelValue;
  26431. return !this.isMultipleSelection() && this.isComparable() ? (value.getFullYear() === year) : false;
  26432. }
  26433. return false;
  26434. },
  26435. isDateEquals(value, dateMeta) {
  26436. if (value)
  26437. return value.getDate() === dateMeta.day && value.getMonth() === dateMeta.month && value.getFullYear() === dateMeta.year;
  26438. else
  26439. return false;
  26440. },
  26441. isDateBetween(start, end, dateMeta) {
  26442. let between = false;
  26443. if (start && end) {
  26444. let date = new Date(dateMeta.year, dateMeta.month, dateMeta.day);
  26445. return start.getTime() <= date.getTime() && end.getTime() >= date.getTime();
  26446. }
  26447. return between;
  26448. },
  26449. getFirstDayOfMonthIndex(month, year) {
  26450. let day = new Date();
  26451. day.setDate(1);
  26452. day.setMonth(month);
  26453. day.setFullYear(year);
  26454. let dayIndex = day.getDay() + this.sundayIndex;
  26455. return dayIndex >= 7 ? dayIndex - 7 : dayIndex;
  26456. },
  26457. getDaysCountInMonth(month, year) {
  26458. return 32 - this.daylightSavingAdjust(new Date(year, month, 32)).getDate();
  26459. },
  26460. getDaysCountInPrevMonth(month, year) {
  26461. let prev = this.getPreviousMonthAndYear(month, year);
  26462. return this.getDaysCountInMonth(prev.month, prev.year);
  26463. },
  26464. getPreviousMonthAndYear(month, year) {
  26465. let m, y;
  26466. if (month === 0) {
  26467. m = 11;
  26468. y = year - 1;
  26469. }
  26470. else {
  26471. m = month - 1;
  26472. y = year;
  26473. }
  26474. return {'month':m, 'year': y};
  26475. },
  26476. getNextMonthAndYear(month, year) {
  26477. let m, y;
  26478. if (month === 11) {
  26479. m = 0;
  26480. y = year + 1;
  26481. }
  26482. else {
  26483. m = month + 1;
  26484. y = year;
  26485. }
  26486. return {'month':m,'year':y};
  26487. },
  26488. daylightSavingAdjust(date) {
  26489. if (!date) {
  26490. return null;
  26491. }
  26492. date.setHours(date.getHours() > 12 ? date.getHours() + 2 : 0);
  26493. return date;
  26494. },
  26495. isToday(today, day, month, year) {
  26496. return today.getDate() === day && today.getMonth() === month && today.getFullYear() === year;
  26497. },
  26498. isSelectable(day, month, year, otherMonth) {
  26499. let validMin = true;
  26500. let validMax = true;
  26501. let validDate = true;
  26502. let validDay = true;
  26503. if (otherMonth && !this.selectOtherMonths) {
  26504. return false;
  26505. }
  26506. if (this.minDate) {
  26507. if (this.minDate.getFullYear() > year) {
  26508. validMin = false;
  26509. }
  26510. else if (this.minDate.getFullYear() === year) {
  26511. if (this.minDate.getMonth() > month) {
  26512. validMin = false;
  26513. }
  26514. else if (this.minDate.getMonth() === month) {
  26515. if (this.minDate.getDate() > day) {
  26516. validMin = false;
  26517. }
  26518. }
  26519. }
  26520. }
  26521. if (this.maxDate) {
  26522. if (this.maxDate.getFullYear() < year) {
  26523. validMax = false;
  26524. }
  26525. else if (this.maxDate.getFullYear() === year) {
  26526. if (this.maxDate.getMonth() < month) {
  26527. validMax = false;
  26528. }
  26529. else if (this.maxDate.getMonth() === month) {
  26530. if (this.maxDate.getDate() < day) {
  26531. validMax = false;
  26532. }
  26533. }
  26534. }
  26535. }
  26536. if (this.disabledDates) {
  26537. validDate = !this.isDateDisabled(day,month,year);
  26538. }
  26539. if (this.disabledDays) {
  26540. validDay = !this.isDayDisabled(day,month,year);
  26541. }
  26542. return validMin && validMax && validDate && validDay;
  26543. },
  26544. onOverlayEnter(el) {
  26545. el.setAttribute(this.attributeSelector, '');
  26546. if (this.autoZIndex) {
  26547. if (this.touchUI)
  26548. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('modal', el, this.baseZIndex || this.$primevue.config.zIndex.modal);
  26549. else
  26550. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.baseZIndex || this.$primevue.config.zIndex.overlay);
  26551. }
  26552. this.alignOverlay();
  26553. this.$emit('show');
  26554. },
  26555. onOverlayEnterComplete() {
  26556. this.bindOutsideClickListener();
  26557. this.bindScrollListener();
  26558. this.bindResizeListener();
  26559. },
  26560. onOverlayAfterLeave(el) {
  26561. if (this.autoZIndex) {
  26562. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  26563. }
  26564. },
  26565. onOverlayLeave() {
  26566. this.currentView = this.view;
  26567. this.unbindOutsideClickListener();
  26568. this.unbindScrollListener();
  26569. this.unbindResizeListener();
  26570. this.$emit('hide');
  26571. if (this.mask) {
  26572. this.disableModality();
  26573. }
  26574. this.overlay = null;
  26575. },
  26576. onPrevButtonClick(event) {
  26577. if(this.showOtherMonths) {
  26578. this.navigationState = {backward: true, button: true};
  26579. this.navBackward(event);
  26580. }
  26581. },
  26582. onNextButtonClick(event) {
  26583. if(this.showOtherMonths) {
  26584. this.navigationState = {backward: false, button: true};
  26585. this.navForward(event);
  26586. }
  26587. },
  26588. navBackward(event) {
  26589. event.preventDefault();
  26590. if (!this.isEnabled()) {
  26591. return;
  26592. }
  26593. if (this.currentView === 'month') {
  26594. this.decrementYear();
  26595. }
  26596. else if (this.currentView === 'year') {
  26597. this.decrementDecade();
  26598. }
  26599. else {
  26600. if (this.currentMonth === 0) {
  26601. this.currentMonth = 11;
  26602. this.decrementYear();
  26603. }
  26604. else {
  26605. this.currentMonth--;
  26606. }
  26607. this.$emit('month-change', {month: this.currentMonth, year: this.currentYear});
  26608. }
  26609. },
  26610. navForward(event) {
  26611. event.preventDefault();
  26612. if (!this.isEnabled()) {
  26613. return;
  26614. }
  26615. if (this.currentView === 'month') {
  26616. this.incrementYear();
  26617. }
  26618. else if (this.currentView === 'year') {
  26619. this.incrementDecade();
  26620. }
  26621. else {
  26622. if (this.currentMonth === 11) {
  26623. this.currentMonth = 0;
  26624. this.incrementYear();
  26625. }
  26626. else {
  26627. this.currentMonth++;
  26628. }
  26629. this.$emit('month-change', {month: this.currentMonth , year: this.currentYear});
  26630. }
  26631. },
  26632. decrementYear() {
  26633. this.currentYear--;
  26634. },
  26635. decrementDecade() {
  26636. this.currentYear = this.currentYear - 10;
  26637. },
  26638. incrementYear() {
  26639. this.currentYear++;
  26640. },
  26641. incrementDecade() {
  26642. this.currentYear = this.currentYear + 10;
  26643. },
  26644. switchToMonthView(event) {
  26645. this.currentView = 'month';
  26646. setTimeout(this.updateFocus, 0);
  26647. event.preventDefault();
  26648. },
  26649. switchToYearView(event) {
  26650. this.currentView = 'year';
  26651. setTimeout(this.updateFocus, 0);
  26652. event.preventDefault();
  26653. },
  26654. isEnabled() {
  26655. return !this.$attrs.disabled && !this.$attrs.readonly;
  26656. },
  26657. updateCurrentTimeMeta(date) {
  26658. let currentHour = date.getHours();
  26659. if (this.hourFormat === '12') {
  26660. this.pm = currentHour > 11;
  26661. if (currentHour >= 12)
  26662. currentHour = (currentHour == 12) ? 12 : currentHour - 12;
  26663. else
  26664. currentHour = (currentHour == 0) ? 12 : currentHour;
  26665. }
  26666. this.currentHour = Math.floor(currentHour / this.stepHour) * this.stepHour;
  26667. this.currentMinute = Math.floor(date.getMinutes() / this.stepMinute) * this.stepMinute;
  26668. this.currentSecond = Math.floor(date.getSeconds() / this.stepSecond) * this.stepSecond;
  26669. },
  26670. bindOutsideClickListener() {
  26671. if (!this.outsideClickListener) {
  26672. this.outsideClickListener = (event) => {
  26673. if (this.overlayVisible && this.isOutsideClicked(event)) {
  26674. this.overlayVisible = false;
  26675. }
  26676. };
  26677. document.addEventListener('mousedown', this.outsideClickListener);
  26678. }
  26679. },
  26680. unbindOutsideClickListener() {
  26681. if (this.outsideClickListener) {
  26682. document.removeEventListener('mousedown', this.outsideClickListener);
  26683. this.outsideClickListener = null;
  26684. }
  26685. },
  26686. bindScrollListener() {
  26687. if (!this.scrollHandler) {
  26688. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.container, () => {
  26689. if (this.overlayVisible) {
  26690. this.overlayVisible = false;
  26691. }
  26692. });
  26693. }
  26694. this.scrollHandler.bindScrollListener();
  26695. },
  26696. unbindScrollListener() {
  26697. if (this.scrollHandler) {
  26698. this.scrollHandler.unbindScrollListener();
  26699. }
  26700. },
  26701. bindResizeListener() {
  26702. if (!this.resizeListener) {
  26703. this.resizeListener = () => {
  26704. if (this.overlayVisible) {
  26705. this.overlayVisible = false;
  26706. }
  26707. };
  26708. window.addEventListener('resize', this.resizeListener);
  26709. }
  26710. },
  26711. unbindResizeListener() {
  26712. if (this.resizeListener) {
  26713. window.removeEventListener('resize', this.resizeListener);
  26714. this.resizeListener = null;
  26715. }
  26716. },
  26717. isOutsideClicked(event) {
  26718. return !(this.$el.isSameNode(event.target) || this.isNavIconClicked(event) ||
  26719. this.$el.contains(event.target) || (this.overlay && this.overlay.contains(event.target)));
  26720. },
  26721. isNavIconClicked(event) {
  26722. return (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-prev') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-prev-icon')
  26723. || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-next') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datepicker-next-icon'));
  26724. },
  26725. alignOverlay() {
  26726. if (this.touchUI) {
  26727. this.enableModality();
  26728. }
  26729. else if (this.overlay) {
  26730. if (this.appendDisabled) {
  26731. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, this.$el);
  26732. }
  26733. else {
  26734. if (this.view === 'date') {
  26735. this.overlay.style.width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.overlay) + 'px';
  26736. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  26737. }
  26738. else {
  26739. this.overlay.style.width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  26740. }
  26741. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$el);
  26742. }
  26743. }
  26744. },
  26745. onButtonClick() {
  26746. if (this.isEnabled()) {
  26747. if (!this.overlayVisible) {
  26748. this.input.focus();
  26749. this.overlayVisible = true;
  26750. }
  26751. else {
  26752. this.overlayVisible = false;
  26753. }
  26754. }
  26755. },
  26756. isDateDisabled(day, month, year) {
  26757. if (this.disabledDates) {
  26758. for (let disabledDate of this.disabledDates) {
  26759. if (disabledDate.getFullYear() === year && disabledDate.getMonth() === month && disabledDate.getDate() === day) {
  26760. return true;
  26761. }
  26762. }
  26763. }
  26764. return false;
  26765. },
  26766. isDayDisabled(day, month, year) {
  26767. if (this.disabledDays) {
  26768. let weekday = new Date(year, month, day);
  26769. let weekdayNumber = weekday.getDay();
  26770. return this.disabledDays.indexOf(weekdayNumber) !== -1;
  26771. }
  26772. return false;
  26773. },
  26774. onMonthDropdownChange(value) {
  26775. this.currentMonth = parseInt(value);
  26776. this.$emit('month-change', {month: this.currentMonth + 1, year: this.currentYear});
  26777. },
  26778. onYearDropdownChange(value) {
  26779. this.currentYear = parseInt(value);
  26780. this.$emit('year-change', {month: this.currentMonth + 1, year: this.currentYear});
  26781. },
  26782. onDateSelect(event, dateMeta) {
  26783. if (this.$attrs.disabled || !dateMeta.selectable) {
  26784. return;
  26785. }
  26786. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled)').forEach(cell => cell.tabIndex = -1);
  26787. if (event) {
  26788. event.currentTarget.focus();
  26789. }
  26790. if (this.isMultipleSelection() && this.isSelected(dateMeta)) {
  26791. let newValue = this.modelValue.filter(date => !this.isDateEquals(date, dateMeta));
  26792. this.updateModel(newValue);
  26793. }
  26794. else {
  26795. if (this.shouldSelectDate(dateMeta)) {
  26796. if (dateMeta.otherMonth) {
  26797. this.currentMonth = dateMeta.month;
  26798. this.currentYear = dateMeta.year;
  26799. this.selectDate(dateMeta);
  26800. }
  26801. else {
  26802. this.selectDate(dateMeta);
  26803. }
  26804. }
  26805. }
  26806. if (this.isSingleSelection() && (!this.showTime || this.hideOnDateTimeSelect)) {
  26807. setTimeout(() => {
  26808. this.overlayVisible = false;
  26809. }, 150);
  26810. }
  26811. },
  26812. selectDate(dateMeta) {
  26813. let date = new Date(dateMeta.year, dateMeta.month, dateMeta.day);
  26814. if (this.showTime) {
  26815. if (this.hourFormat === '12' && this.pm && this.currentHour != 12)
  26816. date.setHours(this.currentHour + 12);
  26817. else
  26818. date.setHours(this.currentHour);
  26819. date.setMinutes(this.currentMinute);
  26820. date.setSeconds(this.currentSecond);
  26821. }
  26822. if (this.minDate && this.minDate > date) {
  26823. date = this.minDate;
  26824. this.currentHour = date.getHours();
  26825. this.currentMinute = date.getMinutes();
  26826. this.currentSecond = date.getSeconds();
  26827. }
  26828. if (this.maxDate && this.maxDate < date) {
  26829. date = this.maxDate;
  26830. this.currentHour = date.getHours();
  26831. this.currentMinute = date.getMinutes();
  26832. this.currentSecond = date.getSeconds();
  26833. }
  26834. let modelVal = null;
  26835. if (this.isSingleSelection()) {
  26836. modelVal = date;
  26837. }
  26838. else if (this.isMultipleSelection()) {
  26839. modelVal = this.modelValue ? [...this.modelValue, date] : [date];
  26840. }
  26841. else if (this.isRangeSelection()) {
  26842. if (this.modelValue && this.modelValue.length) {
  26843. let startDate = this.modelValue[0];
  26844. let endDate = this.modelValue[1];
  26845. if (!endDate && date.getTime() >= startDate.getTime()) {
  26846. endDate = date;
  26847. }
  26848. else {
  26849. startDate = date;
  26850. endDate = null;
  26851. }
  26852. modelVal = [startDate, endDate];
  26853. }
  26854. else {
  26855. modelVal = [date, null];
  26856. }
  26857. }
  26858. if (modelVal !== null) {
  26859. this.updateModel(modelVal);
  26860. }
  26861. this.$emit('date-select', date);
  26862. },
  26863. updateModel(value) {
  26864. this.$emit('update:modelValue', value);
  26865. },
  26866. shouldSelectDate() {
  26867. if (this.isMultipleSelection())
  26868. return this.maxDateCount != null ? this.maxDateCount > (this.modelValue ? this.modelValue.length : 0) : true;
  26869. else
  26870. return true;
  26871. },
  26872. isSingleSelection() {
  26873. return this.selectionMode === 'single';
  26874. },
  26875. isRangeSelection() {
  26876. return this.selectionMode === 'range';
  26877. },
  26878. isMultipleSelection() {
  26879. return this.selectionMode === 'multiple';
  26880. },
  26881. formatValue(value) {
  26882. if (typeof value === 'string') {
  26883. return value;
  26884. }
  26885. let formattedValue = '';
  26886. if (value) {
  26887. try {
  26888. if (this.isSingleSelection()) {
  26889. formattedValue = this.formatDateTime(value);
  26890. }
  26891. else if (this.isMultipleSelection()) {
  26892. for(let i = 0; i < value.length; i++) {
  26893. let dateAsString = this.formatDateTime(value[i]);
  26894. formattedValue += dateAsString;
  26895. if(i !== (value.length - 1)) {
  26896. formattedValue += ', ';
  26897. }
  26898. }
  26899. }
  26900. else if (this.isRangeSelection()) {
  26901. if (value && value.length) {
  26902. let startDate = value[0];
  26903. let endDate = value[1];
  26904. formattedValue = this.formatDateTime(startDate);
  26905. if (endDate) {
  26906. formattedValue += ' - ' + this.formatDateTime(endDate);
  26907. }
  26908. }
  26909. }
  26910. }
  26911. catch(err) {
  26912. formattedValue = value;
  26913. }
  26914. }
  26915. return formattedValue;
  26916. },
  26917. formatDateTime(date) {
  26918. let formattedValue = null;
  26919. if (date) {
  26920. if(this.timeOnly) {
  26921. formattedValue = this.formatTime(date);
  26922. }
  26923. else {
  26924. formattedValue = this.formatDate(date, this.datePattern);
  26925. if(this.showTime) {
  26926. formattedValue += ' ' + this.formatTime(date);
  26927. }
  26928. }
  26929. }
  26930. return formattedValue;
  26931. },
  26932. formatDate(date, format) {
  26933. if (!date) {
  26934. return '';
  26935. }
  26936. let iFormat;
  26937. const lookAhead = (match) => {
  26938. const matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
  26939. if (matches) {
  26940. iFormat++;
  26941. }
  26942. return matches;
  26943. },
  26944. formatNumber = (match, value, len) => {
  26945. let num = '' + value;
  26946. if (lookAhead(match)) {
  26947. while (num.length < len) {
  26948. num = '0' + num;
  26949. }
  26950. }
  26951. return num;
  26952. },
  26953. formatName = (match, value, shortNames, longNames) => {
  26954. return (lookAhead(match) ? longNames[value] : shortNames[value]);
  26955. };
  26956. let output = '';
  26957. let literal = false;
  26958. if (date) {
  26959. for (iFormat = 0; iFormat < format.length; iFormat++) {
  26960. if (literal) {
  26961. if (format.charAt(iFormat) === '\'' && !lookAhead('\'')) {
  26962. literal = false;
  26963. } else {
  26964. output += format.charAt(iFormat);
  26965. }
  26966. } else {
  26967. switch (format.charAt(iFormat)) {
  26968. case 'd':
  26969. output += formatNumber('d', date.getDate(), 2);
  26970. break;
  26971. case 'D':
  26972. output += formatName('D', date.getDay(), this.$primevue.config.locale.dayNamesShort, this.$primevue.config.locale.dayNames);
  26973. break;
  26974. case 'o':
  26975. output += formatNumber('o',
  26976. Math.round((
  26977. new Date(date.getFullYear(), date.getMonth(), date.getDate()).getTime() -
  26978. new Date(date.getFullYear(), 0, 0).getTime()) / 86400000), 3);
  26979. break;
  26980. case 'm':
  26981. output += formatNumber('m', date.getMonth() + 1, 2);
  26982. break;
  26983. case 'M':
  26984. output += formatName('M',date.getMonth(), this.$primevue.config.locale.monthNamesShort, this.$primevue.config.locale.monthNames);
  26985. break;
  26986. case 'y':
  26987. output += lookAhead('y') ? date.getFullYear() : (date.getFullYear() % 100 < 10 ? '0' : '') + (date.getFullYear() % 100);
  26988. break;
  26989. case '@':
  26990. output += date.getTime();
  26991. break;
  26992. case '!':
  26993. output += date.getTime() * 10000 + this.ticksTo1970;
  26994. break;
  26995. case '\'':
  26996. if (lookAhead('\'')) {
  26997. output += '\'';
  26998. } else {
  26999. literal = true;
  27000. }
  27001. break;
  27002. default:
  27003. output += format.charAt(iFormat);
  27004. }
  27005. }
  27006. }
  27007. }
  27008. return output;
  27009. },
  27010. formatTime(date) {
  27011. if (!date) {
  27012. return '';
  27013. }
  27014. let output = '';
  27015. let hours = date.getHours();
  27016. let minutes = date.getMinutes();
  27017. let seconds = date.getSeconds();
  27018. if (this.hourFormat === '12' && hours > 11 && hours !== 12) {
  27019. hours -= 12;
  27020. }
  27021. if (this.hourFormat === '12') {
  27022. output += hours === 0 ? 12 : (hours < 10) ? '0' + hours : hours;
  27023. }
  27024. else {
  27025. output += (hours < 10) ? '0' + hours : hours;
  27026. }
  27027. output += ':';
  27028. output += (minutes < 10) ? '0' + minutes : minutes;
  27029. if (this.showSeconds) {
  27030. output += ':';
  27031. output += (seconds < 10) ? '0' + seconds : seconds;
  27032. }
  27033. if (this.hourFormat === '12') {
  27034. output += date.getHours() > 11 ? ' PM' : ' AM';
  27035. }
  27036. return output;
  27037. },
  27038. onTodayButtonClick(event) {
  27039. let date = new Date();
  27040. let dateMeta = {
  27041. day: date.getDate(),
  27042. month: date.getMonth(),
  27043. year: date.getFullYear(),
  27044. otherMonth: date.getMonth() !== this.currentMonth || date.getFullYear() !== this.currentYear,
  27045. today: true,
  27046. selectable: true
  27047. };
  27048. this.onDateSelect(null, dateMeta);
  27049. this.$emit('today-click', date);
  27050. event.preventDefault();
  27051. },
  27052. onClearButtonClick(event) {
  27053. this.updateModel(null);
  27054. this.overlayVisible = false;
  27055. this.$emit('clear-click', event);
  27056. event.preventDefault();
  27057. },
  27058. onTimePickerElementMouseDown(event, type, direction) {
  27059. if (this.isEnabled()) {
  27060. this.repeat(event, null, type, direction);
  27061. event.preventDefault();
  27062. }
  27063. },
  27064. onTimePickerElementMouseUp(event) {
  27065. if (this.isEnabled()) {
  27066. this.clearTimePickerTimer();
  27067. this.updateModelTime();
  27068. event.preventDefault();
  27069. }
  27070. },
  27071. onTimePickerElementMouseLeave() {
  27072. this.clearTimePickerTimer();
  27073. },
  27074. repeat(event, interval, type, direction) {
  27075. let i = interval||500;
  27076. this.clearTimePickerTimer();
  27077. this.timePickerTimer = setTimeout(() => {
  27078. this.repeat(event, 100, type, direction);
  27079. }, i);
  27080. switch(type) {
  27081. case 0:
  27082. if (direction === 1)
  27083. this.incrementHour(event);
  27084. else
  27085. this.decrementHour(event);
  27086. break;
  27087. case 1:
  27088. if (direction === 1)
  27089. this.incrementMinute(event);
  27090. else
  27091. this.decrementMinute(event);
  27092. break;
  27093. case 2:
  27094. if (direction === 1)
  27095. this.incrementSecond(event);
  27096. else
  27097. this.decrementSecond(event);
  27098. break;
  27099. }
  27100. },
  27101. convertTo24Hour(hours, pm) {
  27102. if (this.hourFormat == '12') {
  27103. if (hours === 12) {
  27104. return (pm ? 12 : 0);
  27105. } else {
  27106. return (pm ? hours + 12 : hours);
  27107. }
  27108. }
  27109. return hours;
  27110. },
  27111. validateTime(hour, minute, second, pm) {
  27112. let value = this.isComparable() ? this.modelValue : this.viewDate;
  27113. const convertedHour = this.convertTo24Hour(hour, pm);
  27114. if (this.isRangeSelection()) {
  27115. value = this.modelValue[1] || this.modelValue[0];
  27116. }
  27117. if (this.isMultipleSelection()) {
  27118. value = this.modelValue[this.modelValue.length - 1];
  27119. }
  27120. const valueDateString = value ? value.toDateString() : null;
  27121. if (this.minDate && valueDateString && this.minDate.toDateString() === valueDateString) {
  27122. if (this.minDate.getHours() > convertedHour) {
  27123. return false;
  27124. }
  27125. if (this.minDate.getHours() === convertedHour) {
  27126. if (this.minDate.getMinutes() > minute) {
  27127. return false;
  27128. }
  27129. if (this.minDate.getMinutes() === minute) {
  27130. if (this.minDate.getSeconds() > second) {
  27131. return false;
  27132. }
  27133. }
  27134. }
  27135. }
  27136. if (this.maxDate && valueDateString && this.maxDate.toDateString() === valueDateString) {
  27137. if (this.maxDate.getHours() < convertedHour) {
  27138. return false;
  27139. }
  27140. if (this.maxDate.getHours() === convertedHour) {
  27141. if (this.maxDate.getMinutes() < minute) {
  27142. return false;
  27143. }
  27144. if (this.maxDate.getMinutes() === minute) {
  27145. if (this.maxDate.getSeconds() < second) {
  27146. return false;
  27147. }
  27148. }
  27149. }
  27150. }
  27151. return true;
  27152. },
  27153. incrementHour(event) {
  27154. let prevHour = this.currentHour;
  27155. let newHour = this.currentHour + this.stepHour;
  27156. let newPM = this.pm;
  27157. if (this.hourFormat == '24')
  27158. newHour = (newHour >= 24) ? (newHour - 24) : newHour;
  27159. else if (this.hourFormat == '12') {
  27160. // Before the AM/PM break, now after
  27161. if (prevHour < 12 && newHour > 11) {
  27162. newPM= !this.pm;
  27163. }
  27164. newHour = (newHour >= 13) ? (newHour - 12) : newHour;
  27165. }
  27166. if (this.validateTime(newHour, this.currentMinute, this.currentSecond, newPM)) {
  27167. this.currentHour = newHour;
  27168. this.pm = newPM;
  27169. }
  27170. event.preventDefault();
  27171. },
  27172. decrementHour(event) {
  27173. let newHour = this.currentHour - this.stepHour;
  27174. let newPM = this.pm;
  27175. if (this.hourFormat == '24')
  27176. newHour = (newHour < 0) ? (24 + newHour) : newHour;
  27177. else if (this.hourFormat == '12') {
  27178. // If we were at noon/midnight, then switch
  27179. if (this.currentHour === 12) {
  27180. newPM = !this.pm;
  27181. }
  27182. newHour = (newHour <= 0) ? (12 + newHour) : newHour;
  27183. }
  27184. if (this.validateTime(newHour, this.currentMinute, this.currentSecond, newPM)) {
  27185. this.currentHour = newHour;
  27186. this.pm = newPM;
  27187. }
  27188. event.preventDefault();
  27189. },
  27190. incrementMinute(event) {
  27191. let newMinute = this.currentMinute + this.stepMinute;
  27192. if (this.validateTime(this.currentHour, newMinute, this.currentSecond, true)) {
  27193. this.currentMinute = (newMinute > 59) ? newMinute - 60 : newMinute;
  27194. }
  27195. event.preventDefault();
  27196. },
  27197. decrementMinute(event) {
  27198. let newMinute = this.currentMinute - this.stepMinute;
  27199. newMinute = (newMinute < 0) ? 60 + newMinute : newMinute;
  27200. if (this.validateTime(this.currentHour, newMinute, this.currentSecond, true)) {
  27201. this.currentMinute = newMinute;
  27202. }
  27203. event.preventDefault();
  27204. },
  27205. incrementSecond(event) {
  27206. let newSecond = this.currentSecond + this.stepSecond;
  27207. if (this.validateTime(this.currentHour, this.currentMinute, newSecond, true)) {
  27208. this.currentSecond = (newSecond > 59) ? newSecond - 60 : newSecond;
  27209. }
  27210. event.preventDefault();
  27211. },
  27212. decrementSecond(event) {
  27213. let newSecond = this.currentSecond - this.stepSecond;
  27214. newSecond = (newSecond < 0) ? 60 + newSecond : newSecond;
  27215. if (this.validateTime(this.currentHour, this.currentMinute, newSecond, true)) {
  27216. this.currentSecond = newSecond;
  27217. }
  27218. event.preventDefault();
  27219. },
  27220. updateModelTime() {
  27221. this.timePickerChange = true;
  27222. let value = this.isComparable() ? this.modelValue : this.viewDate;
  27223. if (this.isRangeSelection()) {
  27224. value = this.modelValue[1] || this.modelValue[0];
  27225. }
  27226. if (this.isMultipleSelection()) {
  27227. value = this.modelValue[this.modelValue.length - 1];
  27228. }
  27229. value = value ? new Date(value.getTime()) : new Date();
  27230. if (this.hourFormat == '12') {
  27231. if (this.currentHour === 12)
  27232. value.setHours(this.pm ? 12 : 0);
  27233. else
  27234. value.setHours(this.pm ? this.currentHour + 12 : this.currentHour);
  27235. }
  27236. else {
  27237. value.setHours(this.currentHour);
  27238. }
  27239. value.setMinutes(this.currentMinute);
  27240. value.setSeconds(this.currentSecond);
  27241. if (this.isRangeSelection()) {
  27242. if (this.modelValue[1])
  27243. value = [this.modelValue[0], value];
  27244. else
  27245. value = [value, null];
  27246. }
  27247. if (this.isMultipleSelection()){
  27248. value = [...this.modelValue.slice(0, -1), value];
  27249. }
  27250. this.updateModel(value);
  27251. this.$emit('date-select', value);
  27252. setTimeout(() => this.timePickerChange = false, 0);
  27253. },
  27254. toggleAMPM(event) {
  27255. this.pm = !this.pm;
  27256. this.updateModelTime();
  27257. event.preventDefault();
  27258. },
  27259. clearTimePickerTimer() {
  27260. if (this.timePickerTimer) {
  27261. clearInterval(this.timePickerTimer);
  27262. }
  27263. },
  27264. onMonthSelect(event, index) {
  27265. if (this.view === 'month') {
  27266. this.onDateSelect(event, {year: this.currentYear, month: index, day: 1, selectable: true});
  27267. }
  27268. else {
  27269. this.currentMonth = index;
  27270. this.currentView = 'date';
  27271. this.$emit('month-change', {month: this.currentMonth + 1, year: this.currentYear});
  27272. }
  27273. setTimeout(this.updateFocus, 0);
  27274. },
  27275. onYearSelect(event, year) {
  27276. if (this.view === 'year') {
  27277. this.onDateSelect(event, {year: year, month: 0, day: 1, selectable: true});
  27278. }
  27279. else {
  27280. this.currentYear = year;
  27281. this.currentView = 'month';
  27282. this.$emit('year-change', {month: this.currentMonth + 1, year: this.currentYear});
  27283. }
  27284. setTimeout(this.updateFocus, 0);
  27285. },
  27286. enableModality() {
  27287. if (!this.mask) {
  27288. this.mask = document.createElement('div');
  27289. this.mask.style.zIndex = String(parseInt(this.overlay.style.zIndex, 10) - 1);
  27290. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addMultipleClasses(this.mask, 'p-datepicker-mask p-datepicker-mask-scrollblocker p-component-overlay p-component-overlay-enter');
  27291. this.maskClickListener = () => {
  27292. this.overlayVisible = false;
  27293. };
  27294. this.mask.addEventListener('click', this.maskClickListener);
  27295. document.body.appendChild(this.mask);
  27296. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-overflow-hidden');
  27297. }
  27298. },
  27299. disableModality() {
  27300. if (this.mask) {
  27301. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.mask, 'p-component-overlay-leave');
  27302. this.mask.addEventListener('animationend', () => {
  27303. this.destroyMask();
  27304. });
  27305. }
  27306. },
  27307. destroyMask() {
  27308. this.mask.removeEventListener('click', this.maskClickListener);
  27309. this.maskClickListener = null;
  27310. document.body.removeChild(this.mask);
  27311. this.mask = null;
  27312. let bodyChildren = document.body.children;
  27313. let hasBlockerMasks;
  27314. for (let i = 0; i < bodyChildren.length; i++) {
  27315. let bodyChild = bodyChildren[i];
  27316. if(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(bodyChild, 'p-datepicker-mask-scrollblocker')) {
  27317. hasBlockerMasks = true;
  27318. break;
  27319. }
  27320. }
  27321. if (!hasBlockerMasks) {
  27322. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-overflow-hidden');
  27323. }
  27324. },
  27325. updateCurrentMetaData() {
  27326. const viewDate = this.viewDate;
  27327. this.currentMonth = viewDate.getMonth();
  27328. this.currentYear = viewDate.getFullYear();
  27329. if (this.showTime || this.timeOnly) {
  27330. this.updateCurrentTimeMeta(viewDate);
  27331. }
  27332. },
  27333. isValidSelection(value) {
  27334. if (value == null) {
  27335. return true;
  27336. }
  27337. let isValid = true;
  27338. if (this.isSingleSelection()) {
  27339. if (!this.isSelectable(value.getDate(), value.getMonth(), value.getFullYear(), false)) {
  27340. isValid = false;
  27341. }
  27342. } else if (value.every(v => this.isSelectable(v.getDate(), v.getMonth(), v.getFullYear(), false))) {
  27343. if (this.isRangeSelection()) {
  27344. isValid = value.length > 1 && value[1] > value[0] ? true : false;
  27345. }
  27346. }
  27347. return isValid;
  27348. },
  27349. parseValue(text) {
  27350. if (!text || text.trim().length === 0) {
  27351. return null;
  27352. }
  27353. let value;
  27354. if (this.isSingleSelection()) {
  27355. value = this.parseDateTime(text);
  27356. }
  27357. else if (this.isMultipleSelection()) {
  27358. let tokens = text.split(',');
  27359. value = [];
  27360. for (let token of tokens) {
  27361. value.push(this.parseDateTime(token.trim()));
  27362. }
  27363. }
  27364. else if (this.isRangeSelection()) {
  27365. let tokens = text.split(' - ');
  27366. value = [];
  27367. for (let i = 0; i < tokens.length; i++) {
  27368. value[i] = this.parseDateTime(tokens[i].trim());
  27369. }
  27370. }
  27371. return value;
  27372. },
  27373. parseDateTime(text) {
  27374. let date;
  27375. let parts = text.split(' ');
  27376. if (this.timeOnly) {
  27377. date = new Date();
  27378. this.populateTime(date, parts[0], parts[1]);
  27379. }
  27380. else {
  27381. const dateFormat = this.datePattern;
  27382. if (this.showTime) {
  27383. date = this.parseDate(parts[0], dateFormat);
  27384. this.populateTime(date, parts[1], parts[2]);
  27385. }
  27386. else {
  27387. date = this.parseDate(text, dateFormat);
  27388. }
  27389. }
  27390. return date;
  27391. },
  27392. populateTime(value, timeString, ampm) {
  27393. if (this.hourFormat == '12' && !ampm) {
  27394. throw 'Invalid Time';
  27395. }
  27396. this.pm = (ampm === 'PM' || ampm === 'pm');
  27397. let time = this.parseTime(timeString);
  27398. value.setHours(time.hour);
  27399. value.setMinutes(time.minute);
  27400. value.setSeconds(time.second);
  27401. },
  27402. parseTime(value) {
  27403. let tokens = value.split(':');
  27404. let validTokenLength = this.showSeconds ? 3 : 2;
  27405. let regex = (/^[0-9][0-9]$/);
  27406. if (tokens.length !== validTokenLength || !tokens[0].match(regex) || !tokens[1].match(regex) || (this.showSeconds && !tokens[2].match(regex))) {
  27407. throw "Invalid time";
  27408. }
  27409. let h = parseInt(tokens[0]);
  27410. let m = parseInt(tokens[1]);
  27411. let s = this.showSeconds ? parseInt(tokens[2]) : null;
  27412. if (isNaN(h) || isNaN(m) || h > 23 || m > 59 || (this.hourFormat == '12' && h > 12) || (this.showSeconds && (isNaN(s) || s > 59))) {
  27413. throw "Invalid time";
  27414. }
  27415. else {
  27416. if (this.hourFormat == '12' && h !== 12 && this.pm) {
  27417. h+= 12;
  27418. }
  27419. return {hour: h, minute: m, second: s};
  27420. }
  27421. },
  27422. parseDate(value, format) {
  27423. if (format == null || value == null) {
  27424. throw "Invalid arguments";
  27425. }
  27426. value = (typeof value === "object" ? value.toString() : value + "");
  27427. if (value === "") {
  27428. return null;
  27429. }
  27430. let iFormat, dim, extra,
  27431. iValue = 0,
  27432. shortYearCutoff = (typeof this.shortYearCutoff !== "string" ? this.shortYearCutoff : new Date().getFullYear() % 100 + parseInt(this.shortYearCutoff, 10)),
  27433. year = -1,
  27434. month = -1,
  27435. day = -1,
  27436. doy = -1,
  27437. literal = false,
  27438. date,
  27439. lookAhead = (match) => {
  27440. let matches = (iFormat + 1 < format.length && format.charAt(iFormat + 1) === match);
  27441. if (matches) {
  27442. iFormat++;
  27443. }
  27444. return matches;
  27445. },
  27446. getNumber = (match) => {
  27447. let isDoubled = lookAhead(match),
  27448. size = (match === "@" ? 14 : (match === "!" ? 20 :
  27449. (match === "y" && isDoubled ? 4 : (match === "o" ? 3 : 2)))),
  27450. minSize = (match === "y" ? size : 1),
  27451. digits = new RegExp("^\\d{" + minSize + "," + size + "}"),
  27452. num = value.substring(iValue).match(digits);
  27453. if (!num) {
  27454. throw "Missing number at position " + iValue;
  27455. }
  27456. iValue += num[ 0 ].length;
  27457. return parseInt(num[ 0 ], 10);
  27458. },
  27459. getName = (match, shortNames, longNames) => {
  27460. let index = -1;
  27461. let arr = lookAhead(match) ? longNames : shortNames;
  27462. let names = [];
  27463. for (let i = 0; i < arr.length; i++) {
  27464. names.push([i,arr[i]]);
  27465. }
  27466. names.sort((a,b) => {
  27467. return -(a[ 1 ].length - b[ 1 ].length);
  27468. });
  27469. for (let i = 0; i < names.length; i++) {
  27470. let name = names[i][1];
  27471. if (value.substr(iValue, name.length).toLowerCase() === name.toLowerCase()) {
  27472. index = names[i][0];
  27473. iValue += name.length;
  27474. break;
  27475. }
  27476. }
  27477. if (index !== -1) {
  27478. return index + 1;
  27479. } else {
  27480. throw "Unknown name at position " + iValue;
  27481. }
  27482. },
  27483. checkLiteral = () => {
  27484. if (value.charAt(iValue) !== format.charAt(iFormat)) {
  27485. throw "Unexpected literal at position " + iValue;
  27486. }
  27487. iValue++;
  27488. };
  27489. if (this.currentView === 'month') {
  27490. day = 1;
  27491. }
  27492. for (iFormat = 0; iFormat < format.length; iFormat++) {
  27493. if (literal) {
  27494. if (format.charAt(iFormat) === "'" && !lookAhead("'")) {
  27495. literal = false;
  27496. } else {
  27497. checkLiteral();
  27498. }
  27499. } else {
  27500. switch (format.charAt(iFormat)) {
  27501. case "d":
  27502. day = getNumber("d");
  27503. break;
  27504. case "D":
  27505. getName("D", this.$primevue.config.locale.dayNamesShort, this.$primevue.config.locale.dayNames);
  27506. break;
  27507. case "o":
  27508. doy = getNumber("o");
  27509. break;
  27510. case "m":
  27511. month = getNumber("m");
  27512. break;
  27513. case "M":
  27514. month = getName("M", this.$primevue.config.locale.monthNamesShort, this.$primevue.config.locale.monthNames);
  27515. break;
  27516. case "y":
  27517. year = getNumber("y");
  27518. break;
  27519. case "@":
  27520. date = new Date(getNumber("@"));
  27521. year = date.getFullYear();
  27522. month = date.getMonth() + 1;
  27523. day = date.getDate();
  27524. break;
  27525. case "!":
  27526. date = new Date((getNumber("!") - this.ticksTo1970) / 10000);
  27527. year = date.getFullYear();
  27528. month = date.getMonth() + 1;
  27529. day = date.getDate();
  27530. break;
  27531. case "'":
  27532. if (lookAhead("'")) {
  27533. checkLiteral();
  27534. } else {
  27535. literal = true;
  27536. }
  27537. break;
  27538. default:
  27539. checkLiteral();
  27540. }
  27541. }
  27542. }
  27543. if (iValue < value.length) {
  27544. extra = value.substr(iValue);
  27545. if (!/^\s+/.test(extra)) {
  27546. throw "Extra/unparsed characters found in date: " + extra;
  27547. }
  27548. }
  27549. if (year === -1) {
  27550. year = new Date().getFullYear();
  27551. } else if (year < 100) {
  27552. year += new Date().getFullYear() - new Date().getFullYear() % 100 +
  27553. (year <= shortYearCutoff ? 0 : -100);
  27554. }
  27555. if (doy > -1) {
  27556. month = 1;
  27557. day = doy;
  27558. do {
  27559. dim = this.getDaysCountInMonth(year, month - 1);
  27560. if (day <= dim) {
  27561. break;
  27562. }
  27563. month++;
  27564. day -= dim;
  27565. // eslint-disable-next-line
  27566. } while (true);
  27567. }
  27568. date = this.daylightSavingAdjust(new Date(year, month - 1, day));
  27569. if (date.getFullYear() !== year || date.getMonth() + 1 !== month || date.getDate() !== day) {
  27570. throw "Invalid date"; // E.g. 31/02/00
  27571. }
  27572. return date;
  27573. },
  27574. getWeekNumber(date) {
  27575. let checkDate = new Date(date.getTime());
  27576. checkDate.setDate(checkDate.getDate() + 4 - ( checkDate.getDay() || 7 ));
  27577. let time = checkDate.getTime();
  27578. checkDate.setMonth( 0 );
  27579. checkDate.setDate( 1 );
  27580. return Math.floor( Math.round((time - checkDate.getTime()) / 86400000 ) / 7 ) + 1;
  27581. },
  27582. onDateCellKeydown(event, date, groupIndex) {
  27583. const cellContent = event.currentTarget;
  27584. const cell = cellContent.parentElement;
  27585. switch (event.which) {
  27586. //down arrow
  27587. case 40: {
  27588. cellContent.tabIndex = '-1';
  27589. let cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27590. let nextRow = cell.parentElement.nextElementSibling;
  27591. if (nextRow) {
  27592. let focusCell = nextRow.children[cellIndex].children[0];
  27593. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27594. this.navigationState = {backward: false};
  27595. this.navForward(event);
  27596. }
  27597. else {
  27598. nextRow.children[cellIndex].children[0].tabIndex = '0';
  27599. nextRow.children[cellIndex].children[0].focus();
  27600. }
  27601. }
  27602. else {
  27603. this.navigationState = {backward: false};
  27604. this.navForward(event);
  27605. }
  27606. event.preventDefault();
  27607. break;
  27608. }
  27609. //up arrow
  27610. case 38: {
  27611. cellContent.tabIndex = '-1';
  27612. let cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27613. let prevRow = cell.parentElement.previousElementSibling;
  27614. if (prevRow) {
  27615. let focusCell = prevRow.children[cellIndex].children[0];
  27616. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27617. this.navigationState = {backward: true};
  27618. this.navBackward(event);
  27619. }
  27620. else {
  27621. focusCell.tabIndex = '0';
  27622. focusCell.focus();
  27623. }
  27624. }
  27625. else {
  27626. this.navigationState = {backward: true};
  27627. this.navBackward(event);
  27628. }
  27629. event.preventDefault();
  27630. break;
  27631. }
  27632. //left arrow
  27633. case 37: {
  27634. cellContent.tabIndex = '-1';
  27635. let prevCell = cell.previousElementSibling;
  27636. if (prevCell) {
  27637. let focusCell = prevCell.children[0];
  27638. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27639. this.navigateToMonth(true, groupIndex);
  27640. }
  27641. else {
  27642. focusCell.tabIndex = '0';
  27643. focusCell.focus();
  27644. }
  27645. }
  27646. else {
  27647. this.navigateToMonth(true, groupIndex);
  27648. }
  27649. event.preventDefault();
  27650. break;
  27651. }
  27652. //right arrow
  27653. case 39: {
  27654. cellContent.tabIndex = '-1';
  27655. let nextCell = cell.nextElementSibling;
  27656. if (nextCell) {
  27657. let focusCell = nextCell.children[0];
  27658. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(focusCell, 'p-disabled')) {
  27659. this.navigateToMonth(false, groupIndex);
  27660. }
  27661. else {
  27662. focusCell.tabIndex = '0';
  27663. focusCell.focus();
  27664. }
  27665. }
  27666. else {
  27667. this.navigateToMonth(false, groupIndex);
  27668. }
  27669. event.preventDefault();
  27670. break;
  27671. }
  27672. //enter
  27673. //space
  27674. case 13:
  27675. case 32: {
  27676. this.onDateSelect(event, date);
  27677. event.preventDefault();
  27678. break;
  27679. }
  27680. //escape
  27681. case 27: {
  27682. this.overlayVisible = false;
  27683. event.preventDefault();
  27684. break;
  27685. }
  27686. //tab
  27687. case 9: {
  27688. if (!this.inline) {
  27689. this.trapFocus(event);
  27690. }
  27691. break;
  27692. }
  27693. }
  27694. },
  27695. navigateToMonth(prev, groupIndex) {
  27696. if (prev) {
  27697. if (this.numberOfMonths === 1 || (groupIndex === 0)) {
  27698. this.navigationState = {backward: true};
  27699. this.navBackward(event);
  27700. }
  27701. else {
  27702. let prevMonthContainer = this.overlay.children[groupIndex - 1];
  27703. let cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(prevMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27704. let focusCell = cells[cells.length - 1];
  27705. focusCell.tabIndex = '0';
  27706. focusCell.focus();
  27707. }
  27708. }
  27709. else {
  27710. if (this.numberOfMonths === 1 || (groupIndex === this.numberOfMonths - 1)) {
  27711. this.navigationState = {backward: false};
  27712. this.navForward(event);
  27713. }
  27714. else {
  27715. let nextMonthContainer = this.overlay.children[groupIndex + 1];
  27716. let focusCell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(nextMonthContainer, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27717. focusCell.tabIndex = '0';
  27718. focusCell.focus();
  27719. }
  27720. }
  27721. },
  27722. onMonthCellKeydown(event, index) {
  27723. const cell = event.currentTarget;
  27724. switch (event.which) {
  27725. //arrows
  27726. case 38:
  27727. case 40: {
  27728. cell.tabIndex = '-1';
  27729. var cells = cell.parentElement.children;
  27730. var cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27731. let nextCell = cells[event.which === 40 ? cellIndex + 3 : cellIndex -3];
  27732. if (nextCell) {
  27733. nextCell.tabIndex = '0';
  27734. nextCell.focus();
  27735. }
  27736. event.preventDefault();
  27737. break;
  27738. }
  27739. //left arrow
  27740. case 37: {
  27741. cell.tabIndex = '-1';
  27742. let prevCell = cell.previousElementSibling;
  27743. if (prevCell) {
  27744. prevCell.tabIndex = '0';
  27745. prevCell.focus();
  27746. }
  27747. else {
  27748. this.navigationState = {backward: true};
  27749. this.navBackward(event);
  27750. }
  27751. event.preventDefault();
  27752. break;
  27753. }
  27754. //right arrow
  27755. case 39: {
  27756. cell.tabIndex = '-1';
  27757. let nextCell = cell.nextElementSibling;
  27758. if (nextCell) {
  27759. nextCell.tabIndex = '0';
  27760. nextCell.focus();
  27761. }
  27762. else {
  27763. this.navigationState = {backward: false};
  27764. this.navForward(event);
  27765. }
  27766. event.preventDefault();
  27767. break;
  27768. }
  27769. //enter
  27770. //space
  27771. case 13:
  27772. case 32: {
  27773. this.onMonthSelect(event, index);
  27774. event.preventDefault();
  27775. break;
  27776. }
  27777. //escape
  27778. case 27: {
  27779. this.overlayVisible = false;
  27780. event.preventDefault();
  27781. break;
  27782. }
  27783. //tab
  27784. case 9: {
  27785. this.trapFocus(event);
  27786. break;
  27787. }
  27788. }
  27789. },
  27790. onYearCellKeydown(event, index) {
  27791. const cell = event.currentTarget;
  27792. switch (event.which) {
  27793. //arrows
  27794. case 38:
  27795. case 40: {
  27796. cell.tabIndex = '-1';
  27797. var cells = cell.parentElement.children;
  27798. var cellIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(cell);
  27799. let nextCell = cells[event.which === 40 ? cellIndex + 2 : cellIndex - 2];
  27800. if (nextCell) {
  27801. nextCell.tabIndex = '0';
  27802. nextCell.focus();
  27803. }
  27804. event.preventDefault();
  27805. break;
  27806. }
  27807. //left arrow
  27808. case 37: {
  27809. cell.tabIndex = '-1';
  27810. let prevCell = cell.previousElementSibling;
  27811. if (prevCell) {
  27812. prevCell.tabIndex = '0';
  27813. prevCell.focus();
  27814. }
  27815. else {
  27816. this.navigationState = {backward: true};
  27817. this.navBackward(event);
  27818. }
  27819. event.preventDefault();
  27820. break;
  27821. }
  27822. //right arrow
  27823. case 39: {
  27824. cell.tabIndex = '-1';
  27825. let nextCell = cell.nextElementSibling;
  27826. if (nextCell) {
  27827. nextCell.tabIndex = '0';
  27828. nextCell.focus();
  27829. }
  27830. else {
  27831. this.navigationState = {backward: false};
  27832. this.navForward(event);
  27833. }
  27834. event.preventDefault();
  27835. break;
  27836. }
  27837. //enter
  27838. //space
  27839. case 13:
  27840. case 32: {
  27841. this.onYearSelect(event, index);
  27842. event.preventDefault();
  27843. break;
  27844. }
  27845. //escape
  27846. case 27: {
  27847. this.overlayVisible = false;
  27848. event.preventDefault();
  27849. break;
  27850. }
  27851. //tab
  27852. case 9: {
  27853. this.trapFocus(event);
  27854. break;
  27855. }
  27856. }
  27857. },
  27858. updateFocus() {
  27859. let cell;
  27860. if (this.navigationState) {
  27861. if (this.navigationState.button) {
  27862. this.initFocusableCell();
  27863. if (this.navigationState.backward)
  27864. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-prev').focus();
  27865. else
  27866. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-next').focus();
  27867. }
  27868. else {
  27869. if (this.navigationState.backward) {
  27870. let cells;
  27871. if (this.currentView === 'month') {
  27872. cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
  27873. }
  27874. else if (this.currentView === 'year') {
  27875. cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
  27876. }
  27877. else {
  27878. cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27879. }
  27880. if (cells && cells.length > 0) {
  27881. cell = cells[cells.length - 1];
  27882. }
  27883. }
  27884. else {
  27885. if (this.currentView === 'month') {
  27886. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-monthpicker .p-monthpicker-month:not(.p-disabled)');
  27887. }
  27888. else if (this.currentView === 'year') {
  27889. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-yearpicker .p-yearpicker-year:not(.p-disabled)');
  27890. }
  27891. else {
  27892. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink)');
  27893. }
  27894. }
  27895. if (cell) {
  27896. cell.tabIndex = '0';
  27897. cell.focus();
  27898. }
  27899. }
  27900. this.navigationState = null;
  27901. }
  27902. else {
  27903. this.initFocusableCell();
  27904. }
  27905. },
  27906. initFocusableCell() {
  27907. let cell;
  27908. if (this.currentView === 'month') {
  27909. let cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-monthpicker .p-monthpicker-month');
  27910. let selectedCell= primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-monthpicker .p-monthpicker-month.p-highlight');
  27911. cells.forEach(cell => cell.tabIndex = -1);
  27912. cell = selectedCell || cells[0];
  27913. }
  27914. else if (this.currentView === 'year') {
  27915. let cells = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.overlay, '.p-yearpicker .p-yearpicker-year');
  27916. let selectedCell= primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-yearpicker .p-yearpicker-year.p-highlight');
  27917. cells.forEach(cell => cell.tabIndex = -1);
  27918. cell = selectedCell || cells[0];
  27919. }
  27920. else {
  27921. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, 'span.p-highlight');
  27922. if (!cell) {
  27923. let todayCell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, 'td.p-datepicker-today span:not(.p-disabled):not(.p-ink');
  27924. if (todayCell)
  27925. cell = todayCell;
  27926. else
  27927. cell = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, '.p-datepicker-calendar td span:not(.p-disabled):not(.p-ink');
  27928. }
  27929. }
  27930. if (cell) {
  27931. cell.tabIndex = '0';
  27932. if (!this.preventFocus && (!this.navigationState || !this.navigationState.button) && !this.timePickerChange) {
  27933. cell.focus();
  27934. }
  27935. this.preventFocus = false;
  27936. }
  27937. },
  27938. trapFocus(event) {
  27939. event.preventDefault();
  27940. let focusableElements = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.overlay);
  27941. if (focusableElements && focusableElements.length > 0) {
  27942. if (!document.activeElement) {
  27943. focusableElements[0].focus();
  27944. }
  27945. else {
  27946. let focusedIndex = focusableElements.indexOf(document.activeElement);
  27947. if (event.shiftKey) {
  27948. if (focusedIndex == -1 || focusedIndex === 0)
  27949. focusableElements[focusableElements.length - 1].focus();
  27950. else
  27951. focusableElements[focusedIndex - 1].focus();
  27952. }
  27953. else {
  27954. if (focusedIndex == -1 || focusedIndex === (focusableElements.length - 1))
  27955. focusableElements[0].focus();
  27956. else
  27957. focusableElements[focusedIndex + 1].focus();
  27958. }
  27959. }
  27960. }
  27961. },
  27962. onContainerButtonKeydown(event) {
  27963. switch (event.which) {
  27964. //tab
  27965. case 9:
  27966. this.trapFocus(event);
  27967. break;
  27968. //escape
  27969. case 27:
  27970. this.overlayVisible = false;
  27971. event.preventDefault();
  27972. break;
  27973. }
  27974. this.$emit('keydown', event);
  27975. },
  27976. onInput(event) {
  27977. try {
  27978. this.selectionStart = this.input.selectionStart;
  27979. this.selectionEnd = this.input.selectionEnd;
  27980. let value = this.parseValue(event.target.value);
  27981. if (this.isValidSelection(value)) {
  27982. this.typeUpdate = true;
  27983. this.updateModel(value);
  27984. }
  27985. }
  27986. catch(err) {
  27987. /* NoOp */
  27988. }
  27989. this.$emit('input', event);
  27990. },
  27991. onFocus(event) {
  27992. if (this.showOnFocus && this.isEnabled()) {
  27993. this.overlayVisible = true;
  27994. }
  27995. this.focused = true;
  27996. this.$emit('focus', event);
  27997. },
  27998. onBlur(event) {
  27999. this.$emit('blur', {originalEvent: event, value: this.input.value});
  28000. this.focused = false;
  28001. this.input.value = this.formatValue(this.modelValue);
  28002. },
  28003. onKeyDown() {
  28004. if (event.keyCode === 40 && this.overlay) {
  28005. this.trapFocus(event);
  28006. }
  28007. else if (event.keyCode === 27) {
  28008. if (this.overlayVisible) {
  28009. this.overlayVisible = false;
  28010. event.preventDefault();
  28011. }
  28012. }
  28013. else if (event.keyCode === 9) {
  28014. if (this.overlay) {
  28015. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.overlay).forEach(el => el.tabIndex = '-1');
  28016. }
  28017. if (this.overlayVisible) {
  28018. this.overlayVisible = false;
  28019. }
  28020. }
  28021. },
  28022. overlayRef(el) {
  28023. this.overlay = el;
  28024. },
  28025. inputRef(el) {
  28026. this.input = el;
  28027. },
  28028. getMonthName(index) {
  28029. return this.$primevue.config.locale.monthNames[index];
  28030. },
  28031. getYear(month) {
  28032. return this.currentView === 'month' ? this.currentYear : month.year;
  28033. },
  28034. onOverlayClick(event) {
  28035. if (!this.inline) {
  28036. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  28037. originalEvent: event,
  28038. target: this.$el
  28039. });
  28040. }
  28041. },
  28042. onOverlayMouseUp(event) {
  28043. this.onOverlayClick(event);
  28044. },
  28045. createResponsiveStyle() {
  28046. if (this.numberOfMonths > 1 && this.responsiveOptions) {
  28047. if (!this.responsiveStyleElement) {
  28048. this.responsiveStyleElement = document.createElement('style');
  28049. this.responsiveStyleElement.type = 'text/css';
  28050. document.body.appendChild(this.responsiveStyleElement);
  28051. }
  28052. let innerHTML = '';
  28053. if (this.responsiveOptions) {
  28054. let responsiveOptions = [...this.responsiveOptions]
  28055. .filter(o => !!(o.breakpoint && o.numMonths))
  28056. .sort((o1, o2) => -1 * o1.breakpoint.localeCompare(o2.breakpoint, undefined, { numeric: true }));
  28057. for (let i = 0; i < responsiveOptions.length; i++) {
  28058. let { breakpoint, numMonths } = responsiveOptions[i];
  28059. let styles = `
  28060. .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${numMonths}) .p-datepicker-next {
  28061. display: inline-flex !important;
  28062. }
  28063. `;
  28064. for (let j = numMonths; j < this.numberOfMonths; j++) {
  28065. styles += `
  28066. .p-datepicker[${this.attributeSelector}] .p-datepicker-group:nth-child(${j + 1}) {
  28067. display: none !important;
  28068. }
  28069. `;
  28070. }
  28071. innerHTML += `
  28072. @media screen and (max-width: ${breakpoint}) {
  28073. ${styles}
  28074. }
  28075. `;
  28076. }
  28077. }
  28078. this.responsiveStyleElement.innerHTML = innerHTML;
  28079. }
  28080. },
  28081. destroyResponsiveStyleElement() {
  28082. if (this.responsiveStyleElement) {
  28083. this.responsiveStyleElement.remove();
  28084. this.responsiveStyleElement = null;
  28085. }
  28086. }
  28087. },
  28088. computed: {
  28089. viewDate() {
  28090. let propValue = this.modelValue;
  28091. if (propValue && Array.isArray(propValue)) {
  28092. propValue = propValue[0];
  28093. }
  28094. if (propValue && typeof propValue !== 'string') {
  28095. return propValue;
  28096. }
  28097. else {
  28098. let today = new Date();
  28099. if (this.maxDate && this.maxDate < today) {
  28100. return this.maxDate;
  28101. }
  28102. if (this.minDate && this.minDate > today) {
  28103. return this.minDate;
  28104. }
  28105. return today;
  28106. }
  28107. },
  28108. inputFieldValue() {
  28109. return this.formatValue(this.modelValue);
  28110. },
  28111. containerClass() {
  28112. return [
  28113. 'p-calendar p-component p-inputwrapper', this.class,
  28114. {
  28115. 'p-calendar-w-btn': this.showIcon,
  28116. 'p-calendar-timeonly': this.timeOnly,
  28117. 'p-calendar-disabled': this.$attrs.disabled,
  28118. 'p-inputwrapper-filled': this.modelValue,
  28119. 'p-inputwrapper-focus': this.focused
  28120. }
  28121. ];
  28122. },
  28123. panelStyleClass() {
  28124. return ['p-datepicker p-component', this.panelClass, {
  28125. 'p-datepicker-inline': this.inline,
  28126. 'p-disabled': this.$attrs.disabled,
  28127. 'p-datepicker-timeonly': this.timeOnly,
  28128. 'p-datepicker-multiple-month': this.numberOfMonths > 1,
  28129. 'p-datepicker-monthpicker': (this.currentView === 'month'),
  28130. 'p-datepicker-yearpicker': (this.currentView === 'year'),
  28131. 'p-datepicker-touch-ui': this.touchUI,
  28132. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  28133. 'p-ripple-disabled': this.$primevue.config.ripple === false
  28134. }];
  28135. },
  28136. months() {
  28137. let months = [];
  28138. for (let i = 0 ; i < this.numberOfMonths; i++) {
  28139. let month = this.currentMonth + i;
  28140. let year = this.currentYear;
  28141. if (month > 11) {
  28142. month = month % 11 - 1;
  28143. year = year + 1;
  28144. }
  28145. let dates = [];
  28146. let firstDay = this.getFirstDayOfMonthIndex(month, year);
  28147. let daysLength = this.getDaysCountInMonth(month, year);
  28148. let prevMonthDaysLength = this.getDaysCountInPrevMonth(month, year);
  28149. let dayNo = 1;
  28150. let today = new Date();
  28151. let weekNumbers = [];
  28152. let monthRows = Math.ceil((daysLength + firstDay) / 7);
  28153. for (let i = 0; i < monthRows; i++) {
  28154. let week = [];
  28155. if (i == 0) {
  28156. for (let j = (prevMonthDaysLength - firstDay + 1); j <= prevMonthDaysLength; j++) {
  28157. let prev = this.getPreviousMonthAndYear(month, year);
  28158. week.push({day: j, month: prev.month, year: prev.year, otherMonth: true,
  28159. today: this.isToday(today, j, prev.month, prev.year), selectable: this.isSelectable(j, prev.month, prev.year, true)});
  28160. }
  28161. let remainingDaysLength = 7 - week.length;
  28162. for (let j = 0; j < remainingDaysLength; j++) {
  28163. week.push({day: dayNo, month: month, year: year, today: this.isToday(today, dayNo, month, year),
  28164. selectable: this.isSelectable(dayNo, month, year, false)});
  28165. dayNo++;
  28166. }
  28167. }
  28168. else {
  28169. for (let j = 0; j < 7; j++) {
  28170. if (dayNo > daysLength) {
  28171. let next = this.getNextMonthAndYear(month, year);
  28172. week.push({day: dayNo - daysLength, month: next.month, year: next.year, otherMonth: true,
  28173. today: this.isToday(today, dayNo - daysLength, next.month, next.year),
  28174. selectable: this.isSelectable((dayNo - daysLength), next.month, next.year, true)});
  28175. }
  28176. else {
  28177. week.push({day: dayNo, month: month, year: year, today: this.isToday(today, dayNo, month, year),
  28178. selectable: this.isSelectable(dayNo, month, year, false)});
  28179. }
  28180. dayNo++;
  28181. }
  28182. }
  28183. if (this.showWeek) {
  28184. weekNumbers.push(this.getWeekNumber(new Date(week[0].year, week[0].month, week[0].day)));
  28185. }
  28186. dates.push(week);
  28187. }
  28188. months.push({
  28189. month: month,
  28190. year: year,
  28191. dates: dates,
  28192. weekNumbers: weekNumbers
  28193. });
  28194. }
  28195. return months;
  28196. },
  28197. weekDays() {
  28198. let weekDays = [];
  28199. let dayIndex = this.$primevue.config.locale.firstDayOfWeek;
  28200. for (let i = 0; i < 7; i++) {
  28201. weekDays.push(this.$primevue.config.locale.dayNamesMin[dayIndex]);
  28202. dayIndex = (dayIndex == 6) ? 0 : ++dayIndex;
  28203. }
  28204. return weekDays;
  28205. },
  28206. ticksTo1970() {
  28207. return (((1970 - 1) * 365 + Math.floor(1970 / 4) - Math.floor(1970 / 100) + Math.floor(1970 / 400)) * 24 * 60 * 60 * 10000000);
  28208. },
  28209. sundayIndex() {
  28210. return this.$primevue.config.locale.firstDayOfWeek > 0 ? 7 - this.$primevue.config.locale.firstDayOfWeek : 0;
  28211. },
  28212. datePattern() {
  28213. return this.dateFormat || this.$primevue.config.locale.dateFormat;
  28214. },
  28215. yearOptions() {
  28216. if (this.yearRange) {
  28217. let $vm = this;
  28218. const years = this.yearRange.split(':');
  28219. let yearStart = parseInt(years[0]);
  28220. let yearEnd = parseInt(years[1]);
  28221. let yearOptions = [];
  28222. if (this.currentYear < yearStart) {
  28223. $vm.currentYear = yearEnd;
  28224. }
  28225. else if (this.currentYear > yearEnd) {
  28226. $vm.currentYear = yearStart;
  28227. }
  28228. for (let i = yearStart; i <= yearEnd; i++) {
  28229. yearOptions.push(i);
  28230. }
  28231. return yearOptions;
  28232. }
  28233. else {
  28234. return null;
  28235. }
  28236. },
  28237. monthPickerValues() {
  28238. let monthPickerValues = [];
  28239. for (let i = 0; i <= 11; i++) {
  28240. monthPickerValues.push(this.$primevue.config.locale.monthNamesShort[i]);
  28241. }
  28242. return monthPickerValues;
  28243. },
  28244. yearPickerValues() {
  28245. let yearPickerValues = [];
  28246. let base = this.currentYear - (this.currentYear % 10);
  28247. for (let i = 0; i < 10; i++) {
  28248. yearPickerValues.push(base + i);
  28249. }
  28250. return yearPickerValues;
  28251. },
  28252. formattedCurrentHour() {
  28253. return this.currentHour < 10 ? '0' + this.currentHour : this.currentHour;
  28254. },
  28255. formattedCurrentMinute() {
  28256. return this.currentMinute < 10 ? '0' + this.currentMinute : this.currentMinute;
  28257. },
  28258. formattedCurrentSecond() {
  28259. return this.currentSecond < 10 ? '0' + this.currentSecond : this.currentSecond;
  28260. },
  28261. todayLabel() {
  28262. return this.$primevue.config.locale.today;
  28263. },
  28264. clearLabel() {
  28265. return this.$primevue.config.locale.clear;
  28266. },
  28267. weekHeaderLabel() {
  28268. return this.$primevue.config.locale.weekHeader;
  28269. },
  28270. monthNames() {
  28271. return this.$primevue.config.locale.monthNames;
  28272. },
  28273. appendDisabled() {
  28274. return this.appendTo === 'self' || this.inline;
  28275. },
  28276. appendTarget() {
  28277. return this.appendDisabled ? null : this.appendTo;
  28278. },
  28279. attributeSelector() {
  28280. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  28281. },
  28282. switchViewButtonDisabled() {
  28283. return this.numberOfMonths > 1 || this.$attrs.disabled;
  28284. }
  28285. },
  28286. components: {
  28287. 'CalendarButton': primevue_button__WEBPACK_IMPORTED_MODULE_2__["default"]
  28288. },
  28289. directives: {
  28290. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_3__["default"]
  28291. }
  28292. };
  28293. const _hoisted_1 = { class: "p-datepicker-group-container" };
  28294. const _hoisted_2 = { class: "p-datepicker-header" };
  28295. const _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-datepicker-prev-icon pi pi-chevron-left" }, null, -1);
  28296. const _hoisted_4 = { class: "p-datepicker-title" };
  28297. const _hoisted_5 = {
  28298. key: 2,
  28299. class: "p-datepicker-decade"
  28300. };
  28301. const _hoisted_6 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-datepicker-next-icon pi pi-chevron-right" }, null, -1);
  28302. const _hoisted_7 = {
  28303. key: 0,
  28304. class: "p-datepicker-calendar-container"
  28305. };
  28306. const _hoisted_8 = { class: "p-datepicker-calendar" };
  28307. const _hoisted_9 = {
  28308. key: 0,
  28309. scope: "col",
  28310. class: "p-datepicker-weekheader p-disabled"
  28311. };
  28312. const _hoisted_10 = {
  28313. key: 0,
  28314. class: "p-datepicker-weeknumber"
  28315. };
  28316. const _hoisted_11 = { class: "p-disabled" };
  28317. const _hoisted_12 = {
  28318. key: 0,
  28319. style: {"visibility":"hidden"}
  28320. };
  28321. const _hoisted_13 = {
  28322. key: 0,
  28323. class: "p-monthpicker"
  28324. };
  28325. const _hoisted_14 = {
  28326. key: 1,
  28327. class: "p-yearpicker"
  28328. };
  28329. const _hoisted_15 = {
  28330. key: 1,
  28331. class: "p-timepicker"
  28332. };
  28333. const _hoisted_16 = { class: "p-hour-picker" };
  28334. const _hoisted_17 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28335. const _hoisted_18 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28336. const _hoisted_19 = { class: "p-separator" };
  28337. const _hoisted_20 = { class: "p-minute-picker" };
  28338. const _hoisted_21 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28339. const _hoisted_22 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28340. const _hoisted_23 = {
  28341. key: 0,
  28342. class: "p-separator"
  28343. };
  28344. const _hoisted_24 = {
  28345. key: 1,
  28346. class: "p-second-picker"
  28347. };
  28348. const _hoisted_25 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28349. const _hoisted_26 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28350. const _hoisted_27 = {
  28351. key: 2,
  28352. class: "p-separator"
  28353. };
  28354. const _hoisted_28 = {
  28355. key: 3,
  28356. class: "p-ampm-picker"
  28357. };
  28358. const _hoisted_29 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-up" }, null, -1);
  28359. const _hoisted_30 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-chevron-down" }, null, -1);
  28360. const _hoisted_31 = {
  28361. key: 2,
  28362. class: "p-datepicker-buttonbar"
  28363. };
  28364. function render(_ctx, _cache, $props, $setup, $data, $options) {
  28365. const _component_CalendarButton = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("CalendarButton");
  28366. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDirective)("ripple");
  28367. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  28368. ref: "container",
  28369. class: $options.containerClass,
  28370. style: $props.style
  28371. }, [
  28372. (!$props.inline)
  28373. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("input", (0,vue__WEBPACK_IMPORTED_MODULE_4__.mergeProps)({
  28374. key: 0,
  28375. ref: $options.inputRef,
  28376. type: "text",
  28377. class: ['p-inputtext p-component', $props.inputClass],
  28378. style: $props.inputStyle,
  28379. onInput: _cache[1] || (_cache[1] = (...args) => ($options.onInput && $options.onInput(...args)))
  28380. }, _ctx.$attrs, {
  28381. onFocus: _cache[2] || (_cache[2] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  28382. onBlur: _cache[3] || (_cache[3] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  28383. onKeydown: _cache[4] || (_cache[4] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  28384. readonly: !$props.manualInput,
  28385. inputmode: "none"
  28386. }), null, 16, ["readonly"]))
  28387. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28388. ($props.showIcon)
  28389. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CalendarButton, {
  28390. key: 1,
  28391. icon: $props.icon,
  28392. tabindex: "-1",
  28393. class: "p-datepicker-trigger",
  28394. disabled: _ctx.$attrs.disabled,
  28395. onClick: $options.onButtonClick,
  28396. type: "button",
  28397. "aria-label": $options.inputFieldValue
  28398. }, null, 8, ["icon", "disabled", "onClick", "aria-label"]))
  28399. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28400. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Teleport, {
  28401. to: $options.appendTarget,
  28402. disabled: $options.appendDisabled
  28403. }, [
  28404. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_4__.Transition, {
  28405. name: "p-connected-overlay",
  28406. onEnter: _cache[67] || (_cache[67] = $event => ($options.onOverlayEnter($event))),
  28407. onAfterEnter: $options.onOverlayEnterComplete,
  28408. onAfterLeave: $options.onOverlayAfterLeave,
  28409. onLeave: $options.onOverlayLeave
  28410. }, {
  28411. default: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  28412. ($props.inline ? true : $data.overlayVisible)
  28413. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  28414. key: 0,
  28415. ref: $options.overlayRef,
  28416. class: $options.panelStyleClass,
  28417. role: $props.inline ? null : 'dialog',
  28418. onClick: _cache[65] || (_cache[65] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
  28419. onMouseup: _cache[66] || (_cache[66] = (...args) => ($options.onOverlayMouseUp && $options.onOverlayMouseUp(...args)))
  28420. }, [
  28421. (!$props.timeOnly)
  28422. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 0 }, [
  28423. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_1, [
  28424. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.months, (month, groupIndex) => {
  28425. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  28426. class: "p-datepicker-group",
  28427. key: month.month + month.year
  28428. }, [
  28429. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_2, [
  28430. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "header"),
  28431. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28432. class: "p-datepicker-prev p-link",
  28433. onClick: _cache[5] || (_cache[5] = (...args) => ($options.onPrevButtonClick && $options.onPrevButtonClick(...args))),
  28434. type: "button",
  28435. onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28436. disabled: _ctx.$attrs.disabled
  28437. }, [
  28438. _hoisted_3
  28439. ], 40, ["disabled"]), [
  28440. [vue__WEBPACK_IMPORTED_MODULE_4__.vShow, groupIndex === 0],
  28441. [_directive_ripple]
  28442. ]),
  28443. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_4, [
  28444. ($data.currentView === 'date')
  28445. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  28446. key: 0,
  28447. type: "button",
  28448. onClick: _cache[7] || (_cache[7] = (...args) => ($options.switchToMonthView && $options.switchToMonthView(...args))),
  28449. onKeydown: _cache[8] || (_cache[8] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28450. class: "p-datepicker-month p-link",
  28451. disabled: $options.switchViewButtonDisabled
  28452. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.getMonthName(month.month)), 41, ["disabled"]))
  28453. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28454. ($data.currentView !== 'year')
  28455. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  28456. key: 1,
  28457. type: "button",
  28458. onClick: _cache[9] || (_cache[9] = (...args) => ($options.switchToYearView && $options.switchToYearView(...args))),
  28459. onKeydown: _cache[10] || (_cache[10] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28460. class: "p-datepicker-year p-link",
  28461. disabled: $options.switchViewButtonDisabled
  28462. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.getYear(month)), 41, ["disabled"]))
  28463. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28464. ($data.currentView === 'year')
  28465. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_5, [
  28466. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "decade", { years: $options.yearPickerValues }, () => [
  28467. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.yearPickerValues[0]) + " - " + (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.yearPickerValues[$options.yearPickerValues.length - 1]), 1)
  28468. ])
  28469. ]))
  28470. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28471. ]),
  28472. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28473. class: "p-datepicker-next p-link",
  28474. onClick: _cache[11] || (_cache[11] = (...args) => ($options.onNextButtonClick && $options.onNextButtonClick(...args))),
  28475. type: "button",
  28476. onKeydown: _cache[12] || (_cache[12] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28477. disabled: _ctx.$attrs.disabled
  28478. }, [
  28479. _hoisted_6
  28480. ], 40, ["disabled"]), [
  28481. [vue__WEBPACK_IMPORTED_MODULE_4__.vShow, $props.numberOfMonths === 1 ? true : (groupIndex === $props.numberOfMonths - 1)],
  28482. [_directive_ripple]
  28483. ])
  28484. ]),
  28485. ($data.currentView ==='date')
  28486. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_7, [
  28487. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("table", _hoisted_8, [
  28488. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("thead", null, [
  28489. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("tr", null, [
  28490. ($props.showWeek)
  28491. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", _hoisted_9, [
  28492. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.weekHeaderLabel), 1)
  28493. ]))
  28494. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28495. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.weekDays, (weekDay) => {
  28496. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", {
  28497. scope: "col",
  28498. key: weekDay
  28499. }, [
  28500. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(weekDay), 1)
  28501. ]))
  28502. }), 128))
  28503. ])
  28504. ]),
  28505. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("tbody", null, [
  28506. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)(month.dates, (week, i) => {
  28507. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  28508. key: week[0].day + '' + week[0].month
  28509. }, [
  28510. ($props.showWeek)
  28511. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", _hoisted_10, [
  28512. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", _hoisted_11, [
  28513. (month.weekNumbers[i] < 10)
  28514. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_12, "0"))
  28515. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28516. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)(" " + (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(month.weekNumbers[i]), 1)
  28517. ])
  28518. ]))
  28519. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28520. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)(week, (date) => {
  28521. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  28522. key: date.day + '' + date.month,
  28523. class: {'p-datepicker-other-month': date.otherMonth, 'p-datepicker-today': date.today}
  28524. }, [
  28525. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  28526. class: {'p-highlight': $options.isSelected(date), 'p-disabled': !date.selectable},
  28527. onClick: $event => ($options.onDateSelect($event, date)),
  28528. draggable: "false",
  28529. onKeydown: $event => ($options.onDateCellKeydown($event,date,groupIndex))
  28530. }, [
  28531. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "date", { date: date }, () => [
  28532. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(date.day), 1)
  28533. ])
  28534. ], 42, ["onClick", "onKeydown"]), [
  28535. [_directive_ripple]
  28536. ])
  28537. ], 2))
  28538. }), 128))
  28539. ]))
  28540. }), 128))
  28541. ])
  28542. ])
  28543. ]))
  28544. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28545. ]))
  28546. }), 128))
  28547. ]),
  28548. ($data.currentView === 'month')
  28549. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_13, [
  28550. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.monthPickerValues, (m, i) => {
  28551. return (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  28552. key: m,
  28553. onClick: $event => ($options.onMonthSelect($event, i)),
  28554. onKeydown: $event => ($options.onMonthCellKeydown($event,i)),
  28555. class: ["p-monthpicker-month", {'p-highlight': $options.isMonthSelected(i)}]
  28556. }, [
  28557. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(m), 1)
  28558. ], 42, ["onClick", "onKeydown"])), [
  28559. [_directive_ripple]
  28560. ])
  28561. }), 128))
  28562. ]))
  28563. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28564. ($data.currentView === 'year')
  28565. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_14, [
  28566. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.yearPickerValues, (y) => {
  28567. return (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  28568. key: y,
  28569. onClick: $event => ($options.onYearSelect($event, y)),
  28570. onKeydown: $event => ($options.onYearCellKeydown($event,y)),
  28571. class: ["p-yearpicker-year", {'p-highlight': $options.isYearSelected(y)}]
  28572. }, [
  28573. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(y), 1)
  28574. ], 42, ["onClick", "onKeydown"])), [
  28575. [_directive_ripple]
  28576. ])
  28577. }), 128))
  28578. ]))
  28579. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28580. ], 64))
  28581. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28582. (($props.showTime||$props.timeOnly) && $data.currentView === 'date')
  28583. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_15, [
  28584. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_16, [
  28585. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28586. class: "p-link",
  28587. onMousedown: _cache[13] || (_cache[13] = $event => ($options.onTimePickerElementMouseDown($event, 0, 1))),
  28588. onMouseup: _cache[14] || (_cache[14] = $event => ($options.onTimePickerElementMouseUp($event))),
  28589. onKeydown: [
  28590. _cache[15] || (_cache[15] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28591. _cache[17] || (_cache[17] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, 1)), ["enter"])),
  28592. _cache[18] || (_cache[18] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, 1)), ["space"]))
  28593. ],
  28594. onMouseleave: _cache[16] || (_cache[16] = $event => ($options.onTimePickerElementMouseLeave())),
  28595. onKeyup: [
  28596. _cache[19] || (_cache[19] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28597. _cache[20] || (_cache[20] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28598. ],
  28599. type: "button"
  28600. }, [
  28601. _hoisted_17
  28602. ], 544), [
  28603. [_directive_ripple]
  28604. ]),
  28605. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.formattedCurrentHour), 1),
  28606. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28607. class: "p-link",
  28608. onMousedown: _cache[21] || (_cache[21] = $event => ($options.onTimePickerElementMouseDown($event, 0, -1))),
  28609. onMouseup: _cache[22] || (_cache[22] = $event => ($options.onTimePickerElementMouseUp($event))),
  28610. onKeydown: [
  28611. _cache[23] || (_cache[23] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28612. _cache[25] || (_cache[25] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, -1)), ["enter"])),
  28613. _cache[26] || (_cache[26] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 0, -1)), ["space"]))
  28614. ],
  28615. onMouseleave: _cache[24] || (_cache[24] = $event => ($options.onTimePickerElementMouseLeave())),
  28616. onKeyup: [
  28617. _cache[27] || (_cache[27] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28618. _cache[28] || (_cache[28] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28619. ],
  28620. type: "button"
  28621. }, [
  28622. _hoisted_18
  28623. ], 544), [
  28624. [_directive_ripple]
  28625. ])
  28626. ]),
  28627. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_19, [
  28628. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($props.timeSeparator), 1)
  28629. ]),
  28630. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_20, [
  28631. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28632. class: "p-link",
  28633. onMousedown: _cache[29] || (_cache[29] = $event => ($options.onTimePickerElementMouseDown($event, 1, 1))),
  28634. onMouseup: _cache[30] || (_cache[30] = $event => ($options.onTimePickerElementMouseUp($event))),
  28635. onKeydown: [
  28636. _cache[31] || (_cache[31] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28637. _cache[33] || (_cache[33] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, 1)), ["enter"])),
  28638. _cache[34] || (_cache[34] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, 1)), ["space"]))
  28639. ],
  28640. disabled: _ctx.$attrs.disabled,
  28641. onMouseleave: _cache[32] || (_cache[32] = $event => ($options.onTimePickerElementMouseLeave())),
  28642. onKeyup: [
  28643. _cache[35] || (_cache[35] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28644. _cache[36] || (_cache[36] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28645. ],
  28646. type: "button"
  28647. }, [
  28648. _hoisted_21
  28649. ], 40, ["disabled"]), [
  28650. [_directive_ripple]
  28651. ]),
  28652. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.formattedCurrentMinute), 1),
  28653. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28654. class: "p-link",
  28655. onMousedown: _cache[37] || (_cache[37] = $event => ($options.onTimePickerElementMouseDown($event, 1, -1))),
  28656. onMouseup: _cache[38] || (_cache[38] = $event => ($options.onTimePickerElementMouseUp($event))),
  28657. onKeydown: [
  28658. _cache[39] || (_cache[39] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28659. _cache[41] || (_cache[41] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, -1)), ["enter"])),
  28660. _cache[42] || (_cache[42] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 1, -1)), ["space"]))
  28661. ],
  28662. disabled: _ctx.$attrs.disabled,
  28663. onMouseleave: _cache[40] || (_cache[40] = $event => ($options.onTimePickerElementMouseLeave())),
  28664. onKeyup: [
  28665. _cache[43] || (_cache[43] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28666. _cache[44] || (_cache[44] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28667. ],
  28668. type: "button"
  28669. }, [
  28670. _hoisted_22
  28671. ], 40, ["disabled"]), [
  28672. [_directive_ripple]
  28673. ])
  28674. ]),
  28675. ($props.showSeconds)
  28676. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_23, [
  28677. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($props.timeSeparator), 1)
  28678. ]))
  28679. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28680. ($props.showSeconds)
  28681. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_24, [
  28682. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28683. class: "p-link",
  28684. onMousedown: _cache[45] || (_cache[45] = $event => ($options.onTimePickerElementMouseDown($event, 2, 1))),
  28685. onMouseup: _cache[46] || (_cache[46] = $event => ($options.onTimePickerElementMouseUp($event))),
  28686. onKeydown: [
  28687. _cache[47] || (_cache[47] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28688. _cache[49] || (_cache[49] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, 1)), ["enter"])),
  28689. _cache[50] || (_cache[50] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, 1)), ["space"]))
  28690. ],
  28691. disabled: _ctx.$attrs.disabled,
  28692. onMouseleave: _cache[48] || (_cache[48] = $event => ($options.onTimePickerElementMouseLeave())),
  28693. onKeyup: [
  28694. _cache[51] || (_cache[51] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28695. _cache[52] || (_cache[52] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28696. ],
  28697. type: "button"
  28698. }, [
  28699. _hoisted_25
  28700. ], 40, ["disabled"]), [
  28701. [_directive_ripple]
  28702. ]),
  28703. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.formattedCurrentSecond), 1),
  28704. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28705. class: "p-link",
  28706. onMousedown: _cache[53] || (_cache[53] = $event => ($options.onTimePickerElementMouseDown($event, 2, -1))),
  28707. onMouseup: _cache[54] || (_cache[54] = $event => ($options.onTimePickerElementMouseUp($event))),
  28708. onKeydown: [
  28709. _cache[55] || (_cache[55] = (...args) => ($options.onContainerButtonKeydown && $options.onContainerButtonKeydown(...args))),
  28710. _cache[57] || (_cache[57] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, -1)), ["enter"])),
  28711. _cache[58] || (_cache[58] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseDown($event, 2, -1)), ["space"]))
  28712. ],
  28713. disabled: _ctx.$attrs.disabled,
  28714. onMouseleave: _cache[56] || (_cache[56] = $event => ($options.onTimePickerElementMouseLeave())),
  28715. onKeyup: [
  28716. _cache[59] || (_cache[59] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["enter"])),
  28717. _cache[60] || (_cache[60] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => ($options.onTimePickerElementMouseUp($event)), ["space"]))
  28718. ],
  28719. type: "button"
  28720. }, [
  28721. _hoisted_26
  28722. ], 40, ["disabled"]), [
  28723. [_directive_ripple]
  28724. ])
  28725. ]))
  28726. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28727. ($props.hourFormat=='12')
  28728. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_27, [
  28729. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($props.timeSeparator), 1)
  28730. ]))
  28731. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28732. ($props.hourFormat=='12')
  28733. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_28, [
  28734. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28735. class: "p-link",
  28736. onClick: _cache[61] || (_cache[61] = $event => ($options.toggleAMPM($event))),
  28737. type: "button",
  28738. disabled: _ctx.$attrs.disabled
  28739. }, [
  28740. _hoisted_29
  28741. ], 8, ["disabled"]), [
  28742. [_directive_ripple]
  28743. ]),
  28744. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($data.pm ? 'PM' : 'AM'), 1),
  28745. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("button", {
  28746. class: "p-link",
  28747. onClick: _cache[62] || (_cache[62] = $event => ($options.toggleAMPM($event))),
  28748. type: "button",
  28749. disabled: _ctx.$attrs.disabled
  28750. }, [
  28751. _hoisted_30
  28752. ], 8, ["disabled"]), [
  28753. [_directive_ripple]
  28754. ])
  28755. ]))
  28756. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28757. ]))
  28758. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28759. ($props.showButtonBar)
  28760. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_31, [
  28761. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CalendarButton, {
  28762. type: "button",
  28763. label: $options.todayLabel,
  28764. onClick: _cache[63] || (_cache[63] = $event => ($options.onTodayButtonClick($event))),
  28765. class: "p-button-text",
  28766. onKeydown: $options.onContainerButtonKeydown
  28767. }, null, 8, ["label", "onKeydown"]),
  28768. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CalendarButton, {
  28769. type: "button",
  28770. label: $options.clearLabel,
  28771. onClick: _cache[64] || (_cache[64] = $event => ($options.onClearButtonClick($event))),
  28772. class: "p-button-text",
  28773. onKeydown: $options.onContainerButtonKeydown
  28774. }, null, 8, ["label", "onKeydown"])
  28775. ]))
  28776. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  28777. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "footer")
  28778. ], 42, ["role"]))
  28779. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  28780. ]),
  28781. _: 3
  28782. }, 8, ["onAfterEnter", "onAfterLeave", "onLeave"])
  28783. ], 8, ["to", "disabled"]))
  28784. ], 6))
  28785. }
  28786. function styleInject(css, ref) {
  28787. if ( ref === void 0 ) ref = {};
  28788. var insertAt = ref.insertAt;
  28789. if (!css || typeof document === 'undefined') { return; }
  28790. var head = document.head || document.getElementsByTagName('head')[0];
  28791. var style = document.createElement('style');
  28792. style.type = 'text/css';
  28793. if (insertAt === 'top') {
  28794. if (head.firstChild) {
  28795. head.insertBefore(style, head.firstChild);
  28796. } else {
  28797. head.appendChild(style);
  28798. }
  28799. } else {
  28800. head.appendChild(style);
  28801. }
  28802. if (style.styleSheet) {
  28803. style.styleSheet.cssText = css;
  28804. } else {
  28805. style.appendChild(document.createTextNode(css));
  28806. }
  28807. }
  28808. var css_248z = "\n.p-calendar {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n max-width: 100%;\n}\n.p-calendar .p-inputtext {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-calendar-w-btn .p-inputtext {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-calendar-w-btn .p-datepicker-trigger {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n/* Fluid */\n.p-fluid .p-calendar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-calendar .p-inputtext {\n width: 1%;\n}\n\n/* Datepicker */\n.p-calendar .p-datepicker {\n min-width: 100%;\n}\n.p-datepicker {\n\twidth: auto;\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-datepicker-inline {\n display: inline-block;\n position: static;\n overflow-x: auto;\n}\n\n/* Header */\n.p-datepicker-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.p-datepicker-header .p-datepicker-title {\n margin: 0 auto;\n}\n.p-datepicker-prev,\n.p-datepicker-next {\n cursor: pointer;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Multiple Month DatePicker */\n.p-datepicker-multiple-month .p-datepicker-group-container {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-datepicker-multiple-month .p-datepicker-group-container .p-datepicker-group {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n\n/* DatePicker Table */\n.p-datepicker table {\n\twidth: 100%;\n\tborder-collapse: collapse;\n}\n.p-datepicker td > span {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n margin: 0 auto;\n overflow: hidden;\n position: relative;\n}\n\n/* Month Picker */\n.p-monthpicker-month {\n width: 33.3%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n\n/* Year Picker */\n.p-yearpicker-year {\n width: 50%;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n\n/* Button Bar */\n.p-datepicker-buttonbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n\n/* Time Picker */\n.p-timepicker {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-timepicker button {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n cursor: pointer;\n overflow: hidden;\n position: relative;\n}\n.p-timepicker > div {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n/* Touch UI */\n.p-datepicker-touch-ui,\n.p-calendar .p-datepicker-touch-ui {\n position: fixed;\n top: 50%;\n left: 50%;\n min-width: 80vw;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n}\n";
  28809. styleInject(css_248z);
  28810. script.render = render;
  28811. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  28812. /***/ }),
  28813. /***/ "./node_modules/primevue/card/card.esm.js":
  28814. /*!************************************************!*\
  28815. !*** ./node_modules/primevue/card/card.esm.js ***!
  28816. \************************************************/
  28817. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  28818. "use strict";
  28819. __webpack_require__.r(__webpack_exports__);
  28820. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  28821. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  28822. /* harmony export */ });
  28823. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  28824. var script = {
  28825. name: 'Card'
  28826. };
  28827. const _hoisted_1 = { class: "p-card p-component" };
  28828. const _hoisted_2 = {
  28829. key: 0,
  28830. class: "p-card-header"
  28831. };
  28832. const _hoisted_3 = { class: "p-card-body" };
  28833. const _hoisted_4 = {
  28834. key: 0,
  28835. class: "p-card-title"
  28836. };
  28837. const _hoisted_5 = {
  28838. key: 1,
  28839. class: "p-card-subtitle"
  28840. };
  28841. const _hoisted_6 = { class: "p-card-content" };
  28842. const _hoisted_7 = {
  28843. key: 2,
  28844. class: "p-card-footer"
  28845. };
  28846. function render(_ctx, _cache, $props, $setup, $data, $options) {
  28847. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_1, [
  28848. (_ctx.$slots.header)
  28849. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_2, [
  28850. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "header")
  28851. ]))
  28852. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  28853. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", _hoisted_3, [
  28854. (_ctx.$slots.title)
  28855. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_4, [
  28856. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "title")
  28857. ]))
  28858. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  28859. (_ctx.$slots.subtitle)
  28860. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_5, [
  28861. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "subtitle")
  28862. ]))
  28863. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  28864. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", _hoisted_6, [
  28865. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "content")
  28866. ]),
  28867. (_ctx.$slots.footer)
  28868. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_7, [
  28869. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "footer")
  28870. ]))
  28871. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  28872. ])
  28873. ]))
  28874. }
  28875. function styleInject(css, ref) {
  28876. if ( ref === void 0 ) ref = {};
  28877. var insertAt = ref.insertAt;
  28878. if (!css || typeof document === 'undefined') { return; }
  28879. var head = document.head || document.getElementsByTagName('head')[0];
  28880. var style = document.createElement('style');
  28881. style.type = 'text/css';
  28882. if (insertAt === 'top') {
  28883. if (head.firstChild) {
  28884. head.insertBefore(style, head.firstChild);
  28885. } else {
  28886. head.appendChild(style);
  28887. }
  28888. } else {
  28889. head.appendChild(style);
  28890. }
  28891. if (style.styleSheet) {
  28892. style.styleSheet.cssText = css;
  28893. } else {
  28894. style.appendChild(document.createTextNode(css));
  28895. }
  28896. }
  28897. var css_248z = "\n.p-card-header img {\n width: 100%;\n}\n";
  28898. styleInject(css_248z);
  28899. script.render = render;
  28900. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  28901. /***/ }),
  28902. /***/ "./node_modules/primevue/column/column.esm.js":
  28903. /*!****************************************************!*\
  28904. !*** ./node_modules/primevue/column/column.esm.js ***!
  28905. \****************************************************/
  28906. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  28907. "use strict";
  28908. __webpack_require__.r(__webpack_exports__);
  28909. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  28910. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  28911. /* harmony export */ });
  28912. var script = {
  28913. name: 'Column',
  28914. props: {
  28915. columnKey: {
  28916. type: null,
  28917. default: null
  28918. },
  28919. field: {
  28920. type: [String, Function],
  28921. default: null
  28922. },
  28923. sortField: {
  28924. type: [String, Function],
  28925. default: null
  28926. },
  28927. filterField: {
  28928. type: [String, Function],
  28929. default: null
  28930. },
  28931. dataType: {
  28932. type: String,
  28933. default: 'text'
  28934. },
  28935. sortable: {
  28936. type: Boolean,
  28937. default: false
  28938. },
  28939. header: {
  28940. type: null,
  28941. default: null
  28942. },
  28943. footer: {
  28944. type: null,
  28945. default: null
  28946. },
  28947. style: {
  28948. type: null,
  28949. default: null
  28950. },
  28951. class: {
  28952. type: String,
  28953. default: null
  28954. },
  28955. headerStyle: {
  28956. type: null,
  28957. default: null
  28958. },
  28959. headerClass: {
  28960. type: String,
  28961. default: null
  28962. },
  28963. bodyStyle: {
  28964. type: null,
  28965. default: null
  28966. },
  28967. bodyClass: {
  28968. type: String,
  28969. default: null
  28970. },
  28971. footerStyle: {
  28972. type: null,
  28973. default: null
  28974. },
  28975. footerClass: {
  28976. type: String,
  28977. default: null
  28978. },
  28979. showFilterMenu: {
  28980. type: Boolean,
  28981. default: true
  28982. },
  28983. showFilterOperator: {
  28984. type: Boolean,
  28985. default: true
  28986. },
  28987. showClearButton: {
  28988. type: Boolean,
  28989. default: true
  28990. },
  28991. showApplyButton: {
  28992. type: Boolean,
  28993. default: true
  28994. },
  28995. showFilterMatchModes: {
  28996. type: Boolean,
  28997. default: true
  28998. },
  28999. showAddButton: {
  29000. type: Boolean,
  29001. default: true
  29002. },
  29003. filterMatchModeOptions: {
  29004. type: Array,
  29005. default: null
  29006. },
  29007. maxConstraints: {
  29008. type: Number,
  29009. default: 2
  29010. },
  29011. excludeGlobalFilter: {
  29012. type: Boolean,
  29013. default: false
  29014. },
  29015. filterHeaderClass: {
  29016. type: String,
  29017. default: null
  29018. },
  29019. filterHeaderStyle: {
  29020. type: null,
  29021. default: null
  29022. },
  29023. filterMenuClass: {
  29024. type: String,
  29025. default: null
  29026. },
  29027. filterMenuStyle: {
  29028. type: null,
  29029. default: null
  29030. },
  29031. selectionMode: {
  29032. type: String,
  29033. default: null
  29034. },
  29035. expander: {
  29036. type: Boolean,
  29037. default: false
  29038. },
  29039. colspan: {
  29040. type: Number,
  29041. default: null
  29042. },
  29043. rowspan: {
  29044. type: Number,
  29045. default: null
  29046. },
  29047. rowReorder: {
  29048. type: Boolean,
  29049. default: false
  29050. },
  29051. rowReorderIcon: {
  29052. type: String,
  29053. default: 'pi pi-bars'
  29054. },
  29055. reorderableColumn: {
  29056. type: Boolean,
  29057. default: true
  29058. },
  29059. rowEditor: {
  29060. type: Boolean,
  29061. default: false
  29062. },
  29063. frozen: {
  29064. type: Boolean,
  29065. default: false
  29066. },
  29067. alignFrozen: {
  29068. type: String,
  29069. default: 'left'
  29070. },
  29071. exportable: {
  29072. type: Boolean,
  29073. default: true
  29074. },
  29075. exportHeader: {
  29076. type: String,
  29077. default: null
  29078. },
  29079. filterMatchMode: {
  29080. type: String,
  29081. default: null
  29082. },
  29083. hidden: {
  29084. type: Boolean,
  29085. default: false
  29086. }
  29087. },
  29088. render() {
  29089. return null;
  29090. }
  29091. };
  29092. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  29093. /***/ }),
  29094. /***/ "./node_modules/primevue/config/config.esm.js":
  29095. /*!****************************************************!*\
  29096. !*** ./node_modules/primevue/config/config.esm.js ***!
  29097. \****************************************************/
  29098. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  29099. "use strict";
  29100. __webpack_require__.r(__webpack_exports__);
  29101. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  29102. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__),
  29103. /* harmony export */ "usePrimeVue": () => (/* binding */ usePrimeVue)
  29104. /* harmony export */ });
  29105. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  29106. /* harmony import */ var primevue_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/api */ "./node_modules/primevue/api/api.esm.js");
  29107. const defaultOptions = {
  29108. ripple: false,
  29109. inputStyle: 'outlined',
  29110. locale: {
  29111. startsWith: 'Starts with',
  29112. contains: 'Contains',
  29113. notContains: 'Not contains',
  29114. endsWith: 'Ends with',
  29115. equals: 'Equals',
  29116. notEquals: 'Not equals',
  29117. noFilter: 'No Filter',
  29118. lt: 'Less than',
  29119. lte: 'Less than or equal to',
  29120. gt: 'Greater than',
  29121. gte: 'Greater than or equal to',
  29122. dateIs: 'Date is',
  29123. dateIsNot: 'Date is not',
  29124. dateBefore: 'Date is before',
  29125. dateAfter: 'Date is after',
  29126. clear: 'Clear',
  29127. apply: 'Apply',
  29128. matchAll: 'Match All',
  29129. matchAny: 'Match Any',
  29130. addRule: 'Add Rule',
  29131. removeRule: 'Remove Rule',
  29132. accept: 'Yes',
  29133. reject: 'No',
  29134. choose: 'Choose',
  29135. upload: 'Upload',
  29136. cancel: 'Cancel',
  29137. dayNames: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
  29138. dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
  29139. dayNamesMin: ["Su","Mo","Tu","We","Th","Fr","Sa"],
  29140. monthNames: ["January","February","March","April","May","June","July","August","September","October","November","December"],
  29141. monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun","Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
  29142. today: 'Today',
  29143. weekHeader: 'Wk',
  29144. firstDayOfWeek: 0,
  29145. dateFormat: 'mm/dd/yy',
  29146. weak: 'Weak',
  29147. medium: 'Medium',
  29148. strong: 'Strong',
  29149. passwordPrompt: 'Enter a password',
  29150. emptyFilterMessage: 'No results found',
  29151. emptyMessage: 'No available options'
  29152. },
  29153. filterMatchModeOptions: {
  29154. text: [
  29155. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.STARTS_WITH,
  29156. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.CONTAINS,
  29157. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.NOT_CONTAINS,
  29158. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.ENDS_WITH,
  29159. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.EQUALS,
  29160. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.NOT_EQUALS
  29161. ],
  29162. numeric: [
  29163. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.EQUALS,
  29164. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.NOT_EQUALS,
  29165. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.LESS_THAN,
  29166. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.LESS_THAN_OR_EQUAL_TO,
  29167. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.GREATER_THAN,
  29168. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.GREATER_THAN_OR_EQUAL_TO
  29169. ],
  29170. date: [
  29171. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_IS,
  29172. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_IS_NOT,
  29173. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_BEFORE,
  29174. primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.DATE_AFTER
  29175. ]
  29176. },
  29177. zIndex: {
  29178. modal: 1100,
  29179. overlay: 1000,
  29180. menu: 1000,
  29181. tooltip: 1100
  29182. }
  29183. };
  29184. const PrimeVueSymbol = Symbol();
  29185. function usePrimeVue() {
  29186. const PrimeVue = (0,vue__WEBPACK_IMPORTED_MODULE_0__.inject)(PrimeVueSymbol);
  29187. if (!PrimeVue) {
  29188. throw new Error('PrimeVue is not installed!');
  29189. }
  29190. return PrimeVue;
  29191. }
  29192. var PrimeVue = {
  29193. install: (app, options) => {
  29194. let configOptions = options ? {...defaultOptions, ...options} : {...defaultOptions};
  29195. const PrimeVue = {
  29196. config: (0,vue__WEBPACK_IMPORTED_MODULE_0__.reactive)(configOptions)
  29197. };
  29198. app.config.globalProperties.$primevue = PrimeVue;
  29199. app.provide(PrimeVueSymbol, PrimeVue);
  29200. }
  29201. };
  29202. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PrimeVue);
  29203. /***/ }),
  29204. /***/ "./node_modules/primevue/datatable/datatable.esm.js":
  29205. /*!**********************************************************!*\
  29206. !*** ./node_modules/primevue/datatable/datatable.esm.js ***!
  29207. \**********************************************************/
  29208. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  29209. "use strict";
  29210. __webpack_require__.r(__webpack_exports__);
  29211. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  29212. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  29213. /* harmony export */ });
  29214. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  29215. /* harmony import */ var primevue_api__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/api */ "./node_modules/primevue/api/api.esm.js");
  29216. /* harmony import */ var primevue_paginator__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/paginator */ "./node_modules/primevue/paginator/paginator.esm.js");
  29217. /* harmony import */ var primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/virtualscroller */ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js");
  29218. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  29219. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  29220. /* harmony import */ var primevue_dropdown__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! primevue/dropdown */ "./node_modules/primevue/dropdown/dropdown.esm.js");
  29221. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  29222. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  29223. var script$a = {
  29224. name: 'HeaderCheckbox',
  29225. inheritAttrs: false,
  29226. emits: ['change'],
  29227. props: {
  29228. checked: null
  29229. },
  29230. data() {
  29231. return {
  29232. focused: false
  29233. };
  29234. },
  29235. methods: {
  29236. onClick(event) {
  29237. if (!this.$attrs.disabled) {
  29238. this.focused = true;
  29239. this.$emit('change', {
  29240. originalEvent: event,
  29241. checked: !this.checked
  29242. });
  29243. }
  29244. },
  29245. onFocus() {
  29246. this.focused = true;
  29247. },
  29248. onBlur() {
  29249. this.focused = false;
  29250. }
  29251. }
  29252. };
  29253. function render$a(_ctx, _cache, $props, $setup, $data, $options) {
  29254. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  29255. class: ['p-checkbox p-component', {'p-checkbox-focused': $data.focused}],
  29256. onClick: _cache[3] || (_cache[3] = (...args) => ($options.onClick && $options.onClick(...args))),
  29257. onKeydown: _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"]))
  29258. }, [
  29259. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  29260. ref: "box",
  29261. class: ['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
  29262. role: "checkbox",
  29263. "aria-checked": $props.checked,
  29264. tabindex: _ctx.$attrs.disabled ? null : '0',
  29265. onFocus: _cache[1] || (_cache[1] = $event => ($options.onFocus($event))),
  29266. onBlur: _cache[2] || (_cache[2] = $event => ($options.onBlur($event)))
  29267. }, [
  29268. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  29269. class: ['p-checkbox-icon', {'pi pi-check': $props.checked}]
  29270. }, null, 2)
  29271. ], 42, ["aria-checked", "tabindex"])
  29272. ], 34))
  29273. }
  29274. script$a.render = render$a;
  29275. var script$9 = {
  29276. name: 'ColumnFilter',
  29277. emits: ['filter-change','filter-apply','operator-change','matchmode-change','constraint-add','constraint-remove','filter-clear','apply-click'],
  29278. props: {
  29279. field: {
  29280. type: String,
  29281. default: null
  29282. },
  29283. type: {
  29284. type: String,
  29285. default: 'text'
  29286. },
  29287. display: {
  29288. type: String,
  29289. default: null
  29290. },
  29291. showMenu: {
  29292. type: Boolean,
  29293. default: true
  29294. },
  29295. matchMode: {
  29296. type: String,
  29297. default: null
  29298. },
  29299. showOperator: {
  29300. type: Boolean,
  29301. default: true
  29302. },
  29303. showClearButton: {
  29304. type: Boolean,
  29305. default: true
  29306. },
  29307. showApplyButton: {
  29308. type: Boolean,
  29309. default: true
  29310. },
  29311. showMatchModes: {
  29312. type: Boolean,
  29313. default: true
  29314. },
  29315. showAddButton: {
  29316. type: Boolean,
  29317. default: true
  29318. },
  29319. matchModeOptions: {
  29320. type: Array,
  29321. default: null
  29322. },
  29323. maxConstraints: {
  29324. type: Number,
  29325. default: 2
  29326. },
  29327. filterElement: null,
  29328. filterHeaderTemplate: null,
  29329. filterFooterTemplate: null,
  29330. filterClearTemplate: null,
  29331. filterApplyTemplate: null,
  29332. filters: {
  29333. type: Object,
  29334. default: null
  29335. },
  29336. filtersStore: {
  29337. type: Object,
  29338. default: null
  29339. },
  29340. filterMenuClass: {
  29341. type: String,
  29342. default: null
  29343. },
  29344. filterMenuStyle: {
  29345. type: null,
  29346. default: null
  29347. }
  29348. },
  29349. data() {
  29350. return {
  29351. overlayVisible: false,
  29352. defaultMatchMode: null,
  29353. defaultOperator: null
  29354. }
  29355. },
  29356. overlay: null,
  29357. selfClick: false,
  29358. overlayEventListener: null,
  29359. beforeUnmount() {
  29360. if (this.overlayEventListener) {
  29361. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  29362. this.overlayEventListener = null;
  29363. }
  29364. if (this.overlay) {
  29365. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  29366. this.onOverlayHide();
  29367. }
  29368. },
  29369. mounted() {
  29370. if (this.filters && this.filters[this.field]) {
  29371. let fieldFilters = this.filters[this.field];
  29372. if (fieldFilters.operator) {
  29373. this.defaultMatchMode = fieldFilters.constraints[0].matchMode;
  29374. this.defaultOperator = fieldFilters.operator;
  29375. }
  29376. else {
  29377. this.defaultMatchMode = this.filters[this.field].matchMode;
  29378. }
  29379. }
  29380. },
  29381. methods: {
  29382. clearFilter() {
  29383. let _filters = {...this.filters};
  29384. if (_filters[this.field].operator) {
  29385. _filters[this.field].constraints.splice(1);
  29386. _filters[this.field].operator = this.defaultOperator;
  29387. _filters[this.field].constraints[0] = {value: null, matchMode: this.defaultMatchMode};
  29388. }
  29389. else {
  29390. _filters[this.field].value = null;
  29391. _filters[this.field].matchMode = this.defaultMatchMode;
  29392. }
  29393. this.$emit('filter-clear');
  29394. this.$emit('filter-change', _filters);
  29395. this.$emit('filter-apply');
  29396. this.hide();
  29397. },
  29398. applyFilter() {
  29399. this.$emit('apply-click', {field: this.field, constraints: this.filters[this.field]});
  29400. this.$emit('filter-apply');
  29401. this.hide();
  29402. },
  29403. hasFilter() {
  29404. if (this.filtersStore) {
  29405. let fieldFilter = this.filtersStore[this.field];
  29406. if (fieldFilter) {
  29407. if (fieldFilter.operator)
  29408. return !this.isFilterBlank(fieldFilter.constraints[0].value);
  29409. else
  29410. return !this.isFilterBlank(fieldFilter.value);
  29411. }
  29412. }
  29413. return false;
  29414. },
  29415. hasRowFilter() {
  29416. return this.filters[this.field] && !this.isFilterBlank(this.filters[this.field].value);
  29417. },
  29418. isFilterBlank(filter) {
  29419. if (filter !== null && filter !== undefined) {
  29420. if ((typeof filter === 'string' && filter.trim().length == 0) || (filter instanceof Array && filter.length == 0))
  29421. return true;
  29422. else
  29423. return false;
  29424. }
  29425. return true;
  29426. },
  29427. toggleMenu() {
  29428. this.overlayVisible = !this.overlayVisible;
  29429. },
  29430. onToggleButtonKeyDown(event) {
  29431. switch(event.key) {
  29432. case 'Escape':
  29433. case 'Tab':
  29434. this.overlayVisible = false;
  29435. break;
  29436. case 'ArrowDown':
  29437. if (this.overlayVisible) {
  29438. let focusable = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.overlay);
  29439. if (focusable) {
  29440. focusable[0].focus();
  29441. }
  29442. event.preventDefault();
  29443. }
  29444. else if (event.altKey) {
  29445. this.overlayVisible = true;
  29446. event.preventDefault();
  29447. }
  29448. break;
  29449. }
  29450. },
  29451. onEscape() {
  29452. this.overlayVisible = false;
  29453. if (this.$refs.icon) {
  29454. this.$refs.icon.focus();
  29455. }
  29456. },
  29457. onRowMatchModeChange(matchMode) {
  29458. let _filters = {...this.filters};
  29459. _filters[this.field].matchMode = matchMode;
  29460. this.$emit('matchmode-change', {field: this.field, matchMode: matchMode});
  29461. this.$emit('filter-change', _filters);
  29462. this.$emit('filter-apply');
  29463. this.hide();
  29464. },
  29465. onRowMatchModeKeyDown(event) {
  29466. let item = event.target;
  29467. switch(event.key) {
  29468. case 'ArrowDown':
  29469. var nextItem = this.findNextItem(item);
  29470. if (nextItem) {
  29471. item.removeAttribute('tabindex');
  29472. nextItem.tabIndex = '0';
  29473. nextItem.focus();
  29474. }
  29475. event.preventDefault();
  29476. break;
  29477. case 'ArrowUp':
  29478. var prevItem = this.findPrevItem(item);
  29479. if (prevItem) {
  29480. item.removeAttribute('tabindex');
  29481. prevItem.tabIndex = '0';
  29482. prevItem.focus();
  29483. }
  29484. event.preventDefault();
  29485. break;
  29486. }
  29487. },
  29488. isRowMatchModeSelected(matchMode) {
  29489. return (this.filters[this.field]).matchMode === matchMode;
  29490. },
  29491. onOperatorChange(value) {
  29492. let _filters = {...this.filters};
  29493. _filters[this.field].operator = value;
  29494. this.$emit('filter-change', _filters);
  29495. this.$emit('operator-change', {field: this.field, operator: value});
  29496. if (!this.showApplyButton) {
  29497. this.$emit('filter-apply');
  29498. }
  29499. },
  29500. onMenuMatchModeChange(value, index) {
  29501. let _filters = {...this.filters};
  29502. _filters[this.field].constraints[index].matchMode = value;
  29503. this.$emit('matchmode-change', {field: this.field, matchMode: value, index: index});
  29504. if (!this.showApplyButton) {
  29505. this.$emit('filter-apply');
  29506. }
  29507. },
  29508. addConstraint() {
  29509. let _filters = {...this.filters};
  29510. let newConstraint = {value: null, matchMode: this.defaultMatchMode};
  29511. _filters[this.field].constraints.push(newConstraint);
  29512. this.$emit('constraint-add', {field: this.field, constraing: newConstraint});
  29513. this.$emit('filter-change', _filters);
  29514. if (!this.showApplyButton) {
  29515. this.$emit('filter-apply');
  29516. }
  29517. },
  29518. removeConstraint(index) {
  29519. let _filters = {...this.filters};
  29520. let removedConstraint = _filters[this.field].constraints.splice(index, 1);
  29521. this.$emit('constraint-remove', {field: this.field, constraing: removedConstraint});
  29522. this.$emit('filter-change', _filters);
  29523. if (!this.showApplyButton) {
  29524. this.$emit('filter-apply');
  29525. }
  29526. },
  29527. filterCallback() {
  29528. this.$emit('filter-apply');
  29529. },
  29530. findNextItem(item) {
  29531. let nextItem = item.nextElementSibling;
  29532. if (nextItem)
  29533. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextItem, 'p-column-filter-separator') ? this.findNextItem(nextItem) : nextItem;
  29534. else
  29535. return item.parentElement.firstElementChild;
  29536. },
  29537. findPrevItem(item) {
  29538. let prevItem = item.previousElementSibling;
  29539. if (prevItem)
  29540. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevItem, 'p-column-filter-separator') ? this.findPrevItem(prevItem) : prevItem;
  29541. else
  29542. return item.parentElement.lastElementChild;
  29543. },
  29544. hide() {
  29545. this.overlayVisible = false;
  29546. },
  29547. onContentClick(event) {
  29548. this.selfClick = true;
  29549. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].emit('overlay-click', {
  29550. originalEvent: event,
  29551. target: this.overlay
  29552. });
  29553. },
  29554. onContentMouseDown() {
  29555. this.selfClick = true;
  29556. },
  29557. onOverlayEnter(el) {
  29558. if (this.filterMenuStyle) {
  29559. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.applyStyle(this.overlay, this.filterMenuStyle);
  29560. }
  29561. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  29562. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$refs.icon);
  29563. this.bindOutsideClickListener();
  29564. this.bindScrollListener();
  29565. this.bindResizeListener();
  29566. this.overlayEventListener = (e) => {
  29567. if (!this.isOutsideClicked(e.target)) {
  29568. this.selfClick = true;
  29569. }
  29570. };
  29571. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].on('overlay-click', this.overlayEventListener);
  29572. },
  29573. onOverlayLeave() {
  29574. this.onOverlayHide();
  29575. },
  29576. onOverlayAfterLeave(el) {
  29577. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  29578. },
  29579. onOverlayHide() {
  29580. this.unbindOutsideClickListener();
  29581. this.unbindResizeListener();
  29582. this.unbindScrollListener();
  29583. this.overlay = null;
  29584. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  29585. this.overlayEventListener = null;
  29586. },
  29587. overlayRef(el) {
  29588. this.overlay = el;
  29589. },
  29590. isOutsideClicked(target) {
  29591. return !this.isTargetClicked(target) && this.overlay && !(this.overlay.isSameNode(target) || this.overlay.contains(target));
  29592. },
  29593. isTargetClicked(target) {
  29594. return this.$refs.icon && (this.$refs.icon.isSameNode(target) || this.$refs.icon.contains(target));
  29595. },
  29596. bindOutsideClickListener() {
  29597. if (!this.outsideClickListener) {
  29598. this.outsideClickListener = (event) => {
  29599. if (this.overlayVisible && !this.selfClick && this.isOutsideClicked(event.target)) {
  29600. this.overlayVisible = false;
  29601. }
  29602. this.selfClick = false;
  29603. };
  29604. document.addEventListener('click', this.outsideClickListener);
  29605. }
  29606. },
  29607. unbindOutsideClickListener() {
  29608. if (this.outsideClickListener) {
  29609. document.removeEventListener('click', this.outsideClickListener);
  29610. this.outsideClickListener = null;
  29611. this.selfClick = false;
  29612. }
  29613. },
  29614. bindScrollListener() {
  29615. if (!this.scrollHandler) {
  29616. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.icon, () => {
  29617. if (this.overlayVisible) {
  29618. this.hide();
  29619. }
  29620. });
  29621. }
  29622. this.scrollHandler.bindScrollListener();
  29623. },
  29624. unbindScrollListener() {
  29625. if (this.scrollHandler) {
  29626. this.scrollHandler.unbindScrollListener();
  29627. }
  29628. },
  29629. bindResizeListener() {
  29630. if (!this.resizeListener) {
  29631. this.resizeListener = () => {
  29632. if (this.overlayVisible) {
  29633. this.hide();
  29634. }
  29635. };
  29636. window.addEventListener('resize', this.resizeListener);
  29637. }
  29638. },
  29639. unbindResizeListener() {
  29640. if (this.resizeListener) {
  29641. window.removeEventListener('resize', this.resizeListener);
  29642. this.resizeListener = null;
  29643. }
  29644. }
  29645. },
  29646. computed: {
  29647. containerClass() {
  29648. return ['p-column-filter p-fluid', {
  29649. 'p-column-filter-row': this.display === 'row',
  29650. 'p-column-filter-menu': this.display === 'menu'
  29651. }];
  29652. },
  29653. overlayClass() {
  29654. return [this.filterMenuClass, {
  29655. 'p-column-filter-overlay p-component p-fluid': true,
  29656. 'p-column-filter-overlay-menu': this.display === 'menu',
  29657. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  29658. 'p-ripple-disabled': this.$primevue.config.ripple === false
  29659. }];
  29660. },
  29661. showMenuButton() {
  29662. return this.showMenu && (this.display === 'row' ? this.type !== 'boolean': true);
  29663. },
  29664. matchModes() {
  29665. return this.matchModeOptions ||
  29666. this.$primevue.config.filterMatchModeOptions[this.type].map(key => {
  29667. return {label: this.$primevue.config.locale[key], value: key}
  29668. });
  29669. },
  29670. isShowMatchModes() {
  29671. return this.type !== 'boolean' && this.showMatchModes && this.matchModes;
  29672. },
  29673. operatorOptions() {
  29674. return [
  29675. {label: this.$primevue.config.locale.matchAll, value: primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.AND},
  29676. {label: this.$primevue.config.locale.matchAny, value: primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.OR}
  29677. ];
  29678. },
  29679. noFilterLabel() {
  29680. return this.$primevue.config.locale.noFilter;
  29681. },
  29682. isShowOperator() {
  29683. return this.showOperator && this.filters[this.field].operator;
  29684. },
  29685. operator() {
  29686. return this.filters[this.field].operator;
  29687. },
  29688. fieldConstraints() {
  29689. return this.filters[this.field].constraints || [this.filters[this.field]];
  29690. },
  29691. showRemoveIcon() {
  29692. return this.fieldConstraints.length > 1;
  29693. },
  29694. removeRuleButtonLabel() {
  29695. return this.$primevue.config.locale.removeRule;
  29696. },
  29697. addRuleButtonLabel() {
  29698. return this.$primevue.config.locale.addRule;
  29699. },
  29700. isShowAddConstraint() {
  29701. return this.showAddButton && this.filters[this.field].operator && (this.fieldConstraints && this.fieldConstraints.length < this.maxConstraints);
  29702. },
  29703. clearButtonLabel() {
  29704. return this.$primevue.config.locale.clear;
  29705. },
  29706. applyButtonLabel() {
  29707. return this.$primevue.config.locale.apply;
  29708. }
  29709. },
  29710. components: {
  29711. 'CFDropdown': primevue_dropdown__WEBPACK_IMPORTED_MODULE_6__["default"],
  29712. 'CFButton': primevue_button__WEBPACK_IMPORTED_MODULE_7__["default"]
  29713. }
  29714. };
  29715. const _hoisted_1$7 = {
  29716. key: 0,
  29717. class: "p-fluid p-column-filter-element"
  29718. };
  29719. const _hoisted_2$5 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-filter-icon pi-filter" }, null, -1);
  29720. const _hoisted_3$4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "pi pi-filter-slash" }, null, -1);
  29721. const _hoisted_4$2 = {
  29722. key: 0,
  29723. class: "p-column-filter-row-items"
  29724. };
  29725. const _hoisted_5$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("li", { class: "p-column-filter-separator" }, null, -1);
  29726. const _hoisted_6$1 = {
  29727. key: 0,
  29728. class: "p-column-filter-operator"
  29729. };
  29730. const _hoisted_7 = { class: "p-column-filter-constraints" };
  29731. const _hoisted_8 = {
  29732. key: 1,
  29733. class: "p-column-filter-add-rule"
  29734. };
  29735. const _hoisted_9 = { class: "p-column-filter-buttonbar" };
  29736. function render$9(_ctx, _cache, $props, $setup, $data, $options) {
  29737. const _component_CFDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("CFDropdown");
  29738. const _component_CFButton = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("CFButton");
  29739. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", { class: $options.containerClass }, [
  29740. ($props.display === 'row')
  29741. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_1$7, [
  29742. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterElement), {
  29743. field: $props.field,
  29744. filterModel: $props.filters[$props.field],
  29745. filterCallback: $options.filterCallback
  29746. }, null, 8, ["field", "filterModel", "filterCallback"]))
  29747. ]))
  29748. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29749. ($options.showMenuButton)
  29750. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  29751. key: 1,
  29752. ref: "icon",
  29753. type: "button",
  29754. class: ["p-column-filter-menu-button p-link", {'p-column-filter-menu-button-open': $data.overlayVisible, 'p-column-filter-menu-button-active': $options.hasFilter()}],
  29755. "aria-haspopup": "true",
  29756. "aria-expanded": $data.overlayVisible,
  29757. onClick: _cache[1] || (_cache[1] = $event => ($options.toggleMenu())),
  29758. onKeydown: _cache[2] || (_cache[2] = $event => ($options.onToggleButtonKeyDown($event)))
  29759. }, [
  29760. _hoisted_2$5
  29761. ], 42, ["aria-expanded"]))
  29762. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29763. ($props.showClearButton && $props.display === 'row')
  29764. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  29765. key: 2,
  29766. class: [{'p-hidden-space': !$options.hasRowFilter()}, "p-column-filter-clear-button p-link"],
  29767. type: "button",
  29768. onClick: _cache[3] || (_cache[3] = $event => ($options.clearFilter()))
  29769. }, [
  29770. _hoisted_3$4
  29771. ], 2))
  29772. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29773. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Teleport, { to: "body" }, [
  29774. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_4__.Transition, {
  29775. name: "p-connected-overlay",
  29776. onEnter: $options.onOverlayEnter,
  29777. onLeave: $options.onOverlayLeave,
  29778. onAfterLeave: $options.onOverlayAfterLeave
  29779. }, {
  29780. default: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  29781. ($data.overlayVisible)
  29782. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  29783. key: 0,
  29784. ref: $options.overlayRef,
  29785. class: $options.overlayClass,
  29786. onKeydown: _cache[12] || (_cache[12] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((...args) => ($options.onEscape && $options.onEscape(...args)), ["escape"])),
  29787. onClick: _cache[13] || (_cache[13] = (...args) => ($options.onContentClick && $options.onContentClick(...args))),
  29788. onMousedown: _cache[14] || (_cache[14] = (...args) => ($options.onContentMouseDown && $options.onContentMouseDown(...args)))
  29789. }, [
  29790. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterHeaderTemplate), {
  29791. field: $props.field,
  29792. filterModel: $props.filters[$props.field],
  29793. filterCallback: $options.filterCallback
  29794. }, null, 8, ["field", "filterModel", "filterCallback"])),
  29795. ($props.display === 'row')
  29796. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("ul", _hoisted_4$2, [
  29797. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.matchModes, (matchMode, i) => {
  29798. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("li", {
  29799. class: ["p-column-filter-row-item", {'p-highlight': $options.isRowMatchModeSelected(matchMode.value)}],
  29800. key: matchMode.label,
  29801. onClick: $event => ($options.onRowMatchModeChange(matchMode.value)),
  29802. onKeydown: [
  29803. _cache[4] || (_cache[4] = $event => ($options.onRowMatchModeKeyDown($event))),
  29804. (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)($event => ($options.onRowMatchModeChange(matchMode.value)), ["prevent"]), ["enter"])
  29805. ],
  29806. tabindex: i === 0 ? '0' : null
  29807. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)(matchMode.label), 43, ["onClick", "onKeydown", "tabindex"]))
  29808. }), 128)),
  29809. _hoisted_5$1,
  29810. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("li", {
  29811. class: "p-column-filter-row-item",
  29812. onClick: _cache[5] || (_cache[5] = $event => ($options.clearFilter())),
  29813. onKeydown: [
  29814. _cache[6] || (_cache[6] = $event => ($options.onRowMatchModeKeyDown($event))),
  29815. _cache[7] || (_cache[7] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)($event => (_ctx.onRowClearItemClick()), ["enter"]))
  29816. ]
  29817. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.noFilterLabel), 33)
  29818. ]))
  29819. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 1 }, [
  29820. ($options.isShowOperator)
  29821. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_6$1, [
  29822. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CFDropdown, {
  29823. options: $options.operatorOptions,
  29824. modelValue: $options.operator,
  29825. "onUpdate:modelValue": _cache[8] || (_cache[8] = $event => ($options.onOperatorChange($event))),
  29826. class: "p-column-filter-operator-dropdown",
  29827. optionLabel: "label",
  29828. optionValue: "value"
  29829. }, null, 8, ["options", "modelValue"])
  29830. ]))
  29831. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29832. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_7, [
  29833. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.fieldConstraints, (fieldConstraint, i) => {
  29834. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  29835. key: i,
  29836. class: "p-column-filter-constraint"
  29837. }, [
  29838. ($options.isShowMatchModes)
  29839. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFDropdown, {
  29840. key: 0,
  29841. options: $options.matchModes,
  29842. modelValue: fieldConstraint.matchMode,
  29843. optionLabel: "label",
  29844. optionValue: "value",
  29845. "onUpdate:modelValue": $event => ($options.onMenuMatchModeChange($event, i)),
  29846. class: "p-column-filter-matchmode-dropdown"
  29847. }, null, 8, ["options", "modelValue", "onUpdate:modelValue"]))
  29848. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29849. ($props.display === 'menu')
  29850. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterElement), {
  29851. key: 1,
  29852. field: $props.field,
  29853. filterModel: fieldConstraint,
  29854. filterCallback: $options.filterCallback
  29855. }, null, 8, ["field", "filterModel", "filterCallback"]))
  29856. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29857. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", null, [
  29858. ($options.showRemoveIcon)
  29859. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFButton, {
  29860. key: 0,
  29861. type: "button",
  29862. icon: "pi pi-trash",
  29863. class: "p-column-filter-remove-button p-button-text p-button-danger p-button-sm",
  29864. onClick: $event => ($options.removeConstraint(i)),
  29865. label: $options.removeRuleButtonLabel
  29866. }, null, 8, ["onClick", "label"]))
  29867. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  29868. ])
  29869. ]))
  29870. }), 128))
  29871. ]),
  29872. ($options.isShowAddConstraint)
  29873. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_8, [
  29874. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_CFButton, {
  29875. type: "button",
  29876. label: $options.addRuleButtonLabel,
  29877. icon: "pi pi-plus",
  29878. class: "p-column-filter-add-button p-button-text p-button-sm",
  29879. onClick: _cache[9] || (_cache[9] = $event => ($options.addConstraint()))
  29880. }, null, 8, ["label"])
  29881. ]))
  29882. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  29883. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_9, [
  29884. (!$props.filterClearTemplate && $props.showClearButton)
  29885. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFButton, {
  29886. key: 0,
  29887. type: "button",
  29888. class: "p-button-outlined p-button-sm",
  29889. onClick: _cache[10] || (_cache[10] = $event => ($options.clearFilter())),
  29890. label: $options.clearButtonLabel
  29891. }, null, 8, ["label"]))
  29892. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterClearTemplate), {
  29893. key: 1,
  29894. field: $props.field,
  29895. filterModel: $props.filters[$props.field],
  29896. filterCallback: $options.clearFilter
  29897. }, null, 8, ["field", "filterModel", "filterCallback"])),
  29898. ($props.showApplyButton)
  29899. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 2 }, [
  29900. (!$props.filterApplyTemplate)
  29901. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_CFButton, {
  29902. key: 0,
  29903. type: "button",
  29904. class: "p-button-sm",
  29905. onClick: _cache[11] || (_cache[11] = $event => ($options.applyFilter())),
  29906. label: $options.applyButtonLabel
  29907. }, null, 8, ["label"]))
  29908. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterApplyTemplate), {
  29909. key: 1,
  29910. field: $props.field,
  29911. filterModel: $props.filters[$props.field],
  29912. filterCallback: $options.applyFilter
  29913. }, null, 8, ["field", "filterModel", "filterCallback"]))
  29914. ], 64))
  29915. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  29916. ])
  29917. ], 64)),
  29918. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.filterFooterTemplate), {
  29919. field: $props.field,
  29920. filterModel: $props.filters[$props.field],
  29921. filterCallback: $options.filterCallback
  29922. }, null, 8, ["field", "filterModel", "filterCallback"]))
  29923. ], 34))
  29924. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  29925. ]),
  29926. _: 1
  29927. }, 8, ["onEnter", "onLeave", "onAfterLeave"])
  29928. ]))
  29929. ], 2))
  29930. }
  29931. script$9.render = render$9;
  29932. var script$8 = {
  29933. name: 'HeaderCell',
  29934. emits: ['column-click', 'column-mousedown', 'column-dragstart', 'column-dragover', 'column-dragleave', 'column-drop',
  29935. 'column-resizestart', 'checkbox-change', 'filter-change', 'filter-apply',
  29936. 'operator-change', 'matchmode-change', 'constraint-add', 'constraint-remove', 'filter-clear', 'apply-click'],
  29937. props: {
  29938. column: {
  29939. type: Object,
  29940. default: null
  29941. },
  29942. resizableColumns: {
  29943. type: Boolean,
  29944. default: false
  29945. },
  29946. groupRowsBy: {
  29947. type: [Array,String],
  29948. default: null
  29949. },
  29950. sortMode: {
  29951. type: String,
  29952. default: 'single'
  29953. },
  29954. groupRowSortField: {
  29955. type: [String, Function],
  29956. default: null
  29957. },
  29958. sortField: {
  29959. type: [String, Function],
  29960. default: null
  29961. },
  29962. sortOrder: {
  29963. type: Number,
  29964. default: null
  29965. },
  29966. multiSortMeta: {
  29967. type: Array,
  29968. default: null
  29969. },
  29970. allRowsSelected: {
  29971. type: Boolean,
  29972. default: false
  29973. },
  29974. empty: {
  29975. type: Boolean,
  29976. default: false
  29977. },
  29978. filterDisplay: {
  29979. type: String,
  29980. default: null
  29981. },
  29982. filters: {
  29983. type: Object,
  29984. default: null
  29985. },
  29986. filtersStore: {
  29987. type: Object,
  29988. default: null
  29989. },
  29990. filterColumn: {
  29991. type: Boolean,
  29992. default: false
  29993. }
  29994. },
  29995. data() {
  29996. return {
  29997. styleObject: {}
  29998. }
  29999. },
  30000. mounted() {
  30001. if (this.columnProp('frozen')) {
  30002. this.updateStickyPosition();
  30003. }
  30004. },
  30005. updated() {
  30006. if (this.columnProp('frozen')) {
  30007. this.updateStickyPosition();
  30008. }
  30009. },
  30010. methods: {
  30011. columnProp(prop) {
  30012. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(this.column, prop);
  30013. },
  30014. onClick(event) {
  30015. this.$emit('column-click', {originalEvent: event, column: this.column});
  30016. },
  30017. onKeyDown(event) {
  30018. if (event.which === 13 && event.currentTarget.nodeName === 'TH' && primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.currentTarget, 'p-sortable-column')) {
  30019. this.$emit('column-click', {originalEvent: event, column: this.column});
  30020. }
  30021. },
  30022. onMouseDown(event) {
  30023. this.$emit('column-mousedown', {originalEvent: event, column: this.column});
  30024. },
  30025. onDragStart(event) {
  30026. this.$emit('column-dragstart', event);
  30027. },
  30028. onDragOver(event) {
  30029. this.$emit('column-dragover', event);
  30030. },
  30031. onDragLeave(event) {
  30032. this.$emit('column-dragleave', event);
  30033. },
  30034. onDrop(event) {
  30035. this.$emit('column-drop', event);
  30036. },
  30037. onResizeStart(event) {
  30038. this.$emit('column-resizestart', event);
  30039. },
  30040. getMultiSortMetaIndex() {
  30041. return this.multiSortMeta.findIndex(meta => (meta.field === this.columnProp('field') || meta.field === this.columnProp('sortField')));
  30042. },
  30043. getBadgeValue() {
  30044. let index = this.getMultiSortMetaIndex();
  30045. return (this.groupRowsBy && this.groupRowsBy === this.groupRowSortField) && index > -1 ? index : index + 1;
  30046. },
  30047. isMultiSorted() {
  30048. return this.sortMode === 'multiple' && this.columnProp('sortable') && this.getMultiSortMetaIndex() > -1
  30049. },
  30050. isColumnSorted() {
  30051. return this.sortMode === 'single' ? (this.sortField && (this.sortField === this.columnProp('field') || this.sortField === this.columnProp('sortField'))) : this.isMultiSorted();
  30052. },
  30053. updateStickyPosition() {
  30054. if (this.columnProp('frozen')) {
  30055. let align = this.columnProp('alignFrozen');
  30056. if (align === 'right') {
  30057. let right = 0;
  30058. let next = this.$el.nextElementSibling;
  30059. if (next) {
  30060. right = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(next) + parseFloat(next.style.right || 0);
  30061. }
  30062. this.styleObject.right = right + 'px';
  30063. }
  30064. else {
  30065. let left = 0;
  30066. let prev = this.$el.previousElementSibling;
  30067. if (prev) {
  30068. left = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
  30069. }
  30070. this.styleObject.left = left + 'px';
  30071. }
  30072. let filterRow = this.$el.parentElement.nextElementSibling;
  30073. if (filterRow) {
  30074. let index = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.$el);
  30075. filterRow.children[index].style.left = this.styleObject.left;
  30076. filterRow.children[index].style.right = this.styleObject.right;
  30077. }
  30078. }
  30079. },
  30080. onHeaderCheckboxChange(event) {
  30081. this.$emit('checkbox-change', event);
  30082. }
  30083. },
  30084. computed: {
  30085. containerClass() {
  30086. return [this.filterColumn ? this.columnProp('filterHeaderClass') : this.columnProp('headerClass'), this.columnProp('class'), {
  30087. 'p-sortable-column': this.columnProp('sortable'),
  30088. 'p-resizable-column': this.resizableColumns,
  30089. 'p-highlight': this.isColumnSorted(),
  30090. 'p-filter-column': this.filterColumn,
  30091. 'p-frozen-column': this.columnProp('frozen')
  30092. }];
  30093. },
  30094. containerStyle() {
  30095. let headerStyle = this.filterColumn ? this.columnProp('filterHeaderStyle'): this.columnProp('headerStyle');
  30096. let columnStyle = this.columnProp('style');
  30097. return this.columnProp('frozen') ? [columnStyle, headerStyle, this.styleObject]: [columnStyle, headerStyle];
  30098. },
  30099. sortableColumnIcon() {
  30100. let sorted = false;
  30101. let sortOrder = null;
  30102. if (this.sortMode === 'single') {
  30103. sorted = this.sortField && (this.sortField === this.columnProp('field') || this.sortField === this.columnProp('sortField'));
  30104. sortOrder = sorted ? this.sortOrder: 0;
  30105. }
  30106. else if (this.sortMode === 'multiple') {
  30107. let metaIndex = this.getMultiSortMetaIndex();
  30108. if (metaIndex > -1) {
  30109. sorted = true;
  30110. sortOrder = this.multiSortMeta[metaIndex].order;
  30111. }
  30112. }
  30113. return [
  30114. 'p-sortable-column-icon pi pi-fw', {
  30115. 'pi-sort-alt': !sorted,
  30116. 'pi-sort-amount-up-alt': sorted && sortOrder > 0,
  30117. 'pi-sort-amount-down': sorted && sortOrder < 0
  30118. }
  30119. ];
  30120. },
  30121. ariaSort() {
  30122. if (this.columnProp('sortable')) {
  30123. const sortIcon = this.sortableColumnIcon;
  30124. if (sortIcon[1]['pi-sort-amount-down'])
  30125. return 'descending';
  30126. else if (sortIcon[1]['pi-sort-amount-up-alt'])
  30127. return 'ascending';
  30128. else
  30129. return 'none';
  30130. }
  30131. else {
  30132. return null;
  30133. }
  30134. }
  30135. },
  30136. components: {
  30137. 'DTHeaderCheckbox': script$a,
  30138. 'DTColumnFilter': script$9
  30139. }
  30140. };
  30141. const _hoisted_1$6 = { class: "p-column-header-content" };
  30142. const _hoisted_2$4 = {
  30143. key: 1,
  30144. class: "p-column-title"
  30145. };
  30146. const _hoisted_3$3 = {
  30147. key: 3,
  30148. class: "p-sortable-column-badge"
  30149. };
  30150. function render$8(_ctx, _cache, $props, $setup, $data, $options) {
  30151. const _component_DTHeaderCheckbox = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTHeaderCheckbox");
  30152. const _component_DTColumnFilter = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTColumnFilter");
  30153. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", {
  30154. style: $options.containerStyle,
  30155. class: $options.containerClass,
  30156. tabindex: $options.columnProp('sortable') ? '0' : null,
  30157. role: "cell",
  30158. onClick: _cache[9] || (_cache[9] = (...args) => ($options.onClick && $options.onClick(...args))),
  30159. onKeydown: _cache[10] || (_cache[10] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  30160. onMousedown: _cache[11] || (_cache[11] = (...args) => ($options.onMouseDown && $options.onMouseDown(...args))),
  30161. onDragstart: _cache[12] || (_cache[12] = (...args) => ($options.onDragStart && $options.onDragStart(...args))),
  30162. onDragover: _cache[13] || (_cache[13] = (...args) => ($options.onDragOver && $options.onDragOver(...args))),
  30163. onDragleave: _cache[14] || (_cache[14] = (...args) => ($options.onDragLeave && $options.onDragLeave(...args))),
  30164. onDrop: _cache[15] || (_cache[15] = (...args) => ($options.onDrop && $options.onDrop(...args))),
  30165. colspan: $options.columnProp('colspan'),
  30166. rowspan: $options.columnProp('rowspan'),
  30167. "aria-sort": $options.ariaSort
  30168. }, [
  30169. ($props.resizableColumns && !$options.columnProp('frozen'))
  30170. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  30171. key: 0,
  30172. class: "p-column-resizer",
  30173. onMousedown: _cache[1] || (_cache[1] = (...args) => ($options.onResizeStart && $options.onResizeStart(...args)))
  30174. }, null, 32))
  30175. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30176. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_1$6, [
  30177. ($props.column.children && $props.column.children.header)
  30178. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.header), {
  30179. key: 0,
  30180. column: $props.column
  30181. }, null, 8, ["column"]))
  30182. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30183. ($options.columnProp('header'))
  30184. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_2$4, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.columnProp('header')), 1))
  30185. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30186. ($options.columnProp('sortable'))
  30187. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", {
  30188. key: 2,
  30189. class: $options.sortableColumnIcon
  30190. }, null, 2))
  30191. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30192. ($options.isMultiSorted())
  30193. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_3$3, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.getBadgeValue()), 1))
  30194. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30195. ($options.columnProp('selectionMode') ==='multiple' && $props.filterDisplay !== 'row')
  30196. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCheckbox, {
  30197. key: 4,
  30198. checked: $props.allRowsSelected,
  30199. onChange: $options.onHeaderCheckboxChange,
  30200. disabled: $props.empty
  30201. }, null, 8, ["checked", "onChange", "disabled"]))
  30202. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30203. ($props.filterDisplay === 'menu' && $props.column.children && $props.column.children.filter)
  30204. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTColumnFilter, {
  30205. key: 5,
  30206. field: $options.columnProp('filterField')||$options.columnProp('field'),
  30207. type: $options.columnProp('dataType'),
  30208. display: "menu",
  30209. showMenu: $options.columnProp('showFilterMenu'),
  30210. filterElement: $props.column.children && $props.column.children.filter,
  30211. filterHeaderTemplate: $props.column.children && $props.column.children.filterheader,
  30212. filterFooterTemplate: $props.column.children && $props.column.children.filterfooter,
  30213. filterClearTemplate: $props.column.children && $props.column.children.filterclear,
  30214. filterApplyTemplate: $props.column.children && $props.column.children.filterapply,
  30215. filters: $props.filters,
  30216. filtersStore: $props.filtersStore,
  30217. onFilterChange: _cache[2] || (_cache[2] = $event => (_ctx.$emit('filter-change', $event))),
  30218. onFilterApply: _cache[3] || (_cache[3] = $event => (_ctx.$emit('filter-apply'))),
  30219. filterMenuStyle: $options.columnProp('filterMenuStyle'),
  30220. filterMenuClass: $options.columnProp('filterMenuClass'),
  30221. showOperator: $options.columnProp('showFilterOperator'),
  30222. showClearButton: $options.columnProp('showClearButton'),
  30223. showApplyButton: $options.columnProp('showApplyButton'),
  30224. showMatchModes: $options.columnProp('showFilterMatchModes'),
  30225. showAddButton: $options.columnProp('showAddButton'),
  30226. matchModeOptions: $options.columnProp('filterMatchModeOptions'),
  30227. maxConstraints: $options.columnProp('maxConstraints'),
  30228. onOperatorChange: _cache[4] || (_cache[4] = $event => (_ctx.$emit('operator-change',$event))),
  30229. onMatchmodeChange: _cache[5] || (_cache[5] = $event => (_ctx.$emit('matchmode-change', $event))),
  30230. onConstraintAdd: _cache[6] || (_cache[6] = $event => (_ctx.$emit('constraint-add', $event))),
  30231. onConstraintRemove: _cache[7] || (_cache[7] = $event => (_ctx.$emit('constraint-remove', $event))),
  30232. onApplyClick: _cache[8] || (_cache[8] = $event => (_ctx.$emit('apply-click',$event)))
  30233. }, null, 8, ["field", "type", "showMenu", "filterElement", "filterHeaderTemplate", "filterFooterTemplate", "filterClearTemplate", "filterApplyTemplate", "filters", "filtersStore", "filterMenuStyle", "filterMenuClass", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "matchModeOptions", "maxConstraints"]))
  30234. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30235. ])
  30236. ], 46, ["tabindex", "colspan", "rowspan", "aria-sort"]))
  30237. }
  30238. script$8.render = render$8;
  30239. var script$7 = {
  30240. name: 'TableHeader',
  30241. emits: ['column-click', 'column-mousedown', 'column-dragstart', 'column-dragover', 'column-dragleave', 'column-drop',
  30242. 'column-resizestart', 'checkbox-change', 'filter-change', 'filter-apply',
  30243. 'operator-change', 'matchmode-change', 'constraint-add', 'constraint-remove', 'filter-clear', 'apply-click'],
  30244. props: {
  30245. columnGroup: {
  30246. type: null,
  30247. default: null
  30248. },
  30249. columns: {
  30250. type: null,
  30251. default: null
  30252. },
  30253. rowGroupMode: {
  30254. type: String,
  30255. default: null
  30256. },
  30257. groupRowsBy: {
  30258. type: [Array,String],
  30259. default: null
  30260. },
  30261. resizableColumns: {
  30262. type: Boolean,
  30263. default: false
  30264. },
  30265. allRowsSelected: {
  30266. type: Boolean,
  30267. default: false
  30268. },
  30269. empty: {
  30270. type: Boolean,
  30271. default: false
  30272. },
  30273. sortMode: {
  30274. type: String,
  30275. default: 'single'
  30276. },
  30277. groupRowSortField: {
  30278. type: [String, Function],
  30279. default: null
  30280. },
  30281. sortField: {
  30282. type: [String, Function],
  30283. default: null
  30284. },
  30285. sortOrder: {
  30286. type: Number,
  30287. default: null
  30288. },
  30289. multiSortMeta: {
  30290. type: Array,
  30291. default: null
  30292. },
  30293. filterDisplay: {
  30294. type: String,
  30295. default: null
  30296. },
  30297. filters: {
  30298. type: Object,
  30299. default: null
  30300. },
  30301. filtersStore: {
  30302. type: Object,
  30303. default: null
  30304. }
  30305. },
  30306. methods: {
  30307. columnProp(col, prop) {
  30308. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  30309. },
  30310. getFilterColumnHeaderClass(column) {
  30311. return ['p-filter-column', this.columnProp(column, 'filterHeaderClass'), this.columnProp(column, 'class'), {
  30312. 'p-frozen-column': this.columnProp(column, 'frozen')
  30313. }];
  30314. },
  30315. getFilterColumnHeaderStyle(column) {
  30316. return [this.columnProp(column, 'filterHeaderStyle'), this.columnProp(column, 'style')];
  30317. },
  30318. getHeaderRows() {
  30319. let rows = [];
  30320. let columnGroup = this.columnGroup;
  30321. if (columnGroup.children && columnGroup.children.default) {
  30322. for (let child of columnGroup.children.default()) {
  30323. if (child.type.name === 'Row') {
  30324. rows.push(child);
  30325. }
  30326. else if (child.children && child.children instanceof Array) {
  30327. rows = child.children;
  30328. }
  30329. }
  30330. return rows;
  30331. }
  30332. },
  30333. getHeaderColumns(row){
  30334. let cols = [];
  30335. if (row.children && row.children.default) {
  30336. row.children.default().forEach(child => {
  30337. if (child.children && child.children instanceof Array)
  30338. cols = [...cols, ...child.children];
  30339. else if (child.type.name === 'Column')
  30340. cols.push(child);
  30341. });
  30342. return cols;
  30343. }
  30344. }
  30345. },
  30346. components: {
  30347. 'DTHeaderCell': script$8,
  30348. 'DTHeaderCheckbox': script$a,
  30349. 'DTColumnFilter': script$9
  30350. }
  30351. };
  30352. const _hoisted_1$5 = {
  30353. class: "p-datatable-thead",
  30354. role: "rowgroup"
  30355. };
  30356. const _hoisted_2$3 = { role: "row" };
  30357. const _hoisted_3$2 = {
  30358. key: 0,
  30359. role: "row"
  30360. };
  30361. function render$7(_ctx, _cache, $props, $setup, $data, $options) {
  30362. const _component_DTHeaderCell = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTHeaderCell");
  30363. const _component_DTHeaderCheckbox = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTHeaderCheckbox");
  30364. const _component_DTColumnFilter = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTColumnFilter");
  30365. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("thead", _hoisted_1$5, [
  30366. (!$props.columnGroup)
  30367. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 0 }, [
  30368. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("tr", _hoisted_2$3, [
  30369. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  30370. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  30371. key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||i
  30372. }, [
  30373. (!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))))
  30374. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCell, {
  30375. key: 0,
  30376. column: col,
  30377. onColumnClick: _cache[1] || (_cache[1] = $event => (_ctx.$emit('column-click', $event))),
  30378. onColumnMousedown: _cache[2] || (_cache[2] = $event => (_ctx.$emit('column-mousedown', $event))),
  30379. onColumnDragstart: _cache[3] || (_cache[3] = $event => (_ctx.$emit('column-dragstart', $event))),
  30380. onColumnDragover: _cache[4] || (_cache[4] = $event => (_ctx.$emit('column-dragover', $event))),
  30381. onColumnDragleave: _cache[5] || (_cache[5] = $event => (_ctx.$emit('column-dragleave', $event))),
  30382. onColumnDrop: _cache[6] || (_cache[6] = $event => (_ctx.$emit('column-drop', $event))),
  30383. groupRowsBy: $props.groupRowsBy,
  30384. groupRowSortField: $props.groupRowSortField,
  30385. resizableColumns: $props.resizableColumns,
  30386. onColumnResizestart: _cache[7] || (_cache[7] = $event => (_ctx.$emit('column-resizestart', $event))),
  30387. sortMode: $props.sortMode,
  30388. sortField: $props.sortField,
  30389. sortOrder: $props.sortOrder,
  30390. multiSortMeta: $props.multiSortMeta,
  30391. allRowsSelected: $props.allRowsSelected,
  30392. empty: $props.empty,
  30393. onCheckboxChange: _cache[8] || (_cache[8] = $event => (_ctx.$emit('checkbox-change', $event))),
  30394. filters: $props.filters,
  30395. filterDisplay: $props.filterDisplay,
  30396. filtersStore: $props.filtersStore,
  30397. onFilterChange: _cache[9] || (_cache[9] = $event => (_ctx.$emit('filter-change', $event))),
  30398. onFilterApply: _cache[10] || (_cache[10] = $event => (_ctx.$emit('filter-apply'))),
  30399. onOperatorChange: _cache[11] || (_cache[11] = $event => (_ctx.$emit('operator-change',$event))),
  30400. onMatchmodeChange: _cache[12] || (_cache[12] = $event => (_ctx.$emit('matchmode-change', $event))),
  30401. onConstraintAdd: _cache[13] || (_cache[13] = $event => (_ctx.$emit('constraint-add', $event))),
  30402. onConstraintRemove: _cache[14] || (_cache[14] = $event => (_ctx.$emit('constraint-remove', $event))),
  30403. onApplyClick: _cache[15] || (_cache[15] = $event => (_ctx.$emit('apply-click',$event)))
  30404. }, null, 8, ["column", "groupRowsBy", "groupRowSortField", "resizableColumns", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore"]))
  30405. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30406. ], 64))
  30407. }), 128))
  30408. ]),
  30409. ($props.filterDisplay === 'row')
  30410. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", _hoisted_3$2, [
  30411. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  30412. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  30413. key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||i
  30414. }, [
  30415. (!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))))
  30416. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("th", {
  30417. key: 0,
  30418. style: $options.getFilterColumnHeaderStyle(col),
  30419. class: $options.getFilterColumnHeaderClass(col)
  30420. }, [
  30421. ($options.columnProp(col, 'selectionMode') ==='multiple')
  30422. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCheckbox, {
  30423. key: 0,
  30424. checked: $props.allRowsSelected,
  30425. onChange: _cache[16] || (_cache[16] = $event => (_ctx.$emit('checkbox-change', $event))),
  30426. disabled: $props.empty
  30427. }, null, 8, ["checked", "disabled"]))
  30428. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30429. (col.children && col.children.filter)
  30430. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTColumnFilter, {
  30431. key: 1,
  30432. field: $options.columnProp(col,'filterField')||$options.columnProp(col,'field'),
  30433. type: $options.columnProp(col,'dataType'),
  30434. display: "row",
  30435. showMenu: $options.columnProp(col,'showFilterMenu'),
  30436. filterElement: col.children && col.children.filter,
  30437. filterHeaderTemplate: col.children && col.children.filterheader,
  30438. filterFooterTemplate: col.children && col.children.filterfooter,
  30439. filterClearTemplate: col.children && col.children.filterclear,
  30440. filterApplyTemplate: col.children && col.children.filterapply,
  30441. filters: $props.filters,
  30442. filtersStore: $props.filtersStore,
  30443. onFilterChange: _cache[17] || (_cache[17] = $event => (_ctx.$emit('filter-change', $event))),
  30444. onFilterApply: _cache[18] || (_cache[18] = $event => (_ctx.$emit('filter-apply'))),
  30445. filterMenuStyle: $options.columnProp(col,'filterMenuStyle'),
  30446. filterMenuClass: $options.columnProp(col,'filterMenuClass'),
  30447. showOperator: $options.columnProp(col,'showFilterOperator'),
  30448. showClearButton: $options.columnProp(col,'showClearButton'),
  30449. showApplyButton: $options.columnProp(col,'showApplyButton'),
  30450. showMatchModes: $options.columnProp(col,'showFilterMatchModes'),
  30451. showAddButton: $options.columnProp(col,'showAddButton'),
  30452. matchModeOptions: $options.columnProp(col,'filterMatchModeOptions'),
  30453. maxConstraints: $options.columnProp(col,'maxConstraints'),
  30454. onOperatorChange: _cache[19] || (_cache[19] = $event => (_ctx.$emit('operator-change',$event))),
  30455. onMatchmodeChange: _cache[20] || (_cache[20] = $event => (_ctx.$emit('matchmode-change', $event))),
  30456. onConstraintAdd: _cache[21] || (_cache[21] = $event => (_ctx.$emit('constraint-add', $event))),
  30457. onConstraintRemove: _cache[22] || (_cache[22] = $event => (_ctx.$emit('constraint-remove', $event))),
  30458. onApplyClick: _cache[23] || (_cache[23] = $event => (_ctx.$emit('apply-click',$event)))
  30459. }, null, 8, ["field", "type", "showMenu", "filterElement", "filterHeaderTemplate", "filterFooterTemplate", "filterClearTemplate", "filterApplyTemplate", "filters", "filtersStore", "filterMenuStyle", "filterMenuClass", "showOperator", "showClearButton", "showApplyButton", "showMatchModes", "showAddButton", "matchModeOptions", "maxConstraints"]))
  30460. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30461. ], 6))
  30462. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30463. ], 64))
  30464. }), 128))
  30465. ]))
  30466. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30467. ], 64))
  30468. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getHeaderRows(), (row, i) => {
  30469. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  30470. key: i,
  30471. role: "row"
  30472. }, [
  30473. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getHeaderColumns(row), (col, j) => {
  30474. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  30475. key: $options.columnProp(col, 'columnKey')||$options.columnProp(col, 'field')||j
  30476. }, [
  30477. (!$options.columnProp(col, 'hidden') && ($props.rowGroupMode !== 'subheader' || ($props.groupRowsBy !== $options.columnProp(col, 'field'))) && (typeof col.children !== 'string'))
  30478. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTHeaderCell, {
  30479. key: 0,
  30480. column: col,
  30481. onColumnClick: _cache[24] || (_cache[24] = $event => (_ctx.$emit('column-click', $event))),
  30482. onColumnMousedown: _cache[25] || (_cache[25] = $event => (_ctx.$emit('column-mousedown', $event))),
  30483. groupRowsBy: $props.groupRowsBy,
  30484. groupRowSortField: $props.groupRowSortField,
  30485. sortMode: $props.sortMode,
  30486. sortField: $props.sortField,
  30487. sortOrder: $props.sortOrder,
  30488. multiSortMeta: $props.multiSortMeta,
  30489. allRowsSelected: $props.allRowsSelected,
  30490. empty: $props.empty,
  30491. onCheckboxChange: _cache[26] || (_cache[26] = $event => (_ctx.$emit('checkbox-change', $event))),
  30492. filters: $props.filters,
  30493. filterDisplay: $props.filterDisplay,
  30494. filtersStore: $props.filtersStore,
  30495. onFilterChange: _cache[27] || (_cache[27] = $event => (_ctx.$emit('filter-change', $event))),
  30496. onFilterApply: _cache[28] || (_cache[28] = $event => (_ctx.$emit('filter-apply'))),
  30497. onOperatorChange: _cache[29] || (_cache[29] = $event => (_ctx.$emit('operator-change',$event))),
  30498. onMatchmodeChange: _cache[30] || (_cache[30] = $event => (_ctx.$emit('matchmode-change', $event))),
  30499. onConstraintAdd: _cache[31] || (_cache[31] = $event => (_ctx.$emit('constraint-add', $event))),
  30500. onConstraintRemove: _cache[32] || (_cache[32] = $event => (_ctx.$emit('constraint-remove', $event))),
  30501. onApplyClick: _cache[33] || (_cache[33] = $event => (_ctx.$emit('apply-click',$event)))
  30502. }, null, 8, ["column", "groupRowsBy", "groupRowSortField", "sortMode", "sortField", "sortOrder", "multiSortMeta", "allRowsSelected", "empty", "filters", "filterDisplay", "filtersStore"]))
  30503. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  30504. ], 64))
  30505. }), 128))
  30506. ]))
  30507. }), 128))
  30508. ]))
  30509. }
  30510. script$7.render = render$7;
  30511. var script$6 = {
  30512. name: 'RowRadioButton',
  30513. inheritAttrs: false,
  30514. emits: ['change'],
  30515. props: {
  30516. value: null,
  30517. checked: null
  30518. },
  30519. data() {
  30520. return {
  30521. focused: false
  30522. };
  30523. },
  30524. methods: {
  30525. onClick(event) {
  30526. if (!this.disabled) {
  30527. if (!this.checked) {
  30528. this.$emit('change', {
  30529. originalEvent: event,
  30530. data: this.value
  30531. });
  30532. }
  30533. }
  30534. },
  30535. onFocus() {
  30536. this.focused = true;
  30537. },
  30538. onBlur() {
  30539. this.focused = false;
  30540. }
  30541. }
  30542. };
  30543. const _hoisted_1$4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", { class: "p-radiobutton-icon" }, null, -1);
  30544. function render$6(_ctx, _cache, $props, $setup, $data, $options) {
  30545. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  30546. class: ['p-radiobutton p-component', {'p-radiobutton-focused': $data.focused}],
  30547. onClick: _cache[1] || (_cache[1] = (...args) => ($options.onClick && $options.onClick(...args))),
  30548. tabindex: "0",
  30549. onFocus: _cache[2] || (_cache[2] = $event => ($options.onFocus($event))),
  30550. onBlur: _cache[3] || (_cache[3] = $event => ($options.onBlur($event))),
  30551. onKeydown: _cache[4] || (_cache[4] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"]))
  30552. }, [
  30553. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  30554. ref: "box",
  30555. class: ['p-radiobutton-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
  30556. role: "radio",
  30557. "aria-checked": $props.checked
  30558. }, [
  30559. _hoisted_1$4
  30560. ], 10, ["aria-checked"])
  30561. ], 34))
  30562. }
  30563. script$6.render = render$6;
  30564. var script$5 = {
  30565. name: 'RowCheckbox',
  30566. inheritAttrs: false,
  30567. emits: ['change'],
  30568. props: {
  30569. value: null,
  30570. checked: null
  30571. },
  30572. data() {
  30573. return {
  30574. focused: false
  30575. };
  30576. },
  30577. methods: {
  30578. onClick(event) {
  30579. if (!this.$attrs.disabled) {
  30580. this.focused = true;
  30581. this.$emit('change', {
  30582. originalEvent: event,
  30583. data: this.value
  30584. });
  30585. }
  30586. },
  30587. onFocus() {
  30588. this.focused = true;
  30589. },
  30590. onBlur() {
  30591. this.focused = false;
  30592. }
  30593. }
  30594. };
  30595. function render$5(_ctx, _cache, $props, $setup, $data, $options) {
  30596. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  30597. class: ['p-checkbox p-component', {'p-checkbox-focused': $data.focused}],
  30598. onClick: _cache[4] || (_cache[4] = (...args) => ($options.onClick && $options.onClick(...args)))
  30599. }, [
  30600. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  30601. ref: "box",
  30602. class: ['p-checkbox-box p-component', {'p-highlight': $props.checked, 'p-disabled': _ctx.$attrs.disabled, 'p-focus': $data.focused}],
  30603. role: "checkbox",
  30604. "aria-checked": $props.checked,
  30605. tabindex: _ctx.$attrs.disabled ? null : '0',
  30606. onKeydown: _cache[1] || (_cache[1] = (0,vue__WEBPACK_IMPORTED_MODULE_4__.withKeys)((0,vue__WEBPACK_IMPORTED_MODULE_4__.withModifiers)((...args) => ($options.onClick && $options.onClick(...args)), ["prevent"]), ["space"])),
  30607. onFocus: _cache[2] || (_cache[2] = $event => ($options.onFocus($event))),
  30608. onBlur: _cache[3] || (_cache[3] = $event => ($options.onBlur($event)))
  30609. }, [
  30610. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  30611. class: ['p-checkbox-icon', {'pi pi-check': $props.checked}]
  30612. }, null, 2)
  30613. ], 42, ["aria-checked", "tabindex"])
  30614. ], 2))
  30615. }
  30616. script$5.render = render$5;
  30617. var script$4 = {
  30618. name: 'BodyCell',
  30619. emits: ['cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'row-edit-init', 'row-edit-save', 'row-edit-cancel',
  30620. 'row-toggle', 'radio-change', 'checkbox-change', 'editing-meta-change'],
  30621. props: {
  30622. rowData: {
  30623. type: Object,
  30624. default: null
  30625. },
  30626. column: {
  30627. type: Object,
  30628. default: null
  30629. },
  30630. frozenRow: {
  30631. type: Boolean,
  30632. default: false
  30633. },
  30634. rowIndex: {
  30635. type: Number,
  30636. default: null
  30637. },
  30638. index: {
  30639. type: Number,
  30640. default: null
  30641. },
  30642. rowTogglerIcon: {
  30643. type: Array,
  30644. default: null
  30645. },
  30646. selected: {
  30647. type: Boolean,
  30648. default: false
  30649. },
  30650. editing: {
  30651. type: Boolean,
  30652. default: false
  30653. },
  30654. editingMeta: {
  30655. type: Object,
  30656. default: null
  30657. },
  30658. editMode: {
  30659. type: String,
  30660. default: null
  30661. },
  30662. responsiveLayout: {
  30663. type: String,
  30664. default: 'stack'
  30665. },
  30666. virtualScrollerContentProps: {
  30667. type: Object,
  30668. default: null
  30669. }
  30670. },
  30671. documentEditListener: null,
  30672. selfClick: false,
  30673. overlayEventListener: null,
  30674. data() {
  30675. return {
  30676. d_editing: this.editing,
  30677. styleObject: {}
  30678. }
  30679. },
  30680. watch: {
  30681. editing(newValue) {
  30682. this.d_editing = newValue;
  30683. },
  30684. '$data.d_editing': function(newValue) {
  30685. this.$emit('editing-meta-change', {data: this.rowData, field: (this.field || `field_${this.index}`), index: this.rowIndex, editing: newValue});
  30686. }
  30687. },
  30688. mounted() {
  30689. if (this.columnProp('frozen')) {
  30690. this.updateStickyPosition();
  30691. }
  30692. },
  30693. updated() {
  30694. if (this.columnProp('frozen')) {
  30695. this.updateStickyPosition();
  30696. }
  30697. if (this.d_editing && (this.editMode === 'cell' || (this.editMode === 'row' && this.columnProp('rowEditor')))) {
  30698. const focusableEl = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFirstFocusableElement(this.$el);
  30699. focusableEl && focusableEl.focus();
  30700. }
  30701. },
  30702. beforeUnmount() {
  30703. if (this.overlayEventListener) {
  30704. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  30705. this.overlayEventListener = null;
  30706. }
  30707. },
  30708. methods: {
  30709. columnProp(prop) {
  30710. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(this.column, prop);
  30711. },
  30712. resolveFieldData() {
  30713. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(this.rowData, this.field);
  30714. },
  30715. toggleRow(event) {
  30716. this.$emit('row-toggle', {
  30717. originalEvent: event,
  30718. data: this.rowData
  30719. });
  30720. },
  30721. toggleRowWithRadio(event, index) {
  30722. this.$emit('radio-change', { originalEvent: event.originalEvent, index: index, data: event.data});
  30723. },
  30724. toggleRowWithCheckbox(event, index) {
  30725. this.$emit('checkbox-change', { originalEvent: event.originalEvent, index: index, data: event.data });
  30726. },
  30727. isEditable() {
  30728. return this.column.children && this.column.children.editor != null;
  30729. },
  30730. bindDocumentEditListener() {
  30731. if (!this.documentEditListener) {
  30732. this.documentEditListener = (event) => {
  30733. if (!this.selfClick) {
  30734. this.completeEdit(event, 'outside');
  30735. }
  30736. this.selfClick = false;
  30737. };
  30738. document.addEventListener('click', this.documentEditListener);
  30739. }
  30740. },
  30741. unbindDocumentEditListener() {
  30742. if (this.documentEditListener) {
  30743. document.removeEventListener('click', this.documentEditListener);
  30744. this.documentEditListener = null;
  30745. this.selfClick = false;
  30746. }
  30747. },
  30748. switchCellToViewMode() {
  30749. this.d_editing = false;
  30750. this.unbindDocumentEditListener();
  30751. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].off('overlay-click', this.overlayEventListener);
  30752. this.overlayEventListener = null;
  30753. },
  30754. onClick(event) {
  30755. if (this.editMode === 'cell' && this.isEditable()) {
  30756. this.selfClick = true;
  30757. if (!this.d_editing) {
  30758. this.d_editing = true;
  30759. this.bindDocumentEditListener();
  30760. this.$emit('cell-edit-init', {originalEvent: event, data: this.rowData, field: this.field, index: this.rowIndex});
  30761. this.overlayEventListener = (e) => {
  30762. if (this.$el && this.$el.contains(e.target)) {
  30763. this.selfClick = true;
  30764. }
  30765. };
  30766. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_5__["default"].on('overlay-click', this.overlayEventListener);
  30767. }
  30768. }
  30769. },
  30770. completeEdit(event, type) {
  30771. const completeEvent = {
  30772. originalEvent: event,
  30773. data: this.rowData,
  30774. newData: this.editingRowData,
  30775. value: this.rowData[this.field],
  30776. newValue: this.editingRowData[this.field],
  30777. field: this.field,
  30778. index: this.rowIndex,
  30779. type: type,
  30780. defaultPrevented: false,
  30781. preventDefault: function() {
  30782. this.defaultPrevented = true;
  30783. }
  30784. };
  30785. this.$emit('cell-edit-complete', completeEvent);
  30786. if (!completeEvent.defaultPrevented) {
  30787. this.switchCellToViewMode();
  30788. }
  30789. },
  30790. onKeyDown(event) {
  30791. if (this.editMode === 'cell') {
  30792. switch (event.which) {
  30793. case 13:
  30794. this.completeEdit(event, 'enter');
  30795. break;
  30796. case 27:
  30797. this.switchCellToViewMode();
  30798. this.$emit('cell-edit-cancel', {originalEvent: event, data: this.rowData, field: this.field, index: this.rowIndex});
  30799. break;
  30800. case 9:
  30801. this.completeEdit(event, 'tab');
  30802. if (event.shiftKey)
  30803. this.moveToPreviousCell(event);
  30804. else
  30805. this.moveToNextCell(event);
  30806. break;
  30807. }
  30808. }
  30809. },
  30810. moveToPreviousCell(event) {
  30811. let currentCell = this.findCell(event.target);
  30812. let targetCell = this.findPreviousEditableColumn(currentCell);
  30813. if (targetCell) {
  30814. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.invokeElementMethod(targetCell, 'click');
  30815. event.preventDefault();
  30816. }
  30817. },
  30818. moveToNextCell(event) {
  30819. let currentCell = this.findCell(event.target);
  30820. let targetCell = this.findNextEditableColumn(currentCell);
  30821. if (targetCell) {
  30822. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.invokeElementMethod(targetCell, 'click');
  30823. event.preventDefault();
  30824. }
  30825. },
  30826. findCell(element) {
  30827. if (element) {
  30828. let cell = element;
  30829. while (cell && !primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(cell, 'p-cell-editing')) {
  30830. cell = cell.parentElement;
  30831. }
  30832. return cell;
  30833. }
  30834. else {
  30835. return null;
  30836. }
  30837. },
  30838. findPreviousEditableColumn(cell) {
  30839. let prevCell = cell.previousElementSibling;
  30840. if (!prevCell) {
  30841. let previousRow = cell.parentElement.previousElementSibling;
  30842. if (previousRow) {
  30843. prevCell = previousRow.lastElementChild;
  30844. }
  30845. }
  30846. if (prevCell) {
  30847. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevCell, 'p-editable-column'))
  30848. return prevCell;
  30849. else
  30850. return this.findPreviousEditableColumn(prevCell);
  30851. }
  30852. else {
  30853. return null;
  30854. }
  30855. },
  30856. findNextEditableColumn(cell) {
  30857. let nextCell = cell.nextElementSibling;
  30858. if (!nextCell) {
  30859. let nextRow = cell.parentElement.nextElementSibling;
  30860. if (nextRow) {
  30861. nextCell = nextRow.firstElementChild;
  30862. }
  30863. }
  30864. if (nextCell) {
  30865. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextCell, 'p-editable-column'))
  30866. return nextCell;
  30867. else
  30868. return this.findNextEditableColumn(nextCell);
  30869. }
  30870. else {
  30871. return null;
  30872. }
  30873. },
  30874. isEditingCellValid() {
  30875. return (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.$el, '.p-invalid').length === 0);
  30876. },
  30877. onRowEditInit(event) {
  30878. this.$emit('row-edit-init', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  30879. },
  30880. onRowEditSave(event) {
  30881. this.$emit('row-edit-save', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  30882. },
  30883. onRowEditCancel(event) {
  30884. this.$emit('row-edit-cancel', {originalEvent: event, data: this.rowData, newData: this.editingRowData, field: this.field, index: this.rowIndex});
  30885. },
  30886. updateStickyPosition() {
  30887. if (this.columnProp('frozen')) {
  30888. let align = this.columnProp('alignFrozen');
  30889. if (align === 'right') {
  30890. let right = 0;
  30891. let next = this.$el.nextElementSibling;
  30892. if (next) {
  30893. right = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(next) + parseFloat(next.style.right || 0);
  30894. }
  30895. this.styleObject.right = right + 'px';
  30896. }
  30897. else {
  30898. let left = 0;
  30899. let prev = this.$el.previousElementSibling;
  30900. if (prev) {
  30901. left = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left || 0);
  30902. }
  30903. this.styleObject.left = left + 'px';
  30904. }
  30905. }
  30906. },
  30907. getVirtualScrollerProp(option) {
  30908. return this.virtualScrollerContentProps ? this.virtualScrollerContentProps[option] : null;
  30909. }
  30910. },
  30911. computed: {
  30912. editingRowData() {
  30913. return this.editingMeta[this.rowIndex] ? this.editingMeta[this.rowIndex].data : this.rowData;
  30914. },
  30915. field() {
  30916. return this.columnProp('field');
  30917. },
  30918. containerClass() {
  30919. return [this.columnProp('bodyClass'), this.columnProp('class'), {
  30920. 'p-selection-column': this.columnProp('selectionMode') != null,
  30921. 'p-editable-column': this.isEditable(),
  30922. 'p-cell-editing': this.d_editing,
  30923. 'p-frozen-column': this.columnProp('frozen')
  30924. }];
  30925. },
  30926. containerStyle() {
  30927. let bodyStyle = this.columnProp('bodyStyle');
  30928. let columnStyle = this.columnProp('style');
  30929. return this.columnProp('frozen') ? [columnStyle, bodyStyle, this.styleObject]: [columnStyle, bodyStyle];
  30930. },
  30931. loading() {
  30932. return this.getVirtualScrollerProp('loading');
  30933. },
  30934. loadingOptions() {
  30935. const getLoaderOptions = this.getVirtualScrollerProp('getLoaderOptions');
  30936. return getLoaderOptions && getLoaderOptions(this.rowIndex, {
  30937. cellIndex: this.index,
  30938. cellFirst: this.index === 0,
  30939. cellLast: this.index === (this.getVirtualScrollerProp('columns').length - 1),
  30940. cellEven: this.index % 2 === 0,
  30941. cellOdd: this.index % 2 !== 0,
  30942. column: this.column,
  30943. field: this.field
  30944. });
  30945. }
  30946. },
  30947. components: {
  30948. 'DTRadioButton': script$6,
  30949. 'DTCheckbox': script$5
  30950. },
  30951. directives: {
  30952. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_8__["default"]
  30953. }
  30954. };
  30955. const _hoisted_1$3 = {
  30956. key: 0,
  30957. class: "p-column-title"
  30958. };
  30959. const _hoisted_2$2 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-row-editor-init-icon pi pi-fw pi-pencil" }, null, -1);
  30960. const _hoisted_3$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-row-editor-save-icon pi pi-fw pi-check" }, null, -1);
  30961. const _hoisted_4$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: "p-row-editor-cancel-icon pi pi-fw pi-times" }, null, -1);
  30962. function render$4(_ctx, _cache, $props, $setup, $data, $options) {
  30963. const _component_DTRadioButton = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTRadioButton");
  30964. const _component_DTCheckbox = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTCheckbox");
  30965. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDirective)("ripple");
  30966. return ($options.loading)
  30967. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  30968. key: 0,
  30969. style: $options.containerStyle,
  30970. class: $options.containerClass
  30971. }, [
  30972. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.loading), {
  30973. data: $props.rowData,
  30974. column: $props.column,
  30975. field: $options.field,
  30976. index: $props.rowIndex,
  30977. frozenRow: $props.frozenRow,
  30978. loadingOptions: $options.loadingOptions
  30979. }, null, 8, ["data", "column", "field", "index", "frozenRow", "loadingOptions"]))
  30980. ], 6))
  30981. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  30982. key: 1,
  30983. style: $options.containerStyle,
  30984. class: $options.containerClass,
  30985. onClick: _cache[7] || (_cache[7] = (...args) => ($options.onClick && $options.onClick(...args))),
  30986. onKeydown: _cache[8] || (_cache[8] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  30987. role: "cell"
  30988. }, [
  30989. ($props.responsiveLayout === 'stack')
  30990. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_1$3, (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.columnProp('header')), 1))
  30991. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  30992. ($props.column.children && $props.column.children.body && !$data.d_editing)
  30993. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.body), {
  30994. key: 1,
  30995. data: $props.rowData,
  30996. column: $props.column,
  30997. field: $options.field,
  30998. index: $props.rowIndex,
  30999. frozenRow: $props.frozenRow
  31000. }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
  31001. : ($props.column.children && $props.column.children.editor && $data.d_editing)
  31002. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.editor), {
  31003. key: 2,
  31004. data: $options.editingRowData,
  31005. column: $props.column,
  31006. field: $options.field,
  31007. index: $props.rowIndex,
  31008. frozenRow: $props.frozenRow
  31009. }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
  31010. : ($props.column.children && $props.column.children.body && !$props.column.children.editor && $data.d_editing)
  31011. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.body), {
  31012. key: 3,
  31013. data: $options.editingRowData,
  31014. column: $props.column,
  31015. field: $options.field,
  31016. index: $props.rowIndex,
  31017. frozenRow: $props.frozenRow
  31018. }, null, 8, ["data", "column", "field", "index", "frozenRow"]))
  31019. : ($options.columnProp('selectionMode'))
  31020. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 4 }, [
  31021. ($options.columnProp('selectionMode') === 'single')
  31022. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTRadioButton, {
  31023. key: 0,
  31024. value: $props.rowData,
  31025. checked: $props.selected,
  31026. onChange: _cache[1] || (_cache[1] = $event => ($options.toggleRowWithRadio($event, $props.rowIndex)))
  31027. }, null, 8, ["value", "checked"]))
  31028. : ($options.columnProp('selectionMode') ==='multiple')
  31029. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTCheckbox, {
  31030. key: 1,
  31031. value: $props.rowData,
  31032. checked: $props.selected,
  31033. onChange: _cache[2] || (_cache[2] = $event => ($options.toggleRowWithCheckbox($event, $props.rowIndex)))
  31034. }, null, 8, ["value", "checked"]))
  31035. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31036. ], 64))
  31037. : ($options.columnProp('rowReorder'))
  31038. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("i", {
  31039. key: 5,
  31040. class: ['p-datatable-reorderablerow-handle', ($options.columnProp('rowReorderIcon') || 'pi pi-bars')]
  31041. }, null, 2))
  31042. : ($options.columnProp('expander'))
  31043. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31044. key: 6,
  31045. class: "p-row-toggler p-link",
  31046. onClick: _cache[3] || (_cache[3] = (...args) => ($options.toggleRow && $options.toggleRow(...args))),
  31047. type: "button"
  31048. }, [
  31049. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", { class: $props.rowTogglerIcon }, null, 2)
  31050. ], 512)), [
  31051. [_directive_ripple]
  31052. ])
  31053. : ($props.editMode === 'row' && $options.columnProp('rowEditor'))
  31054. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 7 }, [
  31055. (!$data.d_editing)
  31056. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31057. key: 0,
  31058. class: "p-row-editor-init p-link",
  31059. onClick: _cache[4] || (_cache[4] = (...args) => ($options.onRowEditInit && $options.onRowEditInit(...args))),
  31060. type: "button"
  31061. }, [
  31062. _hoisted_2$2
  31063. ], 512)), [
  31064. [_directive_ripple]
  31065. ])
  31066. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31067. ($data.d_editing)
  31068. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31069. key: 1,
  31070. class: "p-row-editor-save p-link",
  31071. onClick: _cache[5] || (_cache[5] = (...args) => ($options.onRowEditSave && $options.onRowEditSave(...args))),
  31072. type: "button"
  31073. }, [
  31074. _hoisted_3$1
  31075. ], 512)), [
  31076. [_directive_ripple]
  31077. ])
  31078. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31079. ($data.d_editing)
  31080. ? (0,vue__WEBPACK_IMPORTED_MODULE_4__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31081. key: 2,
  31082. class: "p-row-editor-cancel p-link",
  31083. onClick: _cache[6] || (_cache[6] = (...args) => ($options.onRowEditCancel && $options.onRowEditCancel(...args))),
  31084. type: "button"
  31085. }, [
  31086. _hoisted_4$1
  31087. ], 512)), [
  31088. [_directive_ripple]
  31089. ])
  31090. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31091. ], 64))
  31092. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 8 }, [
  31093. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.resolveFieldData()), 1)
  31094. ], 64))
  31095. ], 38))
  31096. }
  31097. script$4.render = render$4;
  31098. var script$3 = {
  31099. name: 'TableBody',
  31100. emits: ['rowgroup-toggle', 'row-click', 'row-dblclick', 'row-rightclick', 'row-touchend', 'row-keydown', 'row-mousedown',
  31101. 'row-dragstart', 'row-dragover', 'row-dragleave', 'row-dragend', 'row-drop', 'row-toggle',
  31102. 'radio-change', 'checkbox-change', 'cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel',
  31103. 'row-edit-init', 'row-edit-save', 'row-edit-cancel', 'editing-meta-change'],
  31104. props: {
  31105. value: {
  31106. type: Array,
  31107. default: null
  31108. },
  31109. columns: {
  31110. type: null,
  31111. default: null
  31112. },
  31113. frozenRow: {
  31114. type: Boolean,
  31115. default: false
  31116. },
  31117. empty: {
  31118. type: Boolean,
  31119. default: false
  31120. },
  31121. rowGroupMode: {
  31122. type: String,
  31123. default: null
  31124. },
  31125. groupRowsBy: {
  31126. type: [Array,String],
  31127. default: null
  31128. },
  31129. expandableRowGroups: {
  31130. type: Boolean,
  31131. default: false
  31132. },
  31133. expandedRowGroups: {
  31134. type: Array,
  31135. default: null
  31136. },
  31137. dataKey: {
  31138. type: String,
  31139. default: null
  31140. },
  31141. expandedRowIcon: {
  31142. type: String,
  31143. default: null
  31144. },
  31145. collapsedRowIcon: {
  31146. type: String,
  31147. default: null
  31148. },
  31149. expandedRows: {
  31150. type: Array,
  31151. default: null
  31152. },
  31153. expandedRowKeys: {
  31154. type: null,
  31155. default: null
  31156. },
  31157. selection: {
  31158. type: [Array,Object],
  31159. default: null
  31160. },
  31161. selectionKeys: {
  31162. type: null,
  31163. default: null
  31164. },
  31165. selectionMode: {
  31166. type: String,
  31167. default: null
  31168. },
  31169. contextMenu: {
  31170. type: Boolean,
  31171. default: false
  31172. },
  31173. contextMenuSelection: {
  31174. type: Object,
  31175. default: null
  31176. },
  31177. rowClass: {
  31178. type: null,
  31179. default: null
  31180. },
  31181. rowStyle: {
  31182. type: null,
  31183. default: null
  31184. },
  31185. editMode: {
  31186. type: String,
  31187. default: null
  31188. },
  31189. compareSelectionBy: {
  31190. type: String,
  31191. default: 'deepEquals'
  31192. },
  31193. editingRows: {
  31194. type: Array,
  31195. default: null
  31196. },
  31197. editingRowKeys: {
  31198. type: null,
  31199. default: null
  31200. },
  31201. editingMeta: {
  31202. type: Object,
  31203. default: null
  31204. },
  31205. loading: {
  31206. type: Boolean,
  31207. default: false
  31208. },
  31209. templates: {
  31210. type: null,
  31211. default: null
  31212. },
  31213. scrollable: {
  31214. type: Boolean,
  31215. default: false
  31216. },
  31217. responsiveLayout: {
  31218. type: String,
  31219. default: 'stack'
  31220. },
  31221. virtualScrollerContentProps: {
  31222. type: Object,
  31223. default: null
  31224. },
  31225. isVirtualScrollerDisabled: {
  31226. type: Boolean,
  31227. default: false
  31228. }
  31229. },
  31230. watch: {
  31231. virtualScrollerContentProps(newValue, oldValue) {
  31232. if (!this.isVirtualScrollerDisabled && this.getVirtualScrollerProp('vertical') && this.getVirtualScrollerProp('itemSize', oldValue) !== this.getVirtualScrollerProp('itemSize', newValue)) {
  31233. this.updateVirtualScrollerPosition();
  31234. }
  31235. }
  31236. },
  31237. mounted() {
  31238. if (this.frozenRow) {
  31239. this.updateFrozenRowStickyPosition();
  31240. }
  31241. if (this.scrollable && this.rowGroupMode === 'subheader') {
  31242. this.updateFrozenRowGroupHeaderStickyPosition();
  31243. }
  31244. if (!this.isVirtualScrollerDisabled && this.getVirtualScrollerProp('vertical')) {
  31245. this.updateVirtualScrollerPosition();
  31246. }
  31247. },
  31248. updated() {
  31249. if (this.frozenRow) {
  31250. this.updateFrozenRowStickyPosition();
  31251. }
  31252. if (this.scrollable && this.rowGroupMode === 'subheader') {
  31253. this.updateFrozenRowGroupHeaderStickyPosition();
  31254. }
  31255. },
  31256. data() {
  31257. return {
  31258. rowGroupHeaderStyleObject: {}
  31259. }
  31260. },
  31261. methods: {
  31262. columnProp(col, prop) {
  31263. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  31264. },
  31265. shouldRenderRowGroupHeader(value, rowData, i) {
  31266. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  31267. let prevRowData = value[i - 1];
  31268. if (prevRowData) {
  31269. let previousRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(prevRowData, this.groupRowsBy);
  31270. return currentRowFieldData !== previousRowFieldData;
  31271. }
  31272. else {
  31273. return true;
  31274. }
  31275. },
  31276. getRowKey(rowData, index) {
  31277. return this.dataKey ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey): index;
  31278. },
  31279. getRowIndex(index) {
  31280. const getItemOptions = this.getVirtualScrollerProp('getItemOptions');
  31281. return getItemOptions ? getItemOptions(index).index : index;
  31282. },
  31283. getRowClass(rowData) {
  31284. let rowStyleClass = [];
  31285. if (this.selectionMode) {
  31286. rowStyleClass.push('p-selectable-row');
  31287. }
  31288. if (this.selection) {
  31289. rowStyleClass.push({
  31290. 'p-highlight': this.isSelected(rowData)
  31291. });
  31292. }
  31293. if (this.contextMenuSelection) {
  31294. rowStyleClass.push({
  31295. 'p-highlight-contextmenu': this.isSelectedWithContextMenu(rowData)
  31296. });
  31297. }
  31298. if (this.rowClass) {
  31299. let rowClassValue = this.rowClass(rowData);
  31300. if (rowClassValue) {
  31301. rowStyleClass.push(rowClassValue);
  31302. }
  31303. }
  31304. return rowStyleClass;
  31305. },
  31306. shouldRenderRowGroupFooter(value, rowData, i) {
  31307. if (this.expandableRowGroups && !this.isRowGroupExpanded(rowData)) {
  31308. return false;
  31309. }
  31310. else {
  31311. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  31312. let nextRowData = value[i + 1];
  31313. if (nextRowData) {
  31314. let nextRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(nextRowData, this.groupRowsBy);
  31315. return currentRowFieldData !== nextRowFieldData;
  31316. }
  31317. else {
  31318. return true;
  31319. }
  31320. }
  31321. },
  31322. shouldRenderBodyCell(value, column, i) {
  31323. if (this.rowGroupMode) {
  31324. if (this.rowGroupMode === 'subheader') {
  31325. return this.groupRowsBy !== this.columnProp(column, 'field');
  31326. }
  31327. else if (this.rowGroupMode === 'rowspan') {
  31328. if (this.isGrouped(column)) {
  31329. let prevRowData = value[i - 1];
  31330. if (prevRowData) {
  31331. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(value[i], this.columnProp(column, 'field'));
  31332. let previousRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(prevRowData, this.columnProp(column, 'field'));
  31333. return currentRowFieldData !== previousRowFieldData;
  31334. }
  31335. else {
  31336. return true;
  31337. }
  31338. }
  31339. else {
  31340. return true;
  31341. }
  31342. }
  31343. }
  31344. else {
  31345. return !this.columnProp(column, 'hidden');
  31346. }
  31347. },
  31348. calculateRowGroupSize(value, column, index) {
  31349. if (this.isGrouped(column)) {
  31350. let currentRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(value[index], this.columnProp(column, 'field'));
  31351. let nextRowFieldData = currentRowFieldData;
  31352. let groupRowSpan = 0;
  31353. while (currentRowFieldData === nextRowFieldData) {
  31354. groupRowSpan++;
  31355. let nextRowData = value[++index];
  31356. if (nextRowData) {
  31357. nextRowFieldData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(nextRowData, this.columnProp(column, 'field'));
  31358. }
  31359. else {
  31360. break;
  31361. }
  31362. }
  31363. return groupRowSpan === 1 ? null : groupRowSpan;
  31364. }
  31365. else {
  31366. return null;
  31367. }
  31368. },
  31369. rowTogglerIcon(rowData) {
  31370. const icon = this.isRowExpanded(rowData) ? this.expandedRowIcon : this.collapsedRowIcon;
  31371. return ['p-row-toggler-icon pi', icon];
  31372. },
  31373. rowGroupTogglerIcon(rowData) {
  31374. const icon = this.isRowGroupExpanded(rowData) ? this.expandedRowIcon : this.collapsedRowIcon;
  31375. return ['p-row-toggler-icon pi', icon];
  31376. },
  31377. isGrouped(column) {
  31378. if (this.groupRowsBy && this.columnProp(column, 'field')) {
  31379. if (Array.isArray(this.groupRowsBy))
  31380. return this.groupRowsBy.indexOf(column.props.field) > -1;
  31381. else
  31382. return this.groupRowsBy === column.props.field;
  31383. }
  31384. else {
  31385. return false;
  31386. }
  31387. },
  31388. isRowEditing(rowData) {
  31389. if (rowData && this.editingRows) {
  31390. if (this.dataKey)
  31391. return this.editingRowKeys ? this.editingRowKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  31392. else
  31393. return this.findIndex(rowData, this.editingRows) > -1;
  31394. }
  31395. return false;
  31396. },
  31397. isRowExpanded(rowData) {
  31398. if (rowData && this.expandedRows) {
  31399. if (this.dataKey)
  31400. return this.expandedRowKeys ? this.expandedRowKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  31401. else
  31402. return this.findIndex(rowData, this.expandedRows) > -1;
  31403. }
  31404. return false;
  31405. },
  31406. isRowGroupExpanded(rowData) {
  31407. if (this.expandableRowGroups && this.expandedRowGroups) {
  31408. let groupFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  31409. return this.expandedRowGroups.indexOf(groupFieldValue) > -1;
  31410. }
  31411. return false;
  31412. },
  31413. isSelected(rowData) {
  31414. if (rowData && this.selection) {
  31415. if (this.dataKey) {
  31416. return this.selectionKeys ? this.selectionKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  31417. }
  31418. else {
  31419. if (this.selection instanceof Array)
  31420. return this.findIndexInSelection(rowData) > -1;
  31421. else
  31422. return this.equals(rowData, this.selection);
  31423. }
  31424. }
  31425. return false;
  31426. },
  31427. isSelectedWithContextMenu(rowData) {
  31428. if (rowData && this.contextMenuSelection) {
  31429. return this.equals(rowData, this.contextMenuSelection, this.dataKey);
  31430. }
  31431. return false;
  31432. },
  31433. findIndexInSelection(rowData) {
  31434. return this.findIndex(rowData, this.selection);
  31435. },
  31436. findIndex(rowData, collection) {
  31437. let index = -1;
  31438. if (collection && collection.length) {
  31439. for (let i = 0; i < collection.length; i++) {
  31440. if (this.equals(rowData, collection[i])) {
  31441. index = i;
  31442. break;
  31443. }
  31444. }
  31445. }
  31446. return index;
  31447. },
  31448. equals(data1, data2) {
  31449. return this.compareSelectionBy === 'equals' ? (data1 === data2) : primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(data1, data2, this.dataKey);
  31450. },
  31451. onRowGroupToggle(event, data) {
  31452. this.$emit('rowgroup-toggle', {originalEvent: event, data: data});
  31453. },
  31454. onRowClick(event, rowData, rowIndex) {
  31455. this.$emit('row-click', {originalEvent: event, data: rowData, index: rowIndex});
  31456. },
  31457. onRowDblClick(event, rowData, rowIndex) {
  31458. this.$emit('row-dblclick', {originalEvent: event, data: rowData, index: rowIndex});
  31459. },
  31460. onRowRightClick(event, rowData, rowIndex) {
  31461. this.$emit('row-rightclick', {originalEvent: event, data: rowData, index: rowIndex});
  31462. },
  31463. onRowTouchEnd(event) {
  31464. this.$emit('row-touchend', event);
  31465. },
  31466. onRowKeyDown(event, rowData, rowIndex) {
  31467. this.$emit('row-keydown', {originalEvent: event, data: rowData, index: rowIndex});
  31468. },
  31469. onRowMouseDown(event) {
  31470. this.$emit('row-mousedown', event);
  31471. },
  31472. onRowDragStart(event, rowIndex) {
  31473. this.$emit('row-dragstart', {originalEvent: event, index: rowIndex});
  31474. },
  31475. onRowDragOver(event, rowIndex) {
  31476. this.$emit('row-dragover', {originalEvent: event, index: rowIndex});
  31477. },
  31478. onRowDragLeave(event) {
  31479. this.$emit('row-dragleave', event);
  31480. },
  31481. onRowDragEnd(event) {
  31482. this.$emit('row-dragend', event);
  31483. },
  31484. onRowDrop(event) {
  31485. this.$emit('row-drop', event);
  31486. },
  31487. onRowToggle(event) {
  31488. this.$emit('row-toggle', event);
  31489. },
  31490. onRadioChange(event) {
  31491. this.$emit('radio-change', event);
  31492. },
  31493. onCheckboxChange(event) {
  31494. this.$emit('checkbox-change', event);
  31495. },
  31496. onCellEditInit(event) {
  31497. this.$emit('cell-edit-init', event);
  31498. },
  31499. onCellEditComplete(event) {
  31500. this.$emit('cell-edit-complete', event);
  31501. },
  31502. onCellEditCancel(event) {
  31503. this.$emit('cell-edit-cancel', event);
  31504. },
  31505. onRowEditInit(event) {
  31506. this.$emit('row-edit-init', event);
  31507. },
  31508. onRowEditSave(event) {
  31509. this.$emit('row-edit-save', event);
  31510. },
  31511. onRowEditCancel(event) {
  31512. this.$emit('row-edit-cancel', event);
  31513. },
  31514. onEditingMetaChange(event) {
  31515. this.$emit('editing-meta-change', event);
  31516. },
  31517. updateFrozenRowStickyPosition() {
  31518. this.$el.style.top = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.$el.previousElementSibling) + 'px';
  31519. },
  31520. updateFrozenRowGroupHeaderStickyPosition() {
  31521. let tableHeaderHeight = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.$el.previousElementSibling);
  31522. this.rowGroupHeaderStyleObject.top = tableHeaderHeight + 'px';
  31523. },
  31524. updateVirtualScrollerPosition() {
  31525. const tableHeaderHeight = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.$el.previousElementSibling);
  31526. this.$el.style.top = (this.$el.style.top || 0) + tableHeaderHeight + 'px';
  31527. },
  31528. getVirtualScrollerProp(option, options) {
  31529. options = options || this.virtualScrollerContentProps;
  31530. return options ? options[option] : null;
  31531. },
  31532. bodyRef(el) {
  31533. // For VirtualScroller
  31534. const contentRef = this.getVirtualScrollerProp('contentRef');
  31535. contentRef && contentRef(el);
  31536. }
  31537. },
  31538. computed: {
  31539. columnsLength() {
  31540. return this.columns ? this.columns.length : 0;
  31541. },
  31542. rowGroupHeaderStyle() {
  31543. if (this.scrollable) {
  31544. return {top: this.rowGroupHeaderStyleObject.top};
  31545. }
  31546. return null;
  31547. },
  31548. bodyStyle() {
  31549. return this.getVirtualScrollerProp('contentStyle');
  31550. }
  31551. },
  31552. components: {
  31553. 'DTBodyCell': script$4
  31554. }
  31555. };
  31556. const _hoisted_1$2 = {
  31557. key: 1,
  31558. class: "p-datatable-emptymessage",
  31559. role: "row"
  31560. };
  31561. function render$3(_ctx, _cache, $props, $setup, $data, $options) {
  31562. const _component_DTBodyCell = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTBodyCell");
  31563. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tbody", {
  31564. ref: $options.bodyRef,
  31565. class: "p-datatable-tbody",
  31566. role: "rowgroup",
  31567. style: $options.bodyStyle
  31568. }, [
  31569. (!$props.empty)
  31570. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.value, (rowData, index) => {
  31571. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  31572. key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_subheader'
  31573. }, [
  31574. ($props.templates['groupheader'] && $props.rowGroupMode === 'subheader' && $options.shouldRenderRowGroupHeader($props.value, rowData, $options.getRowIndex(index)))
  31575. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31576. key: 0,
  31577. class: "p-rowgroup-header",
  31578. style: $options.rowGroupHeaderStyle,
  31579. role: "row"
  31580. }, [
  31581. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("td", {
  31582. colspan: $options.columnsLength - 1
  31583. }, [
  31584. ($props.expandableRowGroups)
  31585. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("button", {
  31586. key: 0,
  31587. class: "p-row-toggler p-link",
  31588. onClick: $event => ($options.onRowGroupToggle($event, rowData)),
  31589. type: "button"
  31590. }, [
  31591. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("span", {
  31592. class: $options.rowGroupTogglerIcon(rowData)
  31593. }, null, 2)
  31594. ], 8, ["onClick"]))
  31595. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31596. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates['groupheader']), {
  31597. data: rowData,
  31598. index: $options.getRowIndex(index)
  31599. }, null, 8, ["data", "index"]))
  31600. ], 8, ["colspan"])
  31601. ], 4))
  31602. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31603. ($props.expandableRowGroups ? $options.isRowGroupExpanded(rowData): true)
  31604. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31605. class: $options.getRowClass(rowData),
  31606. style: $props.rowStyle,
  31607. key: $options.getRowKey(rowData, $options.getRowIndex(index)),
  31608. onClick: $event => ($options.onRowClick($event, rowData, $options.getRowIndex(index))),
  31609. onDblclick: $event => ($options.onRowDblClick($event, rowData, $options.getRowIndex(index))),
  31610. onContextmenu: $event => ($options.onRowRightClick($event, rowData, $options.getRowIndex(index))),
  31611. onTouchend: _cache[10] || (_cache[10] = $event => ($options.onRowTouchEnd($event))),
  31612. onKeydown: $event => ($options.onRowKeyDown($event, rowData, $options.getRowIndex(index))),
  31613. tabindex: $props.selectionMode || $props.contextMenu ? '0' : null,
  31614. onMousedown: _cache[11] || (_cache[11] = $event => ($options.onRowMouseDown($event))),
  31615. onDragstart: $event => ($options.onRowDragStart($event, $options.getRowIndex(index))),
  31616. onDragover: $event => ($options.onRowDragOver($event, $options.getRowIndex(index))),
  31617. onDragleave: _cache[12] || (_cache[12] = $event => ($options.onRowDragLeave($event))),
  31618. onDragend: _cache[13] || (_cache[13] = $event => ($options.onRowDragEnd($event))),
  31619. onDrop: _cache[14] || (_cache[14] = $event => ($options.onRowDrop($event))),
  31620. role: "row"
  31621. }, [
  31622. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  31623. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  31624. key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||i
  31625. }, [
  31626. ($options.shouldRenderBodyCell($props.value, col, $options.getRowIndex(index)))
  31627. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTBodyCell, {
  31628. key: 0,
  31629. rowData: rowData,
  31630. column: col,
  31631. rowIndex: $options.getRowIndex(index),
  31632. index: i,
  31633. selected: $options.isSelected(rowData),
  31634. rowTogglerIcon: $options.columnProp(col,'expander') ? $options.rowTogglerIcon(rowData): null,
  31635. frozenRow: $props.frozenRow,
  31636. rowspan: $props.rowGroupMode === 'rowspan' ? $options.calculateRowGroupSize($props.value, col, $options.getRowIndex(index)) : null,
  31637. editMode: $props.editMode,
  31638. editing: $props.editMode === 'row' && $options.isRowEditing(rowData),
  31639. responsiveLayout: $props.responsiveLayout,
  31640. onRadioChange: _cache[1] || (_cache[1] = $event => ($options.onRadioChange($event))),
  31641. onCheckboxChange: _cache[2] || (_cache[2] = $event => ($options.onCheckboxChange($event))),
  31642. onRowToggle: _cache[3] || (_cache[3] = $event => ($options.onRowToggle($event))),
  31643. onCellEditInit: _cache[4] || (_cache[4] = $event => ($options.onCellEditInit($event))),
  31644. onCellEditComplete: _cache[5] || (_cache[5] = $event => ($options.onCellEditComplete($event))),
  31645. onCellEditCancel: _cache[6] || (_cache[6] = $event => ($options.onCellEditCancel($event))),
  31646. onRowEditInit: _cache[7] || (_cache[7] = $event => ($options.onRowEditInit($event))),
  31647. onRowEditSave: _cache[8] || (_cache[8] = $event => ($options.onRowEditSave($event))),
  31648. onRowEditCancel: _cache[9] || (_cache[9] = $event => ($options.onRowEditCancel($event))),
  31649. editingMeta: $props.editingMeta,
  31650. onEditingMetaChange: $options.onEditingMetaChange,
  31651. virtualScrollerContentProps: $props.virtualScrollerContentProps
  31652. }, null, 8, ["rowData", "column", "rowIndex", "index", "selected", "rowTogglerIcon", "frozenRow", "rowspan", "editMode", "editing", "responsiveLayout", "editingMeta", "onEditingMetaChange", "virtualScrollerContentProps"]))
  31653. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31654. ], 64))
  31655. }), 128))
  31656. ], 46, ["onClick", "onDblclick", "onContextmenu", "onKeydown", "tabindex", "onDragstart", "onDragover"]))
  31657. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31658. ($props.templates['expansion'] && $props.expandedRows && $options.isRowExpanded(rowData))
  31659. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31660. class: "p-datatable-row-expansion",
  31661. key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_expansion',
  31662. role: "row"
  31663. }, [
  31664. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("td", { colspan: $options.columnsLength }, [
  31665. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates['expansion']), {
  31666. data: rowData,
  31667. index: $options.getRowIndex(index)
  31668. }, null, 8, ["data", "index"]))
  31669. ], 8, ["colspan"])
  31670. ]))
  31671. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31672. ($props.templates['groupfooter'] && $props.rowGroupMode === 'subheader' && $options.shouldRenderRowGroupFooter($props.value, rowData, $options.getRowIndex(index)))
  31673. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31674. class: "p-rowgroup-footer",
  31675. key: $options.getRowKey(rowData, $options.getRowIndex(index)) + '_subfooter',
  31676. role: "row"
  31677. }, [
  31678. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates['groupfooter']), {
  31679. data: rowData,
  31680. index: $options.getRowIndex(index)
  31681. }, null, 8, ["data", "index"]))
  31682. ]))
  31683. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31684. ], 64))
  31685. }), 128))
  31686. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", _hoisted_1$2, [
  31687. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("td", { colspan: $options.columnsLength }, [
  31688. ($props.templates.empty && !$props.loading)
  31689. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates.empty), { key: 0 }))
  31690. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31691. ($props.templates.loading && $props.loading)
  31692. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.templates.loading), { key: 1 }))
  31693. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31694. ], 8, ["colspan"])
  31695. ]))
  31696. ], 4))
  31697. }
  31698. script$3.render = render$3;
  31699. var script$2 = {
  31700. name: 'FooterCell',
  31701. props: {
  31702. column: {
  31703. type: null,
  31704. default: null
  31705. }
  31706. },
  31707. data() {
  31708. return {
  31709. styleObject: {}
  31710. }
  31711. },
  31712. mounted() {
  31713. if (this.columnProp('frozen')) {
  31714. this.updateStickyPosition();
  31715. }
  31716. },
  31717. updated() {
  31718. if (this.columnProp('frozen')) {
  31719. this.updateStickyPosition();
  31720. }
  31721. },
  31722. methods: {
  31723. columnProp(prop) {
  31724. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(this.column, prop);
  31725. },
  31726. updateStickyPosition() {
  31727. if (this.columnProp('frozen')) {
  31728. let align = this.columnProp('alignFrozen');
  31729. if (align === 'right') {
  31730. let right = 0;
  31731. let next = this.$el.nextElementSibling;
  31732. if (next) {
  31733. right = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(next) + parseFloat(next.style.left);
  31734. }
  31735. this.styleObject.right = right + 'px';
  31736. }
  31737. else {
  31738. let left = 0;
  31739. let prev = this.$el.previousElementSibling;
  31740. if (prev) {
  31741. left = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(prev) + parseFloat(prev.style.left);
  31742. }
  31743. this.styleObject.left = left + 'px';
  31744. }
  31745. }
  31746. }
  31747. },
  31748. computed: {
  31749. containerClass() {
  31750. return [this.columnProp('footerClass'), this.columnProp('class'), {
  31751. 'p-frozen-column': this.columnProp('frozen')
  31752. }];
  31753. },
  31754. containerStyle() {
  31755. let bodyStyle = this.columnProp('footerStyle');
  31756. let columnStyle = this.columnProp('style');
  31757. return this.columnProp('frozen') ? [columnStyle, bodyStyle, this.styleObject]: [columnStyle, bodyStyle];
  31758. }
  31759. }
  31760. };
  31761. function render$2(_ctx, _cache, $props, $setup, $data, $options) {
  31762. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("td", {
  31763. style: $options.containerStyle,
  31764. class: $options.containerClass,
  31765. role: "cell",
  31766. colspan: $options.columnProp('colspan'),
  31767. rowspan: $options.columnProp('rowspan')
  31768. }, [
  31769. ($props.column.children && $props.column.children.footer)
  31770. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)((0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveDynamicComponent)($props.column.children.footer), {
  31771. key: 0,
  31772. column: $props.column
  31773. }, null, 8, ["column"]))
  31774. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  31775. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createTextVNode)(" " + (0,vue__WEBPACK_IMPORTED_MODULE_4__.toDisplayString)($options.columnProp('footer')), 1)
  31776. ], 14, ["colspan", "rowspan"]))
  31777. }
  31778. script$2.render = render$2;
  31779. var script$1 = {
  31780. name: 'TableFooter',
  31781. props: {
  31782. columnGroup: {
  31783. type: null,
  31784. default: null
  31785. },
  31786. columns: {
  31787. type: null,
  31788. default: null
  31789. },
  31790. },
  31791. methods: {
  31792. columnProp(col, prop) {
  31793. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  31794. },
  31795. getFooterRows() {
  31796. let rows = [];
  31797. let columnGroup = this.columnGroup;
  31798. if (columnGroup.children && columnGroup.children.default) {
  31799. for (let child of columnGroup.children.default()) {
  31800. if (child.type.name === 'Row') {
  31801. rows.push(child);
  31802. }
  31803. else if (child.children && child.children instanceof Array) {
  31804. rows = child.children;
  31805. }
  31806. }
  31807. return rows;
  31808. }
  31809. },
  31810. getFooterColumns(row){
  31811. let cols = [];
  31812. if (row.children && row.children.default) {
  31813. row.children.default().forEach(child => {
  31814. if (child.children && child.children instanceof Array)
  31815. cols = [...cols, ...child.children];
  31816. else if (child.type.name === 'Column')
  31817. cols.push(child);
  31818. });
  31819. return cols;
  31820. }
  31821. }
  31822. },
  31823. computed: {
  31824. hasFooter() {
  31825. let hasFooter = false;
  31826. if (this.columnGroup) {
  31827. hasFooter = true;
  31828. }
  31829. else if (this.columns) {
  31830. for (let col of this.columns) {
  31831. if (this.columnProp(col, 'footer') || (col.children && col.children.footer)) {
  31832. hasFooter = true;
  31833. break;
  31834. }
  31835. }
  31836. }
  31837. return hasFooter;
  31838. }
  31839. },
  31840. components: {
  31841. 'DTFooterCell': script$2
  31842. }
  31843. };
  31844. const _hoisted_1$1 = {
  31845. key: 0,
  31846. class: "p-datatable-tfoot",
  31847. role: "rowgroup"
  31848. };
  31849. const _hoisted_2$1 = {
  31850. key: 0,
  31851. role: "row"
  31852. };
  31853. function render$1(_ctx, _cache, $props, $setup, $data, $options) {
  31854. const _component_DTFooterCell = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTFooterCell");
  31855. return ($options.hasFooter)
  31856. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tfoot", _hoisted_1$1, [
  31857. (!$props.columnGroup)
  31858. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", _hoisted_2$1, [
  31859. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($props.columns, (col, i) => {
  31860. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  31861. key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||i
  31862. }, [
  31863. (!$options.columnProp(col,'hidden'))
  31864. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTFooterCell, {
  31865. key: 0,
  31866. column: col
  31867. }, null, 8, ["column"]))
  31868. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31869. ], 64))
  31870. }), 128))
  31871. ]))
  31872. : ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getFooterRows(), (row, i) => {
  31873. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("tr", {
  31874. key: i,
  31875. role: "row"
  31876. }, [
  31877. ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderList)($options.getFooterColumns(row), (col, j) => {
  31878. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
  31879. key: $options.columnProp(col,'columnKey')||$options.columnProp(col,'field')||j
  31880. }, [
  31881. (!$options.columnProp(col,'hidden'))
  31882. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTFooterCell, {
  31883. key: 0,
  31884. column: col
  31885. }, null, 8, ["column"]))
  31886. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31887. ], 64))
  31888. }), 128))
  31889. ]))
  31890. }), 128))
  31891. ]))
  31892. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  31893. }
  31894. script$1.render = render$1;
  31895. var script = {
  31896. name: 'DataTable',
  31897. emits: ['value-change', 'update:first', 'update:rows', 'page', 'update:sortField', 'update:sortOrder', 'update:multiSortMeta', 'sort', 'filter', 'row-click', 'row-dblclick',
  31898. 'update:selection', 'row-select', 'row-unselect', 'update:contextMenuSelection', 'row-contextmenu', 'row-unselect-all', 'row-select-all', 'select-all-change',
  31899. 'column-resize-end', 'column-reorder', 'row-reorder', 'update:expandedRows', 'row-collapse', 'row-expand',
  31900. 'update:expandedRowGroups', 'rowgroup-collapse', 'rowgroup-expand', 'update:filters', 'state-restore', 'state-save',
  31901. 'cell-edit-init', 'cell-edit-complete', 'cell-edit-cancel', 'update:editingRows', 'row-edit-init', 'row-edit-save', 'row-edit-cancel'],
  31902. props: {
  31903. value: {
  31904. type: Array,
  31905. default: null
  31906. },
  31907. dataKey: {
  31908. type: String,
  31909. default: null
  31910. },
  31911. rows: {
  31912. type: Number,
  31913. default: 0
  31914. },
  31915. first: {
  31916. type: Number,
  31917. default: 0
  31918. },
  31919. totalRecords: {
  31920. type: Number,
  31921. default: 0
  31922. },
  31923. paginator: {
  31924. type: Boolean,
  31925. default: false
  31926. },
  31927. paginatorPosition: {
  31928. type: String,
  31929. default: 'bottom'
  31930. },
  31931. alwaysShowPaginator: {
  31932. type: Boolean,
  31933. default: true
  31934. },
  31935. paginatorTemplate: {
  31936. type: String,
  31937. default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown'
  31938. },
  31939. pageLinkSize: {
  31940. type: Number,
  31941. default: 5
  31942. },
  31943. rowsPerPageOptions: {
  31944. type: Array,
  31945. default: null
  31946. },
  31947. currentPageReportTemplate: {
  31948. type: String,
  31949. default: '({currentPage} of {totalPages})'
  31950. },
  31951. lazy: {
  31952. type: Boolean,
  31953. default: false
  31954. },
  31955. loading: {
  31956. type: Boolean,
  31957. default: false
  31958. },
  31959. loadingIcon: {
  31960. type: String,
  31961. default: 'pi pi-spinner'
  31962. },
  31963. sortField: {
  31964. type: [String, Function],
  31965. default: null
  31966. },
  31967. sortOrder: {
  31968. type: Number,
  31969. default: null
  31970. },
  31971. defaultSortOrder: {
  31972. type: Number,
  31973. default: 1
  31974. },
  31975. multiSortMeta: {
  31976. type: Array,
  31977. default: null
  31978. },
  31979. sortMode: {
  31980. type: String,
  31981. default: 'single'
  31982. },
  31983. removableSort: {
  31984. type: Boolean,
  31985. default: false
  31986. },
  31987. filters: {
  31988. type: Object,
  31989. default: null
  31990. },
  31991. filterDisplay: {
  31992. type: String,
  31993. default: null
  31994. },
  31995. globalFilterFields: {
  31996. type: Array,
  31997. default: null
  31998. },
  31999. filterLocale: {
  32000. type: String,
  32001. default: undefined
  32002. },
  32003. selection: {
  32004. type: [Array,Object],
  32005. default: null
  32006. },
  32007. selectionMode: {
  32008. type: String,
  32009. default: null
  32010. },
  32011. compareSelectionBy: {
  32012. type: String,
  32013. default: 'deepEquals'
  32014. },
  32015. metaKeySelection: {
  32016. type: Boolean,
  32017. default: true
  32018. },
  32019. contextMenu: {
  32020. type: Boolean,
  32021. default: false
  32022. },
  32023. contextMenuSelection: {
  32024. type: Object,
  32025. default: null
  32026. },
  32027. selectAll: {
  32028. type: Boolean,
  32029. default: null
  32030. },
  32031. rowHover: {
  32032. type: Boolean,
  32033. default: false
  32034. },
  32035. csvSeparator: {
  32036. type: String,
  32037. default: ','
  32038. },
  32039. exportFilename: {
  32040. type: String,
  32041. default: 'download'
  32042. },
  32043. exportFunction: {
  32044. type: Function,
  32045. default: null
  32046. },
  32047. autoLayout: {
  32048. type: Boolean,
  32049. default: false
  32050. },
  32051. resizableColumns: {
  32052. type: Boolean,
  32053. default: false
  32054. },
  32055. columnResizeMode: {
  32056. type: String,
  32057. default: 'fit'
  32058. },
  32059. reorderableColumns: {
  32060. type: Boolean,
  32061. default: false
  32062. },
  32063. expandedRows: {
  32064. type: Array,
  32065. default: null
  32066. },
  32067. expandedRowIcon: {
  32068. type: String,
  32069. default: 'pi-chevron-down'
  32070. },
  32071. collapsedRowIcon: {
  32072. type: String,
  32073. default: 'pi-chevron-right'
  32074. },
  32075. rowGroupMode: {
  32076. type: String,
  32077. default: null
  32078. },
  32079. groupRowsBy: {
  32080. type: [Array,String],
  32081. default: null
  32082. },
  32083. expandableRowGroups: {
  32084. type: Boolean,
  32085. default: false
  32086. },
  32087. expandedRowGroups: {
  32088. type: Array,
  32089. default: null
  32090. },
  32091. stateStorage: {
  32092. type: String,
  32093. default: 'session'
  32094. },
  32095. stateKey: {
  32096. type: String,
  32097. default: null
  32098. },
  32099. editMode: {
  32100. type: String,
  32101. default: null
  32102. },
  32103. editingRows: {
  32104. type: Array,
  32105. default: null
  32106. },
  32107. rowClass: {
  32108. type: null,
  32109. default: null
  32110. },
  32111. rowStyle: {
  32112. type: null,
  32113. default: null
  32114. },
  32115. scrollable: {
  32116. type: Boolean,
  32117. default: false
  32118. },
  32119. scrollDirection: {
  32120. type: String,
  32121. default: "vertical"
  32122. },
  32123. virtualScrollerOptions: {
  32124. type: Object,
  32125. default: null
  32126. },
  32127. scrollHeight: {
  32128. type: String,
  32129. default: null
  32130. },
  32131. frozenValue: {
  32132. type: Array,
  32133. default: null
  32134. },
  32135. responsiveLayout: {
  32136. type: String,
  32137. default: 'stack'
  32138. },
  32139. breakpoint: {
  32140. type: String,
  32141. default: '960px'
  32142. },
  32143. showGridlines: {
  32144. type: Boolean,
  32145. default: false
  32146. },
  32147. stripedRows: {
  32148. type: Boolean,
  32149. default: false
  32150. },
  32151. tableStyle: {
  32152. type: null,
  32153. default: null
  32154. },
  32155. tableClass: {
  32156. type: String,
  32157. default: null
  32158. }
  32159. },
  32160. data() {
  32161. return {
  32162. d_first: this.first,
  32163. d_rows: this.rows,
  32164. d_sortField: this.sortField,
  32165. d_sortOrder: this.sortOrder,
  32166. d_multiSortMeta: this.multiSortMeta ? [...this.multiSortMeta] : [],
  32167. d_groupRowsSortMeta: null,
  32168. d_selectionKeys: null,
  32169. d_expandedRowKeys: null,
  32170. d_columnOrder: null,
  32171. d_editingRowKeys: null,
  32172. d_editingMeta: {},
  32173. d_filters: this.cloneFilters(this.filters)
  32174. };
  32175. },
  32176. rowTouched: false,
  32177. anchorRowIndex: null,
  32178. rangeRowIndex: null,
  32179. documentColumnResizeListener: null,
  32180. documentColumnResizeEndListener: null,
  32181. lastResizeHelperX: null,
  32182. resizeColumnElement: null,
  32183. columnResizing: false,
  32184. colReorderIconWidth: null,
  32185. colReorderIconHeight: null,
  32186. draggedColumn: null,
  32187. draggedRowIndex: null,
  32188. droppedRowIndex: null,
  32189. rowDragging: null,
  32190. columnWidthsState: null,
  32191. tableWidthState: null,
  32192. columnWidthsRestored: false,
  32193. watch: {
  32194. first(newValue) {
  32195. this.d_first = newValue;
  32196. },
  32197. rows(newValue) {
  32198. this.d_rows = newValue;
  32199. },
  32200. sortField(newValue) {
  32201. this.d_sortField = newValue;
  32202. },
  32203. sortOrder(newValue) {
  32204. this.d_sortOrder = newValue;
  32205. },
  32206. multiSortMeta(newValue) {
  32207. this.d_multiSortMeta = newValue;
  32208. },
  32209. selection: {
  32210. immediate: true,
  32211. handler(newValue) {
  32212. if (this.dataKey) {
  32213. this.updateSelectionKeys(newValue);
  32214. }
  32215. }
  32216. },
  32217. expandedRows(newValue) {
  32218. if (this.dataKey) {
  32219. this.updateExpandedRowKeys(newValue);
  32220. }
  32221. },
  32222. editingRows(newValue) {
  32223. if (this.dataKey) {
  32224. this.updateEditingRowKeys(newValue);
  32225. }
  32226. },
  32227. filters: {
  32228. deep: true,
  32229. handler: function(newValue) {
  32230. this.d_filters = this.cloneFilters(newValue);
  32231. }
  32232. }
  32233. },
  32234. beforeMount() {
  32235. if (this.isStateful()) {
  32236. this.restoreState();
  32237. }
  32238. },
  32239. mounted() {
  32240. this.$el.setAttribute(this.attributeSelector, '');
  32241. if (this.responsiveLayout === 'stack' && !this.scrollable) {
  32242. this.createResponsiveStyle();
  32243. }
  32244. if (this.isStateful() && this.resizableColumns) {
  32245. this.restoreColumnWidths();
  32246. }
  32247. if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
  32248. this.updateEditingRowKeys(this.editingRows);
  32249. }
  32250. },
  32251. beforeUnmount() {
  32252. this.unbindColumnResizeEvents();
  32253. this.destroyStyleElement();
  32254. this.destroyResponsiveStyle();
  32255. },
  32256. updated() {
  32257. if (this.isStateful()) {
  32258. this.saveState();
  32259. }
  32260. if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
  32261. this.updateEditingRowKeys(this.editingRows);
  32262. }
  32263. },
  32264. methods: {
  32265. columnProp(col, prop) {
  32266. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.getVNodeProp(col, prop);
  32267. },
  32268. onPage(event) {
  32269. this.clearEditingMetaData();
  32270. this.d_first = event.first;
  32271. this.d_rows = event.rows;
  32272. let pageEvent = this.createLazyLoadEvent(event);
  32273. pageEvent.pageCount = event.pageCount;
  32274. pageEvent.page = event.page;
  32275. this.$emit('update:first', this.d_first);
  32276. this.$emit('update:rows', this.d_rows);
  32277. this.$emit('page', pageEvent);
  32278. this.$emit('value-change', this.processedData);
  32279. },
  32280. onColumnHeaderClick(e) {
  32281. const event = e.originalEvent;
  32282. const column = e.column;
  32283. if (this.columnProp(column, 'sortable')) {
  32284. const targetNode = event.target;
  32285. const columnField = this.columnProp(column, 'sortField') || this.columnProp(column, 'field');
  32286. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-sortable-column') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-column-title') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-column-header-content')
  32287. || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode, 'p-sortable-column-icon') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(targetNode.parentElement, 'p-sortable-column-icon')) {
  32288. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.clearSelection();
  32289. if (this.sortMode === 'single') {
  32290. if (this.d_sortField === columnField) {
  32291. if (this.removableSort && (this.d_sortOrder * -1 === this.defaultSortOrder)) {
  32292. this.d_sortOrder = null;
  32293. this.d_sortField = null;
  32294. }
  32295. else {
  32296. this.d_sortOrder = this.d_sortOrder * -1;
  32297. }
  32298. }
  32299. else {
  32300. this.d_sortOrder = this.defaultSortOrder;
  32301. this.d_sortField = columnField;
  32302. }
  32303. this.$emit('update:sortField', this.d_sortField);
  32304. this.$emit('update:sortOrder', this.d_sortOrder);
  32305. this.resetPage();
  32306. }
  32307. else if (this.sortMode === 'multiple') {
  32308. let metaKey = event.metaKey || event.ctrlKey;
  32309. if (!metaKey) {
  32310. this.d_multiSortMeta = this.d_multiSortMeta.filter(meta => meta.field === columnField);
  32311. }
  32312. this.addMultiSortField(columnField);
  32313. this.$emit('update:multiSortMeta', this.d_multiSortMeta);
  32314. }
  32315. this.$emit('sort', this.createLazyLoadEvent(event));
  32316. this.$emit('value-change', this.processedData);
  32317. }
  32318. }
  32319. },
  32320. sortSingle(value) {
  32321. this.clearEditingMetaData();
  32322. if (this.groupRowsBy && this.groupRowsBy === this.sortField) {
  32323. this.d_multiSortMeta = [
  32324. {field: this.sortField, order: this.sortOrder || this.defaultSortOrder},
  32325. {field: this.d_sortField, order: this.d_sortOrder}
  32326. ];
  32327. return this.sortMultiple(value);
  32328. }
  32329. let data = [...value];
  32330. data.sort((data1, data2) => {
  32331. let value1 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data1, this.d_sortField);
  32332. let value2 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data2, this.d_sortField);
  32333. let result = null;
  32334. if (value1 == null && value2 != null)
  32335. result = -1;
  32336. else if (value1 != null && value2 == null)
  32337. result = 1;
  32338. else if (value1 == null && value2 == null)
  32339. result = 0;
  32340. else if (typeof value1 === 'string' && typeof value2 === 'string')
  32341. result = value1.localeCompare(value2, undefined, { numeric: true });
  32342. else
  32343. result = (value1 < value2) ? -1 : (value1 > value2) ? 1 : 0;
  32344. return (this.d_sortOrder * result);
  32345. });
  32346. return data;
  32347. },
  32348. sortMultiple(value) {
  32349. this.clearEditingMetaData();
  32350. if (this.groupRowsBy && (this.d_groupRowsSortMeta || (this.d_multiSortMeta.length && this.groupRowsBy === this.d_multiSortMeta[0].field))) {
  32351. const firstSortMeta = this.d_multiSortMeta[0];
  32352. !this.d_groupRowsSortMeta && (this.d_groupRowsSortMeta = firstSortMeta);
  32353. if (firstSortMeta.field !== this.d_groupRowsSortMeta.field) {
  32354. this.d_multiSortMeta = [this.d_groupRowsSortMeta, ...this.d_multiSortMeta];
  32355. }
  32356. }
  32357. let data = [...value];
  32358. data.sort((data1, data2) => {
  32359. return this.multisortField(data1, data2, 0);
  32360. });
  32361. return data;
  32362. },
  32363. multisortField(data1, data2, index) {
  32364. const value1 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data1, this.d_multiSortMeta[index].field);
  32365. const value2 = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data2, this.d_multiSortMeta[index].field);
  32366. let result = null;
  32367. if (typeof value1 === 'string' || value1 instanceof String) {
  32368. if (value1.localeCompare && (value1 !== value2)) {
  32369. return (this.d_multiSortMeta[index].order * value1.localeCompare(value2, undefined, { numeric: true }));
  32370. }
  32371. }
  32372. else {
  32373. result = (value1 < value2) ? -1 : 1;
  32374. }
  32375. if (value1 === value2) {
  32376. return (this.d_multiSortMeta.length - 1) > (index) ? (this.multisortField(data1, data2, index + 1)) : 0;
  32377. }
  32378. return (this.d_multiSortMeta[index].order * result);
  32379. },
  32380. addMultiSortField(field) {
  32381. let index = this.d_multiSortMeta.findIndex(meta => meta.field === field);
  32382. if (index >= 0) {
  32383. if (this.removableSort && (this.d_multiSortMeta[index].order * -1 === this.defaultSortOrder))
  32384. this.d_multiSortMeta.splice(index, 1);
  32385. else
  32386. this.d_multiSortMeta[index] = {field: field, order: this.d_multiSortMeta[index].order * -1};
  32387. }
  32388. else {
  32389. this.d_multiSortMeta.push({field: field, order: this.defaultSortOrder});
  32390. }
  32391. this.d_multiSortMeta = [...this.d_multiSortMeta];
  32392. },
  32393. filter(data) {
  32394. if (!data) {
  32395. return;
  32396. }
  32397. this.clearEditingMetaData();
  32398. let globalFilterFieldsArray;
  32399. if (this.filters['global']) {
  32400. globalFilterFieldsArray = this.globalFilterFields|| this.columns.map(col => this.columnProp(col, 'filterField') || this.columnProp(col, 'field'));
  32401. }
  32402. let filteredValue = [];
  32403. for (let i = 0; i < data.length; i++) {
  32404. let localMatch = true;
  32405. let globalMatch = false;
  32406. let localFiltered = false;
  32407. for (let prop in this.filters) {
  32408. if (Object.prototype.hasOwnProperty.call(this.filters, prop) && prop !== 'global') {
  32409. localFiltered = true;
  32410. let filterField = prop;
  32411. let filterMeta = this.filters[filterField];
  32412. if (filterMeta.operator) {
  32413. for (let filterConstraint of filterMeta.constraints) {
  32414. localMatch = this.executeLocalFilter(filterField, data[i], filterConstraint);
  32415. if ((filterMeta.operator === primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.OR && localMatch) || (filterMeta.operator === primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterOperator.AND && !localMatch)) {
  32416. break;
  32417. }
  32418. }
  32419. }
  32420. else {
  32421. localMatch = this.executeLocalFilter(filterField, data[i], filterMeta);
  32422. }
  32423. if (!localMatch) {
  32424. break;
  32425. }
  32426. }
  32427. }
  32428. if (this.filters['global'] && !globalMatch && globalFilterFieldsArray) {
  32429. for(let j = 0; j < globalFilterFieldsArray.length; j++) {
  32430. let globalFilterField = globalFilterFieldsArray[j];
  32431. globalMatch = primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterService.filters[this.filters['global'].matchMode || primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.CONTAINS](primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data[i], globalFilterField), this.filters['global'].value, this.filterLocale);
  32432. if (globalMatch) {
  32433. break;
  32434. }
  32435. }
  32436. }
  32437. let matches;
  32438. if (this.filters['global']) {
  32439. matches = localFiltered ? (localFiltered && localMatch && globalMatch) : globalMatch;
  32440. }
  32441. else {
  32442. matches = localFiltered && localMatch;
  32443. }
  32444. if (matches) {
  32445. filteredValue.push(data[i]);
  32446. }
  32447. }
  32448. if (filteredValue.length === this.value.length) {
  32449. filteredValue = data;
  32450. }
  32451. let filterEvent = this.createLazyLoadEvent();
  32452. filterEvent.filteredValue = filteredValue;
  32453. this.$emit('filter', filterEvent);
  32454. this.$emit('value-change', filteredValue);
  32455. return filteredValue;
  32456. },
  32457. executeLocalFilter(field, rowData, filterMeta) {
  32458. let filterValue = filterMeta.value;
  32459. let filterMatchMode = filterMeta.matchMode || primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterMatchMode.STARTS_WITH;
  32460. let dataFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, field);
  32461. let filterConstraint = primevue_api__WEBPACK_IMPORTED_MODULE_1__.FilterService.filters[filterMatchMode];
  32462. return filterConstraint(dataFieldValue, filterValue, this.filterLocale);
  32463. },
  32464. onRowClick(e) {
  32465. const event = e.originalEvent;
  32466. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isClickable(event.target)) {
  32467. return;
  32468. }
  32469. this.$emit('row-click', e);
  32470. if (this.selectionMode) {
  32471. const rowData = e.data;
  32472. const rowIndex = this.d_first + e.index;
  32473. if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) {
  32474. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.clearSelection();
  32475. this.rangeRowIndex = rowIndex;
  32476. this.selectRange(event);
  32477. }
  32478. else {
  32479. const selected = this.isSelected(rowData);
  32480. const metaSelection = this.rowTouched ? false : this.metaKeySelection;
  32481. this.anchorRowIndex = rowIndex;
  32482. this.rangeRowIndex = rowIndex;
  32483. if (metaSelection) {
  32484. let metaKey = event.metaKey || event.ctrlKey;
  32485. if (selected && metaKey) {
  32486. if(this.isSingleSelectionMode()) {
  32487. this.$emit('update:selection', null);
  32488. }
  32489. else {
  32490. const selectionIndex = this.findIndexInSelection(rowData);
  32491. const _selection = this.selection.filter((val,i) => i != selectionIndex);
  32492. this.$emit('update:selection', _selection);
  32493. }
  32494. this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32495. }
  32496. else {
  32497. if(this.isSingleSelectionMode()) {
  32498. this.$emit('update:selection', rowData);
  32499. }
  32500. else if (this.isMultipleSelectionMode()) {
  32501. let _selection = metaKey ? (this.selection || []) : [];
  32502. _selection = [..._selection, rowData];
  32503. this.$emit('update:selection', _selection);
  32504. }
  32505. this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32506. }
  32507. }
  32508. else {
  32509. if (this.selectionMode === 'single') {
  32510. if (selected) {
  32511. this.$emit('update:selection', null);
  32512. this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32513. }
  32514. else {
  32515. this.$emit('update:selection', rowData);
  32516. this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32517. }
  32518. }
  32519. else if (this.selectionMode === 'multiple') {
  32520. if (selected) {
  32521. const selectionIndex = this.findIndexInSelection(rowData);
  32522. const _selection = this.selection.filter((val, i) => i != selectionIndex);
  32523. this.$emit('update:selection', _selection);
  32524. this.$emit('row-unselect', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32525. }
  32526. else {
  32527. const _selection = this.selection ? [...this.selection, rowData] : [rowData];
  32528. this.$emit('update:selection', _selection);
  32529. this.$emit('row-select', {originalEvent: event, data: rowData, index: rowIndex, type: 'row'});
  32530. }
  32531. }
  32532. }
  32533. }
  32534. }
  32535. this.rowTouched = false;
  32536. },
  32537. onRowDblClick(e) {
  32538. const event = e.originalEvent;
  32539. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isClickable(event.target)) {
  32540. return;
  32541. }
  32542. this.$emit('row-dblclick', e);
  32543. },
  32544. onRowRightClick(event) {
  32545. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.clearSelection();
  32546. event.originalEvent.target.focus();
  32547. this.$emit('update:contextMenuSelection', event.data);
  32548. this.$emit('row-contextmenu', event);
  32549. },
  32550. onRowTouchEnd() {
  32551. this.rowTouched = true;
  32552. },
  32553. onRowKeyDown(e) {
  32554. const event = e.originalEvent;
  32555. const rowData = e.data;
  32556. const rowIndex = e.index;
  32557. if (this.selectionMode) {
  32558. const row = event.target;
  32559. switch (event.which) {
  32560. //down arrow
  32561. case 40:
  32562. var nextRow = this.findNextSelectableRow(row);
  32563. if (nextRow) {
  32564. nextRow.focus();
  32565. }
  32566. event.preventDefault();
  32567. break;
  32568. //up arrow
  32569. case 38:
  32570. var prevRow = this.findPrevSelectableRow(row);
  32571. if (prevRow) {
  32572. prevRow.focus();
  32573. }
  32574. event.preventDefault();
  32575. break;
  32576. //enter
  32577. case 13:
  32578. this.onRowClick({originalEvent: event, data: rowData, index: rowIndex});
  32579. break;
  32580. }
  32581. }
  32582. },
  32583. findNextSelectableRow(row) {
  32584. let nextRow = row.nextElementSibling;
  32585. if (nextRow) {
  32586. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(nextRow, 'p-selectable-row'))
  32587. return nextRow;
  32588. else
  32589. return this.findNextSelectableRow(nextRow);
  32590. }
  32591. else {
  32592. return null;
  32593. }
  32594. },
  32595. findPrevSelectableRow(row) {
  32596. let prevRow = row.previousElementSibling;
  32597. if (prevRow) {
  32598. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(prevRow, 'p-selectable-row'))
  32599. return prevRow;
  32600. else
  32601. return this.findPrevSelectableRow(prevRow);
  32602. }
  32603. else {
  32604. return null;
  32605. }
  32606. },
  32607. toggleRowWithRadio(event) {
  32608. const rowData = event.data;
  32609. if (this.isSelected(rowData)) {
  32610. this.$emit('update:selection', null);
  32611. this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
  32612. }
  32613. else {
  32614. this.$emit('update:selection', rowData);
  32615. this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
  32616. }
  32617. },
  32618. toggleRowWithCheckbox(event) {
  32619. const rowData = event.data;
  32620. if (this.isSelected(rowData)) {
  32621. const selectionIndex = this.findIndexInSelection(rowData);
  32622. const _selection = this.selection.filter((val, i) => i != selectionIndex);
  32623. this.$emit('update:selection', _selection);
  32624. this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
  32625. }
  32626. else {
  32627. let _selection = this.selection ? [...this.selection] : [];
  32628. _selection = [..._selection, rowData];
  32629. this.$emit('update:selection', _selection);
  32630. this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
  32631. }
  32632. },
  32633. toggleRowsWithCheckbox(event) {
  32634. if (this.selectAll !== null) {
  32635. this.$emit('select-all-change', event);
  32636. }
  32637. else {
  32638. const { originalEvent, checked } = event;
  32639. let _selection = [];
  32640. if (checked) {
  32641. _selection = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
  32642. this.$emit('row-select-all', {originalEvent, data: _selection});
  32643. }
  32644. else {
  32645. this.$emit('row-unselect-all', {originalEvent});
  32646. }
  32647. this.$emit('update:selection', _selection);
  32648. }
  32649. },
  32650. isSingleSelectionMode() {
  32651. return this.selectionMode === 'single';
  32652. },
  32653. isMultipleSelectionMode() {
  32654. return this.selectionMode === 'multiple';
  32655. },
  32656. isSelected(rowData) {
  32657. if (rowData && this.selection) {
  32658. if (this.dataKey) {
  32659. return this.d_selectionKeys ? this.d_selectionKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  32660. }
  32661. else {
  32662. if (this.selection instanceof Array)
  32663. return this.findIndexInSelection(rowData) > -1;
  32664. else
  32665. return this.equals(rowData, this.selection);
  32666. }
  32667. }
  32668. return false;
  32669. },
  32670. findIndexInSelection(rowData) {
  32671. return this.findIndex(rowData, this.selection);
  32672. },
  32673. findIndex(rowData, collection) {
  32674. let index = -1;
  32675. if (collection && collection.length) {
  32676. for (let i = 0; i < collection.length; i++) {
  32677. if (this.equals(rowData, collection[i])) {
  32678. index = i;
  32679. break;
  32680. }
  32681. }
  32682. }
  32683. return index;
  32684. },
  32685. updateSelectionKeys(selection) {
  32686. this.d_selectionKeys = {};
  32687. if (Array.isArray(selection)) {
  32688. for (let data of selection) {
  32689. this.d_selectionKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
  32690. }
  32691. }
  32692. else {
  32693. this.d_selectionKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(selection, this.dataKey))] = 1;
  32694. }
  32695. },
  32696. updateExpandedRowKeys(expandedRows) {
  32697. if (expandedRows && expandedRows.length) {
  32698. this.d_expandedRowKeys = {};
  32699. for (let data of expandedRows) {
  32700. this.d_expandedRowKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
  32701. }
  32702. }
  32703. else {
  32704. this.d_expandedRowKeys = null;
  32705. }
  32706. },
  32707. updateEditingRowKeys(editingRows) {
  32708. if (editingRows && editingRows.length) {
  32709. this.d_editingRowKeys = {};
  32710. for (let data of editingRows) {
  32711. this.d_editingRowKeys[String(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
  32712. }
  32713. }
  32714. else {
  32715. this.d_editingRowKeys = null;
  32716. }
  32717. },
  32718. equals(data1, data2) {
  32719. return this.compareSelectionBy === 'equals' ? (data1 === data2) : primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(data1, data2, this.dataKey);
  32720. },
  32721. selectRange(event) {
  32722. let rangeStart, rangeEnd;
  32723. if (this.rangeRowIndex > this.anchorRowIndex) {
  32724. rangeStart = this.anchorRowIndex;
  32725. rangeEnd = this.rangeRowIndex;
  32726. }
  32727. else if(this.rangeRowIndex < this.anchorRowIndex) {
  32728. rangeStart = this.rangeRowIndex;
  32729. rangeEnd = this.anchorRowIndex;
  32730. }
  32731. else {
  32732. rangeStart = this.rangeRowIndex;
  32733. rangeEnd = this.rangeRowIndex;
  32734. }
  32735. if (this.lazy && this.paginator) {
  32736. rangeStart -= this.first;
  32737. rangeEnd -= this.first;
  32738. }
  32739. const value = this.processedData;
  32740. let _selection = [];
  32741. for(let i = rangeStart; i <= rangeEnd; i++) {
  32742. let rangeRowData = value[i];
  32743. _selection.push(rangeRowData);
  32744. this.$emit('row-select', {originalEvent: event, data: rangeRowData, type: 'row'});
  32745. }
  32746. this.$emit('update:selection', _selection);
  32747. },
  32748. exportCSV(options, data) {
  32749. let csv = '\ufeff';
  32750. if (!data) {
  32751. data = this.processedData;
  32752. if (options && options.selectionOnly)
  32753. data = this.selection || [];
  32754. else if (this.frozenValue)
  32755. data = data ? [...this.frozenValue, ...data] : this.frozenValue;
  32756. }
  32757. //headers
  32758. let headerInitiated = false;
  32759. for (let i = 0; i < this.columns.length; i++) {
  32760. let column = this.columns[i];
  32761. if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
  32762. if (headerInitiated)
  32763. csv += this.csvSeparator;
  32764. else
  32765. headerInitiated = true;
  32766. csv += '"' + (this.columnProp(column, 'exportHeader') || this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
  32767. }
  32768. }
  32769. //body
  32770. if (data) {
  32771. data.forEach(record => {
  32772. csv += '\n';
  32773. let rowInitiated = false;
  32774. for (let i = 0; i < this.columns.length; i++) {
  32775. let column = this.columns[i];
  32776. if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
  32777. if (rowInitiated)
  32778. csv += this.csvSeparator;
  32779. else
  32780. rowInitiated = true;
  32781. let cellData = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(record, this.columnProp(column, 'field'));
  32782. if (cellData != null) {
  32783. if (this.exportFunction) {
  32784. cellData = this.exportFunction({
  32785. data: cellData,
  32786. field: this.columnProp(column, 'field')
  32787. });
  32788. }
  32789. else
  32790. cellData = String(cellData).replace(/"/g, '""');
  32791. }
  32792. else
  32793. cellData = '';
  32794. csv += '"' + cellData + '"';
  32795. }
  32796. }
  32797. });
  32798. }
  32799. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.exportCSV(csv, this.exportFilename);
  32800. },
  32801. resetPage() {
  32802. this.d_first = 0;
  32803. this.$emit('update:first', this.d_first);
  32804. },
  32805. onColumnResizeStart(event) {
  32806. let containerLeft = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(this.$el).left;
  32807. this.resizeColumnElement = event.target.parentElement;
  32808. this.columnResizing = true;
  32809. this.lastResizeHelperX = (event.pageX - containerLeft + this.$el.scrollLeft);
  32810. this.bindColumnResizeEvents();
  32811. },
  32812. onColumnResize(event) {
  32813. let containerLeft = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(this.$el).left;
  32814. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.$el, 'p-unselectable-text');
  32815. this.$refs.resizeHelper.style.height = this.$el.offsetHeight + 'px';
  32816. this.$refs.resizeHelper.style.top = 0 + 'px';
  32817. this.$refs.resizeHelper.style.left = (event.pageX - containerLeft + this.$el.scrollLeft) + 'px';
  32818. this.$refs.resizeHelper.style.display = 'block';
  32819. },
  32820. onColumnResizeEnd() {
  32821. let delta = this.$refs.resizeHelper.offsetLeft - this.lastResizeHelperX;
  32822. let columnWidth = this.resizeColumnElement.offsetWidth;
  32823. let newColumnWidth = columnWidth + delta;
  32824. let minWidth = this.resizeColumnElement.style.minWidth||15;
  32825. if (columnWidth + delta > parseInt(minWidth, 10)) {
  32826. if (this.columnResizeMode === 'fit') {
  32827. let nextColumn = this.resizeColumnElement.nextElementSibling;
  32828. let nextColumnWidth = nextColumn.offsetWidth - delta;
  32829. if (newColumnWidth > 15 && nextColumnWidth > 15) {
  32830. this.resizeTableCells(newColumnWidth, nextColumnWidth);
  32831. }
  32832. }
  32833. else if (this.columnResizeMode === 'expand') {
  32834. const tableWidth = this.$refs.table.offsetWidth + delta + 'px';
  32835. this.$refs.table.style.width = tableWidth;
  32836. this.$refs.table.style.minWidth = tableWidth;
  32837. this.resizeTableCells(newColumnWidth);
  32838. }
  32839. this.$emit('column-resize-end', {
  32840. element: this.resizeColumnElement,
  32841. delta: delta
  32842. });
  32843. }
  32844. this.$refs.resizeHelper.style.display = 'none';
  32845. this.resizeColumn = null;
  32846. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(this.$el, 'p-unselectable-text');
  32847. this.unbindColumnResizeEvents();
  32848. if (this.isStateful()) {
  32849. this.saveState();
  32850. }
  32851. },
  32852. resizeTableCells(newColumnWidth, nextColumnWidth) {
  32853. let colIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.resizeColumnElement);
  32854. let widths = [];
  32855. let headers = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.$refs.table, '.p-datatable-thead > tr > th');
  32856. headers.forEach(header => widths.push(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(header)));
  32857. this.destroyStyleElement();
  32858. this.createStyleElement();
  32859. let innerHTML = '';
  32860. widths.forEach((width, index) => {
  32861. let colWidth = index === colIndex ? newColumnWidth : (nextColumnWidth && index === colIndex + 1) ? nextColumnWidth : width;
  32862. let style = this.scrollable ? `flex: 1 1 ${colWidth}px !important` : `width: ${colWidth}px !important`;
  32863. innerHTML += `
  32864. .p-datatable[${this.attributeSelector}] .p-datatable-thead > tr > th:nth-child(${index + 1}),
  32865. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td:nth-child(${index + 1}),
  32866. .p-datatable[${this.attributeSelector}] .p-datatable-tfoot > tr > td:nth-child(${index + 1}) {
  32867. ${style}
  32868. }
  32869. `;
  32870. });
  32871. this.styleElement.innerHTML = innerHTML;
  32872. },
  32873. bindColumnResizeEvents() {
  32874. if (!this.documentColumnResizeListener) {
  32875. this.documentColumnResizeListener = document.addEventListener('mousemove', () => {
  32876. if(this.columnResizing) {
  32877. this.onColumnResize(event);
  32878. }
  32879. });
  32880. }
  32881. if (!this.documentColumnResizeEndListener) {
  32882. this.documentColumnResizeEndListener = document.addEventListener('mouseup', () => {
  32883. if(this.columnResizing) {
  32884. this.columnResizing = false;
  32885. this.onColumnResizeEnd();
  32886. }
  32887. });
  32888. }
  32889. },
  32890. unbindColumnResizeEvents() {
  32891. if (this.documentColumnResizeListener) {
  32892. document.removeEventListener('document', this.documentColumnResizeListener);
  32893. this.documentColumnResizeListener = null;
  32894. }
  32895. if (this.documentColumnResizeEndListener) {
  32896. document.removeEventListener('document', this.documentColumnResizeEndListener);
  32897. this.documentColumnResizeEndListener = null;
  32898. }
  32899. },
  32900. onColumnHeaderMouseDown(e) {
  32901. const event = e.originalEvent;
  32902. const column = e.column;
  32903. if (this.reorderableColumns && this.columnProp(column, 'reorderableColumn') !== false) {
  32904. if (event.target.nodeName === 'INPUT' || event.target.nodeName === 'TEXTAREA' || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-column-resizer'))
  32905. event.currentTarget.draggable = false;
  32906. else
  32907. event.currentTarget.draggable = true;
  32908. }
  32909. },
  32910. onColumnHeaderDragStart(event) {
  32911. if (this.columnResizing) {
  32912. event.preventDefault();
  32913. return;
  32914. }
  32915. this.colReorderIconWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHiddenElementOuterWidth(this.$refs.reorderIndicatorUp);
  32916. this.colReorderIconHeight = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHiddenElementOuterHeight(this.$refs.reorderIndicatorUp);
  32917. this.draggedColumn = this.findParentHeader(event.target);
  32918. event.dataTransfer.setData('text', 'b'); // Firefox requires this to make dragging possible
  32919. },
  32920. onColumnHeaderDragOver(event) {
  32921. let dropHeader = this.findParentHeader(event.target);
  32922. if(this.reorderableColumns && this.draggedColumn && dropHeader) {
  32923. event.preventDefault();
  32924. let containerOffset = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(this.$el);
  32925. let dropHeaderOffset = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(dropHeader);
  32926. if (this.draggedColumn !== dropHeader) {
  32927. let targetLeft = dropHeaderOffset.left - containerOffset.left;
  32928. let columnCenter = dropHeaderOffset.left + dropHeader.offsetWidth / 2;
  32929. this.$refs.reorderIndicatorUp.style.top = dropHeaderOffset.top - containerOffset.top - (this.colReorderIconHeight - 1) + 'px';
  32930. this.$refs.reorderIndicatorDown.style.top = dropHeaderOffset.top - containerOffset.top + dropHeader.offsetHeight + 'px';
  32931. if(event.pageX > columnCenter) {
  32932. this.$refs.reorderIndicatorUp.style.left = (targetLeft + dropHeader.offsetWidth - Math.ceil(this.colReorderIconWidth / 2)) + 'px';
  32933. this.$refs.reorderIndicatorDown.style.left = (targetLeft + dropHeader.offsetWidth - Math.ceil(this.colReorderIconWidth / 2))+ 'px';
  32934. this.dropPosition = 1;
  32935. }
  32936. else {
  32937. this.$refs.reorderIndicatorUp.style.left = (targetLeft - Math.ceil(this.colReorderIconWidth / 2)) + 'px';
  32938. this.$refs.reorderIndicatorDown.style.left = (targetLeft - Math.ceil(this.colReorderIconWidth / 2))+ 'px';
  32939. this.dropPosition = -1;
  32940. }
  32941. this.$refs.reorderIndicatorUp.style.display = 'block';
  32942. this.$refs.reorderIndicatorDown.style.display = 'block';
  32943. }
  32944. }
  32945. },
  32946. onColumnHeaderDragLeave(event) {
  32947. if(this.reorderableColumns && this.draggedColumn) {
  32948. event.preventDefault();
  32949. this.$refs.reorderIndicatorUp.style.display = 'none';
  32950. this.$refs.reorderIndicatorDown.style.display = 'none';
  32951. }
  32952. },
  32953. onColumnHeaderDrop(event) {
  32954. event.preventDefault();
  32955. if (this.draggedColumn) {
  32956. let dragIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.draggedColumn);
  32957. let dropIndex = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.index(this.findParentHeader(event.target));
  32958. let allowDrop = (dragIndex !== dropIndex);
  32959. if (allowDrop && ((dropIndex - dragIndex === 1 && this.dropPosition === -1) || (dragIndex - dropIndex === 1 && this.dropPosition === 1))) {
  32960. allowDrop = false;
  32961. }
  32962. if (allowDrop) {
  32963. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.reorderArray(this.columns, dragIndex, dropIndex);
  32964. this.updateReorderableColumns();
  32965. this.$emit('column-reorder', {
  32966. originalEvent: event,
  32967. dragIndex: dragIndex,
  32968. dropIndex: dropIndex
  32969. });
  32970. }
  32971. this.$refs.reorderIndicatorUp.style.display = 'none';
  32972. this.$refs.reorderIndicatorDown.style.display = 'none';
  32973. this.draggedColumn.draggable = false;
  32974. this.draggedColumn = null;
  32975. this.dropPosition = null;
  32976. }
  32977. },
  32978. findParentHeader(element) {
  32979. if(element.nodeName === 'TH') {
  32980. return element;
  32981. }
  32982. else {
  32983. let parent = element.parentElement;
  32984. while(parent.nodeName !== 'TH') {
  32985. parent = parent.parentElement;
  32986. if (!parent) break;
  32987. }
  32988. return parent;
  32989. }
  32990. },
  32991. findColumnByKey(columns, key) {
  32992. if (columns && columns.length) {
  32993. for (let i = 0; i < columns.length; i++) {
  32994. let column = columns[i];
  32995. if (this.columnProp(column, 'columnKey') === key || this.columnProp(column, 'field') === key) {
  32996. return column;
  32997. }
  32998. }
  32999. }
  33000. return null;
  33001. },
  33002. onRowMouseDown(event) {
  33003. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-datatable-reorderablerow-handle'))
  33004. event.currentTarget.draggable = true;
  33005. else
  33006. event.currentTarget.draggable = false;
  33007. },
  33008. onRowDragStart(e) {
  33009. const event = e.originalEvent;
  33010. const index = e.index;
  33011. this.rowDragging = true;
  33012. this.draggedRowIndex = index;
  33013. event.dataTransfer.setData('text', 'b'); // For firefox
  33014. },
  33015. onRowDragOver(e) {
  33016. const event = e.originalEvent;
  33017. const index = e.index;
  33018. if (this.rowDragging && this.draggedRowIndex !== index) {
  33019. let rowElement = event.currentTarget;
  33020. let rowY = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(rowElement).top + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWindowScrollTop();
  33021. let pageY = event.pageY;
  33022. let rowMidY = rowY + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(rowElement) / 2;
  33023. let prevRowElement = rowElement.previousElementSibling;
  33024. if (pageY < rowMidY) {
  33025. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
  33026. this.droppedRowIndex = index;
  33027. if (prevRowElement)
  33028. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
  33029. else
  33030. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
  33031. }
  33032. else {
  33033. if (prevRowElement)
  33034. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
  33035. else
  33036. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
  33037. this.droppedRowIndex = index + 1;
  33038. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
  33039. }
  33040. event.preventDefault();
  33041. }
  33042. },
  33043. onRowDragLeave(event) {
  33044. let rowElement = event.currentTarget;
  33045. let prevRowElement = rowElement.previousElementSibling;
  33046. if (prevRowElement) {
  33047. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
  33048. }
  33049. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
  33050. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
  33051. },
  33052. onRowDragEnd(event) {
  33053. this.rowDragging = false;
  33054. this.draggedRowIndex = null;
  33055. this.droppedRowIndex = null;
  33056. event.currentTarget.draggable = false;
  33057. },
  33058. onRowDrop(event) {
  33059. if (this.droppedRowIndex != null) {
  33060. let dropIndex = (this.draggedRowIndex > this.droppedRowIndex) ? this.droppedRowIndex : (this.droppedRowIndex === 0) ? 0 : this.droppedRowIndex - 1;
  33061. let processedData = [...this.processedData];
  33062. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.reorderArray(processedData, this.draggedRowIndex, dropIndex);
  33063. this.$emit('row-reorder', {
  33064. originalEvent: event,
  33065. dragIndex: this.draggedRowIndex,
  33066. dropIndex: dropIndex,
  33067. value: processedData
  33068. });
  33069. }
  33070. //cleanup
  33071. this.onRowDragLeave(event);
  33072. this.onRowDragEnd(event);
  33073. event.preventDefault();
  33074. },
  33075. toggleRow(event) {
  33076. let rowData = event.data;
  33077. let expanded;
  33078. let expandedRowIndex;
  33079. let _expandedRows = this.expandedRows ? [...this.expandedRows] : [];
  33080. if (this.dataKey) {
  33081. expanded = this.d_expandedRowKeys ? this.d_expandedRowKeys[primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
  33082. }
  33083. else {
  33084. expandedRowIndex = this.findIndex(rowData, this.expandedRows);
  33085. expanded = expandedRowIndex > -1;
  33086. }
  33087. if (expanded) {
  33088. if (expandedRowIndex == null) {
  33089. expandedRowIndex = this.findIndex(rowData, this.expandedRows);
  33090. }
  33091. _expandedRows.splice(expandedRowIndex, 1);
  33092. this.$emit('update:expandedRows', _expandedRows);
  33093. this.$emit('row-collapse', event);
  33094. }
  33095. else {
  33096. _expandedRows.push(rowData);
  33097. this.$emit('update:expandedRows', _expandedRows);
  33098. this.$emit('row-expand', event);
  33099. }
  33100. },
  33101. toggleRowGroup(e) {
  33102. const event = e.originalEvent;
  33103. const data = e.data;
  33104. const groupFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(data, this.groupRowsBy);
  33105. let _expandedRowGroups = this.expandedRowGroups ? [...this.expandedRowGroups] : [];
  33106. if (this.isRowGroupExpanded(data)) {
  33107. _expandedRowGroups = _expandedRowGroups.filter(group => group !== groupFieldValue);
  33108. this.$emit('update:expandedRowGroups', _expandedRowGroups);
  33109. this.$emit('rowgroup-collapse', {originalEvent: event, data: groupFieldValue});
  33110. }
  33111. else {
  33112. _expandedRowGroups.push(groupFieldValue);
  33113. this.$emit('update:expandedRowGroups', _expandedRowGroups);
  33114. this.$emit('rowgroup-expand', {originalEvent: event, data: groupFieldValue});
  33115. }
  33116. },
  33117. isRowGroupExpanded(rowData) {
  33118. if (this.expandableRowGroups && this.expandedRowGroups) {
  33119. let groupFieldValue = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
  33120. return this.expandedRowGroups.indexOf(groupFieldValue) > -1;
  33121. }
  33122. return false;
  33123. },
  33124. isStateful() {
  33125. return this.stateKey != null;
  33126. },
  33127. getStorage() {
  33128. switch(this.stateStorage) {
  33129. case 'local':
  33130. return window.localStorage;
  33131. case 'session':
  33132. return window.sessionStorage;
  33133. default:
  33134. throw new Error(this.stateStorage + ' is not a valid value for the state storage, supported values are "local" and "session".');
  33135. }
  33136. },
  33137. saveState() {
  33138. const storage = this.getStorage();
  33139. let state = {};
  33140. if (this.paginator) {
  33141. state.first = this.d_first;
  33142. state.rows = this.d_rows;
  33143. }
  33144. if (this.d_sortField) {
  33145. state.sortField = this.d_sortField;
  33146. state.sortOrder = this.d_sortOrder;
  33147. }
  33148. if (this.d_multiSortMeta) {
  33149. state.multiSortMeta = this.d_multiSortMeta;
  33150. }
  33151. if (this.hasFilters) {
  33152. state.filters = this.filters;
  33153. }
  33154. if (this.resizableColumns) {
  33155. this.saveColumnWidths(state);
  33156. }
  33157. if (this.reorderableColumns) {
  33158. state.columnOrder = this.d_columnOrder;
  33159. }
  33160. if (this.expandedRows) {
  33161. state.expandedRows = this.expandedRows;
  33162. state.expandedRowKeys = this.d_expandedRowKeys;
  33163. }
  33164. if (this.expandedRowGroups) {
  33165. state.expandedRowGroups = this.expandedRowGroups;
  33166. }
  33167. if (this.selection) {
  33168. state.selection = this.selection;
  33169. state.selectionKeys = this.d_selectionKeys;
  33170. }
  33171. if (Object.keys(state).length) {
  33172. storage.setItem(this.stateKey, JSON.stringify(state));
  33173. }
  33174. this.$emit('state-save', state);
  33175. },
  33176. restoreState() {
  33177. const storage = this.getStorage();
  33178. const stateString = storage.getItem(this.stateKey);
  33179. const dateFormat = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
  33180. const reviver = function(key, value) {
  33181. if (typeof value === "string" && dateFormat.test(value)) {
  33182. return new Date(value);
  33183. }
  33184. return value;
  33185. };
  33186. if (stateString) {
  33187. let restoredState = JSON.parse(stateString, reviver);
  33188. if (this.paginator) {
  33189. this.d_first = restoredState.first;
  33190. this.d_rows = restoredState.rows;
  33191. }
  33192. if (restoredState.sortField) {
  33193. this.d_sortField = restoredState.sortField;
  33194. this.d_sortOrder = restoredState.sortOrder;
  33195. }
  33196. if (restoredState.multiSortMeta) {
  33197. this.d_multiSortMeta = restoredState.multiSortMeta;
  33198. }
  33199. if (restoredState.filters) {
  33200. this.$emit('update:filters', restoredState.filters);
  33201. }
  33202. if (this.resizableColumns) {
  33203. this.columnWidthsState = restoredState.columnWidths;
  33204. this.tableWidthState = restoredState.tableWidth;
  33205. }
  33206. if (this.reorderableColumns) {
  33207. this.d_columnOrder = restoredState.columnOrder;
  33208. }
  33209. if (restoredState.expandedRows) {
  33210. this.d_expandedRowKeys = restoredState.expandedRowKeys;
  33211. this.$emit('update:expandedRows', restoredState.expandedRows);
  33212. }
  33213. if (restoredState.expandedRowGroups) {
  33214. this.$emit('update:expandedRowGroups', restoredState.expandedRowGroups);
  33215. }
  33216. if (restoredState.selection) {
  33217. this.d_selectionKeys = restoredState.d_selectionKeys;
  33218. this.$emit('update:selection', restoredState.selection);
  33219. }
  33220. this.$emit('state-restore', restoredState);
  33221. }
  33222. },
  33223. saveColumnWidths(state) {
  33224. let widths = [];
  33225. let headers = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.find(this.$el, '.p-datatable-thead > tr > th');
  33226. headers.forEach(header => widths.push(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(header)));
  33227. state.columnWidths = widths.join(',');
  33228. if (this.columnResizeMode === 'expand') {
  33229. state.tableWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$refs.table) + 'px';
  33230. }
  33231. },
  33232. restoreColumnWidths() {
  33233. if (this.columnWidthsState) {
  33234. let widths = this.columnWidthsState.split(',');
  33235. if (this.columnResizeMode === 'expand' && this.tableWidthState) {
  33236. this.$refs.table.style.width = this.tableWidthState;
  33237. this.$refs.table.style.minWidth = this.tableWidthState;
  33238. this.$el.style.width = this.tableWidthState;
  33239. }
  33240. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.isNotEmpty(widths)) {
  33241. this.createStyleElement();
  33242. let innerHTML = '';
  33243. widths.forEach((width, index) => {
  33244. let style = this.scrollable ? `flex: 1 1 ${width}px !important` : `width: ${width}px !important`;
  33245. innerHTML += `
  33246. .p-datatable[${this.attributeSelector}] .p-datatable-thead > tr > th:nth-child(${index + 1}),
  33247. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td:nth-child(${index + 1}),
  33248. .p-datatable[${this.attributeSelector}] .p-datatable-tfoot > tr > td:nth-child(${index + 1}) {
  33249. ${style}
  33250. }
  33251. `;
  33252. });
  33253. this.styleElement.innerHTML = innerHTML;
  33254. }
  33255. }
  33256. },
  33257. onCellEditInit(event) {
  33258. this.$emit('cell-edit-init', event);
  33259. },
  33260. onCellEditComplete(event) {
  33261. this.$emit('cell-edit-complete', event);
  33262. },
  33263. onCellEditCancel(event) {
  33264. this.$emit('cell-edit-cancel', event);
  33265. },
  33266. onRowEditInit(event) {
  33267. let _editingRows = this.editingRows ? [...this.editingRows] : [];
  33268. _editingRows.push(event.data);
  33269. this.$emit('update:editingRows', _editingRows);
  33270. this.$emit('row-edit-init', event);
  33271. },
  33272. onRowEditSave(event) {
  33273. let _editingRows = [...this.editingRows];
  33274. _editingRows.splice(this.findIndex(event.data, _editingRows), 1);
  33275. this.$emit('update:editingRows', _editingRows);
  33276. this.$emit('row-edit-save', event);
  33277. },
  33278. onRowEditCancel(event) {
  33279. let _editingRows = [...this.editingRows];
  33280. _editingRows.splice(this.findIndex(event.data, _editingRows), 1);
  33281. this.$emit('update:editingRows', _editingRows);
  33282. this.$emit('row-edit-cancel', event);
  33283. },
  33284. onEditingMetaChange(event) {
  33285. let { data, field, index, editing } = event;
  33286. let meta = this.d_editingMeta[index];
  33287. if (editing) {
  33288. !meta && (meta = this.d_editingMeta[index] = { data: { ...data }, fields: [] });
  33289. meta['fields'].push(field);
  33290. }
  33291. else if (meta) {
  33292. const fields = meta['fields'].filter(f => f !== field);
  33293. !fields.length ? (delete this.d_editingMeta[index]) : (meta['fields'] = fields);
  33294. }
  33295. },
  33296. clearEditingMetaData() {
  33297. if (this.editMode) {
  33298. this.d_editingMeta = {};
  33299. }
  33300. },
  33301. createLazyLoadEvent(event) {
  33302. return {
  33303. originalEvent: event,
  33304. first: this.d_first,
  33305. rows: this.d_rows,
  33306. sortField: this.d_sortField,
  33307. sortOrder: this.d_sortOrder,
  33308. multiSortMeta: this.d_multiSortMeta,
  33309. filters: this.d_filters
  33310. };
  33311. },
  33312. hasGlobalFilter() {
  33313. return this.filters && Object.prototype.hasOwnProperty.call(this.filters, 'global');
  33314. },
  33315. getChildren() {
  33316. return this.$slots.default ? this.$slots.default() : null;
  33317. },
  33318. onFilterChange(filters) {
  33319. this.d_filters = filters;
  33320. },
  33321. onFilterApply() {
  33322. this.d_first = 0;
  33323. this.$emit('update:first', this.d_first);
  33324. this.$emit('update:filters', this.d_filters);
  33325. if (this.lazy) {
  33326. this.$emit('filter', this.createLazyLoadEvent());
  33327. }
  33328. },
  33329. cloneFilters() {
  33330. let cloned = {};
  33331. if (this.filters) {
  33332. Object.entries(this.filters).forEach(([prop,value]) => {
  33333. cloned[prop] = value.operator ? {operator: value.operator, constraints: value.constraints.map(constraint => {return {...constraint}})} : {...value};
  33334. });
  33335. }
  33336. return cloned;
  33337. },
  33338. updateReorderableColumns() {
  33339. let columnOrder = [];
  33340. this.columns.forEach(col => columnOrder.push(this.columnProp(col, 'columnKey')||this.columnProp(col, 'field')));
  33341. this.d_columnOrder = columnOrder;
  33342. },
  33343. createStyleElement() {
  33344. this.styleElement = document.createElement('style');
  33345. this.styleElement.type = 'text/css';
  33346. document.head.appendChild(this.styleElement);
  33347. },
  33348. createResponsiveStyle() {
  33349. if (!this.responsiveStyleElement) {
  33350. this.responsiveStyleElement = document.createElement('style');
  33351. this.responsiveStyleElement.type = 'text/css';
  33352. document.head.appendChild(this.responsiveStyleElement);
  33353. let innerHTML = `
  33354. @media screen and (max-width: ${this.breakpoint}) {
  33355. .p-datatable[${this.attributeSelector}] .p-datatable-thead > tr > th,
  33356. .p-datatable[${this.attributeSelector}] .p-datatable-tfoot > tr > td {
  33357. display: none !important;
  33358. }
  33359. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td {
  33360. display: flex;
  33361. width: 100% !important;
  33362. align-items: center;
  33363. justify-content: space-between;
  33364. }
  33365. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td:not(:last-child) {
  33366. border: 0 none;
  33367. }
  33368. .p-datatable[${this.attributeSelector}].p-datatable-gridlines .p-datatable-tbody > tr > td:last-child {
  33369. border-top: 0;
  33370. border-right: 0;
  33371. border-left: 0;
  33372. }
  33373. .p-datatable[${this.attributeSelector}] .p-datatable-tbody > tr > td > .p-column-title {
  33374. display: block;
  33375. }
  33376. }
  33377. `;
  33378. this.responsiveStyleElement.innerHTML = innerHTML;
  33379. }
  33380. },
  33381. destroyResponsiveStyle() {
  33382. if (this.responsiveStyleElement) {
  33383. document.head.removeChild(this.responsiveStyleElement);
  33384. this.responsiveStyleElement = null;
  33385. }
  33386. },
  33387. destroyStyleElement() {
  33388. if (this.styleElement) {
  33389. document.head.removeChild(this.styleElement);
  33390. this.styleElement = null;
  33391. }
  33392. },
  33393. recursiveGetChildren(children, results) {
  33394. if (!results) {
  33395. results = [];
  33396. }
  33397. if (children && children.length) {
  33398. children.forEach((child) => {
  33399. if (child.children instanceof Array) {
  33400. results.concat(this.recursiveGetChildren(child.children, results));
  33401. } else if (child.type.name == 'Column') {
  33402. results.push(child);
  33403. }
  33404. });
  33405. }
  33406. return results;
  33407. },
  33408. dataToRender(data) {
  33409. const _data = data || this.processedData;
  33410. if (_data && this.paginator) {
  33411. const first = this.lazy ? 0 : this.d_first;
  33412. return _data.slice(first, first + this.d_rows);
  33413. }
  33414. return _data;
  33415. }
  33416. },
  33417. computed: {
  33418. containerClass() {
  33419. return [
  33420. 'p-datatable p-component', {
  33421. 'p-datatable-hoverable-rows': (this.rowHover || this.selectionMode),
  33422. 'p-datatable-auto-layout': this.autoLayout,
  33423. 'p-datatable-resizable': this.resizableColumns,
  33424. 'p-datatable-resizable-fit': this.resizableColumns && this.columnResizeMode === 'fit',
  33425. 'p-datatable-scrollable': this.scrollable,
  33426. 'p-datatable-scrollable-vertical': this.scrollable && this.scrollDirection === 'vertical',
  33427. 'p-datatable-scrollable-horizontal': this.scrollable && this.scrollDirection === 'horizontal',
  33428. 'p-datatable-scrollable-both': this.scrollable && this.scrollDirection === 'both',
  33429. 'p-datatable-flex-scrollable': (this.scrollable && this.scrollHeight === 'flex'),
  33430. 'p-datatable-responsive-stack': this.responsiveLayout === 'stack',
  33431. 'p-datatable-responsive-scroll': this.responsiveLayout === 'scroll',
  33432. 'p-datatable-striped': this.stripedRows,
  33433. 'p-datatable-gridlines': this.showGridlines,
  33434. 'p-datatable-grouped-header': this.headerColumnGroup != null,
  33435. 'p-datatable-grouped-footer': this.footerColumnGroup != null
  33436. }
  33437. ];
  33438. },
  33439. columns() {
  33440. let children = this.getChildren();
  33441. if (!children) {
  33442. return;
  33443. }
  33444. const cols = this.recursiveGetChildren(children, []);
  33445. if (this.reorderableColumns && this.d_columnOrder) {
  33446. let orderedColumns = [];
  33447. for (let columnKey of this.d_columnOrder) {
  33448. let column = this.findColumnByKey(cols, columnKey);
  33449. if (column) {
  33450. orderedColumns.push(column);
  33451. }
  33452. }
  33453. return [...orderedColumns, ...cols.filter((item) => orderedColumns.indexOf(item) < 0)];
  33454. }
  33455. return cols;
  33456. },
  33457. headerColumnGroup() {
  33458. const children = this.getChildren();
  33459. if (children) {
  33460. for (let child of children) {
  33461. if (child.type.name === 'ColumnGroup' && this.columnProp(child, 'type') === 'header') {
  33462. return child;
  33463. }
  33464. }
  33465. }
  33466. return null;
  33467. },
  33468. footerColumnGroup() {
  33469. const children = this.getChildren();
  33470. if (children) {
  33471. for (let child of children) {
  33472. if (child.type.name === 'ColumnGroup' && this.columnProp(child, 'type') === 'footer') {
  33473. return child;
  33474. }
  33475. }
  33476. }
  33477. return null;
  33478. },
  33479. hasFilters() {
  33480. return this.filters && Object.keys(this.filters).length > 0 && this.filters.constructor === Object;
  33481. },
  33482. processedData() {
  33483. let data = this.value || [];
  33484. if (!this.lazy) {
  33485. if (data && data.length) {
  33486. if (this.hasFilters) {
  33487. data = this.filter(data);
  33488. }
  33489. if (this.sorted) {
  33490. if(this.sortMode === 'single')
  33491. data = this.sortSingle(data);
  33492. else if(this.sortMode === 'multiple')
  33493. data = this.sortMultiple(data);
  33494. }
  33495. }
  33496. }
  33497. return data;
  33498. },
  33499. totalRecordsLength() {
  33500. if (this.lazy) {
  33501. return this.totalRecords;
  33502. }
  33503. else {
  33504. const data = this.processedData;
  33505. return data ? data.length : 0;
  33506. }
  33507. },
  33508. empty() {
  33509. const data = this.processedData;
  33510. return (!data || data.length === 0);
  33511. },
  33512. paginatorTop() {
  33513. return this.paginator && (this.paginatorPosition !== 'bottom' || this.paginatorPosition === 'both');
  33514. },
  33515. paginatorBottom() {
  33516. return this.paginator && (this.paginatorPosition !== 'top' || this.paginatorPosition === 'both');
  33517. },
  33518. sorted() {
  33519. return this.d_sortField || (this.d_multiSortMeta && this.d_multiSortMeta.length > 0);
  33520. },
  33521. loadingIconClass() {
  33522. return ['p-datatable-loading-icon pi-spin', this.loadingIcon];
  33523. },
  33524. allRowsSelected() {
  33525. if (this.selectAll !== null) {
  33526. return this.selectAll;
  33527. }
  33528. else {
  33529. const val = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
  33530. return val && this.selection && Array.isArray(this.selection) && val.every(v => this.selection.some(s => this.equals(s, v)));
  33531. }
  33532. },
  33533. attributeSelector() {
  33534. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  33535. },
  33536. groupRowSortField() {
  33537. return this.sortMode === 'single' ? this.sortField : (this.d_groupRowsSortMeta ? this.d_groupRowsSortMeta.field : null);
  33538. },
  33539. virtualScrollerDisabled() {
  33540. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.isEmpty(this.virtualScrollerOptions) || !this.scrollable;
  33541. }
  33542. },
  33543. components: {
  33544. 'DTPaginator': primevue_paginator__WEBPACK_IMPORTED_MODULE_2__["default"],
  33545. 'DTTableHeader': script$7,
  33546. 'DTTableBody': script$3,
  33547. 'DTTableFooter': script$1,
  33548. 'DTVirtualScroller': primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_3__["default"]
  33549. }
  33550. };
  33551. const _hoisted_1 = {
  33552. key: 0,
  33553. class: "p-datatable-loading-overlay p-component-overlay"
  33554. };
  33555. const _hoisted_2 = {
  33556. key: 1,
  33557. class: "p-datatable-header"
  33558. };
  33559. const _hoisted_3 = {
  33560. key: 4,
  33561. class: "p-datatable-footer"
  33562. };
  33563. const _hoisted_4 = {
  33564. ref: "resizeHelper",
  33565. class: "p-column-resizer-helper",
  33566. style: {"display":"none"}
  33567. };
  33568. const _hoisted_5 = {
  33569. key: 5,
  33570. ref: "reorderIndicatorUp",
  33571. class: "pi pi-arrow-down p-datatable-reorder-indicator-up",
  33572. style: {"position":"absolute","display":"none"}
  33573. };
  33574. const _hoisted_6 = {
  33575. key: 6,
  33576. ref: "reorderIndicatorDown",
  33577. class: "pi pi-arrow-up p-datatable-reorder-indicator-down",
  33578. style: {"position":"absolute","display":"none"}
  33579. };
  33580. function render(_ctx, _cache, $props, $setup, $data, $options) {
  33581. const _component_DTPaginator = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTPaginator");
  33582. const _component_DTTableHeader = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTTableHeader");
  33583. const _component_DTTableBody = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTTableBody");
  33584. const _component_DTTableFooter = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTTableFooter");
  33585. const _component_DTVirtualScroller = (0,vue__WEBPACK_IMPORTED_MODULE_4__.resolveComponent)("DTVirtualScroller");
  33586. return ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", {
  33587. class: $options.containerClass,
  33588. "data-scrollselectors": ".p-datatable-wrapper"
  33589. }, [
  33590. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "default"),
  33591. ($props.loading)
  33592. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_1, [
  33593. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("i", { class: $options.loadingIconClass }, null, 2)
  33594. ]))
  33595. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33596. (_ctx.$slots.header)
  33597. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_2, [
  33598. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "header")
  33599. ]))
  33600. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33601. ($options.paginatorTop)
  33602. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTPaginator, {
  33603. key: 2,
  33604. rows: $data.d_rows,
  33605. first: $data.d_first,
  33606. totalRecords: $options.totalRecordsLength,
  33607. pageLinkSize: $props.pageLinkSize,
  33608. template: $props.paginatorTemplate,
  33609. rowsPerPageOptions: $props.rowsPerPageOptions,
  33610. currentPageReportTemplate: $props.currentPageReportTemplate,
  33611. class: "p-paginator-top",
  33612. onPage: _cache[1] || (_cache[1] = $event => ($options.onPage($event))),
  33613. alwaysShow: $props.alwaysShowPaginator
  33614. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.createSlots)({ _: 2 }, [
  33615. (_ctx.$slots.paginatorstart)
  33616. ? {
  33617. name: "start",
  33618. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33619. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorstart")
  33620. ])
  33621. }
  33622. : undefined,
  33623. (_ctx.$slots.paginatorend)
  33624. ? {
  33625. name: "end",
  33626. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33627. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorend")
  33628. ])
  33629. }
  33630. : undefined
  33631. ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
  33632. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33633. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", {
  33634. class: "p-datatable-wrapper",
  33635. style: { maxHeight: $options.virtualScrollerDisabled ? $props.scrollHeight : '' }
  33636. }, [
  33637. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTVirtualScroller, (0,vue__WEBPACK_IMPORTED_MODULE_4__.mergeProps)($props.virtualScrollerOptions, {
  33638. items: $options.processedData,
  33639. columns: $options.columns,
  33640. style: { height: $props.scrollHeight },
  33641. disabled: $options.virtualScrollerDisabled,
  33642. loaderDisabled: "",
  33643. showSpacer: false
  33644. }), {
  33645. content: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)((slotProps) => [
  33646. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("table", {
  33647. ref: "table",
  33648. role: "table",
  33649. class: [$props.tableClass, 'p-datatable-table'],
  33650. style: [$props.tableStyle, slotProps.spacerStyle]
  33651. }, [
  33652. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTTableHeader, {
  33653. columnGroup: $options.headerColumnGroup,
  33654. columns: slotProps.columns,
  33655. rowGroupMode: $props.rowGroupMode,
  33656. groupRowsBy: $props.groupRowsBy,
  33657. groupRowSortField: $options.groupRowSortField,
  33658. resizableColumns: $props.resizableColumns,
  33659. allRowsSelected: $options.allRowsSelected,
  33660. empty: $options.empty,
  33661. sortMode: $props.sortMode,
  33662. sortField: $data.d_sortField,
  33663. sortOrder: $data.d_sortOrder,
  33664. multiSortMeta: $data.d_multiSortMeta,
  33665. filters: $data.d_filters,
  33666. filtersStore: $props.filters,
  33667. filterDisplay: $props.filterDisplay,
  33668. onColumnClick: _cache[2] || (_cache[2] = $event => ($options.onColumnHeaderClick($event))),
  33669. onColumnMousedown: _cache[3] || (_cache[3] = $event => ($options.onColumnHeaderMouseDown($event))),
  33670. onFilterChange: $options.onFilterChange,
  33671. onFilterApply: $options.onFilterApply,
  33672. onColumnDragstart: _cache[4] || (_cache[4] = $event => ($options.onColumnHeaderDragStart($event))),
  33673. onColumnDragover: _cache[5] || (_cache[5] = $event => ($options.onColumnHeaderDragOver($event))),
  33674. onColumnDragleave: _cache[6] || (_cache[6] = $event => ($options.onColumnHeaderDragLeave($event))),
  33675. onColumnDrop: _cache[7] || (_cache[7] = $event => ($options.onColumnHeaderDrop($event))),
  33676. onColumnResizestart: _cache[8] || (_cache[8] = $event => ($options.onColumnResizeStart($event))),
  33677. onCheckboxChange: _cache[9] || (_cache[9] = $event => ($options.toggleRowsWithCheckbox($event)))
  33678. }, null, 8, ["columnGroup", "columns", "rowGroupMode", "groupRowsBy", "groupRowSortField", "resizableColumns", "allRowsSelected", "empty", "sortMode", "sortField", "sortOrder", "multiSortMeta", "filters", "filtersStore", "filterDisplay", "onFilterChange", "onFilterApply"]),
  33679. ($props.frozenValue)
  33680. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTTableBody, {
  33681. key: 0,
  33682. value: $props.frozenValue,
  33683. frozenRow: true,
  33684. class: "p-datatable-frozen-tbody",
  33685. columns: slotProps.columns,
  33686. dataKey: $props.dataKey,
  33687. selection: $props.selection,
  33688. selectionKeys: $data.d_selectionKeys,
  33689. selectionMode: $props.selectionMode,
  33690. contextMenu: $props.contextMenu,
  33691. contextMenuSelection: $props.contextMenuSelection,
  33692. rowGroupMode: $props.rowGroupMode,
  33693. groupRowsBy: $props.groupRowsBy,
  33694. expandableRowGroups: $props.expandableRowGroups,
  33695. rowClass: $props.rowClass,
  33696. rowStyle: $props.rowStyle,
  33697. editMode: $props.editMode,
  33698. compareSelectionBy: $props.compareSelectionBy,
  33699. scrollable: $props.scrollable,
  33700. expandedRowIcon: $props.expandedRowIcon,
  33701. collapsedRowIcon: $props.collapsedRowIcon,
  33702. expandedRows: $props.expandedRows,
  33703. expandedRowKeys: $data.d_expandedRowKeys,
  33704. expandedRowGroups: $props.expandedRowGroups,
  33705. editingRows: $props.editingRows,
  33706. editingRowKeys: $data.d_editingRowKeys,
  33707. templates: _ctx.$slots,
  33708. loading: $props.loading,
  33709. responsiveLayout: $props.responsiveLayout,
  33710. onRowgroupToggle: $options.toggleRowGroup,
  33711. onRowClick: _cache[10] || (_cache[10] = $event => ($options.onRowClick($event))),
  33712. onRowDblclick: _cache[11] || (_cache[11] = $event => ($options.onRowDblClick($event))),
  33713. onRowRightclick: _cache[12] || (_cache[12] = $event => ($options.onRowRightClick($event))),
  33714. onRowTouchend: $options.onRowTouchEnd,
  33715. onRowKeydown: $options.onRowKeyDown,
  33716. onRowMousedown: $options.onRowMouseDown,
  33717. onRowDragstart: _cache[13] || (_cache[13] = $event => ($options.onRowDragStart($event))),
  33718. onRowDragover: _cache[14] || (_cache[14] = $event => ($options.onRowDragOver($event))),
  33719. onRowDragleave: _cache[15] || (_cache[15] = $event => ($options.onRowDragLeave($event))),
  33720. onRowDragend: _cache[16] || (_cache[16] = $event => ($options.onRowDragEnd($event))),
  33721. onRowDrop: _cache[17] || (_cache[17] = $event => ($options.onRowDrop($event))),
  33722. onRowToggle: _cache[18] || (_cache[18] = $event => ($options.toggleRow($event))),
  33723. onRadioChange: _cache[19] || (_cache[19] = $event => ($options.toggleRowWithRadio($event))),
  33724. onCheckboxChange: _cache[20] || (_cache[20] = $event => ($options.toggleRowWithCheckbox($event))),
  33725. onCellEditInit: _cache[21] || (_cache[21] = $event => ($options.onCellEditInit($event))),
  33726. onCellEditComplete: _cache[22] || (_cache[22] = $event => ($options.onCellEditComplete($event))),
  33727. onCellEditCancel: _cache[23] || (_cache[23] = $event => ($options.onCellEditCancel($event))),
  33728. onRowEditInit: _cache[24] || (_cache[24] = $event => ($options.onRowEditInit($event))),
  33729. onRowEditSave: _cache[25] || (_cache[25] = $event => ($options.onRowEditSave($event))),
  33730. onRowEditCancel: _cache[26] || (_cache[26] = $event => ($options.onRowEditCancel($event))),
  33731. editingMeta: $data.d_editingMeta,
  33732. onEditingMetaChange: $options.onEditingMetaChange,
  33733. isVirtualScrollerDisabled: true
  33734. }, null, 8, ["value", "columns", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange"]))
  33735. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33736. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTTableBody, {
  33737. value: $options.dataToRender(slotProps.rows),
  33738. class: slotProps.styleClass,
  33739. columns: slotProps.columns,
  33740. empty: $options.empty,
  33741. dataKey: $props.dataKey,
  33742. selection: $props.selection,
  33743. selectionKeys: $data.d_selectionKeys,
  33744. selectionMode: $props.selectionMode,
  33745. contextMenu: $props.contextMenu,
  33746. contextMenuSelection: $props.contextMenuSelection,
  33747. rowGroupMode: $props.rowGroupMode,
  33748. groupRowsBy: $props.groupRowsBy,
  33749. expandableRowGroups: $props.expandableRowGroups,
  33750. rowClass: $props.rowClass,
  33751. rowStyle: $props.rowStyle,
  33752. editMode: $props.editMode,
  33753. compareSelectionBy: $props.compareSelectionBy,
  33754. scrollable: $props.scrollable,
  33755. expandedRowIcon: $props.expandedRowIcon,
  33756. collapsedRowIcon: $props.collapsedRowIcon,
  33757. expandedRows: $props.expandedRows,
  33758. expandedRowKeys: $data.d_expandedRowKeys,
  33759. expandedRowGroups: $props.expandedRowGroups,
  33760. editingRows: $props.editingRows,
  33761. editingRowKeys: $data.d_editingRowKeys,
  33762. templates: _ctx.$slots,
  33763. loading: $props.loading,
  33764. responsiveLayout: $props.responsiveLayout,
  33765. onRowgroupToggle: $options.toggleRowGroup,
  33766. onRowClick: _cache[27] || (_cache[27] = $event => ($options.onRowClick($event))),
  33767. onRowDblclick: _cache[28] || (_cache[28] = $event => ($options.onRowDblClick($event))),
  33768. onRowRightclick: _cache[29] || (_cache[29] = $event => ($options.onRowRightClick($event))),
  33769. onRowTouchend: $options.onRowTouchEnd,
  33770. onRowKeydown: $options.onRowKeyDown,
  33771. onRowMousedown: $options.onRowMouseDown,
  33772. onRowDragstart: _cache[30] || (_cache[30] = $event => ($options.onRowDragStart($event))),
  33773. onRowDragover: _cache[31] || (_cache[31] = $event => ($options.onRowDragOver($event))),
  33774. onRowDragleave: _cache[32] || (_cache[32] = $event => ($options.onRowDragLeave($event))),
  33775. onRowDragend: _cache[33] || (_cache[33] = $event => ($options.onRowDragEnd($event))),
  33776. onRowDrop: _cache[34] || (_cache[34] = $event => ($options.onRowDrop($event))),
  33777. onRowToggle: _cache[35] || (_cache[35] = $event => ($options.toggleRow($event))),
  33778. onRadioChange: _cache[36] || (_cache[36] = $event => ($options.toggleRowWithRadio($event))),
  33779. onCheckboxChange: _cache[37] || (_cache[37] = $event => ($options.toggleRowWithCheckbox($event))),
  33780. onCellEditInit: _cache[38] || (_cache[38] = $event => ($options.onCellEditInit($event))),
  33781. onCellEditComplete: _cache[39] || (_cache[39] = $event => ($options.onCellEditComplete($event))),
  33782. onCellEditCancel: _cache[40] || (_cache[40] = $event => ($options.onCellEditCancel($event))),
  33783. onRowEditInit: _cache[41] || (_cache[41] = $event => ($options.onRowEditInit($event))),
  33784. onRowEditSave: _cache[42] || (_cache[42] = $event => ($options.onRowEditSave($event))),
  33785. onRowEditCancel: _cache[43] || (_cache[43] = $event => ($options.onRowEditCancel($event))),
  33786. editingMeta: $data.d_editingMeta,
  33787. onEditingMetaChange: $options.onEditingMetaChange,
  33788. virtualScrollerContentProps: slotProps,
  33789. isVirtualScrollerDisabled: $options.virtualScrollerDisabled
  33790. }, null, 8, ["value", "class", "columns", "empty", "dataKey", "selection", "selectionKeys", "selectionMode", "contextMenu", "contextMenuSelection", "rowGroupMode", "groupRowsBy", "expandableRowGroups", "rowClass", "rowStyle", "editMode", "compareSelectionBy", "scrollable", "expandedRowIcon", "collapsedRowIcon", "expandedRows", "expandedRowKeys", "expandedRowGroups", "editingRows", "editingRowKeys", "templates", "loading", "responsiveLayout", "onRowgroupToggle", "onRowTouchend", "onRowKeydown", "onRowMousedown", "editingMeta", "onEditingMetaChange", "virtualScrollerContentProps", "isVirtualScrollerDisabled"]),
  33791. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)(_component_DTTableFooter, {
  33792. columnGroup: $options.footerColumnGroup,
  33793. columns: slotProps.columns
  33794. }, null, 8, ["columnGroup", "columns"])
  33795. ], 6)
  33796. ]),
  33797. _: 1
  33798. }, 16, ["items", "columns", "style", "disabled"])
  33799. ], 4),
  33800. ($options.paginatorBottom)
  33801. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)(_component_DTPaginator, {
  33802. key: 3,
  33803. rows: $data.d_rows,
  33804. first: $data.d_first,
  33805. totalRecords: $options.totalRecordsLength,
  33806. pageLinkSize: $props.pageLinkSize,
  33807. template: $props.paginatorTemplate,
  33808. rowsPerPageOptions: $props.rowsPerPageOptions,
  33809. currentPageReportTemplate: $props.currentPageReportTemplate,
  33810. class: "p-paginator-bottom",
  33811. onPage: _cache[44] || (_cache[44] = $event => ($options.onPage($event))),
  33812. alwaysShow: $props.alwaysShowPaginator
  33813. }, (0,vue__WEBPACK_IMPORTED_MODULE_4__.createSlots)({ _: 2 }, [
  33814. (_ctx.$slots.paginatorstart)
  33815. ? {
  33816. name: "start",
  33817. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33818. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorstart")
  33819. ])
  33820. }
  33821. : undefined,
  33822. (_ctx.$slots.paginatorend)
  33823. ? {
  33824. name: "end",
  33825. fn: (0,vue__WEBPACK_IMPORTED_MODULE_4__.withCtx)(() => [
  33826. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "paginatorend")
  33827. ])
  33828. }
  33829. : undefined
  33830. ]), 1032, ["rows", "first", "totalRecords", "pageLinkSize", "template", "rowsPerPageOptions", "currentPageReportTemplate", "alwaysShow"]))
  33831. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33832. (_ctx.$slots.footer)
  33833. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("div", _hoisted_3, [
  33834. (0,vue__WEBPACK_IMPORTED_MODULE_4__.renderSlot)(_ctx.$slots, "footer")
  33835. ]))
  33836. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33837. (0,vue__WEBPACK_IMPORTED_MODULE_4__.createVNode)("div", _hoisted_4, null, 512),
  33838. ($props.reorderableColumns)
  33839. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_5, null, 512))
  33840. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true),
  33841. ($props.reorderableColumns)
  33842. ? ((0,vue__WEBPACK_IMPORTED_MODULE_4__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_4__.createBlock)("span", _hoisted_6, null, 512))
  33843. : (0,vue__WEBPACK_IMPORTED_MODULE_4__.createCommentVNode)("", true)
  33844. ], 2))
  33845. }
  33846. function styleInject(css, ref) {
  33847. if ( ref === void 0 ) ref = {};
  33848. var insertAt = ref.insertAt;
  33849. if (!css || typeof document === 'undefined') { return; }
  33850. var head = document.head || document.getElementsByTagName('head')[0];
  33851. var style = document.createElement('style');
  33852. style.type = 'text/css';
  33853. if (insertAt === 'top') {
  33854. if (head.firstChild) {
  33855. head.insertBefore(style, head.firstChild);
  33856. } else {
  33857. head.appendChild(style);
  33858. }
  33859. } else {
  33860. head.appendChild(style);
  33861. }
  33862. if (style.styleSheet) {
  33863. style.styleSheet.cssText = css;
  33864. } else {
  33865. style.appendChild(document.createTextNode(css));
  33866. }
  33867. }
  33868. var css_248z = "\n.p-datatable {\n position: relative;\n}\n.p-datatable table {\n border-collapse: collapse;\n min-width: 100%;\n table-layout: fixed;\n}\n.p-datatable .p-sortable-column {\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-datatable .p-sortable-column .p-column-title,\n.p-datatable .p-sortable-column .p-sortable-column-icon,\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n vertical-align: middle;\n}\n.p-datatable .p-sortable-column .p-sortable-column-badge {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-responsive-scroll > .p-datatable-wrapper > table,\n.p-datatable-auto-layout > .p-datatable-wrapper > table {\n table-layout: auto;\n}\n.p-datatable-hoverable-rows .p-selectable-row {\n cursor: pointer;\n}\n\n/* Scrollable */\n.p-datatable-scrollable .p-datatable-wrapper {\n position: relative;\n overflow: auto;\n}\n.p-datatable-scrollable .p-datatable-thead,\n.p-datatable-scrollable .p-datatable-tbody,\n.p-datatable-scrollable .p-datatable-tfoot {\n display: block;\n}\n.p-datatable-scrollable .p-datatable-thead > tr,\n.p-datatable-scrollable .p-datatable-tbody > tr,\n.p-datatable-scrollable .p-datatable-tfoot > tr {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n width: 100%;\n}\n.p-datatable-scrollable .p-datatable-thead > tr > th,\n.p-datatable-scrollable .p-datatable-tbody > tr > td,\n.p-datatable-scrollable .p-datatable-tfoot > tr > td {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 0px;\n flex: 1 1 0;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable-scrollable .p-datatable-thead {\n position: sticky;\n top: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-frozen-tbody {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable .p-datatable-tfoot {\n position: sticky;\n bottom: 0;\n z-index: 1;\n}\n.p-datatable-scrollable .p-frozen-column {\n position: sticky;\n background: inherit;\n}\n.p-datatable-scrollable th.p-frozen-column {\n z-index: 1;\n}\n.p-datatable-scrollable-both .p-datatable-thead > tr > th,\n.p-datatable-scrollable-both .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-both .p-datatable-tfoot > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-thead > tr > th\n.p-datatable-scrollable-horizontal .p-datatable-tbody > tr > td,\n.p-datatable-scrollable-horizontal .p-datatable-tfoot > tr > td {\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-datatable-flex-scrollable {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n height: 100%;\n}\n.p-datatable-flex-scrollable .p-datatable-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n -webkit-box-flex: 1;\n -ms-flex: 1;\n flex: 1;\n height: 100%;\n}\n.p-datatable-scrollable .p-rowgroup-header {\n position: sticky;\n z-index: 1;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot {\n display: table;\n border-collapse: collapse;\n width: 100%;\n table-layout: fixed;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr {\n display: table-row;\n}\n.p-datatable-scrollable.p-datatable-grouped-header .p-datatable-thead > tr > th,\n.p-datatable-scrollable.p-datatable-grouped-footer .p-datatable-tfoot > tr > td {\n display: table-cell;\n}\n\n/* Resizable */\n.p-datatable-resizable > .p-datatable-wrapper {\n overflow-x: auto;\n}\n.p-datatable-resizable .p-datatable-thead > tr > th,\n.p-datatable-resizable .p-datatable-tfoot > tr > td,\n.p-datatable-resizable .p-datatable-tbody > tr > td {\n overflow: hidden;\n white-space: nowrap;\n}\n.p-datatable-resizable .p-resizable-column:not(.p-frozen-column) {\n background-clip: padding-box;\n position: relative;\n}\n.p-datatable-resizable-fit .p-resizable-column:last-child .p-column-resizer {\n display: none;\n}\n.p-datatable .p-column-resizer {\n display: block;\n position: absolute !important;\n top: 0;\n right: 0;\n margin: 0;\n width: .5rem;\n height: 100%;\n padding: 0px;\n cursor:col-resize;\n border: 1px solid transparent;\n}\n.p-datatable .p-column-header-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-datatable .p-column-resizer-helper {\n width: 1px;\n position: absolute;\n z-index: 10;\n display: none;\n}\n.p-datatable .p-row-editor-init,\n.p-datatable .p-row-editor-save,\n.p-datatable .p-row-editor-cancel {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Expand */\n.p-datatable .p-row-toggler {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Reorder */\n.p-datatable-reorder-indicator-up,\n.p-datatable-reorder-indicator-down {\n position: absolute;\n display: none;\n}\n\n/* Loader */\n.p-datatable .p-datatable-loading-overlay {\n position: absolute;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n z-index: 2;\n}\n\n/* Filter */\n.p-column-filter-row {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n width: 100%;\n}\n.p-column-filter-menu {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n margin-left: auto;\n}\n.p-column-filter-row .p-column-filter-element {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n}\n.p-column-filter-menu-button,\n.p-column-filter-clear-button {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n cursor: pointer;\n text-decoration: none;\n overflow: hidden;\n position: relative;\n}\n.p-column-filter-overlay {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-column-filter-row-items {\n margin: 0;\n padding: 0;\n list-style: none;\n}\n.p-column-filter-row-item {\n cursor: pointer;\n}\n.p-column-filter-add-button,\n.p-column-filter-remove-button {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-column-filter-add-button .p-button-label,\n.p-column-filter-remove-button .p-button-label {\n -webkit-box-flex: 0;\n -ms-flex-positive: 0;\n flex-grow: 0;\n}\n.p-column-filter-buttonbar {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n}\n.p-column-filter-buttonbar .p-button:not(.p-button-icon-only) {\n width: auto;\n}\n\n/* Responsive */\n.p-datatable .p-datatable-tbody > tr > td > .p-column-title {\n display: none;\n}\n\n/* VirtualScroller */\n.p-datatable .p-virtualscroller-loading {\n -webkit-transform: none !important;\n transform: none !important;\n min-height: 0;\n position: sticky;\n top: 0;\n left: 0;\n}\n";
  33869. styleInject(css_248z);
  33870. script.render = render;
  33871. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  33872. /***/ }),
  33873. /***/ "./node_modules/primevue/dialog/dialog.esm.js":
  33874. /*!****************************************************!*\
  33875. !*** ./node_modules/primevue/dialog/dialog.esm.js ***!
  33876. \****************************************************/
  33877. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  33878. "use strict";
  33879. __webpack_require__.r(__webpack_exports__);
  33880. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  33881. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  33882. /* harmony export */ });
  33883. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  33884. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  33885. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  33886. var script = {
  33887. name: 'Dialog',
  33888. inheritAttrs: false,
  33889. emits: ['update:visible','show','hide','maximize','unmaximize','dragend'],
  33890. props: {
  33891. header: null,
  33892. footer: null,
  33893. visible: Boolean,
  33894. modal: Boolean,
  33895. contentStyle: null,
  33896. contentClass: String,
  33897. rtl: Boolean,
  33898. maximizable: Boolean,
  33899. dismissableMask: Boolean,
  33900. closable: {
  33901. type: Boolean,
  33902. default: true
  33903. },
  33904. closeOnEscape: {
  33905. type: Boolean,
  33906. default: true
  33907. },
  33908. showHeader: {
  33909. type: Boolean,
  33910. default: true
  33911. },
  33912. baseZIndex: {
  33913. type: Number,
  33914. default: 0
  33915. },
  33916. autoZIndex: {
  33917. type: Boolean,
  33918. default: true
  33919. },
  33920. ariaCloseLabel: {
  33921. type: String,
  33922. default: 'close'
  33923. },
  33924. position: {
  33925. type: String,
  33926. default: 'center'
  33927. },
  33928. breakpoints: {
  33929. type: Object,
  33930. default: null
  33931. },
  33932. draggable: {
  33933. type: Boolean,
  33934. default: true
  33935. },
  33936. keepInViewport: {
  33937. type: Boolean,
  33938. default: true
  33939. },
  33940. minX: {
  33941. type: Number,
  33942. default: 0
  33943. },
  33944. minY: {
  33945. type: Number,
  33946. default: 0
  33947. },
  33948. appendTo: {
  33949. type: String,
  33950. default: 'body'
  33951. }
  33952. },
  33953. data() {
  33954. return {
  33955. containerVisible: this.visible,
  33956. maximized: false
  33957. }
  33958. },
  33959. documentKeydownListener: null,
  33960. container: null,
  33961. mask: null,
  33962. styleElement: null,
  33963. dragging: null,
  33964. documentDragListener: null,
  33965. documentDragEndListener: null,
  33966. lastPageX: null,
  33967. lastPageY: null,
  33968. updated() {
  33969. if (this.visible) {
  33970. this.containerVisible = this.visible;
  33971. }
  33972. },
  33973. beforeUnmount() {
  33974. this.unbindDocumentState();
  33975. this.unbindGlobalListeners();
  33976. this.destroyStyle();
  33977. this.mask = null;
  33978. if (this.container && this.autoZIndex) {
  33979. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.container);
  33980. }
  33981. this.container = null;
  33982. },
  33983. mounted() {
  33984. if (this.breakpoints) {
  33985. this.createStyle();
  33986. }
  33987. },
  33988. methods: {
  33989. close() {
  33990. this.$emit('update:visible', false);
  33991. },
  33992. onBeforeEnter(el) {
  33993. if (this.autoZIndex) {
  33994. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('modal', el, this.baseZIndex + this.$primevue.config.zIndex.modal);
  33995. }
  33996. el.setAttribute(this.attributeSelector, '');
  33997. },
  33998. onEnter() {
  33999. this.mask.style.zIndex = String(parseInt(this.container.style.zIndex, 10) - 1);
  34000. this.$emit('show');
  34001. this.focus();
  34002. this.enableDocumentSettings();
  34003. this.bindGlobalListeners();
  34004. },
  34005. onBeforeLeave() {
  34006. if (this.modal) {
  34007. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(this.mask, 'p-component-overlay-leave');
  34008. }
  34009. },
  34010. onLeave() {
  34011. this.$emit('hide');
  34012. },
  34013. onAfterLeave(el) {
  34014. if (this.autoZIndex) {
  34015. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  34016. }
  34017. this.containerVisible = false;
  34018. this.unbindDocumentState();
  34019. this.unbindGlobalListeners();
  34020. },
  34021. onMaskClick(event) {
  34022. if (this.dismissableMask && this.closable && this.modal && this.mask === event.target) {
  34023. this.close();
  34024. }
  34025. },
  34026. focus() {
  34027. let focusTarget = this.container.querySelector('[autofocus]');
  34028. if (focusTarget) {
  34029. focusTarget.focus();
  34030. }
  34031. },
  34032. maximize(event) {
  34033. if (this.maximized) {
  34034. this.maximized = false;
  34035. this.$emit('unmaximize', event);
  34036. }
  34037. else {
  34038. this.maximized = true;
  34039. this.$emit('maximize', event);
  34040. }
  34041. if (!this.modal) {
  34042. if (this.maximized)
  34043. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-overflow-hidden');
  34044. else
  34045. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-overflow-hidden');
  34046. }
  34047. },
  34048. enableDocumentSettings() {
  34049. if (this.modal || (this.maximizable && this.maximized)) {
  34050. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-overflow-hidden');
  34051. }
  34052. },
  34053. unbindDocumentState() {
  34054. if (this.modal || (this.maximizable && this.maximized)) {
  34055. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-overflow-hidden');
  34056. }
  34057. },
  34058. onKeyDown(event) {
  34059. if (event.which === 9) {
  34060. event.preventDefault();
  34061. let focusableElements = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getFocusableElements(this.container);
  34062. if (focusableElements && focusableElements.length > 0) {
  34063. if (!document.activeElement) {
  34064. focusableElements[0].focus();
  34065. }
  34066. else {
  34067. let focusedIndex = focusableElements.indexOf(document.activeElement);
  34068. if (event.shiftKey) {
  34069. if (focusedIndex == -1 || focusedIndex === 0)
  34070. focusableElements[focusableElements.length - 1].focus();
  34071. else
  34072. focusableElements[focusedIndex - 1].focus();
  34073. }
  34074. else {
  34075. if (focusedIndex == -1 || focusedIndex === (focusableElements.length - 1))
  34076. focusableElements[0].focus();
  34077. else
  34078. focusableElements[focusedIndex + 1].focus();
  34079. }
  34080. }
  34081. }
  34082. } else if (event.which === 27 && this.closeOnEscape) {
  34083. this.close();
  34084. }
  34085. },
  34086. bindDocumentKeyDownListener() {
  34087. if (!this.documentKeydownListener) {
  34088. this.documentKeydownListener = this.onKeyDown.bind(this);
  34089. window.document.addEventListener('keydown', this.documentKeydownListener);
  34090. }
  34091. },
  34092. unbindDocumentKeyDownListener() {
  34093. if (this.documentKeydownListener) {
  34094. window.document.removeEventListener('keydown', this.documentKeydownListener);
  34095. this.documentKeydownListener = null;
  34096. }
  34097. },
  34098. getPositionClass() {
  34099. const positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];
  34100. const pos = positions.find(item => item === this.position);
  34101. return pos ? `p-dialog-${pos}` : '';
  34102. },
  34103. containerRef(el) {
  34104. this.container = el;
  34105. },
  34106. maskRef(el) {
  34107. this.mask = el;
  34108. },
  34109. createStyle() {
  34110. if (!this.styleElement) {
  34111. this.styleElement = document.createElement('style');
  34112. this.styleElement.type = 'text/css';
  34113. document.head.appendChild(this.styleElement);
  34114. let innerHTML = '';
  34115. for (let breakpoint in this.breakpoints) {
  34116. innerHTML += `
  34117. @media screen and (max-width: ${breakpoint}) {
  34118. .p-dialog[${this.attributeSelector}] {
  34119. width: ${this.breakpoints[breakpoint]} !important;
  34120. }
  34121. }
  34122. `;
  34123. }
  34124. this.styleElement.innerHTML = innerHTML;
  34125. }
  34126. },
  34127. destroyStyle() {
  34128. if (this.styleElement) {
  34129. document.head.removeChild(this.styleElement);
  34130. this.styleElement = null;
  34131. }
  34132. },
  34133. initDrag(event) {
  34134. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-dialog-header-icon') || primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target.parentElement, 'p-dialog-header-icon')) {
  34135. return;
  34136. }
  34137. if (this.draggable) {
  34138. this.dragging = true;
  34139. this.lastPageX = event.pageX;
  34140. this.lastPageY = event.pageY;
  34141. this.container.style.margin = '0';
  34142. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(document.body, 'p-unselectable-text');
  34143. }
  34144. },
  34145. bindGlobalListeners() {
  34146. if (this.draggable) {
  34147. this.bindDocumentDragListener();
  34148. this.bindDocumentDragEndListener();
  34149. }
  34150. if (this.closeOnEscape && this.closable) {
  34151. this.bindDocumentKeyDownListener();
  34152. }
  34153. },
  34154. unbindGlobalListeners() {
  34155. this.unbindDocumentDragListener();
  34156. this.unbindDocumentDragEndListener();
  34157. this.unbindDocumentKeyDownListener();
  34158. },
  34159. bindDocumentDragListener() {
  34160. this.documentDragListener = (event) => {
  34161. if (this.dragging) {
  34162. let width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.container);
  34163. let height = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(this.container);
  34164. let deltaX = event.pageX - this.lastPageX;
  34165. let deltaY = event.pageY - this.lastPageY;
  34166. let offset = this.container.getBoundingClientRect();
  34167. let leftPos = offset.left + deltaX;
  34168. let topPos = offset.top + deltaY;
  34169. let viewport = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getViewport();
  34170. this.container.style.position = 'fixed';
  34171. if (this.keepInViewport) {
  34172. if (leftPos >= this.minX && (leftPos + width) < viewport.width) {
  34173. this.lastPageX = event.pageX;
  34174. this.container.style.left = leftPos + 'px';
  34175. }
  34176. if (topPos >= this.minY && (topPos + height) < viewport.height) {
  34177. this.lastPageY = event.pageY;
  34178. this.container.style.top = topPos + 'px';
  34179. }
  34180. }
  34181. else {
  34182. this.lastPageX = event.pageX;
  34183. this.container.style.left = leftPos + 'px';
  34184. this.lastPageY = event.pageY;
  34185. this.container.style.top = topPos + 'px';
  34186. }
  34187. }
  34188. };
  34189. window.document.addEventListener('mousemove', this.documentDragListener);
  34190. },
  34191. unbindDocumentDragListener() {
  34192. if (this.documentDragListener) {
  34193. window.document.removeEventListener('mousemove', this.documentDragListener);
  34194. this.documentDragListener = null;
  34195. }
  34196. },
  34197. bindDocumentDragEndListener() {
  34198. this.documentDragEndListener = (event) => {
  34199. if (this.dragging) {
  34200. this.dragging = false;
  34201. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(document.body, 'p-unselectable-text');
  34202. this.$emit('dragend', event);
  34203. }
  34204. };
  34205. window.document.addEventListener('mouseup', this.documentDragEndListener);
  34206. },
  34207. unbindDocumentDragEndListener() {
  34208. if (this.documentDragEndListener) {
  34209. window.document.removeEventListener('mouseup', this.documentDragEndListener);
  34210. this.documentDragEndListener = null;
  34211. }
  34212. }
  34213. },
  34214. computed: {
  34215. maskClass() {
  34216. return ['p-dialog-mask', {'p-component-overlay p-component-overlay-enter': this.modal}, this.getPositionClass()];
  34217. },
  34218. dialogClass() {
  34219. return ['p-dialog p-component', {
  34220. 'p-dialog-rtl': this.rtl,
  34221. 'p-dialog-maximized': this.maximizable && this.maximized,
  34222. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  34223. 'p-ripple-disabled': this.$primevue.config.ripple === false
  34224. }];
  34225. },
  34226. maximizeIconClass() {
  34227. return ['p-dialog-header-maximize-icon pi', {
  34228. 'pi-window-maximize': !this.maximized,
  34229. 'pi-window-minimize': this.maximized
  34230. }];
  34231. },
  34232. ariaId() {
  34233. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  34234. },
  34235. ariaLabelledById() {
  34236. return this.header != null ? this.ariaId + '_header' : null;
  34237. },
  34238. attributeSelector() {
  34239. return (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)();
  34240. },
  34241. contentStyleClass() {
  34242. return ['p-dialog-content', this.contentClass];
  34243. },
  34244. appendDisabled() {
  34245. return this.appendTo === 'self';
  34246. },
  34247. appendTarget() {
  34248. return this.appendDisabled ? null : this.appendTo;
  34249. }
  34250. },
  34251. directives: {
  34252. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  34253. }
  34254. };
  34255. const _hoisted_1 = { class: "p-dialog-header-icons" };
  34256. const _hoisted_2 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("span", { class: "p-dialog-header-close-icon pi pi-times" }, null, -1);
  34257. const _hoisted_3 = {
  34258. key: 1,
  34259. class: "p-dialog-footer"
  34260. };
  34261. function render(_ctx, _cache, $props, $setup, $data, $options) {
  34262. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveDirective)("ripple");
  34263. return ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_2__.Teleport, {
  34264. to: $options.appendTarget,
  34265. disabled: $options.appendDisabled
  34266. }, [
  34267. ($data.containerVisible)
  34268. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", {
  34269. key: 0,
  34270. ref: $options.maskRef,
  34271. class: $options.maskClass,
  34272. onClick: _cache[4] || (_cache[4] = (...args) => ($options.onMaskClick && $options.onMaskClick(...args)))
  34273. }, [
  34274. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_2__.Transition, {
  34275. name: "p-dialog",
  34276. onBeforeEnter: $options.onBeforeEnter,
  34277. onEnter: $options.onEnter,
  34278. onBeforeLeave: $options.onBeforeLeave,
  34279. onLeave: $options.onLeave,
  34280. onAfterLeave: $options.onAfterLeave,
  34281. appear: ""
  34282. }, {
  34283. default: (0,vue__WEBPACK_IMPORTED_MODULE_2__.withCtx)(() => [
  34284. ($props.visible)
  34285. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  34286. key: 0,
  34287. ref: $options.containerRef,
  34288. class: $options.dialogClass
  34289. }, _ctx.$attrs, {
  34290. role: "dialog",
  34291. "aria-labelledby": $options.ariaLabelledById,
  34292. "aria-modal": $props.modal
  34293. }), [
  34294. ($props.showHeader)
  34295. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", {
  34296. key: 0,
  34297. class: "p-dialog-header",
  34298. onMousedown: _cache[3] || (_cache[3] = (...args) => ($options.initDrag && $options.initDrag(...args)))
  34299. }, [
  34300. (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderSlot)(_ctx.$slots, "header", {}, () => [
  34301. ($props.header)
  34302. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("span", {
  34303. key: 0,
  34304. id: $options.ariaLabelledById,
  34305. class: "p-dialog-title"
  34306. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toDisplayString)($props.header), 9, ["id"]))
  34307. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34308. ]),
  34309. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("div", _hoisted_1, [
  34310. ($props.maximizable)
  34311. ? (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("button", {
  34312. key: 0,
  34313. class: "p-dialog-header-icon p-dialog-header-maximize p-link",
  34314. onClick: _cache[1] || (_cache[1] = (...args) => ($options.maximize && $options.maximize(...args))),
  34315. type: "button",
  34316. tabindex: "-1"
  34317. }, [
  34318. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("span", { class: $options.maximizeIconClass }, null, 2)
  34319. ], 512)), [
  34320. [_directive_ripple]
  34321. ])
  34322. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  34323. ($props.closable)
  34324. ? (0,vue__WEBPACK_IMPORTED_MODULE_2__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("button", {
  34325. key: 1,
  34326. class: "p-dialog-header-icon p-dialog-header-close p-link",
  34327. onClick: _cache[2] || (_cache[2] = (...args) => ($options.close && $options.close(...args))),
  34328. "aria-label": $props.ariaCloseLabel,
  34329. type: "button"
  34330. }, [
  34331. _hoisted_2
  34332. ], 8, ["aria-label"])), [
  34333. [_directive_ripple]
  34334. ])
  34335. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34336. ])
  34337. ], 32))
  34338. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  34339. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)("div", {
  34340. class: $options.contentStyleClass,
  34341. style: $props.contentStyle
  34342. }, [
  34343. (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderSlot)(_ctx.$slots, "default")
  34344. ], 6),
  34345. ($props.footer || _ctx.$slots.footer)
  34346. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("div", _hoisted_3, [
  34347. (0,vue__WEBPACK_IMPORTED_MODULE_2__.renderSlot)(_ctx.$slots, "footer", {}, () => [
  34348. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_2__.toDisplayString)($props.footer), 1)
  34349. ])
  34350. ]))
  34351. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34352. ], 16, ["aria-labelledby", "aria-modal"]))
  34353. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34354. ]),
  34355. _: 3
  34356. }, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onLeave", "onAfterLeave"])
  34357. ], 2))
  34358. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  34359. ], 8, ["to", "disabled"]))
  34360. }
  34361. function styleInject(css, ref) {
  34362. if ( ref === void 0 ) ref = {};
  34363. var insertAt = ref.insertAt;
  34364. if (!css || typeof document === 'undefined') { return; }
  34365. var head = document.head || document.getElementsByTagName('head')[0];
  34366. var style = document.createElement('style');
  34367. style.type = 'text/css';
  34368. if (insertAt === 'top') {
  34369. if (head.firstChild) {
  34370. head.insertBefore(style, head.firstChild);
  34371. } else {
  34372. head.appendChild(style);
  34373. }
  34374. } else {
  34375. head.appendChild(style);
  34376. }
  34377. if (style.styleSheet) {
  34378. style.styleSheet.cssText = css;
  34379. } else {
  34380. style.appendChild(document.createTextNode(css));
  34381. }
  34382. }
  34383. var css_248z = "\n.p-dialog-mask {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n pointer-events: none;\n}\n.p-dialog-mask.p-component-overlay {\n pointer-events: auto;\n}\n.p-dialog {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n pointer-events: auto;\n max-height: 90%;\n -webkit-transform: scale(1);\n transform: scale(1);\n}\n.p-dialog-content {\n overflow-y: auto;\n}\n.p-dialog-header {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: justify;\n -ms-flex-pack: justify;\n justify-content: space-between;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-dialog-footer {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-dialog .p-dialog-header-icons {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-dialog .p-dialog-header-icon {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n}\n\n/* Fluid */\n.p-fluid .p-dialog-footer .p-button {\n width: auto;\n}\n\n/* Animation */\n/* Center */\n.p-dialog-enter-active {\n -webkit-transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n transition: all 150ms cubic-bezier(0, 0, 0.2, 1);\n}\n.p-dialog-leave-active {\n -webkit-transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n transition: all 150ms cubic-bezier(0.4, 0.0, 0.2, 1);\n}\n.p-dialog-enter-from,\n.p-dialog-leave-to {\n opacity: 0;\n -webkit-transform: scale(0.7);\n transform: scale(0.7);\n}\n\n/* Top, Bottom, Left, Right, Top* and Bottom* */\n.p-dialog-top .p-dialog,\n.p-dialog-bottom .p-dialog,\n.p-dialog-left .p-dialog,\n.p-dialog-right .p-dialog,\n.p-dialog-topleft .p-dialog,\n.p-dialog-topright .p-dialog,\n.p-dialog-bottomleft .p-dialog,\n.p-dialog-bottomright .p-dialog {\n margin: .75rem;\n -webkit-transform: translate3d(0px, 0px, 0px);\n transform: translate3d(0px, 0px, 0px);\n}\n.p-dialog-top .p-dialog-enter-active,\n.p-dialog-top .p-dialog-leave-active,\n.p-dialog-bottom .p-dialog-enter-active,\n.p-dialog-bottom .p-dialog-leave-active,\n.p-dialog-left .p-dialog-enter-active,\n.p-dialog-left .p-dialog-leave-active,\n.p-dialog-right .p-dialog-enter-active,\n.p-dialog-right .p-dialog-leave-active,\n.p-dialog-topleft .p-dialog-enter-active,\n.p-dialog-topleft .p-dialog-leave-active,\n.p-dialog-topright .p-dialog-enter-active,\n.p-dialog-topright .p-dialog-leave-active,\n.p-dialog-bottomleft .p-dialog-enter-active,\n.p-dialog-bottomleft .p-dialog-leave-active,\n.p-dialog-bottomright .p-dialog-enter-active,\n.p-dialog-bottomright .p-dialog-leave-active {\n -webkit-transition: all .3s ease-out;\n transition: all .3s ease-out;\n}\n.p-dialog-top .p-dialog-enter-from,\n.p-dialog-top .p-dialog-leave-to {\n -webkit-transform: translate3d(0px, -100%, 0px);\n transform: translate3d(0px, -100%, 0px);\n}\n.p-dialog-bottom .p-dialog-enter-from,\n.p-dialog-bottom .p-dialog-leave-to {\n -webkit-transform: translate3d(0px, 100%, 0px);\n transform: translate3d(0px, 100%, 0px);\n}\n.p-dialog-left .p-dialog-enter-from,\n.p-dialog-left .p-dialog-leave-to,\n.p-dialog-topleft .p-dialog-enter-from,\n.p-dialog-topleft .p-dialog-leave-to,\n.p-dialog-bottomleft .p-dialog-enter-from,\n.p-dialog-bottomleft .p-dialog-leave-to {\n -webkit-transform: translate3d(-100%, 0px, 0px);\n transform: translate3d(-100%, 0px, 0px);\n}\n.p-dialog-right .p-dialog-enter-from,\n.p-dialog-right .p-dialog-leave-to,\n.p-dialog-topright .p-dialog-enter-from,\n.p-dialog-topright .p-dialog-leave-to,\n.p-dialog-bottomright .p-dialog-enter-from,\n.p-dialog-bottomright .p-dialog-leave-to {\n -webkit-transform: translate3d(100%, 0px, 0px);\n transform: translate3d(100%, 0px, 0px);\n}\n\n/* Maximize */\n.p-dialog-maximized {\n -webkit-transition: none;\n transition: none;\n -webkit-transform: none;\n transform: none;\n width: 100vw !important;\n height: 100vh !important;\n top: 0px !important;\n left: 0px !important;\n max-height: 100%;\n height: 100%;\n}\n.p-dialog-maximized .p-dialog-content {\n -webkit-box-flex: 1;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n/* Position */\n.p-dialog-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}\n.p-dialog-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.p-dialog-top {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-dialog-topleft {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-dialog-topright {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-dialog-bottom {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-dialog-bottomleft {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-dialog-bottomright {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-confirm-dialog .p-dialog-content {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n";
  34384. styleInject(css_248z);
  34385. script.render = render;
  34386. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  34387. /***/ }),
  34388. /***/ "./node_modules/primevue/divider/divider.esm.js":
  34389. /*!******************************************************!*\
  34390. !*** ./node_modules/primevue/divider/divider.esm.js ***!
  34391. \******************************************************/
  34392. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  34393. "use strict";
  34394. __webpack_require__.r(__webpack_exports__);
  34395. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  34396. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  34397. /* harmony export */ });
  34398. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  34399. var script = {
  34400. name: 'Divider',
  34401. props: {
  34402. align: {
  34403. type: String,
  34404. default: null
  34405. },
  34406. layout: {
  34407. type: String,
  34408. default: 'horizontal'
  34409. },
  34410. type: {
  34411. type: String,
  34412. default: 'solid'
  34413. }
  34414. },
  34415. computed: {
  34416. containerClass() {
  34417. return ['p-divider p-component', 'p-divider-' + this.layout, 'p-divider-' + this.type,
  34418. {'p-divider-left': this.layout === 'horizontal' && (!this.align || this.align === 'left')},
  34419. {'p-divider-center': this.layout === 'horizontal' && this.align === 'center'},
  34420. {'p-divider-right': this.layout === 'horizontal' && this.align === 'right'},
  34421. {'p-divider-top': this.layout === 'vertical' && (this.align === 'top')},
  34422. {'p-divider-center': this.layout === 'vertical' && (!this.align || this.align === 'center')},
  34423. {'p-divider-bottom': this.layout === 'vertical' && this.align === 'bottom'}
  34424. ];
  34425. }
  34426. }
  34427. };
  34428. const _hoisted_1 = {
  34429. key: 0,
  34430. class: "p-divider-content"
  34431. };
  34432. function render(_ctx, _cache, $props, $setup, $data, $options) {
  34433. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  34434. class: $options.containerClass,
  34435. role: "separator"
  34436. }, [
  34437. (_ctx.$slots.default)
  34438. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_1, [
  34439. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "default")
  34440. ]))
  34441. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  34442. ], 2))
  34443. }
  34444. function styleInject(css, ref) {
  34445. if ( ref === void 0 ) ref = {};
  34446. var insertAt = ref.insertAt;
  34447. if (!css || typeof document === 'undefined') { return; }
  34448. var head = document.head || document.getElementsByTagName('head')[0];
  34449. var style = document.createElement('style');
  34450. style.type = 'text/css';
  34451. if (insertAt === 'top') {
  34452. if (head.firstChild) {
  34453. head.insertBefore(style, head.firstChild);
  34454. } else {
  34455. head.appendChild(style);
  34456. }
  34457. } else {
  34458. head.appendChild(style);
  34459. }
  34460. if (style.styleSheet) {
  34461. style.styleSheet.cssText = css;
  34462. } else {
  34463. style.appendChild(document.createTextNode(css));
  34464. }
  34465. }
  34466. var css_248z = "\n.p-divider-horizontal {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n width: 100%;\n position: relative;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-divider-horizontal:before {\n position: absolute;\n display: block;\n top: 50%;\n left: 0;\n width: 100%;\n content: \"\";\n}\n.p-divider-horizontal.p-divider-left {\n -webkit-box-pack: start;\n -ms-flex-pack: start;\n justify-content: flex-start;\n}\n.p-divider-horizontal.p-divider-right {\n -webkit-box-pack: end;\n -ms-flex-pack: end;\n justify-content: flex-end;\n}\n.p-divider-horizontal.p-divider-center {\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-divider-content {\n z-index: 1;\n}\n.p-divider-vertical {\n min-height: 100%;\n margin: 0 1rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n position: relative;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-divider-vertical:before {\n position: absolute;\n display: block;\n top: 0;\n left: 50%;\n height: 100%;\n content: \"\";\n}\n.p-divider-vertical.p-divider-top {\n -webkit-box-align: start;\n -ms-flex-align: start;\n align-items: flex-start;\n}\n.p-divider-vertical.p-divider-center {\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-divider-vertical.p-divider-bottom {\n -webkit-box-align: end;\n -ms-flex-align: end;\n align-items: flex-end;\n}\n.p-divider-solid.p-divider-horizontal:before {\n border-top-style: solid;\n}\n.p-divider-solid.p-divider-vertical:before {\n border-left-style: solid;\n}\n.p-divider-dashed.p-divider-horizontal:before {\n border-top-style: dashed;\n}\n.p-divider-dashed.p-divider-vertical:before {\n border-left-style: dashed;\n}\n.p-divider-dotted.p-divider-horizontal:before {\n border-top-style: dotted;\n}\n.p-divider-dotted.p-divider-horizontal:before {\n border-left-style: dotted;\n}\n";
  34467. styleInject(css_248z);
  34468. script.render = render;
  34469. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  34470. /***/ }),
  34471. /***/ "./node_modules/primevue/dropdown/dropdown.esm.js":
  34472. /*!********************************************************!*\
  34473. !*** ./node_modules/primevue/dropdown/dropdown.esm.js ***!
  34474. \********************************************************/
  34475. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  34476. "use strict";
  34477. __webpack_require__.r(__webpack_exports__);
  34478. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  34479. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  34480. /* harmony export */ });
  34481. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  34482. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  34483. /* harmony import */ var primevue_api__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/api */ "./node_modules/primevue/api/api.esm.js");
  34484. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  34485. /* harmony import */ var primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! primevue/virtualscroller */ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js");
  34486. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  34487. var script = {
  34488. name: 'Dropdown',
  34489. emits: ['update:modelValue', 'before-show', 'before-hide', 'show', 'hide', 'change', 'filter', 'focus', 'blur'],
  34490. props: {
  34491. modelValue: null,
  34492. options: Array,
  34493. optionLabel: null,
  34494. optionValue: null,
  34495. optionDisabled: null,
  34496. optionGroupLabel: null,
  34497. optionGroupChildren: null,
  34498. scrollHeight: {
  34499. type: String,
  34500. default: '200px'
  34501. },
  34502. filter: Boolean,
  34503. filterPlaceholder: String,
  34504. filterLocale: String,
  34505. filterMatchMode: {
  34506. type: String,
  34507. default: 'contains'
  34508. },
  34509. filterFields: {
  34510. type: Array,
  34511. default: null
  34512. },
  34513. editable: Boolean,
  34514. placeholder: String,
  34515. disabled: Boolean,
  34516. dataKey: null,
  34517. showClear: Boolean,
  34518. inputId: String,
  34519. tabindex: String,
  34520. ariaLabelledBy: null,
  34521. appendTo: {
  34522. type: String,
  34523. default: 'body'
  34524. },
  34525. emptyFilterMessage: {
  34526. type: String,
  34527. default: null
  34528. },
  34529. emptyMessage: {
  34530. type: String,
  34531. default: null
  34532. },
  34533. panelClass: null,
  34534. loading: {
  34535. type: Boolean,
  34536. default: false
  34537. },
  34538. loadingIcon: {
  34539. type: String,
  34540. default: 'pi pi-spinner pi-spin'
  34541. },
  34542. virtualScrollerOptions: {
  34543. type: Object,
  34544. default: null
  34545. }
  34546. },
  34547. data() {
  34548. return {
  34549. focused: false,
  34550. filterValue: null,
  34551. overlayVisible: false
  34552. };
  34553. },
  34554. watch: {
  34555. modelValue() {
  34556. this.isModelValueChanged = true;
  34557. }
  34558. },
  34559. outsideClickListener: null,
  34560. scrollHandler: null,
  34561. resizeListener: null,
  34562. searchTimeout: null,
  34563. currentSearchChar: null,
  34564. previousSearchChar: null,
  34565. searchValue: null,
  34566. overlay: null,
  34567. itemsWrapper: null,
  34568. virtualScroller: null,
  34569. isModelValueChanged: false,
  34570. updated() {
  34571. if (this.overlayVisible && this.isModelValueChanged) {
  34572. this.scrollValueInView();
  34573. }
  34574. this.isModelValueChanged = false;
  34575. },
  34576. beforeUnmount() {
  34577. this.unbindOutsideClickListener();
  34578. this.unbindResizeListener();
  34579. if (this.scrollHandler) {
  34580. this.scrollHandler.destroy();
  34581. this.scrollHandler = null;
  34582. }
  34583. this.itemsWrapper = null;
  34584. if (this.overlay) {
  34585. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  34586. this.overlay = null;
  34587. }
  34588. },
  34589. methods: {
  34590. getOptionIndex(index, fn) {
  34591. return this.virtualScrollerDisabled ? index : (fn && fn(index)['index']);
  34592. },
  34593. getOptionLabel(option) {
  34594. return this.optionLabel ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.optionLabel) : option;
  34595. },
  34596. getOptionValue(option) {
  34597. return this.optionValue ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.optionValue) : option;
  34598. },
  34599. getOptionRenderKey(option) {
  34600. return this.dataKey ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option);
  34601. },
  34602. isOptionDisabled(option) {
  34603. return this.optionDisabled ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
  34604. },
  34605. getOptionGroupRenderKey(optionGroup) {
  34606. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  34607. },
  34608. getOptionGroupLabel(optionGroup) {
  34609. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupLabel);
  34610. },
  34611. getOptionGroupChildren(optionGroup) {
  34612. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.resolveFieldData(optionGroup, this.optionGroupChildren);
  34613. },
  34614. getSelectedOption() {
  34615. let index = this.getSelectedOptionIndex();
  34616. return index !== -1 ? (this.optionGroupLabel ? this.getOptionGroupChildren(this.visibleOptions[index.group])[index.option]: this.visibleOptions[index]) : null;
  34617. },
  34618. getSelectedOptionIndex() {
  34619. if (this.modelValue != null && this.visibleOptions) {
  34620. if (this.optionGroupLabel) {
  34621. for (let i = 0; i < this.visibleOptions.length; i++) {
  34622. let selectedOptionIndex = this.findOptionIndexInList(this.modelValue, this.getOptionGroupChildren(this.visibleOptions[i]));
  34623. if (selectedOptionIndex !== -1) {
  34624. return {group: i, option: selectedOptionIndex};
  34625. }
  34626. }
  34627. }
  34628. else {
  34629. return this.findOptionIndexInList(this.modelValue, this.visibleOptions);
  34630. }
  34631. }
  34632. return -1;
  34633. },
  34634. findOptionIndexInList(value, list) {
  34635. for (let i = 0; i < list.length; i++) {
  34636. if ((primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(value, this.getOptionValue(list[i]), this.equalityKey))) {
  34637. return i;
  34638. }
  34639. }
  34640. return -1;
  34641. },
  34642. isSelected(option) {
  34643. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ObjectUtils.equals(this.modelValue, this.getOptionValue(option), this.equalityKey);
  34644. },
  34645. show() {
  34646. this.$emit('before-show');
  34647. this.overlayVisible = true;
  34648. },
  34649. hide() {
  34650. this.$emit('before-hide');
  34651. this.overlayVisible = false;
  34652. },
  34653. onFocus(event) {
  34654. this.focused = true;
  34655. this.$emit('focus', event);
  34656. },
  34657. onBlur(event) {
  34658. this.focused = false;
  34659. this.$emit('blur', event);
  34660. },
  34661. onKeyDown(event) {
  34662. switch(event.which) {
  34663. //down
  34664. case 40:
  34665. this.onDownKey(event);
  34666. break;
  34667. //up
  34668. case 38:
  34669. this.onUpKey(event);
  34670. break;
  34671. //space
  34672. case 32:
  34673. if (!this.overlayVisible) {
  34674. this.show();
  34675. event.preventDefault();
  34676. }
  34677. break;
  34678. //enter and escape
  34679. case 13:
  34680. case 27:
  34681. if (this.overlayVisible) {
  34682. this.hide();
  34683. event.preventDefault();
  34684. }
  34685. break;
  34686. //tab
  34687. case 9:
  34688. this.hide();
  34689. break;
  34690. default:
  34691. this.search(event);
  34692. break;
  34693. }
  34694. },
  34695. onFilterKeyDown(event) {
  34696. switch (event.which) {
  34697. //down
  34698. case 40:
  34699. this.onDownKey(event);
  34700. break;
  34701. //up
  34702. case 38:
  34703. this.onUpKey(event);
  34704. break;
  34705. //enter and escape
  34706. case 13:
  34707. case 27:
  34708. this.overlayVisible = false;
  34709. event.preventDefault();
  34710. break;
  34711. }
  34712. },
  34713. onDownKey(event) {
  34714. if (this.visibleOptions) {
  34715. if (!this.overlayVisible && event.altKey) {
  34716. this.show();
  34717. }
  34718. else {
  34719. let nextOption = this.visibleOptions && this.visibleOptions.length > 0 ? this.findNextOption(this.getSelectedOptionIndex()) : null;
  34720. if (nextOption) {
  34721. this.updateModel(event, this.getOptionValue(nextOption));
  34722. }
  34723. }
  34724. }
  34725. event.preventDefault();
  34726. },
  34727. onUpKey(event) {
  34728. if (this.visibleOptions) {
  34729. let prevOption = this.findPrevOption(this.getSelectedOptionIndex());
  34730. if (prevOption) {
  34731. this.updateModel(event, this.getOptionValue(prevOption));
  34732. }
  34733. }
  34734. event.preventDefault();
  34735. },
  34736. findNextOption(index) {
  34737. if (this.optionGroupLabel) {
  34738. let groupIndex = index === -1 ? 0 : index.group;
  34739. let optionIndex = index === -1 ? -1 : index.option;
  34740. let option = this.findNextOptionInList(this.getOptionGroupChildren(this.visibleOptions[groupIndex]), optionIndex);
  34741. if (option)
  34742. return option;
  34743. else if ((groupIndex + 1) !== this.visibleOptions.length)
  34744. return this.findNextOption({group: (groupIndex + 1), option: -1});
  34745. else
  34746. return null;
  34747. }
  34748. else {
  34749. return this.findNextOptionInList(this.visibleOptions, index);
  34750. }
  34751. },
  34752. findNextOptionInList(list, index) {
  34753. let i = index + 1;
  34754. if (i === list.length) {
  34755. return null;
  34756. }
  34757. let option = list[i];
  34758. if (this.isOptionDisabled(option))
  34759. return this.findNextOptionInList(i);
  34760. else
  34761. return option;
  34762. },
  34763. findPrevOption(index) {
  34764. if (index === -1) {
  34765. return null;
  34766. }
  34767. if (this.optionGroupLabel) {
  34768. let groupIndex = index.group;
  34769. let optionIndex = index.option;
  34770. let option = this.findPrevOptionInList(this.getOptionGroupChildren(this.visibleOptions[groupIndex]), optionIndex);
  34771. if (option)
  34772. return option;
  34773. else if (groupIndex > 0)
  34774. return this.findPrevOption({group: (groupIndex - 1), option: this.getOptionGroupChildren(this.visibleOptions[groupIndex - 1]).length});
  34775. else
  34776. return null;
  34777. }
  34778. else {
  34779. return this.findPrevOptionInList(this.visibleOptions, index);
  34780. }
  34781. },
  34782. findPrevOptionInList(list, index) {
  34783. let i = index - 1;
  34784. if (i < 0) {
  34785. return null;
  34786. }
  34787. let option = list[i];
  34788. if (this.isOptionDisabled(option))
  34789. return this.findPrevOption(i);
  34790. else
  34791. return option;
  34792. },
  34793. onClearClick(event) {
  34794. this.updateModel(event, null);
  34795. },
  34796. onClick(event) {
  34797. if (this.disabled || this.loading) {
  34798. return;
  34799. }
  34800. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(event.target, 'p-dropdown-clear-icon') || event.target.tagName === 'INPUT') {
  34801. return;
  34802. }
  34803. else if (!this.overlay || !this.overlay.contains(event.target)) {
  34804. if (this.overlayVisible)
  34805. this.hide();
  34806. else
  34807. this.show();
  34808. this.$refs.focusInput.focus();
  34809. }
  34810. },
  34811. onOptionSelect(event, option) {
  34812. let value = this.getOptionValue(option);
  34813. this.updateModel(event, value);
  34814. this.$refs.focusInput.focus();
  34815. setTimeout(() => {
  34816. this.hide();
  34817. }, 200);
  34818. },
  34819. onEditableInput(event) {
  34820. this.$emit('update:modelValue', event.target.value);
  34821. },
  34822. onOverlayEnter(el) {
  34823. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  34824. this.alignOverlay();
  34825. this.scrollValueInView();
  34826. if (!this.virtualScrollerDisabled) {
  34827. const selectedIndex = this.getSelectedOptionIndex();
  34828. if (selectedIndex !== -1) {
  34829. setTimeout(() => {
  34830. this.virtualScroller && this.virtualScroller.scrollToIndex(selectedIndex);
  34831. }, 0);
  34832. }
  34833. }
  34834. },
  34835. onOverlayAfterEnter() {
  34836. if (this.filter) {
  34837. this.$refs.filterInput.focus();
  34838. }
  34839. this.bindOutsideClickListener();
  34840. this.bindScrollListener();
  34841. this.bindResizeListener();
  34842. this.$emit('show');
  34843. },
  34844. onOverlayLeave() {
  34845. this.unbindOutsideClickListener();
  34846. this.unbindScrollListener();
  34847. this.unbindResizeListener();
  34848. this.$emit('hide');
  34849. this.itemsWrapper = null;
  34850. this.overlay = null;
  34851. },
  34852. onOverlayAfterLeave(el) {
  34853. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  34854. },
  34855. alignOverlay() {
  34856. if (this.appendDisabled) {
  34857. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, this.$el);
  34858. }
  34859. else {
  34860. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$el) + 'px';
  34861. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$el);
  34862. }
  34863. },
  34864. updateModel(event, value) {
  34865. this.$emit('update:modelValue', value);
  34866. this.$emit('change', {originalEvent: event, value: value});
  34867. },
  34868. bindOutsideClickListener() {
  34869. if (!this.outsideClickListener) {
  34870. this.outsideClickListener = (event) => {
  34871. if (this.overlayVisible && this.overlay && !this.$el.contains(event.target) && !this.overlay.contains(event.target)) {
  34872. this.hide();
  34873. }
  34874. };
  34875. document.addEventListener('click', this.outsideClickListener);
  34876. }
  34877. },
  34878. unbindOutsideClickListener() {
  34879. if (this.outsideClickListener) {
  34880. document.removeEventListener('click', this.outsideClickListener);
  34881. this.outsideClickListener = null;
  34882. }
  34883. },
  34884. bindScrollListener() {
  34885. if (!this.scrollHandler) {
  34886. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.container, () => {
  34887. if (this.overlayVisible) {
  34888. this.hide();
  34889. }
  34890. });
  34891. }
  34892. this.scrollHandler.bindScrollListener();
  34893. },
  34894. unbindScrollListener() {
  34895. if (this.scrollHandler) {
  34896. this.scrollHandler.unbindScrollListener();
  34897. }
  34898. },
  34899. bindResizeListener() {
  34900. if (!this.resizeListener) {
  34901. this.resizeListener = () => {
  34902. if (this.overlayVisible && !primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isTouchDevice()) {
  34903. this.hide();
  34904. }
  34905. };
  34906. window.addEventListener('resize', this.resizeListener);
  34907. }
  34908. },
  34909. unbindResizeListener() {
  34910. if (this.resizeListener) {
  34911. window.removeEventListener('resize', this.resizeListener);
  34912. this.resizeListener = null;
  34913. }
  34914. },
  34915. search(event) {
  34916. if (!this.visibleOptions) {
  34917. return;
  34918. }
  34919. if (this.searchTimeout) {
  34920. clearTimeout(this.searchTimeout);
  34921. }
  34922. const char = event.key;
  34923. this.previousSearchChar = this.currentSearchChar;
  34924. this.currentSearchChar = char;
  34925. if (this.previousSearchChar === this.currentSearchChar)
  34926. this.searchValue = this.currentSearchChar;
  34927. else
  34928. this.searchValue = this.searchValue ? this.searchValue + char : char;
  34929. if (this.searchValue) {
  34930. let searchIndex = this.getSelectedOptionIndex();
  34931. let newOption = this.optionGroupLabel ? this.searchOptionInGroup(searchIndex) : this.searchOption(++searchIndex);
  34932. if (newOption) {
  34933. this.updateModel(event, this.getOptionValue(newOption));
  34934. }
  34935. }
  34936. this.searchTimeout = setTimeout(() => {
  34937. this.searchValue = null;
  34938. }, 250);
  34939. },
  34940. searchOption(index) {
  34941. let option;
  34942. if (this.searchValue) {
  34943. option = this.searchOptionInRange(index, this.visibleOptions.length);
  34944. if (!option) {
  34945. option = this.searchOptionInRange(0, index);
  34946. }
  34947. }
  34948. return option;
  34949. },
  34950. searchOptionInRange(start, end) {
  34951. for (let i = start; i < end; i++) {
  34952. let opt = this.visibleOptions[i];
  34953. if (this.matchesSearchValue(opt)) {
  34954. return opt;
  34955. }
  34956. }
  34957. return null;
  34958. },
  34959. searchOptionInGroup(index) {
  34960. let searchIndex = index === -1 ? {group: 0, option: -1} : index;
  34961. for (let i = searchIndex.group; i < this.visibleOptions.length; i++) {
  34962. let groupOptions = this.getOptionGroupChildren(this.visibleOptions[i]);
  34963. for (let j = (searchIndex.group === i ? searchIndex.option + 1 : 0); j < groupOptions.length; j++) {
  34964. if (this.matchesSearchValue(groupOptions[j])) {
  34965. return groupOptions[j];
  34966. }
  34967. }
  34968. }
  34969. for (let i = 0; i <= searchIndex.group; i++) {
  34970. let groupOptions = this.getOptionGroupChildren(this.visibleOptions[i]);
  34971. for (let j = 0; j < (searchIndex.group === i ? searchIndex.option: groupOptions.length); j++) {
  34972. if (this.matchesSearchValue(groupOptions[j])) {
  34973. return groupOptions[j];
  34974. }
  34975. }
  34976. }
  34977. return null;
  34978. },
  34979. matchesSearchValue(option) {
  34980. let label = this.getOptionLabel(option).toLocaleLowerCase(this.filterLocale);
  34981. return label.startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale));
  34982. },
  34983. onFilterChange(event) {
  34984. this.filterValue = event.target.value;
  34985. this.$emit('filter', {originalEvent: event, value: event.target.value});
  34986. },
  34987. onFilterUpdated() {
  34988. if (this.overlayVisible) {
  34989. this.alignOverlay();
  34990. }
  34991. },
  34992. overlayRef(el) {
  34993. this.overlay = el;
  34994. },
  34995. itemsWrapperRef(el) {
  34996. this.itemsWrapper = el;
  34997. },
  34998. virtualScrollerRef(el) {
  34999. this.virtualScroller = el;
  35000. },
  35001. scrollValueInView() {
  35002. if (this.overlay) {
  35003. let selectedItem = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(this.overlay, 'li.p-highlight');
  35004. if (selectedItem) {
  35005. selectedItem.scrollIntoView({ block: 'nearest', inline: 'start' });
  35006. }
  35007. }
  35008. },
  35009. onOverlayClick(event) {
  35010. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  35011. originalEvent: event,
  35012. target: this.$el
  35013. });
  35014. }
  35015. },
  35016. computed: {
  35017. visibleOptions() {
  35018. if (this.filterValue) {
  35019. if (this.optionGroupLabel) {
  35020. let filteredGroups = [];
  35021. for (let optgroup of this.options) {
  35022. let filteredSubOptions = primevue_api__WEBPACK_IMPORTED_MODULE_2__.FilterService.filter(this.getOptionGroupChildren(optgroup), this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
  35023. if (filteredSubOptions && filteredSubOptions.length) {
  35024. let filteredGroup = {...optgroup};
  35025. filteredGroup[this.optionGroupChildren] = filteredSubOptions;
  35026. filteredGroups.push(filteredGroup);
  35027. }
  35028. }
  35029. return filteredGroups
  35030. }
  35031. else {
  35032. return primevue_api__WEBPACK_IMPORTED_MODULE_2__.FilterService.filter(this.options, this.searchFields, this.filterValue, this.filterMatchMode, this.filterLocale);
  35033. }
  35034. }
  35035. else {
  35036. return this.options;
  35037. }
  35038. },
  35039. containerClass() {
  35040. return [
  35041. 'p-dropdown p-component p-inputwrapper',
  35042. {
  35043. 'p-disabled': this.disabled,
  35044. 'p-dropdown-clearable': this.showClear && !this.disabled,
  35045. 'p-focus': this.focused,
  35046. 'p-inputwrapper-filled': this.modelValue,
  35047. 'p-inputwrapper-focus': this.focused || this.overlayVisible
  35048. }
  35049. ];
  35050. },
  35051. labelClass() {
  35052. return [
  35053. 'p-dropdown-label p-inputtext',
  35054. {
  35055. 'p-placeholder': this.label === this.placeholder,
  35056. 'p-dropdown-label-empty': !this.$slots['value'] && (this.label === 'p-emptylabel' || this.label.length === 0)
  35057. }
  35058. ];
  35059. },
  35060. panelStyleClass() {
  35061. return ['p-dropdown-panel p-component', this.panelClass, {
  35062. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  35063. 'p-ripple-disabled': this.$primevue.config.ripple === false
  35064. }];
  35065. },
  35066. label() {
  35067. let selectedOption = this.getSelectedOption();
  35068. if (selectedOption !== null)
  35069. return this.getOptionLabel(selectedOption);
  35070. else
  35071. return this.placeholder||'p-emptylabel';
  35072. },
  35073. editableInputValue() {
  35074. let selectedOption = this.getSelectedOption();
  35075. if (selectedOption)
  35076. return this.getOptionLabel(selectedOption);
  35077. else
  35078. return this.modelValue;
  35079. },
  35080. equalityKey() {
  35081. return this.optionValue ? null : this.dataKey;
  35082. },
  35083. searchFields() {
  35084. return this.filterFields || [this.optionLabel];
  35085. },
  35086. emptyFilterMessageText() {
  35087. return this.emptyFilterMessage || this.$primevue.config.locale.emptyFilterMessage;
  35088. },
  35089. emptyMessageText() {
  35090. return this.emptyMessage || this.$primevue.config.locale.emptyMessage;
  35091. },
  35092. appendDisabled() {
  35093. return this.appendTo === 'self';
  35094. },
  35095. virtualScrollerDisabled() {
  35096. return !this.virtualScrollerOptions;
  35097. },
  35098. appendTarget() {
  35099. return this.appendDisabled ? null : this.appendTo;
  35100. },
  35101. dropdownIconClass() {
  35102. return ['p-dropdown-trigger-icon', this.loading ? this.loadingIcon : 'pi pi-chevron-down'];
  35103. }
  35104. },
  35105. directives: {
  35106. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_3__["default"]
  35107. },
  35108. components: {
  35109. 'VirtualScroller': primevue_virtualscroller__WEBPACK_IMPORTED_MODULE_4__["default"]
  35110. }
  35111. };
  35112. const _hoisted_1 = { class: "p-hidden-accessible" };
  35113. const _hoisted_2 = {
  35114. key: 0,
  35115. class: "p-dropdown-header"
  35116. };
  35117. const _hoisted_3 = { class: "p-dropdown-filter-container" };
  35118. const _hoisted_4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", { class: "p-dropdown-filter-icon pi pi-search" }, null, -1);
  35119. const _hoisted_5 = { class: "p-dropdown-item-group" };
  35120. const _hoisted_6 = {
  35121. key: 2,
  35122. class: "p-dropdown-empty-message"
  35123. };
  35124. const _hoisted_7 = {
  35125. key: 3,
  35126. class: "p-dropdown-empty-message"
  35127. };
  35128. function render(_ctx, _cache, $props, $setup, $data, $options) {
  35129. const _component_VirtualScroller = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveComponent)("VirtualScroller");
  35130. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_5__.resolveDirective)("ripple");
  35131. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", {
  35132. ref: "container",
  35133. class: $options.containerClass,
  35134. onClick: _cache[12] || (_cache[12] = $event => ($options.onClick($event)))
  35135. }, [
  35136. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", _hoisted_1, [
  35137. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("input", {
  35138. ref: "focusInput",
  35139. type: "text",
  35140. id: $props.inputId,
  35141. readonly: "",
  35142. disabled: $props.disabled,
  35143. onFocus: _cache[1] || (_cache[1] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  35144. onBlur: _cache[2] || (_cache[2] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  35145. onKeydown: _cache[3] || (_cache[3] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
  35146. tabindex: $props.tabindex,
  35147. "aria-haspopup": "true",
  35148. "aria-expanded": $data.overlayVisible,
  35149. "aria-labelledby": $props.ariaLabelledBy
  35150. }, null, 40, ["id", "disabled", "tabindex", "aria-expanded", "aria-labelledby"])
  35151. ]),
  35152. ($props.editable)
  35153. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("input", {
  35154. key: 0,
  35155. type: "text",
  35156. class: "p-dropdown-label p-inputtext",
  35157. disabled: $props.disabled,
  35158. onFocus: _cache[4] || (_cache[4] = (...args) => ($options.onFocus && $options.onFocus(...args))),
  35159. onBlur: _cache[5] || (_cache[5] = (...args) => ($options.onBlur && $options.onBlur(...args))),
  35160. placeholder: $props.placeholder,
  35161. value: $options.editableInputValue,
  35162. onInput: _cache[6] || (_cache[6] = (...args) => ($options.onEditableInput && $options.onEditableInput(...args))),
  35163. "aria-haspopup": "listbox",
  35164. "aria-expanded": $data.overlayVisible
  35165. }, null, 40, ["disabled", "placeholder", "value", "aria-expanded"]))
  35166. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35167. (!$props.editable)
  35168. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("span", {
  35169. key: 1,
  35170. class: $options.labelClass
  35171. }, [
  35172. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "value", {
  35173. value: $props.modelValue,
  35174. placeholder: $props.placeholder
  35175. }, () => [
  35176. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.label||'empty'), 1)
  35177. ])
  35178. ], 2))
  35179. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35180. ($props.showClear && $props.modelValue != null)
  35181. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("i", {
  35182. key: 2,
  35183. class: "p-dropdown-clear-icon pi pi-times",
  35184. onClick: _cache[7] || (_cache[7] = $event => ($options.onClearClick($event)))
  35185. }))
  35186. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35187. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", {
  35188. class: "p-dropdown-trigger",
  35189. role: "button",
  35190. "aria-haspopup": "listbox",
  35191. "aria-expanded": $data.overlayVisible
  35192. }, [
  35193. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "indicator", {}, () => [
  35194. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("span", { class: $options.dropdownIconClass }, null, 2)
  35195. ])
  35196. ], 8, ["aria-expanded"]),
  35197. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Teleport, {
  35198. to: $options.appendTarget,
  35199. disabled: $options.appendDisabled
  35200. }, [
  35201. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_5__.Transition, {
  35202. name: "p-connected-overlay",
  35203. onEnter: $options.onOverlayEnter,
  35204. onAfterEnter: $options.onOverlayAfterEnter,
  35205. onLeave: $options.onOverlayLeave,
  35206. onAfterLeave: $options.onOverlayAfterLeave
  35207. }, {
  35208. default: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(() => [
  35209. ($data.overlayVisible)
  35210. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", {
  35211. key: 0,
  35212. ref: $options.overlayRef,
  35213. class: $options.panelStyleClass,
  35214. onClick: _cache[11] || (_cache[11] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
  35215. }, [
  35216. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "header", {
  35217. value: $props.modelValue,
  35218. options: $options.visibleOptions
  35219. }),
  35220. ($props.filter)
  35221. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("div", _hoisted_2, [
  35222. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", _hoisted_3, [
  35223. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("input", {
  35224. type: "text",
  35225. ref: "filterInput",
  35226. value: $data.filterValue,
  35227. onVnodeUpdated: _cache[8] || (_cache[8] = (...args) => ($options.onFilterUpdated && $options.onFilterUpdated(...args))),
  35228. autoComplete: "off",
  35229. class: "p-dropdown-filter p-inputtext p-component",
  35230. placeholder: $props.filterPlaceholder,
  35231. onKeydown: _cache[9] || (_cache[9] = (...args) => ($options.onFilterKeyDown && $options.onFilterKeyDown(...args))),
  35232. onInput: _cache[10] || (_cache[10] = (...args) => ($options.onFilterChange && $options.onFilterChange(...args)))
  35233. }, null, 40, ["value", "placeholder"]),
  35234. _hoisted_4
  35235. ])
  35236. ]))
  35237. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true),
  35238. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("div", {
  35239. ref: $options.itemsWrapperRef,
  35240. class: "p-dropdown-items-wrapper",
  35241. style: {'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : ''}
  35242. }, [
  35243. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)(_component_VirtualScroller, (0,vue__WEBPACK_IMPORTED_MODULE_5__.mergeProps)({ ref: $options.virtualScrollerRef }, $props.virtualScrollerOptions, {
  35244. items: $options.visibleOptions,
  35245. style: {'height': $props.scrollHeight},
  35246. disabled: $options.virtualScrollerDisabled
  35247. }), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createSlots)({
  35248. content: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ styleClass, contentRef, items, getItemOptions, contentStyle }) => [
  35249. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("ul", {
  35250. ref: contentRef,
  35251. class: ['p-dropdown-items', styleClass],
  35252. style: contentStyle,
  35253. role: "listbox"
  35254. }, [
  35255. (!$props.optionGroupLabel)
  35256. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (option, i) => {
  35257. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  35258. class: ['p-dropdown-item', {'p-highlight': $options.isSelected(option), 'p-disabled': $options.isOptionDisabled(option)}],
  35259. key: $options.getOptionRenderKey(option),
  35260. onClick: $event => ($options.onOptionSelect($event, option)),
  35261. role: "option",
  35262. "aria-label": $options.getOptionLabel(option),
  35263. "aria-selected": $options.isSelected(option)
  35264. }, [
  35265. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "option", {
  35266. option: option,
  35267. index: $options.getOptionIndex(i, getItemOptions)
  35268. }, () => [
  35269. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionLabel(option)), 1)
  35270. ])
  35271. ], 10, ["onClick", "aria-label", "aria-selected"])), [
  35272. [_directive_ripple]
  35273. ])
  35274. }), 128))
  35275. : ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, { key: 1 }, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)(items, (optionGroup, i) => {
  35276. return ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, {
  35277. key: $options.getOptionGroupRenderKey(optionGroup)
  35278. }, [
  35279. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createVNode)("li", _hoisted_5, [
  35280. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "optiongroup", {
  35281. option: optionGroup,
  35282. index: $options.getOptionIndex(i, getItemOptions)
  35283. }, () => [
  35284. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionGroupLabel(optionGroup)), 1)
  35285. ])
  35286. ]),
  35287. ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_5__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderList)($options.getOptionGroupChildren(optionGroup), (option, i) => {
  35288. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", {
  35289. class: ['p-dropdown-item', {'p-highlight': $options.isSelected(option), 'p-disabled': $options.isOptionDisabled(option)}],
  35290. key: $options.getOptionRenderKey(option),
  35291. onClick: $event => ($options.onOptionSelect($event, option)),
  35292. role: "option",
  35293. "aria-label": $options.getOptionLabel(option),
  35294. "aria-selected": $options.isSelected(option)
  35295. }, [
  35296. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "option", {
  35297. option: option,
  35298. index: $options.getOptionIndex(i, getItemOptions)
  35299. }, () => [
  35300. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.getOptionLabel(option)), 1)
  35301. ])
  35302. ], 10, ["onClick", "aria-label", "aria-selected"])), [
  35303. [_directive_ripple]
  35304. ])
  35305. }), 128))
  35306. ], 64))
  35307. }), 128)),
  35308. ($data.filterValue && (!items || (items && items.length === 0)))
  35309. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", _hoisted_6, [
  35310. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "emptyfilter", {}, () => [
  35311. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.emptyFilterMessageText), 1)
  35312. ])
  35313. ]))
  35314. : ((!$props.options || ($props.options && $props.options.length === 0)))
  35315. ? ((0,vue__WEBPACK_IMPORTED_MODULE_5__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_5__.createBlock)("li", _hoisted_7, [
  35316. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "empty", {}, () => [
  35317. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_5__.toDisplayString)($options.emptyMessageText), 1)
  35318. ])
  35319. ]))
  35320. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true)
  35321. ], 6)
  35322. ]),
  35323. _: 2
  35324. }, [
  35325. (_ctx.$slots.loader)
  35326. ? {
  35327. name: "loader",
  35328. fn: (0,vue__WEBPACK_IMPORTED_MODULE_5__.withCtx)(({ options }) => [
  35329. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "loader", { options: options })
  35330. ])
  35331. }
  35332. : undefined
  35333. ]), 1040, ["items", "style", "disabled"])
  35334. ], 4),
  35335. (0,vue__WEBPACK_IMPORTED_MODULE_5__.renderSlot)(_ctx.$slots, "footer", {
  35336. value: $props.modelValue,
  35337. options: $options.visibleOptions
  35338. })
  35339. ], 2))
  35340. : (0,vue__WEBPACK_IMPORTED_MODULE_5__.createCommentVNode)("", true)
  35341. ]),
  35342. _: 3
  35343. }, 8, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])
  35344. ], 8, ["to", "disabled"]))
  35345. ], 2))
  35346. }
  35347. function styleInject(css, ref) {
  35348. if ( ref === void 0 ) ref = {};
  35349. var insertAt = ref.insertAt;
  35350. if (!css || typeof document === 'undefined') { return; }
  35351. var head = document.head || document.getElementsByTagName('head')[0];
  35352. var style = document.createElement('style');
  35353. style.type = 'text/css';
  35354. if (insertAt === 'top') {
  35355. if (head.firstChild) {
  35356. head.insertBefore(style, head.firstChild);
  35357. } else {
  35358. head.appendChild(style);
  35359. }
  35360. } else {
  35361. head.appendChild(style);
  35362. }
  35363. if (style.styleSheet) {
  35364. style.styleSheet.cssText = css;
  35365. } else {
  35366. style.appendChild(document.createTextNode(css));
  35367. }
  35368. }
  35369. var css_248z = "\n.p-dropdown {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n cursor: pointer;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.p-dropdown-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-dropdown-trigger {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n.p-dropdown-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n}\n.p-dropdown-label-empty {\n overflow: hidden;\n visibility: hidden;\n}\ninput.p-dropdown-label {\n cursor: default;\n}\n.p-dropdown .p-dropdown-panel {\n min-width: 100%;\n}\n.p-dropdown-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-dropdown-items-wrapper {\n overflow: auto;\n}\n.p-dropdown-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n}\n.p-dropdown-item-group {\n cursor: auto;\n}\n.p-dropdown-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-dropdown-filter {\n width: 100%;\n}\n.p-dropdown-filter-container {\n position: relative;\n}\n.p-dropdown-filter-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n.p-fluid .p-dropdown {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n.p-fluid .p-dropdown .p-dropdown-label {\n width: 1%;\n}\n";
  35370. styleInject(css_248z);
  35371. script.render = render;
  35372. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  35373. /***/ }),
  35374. /***/ "./node_modules/primevue/inputnumber/inputnumber.esm.js":
  35375. /*!**************************************************************!*\
  35376. !*** ./node_modules/primevue/inputnumber/inputnumber.esm.js ***!
  35377. \**************************************************************/
  35378. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  35379. "use strict";
  35380. __webpack_require__.r(__webpack_exports__);
  35381. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  35382. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  35383. /* harmony export */ });
  35384. /* harmony import */ var primevue_inputtext__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/inputtext */ "./node_modules/primevue/inputtext/inputtext.esm.js");
  35385. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  35386. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  35387. var script = {
  35388. name: 'InputNumber',
  35389. inheritAttrs: false,
  35390. emits: ['update:modelValue', 'input', 'focus', 'blur'],
  35391. props: {
  35392. modelValue: {
  35393. type: Number,
  35394. default: null
  35395. },
  35396. format: {
  35397. type: Boolean,
  35398. default: true
  35399. },
  35400. showButtons: {
  35401. type: Boolean,
  35402. default: false
  35403. },
  35404. buttonLayout: {
  35405. type: String,
  35406. default: 'stacked'
  35407. },
  35408. incrementButtonClass: {
  35409. type: String,
  35410. default: null,
  35411. },
  35412. decrementButtonClass: {
  35413. type: String,
  35414. default: null,
  35415. },
  35416. incrementButtonIcon: {
  35417. type: String,
  35418. default: 'pi pi-angle-up',
  35419. },
  35420. decrementButtonIcon: {
  35421. type: String,
  35422. default: 'pi pi-angle-down',
  35423. },
  35424. locale: {
  35425. type: String,
  35426. default: undefined
  35427. },
  35428. localeMatcher: {
  35429. type: String,
  35430. default: undefined
  35431. },
  35432. mode: {
  35433. type: String,
  35434. default: 'decimal'
  35435. },
  35436. prefix: {
  35437. type: String,
  35438. default: null
  35439. },
  35440. suffix: {
  35441. type: String,
  35442. default: null
  35443. },
  35444. currency: {
  35445. type: String,
  35446. default: undefined
  35447. },
  35448. currencyDisplay: {
  35449. type: String,
  35450. default: undefined
  35451. },
  35452. useGrouping: {
  35453. type: Boolean,
  35454. default: true
  35455. },
  35456. minFractionDigits: {
  35457. type: Number,
  35458. default: undefined
  35459. },
  35460. maxFractionDigits: {
  35461. type: Number,
  35462. default: undefined
  35463. },
  35464. min: {
  35465. type: Number,
  35466. default: null
  35467. },
  35468. max: {
  35469. type: Number,
  35470. default: null
  35471. },
  35472. step: {
  35473. type: Number,
  35474. default: 1
  35475. },
  35476. allowEmpty: {
  35477. type: Boolean,
  35478. default: true
  35479. },
  35480. style: null,
  35481. class: null,
  35482. inputStyle: null,
  35483. inputClass: null
  35484. },
  35485. numberFormat: null,
  35486. _numeral: null,
  35487. _decimal: null,
  35488. _group: null,
  35489. _minusSign: null,
  35490. _currency: null,
  35491. _suffix: null,
  35492. _prefix: null,
  35493. _index: null,
  35494. groupChar: '',
  35495. isSpecialChar: null,
  35496. prefixChar: null,
  35497. suffixChar: null,
  35498. timer: null,
  35499. data() {
  35500. return {
  35501. d_modelValue: this.modelValue,
  35502. focused: false
  35503. }
  35504. },
  35505. watch: {
  35506. modelValue(newValue) {
  35507. this.d_modelValue = newValue;
  35508. },
  35509. locale(newValue, oldValue) {
  35510. this.updateConstructParser(newValue, oldValue);
  35511. },
  35512. localeMatcher(newValue, oldValue) {
  35513. this.updateConstructParser(newValue, oldValue);
  35514. },
  35515. mode(newValue, oldValue) {
  35516. this.updateConstructParser(newValue, oldValue);
  35517. },
  35518. currency(newValue, oldValue) {
  35519. this.updateConstructParser(newValue, oldValue);
  35520. },
  35521. currencyDisplay(newValue, oldValue) {
  35522. this.updateConstructParser(newValue, oldValue);
  35523. },
  35524. useGrouping(newValue, oldValue) {
  35525. this.updateConstructParser(newValue, oldValue);
  35526. },
  35527. minFractionDigits(newValue, oldValue) {
  35528. this.updateConstructParser(newValue, oldValue);
  35529. },
  35530. maxFractionDigits(newValue, oldValue) {
  35531. this.updateConstructParser(newValue, oldValue);
  35532. },
  35533. suffix(newValue, oldValue) {
  35534. this.updateConstructParser(newValue, oldValue);
  35535. },
  35536. prefix(newValue, oldValue) {
  35537. this.updateConstructParser(newValue, oldValue);
  35538. }
  35539. },
  35540. created() {
  35541. this.constructParser();
  35542. },
  35543. methods: {
  35544. getOptions() {
  35545. return {
  35546. localeMatcher: this.localeMatcher,
  35547. style: this.mode,
  35548. currency: this.currency,
  35549. currencyDisplay: this.currencyDisplay,
  35550. useGrouping: this.useGrouping,
  35551. minimumFractionDigits: this.minFractionDigits,
  35552. maximumFractionDigits: this.maxFractionDigits
  35553. };
  35554. },
  35555. constructParser() {
  35556. this.numberFormat = new Intl.NumberFormat(this.locale, this.getOptions());
  35557. const numerals = [...new Intl.NumberFormat(this.locale, {useGrouping: false}).format(9876543210)].reverse();
  35558. const index = new Map(numerals.map((d, i) => [d, i]));
  35559. this._numeral = new RegExp(`[${numerals.join('')}]`, 'g');
  35560. this._group = this.getGroupingExpression();
  35561. this._minusSign = this.getMinusSignExpression();
  35562. this._currency = this.getCurrencyExpression();
  35563. this._decimal = this.getDecimalExpression();
  35564. this._suffix = this.getSuffixExpression();
  35565. this._prefix = this.getPrefixExpression();
  35566. this._index = d => index.get(d);
  35567. },
  35568. updateConstructParser(newValue, oldValue) {
  35569. if (newValue !== oldValue) {
  35570. this.constructParser();
  35571. }
  35572. },
  35573. escapeRegExp(text) {
  35574. return text.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
  35575. },
  35576. getDecimalExpression() {
  35577. const formatter = new Intl.NumberFormat(this.locale, {...this.getOptions(), useGrouping: false});
  35578. return new RegExp(`[${formatter.format(1.1).replace(this._currency, '').trim().replace(this._numeral, '')}]`, 'g');
  35579. },
  35580. getGroupingExpression() {
  35581. const formatter = new Intl.NumberFormat(this.locale, {useGrouping: true});
  35582. this.groupChar = formatter.format(1000000).trim().replace(this._numeral, '').charAt(0);
  35583. return new RegExp(`[${this.groupChar}]`, 'g');
  35584. },
  35585. getMinusSignExpression() {
  35586. const formatter = new Intl.NumberFormat(this.locale, {useGrouping: false});
  35587. return new RegExp(`[${formatter.format(-1).trim().replace(this._numeral, '')}]`, 'g');
  35588. },
  35589. getCurrencyExpression() {
  35590. if (this.currency) {
  35591. const formatter = new Intl.NumberFormat(this.locale, {style: 'currency', currency: this.currency, currencyDisplay: this.currencyDisplay,
  35592. minimumFractionDigits: 0, maximumFractionDigits: 0});
  35593. return new RegExp(`[${formatter.format(1).replace(/\s/g, '').replace(this._numeral, '').replace(this._group, '')}]`, 'g');
  35594. }
  35595. return new RegExp(`[]`,'g');
  35596. },
  35597. getPrefixExpression() {
  35598. if (this.prefix) {
  35599. this.prefixChar = this.prefix;
  35600. }
  35601. else {
  35602. const formatter = new Intl.NumberFormat(this.locale, {style: this.mode, currency: this.currency, currencyDisplay: this.currencyDisplay});
  35603. this.prefixChar = formatter.format(1).split('1')[0];
  35604. }
  35605. return new RegExp(`${this.escapeRegExp(this.prefixChar||'')}`, 'g');
  35606. },
  35607. getSuffixExpression() {
  35608. if (this.suffix) {
  35609. this.suffixChar = this.suffix;
  35610. }
  35611. else {
  35612. const formatter = new Intl.NumberFormat(this.locale, {style: this.mode, currency: this.currency, currencyDisplay: this.currencyDisplay,
  35613. minimumFractionDigits: 0, maximumFractionDigits: 0});
  35614. this.suffixChar = formatter.format(1).split('1')[1];
  35615. }
  35616. return new RegExp(`${this.escapeRegExp(this.suffixChar||'')}`, 'g');
  35617. },
  35618. formatValue(value) {
  35619. if (value != null) {
  35620. if (value === '-') { // Minus sign
  35621. return value;
  35622. }
  35623. if (this.format) {
  35624. let formatter = new Intl.NumberFormat(this.locale, this.getOptions());
  35625. let formattedValue = formatter.format(value);
  35626. if (this.prefix) {
  35627. formattedValue = this.prefix + formattedValue;
  35628. }
  35629. if (this.suffix) {
  35630. formattedValue = formattedValue + this.suffix;
  35631. }
  35632. return formattedValue;
  35633. }
  35634. return value.toString();
  35635. }
  35636. return '';
  35637. },
  35638. parseValue(text) {
  35639. let filteredText = text
  35640. .replace(this._suffix, '')
  35641. .replace(this._prefix, '')
  35642. .trim()
  35643. .replace(/\s/g, '')
  35644. .replace(this._currency, '')
  35645. .replace(this._group, '')
  35646. .replace(this._minusSign, '-')
  35647. .replace(this._decimal, '.')
  35648. .replace(this._numeral, this._index);
  35649. if (filteredText) {
  35650. if (filteredText === '-') // Minus sign
  35651. return filteredText;
  35652. let parsedValue = +filteredText;
  35653. return isNaN(parsedValue) ? null : parsedValue;
  35654. }
  35655. return null;
  35656. },
  35657. repeat(event, interval, dir) {
  35658. let i = interval || 500;
  35659. this.clearTimer();
  35660. this.timer = setTimeout(() => {
  35661. this.repeat(event, 40, dir);
  35662. }, i);
  35663. this.spin(event, dir);
  35664. },
  35665. spin(event, dir) {
  35666. if (this.$refs.input) {
  35667. let step = this.step * dir;
  35668. let currentValue = this.parseValue(this.$refs.input.$el.value) || 0;
  35669. let newValue = this.validateValue(currentValue + step);
  35670. this.updateInput(newValue, null, 'spin');
  35671. this.updateModel(event, newValue);
  35672. this.handleOnInput(event, currentValue, newValue);
  35673. }
  35674. },
  35675. onUpButtonMouseDown(event) {
  35676. if (!this.$attrs.disabled) {
  35677. this.$refs.input.$el.focus();
  35678. this.repeat(event, null, 1);
  35679. event.preventDefault();
  35680. }
  35681. },
  35682. onUpButtonMouseUp() {
  35683. if (!this.$attrs.disabled) {
  35684. this.clearTimer();
  35685. }
  35686. },
  35687. onUpButtonMouseLeave() {
  35688. if (!this.$attrs.disabled) {
  35689. this.clearTimer();
  35690. }
  35691. },
  35692. onUpButtonKeyUp() {
  35693. if (!this.$attrs.disabled) {
  35694. this.clearTimer();
  35695. }
  35696. },
  35697. onUpButtonKeyDown(event) {
  35698. if (event.keyCode === 32 || event.keyCode === 13) {
  35699. this.repeat(event, null, 1);
  35700. }
  35701. },
  35702. onDownButtonMouseDown(event) {
  35703. if (!this.$attrs.disabled) {
  35704. this.$refs.input.$el.focus();
  35705. this.repeat(event, null, -1);
  35706. event.preventDefault();
  35707. }
  35708. },
  35709. onDownButtonMouseUp() {
  35710. if (!this.$attrs.disabled) {
  35711. this.clearTimer();
  35712. }
  35713. },
  35714. onDownButtonMouseLeave() {
  35715. if (!this.$attrs.disabled) {
  35716. this.clearTimer();
  35717. }
  35718. },
  35719. onDownButtonKeyUp() {
  35720. if (!this.$attrs.disabled) {
  35721. this.clearTimer();
  35722. }
  35723. },
  35724. onDownButtonKeyDown(event) {
  35725. if (event.keyCode === 32 || event.keyCode === 13) {
  35726. this.repeat(event, null, -1);
  35727. }
  35728. },
  35729. onUserInput() {
  35730. if (this.isSpecialChar) {
  35731. this.$refs.input.$el.value = this.lastValue;
  35732. }
  35733. this.isSpecialChar = false;
  35734. },
  35735. onInputKeyDown(event) {
  35736. this.lastValue = event.target.value;
  35737. if (event.shiftKey || event.altKey) {
  35738. this.isSpecialChar = true;
  35739. return;
  35740. }
  35741. let selectionStart = event.target.selectionStart;
  35742. let selectionEnd = event.target.selectionEnd;
  35743. let inputValue = event.target.value;
  35744. let newValueStr = null;
  35745. if (event.altKey) {
  35746. event.preventDefault();
  35747. }
  35748. switch (event.which) {
  35749. //up
  35750. case 38:
  35751. this.spin(event, 1);
  35752. event.preventDefault();
  35753. break;
  35754. //down
  35755. case 40:
  35756. this.spin(event, -1);
  35757. event.preventDefault();
  35758. break;
  35759. //left
  35760. case 37:
  35761. if (!this.isNumeralChar(inputValue.charAt(selectionStart - 1))) {
  35762. event.preventDefault();
  35763. }
  35764. break;
  35765. //right
  35766. case 39:
  35767. if (!this.isNumeralChar(inputValue.charAt(selectionStart))) {
  35768. event.preventDefault();
  35769. }
  35770. break;
  35771. //enter
  35772. case 13:
  35773. newValueStr = this.validateValue(this.parseValue(inputValue));
  35774. this.$refs.input.$el.value = this.formatValue(newValueStr);
  35775. this.$refs.input.$el.setAttribute('aria-valuenow', newValueStr);
  35776. this.updateModel(event, newValueStr);
  35777. break;
  35778. //backspace
  35779. case 8: {
  35780. event.preventDefault();
  35781. if (selectionStart === selectionEnd) {
  35782. const deleteChar = inputValue.charAt(selectionStart - 1);
  35783. const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
  35784. if (this.isNumeralChar(deleteChar)) {
  35785. const decimalLength = this.getDecimalLength(inputValue);
  35786. if (this._group.test(deleteChar)) {
  35787. this._group.lastIndex = 0;
  35788. newValueStr = inputValue.slice(0, selectionStart - 2) + inputValue.slice(selectionStart - 1);
  35789. }
  35790. else if (this._decimal.test(deleteChar)) {
  35791. this._decimal.lastIndex = 0;
  35792. if (decimalLength) {
  35793. this.$refs.input.$el.setSelectionRange(selectionStart - 1, selectionStart - 1);
  35794. }
  35795. else {
  35796. newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
  35797. }
  35798. }
  35799. else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
  35800. const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
  35801. newValueStr = inputValue.slice(0, selectionStart - 1) + insertedText + inputValue.slice(selectionStart);
  35802. }
  35803. else if (decimalCharIndexWithoutPrefix === 1) {
  35804. newValueStr = inputValue.slice(0, selectionStart - 1) + '0' + inputValue.slice(selectionStart);
  35805. newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
  35806. }
  35807. else {
  35808. newValueStr = inputValue.slice(0, selectionStart - 1) + inputValue.slice(selectionStart);
  35809. }
  35810. }
  35811. this.updateValue(event, newValueStr, null, 'delete-single');
  35812. }
  35813. else {
  35814. newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
  35815. this.updateValue(event, newValueStr, null, 'delete-range');
  35816. }
  35817. break;
  35818. }
  35819. // del
  35820. case 46:
  35821. event.preventDefault();
  35822. if (selectionStart === selectionEnd) {
  35823. const deleteChar = inputValue.charAt(selectionStart);
  35824. const { decimalCharIndex, decimalCharIndexWithoutPrefix } = this.getDecimalCharIndexes(inputValue);
  35825. if (this.isNumeralChar(deleteChar)) {
  35826. const decimalLength = this.getDecimalLength(inputValue);
  35827. if (this._group.test(deleteChar)) {
  35828. this._group.lastIndex = 0;
  35829. newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 2);
  35830. }
  35831. else if (this._decimal.test(deleteChar)) {
  35832. this._decimal.lastIndex = 0;
  35833. if (decimalLength) {
  35834. this.$refs.input.$el.setSelectionRange(selectionStart + 1, selectionStart + 1);
  35835. }
  35836. else {
  35837. newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
  35838. }
  35839. }
  35840. else if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
  35841. const insertedText = this.isDecimalMode() && (this.minFractionDigits || 0) < decimalLength ? '' : '0';
  35842. newValueStr = inputValue.slice(0, selectionStart) + insertedText + inputValue.slice(selectionStart + 1);
  35843. }
  35844. else if (decimalCharIndexWithoutPrefix === 1) {
  35845. newValueStr = inputValue.slice(0, selectionStart) + '0' + inputValue.slice(selectionStart + 1);
  35846. newValueStr = this.parseValue(newValueStr) > 0 ? newValueStr : '';
  35847. }
  35848. else {
  35849. newValueStr = inputValue.slice(0, selectionStart) + inputValue.slice(selectionStart + 1);
  35850. }
  35851. }
  35852. this.updateValue(event, newValueStr, null, 'delete-back-single');
  35853. }
  35854. else {
  35855. newValueStr = this.deleteRange(inputValue, selectionStart, selectionEnd);
  35856. this.updateValue(event, newValueStr, null, 'delete-range');
  35857. }
  35858. break;
  35859. }
  35860. },
  35861. onInputKeyPress(event) {
  35862. event.preventDefault();
  35863. let code = event.which || event.keyCode;
  35864. let char = String.fromCharCode(code);
  35865. const isDecimalSign = this.isDecimalSign(char);
  35866. const isMinusSign = this.isMinusSign(char);
  35867. if ((48 <= code && code <= 57) || isMinusSign || isDecimalSign) {
  35868. this.insert(event, char, { isDecimalSign, isMinusSign });
  35869. }
  35870. },
  35871. onPaste(event) {
  35872. event.preventDefault();
  35873. let data = (event.clipboardData || window['clipboardData']).getData('Text');
  35874. if (data) {
  35875. let filteredData = this.parseValue(data);
  35876. if (filteredData != null) {
  35877. this.insert(event, filteredData.toString());
  35878. }
  35879. }
  35880. },
  35881. allowMinusSign() {
  35882. return this.min === null || this.min < 0;
  35883. },
  35884. isMinusSign(char) {
  35885. if (this._minusSign.test(char) || char === '-') {
  35886. this._minusSign.lastIndex = 0;
  35887. return true;
  35888. }
  35889. return false;
  35890. },
  35891. isDecimalSign(char) {
  35892. if (this._decimal.test(char)) {
  35893. this._decimal.lastIndex = 0;
  35894. return true;
  35895. }
  35896. return false;
  35897. },
  35898. isDecimalMode() {
  35899. return this.mode === 'decimal';
  35900. },
  35901. getDecimalCharIndexes(val) {
  35902. let decimalCharIndex = val.search(this._decimal);
  35903. this._decimal.lastIndex = 0;
  35904. const filteredVal = val.replace(this._prefix, '').trim().replace(/\s/g, '').replace(this._currency, '');
  35905. const decimalCharIndexWithoutPrefix = filteredVal.search(this._decimal);
  35906. this._decimal.lastIndex = 0;
  35907. return { decimalCharIndex, decimalCharIndexWithoutPrefix };
  35908. },
  35909. getCharIndexes(val) {
  35910. const decimalCharIndex = val.search(this._decimal);
  35911. this._decimal.lastIndex = 0;
  35912. const minusCharIndex = val.search(this._minusSign);
  35913. this._minusSign.lastIndex = 0;
  35914. const suffixCharIndex = val.search(this._suffix);
  35915. this._suffix.lastIndex = 0;
  35916. const currencyCharIndex = val.search(this._currency);
  35917. this._currency.lastIndex = 0;
  35918. return { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex };
  35919. },
  35920. insert(event, text, sign = { isDecimalSign: false, isMinusSign: false }) {
  35921. const minusCharIndexOnText = text.search(this._minusSign);
  35922. this._minusSign.lastIndex = 0;
  35923. if (!this.allowMinusSign() && minusCharIndexOnText !== -1) {
  35924. return;
  35925. }
  35926. const selectionStart = this.$refs.input.$el.selectionStart;
  35927. const selectionEnd = this.$refs.input.$el.selectionEnd;
  35928. let inputValue = this.$refs.input.$el.value.trim();
  35929. const { decimalCharIndex, minusCharIndex, suffixCharIndex, currencyCharIndex } = this.getCharIndexes(inputValue);
  35930. let newValueStr;
  35931. if (sign.isMinusSign) {
  35932. if (selectionStart === 0) {
  35933. newValueStr = inputValue;
  35934. if (minusCharIndex === -1 || selectionEnd !== 0) {
  35935. newValueStr = this.insertText(inputValue, text, 0, selectionEnd);
  35936. }
  35937. this.updateValue(event, newValueStr, text, 'insert');
  35938. }
  35939. }
  35940. else if (sign.isDecimalSign) {
  35941. if (decimalCharIndex > 0 && selectionStart === decimalCharIndex) {
  35942. this.updateValue(event, inputValue, text, 'insert');
  35943. }
  35944. else if (decimalCharIndex > selectionStart && decimalCharIndex < selectionEnd) {
  35945. newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
  35946. this.updateValue(event, newValueStr, text, 'insert');
  35947. }
  35948. else if (decimalCharIndex === -1 && this.maxFractionDigits) {
  35949. newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
  35950. this.updateValue(event, newValueStr, text, 'insert');
  35951. }
  35952. }
  35953. else {
  35954. const maxFractionDigits = this.numberFormat.resolvedOptions().maximumFractionDigits;
  35955. const operation = selectionStart !== selectionEnd ? 'range-insert' : 'insert';
  35956. if (decimalCharIndex > 0 && selectionStart > decimalCharIndex) {
  35957. if ((selectionStart + text.length - (decimalCharIndex + 1)) <= maxFractionDigits) {
  35958. const charIndex = currencyCharIndex >= selectionStart ? currencyCharIndex - 1 : (suffixCharIndex >= selectionStart ? suffixCharIndex : inputValue.length);
  35959. newValueStr = inputValue.slice(0, selectionStart) + text + inputValue.slice(selectionStart + text.length, charIndex) + inputValue.slice(charIndex);
  35960. this.updateValue(event, newValueStr, text, operation);
  35961. }
  35962. }
  35963. else {
  35964. newValueStr = this.insertText(inputValue, text, selectionStart, selectionEnd);
  35965. this.updateValue(event, newValueStr, text, operation);
  35966. }
  35967. }
  35968. },
  35969. insertText(value, text, start, end) {
  35970. let textSplit = text === '.' ? text : text.split('.');
  35971. if (textSplit.length === 2) {
  35972. const decimalCharIndex = value.slice(start, end).search(this._decimal);
  35973. this._decimal.lastIndex = 0;
  35974. return (decimalCharIndex > 0) ? value.slice(0, start) + this.formatValue(text) + value.slice(end) : (value || this.formatValue(text));
  35975. }
  35976. else if ((end - start) === value.length) {
  35977. return this.formatValue(text);
  35978. }
  35979. else if (start === 0) {
  35980. return text + value.slice(end);
  35981. }
  35982. else if (end === value.length) {
  35983. return value.slice(0, start) + text;
  35984. }
  35985. else {
  35986. return value.slice(0, start) + text + value.slice(end);
  35987. }
  35988. },
  35989. deleteRange(value, start, end) {
  35990. let newValueStr;
  35991. if ((end - start) === value.length)
  35992. newValueStr = '';
  35993. else if (start === 0)
  35994. newValueStr = value.slice(end);
  35995. else if (end === value.length)
  35996. newValueStr = value.slice(0, start);
  35997. else
  35998. newValueStr = value.slice(0, start) + value.slice(end);
  35999. return newValueStr;
  36000. },
  36001. initCursor() {
  36002. let selectionStart = this.$refs.input.$el.selectionStart;
  36003. let inputValue = this.$refs.input.$el.value;
  36004. let valueLength = inputValue.length;
  36005. let index = null;
  36006. // remove prefix
  36007. let prefixLength = (this.prefixChar || '').length;
  36008. inputValue = inputValue.replace(this._prefix, '');
  36009. selectionStart = selectionStart - prefixLength;
  36010. let char = inputValue.charAt(selectionStart);
  36011. if (this.isNumeralChar(char)) {
  36012. return selectionStart + prefixLength;
  36013. }
  36014. //left
  36015. let i = selectionStart - 1;
  36016. while (i >= 0) {
  36017. char = inputValue.charAt(i);
  36018. if (this.isNumeralChar(char)) {
  36019. index = i + prefixLength;
  36020. break;
  36021. }
  36022. else {
  36023. i--;
  36024. }
  36025. }
  36026. if (index !== null) {
  36027. this.$refs.input.$el.setSelectionRange(index + 1, index + 1);
  36028. }
  36029. else {
  36030. i = selectionStart;
  36031. while (i < valueLength) {
  36032. char = inputValue.charAt(i);
  36033. if (this.isNumeralChar(char)) {
  36034. index = i + prefixLength;
  36035. break;
  36036. }
  36037. else {
  36038. i++;
  36039. }
  36040. }
  36041. if (index !== null) {
  36042. this.$refs.input.$el.setSelectionRange(index, index);
  36043. }
  36044. }
  36045. return index || 0;
  36046. },
  36047. onInputClick() {
  36048. this.initCursor();
  36049. },
  36050. isNumeralChar(char) {
  36051. if (char.length === 1 && (this._numeral.test(char) || this._decimal.test(char) || this._group.test(char) || this._minusSign.test(char))) {
  36052. this.resetRegex();
  36053. return true;
  36054. }
  36055. return false;
  36056. },
  36057. resetRegex() {
  36058. this._numeral.lastIndex = 0;
  36059. this._decimal.lastIndex = 0;
  36060. this._group.lastIndex = 0;
  36061. this._minusSign.lastIndex = 0;
  36062. },
  36063. updateValue(event, valueStr, insertedValueStr, operation) {
  36064. let currentValue = this.$refs.input.$el.value;
  36065. let newValue = null;
  36066. if (valueStr != null) {
  36067. newValue = this.parseValue(valueStr);
  36068. newValue = !newValue && !this.allowEmpty ? 0 : newValue;
  36069. this.updateInput(newValue, insertedValueStr, operation, valueStr);
  36070. this.handleOnInput(event, currentValue, newValue);
  36071. }
  36072. },
  36073. handleOnInput(event, currentValue, newValue) {
  36074. if (this.isValueChanged(currentValue, newValue)) {
  36075. this.$emit('input', { originalEvent: event, value: newValue });
  36076. }
  36077. },
  36078. isValueChanged(currentValue, newValue) {
  36079. if (newValue === null && currentValue !== null) {
  36080. return true;
  36081. }
  36082. if (newValue != null) {
  36083. let parsedCurrentValue = (typeof currentValue === 'string') ? this.parseValue(currentValue) : currentValue;
  36084. return newValue !== parsedCurrentValue;
  36085. }
  36086. return false;
  36087. },
  36088. validateValue(value) {
  36089. if (value === '-' || value == null) {
  36090. return null;
  36091. }
  36092. if (this.min != null && value < this.min) {
  36093. return this.min;
  36094. }
  36095. if (this.max != null && value > this.max) {
  36096. return this.max;
  36097. }
  36098. return value;
  36099. },
  36100. updateInput(value, insertedValueStr, operation, valueStr) {
  36101. insertedValueStr = insertedValueStr || '';
  36102. let inputValue = this.$refs.input.$el.value;
  36103. let newValue = this.formatValue(value);
  36104. let currentLength = inputValue.length;
  36105. if (newValue !== valueStr) {
  36106. newValue = this.concatValues(newValue, valueStr);
  36107. }
  36108. if (currentLength === 0) {
  36109. this.$refs.input.$el.value = newValue;
  36110. this.$refs.input.$el.setSelectionRange(0, 0);
  36111. const index = this.initCursor();
  36112. const selectionEnd = index + insertedValueStr.length;
  36113. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36114. }
  36115. else {
  36116. let selectionStart = this.$refs.input.$el.selectionStart;
  36117. let selectionEnd = this.$refs.input.$el.selectionEnd;
  36118. this.$refs.input.$el.value = newValue;
  36119. let newLength = newValue.length;
  36120. if (operation === 'range-insert') {
  36121. const startValue = this.parseValue((inputValue || '').slice(0, selectionStart));
  36122. const startValueStr = startValue !== null ? startValue.toString() : '';
  36123. const startExpr = startValueStr.split('').join(`(${this.groupChar})?`);
  36124. const sRegex = new RegExp(startExpr, 'g');
  36125. sRegex.test(newValue);
  36126. const tExpr = insertedValueStr.split('').join(`(${this.groupChar})?`);
  36127. const tRegex = new RegExp(tExpr, 'g');
  36128. tRegex.test(newValue.slice(sRegex.lastIndex));
  36129. selectionEnd = sRegex.lastIndex + tRegex.lastIndex;
  36130. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36131. }
  36132. else if (newLength === currentLength) {
  36133. if (operation === 'insert' || operation === 'delete-back-single')
  36134. this.$refs.input.$el.setSelectionRange(selectionEnd + 1, selectionEnd + 1);
  36135. else if (operation === 'delete-single')
  36136. this.$refs.input.$el.setSelectionRange(selectionEnd - 1, selectionEnd - 1);
  36137. else if (operation === 'delete-range' || operation === 'spin')
  36138. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36139. }
  36140. else if (operation === 'delete-back-single') {
  36141. let prevChar = inputValue.charAt(selectionEnd - 1);
  36142. let nextChar = inputValue.charAt(selectionEnd);
  36143. let diff = currentLength - newLength;
  36144. let isGroupChar = this._group.test(nextChar);
  36145. if (isGroupChar && diff === 1) {
  36146. selectionEnd += 1;
  36147. }
  36148. else if (!isGroupChar && this.isNumeralChar(prevChar)) {
  36149. selectionEnd += (-1 * diff) + 1;
  36150. }
  36151. this._group.lastIndex = 0;
  36152. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36153. }
  36154. else if (inputValue === '-' && operation === 'insert') {
  36155. this.$refs.input.$el.setSelectionRange(0, 0);
  36156. const index = this.initCursor();
  36157. const selectionEnd = index + insertedValueStr.length + 1;
  36158. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36159. }
  36160. else {
  36161. selectionEnd = selectionEnd + (newLength - currentLength);
  36162. this.$refs.input.$el.setSelectionRange(selectionEnd, selectionEnd);
  36163. }
  36164. }
  36165. this.$refs.input.$el.setAttribute('aria-valuenow', value);
  36166. },
  36167. concatValues(val1, val2) {
  36168. if (val1 && val2) {
  36169. let decimalCharIndex = val2.search(this._decimal);
  36170. this._decimal.lastIndex = 0;
  36171. return decimalCharIndex !== -1 ? (val1.split(this._decimal)[0] + val2.slice(decimalCharIndex)) : val1;
  36172. }
  36173. return val1;
  36174. },
  36175. getDecimalLength(value) {
  36176. if (value) {
  36177. const valueSplit = value.split(this._decimal);
  36178. if (valueSplit.length === 2) {
  36179. return valueSplit[1].replace(this._suffix, '')
  36180. .trim()
  36181. .replace(/\s/g, '')
  36182. .replace(this._currency, '').length;
  36183. }
  36184. }
  36185. return 0;
  36186. },
  36187. updateModel(event, value) {
  36188. this.d_modelValue = value;
  36189. this.$emit('update:modelValue', value);
  36190. },
  36191. onInputFocus(event) {
  36192. this.focused = true;
  36193. this.$emit('focus', event);
  36194. },
  36195. onInputBlur(event) {
  36196. this.focused = false;
  36197. let input = event.target;
  36198. let newValue = this.validateValue(this.parseValue(input.value));
  36199. this.$emit('blur', { originalEvent: event, value: input.value});
  36200. input.value = this.formatValue(newValue);
  36201. input.setAttribute('aria-valuenow', newValue);
  36202. this.updateModel(event, newValue);
  36203. },
  36204. clearTimer() {
  36205. if (this.timer) {
  36206. clearInterval(this.timer);
  36207. }
  36208. },
  36209. maxBoundry() {
  36210. return this.d_modelValue >= this.max;
  36211. },
  36212. minBoundry() {
  36213. return this.d_modelValue <= this.min;
  36214. },
  36215. },
  36216. computed: {
  36217. containerClass() {
  36218. return ['p-inputnumber p-component p-inputwrapper', this.class, {
  36219. 'p-inputwrapper-filled': this.filled,
  36220. 'p-inputwrapper-focus': this.focused,
  36221. 'p-inputnumber-buttons-stacked': this.showButtons && this.buttonLayout === 'stacked',
  36222. 'p-inputnumber-buttons-horizontal': this.showButtons && this.buttonLayout === 'horizontal',
  36223. 'p-inputnumber-buttons-vertical': this.showButtons && this.buttonLayout === 'vertical'
  36224. }];
  36225. },
  36226. upButtonClass() {
  36227. return ['p-inputnumber-button p-inputnumber-button-up', this.incrementButtonClass, {
  36228. 'p-disabled': this.showButtons && this.max !== null && this.maxBoundry()
  36229. }];
  36230. },
  36231. downButtonClass() {
  36232. return ['p-inputnumber-button p-inputnumber-button-down', this.decrementButtonClass, {
  36233. 'p-disabled': this.showButtons && this.min !== null && this.minBoundry()
  36234. }];
  36235. },
  36236. filled() {
  36237. return (this.modelValue != null && this.modelValue.toString().length > 0)
  36238. },
  36239. upButtonListeners() {
  36240. return {
  36241. mousedown: event => this.onUpButtonMouseDown(event),
  36242. mouseup: event => this.onUpButtonMouseUp(event),
  36243. mouseleave: event => this.onUpButtonMouseLeave(event),
  36244. keydown: event => this.onUpButtonKeyDown(event),
  36245. keyup: event => this.onUpButtonKeyUp(event)
  36246. }
  36247. },
  36248. downButtonListeners() {
  36249. return {
  36250. mousedown: event => this.onDownButtonMouseDown(event),
  36251. mouseup: event => this.onDownButtonMouseUp(event),
  36252. mouseleave: event => this.onDownButtonMouseLeave(event),
  36253. keydown: event => this.onDownButtonKeyDown(event),
  36254. keyup: event => this.onDownButtonKeyUp(event)
  36255. }
  36256. },
  36257. formattedValue() {
  36258. const val = !this.modelValue && !this.allowEmpty ? 0 : this.modelValue;
  36259. return this.formatValue(val);
  36260. },
  36261. getFormatter() {
  36262. return this.numberFormat;
  36263. }
  36264. },
  36265. components: {
  36266. 'INInputText': primevue_inputtext__WEBPACK_IMPORTED_MODULE_0__["default"],
  36267. 'INButton': primevue_button__WEBPACK_IMPORTED_MODULE_1__["default"]
  36268. }
  36269. };
  36270. const _hoisted_1 = {
  36271. key: 0,
  36272. class: "p-inputnumber-button-group"
  36273. };
  36274. function render(_ctx, _cache, $props, $setup, $data, $options) {
  36275. const _component_INInputText = (0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveComponent)("INInputText");
  36276. const _component_INButton = (0,vue__WEBPACK_IMPORTED_MODULE_2__.resolveComponent)("INButton");
  36277. return ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("span", {
  36278. class: $options.containerClass,
  36279. style: $props.style
  36280. }, [
  36281. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(_component_INInputText, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36282. ref: "input",
  36283. class: ['p-inputnumber-input', $props.inputClass],
  36284. style: $props.inputStyle,
  36285. value: $options.formattedValue
  36286. }, _ctx.$attrs, {
  36287. "aria-valumin": $props.min,
  36288. "aria-valuemax": $props.max,
  36289. onInput: $options.onUserInput,
  36290. onKeydown: $options.onInputKeyDown,
  36291. onKeypress: $options.onInputKeyPress,
  36292. onPaste: $options.onPaste,
  36293. onClick: $options.onInputClick,
  36294. onFocus: $options.onInputFocus,
  36295. onBlur: $options.onInputBlur
  36296. }), null, 16, ["class", "style", "value", "aria-valumin", "aria-valuemax", "onInput", "onKeydown", "onKeypress", "onPaste", "onClick", "onFocus", "onBlur"]),
  36297. ($props.showButtons && $props.buttonLayout === 'stacked')
  36298. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)("span", _hoisted_1, [
  36299. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36300. class: $options.upButtonClass,
  36301. icon: $props.incrementButtonIcon
  36302. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.upButtonListeners), {
  36303. disabled: _ctx.$attrs.disabled
  36304. }), null, 16, ["class", "icon", "disabled"]),
  36305. (0,vue__WEBPACK_IMPORTED_MODULE_2__.createVNode)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36306. class: $options.downButtonClass,
  36307. icon: $props.decrementButtonIcon
  36308. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.downButtonListeners), {
  36309. disabled: _ctx.$attrs.disabled
  36310. }), null, 16, ["class", "icon", "disabled"])
  36311. ]))
  36312. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  36313. ($props.showButtons && $props.buttonLayout !== 'stacked')
  36314. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36315. key: 1,
  36316. class: $options.upButtonClass,
  36317. icon: $props.incrementButtonIcon
  36318. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.upButtonListeners), {
  36319. disabled: _ctx.$attrs.disabled
  36320. }), null, 16, ["class", "icon", "disabled"]))
  36321. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true),
  36322. ($props.showButtons && $props.buttonLayout !== 'stacked')
  36323. ? ((0,vue__WEBPACK_IMPORTED_MODULE_2__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_2__.createBlock)(_component_INButton, (0,vue__WEBPACK_IMPORTED_MODULE_2__.mergeProps)({
  36324. key: 2,
  36325. class: $options.downButtonClass,
  36326. icon: $props.decrementButtonIcon
  36327. }, (0,vue__WEBPACK_IMPORTED_MODULE_2__.toHandlers)($options.downButtonListeners), {
  36328. disabled: _ctx.$attrs.disabled
  36329. }), null, 16, ["class", "icon", "disabled"]))
  36330. : (0,vue__WEBPACK_IMPORTED_MODULE_2__.createCommentVNode)("", true)
  36331. ], 6))
  36332. }
  36333. function styleInject(css, ref) {
  36334. if ( ref === void 0 ) ref = {};
  36335. var insertAt = ref.insertAt;
  36336. if (!css || typeof document === 'undefined') { return; }
  36337. var head = document.head || document.getElementsByTagName('head')[0];
  36338. var style = document.createElement('style');
  36339. style.type = 'text/css';
  36340. if (insertAt === 'top') {
  36341. if (head.firstChild) {
  36342. head.insertBefore(style, head.firstChild);
  36343. } else {
  36344. head.appendChild(style);
  36345. }
  36346. } else {
  36347. head.appendChild(style);
  36348. }
  36349. if (style.styleSheet) {
  36350. style.styleSheet.cssText = css;
  36351. } else {
  36352. style.appendChild(document.createTextNode(css));
  36353. }
  36354. }
  36355. var css_248z = "\n.p-inputnumber {\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-inputnumber-button {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -webkit-box-flex: 0;\n -ms-flex: 0 0 auto;\n flex: 0 0 auto;\n}\n.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button .p-button-label,\n.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button .p-button-label {\n display: none;\n}\n.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-up {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n padding: 0;\n}\n.p-inputnumber-buttons-stacked .p-inputnumber-input {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-inputnumber-buttons-stacked .p-button.p-inputnumber-button-down {\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n border-bottom-left-radius: 0;\n padding: 0;\n}\n.p-inputnumber-buttons-stacked .p-inputnumber-button-group {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-inputnumber-buttons-stacked .p-inputnumber-button-group .p-button.p-inputnumber-button {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-up {\n -webkit-box-ordinal-group: 4;\n -ms-flex-order: 3;\n order: 3;\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n.p-inputnumber-buttons-horizontal .p-inputnumber-input {\n -webkit-box-ordinal-group: 3;\n -ms-flex-order: 2;\n order: 2;\n border-radius: 0;\n}\n.p-inputnumber-buttons-horizontal .p-button.p-inputnumber-button-down {\n -webkit-box-ordinal-group: 2;\n -ms-flex-order: 1;\n order: 1;\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n.p-inputnumber-buttons-vertical {\n -webkit-box-orient: vertical;\n -webkit-box-direction: normal;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-up {\n -webkit-box-ordinal-group: 2;\n -ms-flex-order: 1;\n order: 1;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n width: 100%;\n}\n.p-inputnumber-buttons-vertical .p-inputnumber-input {\n -webkit-box-ordinal-group: 3;\n -ms-flex-order: 2;\n order: 2;\n border-radius: 0;\n text-align: center;\n}\n.p-inputnumber-buttons-vertical .p-button.p-inputnumber-button-down {\n -webkit-box-ordinal-group: 4;\n -ms-flex-order: 3;\n order: 3;\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n width: 100%;\n}\n.p-inputnumber-input {\n -webkit-box-flex: 1;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n}\n.p-fluid .p-inputnumber {\n width: 100%;\n}\n.p-fluid .p-inputnumber .p-inputnumber-input {\n width: 1%;\n}\n.p-fluid .p-inputnumber-buttons-vertical .p-inputnumber-input {\n width: 100%;\n}\n";
  36356. styleInject(css_248z);
  36357. script.render = render;
  36358. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  36359. /***/ }),
  36360. /***/ "./node_modules/primevue/inputtext/inputtext.esm.js":
  36361. /*!**********************************************************!*\
  36362. !*** ./node_modules/primevue/inputtext/inputtext.esm.js ***!
  36363. \**********************************************************/
  36364. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36365. "use strict";
  36366. __webpack_require__.r(__webpack_exports__);
  36367. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36368. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36369. /* harmony export */ });
  36370. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  36371. var script = {
  36372. name: 'InputText',
  36373. emits: ['update:modelValue'],
  36374. props: {
  36375. modelValue: null
  36376. },
  36377. methods: {
  36378. onInput(event) {
  36379. this.$emit('update:modelValue', event.target.value);
  36380. }
  36381. },
  36382. computed: {
  36383. filled() {
  36384. return (this.modelValue != null && this.modelValue.toString().length > 0)
  36385. }
  36386. }
  36387. };
  36388. function render(_ctx, _cache, $props, $setup, $data, $options) {
  36389. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("input", (0,vue__WEBPACK_IMPORTED_MODULE_0__.mergeProps)({
  36390. class: ['p-inputtext p-component', {'p-filled': $options.filled}],
  36391. value: $props.modelValue,
  36392. onInput: _cache[1] || (_cache[1] = (...args) => ($options.onInput && $options.onInput(...args)))
  36393. }, _ctx.$attrs), null, 16, ["value"]))
  36394. }
  36395. script.render = render;
  36396. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  36397. /***/ }),
  36398. /***/ "./node_modules/primevue/message/message.esm.js":
  36399. /*!******************************************************!*\
  36400. !*** ./node_modules/primevue/message/message.esm.js ***!
  36401. \******************************************************/
  36402. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36403. "use strict";
  36404. __webpack_require__.r(__webpack_exports__);
  36405. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36406. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36407. /* harmony export */ });
  36408. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  36409. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  36410. var script = {
  36411. name: 'Message',
  36412. emits: ['close'],
  36413. props: {
  36414. severity: {
  36415. type: String,
  36416. default: 'info'
  36417. },
  36418. closable: {
  36419. type: Boolean,
  36420. default: true
  36421. },
  36422. sticky: {
  36423. type: Boolean,
  36424. default: true
  36425. },
  36426. life: {
  36427. type: Number,
  36428. default: 3000
  36429. },
  36430. icon: {
  36431. type: String,
  36432. default: null
  36433. },
  36434. },
  36435. timeout: null,
  36436. data() {
  36437. return {
  36438. visible: true
  36439. }
  36440. },
  36441. mounted() {
  36442. if (!this.sticky) {
  36443. setTimeout(() => {
  36444. this.visible = false;
  36445. }, this.life);
  36446. }
  36447. },
  36448. methods: {
  36449. close(event) {
  36450. this.visible = false;
  36451. this.$emit('close', event);
  36452. }
  36453. },
  36454. computed: {
  36455. containerClass() {
  36456. return 'p-message p-component p-message-' + this.severity;
  36457. },
  36458. iconClass() {
  36459. return ['p-message-icon pi', this.icon ? this.icon : {
  36460. 'pi-info-circle': this.severity === 'info',
  36461. 'pi-check': this.severity === 'success',
  36462. 'pi-exclamation-triangle': this.severity === 'warn',
  36463. 'pi-times-circle': this.severity === 'error'
  36464. }];
  36465. }
  36466. },
  36467. directives: {
  36468. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_0__["default"]
  36469. }
  36470. };
  36471. const _hoisted_1 = { class: "p-message-wrapper" };
  36472. const _hoisted_2 = { class: "p-message-text" };
  36473. const _hoisted_3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("i", { class: "p-message-close-icon pi pi-times" }, null, -1);
  36474. function render(_ctx, _cache, $props, $setup, $data, $options) {
  36475. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_1__.resolveDirective)("ripple");
  36476. return ((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_1__.Transition, {
  36477. name: "p-message",
  36478. appear: ""
  36479. }, {
  36480. default: (0,vue__WEBPACK_IMPORTED_MODULE_1__.withCtx)(() => [
  36481. (0,vue__WEBPACK_IMPORTED_MODULE_1__.withDirectives)((0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("div", {
  36482. class: $options.containerClass,
  36483. role: "alert"
  36484. }, [
  36485. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("div", _hoisted_1, [
  36486. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("span", { class: $options.iconClass }, null, 2),
  36487. (0,vue__WEBPACK_IMPORTED_MODULE_1__.createVNode)("div", _hoisted_2, [
  36488. (0,vue__WEBPACK_IMPORTED_MODULE_1__.renderSlot)(_ctx.$slots, "default")
  36489. ]),
  36490. ($props.closable)
  36491. ? (0,vue__WEBPACK_IMPORTED_MODULE_1__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_1__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_1__.createBlock)("button", {
  36492. key: 0,
  36493. class: "p-message-close p-link",
  36494. onClick: _cache[1] || (_cache[1] = $event => ($options.close($event))),
  36495. type: "button"
  36496. }, [
  36497. _hoisted_3
  36498. ], 512)), [
  36499. [_directive_ripple]
  36500. ])
  36501. : (0,vue__WEBPACK_IMPORTED_MODULE_1__.createCommentVNode)("", true)
  36502. ])
  36503. ], 2), [
  36504. [vue__WEBPACK_IMPORTED_MODULE_1__.vShow, $data.visible]
  36505. ])
  36506. ]),
  36507. _: 3
  36508. }))
  36509. }
  36510. function styleInject(css, ref) {
  36511. if ( ref === void 0 ) ref = {};
  36512. var insertAt = ref.insertAt;
  36513. if (!css || typeof document === 'undefined') { return; }
  36514. var head = document.head || document.getElementsByTagName('head')[0];
  36515. var style = document.createElement('style');
  36516. style.type = 'text/css';
  36517. if (insertAt === 'top') {
  36518. if (head.firstChild) {
  36519. head.insertBefore(style, head.firstChild);
  36520. } else {
  36521. head.appendChild(style);
  36522. }
  36523. } else {
  36524. head.appendChild(style);
  36525. }
  36526. if (style.styleSheet) {
  36527. style.styleSheet.cssText = css;
  36528. } else {
  36529. style.appendChild(document.createTextNode(css));
  36530. }
  36531. }
  36532. var css_248z = "\n.p-message-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-message-close {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-message-close.p-link {\n margin-left: auto;\n overflow: hidden;\n position: relative;\n}\n.p-message-enter-from {\n opacity: 0;\n}\n.p-message-enter-active {\n -webkit-transition: opacity .3s;\n transition: opacity .3s;\n}\n.p-message.p-message-leave-from {\n max-height: 1000px;\n}\n.p-message.p-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin: 0 !important;\n}\n.p-message-leave-active {\n overflow: hidden;\n -webkit-transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n}\n.p-message-leave-active .p-message-close {\n display: none;\n}\n";
  36533. styleInject(css_248z);
  36534. script.render = render;
  36535. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  36536. /***/ }),
  36537. /***/ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js":
  36538. /*!**********************************************************************!*\
  36539. !*** ./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js ***!
  36540. \**********************************************************************/
  36541. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36542. "use strict";
  36543. __webpack_require__.r(__webpack_exports__);
  36544. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36545. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36546. /* harmony export */ });
  36547. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  36548. var OverlayEventBus = (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.EventBus)();
  36549. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (OverlayEventBus);
  36550. /***/ }),
  36551. /***/ "./node_modules/primevue/paginator/paginator.esm.js":
  36552. /*!**********************************************************!*\
  36553. !*** ./node_modules/primevue/paginator/paginator.esm.js ***!
  36554. \**********************************************************/
  36555. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  36556. "use strict";
  36557. __webpack_require__.r(__webpack_exports__);
  36558. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  36559. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  36560. /* harmony export */ });
  36561. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  36562. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  36563. /* harmony import */ var primevue_dropdown__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/dropdown */ "./node_modules/primevue/dropdown/dropdown.esm.js");
  36564. /* harmony import */ var primevue_inputnumber__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primevue/inputnumber */ "./node_modules/primevue/inputnumber/inputnumber.esm.js");
  36565. var script$9 = {
  36566. name: 'CurrentPageReport',
  36567. inheritAttrs: false,
  36568. props: {
  36569. pageCount: {
  36570. type: Number,
  36571. default: 0
  36572. },
  36573. currentPage: {
  36574. type: Number,
  36575. default: 0
  36576. },
  36577. page: {
  36578. type: Number,
  36579. default: 0
  36580. },
  36581. first: {
  36582. type: Number,
  36583. default: 0
  36584. },
  36585. rows: {
  36586. type: Number,
  36587. default: 0
  36588. },
  36589. totalRecords: {
  36590. type: Number,
  36591. default: 0
  36592. },
  36593. template: {
  36594. type: String,
  36595. default: '({currentPage} of {totalPages})'
  36596. }
  36597. },
  36598. computed: {
  36599. text() {
  36600. let text = this.template
  36601. .replace("{currentPage}", this.currentPage)
  36602. .replace("{totalPages}", this.pageCount)
  36603. .replace("{first}", this.pageCount > 0 ? this.first + 1 : 0)
  36604. .replace("{last}", Math.min(this.first + this.rows, this.totalRecords))
  36605. .replace("{rows}", this.rows)
  36606. .replace("{totalRecords}", this.totalRecords);
  36607. return text;
  36608. }
  36609. }
  36610. };
  36611. const _hoisted_1$6 = { class: "p-paginator-current" };
  36612. function render$9(_ctx, _cache, $props, $setup, $data, $options) {
  36613. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("span", _hoisted_1$6, (0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)($options.text), 1))
  36614. }
  36615. script$9.render = render$9;
  36616. var script$8 = {
  36617. name: 'FirstPageLink',
  36618. computed: {
  36619. containerClass() {
  36620. return ['p-paginator-first p-paginator-element p-link', {
  36621. 'p-disabled': this.$attrs.disabled
  36622. }];
  36623. }
  36624. },
  36625. directives: {
  36626. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36627. }
  36628. };
  36629. const _hoisted_1$5 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-double-left" }, null, -1);
  36630. function render$8(_ctx, _cache, $props, $setup, $data, $options) {
  36631. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36632. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36633. class: $options.containerClass,
  36634. type: "button"
  36635. }, [
  36636. _hoisted_1$5
  36637. ], 2)), [
  36638. [_directive_ripple]
  36639. ])
  36640. }
  36641. script$8.render = render$8;
  36642. var script$7 = {
  36643. name: 'LastPageLink',
  36644. computed: {
  36645. containerClass() {
  36646. return ['p-paginator-last p-paginator-element p-link', {
  36647. 'p-disabled': this.$attrs.disabled
  36648. }];
  36649. }
  36650. },
  36651. directives: {
  36652. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36653. }
  36654. };
  36655. const _hoisted_1$4 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-double-right" }, null, -1);
  36656. function render$7(_ctx, _cache, $props, $setup, $data, $options) {
  36657. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36658. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36659. class: $options.containerClass,
  36660. type: "button"
  36661. }, [
  36662. _hoisted_1$4
  36663. ], 2)), [
  36664. [_directive_ripple]
  36665. ])
  36666. }
  36667. script$7.render = render$7;
  36668. var script$6 = {
  36669. name: 'NextPageLink',
  36670. computed: {
  36671. containerClass() {
  36672. return ['p-paginator-next p-paginator-element p-link', {
  36673. 'p-disabled': this.$attrs.disabled
  36674. }];
  36675. }
  36676. },
  36677. directives: {
  36678. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36679. }
  36680. };
  36681. const _hoisted_1$3 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-right" }, null, -1);
  36682. function render$6(_ctx, _cache, $props, $setup, $data, $options) {
  36683. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36684. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36685. class: $options.containerClass,
  36686. type: "button"
  36687. }, [
  36688. _hoisted_1$3
  36689. ], 2)), [
  36690. [_directive_ripple]
  36691. ])
  36692. }
  36693. script$6.render = render$6;
  36694. var script$5 = {
  36695. name: 'PageLinks',
  36696. inheritAttrs: false,
  36697. emits: ['click'],
  36698. props: {
  36699. value: Array,
  36700. page: Number
  36701. },
  36702. methods: {
  36703. onPageLinkClick(event, pageLink) {
  36704. this.$emit('click', {
  36705. originalEvent: event,
  36706. value: pageLink
  36707. });
  36708. }
  36709. },
  36710. directives: {
  36711. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36712. }
  36713. };
  36714. const _hoisted_1$2 = { class: "p-paginator-pages" };
  36715. function render$5(_ctx, _cache, $props, $setup, $data, $options) {
  36716. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36717. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("span", _hoisted_1$2, [
  36718. ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($props.value, (pageLink) => {
  36719. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36720. key: pageLink,
  36721. class: ['p-paginator-page p-paginator-element p-link', {'p-highlight': ((pageLink - 1) === $props.page)}],
  36722. type: "button",
  36723. onClick: $event => ($options.onPageLinkClick($event, pageLink))
  36724. }, [
  36725. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createTextVNode)((0,vue__WEBPACK_IMPORTED_MODULE_0__.toDisplayString)(pageLink), 1)
  36726. ], 10, ["onClick"])), [
  36727. [_directive_ripple]
  36728. ])
  36729. }), 128))
  36730. ]))
  36731. }
  36732. script$5.render = render$5;
  36733. var script$4 = {
  36734. name: 'PrevPageLink',
  36735. computed: {
  36736. containerClass() {
  36737. return ['p-paginator-prev p-paginator-element p-link', {
  36738. 'p-disabled': this.$attrs.disabled
  36739. }];
  36740. }
  36741. },
  36742. directives: {
  36743. 'ripple': primevue_ripple__WEBPACK_IMPORTED_MODULE_1__["default"]
  36744. }
  36745. };
  36746. const _hoisted_1$1 = /*#__PURE__*/(0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("span", { class: "p-paginator-icon pi pi-angle-left" }, null, -1);
  36747. function render$4(_ctx, _cache, $props, $setup, $data, $options) {
  36748. const _directive_ripple = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveDirective)("ripple");
  36749. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.withDirectives)(((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("button", {
  36750. class: $options.containerClass,
  36751. type: "button"
  36752. }, [
  36753. _hoisted_1$1
  36754. ], 2)), [
  36755. [_directive_ripple]
  36756. ])
  36757. }
  36758. script$4.render = render$4;
  36759. var script$3 = {
  36760. name: 'RowsPerPageDropdown',
  36761. inheritAttrs: false,
  36762. emits: ['rows-change'],
  36763. props: {
  36764. options: Array,
  36765. rows: Number,
  36766. disabled: Boolean
  36767. },
  36768. methods: {
  36769. onChange(value) {
  36770. this.$emit('rows-change', value);
  36771. }
  36772. },
  36773. computed: {
  36774. rowsOptions() {
  36775. let opts = [];
  36776. if (this.options) {
  36777. for(let i= 0; i < this.options.length; i++) {
  36778. opts.push({label: String(this.options[i]), value: this.options[i]});
  36779. }
  36780. }
  36781. return opts;
  36782. }
  36783. },
  36784. components: {
  36785. 'RPPDropdown': primevue_dropdown__WEBPACK_IMPORTED_MODULE_2__["default"]
  36786. }
  36787. };
  36788. function render$3(_ctx, _cache, $props, $setup, $data, $options) {
  36789. const _component_RPPDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("RPPDropdown");
  36790. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_RPPDropdown, {
  36791. modelValue: $props.rows,
  36792. options: $options.rowsOptions,
  36793. optionLabel: "label",
  36794. optionValue: "value",
  36795. "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ($options.onChange($event))),
  36796. class: "p-paginator-rpp-options",
  36797. disabled: $props.disabled
  36798. }, null, 8, ["modelValue", "options", "disabled"]))
  36799. }
  36800. script$3.render = render$3;
  36801. var script$2 = {
  36802. name: 'JumpToPageDropdown',
  36803. inheritAttrs: false,
  36804. emits: ['page-change'],
  36805. props: {
  36806. page: Number,
  36807. pageCount: Number,
  36808. disabled: Boolean
  36809. },
  36810. methods: {
  36811. onChange(value) {
  36812. this.$emit('page-change', value);
  36813. }
  36814. },
  36815. computed: {
  36816. pageOptions() {
  36817. let opts = [];
  36818. for(let i= 0; i < this.pageCount; i++) {
  36819. opts.push({label: String(i+1), value: i});
  36820. }
  36821. return opts;
  36822. }
  36823. },
  36824. components: {
  36825. 'JTPDropdown': primevue_dropdown__WEBPACK_IMPORTED_MODULE_2__["default"]
  36826. }
  36827. };
  36828. function render$2(_ctx, _cache, $props, $setup, $data, $options) {
  36829. const _component_JTPDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JTPDropdown");
  36830. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JTPDropdown, {
  36831. modelValue: $props.page,
  36832. options: $options.pageOptions,
  36833. optionLabel: "label",
  36834. optionValue: "value",
  36835. "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ($options.onChange($event))),
  36836. class: "p-paginator-page-options",
  36837. disabled: $props.disabled
  36838. }, null, 8, ["modelValue", "options", "disabled"]))
  36839. }
  36840. script$2.render = render$2;
  36841. var script$1 = {
  36842. name: 'JumpToPageInput',
  36843. inheritAttrs: false,
  36844. emits: ['page-change'],
  36845. props: {
  36846. page: Number,
  36847. pageCount: Number,
  36848. disabled: Boolean
  36849. },
  36850. methods: {
  36851. onChange(value) {
  36852. this.$emit('page-change', value - 1);
  36853. }
  36854. },
  36855. components: {
  36856. 'JTPInput': primevue_inputnumber__WEBPACK_IMPORTED_MODULE_3__["default"]
  36857. }
  36858. };
  36859. function render$1(_ctx, _cache, $props, $setup, $data, $options) {
  36860. const _component_JTPInput = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JTPInput");
  36861. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JTPInput, {
  36862. modelValue: $props.page,
  36863. "onUpdate:modelValue": _cache[1] || (_cache[1] = $event => ($options.onChange($event))),
  36864. class: "p-paginator-page-input",
  36865. disabled: $props.disabled
  36866. }, null, 8, ["modelValue", "disabled"]))
  36867. }
  36868. script$1.render = render$1;
  36869. var script = {
  36870. name: 'Paginator',
  36871. emits: ['update:first', 'update:rows', 'page'],
  36872. props: {
  36873. totalRecords: {
  36874. type: Number,
  36875. default: 0
  36876. },
  36877. rows: {
  36878. type: Number,
  36879. default: 0
  36880. },
  36881. first: {
  36882. type: Number,
  36883. default: 0
  36884. },
  36885. pageLinkSize: {
  36886. type: Number,
  36887. default: 5
  36888. },
  36889. rowsPerPageOptions: {
  36890. type: Array,
  36891. default: null
  36892. },
  36893. template: {
  36894. type: String,
  36895. default: 'FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown'
  36896. },
  36897. currentPageReportTemplate: {
  36898. type: null,
  36899. default: '({currentPage} of {totalPages})'
  36900. },
  36901. alwaysShow: {
  36902. type: Boolean,
  36903. default: true
  36904. }
  36905. },
  36906. data() {
  36907. return {
  36908. d_first: this.first,
  36909. d_rows: this.rows
  36910. }
  36911. },
  36912. watch: {
  36913. first(newValue) {
  36914. this.d_first = newValue;
  36915. },
  36916. rows(newValue) {
  36917. this.d_rows = newValue;
  36918. },
  36919. totalRecords(newValue) {
  36920. if (this.page > 0 && newValue && (this.d_first >= newValue)) {
  36921. this.changePage(this.pageCount - 1);
  36922. }
  36923. }
  36924. },
  36925. methods: {
  36926. changePage(p) {
  36927. const pc = this.pageCount;
  36928. if (p >= 0 && p < pc) {
  36929. this.d_first = this.d_rows * p;
  36930. const state = {
  36931. page: p,
  36932. first: this.d_first,
  36933. rows: this.d_rows,
  36934. pageCount: pc
  36935. };
  36936. this.$emit('update:first', this.d_first);
  36937. this.$emit('update:rows', this.d_rows);
  36938. this.$emit('page', state);
  36939. }
  36940. },
  36941. changePageToFirst(event) {
  36942. if(!this.isFirstPage) {
  36943. this.changePage(0);
  36944. }
  36945. event.preventDefault();
  36946. },
  36947. changePageToPrev(event) {
  36948. this.changePage(this.page - 1);
  36949. event.preventDefault();
  36950. },
  36951. changePageLink(event) {
  36952. this.changePage(event.value - 1);
  36953. event.originalEvent.preventDefault();
  36954. },
  36955. changePageToNext(event) {
  36956. this.changePage(this.page + 1);
  36957. event.preventDefault();
  36958. },
  36959. changePageToLast(event) {
  36960. if(!this.isLastPage) {
  36961. this.changePage(this.pageCount - 1);
  36962. }
  36963. event.preventDefault();
  36964. },
  36965. onRowChange(value) {
  36966. this.d_rows = value;
  36967. this.changePage(this.page);
  36968. }
  36969. },
  36970. computed: {
  36971. templateItems() {
  36972. let keys = [];
  36973. this.template.split(' ').map((value) => {
  36974. keys.push(value.trim());
  36975. });
  36976. return keys;
  36977. },
  36978. page() {
  36979. return Math.floor(this.d_first / this.d_rows);
  36980. },
  36981. pageCount() {
  36982. return Math.ceil(this.totalRecords / this.d_rows);
  36983. },
  36984. isFirstPage() {
  36985. return this.page === 0;
  36986. },
  36987. isLastPage() {
  36988. return this.page === this.pageCount - 1;
  36989. },
  36990. calculatePageLinkBoundaries() {
  36991. const numberOfPages = this.pageCount;
  36992. const visiblePages = Math.min(this.pageLinkSize, numberOfPages);
  36993. //calculate range, keep current in middle if necessary
  36994. let start = Math.max(0, Math.ceil(this.page - ((visiblePages) / 2)));
  36995. let end = Math.min(numberOfPages - 1, start + visiblePages - 1);
  36996. //check when approaching to last page
  36997. const delta = this.pageLinkSize - (end - start + 1);
  36998. start = Math.max(0, start - delta);
  36999. return [start, end];
  37000. },
  37001. pageLinks() {
  37002. let pageLinks = [];
  37003. let boundaries = this.calculatePageLinkBoundaries;
  37004. let start = boundaries[0];
  37005. let end = boundaries[1];
  37006. for(var i = start; i <= end; i++) {
  37007. pageLinks.push(i + 1);
  37008. }
  37009. return pageLinks;
  37010. },
  37011. currentState() {
  37012. return {
  37013. page: this.page,
  37014. first: this.d_first,
  37015. rows: this.d_rows
  37016. }
  37017. },
  37018. empty() {
  37019. return this.pageCount === 0;
  37020. },
  37021. currentPage() {
  37022. return this.pageCount > 0 ? this.page + 1 : 0;
  37023. }
  37024. },
  37025. components: {
  37026. 'CurrentPageReport': script$9,
  37027. 'FirstPageLink': script$8,
  37028. 'LastPageLink': script$7,
  37029. 'NextPageLink': script$6,
  37030. 'PageLinks': script$5,
  37031. 'PrevPageLink': script$4,
  37032. 'RowsPerPageDropdown': script$3,
  37033. 'JumpToPageDropdown': script$2,
  37034. 'JumpToPageInput': script$1
  37035. }
  37036. };
  37037. const _hoisted_1 = {
  37038. key: 0,
  37039. class: "p-paginator p-component"
  37040. };
  37041. const _hoisted_2 = {
  37042. key: 0,
  37043. class: "p-paginator-left-content"
  37044. };
  37045. const _hoisted_3 = {
  37046. key: 1,
  37047. class: "p-paginator-right-content"
  37048. };
  37049. function render(_ctx, _cache, $props, $setup, $data, $options) {
  37050. const _component_FirstPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("FirstPageLink");
  37051. const _component_PrevPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("PrevPageLink");
  37052. const _component_NextPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("NextPageLink");
  37053. const _component_LastPageLink = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("LastPageLink");
  37054. const _component_PageLinks = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("PageLinks");
  37055. const _component_CurrentPageReport = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("CurrentPageReport");
  37056. const _component_RowsPerPageDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("RowsPerPageDropdown");
  37057. const _component_JumpToPageDropdown = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JumpToPageDropdown");
  37058. const _component_JumpToPageInput = (0,vue__WEBPACK_IMPORTED_MODULE_0__.resolveComponent)("JumpToPageInput");
  37059. return ($props.alwaysShow ? true : ($options.pageLinks && $options.pageLinks.length > 1))
  37060. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_1, [
  37061. (_ctx.$slots.start)
  37062. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_2, [
  37063. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "start", { state: $options.currentState })
  37064. ]))
  37065. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  37066. ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($options.templateItems, (item) => {
  37067. return ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: item }, [
  37068. (item === 'FirstPageLink')
  37069. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_FirstPageLink, {
  37070. key: 0,
  37071. onClick: _cache[1] || (_cache[1] = $event => ($options.changePageToFirst($event))),
  37072. disabled: $options.isFirstPage || $options.empty
  37073. }, null, 8, ["disabled"]))
  37074. : (item === 'PrevPageLink')
  37075. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_PrevPageLink, {
  37076. key: 1,
  37077. onClick: _cache[2] || (_cache[2] = $event => ($options.changePageToPrev($event))),
  37078. disabled: $options.isFirstPage || $options.empty
  37079. }, null, 8, ["disabled"]))
  37080. : (item === 'NextPageLink')
  37081. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_NextPageLink, {
  37082. key: 2,
  37083. onClick: _cache[3] || (_cache[3] = $event => ($options.changePageToNext($event))),
  37084. disabled: $options.isLastPage || $options.empty
  37085. }, null, 8, ["disabled"]))
  37086. : (item === 'LastPageLink')
  37087. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_LastPageLink, {
  37088. key: 3,
  37089. onClick: _cache[4] || (_cache[4] = $event => ($options.changePageToLast($event))),
  37090. disabled: $options.isLastPage || $options.empty
  37091. }, null, 8, ["disabled"]))
  37092. : (item === 'PageLinks')
  37093. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_PageLinks, {
  37094. key: 4,
  37095. value: $options.pageLinks,
  37096. page: $options.page,
  37097. onClick: _cache[5] || (_cache[5] = $event => ($options.changePageLink($event)))
  37098. }, null, 8, ["value", "page"]))
  37099. : (item === 'CurrentPageReport')
  37100. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_CurrentPageReport, {
  37101. key: 5,
  37102. template: $props.currentPageReportTemplate,
  37103. currentPage: $options.currentPage,
  37104. page: $options.page,
  37105. pageCount: $options.pageCount,
  37106. first: $data.d_first,
  37107. rows: $data.d_rows,
  37108. totalRecords: $props.totalRecords
  37109. }, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords"]))
  37110. : (item === 'RowsPerPageDropdown' && $props.rowsPerPageOptions)
  37111. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_RowsPerPageDropdown, {
  37112. key: 6,
  37113. rows: $data.d_rows,
  37114. options: $props.rowsPerPageOptions,
  37115. onRowsChange: _cache[6] || (_cache[6] = $event => ($options.onRowChange($event))),
  37116. disabled: $options.empty
  37117. }, null, 8, ["rows", "options", "disabled"]))
  37118. : (item === 'JumpToPageDropdown')
  37119. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JumpToPageDropdown, {
  37120. key: 7,
  37121. page: $options.page,
  37122. pageCount: $options.pageCount,
  37123. onPageChange: _cache[7] || (_cache[7] = $event => ($options.changePage($event))),
  37124. disabled: $options.empty
  37125. }, null, 8, ["page", "pageCount", "disabled"]))
  37126. : (item === 'JumpToPageInput')
  37127. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(_component_JumpToPageInput, {
  37128. key: 8,
  37129. page: $options.currentPage,
  37130. onPageChange: _cache[8] || (_cache[8] = $event => ($options.changePage($event))),
  37131. disabled: $options.empty
  37132. }, null, 8, ["page", "disabled"]))
  37133. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  37134. ], 64))
  37135. }), 128)),
  37136. (_ctx.$slots.end)
  37137. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", _hoisted_3, [
  37138. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "end", { state: $options.currentState })
  37139. ]))
  37140. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  37141. ]))
  37142. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  37143. }
  37144. function styleInject(css, ref) {
  37145. if ( ref === void 0 ) ref = {};
  37146. var insertAt = ref.insertAt;
  37147. if (!css || typeof document === 'undefined') { return; }
  37148. var head = document.head || document.getElementsByTagName('head')[0];
  37149. var style = document.createElement('style');
  37150. style.type = 'text/css';
  37151. if (insertAt === 'top') {
  37152. if (head.firstChild) {
  37153. head.insertBefore(style, head.firstChild);
  37154. } else {
  37155. head.appendChild(style);
  37156. }
  37157. } else {
  37158. head.appendChild(style);
  37159. }
  37160. if (style.styleSheet) {
  37161. style.styleSheet.cssText = css;
  37162. } else {
  37163. style.appendChild(document.createTextNode(css));
  37164. }
  37165. }
  37166. var css_248z = "\n.p-paginator {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n}\n.p-paginator-left-content {\n\tmargin-right: auto;\n}\n.p-paginator-right-content {\n\tmargin-left: auto;\n}\n.p-paginator-page,\n.p-paginator-next,\n.p-paginator-last,\n.p-paginator-first,\n.p-paginator-prev,\n.p-paginator-current {\n cursor: pointer;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n line-height: 1;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n overflow: hidden;\n position: relative;\n}\n.p-paginator-element:focus {\n z-index: 1;\n position: relative;\n}\n";
  37167. styleInject(css_248z);
  37168. script.render = render;
  37169. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  37170. /***/ }),
  37171. /***/ "./node_modules/primevue/password/password.esm.js":
  37172. /*!********************************************************!*\
  37173. !*** ./node_modules/primevue/password/password.esm.js ***!
  37174. \********************************************************/
  37175. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37176. "use strict";
  37177. __webpack_require__.r(__webpack_exports__);
  37178. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37179. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37180. /* harmony export */ });
  37181. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37182. /* harmony import */ var primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/overlayeventbus */ "./node_modules/primevue/overlayeventbus/overlayeventbus.esm.js");
  37183. /* harmony import */ var primevue_inputtext__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primevue/inputtext */ "./node_modules/primevue/inputtext/inputtext.esm.js");
  37184. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  37185. var script = {
  37186. name: 'Password',
  37187. emits: ['update:modelValue'],
  37188. inheritAttrs: false,
  37189. props: {
  37190. modelValue: String,
  37191. promptLabel: {
  37192. type: String,
  37193. default: null
  37194. },
  37195. mediumRegex: {
  37196. type: String,
  37197. default: '^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})' // eslint-disable-line
  37198. },
  37199. strongRegex: {
  37200. type: String,
  37201. default: '^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})' // eslint-disable-line
  37202. },
  37203. weakLabel: {
  37204. type: String,
  37205. default: null
  37206. },
  37207. mediumLabel: {
  37208. type: String,
  37209. default: null
  37210. },
  37211. strongLabel: {
  37212. type: String,
  37213. default: null
  37214. },
  37215. feedback: {
  37216. type: Boolean,
  37217. default: true
  37218. },
  37219. appendTo: {
  37220. type: String,
  37221. default: 'body'
  37222. },
  37223. toggleMask: {
  37224. type: Boolean,
  37225. default: false
  37226. },
  37227. hideIcon: {
  37228. type: String,
  37229. default: 'pi pi-eye-slash'
  37230. },
  37231. showIcon: {
  37232. type: String,
  37233. default: 'pi pi-eye'
  37234. },
  37235. inputClass: String,
  37236. inputStyle: null,
  37237. style: null,
  37238. class: String,
  37239. panelClass: String
  37240. },
  37241. data() {
  37242. return {
  37243. overlayVisible: false,
  37244. meter: null,
  37245. infoText: null,
  37246. focused: false,
  37247. unmasked: false
  37248. };
  37249. },
  37250. mediumCheckRegExp: null,
  37251. strongCheckRegExp: null,
  37252. resizeListener: null,
  37253. scrollHandler: null,
  37254. overlay: null,
  37255. mounted() {
  37256. this.infoText = this.promptText;
  37257. this.mediumCheckRegExp = new RegExp(this.mediumRegex);
  37258. this.strongCheckRegExp = new RegExp(this.strongRegex);
  37259. },
  37260. beforeUnmount() {
  37261. this.unbindResizeListener();
  37262. if (this.scrollHandler) {
  37263. this.scrollHandler.destroy();
  37264. this.scrollHandler = null;
  37265. }
  37266. if (this.overlay) {
  37267. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(this.overlay);
  37268. this.overlay = null;
  37269. }
  37270. },
  37271. methods: {
  37272. onOverlayEnter(el) {
  37273. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('overlay', el, this.$primevue.config.zIndex.overlay);
  37274. this.alignOverlay();
  37275. this.bindScrollListener();
  37276. this.bindResizeListener();
  37277. },
  37278. onOverlayLeave() {
  37279. this.unbindScrollListener();
  37280. this.unbindResizeListener();
  37281. this.overlay = null;
  37282. },
  37283. onOverlayAfterLeave(el) {
  37284. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  37285. },
  37286. alignOverlay() {
  37287. if (this.appendDisabled) {
  37288. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.relativePosition(this.overlay, this.$refs.input.$el);
  37289. }
  37290. else {
  37291. this.overlay.style.minWidth = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(this.$refs.input.$el) + 'px';
  37292. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.absolutePosition(this.overlay, this.$refs.input.$el);
  37293. }
  37294. },
  37295. testStrength(str) {
  37296. let level = 0;
  37297. if (this.strongCheckRegExp.test(str))
  37298. level = 3;
  37299. else if (this.mediumCheckRegExp.test(str))
  37300. level = 2;
  37301. else if (str.length)
  37302. level = 1;
  37303. return level;
  37304. },
  37305. onInput(event) {
  37306. this.$emit('update:modelValue', event.target.value);
  37307. },
  37308. onFocus() {
  37309. this.focused = true;
  37310. if (this.feedback) {
  37311. this.overlayVisible = true;
  37312. }
  37313. },
  37314. onBlur() {
  37315. this.focused = false;
  37316. if (this.feedback) {
  37317. this.overlayVisible = false;
  37318. }
  37319. },
  37320. onKeyUp(event) {
  37321. if (this.feedback) {
  37322. const value = event.target.value;
  37323. let label = null;
  37324. let meter = null;
  37325. switch (this.testStrength(value)) {
  37326. case 1:
  37327. label = this.weakText;
  37328. meter = {
  37329. strength: 'weak',
  37330. width: '33.33%'
  37331. };
  37332. break;
  37333. case 2:
  37334. label = this.mediumText;
  37335. meter = {
  37336. strength: 'medium',
  37337. width: '66.66%'
  37338. };
  37339. break;
  37340. case 3:
  37341. label = this.strongText;
  37342. meter = {
  37343. strength: 'strong',
  37344. width: '100%'
  37345. };
  37346. break;
  37347. default:
  37348. label = this.promptText;
  37349. meter = null;
  37350. break;
  37351. }
  37352. this.meter = meter;
  37353. this.infoText = label;
  37354. if (!this.overlayVisible) {
  37355. this.overlayVisible = true;
  37356. }
  37357. }
  37358. },
  37359. bindScrollListener() {
  37360. if (!this.scrollHandler) {
  37361. this.scrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(this.$refs.input.$el, () => {
  37362. if (this.overlayVisible) {
  37363. this.overlayVisible = false;
  37364. }
  37365. });
  37366. }
  37367. this.scrollHandler.bindScrollListener();
  37368. },
  37369. unbindScrollListener() {
  37370. if (this.scrollHandler) {
  37371. this.scrollHandler.unbindScrollListener();
  37372. }
  37373. },
  37374. bindResizeListener() {
  37375. if (!this.resizeListener) {
  37376. this.resizeListener = () => {
  37377. if (this.overlayVisible) {
  37378. this.overlayVisible = false;
  37379. }
  37380. };
  37381. window.addEventListener('resize', this.resizeListener);
  37382. }
  37383. },
  37384. unbindResizeListener() {
  37385. if (this.resizeListener) {
  37386. window.removeEventListener('resize', this.resizeListener);
  37387. this.resizeListener = null;
  37388. }
  37389. },
  37390. overlayRef(el) {
  37391. this.overlay = el;
  37392. },
  37393. onMaskToggle() {
  37394. this.unmasked = !this.unmasked;
  37395. },
  37396. onOverlayClick(event) {
  37397. primevue_overlayeventbus__WEBPACK_IMPORTED_MODULE_1__["default"].emit('overlay-click', {
  37398. originalEvent: event,
  37399. target: this.$el
  37400. });
  37401. }
  37402. },
  37403. computed: {
  37404. containerClass() {
  37405. return ['p-password p-component p-inputwrapper', this.class, {
  37406. 'p-inputwrapper-filled': this.filled,
  37407. 'p-inputwrapper-focus': this.focused,
  37408. 'p-input-icon-right': this.toggleMask
  37409. }];
  37410. },
  37411. inputFieldClass() {
  37412. return ['p-password-input', this.inputClass, {
  37413. 'p-disabled': this.$attrs.disabled
  37414. }];
  37415. },
  37416. panelStyleClass() {
  37417. return ['p-password-panel p-component', this.panelClass, {
  37418. 'p-input-filled': this.$primevue.config.inputStyle === 'filled',
  37419. 'p-ripple-disabled': this.$primevue.config.ripple === false
  37420. }];
  37421. },
  37422. toggleIconClass() {
  37423. return this.unmasked ? this.hideIcon : this.showIcon;
  37424. },
  37425. strengthClass() {
  37426. return `p-password-strength ${this.meter ? this.meter.strength : ''}`;
  37427. },
  37428. inputType() {
  37429. return this.unmasked ? 'text' : 'password';
  37430. },
  37431. filled() {
  37432. return (this.modelValue != null && this.modelValue.toString().length > 0)
  37433. },
  37434. weakText() {
  37435. return this.weakLabel || this.$primevue.config.locale.weak;
  37436. },
  37437. mediumText() {
  37438. return this.mediumLabel || this.$primevue.config.locale.medium;
  37439. },
  37440. strongText() {
  37441. return this.strongLabel || this.$primevue.config.locale.strong;
  37442. },
  37443. promptText() {
  37444. return this.promptLabel || this.$primevue.config.locale.passwordPrompt;
  37445. },
  37446. appendDisabled() {
  37447. return this.appendTo === 'self';
  37448. },
  37449. appendTarget() {
  37450. return this.appendDisabled ? null : this.appendTo;
  37451. }
  37452. },
  37453. components: {
  37454. 'PInputText': primevue_inputtext__WEBPACK_IMPORTED_MODULE_2__["default"]
  37455. }
  37456. };
  37457. const _hoisted_1 = { class: "p-password-meter" };
  37458. const _hoisted_2 = { class: "p-password-info" };
  37459. function render(_ctx, _cache, $props, $setup, $data, $options) {
  37460. const _component_PInputText = (0,vue__WEBPACK_IMPORTED_MODULE_3__.resolveComponent)("PInputText");
  37461. return ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)("div", {
  37462. class: $options.containerClass,
  37463. style: $props.style
  37464. }, [
  37465. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)(_component_PInputText, (0,vue__WEBPACK_IMPORTED_MODULE_3__.mergeProps)({
  37466. ref: "input",
  37467. class: $options.inputFieldClass,
  37468. style: $props.inputStyle,
  37469. type: $options.inputType,
  37470. value: $props.modelValue,
  37471. onInput: $options.onInput,
  37472. onFocus: $options.onFocus,
  37473. onBlur: $options.onBlur,
  37474. onKeyup: $options.onKeyUp
  37475. }, _ctx.$attrs), null, 16, ["class", "style", "type", "value", "onInput", "onFocus", "onBlur", "onKeyup"]),
  37476. ($props.toggleMask)
  37477. ? ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)("i", {
  37478. key: 0,
  37479. class: $options.toggleIconClass,
  37480. onClick: _cache[1] || (_cache[1] = (...args) => ($options.onMaskToggle && $options.onMaskToggle(...args)))
  37481. }, null, 2))
  37482. : (0,vue__WEBPACK_IMPORTED_MODULE_3__.createCommentVNode)("", true),
  37483. ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_3__.Teleport, {
  37484. to: $options.appendTarget,
  37485. disabled: $options.appendDisabled
  37486. }, [
  37487. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)(vue__WEBPACK_IMPORTED_MODULE_3__.Transition, {
  37488. name: "p-connected-overlay",
  37489. onEnter: $options.onOverlayEnter,
  37490. onLeave: $options.onOverlayLeave,
  37491. onAfterLeave: $options.onOverlayAfterLeave
  37492. }, {
  37493. default: (0,vue__WEBPACK_IMPORTED_MODULE_3__.withCtx)(() => [
  37494. ($data.overlayVisible)
  37495. ? ((0,vue__WEBPACK_IMPORTED_MODULE_3__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_3__.createBlock)("div", {
  37496. key: 0,
  37497. ref: $options.overlayRef,
  37498. class: $options.panelStyleClass,
  37499. onClick: _cache[2] || (_cache[2] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
  37500. }, [
  37501. (0,vue__WEBPACK_IMPORTED_MODULE_3__.renderSlot)(_ctx.$slots, "header"),
  37502. (0,vue__WEBPACK_IMPORTED_MODULE_3__.renderSlot)(_ctx.$slots, "content", {}, () => [
  37503. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)("div", _hoisted_1, [
  37504. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)("div", {
  37505. class: $options.strengthClass,
  37506. style: {'width': $data.meter ? $data.meter.width : ''}
  37507. }, null, 6)
  37508. ]),
  37509. (0,vue__WEBPACK_IMPORTED_MODULE_3__.createVNode)("div", _hoisted_2, (0,vue__WEBPACK_IMPORTED_MODULE_3__.toDisplayString)($data.infoText), 1)
  37510. ]),
  37511. (0,vue__WEBPACK_IMPORTED_MODULE_3__.renderSlot)(_ctx.$slots, "footer")
  37512. ], 2))
  37513. : (0,vue__WEBPACK_IMPORTED_MODULE_3__.createCommentVNode)("", true)
  37514. ]),
  37515. _: 3
  37516. }, 8, ["onEnter", "onLeave", "onAfterLeave"])
  37517. ], 8, ["to", "disabled"]))
  37518. ], 6))
  37519. }
  37520. function styleInject(css, ref) {
  37521. if ( ref === void 0 ) ref = {};
  37522. var insertAt = ref.insertAt;
  37523. if (!css || typeof document === 'undefined') { return; }
  37524. var head = document.head || document.getElementsByTagName('head')[0];
  37525. var style = document.createElement('style');
  37526. style.type = 'text/css';
  37527. if (insertAt === 'top') {
  37528. if (head.firstChild) {
  37529. head.insertBefore(style, head.firstChild);
  37530. } else {
  37531. head.appendChild(style);
  37532. }
  37533. } else {
  37534. head.appendChild(style);
  37535. }
  37536. if (style.styleSheet) {
  37537. style.styleSheet.cssText = css;
  37538. } else {
  37539. style.appendChild(document.createTextNode(css));
  37540. }
  37541. }
  37542. var css_248z = "\n.p-password {\n position: relative;\n display: -webkit-inline-box;\n display: -ms-inline-flexbox;\n display: inline-flex;\n}\n.p-password-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-password .p-password-panel {\n min-width: 100%;\n}\n.p-password-meter {\n height: 10px;\n}\n.p-password-strength {\n height: 100%;\n width: 0;\n -webkit-transition: width 1s ease-in-out;\n transition: width 1s ease-in-out;\n}\n.p-fluid .p-password {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n}\n";
  37543. styleInject(css_248z);
  37544. script.render = render;
  37545. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  37546. /***/ }),
  37547. /***/ "./node_modules/primevue/ripple/ripple.esm.js":
  37548. /*!****************************************************!*\
  37549. !*** ./node_modules/primevue/ripple/ripple.esm.js ***!
  37550. \****************************************************/
  37551. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37552. "use strict";
  37553. __webpack_require__.r(__webpack_exports__);
  37554. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37555. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37556. /* harmony export */ });
  37557. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37558. function bindEvents(el) {
  37559. el.addEventListener('mousedown', onMouseDown);
  37560. }
  37561. function unbindEvents(el) {
  37562. el.removeEventListener('mousedown', onMouseDown);
  37563. }
  37564. function create(el) {
  37565. let ink = document.createElement('span');
  37566. ink.className = 'p-ink';
  37567. el.appendChild(ink);
  37568. ink.addEventListener('animationend', onAnimationEnd);
  37569. }
  37570. function remove(el) {
  37571. let ink = getInk(el);
  37572. if (ink) {
  37573. unbindEvents(el);
  37574. ink.removeEventListener('animationend', onAnimationEnd);
  37575. ink.remove();
  37576. }
  37577. }
  37578. function onMouseDown(event) {
  37579. let target = event.currentTarget;
  37580. let ink = getInk(target);
  37581. if (!ink || getComputedStyle(ink, null).display === 'none') {
  37582. return;
  37583. }
  37584. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(ink, 'p-ink-active');
  37585. if (!primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHeight(ink) && !primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(ink)) {
  37586. let d = Math.max(primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(target), primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(target));
  37587. ink.style.height = d + 'px';
  37588. ink.style.width = d + 'px';
  37589. }
  37590. let offset = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOffset(target);
  37591. let x = event.pageX - offset.left + document.body.scrollTop - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWidth(ink) / 2;
  37592. let y = event.pageY - offset.top + document.body.scrollLeft - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getHeight(ink) / 2;
  37593. ink.style.top = y + 'px';
  37594. ink.style.left = x + 'px';
  37595. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(ink, 'p-ink-active');
  37596. }
  37597. function onAnimationEnd(event) {
  37598. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(event.currentTarget, 'p-ink-active');
  37599. }
  37600. function getInk(el) {
  37601. for (let i = 0; i < el.children.length; i++) {
  37602. if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
  37603. return el.children[i];
  37604. }
  37605. }
  37606. return null;
  37607. }
  37608. const Ripple = {
  37609. mounted(el, binding) {
  37610. if (binding.instance.$primevue && binding.instance.$primevue.config && binding.instance.$primevue.config.ripple) {
  37611. create(el);
  37612. bindEvents(el);
  37613. }
  37614. },
  37615. unmounted(el) {
  37616. remove(el);
  37617. }
  37618. };
  37619. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Ripple);
  37620. /***/ }),
  37621. /***/ "./node_modules/primevue/styleclass/styleclass.esm.js":
  37622. /*!************************************************************!*\
  37623. !*** ./node_modules/primevue/styleclass/styleclass.esm.js ***!
  37624. \************************************************************/
  37625. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37626. "use strict";
  37627. __webpack_require__.r(__webpack_exports__);
  37628. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37629. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37630. /* harmony export */ });
  37631. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37632. function bind(el, binding) {
  37633. el.$_pstyleclass_clicklistener = () => {
  37634. const target = resolveTarget(el, binding);
  37635. if (binding.value.toggleClass) {
  37636. if (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(target, binding.value.toggleClass))
  37637. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.toggleClass);
  37638. else
  37639. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.toggleClass);
  37640. }
  37641. else {
  37642. if (target.offsetParent === null)
  37643. enter(target, el, binding);
  37644. else
  37645. leave(target, binding);
  37646. }
  37647. };
  37648. el.addEventListener('click', el.$_pstyleclass_clicklistener);
  37649. }
  37650. function unbind(el) {
  37651. if (el.$_pstyleclass_clicklistener) {
  37652. el.addEventListener('click', el.$_pstyleclass_clicklistener);
  37653. el.$_pstyleclass_clicklistener = null;
  37654. }
  37655. unbindDocumentListener(el);
  37656. }
  37657. function enter(target, el, binding) {
  37658. if (binding.value.enterActiveClass) {
  37659. if (!target.$_pstyleclass_animating) {
  37660. target.$_pstyleclass_animating = true;
  37661. if (binding.value.enterActiveClass === 'slidedown') {
  37662. target.style.height = '0px';
  37663. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, 'hidden');
  37664. target.style.maxHeight = target.scrollHeight + 'px';
  37665. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, 'hidden');
  37666. target.style.height = '';
  37667. }
  37668. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.enterActiveClass);
  37669. if (binding.value.enterClass) {
  37670. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.enterClass);
  37671. }
  37672. target.$p_styleclass_enterlistener = () => {
  37673. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.enterActiveClass);
  37674. if (binding.value.enterToClass) {
  37675. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.enterToClass);
  37676. }
  37677. target.removeEventListener('animationend', target.$p_styleclass_enterlistener);
  37678. if (binding.value.enterActiveClass === 'slidedown') {
  37679. target.style.maxHeight = '';
  37680. }
  37681. target.$_pstyleclass_animating = false;
  37682. };
  37683. target.addEventListener('animationend', target.$p_styleclass_enterlistener);
  37684. }
  37685. }
  37686. else {
  37687. if (binding.value.enterClass) {
  37688. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.enterClass);
  37689. }
  37690. if (binding.value.enterToClass) {
  37691. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.enterToClass);
  37692. }
  37693. }
  37694. if (binding.value.hideOnOutsideClick) {
  37695. bindDocumentListener(target, el, binding);
  37696. }
  37697. }
  37698. function leave(target, binding) {
  37699. if (binding.value.leaveActiveClass) {
  37700. if (!target.$_pstyleclass_animating) {
  37701. target.$_pstyleclass_animating = true;
  37702. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.leaveActiveClass);
  37703. if (binding.value.leaveClass) {
  37704. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.leaveClass);
  37705. }
  37706. target.$p_styleclass_leavelistener = () => {
  37707. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.leaveActiveClass);
  37708. if (binding.value.leaveToClass) {
  37709. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.leaveToClass);
  37710. }
  37711. target.removeEventListener('animationend', target.$p_styleclass_leavelistener);
  37712. target.$_pstyleclass_animating = false;
  37713. };
  37714. target.addEventListener('animationend', target.$p_styleclass_leavelistener);
  37715. }
  37716. }
  37717. else {
  37718. if (binding.value.leaveClass) {
  37719. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.removeClass(target, binding.value.leaveClass);
  37720. }
  37721. if (binding.value.leaveToClass) {
  37722. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.addClass(target, binding.value.leaveToClass);
  37723. }
  37724. }
  37725. if (binding.value.hideOnOutsideClick) {
  37726. unbindDocumentListener(target);
  37727. }
  37728. }
  37729. function resolveTarget(el, binding) {
  37730. switch (binding.value.selector) {
  37731. case '@next':
  37732. return el.nextElementSibling;
  37733. case '@prev':
  37734. return el.previousElementSibling;
  37735. case '@parent':
  37736. return el.parentElement;
  37737. case '@grandparent':
  37738. return el.parentElement.parentElement;
  37739. default:
  37740. return document.querySelector(binding.value.selector);
  37741. }
  37742. }
  37743. function bindDocumentListener(target, el, binding) {
  37744. if (!target.$p_styleclass_documentlistener) {
  37745. target.$p_styleclass_documentlistener = (event) => {
  37746. if (getComputedStyle(target).getPropertyValue('position') === 'static') {
  37747. unbindDocumentListener(target);
  37748. }
  37749. else if (!el.isSameNode(event.target) && !el.contains(event.target) && !target.contains(event.target)) {
  37750. leave(target, binding);
  37751. }
  37752. };
  37753. target.ownerDocument.addEventListener('click', target.$p_styleclass_documentlistener);
  37754. }
  37755. }
  37756. function unbindDocumentListener(target) {
  37757. if (target.$p_styleclass_documentlistener) {
  37758. target.ownerDocument.removeEventListener('click', target.$p_styleclass_documentlistener);
  37759. target.$p_styleclass_documentlistener = null;
  37760. }
  37761. }
  37762. const StyleClass = {
  37763. mounted(el, binding) {
  37764. bind(el, binding);
  37765. },
  37766. unmounted(el) {
  37767. unbind(el);
  37768. }
  37769. };
  37770. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (StyleClass);
  37771. /***/ }),
  37772. /***/ "./node_modules/primevue/tooltip/tooltip.esm.js":
  37773. /*!******************************************************!*\
  37774. !*** ./node_modules/primevue/tooltip/tooltip.esm.js ***!
  37775. \******************************************************/
  37776. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  37777. "use strict";
  37778. __webpack_require__.r(__webpack_exports__);
  37779. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  37780. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  37781. /* harmony export */ });
  37782. /* harmony import */ var primevue_utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/utils */ "./node_modules/primevue/utils/utils.esm.js");
  37783. function bindEvents(el) {
  37784. const modifiers = el.$_ptooltipModifiers;
  37785. if (modifiers.focus) {
  37786. el.addEventListener('focus', onFocus);
  37787. el.addEventListener('blur', onBlur);
  37788. }
  37789. else {
  37790. el.addEventListener('mouseenter', onMouseEnter);
  37791. el.addEventListener('mouseleave', onMouseLeave);
  37792. el.addEventListener('click', onClick);
  37793. }
  37794. }
  37795. function unbindEvents(el) {
  37796. const modifiers = el.$_ptooltipModifiers;
  37797. if (modifiers.focus) {
  37798. el.removeEventListener('focus', onFocus);
  37799. el.removeEventListener('blur', onBlur);
  37800. }
  37801. else {
  37802. el.removeEventListener('mouseenter', onMouseEnter);
  37803. el.removeEventListener('mouseleave', onMouseLeave);
  37804. el.removeEventListener('click', onClick);
  37805. }
  37806. }
  37807. function bindScrollListener(el) {
  37808. if (!el.$_ptooltipScrollHandler) {
  37809. el.$_ptooltipScrollHandler = new primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ConnectedOverlayScrollHandler(el, function() {
  37810. hide(el);
  37811. });
  37812. }
  37813. el.$_ptooltipScrollHandler.bindScrollListener();
  37814. }
  37815. function unbindScrollListener(el) {
  37816. if (el.$_ptooltipScrollHandler) {
  37817. el.$_ptooltipScrollHandler.unbindScrollListener();
  37818. }
  37819. }
  37820. function onMouseEnter(event) {
  37821. show(event.currentTarget);
  37822. }
  37823. function onMouseLeave(event) {
  37824. hide(event.currentTarget);
  37825. }
  37826. function onFocus(event) {
  37827. show(event.currentTarget);
  37828. }
  37829. function onBlur(event) {
  37830. hide(event.currentTarget);
  37831. }
  37832. function onClick(event) {
  37833. hide(event.currentTarget);
  37834. }
  37835. function show(el) {
  37836. if (el.$_ptooltipDisabled) {
  37837. return;
  37838. }
  37839. let tooltipElement = create(el);
  37840. align(el);
  37841. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.fadeIn(tooltipElement, 250);
  37842. window.addEventListener('resize', function onWindowResize() {
  37843. if (!primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.isAndroid()) {
  37844. hide(el);
  37845. }
  37846. this.removeEventListener('resize', onWindowResize);
  37847. });
  37848. bindScrollListener(el);
  37849. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.set('tooltip', tooltipElement, el.$_ptooltipZIndex);
  37850. }
  37851. function hide(el) {
  37852. remove(el);
  37853. unbindScrollListener(el);
  37854. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  37855. }
  37856. function getTooltipElement(el) {
  37857. return document.getElementById(el.$_ptooltipId);
  37858. }
  37859. function create(el) {
  37860. const id = (0,primevue_utils__WEBPACK_IMPORTED_MODULE_0__.UniqueComponentId)() + '_tooltip';
  37861. el.$_ptooltipId = id;
  37862. let container = document.createElement('div');
  37863. container.id = id;
  37864. let tooltipArrow = document.createElement('div');
  37865. tooltipArrow.className = 'p-tooltip-arrow';
  37866. container.appendChild(tooltipArrow);
  37867. let tooltipText = document.createElement('div');
  37868. tooltipText.className = 'p-tooltip-text';
  37869. tooltipText.innerHTML = el.$_ptooltipValue;
  37870. container.appendChild(tooltipText);
  37871. document.body.appendChild(container);
  37872. container.style.display = 'inline-block';
  37873. return container;
  37874. }
  37875. function remove(el) {
  37876. if (el) {
  37877. let tooltipElement = getTooltipElement(el);
  37878. if (tooltipElement && tooltipElement.parentElement) {
  37879. document.body.removeChild(tooltipElement);
  37880. }
  37881. el.$_ptooltipId = null;
  37882. }
  37883. }
  37884. function align(el) {
  37885. const modifiers = el.$_ptooltipModifiers;
  37886. if (modifiers.top) {
  37887. alignTop(el);
  37888. if (isOutOfBounds(el)) {
  37889. alignBottom(el);
  37890. }
  37891. }
  37892. else if (modifiers.left) {
  37893. alignLeft(el);
  37894. if (isOutOfBounds(el)) {
  37895. alignRight(el);
  37896. if (isOutOfBounds(el)) {
  37897. alignTop(el);
  37898. if (isOutOfBounds(el)) {
  37899. alignBottom(el);
  37900. }
  37901. }
  37902. }
  37903. }
  37904. else if (modifiers.bottom) {
  37905. alignBottom(el);
  37906. if (isOutOfBounds(el)) {
  37907. alignTop(el);
  37908. }
  37909. }
  37910. else {
  37911. alignRight(el);
  37912. if (isOutOfBounds(el)) {
  37913. alignLeft(el);
  37914. if (isOutOfBounds(el)) {
  37915. alignTop(el);
  37916. if (isOutOfBounds(el)) {
  37917. alignBottom(el);
  37918. }
  37919. }
  37920. }
  37921. }
  37922. }
  37923. function getHostOffset(el) {
  37924. let offset = el.getBoundingClientRect();
  37925. let targetLeft = offset.left + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWindowScrollLeft();
  37926. let targetTop = offset.top + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getWindowScrollTop();
  37927. return {left: targetLeft, top: targetTop};
  37928. }
  37929. function alignRight(el) {
  37930. preAlign(el, 'right');
  37931. let tooltipElement = getTooltipElement(el);
  37932. let hostOffset = getHostOffset(el);
  37933. let left = hostOffset.left + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(el);
  37934. let top = hostOffset.top + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement)) / 2;
  37935. tooltipElement.style.left = left + 'px';
  37936. tooltipElement.style.top = top + 'px';
  37937. }
  37938. function alignLeft(el) {
  37939. preAlign(el, 'left');
  37940. let tooltipElement = getTooltipElement(el);
  37941. let hostOffset = getHostOffset(el);
  37942. let left = hostOffset.left - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement);
  37943. let top = hostOffset.top + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement)) / 2;
  37944. tooltipElement.style.left = left + 'px';
  37945. tooltipElement.style.top = top + 'px';
  37946. }
  37947. function alignTop(el) {
  37948. preAlign(el, 'top');
  37949. let tooltipElement = getTooltipElement(el);
  37950. let hostOffset = getHostOffset(el);
  37951. let left = hostOffset.left + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement)) / 2;
  37952. let top = hostOffset.top - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement);
  37953. tooltipElement.style.left = left + 'px';
  37954. tooltipElement.style.top = top + 'px';
  37955. }
  37956. function alignBottom(el) {
  37957. preAlign(el, 'bottom');
  37958. let tooltipElement = getTooltipElement(el);
  37959. let hostOffset = getHostOffset(el);
  37960. let left = hostOffset.left + (primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(el) - primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement)) / 2;
  37961. let top = hostOffset.top + primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(el);
  37962. tooltipElement.style.left = left + 'px';
  37963. tooltipElement.style.top = top + 'px';
  37964. }
  37965. function preAlign(el, position) {
  37966. let tooltipElement = getTooltipElement(el);
  37967. tooltipElement.style.left = -999 + 'px';
  37968. tooltipElement.style.top = -999 + 'px';
  37969. tooltipElement.className = `p-tooltip p-component p-tooltip-${position} ${el.$_ptooltipClass||''}`;
  37970. }
  37971. function isOutOfBounds(el) {
  37972. let tooltipElement = getTooltipElement(el);
  37973. let offset = tooltipElement.getBoundingClientRect();
  37974. let targetTop = offset.top;
  37975. let targetLeft = offset.left;
  37976. let width = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterWidth(tooltipElement);
  37977. let height = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getOuterHeight(tooltipElement);
  37978. let viewport = primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.getViewport();
  37979. return (targetLeft + width > viewport.width) || (targetLeft < 0) || (targetTop < 0) || (targetTop + height > viewport.height);
  37980. }
  37981. function getTarget(el) {
  37982. return primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.hasClass(el, 'p-inputwrapper') ? primevue_utils__WEBPACK_IMPORTED_MODULE_0__.DomHandler.findSingle(el, 'input'): el;
  37983. }
  37984. function getModifiers(options) {
  37985. // modifiers
  37986. if (options.modifiers && Object.keys(options.modifiers).length) {
  37987. return options.modifiers;
  37988. }
  37989. // arg
  37990. if (options.arg && typeof options.arg === 'object') {
  37991. return Object.entries(options.arg).reduce((acc, [key, val]) => {
  37992. if (key === 'event' || key === 'position') acc[val] = true;
  37993. return acc;
  37994. }, {});
  37995. }
  37996. return {};
  37997. }
  37998. const Tooltip = {
  37999. beforeMount(el, options) {
  38000. let target = getTarget(el);
  38001. target.$_ptooltipModifiers = getModifiers(options);
  38002. if (!options.value) return;
  38003. else if (typeof options.value === 'string') {
  38004. target.$_ptooltipValue = options.value;
  38005. target.$_ptooltipDisabled = false;
  38006. target.$_ptooltipClass = null;
  38007. }
  38008. else {
  38009. target.$_ptooltipValue = options.value.value;
  38010. target.$_ptooltipDisabled = options.value.disabled || false;
  38011. target.$_ptooltipClass = options.value.class;
  38012. }
  38013. target.$_ptooltipZIndex = options.instance.$primevue && options.instance.$primevue.config && options.instance.$primevue.config.zIndex.tooltip;
  38014. bindEvents(target);
  38015. },
  38016. unmounted(el) {
  38017. let target = getTarget(el);
  38018. remove(target);
  38019. unbindEvents(target);
  38020. if (target.$_ptooltipScrollHandler) {
  38021. target.$_ptooltipScrollHandler.destroy();
  38022. target.$_ptooltipScrollHandler = null;
  38023. }
  38024. primevue_utils__WEBPACK_IMPORTED_MODULE_0__.ZIndexUtils.clear(el);
  38025. },
  38026. updated(el, options) {
  38027. let target = getTarget(el);
  38028. target.$_ptooltipModifiers = getModifiers(options);
  38029. if (!options.value) return;
  38030. if (typeof options.value === 'string') {
  38031. target.$_ptooltipValue = options.value;
  38032. target.$_ptooltipDisabled = false;
  38033. target.$_ptooltipClass = null;
  38034. }
  38035. else {
  38036. target.$_ptooltipValue = options.value.value;
  38037. target.$_ptooltipDisabled = options.value.disabled || false;
  38038. target.$_ptooltipClass = options.value.class;
  38039. }
  38040. }
  38041. };
  38042. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Tooltip);
  38043. /***/ }),
  38044. /***/ "./node_modules/primevue/utils/utils.esm.js":
  38045. /*!**************************************************!*\
  38046. !*** ./node_modules/primevue/utils/utils.esm.js ***!
  38047. \**************************************************/
  38048. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  38049. "use strict";
  38050. __webpack_require__.r(__webpack_exports__);
  38051. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  38052. /* harmony export */ "ConnectedOverlayScrollHandler": () => (/* binding */ ConnectedOverlayScrollHandler),
  38053. /* harmony export */ "DomHandler": () => (/* binding */ DomHandler),
  38054. /* harmony export */ "EventBus": () => (/* binding */ primebus),
  38055. /* harmony export */ "ObjectUtils": () => (/* binding */ ObjectUtils),
  38056. /* harmony export */ "UniqueComponentId": () => (/* binding */ UniqueComponentId),
  38057. /* harmony export */ "ZIndexUtils": () => (/* binding */ ZIndexUtils)
  38058. /* harmony export */ });
  38059. var DomHandler = {
  38060. innerWidth(el) {
  38061. let width = el.offsetWidth;
  38062. let style = getComputedStyle(el);
  38063. width += parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
  38064. return width;
  38065. },
  38066. width(el) {
  38067. let width = el.offsetWidth;
  38068. let style = getComputedStyle(el);
  38069. width -= parseFloat(style.paddingLeft) + parseFloat(style.paddingRight);
  38070. return width;
  38071. },
  38072. getWindowScrollTop() {
  38073. let doc = document.documentElement;
  38074. return (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0);
  38075. },
  38076. getWindowScrollLeft() {
  38077. let doc = document.documentElement;
  38078. return (window.pageXOffset || doc.scrollLeft) - (doc.clientLeft || 0);
  38079. },
  38080. getOuterWidth(el, margin) {
  38081. if (el) {
  38082. let width = el.offsetWidth;
  38083. if (margin) {
  38084. let style = getComputedStyle(el);
  38085. width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
  38086. }
  38087. return width;
  38088. }
  38089. else {
  38090. return 0;
  38091. }
  38092. },
  38093. getOuterHeight(el, margin) {
  38094. if (el) {
  38095. let height = el.offsetHeight;
  38096. if (margin) {
  38097. let style = getComputedStyle(el);
  38098. height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
  38099. }
  38100. return height;
  38101. }
  38102. else {
  38103. return 0;
  38104. }
  38105. },
  38106. getClientHeight(el, margin) {
  38107. if (el) {
  38108. let height = el.clientHeight;
  38109. if (margin) {
  38110. let style = getComputedStyle(el);
  38111. height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
  38112. }
  38113. return height;
  38114. } else {
  38115. return 0;
  38116. }
  38117. },
  38118. getViewport() {
  38119. let win = window,
  38120. d = document,
  38121. e = d.documentElement,
  38122. g = d.getElementsByTagName('body')[0],
  38123. w = win.innerWidth || e.clientWidth || g.clientWidth,
  38124. h = win.innerHeight || e.clientHeight || g.clientHeight;
  38125. return {width: w, height: h};
  38126. },
  38127. getOffset(el) {
  38128. var rect = el.getBoundingClientRect();
  38129. return {
  38130. top: rect.top + (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0),
  38131. left: rect.left + (window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft || 0),
  38132. };
  38133. },
  38134. index(element) {
  38135. let children = element.parentNode.childNodes;
  38136. let num = 0;
  38137. for (var i = 0; i < children.length; i++) {
  38138. if (children[i] === element) return num;
  38139. if (children[i].nodeType === 1) num++;
  38140. }
  38141. return -1;
  38142. },
  38143. addMultipleClasses(element, className) {
  38144. if (element.classList) {
  38145. let styles = className.split(' ');
  38146. for (let i = 0; i < styles.length; i++) {
  38147. element.classList.add(styles[i]);
  38148. }
  38149. }
  38150. else {
  38151. let styles = className.split(' ');
  38152. for (let i = 0; i < styles.length; i++) {
  38153. element.className += ' ' + styles[i];
  38154. }
  38155. }
  38156. },
  38157. addClass(element, className) {
  38158. if (element.classList)
  38159. element.classList.add(className);
  38160. else
  38161. element.className += ' ' + className;
  38162. },
  38163. removeClass(element, className) {
  38164. if (element.classList)
  38165. element.classList.remove(className);
  38166. else
  38167. element.className = element.className.replace(new RegExp('(^|\\b)' + className.split(' ').join('|') + '(\\b|$)', 'gi'), ' ');
  38168. },
  38169. hasClass(element, className) {
  38170. if (element) {
  38171. if (element.classList)
  38172. return element.classList.contains(className);
  38173. else
  38174. return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
  38175. }
  38176. return false;
  38177. },
  38178. find(element, selector) {
  38179. return element.querySelectorAll(selector);
  38180. },
  38181. findSingle(element, selector) {
  38182. return element.querySelector(selector);
  38183. },
  38184. getHeight(el) {
  38185. let height = el.offsetHeight;
  38186. let style = getComputedStyle(el);
  38187. height -= parseFloat(style.paddingTop) + parseFloat(style.paddingBottom) + parseFloat(style.borderTopWidth) + parseFloat(style.borderBottomWidth);
  38188. return height;
  38189. },
  38190. getWidth(el) {
  38191. let width = el.offsetWidth;
  38192. let style = getComputedStyle(el);
  38193. width -= parseFloat(style.paddingLeft) + parseFloat(style.paddingRight) + parseFloat(style.borderLeftWidth) + parseFloat(style.borderRightWidth);
  38194. return width;
  38195. },
  38196. absolutePosition(element, target) {
  38197. let elementDimensions = element.offsetParent ? { width: element.offsetWidth, height: element.offsetHeight } : this.getHiddenElementDimensions(element);
  38198. let elementOuterHeight = elementDimensions.height;
  38199. let elementOuterWidth = elementDimensions.width;
  38200. let targetOuterHeight = target.offsetHeight;
  38201. let targetOuterWidth = target.offsetWidth;
  38202. let targetOffset = target.getBoundingClientRect();
  38203. let windowScrollTop = this.getWindowScrollTop();
  38204. let windowScrollLeft = this.getWindowScrollLeft();
  38205. let viewport = this.getViewport();
  38206. let top, left;
  38207. if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
  38208. top = targetOffset.top + windowScrollTop - elementOuterHeight;
  38209. element.style.transformOrigin = 'bottom';
  38210. if (top < 0) {
  38211. top = windowScrollTop;
  38212. }
  38213. }
  38214. else {
  38215. top = targetOuterHeight + targetOffset.top + windowScrollTop;
  38216. element.style.transformOrigin = 'top';
  38217. }
  38218. if (targetOffset.left + elementOuterWidth > viewport.width)
  38219. left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);
  38220. else
  38221. left = targetOffset.left + windowScrollLeft;
  38222. element.style.top = top + 'px';
  38223. element.style.left = left + 'px';
  38224. },
  38225. relativePosition(element, target) {
  38226. let elementDimensions = element.offsetParent ? { width: element.offsetWidth, height: element.offsetHeight } : this.getHiddenElementDimensions(element);
  38227. const targetHeight = target.offsetHeight;
  38228. const targetOffset = target.getBoundingClientRect();
  38229. const viewport = this.getViewport();
  38230. let top, left;
  38231. if ((targetOffset.top + targetHeight + elementDimensions.height) > viewport.height) {
  38232. top = -1 * (elementDimensions.height);
  38233. element.style.transformOrigin = 'bottom';
  38234. if (targetOffset.top + top < 0) {
  38235. top = -1 * targetOffset.top;
  38236. }
  38237. }
  38238. else {
  38239. top = targetHeight;
  38240. element.style.transformOrigin = 'top';
  38241. }
  38242. if (elementDimensions.width > viewport.width) {
  38243. // element wider then viewport and cannot fit on screen (align at left side of viewport)
  38244. left = targetOffset.left * -1;
  38245. }
  38246. else if ((targetOffset.left + elementDimensions.width) > viewport.width) {
  38247. // element wider then viewport but can be fit on screen (align at right side of viewport)
  38248. left = (targetOffset.left + elementDimensions.width - viewport.width) * -1;
  38249. }
  38250. else {
  38251. // element fits on screen (align with target)
  38252. left = 0;
  38253. }
  38254. element.style.top = top + 'px';
  38255. element.style.left = left + 'px';
  38256. },
  38257. getParents(element, parents = []) {
  38258. return element['parentNode'] === null ? parents : this.getParents(element.parentNode, parents.concat([element.parentNode]));
  38259. },
  38260. getScrollableParents(element) {
  38261. let scrollableParents = [];
  38262. if (element) {
  38263. let parents = this.getParents(element);
  38264. const overflowRegex = /(auto|scroll)/;
  38265. const overflowCheck = (node) => {
  38266. let styleDeclaration = window['getComputedStyle'](node, null);
  38267. return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
  38268. };
  38269. for (let parent of parents) {
  38270. let scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
  38271. if (scrollSelectors) {
  38272. let selectors = scrollSelectors.split(',');
  38273. for (let selector of selectors) {
  38274. let el = this.findSingle(parent, selector);
  38275. if (el && overflowCheck(el)) {
  38276. scrollableParents.push(el);
  38277. }
  38278. }
  38279. }
  38280. if (parent.nodeType !== 9 && overflowCheck(parent)) {
  38281. scrollableParents.push(parent);
  38282. }
  38283. }
  38284. }
  38285. return scrollableParents;
  38286. },
  38287. getHiddenElementOuterHeight(element) {
  38288. element.style.visibility = 'hidden';
  38289. element.style.display = 'block';
  38290. let elementHeight = element.offsetHeight;
  38291. element.style.display = 'none';
  38292. element.style.visibility = 'visible';
  38293. return elementHeight;
  38294. },
  38295. getHiddenElementOuterWidth(element) {
  38296. element.style.visibility = 'hidden';
  38297. element.style.display = 'block';
  38298. let elementWidth = element.offsetWidth;
  38299. element.style.display = 'none';
  38300. element.style.visibility = 'visible';
  38301. return elementWidth;
  38302. },
  38303. getHiddenElementDimensions(element) {
  38304. var dimensions = {};
  38305. element.style.visibility = 'hidden';
  38306. element.style.display = 'block';
  38307. dimensions.width = element.offsetWidth;
  38308. dimensions.height = element.offsetHeight;
  38309. element.style.display = 'none';
  38310. element.style.visibility = 'visible';
  38311. return dimensions;
  38312. },
  38313. fadeIn(element, duration) {
  38314. element.style.opacity = 0;
  38315. var last = +new Date();
  38316. var opacity = 0;
  38317. var tick = function () {
  38318. opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
  38319. element.style.opacity = opacity;
  38320. last = +new Date();
  38321. if (+opacity < 1) {
  38322. (window.requestAnimationFrame && requestAnimationFrame(tick)) || setTimeout(tick, 16);
  38323. }
  38324. };
  38325. tick();
  38326. },
  38327. fadeOut(element, ms) {
  38328. var opacity = 1,
  38329. interval = 50,
  38330. duration = ms,
  38331. gap = interval / duration;
  38332. let fading = setInterval(() => {
  38333. opacity -= gap;
  38334. if (opacity <= 0) {
  38335. opacity = 0;
  38336. clearInterval(fading);
  38337. }
  38338. element.style.opacity = opacity;
  38339. }, interval);
  38340. },
  38341. getUserAgent() {
  38342. return navigator.userAgent;
  38343. },
  38344. appendChild(element, target) {
  38345. if(this.isElement(target))
  38346. target.appendChild(element);
  38347. else if(target.el && target.elElement)
  38348. target.elElement.appendChild(element);
  38349. else
  38350. throw new Error('Cannot append ' + target + ' to ' + element);
  38351. },
  38352. scrollInView(container, item) {
  38353. let borderTopValue = getComputedStyle(container).getPropertyValue('borderTopWidth');
  38354. let borderTop = borderTopValue ? parseFloat(borderTopValue) : 0;
  38355. let paddingTopValue = getComputedStyle(container).getPropertyValue('paddingTop');
  38356. let paddingTop = paddingTopValue ? parseFloat(paddingTopValue) : 0;
  38357. let containerRect = container.getBoundingClientRect();
  38358. let itemRect = item.getBoundingClientRect();
  38359. let offset = (itemRect.top + document.body.scrollTop) - (containerRect.top + document.body.scrollTop) - borderTop - paddingTop;
  38360. let scroll = container.scrollTop;
  38361. let elementHeight = container.clientHeight;
  38362. let itemHeight = this.getOuterHeight(item);
  38363. if (offset < 0) {
  38364. container.scrollTop = scroll + offset;
  38365. }
  38366. else if ((offset + itemHeight) > elementHeight) {
  38367. container.scrollTop = scroll + offset - elementHeight + itemHeight;
  38368. }
  38369. },
  38370. clearSelection() {
  38371. if(window.getSelection) {
  38372. if(window.getSelection().empty) {
  38373. window.getSelection().empty();
  38374. } else if(window.getSelection().removeAllRanges && window.getSelection().rangeCount > 0 && window.getSelection().getRangeAt(0).getClientRects().length > 0) {
  38375. window.getSelection().removeAllRanges();
  38376. }
  38377. }
  38378. else if(document['selection'] && document['selection'].empty) {
  38379. try {
  38380. document['selection'].empty();
  38381. } catch(error) {
  38382. //ignore IE bug
  38383. }
  38384. }
  38385. },
  38386. calculateScrollbarWidth() {
  38387. if(this.calculatedScrollbarWidth != null)
  38388. return this.calculatedScrollbarWidth;
  38389. let scrollDiv = document.createElement("div");
  38390. scrollDiv.className = "p-scrollbar-measure";
  38391. document.body.appendChild(scrollDiv);
  38392. let scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
  38393. document.body.removeChild(scrollDiv);
  38394. this.calculatedScrollbarWidth = scrollbarWidth;
  38395. return scrollbarWidth;
  38396. },
  38397. getBrowser() {
  38398. if(!this.browser) {
  38399. let matched = this.resolveUserAgent();
  38400. this.browser = {};
  38401. if (matched.browser) {
  38402. this.browser[matched.browser] = true;
  38403. this.browser['version'] = matched.version;
  38404. }
  38405. if (this.browser['chrome']) {
  38406. this.browser['webkit'] = true;
  38407. } else if (this.browser['webkit']) {
  38408. this.browser['safari'] = true;
  38409. }
  38410. }
  38411. return this.browser;
  38412. },
  38413. resolveUserAgent() {
  38414. let ua = navigator.userAgent.toLowerCase();
  38415. let match = /(chrome)[ ]([\w.]+)/.exec(ua) ||
  38416. /(webkit)[ ]([\w.]+)/.exec(ua) ||
  38417. /(opera)(?:.*version|)[ ]([\w.]+)/.exec(ua) ||
  38418. /(msie) ([\w.]+)/.exec(ua) ||
  38419. (ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua)) ||
  38420. [];
  38421. return {
  38422. browser: match[1] || "",
  38423. version: match[2] || "0"
  38424. };
  38425. },
  38426. isVisible(element) {
  38427. return element.offsetParent != null;
  38428. },
  38429. invokeElementMethod(element, methodName, args) {
  38430. (element)[methodName].apply(element, args);
  38431. },
  38432. getFocusableElements(element) {
  38433. let focusableElements = this.find(element, `button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  38434. [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  38435. input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  38436. textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),
  38437. [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden])`
  38438. );
  38439. let visibleFocusableElements = [];
  38440. for (let focusableElement of focusableElements) {
  38441. if (getComputedStyle(focusableElement).display != "none" && getComputedStyle(focusableElement).visibility != "hidden")
  38442. visibleFocusableElements.push(focusableElement);
  38443. }
  38444. return visibleFocusableElements;
  38445. },
  38446. getFirstFocusableElement(element) {
  38447. const focusableElements = this.getFocusableElements(element);
  38448. return focusableElements.length > 0 ? focusableElements[0] : null;
  38449. },
  38450. isClickable(element) {
  38451. const targetNode = element.nodeName;
  38452. const parentNode = element.parentElement && element.parentElement.nodeName;
  38453. return (targetNode == 'INPUT' || targetNode == 'BUTTON' || targetNode == 'A' ||
  38454. parentNode == 'INPUT' || parentNode == 'BUTTON' || parentNode == 'A' ||
  38455. this.hasClass(element, 'p-button') || this.hasClass(element.parentElement, 'p-button') ||
  38456. this.hasClass(element.parentElement, 'p-checkbox') || this.hasClass(element.parentElement, 'p-radiobutton')
  38457. );
  38458. },
  38459. applyStyle(element, style) {
  38460. if (typeof style === 'string') {
  38461. element.style.cssText = style;
  38462. }
  38463. else {
  38464. for (let prop in style) {
  38465. element.style[prop] = style[prop];
  38466. }
  38467. }
  38468. },
  38469. isIOS() {
  38470. return /iPad|iPhone|iPod/.test(navigator.userAgent) && !window['MSStream'];
  38471. },
  38472. isAndroid() {
  38473. return /(android)/i.test(navigator.userAgent);
  38474. },
  38475. isTouchDevice() {
  38476. return (('ontouchstart' in window) || (navigator.maxTouchPoints > 0) || (navigator.msMaxTouchPoints > 0));
  38477. },
  38478. exportCSV(csv, filename) {
  38479. let blob = new Blob([csv], {
  38480. type: 'application/csv;charset=utf-8;'
  38481. });
  38482. if (window.navigator.msSaveOrOpenBlob) {
  38483. navigator.msSaveOrOpenBlob(blob, filename + '.csv');
  38484. }
  38485. else {
  38486. let link = document.createElement("a");
  38487. if (link.download !== undefined) {
  38488. link.setAttribute('href', URL.createObjectURL(blob));
  38489. link.setAttribute('download', filename + '.csv');
  38490. link.style.display = 'none';
  38491. document.body.appendChild(link);
  38492. link.click();
  38493. document.body.removeChild(link);
  38494. }
  38495. else {
  38496. csv = 'data:text/csv;charset=utf-8,' + csv;
  38497. window.open(encodeURI(csv));
  38498. }
  38499. }
  38500. }
  38501. };
  38502. class ConnectedOverlayScrollHandler {
  38503. constructor(element, listener = () => {}) {
  38504. this.element = element;
  38505. this.listener = listener;
  38506. }
  38507. bindScrollListener() {
  38508. this.scrollableParents = DomHandler.getScrollableParents(this.element);
  38509. for (let i = 0; i < this.scrollableParents.length; i++) {
  38510. this.scrollableParents[i].addEventListener('scroll', this.listener);
  38511. }
  38512. }
  38513. unbindScrollListener() {
  38514. if (this.scrollableParents) {
  38515. for (let i = 0; i < this.scrollableParents.length; i++) {
  38516. this.scrollableParents[i].removeEventListener('scroll', this.listener);
  38517. }
  38518. }
  38519. }
  38520. destroy() {
  38521. this.unbindScrollListener();
  38522. this.element = null;
  38523. this.listener = null;
  38524. this.scrollableParents = null;
  38525. }
  38526. }
  38527. var ObjectUtils = {
  38528. equals(obj1, obj2, field) {
  38529. if (field)
  38530. return (this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field));
  38531. else
  38532. return this.deepEquals(obj1, obj2);
  38533. },
  38534. deepEquals(a, b) {
  38535. if (a === b) return true;
  38536. if (a && b && typeof a == 'object' && typeof b == 'object') {
  38537. var arrA = Array.isArray(a)
  38538. , arrB = Array.isArray(b)
  38539. , i
  38540. , length
  38541. , key;
  38542. if (arrA && arrB) {
  38543. length = a.length;
  38544. if (length != b.length) return false;
  38545. for (i = length; i-- !== 0;)
  38546. if (!this.deepEquals(a[i], b[i])) return false;
  38547. return true;
  38548. }
  38549. if (arrA != arrB) return false;
  38550. var dateA = a instanceof Date
  38551. , dateB = b instanceof Date;
  38552. if (dateA != dateB) return false;
  38553. if (dateA && dateB) return a.getTime() == b.getTime();
  38554. var regexpA = a instanceof RegExp
  38555. , regexpB = b instanceof RegExp;
  38556. if (regexpA != regexpB) return false;
  38557. if (regexpA && regexpB) return a.toString() == b.toString();
  38558. var keys = Object.keys(a);
  38559. length = keys.length;
  38560. if (length !== Object.keys(b).length)
  38561. return false;
  38562. for (i = length; i-- !== 0;)
  38563. if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
  38564. for (i = length; i-- !== 0;) {
  38565. key = keys[i];
  38566. if (!this.deepEquals(a[key], b[key])) return false;
  38567. }
  38568. return true;
  38569. }
  38570. return a !== a && b !== b;
  38571. },
  38572. resolveFieldData(data, field) {
  38573. if (data && Object.keys(data).length && field) {
  38574. if (this.isFunction(field)) {
  38575. return field(data);
  38576. }
  38577. else if(field.indexOf('.') === -1) {
  38578. return data[field];
  38579. }
  38580. else {
  38581. let fields = field.split('.');
  38582. let value = data;
  38583. for(var i = 0, len = fields.length; i < len; ++i) {
  38584. if (value == null) {
  38585. return null;
  38586. }
  38587. value = value[fields[i]];
  38588. }
  38589. return value;
  38590. }
  38591. }
  38592. else {
  38593. return null;
  38594. }
  38595. },
  38596. isFunction(obj) {
  38597. return !!(obj && obj.constructor && obj.call && obj.apply);
  38598. },
  38599. filter(value, fields, filterValue) {
  38600. var filteredItems = [];
  38601. if (value) {
  38602. for (let item of value) {
  38603. for (let field of fields) {
  38604. if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
  38605. filteredItems.push(item);
  38606. break;
  38607. }
  38608. }
  38609. }
  38610. }
  38611. return filteredItems;
  38612. },
  38613. reorderArray(value, from, to) {
  38614. let target;
  38615. if (value && (from !== to)) {
  38616. if (to >= value.length) {
  38617. target = to - value.length;
  38618. while ((target--) + 1) {
  38619. value.push(undefined);
  38620. }
  38621. }
  38622. value.splice(to, 0, value.splice(from, 1)[0]);
  38623. }
  38624. },
  38625. findIndexInList(value, list) {
  38626. let index = -1;
  38627. if (list) {
  38628. for (let i = 0; i < list.length; i++) {
  38629. if (list[i] === value) {
  38630. index = i;
  38631. break;
  38632. }
  38633. }
  38634. }
  38635. return index;
  38636. },
  38637. contains(value, list) {
  38638. if (value != null && list && list.length) {
  38639. for (let val of list) {
  38640. if (this.equals(value, val))
  38641. return true;
  38642. }
  38643. }
  38644. return false;
  38645. },
  38646. insertIntoOrderedArray(item, index, arr, sourceArr) {
  38647. if (arr.length > 0) {
  38648. let injected = false;
  38649. for (let i = 0; i < arr.length; i++) {
  38650. let currentItemIndex = this.findIndexInList(arr[i], sourceArr);
  38651. if (currentItemIndex > index) {
  38652. arr.splice(i, 0, item);
  38653. injected = true;
  38654. break;
  38655. }
  38656. }
  38657. if (!injected) {
  38658. arr.push(item);
  38659. }
  38660. }
  38661. else {
  38662. arr.push(item);
  38663. }
  38664. },
  38665. removeAccents(str) {
  38666. if (str && str.search(/[\xC0-\xFF]/g) > -1) {
  38667. str = str
  38668. .replace(/[\xC0-\xC5]/g, "A")
  38669. .replace(/[\xC6]/g, "AE")
  38670. .replace(/[\xC7]/g, "C")
  38671. .replace(/[\xC8-\xCB]/g, "E")
  38672. .replace(/[\xCC-\xCF]/g, "I")
  38673. .replace(/[\xD0]/g, "D")
  38674. .replace(/[\xD1]/g, "N")
  38675. .replace(/[\xD2-\xD6\xD8]/g, "O")
  38676. .replace(/[\xD9-\xDC]/g, "U")
  38677. .replace(/[\xDD]/g, "Y")
  38678. .replace(/[\xDE]/g, "P")
  38679. .replace(/[\xE0-\xE5]/g, "a")
  38680. .replace(/[\xE6]/g, "ae")
  38681. .replace(/[\xE7]/g, "c")
  38682. .replace(/[\xE8-\xEB]/g, "e")
  38683. .replace(/[\xEC-\xEF]/g, "i")
  38684. .replace(/[\xF1]/g, "n")
  38685. .replace(/[\xF2-\xF6\xF8]/g, "o")
  38686. .replace(/[\xF9-\xFC]/g, "u")
  38687. .replace(/[\xFE]/g, "p")
  38688. .replace(/[\xFD\xFF]/g, "y");
  38689. }
  38690. return str;
  38691. },
  38692. getVNodeProp(vnode, prop) {
  38693. let props = vnode.props;
  38694. if (props) {
  38695. let kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
  38696. let propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
  38697. return ((vnode.type.props[prop].type === Boolean && props[propName] === '') ? true : props[propName]);
  38698. }
  38699. return null;
  38700. },
  38701. isEmpty(value) {
  38702. return (
  38703. value === null || value === undefined || value === '' ||
  38704. (Array.isArray(value) && value.length === 0) ||
  38705. (!(value instanceof Date) && typeof value === 'object' && Object.keys(value).length === 0)
  38706. );
  38707. },
  38708. isNotEmpty(value) {
  38709. return !this.isEmpty(value);
  38710. }
  38711. };
  38712. function handler() {
  38713. let zIndexes = [];
  38714. const generateZIndex = (key, baseZIndex) => {
  38715. let lastZIndex = zIndexes.length > 0 ? zIndexes[zIndexes.length - 1] : { key, value: baseZIndex };
  38716. let newZIndex = lastZIndex.value + (lastZIndex.key === key ? 0 : baseZIndex) + 1;
  38717. zIndexes.push({ key, value: newZIndex });
  38718. return newZIndex;
  38719. };
  38720. const revertZIndex = (zIndex) => {
  38721. zIndexes = zIndexes.filter(obj => obj.value !== zIndex);
  38722. };
  38723. const getCurrentZIndex = () => {
  38724. return zIndexes.length > 0 ? zIndexes[zIndexes.length - 1].value : 0;
  38725. };
  38726. const getZIndex = (el) => {
  38727. return el ? parseInt(el.style.zIndex, 10) || 0 : 0
  38728. };
  38729. return {
  38730. get: getZIndex,
  38731. set: (key, el, baseZIndex) => {
  38732. if (el) {
  38733. el.style.zIndex = String(generateZIndex(key, baseZIndex));
  38734. }
  38735. },
  38736. clear: (el) => {
  38737. if (el) {
  38738. revertZIndex(getZIndex(el));
  38739. el.style.zIndex = '';
  38740. }
  38741. },
  38742. getCurrent: () => getCurrentZIndex()
  38743. };
  38744. }
  38745. var ZIndexUtils = handler();
  38746. var lastId = 0;
  38747. function UniqueComponentId (prefix = 'pv_id_') {
  38748. lastId++;
  38749. return `${prefix}${lastId}`;
  38750. }
  38751. function primebus() {
  38752. const allHandlers = new Map();
  38753. return {
  38754. on(type, handler) {
  38755. let handlers = allHandlers.get(type);
  38756. if (!handlers)
  38757. handlers = [handler];
  38758. else
  38759. handlers.push(handler);
  38760. allHandlers.set(type, handlers);
  38761. },
  38762. off(type, handler) {
  38763. let handlers = allHandlers.get(type);
  38764. if (handlers) {
  38765. handlers.splice(handlers.indexOf(handler) >>> 0, 1);
  38766. }
  38767. },
  38768. emit(type, evt) {
  38769. let handlers = allHandlers.get(type);
  38770. if (handlers) {
  38771. handlers.slice().map((handler) => { handler(evt);});
  38772. }
  38773. }
  38774. };
  38775. }
  38776. /***/ }),
  38777. /***/ "./node_modules/primevue/virtualscroller/virtualscroller.esm.js":
  38778. /*!**********************************************************************!*\
  38779. !*** ./node_modules/primevue/virtualscroller/virtualscroller.esm.js ***!
  38780. \**********************************************************************/
  38781. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  38782. "use strict";
  38783. __webpack_require__.r(__webpack_exports__);
  38784. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  38785. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  38786. /* harmony export */ });
  38787. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  38788. var script = {
  38789. name: 'VirtualScroller',
  38790. emits: ['update:numToleratedItems', 'scroll', 'scroll-index-change', 'lazy-load'],
  38791. props: {
  38792. id: {
  38793. type: String,
  38794. default: null
  38795. },
  38796. style: null,
  38797. class: null,
  38798. items: {
  38799. type: Array,
  38800. default: null
  38801. },
  38802. itemSize: {
  38803. type: [Number,Array],
  38804. default: 0
  38805. },
  38806. scrollHeight: null,
  38807. scrollWidth: null,
  38808. orientation: {
  38809. type: String,
  38810. default: 'vertical'
  38811. },
  38812. numToleratedItems: {
  38813. type: Number,
  38814. default: null
  38815. },
  38816. delay: {
  38817. type: Number,
  38818. default: 0
  38819. },
  38820. lazy: {
  38821. type: Boolean,
  38822. default: false
  38823. },
  38824. disabled: {
  38825. type: Boolean,
  38826. default: false
  38827. },
  38828. loaderDisabled: {
  38829. type: Boolean,
  38830. default: false
  38831. },
  38832. columns: {
  38833. type: Array,
  38834. default: null
  38835. },
  38836. loading: {
  38837. type: Boolean,
  38838. default: false
  38839. },
  38840. showSpacer: {
  38841. type: Boolean,
  38842. default: true
  38843. },
  38844. showLoader: {
  38845. type: Boolean,
  38846. default: false
  38847. }
  38848. },
  38849. data() {
  38850. return {
  38851. first: this.isBoth() ? { rows: 0, cols: 0 } : 0,
  38852. last: this.isBoth() ? { rows: 0, cols: 0 } : 0,
  38853. numItemsInViewport: this.isBoth() ? { rows: 0, cols: 0 } : 0,
  38854. lastScrollPos: this.isBoth() ? { top: 0, left: 0 } : 0,
  38855. d_numToleratedItems: this.numToleratedItems,
  38856. d_loading: this.loading,
  38857. loaderArr: [],
  38858. spacerStyle: {},
  38859. contentStyle: {}
  38860. }
  38861. },
  38862. element: null,
  38863. content: null,
  38864. lastScrollPos: null,
  38865. scrollTimeout: null,
  38866. mounted() {
  38867. this.init();
  38868. this.lastScrollPos = this.isBoth() ? { top: 0, left: 0 } : 0;
  38869. },
  38870. watch: {
  38871. numToleratedItems(newValue) {
  38872. this.d_numToleratedItems = newValue;
  38873. },
  38874. loading(newValue) {
  38875. this.d_loading = newValue;
  38876. },
  38877. items(newValue, oldValue) {
  38878. if (!oldValue || oldValue.length !== (newValue || []).length) {
  38879. this.init();
  38880. }
  38881. },
  38882. orientation() {
  38883. this.lastScrollPos = this.isBoth() ? { top: 0, left: 0 } : 0;
  38884. }
  38885. },
  38886. methods: {
  38887. init() {
  38888. this.setSize();
  38889. this.calculateOptions();
  38890. this.setSpacerSize();
  38891. },
  38892. isVertical() {
  38893. return this.orientation === 'vertical';
  38894. },
  38895. isHorizontal() {
  38896. return this.orientation === 'horizontal';
  38897. },
  38898. isBoth() {
  38899. return this.orientation === 'both';
  38900. },
  38901. scrollTo(options) {
  38902. this.element && this.element.scrollTo(options);
  38903. },
  38904. scrollToIndex(index, behavior = 'auto') {
  38905. const both = this.isBoth();
  38906. const horizontal = this.isHorizontal();
  38907. const first = this.first;
  38908. const { numToleratedItems } = this.calculateNumItems();
  38909. const itemSize = this.itemSize;
  38910. const contentPos = this.getContentPosition();
  38911. const calculateFirst = (_index = 0, _numT) => (_index <= _numT ? 0 : _index);
  38912. const calculateCoord = (_first, _size, _cpos) => (_first * _size) + _cpos;
  38913. const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
  38914. if (both) {
  38915. const newFirst = { rows: calculateFirst(index[0], numToleratedItems[0]), cols: calculateFirst(index[1], numToleratedItems[1]) };
  38916. if (newFirst.rows !== first.rows || newFirst.cols !== first.cols) {
  38917. scrollTo(calculateCoord(newFirst.cols, itemSize[1], contentPos.left), calculateCoord(newFirst.rows, itemSize[0], contentPos.top));
  38918. this.first = newFirst;
  38919. }
  38920. }
  38921. else {
  38922. const newFirst = calculateFirst(index, numToleratedItems);
  38923. if (newFirst !== first) {
  38924. horizontal ? scrollTo(calculateCoord(newFirst, itemSize, contentPos.left), 0) : scrollTo(0, calculateCoord(newFirst, itemSize, contentPos.top));
  38925. this.first = newFirst;
  38926. }
  38927. }
  38928. },
  38929. scrollInView(index, to, behavior = 'auto') {
  38930. if (to) {
  38931. const both = this.isBoth();
  38932. const horizontal = this.isHorizontal();
  38933. const { first, viewport } = this.getRenderedRange();
  38934. const scrollTo = (left = 0, top = 0) => this.scrollTo({ left, top, behavior });
  38935. const isToStart = to === 'to-start';
  38936. const isToEnd = to === 'to-end';
  38937. if (isToStart) {
  38938. if (both) {
  38939. if (viewport.first.rows - first.rows > index[0]) {
  38940. scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows - 1) * this.itemSize[0]);
  38941. }
  38942. else if (viewport.first.cols - first.cols > index[1]) {
  38943. scrollTo((viewport.first.cols - 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
  38944. }
  38945. }
  38946. else {
  38947. if (viewport.first - first > index) {
  38948. const pos = (viewport.first - 1) * this.itemSize;
  38949. horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
  38950. }
  38951. }
  38952. }
  38953. else if (isToEnd) {
  38954. if (both) {
  38955. if (viewport.last.rows - first.rows <= index[0] + 1) {
  38956. scrollTo(viewport.first.cols * this.itemSize[1], (viewport.first.rows + 1) * this.itemSize[0]);
  38957. }
  38958. else if (viewport.last.cols - first.cols <= index[1] + 1) {
  38959. scrollTo((viewport.first.cols + 1) * this.itemSize[1], viewport.first.rows * this.itemSize[0]);
  38960. }
  38961. }
  38962. else {
  38963. if (viewport.last - first <= index + 1) {
  38964. const pos = (viewport.first + 1) * this.itemSize;
  38965. horizontal ? scrollTo(pos, 0) : scrollTo(0, pos);
  38966. }
  38967. }
  38968. }
  38969. }
  38970. else {
  38971. this.scrollToIndex(index, behavior);
  38972. }
  38973. },
  38974. getRenderedRange() {
  38975. const calculateFirstInViewport = (_pos, _size) => Math.floor(_pos / (_size || _pos));
  38976. let firstInViewport = this.first;
  38977. let lastInViewport = 0;
  38978. if (this.element) {
  38979. const both = this.isBoth();
  38980. const horizontal = this.isHorizontal();
  38981. const scrollTop = this.element.scrollTop;
  38982. const scrollLeft = this.element.scrollLeft;
  38983. if (both) {
  38984. firstInViewport = { rows: calculateFirstInViewport(scrollTop, this.itemSize[0]), cols: calculateFirstInViewport(scrollLeft, this.itemSize[1]) };
  38985. lastInViewport = { rows: firstInViewport.rows + this.numItemsInViewport.rows, cols: firstInViewport.cols + this.numItemsInViewport.cols };
  38986. }
  38987. else {
  38988. const scrollPos = horizontal ? scrollLeft : scrollTop;
  38989. firstInViewport = calculateFirstInViewport(scrollPos, this.itemSize);
  38990. lastInViewport = firstInViewport + this.numItemsInViewport;
  38991. }
  38992. }
  38993. return {
  38994. first: this.first,
  38995. last: this.last,
  38996. viewport: {
  38997. first: firstInViewport,
  38998. last: lastInViewport
  38999. }
  39000. };
  39001. },
  39002. calculateNumItems() {
  39003. const both = this.isBoth();
  39004. const horizontal = this.isHorizontal();
  39005. const itemSize = this.itemSize;
  39006. const contentPos = this.getContentPosition();
  39007. const contentWidth = this.element ? this.element.offsetWidth - contentPos.left : 0;
  39008. const contentHeight = this.element ? this.element.offsetHeight - contentPos.top : 0;
  39009. const calculateNumItemsInViewport = (_contentSize, _itemSize) => Math.ceil(_contentSize / (_itemSize || _contentSize));
  39010. const calculateNumToleratedItems = (_numItems) => Math.ceil(_numItems / 2);
  39011. const numItemsInViewport = both ?
  39012. { rows: calculateNumItemsInViewport(contentHeight, itemSize[0]), cols: calculateNumItemsInViewport(contentWidth, itemSize[1]) } :
  39013. calculateNumItemsInViewport((horizontal ? contentWidth : contentHeight), itemSize);
  39014. const numToleratedItems = this.d_numToleratedItems || (both ?
  39015. [calculateNumToleratedItems(numItemsInViewport.rows), calculateNumToleratedItems(numItemsInViewport.cols)] :
  39016. calculateNumToleratedItems(numItemsInViewport));
  39017. return { numItemsInViewport, numToleratedItems };
  39018. },
  39019. calculateOptions() {
  39020. const both = this.isBoth();
  39021. const first = this.first;
  39022. const { numItemsInViewport, numToleratedItems } = this.calculateNumItems();
  39023. const calculateLast = (_first, _num, _numT, _isCols) => this.getLast(_first + _num + ((_first < _numT ? 2 : 3) * _numT), _isCols);
  39024. const last = both ?
  39025. { rows: calculateLast(first.rows, numItemsInViewport.rows, numToleratedItems[0]), cols: calculateLast(first.cols, numItemsInViewport.cols, numToleratedItems[1], true) } :
  39026. calculateLast(first, numItemsInViewport, numToleratedItems);
  39027. this.last = last;
  39028. this.numItemsInViewport = numItemsInViewport;
  39029. this.d_numToleratedItems = numToleratedItems;
  39030. this.$emit('update:numToleratedItems', this.d_numToleratedItems);
  39031. if (this.showLoader) {
  39032. this.loaderArr = both ?
  39033. Array.from({ length: numItemsInViewport.rows }).map(() => Array.from({ length: numItemsInViewport.cols })) :
  39034. Array.from({ length: numItemsInViewport });
  39035. }
  39036. if (this.lazy) {
  39037. this.$emit('lazy-load', { first, last });
  39038. }
  39039. },
  39040. getLast(last = 0, isCols) {
  39041. if (this.items) {
  39042. return Math.min((isCols ? (this.columns || this.items[0]).length : this.items.length), last);
  39043. }
  39044. return 0;
  39045. },
  39046. getContentPosition() {
  39047. if (this.content) {
  39048. const style = getComputedStyle(this.content);
  39049. const left = parseInt(style.paddingLeft, 10) + Math.max(parseInt(style.left, 10), 0);
  39050. const right = parseInt(style.paddingRight, 10) + Math.max(parseInt(style.right, 10), 0);
  39051. const top = parseInt(style.paddingTop, 10) + Math.max(parseInt(style.top, 10), 0);
  39052. const bottom = parseInt(style.paddingBottom, 10) + Math.max(parseInt(style.bottom, 10), 0);
  39053. return { left, right, top, bottom, x: left + right, y: top + bottom };
  39054. }
  39055. return { left: 0, right: 0, top: 0, bottom: 0, x: 0, y: 0 };
  39056. },
  39057. setSize() {
  39058. if (this.element) {
  39059. const both = this.isBoth();
  39060. const horizontal = this.isHorizontal();
  39061. const parentElement = this.element.parentElement;
  39062. const width = this.scrollWidth || `${(this.element.offsetWidth || parentElement.offsetWidth)}px`;
  39063. const height = this.scrollHeight || `${(this.element.offsetHeight || parentElement.offsetHeight)}px`;
  39064. const setProp = (_name, _value) => this.element.style[_name] = _value;
  39065. if (both || horizontal) {
  39066. setProp('height', height);
  39067. setProp('width', width);
  39068. }
  39069. else {
  39070. setProp('height', height);
  39071. }
  39072. }
  39073. },
  39074. setSpacerSize() {
  39075. const items = this.items;
  39076. if (items) {
  39077. const both = this.isBoth();
  39078. const horizontal = this.isHorizontal();
  39079. const contentPos = this.getContentPosition();
  39080. const setProp = (_name, _value, _size, _cpos = 0) => this.spacerStyle = { ...this.spacerStyle, ...{ [`${_name}`]: (((_value || []).length * _size) + _cpos) + 'px' } };
  39081. if (both) {
  39082. setProp('height', items, this.itemSize[0], contentPos.y);
  39083. setProp('width', (this.columns || items[1]), this.itemSize[1], contentPos.x);
  39084. }
  39085. else {
  39086. horizontal ? setProp('width', (this.columns || items), this.itemSize, contentPos.x) : setProp('height', items, this.itemSize, contentPos.y);
  39087. }
  39088. }
  39089. },
  39090. setContentPosition(pos) {
  39091. if (this.content) {
  39092. const both = this.isBoth();
  39093. const horizontal = this.isHorizontal();
  39094. const first = pos ? pos.first : this.first;
  39095. const calculateTranslateVal = (_first, _size) => (_first * _size);
  39096. const setTransform = (_x = 0, _y = 0) => {
  39097. this.contentStyle = { ...this.contentStyle, ...{ transform: `translate3d(${_x}px, ${_y}px, 0)` } };
  39098. };
  39099. if (both) {
  39100. setTransform(calculateTranslateVal(first.cols, this.itemSize[1]), calculateTranslateVal(first.rows, this.itemSize[0]));
  39101. }
  39102. else {
  39103. const translateVal = calculateTranslateVal(first, this.itemSize);
  39104. horizontal ? setTransform(translateVal, 0) : setTransform(0, translateVal);
  39105. }
  39106. }
  39107. },
  39108. onScrollPositionChange(event) {
  39109. const target = event.target;
  39110. const both = this.isBoth();
  39111. const horizontal = this.isHorizontal();
  39112. const contentPos = this.getContentPosition();
  39113. const calculateScrollPos = (_pos, _cpos) => _pos ? (_pos > _cpos ? _pos - _cpos : _pos) : 0;
  39114. const calculateCurrentIndex = (_pos, _size) => Math.floor(_pos / (_size || _pos));
  39115. const calculateTriggerIndex = (_currentIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
  39116. return (_currentIndex <= _numT ? _numT : (_isScrollDownOrRight ? (_last - _num - _numT) : (_first + _numT - 1)))
  39117. };
  39118. const calculateFirst = (_currentIndex, _triggerIndex, _first, _last, _num, _numT, _isScrollDownOrRight) => {
  39119. if (_currentIndex <= _numT)
  39120. return 0;
  39121. else
  39122. return Math.max(0, _isScrollDownOrRight ?
  39123. (_currentIndex < _triggerIndex ? _first : _currentIndex - _numT) :
  39124. (_currentIndex > _triggerIndex ? _first : _currentIndex - (2 * _numT)));
  39125. };
  39126. const calculateLast = (_currentIndex, _first, _last, _num, _numT, _isCols) => {
  39127. let lastValue = _first + _num + (2 * _numT);
  39128. if (_currentIndex >= _numT) {
  39129. lastValue += (_numT + 1);
  39130. }
  39131. return this.getLast(lastValue, _isCols);
  39132. };
  39133. const scrollTop = calculateScrollPos(target.scrollTop, contentPos.top);
  39134. const scrollLeft = calculateScrollPos(target.scrollLeft, contentPos.left);
  39135. let newFirst = 0;
  39136. let newLast = this.last;
  39137. let isRangeChanged = false;
  39138. if (both) {
  39139. const isScrollDown = this.lastScrollPos.top <= scrollTop;
  39140. const isScrollRight = this.lastScrollPos.left <= scrollLeft;
  39141. const currentIndex = { rows: calculateCurrentIndex(scrollTop, this.itemSize[0]), cols: calculateCurrentIndex(scrollLeft, this.itemSize[1]) };
  39142. const triggerIndex = {
  39143. rows: calculateTriggerIndex(currentIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
  39144. cols: calculateTriggerIndex(currentIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
  39145. };
  39146. newFirst = {
  39147. rows: calculateFirst(currentIndex.rows, triggerIndex.rows, this.first.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0], isScrollDown),
  39148. cols: calculateFirst(currentIndex.cols, triggerIndex.cols, this.first.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], isScrollRight)
  39149. };
  39150. newLast = {
  39151. rows: calculateLast(currentIndex.rows, newFirst.rows, this.last.rows, this.numItemsInViewport.rows, this.d_numToleratedItems[0]),
  39152. cols: calculateLast(currentIndex.cols, newFirst.cols, this.last.cols, this.numItemsInViewport.cols, this.d_numToleratedItems[1], true)
  39153. };
  39154. isRangeChanged = (newFirst.rows !== this.first.rows && newLast.rows !== this.last.rows) || (newFirst.cols !== this.first.cols && newLast.cols !== this.last.cols);
  39155. this.lastScrollPos = { top: scrollTop, left: scrollLeft };
  39156. }
  39157. else {
  39158. const scrollPos = horizontal ? scrollLeft : scrollTop;
  39159. const isScrollDownOrRight = this.lastScrollPos <= scrollPos;
  39160. const currentIndex = calculateCurrentIndex(scrollPos, this.itemSize);
  39161. const triggerIndex = calculateTriggerIndex(currentIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
  39162. newFirst = calculateFirst(currentIndex, triggerIndex, this.first, this.last, this.numItemsInViewport, this.d_numToleratedItems, isScrollDownOrRight);
  39163. newLast = calculateLast(currentIndex, newFirst, this.last, this.numItemsInViewport, this.d_numToleratedItems);
  39164. isRangeChanged = newFirst !== this.first && newLast !== this.last;
  39165. this.lastScrollPos = scrollPos;
  39166. }
  39167. return {
  39168. first: newFirst,
  39169. last: newLast,
  39170. isRangeChanged
  39171. }
  39172. },
  39173. onScrollChange(event) {
  39174. const { first, last, isRangeChanged } = this.onScrollPositionChange(event);
  39175. if (isRangeChanged) {
  39176. const newState = { first, last };
  39177. this.setContentPosition(newState);
  39178. this.first = first;
  39179. this.last = last;
  39180. this.$emit('scroll-index-change', newState);
  39181. if (this.lazy) {
  39182. this.$emit('lazy-load', newState);
  39183. }
  39184. }
  39185. },
  39186. onScroll(event) {
  39187. this.$emit('scroll', event);
  39188. if (this.delay) {
  39189. if (this.scrollTimeout) {
  39190. clearTimeout(this.scrollTimeout);
  39191. }
  39192. if (!this.d_loading && this.showLoader) {
  39193. const { isRangeChanged: changed } = this.onScrollPositionChange(event);
  39194. changed && (this.d_loading = true);
  39195. }
  39196. this.scrollTimeout = setTimeout(() => {
  39197. this.onScrollChange(event);
  39198. if (this.d_loading && this.showLoader && !this.lazy) {
  39199. this.d_loading = false;
  39200. }
  39201. }, this.delay);
  39202. }
  39203. else {
  39204. this.onScrollChange(event);
  39205. }
  39206. },
  39207. getOptions(renderedIndex) {
  39208. const count = (this.items || []).length;
  39209. const index = this.isBoth() ? this.first.rows + renderedIndex : this.first + renderedIndex;
  39210. return {
  39211. index,
  39212. count,
  39213. first: index === 0,
  39214. last: index === (count - 1),
  39215. even: index % 2 === 0,
  39216. odd: index % 2 !== 0
  39217. };
  39218. },
  39219. getLoaderOptions(index, extOptions) {
  39220. let count = this.loaderArr.length;
  39221. return {
  39222. index,
  39223. count,
  39224. first: index === 0,
  39225. last: index === (count - 1),
  39226. even: index % 2 === 0,
  39227. odd: index % 2 !== 0,
  39228. ...extOptions
  39229. }
  39230. },
  39231. elementRef(el) {
  39232. this.element = el;
  39233. },
  39234. contentRef(el) {
  39235. this.content = el;
  39236. }
  39237. },
  39238. computed: {
  39239. containerClass() {
  39240. return ['p-virtualscroller', {
  39241. 'p-both-scroll': this.isBoth(),
  39242. 'p-horizontal-scroll': this.isHorizontal()
  39243. }, this.class];
  39244. },
  39245. contentClass() {
  39246. return ['p-virtualscroller-content', {
  39247. 'p-virtualscroller-loading': this.d_loading
  39248. }];
  39249. },
  39250. loaderClass() {
  39251. return ['p-virtualscroller-loader', {
  39252. 'p-component-overlay': !this.$slots.loader
  39253. }];
  39254. },
  39255. loadedItems() {
  39256. const items = this.items;
  39257. if (items && !this.d_loading) {
  39258. if (this.isBoth()) {
  39259. return items.slice(this.first.rows, this.last.rows).map(item => this.columns ? item : item.slice(this.first.cols, this.last.cols));
  39260. }
  39261. else if (this.isHorizontal() && this.columns)
  39262. return items;
  39263. else
  39264. return items.slice(this.first, this.last);
  39265. }
  39266. return [];
  39267. },
  39268. loadedRows() {
  39269. return this.d_loading ? (this.loaderDisabled ? this.loaderArr : []) : this.loadedItems;
  39270. },
  39271. loadedColumns() {
  39272. if (this.columns) {
  39273. const both = this.isBoth();
  39274. const horizontal = this.isHorizontal();
  39275. if (both || horizontal) {
  39276. return this.d_loading && this.loaderDisabled ?
  39277. (both ? this.loaderArr[0] : this.loaderArr):
  39278. this.columns.slice((both ? this.first.cols : this.first), (both ? this.last.cols : this.last));
  39279. }
  39280. }
  39281. return this.columns;
  39282. }
  39283. }
  39284. };
  39285. const _hoisted_1 = {
  39286. key: 1,
  39287. class: "p-virtualscroller-loading-icon pi pi-spinner pi-spin"
  39288. };
  39289. function render(_ctx, _cache, $props, $setup, $data, $options) {
  39290. return (!$props.disabled)
  39291. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  39292. key: 0,
  39293. ref: $options.elementRef,
  39294. class: $options.containerClass,
  39295. tabindex: 0,
  39296. style: $props.style,
  39297. onScroll: _cache[1] || (_cache[1] = (...args) => ($options.onScroll && $options.onScroll(...args)))
  39298. }, [
  39299. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "content", {
  39300. styleClass: $options.contentClass,
  39301. items: $options.loadedItems,
  39302. getItemOptions: $options.getOptions,
  39303. loading: $data.d_loading,
  39304. getLoaderOptions: $options.getLoaderOptions,
  39305. itemSize: $props.itemSize,
  39306. rows: $options.loadedRows,
  39307. columns: $options.loadedColumns,
  39308. contentRef: $options.contentRef,
  39309. spacerStyle: $data.spacerStyle,
  39310. contentStyle: $data.contentStyle,
  39311. vertical: $options.isVertical(),
  39312. horizontal: $options.isHorizontal(),
  39313. both: $options.isBoth()
  39314. }, () => [
  39315. (0,vue__WEBPACK_IMPORTED_MODULE_0__.createVNode)("div", {
  39316. ref: $options.contentRef,
  39317. class: $options.contentClass,
  39318. style: $data.contentStyle
  39319. }, [
  39320. ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($options.loadedItems, (item, index) => {
  39321. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "item", {
  39322. key: index,
  39323. item: item,
  39324. options: $options.getOptions(index)
  39325. })
  39326. }), 128))
  39327. ], 6)
  39328. ]),
  39329. ($props.showSpacer)
  39330. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  39331. key: 0,
  39332. class: "p-virtualscroller-spacer",
  39333. style: $data.spacerStyle
  39334. }, null, 4))
  39335. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true),
  39336. (!$props.loaderDisabled && $props.showLoader && $data.d_loading)
  39337. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("div", {
  39338. key: 1,
  39339. class: $options.loaderClass
  39340. }, [
  39341. (_ctx.$slots && _ctx.$slots.loader)
  39342. ? ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(true), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: 0 }, (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderList)($data.loaderArr, (_, index) => {
  39343. return (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "loader", {
  39344. key: index,
  39345. options: $options.getLoaderOptions(index, $options.isBoth() && { numCols: _ctx.d_numItemsInViewport.cols })
  39346. })
  39347. }), 128))
  39348. : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)("i", _hoisted_1))
  39349. ], 2))
  39350. : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)("", true)
  39351. ], 38))
  39352. : ((0,vue__WEBPACK_IMPORTED_MODULE_0__.openBlock)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.createBlock)(vue__WEBPACK_IMPORTED_MODULE_0__.Fragment, { key: 1 }, [
  39353. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "default"),
  39354. (0,vue__WEBPACK_IMPORTED_MODULE_0__.renderSlot)(_ctx.$slots, "content", {
  39355. items: $props.items,
  39356. rows: $props.items,
  39357. columns: $options.loadedColumns
  39358. })
  39359. ], 64))
  39360. }
  39361. function styleInject(css, ref) {
  39362. if ( ref === void 0 ) ref = {};
  39363. var insertAt = ref.insertAt;
  39364. if (!css || typeof document === 'undefined') { return; }
  39365. var head = document.head || document.getElementsByTagName('head')[0];
  39366. var style = document.createElement('style');
  39367. style.type = 'text/css';
  39368. if (insertAt === 'top') {
  39369. if (head.firstChild) {
  39370. head.insertBefore(style, head.firstChild);
  39371. } else {
  39372. head.appendChild(style);
  39373. }
  39374. } else {
  39375. head.appendChild(style);
  39376. }
  39377. if (style.styleSheet) {
  39378. style.styleSheet.cssText = css;
  39379. } else {
  39380. style.appendChild(document.createTextNode(css));
  39381. }
  39382. }
  39383. var css_248z = "\n.p-virtualscroller {\n position: relative;\n overflow: auto;\n contain: strict;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n will-change: scroll-position;\n outline: 0 none;\n}\n.p-virtualscroller-content {\n position: absolute;\n top: 0;\n left: 0;\n contain: content;\n min-height: 100%;\n min-width: 100%;\n will-change: transform;\n}\n.p-virtualscroller-spacer {\n position: absolute;\n top: 0;\n left: 0;\n height: 1px;\n width: 1px;\n -webkit-transform-origin: 0 0;\n transform-origin: 0 0;\n pointer-events: none;\n}\n.p-virtualscroller .p-virtualscroller-loader {\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n.p-virtualscroller-loader.p-component-overlay {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n";
  39384. styleInject(css_248z);
  39385. script.render = render;
  39386. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (script);
  39387. /***/ }),
  39388. /***/ "./node_modules/process/browser.js":
  39389. /*!*****************************************!*\
  39390. !*** ./node_modules/process/browser.js ***!
  39391. \*****************************************/
  39392. /***/ ((module) => {
  39393. // shim for using process in browser
  39394. var process = module.exports = {};
  39395. // cached from whatever global is present so that test runners that stub it
  39396. // don't break things. But we need to wrap it in a try catch in case it is
  39397. // wrapped in strict mode code which doesn't define any globals. It's inside a
  39398. // function because try/catches deoptimize in certain engines.
  39399. var cachedSetTimeout;
  39400. var cachedClearTimeout;
  39401. function defaultSetTimout() {
  39402. throw new Error('setTimeout has not been defined');
  39403. }
  39404. function defaultClearTimeout () {
  39405. throw new Error('clearTimeout has not been defined');
  39406. }
  39407. (function () {
  39408. try {
  39409. if (typeof setTimeout === 'function') {
  39410. cachedSetTimeout = setTimeout;
  39411. } else {
  39412. cachedSetTimeout = defaultSetTimout;
  39413. }
  39414. } catch (e) {
  39415. cachedSetTimeout = defaultSetTimout;
  39416. }
  39417. try {
  39418. if (typeof clearTimeout === 'function') {
  39419. cachedClearTimeout = clearTimeout;
  39420. } else {
  39421. cachedClearTimeout = defaultClearTimeout;
  39422. }
  39423. } catch (e) {
  39424. cachedClearTimeout = defaultClearTimeout;
  39425. }
  39426. } ())
  39427. function runTimeout(fun) {
  39428. if (cachedSetTimeout === setTimeout) {
  39429. //normal enviroments in sane situations
  39430. return setTimeout(fun, 0);
  39431. }
  39432. // if setTimeout wasn't available but was latter defined
  39433. if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
  39434. cachedSetTimeout = setTimeout;
  39435. return setTimeout(fun, 0);
  39436. }
  39437. try {
  39438. // when when somebody has screwed with setTimeout but no I.E. maddness
  39439. return cachedSetTimeout(fun, 0);
  39440. } catch(e){
  39441. try {
  39442. // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
  39443. return cachedSetTimeout.call(null, fun, 0);
  39444. } catch(e){
  39445. // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
  39446. return cachedSetTimeout.call(this, fun, 0);
  39447. }
  39448. }
  39449. }
  39450. function runClearTimeout(marker) {
  39451. if (cachedClearTimeout === clearTimeout) {
  39452. //normal enviroments in sane situations
  39453. return clearTimeout(marker);
  39454. }
  39455. // if clearTimeout wasn't available but was latter defined
  39456. if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
  39457. cachedClearTimeout = clearTimeout;
  39458. return clearTimeout(marker);
  39459. }
  39460. try {
  39461. // when when somebody has screwed with setTimeout but no I.E. maddness
  39462. return cachedClearTimeout(marker);
  39463. } catch (e){
  39464. try {
  39465. // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
  39466. return cachedClearTimeout.call(null, marker);
  39467. } catch (e){
  39468. // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
  39469. // Some versions of I.E. have different rules for clearTimeout vs setTimeout
  39470. return cachedClearTimeout.call(this, marker);
  39471. }
  39472. }
  39473. }
  39474. var queue = [];
  39475. var draining = false;
  39476. var currentQueue;
  39477. var queueIndex = -1;
  39478. function cleanUpNextTick() {
  39479. if (!draining || !currentQueue) {
  39480. return;
  39481. }
  39482. draining = false;
  39483. if (currentQueue.length) {
  39484. queue = currentQueue.concat(queue);
  39485. } else {
  39486. queueIndex = -1;
  39487. }
  39488. if (queue.length) {
  39489. drainQueue();
  39490. }
  39491. }
  39492. function drainQueue() {
  39493. if (draining) {
  39494. return;
  39495. }
  39496. var timeout = runTimeout(cleanUpNextTick);
  39497. draining = true;
  39498. var len = queue.length;
  39499. while(len) {
  39500. currentQueue = queue;
  39501. queue = [];
  39502. while (++queueIndex < len) {
  39503. if (currentQueue) {
  39504. currentQueue[queueIndex].run();
  39505. }
  39506. }
  39507. queueIndex = -1;
  39508. len = queue.length;
  39509. }
  39510. currentQueue = null;
  39511. draining = false;
  39512. runClearTimeout(timeout);
  39513. }
  39514. process.nextTick = function (fun) {
  39515. var args = new Array(arguments.length - 1);
  39516. if (arguments.length > 1) {
  39517. for (var i = 1; i < arguments.length; i++) {
  39518. args[i - 1] = arguments[i];
  39519. }
  39520. }
  39521. queue.push(new Item(fun, args));
  39522. if (queue.length === 1 && !draining) {
  39523. runTimeout(drainQueue);
  39524. }
  39525. };
  39526. // v8 likes predictible objects
  39527. function Item(fun, array) {
  39528. this.fun = fun;
  39529. this.array = array;
  39530. }
  39531. Item.prototype.run = function () {
  39532. this.fun.apply(null, this.array);
  39533. };
  39534. process.title = 'browser';
  39535. process.browser = true;
  39536. process.env = {};
  39537. process.argv = [];
  39538. process.version = ''; // empty string to avoid regexp issues
  39539. process.versions = {};
  39540. function noop() {}
  39541. process.on = noop;
  39542. process.addListener = noop;
  39543. process.once = noop;
  39544. process.off = noop;
  39545. process.removeListener = noop;
  39546. process.removeAllListeners = noop;
  39547. process.emit = noop;
  39548. process.prependListener = noop;
  39549. process.prependOnceListener = noop;
  39550. process.listeners = function (name) { return [] }
  39551. process.binding = function (name) {
  39552. throw new Error('process.binding is not supported');
  39553. };
  39554. process.cwd = function () { return '/' };
  39555. process.chdir = function (dir) {
  39556. throw new Error('process.chdir is not supported');
  39557. };
  39558. process.umask = function() { return 0; };
  39559. /***/ }),
  39560. /***/ "./node_modules/side-channel/index.js":
  39561. /*!********************************************!*\
  39562. !*** ./node_modules/side-channel/index.js ***!
  39563. \********************************************/
  39564. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  39565. "use strict";
  39566. var GetIntrinsic = __webpack_require__(/*! get-intrinsic */ "./node_modules/get-intrinsic/index.js");
  39567. var callBound = __webpack_require__(/*! call-bind/callBound */ "./node_modules/call-bind/callBound.js");
  39568. var inspect = __webpack_require__(/*! object-inspect */ "./node_modules/object-inspect/index.js");
  39569. var $TypeError = GetIntrinsic('%TypeError%');
  39570. var $WeakMap = GetIntrinsic('%WeakMap%', true);
  39571. var $Map = GetIntrinsic('%Map%', true);
  39572. var $weakMapGet = callBound('WeakMap.prototype.get', true);
  39573. var $weakMapSet = callBound('WeakMap.prototype.set', true);
  39574. var $weakMapHas = callBound('WeakMap.prototype.has', true);
  39575. var $mapGet = callBound('Map.prototype.get', true);
  39576. var $mapSet = callBound('Map.prototype.set', true);
  39577. var $mapHas = callBound('Map.prototype.has', true);
  39578. /*
  39579. * This function traverses the list returning the node corresponding to the
  39580. * given key.
  39581. *
  39582. * That node is also moved to the head of the list, so that if it's accessed
  39583. * again we don't need to traverse the whole list. By doing so, all the recently
  39584. * used nodes can be accessed relatively quickly.
  39585. */
  39586. var listGetNode = function (list, key) { // eslint-disable-line consistent-return
  39587. for (var prev = list, curr; (curr = prev.next) !== null; prev = curr) {
  39588. if (curr.key === key) {
  39589. prev.next = curr.next;
  39590. curr.next = list.next;
  39591. list.next = curr; // eslint-disable-line no-param-reassign
  39592. return curr;
  39593. }
  39594. }
  39595. };
  39596. var listGet = function (objects, key) {
  39597. var node = listGetNode(objects, key);
  39598. return node && node.value;
  39599. };
  39600. var listSet = function (objects, key, value) {
  39601. var node = listGetNode(objects, key);
  39602. if (node) {
  39603. node.value = value;
  39604. } else {
  39605. // Prepend the new node to the beginning of the list
  39606. objects.next = { // eslint-disable-line no-param-reassign
  39607. key: key,
  39608. next: objects.next,
  39609. value: value
  39610. };
  39611. }
  39612. };
  39613. var listHas = function (objects, key) {
  39614. return !!listGetNode(objects, key);
  39615. };
  39616. module.exports = function getSideChannel() {
  39617. var $wm;
  39618. var $m;
  39619. var $o;
  39620. var channel = {
  39621. assert: function (key) {
  39622. if (!channel.has(key)) {
  39623. throw new $TypeError('Side channel does not contain ' + inspect(key));
  39624. }
  39625. },
  39626. get: function (key) { // eslint-disable-line consistent-return
  39627. if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
  39628. if ($wm) {
  39629. return $weakMapGet($wm, key);
  39630. }
  39631. } else if ($Map) {
  39632. if ($m) {
  39633. return $mapGet($m, key);
  39634. }
  39635. } else {
  39636. if ($o) { // eslint-disable-line no-lonely-if
  39637. return listGet($o, key);
  39638. }
  39639. }
  39640. },
  39641. has: function (key) {
  39642. if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
  39643. if ($wm) {
  39644. return $weakMapHas($wm, key);
  39645. }
  39646. } else if ($Map) {
  39647. if ($m) {
  39648. return $mapHas($m, key);
  39649. }
  39650. } else {
  39651. if ($o) { // eslint-disable-line no-lonely-if
  39652. return listHas($o, key);
  39653. }
  39654. }
  39655. return false;
  39656. },
  39657. set: function (key, value) {
  39658. if ($WeakMap && key && (typeof key === 'object' || typeof key === 'function')) {
  39659. if (!$wm) {
  39660. $wm = new $WeakMap();
  39661. }
  39662. $weakMapSet($wm, key, value);
  39663. } else if ($Map) {
  39664. if (!$m) {
  39665. $m = new $Map();
  39666. }
  39667. $mapSet($m, key, value);
  39668. } else {
  39669. if (!$o) {
  39670. /*
  39671. * Initialize the linked list as an empty node, so that we don't have
  39672. * to special-case handling of the first node: we can always refer to
  39673. * it as (previous node).next, instead of something like (list).head
  39674. */
  39675. $o = { key: {}, next: null };
  39676. }
  39677. listSet($o, key, value);
  39678. }
  39679. }
  39680. };
  39681. return channel;
  39682. };
  39683. /***/ }),
  39684. /***/ "./resources/js/assets/styles/layout.scss":
  39685. /*!************************************************!*\
  39686. !*** ./resources/js/assets/styles/layout.scss ***!
  39687. \************************************************/
  39688. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  39689. "use strict";
  39690. __webpack_require__.r(__webpack_exports__);
  39691. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  39692. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  39693. /* harmony export */ });
  39694. /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  39695. /* harmony import */ var _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  39696. /* harmony import */ var _node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_use_3_layout_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./layout.scss */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-11.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-11.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-11.use[3]!./resources/js/assets/styles/layout.scss");
  39697. var options = {};
  39698. options.insert = "head";
  39699. options.singleton = false;
  39700. var update = _node_modules_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_use_3_layout_scss__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  39701. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_node_modules_css_loader_dist_cjs_js_clonedRuleSet_11_use_1_node_modules_postcss_loader_dist_cjs_js_clonedRuleSet_11_use_2_node_modules_sass_loader_dist_cjs_js_clonedRuleSet_11_use_3_layout_scss__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  39702. /***/ }),
  39703. /***/ "./node_modules/primeflex/primeflex.css":
  39704. /*!**********************************************!*\
  39705. !*** ./node_modules/primeflex/primeflex.css ***!
  39706. \**********************************************/
  39707. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  39708. "use strict";
  39709. __webpack_require__.r(__webpack_exports__);
  39710. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  39711. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  39712. /* harmony export */ });
  39713. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  39714. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  39715. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeflex_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./primeflex.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeflex/primeflex.css");
  39716. var options = {};
  39717. options.insert = "head";
  39718. options.singleton = false;
  39719. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeflex_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  39720. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeflex_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  39721. /***/ }),
  39722. /***/ "./node_modules/primeicons/primeicons.css":
  39723. /*!************************************************!*\
  39724. !*** ./node_modules/primeicons/primeicons.css ***!
  39725. \************************************************/
  39726. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  39727. "use strict";
  39728. __webpack_require__.r(__webpack_exports__);
  39729. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  39730. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  39731. /* harmony export */ });
  39732. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  39733. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  39734. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeicons_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./primeicons.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primeicons/primeicons.css");
  39735. var options = {};
  39736. options.insert = "head";
  39737. options.singleton = false;
  39738. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeicons_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  39739. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primeicons_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  39740. /***/ }),
  39741. /***/ "./node_modules/primevue/resources/primevue.min.css":
  39742. /*!**********************************************************!*\
  39743. !*** ./node_modules/primevue/resources/primevue.min.css ***!
  39744. \**********************************************************/
  39745. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  39746. "use strict";
  39747. __webpack_require__.r(__webpack_exports__);
  39748. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  39749. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  39750. /* harmony export */ });
  39751. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  39752. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  39753. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./primevue.min.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/primevue.min.css");
  39754. var options = {};
  39755. options.insert = "head";
  39756. options.singleton = false;
  39757. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  39758. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  39759. /***/ }),
  39760. /***/ "./node_modules/primevue/resources/themes/tailwind-light/theme.css":
  39761. /*!*************************************************************************!*\
  39762. !*** ./node_modules/primevue/resources/themes/tailwind-light/theme.css ***!
  39763. \*************************************************************************/
  39764. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  39765. "use strict";
  39766. __webpack_require__.r(__webpack_exports__);
  39767. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  39768. /* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
  39769. /* harmony export */ });
  39770. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../../../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
  39771. /* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
  39772. /* harmony import */ var _css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_theme_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !!../../../../css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!../../../../postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./theme.css */ "./node_modules/css-loader/dist/cjs.js??clonedRuleSet-8.use[1]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-8.use[2]!./node_modules/primevue/resources/themes/tailwind-light/theme.css");
  39773. var options = {};
  39774. options.insert = "head";
  39775. options.singleton = false;
  39776. var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_theme_css__WEBPACK_IMPORTED_MODULE_1__["default"], options);
  39777. /* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_clonedRuleSet_8_use_1_postcss_loader_dist_cjs_js_clonedRuleSet_8_use_2_theme_css__WEBPACK_IMPORTED_MODULE_1__["default"].locals || {});
  39778. /***/ }),
  39779. /***/ "./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":
  39780. /*!****************************************************************************!*\
  39781. !*** ./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
  39782. \****************************************************************************/
  39783. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  39784. "use strict";
  39785. var isOldIE = function isOldIE() {
  39786. var memo;
  39787. return function memorize() {
  39788. if (typeof memo === 'undefined') {
  39789. // Test for IE <= 9 as proposed by Browserhacks
  39790. // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
  39791. // Tests for existence of standard globals is to allow style-loader
  39792. // to operate correctly into non-standard environments
  39793. // @see https://github.com/webpack-contrib/style-loader/issues/177
  39794. memo = Boolean(window && document && document.all && !window.atob);
  39795. }
  39796. return memo;
  39797. };
  39798. }();
  39799. var getTarget = function getTarget() {
  39800. var memo = {};
  39801. return function memorize(target) {
  39802. if (typeof memo[target] === 'undefined') {
  39803. var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself
  39804. if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
  39805. try {
  39806. // This will throw an exception if access to iframe is blocked
  39807. // due to cross-origin restrictions
  39808. styleTarget = styleTarget.contentDocument.head;
  39809. } catch (e) {
  39810. // istanbul ignore next
  39811. styleTarget = null;
  39812. }
  39813. }
  39814. memo[target] = styleTarget;
  39815. }
  39816. return memo[target];
  39817. };
  39818. }();
  39819. var stylesInDom = [];
  39820. function getIndexByIdentifier(identifier) {
  39821. var result = -1;
  39822. for (var i = 0; i < stylesInDom.length; i++) {
  39823. if (stylesInDom[i].identifier === identifier) {
  39824. result = i;
  39825. break;
  39826. }
  39827. }
  39828. return result;
  39829. }
  39830. function modulesToDom(list, options) {
  39831. var idCountMap = {};
  39832. var identifiers = [];
  39833. for (var i = 0; i < list.length; i++) {
  39834. var item = list[i];
  39835. var id = options.base ? item[0] + options.base : item[0];
  39836. var count = idCountMap[id] || 0;
  39837. var identifier = "".concat(id, " ").concat(count);
  39838. idCountMap[id] = count + 1;
  39839. var index = getIndexByIdentifier(identifier);
  39840. var obj = {
  39841. css: item[1],
  39842. media: item[2],
  39843. sourceMap: item[3]
  39844. };
  39845. if (index !== -1) {
  39846. stylesInDom[index].references++;
  39847. stylesInDom[index].updater(obj);
  39848. } else {
  39849. stylesInDom.push({
  39850. identifier: identifier,
  39851. updater: addStyle(obj, options),
  39852. references: 1
  39853. });
  39854. }
  39855. identifiers.push(identifier);
  39856. }
  39857. return identifiers;
  39858. }
  39859. function insertStyleElement(options) {
  39860. var style = document.createElement('style');
  39861. var attributes = options.attributes || {};
  39862. if (typeof attributes.nonce === 'undefined') {
  39863. var nonce = true ? __webpack_require__.nc : 0;
  39864. if (nonce) {
  39865. attributes.nonce = nonce;
  39866. }
  39867. }
  39868. Object.keys(attributes).forEach(function (key) {
  39869. style.setAttribute(key, attributes[key]);
  39870. });
  39871. if (typeof options.insert === 'function') {
  39872. options.insert(style);
  39873. } else {
  39874. var target = getTarget(options.insert || 'head');
  39875. if (!target) {
  39876. throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
  39877. }
  39878. target.appendChild(style);
  39879. }
  39880. return style;
  39881. }
  39882. function removeStyleElement(style) {
  39883. // istanbul ignore if
  39884. if (style.parentNode === null) {
  39885. return false;
  39886. }
  39887. style.parentNode.removeChild(style);
  39888. }
  39889. /* istanbul ignore next */
  39890. var replaceText = function replaceText() {
  39891. var textStore = [];
  39892. return function replace(index, replacement) {
  39893. textStore[index] = replacement;
  39894. return textStore.filter(Boolean).join('\n');
  39895. };
  39896. }();
  39897. function applyToSingletonTag(style, index, remove, obj) {
  39898. var css = remove ? '' : obj.media ? "@media ".concat(obj.media, " {").concat(obj.css, "}") : obj.css; // For old IE
  39899. /* istanbul ignore if */
  39900. if (style.styleSheet) {
  39901. style.styleSheet.cssText = replaceText(index, css);
  39902. } else {
  39903. var cssNode = document.createTextNode(css);
  39904. var childNodes = style.childNodes;
  39905. if (childNodes[index]) {
  39906. style.removeChild(childNodes[index]);
  39907. }
  39908. if (childNodes.length) {
  39909. style.insertBefore(cssNode, childNodes[index]);
  39910. } else {
  39911. style.appendChild(cssNode);
  39912. }
  39913. }
  39914. }
  39915. function applyToTag(style, options, obj) {
  39916. var css = obj.css;
  39917. var media = obj.media;
  39918. var sourceMap = obj.sourceMap;
  39919. if (media) {
  39920. style.setAttribute('media', media);
  39921. } else {
  39922. style.removeAttribute('media');
  39923. }
  39924. if (sourceMap && typeof btoa !== 'undefined') {
  39925. css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
  39926. } // For old IE
  39927. /* istanbul ignore if */
  39928. if (style.styleSheet) {
  39929. style.styleSheet.cssText = css;
  39930. } else {
  39931. while (style.firstChild) {
  39932. style.removeChild(style.firstChild);
  39933. }
  39934. style.appendChild(document.createTextNode(css));
  39935. }
  39936. }
  39937. var singleton = null;
  39938. var singletonCounter = 0;
  39939. function addStyle(obj, options) {
  39940. var style;
  39941. var update;
  39942. var remove;
  39943. if (options.singleton) {
  39944. var styleIndex = singletonCounter++;
  39945. style = singleton || (singleton = insertStyleElement(options));
  39946. update = applyToSingletonTag.bind(null, style, styleIndex, false);
  39947. remove = applyToSingletonTag.bind(null, style, styleIndex, true);
  39948. } else {
  39949. style = insertStyleElement(options);
  39950. update = applyToTag.bind(null, style, options);
  39951. remove = function remove() {
  39952. removeStyleElement(style);
  39953. };
  39954. }
  39955. update(obj);
  39956. return function updateStyle(newObj) {
  39957. if (newObj) {
  39958. if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {
  39959. return;
  39960. }
  39961. update(obj = newObj);
  39962. } else {
  39963. remove();
  39964. }
  39965. };
  39966. }
  39967. module.exports = function (list, options) {
  39968. options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
  39969. // tags it will allow on a page
  39970. if (!options.singleton && typeof options.singleton !== 'boolean') {
  39971. options.singleton = isOldIE();
  39972. }
  39973. list = list || [];
  39974. var lastIdentifiers = modulesToDom(list, options);
  39975. return function update(newList) {
  39976. newList = newList || [];
  39977. if (Object.prototype.toString.call(newList) !== '[object Array]') {
  39978. return;
  39979. }
  39980. for (var i = 0; i < lastIdentifiers.length; i++) {
  39981. var identifier = lastIdentifiers[i];
  39982. var index = getIndexByIdentifier(identifier);
  39983. stylesInDom[index].references--;
  39984. }
  39985. var newLastIdentifiers = modulesToDom(newList, options);
  39986. for (var _i = 0; _i < lastIdentifiers.length; _i++) {
  39987. var _identifier = lastIdentifiers[_i];
  39988. var _index = getIndexByIdentifier(_identifier);
  39989. if (stylesInDom[_index].references === 0) {
  39990. stylesInDom[_index].updater();
  39991. stylesInDom.splice(_index, 1);
  39992. }
  39993. }
  39994. lastIdentifiers = newLastIdentifiers;
  39995. };
  39996. };
  39997. /***/ }),
  39998. /***/ "./node_modules/vue/dist/vue.esm-bundler.js":
  39999. /*!**************************************************!*\
  40000. !*** ./node_modules/vue/dist/vue.esm-bundler.js ***!
  40001. \**************************************************/
  40002. /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
  40003. "use strict";
  40004. __webpack_require__.r(__webpack_exports__);
  40005. /* harmony export */ __webpack_require__.d(__webpack_exports__, {
  40006. /* harmony export */ "BaseTransition": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.BaseTransition),
  40007. /* harmony export */ "Comment": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Comment),
  40008. /* harmony export */ "EffectScope": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.EffectScope),
  40009. /* harmony export */ "Fragment": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Fragment),
  40010. /* harmony export */ "KeepAlive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.KeepAlive),
  40011. /* harmony export */ "ReactiveEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ReactiveEffect),
  40012. /* harmony export */ "Static": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Static),
  40013. /* harmony export */ "Suspense": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Suspense),
  40014. /* harmony export */ "Teleport": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Teleport),
  40015. /* harmony export */ "Text": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Text),
  40016. /* harmony export */ "Transition": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.Transition),
  40017. /* harmony export */ "TransitionGroup": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.TransitionGroup),
  40018. /* harmony export */ "VueElement": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.VueElement),
  40019. /* harmony export */ "callWithAsyncErrorHandling": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.callWithAsyncErrorHandling),
  40020. /* harmony export */ "callWithErrorHandling": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.callWithErrorHandling),
  40021. /* harmony export */ "camelize": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.camelize),
  40022. /* harmony export */ "capitalize": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.capitalize),
  40023. /* harmony export */ "cloneVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.cloneVNode),
  40024. /* harmony export */ "compatUtils": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.compatUtils),
  40025. /* harmony export */ "computed": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.computed),
  40026. /* harmony export */ "createApp": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createApp),
  40027. /* harmony export */ "createBlock": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createBlock),
  40028. /* harmony export */ "createCommentVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode),
  40029. /* harmony export */ "createElementBlock": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createElementBlock),
  40030. /* harmony export */ "createElementVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createElementVNode),
  40031. /* harmony export */ "createHydrationRenderer": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createHydrationRenderer),
  40032. /* harmony export */ "createPropsRestProxy": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createPropsRestProxy),
  40033. /* harmony export */ "createRenderer": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createRenderer),
  40034. /* harmony export */ "createSSRApp": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createSSRApp),
  40035. /* harmony export */ "createSlots": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createSlots),
  40036. /* harmony export */ "createStaticVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createStaticVNode),
  40037. /* harmony export */ "createTextVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createTextVNode),
  40038. /* harmony export */ "createVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.createVNode),
  40039. /* harmony export */ "customRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.customRef),
  40040. /* harmony export */ "defineAsyncComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineAsyncComponent),
  40041. /* harmony export */ "defineComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineComponent),
  40042. /* harmony export */ "defineCustomElement": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineCustomElement),
  40043. /* harmony export */ "defineEmits": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineEmits),
  40044. /* harmony export */ "defineExpose": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineExpose),
  40045. /* harmony export */ "defineProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineProps),
  40046. /* harmony export */ "defineSSRCustomElement": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.defineSSRCustomElement),
  40047. /* harmony export */ "devtools": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.devtools),
  40048. /* harmony export */ "effect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.effect),
  40049. /* harmony export */ "effectScope": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.effectScope),
  40050. /* harmony export */ "getCurrentInstance": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getCurrentInstance),
  40051. /* harmony export */ "getCurrentScope": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getCurrentScope),
  40052. /* harmony export */ "getTransitionRawChildren": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.getTransitionRawChildren),
  40053. /* harmony export */ "guardReactiveProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.guardReactiveProps),
  40054. /* harmony export */ "h": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.h),
  40055. /* harmony export */ "handleError": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.handleError),
  40056. /* harmony export */ "hydrate": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.hydrate),
  40057. /* harmony export */ "initCustomFormatter": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.initCustomFormatter),
  40058. /* harmony export */ "initDirectivesForSSR": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.initDirectivesForSSR),
  40059. /* harmony export */ "inject": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.inject),
  40060. /* harmony export */ "isMemoSame": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isMemoSame),
  40061. /* harmony export */ "isProxy": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isProxy),
  40062. /* harmony export */ "isReactive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isReactive),
  40063. /* harmony export */ "isReadonly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isReadonly),
  40064. /* harmony export */ "isRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isRef),
  40065. /* harmony export */ "isRuntimeOnly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isRuntimeOnly),
  40066. /* harmony export */ "isShallow": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isShallow),
  40067. /* harmony export */ "isVNode": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.isVNode),
  40068. /* harmony export */ "markRaw": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.markRaw),
  40069. /* harmony export */ "mergeDefaults": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.mergeDefaults),
  40070. /* harmony export */ "mergeProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.mergeProps),
  40071. /* harmony export */ "nextTick": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.nextTick),
  40072. /* harmony export */ "normalizeClass": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeClass),
  40073. /* harmony export */ "normalizeProps": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeProps),
  40074. /* harmony export */ "normalizeStyle": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.normalizeStyle),
  40075. /* harmony export */ "onActivated": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onActivated),
  40076. /* harmony export */ "onBeforeMount": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeMount),
  40077. /* harmony export */ "onBeforeUnmount": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeUnmount),
  40078. /* harmony export */ "onBeforeUpdate": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onBeforeUpdate),
  40079. /* harmony export */ "onDeactivated": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onDeactivated),
  40080. /* harmony export */ "onErrorCaptured": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onErrorCaptured),
  40081. /* harmony export */ "onMounted": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onMounted),
  40082. /* harmony export */ "onRenderTracked": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onRenderTracked),
  40083. /* harmony export */ "onRenderTriggered": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onRenderTriggered),
  40084. /* harmony export */ "onScopeDispose": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onScopeDispose),
  40085. /* harmony export */ "onServerPrefetch": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onServerPrefetch),
  40086. /* harmony export */ "onUnmounted": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onUnmounted),
  40087. /* harmony export */ "onUpdated": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.onUpdated),
  40088. /* harmony export */ "openBlock": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.openBlock),
  40089. /* harmony export */ "popScopeId": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.popScopeId),
  40090. /* harmony export */ "provide": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.provide),
  40091. /* harmony export */ "proxyRefs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.proxyRefs),
  40092. /* harmony export */ "pushScopeId": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.pushScopeId),
  40093. /* harmony export */ "queuePostFlushCb": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.queuePostFlushCb),
  40094. /* harmony export */ "reactive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.reactive),
  40095. /* harmony export */ "readonly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.readonly),
  40096. /* harmony export */ "ref": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ref),
  40097. /* harmony export */ "registerRuntimeCompiler": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.registerRuntimeCompiler),
  40098. /* harmony export */ "render": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.render),
  40099. /* harmony export */ "renderList": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.renderList),
  40100. /* harmony export */ "renderSlot": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.renderSlot),
  40101. /* harmony export */ "resolveComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveComponent),
  40102. /* harmony export */ "resolveDirective": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveDirective),
  40103. /* harmony export */ "resolveDynamicComponent": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveDynamicComponent),
  40104. /* harmony export */ "resolveFilter": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveFilter),
  40105. /* harmony export */ "resolveTransitionHooks": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.resolveTransitionHooks),
  40106. /* harmony export */ "setBlockTracking": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setBlockTracking),
  40107. /* harmony export */ "setDevtoolsHook": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setDevtoolsHook),
  40108. /* harmony export */ "setTransitionHooks": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.setTransitionHooks),
  40109. /* harmony export */ "shallowReactive": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowReactive),
  40110. /* harmony export */ "shallowReadonly": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowReadonly),
  40111. /* harmony export */ "shallowRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.shallowRef),
  40112. /* harmony export */ "ssrContextKey": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ssrContextKey),
  40113. /* harmony export */ "ssrUtils": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.ssrUtils),
  40114. /* harmony export */ "stop": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.stop),
  40115. /* harmony export */ "toDisplayString": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toDisplayString),
  40116. /* harmony export */ "toHandlerKey": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toHandlerKey),
  40117. /* harmony export */ "toHandlers": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toHandlers),
  40118. /* harmony export */ "toRaw": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRaw),
  40119. /* harmony export */ "toRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRef),
  40120. /* harmony export */ "toRefs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.toRefs),
  40121. /* harmony export */ "transformVNodeArgs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.transformVNodeArgs),
  40122. /* harmony export */ "triggerRef": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.triggerRef),
  40123. /* harmony export */ "unref": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.unref),
  40124. /* harmony export */ "useAttrs": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useAttrs),
  40125. /* harmony export */ "useCssModule": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useCssModule),
  40126. /* harmony export */ "useCssVars": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useCssVars),
  40127. /* harmony export */ "useSSRContext": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useSSRContext),
  40128. /* harmony export */ "useSlots": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useSlots),
  40129. /* harmony export */ "useTransitionState": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.useTransitionState),
  40130. /* harmony export */ "vModelCheckbox": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelCheckbox),
  40131. /* harmony export */ "vModelDynamic": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelDynamic),
  40132. /* harmony export */ "vModelRadio": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelRadio),
  40133. /* harmony export */ "vModelSelect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelSelect),
  40134. /* harmony export */ "vModelText": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vModelText),
  40135. /* harmony export */ "vShow": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.vShow),
  40136. /* harmony export */ "version": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.version),
  40137. /* harmony export */ "warn": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.warn),
  40138. /* harmony export */ "watch": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watch),
  40139. /* harmony export */ "watchEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchEffect),
  40140. /* harmony export */ "watchPostEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchPostEffect),
  40141. /* harmony export */ "watchSyncEffect": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.watchSyncEffect),
  40142. /* harmony export */ "withAsyncContext": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withAsyncContext),
  40143. /* harmony export */ "withCtx": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withCtx),
  40144. /* harmony export */ "withDefaults": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withDefaults),
  40145. /* harmony export */ "withDirectives": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withDirectives),
  40146. /* harmony export */ "withKeys": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withKeys),
  40147. /* harmony export */ "withMemo": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withMemo),
  40148. /* harmony export */ "withModifiers": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withModifiers),
  40149. /* harmony export */ "withScopeId": () => (/* reexport safe */ _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__.withScopeId),
  40150. /* harmony export */ "compile": () => (/* binding */ compileToFunction)
  40151. /* harmony export */ });
  40152. /* harmony import */ var _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @vue/runtime-dom */ "./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js");
  40153. /* harmony import */ var _vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @vue/runtime-dom */ "./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js");
  40154. /* harmony import */ var _vue_compiler_dom__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @vue/compiler-dom */ "./node_modules/@vue/compiler-dom/dist/compiler-dom.esm-bundler.js");
  40155. /* harmony import */ var _vue_shared__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @vue/shared */ "./node_modules/@vue/shared/dist/shared.esm-bundler.js");
  40156. function initDev() {
  40157. {
  40158. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.initCustomFormatter)();
  40159. }
  40160. }
  40161. // This entry is the "full-build" that includes both the runtime
  40162. if ((true)) {
  40163. initDev();
  40164. }
  40165. const compileCache = Object.create(null);
  40166. function compileToFunction(template, options) {
  40167. if (!(0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.isString)(template)) {
  40168. if (template.nodeType) {
  40169. template = template.innerHTML;
  40170. }
  40171. else {
  40172. ( true) && (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.warn)(`invalid template option: `, template);
  40173. return _vue_shared__WEBPACK_IMPORTED_MODULE_1__.NOOP;
  40174. }
  40175. }
  40176. const key = template;
  40177. const cached = compileCache[key];
  40178. if (cached) {
  40179. return cached;
  40180. }
  40181. if (template[0] === '#') {
  40182. const el = document.querySelector(template);
  40183. if (( true) && !el) {
  40184. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.warn)(`Template element not found or is empty: ${template}`);
  40185. }
  40186. // __UNSAFE__
  40187. // Reason: potential execution of JS expressions in in-DOM template.
  40188. // The user must make sure the in-DOM template is trusted. If it's rendered
  40189. // by the server, the template should not contain any user data.
  40190. template = el ? el.innerHTML : ``;
  40191. }
  40192. const { code } = (0,_vue_compiler_dom__WEBPACK_IMPORTED_MODULE_3__.compile)(template, (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.extend)({
  40193. hoistStatic: true,
  40194. onError: ( true) ? onError : 0,
  40195. onWarn: ( true) ? e => onError(e, true) : 0
  40196. }, options));
  40197. function onError(err, asWarning = false) {
  40198. const message = asWarning
  40199. ? err.message
  40200. : `Template compilation error: ${err.message}`;
  40201. const codeFrame = err.loc &&
  40202. (0,_vue_shared__WEBPACK_IMPORTED_MODULE_1__.generateCodeFrame)(template, err.loc.start.offset, err.loc.end.offset);
  40203. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.warn)(codeFrame ? `${message}\n${codeFrame}` : message);
  40204. }
  40205. // The wildcard import results in a huge object with every export
  40206. // with keys that cannot be mangled, and can be quite heavy size-wise.
  40207. // In the global build we know `Vue` is available globally so we can avoid
  40208. // the wildcard object.
  40209. const render = (new Function('Vue', code)(_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_0__));
  40210. render._rc = true;
  40211. return (compileCache[key] = render);
  40212. }
  40213. (0,_vue_runtime_dom__WEBPACK_IMPORTED_MODULE_2__.registerRuntimeCompiler)(compileToFunction);
  40214. /***/ }),
  40215. /***/ "./resources/js/pages lazy recursive ^\\.\\/.*$":
  40216. /*!************************************************************!*\
  40217. !*** ./resources/js/pages/ lazy ^\.\/.*$ namespace object ***!
  40218. \************************************************************/
  40219. /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
  40220. var map = {
  40221. "./Access": [
  40222. "./resources/js/pages/Access.vue",
  40223. "resources_js_pages_Access_vue"
  40224. ],
  40225. "./Access.vue": [
  40226. "./resources/js/pages/Access.vue",
  40227. "resources_js_pages_Access_vue"
  40228. ],
  40229. "./auth/ForgotPassword": [
  40230. "./resources/js/pages/auth/ForgotPassword.vue",
  40231. "resources_js_pages_auth_ForgotPassword_vue"
  40232. ],
  40233. "./auth/ForgotPassword.vue": [
  40234. "./resources/js/pages/auth/ForgotPassword.vue",
  40235. "resources_js_pages_auth_ForgotPassword_vue"
  40236. ],
  40237. "./auth/Login": [
  40238. "./resources/js/pages/auth/Login.vue",
  40239. "resources_js_pages_auth_Login_vue"
  40240. ],
  40241. "./auth/Login.vue": [
  40242. "./resources/js/pages/auth/Login.vue",
  40243. "resources_js_pages_auth_Login_vue"
  40244. ],
  40245. "./auth/ResetPassword": [
  40246. "./resources/js/pages/auth/ResetPassword.vue",
  40247. "resources_js_pages_auth_ResetPassword_vue"
  40248. ],
  40249. "./auth/ResetPassword.vue": [
  40250. "./resources/js/pages/auth/ResetPassword.vue",
  40251. "resources_js_pages_auth_ResetPassword_vue"
  40252. ],
  40253. "./auth/VerifyEmail": [
  40254. "./resources/js/pages/auth/VerifyEmail.vue",
  40255. "resources_js_pages_auth_VerifyEmail_vue"
  40256. ],
  40257. "./auth/VerifyEmail.vue": [
  40258. "./resources/js/pages/auth/VerifyEmail.vue",
  40259. "resources_js_pages_auth_VerifyEmail_vue"
  40260. ],
  40261. "./customer/Create": [
  40262. "./resources/js/pages/customer/Create.vue",
  40263. "resources_js_pages_customer_Create_vue"
  40264. ],
  40265. "./customer/Create.vue": [
  40266. "./resources/js/pages/customer/Create.vue",
  40267. "resources_js_pages_customer_Create_vue"
  40268. ],
  40269. "./customer/Edit": [
  40270. "./resources/js/pages/customer/Edit.vue",
  40271. "resources_js_pages_customer_Edit_vue"
  40272. ],
  40273. "./customer/Edit.vue": [
  40274. "./resources/js/pages/customer/Edit.vue",
  40275. "resources_js_pages_customer_Edit_vue"
  40276. ],
  40277. "./customer/Index": [
  40278. "./resources/js/pages/customer/Index.vue",
  40279. "resources_js_pages_customer_Index_vue"
  40280. ],
  40281. "./customer/Index.vue": [
  40282. "./resources/js/pages/customer/Index.vue",
  40283. "resources_js_pages_customer_Index_vue"
  40284. ],
  40285. "./customer/TableHeader": [
  40286. "./resources/js/pages/customer/TableHeader.js",
  40287. "resources_js_pages_customer_TableHeader_js"
  40288. ],
  40289. "./customer/TableHeader.js": [
  40290. "./resources/js/pages/customer/TableHeader.js",
  40291. "resources_js_pages_customer_TableHeader_js"
  40292. ],
  40293. "./laundry/Create": [
  40294. "./resources/js/pages/laundry/Create.vue",
  40295. "resources_js_pages_laundry_Create_vue"
  40296. ],
  40297. "./laundry/Create.vue": [
  40298. "./resources/js/pages/laundry/Create.vue",
  40299. "resources_js_pages_laundry_Create_vue"
  40300. ],
  40301. "./laundry/Edit": [
  40302. "./resources/js/pages/laundry/Edit.vue",
  40303. "resources_js_pages_laundry_Edit_vue"
  40304. ],
  40305. "./laundry/Edit.vue": [
  40306. "./resources/js/pages/laundry/Edit.vue",
  40307. "resources_js_pages_laundry_Edit_vue"
  40308. ],
  40309. "./laundry/Index": [
  40310. "./resources/js/pages/laundry/Index.vue",
  40311. "resources_js_pages_laundry_Index_vue"
  40312. ],
  40313. "./laundry/Index.vue": [
  40314. "./resources/js/pages/laundry/Index.vue",
  40315. "resources_js_pages_laundry_Index_vue"
  40316. ],
  40317. "./laundry/TableHeader": [
  40318. "./resources/js/pages/laundry/TableHeader.js",
  40319. "resources_js_pages_laundry_TableHeader_js"
  40320. ],
  40321. "./laundry/TableHeader.js": [
  40322. "./resources/js/pages/laundry/TableHeader.js",
  40323. "resources_js_pages_laundry_TableHeader_js"
  40324. ],
  40325. "./outlet/Create": [
  40326. "./resources/js/pages/outlet/Create.vue",
  40327. "resources_js_pages_outlet_Create_vue"
  40328. ],
  40329. "./outlet/Create.vue": [
  40330. "./resources/js/pages/outlet/Create.vue",
  40331. "resources_js_pages_outlet_Create_vue"
  40332. ],
  40333. "./outlet/Edit": [
  40334. "./resources/js/pages/outlet/Edit.vue",
  40335. "resources_js_pages_outlet_Edit_vue"
  40336. ],
  40337. "./outlet/Edit.vue": [
  40338. "./resources/js/pages/outlet/Edit.vue",
  40339. "resources_js_pages_outlet_Edit_vue"
  40340. ],
  40341. "./outlet/Index": [
  40342. "./resources/js/pages/outlet/Index.vue",
  40343. "resources_js_pages_outlet_Index_vue"
  40344. ],
  40345. "./outlet/Index.vue": [
  40346. "./resources/js/pages/outlet/Index.vue",
  40347. "resources_js_pages_outlet_Index_vue"
  40348. ],
  40349. "./outlet/TableHeader": [
  40350. "./resources/js/pages/outlet/TableHeader.js",
  40351. "resources_js_pages_outlet_TableHeader_js"
  40352. ],
  40353. "./outlet/TableHeader.js": [
  40354. "./resources/js/pages/outlet/TableHeader.js",
  40355. "resources_js_pages_outlet_TableHeader_js"
  40356. ],
  40357. "./transaction/Create": [
  40358. "./resources/js/pages/transaction/Create.vue",
  40359. "resources_js_pages_transaction_Create_vue"
  40360. ],
  40361. "./transaction/Create.vue": [
  40362. "./resources/js/pages/transaction/Create.vue",
  40363. "resources_js_pages_transaction_Create_vue"
  40364. ],
  40365. "./transaction/Index": [
  40366. "./resources/js/pages/transaction/Index.vue",
  40367. "resources_js_pages_transaction_Index_vue"
  40368. ],
  40369. "./transaction/Index.vue": [
  40370. "./resources/js/pages/transaction/Index.vue",
  40371. "resources_js_pages_transaction_Index_vue"
  40372. ],
  40373. "./transaction/Show": [
  40374. "./resources/js/pages/transaction/Show.vue",
  40375. "resources_js_pages_transaction_Show_vue"
  40376. ],
  40377. "./transaction/Show.vue": [
  40378. "./resources/js/pages/transaction/Show.vue",
  40379. "resources_js_pages_transaction_Show_vue"
  40380. ],
  40381. "./transaction/TableHeader": [
  40382. "./resources/js/pages/transaction/TableHeader.js",
  40383. "resources_js_pages_transaction_TableHeader_js"
  40384. ],
  40385. "./transaction/TableHeader.js": [
  40386. "./resources/js/pages/transaction/TableHeader.js",
  40387. "resources_js_pages_transaction_TableHeader_js"
  40388. ],
  40389. "./user/Create": [
  40390. "./resources/js/pages/user/Create.vue",
  40391. "resources_js_pages_user_Create_vue"
  40392. ],
  40393. "./user/Create.vue": [
  40394. "./resources/js/pages/user/Create.vue",
  40395. "resources_js_pages_user_Create_vue"
  40396. ],
  40397. "./user/Edit": [
  40398. "./resources/js/pages/user/Edit.vue",
  40399. "resources_js_pages_user_Edit_vue"
  40400. ],
  40401. "./user/Edit.vue": [
  40402. "./resources/js/pages/user/Edit.vue",
  40403. "resources_js_pages_user_Edit_vue"
  40404. ],
  40405. "./user/Index": [
  40406. "./resources/js/pages/user/Index.vue",
  40407. "resources_js_pages_user_Index_vue"
  40408. ],
  40409. "./user/Index.vue": [
  40410. "./resources/js/pages/user/Index.vue",
  40411. "resources_js_pages_user_Index_vue"
  40412. ],
  40413. "./user/Show": [
  40414. "./resources/js/pages/user/Show.vue",
  40415. "resources_js_pages_user_Show_vue"
  40416. ],
  40417. "./user/Show.vue": [
  40418. "./resources/js/pages/user/Show.vue",
  40419. "resources_js_pages_user_Show_vue"
  40420. ],
  40421. "./user/TableHeader": [
  40422. "./resources/js/pages/user/TableHeader.js",
  40423. "resources_js_pages_user_TableHeader_js"
  40424. ],
  40425. "./user/TableHeader.js": [
  40426. "./resources/js/pages/user/TableHeader.js",
  40427. "resources_js_pages_user_TableHeader_js"
  40428. ]
  40429. };
  40430. function webpackAsyncContext(req) {
  40431. if(!__webpack_require__.o(map, req)) {
  40432. return Promise.resolve().then(() => {
  40433. var e = new Error("Cannot find module '" + req + "'");
  40434. e.code = 'MODULE_NOT_FOUND';
  40435. throw e;
  40436. });
  40437. }
  40438. var ids = map[req], id = ids[0];
  40439. return __webpack_require__.e(ids[1]).then(() => {
  40440. return __webpack_require__(id);
  40441. });
  40442. }
  40443. webpackAsyncContext.keys = () => (Object.keys(map));
  40444. webpackAsyncContext.id = "./resources/js/pages lazy recursive ^\\.\\/.*$";
  40445. module.exports = webpackAsyncContext;
  40446. /***/ }),
  40447. /***/ "?2128":
  40448. /*!********************************!*\
  40449. !*** ./util.inspect (ignored) ***!
  40450. \********************************/
  40451. /***/ (() => {
  40452. /* (ignored) */
  40453. /***/ }),
  40454. /***/ "./node_modules/@inertiajs/inertia/node_modules/axios/package.json":
  40455. /*!*************************************************************************!*\
  40456. !*** ./node_modules/@inertiajs/inertia/node_modules/axios/package.json ***!
  40457. \*************************************************************************/
  40458. /***/ ((module) => {
  40459. "use strict";
  40460. module.exports = JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}');
  40461. /***/ })
  40462. /******/ });
  40463. /************************************************************************/
  40464. /******/ // The module cache
  40465. /******/ var __webpack_module_cache__ = {};
  40466. /******/
  40467. /******/ // The require function
  40468. /******/ function __webpack_require__(moduleId) {
  40469. /******/ // Check if module is in cache
  40470. /******/ var cachedModule = __webpack_module_cache__[moduleId];
  40471. /******/ if (cachedModule !== undefined) {
  40472. /******/ return cachedModule.exports;
  40473. /******/ }
  40474. /******/ // Create a new module (and put it into the cache)
  40475. /******/ var module = __webpack_module_cache__[moduleId] = {
  40476. /******/ id: moduleId,
  40477. /******/ loaded: false,
  40478. /******/ exports: {}
  40479. /******/ };
  40480. /******/
  40481. /******/ // Execute the module function
  40482. /******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  40483. /******/
  40484. /******/ // Flag the module as loaded
  40485. /******/ module.loaded = true;
  40486. /******/
  40487. /******/ // Return the exports of the module
  40488. /******/ return module.exports;
  40489. /******/ }
  40490. /******/
  40491. /******/ // expose the modules object (__webpack_modules__)
  40492. /******/ __webpack_require__.m = __webpack_modules__;
  40493. /******/
  40494. /************************************************************************/
  40495. /******/ /* webpack/runtime/compat get default export */
  40496. /******/ (() => {
  40497. /******/ // getDefaultExport function for compatibility with non-harmony modules
  40498. /******/ __webpack_require__.n = (module) => {
  40499. /******/ var getter = module && module.__esModule ?
  40500. /******/ () => (module['default']) :
  40501. /******/ () => (module);
  40502. /******/ __webpack_require__.d(getter, { a: getter });
  40503. /******/ return getter;
  40504. /******/ };
  40505. /******/ })();
  40506. /******/
  40507. /******/ /* webpack/runtime/define property getters */
  40508. /******/ (() => {
  40509. /******/ // define getter functions for harmony exports
  40510. /******/ __webpack_require__.d = (exports, definition) => {
  40511. /******/ for(var key in definition) {
  40512. /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
  40513. /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
  40514. /******/ }
  40515. /******/ }
  40516. /******/ };
  40517. /******/ })();
  40518. /******/
  40519. /******/ /* webpack/runtime/ensure chunk */
  40520. /******/ (() => {
  40521. /******/ __webpack_require__.f = {};
  40522. /******/ // This file contains only the entry chunk.
  40523. /******/ // The chunk loading function for additional chunks
  40524. /******/ __webpack_require__.e = (chunkId) => {
  40525. /******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
  40526. /******/ __webpack_require__.f[key](chunkId, promises);
  40527. /******/ return promises;
  40528. /******/ }, []));
  40529. /******/ };
  40530. /******/ })();
  40531. /******/
  40532. /******/ /* webpack/runtime/get javascript chunk filename */
  40533. /******/ (() => {
  40534. /******/ // This function allow to reference async chunks
  40535. /******/ __webpack_require__.u = (chunkId) => {
  40536. /******/ // return url for filenames based on template
  40537. /******/ return "js/" + chunkId + ".js?id=" + {"resources_js_pages_Access_vue":"5c8a7a90d229c3f4","resources_js_pages_auth_ForgotPassword_vue":"9db08b886f3acf35","resources_js_pages_auth_Login_vue":"998ee232f83d0aa9","resources_js_pages_auth_ResetPassword_vue":"3191258dc6d8a4b7","resources_js_pages_auth_VerifyEmail_vue":"632c69e9e8e9c0af","resources_js_pages_customer_Create_vue":"49ac9c113ddac399","resources_js_pages_customer_Edit_vue":"5c8910eb625abf14","resources_js_pages_customer_Index_vue":"531ae28619c9501a","resources_js_pages_customer_TableHeader_js":"be6685f342bbd7c2","resources_js_pages_laundry_Create_vue":"24b222d472e458b9","resources_js_pages_laundry_Edit_vue":"e972d2d98c195ade","resources_js_pages_laundry_Index_vue":"a4df50af578d72ee","resources_js_pages_laundry_TableHeader_js":"494e577855bbcaf6","resources_js_pages_outlet_Create_vue":"916319d80a0821ca","resources_js_pages_outlet_Edit_vue":"a89fba3c72a8d6ef","resources_js_pages_outlet_Index_vue":"580d1ba885665300","resources_js_pages_outlet_TableHeader_js":"960433b5f8e003c1","resources_js_pages_transaction_Create_vue":"5390e70d3c3444be","resources_js_pages_transaction_Index_vue":"9fef47b26e89fec8","resources_js_pages_transaction_Show_vue":"961762e530a6b329","resources_js_pages_transaction_TableHeader_js":"8b928867ad174e10","resources_js_pages_user_Create_vue":"99b372fa4d1dac71","resources_js_pages_user_Edit_vue":"3412c1b357ee588a","resources_js_pages_user_Index_vue":"4823481d9c700d66","resources_js_pages_user_Show_vue":"c68356ef9b76e682","resources_js_pages_user_TableHeader_js":"c19ccf0fa7c2fb2b"}[chunkId] + "";
  40538. /******/ };
  40539. /******/ })();
  40540. /******/
  40541. /******/ /* webpack/runtime/get mini-css chunk filename */
  40542. /******/ (() => {
  40543. /******/ // This function allow to reference all chunks
  40544. /******/ __webpack_require__.miniCssF = (chunkId) => {
  40545. /******/ // return url for filenames based on template
  40546. /******/ return undefined;
  40547. /******/ };
  40548. /******/ })();
  40549. /******/
  40550. /******/ /* webpack/runtime/global */
  40551. /******/ (() => {
  40552. /******/ __webpack_require__.g = (function() {
  40553. /******/ if (typeof globalThis === 'object') return globalThis;
  40554. /******/ try {
  40555. /******/ return this || new Function('return this')();
  40556. /******/ } catch (e) {
  40557. /******/ if (typeof window === 'object') return window;
  40558. /******/ }
  40559. /******/ })();
  40560. /******/ })();
  40561. /******/
  40562. /******/ /* webpack/runtime/hasOwnProperty shorthand */
  40563. /******/ (() => {
  40564. /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
  40565. /******/ })();
  40566. /******/
  40567. /******/ /* webpack/runtime/load script */
  40568. /******/ (() => {
  40569. /******/ var inProgress = {};
  40570. /******/ // data-webpack is not used as build has no uniqueName
  40571. /******/ // loadScript function to load a script via script tag
  40572. /******/ __webpack_require__.l = (url, done, key, chunkId) => {
  40573. /******/ if(inProgress[url]) { inProgress[url].push(done); return; }
  40574. /******/ var script, needAttach;
  40575. /******/ if(key !== undefined) {
  40576. /******/ var scripts = document.getElementsByTagName("script");
  40577. /******/ for(var i = 0; i < scripts.length; i++) {
  40578. /******/ var s = scripts[i];
  40579. /******/ if(s.getAttribute("src") == url) { script = s; break; }
  40580. /******/ }
  40581. /******/ }
  40582. /******/ if(!script) {
  40583. /******/ needAttach = true;
  40584. /******/ script = document.createElement('script');
  40585. /******/
  40586. /******/ script.charset = 'utf-8';
  40587. /******/ script.timeout = 120;
  40588. /******/ if (__webpack_require__.nc) {
  40589. /******/ script.setAttribute("nonce", __webpack_require__.nc);
  40590. /******/ }
  40591. /******/
  40592. /******/ script.src = url;
  40593. /******/ }
  40594. /******/ inProgress[url] = [done];
  40595. /******/ var onScriptComplete = (prev, event) => {
  40596. /******/ // avoid mem leaks in IE.
  40597. /******/ script.onerror = script.onload = null;
  40598. /******/ clearTimeout(timeout);
  40599. /******/ var doneFns = inProgress[url];
  40600. /******/ delete inProgress[url];
  40601. /******/ script.parentNode && script.parentNode.removeChild(script);
  40602. /******/ doneFns && doneFns.forEach((fn) => (fn(event)));
  40603. /******/ if(prev) return prev(event);
  40604. /******/ }
  40605. /******/ ;
  40606. /******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
  40607. /******/ script.onerror = onScriptComplete.bind(null, script.onerror);
  40608. /******/ script.onload = onScriptComplete.bind(null, script.onload);
  40609. /******/ needAttach && document.head.appendChild(script);
  40610. /******/ };
  40611. /******/ })();
  40612. /******/
  40613. /******/ /* webpack/runtime/make namespace object */
  40614. /******/ (() => {
  40615. /******/ // define __esModule on exports
  40616. /******/ __webpack_require__.r = (exports) => {
  40617. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  40618. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  40619. /******/ }
  40620. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  40621. /******/ };
  40622. /******/ })();
  40623. /******/
  40624. /******/ /* webpack/runtime/node module decorator */
  40625. /******/ (() => {
  40626. /******/ __webpack_require__.nmd = (module) => {
  40627. /******/ module.paths = [];
  40628. /******/ if (!module.children) module.children = [];
  40629. /******/ return module;
  40630. /******/ };
  40631. /******/ })();
  40632. /******/
  40633. /******/ /* webpack/runtime/publicPath */
  40634. /******/ (() => {
  40635. /******/ __webpack_require__.p = "/";
  40636. /******/ })();
  40637. /******/
  40638. /******/ /* webpack/runtime/jsonp chunk loading */
  40639. /******/ (() => {
  40640. /******/ // no baseURI
  40641. /******/
  40642. /******/ // object to store loaded and loading chunks
  40643. /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
  40644. /******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
  40645. /******/ var installedChunks = {
  40646. /******/ "/js/vue": 0
  40647. /******/ };
  40648. /******/
  40649. /******/ __webpack_require__.f.j = (chunkId, promises) => {
  40650. /******/ // JSONP chunk loading for javascript
  40651. /******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
  40652. /******/ if(installedChunkData !== 0) { // 0 means "already installed".
  40653. /******/
  40654. /******/ // a Promise means "currently loading".
  40655. /******/ if(installedChunkData) {
  40656. /******/ promises.push(installedChunkData[2]);
  40657. /******/ } else {
  40658. /******/ if(true) { // all chunks have JS
  40659. /******/ // setup Promise in chunk cache
  40660. /******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
  40661. /******/ promises.push(installedChunkData[2] = promise);
  40662. /******/
  40663. /******/ // start chunk loading
  40664. /******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
  40665. /******/ // create error before stack unwound to get useful stacktrace later
  40666. /******/ var error = new Error();
  40667. /******/ var loadingEnded = (event) => {
  40668. /******/ if(__webpack_require__.o(installedChunks, chunkId)) {
  40669. /******/ installedChunkData = installedChunks[chunkId];
  40670. /******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
  40671. /******/ if(installedChunkData) {
  40672. /******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
  40673. /******/ var realSrc = event && event.target && event.target.src;
  40674. /******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
  40675. /******/ error.name = 'ChunkLoadError';
  40676. /******/ error.type = errorType;
  40677. /******/ error.request = realSrc;
  40678. /******/ installedChunkData[1](error);
  40679. /******/ }
  40680. /******/ }
  40681. /******/ };
  40682. /******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
  40683. /******/ } else installedChunks[chunkId] = 0;
  40684. /******/ }
  40685. /******/ }
  40686. /******/ };
  40687. /******/
  40688. /******/ // no prefetching
  40689. /******/
  40690. /******/ // no preloaded
  40691. /******/
  40692. /******/ // no HMR
  40693. /******/
  40694. /******/ // no HMR manifest
  40695. /******/
  40696. /******/ // no on chunks loaded
  40697. /******/
  40698. /******/ // install a JSONP callback for chunk loading
  40699. /******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
  40700. /******/ var [chunkIds, moreModules, runtime] = data;
  40701. /******/ // add "moreModules" to the modules object,
  40702. /******/ // then flag all "chunkIds" as loaded and fire callback
  40703. /******/ var moduleId, chunkId, i = 0;
  40704. /******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
  40705. /******/ for(moduleId in moreModules) {
  40706. /******/ if(__webpack_require__.o(moreModules, moduleId)) {
  40707. /******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
  40708. /******/ }
  40709. /******/ }
  40710. /******/ if(runtime) var result = runtime(__webpack_require__);
  40711. /******/ }
  40712. /******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
  40713. /******/ for(;i < chunkIds.length; i++) {
  40714. /******/ chunkId = chunkIds[i];
  40715. /******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
  40716. /******/ installedChunks[chunkId][0]();
  40717. /******/ }
  40718. /******/ installedChunks[chunkId] = 0;
  40719. /******/ }
  40720. /******/
  40721. /******/ }
  40722. /******/
  40723. /******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
  40724. /******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
  40725. /******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
  40726. /******/ })();
  40727. /******/
  40728. /************************************************************************/
  40729. var __webpack_exports__ = {};
  40730. // This entry need to be wrapped in an IIFE because it need to be in strict mode.
  40731. (() => {
  40732. "use strict";
  40733. /*!*****************************!*\
  40734. !*** ./resources/js/vue.js ***!
  40735. \*****************************/
  40736. __webpack_require__.r(__webpack_exports__);
  40737. /* harmony import */ var primevue_resources_themes_tailwind_light_theme_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! primevue/resources/themes/tailwind-light/theme.css */ "./node_modules/primevue/resources/themes/tailwind-light/theme.css");
  40738. /* harmony import */ var primevue_resources_primevue_min_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! primevue/resources/primevue.min.css */ "./node_modules/primevue/resources/primevue.min.css");
  40739. /* harmony import */ var primeflex_primeflex_css__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! primeflex/primeflex.css */ "./node_modules/primeflex/primeflex.css");
  40740. /* harmony import */ var primeicons_primeicons_css__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! primeicons/primeicons.css */ "./node_modules/primeicons/primeicons.css");
  40741. /* harmony import */ var _assets_styles_layout_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/assets/styles/layout.scss */ "./resources/js/assets/styles/layout.scss");
  40742. /* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ "./node_modules/vue/dist/vue.esm-bundler.js");
  40743. /* harmony import */ var _inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @inertiajs/inertia-vue3 */ "./node_modules/@inertiajs/inertia-vue3/dist/index.js");
  40744. /* harmony import */ var _inertiajs_progress__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @inertiajs/progress */ "./node_modules/@inertiajs/progress/dist/index.js");
  40745. /* harmony import */ var primevue_config__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! primevue/config */ "./node_modules/primevue/config/config.esm.js");
  40746. /* harmony import */ var primevue_styleclass__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! primevue/styleclass */ "./node_modules/primevue/styleclass/styleclass.esm.js");
  40747. /* harmony import */ var primevue_autocomplete__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! primevue/autocomplete */ "./node_modules/primevue/autocomplete/autocomplete.esm.js");
  40748. /* harmony import */ var primevue_badge__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! primevue/badge */ "./node_modules/primevue/badge/badge.esm.js");
  40749. /* harmony import */ var primevue_button__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! primevue/button */ "./node_modules/primevue/button/button.esm.js");
  40750. /* harmony import */ var primevue_calendar__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! primevue/calendar */ "./node_modules/primevue/calendar/calendar.esm.js");
  40751. /* harmony import */ var primevue_card__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! primevue/card */ "./node_modules/primevue/card/card.esm.js");
  40752. /* harmony import */ var primevue_column__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! primevue/column */ "./node_modules/primevue/column/column.esm.js");
  40753. /* harmony import */ var primevue_datatable__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(/*! primevue/datatable */ "./node_modules/primevue/datatable/datatable.esm.js");
  40754. /* harmony import */ var primevue_dialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(/*! primevue/dialog */ "./node_modules/primevue/dialog/dialog.esm.js");
  40755. /* harmony import */ var primevue_divider__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(/*! primevue/divider */ "./node_modules/primevue/divider/divider.esm.js");
  40756. /* harmony import */ var primevue_dropdown__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(/*! primevue/dropdown */ "./node_modules/primevue/dropdown/dropdown.esm.js");
  40757. /* harmony import */ var primevue_inputnumber__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(/*! primevue/inputnumber */ "./node_modules/primevue/inputnumber/inputnumber.esm.js");
  40758. /* harmony import */ var primevue_inputtext__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(/*! primevue/inputtext */ "./node_modules/primevue/inputtext/inputtext.esm.js");
  40759. /* harmony import */ var primevue_message__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(/*! primevue/message */ "./node_modules/primevue/message/message.esm.js");
  40760. /* harmony import */ var primevue_paginator__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(/*! primevue/paginator */ "./node_modules/primevue/paginator/paginator.esm.js");
  40761. /* harmony import */ var primevue_password__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(/*! primevue/password */ "./node_modules/primevue/password/password.esm.js");
  40762. /* harmony import */ var primevue_ripple__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(/*! primevue/ripple */ "./node_modules/primevue/ripple/ripple.esm.js");
  40763. /* harmony import */ var primevue_tooltip__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(/*! primevue/tooltip */ "./node_modules/primevue/tooltip/tooltip.esm.js");
  40764. (0,_inertiajs_inertia_vue3__WEBPACK_IMPORTED_MODULE_6__.createInertiaApp)({
  40765. resolve: function resolve(name) {
  40766. return __webpack_require__("./resources/js/pages lazy recursive ^\\.\\/.*$")("./".concat(name));
  40767. },
  40768. setup: function setup(_ref) {
  40769. var el = _ref.el,
  40770. App = _ref.App,
  40771. props = _ref.props,
  40772. plugin = _ref.plugin;
  40773. (0,vue__WEBPACK_IMPORTED_MODULE_5__.createApp)({
  40774. render: function render() {
  40775. return (0,vue__WEBPACK_IMPORTED_MODULE_5__.h)(App, props);
  40776. }
  40777. }).use(plugin).use(primevue_config__WEBPACK_IMPORTED_MODULE_8__["default"], {
  40778. ripple: true
  40779. }).mixin({
  40780. methods: {
  40781. route: route
  40782. }
  40783. }).directive('styleclass', primevue_styleclass__WEBPACK_IMPORTED_MODULE_9__["default"]).directive('ripple', primevue_ripple__WEBPACK_IMPORTED_MODULE_25__["default"]).directive('tooltip', primevue_tooltip__WEBPACK_IMPORTED_MODULE_26__["default"]).component('AutoComplete', primevue_autocomplete__WEBPACK_IMPORTED_MODULE_10__["default"]).component('Button', primevue_button__WEBPACK_IMPORTED_MODULE_12__["default"]).component('Badge', primevue_badge__WEBPACK_IMPORTED_MODULE_11__["default"]).component('Card', primevue_card__WEBPACK_IMPORTED_MODULE_14__["default"]).component('Calendar', primevue_calendar__WEBPACK_IMPORTED_MODULE_13__["default"]).component('Column', primevue_column__WEBPACK_IMPORTED_MODULE_15__["default"]).component('DataTable', primevue_datatable__WEBPACK_IMPORTED_MODULE_16__["default"]).component('Dialog', primevue_dialog__WEBPACK_IMPORTED_MODULE_17__["default"]).component('Divider', primevue_divider__WEBPACK_IMPORTED_MODULE_18__["default"]).component('Dropdown', primevue_dropdown__WEBPACK_IMPORTED_MODULE_19__["default"]).component('InputNumber', primevue_inputnumber__WEBPACK_IMPORTED_MODULE_20__["default"]).component('InputText', primevue_inputtext__WEBPACK_IMPORTED_MODULE_21__["default"]).component('Message', primevue_message__WEBPACK_IMPORTED_MODULE_22__["default"]).component('Paginator', primevue_paginator__WEBPACK_IMPORTED_MODULE_23__["default"]).component('Password', primevue_password__WEBPACK_IMPORTED_MODULE_24__["default"]).mount(el);
  40784. }
  40785. });
  40786. _inertiajs_progress__WEBPACK_IMPORTED_MODULE_7__.InertiaProgress.init({
  40787. color: '#eb4432'
  40788. });
  40789. })();
  40790. /******/ })()
  40791. ;