index-3BUoRi-i.js 2.3 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687
  1. var QU=Object.defineProperty;var eY=(e,t,n)=>t in e?QU(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var tY=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ne=(e,t,n)=>eY(e,typeof t!="symbol"?t+"":t,n);var gWe=tY((Ha,ja)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();/**
  2. * @vue/shared v3.4.29
  3. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  4. * @license MIT
  5. **//*! #__NO_SIDE_EFFECTS__ */function c5(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const Gn={},Xf=[],sn=()=>{},nY=()=>!1,Qm=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),f5=e=>e.startsWith("onUpdate:"),ar=Object.assign,d5=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rY=Object.prototype.hasOwnProperty,Ut=(e,t)=>rY.call(e,t),We=Array.isArray,Zf=e=>op(e)==="[object Map]",ey=e=>op(e)==="[object Set]",Mc=e=>op(e)==="[object Date]",st=e=>typeof e=="function",vt=e=>typeof e=="string",bl=e=>typeof e=="symbol",zt=e=>e!==null&&typeof e=="object",r1=e=>(zt(e)||st(e))&&st(e.then)&&st(e.catch),IP=Object.prototype.toString,op=e=>IP.call(e),z0=e=>op(e).slice(8,-1),T2=e=>op(e)==="[object Object]",h5=e=>vt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Sv=c5(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ty=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},aY=/-(\w)/g,wi=ty(e=>e.replace(aY,(t,n)=>n?n.toUpperCase():"")),iY=/\B([A-Z])/g,eu=ty(e=>e.replace(iY,"-$1").toLowerCase()),lp=ty(e=>e.charAt(0).toUpperCase()+e.slice(1)),M0=ty(e=>e?`on${lp(e)}`:""),Ns=(e,t)=>!Object.is(e,t),A0=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},DP=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},K9=e=>{const t=parseFloat(e);return isNaN(t)?e:t},oY=e=>{const t=vt(e)?Number(e):NaN;return isNaN(t)?e:t};let LC;const LP=()=>LC||(LC=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Be(e){if(We(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],a=vt(r)?cY(r):Be(r);if(a)for(const i in a)t[i]=a[i]}return t}else if(vt(e)||zt(e))return e}const lY=/;(?![^(]*\))/g,sY=/:([^]+)/,uY=/\/\*[^]*?\*\//g;function cY(e){const t={};return e.replace(uY,"").split(lY).forEach(n=>{if(n){const r=n.split(sY);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function q(e){let t="";if(vt(e))t=e;else if(We(e))for(let n=0;n<e.length;n++){const r=q(e[n]);r&&(t+=r+" ")}else if(zt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function ul(e){if(!e)return null;let{class:t,style:n}=e;return t&&!vt(t)&&(e.class=q(t)),n&&(e.style=Be(n)),e}const fY="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dY=c5(fY);function PP(e){return!!e||e===""}function hY(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=dd(e[r],t[r]);return n}function dd(e,t){if(e===t)return!0;let n=Mc(e),r=Mc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=bl(e),r=bl(t),n||r)return e===t;if(n=We(e),r=We(t),n||r)return n&&r?hY(e,t):!1;if(n=zt(e),r=zt(t),n||r){if(!n||!r)return!1;const a=Object.keys(e).length,i=Object.keys(t).length;if(a!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),s=t.hasOwnProperty(o);if(l&&!s||!l&&s||!dd(e[o],t[o]))return!1}}return String(e)===String(t)}function RP(e,t){return e.findIndex(n=>dd(n,t))}const U=e=>vt(e)?e:e==null?"":We(e)||zt(e)&&(e.toString===IP||!st(e.toString))?JSON.stringify(e,OP,2):String(e),OP=(e,t)=>t&&t.__v_isRef?OP(e,t.value):Zf(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],i)=>(n[O3(r,i)+" =>"]=a,n),{})}:ey(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>O3(n))}:bl(t)?O3(t):zt(t)&&!We(t)&&!T2(t)?String(t):t,O3=(e,t="")=>{var n;return bl(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
  6. * @vue/reactivity v3.4.29
  7. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  8. * @license MIT
  9. **/let Na;class NP{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Na,!t&&Na&&(this.index=(Na.scopes||(Na.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Na;try{return Na=this,t()}finally{Na=n}}}on(){Na=this}off(){Na=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function vY(e){return new NP(e)}function pY(e,t=Na){t&&t.active&&t.effects.push(e)}function $P(){return Na}function VP(e){Na&&Na.cleanups.push(e)}let hc;class v5{constructor(t,n,r,a){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=5,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,pY(this,a)}get dirty(){if(this._dirtyLevel===2)return!1;if(this._dirtyLevel===3||this._dirtyLevel===4){this._dirtyLevel=1,tu();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed){if(n.computed.effect._dirtyLevel===2)return!0;if(gY(n.computed),this._dirtyLevel>=5)break}}this._dirtyLevel===1&&(this._dirtyLevel=0),nu()}return this._dirtyLevel>=5}set dirty(t){this._dirtyLevel=t?5:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=As,n=hc;try{return As=!0,hc=this,this._runnings++,PC(this),this.fn()}finally{RC(this),this._runnings--,hc=n,As=t}}stop(){this.active&&(PC(this),RC(this),this.onStop&&this.onStop(),this.active=!1)}}function gY(e){return e.value}function PC(e){e._trackId++,e._depsLength=0}function RC(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)BP(e.deps[t],e);e.deps.length=e._depsLength}}function BP(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let As=!0,X9=0;const FP=[];function tu(){FP.push(As),As=!1}function nu(){const e=FP.pop();As=e===void 0?!0:e}function p5(){X9++}function g5(){for(X9--;!X9&&Z9.length;)Z9.shift()()}function HP(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&BP(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Z9=[];function jP(e,t,n){p5();for(const r of e.keys()){if(!e.computed&&r.computed&&e.get(r)===r._trackId&&r._runnings>0){r._dirtyLevel=2;continue}let a;r._dirtyLevel<t&&(a??(a=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r.computed&&r._dirtyLevel===2&&(r._shouldSchedule=!0),r._dirtyLevel=t),r._shouldSchedule&&(a??(a=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==3&&(r._shouldSchedule=!1,r.scheduler&&Z9.push(r.scheduler)))}g5()}const qP=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},k2=new WeakMap,vc=Symbol(""),J9=Symbol("");function Da(e,t,n){if(As&&hc){let r=k2.get(e);r||k2.set(e,r=new Map);let a=r.get(n);a||r.set(n,a=qP(()=>r.delete(n))),HP(hc,a)}}function dl(e,t,n,r,a,i){const o=k2.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&We(e)){const s=Number(r);o.forEach((u,c)=>{(c==="length"||!bl(c)&&c>=s)&&l.push(u)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":We(e)?h5(n)&&l.push(o.get("length")):(l.push(o.get(vc)),Zf(e)&&l.push(o.get(J9)));break;case"delete":We(e)||(l.push(o.get(vc)),Zf(e)&&l.push(o.get(J9)));break;case"set":Zf(e)&&l.push(o.get(vc));break}p5();for(const s of l)s&&jP(s,5);g5()}function mY(e,t){const n=k2.get(e);return n&&n.get(t)}const yY=c5("__proto__,__v_isRef,__isVue"),GP=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bl)),OC=bY();function bY(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=dn(this);for(let i=0,o=this.length;i<o;i++)Da(r,"get",i+"");const a=r[t](...n);return a===-1||a===!1?r[t](...n.map(dn)):a}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){tu(),p5();const r=dn(this)[t].apply(this,n);return g5(),nu(),r}}),e}function _Y(e){bl(e)||(e=String(e));const t=dn(this);return Da(t,"has",e),t.hasOwnProperty(e)}class WP{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const a=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(a?i?LY:XP:i?KP:YP).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=We(t);if(!a){if(o&&Ut(OC,n))return Reflect.get(OC,n,r);if(n==="hasOwnProperty")return _Y}const l=Reflect.get(t,n,r);return(bl(n)?GP.has(n):yY(n))||(a||Da(t,"get",n),i)?l:ct(l)?o&&h5(n)?l:l.value:zt(l)?a?Wd(l):nn(l):l}}class UP extends WP{constructor(t=!1){super(!1,t)}set(t,n,r,a){let i=t[n];if(!this._isShallow){const s=a1(i);if(!z2(r)&&!a1(r)&&(i=dn(i),r=dn(r)),!We(t)&&ct(i)&&!ct(r))return s?!1:(i.value=r,!0)}const o=We(t)&&h5(n)?Number(n)<t.length:Ut(t,n),l=Reflect.set(t,n,r,a);return t===dn(a)&&(o?Ns(r,i)&&dl(t,"set",n,r):dl(t,"add",n,r)),l}deleteProperty(t,n){const r=Ut(t,n);t[n];const a=Reflect.deleteProperty(t,n);return a&&r&&dl(t,"delete",n,void 0),a}has(t,n){const r=Reflect.has(t,n);return(!bl(n)||!GP.has(n))&&Da(t,"has",n),r}ownKeys(t){return Da(t,"iterate",We(t)?"length":vc),Reflect.ownKeys(t)}}class wY extends WP{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const xY=new UP,SY=new wY,CY=new UP(!0),m5=e=>e,ny=e=>Reflect.getPrototypeOf(e);function Zp(e,t,n=!1,r=!1){e=e.__v_raw;const a=dn(e),i=dn(t);n||(Ns(t,i)&&Da(a,"get",t),Da(a,"get",i));const{has:o}=ny(a),l=r?m5:n?w5:i1;if(o.call(a,t))return l(e.get(t));if(o.call(a,i))return l(e.get(i));e!==a&&e.get(t)}function Jp(e,t=!1){const n=this.__v_raw,r=dn(n),a=dn(e);return t||(Ns(e,a)&&Da(r,"has",e),Da(r,"has",a)),e===a?n.has(e):n.has(e)||n.has(a)}function Qp(e,t=!1){return e=e.__v_raw,!t&&Da(dn(e),"iterate",vc),Reflect.get(e,"size",e)}function NC(e){e=dn(e);const t=dn(this);return ny(t).has.call(t,e)||(t.add(e),dl(t,"add",e,e)),this}function $C(e,t){t=dn(t);const n=dn(this),{has:r,get:a}=ny(n);let i=r.call(n,e);i||(e=dn(e),i=r.call(n,e));const o=a.call(n,e);return n.set(e,t),i?Ns(t,o)&&dl(n,"set",e,t):dl(n,"add",e,t),this}function VC(e){const t=dn(this),{has:n,get:r}=ny(t);let a=n.call(t,e);a||(e=dn(e),a=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return a&&dl(t,"delete",e,void 0),i}function BC(){const e=dn(this),t=e.size!==0,n=e.clear();return t&&dl(e,"clear",void 0,void 0),n}function eg(e,t){return function(r,a){const i=this,o=i.__v_raw,l=dn(o),s=t?m5:e?w5:i1;return!e&&Da(l,"iterate",vc),o.forEach((u,c)=>r.call(a,s(u),s(c),i))}}function tg(e,t,n){return function(...r){const a=this.__v_raw,i=dn(a),o=Zf(i),l=e==="entries"||e===Symbol.iterator&&o,s=e==="keys"&&o,u=a[e](...r),c=n?m5:t?w5:i1;return!t&&Da(i,"iterate",s?J9:vc),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:l?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function ql(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function TY(){const e={get(i){return Zp(this,i)},get size(){return Qp(this)},has:Jp,add:NC,set:$C,delete:VC,clear:BC,forEach:eg(!1,!1)},t={get(i){return Zp(this,i,!1,!0)},get size(){return Qp(this)},has:Jp,add:NC,set:$C,delete:VC,clear:BC,forEach:eg(!1,!0)},n={get(i){return Zp(this,i,!0)},get size(){return Qp(this,!0)},has(i){return Jp.call(this,i,!0)},add:ql("add"),set:ql("set"),delete:ql("delete"),clear:ql("clear"),forEach:eg(!0,!1)},r={get(i){return Zp(this,i,!0,!0)},get size(){return Qp(this,!0)},has(i){return Jp.call(this,i,!0)},add:ql("add"),set:ql("set"),delete:ql("delete"),clear:ql("clear"),forEach:eg(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=tg(i,!1,!1),n[i]=tg(i,!0,!1),t[i]=tg(i,!1,!0),r[i]=tg(i,!0,!0)}),[e,n,t,r]}const[kY,zY,MY,AY]=TY();function y5(e,t){const n=t?e?AY:MY:e?zY:kY;return(r,a,i)=>a==="__v_isReactive"?!e:a==="__v_isReadonly"?e:a==="__v_raw"?r:Reflect.get(Ut(n,a)&&a in r?n:r,a,i)}const EY={get:y5(!1,!1)},IY={get:y5(!1,!0)},DY={get:y5(!0,!1)},YP=new WeakMap,KP=new WeakMap,XP=new WeakMap,LY=new WeakMap;function PY(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function RY(e){return e.__v_skip||!Object.isExtensible(e)?0:PY(z0(e))}function nn(e){return a1(e)?e:_5(e,!1,xY,EY,YP)}function b5(e){return _5(e,!1,CY,IY,KP)}function Wd(e){return _5(e,!0,SY,DY,XP)}function _5(e,t,n,r,a){if(!zt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=a.get(e);if(i)return i;const o=RY(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return a.set(e,l),l}function Cv(e){return a1(e)?Cv(e.__v_raw):!!(e&&e.__v_isReactive)}function a1(e){return!!(e&&e.__v_isReadonly)}function z2(e){return!!(e&&e.__v_isShallow)}function ZP(e){return e?!!e.__v_raw:!1}function dn(e){const t=e&&e.__v_raw;return t?dn(t):e}function Jf(e){return Object.isExtensible(e)&&DP(e,"__v_skip",!0),e}const i1=e=>zt(e)?nn(e):e,w5=e=>zt(e)?Wd(e):e;class JP{constructor(t,n,r,a){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new v5(()=>t(this._value),()=>Tv(this,this.effect._dirtyLevel===3?3:4)),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=r}get value(){const t=dn(this);return(!t._cacheable||t.effect.dirty)&&Ns(t._value,t._value=t.effect.run())&&Tv(t,5),x5(t),t.effect._dirtyLevel>=2&&Tv(t,3),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function OY(e,t,n=!1){let r,a;const i=st(e);return i?(r=e,a=sn):(r=e.get,a=e.set),new JP(r,a,i||!a,n)}function x5(e){var t;As&&hc&&(e=dn(e),HP(hc,(t=e.dep)!=null?t:e.dep=qP(()=>e.dep=void 0,e instanceof JP?e:void 0)))}function Tv(e,t=5,n,r){e=dn(e);const a=e.dep;a&&jP(a,t)}function ct(e){return!!(e&&e.__v_isRef===!0)}function j(e){return QP(e,!1)}function xn(e){return QP(e,!0)}function QP(e,t){return ct(e)?e:new NY(e,t)}class NY{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:dn(t),this._value=n?t:i1(t)}get value(){return x5(this),this._value}set value(t){const n=this.__v_isShallow||z2(t)||a1(t);t=n?t:dn(t),Ns(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:i1(t),Tv(this,5))}}function y(e){return ct(e)?e.value:e}const $Y={get:(e,t,n)=>y(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return ct(a)&&!ct(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function eR(e){return Cv(e)?e:new Proxy(e,$Y)}class VY{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>x5(this),()=>Tv(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function BY(e){return new VY(e)}function Ar(e){const t=We(e)?new Array(e.length):{};for(const n in e)t[n]=tR(e,n);return t}class FY{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return mY(dn(this._object),this._key)}}class HY{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mn(e,t,n){return ct(e)?e:st(e)?new HY(e):zt(e)&&arguments.length>1?tR(e,t,n):j(e)}function tR(e,t,n){const r=e[t];return ct(r)?r:new FY(e,t,n)}/**
  10. * @vue/runtime-core v3.4.29
  11. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  12. * @license MIT
  13. **/function Es(e,t,n,r){try{return r?e(...r):e()}catch(a){ry(a,t,n)}}function mi(e,t,n,r){if(st(e)){const a=Es(e,t,n,r);return a&&r1(a)&&a.catch(i=>{ry(i,t,n)}),a}if(We(e)){const a=[];for(let i=0;i<e.length;i++)a.push(mi(e[i],t,n,r));return a}}function ry(e,t,n,r=!0){const a=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const u=i.ec;if(u){for(let c=0;c<u.length;c++)if(u[c](e,o,l)===!1)return}i=i.parent}const s=t.appContext.config.errorHandler;if(s){tu(),Es(s,null,10,[e,o,l]),nu();return}}jY(e,n,a,r)}function jY(e,t,n,r=!0){console.error(e)}let o1=!1,Q9=!1;const Wr=[];let yo=0;const Qf=[];let us=null,Gu=0;const nR=Promise.resolve();let S5=null;function nt(e){const t=S5||nR;return e?t.then(this?e.bind(this):e):t}function qY(e){let t=yo+1,n=Wr.length;for(;t<n;){const r=t+n>>>1,a=Wr[r],i=l1(a);i<e||i===e&&a.pre?t=r+1:n=r}return t}function C5(e){(!Wr.length||!Wr.includes(e,o1&&e.allowRecurse?yo+1:yo))&&(e.id==null?Wr.push(e):Wr.splice(qY(e.id),0,e),rR())}function rR(){!o1&&!Q9&&(Q9=!0,S5=nR.then(iR))}function GY(e){const t=Wr.indexOf(e);t>yo&&Wr.splice(t,1)}function WY(e){We(e)?Qf.push(...e):(!us||!us.includes(e,e.allowRecurse?Gu+1:Gu))&&Qf.push(e),rR()}function FC(e,t,n=o1?yo+1:0){for(;n<Wr.length;n++){const r=Wr[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Wr.splice(n,1),n--,r()}}}function aR(e){if(Qf.length){const t=[...new Set(Qf)].sort((n,r)=>l1(n)-l1(r));if(Qf.length=0,us){us.push(...t);return}for(us=t,Gu=0;Gu<us.length;Gu++){const n=us[Gu];n.active!==!1&&n()}us=null,Gu=0}}const l1=e=>e.id==null?1/0:e.id,UY=(e,t)=>{const n=l1(e)-l1(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function iR(e){Q9=!1,o1=!0,Wr.sort(UY);try{for(yo=0;yo<Wr.length;yo++){const t=Wr[yo];t&&t.active!==!1&&Es(t,null,14)}}finally{yo=0,Wr.length=0,aR(),o1=!1,S5=null,(Wr.length||Qf.length)&&iR()}}function YY(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Gn;let a=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in r){const c=`${o==="modelValue"?"model":o}Modifiers`,{number:f,trim:d}=r[c]||Gn;d&&(a=n.map(h=>vt(h)?h.trim():h)),f&&(a=n.map(K9))}let l,s=r[l=M0(t)]||r[l=M0(wi(t))];!s&&i&&(s=r[l=M0(eu(t))]),s&&mi(s,e,6,a);const u=r[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,mi(u,e,6,a)}}function oR(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(a!==void 0)return a;const i=e.emits;let o={},l=!1;if(!st(e)){const s=u=>{const c=oR(u,t,!0);c&&(l=!0,ar(o,c))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return!i&&!l?(zt(e)&&r.set(e,null),null):(We(i)?i.forEach(s=>o[s]=null):ar(o,i),zt(e)&&r.set(e,o),o)}function ay(e,t){return!e||!Qm(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ut(e,t[0].toLowerCase()+t.slice(1))||Ut(e,eu(t))||Ut(e,t))}let zr=null,iy=null;function M2(e){const t=zr;return zr=e,iy=e&&e.type.__scopeId||null,t}function lR(e){iy=e}function sR(){iy=null}function M(e,t=zr,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&n7(-1);const i=M2(t);let o;try{o=e(...a)}finally{M2(i),r._d&&n7(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function N3(e){const{type:t,vnode:n,proxy:r,withProxy:a,propsOptions:[i],slots:o,attrs:l,emit:s,render:u,renderCache:c,props:f,data:d,setupState:h,ctx:v,inheritAttrs:p}=e,g=M2(e);let m,b;try{if(n.shapeFlag&4){const w=a||r,x=w;m=mo(u.call(x,w,c,f,h,d,v)),b=l}else{const w=t;m=mo(w.length>1?w(f,{attrs:l,slots:o,emit:s}):w(f,null)),b=t.props?l:KY(l)}}catch(w){Ev.length=0,ry(w,e,1),m=I(Lr)}let _=m;if(b&&p!==!1){const w=Object.keys(b),{shapeFlag:x}=_;w.length&&x&7&&(i&&w.some(f5)&&(b=XY(b,i)),_=wl(_,b,!1,!0))}return n.dirs&&(_=wl(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,M2(g),m}const KY=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qm(n))&&((t||(t={}))[n]=e[n]);return t},XY=(e,t)=>{const n={};for(const r in e)(!f5(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ZY(e,t,n){const{props:r,children:a,component:i}=e,{props:o,children:l,patchFlag:s}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&s>=0){if(s&1024)return!0;if(s&16)return r?HC(r,o,u):!!o;if(s&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const d=c[f];if(o[d]!==r[d]&&!ay(u,d))return!0}}}else return(a||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?HC(r,o,u):!0:!!o;return!1}function HC(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let a=0;a<r.length;a++){const i=r[a];if(t[i]!==e[i]&&!ay(n,i))return!0}return!1}function JY({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const T5="components",QY="directives";function se(e,t){return k5(T5,e,!0,t)||e}const uR=Symbol.for("v-ndc");function It(e){return vt(e)?k5(T5,e,!1)||e:e||uR}function oy(e){return k5(QY,e)}function k5(e,t,n=!0,r=!1){const a=zr||Pr;if(a){const i=a.type;if(e===T5){const l=HK(i,!1);if(l&&(l===t||l===wi(t)||l===lp(wi(t))))return i}const o=jC(a[e]||i[e],t)||jC(a.appContext[e],t);return!o&&r?i:o}}function jC(e,t){return e&&(e[t]||e[wi(t)]||e[lp(wi(t))])}const eK=e=>e.__isSuspense;function tK(e,t){t&&t.pendingBranch?We(e)?t.effects.push(...e):t.effects.push(e):WY(e)}function ly(e,t,n=Pr,r=!1){if(n){const a=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{tu();const l=sp(n),s=mi(t,n,e,o);return l(),nu(),s});return r?a.unshift(i):a.push(i),i}}const Dl=e=>(t,n=Pr)=>{(!cy||e==="sp")&&ly(e,(...r)=>t(...r),n)},sy=Dl("bm"),bt=Dl("m"),cR=Dl("bu"),Ll=Dl("u"),wn=Dl("bum"),Ho=Dl("um"),nK=Dl("sp"),rK=Dl("rtg"),aK=Dl("rtc");function iK(e,t=Pr){ly("ec",e,t)}function mt(e,t){if(zr===null)return e;const n=fy(zr),r=e.dirs||(e.dirs=[]);for(let a=0;a<t.length;a++){let[i,o,l,s=Gn]=t[a];i&&(st(i)&&(i={mounted:i,updated:i}),i.deep&&ps(o),r.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:s}))}return e}function cu(e,t,n,r){const a=e.dirs,i=t&&t.dirs;for(let o=0;o<a.length;o++){const l=a[o];i&&(l.oldValue=i[o].value);let s=l.dir[r];s&&(tu(),mi(s,n,8,[e.el,l,e,t]),nu())}}function we(e,t,n,r){let a;const i=n;if(We(e)||vt(e)){a=new Array(e.length);for(let o=0,l=e.length;o<l;o++)a[o]=t(e[o],o,void 0,i)}else if(typeof e=="number"){a=new Array(e);for(let o=0;o<e;o++)a[o]=t(o+1,o,void 0,i)}else if(zt(e))if(e[Symbol.iterator])a=Array.from(e,(o,l)=>t(o,l,void 0,i));else{const o=Object.keys(e);a=new Array(o.length);for(let l=0,s=o.length;l<s;l++){const u=o[l];a[l]=t(e[u],u,l,i)}}else a=[];return a}function _l(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(We(r))for(let a=0;a<r.length;a++)e[r[a].name]=r[a].fn;else r&&(e[r.name]=r.key?(...a)=>{const i=r.fn(...a);return i&&(i.key=r.key),i}:r.fn)}return e}/*! #__NO_SIDE_EFFECTS__ */function te(e,t){return st(e)?ar({name:e.name},t,{setup:e}):e}const kv=e=>!!e.type.__asyncLoader;function me(e,t,n={},r,a){if(zr.isCE||zr.parent&&kv(zr.parent)&&zr.parent.isCE)return t!=="default"&&(n.name=t),I("slot",n,r&&r());let i=e[t];i&&i._c&&(i._d=!1),k();const o=i&&fR(i(n)),l=Y(de,{key:n.key||o&&o.key||`_${t}`},o||(r?r():[]),o&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function fR(e){return e.some(t=>Dn(t)?!(t.type===Lr||t.type===de&&!fR(t.children)):!0)?e:null}function oK(e,t){const n={};for(const r in e)n[M0(r)]=e[r];return n}const e4=e=>e?PR(e)?fy(e):e4(e.parent):null,zv=ar(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>e4(e.parent),$root:e=>e4(e.root),$emit:e=>e.emit,$options:e=>z5(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,C5(e.update)}),$nextTick:e=>e.n||(e.n=nt.bind(e.proxy)),$watch:e=>kK.bind(e)}),$3=(e,t)=>e!==Gn&&!e.__isScriptSetup&&Ut(e,t),lK={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:a,props:i,accessCache:o,type:l,appContext:s}=e;let u;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return i[t]}else{if($3(r,t))return o[t]=1,r[t];if(a!==Gn&&Ut(a,t))return o[t]=2,a[t];if((u=e.propsOptions[0])&&Ut(u,t))return o[t]=3,i[t];if(n!==Gn&&Ut(n,t))return o[t]=4,n[t];t4&&(o[t]=0)}}const c=zv[t];let f,d;if(c)return t==="$attrs"&&Da(e.attrs,"get",""),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Gn&&Ut(n,t))return o[t]=4,n[t];if(d=s.config.globalProperties,Ut(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:a,ctx:i}=e;return $3(a,t)?(a[t]=n,!0):r!==Gn&&Ut(r,t)?(r[t]=n,!0):Ut(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:i}},o){let l;return!!n[o]||e!==Gn&&Ut(e,o)||$3(t,o)||(l=i[0])&&Ut(l,o)||Ut(r,o)||Ut(zv,o)||Ut(a.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ut(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Tr(){return dR().slots}function qc(){return dR().attrs}function dR(){const e=xt();return e.setupContext||(e.setupContext=OR(e))}function qC(e){return We(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let t4=!0;function sK(e){const t=z5(e),n=e.proxy,r=e.ctx;t4=!1,t.beforeCreate&&GC(t.beforeCreate,e,"bc");const{data:a,computed:i,methods:o,watch:l,provide:s,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:v,activated:p,deactivated:g,beforeDestroy:m,beforeUnmount:b,destroyed:_,unmounted:w,render:x,renderTracked:S,renderTriggered:C,errorCaptured:T,serverPrefetch:z,expose:A,inheritAttrs:E,components:D,directives:$,filters:O}=t;if(u&&uK(u,r,null),o)for(const B in o){const V=o[B];st(V)&&(r[B]=V.bind(n))}if(a){const B=a.call(n,n);zt(B)&&(e.data=nn(B))}if(t4=!0,i)for(const B in i){const V=i[B],P=st(V)?V.bind(n,n):st(V.get)?V.get.bind(n,n):sn,W=!st(V)&&st(V.set)?V.set.bind(n):sn,Z=L({get:P,set:W});Object.defineProperty(r,B,{enumerable:!0,configurable:!0,get:()=>Z.value,set:ee=>Z.value=ee})}if(l)for(const B in l)hR(l[B],r,n,B);if(s){const B=st(s)?s.call(n):s;Reflect.ownKeys(B).forEach(V=>{Rt(V,B[V])})}c&&GC(c,e,"c");function N(B,V){We(V)?V.forEach(P=>B(P.bind(n))):V&&B(V.bind(n))}if(N(sy,f),N(bt,d),N(cR,h),N(Ll,v),N(zK,p),N(TR,g),N(iK,T),N(aK,S),N(rK,C),N(wn,b),N(Ho,w),N(nK,z),We(A))if(A.length){const B=e.exposed||(e.exposed={});A.forEach(V=>{Object.defineProperty(B,V,{get:()=>n[V],set:P=>n[V]=P})})}else e.exposed||(e.exposed={});x&&e.render===sn&&(e.render=x),E!=null&&(e.inheritAttrs=E),D&&(e.components=D),$&&(e.directives=$)}function uK(e,t,n=sn){We(e)&&(e=n4(e));for(const r in e){const a=e[r];let i;zt(a)?"default"in a?i=Ye(a.from||r,a.default,!0):i=Ye(a.from||r):i=Ye(a),ct(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function GC(e,t,n){mi(We(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function hR(e,t,n,r){const a=r.includes(".")?CR(n,r):()=>n[r];if(vt(e)){const i=t[e];st(i)&&ke(a,i)}else if(st(e))ke(a,e.bind(n));else if(zt(e))if(We(e))e.forEach(i=>hR(i,t,n,r));else{const i=st(e.handler)?e.handler.bind(n):t[e.handler];st(i)&&ke(a,i,e)}}function z5(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let s;return l?s=l:!a.length&&!n&&!r?s=t:(s={},a.length&&a.forEach(u=>A2(s,u,o,!0)),A2(s,t,o)),zt(t)&&i.set(t,s),s}function A2(e,t,n,r=!1){const{mixins:a,extends:i}=t;i&&A2(e,i,n,!0),a&&a.forEach(o=>A2(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=cK[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const cK={data:WC,props:UC,emits:UC,methods:lv,computed:lv,beforeCreate:na,created:na,beforeMount:na,mounted:na,beforeUpdate:na,updated:na,beforeDestroy:na,beforeUnmount:na,destroyed:na,unmounted:na,activated:na,deactivated:na,errorCaptured:na,serverPrefetch:na,components:lv,directives:lv,watch:dK,provide:WC,inject:fK};function WC(e,t){return t?e?function(){return ar(st(e)?e.call(this,this):e,st(t)?t.call(this,this):t)}:t:e}function fK(e,t){return lv(n4(e),n4(t))}function n4(e){if(We(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function na(e,t){return e?[...new Set([].concat(e,t))]:t}function lv(e,t){return e?ar(Object.create(null),e,t):t}function UC(e,t){return e?We(e)&&We(t)?[...new Set([...e,...t])]:ar(Object.create(null),qC(e),qC(t??{})):t}function dK(e,t){if(!e)return t;if(!t)return e;const n=ar(Object.create(null),e);for(const r in t)n[r]=na(e[r],t[r]);return n}function vR(){return{app:null,config:{isNativeTag:nY,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let hK=0;function vK(e,t){return function(r,a=null){st(r)||(r=ar({},r)),a!=null&&!zt(a)&&(a=null);const i=vR(),o=new WeakSet;let l=!1;const s=i.app={_uid:hK++,_component:r,_props:a,_container:null,_context:i,_instance:null,version:qK,get config(){return i.config},set config(u){},use(u,...c){return o.has(u)||(u&&st(u.install)?(o.add(u),u.install(s,...c)):st(u)&&(o.add(u),u(s,...c))),s},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),s},component(u,c){return c?(i.components[u]=c,s):i.components[u]},directive(u,c){return c?(i.directives[u]=c,s):i.directives[u]},mount(u,c,f){if(!l){const d=I(r,a);return d.appContext=i,f===!0?f="svg":f===!1&&(f=void 0),c&&t?t(d,u):e(d,u,f),l=!0,s._container=u,u.__vue_app__=s,fy(d.component)}},unmount(){l&&(e(null,s._container),delete s._container.__vue_app__)},provide(u,c){return i.provides[u]=c,s},runWithContext(u){const c=Mv;Mv=s;try{return u()}finally{Mv=c}}};return s}}let Mv=null;function Rt(e,t){if(Pr){let n=Pr.provides;const r=Pr.parent&&Pr.parent.provides;r===n&&(n=Pr.provides=Object.create(r)),n[e]=t}}function Ye(e,t,n=!1){const r=Pr||zr;if(r||Mv){const a=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Mv._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&st(t)?t.call(r&&r.proxy):t}}const pR={},gR=()=>Object.create(pR),mR=e=>Object.getPrototypeOf(e)===pR;function pK(e,t,n,r=!1){const a={},i=gR();e.propsDefaults=Object.create(null),yR(e,t,a,i);for(const o in e.propsOptions[0])o in a||(a[o]=void 0);n?e.props=r?a:b5(a):e.type.props?e.props=a:e.props=i,e.attrs=i}function gK(e,t,n,r){const{props:a,attrs:i,vnode:{patchFlag:o}}=e,l=dn(a),[s]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let d=c[f];if(ay(e.emitsOptions,d))continue;const h=t[d];if(s)if(Ut(i,d))h!==i[d]&&(i[d]=h,u=!0);else{const v=wi(d);a[v]=r4(s,l,v,h,e,!1)}else h!==i[d]&&(i[d]=h,u=!0)}}}else{yR(e,t,a,i)&&(u=!0);let c;for(const f in l)(!t||!Ut(t,f)&&((c=eu(f))===f||!Ut(t,c)))&&(s?n&&(n[f]!==void 0||n[c]!==void 0)&&(a[f]=r4(s,l,f,void 0,e,!0)):delete a[f]);if(i!==l)for(const f in i)(!t||!Ut(t,f))&&(delete i[f],u=!0)}u&&dl(e.attrs,"set","")}function yR(e,t,n,r){const[a,i]=e.propsOptions;let o=!1,l;if(t)for(let s in t){if(Sv(s))continue;const u=t[s];let c;a&&Ut(a,c=wi(s))?!i||!i.includes(c)?n[c]=u:(l||(l={}))[c]=u:ay(e.emitsOptions,s)||(!(s in r)||u!==r[s])&&(r[s]=u,o=!0)}if(i){const s=dn(n),u=l||Gn;for(let c=0;c<i.length;c++){const f=i[c];n[f]=r4(a,s,f,u[f],e,!Ut(u,f))}}return o}function r4(e,t,n,r,a,i){const o=e[n];if(o!=null){const l=Ut(o,"default");if(l&&r===void 0){const s=o.default;if(o.type!==Function&&!o.skipFactory&&st(s)){const{propsDefaults:u}=a;if(n in u)r=u[n];else{const c=sp(a);r=u[n]=s.call(null,t),c()}}else r=s}o[0]&&(i&&!l?r=!1:o[1]&&(r===""||r===eu(n))&&(r=!0))}return r}function bR(e,t,n=!1){const r=t.propsCache,a=r.get(e);if(a)return a;const i=e.props,o={},l=[];let s=!1;if(!st(e)){const c=f=>{s=!0;const[d,h]=bR(f,t,!0);ar(o,d),h&&l.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!s)return zt(e)&&r.set(e,Xf),Xf;if(We(i))for(let c=0;c<i.length;c++){const f=wi(i[c]);YC(f)&&(o[f]=Gn)}else if(i)for(const c in i){const f=wi(c);if(YC(f)){const d=i[c],h=o[f]=We(d)||st(d)?{type:d}:ar({},d);if(h){const v=ZC(Boolean,h.type),p=ZC(String,h.type);h[0]=v>-1,h[1]=p<0||v<p,(v>-1||Ut(h,"default"))&&l.push(f)}}}const u=[o,l];return zt(e)&&r.set(e,u),u}function YC(e){return e[0]!=="$"&&!Sv(e)}function KC(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function XC(e,t){return KC(e)===KC(t)}function ZC(e,t){return We(t)?t.findIndex(n=>XC(n,e)):st(t)&&XC(t,e)?0:-1}const _R=e=>e[0]==="_"||e==="$stable",M5=e=>We(e)?e.map(mo):[mo(e)],mK=(e,t,n)=>{if(t._n)return t;const r=M((...a)=>M5(t(...a)),n);return r._c=!1,r},wR=(e,t,n)=>{const r=e._ctx;for(const a in e){if(_R(a))continue;const i=e[a];if(st(i))t[a]=mK(a,i,r);else if(i!=null){const o=M5(i);t[a]=()=>o}}},xR=(e,t)=>{const n=M5(t);e.slots.default=()=>n},yK=(e,t)=>{const n=e.slots=gR();if(e.vnode.shapeFlag&32){const r=t._;r?(ar(n,t),DP(n,"_",r,!0)):wR(t,n)}else t&&xR(e,t)},bK=(e,t,n)=>{const{vnode:r,slots:a}=e;let i=!0,o=Gn;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ar(a,t),!n&&l===1&&delete a._):(i=!t.$stable,wR(t,a)),o=t}else t&&(xR(e,t),o={default:1});if(i)for(const l in a)!_R(l)&&o[l]==null&&delete a[l]};function a4(e,t,n,r,a=!1){if(We(e)){e.forEach((d,h)=>a4(d,t&&(We(t)?t[h]:t),n,r,a));return}if(kv(r)&&!a)return;const i=r.shapeFlag&4?fy(r.component):r.el,o=a?null:i,{i:l,r:s}=e,u=t&&t.r,c=l.refs===Gn?l.refs={}:l.refs,f=l.setupState;if(u!=null&&u!==s&&(vt(u)?(c[u]=null,Ut(f,u)&&(f[u]=null)):ct(u)&&(u.value=null)),st(s))Es(s,l,12,[o,c]);else{const d=vt(s),h=ct(s);if(d||h){const v=()=>{if(e.f){const p=d?Ut(f,s)?f[s]:c[s]:s.value;a?We(p)&&d5(p,i):We(p)?p.includes(i)||p.push(i):d?(c[s]=[i],Ut(f,s)&&(f[s]=c[s])):(s.value=[i],e.k&&(c[e.k]=s.value))}else d?(c[s]=o,Ut(f,s)&&(f[s]=o)):h&&(s.value=o,e.k&&(c[e.k]=o))};o?(v.id=-1,Sa(v,n)):v()}}}const Sa=tK;function _K(e){return wK(e)}function wK(e,t){const n=LP();n.__VUE__=!0;const{insert:r,remove:a,patchProp:i,createElement:o,createText:l,createComment:s,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=sn,insertStaticContent:v}=e,p=(J,oe,pe,Te=null,ge=null,Ae=null,De=void 0,Pe=null,Re=!!oe.dynamicChildren)=>{if(J===oe)return;J&&!Wu(J,oe)&&(Te=ae(J),ee(J,ge,Ae,!0),J=null),oe.patchFlag===-2&&(Re=!1,oe.dynamicChildren=null);const{type:Ce,ref:Ue,shapeFlag:Je}=oe;switch(Ce){case Yd:g(J,oe,pe,Te);break;case Lr:m(J,oe,pe,Te);break;case F3:J==null&&b(oe,pe,Te,De);break;case de:D(J,oe,pe,Te,ge,Ae,De,Pe,Re);break;default:Je&1?x(J,oe,pe,Te,ge,Ae,De,Pe,Re):Je&6?$(J,oe,pe,Te,ge,Ae,De,Pe,Re):(Je&64||Je&128)&&Ce.process(J,oe,pe,Te,ge,Ae,De,Pe,Re,ce)}Ue!=null&&ge&&a4(Ue,J&&J.ref,Ae,oe||J,!oe)},g=(J,oe,pe,Te)=>{if(J==null)r(oe.el=l(oe.children),pe,Te);else{const ge=oe.el=J.el;oe.children!==J.children&&u(ge,oe.children)}},m=(J,oe,pe,Te)=>{J==null?r(oe.el=s(oe.children||""),pe,Te):oe.el=J.el},b=(J,oe,pe,Te)=>{[J.el,J.anchor]=v(J.children,oe,pe,Te,J.el,J.anchor)},_=({el:J,anchor:oe},pe,Te)=>{let ge;for(;J&&J!==oe;)ge=d(J),r(J,pe,Te),J=ge;r(oe,pe,Te)},w=({el:J,anchor:oe})=>{let pe;for(;J&&J!==oe;)pe=d(J),a(J),J=pe;a(oe)},x=(J,oe,pe,Te,ge,Ae,De,Pe,Re)=>{oe.type==="svg"?De="svg":oe.type==="math"&&(De="mathml"),J==null?S(oe,pe,Te,ge,Ae,De,Pe,Re):z(J,oe,ge,Ae,De,Pe,Re)},S=(J,oe,pe,Te,ge,Ae,De,Pe)=>{let Re,Ce;const{props:Ue,shapeFlag:Je,transition:ze,dirs:Ke}=J;if(Re=J.el=o(J.type,Ae,Ue&&Ue.is,Ue),Je&8?c(Re,J.children):Je&16&&T(J.children,Re,null,Te,ge,V3(J,Ae),De,Pe),Ke&&cu(J,null,Te,"created"),C(Re,J,J.scopeId,De,Te),Ue){for(const Et in Ue)Et!=="value"&&!Sv(Et)&&i(Re,Et,null,Ue[Et],Ae,J.children,Te,ge,le);"value"in Ue&&i(Re,"value",null,Ue.value,Ae),(Ce=Ue.onVnodeBeforeMount)&&lo(Ce,Te,J)}Ke&&cu(J,null,Te,"beforeMount");const ut=xK(ge,ze);ut&&ze.beforeEnter(Re),r(Re,oe,pe),((Ce=Ue&&Ue.onVnodeMounted)||ut||Ke)&&Sa(()=>{Ce&&lo(Ce,Te,J),ut&&ze.enter(Re),Ke&&cu(J,null,Te,"mounted")},ge)},C=(J,oe,pe,Te,ge)=>{if(pe&&h(J,pe),Te)for(let Ae=0;Ae<Te.length;Ae++)h(J,Te[Ae]);if(ge){let Ae=ge.subTree;if(oe===Ae){const De=ge.vnode;C(J,De,De.scopeId,De.slotScopeIds,ge.parent)}}},T=(J,oe,pe,Te,ge,Ae,De,Pe,Re=0)=>{for(let Ce=Re;Ce<J.length;Ce++){const Ue=J[Ce]=Pe?fs(J[Ce]):mo(J[Ce]);p(null,Ue,oe,pe,Te,ge,Ae,De,Pe)}},z=(J,oe,pe,Te,ge,Ae,De)=>{const Pe=oe.el=J.el;let{patchFlag:Re,dynamicChildren:Ce,dirs:Ue}=oe;Re|=J.patchFlag&16;const Je=J.props||Gn,ze=oe.props||Gn;let Ke;if(pe&&fu(pe,!1),(Ke=ze.onVnodeBeforeUpdate)&&lo(Ke,pe,oe,J),Ue&&cu(oe,J,pe,"beforeUpdate"),pe&&fu(pe,!0),Ce?A(J.dynamicChildren,Ce,Pe,pe,Te,V3(oe,ge),Ae):De||V(J,oe,Pe,null,pe,Te,V3(oe,ge),Ae,!1),Re>0){if(Re&16)E(Pe,oe,Je,ze,pe,Te,ge);else if(Re&2&&Je.class!==ze.class&&i(Pe,"class",null,ze.class,ge),Re&4&&i(Pe,"style",Je.style,ze.style,ge),Re&8){const ut=oe.dynamicProps;for(let Et=0;Et<ut.length;Et++){const Ct=ut[Et],rt=Je[Ct],Me=ze[Ct];(Me!==rt||Ct==="value")&&i(Pe,Ct,rt,Me,ge,J.children,pe,Te,le)}}Re&1&&J.children!==oe.children&&c(Pe,oe.children)}else!De&&Ce==null&&E(Pe,oe,Je,ze,pe,Te,ge);((Ke=ze.onVnodeUpdated)||Ue)&&Sa(()=>{Ke&&lo(Ke,pe,oe,J),Ue&&cu(oe,J,pe,"updated")},Te)},A=(J,oe,pe,Te,ge,Ae,De)=>{for(let Pe=0;Pe<oe.length;Pe++){const Re=J[Pe],Ce=oe[Pe],Ue=Re.el&&(Re.type===de||!Wu(Re,Ce)||Re.shapeFlag&70)?f(Re.el):pe;p(Re,Ce,Ue,null,Te,ge,Ae,De,!0)}},E=(J,oe,pe,Te,ge,Ae,De)=>{if(pe!==Te){if(pe!==Gn)for(const Pe in pe)!Sv(Pe)&&!(Pe in Te)&&i(J,Pe,pe[Pe],null,De,oe.children,ge,Ae,le);for(const Pe in Te){if(Sv(Pe))continue;const Re=Te[Pe],Ce=pe[Pe];Re!==Ce&&Pe!=="value"&&i(J,Pe,Ce,Re,De,oe.children,ge,Ae,le)}"value"in Te&&i(J,"value",pe.value,Te.value,De)}},D=(J,oe,pe,Te,ge,Ae,De,Pe,Re)=>{const Ce=oe.el=J?J.el:l(""),Ue=oe.anchor=J?J.anchor:l("");let{patchFlag:Je,dynamicChildren:ze,slotScopeIds:Ke}=oe;Ke&&(Pe=Pe?Pe.concat(Ke):Ke),J==null?(r(Ce,pe,Te),r(Ue,pe,Te),T(oe.children||[],pe,Ue,ge,Ae,De,Pe,Re)):Je>0&&Je&64&&ze&&J.dynamicChildren?(A(J.dynamicChildren,ze,pe,ge,Ae,De,Pe),(oe.key!=null||ge&&oe===ge.subTree)&&A5(J,oe,!0)):V(J,oe,pe,Ue,ge,Ae,De,Pe,Re)},$=(J,oe,pe,Te,ge,Ae,De,Pe,Re)=>{oe.slotScopeIds=Pe,J==null?oe.shapeFlag&512?ge.ctx.activate(oe,pe,Te,De,Re):O(oe,pe,Te,ge,Ae,De,Re):R(J,oe,Re)},O=(J,oe,pe,Te,ge,Ae,De)=>{const Pe=J.component=$K(J,Te,ge);if(uy(J)&&(Pe.ctx.renderer=ce),VK(Pe),Pe.asyncDep){if(ge&&ge.registerDep(Pe,N,De),!J.el){const Re=Pe.subTree=I(Lr);m(null,Re,oe,pe)}}else N(Pe,J,oe,pe,ge,Ae,De)},R=(J,oe,pe)=>{const Te=oe.component=J.component;if(ZY(J,oe,pe))if(Te.asyncDep&&!Te.asyncResolved){B(Te,oe,pe);return}else Te.next=oe,GY(Te.update),Te.effect.dirty=!0,Te.update();else oe.el=J.el,Te.vnode=oe},N=(J,oe,pe,Te,ge,Ae,De)=>{const Pe=()=>{if(J.isMounted){let{next:Ue,bu:Je,u:ze,parent:Ke,vnode:ut}=J;{const qe=SR(J);if(qe){Ue&&(Ue.el=ut.el,B(J,Ue,De)),qe.asyncDep.then(()=>{J.isUnmounted||Pe()});return}}let Et=Ue,Ct;fu(J,!1),Ue?(Ue.el=ut.el,B(J,Ue,De)):Ue=ut,Je&&A0(Je),(Ct=Ue.props&&Ue.props.onVnodeBeforeUpdate)&&lo(Ct,Ke,Ue,ut),fu(J,!0);const rt=N3(J),Me=J.subTree;J.subTree=rt,p(Me,rt,f(Me.el),ae(Me),J,ge,Ae),Ue.el=rt.el,Et===null&&JY(J,rt.el),ze&&Sa(ze,ge),(Ct=Ue.props&&Ue.props.onVnodeUpdated)&&Sa(()=>lo(Ct,Ke,Ue,ut),ge)}else{let Ue;const{el:Je,props:ze}=oe,{bm:Ke,m:ut,parent:Et}=J,Ct=kv(oe);if(fu(J,!1),Ke&&A0(Ke),!Ct&&(Ue=ze&&ze.onVnodeBeforeMount)&&lo(Ue,Et,oe),fu(J,!0),Je&&xe){const rt=()=>{J.subTree=N3(J),xe(Je,J.subTree,J,ge,null)};Ct?oe.type.__asyncLoader().then(()=>!J.isUnmounted&&rt()):rt()}else{const rt=J.subTree=N3(J);p(null,rt,pe,Te,J,ge,Ae),oe.el=rt.el}if(ut&&Sa(ut,ge),!Ct&&(Ue=ze&&ze.onVnodeMounted)){const rt=oe;Sa(()=>lo(Ue,Et,rt),ge)}(oe.shapeFlag&256||Et&&kv(Et.vnode)&&Et.vnode.shapeFlag&256)&&J.a&&Sa(J.a,ge),J.isMounted=!0,oe=pe=Te=null}},Re=J.effect=new v5(Pe,sn,()=>C5(Ce),J.scope),Ce=J.update=()=>{Re.dirty&&Re.run()};Ce.id=J.uid,fu(J,!0),Ce()},B=(J,oe,pe)=>{oe.component=J;const Te=J.vnode.props;J.vnode=oe,J.next=null,gK(J,oe.props,Te,pe),bK(J,oe.children,pe),tu(),FC(J),nu()},V=(J,oe,pe,Te,ge,Ae,De,Pe,Re=!1)=>{const Ce=J&&J.children,Ue=J?J.shapeFlag:0,Je=oe.children,{patchFlag:ze,shapeFlag:Ke}=oe;if(ze>0){if(ze&128){W(Ce,Je,pe,Te,ge,Ae,De,Pe,Re);return}else if(ze&256){P(Ce,Je,pe,Te,ge,Ae,De,Pe,Re);return}}Ke&8?(Ue&16&&le(Ce,ge,Ae),Je!==Ce&&c(pe,Je)):Ue&16?Ke&16?W(Ce,Je,pe,Te,ge,Ae,De,Pe,Re):le(Ce,ge,Ae,!0):(Ue&8&&c(pe,""),Ke&16&&T(Je,pe,Te,ge,Ae,De,Pe,Re))},P=(J,oe,pe,Te,ge,Ae,De,Pe,Re)=>{J=J||Xf,oe=oe||Xf;const Ce=J.length,Ue=oe.length,Je=Math.min(Ce,Ue);let ze;for(ze=0;ze<Je;ze++){const Ke=oe[ze]=Re?fs(oe[ze]):mo(oe[ze]);p(J[ze],Ke,pe,null,ge,Ae,De,Pe,Re)}Ce>Ue?le(J,ge,Ae,!0,!1,Je):T(oe,pe,Te,ge,Ae,De,Pe,Re,Je)},W=(J,oe,pe,Te,ge,Ae,De,Pe,Re)=>{let Ce=0;const Ue=oe.length;let Je=J.length-1,ze=Ue-1;for(;Ce<=Je&&Ce<=ze;){const Ke=J[Ce],ut=oe[Ce]=Re?fs(oe[Ce]):mo(oe[Ce]);if(Wu(Ke,ut))p(Ke,ut,pe,null,ge,Ae,De,Pe,Re);else break;Ce++}for(;Ce<=Je&&Ce<=ze;){const Ke=J[Je],ut=oe[ze]=Re?fs(oe[ze]):mo(oe[ze]);if(Wu(Ke,ut))p(Ke,ut,pe,null,ge,Ae,De,Pe,Re);else break;Je--,ze--}if(Ce>Je){if(Ce<=ze){const Ke=ze+1,ut=Ke<Ue?oe[Ke].el:Te;for(;Ce<=ze;)p(null,oe[Ce]=Re?fs(oe[Ce]):mo(oe[Ce]),pe,ut,ge,Ae,De,Pe,Re),Ce++}}else if(Ce>ze)for(;Ce<=Je;)ee(J[Ce],ge,Ae,!0),Ce++;else{const Ke=Ce,ut=Ce,Et=new Map;for(Ce=ut;Ce<=ze;Ce++){const Xe=oe[Ce]=Re?fs(oe[Ce]):mo(oe[Ce]);Xe.key!=null&&Et.set(Xe.key,Ce)}let Ct,rt=0;const Me=ze-ut+1;let qe=!1,Le=0;const _e=new Array(Me);for(Ce=0;Ce<Me;Ce++)_e[Ce]=0;for(Ce=Ke;Ce<=Je;Ce++){const Xe=J[Ce];if(rt>=Me){ee(Xe,ge,Ae,!0);continue}let be;if(Xe.key!=null)be=Et.get(Xe.key);else for(Ct=ut;Ct<=ze;Ct++)if(_e[Ct-ut]===0&&Wu(Xe,oe[Ct])){be=Ct;break}be===void 0?ee(Xe,ge,Ae,!0):(_e[be-ut]=Ce+1,be>=Le?Le=be:qe=!0,p(Xe,oe[be],pe,null,ge,Ae,De,Pe,Re),rt++)}const Ie=qe?SK(_e):Xf;for(Ct=Ie.length-1,Ce=Me-1;Ce>=0;Ce--){const Xe=ut+Ce,be=oe[Xe],Qe=Xe+1<Ue?oe[Xe+1].el:Te;_e[Ce]===0?p(null,be,pe,Qe,ge,Ae,De,Pe,Re):qe&&(Ct<0||Ce!==Ie[Ct]?Z(be,pe,Qe,2):Ct--)}}},Z=(J,oe,pe,Te,ge=null)=>{const{el:Ae,type:De,transition:Pe,children:Re,shapeFlag:Ce}=J;if(Ce&6){Z(J.component.subTree,oe,pe,Te);return}if(Ce&128){J.suspense.move(oe,pe,Te);return}if(Ce&64){De.move(J,oe,pe,ce);return}if(De===de){r(Ae,oe,pe);for(let Je=0;Je<Re.length;Je++)Z(Re[Je],oe,pe,Te);r(J.anchor,oe,pe);return}if(De===F3){_(J,oe,pe);return}if(Te!==2&&Ce&1&&Pe)if(Te===0)Pe.beforeEnter(Ae),r(Ae,oe,pe),Sa(()=>Pe.enter(Ae),ge);else{const{leave:Je,delayLeave:ze,afterLeave:Ke}=Pe,ut=()=>r(Ae,oe,pe),Et=()=>{Je(Ae,()=>{ut(),Ke&&Ke()})};ze?ze(Ae,ut,Et):Et()}else r(Ae,oe,pe)},ee=(J,oe,pe,Te=!1,ge=!1)=>{const{type:Ae,props:De,ref:Pe,children:Re,dynamicChildren:Ce,shapeFlag:Ue,patchFlag:Je,dirs:ze,memoIndex:Ke}=J;if(Pe!=null&&a4(Pe,null,pe,J,!0),Ke!=null&&(oe.renderCache[Ke]=void 0),Ue&256){oe.ctx.deactivate(J);return}const ut=Ue&1&&ze,Et=!kv(J);let Ct;if(Et&&(Ct=De&&De.onVnodeBeforeUnmount)&&lo(Ct,oe,J),Ue&6)ye(J.component,pe,Te);else{if(Ue&128){J.suspense.unmount(pe,Te);return}ut&&cu(J,null,oe,"beforeUnmount"),Ue&64?J.type.remove(J,oe,pe,ge,ce,Te):Ce&&(Ae!==de||Je>0&&Je&64)?le(Ce,oe,pe,!1,!0):(Ae===de&&Je&384||!ge&&Ue&16)&&le(Re,oe,pe),Te&&re(J)}(Et&&(Ct=De&&De.onVnodeUnmounted)||ut)&&Sa(()=>{Ct&&lo(Ct,oe,J),ut&&cu(J,null,oe,"unmounted")},pe)},re=J=>{const{type:oe,el:pe,anchor:Te,transition:ge}=J;if(oe===de){ue(pe,Te);return}if(oe===F3){w(J);return}const Ae=()=>{a(pe),ge&&!ge.persisted&&ge.afterLeave&&ge.afterLeave()};if(J.shapeFlag&1&&ge&&!ge.persisted){const{leave:De,delayLeave:Pe}=ge,Re=()=>De(pe,Ae);Pe?Pe(J.el,Ae,Re):Re()}else Ae()},ue=(J,oe)=>{let pe;for(;J!==oe;)pe=d(J),a(J),J=pe;a(oe)},ye=(J,oe,pe)=>{const{bum:Te,scope:ge,update:Ae,subTree:De,um:Pe,m:Re,a:Ce}=J;JC(Re),JC(Ce),Te&&A0(Te),ge.stop(),Ae&&(Ae.active=!1,ee(De,J,oe,pe)),Pe&&Sa(Pe,oe),Sa(()=>{J.isUnmounted=!0},oe),oe&&oe.pendingBranch&&!oe.isUnmounted&&J.asyncDep&&!J.asyncResolved&&J.suspenseId===oe.pendingId&&(oe.deps--,oe.deps===0&&oe.resolve())},le=(J,oe,pe,Te=!1,ge=!1,Ae=0)=>{for(let De=Ae;De<J.length;De++)ee(J[De],oe,pe,Te,ge)},ae=J=>J.shapeFlag&6?ae(J.component.subTree):J.shapeFlag&128?J.suspense.next():d(J.anchor||J.el);let ie=!1;const ve=(J,oe,pe)=>{J==null?oe._vnode&&ee(oe._vnode,null,null,!0):p(oe._vnode||null,J,oe,null,null,null,pe),ie||(ie=!0,FC(),aR(),ie=!1),oe._vnode=J},ce={p,um:ee,m:Z,r:re,mt:O,mc:T,pc:V,pbc:A,n:ae,o:e};let fe,xe;return{render:ve,hydrate:fe,createApp:vK(ve,fe)}}function V3({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function fu({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xK(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function A5(e,t,n=!1){const r=e.children,a=t.children;if(We(r)&&We(a))for(let i=0;i<r.length;i++){const o=r[i];let l=a[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=a[i]=fs(a[i]),l.el=o.el),!n&&l.patchFlag!==-2&&A5(o,l)),l.type===Yd&&(l.el=o.el)}}function SK(e){const t=e.slice(),n=[0];let r,a,i,o,l;const s=e.length;for(r=0;r<s;r++){const u=e[r];if(u!==0){if(a=n[n.length-1],e[a]<u){t[r]=a,n.push(r);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<u?i=l+1:o=l;u<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function SR(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:SR(t)}function JC(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const CK=Symbol.for("v-scx"),TK=()=>Ye(CK);function Or(e,t){return E5(e,null,t)}const ng={};function ke(e,t,n){return E5(e,t,n)}function E5(e,t,{immediate:n,deep:r,flush:a,once:i,onTrack:o,onTrigger:l}=Gn){if(t&&i){const S=t;t=(...C)=>{S(...C),x()}}const s=Pr,u=S=>r===!0?S:ps(S,r===!1?1:void 0);let c,f=!1,d=!1;if(ct(e)?(c=()=>e.value,f=z2(e)):Cv(e)?(c=()=>u(e),f=!0):We(e)?(d=!0,f=e.some(S=>Cv(S)||z2(S)),c=()=>e.map(S=>{if(ct(S))return S.value;if(Cv(S))return u(S);if(st(S))return Es(S,s,2)})):st(e)?t?c=()=>Es(e,s,2):c=()=>(h&&h(),mi(e,s,3,[v])):c=sn,t&&r){const S=c;c=()=>ps(S())}let h,v=S=>{h=_.onStop=()=>{Es(S,s,4),h=_.onStop=void 0}},p;if(cy)if(v=sn,t?n&&mi(t,s,3,[c(),d?[]:void 0,v]):c(),a==="sync"){const S=TK();p=S.__watcherHandles||(S.__watcherHandles=[])}else return sn;let g=d?new Array(e.length).fill(ng):ng;const m=()=>{if(!(!_.active||!_.dirty))if(t){const S=_.run();(r||f||(d?S.some((C,T)=>Ns(C,g[T])):Ns(S,g)))&&(h&&h(),mi(t,s,3,[S,g===ng?void 0:d&&g[0]===ng?[]:g,v]),g=S)}else _.run()};m.allowRecurse=!!t;let b;a==="sync"?b=m:a==="post"?b=()=>Sa(m,s&&s.suspense):(m.pre=!0,s&&(m.id=s.uid),b=()=>C5(m));const _=new v5(c,sn,b),w=$P(),x=()=>{_.stop(),w&&d5(w.effects,_)};return t?n?m():g=_.run():a==="post"?Sa(_.run.bind(_),s&&s.suspense):_.run(),p&&p.push(x),x}function kK(e,t,n){const r=this.proxy,a=vt(e)?e.includes(".")?CR(r,e):()=>r[e]:e.bind(r,r);let i;st(t)?i=t:(i=t.handler,n=t);const o=sp(this),l=E5(a,i.bind(r),n);return o(),l}function CR(e,t){const n=t.split(".");return()=>{let r=e;for(let a=0;a<n.length&&r;a++)r=r[n[a]];return r}}function ps(e,t=1/0,n){if(t<=0||!zt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ct(e))ps(e.value,t,n);else if(We(e))for(let r=0;r<e.length;r++)ps(e[r],t,n);else if(ey(e)||Zf(e))e.forEach(r=>{ps(r,t,n)});else if(T2(e)){for(const r in e)ps(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&ps(e[r],t,n)}return e}const uy=e=>e.type.__isKeepAlive;function zK(e,t){kR(e,"a",t)}function TR(e,t){kR(e,"da",t)}function kR(e,t,n=Pr){const r=e.__wdc||(e.__wdc=()=>{let a=n;for(;a;){if(a.isDeactivated)return;a=a.parent}return e()});if(ly(t,r,n),n){let a=n.parent;for(;a&&a.parent;)uy(a.parent.vnode)&&MK(r,t,n,a),a=a.parent}}function MK(e,t,n,r){const a=ly(t,e,r,!0);Ho(()=>{d5(r[t],a)},n)}const cs=Symbol("_leaveCb"),rg=Symbol("_enterCb");function zR(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bt(()=>{e.isMounted=!0}),wn(()=>{e.isUnmounting=!0}),e}const Xa=[Function,Array],MR={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Xa,onEnter:Xa,onAfterEnter:Xa,onEnterCancelled:Xa,onBeforeLeave:Xa,onLeave:Xa,onAfterLeave:Xa,onLeaveCancelled:Xa,onBeforeAppear:Xa,onAppear:Xa,onAfterAppear:Xa,onAppearCancelled:Xa},AR=e=>{const t=e.subTree;return t.component?AR(t.component):t},AK={name:"BaseTransition",props:MR,setup(e,{slots:t}){const n=xt(),r=zR();return()=>{const a=t.default&&I5(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1){for(const d of a)if(d.type!==Lr){i=d;break}}const o=dn(e),{mode:l}=o;if(r.isLeaving)return B3(i);const s=QC(i);if(!s)return B3(i);let u=s1(s,o,r,n,d=>u=d);hd(s,u);const c=n.subTree,f=c&&QC(c);if(f&&f.type!==Lr&&!Wu(s,f)&&AR(n).type!==Lr){const d=s1(f,o,r,n);if(hd(f,d),l==="out-in"&&s.type!==Lr)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},B3(i);l==="in-out"&&s.type!==Lr&&(d.delayLeave=(h,v,p)=>{const g=ER(r,f);g[String(f.key)]=f,h[cs]=()=>{v(),h[cs]=void 0,delete u.delayedLeave},u.delayedLeave=p})}return i}}},EK=AK;function ER(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function s1(e,t,n,r,a){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:s,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:d,onLeave:h,onAfterLeave:v,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:b,onAppearCancelled:_}=t,w=String(e.key),x=ER(n,e),S=(z,A)=>{z&&mi(z,r,9,A)},C=(z,A)=>{const E=A[1];S(z,A),We(z)?z.every(D=>D.length<=1)&&E():z.length<=1&&E()},T={mode:o,persisted:l,beforeEnter(z){let A=s;if(!n.isMounted)if(i)A=g||s;else return;z[cs]&&z[cs](!0);const E=x[w];E&&Wu(e,E)&&E.el[cs]&&E.el[cs](),S(A,[z])},enter(z){let A=u,E=c,D=f;if(!n.isMounted)if(i)A=m||u,E=b||c,D=_||f;else return;let $=!1;const O=z[rg]=R=>{$||($=!0,R?S(D,[z]):S(E,[z]),T.delayedLeave&&T.delayedLeave(),z[rg]=void 0)};A?C(A,[z,O]):O()},leave(z,A){const E=String(e.key);if(z[rg]&&z[rg](!0),n.isUnmounting)return A();S(d,[z]);let D=!1;const $=z[cs]=O=>{D||(D=!0,A(),O?S(p,[z]):S(v,[z]),z[cs]=void 0,x[E]===e&&delete x[E])};x[E]=e,h?C(h,[z,$]):$()},clone(z){const A=s1(z,t,n,r,a);return a&&a(A),A}};return T}function B3(e){if(uy(e))return e=wl(e),e.children=null,e}function QC(e){if(!uy(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&st(n.default))return n.default()}}function hd(e,t){e.shapeFlag&6&&e.component?hd(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function I5(e,t=!1,n){let r=[],a=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===de?(o.patchFlag&128&&a++,r=r.concat(I5(o.children,t,l))):(t||o.type!==Lr)&&r.push(l!=null?wl(o,{key:l}):o)}if(a>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}const IK=e=>e.__isTeleport,Av=e=>e&&(e.disabled||e.disabled===""),e7=e=>typeof SVGElement<"u"&&e instanceof SVGElement,t7=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,i4=(e,t)=>{const n=e&&e.to;return vt(n)?t?t(n):null:n},DK={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,i,o,l,s,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:v,createText:p,createComment:g}}=u,m=Av(t.props);let{shapeFlag:b,children:_,dynamicChildren:w}=t;if(e==null){const x=t.el=p(""),S=t.anchor=p("");h(x,n,r),h(S,n,r);const C=t.target=i4(t.props,v),T=t.targetAnchor=p("");C&&(h(T,C),o==="svg"||e7(C)?o="svg":(o==="mathml"||t7(C))&&(o="mathml"));const z=(A,E)=>{b&16&&c(_,A,E,a,i,o,l,s)};m?z(n,S):C&&z(C,T)}else{t.el=e.el;const x=t.anchor=e.anchor,S=t.target=e.target,C=t.targetAnchor=e.targetAnchor,T=Av(e.props),z=T?n:S,A=T?x:C;if(o==="svg"||e7(S)?o="svg":(o==="mathml"||t7(S))&&(o="mathml"),w?(d(e.dynamicChildren,w,z,a,i,o,l),A5(e,t,!0)):s||f(e,t,z,A,a,i,o,l,!1),m)T?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ag(t,n,x,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=i4(t.props,v);E&&ag(t,E,null,u,0)}else T&&ag(t,S,C,u,1)}IR(t)},remove(e,t,n,r,{um:a,o:{remove:i}},o){const{shapeFlag:l,children:s,anchor:u,targetAnchor:c,target:f,props:d}=e;if(f&&i(c),o&&i(u),l&16){const h=o||!Av(d);for(let v=0;v<s.length;v++){const p=s[v];a(p,t,n,h,!!p.dynamicChildren)}}},move:ag,hydrate:LK};function ag(e,t,n,{o:{insert:r},m:a},i=2){i===0&&r(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:s,children:u,props:c}=e,f=i===2;if(f&&r(o,t,n),(!f||Av(c))&&s&16)for(let d=0;d<u.length;d++)a(u[d],t,n,2);f&&r(l,t,n)}function LK(e,t,n,r,a,i,{o:{nextSibling:o,parentNode:l,querySelector:s}},u){const c=t.target=i4(t.props,s);if(c){const f=c._lpa||c.firstChild;if(t.shapeFlag&16)if(Av(t.props))t.anchor=u(o(e),t,l(e),n,r,a,i),t.targetAnchor=f;else{t.anchor=o(e);let d=f;for(;d;)if(d=o(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,c._lpa=t.targetAnchor&&o(t.targetAnchor);break}u(f,t,c,n,r,a,i)}IR(t)}return t.anchor&&o(t.anchor)}const Ud=DK;function IR(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const de=Symbol.for("v-fgt"),Yd=Symbol.for("v-txt"),Lr=Symbol.for("v-cmt"),F3=Symbol.for("v-stc"),Ev=[];let Hi=null;function k(e=!1){Ev.push(Hi=e?null:[])}function PK(){Ev.pop(),Hi=Ev[Ev.length-1]||null}let u1=1;function n7(e){u1+=e}function DR(e){return e.dynamicChildren=u1>0?Hi||Xf:null,PK(),u1>0&&Hi&&Hi.push(e),e}function F(e,t,n,r,a,i){return DR(X(e,t,n,r,a,i,!0))}function Y(e,t,n,r,a){return DR(I(e,t,n,r,a,!0))}function Dn(e){return e?e.__v_isVNode===!0:!1}function Wu(e,t){return e.type===t.type&&e.key===t.key}const LR=({key:e})=>e??null,E0=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?vt(e)||ct(e)||st(e)?{i:zr,r:e,k:t,f:!!n}:e:null);function X(e,t=null,n=null,r=0,a=null,i=e===de?0:1,o=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&LR(t),ref:t&&E0(t),scopeId:iy,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:zr};return l?(D5(s,n),i&128&&e.normalize(s)):n&&(s.shapeFlag|=vt(n)?8:16),u1>0&&!o&&Hi&&(s.patchFlag>0||i&6)&&s.patchFlag!==32&&Hi.push(s),s}const I=RK;function RK(e,t=null,n=null,r=0,a=null,i=!1){if((!e||e===uR)&&(e=Lr),Dn(e)){const l=wl(e,t,!0);return n&&D5(l,n),u1>0&&!i&&Hi&&(l.shapeFlag&6?Hi[Hi.indexOf(e)]=l:Hi.push(l)),l.patchFlag=-2,l}if(jK(e)&&(e=e.__vccOpts),t){t=vd(t);let{class:l,style:s}=t;l&&!vt(l)&&(t.class=q(l)),zt(s)&&(ZP(s)&&!We(s)&&(s=ar({},s)),t.style=Be(s))}const o=vt(e)?1:eK(e)?128:IK(e)?64:zt(e)?4:st(e)?2:0;return X(e,t,n,r,a,o,i,!0)}function vd(e){return e?ZP(e)||mR(e)?ar({},e):e:null}function wl(e,t,n=!1,r=!1){const{props:a,ref:i,patchFlag:o,children:l,transition:s}=e,u=t?Pt(a||{},t):a,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&LR(u),ref:t&&t.ref?n&&i?We(i)?i.concat(E0(t)):[i,E0(t)]:E0(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:s,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&wl(e.ssContent),ssFallback:e.ssFallback&&wl(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return s&&r&&hd(c,s.clone(c)),c}function G(e=" ",t=0){return I(Yd,null,e,t)}function Q(e="",t=!1){return t?(k(),Y(Lr,null,e)):I(Lr,null,e)}function mo(e){return e==null||typeof e=="boolean"?I(Lr):We(e)?I(de,null,e.slice()):typeof e=="object"?fs(e):I(Yd,null,String(e))}function fs(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:wl(e)}function D5(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(We(t))n=16;else if(typeof t=="object")if(r&65){const a=t.default;a&&(a._c&&(a._d=!1),D5(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!mR(t)?t._ctx=zr:a===3&&zr&&(zr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else st(t)?(t={default:t,_ctx:zr},n=32):(t=String(t),r&64?(n=16,t=[G(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pt(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const a in r)if(a==="class")t.class!==r.class&&(t.class=q([t.class,r.class]));else if(a==="style")t.style=Be([t.style,r.style]);else if(Qm(a)){const i=t[a],o=r[a];o&&i!==o&&!(We(i)&&i.includes(o))&&(t[a]=i?[].concat(i,o):o)}else a!==""&&(t[a]=r[a])}return t}function lo(e,t,n,r=null){mi(e,t,7,[n,r])}const OK=vR();let NK=0;function $K(e,t,n){const r=e.type,a=(t?t.appContext:e.appContext)||OK,i={uid:NK++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new NP(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:bR(r,a),emitsOptions:oR(r,a),emit:null,emitted:null,propsDefaults:Gn,inheritAttrs:r.inheritAttrs,ctx:Gn,data:Gn,props:Gn,attrs:Gn,slots:Gn,refs:Gn,setupState:Gn,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=YY.bind(null,i),e.ce&&e.ce(i),i}let Pr=null;const xt=()=>Pr||zr;let E2,o4;{const e=LP(),t=(n,r)=>{let a;return(a=e[n])||(a=e[n]=[]),a.push(r),i=>{a.length>1?a.forEach(o=>o(i)):a[0](i)}};E2=t("__VUE_INSTANCE_SETTERS__",n=>Pr=n),o4=t("__VUE_SSR_SETTERS__",n=>cy=n)}const sp=e=>{const t=Pr;return E2(e),e.scope.on(),()=>{e.scope.off(),E2(t)}},r7=()=>{Pr&&Pr.scope.off(),E2(null)};function PR(e){return e.vnode.shapeFlag&4}let cy=!1;function VK(e,t=!1){t&&o4(t);const{props:n,children:r}=e.vnode,a=PR(e);pK(e,n,a,t),yK(e,r);const i=a?BK(e,t):void 0;return t&&o4(!1),i}function BK(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,lK);const{setup:r}=n;if(r){const a=e.setupContext=r.length>1?OR(e):null,i=sp(e);tu();const o=Es(r,e,0,[e.props,a]);if(nu(),i(),r1(o)){if(o.then(r7,r7),t)return o.then(l=>{a7(e,l,t)}).catch(l=>{ry(l,e,0)});e.asyncDep=o}else a7(e,o,t)}else RR(e,t)}function a7(e,t,n){st(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:zt(t)&&(e.setupState=eR(t)),RR(e,n)}let i7;function RR(e,t,n){const r=e.type;if(!e.render){if(!t&&i7&&!r.render){const a=r.template||z5(e).template;if(a){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:s}=r,u=ar(ar({isCustomElement:i,delimiters:l},o),s);r.render=i7(a,u)}}e.render=r.render||sn}{const a=sp(e);tu();try{sK(e)}finally{nu(),a()}}}const FK={get(e,t){return Da(e,"get",""),e[t]}};function OR(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,FK),slots:e.slots,emit:e.emit,expose:t}}function fy(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(eR(Jf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zv)return zv[n](e)},has(t,n){return n in t||n in zv}})):e.proxy}function HK(e,t=!0){return st(e)?e.displayName||e.name:e.name||t&&e.__name}function jK(e){return st(e)&&"__vccOpts"in e}const L=(e,t)=>OY(e,t,cy);function tt(e,t,n){const r=arguments.length;return r===2?zt(t)&&!We(t)?Dn(t)?I(e,null,[t]):I(e,t):I(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Dn(n)&&(n=[n]),I(e,t,n))}const qK="3.4.29",GK=sn;/**
  14. * @vue/runtime-dom v3.4.29
  15. * (c) 2018-present Yuxi (Evan) You and Vue contributors
  16. * @license MIT
  17. **/const WK="http://www.w3.org/2000/svg",UK="http://www.w3.org/1998/Math/MathML",al=typeof document<"u"?document:null,o7=al&&al.createElement("template"),YK={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const a=t==="svg"?al.createElementNS(WK,e):t==="mathml"?al.createElementNS(UK,e):n?al.createElement(e,{is:n}):al.createElement(e);return e==="select"&&r&&r.multiple!=null&&a.setAttribute("multiple",r.multiple),a},createText:e=>al.createTextNode(e),createComment:e=>al.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>al.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,i){const o=n?n.previousSibling:t.lastChild;if(a&&(a===i||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),!(a===i||!(a=a.nextSibling)););else{o7.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=o7.content;if(r==="svg"||r==="mathml"){const s=l.firstChild;for(;s.firstChild;)l.appendChild(s.firstChild);l.removeChild(s)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gl="transition",Sh="animation",pd=Symbol("_vtc"),ir=(e,{slots:t})=>tt(EK,$R(e),t);ir.displayName="Transition";const NR={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},KK=ir.props=ar({},MR,NR),du=(e,t=[])=>{We(e)?e.forEach(n=>n(...t)):e&&e(...t)},l7=e=>e?We(e)?e.some(t=>t.length>1):e.length>1:!1;function $R(e){const t={};for(const D in e)D in NR||(t[D]=e[D]);if(e.css===!1)return t;const{name:n="v",type:r,duration:a,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=i,appearActiveClass:u=o,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,v=XK(a),p=v&&v[0],g=v&&v[1],{onBeforeEnter:m,onEnter:b,onEnterCancelled:_,onLeave:w,onLeaveCancelled:x,onBeforeAppear:S=m,onAppear:C=b,onAppearCancelled:T=_}=t,z=(D,$,O)=>{rs(D,$?c:l),rs(D,$?u:o),O&&O()},A=(D,$)=>{D._isLeaving=!1,rs(D,f),rs(D,h),rs(D,d),$&&$()},E=D=>($,O)=>{const R=D?C:b,N=()=>z($,D,O);du(R,[$,N]),s7(()=>{rs($,D?s:i),rl($,D?c:l),l7(R)||u7($,r,p,N)})};return ar(t,{onBeforeEnter(D){du(m,[D]),rl(D,i),rl(D,o)},onBeforeAppear(D){du(S,[D]),rl(D,s),rl(D,u)},onEnter:E(!1),onAppear:E(!0),onLeave(D,$){D._isLeaving=!0;const O=()=>A(D,$);rl(D,f),rl(D,d),BR(),s7(()=>{D._isLeaving&&(rs(D,f),rl(D,h),l7(w)||u7(D,r,g,O))}),du(w,[D,O])},onEnterCancelled(D){z(D,!1),du(_,[D])},onAppearCancelled(D){z(D,!0),du(T,[D])},onLeaveCancelled(D){A(D),du(x,[D])}})}function XK(e){if(e==null)return null;if(zt(e))return[H3(e.enter),H3(e.leave)];{const t=H3(e);return[t,t]}}function H3(e){return oY(e)}function rl(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[pd]||(e[pd]=new Set)).add(t)}function rs(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[pd];n&&(n.delete(t),n.size||(e[pd]=void 0))}function s7(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ZK=0;function u7(e,t,n,r){const a=e._endId=++ZK,i=()=>{a===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:s}=VR(e,t);if(!o)return r();const u=o+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=h=>{h.target===e&&++c>=s&&f()};setTimeout(()=>{c<s&&f()},l+1),e.addEventListener(u,d)}function VR(e,t){const n=window.getComputedStyle(e),r=v=>(n[v]||"").split(", "),a=r(`${Gl}Delay`),i=r(`${Gl}Duration`),o=c7(a,i),l=r(`${Sh}Delay`),s=r(`${Sh}Duration`),u=c7(l,s);let c=null,f=0,d=0;t===Gl?o>0&&(c=Gl,f=o,d=i.length):t===Sh?u>0&&(c=Sh,f=u,d=s.length):(f=Math.max(o,u),c=f>0?o>u?Gl:Sh:null,d=c?c===Gl?i.length:s.length:0);const h=c===Gl&&/\b(transform|all)(,|$)/.test(r(`${Gl}Property`).toString());return{type:c,timeout:f,propCount:d,hasTransform:h}}function c7(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>f7(n)+f7(e[r])))}function f7(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function BR(){return document.body.offsetHeight}function JK(e,t,n){const r=e[pd];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const I2=Symbol("_vod"),FR=Symbol("_vsh"),en={beforeMount(e,{value:t},{transition:n}){e[I2]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ch(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ch(e,!0),r.enter(e)):r.leave(e,()=>{Ch(e,!1)}):Ch(e,t))},beforeUnmount(e,{value:t}){Ch(e,t)}};function Ch(e,t){e.style.display=t?e[I2]:"none",e[FR]=!t}const QK=Symbol(""),eX=/(^|;)\s*display\s*:/;function tX(e,t,n){const r=e.style,a=vt(n);let i=!1;if(n&&!a){if(t)if(vt(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&I0(r,l,"")}else for(const o in t)n[o]==null&&I0(r,o,"");for(const o in n)o==="display"&&(i=!0),I0(r,o,n[o])}else if(a){if(t!==n){const o=r[QK];o&&(n+=";"+o),r.cssText=n,i=eX.test(n)}}else t&&e.removeAttribute("style");I2 in e&&(e[I2]=i?r.display:"",e[FR]&&(r.display="none"))}const d7=/\s*!important$/;function I0(e,t,n){if(We(n))n.forEach(r=>I0(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=nX(e,t);d7.test(n)?e.setProperty(eu(r),n.replace(d7,""),"important"):e[r]=n}}const h7=["Webkit","Moz","ms"],j3={};function nX(e,t){const n=j3[t];if(n)return n;let r=wi(t);if(r!=="filter"&&r in e)return j3[t]=r;r=lp(r);for(let a=0;a<h7.length;a++){const i=h7[a]+r;if(i in e)return j3[t]=i}return t}const v7="http://www.w3.org/1999/xlink";function p7(e,t,n,r,a,i=dY(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(v7,t.slice(6,t.length)):e.setAttributeNS(v7,t,n):n==null||i&&!PP(n)?e.removeAttribute(t):e.setAttribute(t,i?"":String(n))}function rX(e,t,n,r,a,i,o){if(t==="innerHTML"||t==="textContent"){r&&o(r,a,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const u=l==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?"":String(n);(u!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=PP(n):n==null&&u==="string"?(n="",s=!0):u==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(t)}function gs(e,t,n,r){e.addEventListener(t,n,r)}function aX(e,t,n,r){e.removeEventListener(t,n,r)}const g7=Symbol("_vei");function iX(e,t,n,r,a=null){const i=e[g7]||(e[g7]={}),o=i[t];if(r&&o)o.value=r;else{const[l,s]=oX(t);if(r){const u=i[t]=uX(r,a);gs(e,l,u,s)}else o&&(aX(e,l,o,s),i[t]=void 0)}}const m7=/(?:Once|Passive|Capture)$/;function oX(e){let t;if(m7.test(e)){t={};let r;for(;r=e.match(m7);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):eu(e.slice(2)),t]}let q3=0;const lX=Promise.resolve(),sX=()=>q3||(lX.then(()=>q3=0),q3=Date.now());function uX(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;mi(cX(r,n.value),t,5,[r])};return n.value=e,n.attached=sX(),n}function cX(e,t){if(We(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>a=>!a._stopped&&r&&r(a))}else return t}const y7=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fX=(e,t,n,r,a,i,o,l,s)=>{const u=a==="svg";t==="class"?JK(e,r,u):t==="style"?tX(e,n,r):Qm(t)?f5(t)||iX(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):dX(e,t,r,u))?(rX(e,t,r,i,o,l,s),(t==="value"||t==="checked"||t==="selected")&&p7(e,t,r,u,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),p7(e,t,r,u))};function dX(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&y7(t)&&st(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const a=e.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return y7(t)&&vt(n)?!1:t in e}const HR=new WeakMap,jR=new WeakMap,D2=Symbol("_moveCb"),b7=Symbol("_enterCb"),qR={name:"TransitionGroup",props:ar({},KK,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xt(),r=zR();let a,i;return Ll(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!mX(a[0].el,n.vnode.el,o))return;a.forEach(vX),a.forEach(pX);const l=a.filter(gX);BR(),l.forEach(s=>{const u=s.el,c=u.style;rl(u,o),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[D2]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u[D2]=null,rs(u,o))};u.addEventListener("transitionend",f)})}),()=>{const o=dn(e),l=$R(o);let s=o.tag||de;if(a=[],i)for(let u=0;u<i.length;u++){const c=i[u];c.el&&c.el instanceof Element&&(a.push(c),hd(c,s1(c,l,r,n)),HR.set(c,c.el.getBoundingClientRect()))}i=t.default?I5(t.default()):[];for(let u=0;u<i.length;u++){const c=i[u];c.key!=null&&hd(c,s1(c,l,r,n))}return I(s,null,i)}}},hX=e=>delete e.mode;qR.props;const GR=qR;function vX(e){const t=e.el;t[D2]&&t[D2](),t[b7]&&t[b7]()}function pX(e){jR.set(e,e.el.getBoundingClientRect())}function gX(e){const t=HR.get(e),n=jR.get(e),r=t.left-n.left,a=t.top-n.top;if(r||a){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${a}px)`,i.transitionDuration="0s",e}}function mX(e,t,n){const r=e.cloneNode(),a=e[pd];a&&a.forEach(l=>{l.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(l=>l&&r.classList.add(l)),r.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:o}=VR(r);return i.removeChild(r),o}const gd=e=>{const t=e.props["onUpdate:modelValue"]||!1;return We(t)?n=>A0(t,n):t};function yX(e){e.target.composing=!0}function _7(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hl=Symbol("_assign"),L5={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[hl]=gd(a);const i=r||a.props&&a.props.type==="number";gs(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=K9(l)),e[hl](l)}),n&&gs(e,"change",()=>{e.value=e.value.trim()}),t||(gs(e,"compositionstart",yX),gs(e,"compositionend",_7),gs(e,"change",_7))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:a,number:i}},o){if(e[hl]=gd(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?K9(e.value):e.value,s=t??"";l!==s&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||a&&e.value.trim()===s)||(e.value=s))}},L2={deep:!0,created(e,t,n){e[hl]=gd(n),gs(e,"change",()=>{const r=e._modelValue,a=UR(e),i=e.checked,o=e[hl];if(We(r)){const l=RP(r,a),s=l!==-1;if(i&&!s)o(r.concat(a));else if(!i&&s){const u=[...r];u.splice(l,1),o(u)}}else if(ey(r)){const l=new Set(r);i?l.add(a):l.delete(a),o(l)}else o(YR(e,i))})},mounted:w7,beforeUpdate(e,t,n){e[hl]=gd(n),w7(e,t,n)}};function w7(e,{value:t,oldValue:n},r){e._modelValue=t,We(t)?e.checked=RP(t,r.props.value)>-1:ey(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=dd(t,YR(e,!0)))}const WR={created(e,{value:t},n){e.checked=dd(t,n.props.value),e[hl]=gd(n),gs(e,"change",()=>{e[hl](UR(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[hl]=gd(r),t!==n&&(e.checked=dd(t,r.props.value))}};function UR(e){return"_value"in e?e._value:e.value}function YR(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const bX=["ctrl","shift","alt","meta"],_X={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>bX.some(n=>e[`${n}Key`]&&!t.includes(n))},ft=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(a,...i)=>{for(let o=0;o<t.length;o++){const l=_X[t[o]];if(l&&l(a,t))return}return e(a,...i)})},wX={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},fn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=a=>{if(!("key"in a))return;const i=eu(a.key);if(t.some(o=>o===i||wX[o]===i))return e(a)})},xX=ar({patchProp:fX},YK);let x7;function KR(){return x7||(x7=_K(xX))}const $s=(...e)=>{KR().render(...e)},XR=(...e)=>{const t=KR().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=CX(r);if(!a)return;const i=t._component;!st(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.innerHTML="";const o=n(a,!1,SX(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},t};function SX(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function CX(e){return vt(e)?document.querySelector(e):e}const Mi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},TX={};function kX(e,t){const n=se("router-view");return k(),Y(n)}const zX=Mi(TX,[["render",kX],["__scopeId","data-v-5b8d51d3"]]);/*!
  18. * vue-router v4.3.3
  19. * (c) 2024 Eduardo San Martin Morote
  20. * @license MIT
  21. */const Lf=typeof document<"u";function MX(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const An=Object.assign;function G3(e,t){const n={};for(const r in t){const a=t[r];n[r]=Ki(a)?a.map(e):e(a)}return n}const Iv=()=>{},Ki=Array.isArray,ZR=/#/g,AX=/&/g,EX=/\//g,IX=/=/g,DX=/\?/g,JR=/\+/g,LX=/%5B/g,PX=/%5D/g,QR=/%5E/g,RX=/%60/g,eO=/%7B/g,OX=/%7C/g,tO=/%7D/g,NX=/%20/g;function P5(e){return encodeURI(""+e).replace(OX,"|").replace(LX,"[").replace(PX,"]")}function $X(e){return P5(e).replace(eO,"{").replace(tO,"}").replace(QR,"^")}function l4(e){return P5(e).replace(JR,"%2B").replace(NX,"+").replace(ZR,"%23").replace(AX,"%26").replace(RX,"`").replace(eO,"{").replace(tO,"}").replace(QR,"^")}function VX(e){return l4(e).replace(IX,"%3D")}function BX(e){return P5(e).replace(ZR,"%23").replace(DX,"%3F")}function FX(e){return e==null?"":BX(e).replace(EX,"%2F")}function c1(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const HX=/\/$/,jX=e=>e.replace(HX,"");function W3(e,t,n="/"){let r,a={},i="",o="";const l=t.indexOf("#");let s=t.indexOf("?");return l<s&&l>=0&&(s=-1),s>-1&&(r=t.slice(0,s),i=t.slice(s+1,l>-1?l:t.length),a=e(i)),l>-1&&(r=r||t.slice(0,l),o=t.slice(l,t.length)),r=UX(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:a,hash:c1(o)}}function qX(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function S7(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function GX(e,t,n){const r=t.matched.length-1,a=n.matched.length-1;return r>-1&&r===a&&md(t.matched[r],n.matched[a])&&nO(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function md(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function nO(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!WX(e[n],t[n]))return!1;return!0}function WX(e,t){return Ki(e)?C7(e,t):Ki(t)?C7(t,e):e===t}function C7(e,t){return Ki(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function UX(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),a=r[r.length-1];(a===".."||a===".")&&r.push("");let i=n.length-1,o,l;for(o=0;o<r.length;o++)if(l=r[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}var f1;(function(e){e.pop="pop",e.push="push"})(f1||(f1={}));var Dv;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Dv||(Dv={}));function YX(e){if(!e)if(Lf){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jX(e)}const KX=/^[^#]+#/;function XX(e,t){return e.replace(KX,"#")+t}function ZX(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const dy=()=>({left:window.scrollX,top:window.scrollY});function JX(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),a=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!a)return;t=ZX(a,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function T7(e,t){return(history.state?history.state.position-t:-1)+e}const s4=new Map;function QX(e,t){s4.set(e,t)}function eZ(e){const t=s4.get(e);return s4.delete(e),t}let tZ=()=>location.protocol+"//"+location.host;function rO(e,t){const{pathname:n,search:r,hash:a}=t,i=e.indexOf("#");if(i>-1){let l=a.includes(e.slice(i))?e.slice(i).length:1,s=a.slice(l);return s[0]!=="/"&&(s="/"+s),S7(s,"")}return S7(n,e)+r+a}function nZ(e,t,n,r){let a=[],i=[],o=null;const l=({state:d})=>{const h=rO(e,location),v=n.value,p=t.value;let g=0;if(d){if(n.value=h,t.value=d,o&&o===v){o=null;return}g=p?d.position-p.position:0}else r(h);a.forEach(m=>{m(n.value,v,{delta:g,type:f1.pop,direction:g?g>0?Dv.forward:Dv.back:Dv.unknown})})};function s(){o=n.value}function u(d){a.push(d);const h=()=>{const v=a.indexOf(d);v>-1&&a.splice(v,1)};return i.push(h),h}function c(){const{history:d}=window;d.state&&d.replaceState(An({},d.state,{scroll:dy()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:s,listen:u,destroy:f}}function k7(e,t,n,r=!1,a=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:a?dy():null}}function rZ(e){const{history:t,location:n}=window,r={value:rO(e,n)},a={value:t.state};a.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(s,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+s:tZ()+e+s;try{t[c?"replaceState":"pushState"](u,"",d),a.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function o(s,u){const c=An({},t.state,k7(a.value.back,s,a.value.forward,!0),u,{position:a.value.position});i(s,c,!0),r.value=s}function l(s,u){const c=An({},a.value,t.state,{forward:s,scroll:dy()});i(c.current,c,!0);const f=An({},k7(r.value,s,null),{position:c.position+1},u);i(s,f,!1),r.value=s}return{location:r,state:a,push:l,replace:o}}function aZ(e){e=YX(e);const t=rZ(e),n=nZ(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const a=An({location:"",base:e,go:r,createHref:XX.bind(null,e)},t,n);return Object.defineProperty(a,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(a,"state",{enumerable:!0,get:()=>t.state.value}),a}function iZ(e){return typeof e=="string"||e&&typeof e=="object"}function aO(e){return typeof e=="string"||typeof e=="symbol"}const Wl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},iO=Symbol("");var z7;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(z7||(z7={}));function yd(e,t){return An(new Error,{type:e,[iO]:!0},t)}function Jo(e,t){return e instanceof Error&&iO in e&&(t==null||!!(e.type&t))}const M7="[^/]+?",oZ={sensitive:!1,strict:!1,start:!0,end:!0},lZ=/[.+*?^${}()[\]/\\]/g;function sZ(e,t){const n=An({},oZ,t),r=[];let a=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(a+="/");for(let f=0;f<u.length;f++){const d=u[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(a+="/"),a+=d.value.replace(lZ,"\\$&"),h+=40;else if(d.type===1){const{value:v,repeatable:p,optional:g,regexp:m}=d;i.push({name:v,repeatable:p,optional:g});const b=m||M7;if(b!==M7){h+=10;try{new RegExp(`(${b})`)}catch(w){throw new Error(`Invalid custom RegExp for param "${v}" (${b}): `+w.message)}}let _=p?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(_=g&&u.length<2?`(?:/${_})`:"/"+_),g&&(_+="?"),a+=_,h+=20,g&&(h+=-8),p&&(h+=-20),b===".*"&&(h+=-50)}c.push(h)}r.push(c)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(a+="/?"),n.end?a+="$":n.strict&&(a+="(?:/|$)");const o=new RegExp(a,n.sensitive?"":"i");function l(u){const c=u.match(o),f={};if(!c)return null;for(let d=1;d<c.length;d++){const h=c[d]||"",v=i[d-1];f[v.name]=h&&v.repeatable?h.split("/"):h}return f}function s(u){let c="",f=!1;for(const d of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const h of d)if(h.type===0)c+=h.value;else if(h.type===1){const{value:v,repeatable:p,optional:g}=h,m=v in u?u[v]:"";if(Ki(m)&&!p)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const b=Ki(m)?m.join("/"):m;if(!b)if(g)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${v}"`);c+=b}}return c||"/"}return{re:o,score:r,keys:i,parse:l,stringify:s}}function uZ(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function oO(e,t){let n=0;const r=e.score,a=t.score;for(;n<r.length&&n<a.length;){const i=uZ(r[n],a[n]);if(i)return i;n++}if(Math.abs(a.length-r.length)===1){if(A7(r))return 1;if(A7(a))return-1}return a.length-r.length}function A7(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const cZ={type:0,value:""},fZ=/[a-zA-Z0-9_]/;function dZ(e){if(!e)return[[]];if(e==="/")return[[cZ]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const a=[];let i;function o(){i&&a.push(i),i=[]}let l=0,s,u="",c="";function f(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(s==="*"||s==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:s==="*"||s==="+",optional:s==="*"||s==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=s}for(;l<e.length;){if(s=e[l++],s==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:s==="/"?(u&&f(),o()):s===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:s==="("?n=2:fZ.test(s)?d():(f(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&l--);break;case 2:s===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+s:n=3:c+=s;break;case 3:f(),n=0,s!=="*"&&s!=="?"&&s!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),f(),o(),a}function hZ(e,t,n){const r=sZ(dZ(e.path),n),a=An(r,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function vZ(e,t){const n=[],r=new Map;t=D7({strict:!1,end:!0,sensitive:!1},t);function a(c){return r.get(c)}function i(c,f,d){const h=!d,v=pZ(c);v.aliasOf=d&&d.record;const p=D7(t,c),g=[v];if("alias"in c){const _=typeof c.alias=="string"?[c.alias]:c.alias;for(const w of _)g.push(An({},v,{components:d?d.record.components:v.components,path:w,aliasOf:d?d.record:v}))}let m,b;for(const _ of g){const{path:w}=_;if(f&&w[0]!=="/"){const x=f.record.path,S=x[x.length-1]==="/"?"":"/";_.path=f.record.path+(w&&S+w)}if(m=hZ(_,f,p),d?d.alias.push(m):(b=b||m,b!==m&&b.alias.push(m),h&&c.name&&!I7(m)&&o(c.name)),lO(m)&&s(m),v.children){const x=v.children;for(let S=0;S<x.length;S++)i(x[S],m,d&&d.children[S])}d=d||m}return b?()=>{o(b)}:Iv}function o(c){if(aO(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(o),f.alias.forEach(o))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function l(){return n}function s(c){const f=yZ(c,n);n.splice(f,0,c),c.record.name&&!I7(c)&&r.set(c.record.name,c)}function u(c,f){let d,h={},v,p;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw yd(1,{location:c});p=d.record.name,h=An(E7(f.params,d.keys.filter(b=>!b.optional).concat(d.parent?d.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),c.params&&E7(c.params,d.keys.map(b=>b.name))),v=d.stringify(h)}else if(c.path!=null)v=c.path,d=n.find(b=>b.re.test(v)),d&&(h=d.parse(v),p=d.record.name);else{if(d=f.name?r.get(f.name):n.find(b=>b.re.test(f.path)),!d)throw yd(1,{location:c,currentLocation:f});p=d.record.name,h=An({},f.params,c.params),v=d.stringify(h)}const g=[];let m=d;for(;m;)g.unshift(m.record),m=m.parent;return{name:p,path:v,params:h,matched:g,meta:mZ(g)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:l,getRecordMatcher:a}}function E7(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function pZ(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:gZ(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function gZ(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function I7(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function mZ(e){return e.reduce((t,n)=>An(t,n.meta),{})}function D7(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function yZ(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;oO(e,t[i])<0?r=i:n=i+1}const a=bZ(e);return a&&(r=t.lastIndexOf(a,r-1)),r}function bZ(e){let t=e;for(;t=t.parent;)if(lO(t)&&oO(e,t)===0)return t}function lO({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _Z(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let a=0;a<r.length;++a){const i=r[a].replace(JR," "),o=i.indexOf("="),l=c1(o<0?i:i.slice(0,o)),s=o<0?null:c1(i.slice(o+1));if(l in t){let u=t[l];Ki(u)||(u=t[l]=[u]),u.push(s)}else t[l]=s}return t}function L7(e){let t="";for(let n in e){const r=e[n];if(n=VX(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ki(r)?r.map(i=>i&&l4(i)):[r&&l4(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function wZ(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ki(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return t}const xZ=Symbol(""),P7=Symbol(""),R5=Symbol(""),sO=Symbol(""),u4=Symbol("");function Th(){let e=[];function t(r){return e.push(r),()=>{const a=e.indexOf(r);a>-1&&e.splice(a,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ds(e,t,n,r,a,i=o=>o()){const o=r&&(r.enterCallbacks[a]=r.enterCallbacks[a]||[]);return()=>new Promise((l,s)=>{const u=d=>{d===!1?s(yd(4,{from:n,to:t})):d instanceof Error?s(d):iZ(d)?s(yd(2,{from:t,to:d})):(o&&r.enterCallbacks[a]===o&&typeof d=="function"&&o.push(d),l())},c=i(()=>e.call(r&&r.instances[a],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(d=>s(d))})}function U3(e,t,n,r,a=i=>i()){const i=[];for(const o of e)for(const l in o.components){let s=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(SZ(s)){const c=(s.__vccOpts||s)[t];c&&i.push(ds(c,n,r,o,l,a))}else{let u=s();i.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${o.path}"`));const f=MX(c)?c.default:c;o.components[l]=f;const h=(f.__vccOpts||f)[t];return h&&ds(h,n,r,o,l,a)()}))}}return i}function SZ(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function R7(e){const t=Ye(R5),n=Ye(sO),r=L(()=>{const s=y(e.to);return t.resolve(s)}),a=L(()=>{const{matched:s}=r.value,{length:u}=s,c=s[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(md.bind(null,c));if(d>-1)return d;const h=O7(s[u-2]);return u>1&&O7(c)===h&&f[f.length-1].path!==h?f.findIndex(md.bind(null,s[u-2])):d}),i=L(()=>a.value>-1&&zZ(n.params,r.value.params)),o=L(()=>a.value>-1&&a.value===n.matched.length-1&&nO(n.params,r.value.params));function l(s={}){return kZ(s)?t[y(e.replace)?"replace":"push"](y(e.to)).catch(Iv):Promise.resolve()}return{route:r,href:L(()=>r.value.href),isActive:i,isExactActive:o,navigate:l}}const CZ=te({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:R7,setup(e,{slots:t}){const n=nn(R7(e)),{options:r}=Ye(R5),a=L(()=>({[N7(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[N7(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:tt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:a.value},i)}}}),TZ=CZ;function kZ(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function zZ(e,t){for(const n in t){const r=t[n],a=e[n];if(typeof r=="string"){if(r!==a)return!1}else if(!Ki(a)||a.length!==r.length||r.some((i,o)=>i!==a[o]))return!1}return!0}function O7(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const N7=(e,t,n)=>e??t??n,MZ=te({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ye(u4),a=L(()=>e.route||r.value),i=Ye(P7,0),o=L(()=>{let u=y(i);const{matched:c}=a.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),l=L(()=>a.value.matched[o.value]);Rt(P7,L(()=>o.value+1)),Rt(xZ,l),Rt(u4,a);const s=j();return ke(()=>[s.value,l.value,e.name],([u,c,f],[d,h,v])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!md(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=a.value,c=e.name,f=l.value,d=f&&f.components[c];if(!d)return $7(n.default,{Component:d,route:u});const h=f.props[c],v=h?h===!0?u.params:typeof h=="function"?h(u):h:null,g=tt(d,An({},v,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[c]=null)},ref:s}));return $7(n.default,{Component:g,route:u})||g}}});function $7(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const AZ=MZ;function EZ(e){const t=vZ(e.routes,e),n=e.parseQuery||_Z,r=e.stringifyQuery||L7,a=e.history,i=Th(),o=Th(),l=Th(),s=xn(Wl);let u=Wl;Lf&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=G3.bind(null,ae=>""+ae),f=G3.bind(null,FX),d=G3.bind(null,c1);function h(ae,ie){let ve,ce;return aO(ae)?(ve=t.getRecordMatcher(ae),ce=ie):ce=ae,t.addRoute(ce,ve)}function v(ae){const ie=t.getRecordMatcher(ae);ie&&t.removeRoute(ie)}function p(){return t.getRoutes().map(ae=>ae.record)}function g(ae){return!!t.getRecordMatcher(ae)}function m(ae,ie){if(ie=An({},ie||s.value),typeof ae=="string"){const oe=W3(n,ae,ie.path),pe=t.resolve({path:oe.path},ie),Te=a.createHref(oe.fullPath);return An(oe,pe,{params:d(pe.params),hash:c1(oe.hash),redirectedFrom:void 0,href:Te})}let ve;if(ae.path!=null)ve=An({},ae,{path:W3(n,ae.path,ie.path).path});else{const oe=An({},ae.params);for(const pe in oe)oe[pe]==null&&delete oe[pe];ve=An({},ae,{params:f(oe)}),ie.params=f(ie.params)}const ce=t.resolve(ve,ie),fe=ae.hash||"";ce.params=c(d(ce.params));const xe=qX(r,An({},ae,{hash:$X(fe),path:ce.path})),J=a.createHref(xe);return An({fullPath:xe,hash:fe,query:r===L7?wZ(ae.query):ae.query||{}},ce,{redirectedFrom:void 0,href:J})}function b(ae){return typeof ae=="string"?W3(n,ae,s.value.path):An({},ae)}function _(ae,ie){if(u!==ae)return yd(8,{from:ie,to:ae})}function w(ae){return C(ae)}function x(ae){return w(An(b(ae),{replace:!0}))}function S(ae){const ie=ae.matched[ae.matched.length-1];if(ie&&ie.redirect){const{redirect:ve}=ie;let ce=typeof ve=="function"?ve(ae):ve;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=b(ce):{path:ce},ce.params={}),An({query:ae.query,hash:ae.hash,params:ce.path!=null?{}:ae.params},ce)}}function C(ae,ie){const ve=u=m(ae),ce=s.value,fe=ae.state,xe=ae.force,J=ae.replace===!0,oe=S(ve);if(oe)return C(An(b(oe),{state:typeof oe=="object"?An({},fe,oe.state):fe,force:xe,replace:J}),ie||ve);const pe=ve;pe.redirectedFrom=ie;let Te;return!xe&&GX(r,ce,ve)&&(Te=yd(16,{to:pe,from:ce}),Z(ce,ce,!0,!1)),(Te?Promise.resolve(Te):A(pe,ce)).catch(ge=>Jo(ge)?Jo(ge,2)?ge:W(ge):V(ge,pe,ce)).then(ge=>{if(ge){if(Jo(ge,2))return C(An({replace:J},b(ge.to),{state:typeof ge.to=="object"?An({},fe,ge.to.state):fe,force:xe}),ie||pe)}else ge=D(pe,ce,!0,J,fe);return E(pe,ce,ge),ge})}function T(ae,ie){const ve=_(ae,ie);return ve?Promise.reject(ve):Promise.resolve()}function z(ae){const ie=ue.values().next().value;return ie&&typeof ie.runWithContext=="function"?ie.runWithContext(ae):ae()}function A(ae,ie){let ve;const[ce,fe,xe]=IZ(ae,ie);ve=U3(ce.reverse(),"beforeRouteLeave",ae,ie);for(const oe of ce)oe.leaveGuards.forEach(pe=>{ve.push(ds(pe,ae,ie))});const J=T.bind(null,ae,ie);return ve.push(J),le(ve).then(()=>{ve=[];for(const oe of i.list())ve.push(ds(oe,ae,ie));return ve.push(J),le(ve)}).then(()=>{ve=U3(fe,"beforeRouteUpdate",ae,ie);for(const oe of fe)oe.updateGuards.forEach(pe=>{ve.push(ds(pe,ae,ie))});return ve.push(J),le(ve)}).then(()=>{ve=[];for(const oe of xe)if(oe.beforeEnter)if(Ki(oe.beforeEnter))for(const pe of oe.beforeEnter)ve.push(ds(pe,ae,ie));else ve.push(ds(oe.beforeEnter,ae,ie));return ve.push(J),le(ve)}).then(()=>(ae.matched.forEach(oe=>oe.enterCallbacks={}),ve=U3(xe,"beforeRouteEnter",ae,ie,z),ve.push(J),le(ve))).then(()=>{ve=[];for(const oe of o.list())ve.push(ds(oe,ae,ie));return ve.push(J),le(ve)}).catch(oe=>Jo(oe,8)?oe:Promise.reject(oe))}function E(ae,ie,ve){l.list().forEach(ce=>z(()=>ce(ae,ie,ve)))}function D(ae,ie,ve,ce,fe){const xe=_(ae,ie);if(xe)return xe;const J=ie===Wl,oe=Lf?history.state:{};ve&&(ce||J?a.replace(ae.fullPath,An({scroll:J&&oe&&oe.scroll},fe)):a.push(ae.fullPath,fe)),s.value=ae,Z(ae,ie,ve,J),W()}let $;function O(){$||($=a.listen((ae,ie,ve)=>{if(!ye.listening)return;const ce=m(ae),fe=S(ce);if(fe){C(An(fe,{replace:!0}),ce).catch(Iv);return}u=ce;const xe=s.value;Lf&&QX(T7(xe.fullPath,ve.delta),dy()),A(ce,xe).catch(J=>Jo(J,12)?J:Jo(J,2)?(C(J.to,ce).then(oe=>{Jo(oe,20)&&!ve.delta&&ve.type===f1.pop&&a.go(-1,!1)}).catch(Iv),Promise.reject()):(ve.delta&&a.go(-ve.delta,!1),V(J,ce,xe))).then(J=>{J=J||D(ce,xe,!1),J&&(ve.delta&&!Jo(J,8)?a.go(-ve.delta,!1):ve.type===f1.pop&&Jo(J,20)&&a.go(-1,!1)),E(ce,xe,J)}).catch(Iv)}))}let R=Th(),N=Th(),B;function V(ae,ie,ve){W(ae);const ce=N.list();return ce.length?ce.forEach(fe=>fe(ae,ie,ve)):console.error(ae),Promise.reject(ae)}function P(){return B&&s.value!==Wl?Promise.resolve():new Promise((ae,ie)=>{R.add([ae,ie])})}function W(ae){return B||(B=!ae,O(),R.list().forEach(([ie,ve])=>ae?ve(ae):ie()),R.reset()),ae}function Z(ae,ie,ve,ce){const{scrollBehavior:fe}=e;if(!Lf||!fe)return Promise.resolve();const xe=!ve&&eZ(T7(ae.fullPath,0))||(ce||!ve)&&history.state&&history.state.scroll||null;return nt().then(()=>fe(ae,ie,xe)).then(J=>J&&JX(J)).catch(J=>V(J,ae,ie))}const ee=ae=>a.go(ae);let re;const ue=new Set,ye={currentRoute:s,listening:!0,addRoute:h,removeRoute:v,hasRoute:g,getRoutes:p,resolve:m,options:e,push:w,replace:x,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:N.add,isReady:P,install(ae){const ie=this;ae.component("RouterLink",TZ),ae.component("RouterView",AZ),ae.config.globalProperties.$router=ie,Object.defineProperty(ae.config.globalProperties,"$route",{enumerable:!0,get:()=>y(s)}),Lf&&!re&&s.value===Wl&&(re=!0,w(a.location).catch(fe=>{}));const ve={};for(const fe in Wl)Object.defineProperty(ve,fe,{get:()=>s.value[fe],enumerable:!0});ae.provide(R5,ie),ae.provide(sO,b5(ve)),ae.provide(u4,s);const ce=ae.unmount;ue.add(ae),ae.unmount=function(){ue.delete(ae),ue.size<1&&(u=Wl,$&&$(),$=null,s.value=Wl,re=!1,B=!1),ce()}}};function le(ae){return ae.reduce((ie,ve)=>ie.then(()=>z(ve)),Promise.resolve())}return ye}function IZ(e,t){const n=[],r=[],a=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(u=>md(u,l))?r.push(l):n.push(l));const s=e.matched[o];s&&(t.matched.find(u=>md(u,s))||a.push(s))}return[n,r,a]}var Ht;(e=>{e.weizhi_nian_gan=1,e.weizhi_yue_gan=2,e.weizhi_ri_gan=3,e.weizhi_shi_gan=4,e.weizhi_nian_zhi=5,e.weizhi_yue_zhi=6,e.weizhi_ri_zhi=7,e.weizhi_shi_zhi=8,e.weizhi_dayun_gan=11,e.weizhi_dayun_zhi=12,e.weizhi_liunian_gan=13,e.weizhi_liunian_zhi=14,e.weizhi_liuyue_gan=15,e.weizhi_liuyue_zhi=16,e.weizhi_liuri_gan=17,e.weizhi_liuri_zhi=18,e.weizhi_liushi_gan=19,e.weizhi_liushi_zhi=20,e.weizhi_zengbu1_gan=21,e.weizhi_zengbu1_zhi=22,e.nameOfZhu={1:"年干",2:"月干",3:"日干",4:"时干",5:"年支",6:"月支",7:"日支",8:"时支",11:"大运干",12:"大运支",13:"流年干",14:"流年支",15:"流月干",16:"流月支",17:"流日干",18:"流日支",19:"流时干",20:"流时支"},e.tianganAry=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],e.dizhiAry=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],e.nongliAry=["初一","初二","初三","初四","初五","初六","初七","初八","初九","初十","十一","十二","十三","十四","十五","十六","十七","十八","十九","廿十","廿一","廿二","廿三","廿四","廿五","廿六","廿七","廿八","廿九","三十"],e.config_wuxing={甲:"木",乙:"木",丙:"火",丁:"火",戊:"土",己:"土",庚:"金",辛:"金",壬:"水",癸:"水",子:"水",丑:"土",寅:"木",卯:"木",辰:"土",巳:"火",午:"火",未:"土",申:"金",酉:"金",戌:"土",亥:"水"},e.config_gaoneng={甲己合:{name:"甲己合",guanxi:"合",father:null,leibie:"天干合",hehua:"土",tip:null,fangxiang:"己"},乙庚合:{name:"乙庚合",guanxi:"合",father:null,leibie:"天干合",hehua:"金",tip:null,fangxiang:"庚"},丙辛合:{name:"丙辛合",guanxi:"合",father:null,leibie:"天干合",hehua:"水",tip:null,fangxiang:"辛"},丁壬合:{name:"丁壬合",guanxi:"合",father:null,leibie:"天干合",hehua:"木",tip:null,fangxiang:"壬"},戊癸合:{name:"戊癸合",guanxi:"合",father:null,leibie:"天干合",hehua:"火",tip:null,fangxiang:"戊"},甲庚冲:{name:"甲庚冲",guanxi:"冲",father:null,leibie:"天干冲",hehua:null,tip:null,fangxiang:null},乙辛冲:{name:"乙辛冲",guanxi:"冲",father:null,leibie:"天干冲",hehua:null,tip:null,fangxiang:null},丙壬冲:{name:"丙壬冲",guanxi:"冲",father:null,leibie:"天干冲",hehua:null,tip:null,fangxiang:null},丁癸冲:{name:"丁癸冲",guanxi:"冲",father:null,leibie:"天干冲",hehua:null,tip:null,fangxiang:null},子丑合:{name:"子丑合",guanxi:"合",father:null,leibie:"地支合",hehua:"土",tip:null,fangxiang:"丑"},寅亥合:{name:"寅亥合",guanxi:"合",father:null,leibie:"地支合",hehua:"木",tip:null,fangxiang:"寅"},卯戌合:{name:"卯戌合",guanxi:"合",father:null,leibie:"地支合",hehua:"火",tip:null,fangxiang:"戌"},酉辰合:{name:"酉辰合",guanxi:"合",father:null,leibie:"地支合",hehua:"金",tip:null,fangxiang:"酉"},巳申合:{name:"巳申合",guanxi:"合",father:null,leibie:"地支合",hehua:"水",tip:null,fangxiang:"申"},午未合:{name:"午未合",guanxi:"合",father:null,leibie:"地支合",hehua:"火",tip:null,fangxiang:"午"},子午冲:{name:"子午冲",guanxi:"冲",father:null,leibie:"地支冲",hehua:null,tip:"表示无妄之灾,特点是突发、迅猛,但是后果不严重,或者当场消停,虚惊一场。对应在健康上,需有人陪伴。",fangxiang:null},巳亥冲:{name:"巳亥冲",guanxi:"冲",father:null,leibie:"地支冲",hehua:null,tip:"水火斗为主,伴随金木斗,影响肝脏、肺部健康,遇见应多去体检身体,确保健康,相对健康影响比较大",fangxiang:null},卯酉冲:{name:"卯酉冲",guanxi:"冲",father:null,leibie:"地支冲",hehua:null,tip:"主血光之灾(比如开刀),影响肝胆、肺部、食道、呼吸道、肠道健康",fangxiang:null},申寅冲:{name:"申寅冲",guanxi:"冲",father:null,leibie:"地支冲",hehua:null,tip:"主内伤,多作用在肾脏、心脑血管,多急症。",fangxiang:null},辰戌冲:{name:"辰戌冲",guanxi:"冲",father:null,leibie:"地支冲",hehua:null,tip:"主开库,开库后引发乙辛冲、丁癸冲",fangxiang:null},丑未冲:{name:"丑未冲",guanxi:"冲",father:null,leibie:"地支冲",hehua:null,tip:"主开库,开库后引发乙辛冲、丁癸冲",fangxiang:null},寅丑暗合:{name:"寅丑暗合",guanxi:"暗合",father:null,leibie:"地支暗合",hehua:"土",tip:null,fangxiang:"丑"},午亥暗合:{name:"午亥暗合",guanxi:"暗合",father:null,leibie:"地支暗合",hehua:"木",tip:null,fangxiang:"亥"},申卯暗合:{name:"申卯暗合",guanxi:"暗合",father:null,leibie:"地支暗合",hehua:"金",tip:null,fangxiang:"申"},子辰半合:{name:"子辰半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"水",tip:null,fangxiang:"子"},申子半合:{name:"申子半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"水",tip:null,fangxiang:"子"},亥卯半合:{name:"亥卯半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"木",tip:null,fangxiang:"卯"},卯未半合:{name:"卯未半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"木",tip:null,fangxiang:"卯"},寅午半合:{name:"寅午半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"火",tip:null,fangxiang:"午"},午戌半合:{name:"午戌半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"火",tip:null,fangxiang:"午"},巳酉半合:{name:"巳酉半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"金",tip:null,fangxiang:"酉"},酉丑半合:{name:"酉丑半合",guanxi:"半合",father:null,leibie:"地支三合",hehua:"金",tip:null,fangxiang:"酉"},申辰拱合:{name:"申辰拱合",guanxi:"拱合",father:null,leibie:"地支三合",hehua:"水",tip:null,fangxiang:"子"},亥未拱合:{name:"亥未拱合",guanxi:"拱合",father:null,leibie:"地支三合",hehua:"木",tip:null,fangxiang:"卯"},寅戌拱合:{name:"寅戌拱合",guanxi:"拱合",father:null,leibie:"地支三合",hehua:"火",tip:null,fangxiang:"午"},巳丑拱合:{name:"巳丑拱合",guanxi:"拱合",father:null,leibie:"地支三合",hehua:"金",tip:null,fangxiang:"酉"},寅卯辰三会:{name:"寅卯辰三会",guanxi:"三会",father:null,leibie:"地支三会",hehua:"木",tip:null,fangxiang:"卯"},巳午未三会:{name:"巳午未三会",guanxi:"三会",father:null,leibie:"地支三会",hehua:"火",tip:null,fangxiang:"午"},申酉戌三会:{name:"申酉戌三会",guanxi:"三会",father:null,leibie:"地支三会",hehua:"金",tip:null,fangxiang:"酉"},亥子丑三会:{name:"亥子丑三会",guanxi:"三会",father:null,leibie:"地支三会",hehua:"水",tip:null,fangxiang:"子"},子卯刑:{name:"子卯刑",guanxi:"刑",father:null,leibie:"地支刑",hehua:null,tip:"一方付出,另一方不领情 ",fangxiang:null},寅巳刑:{name:"寅巳刑",guanxi:"刑",father:null,leibie:"地支刑",hehua:null,tip:null,fangxiang:null},巳申刑:{name:"巳申刑",guanxi:"刑",father:null,leibie:"地支刑",hehua:null,tip:null,fangxiang:null},戌未刑:{name:"戌未刑",guanxi:"刑",father:null,leibie:"地支刑",hehua:null,tip:null,fangxiang:null},丑戌刑:{name:"丑戌刑",guanxi:"刑",father:null,leibie:"地支刑",hehua:null,tip:"容易动刀,刑在年柱应期在0-15岁,往后每柱增加15岁应期,循环往复。也可能应在不同柱所代表的六亲身上。",fangxiang:null},辰辰自刑:{name:"辰辰自刑",guanxi:"自刑",father:null,leibie:"地支自刑",hehua:null,tip:"容易庸人自扰,念头不通畅,进入哲学思维模式",fangxiang:null},午午自刑:{name:"午午自刑",guanxi:"自刑",father:null,leibie:"地支自刑",hehua:null,tip:"容易口舌是非、空想,产生自我心理幻觉,无中生有又以此与人争执,或者喜欢没完没了的抱怨吐槽",fangxiang:null},酉酉自刑:{name:"酉酉自刑",guanxi:"自刑",father:null,leibie:"地支自刑",hehua:null,tip:"容易神神叨叨,为金钱烦恼,喜欢抬扛",fangxiang:null},亥亥自刑:{name:"亥亥自刑",guanxi:"自刑",father:null,leibie:"地支自刑",hehua:null,tip:"容易顾虑太多,选择困难",fangxiang:null},卯午破:{name:"卯午破",guanxi:"破",father:null,leibie:"地支破",hehua:null,tip:"才多识广,读书破万卷(有家学渊源才行);也指婚姻、感情破裂",fangxiang:null},午酉破:{name:"午酉破",guanxi:"破",father:null,leibie:"地支破",hehua:null,tip:"离婚、也指炒股、贷款、金融上的投资不利,也表示抵押、车祸",fangxiang:null},子酉破:{name:"子酉破",guanxi:"破",father:null,leibie:"地支破",hehua:null,tip:null,fangxiang:null},巳申破:{name:"巳申破",guanxi:"破",father:null,leibie:"地支破",hehua:null,tip:null,fangxiang:null},丑辰破:{name:"丑辰破",guanxi:"破",father:null,leibie:"地支破",hehua:null,tip:null,fangxiang:null},寅亥破:{name:"寅亥破",guanxi:"破",father:null,leibie:"地支破",hehua:null,tip:null,fangxiang:null},戌未破:{name:"戌未破",guanxi:"破",father:null,leibie:"地支破",hehua:null,tip:null,fangxiang:null},子未穿:{name:"子未穿",guanxi:"穿",father:null,leibie:"地支穿",hehua:null,tip:"不计代价的除掉对方",fangxiang:null},卯辰穿:{name:"卯辰穿",guanxi:"穿",father:null,leibie:"地支穿",hehua:null,tip:"凶险度很高的穿,慢性伤害,渗透后伤害",fangxiang:null},酉戌穿:{name:"酉戌穿",guanxi:"穿",father:null,leibie:"地支穿",hehua:null,tip:"凶险度很高的穿,突发伤害,同归于尽的决绝,也指舆情、爆炸性新闻。穿配偶宫一旦领证就容易互相伤害,直到老死不相往来",fangxiang:null},午丑穿:{name:"午丑穿",guanxi:"穿",father:null,leibie:"地支穿",hehua:null,tip:null,fangxiang:null},寅巳穿:{name:"寅巳穿",guanxi:"穿",father:null,leibie:"地支穿",hehua:null,tip:"容易以卵击石,以小搏大",fangxiang:null},申亥穿:{name:"申亥穿",guanxi:"穿",father:null,leibie:"地支穿",hehua:null,tip:"穿肠毒药,容易影响肠胃健康、出现肾病、宫寒、性病等",fangxiang:null}},e.config_gaoneng_query={甲己:[e.config_gaoneng.甲己合],己甲:[e.config_gaoneng.甲己合],乙庚:[e.config_gaoneng.乙庚合],庚乙:[e.config_gaoneng.乙庚合],丙辛:[e.config_gaoneng.丙辛合],辛丙:[e.config_gaoneng.丙辛合],丁壬:[e.config_gaoneng.丁壬合],壬丁:[e.config_gaoneng.丁壬合],戊癸:[e.config_gaoneng.戊癸合],癸戊:[e.config_gaoneng.戊癸合],甲庚:[e.config_gaoneng.甲庚冲],庚甲:[e.config_gaoneng.甲庚冲],乙辛:[e.config_gaoneng.乙辛冲],辛乙:[e.config_gaoneng.乙辛冲],丙壬:[e.config_gaoneng.丙壬冲],壬丙:[e.config_gaoneng.丙壬冲],丁癸:[e.config_gaoneng.丁癸冲],癸丁:[e.config_gaoneng.丁癸冲],子丑:[e.config_gaoneng.子丑合],丑子:[e.config_gaoneng.子丑合],寅亥:[e.config_gaoneng.寅亥合,e.config_gaoneng.寅亥破],亥寅:[e.config_gaoneng.寅亥合,e.config_gaoneng.寅亥破],卯戌:[e.config_gaoneng.卯戌合],戌卯:[e.config_gaoneng.卯戌合],酉辰:[e.config_gaoneng.酉辰合],辰酉:[e.config_gaoneng.酉辰合],巳申:[e.config_gaoneng.巳申合,e.config_gaoneng.巳申刑,e.config_gaoneng.巳申破],申巳:[e.config_gaoneng.巳申合,e.config_gaoneng.巳申刑,e.config_gaoneng.巳申破],午未:[e.config_gaoneng.午未合],未午:[e.config_gaoneng.午未合],子午:[e.config_gaoneng.子午冲],午子:[e.config_gaoneng.子午冲],巳亥:[e.config_gaoneng.巳亥冲],亥巳:[e.config_gaoneng.巳亥冲],卯酉:[e.config_gaoneng.卯酉冲],酉卯:[e.config_gaoneng.卯酉冲],申寅:[e.config_gaoneng.申寅冲],寅申:[e.config_gaoneng.申寅冲],辰戌:[e.config_gaoneng.辰戌冲],戌辰:[e.config_gaoneng.辰戌冲],丑未:[e.config_gaoneng.丑未冲],未丑:[e.config_gaoneng.丑未冲],寅丑:[e.config_gaoneng.寅丑暗合],丑寅:[e.config_gaoneng.寅丑暗合],午亥:[e.config_gaoneng.午亥暗合],亥午:[e.config_gaoneng.午亥暗合],申卯:[e.config_gaoneng.申卯暗合],卯申:[e.config_gaoneng.申卯暗合],子辰:[e.config_gaoneng.子辰半合],辰子:[e.config_gaoneng.子辰半合],申子:[e.config_gaoneng.申子半合],子申:[e.config_gaoneng.申子半合],亥卯:[e.config_gaoneng.亥卯半合],卯亥:[e.config_gaoneng.亥卯半合],卯未:[e.config_gaoneng.卯未半合],未卯:[e.config_gaoneng.卯未半合],寅午:[e.config_gaoneng.寅午半合],午寅:[e.config_gaoneng.寅午半合],午戌:[e.config_gaoneng.午戌半合],戌午:[e.config_gaoneng.午戌半合],巳酉:[e.config_gaoneng.巳酉半合],酉巳:[e.config_gaoneng.巳酉半合],酉丑:[e.config_gaoneng.酉丑半合],丑酉:[e.config_gaoneng.酉丑半合],申辰:[e.config_gaoneng.申辰拱合],辰申:[e.config_gaoneng.申辰拱合],亥未:[e.config_gaoneng.亥未拱合],未亥:[e.config_gaoneng.亥未拱合],寅戌:[e.config_gaoneng.寅戌拱合],戌寅:[e.config_gaoneng.寅戌拱合],巳丑:[e.config_gaoneng.巳丑拱合],丑巳:[e.config_gaoneng.巳丑拱合],寅卯辰:[e.config_gaoneng.寅卯辰三会],寅辰卯:[e.config_gaoneng.寅卯辰三会],卯寅辰:[e.config_gaoneng.寅卯辰三会],卯辰寅:[e.config_gaoneng.寅卯辰三会],辰寅卯:[e.config_gaoneng.寅卯辰三会],辰卯寅:[e.config_gaoneng.寅卯辰三会],巳午未:[e.config_gaoneng.巳午未三会],巳未午:[e.config_gaoneng.巳午未三会],午巳未:[e.config_gaoneng.巳午未三会],午未巳:[e.config_gaoneng.巳午未三会],未巳午:[e.config_gaoneng.巳午未三会],未午巳:[e.config_gaoneng.巳午未三会],申酉戌:[e.config_gaoneng.申酉戌三会],申戌酉:[e.config_gaoneng.申酉戌三会],酉申戌:[e.config_gaoneng.申酉戌三会],酉戌申:[e.config_gaoneng.申酉戌三会],戌申酉:[e.config_gaoneng.申酉戌三会],戌酉申:[e.config_gaoneng.申酉戌三会],亥子丑:[e.config_gaoneng.亥子丑三会],亥丑子:[e.config_gaoneng.亥子丑三会],子亥丑:[e.config_gaoneng.亥子丑三会],子丑亥:[e.config_gaoneng.亥子丑三会],丑亥子:[e.config_gaoneng.亥子丑三会],丑子亥:[e.config_gaoneng.亥子丑三会],子卯:[e.config_gaoneng.子卯刑],卯子:[e.config_gaoneng.子卯刑],寅巳:[e.config_gaoneng.寅巳刑,e.config_gaoneng.寅巳穿],巳寅:[e.config_gaoneng.寅巳刑,e.config_gaoneng.寅巳穿],戌未:[e.config_gaoneng.戌未刑,e.config_gaoneng.戌未破],未戌:[e.config_gaoneng.戌未刑,e.config_gaoneng.戌未破],丑戌:[e.config_gaoneng.丑戌刑],戌丑:[e.config_gaoneng.丑戌刑],辰辰:[e.config_gaoneng.辰辰自刑],午午:[e.config_gaoneng.午午自刑],酉酉:[e.config_gaoneng.酉酉自刑],亥亥:[e.config_gaoneng.亥亥自刑],卯午:[e.config_gaoneng.卯午破],午卯:[e.config_gaoneng.卯午破],午酉:[e.config_gaoneng.午酉破],酉午:[e.config_gaoneng.午酉破],子酉:[e.config_gaoneng.子酉破],酉子:[e.config_gaoneng.子酉破],丑辰:[e.config_gaoneng.丑辰破],辰丑:[e.config_gaoneng.丑辰破],子未:[e.config_gaoneng.子未穿],未子:[e.config_gaoneng.子未穿],卯辰:[e.config_gaoneng.卯辰穿],辰卯:[e.config_gaoneng.卯辰穿],酉戌:[e.config_gaoneng.酉戌穿],戌酉:[e.config_gaoneng.酉戌穿],午丑:[e.config_gaoneng.午丑穿],丑午:[e.config_gaoneng.午丑穿],申亥:[e.config_gaoneng.申亥穿],亥申:[e.config_gaoneng.申亥穿]},e.config_shishen={甲:{甲:"比",乙:"劫",丙:"食",丁:"伤",戊:"才",己:"财",庚:"杀",辛:"官",壬:"枭",癸:"印",子:"印",丑:"财",寅:"比",卯:"劫",辰:"才",巳:"食",午:"伤",未:"财",申:"杀",酉:"官",戌:"才",亥:"枭"},乙:{甲:"劫",乙:"比",丙:"伤",丁:"食",戊:"财",己:"才",庚:"官",辛:"杀",壬:"印",癸:"枭",子:"枭",丑:"才",寅:"劫",卯:"比",辰:"财",巳:"伤",午:"食",未:"才",申:"官",酉:"杀",戌:"财",亥:"印"},丙:{甲:"枭",乙:"印",丙:"比",丁:"劫",戊:"食",己:"伤",庚:"才",辛:"财",壬:"杀",癸:"官",子:"官",丑:"伤",寅:"枭",卯:"印",辰:"食",巳:"比",午:"劫",未:"伤",申:"才",酉:"财",戌:"食",亥:"杀"},丁:{甲:"印",乙:"枭",丙:"劫",丁:"比",戊:"伤",己:"食",庚:"财",辛:"才",壬:"官",癸:"杀",子:"杀",丑:"食",寅:"印",卯:"枭",辰:"伤",巳:"劫",午:"比",未:"食",申:"财",酉:"才",戌:"伤",亥:"官"},戊:{甲:"杀",乙:"官",丙:"枭",丁:"印",戊:"比",己:"劫",庚:"食",辛:"伤",壬:"才",癸:"财",子:"财",丑:"劫",寅:"杀",卯:"官",辰:"比",巳:"枭",午:"印",未:"劫",申:"食",酉:"伤",戌:"比",亥:"才"},己:{甲:"官",乙:"杀",丙:"印",丁:"枭",戊:"劫",己:"比",庚:"伤",辛:"食",壬:"财",癸:"才",子:"才",丑:"比",寅:"官",卯:"杀",辰:"劫",巳:"印",午:"枭",未:"比",申:"伤",酉:"食",戌:"劫",亥:"财"},庚:{甲:"才",乙:"财",丙:"杀",丁:"官",戊:"枭",己:"印",庚:"比",辛:"劫",壬:"食",癸:"伤",子:"伤",丑:"印",寅:"才",卯:"财",辰:"枭",巳:"杀",午:"官",未:"印",申:"比",酉:"劫",戌:"枭",亥:"食"},辛:{甲:"财",乙:"才",丙:"官",丁:"杀",戊:"印",己:"枭",庚:"劫",辛:"比",壬:"伤",癸:"食",子:"食",丑:"枭",寅:"财",卯:"才",辰:"印",巳:"官",午:"官",未:"杀",申:"劫",酉:"比",戌:"印",亥:"伤"},壬:{甲:"食",乙:"伤",丙:"才",丁:"财",戊:"杀",己:"官",庚:"枭",辛:"印",壬:"比",癸:"劫",子:"劫",丑:"官",寅:"食",卯:"伤",辰:"杀",巳:"才",午:"财",未:"官",申:"枭",酉:"印",戌:"杀",亥:"比"},癸:{甲:"伤",乙:"食",丙:"财",丁:"才",戊:"官",己:"杀",庚:"印",辛:"枭",壬:"劫",癸:"比",子:"比",丑:"杀",寅:"伤",卯:"食",辰:"官",巳:"财",午:"才",未:"杀",申:"印",酉:"枭",戌:"官",亥:"劫"},子:{甲:"伤",乙:"食",丙:"财",丁:"才",戊:"官",己:"杀",庚:"印",辛:"枭",壬:"劫",癸:"比",子:"比",丑:"杀",寅:"伤",卯:"食",辰:"官",巳:"财",午:"才",未:"杀",申:"印",酉:"枭",戌:"官",亥:"劫"},丑:{甲:"官",乙:"杀",丙:"印",丁:"枭",戊:"劫",己:"比",庚:"伤",辛:"食",壬:"财",癸:"才",子:"才",丑:"比",寅:"官",卯:"杀",辰:"劫",巳:"印",午:"枭",未:"比",申:"伤",酉:"食",戌:"劫",亥:"财"},寅:{甲:"比",乙:"劫",丙:"食",丁:"伤",戊:"才",己:"财",庚:"杀",辛:"官",壬:"枭",癸:"印",子:"印",丑:"财",寅:"比",卯:"劫",辰:"才",巳:"食",午:"伤",未:"财",申:"杀",酉:"官",戌:"才",亥:"枭"},卯:{甲:"劫",乙:"比",丙:"伤",丁:"食",戊:"财",己:"才",庚:"官",辛:"杀",壬:"印",癸:"枭",子:"枭",丑:"才",寅:"劫",卯:"比",辰:"财",巳:"伤",午:"食",未:"才",申:"官",酉:"杀",戌:"财",亥:"印"},辰:{甲:"杀",乙:"官",丙:"枭",丁:"印",戊:"比",己:"劫",庚:"食",辛:"伤",壬:"才",癸:"财",子:"财",丑:"劫",寅:"杀",卯:"官",辰:"比",巳:"枭",午:"印",未:"劫",申:"食",酉:"伤",戌:"比",亥:"才"},巳:{甲:"枭",乙:"印",丙:"比",丁:"劫",戊:"食",己:"伤",庚:"才",辛:"财",壬:"杀",癸:"官",子:"官",丑:"伤",寅:"枭",卯:"印",辰:"食",巳:"比",午:"劫",未:"伤",申:"才",酉:"财",戌:"食",亥:"杀"},午:{甲:"印",乙:"枭",丙:"劫",丁:"比",戊:"伤",己:"食",庚:"财",辛:"才",壬:"官",癸:"杀",子:"杀",丑:"食",寅:"印",卯:"枭",辰:"伤",巳:"劫",午:"比",未:"食",申:"财",酉:"才",戌:"伤",亥:"官"},未:{甲:"官",乙:"杀",丙:"印",丁:"枭",戊:"劫",己:"比",庚:"伤",辛:"食",壬:"财",癸:"才",子:"才",丑:"比",寅:"官",卯:"杀",辰:"劫",巳:"印",午:"枭",未:"比",申:"伤",酉:"食",戌:"劫",亥:"财"},申:{甲:"才",乙:"财",丙:"杀",丁:"官",戊:"枭",己:"印",庚:"比",辛:"劫",壬:"食",癸:"伤",子:"伤",丑:"印",寅:"才",卯:"财",辰:"枭",巳:"杀",午:"官",未:"印",申:"比",酉:"劫",戌:"枭",亥:"食"},酉:{甲:"财",乙:"才",丙:"官",丁:"杀",戊:"印",己:"枭",庚:"劫",辛:"比",壬:"伤",癸:"食",子:"食",丑:"枭",寅:"财",卯:"才",辰:"印",巳:"官",午:"官",未:"杀",申:"劫",酉:"比",戌:"印",亥:"伤"},戌:{甲:"杀",乙:"官",丙:"枭",丁:"印",戊:"比",己:"劫",庚:"食",辛:"伤",壬:"才",癸:"财",子:"财",丑:"劫",寅:"杀",卯:"官",辰:"比",巳:"枭",午:"印",未:"劫",申:"食",酉:"伤",戌:"比",亥:"才"},亥:{甲:"食",乙:"伤",丙:"才",丁:"财",戊:"杀",己:"官",庚:"枭",辛:"印",壬:"比",癸:"劫",子:"劫",丑:"官",寅:"食",卯:"伤",辰:"杀",巳:"才",午:"财",未:"官",申:"枭",酉:"印",戌:"杀",亥:"比"}},e.config_gaoneng_xing={寅巳刑:{刑出:["丙","戊"],刑冲:["甲庚冲"]},巳申刑:{刑出:["庚","戊"],刑冲:["丙壬冲"]},戌未刑:{刑出:["丁"],刑冲:["乙辛冲"]},丑戌刑:{刑出:["辛"],刑冲:["丁癸冲"]}},e.config_gaoneng_score={合:{官:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},杀:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},财:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},才:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},印:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},枭:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},食:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},伤:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},比:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1},劫:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1}},暗合:{官:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},杀:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},财:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},才:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},印:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},枭:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},食:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},伤:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},比:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1},劫:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1}},半合:{官:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},杀:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},财:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},才:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},印:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},枭:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},食:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},伤:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},比:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1},劫:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1}},拱合:{官:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},杀:{官:2,杀:1,财:8,才:7,印:10,枭:9,食:6,伤:5,比:4,劫:3},财:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},才:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},印:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},枭:{官:9,杀:10,财:8,才:7,印:2,枭:1,食:6,伤:5,比:4,劫:3},食:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},伤:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},比:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1},劫:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1}},冲:{官:{官:2,杀:1,财:10,才:9,印:4,枭:3,食:6,伤:5,比:8,劫:7},杀:{官:2,杀:1,财:10,才:9,印:4,枭:3,食:6,伤:5,比:8,劫:7},财:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},才:{官:8,杀:7,财:2,才:1,印:10,枭:9,食:6,伤:5,比:4,劫:3},印:{官:4,杀:3,财:10,才:9,印:2,枭:1,食:8,伤:7,比:6,劫:5},枭:{官:4,杀:3,财:10,才:9,印:2,枭:1,食:8,伤:7,比:6,劫:5},食:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},伤:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:2,伤:1,比:4,劫:3},比:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1},劫:{官:8,杀:7,财:6,才:5,印:10,枭:9,食:4,伤:3,比:2,劫:1}},穿:{官:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},杀:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},财:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},才:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},印:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},枭:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},食:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},伤:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},比:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},劫:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10}},破:{官:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},杀:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},财:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},才:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},印:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},枭:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},食:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},伤:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},比:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},劫:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10}},刑:{官:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},杀:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},财:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},才:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},印:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},枭:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},食:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},伤:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},比:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10},劫:{官:3,杀:4,财:5,才:6,印:1,枭:2,食:7,伤:8,比:9,劫:10}}},e.config_gaoneng_lushen_score={合:80,暗合:70,冲:10,刑:-10,破:-20,穿:-30},e.config_gaoneng_guanxi_score={合:50,暗合:40,半合:0,拱合:0,刑:-30,冲:-20,穿:-40,破:-35}})(Ht||(Ht={}));var P2;(e=>{let t=new Map;function n(l,s=null,u=null){return function(c,f){let d=c.constructor.name+f;t.set(d,[l,s,u])}}e.use=n;function r(l,s,u){let c=new Map;return Object.keys(l).forEach(function(f){let d=l[f];if(s==null)c.set(f,d);else if(s==Array)c.set(f,a(d,u));else{let h=new s;o(h,d),c.set(f,h)}}),c}function a(l,s){let u=[];return Array.isArray(l)&&l.forEach(function(c){if(s==null)u.push(c);else{let f=new s;o(f,c),u.push(f)}}),u}function i(l,s){let u=null;return s<l.length&&(u=l[s]),u}function o(l,s){let u=Object.getOwnPropertyNames(l),c=l.constructor.name;Object.keys(s).forEach(function(f){let d=s[f];if(l instanceof Map)l.set(f,d);else if(u.indexOf(f)!=-1){let h=t.get(c+f);if(h==null)l[f]=d;else if(i(h,0)==Array)l[f]=a(d,i(h,1));else if(i(h,0)==Map)l[f]=r(d,i(h,1),i(h,2));else{let v=i(h,0);if(v!=null){let p=new v;o(p,d),l[f]=p}}}else console.error(c,"中没有字段:",f)})}e.resolve=o})(P2||(P2={}));var Ca;(e=>{function t(u){let c=!1,f=!1;for(let d=0;d<u.gaonengs.length;d++){let h=u.gaonengs[d];["合","暗合"].indexOf(h.guanxi)!=-1?c=!0:["冲","刑","穿","破"].indexOf(h.guanxi)!=-1&&(f=!0)}return c&&f}function n(u){let c=0;return["自刑","三会"].indexOf(u.guanxi)==-1&&(c=Ht.config_gaoneng_score[u.guanxi][u.shi_shen1][u.shi_shen2]),c}function r(u){let c=Ht.config_gaoneng_guanxi_score[u.guanxi];return c==null&&(c=0),c}function a(u,c,f,d,h){let v=u+c,p=0;if(h.arg1==f||h.arg2==f?p=1:(d.indexOf(h.arg1)!=-1||d.indexOf(h.arg2)!=-1)&&(p=.5),p>0){let g=0;if(Ht.config_gaoneng_lushen_score[h.guanxi]!=null){g=Ht.config_gaoneng_lushen_score[h.guanxi];let m=1+g*p/100;v=Math.round(m*v)}}return v}function i(u,c,f,d,h,v,p,g){let m=0;t(u)&&(m=30);for(let b=0;b<u.gaonengs.length;b++){let _=u.gaonengs[b];if(_.text=="辰戌冲"||_.text=="丑未冲"||g.indexOf(_.wei_zhi1)!=-1||g.indexOf(_.wei_zhi2)!=-1)continue;let w=n(_),x=r(_);(_.guanxi=="合"||_.guanxi=="暗合")&&(x+=m);let S=a(w,x,f,d,_);if(S==0)continue;let C=h+" : "+_.shi_shen1+_.guanxi+_.shi_shen2+"("+_.text+")("+Ht.nameOfZhu[_.wei_zhi1]+"+"+Ht.nameOfZhu[_.wei_zhi2]+") => "+S.toString(),T=_.shi_shen1,z=_.shi_shen2;v==1&&p>0&&(T=_.shi_shen1+"_"+p.toString(),z=_.shi_shen2+"_"+p.toString());let A=c.getValue(T,v);A+=S,c.setValue(T,A,v),c.addDetail(T,C,v);let E=c.getValue(z,v);E+=S,c.setValue(z,E,v),c.addDetail(z,C,v)}}e.calcSiZhuScore=i;function o(u,c,f,d,h,v,p=0){let g=0;t(u)&&(g=30);for(let m=0;m<u.gaonengs.length;m++){let b=u.gaonengs[m];if(b.text=="辰戌冲"||b.text=="丑未冲")continue;let _=n(b),w=r(b);(b.guanxi=="合"||b.guanxi=="暗合")&&(w+=g);let x=a(_,w,f,d,b),S=h+" : "+b.shi_shen1+b.guanxi+b.shi_shen2+"("+b.text+")("+Ht.nameOfZhu[b.wei_zhi1]+"+"+Ht.nameOfZhu[b.wei_zhi2]+") => "+x.toString(),C=b.shi_shen1,T=b.shi_shen2;v==2&&p>0&&(C=b.shi_shen1+"_"+p.toString(),T=b.shi_shen2+"_"+p.toString());let z=c.getValue(C,v);z+=x,c.setValue(C,z,v),c.addDetail(C,S,v);let A=c.getValue(T,v);A+=x,c.setValue(T,A,v),c.addDetail(T,S,v)}}e.calcQuShiScore=o;function l(u,c){let f=null,d=null;for(let h=0;h<c.dayun.length;h++){let v=c.dayun[h];for(let p=0;p<v.liunian.length;p++){let g=v.liunian[p];if(g.year==u){f=v,d=g;break}}}return[f,d]}e.findDaYunLiuNian=l;function s(u,c,f){let d=u.dayun.indexOf(c),h=c.liunian.indexOf(f),v=null,p=null;return d!=-1&&h!=-1&&(h++,h<c.liunian.length?(v=c,p=c.liunian[h]):(d++,d<u.dayun.length&&(v=u.dayun[d],p=v.liunian[0]))),v==null||p==null?null:[v,p]}e.getNext=s})(Ca||(Ca={}));var R2;(e=>{let t=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"];function n(f,d,h,v){let p=null,g=null,m=null;for(let b=0;b<v.dayun.length;b++){let w=v.dayun[b].findLiuNian(f),x=w==null?void 0:w.findLiuYue(d),S=x==null?void 0:x.findLiuRi(h);if(w!=null&&x!=null&&S!=null){p=w,g=x,m=S;break}}return[p,g,m]}e.findNianYueRi=n;function r(f){if(f=="甲"||f=="己")return"甲";if(f=="乙"||f=="庚")return"丙";if(f=="丙"||f=="辛")return"戊";if(f=="丁"||f=="壬")return"庚";if(f=="戊"||f=="癸")return"壬"}function a(f){let d=0;return f==23||f==0?d=0:f==1||f==2?d=1:f==3||f==4?d=2:f==5||f==6?d=3:f==7||f==8?d=4:f==9||f==10?d=5:f==11||f==12?d=6:f==13||f==14?d=7:f==15||f==16?d=8:f==17||f==18?d=9:f==19||f==20?d=10:(f==21||f==22)&&(d=11),d}function i(f){let d=a(f);return Ht.dizhiAry[d]}function o(f,d,h){let v=null;if(f.indexOf(d)!=-1){let p=f.indexOf(d);p+=h;let g=f.length;for(;p>=g;)p-=g;v=f[p]}return v}function l(f,d){return o(Ht.tianganAry,f,d)}function s(f,d,h){for(let v=0;v<d.length;v++)H.fixGaoNengByZhu(f,d[v],h[v],null)}function u(f,d,h){let v=H.bazi.value.shishen_guanxi.get("禄神")[0],p=H.bazi.value.shishen_guanxi.get("半禄"),g=new Map;return t.forEach(function(m){let b=new YZ,_=c(m,m,Ht.weizhi_ri_gan),w=c(f.gan_text,m,Ht.weizhi_liunian_gan),x=c(f.zhi_text,m,Ht.weizhi_liunian_zhi),S=c(d.gan_text,m,Ht.weizhi_liuyue_gan),C=c(d.zhi_text,m,Ht.weizhi_liuyue_zhi),T=c(h.gan_text,m,Ht.weizhi_liuri_gan),z=c(h.zhi_text,m,Ht.weizhi_liuri_zhi),A=[9,11,13,15,17,19,21],E=r(T.text),D=d.month.toString()+"月"+h.day.toString()+"日";s(_.text,[T,T,T,S,S,w],[_,w,S,_,w,_]),s(_.text,[z,z,C],[x,C,x]),A.forEach(function($){let O=D+" "+$.toString()+"点",R=a($),N=l(E,R),B=i($),V=c(N,m,Ht.weizhi_liushi_gan),P=c(B,m,Ht.weizhi_liushi_zhi);s(_.text,[V,V,V,V],[_,w,S,T]),s(_.text,[P,P,P],[x,C,z]),Ca.calcSiZhuScore(V,b,v,p,O,1,$,[]),Ca.calcSiZhuScore(P,b,v,p,O,1,$,[])}),Ca.calcSiZhuScore(T,b,v,p,D,0,0,[20]),Ca.calcSiZhuScore(z,b,v,p,D,0,0,[20]),b.calcTotal(),g.set(m,b)}),g}e.calc=u;function c(f,d,h){let v=new dr;return v.text=f,v.wu_xing=Ht.config_wuxing[f],v.shi_shen=Ht.config_shishen[d][f],v.wei_zhi=h,v.gaonengs=[],v}})(R2||(R2={}));var H;(e=>{e.wxOpenId=null,e.shengShi=new Map,e.shiQu=new Map,e.quData=new Map,e.nongliMonths=new Map,e.nongliDays=new Map,e.bazi=j(),e.powerMode=j(1),e.dayunIndex=j(),e.curDaYun=j(),e.liunianIndex=j(),e.curLiuNianList=j([]),e.curLiuNian=j(),e.liuyueIndex=j(),e.curLiuYue=j(),e.liuriIndex=j(),e.curLiuRi=j(),e.includeDaYunInGeJu=j(!1),e.includeLiuNianInGeJu=j(!1),e.selectedDaYunInGeJu=j(),e.selectedLiuNianInGeJu=j(),e.lastKeyInGeJu=j(null),e.owernId=99,e.ownerUsers=j([]),e.historyUser=j([]),e.historyBaZi=j([]);function t(v){let p=v.sheng;e.shengShi.has(p)||e.shengShi.set(p,[]);let g=e.shengShi.get(p);g.indexOf(v.shi)==-1&&g.push(v.shi);let m=v.sheng+v.shi;e.shiQu.has(m)||e.shiQu.set(m,[]);let b=e.shiQu.get(m);b.indexOf(v.qu)==-1&&b.push(v.qu);let _=v.sheng+v.shi+v.qu;e.quData.set(_,v)}e.addAreaData=t;function n(v){let p=e.nongliMonths.get(v.year);p==null&&(p=[],e.nongliMonths.set(v.year,p)),p.indexOf(v.month)==-1&&p.push(v.month);let g=v.year.toString()+v.month;e.nongliDays.set(g,v.day)}e.addNongLi=n;function r(v){return e.nongliMonths.get(v)}e.getNontLiMonths=r;function a(v,p){let g=[],m=v.toString()+p,b=e.nongliDays.get(m);for(let _=0;_<Ht.nongliAry.length;_++){let w=Ht.nongliAry[_];if(g.push(w),w==b)break}return g}e.getNongLiDays=a;function i(v){let p=[];return v.length>0&&e.quData.forEach(function(g){(g.shiPinYin+g.quPinYin).indexOf(v)!=-1&&p.push(g),(g.sheng+g.shi+g.qu).indexOf(v)!=-1&&p.push(g)}),p}e.fixPinYin=i;function o(v,p){if(["合","暗合","半合"].indexOf(v.guanxi)!=-1)if(p.text==v.fangxiang)v.sign="";else if(v.wei_zhi3==null)p.wei_zhi<v.wei_zhi2?v.sign="→":v.sign="←";else{let g=v.wei_zhi2;v.fangxiang==v.arg3&&(g=v.wei_zhi3),p.wei_zhi<g?v.sign="→":v.sign="←"}}function l(v,p,g,m,b,_=null){let w=new $5;if(w.arg1=g.text,w.arg2=m.text,w.wei_zhi1=g.wei_zhi,w.wei_zhi2=m.wei_zhi,w.wu_xing1=g.wu_xing,w.wu_xing2=m.wu_xing,w.shi_shen1=g.shi_shen,w.shi_shen2=m.shi_shen,w.text=p.name,w.guanxi=p.guanxi,w.leibie=p.leibie,w.hehua=p.hehua,w.fangxiang=p.fangxiang,["半合","拱合","三会"].indexOf(w.guanxi)!=-1&&(w.zengqiang_shishen=Ht.config_shishen[v][w.fangxiang]),w.guanxi=="刑"){let x=Ht.config_gaoneng_xing[w.text];if(x!=null){let S=x.刑出,C=x.刑冲;w.xing_chu="",w.xing_chong="",S.forEach(function(T){let z=Ht.config_shishen[v][T];w.xing_chu+=z}),C.forEach(function(T){let z=Ht.config_shishen[v][T[0]],A=Ht.config_shishen[v][T[1]];w.xing_chong+=z+A+"冲"})}}w.tip=p.tip,o(w,g),_==null?g.gaonengs.push(w):(g.trigger_gaonengs.has(_)||g.trigger_gaonengs.set(_,[]),g.trigger_gaonengs.get(_).push(w))}function s(v,p,g,m){if(p==g)return;let b=p.text+g.text,_=Ht.config_gaoneng_query[b];_!=null&&_.forEach(function(w){l(v,w,p,g,null,m),l(v,w,g,p,null,m)})}e.fixGaoNengByZhu=s;function u(v,p,g,m){g.forEach(function(b){if(p!=b){let _=p,w=b,x=_.text+w.text,S=Ht.config_gaoneng_query[x];S!=null&&S.forEach(function(C){l(v,C,_,w,null,null),l(v,C,w,_,null,m)})}})}e.fixGaoNeng=u;function c(v,p,g){if(e.bazi.value!=null&&!v.is_gaoneng_calced){let m=e.bazi.value.ri_gan.text,b=v.trigger,_=[e.bazi.value.nian_gan,e.bazi.value.yue_gan,e.bazi.value.ri_gan,e.bazi.value.shi_gan,p.gan_zhu,g.gan_zhu],w=[e.bazi.value.nian_zhi,e.bazi.value.yue_zhi,e.bazi.value.ri_zhi,e.bazi.value.shi_zhi,p.zhi_zhu,g.zhi_zhu];e.fixGaoNeng(m,v.gan_zhu,_,b),e.fixGaoNeng(m,v.zhi_zhu,w,b),v.is_gaoneng_calced=!0}}e.calcLiuYueGaoNeng=c;function f(v,p,g,m){if(e.bazi.value!=null&&!v.is_gaoneng_calced){let b=e.bazi.value.ri_gan.text,_=v.trigger,w=[e.bazi.value.nian_gan,e.bazi.value.yue_gan,e.bazi.value.ri_gan,e.bazi.value.shi_gan,g.gan_zhu,m.gan_zhu,p.gan_zhu],x=[e.bazi.value.nian_zhi,e.bazi.value.yue_zhi,e.bazi.value.ri_zhi,e.bazi.value.shi_zhi,g.zhi_zhu,m.zhi_zhu,p.zhi_zhu];e.fixGaoNeng(b,v.gan_zhu,w,_),e.fixGaoNeng(b,v.zhi_zhu,x,_),v.is_gaoneng_calced=!0}}e.calcLiuRiGaoNeng=f;function d(){if(e.bazi.value==null)return;e.bazi.value.qushiInfo=[];let v=3,p=new Date().getFullYear(),g=Ca.findDaYunLiuNian(p,e.bazi.value),m=g[0],b=g[1];if(m!=null&&b!=null){let _=e.bazi.value.shishen_guanxi.get("禄神")[0],w=e.bazi.value.shishen_guanxi.get("半禄"),x=[m],S=[b];for(;S.length<v;){let C=Ca.getNext(e.bazi.value,m,b);if(C==null)break;m=C[0],b=C[1],x.push(m),S.push(b)}for(let C=0;C<S.length;C++){let T=x[C],z=S[C],A=T.gan_text+T.zhi_text+"运",E=z.year.toString()+"年",D=new KZ;D.year=z.year,Ca.calcQuShiScore(T.gan_zhu,D,_,w,A,0),Ca.calcQuShiScore(T.zhi_zhu,D,_,w,A,0),Ca.calcQuShiScore(z.gan_zhu,D,_,w,E,1),Ca.calcQuShiScore(z.zhi_zhu,D,_,w,E,1);for(let $=0;$<z.liuyue.length;$++){let O=z.liuyue[$],R=E+O.month.toString()+"月";O.is_gaoneng_calced||c(O,T,z),Ca.calcQuShiScore(O.gan_zhu,D,_,w,R,2,O.month),Ca.calcQuShiScore(O.zhi_zhu,D,_,w,R,2,O.month)}D.calcTotal(),e.bazi.value.qushiInfo.push(D)}}}e.calcQuShi=d;function h(){if(e.bazi.value!=null){e.bazi.value.dailyQuShi=[],e.bazi.value.dailyQuShiDate=[];for(let v=0;v<=1;v++){let p=new Date;p.setDate(p.getDate()+v);let g=p.getFullYear(),m=p.getMonth()+1,b=p.getDate(),_=R2.findNianYueRi(g,m,b,e.bazi.value),w=_[0],x=_[1],S=_[2];if(w!=null&&x!=null&&S!=null){let C=R2.calc(w,x,S);e.bazi.value.dailyQuShi.push(C),e.bazi.value.dailyQuShiDate.push(p.getFullYear()+"-"+(p.getMonth()+1)+"-"+p.getDate()+" "+S.gan_text+S.zhi_text+"日")}}}}e.calcRiYunShi=h})(H||(H={}));var DZ=Object.defineProperty,Vt=(e,t,n,r)=>{for(var a=void 0,i=e.length-1,o;i>=0;i--)(o=e[i])&&(a=o(t,n,a)||a);return a&&DZ(t,n,a),a};const LZ=P2.resolve,Bt=P2.use;class PZ{constructor(){ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hourMode");ne(this,"hour");ne(this,"minute")}}class RZ{constructor(){ne(this,"mode");ne(this,"sheng");ne(this,"shi");ne(this,"qu")}}class OZ{constructor(){ne(this,"niangan");ne(this,"nianzhi");ne(this,"yuegan");ne(this,"yuezhi");ne(this,"rigan");ne(this,"rizhi");ne(this,"shigan");ne(this,"shizhi");ne(this,"hourMode");ne(this,"ignoreError")}}class NZ{constructor(){ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hourMode");ne(this,"hour");ne(this,"minute")}}class $Z{constructor(){ne(this,"account");ne(this,"password");ne(this,"userAgent");ne(this,"screenResolution");ne(this,"colorDepth");ne(this,"timezoneOffset");ne(this,"language")}}class VZ{constructor(){ne(this,"token");ne(this,"uid");ne(this,"name");ne(this,"isMan");ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hourMode");ne(this,"hour");ne(this,"minute");ne(this,"areaMode");ne(this,"sheng");ne(this,"shi");ne(this,"qu")}}class BZ{constructor(){ne(this,"token");ne(this,"uid");ne(this,"name");ne(this,"isMan");ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hourMode");ne(this,"hour");ne(this,"minute");ne(this,"areaMode");ne(this,"sheng");ne(this,"shi");ne(this,"qu")}}class FZ{constructor(){ne(this,"token");ne(this,"uid");ne(this,"name");ne(this,"isMan");ne(this,"niangan");ne(this,"nianzhi");ne(this,"yuegan");ne(this,"yuezhi");ne(this,"rigan");ne(this,"rizhi");ne(this,"hourMode");ne(this,"shigan");ne(this,"shizhi");ne(this,"ignoreError")}}class HZ{constructor(){ne(this,"owner_id")}}class jZ{constructor(){ne(this,"owner_id");ne(this,"user_id")}}class O5{constructor(){ne(this,"code");ne(this,"name");ne(this,"token");ne(this,"uid")}static build(t){let n=new O5;try{let r=JSON.parse(t);n.code=r.code;let a=r.data;n.name=a.name,n.token=a.token,n.uid=a.uid}catch{n.code=-1}return n}}class N5{constructor(){ne(this,"error");ne(this,"adv_nian");ne(this,"adv_yue");ne(this,"adv_ri");ne(this,"adv_shi");ne(this,"adv_date")}static build(t){let n=new N5;return Object.keys(t).forEach(function(r){let a=t[r];n[r]=a}),n}}class D0{constructor(){ne(this,"id");ne(this,"name");ne(this,"isMan");ne(this,"dateMode");ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hourMode");ne(this,"hour");ne(this,"minute");ne(this,"areaMode");ne(this,"sheng");ne(this,"shi");ne(this,"qu");ne(this,"extra");ne(this,"nongli_year");ne(this,"nongli_month");ne(this,"nongli_day");ne(this,"req_nian_gan");ne(this,"req_nian_zhi");ne(this,"req_yue_gan");ne(this,"req_yue_zhi");ne(this,"req_ri_gan");ne(this,"req_ri_zhi");ne(this,"req_shi_gan");ne(this,"req_shi_zhi");ne(this,"rsp_nian_gan");ne(this,"rsp_nian_zhi");ne(this,"rsp_yue_gan");ne(this,"rsp_yue_zhi");ne(this,"rsp_ri_gan");ne(this,"rsp_ri_zhi");ne(this,"rsp_shi_gan");ne(this,"rsp_shi_zhi");ne(this,"owner_id")}getKey(){let t="";return t+=this.id.toString(),t+=this.name,t+=this.isMan?"男":"女",this.dateMode==0?(t+=this.year.toString(),t+=this.month.toString(),t+=this.day.toString(),this.hour!=null&&(t+=this.hour.toString()),this.minute!=null&&(t+=this.minute.toString())):this.dateMode==1?(t+=this.nongli_year.toString(),t+=this.nongli_month,t+=this.nongli_day):this.dateMode==2&&(t+=this.req_nian_gan,t+=this.req_nian_zhi,t+=this.req_yue_gan,t+=this.req_yue_zhi,t+=this.req_ri_gan,t+=this.req_ri_zhi,this.req_shi_gan!=null?t+=this.req_shi_gan:t+="无",this.req_shi_zhi!=null?t+=this.req_shi_zhi:t+="无"),this.extra!=null&&(t+=this.extra),t}fillData(t){var a,i;let n=t.base_info,r=this;r.isMan=t.is_man,r.rsp_nian_gan=t.nian_gan.text,r.rsp_nian_zhi=t.nian_zhi.text,r.rsp_yue_gan=t.yue_gan.text,r.rsp_yue_zhi=t.yue_zhi.text,r.rsp_ri_gan=t.ri_gan.text,r.rsp_ri_zhi=t.ri_zhi.text,r.rsp_shi_gan=t.shi_gan.text,r.rsp_shi_zhi=t.shi_zhi.text,r.year=n.year,r.month=(a=n.month)==null?void 0:a.toString(),r.day=(i=n.day)==null?void 0:i.toString(),r.hourMode=n.hour_mode,r.hour=n.hour,r.minute=n.minute,r.areaMode=n.area_mode,r.sheng=n.sheng,r.shi=n.shi,r.qu=n.qu,r.nongli_year=n.nongli_year,r.nongli_month=n.nongli_month,r.nongli_day=n.nongli_day,r.req_nian_gan=n.nian_gan,r.req_nian_zhi=n.nian_zhi,r.req_yue_gan=n.yue_gan,r.req_yue_zhi=n.yue_zhi,r.req_ri_gan=n.ri_gan,r.req_ri_zhi=n.ri_zhi,r.req_shi_gan=n.shi_gan,r.req_shi_zhi=n.shi_zhi}}class $5{constructor(){ne(this,"arg1");ne(this,"arg2");ne(this,"arg3");ne(this,"wei_zhi1");ne(this,"wei_zhi2");ne(this,"wei_zhi3");ne(this,"wu_xing1");ne(this,"wu_xing2");ne(this,"wu_xing3");ne(this,"shi_shen1");ne(this,"shi_shen2");ne(this,"shi_shen3");ne(this,"text");ne(this,"guanxi");ne(this,"leibie");ne(this,"hehua");ne(this,"fangxiang");ne(this,"zengqiang_shishen");ne(this,"tip");ne(this,"sign");ne(this,"xing_chu");ne(this,"xing_chong")}}class dr{constructor(){ne(this,"text");ne(this,"wei_zhi");ne(this,"wu_xing");ne(this,"shi_shen");ne(this,"yin_yang");ne(this,"cang_gan1");ne(this,"cang_gan2");ne(this,"cang_gan3");ne(this,"gan1_wu_xing");ne(this,"gan2_wu_xing");ne(this,"gan3_wu_xing");ne(this,"gan1_shi_shen");ne(this,"gan2_shi_shen");ne(this,"gan3_shi_shen");ne(this,"zhang_sheng_zhu");ne(this,"zhang_sheng_ri");ne(this,"dayun_text");ne(this,"liunian_text");ne(this,"liuyue_text");ne(this,"liuri_text");ne(this,"gaonengs");ne(this,"is_muku");ne(this,"is_muku_open");ne(this,"shenshas");ne(this,"trigger_gaonengs")}}Vt([Bt(Array,$5)],dr.prototype,"gaonengs");Vt([Bt(Array)],dr.prototype,"shenshas");Vt([Bt(Map,Array,$5)],dr.prototype,"trigger_gaonengs");class up{constructor(){ne(this,"power_raw");ne(this,"power_muku");ne(this,"power_gaoneng");ne(this,"power_zihe")}}Vt([Bt(Map)],up.prototype,"power_raw");Vt([Bt(Map)],up.prototype,"power_muku");Vt([Bt(Map)],up.prototype,"power_gaoneng");Vt([Bt(Map)],up.prototype,"power_zihe");class qZ{constructor(){ne(this,"raw",new Map);ne(this,"muku",new Map);ne(this,"gaoneng",new Map);ne(this,"zihe",new Map);ne(this,"rawWuXingTotal");ne(this,"mukuWuXingTotal");ne(this,"gaonengWuXingTotal");ne(this,"ziheWuXingTotal");ne(this,"rawShiShenTotal");ne(this,"mukuShiShenTotal");ne(this,"gaonengShiShenTotal");ne(this,"ziheShiShenTotal");ne(this,"powerMap");ne(this,"wuxingTotals");ne(this,"shishenTotals")}calc(t,n){let r=["木","火","土","金","水"],a=["官","杀","比","劫","食","伤","财","才","印","枭"];this.rawWuXingTotal=0,this.mukuWuXingTotal=0,this.gaonengWuXingTotal=0,this.ziheWuXingTotal=0,this.rawShiShenTotal=0,this.mukuShiShenTotal=0,this.gaonengShiShenTotal=0,this.ziheShiShenTotal=0;let i=this;r.forEach(function(o){let l=t.get(o),s=n.power_raw.get(o),u=n.power_gaoneng.get(o),c=n.power_muku.get(o),f=n.power_zihe.get(o);i.raw.set(o,l*s),i.muku.set(o,l*c),i.gaoneng.set(o,l*u),i.zihe.set(o,l*f),i.rawWuXingTotal+=l*s,i.gaonengWuXingTotal+=l*u,i.mukuWuXingTotal+=l*c,i.ziheWuXingTotal+=l*f}),a.forEach(function(o){let l=t.get(o),s=n.power_raw.get(o),u=n.power_gaoneng.get(o),c=n.power_muku.get(o),f=n.power_zihe.get(o);i.raw.set(o,l*s),i.muku.set(o,l*c),i.gaoneng.set(o,l*u),i.zihe.set(o,l*f),i.rawShiShenTotal+=l*s,i.gaonengShiShenTotal+=l*u,i.mukuShiShenTotal+=l*c,i.ziheShiShenTotal+=l*f}),this.powerMap=new Map,this.powerMap.set(1,this.raw),this.powerMap.set(2,this.gaoneng),this.powerMap.set(4,this.muku),this.powerMap.set(8,this.zihe),this.wuxingTotals=new Map,this.wuxingTotals.set(1,this.rawWuXingTotal),this.wuxingTotals.set(2,this.gaonengWuXingTotal),this.wuxingTotals.set(4,this.mukuWuXingTotal),this.wuxingTotals.set(8,this.ziheWuXingTotal),this.shishenTotals=new Map,this.shishenTotals.set(1,this.rawShiShenTotal),this.shishenTotals.set(2,this.gaonengShiShenTotal),this.shishenTotals.set(4,this.mukuShiShenTotal),this.shishenTotals.set(8,this.ziheShiShenTotal)}getValueByIndexs(t,n,r){let a=0;return t.forEach(function(i){let o=n.get(i);r!=null?a+=o.get(r):a+=o}),a}getIndexs(t){let n=[];switch(t){case 1:n=[1];break;case 2:n=[2];break;case 3:n=[1,2];break;case 4:n=[4];break;case 5:n=[1,4];break;case 6:n=[2,4];break;case 7:n=[1,2,4];break;case 8:n=[8];break;case 9:n=[1,8];break;case 10:n=[2,8];break;case 11:n=[1,2,8];break;case 12:n=[4,8];break;case 13:n=[1,4,8];break;case 14:n=[2,4,8];break;case 15:n=[1,2,4,8];break}return n}getPower(t,n=H.powerMode.value){let r=0;if(t==null)return r;let a=this.getIndexs(n);return r=this.getValueByIndexs(a,this.powerMap,t),r}getWuXingTotal(t=H.powerMode.value){let n=this.getIndexs(t);return this.getValueByIndexs(n,this.wuxingTotals,null)}getShiShenTotal(t=H.powerMode.value){let n=this.getIndexs(t);return this.getValueByIndexs(n,this.shishenTotals,null)}}class GZ{constructor(){ne(this,"arg1");ne(this,"arg2");ne(this,"shishen1");ne(this,"shishen2");ne(this,"guanxi");ne(this,"guan_sha");ne(this,"cai_xing");ne(this,"yin_shou");ne(this,"shi_shang");ne(this,"bi_jie");ne(this,"trigger");this.guan_sha=0,this.cai_xing=0,this.yin_shou=0,this.shi_shang=0,this.bi_jie=0}getTotal(){return this.guan_sha+this.cai_xing+this.yin_shou+this.shi_shang+this.bi_jie}}class uO{constructor(){ne(this,"guan_sha",0);ne(this,"cai_xing",0);ne(this,"yin_shou",0);ne(this,"shi_shang",0);ne(this,"bi_jie",0);ne(this,"total",0)}}class Gc{constructor(){ne(this,"yudao");ne(this,"items");ne(this,"guan_sha",0);ne(this,"cai_xing",0);ne(this,"yin_shou",0);ne(this,"shi_shang",0);ne(this,"bi_jie",0);ne(this,"total",0)}filter(t){let n=[];return this.items.forEach(function(r){r.trigger==t&&n.push(r)}),n}getScores(t){let n=0,r=0,a=0,i=0,o=0,l=0;return this.items.forEach(function(s){s.trigger==t&&(n+=s.guan_sha,r+=s.cai_xing,a+=s.yin_shou,i+=s.shi_shang,o+=s.bi_jie)}),l=n+r+a+i+o,[n,r,a,i,o,l]}}Vt([Bt(Array,GZ)],Gc.prototype,"items");class WZ{constructor(){ne(this,"name");ne(this,"guanxi");ne(this,"arg1");ne(this,"arg2");ne(this,"tip");ne(this,"found")}}class V5{constructor(){ne(this,"day");ne(this,"nong_li");ne(this,"xing_qi");ne(this,"gan_text");ne(this,"zhi_text");ne(this,"gan_zhu");ne(this,"zhi_zhu");ne(this,"is_gaoneng_calced",!1);ne(this,"trigger")}}Vt([Bt(dr)],V5.prototype,"gan_zhu");Vt([Bt(dr)],V5.prototype,"zhi_zhu");class hy{constructor(){ne(this,"month");ne(this,"jie_qi");ne(this,"jie_qi_date");ne(this,"gan_text");ne(this,"zhi_text");ne(this,"gan_zhu");ne(this,"zhi_zhu");ne(this,"liuri");ne(this,"trigger");ne(this,"yinyuan_level",0);ne(this,"yinyuan_tip");ne(this,"is_gaoneng_calced",!1);ne(this,"qushiItems",new Map)}findLiuRi(t){let n=null;for(let r=0;r<this.liuri.length;r++){let a=this.liuri[r];if(a.day==t){n=a;break}}return n}}Vt([Bt(dr)],hy.prototype,"gan_zhu");Vt([Bt(dr)],hy.prototype,"zhi_zhu");Vt([Bt(Array,V5)],hy.prototype,"liuri");class vy{constructor(){ne(this,"year");ne(this,"gan_text");ne(this,"zhi_text");ne(this,"from_dayun");ne(this,"age");ne(this,"gan_zhu");ne(this,"zhi_zhu");ne(this,"liuyue");ne(this,"trigger");ne(this,"yinyuan_level",0);ne(this,"yinyuan_tip");ne(this,"qushiItems",new Map)}findLiuYue(t){let n=null;for(let r=0;r<this.liuyue.length;r++){let a=this.liuyue[r];if(a.month==t){n=a;break}}return n}}Vt([Bt(dr)],vy.prototype,"gan_zhu");Vt([Bt(dr)],vy.prototype,"zhi_zhu");Vt([Bt(Array,hy)],vy.prototype,"liuyue");class py{constructor(){ne(this,"is_dayun");ne(this,"gan_text");ne(this,"zhi_text");ne(this,"trigger");ne(this,"start_age");ne(this,"end_age");ne(this,"start_year");ne(this,"end_year");ne(this,"gan_zhu");ne(this,"zhi_zhu");ne(this,"liunian");ne(this,"qushiItems",new Map)}findLiuNian(t){let n=null;for(let r=0;r<this.liunian.length;r++){let a=this.liunian[r];if(a.year==t){n=a;break}}return n}}Vt([Bt(dr)],py.prototype,"gan_zhu");Vt([Bt(dr)],py.prototype,"zhi_zhu");Vt([Bt(Array,vy)],py.prototype,"liunian");class cO{constructor(){ne(this,"content");ne(this,"order");ne(this,"selected");ne(this,"defaultSelected");ne(this,"tip");ne(this,"key")}}class Ya{constructor(){ne(this,"jianyi");ne(this,"cankao")}getItems(){let t=[];return[this.jianyi,this.cankao].forEach(function(r){r.forEach(function(a){t.push(a)})}),t}}Vt([Bt(Array,cO)],Ya.prototype,"jianyi");Vt([Bt(Array,cO)],Ya.prototype,"cankao");class Ai{constructor(){ne(this,"wuxing");ne(this,"shishen");ne(this,"zuozhi");ne(this,"menhu");ne(this,"shensha");ne(this,"geju");ne(this,"gaoneng");ne(this,"jiankang");ne(this,"qinggan");ne(this,"dayun");ne(this,"yinyuan")}getZhenDuanContent(t){let n="";return t.getItems().forEach(function(a){a.selected&&(n+=a.content)}),n}getContent(t,n,r){let a=this,i="",o=this.getZhenDuanContent(this.wuxing);o.length>0&&(i+="五行"+o+`
  22. `);let l=this.getZhenDuanContent(this.shishen);l.length>0&&(i+=l+`
  23. `);let s=this.getZhenDuanContent(this.zuozhi);s.length>0&&(i+=s+`
  24. `);let u=this.getZhenDuanContent(this.menhu);u.length>0&&(i+=u+`
  25. `);let c=this.getZhenDuanContent(this.shensha);c.length>0&&(i+="神煞方面"+c+`
  26. `);let f=this.getZhenDuanContent(this.geju);f.length>0&&(i+="八字格局"+f+`
  27. `);let d="";this.gaoneng.forEach(function(v){d+=a.getZhenDuanContent(v)}),d.length>0&&(i+="八字原局"+d+`
  28. `);let h=this.getZhenDuanContent(this.jiankang);if(h.length>0&&(i+="健康方面"+h+`
  29. `),t){let v=this.getZhenDuanContent(this.qinggan);v.length>0&&(i+="情感方面"+v+`
  30. `)}if(n){let v=this.getZhenDuanContent(this.dayun);v.length>0&&(i+=v+`
  31. `)}if(r){let v=this.getZhenDuanContent(this.yinyuan);v.length>0&&(i+=v+`
  32. `)}return i}}Vt([Bt(Ya)],Ai.prototype,"wuxing");Vt([Bt(Ya)],Ai.prototype,"shishen");Vt([Bt(Ya)],Ai.prototype,"zuozhi");Vt([Bt(Ya)],Ai.prototype,"menhu");Vt([Bt(Ya)],Ai.prototype,"shensha");Vt([Bt(Ya)],Ai.prototype,"geju");Vt([Bt(Map,Ya)],Ai.prototype,"gaoneng");Vt([Bt(Ya)],Ai.prototype,"jiankang");Vt([Bt(Ya)],Ai.prototype,"qinggan");Vt([Bt(Ya)],Ai.prototype,"dayun");Vt([Bt(Ya)],Ai.prototype,"yinyuan");let UZ=class{constructor(){ne(this,"date_mode");ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hour_mode");ne(this,"hour");ne(this,"minute");ne(this,"area_mode");ne(this,"sheng");ne(this,"shi");ne(this,"qu");ne(this,"nongli_year");ne(this,"nongli_month");ne(this,"nongli_day");ne(this,"nian_gan");ne(this,"nian_zhi");ne(this,"yue_gan");ne(this,"yue_zhi");ne(this,"ri_gan");ne(this,"ri_zhi");ne(this,"shi_gan");ne(this,"shi_zhi")}};class YZ{constructor(){ne(this,"ri",new Map);ne(this,"shi",new Map);ne(this,"total",new Map);ne(this,"detailsRi",new Map);ne(this,"detailsShi",new Map)}getValue(t,n){if(n==0)return this.ri.has(t)?this.ri.get(t):(this.ri.set(t,0),0);if(n==1)return this.shi.has(t)?this.shi.get(t):(this.shi.set(t,0),0)}setValue(t,n,r){r==0?this.ri.set(t,n):r==1&&this.shi.set(t,n)}addDetail(t,n,r){let a=this.detailsRi;r==1&&(a=this.detailsShi),a.has(t)||a.set(t,[]),a.get(t).push(n)}calcTotal(){let t=["官","杀","财","才","印","枭","食","伤","比","劫"],n=this;t.forEach(function(r){let a=0;n.ri.has(r)&&(a+=n.ri.get(r));for(let i=9;i<=21;i+=2){let o=r+"_"+i.toString();n.shi.has(o)&&(a+=n.shi.get(o)),n.total.set(o,a)}})}}class KZ{constructor(){ne(this,"year");ne(this,"yun",new Map);ne(this,"nian",new Map);ne(this,"yue",new Map);ne(this,"total",new Map);ne(this,"detailsYun",new Map);ne(this,"detailsNian",new Map);ne(this,"detailsYue",new Map)}getValue(t,n){if(n==0)return this.yun.has(t)?this.yun.get(t):(this.yun.set(t,0),0);if(n==1)return this.nian.has(t)?this.nian.get(t):(this.nian.set(t,0),0);if(n==2)return this.yue.has(t)?this.yue.get(t):(this.yue.set(t,0),0)}setValue(t,n,r){r==0?this.yun.set(t,n):r==1?this.nian.set(t,n):r==2&&this.yue.set(t,n)}addDetail(t,n,r){let a=this.detailsYun;r==1?a=this.detailsNian:r==2&&(a=this.detailsYue),a.has(t)||a.set(t,[]),a.get(t).push(n)}calcTotal(){let t=["官","杀","财","才","印","枭","食","伤","比","劫"],n=this;t.forEach(function(r){let a=0;n.yun.has(r)&&(a+=n.yun.get(r)),n.nian.has(r)&&(a+=n.nian.get(r));for(let i=1;i<=12;i++){let o=r+"_"+i.toString();n.yue.has(o)&&(a+=n.yue.get(o)),n.total.set(o,a)}})}}const Un=class fO{constructor(){ne(this,"is_man");ne(this,"tai_yang_shi");ne(this,"nian_gan");ne(this,"nian_zhi");ne(this,"yue_gan");ne(this,"yue_zhi");ne(this,"ri_gan");ne(this,"ri_zhi");ne(this,"shi_gan");ne(this,"shi_zhi");ne(this,"tong_dang");ne(this,"yi_dang");ne(this,"power_steps");ne(this,"counter");ne(this,"shishen_guanxi");ne(this,"tiangan_geju");ne(this,"dizhi_geju");ne(this,"geju_score");ne(this,"geju_xiongji");ne(this,"dayun");ne(this,"dayun_tiangan_geju");ne(this,"dayun_dizhi_geju");ne(this,"dayun_geju_score");ne(this,"liunian_tiangan_geju");ne(this,"liunian_dizhi_geju");ne(this,"liunian_geju_score");ne(this,"zhenduan");ne(this,"base_info");ne(this,"powerDetail");ne(this,"qushiInfo");ne(this,"dailyQuShi");ne(this,"dailyQuShiDate")}static build(t){let n=new fO;return LZ(n,t),console.log("bazi:",n),n.powerDetail=new qZ,n.powerDetail.calc(n.power_steps,n.counter),n}allSiZhu(){return[this.nian_gan,this.nian_zhi,this.yue_gan,this.yue_zhi,this.ri_gan,this.ri_zhi,this.shi_gan,this.shi_zhi]}};Vt([Bt(dr)],Un.prototype,"nian_gan");Vt([Bt(dr)],Un.prototype,"nian_zhi");Vt([Bt(dr)],Un.prototype,"yue_gan");Vt([Bt(dr)],Un.prototype,"yue_zhi");Vt([Bt(dr)],Un.prototype,"ri_gan");Vt([Bt(dr)],Un.prototype,"ri_zhi");Vt([Bt(dr)],Un.prototype,"shi_gan");Vt([Bt(dr)],Un.prototype,"shi_zhi");Vt([Bt(Map)],Un.prototype,"power_steps");Vt([Bt(up)],Un.prototype,"counter");Vt([Bt(Map)],Un.prototype,"shishen_guanxi");Vt([Bt(Map,Gc)],Un.prototype,"tiangan_geju");Vt([Bt(Map,Gc)],Un.prototype,"dizhi_geju");Vt([Bt(Map)],Un.prototype,"geju_score");Vt([Bt(Map,Array,WZ)],Un.prototype,"geju_xiongji");Vt([Bt(Array,py)],Un.prototype,"dayun");Vt([Bt(Map,Gc)],Un.prototype,"dayun_tiangan_geju");Vt([Bt(Map,Gc)],Un.prototype,"dayun_dizhi_geju");Vt([Bt(Map,Map)],Un.prototype,"dayun_geju_score");Vt([Bt(Map,Gc)],Un.prototype,"liunian_tiangan_geju");Vt([Bt(Map,Gc)],Un.prototype,"liunian_dizhi_geju");Vt([Bt(Map,Map)],Un.prototype,"liunian_geju_score");Vt([Bt(Ai)],Un.prototype,"zhenduan");Vt([Bt(UZ)],Un.prototype,"base_info");let XZ=Un;const ZZ={align:"left",style:{"margin-top":"10px"}},JZ={key:1,align:"left",style:{"margin-top":"10px"}},QZ=te({__name:"XinLi",setup(e,{expose:t}){t({getData:function(){let h=new PZ;return h.year=n.value,h.month=r.value,h.day=a.value,h.hourMode=o.value,h.hourMode==1?(h.hour=d(u.value),h.minute=0):h.hourMode==2?(h.hour=null,h.minute=null):(h.hour=l.value,h.minute=s.value),h},setData(h){n.value=h.year,r.value=parseInt(h.month),a.value=parseInt(h.day),o.value=h.hourMode,h.hourMode==1&&(o.value=0),l.value=h.hour,s.value=h.minute}});let n=j(2e3),r=j(1),a=j(1),i=j(31),o=j(0),l=j(0),s=j(0),u=j(0);function c(h,v){let p=[];for(let g=h;g<=v;g++)p.push(g);return p}function f(){let h=new Date;h.setFullYear(n.value,r.value,0),i.value=h.getDate()}function d(h){let v=null;return h!=-1&&(h==0?v=23:v=h*2-1),v}return(h,v)=>{const p=se("el-option"),g=se("el-select"),m=se("el-space"),b=se("el-radio"),_=se("el-radio-group"),w=se("el-radio-button");return k(),F(de,null,[I(m,null,{default:M(()=>[I(g,{modelValue:y(n),"onUpdate:modelValue":v[0]||(v[0]=x=>ct(n)?n.value=x:n=x),style:{width:"100px"},onChange:f,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(c(1900,2030),x=>(k(),Y(p,{value:x,label:x+"年"},{default:M(()=>[G(U(x)+"年 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(g,{modelValue:y(r),"onUpdate:modelValue":v[1]||(v[1]=x=>ct(r)?r.value=x:r=x),style:{width:"100px"},onChange:f,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(c(1,12),x=>(k(),Y(p,{value:x,label:x+"月"},{default:M(()=>[G(U(x)+"月 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(g,{modelValue:y(a),"onUpdate:modelValue":v[2]||(v[2]=x=>ct(a)?a.value=x:a=x),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(c(1,y(i)),x=>(k(),Y(p,{value:x,label:x+"日"},{default:M(()=>[G(U(x)+"日 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),X("div",ZZ,[I(_,{modelValue:y(o),"onUpdate:modelValue":v[3]||(v[3]=x=>ct(o)?o.value=x:o=x)},{default:M(()=>[I(b,{value:0},{default:M(()=>[G("知道时辰")]),_:1}),I(b,{value:1},{default:M(()=>[G("地支时辰")]),_:1}),I(b,{value:2},{default:M(()=>[G("不知时辰")]),_:1})]),_:1},8,["modelValue"])]),y(o)==0?(k(),Y(m,{key:0,style:{"margin-top":"10px"}},{default:M(()=>[I(g,{modelValue:y(l),"onUpdate:modelValue":v[4]||(v[4]=x=>ct(l)?l.value=x:l=x),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(c(0,23),x=>(k(),Y(p,{value:x,label:x+"时"},{default:M(()=>[G(U(x)+"时 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(g,{modelValue:y(s),"onUpdate:modelValue":v[5]||(v[5]=x=>ct(s)?s.value=x:s=x),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(c(0,59),x=>(k(),Y(p,{value:x,label:x+"分"},{default:M(()=>[G(U(x)+"分 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1})):Q("",!0),y(o)==1?(k(),F("div",JZ,[I(_,{modelValue:y(u),"onUpdate:modelValue":v[6]||(v[6]=x=>ct(u)?u.value=x:u=x)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).dizhiAry,(x,S)=>(k(),Y(w,{value:S},{default:M(()=>[G(U(x),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])])):Q("",!0)],64)}}}),eJ={align:"left"},tJ={key:0,align:"left"},nJ=X("br",null,null,-1),rJ=["onClick"],aJ=te({__name:"Area",setup(e,{expose:t}){t({getData:function(){let p=new RZ;return p.mode=n.value,p.sheng=r.value,p.shi=a.value,p.qu=i.value,p},setData:function(p){n.value=p.areaMode,r.value=p.sheng,a.value=p.shi,i.value=p.qu}});let n=j(0),r=j("北京"),a=j("-"),i=j("-"),o=j([]),l=j([]),s=j(""),u=j([]),c=L(function(){return Array.from(H.shengShi.keys())});function f(p){a.value="-",i.value="-",o.value=[],l.value=[],H.shengShi.has(p)&&(o.value=H.shengShi.get(p),o.value.length>0&&(a.value=o.value[0],d(a.value)))}function d(p){i.value="-",l.value=[];let g=r.value+p;H.shiQu.has(g)&&(l.value=H.shiQu.get(g),l.value.length>0&&(i.value=l.value[0]))}function h(){let p=s.value.trim();if(p.length>0){let g=H.fixPinYin(p);u.value=[],g.forEach(function(m){u.value.push(m.sheng+" "+m.shi+" "+m.qu)})}else u.value=[]}function v(p){let g=p.split(" ");g.length==3&&(r.value=g[0],a.value=g[1],i.value=g[2],s.value="",u.value=[])}return(p,g)=>{const m=se("el-radio"),b=se("el-radio-group"),_=se("el-option"),w=se("el-select"),x=se("el-input"),S=se("el-space"),C=se("el-scrollbar");return k(),F(de,null,[X("div",eJ,[I(b,{modelValue:y(n),"onUpdate:modelValue":g[0]||(g[0]=T=>ct(n)?n.value=T:n=T)},{default:M(()=>[I(m,{value:0},{default:M(()=>[G("知道地点")]),_:1}),I(m,{value:1},{default:M(()=>[G("不知地点")]),_:1})]),_:1},8,["modelValue"])]),y(n)==0?(k(),F("div",tJ,[I(S,{style:{"margin-top":"10px"}},{default:M(()=>[I(w,{modelValue:y(r),"onUpdate:modelValue":g[1]||(g[1]=T=>ct(r)?r.value=T:r=T),onChange:f,style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(y(c),T=>(k(),Y(_,{value:T,label:T},{default:M(()=>[G(U(T),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(w,{modelValue:y(a),"onUpdate:modelValue":g[2]||(g[2]=T=>ct(a)?a.value=T:a=T),onChange:d,style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(y(o),T=>(k(),Y(_,{value:T,label:T},{default:M(()=>[G(U(T),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(w,{modelValue:y(i),"onUpdate:modelValue":g[3]||(g[3]=T=>ct(i)?i.value=T:i=T),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(y(l),T=>(k(),Y(_,{value:T,label:T},{default:M(()=>[G(U(T),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(x,{placeholder:"输入拼音首字母或名称查询",onInput:h,style:{width:"200px"},modelValue:y(s),"onUpdate:modelValue":g[4]||(g[4]=T=>ct(s)?s.value=T:s=T),clearable:""},null,8,["modelValue"])]),_:1}),nJ,I(C,{"max-height":"400px"},{default:M(()=>[(k(!0),F(de,null,we(y(u),T=>(k(),F("p",{onClick:z=>v(T)},U(T),9,rJ))),256))]),_:1})])):Q("",!0)],64)}}}),iJ=te({__name:"SiZhuSelector",setup(e,{expose:t}){t({getData:function(){let d=new OZ;return d.hourMode=c.value,d.niangan=n.value,d.nianzhi=r.value,d.yuegan=a.value,d.yuezhi=i.value,d.rigan=o.value,d.rizhi=l.value,d.ignoreError=f.value,d.hourMode==0?(d.shigan=s.value,d.shizhi=u.value):(d.shigan=null,d.shizhi=null),d},setData:function(d){n.value=d.req_nian_gan,r.value=d.req_nian_zhi,a.value=d.req_yue_gan,i.value=d.req_yue_zhi,o.value=d.req_ri_gan,l.value=d.req_ri_zhi,s.value=d.req_shi_gan,u.value=d.req_shi_zhi,c.value=0,d.rsp_shi_gan=="无"&&(c.value=1)}});let n=j("甲"),r=j("子"),a=j("甲"),i=j("子"),o=j("甲"),l=j("子"),s=j("甲"),u=j("子"),c=j(0),f=j(!1);return(d,h)=>{const v=se("el-text"),p=se("el-radio-button"),g=se("el-radio-group"),m=se("el-space"),b=se("el-radio");return se("el-checkbox"),k(),F(de,null,[I(m,{style:{width:"100%"}},{default:M(()=>[I(v,null,{default:M(()=>[G("年干:")]),_:1}),I(g,{modelValue:y(n),"onUpdate:modelValue":h[0]||(h[0]=_=>ct(n)?n.value=_:n=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).tianganAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(m,{style:{width:"100%","margin-top":"10px"}},{default:M(()=>[I(v,null,{default:M(()=>[G("年支:")]),_:1}),I(g,{modelValue:y(r),"onUpdate:modelValue":h[1]||(h[1]=_=>ct(r)?r.value=_:r=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).dizhiAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(m,{style:{width:"100%","margin-top":"20px"}},{default:M(()=>[I(v,null,{default:M(()=>[G("月干:")]),_:1}),I(g,{modelValue:y(a),"onUpdate:modelValue":h[2]||(h[2]=_=>ct(a)?a.value=_:a=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).tianganAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(m,{style:{width:"100%","margin-top":"10px"}},{default:M(()=>[I(v,null,{default:M(()=>[G("月支:")]),_:1}),I(g,{modelValue:y(i),"onUpdate:modelValue":h[3]||(h[3]=_=>ct(i)?i.value=_:i=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).dizhiAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(m,{style:{width:"100%","margin-top":"20px"}},{default:M(()=>[I(v,null,{default:M(()=>[G("日干:")]),_:1}),I(g,{modelValue:y(o),"onUpdate:modelValue":h[4]||(h[4]=_=>ct(o)?o.value=_:o=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).tianganAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(m,{style:{width:"100%","margin-top":"10px"}},{default:M(()=>[I(v,null,{default:M(()=>[G("日支:")]),_:1}),I(g,{modelValue:y(l),"onUpdate:modelValue":h[5]||(h[5]=_=>ct(l)?l.value=_:l=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).dizhiAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(g,{style:{"margin-top":"10px"},modelValue:y(c),"onUpdate:modelValue":h[6]||(h[6]=_=>ct(c)?c.value=_:c=_)},{default:M(()=>[I(b,{value:0},{default:M(()=>[G("时辰已知")]),_:1}),I(b,{value:1},{default:M(()=>[G("时辰未知")]),_:1})]),_:1},8,["modelValue"]),y(c)==0?(k(),Y(m,{key:0,style:{width:"100%","margin-top":"20px"}},{default:M(()=>[I(v,null,{default:M(()=>[G("时干:")]),_:1}),I(g,{modelValue:y(s),"onUpdate:modelValue":h[7]||(h[7]=_=>ct(s)?s.value=_:s=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).tianganAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1})):Q("",!0),y(c)==0?(k(),Y(m,{key:1,style:{width:"100%","margin-top":"10px"}},{default:M(()=>[I(v,null,{default:M(()=>[G("时支:")]),_:1}),I(g,{modelValue:y(u),"onUpdate:modelValue":h[8]||(h[8]=_=>ct(u)?u.value=_:u=_)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).dizhiAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1})):Q("",!0),Q("",!0)],64)}}}),oJ='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',lJ=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,V7=e=>Array.from(e.querySelectorAll(oJ)).filter(t=>sJ(t)&&lJ(t)),sJ=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},L0=function(e,t,...n){let r;t.includes("mouse")||t.includes("click")?r="MouseEvents":t.includes("key")?r="KeyboardEvent":r="HTMLEvents";const a=document.createEvent(r);return a.initEvent(t,...n),e.dispatchEvent(a),e},dO=e=>!e.getAttribute("aria-owns"),hO=(e,t,n)=>{const{parentNode:r}=e;if(!r)return null;const a=r.querySelectorAll(n),i=Array.prototype.indexOf.call(a,e);return a[i+t]||null},P0=e=>{e&&(e.focus(),!dO(e)&&e.click())},Bn=(e,t,{checkForDefaultPrevented:n=!0}={})=>a=>{const i=e==null?void 0:e(a);if(n===!1||!i)return t==null?void 0:t(a)},B7=e=>t=>t.pointerType==="mouse"?e(t):void 0;var uJ=Object.defineProperty,cJ=Object.defineProperties,fJ=Object.getOwnPropertyDescriptors,F7=Object.getOwnPropertySymbols,dJ=Object.prototype.hasOwnProperty,hJ=Object.prototype.propertyIsEnumerable,H7=(e,t,n)=>t in e?uJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vJ=(e,t)=>{for(var n in t||(t={}))dJ.call(t,n)&&H7(e,n,t[n]);if(F7)for(var n of F7(t))hJ.call(t,n)&&H7(e,n,t[n]);return e},pJ=(e,t)=>cJ(e,fJ(t));function j7(e,t){var n;const r=xn();return Or(()=>{r.value=e()},pJ(vJ({},t),{flush:(n=void 0)!=null?n:"sync"})),Wd(r)}var q7;const Wt=typeof window<"u",gJ=e=>typeof e<"u",c4=e=>typeof e=="function",mJ=e=>typeof e=="string",bd=()=>{},yJ=Wt&&((q7=window==null?void 0:window.navigator)==null?void 0:q7.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Vs(e){return typeof e=="function"?e():y(e)}function vO(e,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}function bJ(e,t={}){let n,r,a=bd;const i=l=>{clearTimeout(l),a(),a=bd};return l=>{const s=Vs(e),u=Vs(t.maxWait);return n&&i(n),s<=0||u!==void 0&&u<=0?(r&&(i(r),r=null),Promise.resolve(l())):new Promise((c,f)=>{a=t.rejectOnCancel?f:c,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=null,c(l())},u)),n=setTimeout(()=>{r&&i(r),r=null,c(l())},s)})}}function _J(e,t=!0,n=!0,r=!1){let a=0,i,o=!0,l=bd,s;const u=()=>{i&&(clearTimeout(i),i=void 0,l(),l=bd)};return f=>{const d=Vs(e),h=Date.now()-a,v=()=>s=f();return u(),d<=0?(a=Date.now(),v()):(h>d&&(n||!o)?(a=Date.now(),v()):t&&(s=new Promise((p,g)=>{l=r?g:p,i=setTimeout(()=>{a=Date.now(),o=!0,p(v()),u()},Math.max(0,d-h))})),!n&&!i&&(i=setTimeout(()=>o=!0,d)),o=!1,s)}}function wJ(e){return e}function xJ(e,t){let n,r,a;const i=j(!0),o=()=>{i.value=!0,a()};ke(e,o,{flush:"sync"});const l=c4(t)?t:t.get,s=c4(t)?void 0:t.set,u=BY((c,f)=>(r=c,a=f,{get(){return i.value&&(n=l(),i.value=!1),r(),n},set(d){s==null||s(d)}}));return Object.isExtensible(u)&&(u.trigger=o),u}function cp(e){return $P()?(VP(e),!0):!1}function SJ(e,t=200,n={}){return vO(bJ(t,n),e)}function CJ(e,t=200,n={}){const r=j(e.value),a=SJ(()=>{r.value=e.value},t,n);return ke(e,()=>a()),r}function pO(e,t=200,n=!1,r=!0,a=!1){return vO(_J(t,n,r,a),e)}function B5(e,t=!0){xt()?bt(e):t?e():nt(e)}function Ac(e,t,n={}){const{immediate:r=!0}=n,a=j(!1);let i=null;function o(){i&&(clearTimeout(i),i=null)}function l(){a.value=!1,o()}function s(...u){o(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,e(...u)},Vs(t))}return r&&(a.value=!0,Wt&&s()),cp(l),{isPending:Wd(a),start:s,stop:l}}function Aa(e){var t;const n=Vs(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ru=Wt?window:void 0,TJ=Wt?window.document:void 0;function Sn(...e){let t,n,r,a;if(mJ(e[0])||Array.isArray(e[0])?([n,r,a]=e,t=ru):[t,n,r,a]=e,!t)return bd;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},l=(c,f,d,h)=>(c.addEventListener(f,d,h),()=>c.removeEventListener(f,d,h)),s=ke(()=>[Aa(t),Vs(a)],([c,f])=>{o(),c&&i.push(...n.flatMap(d=>r.map(h=>l(c,d,h,f))))},{immediate:!0,flush:"post"}),u=()=>{s(),o()};return cp(u),u}let G7=!1;function F5(e,t,n={}){const{window:r=ru,ignore:a=[],capture:i=!0,detectIframe:o=!1}=n;if(!r)return;yJ&&!G7&&(G7=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",bd)));let l=!0;const s=d=>a.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(v=>v===d.target||d.composedPath().includes(v));{const v=Aa(h);return v&&(d.target===v||d.composedPath().includes(v))}}),c=[Sn(r,"click",d=>{const h=Aa(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(l=!s(d)),!l){l=!0;return}t(d)}},{passive:!0,capture:i}),Sn(r,"pointerdown",d=>{const h=Aa(e);h&&(l=!d.composedPath().includes(h)&&!s(d))},{passive:!0}),o&&Sn(r,"blur",d=>{var h;const v=Aa(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(v!=null&&v.contains(r.document.activeElement))&&t(d)})].filter(Boolean);return()=>c.forEach(d=>d())}function kJ(e={}){var t;const{window:n=ru}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,a=xJ(()=>null,()=>r==null?void 0:r.activeElement);return n&&(Sn(n,"blur",i=>{i.relatedTarget===null&&a.trigger()},!0),Sn(n,"focus",a.trigger,!0)),a}function gO(e,t=!1){const n=j(),r=()=>n.value=!!e();return r(),B5(r,t),n}function zJ(e){return JSON.parse(JSON.stringify(e))}const W7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},U7="__vueuse_ssr_handlers__";W7[U7]=W7[U7]||{};function MJ(e,t,{window:n=ru,initialValue:r=""}={}){const a=j(r),i=L(()=>{var o;return Aa(t)||((o=n==null?void 0:n.document)==null?void 0:o.documentElement)});return ke([i,()=>Vs(e)],([o,l])=>{var s;if(o&&n){const u=(s=n.getComputedStyle(o).getPropertyValue(l))==null?void 0:s.trim();a.value=u||r}},{immediate:!0}),ke(a,o=>{var l;(l=i.value)!=null&&l.style&&i.value.style.setProperty(Vs(e),o)}),a}function AJ({document:e=TJ}={}){if(!e)return j("visible");const t=j(e.visibilityState);return Sn(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Y7=Object.getOwnPropertySymbols,EJ=Object.prototype.hasOwnProperty,IJ=Object.prototype.propertyIsEnumerable,DJ=(e,t)=>{var n={};for(var r in e)EJ.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Y7)for(var r of Y7(e))t.indexOf(r)<0&&IJ.call(e,r)&&(n[r]=e[r]);return n};function Pn(e,t,n={}){const r=n,{window:a=ru}=r,i=DJ(r,["window"]);let o;const l=gO(()=>a&&"ResizeObserver"in a),s=()=>{o&&(o.disconnect(),o=void 0)},u=ke(()=>Aa(e),f=>{s(),l.value&&a&&f&&(o=new ResizeObserver(t),o.observe(f,i))},{immediate:!0,flush:"post"}),c=()=>{s(),u()};return cp(c),{isSupported:l,stop:c}}function K7(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:a=!0,immediate:i=!0}=t,o=j(0),l=j(0),s=j(0),u=j(0),c=j(0),f=j(0),d=j(0),h=j(0);function v(){const p=Aa(e);if(!p){n&&(o.value=0,l.value=0,s.value=0,u.value=0,c.value=0,f.value=0,d.value=0,h.value=0);return}const g=p.getBoundingClientRect();o.value=g.height,l.value=g.bottom,s.value=g.left,u.value=g.right,c.value=g.top,f.value=g.width,d.value=g.x,h.value=g.y}return Pn(e,v),ke(()=>Aa(e),p=>!p&&v()),a&&Sn("scroll",v,{capture:!0,passive:!0}),r&&Sn("resize",v,{passive:!0}),B5(()=>{i&&v()}),{height:o,bottom:l,left:s,right:u,top:c,width:f,x:d,y:h,update:v}}var X7=Object.getOwnPropertySymbols,LJ=Object.prototype.hasOwnProperty,PJ=Object.prototype.propertyIsEnumerable,RJ=(e,t)=>{var n={};for(var r in e)LJ.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&X7)for(var r of X7(e))t.indexOf(r)<0&&PJ.call(e,r)&&(n[r]=e[r]);return n};function mO(e,t,n={}){const r=n,{window:a=ru}=r,i=RJ(r,["window"]);let o;const l=gO(()=>a&&"MutationObserver"in a),s=()=>{o&&(o.disconnect(),o=void 0)},u=ke(()=>Aa(e),f=>{s(),l.value&&a&&f&&(o=new MutationObserver(t),o.observe(f,i))},{immediate:!0}),c=()=>{s(),u()};return cp(c),{isSupported:l,stop:c}}var Z7;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Z7||(Z7={}));var OJ=Object.defineProperty,J7=Object.getOwnPropertySymbols,NJ=Object.prototype.hasOwnProperty,$J=Object.prototype.propertyIsEnumerable,Q7=(e,t,n)=>t in e?OJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,VJ=(e,t)=>{for(var n in t||(t={}))NJ.call(t,n)&&Q7(e,n,t[n]);if(J7)for(var n of J7(t))$J.call(t,n)&&Q7(e,n,t[n]);return e};const BJ={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};VJ({linear:wJ},BJ);function yO(e,t,n,r={}){var a,i,o;const{clone:l=!1,passive:s=!1,eventName:u,deep:c=!1,defaultValue:f}=r,d=xt(),h=n||(d==null?void 0:d.emit)||((a=d==null?void 0:d.$emit)==null?void 0:a.bind(d))||((o=(i=d==null?void 0:d.proxy)==null?void 0:i.$emit)==null?void 0:o.bind(d==null?void 0:d.proxy));let v=u;t||(t="modelValue"),v=u||v||`update:${t.toString()}`;const p=m=>l?c4(l)?l(m):zJ(m):m,g=()=>gJ(e[t])?p(e[t]):f;if(s){const m=g(),b=j(m);return ke(()=>e[t],_=>b.value=p(_)),ke(b,_=>{(_!==e[t]||c)&&h(v,_)},{deep:c}),b}else return L({get(){return g()},set(m){h(v,m)}})}function FJ({window:e=ru}={}){if(!e)return j(!1);const t=j(e.document.hasFocus());return Sn(e,"blur",()=>{t.value=!1}),Sn(e,"focus",()=>{t.value=!0}),t}function HJ(e={}){const{window:t=ru,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:a=!0,includeScrollbar:i=!0}=e,o=j(n),l=j(r),s=()=>{t&&(i?(o.value=t.innerWidth,l.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,l.value=t.document.documentElement.clientHeight))};return s(),B5(s),Sn("resize",s,{passive:!0}),a&&Sn("orientationchange",s,{passive:!0}),{width:o,height:l}}const bO=()=>Wt&&/firefox/i.test(window.navigator.userAgent),jJ=(e,t)=>{if(!Wt||!e||!t)return!1;const n=e.getBoundingClientRect();let r;return t instanceof Element?r=t.getBoundingClientRect():r={top:0,right:window.innerWidth,bottom:window.innerHeight,left:0},n.top<r.bottom&&n.bottom>r.top&&n.right>r.left&&n.left<r.right},eT=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},f4=(e,t)=>Math.abs(eT(e)-eT(t)),H5=e=>{let t,n;return e.type==="touchend"?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}};function qJ(e,t,n,r){const a=n-t;return e/=r/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}var _O=typeof global=="object"&&global&&global.Object===Object&&global,GJ=typeof self=="object"&&self&&self.Object===Object&&self,eo=_O||GJ||Function("return this")(),xi=eo.Symbol,wO=Object.prototype,WJ=wO.hasOwnProperty,UJ=wO.toString,kh=xi?xi.toStringTag:void 0;function YJ(e){var t=WJ.call(e,kh),n=e[kh];try{e[kh]=void 0;var r=!0}catch{}var a=UJ.call(e);return r&&(t?e[kh]=n:delete e[kh]),a}var KJ=Object.prototype,XJ=KJ.toString;function ZJ(e){return XJ.call(e)}var JJ="[object Null]",QJ="[object Undefined]",tT=xi?xi.toStringTag:void 0;function Wc(e){return e==null?e===void 0?QJ:JJ:tT&&tT in Object(e)?YJ(e):ZJ(e)}function Do(e){return e!=null&&typeof e=="object"}var eQ="[object Symbol]";function gy(e){return typeof e=="symbol"||Do(e)&&Wc(e)==eQ}function j5(e,t){for(var n=-1,r=e==null?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}var fa=Array.isArray,tQ=1/0,nT=xi?xi.prototype:void 0,rT=nT?nT.toString:void 0;function xO(e){if(typeof e=="string")return e;if(fa(e))return j5(e,xO)+"";if(gy(e))return rT?rT.call(e):"";var t=e+"";return t=="0"&&1/e==-tQ?"-0":t}var nQ=/\s/;function rQ(e){for(var t=e.length;t--&&nQ.test(e.charAt(t)););return t}var aQ=/^\s+/;function iQ(e){return e&&e.slice(0,rQ(e)+1).replace(aQ,"")}function da(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var aT=NaN,oQ=/^[-+]0x[0-9a-f]+$/i,lQ=/^0b[01]+$/i,sQ=/^0o[0-7]+$/i,uQ=parseInt;function iT(e){if(typeof e=="number")return e;if(gy(e))return aT;if(da(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=da(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=iQ(e);var n=lQ.test(e);return n||sQ.test(e)?uQ(e.slice(2),n?2:8):oQ.test(e)?aT:+e}function q5(e){return e}var cQ="[object AsyncFunction]",fQ="[object Function]",dQ="[object GeneratorFunction]",hQ="[object Proxy]";function G5(e){if(!da(e))return!1;var t=Wc(e);return t==fQ||t==dQ||t==cQ||t==hQ}var Y3=eo["__core-js_shared__"],oT=function(){var e=/[^.]+$/.exec(Y3&&Y3.keys&&Y3.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vQ(e){return!!oT&&oT in e}var pQ=Function.prototype,gQ=pQ.toString;function Uc(e){if(e!=null){try{return gQ.call(e)}catch{}try{return e+""}catch{}}return""}var mQ=/[\\^$.*+?()[\]{}|]/g,yQ=/^\[object .+?Constructor\]$/,bQ=Function.prototype,_Q=Object.prototype,wQ=bQ.toString,xQ=_Q.hasOwnProperty,SQ=RegExp("^"+wQ.call(xQ).replace(mQ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function CQ(e){if(!da(e)||vQ(e))return!1;var t=G5(e)?SQ:yQ;return t.test(Uc(e))}function TQ(e,t){return e==null?void 0:e[t]}function Yc(e,t){var n=TQ(e,t);return CQ(n)?n:void 0}var d4=Yc(eo,"WeakMap"),lT=Object.create,kQ=function(){function e(){}return function(t){if(!da(t))return{};if(lT)return lT(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function zQ(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function MQ(){}function SO(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var AQ=800,EQ=16,IQ=Date.now;function DQ(e){var t=0,n=0;return function(){var r=IQ(),a=EQ-(r-n);if(n=r,a>0){if(++t>=AQ)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function LQ(e){return function(){return e}}var O2=function(){try{var e=Yc(Object,"defineProperty");return e({},"",{}),e}catch{}}(),PQ=O2?function(e,t){return O2(e,"toString",{configurable:!0,enumerable:!1,value:LQ(t),writable:!0})}:q5,CO=DQ(PQ);function RQ(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function TO(e,t,n,r){for(var a=e.length,i=n+(r?1:-1);r?i--:++i<a;)if(t(e[i],i,e))return i;return-1}function OQ(e){return e!==e}function NQ(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}function $Q(e,t,n){return t===t?NQ(e,t,n):TO(e,OQ,n)}function VQ(e,t){var n=e==null?0:e.length;return!!n&&$Q(e,t,0)>-1}var BQ=9007199254740991,FQ=/^(?:0|[1-9]\d*)$/;function my(e,t){var n=typeof e;return t=t??BQ,!!t&&(n=="number"||n!="symbol"&&FQ.test(e))&&e>-1&&e%1==0&&e<t}function W5(e,t,n){t=="__proto__"&&O2?O2(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function fp(e,t){return e===t||e!==e&&t!==t}var HQ=Object.prototype,jQ=HQ.hasOwnProperty;function U5(e,t,n){var r=e[t];(!(jQ.call(e,t)&&fp(r,n))||n===void 0&&!(t in e))&&W5(e,t,n)}function Kd(e,t,n,r){var a=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var l=t[i],s=void 0;s===void 0&&(s=e[l]),a?W5(n,l,s):U5(n,l,s)}return n}var sT=Math.max;function kO(e,t,n){return t=sT(t===void 0?e.length-1:t,0),function(){for(var r=arguments,a=-1,i=sT(r.length-t,0),o=Array(i);++a<i;)o[a]=r[t+a];a=-1;for(var l=Array(t+1);++a<t;)l[a]=r[a];return l[t]=n(o),zQ(e,this,l)}}function zO(e,t){return CO(kO(e,t,q5),e+"")}var qQ=9007199254740991;function Y5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=qQ}function Xd(e){return e!=null&&Y5(e.length)&&!G5(e)}function GQ(e,t,n){if(!da(n))return!1;var r=typeof t;return(r=="number"?Xd(n)&&my(t,n.length):r=="string"&&t in n)?fp(n[t],e):!1}function WQ(e){return zO(function(t,n){var r=-1,a=n.length,i=a>1?n[a-1]:void 0,o=a>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(a--,i):void 0,o&&GQ(n[0],n[1],o)&&(i=a<3?void 0:i,a=1),t=Object(t);++r<a;){var l=n[r];l&&e(t,l,r,i)}return t})}var UQ=Object.prototype;function K5(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||UQ;return e===n}function YQ(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var KQ="[object Arguments]";function uT(e){return Do(e)&&Wc(e)==KQ}var MO=Object.prototype,XQ=MO.hasOwnProperty,ZQ=MO.propertyIsEnumerable,d1=uT(function(){return arguments}())?uT:function(e){return Do(e)&&XQ.call(e,"callee")&&!ZQ.call(e,"callee")};function JQ(){return!1}var AO=typeof Ha=="object"&&Ha&&!Ha.nodeType&&Ha,cT=AO&&typeof ja=="object"&&ja&&!ja.nodeType&&ja,QQ=cT&&cT.exports===AO,fT=QQ?eo.Buffer:void 0,eee=fT?fT.isBuffer:void 0,h1=eee||JQ,tee="[object Arguments]",nee="[object Array]",ree="[object Boolean]",aee="[object Date]",iee="[object Error]",oee="[object Function]",lee="[object Map]",see="[object Number]",uee="[object Object]",cee="[object RegExp]",fee="[object Set]",dee="[object String]",hee="[object WeakMap]",vee="[object ArrayBuffer]",pee="[object DataView]",gee="[object Float32Array]",mee="[object Float64Array]",yee="[object Int8Array]",bee="[object Int16Array]",_ee="[object Int32Array]",wee="[object Uint8Array]",xee="[object Uint8ClampedArray]",See="[object Uint16Array]",Cee="[object Uint32Array]",qn={};qn[gee]=qn[mee]=qn[yee]=qn[bee]=qn[_ee]=qn[wee]=qn[xee]=qn[See]=qn[Cee]=!0;qn[tee]=qn[nee]=qn[vee]=qn[ree]=qn[pee]=qn[aee]=qn[iee]=qn[oee]=qn[lee]=qn[see]=qn[uee]=qn[cee]=qn[fee]=qn[dee]=qn[hee]=!1;function Tee(e){return Do(e)&&Y5(e.length)&&!!qn[Wc(e)]}function X5(e){return function(t){return e(t)}}var EO=typeof Ha=="object"&&Ha&&!Ha.nodeType&&Ha,Lv=EO&&typeof ja=="object"&&ja&&!ja.nodeType&&ja,kee=Lv&&Lv.exports===EO,K3=kee&&_O.process,_d=function(){try{var e=Lv&&Lv.require&&Lv.require("util").types;return e||K3&&K3.binding&&K3.binding("util")}catch{}}(),dT=_d&&_d.isTypedArray,Z5=dT?X5(dT):Tee,zee=Object.prototype,Mee=zee.hasOwnProperty;function IO(e,t){var n=fa(e),r=!n&&d1(e),a=!n&&!r&&h1(e),i=!n&&!r&&!a&&Z5(e),o=n||r||a||i,l=o?YQ(e.length,String):[],s=l.length;for(var u in e)(t||Mee.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||my(u,s)))&&l.push(u);return l}function DO(e,t){return function(n){return e(t(n))}}var Aee=DO(Object.keys,Object),Eee=Object.prototype,Iee=Eee.hasOwnProperty;function Dee(e){if(!K5(e))return Aee(e);var t=[];for(var n in Object(e))Iee.call(e,n)&&n!="constructor"&&t.push(n);return t}function dp(e){return Xd(e)?IO(e):Dee(e)}function Lee(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Pee=Object.prototype,Ree=Pee.hasOwnProperty;function Oee(e){if(!da(e))return Lee(e);var t=K5(e),n=[];for(var r in e)r=="constructor"&&(t||!Ree.call(e,r))||n.push(r);return n}function hp(e){return Xd(e)?IO(e,!0):Oee(e)}var Nee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$ee=/^\w*$/;function J5(e,t){if(fa(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||gy(e)?!0:$ee.test(e)||!Nee.test(e)||t!=null&&e in Object(t)}var v1=Yc(Object,"create");function Vee(){this.__data__=v1?v1(null):{},this.size=0}function Bee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Fee="__lodash_hash_undefined__",Hee=Object.prototype,jee=Hee.hasOwnProperty;function qee(e){var t=this.__data__;if(v1){var n=t[e];return n===Fee?void 0:n}return jee.call(t,e)?t[e]:void 0}var Gee=Object.prototype,Wee=Gee.hasOwnProperty;function Uee(e){var t=this.__data__;return v1?t[e]!==void 0:Wee.call(t,e)}var Yee="__lodash_hash_undefined__";function Kee(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=v1&&t===void 0?Yee:t,this}function Ec(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Ec.prototype.clear=Vee;Ec.prototype.delete=Bee;Ec.prototype.get=qee;Ec.prototype.has=Uee;Ec.prototype.set=Kee;function Xee(){this.__data__=[],this.size=0}function yy(e,t){for(var n=e.length;n--;)if(fp(e[n][0],t))return n;return-1}var Zee=Array.prototype,Jee=Zee.splice;function Qee(e){var t=this.__data__,n=yy(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Jee.call(t,n,1),--this.size,!0}function ete(e){var t=this.__data__,n=yy(t,e);return n<0?void 0:t[n][1]}function tte(e){return yy(this.__data__,e)>-1}function nte(e,t){var n=this.__data__,r=yy(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Pl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pl.prototype.clear=Xee;Pl.prototype.delete=Qee;Pl.prototype.get=ete;Pl.prototype.has=tte;Pl.prototype.set=nte;var p1=Yc(eo,"Map");function rte(){this.size=0,this.__data__={hash:new Ec,map:new(p1||Pl),string:new Ec}}function ate(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function by(e,t){var n=e.__data__;return ate(t)?n[typeof t=="string"?"string":"hash"]:n.map}function ite(e){var t=by(this,e).delete(e);return this.size-=t?1:0,t}function ote(e){return by(this,e).get(e)}function lte(e){return by(this,e).has(e)}function ste(e,t){var n=by(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Rl(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Rl.prototype.clear=rte;Rl.prototype.delete=ite;Rl.prototype.get=ote;Rl.prototype.has=lte;Rl.prototype.set=ste;var ute="Expected a function";function _y(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(ute);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],i=n.cache;if(i.has(a))return i.get(a);var o=e.apply(this,r);return n.cache=i.set(a,o)||i,o};return n.cache=new(_y.Cache||Rl),n}_y.Cache=Rl;var cte=500;function fte(e){var t=_y(e,function(r){return n.size===cte&&n.clear(),r}),n=t.cache;return t}var dte=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,hte=/\\(\\)?/g,vte=fte(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(dte,function(n,r,a,i){t.push(a?i.replace(hte,"$1"):r||n)}),t});function pte(e){return e==null?"":xO(e)}function Zd(e,t){return fa(e)?e:J5(e,t)?[e]:vte(pte(e))}var gte=1/0;function Jd(e){if(typeof e=="string"||gy(e))return e;var t=e+"";return t=="0"&&1/e==-gte?"-0":t}function wy(e,t){t=Zd(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Jd(t[n++])];return n&&n==r?e:void 0}function Wn(e,t,n){var r=e==null?void 0:wy(e,t);return r===void 0?n:r}function Q5(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var hT=xi?xi.isConcatSpreadable:void 0;function mte(e){return fa(e)||d1(e)||!!(hT&&e&&e[hT])}function vp(e,t,n,r,a){var i=-1,o=e.length;for(n||(n=mte),a||(a=[]);++i<o;){var l=e[i];t>0&&n(l)?t>1?vp(l,t-1,n,r,a):Q5(a,l):r||(a[a.length]=l)}return a}function LO(e){var t=e==null?0:e.length;return t?vp(e,1):[]}function PO(e){return CO(kO(e,void 0,LO),e+"")}var eS=DO(Object.getPrototypeOf,Object),yte="[object Object]",bte=Function.prototype,_te=Object.prototype,RO=bte.toString,wte=_te.hasOwnProperty,xte=RO.call(Object);function OO(e){if(!Do(e)||Wc(e)!=yte)return!1;var t=eS(e);if(t===null)return!0;var n=wte.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&RO.call(n)==xte}function Ste(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),n=n>a?a:n,n<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(a);++r<a;)i[r]=e[r+t];return i}function Bs(){if(!arguments.length)return[];var e=arguments[0];return fa(e)?e:[e]}function Cte(){this.__data__=new Pl,this.size=0}function Tte(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kte(e){return this.__data__.get(e)}function zte(e){return this.__data__.has(e)}var Mte=200;function Ate(e,t){var n=this.__data__;if(n instanceof Pl){var r=n.__data__;if(!p1||r.length<Mte-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Rl(r)}return n.set(e,t),this.size=n.size,this}function Wi(e){var t=this.__data__=new Pl(e);this.size=t.size}Wi.prototype.clear=Cte;Wi.prototype.delete=Tte;Wi.prototype.get=kte;Wi.prototype.has=zte;Wi.prototype.set=Ate;function Ete(e,t){return e&&Kd(t,dp(t),e)}function Ite(e,t){return e&&Kd(t,hp(t),e)}var NO=typeof Ha=="object"&&Ha&&!Ha.nodeType&&Ha,vT=NO&&typeof ja=="object"&&ja&&!ja.nodeType&&ja,Dte=vT&&vT.exports===NO,pT=Dte?eo.Buffer:void 0,gT=pT?pT.allocUnsafe:void 0;function $O(e,t){if(t)return e.slice();var n=e.length,r=gT?gT(n):new e.constructor(n);return e.copy(r),r}function Lte(e,t){for(var n=-1,r=e==null?0:e.length,a=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[a++]=o)}return i}function VO(){return[]}var Pte=Object.prototype,Rte=Pte.propertyIsEnumerable,mT=Object.getOwnPropertySymbols,tS=mT?function(e){return e==null?[]:(e=Object(e),Lte(mT(e),function(t){return Rte.call(e,t)}))}:VO;function Ote(e,t){return Kd(e,tS(e),t)}var Nte=Object.getOwnPropertySymbols,BO=Nte?function(e){for(var t=[];e;)Q5(t,tS(e)),e=eS(e);return t}:VO;function $te(e,t){return Kd(e,BO(e),t)}function FO(e,t,n){var r=t(e);return fa(e)?r:Q5(r,n(e))}function h4(e){return FO(e,dp,tS)}function HO(e){return FO(e,hp,BO)}var v4=Yc(eo,"DataView"),p4=Yc(eo,"Promise"),ed=Yc(eo,"Set"),yT="[object Map]",Vte="[object Object]",bT="[object Promise]",_T="[object Set]",wT="[object WeakMap]",xT="[object DataView]",Bte=Uc(v4),Fte=Uc(p1),Hte=Uc(p4),jte=Uc(ed),qte=Uc(d4),Fi=Wc;(v4&&Fi(new v4(new ArrayBuffer(1)))!=xT||p1&&Fi(new p1)!=yT||p4&&Fi(p4.resolve())!=bT||ed&&Fi(new ed)!=_T||d4&&Fi(new d4)!=wT)&&(Fi=function(e){var t=Wc(e),n=t==Vte?e.constructor:void 0,r=n?Uc(n):"";if(r)switch(r){case Bte:return xT;case Fte:return yT;case Hte:return bT;case jte:return _T;case qte:return wT}return t});var Gte=Object.prototype,Wte=Gte.hasOwnProperty;function Ute(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Wte.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var N2=eo.Uint8Array;function nS(e){var t=new e.constructor(e.byteLength);return new N2(t).set(new N2(e)),t}function Yte(e,t){var n=t?nS(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Kte=/\w*$/;function Xte(e){var t=new e.constructor(e.source,Kte.exec(e));return t.lastIndex=e.lastIndex,t}var ST=xi?xi.prototype:void 0,CT=ST?ST.valueOf:void 0;function Zte(e){return CT?Object(CT.call(e)):{}}function jO(e,t){var n=t?nS(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Jte="[object Boolean]",Qte="[object Date]",ene="[object Map]",tne="[object Number]",nne="[object RegExp]",rne="[object Set]",ane="[object String]",ine="[object Symbol]",one="[object ArrayBuffer]",lne="[object DataView]",sne="[object Float32Array]",une="[object Float64Array]",cne="[object Int8Array]",fne="[object Int16Array]",dne="[object Int32Array]",hne="[object Uint8Array]",vne="[object Uint8ClampedArray]",pne="[object Uint16Array]",gne="[object Uint32Array]";function mne(e,t,n){var r=e.constructor;switch(t){case one:return nS(e);case Jte:case Qte:return new r(+e);case lne:return Yte(e,n);case sne:case une:case cne:case fne:case dne:case hne:case vne:case pne:case gne:return jO(e,n);case ene:return new r;case tne:case ane:return new r(e);case nne:return Xte(e);case rne:return new r;case ine:return Zte(e)}}function qO(e){return typeof e.constructor=="function"&&!K5(e)?kQ(eS(e)):{}}var yne="[object Map]";function bne(e){return Do(e)&&Fi(e)==yne}var TT=_d&&_d.isMap,_ne=TT?X5(TT):bne,wne="[object Set]";function xne(e){return Do(e)&&Fi(e)==wne}var kT=_d&&_d.isSet,Sne=kT?X5(kT):xne,Cne=1,Tne=2,kne=4,GO="[object Arguments]",zne="[object Array]",Mne="[object Boolean]",Ane="[object Date]",Ene="[object Error]",WO="[object Function]",Ine="[object GeneratorFunction]",Dne="[object Map]",Lne="[object Number]",UO="[object Object]",Pne="[object RegExp]",Rne="[object Set]",One="[object String]",Nne="[object Symbol]",$ne="[object WeakMap]",Vne="[object ArrayBuffer]",Bne="[object DataView]",Fne="[object Float32Array]",Hne="[object Float64Array]",jne="[object Int8Array]",qne="[object Int16Array]",Gne="[object Int32Array]",Wne="[object Uint8Array]",Une="[object Uint8ClampedArray]",Yne="[object Uint16Array]",Kne="[object Uint32Array]",Vn={};Vn[GO]=Vn[zne]=Vn[Vne]=Vn[Bne]=Vn[Mne]=Vn[Ane]=Vn[Fne]=Vn[Hne]=Vn[jne]=Vn[qne]=Vn[Gne]=Vn[Dne]=Vn[Lne]=Vn[UO]=Vn[Pne]=Vn[Rne]=Vn[One]=Vn[Nne]=Vn[Wne]=Vn[Une]=Vn[Yne]=Vn[Kne]=!0;Vn[Ene]=Vn[WO]=Vn[$ne]=!1;function td(e,t,n,r,a,i){var o,l=t&Cne,s=t&Tne,u=t&kne;if(n&&(o=a?n(e,r,a,i):n(e)),o!==void 0)return o;if(!da(e))return e;var c=fa(e);if(c){if(o=Ute(e),!l)return SO(e,o)}else{var f=Fi(e),d=f==WO||f==Ine;if(h1(e))return $O(e,l);if(f==UO||f==GO||d&&!a){if(o=s||d?{}:qO(e),!l)return s?$te(e,Ite(o,e)):Ote(e,Ete(o,e))}else{if(!Vn[f])return a?e:{};o=mne(e,f,l)}}i||(i=new Wi);var h=i.get(e);if(h)return h;i.set(e,o),Sne(e)?e.forEach(function(g){o.add(td(g,t,n,g,e,i))}):_ne(e)&&e.forEach(function(g,m){o.set(m,td(g,t,n,m,e,i))});var v=u?s?HO:h4:s?hp:dp,p=c?void 0:v(e);return RQ(p||e,function(g,m){p&&(m=g,g=e[m]),U5(o,m,td(g,t,n,m,e,i))}),o}var Xne=4;function zT(e){return td(e,Xne)}var Zne=1,Jne=4;function $2(e){return td(e,Zne|Jne)}var Qne="__lodash_hash_undefined__";function ere(e){return this.__data__.set(e,Qne),this}function tre(e){return this.__data__.has(e)}function g1(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Rl;++t<n;)this.add(e[t])}g1.prototype.add=g1.prototype.push=ere;g1.prototype.has=tre;function nre(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function YO(e,t){return e.has(t)}var rre=1,are=2;function KO(e,t,n,r,a,i){var o=n&rre,l=e.length,s=t.length;if(l!=s&&!(o&&s>l))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var f=-1,d=!0,h=n&are?new g1:void 0;for(i.set(e,t),i.set(t,e);++f<l;){var v=e[f],p=t[f];if(r)var g=o?r(p,v,f,t,e,i):r(v,p,f,e,t,i);if(g!==void 0){if(g)continue;d=!1;break}if(h){if(!nre(t,function(m,b){if(!YO(h,b)&&(v===m||a(v,m,n,r,i)))return h.push(b)})){d=!1;break}}else if(!(v===p||a(v,p,n,r,i))){d=!1;break}}return i.delete(e),i.delete(t),d}function ire(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function rS(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var ore=1,lre=2,sre="[object Boolean]",ure="[object Date]",cre="[object Error]",fre="[object Map]",dre="[object Number]",hre="[object RegExp]",vre="[object Set]",pre="[object String]",gre="[object Symbol]",mre="[object ArrayBuffer]",yre="[object DataView]",MT=xi?xi.prototype:void 0,X3=MT?MT.valueOf:void 0;function bre(e,t,n,r,a,i,o){switch(n){case yre:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case mre:return!(e.byteLength!=t.byteLength||!i(new N2(e),new N2(t)));case sre:case ure:case dre:return fp(+e,+t);case cre:return e.name==t.name&&e.message==t.message;case hre:case pre:return e==t+"";case fre:var l=ire;case vre:var s=r&ore;if(l||(l=rS),e.size!=t.size&&!s)return!1;var u=o.get(e);if(u)return u==t;r|=lre,o.set(e,t);var c=KO(l(e),l(t),r,a,i,o);return o.delete(e),c;case gre:if(X3)return X3.call(e)==X3.call(t)}return!1}var _re=1,wre=Object.prototype,xre=wre.hasOwnProperty;function Sre(e,t,n,r,a,i){var o=n&_re,l=h4(e),s=l.length,u=h4(t),c=u.length;if(s!=c&&!o)return!1;for(var f=s;f--;){var d=l[f];if(!(o?d in t:xre.call(t,d)))return!1}var h=i.get(e),v=i.get(t);if(h&&v)return h==t&&v==e;var p=!0;i.set(e,t),i.set(t,e);for(var g=o;++f<s;){d=l[f];var m=e[d],b=t[d];if(r)var _=o?r(b,m,d,t,e,i):r(m,b,d,e,t,i);if(!(_===void 0?m===b||a(m,b,n,r,i):_)){p=!1;break}g||(g=d=="constructor")}if(p&&!g){var w=e.constructor,x=t.constructor;w!=x&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof x=="function"&&x instanceof x)&&(p=!1)}return i.delete(e),i.delete(t),p}var Cre=1,AT="[object Arguments]",ET="[object Array]",ig="[object Object]",Tre=Object.prototype,IT=Tre.hasOwnProperty;function kre(e,t,n,r,a,i){var o=fa(e),l=fa(t),s=o?ET:Fi(e),u=l?ET:Fi(t);s=s==AT?ig:s,u=u==AT?ig:u;var c=s==ig,f=u==ig,d=s==u;if(d&&h1(e)){if(!h1(t))return!1;o=!0,c=!1}if(d&&!c)return i||(i=new Wi),o||Z5(e)?KO(e,t,n,r,a,i):bre(e,t,s,n,r,a,i);if(!(n&Cre)){var h=c&&IT.call(e,"__wrapped__"),v=f&&IT.call(t,"__wrapped__");if(h||v){var p=h?e.value():e,g=v?t.value():t;return i||(i=new Wi),a(p,g,n,r,i)}}return d?(i||(i=new Wi),Sre(e,t,n,r,a,i)):!1}function xy(e,t,n,r,a){return e===t?!0:e==null||t==null||!Do(e)&&!Do(t)?e!==e&&t!==t:kre(e,t,n,r,xy,a)}var zre=1,Mre=2;function Are(e,t,n,r){var a=n.length,i=a;if(e==null)return!i;for(e=Object(e);a--;){var o=n[a];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++a<i;){o=n[a];var l=o[0],s=e[l],u=o[1];if(o[2]){if(s===void 0&&!(l in e))return!1}else{var c=new Wi,f;if(!(f===void 0?xy(u,s,zre|Mre,r,c):f))return!1}}return!0}function XO(e){return e===e&&!da(e)}function Ere(e){for(var t=dp(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,XO(a)]}return t}function ZO(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Ire(e){var t=Ere(e);return t.length==1&&t[0][2]?ZO(t[0][0],t[0][1]):function(n){return n===e||Are(n,e,t)}}function Dre(e,t){return e!=null&&t in Object(e)}function Lre(e,t,n){t=Zd(t,e);for(var r=-1,a=t.length,i=!1;++r<a;){var o=Jd(t[r]);if(!(i=e!=null&&n(e,o)))break;e=e[o]}return i||++r!=a?i:(a=e==null?0:e.length,!!a&&Y5(a)&&my(o,a)&&(fa(e)||d1(e)))}function JO(e,t){return e!=null&&Lre(e,t,Dre)}var Pre=1,Rre=2;function Ore(e,t){return J5(e)&&XO(t)?ZO(Jd(e),t):function(n){var r=Wn(n,e);return r===void 0&&r===t?JO(n,e):xy(t,r,Pre|Rre)}}function Nre(e){return function(t){return t==null?void 0:t[e]}}function $re(e){return function(t){return wy(t,e)}}function Vre(e){return J5(e)?Nre(Jd(e)):$re(e)}function QO(e){return typeof e=="function"?e:e==null?q5:typeof e=="object"?fa(e)?Ore(e[0],e[1]):Ire(e):Vre(e)}function Bre(e){return function(t,n,r){for(var a=-1,i=Object(t),o=r(t),l=o.length;l--;){var s=o[++a];if(n(i[s],s,i)===!1)break}return t}}var eN=Bre();function Fre(e,t){return e&&eN(e,t,dp)}function Hre(e,t){return function(n,r){if(n==null)return n;if(!Xd(n))return e(n,r);for(var a=n.length,i=-1,o=Object(n);++i<a&&r(o[i],i,o)!==!1;);return n}}var jre=Hre(Fre),Z3=function(){return eo.Date.now()},qre="Expected a function",Gre=Math.max,Wre=Math.min;function La(e,t,n){var r,a,i,o,l,s,u=0,c=!1,f=!1,d=!0;if(typeof e!="function")throw new TypeError(qre);t=iT(t)||0,da(n)&&(c=!!n.leading,f="maxWait"in n,i=f?Gre(iT(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d);function h(S){var C=r,T=a;return r=a=void 0,u=S,o=e.apply(T,C),o}function v(S){return u=S,l=setTimeout(m,t),c?h(S):o}function p(S){var C=S-s,T=S-u,z=t-C;return f?Wre(z,i-T):z}function g(S){var C=S-s,T=S-u;return s===void 0||C>=t||C<0||f&&T>=i}function m(){var S=Z3();if(g(S))return b(S);l=setTimeout(m,p(S))}function b(S){return l=void 0,d&&r?h(S):(r=a=void 0,o)}function _(){l!==void 0&&clearTimeout(l),u=0,r=s=a=l=void 0}function w(){return l===void 0?o:b(Z3())}function x(){var S=Z3(),C=g(S);if(r=arguments,a=this,s=S,C){if(l===void 0)return v(s);if(f)return clearTimeout(l),l=setTimeout(m,t),h(s)}return l===void 0&&(l=setTimeout(m,t)),o}return x.cancel=_,x.flush=w,x}function g4(e,t,n){(n!==void 0&&!fp(e[t],n)||n===void 0&&!(t in e))&&W5(e,t,n)}function tN(e){return Do(e)&&Xd(e)}function m4(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Ure(e){return Kd(e,hp(e))}function Yre(e,t,n,r,a,i,o){var l=m4(e,n),s=m4(t,n),u=o.get(s);if(u){g4(e,n,u);return}var c=i?i(l,s,n+"",e,t,o):void 0,f=c===void 0;if(f){var d=fa(s),h=!d&&h1(s),v=!d&&!h&&Z5(s);c=s,d||h||v?fa(l)?c=l:tN(l)?c=SO(l):h?(f=!1,c=$O(s,!0)):v?(f=!1,c=jO(s,!0)):c=[]:OO(s)||d1(s)?(c=l,d1(l)?c=Ure(l):(!da(l)||G5(l))&&(c=qO(s))):f=!1}f&&(o.set(s,c),a(c,s,r,i,o),o.delete(s)),g4(e,n,c)}function nN(e,t,n,r,a){e!==t&&eN(t,function(i,o){if(a||(a=new Wi),da(i))Yre(e,t,o,n,nN,r,a);else{var l=r?r(m4(e,o),i,o+"",e,t,a):void 0;l===void 0&&(l=i),g4(e,o,l)}},hp)}function Kre(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function rN(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var a=r-1;return TO(e,QO(t),a,!0)}function Xre(e,t){var n=-1,r=Xd(e)?Array(e.length):[];return jre(e,function(a,i,o){r[++n]=t(a,i,o)}),r}function Zre(e,t){var n=fa(e)?j5:Xre;return n(e,QO(t))}function Jre(e,t){return vp(Zre(e,t),1)}var Qre=1/0;function eae(e){var t=e==null?0:e.length;return t?vp(e,Qre):[]}function V2(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var a=e[t];r[a[0]]=a[1]}return r}function tae(e,t){return t.length<2?e:wy(e,Ste(t,0,-1))}function Yr(e,t){return xy(e,t)}function br(e){return e==null}function aN(e){return e===void 0}var nae=WQ(function(e,t,n){nN(e,t,n)});function rae(e,t){return t=Zd(t,e),e=tae(e,t),e==null||delete e[Jd(Kre(t))]}function aae(e){return OO(e)?void 0:e}var iae=1,oae=2,lae=4,sae=PO(function(e,t){var n={};if(e==null)return n;var r=!1;t=j5(t,function(i){return i=Zd(i,e),r||(r=i.length>1),i}),Kd(e,HO(e),n),r&&(n=td(n,iae|oae|lae,aae));for(var a=t.length;a--;)rae(n,t[a]);return n});function iN(e,t,n,r){if(!da(e))return e;t=Zd(t,e);for(var a=-1,i=t.length,o=i-1,l=e;l!=null&&++a<i;){var s=Jd(t[a]),u=n;if(s==="__proto__"||s==="constructor"||s==="prototype")return e;if(a!=o){var c=l[s];u=void 0,u===void 0&&(u=da(c)?c:my(t[a+1])?[]:{})}U5(l,s,u),l=l[s]}return e}function uae(e,t,n){for(var r=-1,a=t.length,i={};++r<a;){var o=t[r],l=wy(e,o);n(l,o)&&iN(i,Zd(o,e),l)}return i}function cae(e,t){return uae(e,t,function(n,r){return JO(e,r)})}var xo=PO(function(e,t){return e==null?{}:cae(e,t)});function fae(e,t,n){return e==null?e:iN(e,t,n)}var dae="Expected a function";function pc(e,t,n){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(dae);return da(n)&&(r="leading"in n?!!n.leading:r,a="trailing"in n?!!n.trailing:a),La(e,t,{leading:r,maxWait:t,trailing:a})}var hae=1/0,vae=ed&&1/rS(new ed([,-0]))[1]==hae?function(e){return new ed(e)}:MQ,pae=200;function gae(e,t,n){var r=-1,a=VQ,i=e.length,o=!0,l=[],s=l;if(i>=pae){var u=vae(e);if(u)return rS(u);o=!1,a=YO,s=new g1}else s=l;e:for(;++r<i;){var c=e[r],f=c;if(c=c!==0?c:0,o&&f===f){for(var d=s.length;d--;)if(s[d]===f)continue e;l.push(c)}else a(s,f,n)||(s!==l&&s.push(f),l.push(c))}return l}var J3=zO(function(e){return gae(vp(e,1,tN,!0))});const Xn=e=>e===void 0,Jn=e=>typeof e=="boolean",ot=e=>typeof e=="number",fi=e=>!e&&e!==0||We(e)&&e.length===0||zt(e)&&!Object.keys(e).length,Si=e=>typeof Element>"u"?!1:e instanceof Element,Ic=e=>br(e),mae=e=>vt(e)?!Number.isNaN(Number(e)):!1,Sy=e=>e===window,Fs=e=>Wt?window.requestAnimationFrame(e):setTimeout(e,16),Dc=e=>Wt?window.cancelAnimationFrame(e):clearTimeout(e),aS=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),bo=e=>lp(e),wd=e=>Object.keys(e),yae=e=>Object.entries(e),R0=(e,t,n)=>({get value(){return Wn(e,t,n)},set value(r){fae(e,t,r)}});class bae extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function or(e,t){throw new bae(`[${e}] ${t}`)}const oN=(e="")=>e.split(" ").filter(t=>!!t.trim()),yi=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},vi=(e,t)=>{!e||!t.trim()||e.classList.add(...oN(t))},Kr=(e,t)=>{!e||!t.trim()||e.classList.remove(...oN(t))},ms=(e,t)=>{var n;if(!Wt||!e||!t)return"";let r=wi(t);r==="float"&&(r="cssFloat");try{const a=e.style[r];if(a)return a;const i=(n=document.defaultView)==null?void 0:n.getComputedStyle(e,"");return i?i[r]:""}catch{return e.style[r]}};function Fn(e,t="px"){if(!e)return"";if(ot(e)||mae(e))return`${e}${t}`;if(vt(e))return e}const _ae=(e,t)=>{if(!Wt)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],r=ms(e,n);return["scroll","auto","overlay"].some(a=>r.includes(a))},iS=(e,t)=>{if(!Wt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(_ae(n,t))return n;n=n.parentNode}return n};let og;const lN=e=>{var t;if(!Wt)return 0;if(og!==void 0)return og;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const r=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const i=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),og=r-i,og};function sN(e,t){if(!Wt)return;if(!t){e.scrollTop=0;return}const n=[];let r=t.offsetParent;for(;r!==null&&e!==r&&e.contains(r);)n.push(r),r=r.offsetParent;const a=t.offsetTop+n.reduce((s,u)=>s+u.offsetTop,0),i=a+t.offsetHeight,o=e.scrollTop,l=o+e.clientHeight;a<o?e.scrollTop=a:i>l&&(e.scrollTop=i-e.clientHeight)}function wae(e,t,n,r,a){const i=Date.now();let o;const l=()=>{const u=Date.now()-i,c=qJ(u>r?r:u,t,n,r);Sy(e)?e.scrollTo(window.pageXOffset,c):e.scrollTop=c,u<r?o=Fs(l):typeof a=="function"&&a()};return l(),()=>{o&&Dc(o)}}const DT=(e,t)=>Sy(t)?e.ownerDocument.documentElement:t,LT=e=>Sy(e)?window.scrollY:e.scrollTop,lg=e=>{if(!Wt||e==="")return null;if(vt(e))try{return document.querySelector(e)}catch{return null}return e};/*! Element Plus Icons Vue v2.3.1 */var xae=te({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}}),Ol=xae,Sae=te({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z"})]))}}),Hs=Sae,Cae=te({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),la=Cae,Tae=te({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),oS=Tae,kae=te({name:"Back",__name:"back",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),X("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),zae=kae,Mae=te({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),Aae=Mae,Eae=te({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),uN=Eae,Iae=te({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),Dae=Iae,Lae=te({name:"Check",__name:"check",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),pp=Lae,Pae=te({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),Rae=Pae,Oae=te({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),X("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}}),lS=Oae,Nae=te({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),sS=Nae,$ae=te({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),X("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),au=$ae,Vae=te({name:"Clock",__name:"clock",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),X("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),X("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),cN=Vae,Bae=te({name:"Close",__name:"close",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),Xi=Bae,Fae=te({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224zm256 0a29.12 29.12 0 0 1 41.728 0 30.592 30.592 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672l331.648-340.224z"})]))}}),xd=Fae,Hae=te({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L764.736 512 452.864 192a30.592 30.592 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.592 30.592 0 0 1 0-42.752L508.736 512 196.864 192a30.592 30.592 0 0 1 0-42.688z"})]))}}),Sd=Hae,jae=te({name:"Delete",__name:"delete",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),qae=jae,Gae=te({name:"Document",__name:"document",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),Wae=Gae,Uae=te({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),Yae=Uae,Kae=te({name:"Hide",__name:"hide",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),X("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}}),Xae=Kae,Zae=te({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),uS=Zae,Jae=te({name:"Loading",__name:"loading",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}}),iu=Jae,Qae=te({name:"Minus",__name:"minus",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),eie=Qae,tie=te({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),PT=tie,nie=te({name:"More",__name:"more",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),rie=nie,aie=te({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),iie=aie,oie=te({name:"Plus",__name:"plus",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),fN=oie,lie=te({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 0 0-38.72 14.784 49.408 49.408 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.968 51.968 0 0 0-15.488-38.016 55.936 55.936 0 0 0-39.424-14.784z"})]))}}),sie=lie,uie=te({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),cie=uie,fie=te({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88z"})]))}}),die=fie,hie=te({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118zm-361.412 0a30.118 30.118 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.118 30.118 0 0 0-30.118-30.118M512 361.412a30.118 30.118 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.118 30.118 0 0 0 512 361.412M512 512a30.118 30.118 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.118 30.118 0 0 0 512 512"})]))}}),vie=hie,pie=te({name:"Search",__name:"search",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),gie=pie,mie=te({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),yie=mie,bie=te({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),_ie=bie,wie=te({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M283.84 867.84 512 747.776l228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72z"})]))}}),sg=wie,xie=te({name:"Star",__name:"star",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),Sie=xie,Cie=te({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.272 38.272 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),dN=Cie,Tie=te({name:"View",__name:"view",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),kie=Tie,zie=te({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.432 58.432 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.432 58.432 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),Cy=zie,Mie=te({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),hN=Mie,Aie=te({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(k(),F("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),Eie=Aie;const vN="__epPropKey",he=e=>e,Iie=e=>zt(e)&&!!e[vN],to=(e,t)=>{if(!zt(e)||Iie(e))return e;const{values:n,required:r,default:a,type:i,validator:o}=e,s={type:i,required:!!r,validator:n||o?u=>{let c=!1,f=[];if(n&&(f=Array.from(n),Ut(e,"default")&&f.push(a),c||(c=f.includes(u))),o&&(c||(c=o(u))),!c&&f.length>0){const d=[...new Set(f)].map(h=>JSON.stringify(h)).join(", ");GK(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${d}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[vN]:!0};return Ut(e,"default")&&(s.default=a),s},Oe=e=>V2(Object.entries(e).map(([t,n])=>[t,to(n,t)])),hn=he([String,Object,Function]),cS={Close:Xi},fS={Close:Xi,SuccessFilled:dN,InfoFilled:uS,WarningFilled:Cy,CircleCloseFilled:sS},js={success:dN,warning:Cy,error:sS,info:uS},dS={validating:iu,success:lS,error:au},St=(e,t)=>{if(e.install=n=>{for(const r of[e,...Object.values(t??{})])n.component(r.name,r)},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},pN=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),Die=(e,t)=>(e.install=n=>{n.directive(t,e)},e),On=e=>(e.install=sn,e),Ty=(...e)=>t=>{e.forEach(n=>{st(n)?n(t):n.value=t})},at={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},Lie=["year","years","month","date","dates","week","datetime","datetimerange","daterange","monthrange"],Q3=["sun","mon","tue","wed","thu","fri","sat"],Mt="update:modelValue",Tn="change",sa="input",RT=Symbol("INSTALLED_KEY"),jo=["","default","small","large"],gN=e=>["",...jo].includes(e);var ii=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(ii||{});function y4(e){return Dn(e)&&e.type===de}function Pie(e){return Dn(e)&&e.type===Lr}function Rie(e){return Dn(e)&&!y4(e)&&!Pie(e)}const Oie=e=>{if(!Dn(e))return{};const t=e.props||{},n=(Dn(e.type)?e.type.props:void 0)||{},r={};return Object.keys(n).forEach(a=>{Ut(n[a],"default")&&(r[a]=n[a].default)}),Object.keys(t).forEach(a=>{r[wi(a)]=t[a]}),r},Nie=e=>{if(!We(e)||e.length>1)throw new Error("expect to receive a single Vue element child");return e[0]},Is=e=>{const t=We(e)?e:[e],n=[];return t.forEach(r=>{var a;We(r)?n.push(...Is(r)):Dn(r)&&We(r.children)?n.push(...Is(r.children)):(n.push(r),Dn(r)&&((a=r.component)!=null&&a.subTree)&&n.push(...Is(r.component.subTree)))}),n},OT=e=>[...new Set(e)],$a=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],hS=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Rn=e=>e;function $ie(e){let t=0;const n=(...r)=>{t&&Dc(t),t=Fs(()=>{e(...r),t=0})};return n.cancel=()=>{Dc(t),t=0},n}const Vie=["class","style"],Bie=/^on[A-Z]/,vS=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=L(()=>((n==null?void 0:n.value)||[]).concat(Vie)),a=xt();return L(a?()=>{var i;return V2(Object.entries((i=a.proxy)==null?void 0:i.$attrs).filter(([o])=>!r.value.includes(o)&&!(t&&Bie.test(o))))}:()=>({}))},gr=({from:e,replacement:t,scope:n,version:r,ref:a,type:i="API"},o)=>{ke(()=>y(o),l=>{},{immediate:!0})},mN=(e,t,n,r)=>{let a={offsetX:0,offsetY:0};const i=s=>{const u=s.clientX,c=s.clientY,{offsetX:f,offsetY:d}=a,h=e.value.getBoundingClientRect(),v=h.left,p=h.top,g=h.width,m=h.height,b=document.documentElement.clientWidth,_=document.documentElement.clientHeight,w=-v+f,x=-p+d,S=b-v-g+f,C=_-p-m+d,T=A=>{let E=f+A.clientX-u,D=d+A.clientY-c;r!=null&&r.value||(E=Math.min(Math.max(E,w),S),D=Math.min(Math.max(D,x),C)),a={offsetX:E,offsetY:D},e.value&&(e.value.style.transform=`translate(${Fn(E)}, ${Fn(D)})`)},z=()=>{document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",z)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",z)},o=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",i)},l=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",i)};bt(()=>{Or(()=>{n.value?o():l()})}),wn(()=>{l()})};var Fie={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const Hie=e=>(t,n)=>jie(t,n,y(e)),jie=(e,t,n)=>Wn(n,e,e).replace(/\{(\w+)\}/g,(r,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`}),qie=e=>{const t=L(()=>y(e).name),n=ct(e)?e:j(e);return{lang:t,locale:n,t:Hie(e)}},yN=Symbol("localeContextKey"),Xt=e=>{const t=e||Ye(yN,j());return qie(L(()=>t.value||Fie))},Pv="el",Gie="is-",hu=(e,t,n,r,a)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),a&&(i+=`--${a}`),i},bN=Symbol("namespaceContextKey"),pS=e=>{const t=e||(xt()?Ye(bN,j(Pv)):j(Pv));return L(()=>y(t)||Pv)},Ee=(e,t)=>{const n=pS(t);return{namespace:n,b:(p="")=>hu(n.value,e,p,"",""),e:p=>p?hu(n.value,e,"",p,""):"",m:p=>p?hu(n.value,e,"","",p):"",be:(p,g)=>p&&g?hu(n.value,e,p,g,""):"",em:(p,g)=>p&&g?hu(n.value,e,"",p,g):"",bm:(p,g)=>p&&g?hu(n.value,e,p,"",g):"",bem:(p,g,m)=>p&&g&&m?hu(n.value,e,p,g,m):"",is:(p,...g)=>{const m=g.length>=1?g[0]:!0;return p&&m?`${Gie}${p}`:""},cssVar:p=>{const g={};for(const m in p)p[m]&&(g[`--${n.value}-${m}`]=p[m]);return g},cssVarName:p=>`--${n.value}-${p}`,cssVarBlock:p=>{const g={};for(const m in p)p[m]&&(g[`--${n.value}-${e}-${m}`]=p[m]);return g},cssVarBlockName:p=>`--${n.value}-${e}-${p}`}},gS=(e,t={})=>{ct(e)||or("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Ee("popup"),r=L(()=>n.bm("parent","hidden"));if(!Wt||yi(document.body,r.value))return;let a=0,i=!1,o="0";const l=()=>{setTimeout(()=>{Kr(document==null?void 0:document.body,r.value),i&&document&&(document.body.style.width=o)},200)};ke(e,s=>{if(!s){l();return}i=!yi(document.body,r.value),i&&(o=document.body.style.width),a=lN(n.namespace.value);const u=document.documentElement.clientHeight<document.body.scrollHeight,c=ms(document.body,"overflowY");a>0&&(u||c==="scroll")&&i&&(document.body.style.width=`calc(100% - ${a}px)`),vi(document.body,r.value)}),VP(()=>l())},Wie=to({type:he(Boolean),default:null}),Uie=to({type:he(Function)}),_N=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],a={[e]:Wie,[n]:Uie};return{useModelToggle:({indicator:o,toggleReason:l,shouldHideWhenRouteChanges:s,shouldProceed:u,onShow:c,onHide:f})=>{const d=xt(),{emit:h}=d,v=d.props,p=L(()=>st(v[n])),g=L(()=>v[e]===null),m=C=>{o.value!==!0&&(o.value=!0,l&&(l.value=C),st(c)&&c(C))},b=C=>{o.value!==!1&&(o.value=!1,l&&(l.value=C),st(f)&&f(C))},_=C=>{if(v.disabled===!0||st(u)&&!u())return;const T=p.value&&Wt;T&&h(t,!0),(g.value||!T)&&m(C)},w=C=>{if(v.disabled===!0||!Wt)return;const T=p.value&&Wt;T&&h(t,!1),(g.value||!T)&&b(C)},x=C=>{Jn(C)&&(v.disabled&&C?p.value&&h(t,!1):o.value!==C&&(C?m():b()))},S=()=>{o.value?w():_()};return ke(()=>v[e],x),s&&d.appContext.config.globalProperties.$route!==void 0&&ke(()=>({...d.proxy.$route}),()=>{s.value&&o.value&&w()}),bt(()=>{x(v[e])}),{hide:w,show:_,toggle:S,hasUpdateHandler:p}},useModelToggleProps:a,useModelToggleEmits:r}};_N("modelValue");const wN=e=>{const t=xt();return L(()=>{var n,r;return(r=(n=t==null?void 0:t.proxy)==null?void 0:n.$props)==null?void 0:r[e]})};var Ea="top",Ci="bottom",Ti="right",Ia="left",mS="auto",gp=[Ea,Ci,Ti,Ia],Cd="start",m1="end",Yie="clippingParents",xN="viewport",zh="popper",Kie="reference",NT=gp.reduce(function(e,t){return e.concat([t+"-"+Cd,t+"-"+m1])},[]),Kc=[].concat(gp,[mS]).reduce(function(e,t){return e.concat([t,t+"-"+Cd,t+"-"+m1])},[]),Xie="beforeRead",Zie="read",Jie="afterRead",Qie="beforeMain",eoe="main",toe="afterMain",noe="beforeWrite",roe="write",aoe="afterWrite",ioe=[Xie,Zie,Jie,Qie,eoe,toe,noe,roe,aoe];function Lo(e){return e?(e.nodeName||"").toLowerCase():null}function no(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Td(e){var t=no(e).Element;return e instanceof t||e instanceof Element}function bi(e){var t=no(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function yS(e){if(typeof ShadowRoot>"u")return!1;var t=no(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function ooe(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},a=t.attributes[n]||{},i=t.elements[n];!bi(i)||!Lo(i)||(Object.assign(i.style,r),Object.keys(a).forEach(function(o){var l=a[o];l===!1?i.removeAttribute(o):i.setAttribute(o,l===!0?"":l)}))})}function loe(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var a=t.elements[r],i=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=o.reduce(function(s,u){return s[u]="",s},{});!bi(a)||!Lo(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(s){a.removeAttribute(s)}))})}}var SN={name:"applyStyles",enabled:!0,phase:"write",fn:ooe,effect:loe,requires:["computeStyles"]};function Ao(e){return e.split("-")[0]}var gc=Math.max,B2=Math.min,kd=Math.round;function zd(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,a=1;if(bi(e)&&t){var i=e.offsetHeight,o=e.offsetWidth;o>0&&(r=kd(n.width)/o||1),i>0&&(a=kd(n.height)/i||1)}return{width:n.width/r,height:n.height/a,top:n.top/a,right:n.right/r,bottom:n.bottom/a,left:n.left/r,x:n.left/r,y:n.top/a}}function bS(e){var t=zd(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function CN(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&yS(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function xl(e){return no(e).getComputedStyle(e)}function soe(e){return["table","td","th"].indexOf(Lo(e))>=0}function ou(e){return((Td(e)?e.ownerDocument:e.document)||window.document).documentElement}function ky(e){return Lo(e)==="html"?e:e.assignedSlot||e.parentNode||(yS(e)?e.host:null)||ou(e)}function $T(e){return!bi(e)||xl(e).position==="fixed"?null:e.offsetParent}function uoe(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&bi(e)){var r=xl(e);if(r.position==="fixed")return null}var a=ky(e);for(yS(a)&&(a=a.host);bi(a)&&["html","body"].indexOf(Lo(a))<0;){var i=xl(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function mp(e){for(var t=no(e),n=$T(e);n&&soe(n)&&xl(n).position==="static";)n=$T(n);return n&&(Lo(n)==="html"||Lo(n)==="body"&&xl(n).position==="static")?t:n||uoe(e)||t}function _S(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rv(e,t,n){return gc(e,B2(t,n))}function coe(e,t,n){var r=Rv(e,t,n);return r>n?n:r}function TN(){return{top:0,right:0,bottom:0,left:0}}function kN(e){return Object.assign({},TN(),e)}function zN(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var foe=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,kN(typeof e!="number"?e:zN(e,gp))};function doe(e){var t,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,l=Ao(n.placement),s=_S(l),u=[Ia,Ti].indexOf(l)>=0,c=u?"height":"width";if(!(!i||!o)){var f=foe(a.padding,n),d=bS(i),h=s==="y"?Ea:Ia,v=s==="y"?Ci:Ti,p=n.rects.reference[c]+n.rects.reference[s]-o[s]-n.rects.popper[c],g=o[s]-n.rects.reference[s],m=mp(i),b=m?s==="y"?m.clientHeight||0:m.clientWidth||0:0,_=p/2-g/2,w=f[h],x=b-d[c]-f[v],S=b/2-d[c]/2+_,C=Rv(w,S,x),T=s;n.modifiersData[r]=(t={},t[T]=C,t.centerOffset=C-S,t)}}function hoe(e){var t=e.state,n=e.options,r=n.element,a=r===void 0?"[data-popper-arrow]":r;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||!CN(t.elements.popper,a)||(t.elements.arrow=a))}var voe={name:"arrow",enabled:!0,phase:"main",fn:doe,effect:hoe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Md(e){return e.split("-")[1]}var poe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function goe(e){var t=e.x,n=e.y,r=window,a=r.devicePixelRatio||1;return{x:kd(t*a)/a||0,y:kd(n*a)/a||0}}function VT(e){var t,n=e.popper,r=e.popperRect,a=e.placement,i=e.variation,o=e.offsets,l=e.position,s=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,f=e.isFixed,d=o.x,h=d===void 0?0:d,v=o.y,p=v===void 0?0:v,g=typeof c=="function"?c({x:h,y:p}):{x:h,y:p};h=g.x,p=g.y;var m=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),_=Ia,w=Ea,x=window;if(u){var S=mp(n),C="clientHeight",T="clientWidth";if(S===no(n)&&(S=ou(n),xl(S).position!=="static"&&l==="absolute"&&(C="scrollHeight",T="scrollWidth")),S=S,a===Ea||(a===Ia||a===Ti)&&i===m1){w=Ci;var z=f&&S===x&&x.visualViewport?x.visualViewport.height:S[C];p-=z-r.height,p*=s?1:-1}if(a===Ia||(a===Ea||a===Ci)&&i===m1){_=Ti;var A=f&&S===x&&x.visualViewport?x.visualViewport.width:S[T];h-=A-r.width,h*=s?1:-1}}var E=Object.assign({position:l},u&&poe),D=c===!0?goe({x:h,y:p}):{x:h,y:p};if(h=D.x,p=D.y,s){var $;return Object.assign({},E,($={},$[w]=b?"0":"",$[_]=m?"0":"",$.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",$))}return Object.assign({},E,(t={},t[w]=b?p+"px":"",t[_]=m?h+"px":"",t.transform="",t))}function moe(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=r===void 0?!0:r,i=n.adaptive,o=i===void 0?!0:i,l=n.roundOffsets,s=l===void 0?!0:l,u={placement:Ao(t.placement),variation:Md(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,VT(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,VT(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var MN={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:moe,data:{}},ug={passive:!0};function yoe(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,i=a===void 0?!0:a,o=r.resize,l=o===void 0?!0:o,s=no(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&u.forEach(function(c){c.addEventListener("scroll",n.update,ug)}),l&&s.addEventListener("resize",n.update,ug),function(){i&&u.forEach(function(c){c.removeEventListener("scroll",n.update,ug)}),l&&s.removeEventListener("resize",n.update,ug)}}var AN={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:yoe,data:{}},boe={left:"right",right:"left",bottom:"top",top:"bottom"};function O0(e){return e.replace(/left|right|bottom|top/g,function(t){return boe[t]})}var _oe={start:"end",end:"start"};function BT(e){return e.replace(/start|end/g,function(t){return _oe[t]})}function wS(e){var t=no(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function xS(e){return zd(ou(e)).left+wS(e).scrollLeft}function woe(e){var t=no(e),n=ou(e),r=t.visualViewport,a=n.clientWidth,i=n.clientHeight,o=0,l=0;return r&&(a=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,l=r.offsetTop)),{width:a,height:i,x:o+xS(e),y:l}}function xoe(e){var t,n=ou(e),r=wS(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=gc(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),o=gc(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),l=-r.scrollLeft+xS(e),s=-r.scrollTop;return xl(a||n).direction==="rtl"&&(l+=gc(n.clientWidth,a?a.clientWidth:0)-i),{width:i,height:o,x:l,y:s}}function SS(e){var t=xl(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function EN(e){return["html","body","#document"].indexOf(Lo(e))>=0?e.ownerDocument.body:bi(e)&&SS(e)?e:EN(ky(e))}function Ov(e,t){var n;t===void 0&&(t=[]);var r=EN(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=no(r),o=a?[i].concat(i.visualViewport||[],SS(r)?r:[]):r,l=t.concat(o);return a?l:l.concat(Ov(ky(o)))}function b4(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Soe(e){var t=zd(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function FT(e,t){return t===xN?b4(woe(e)):Td(t)?Soe(t):b4(xoe(ou(e)))}function Coe(e){var t=Ov(ky(e)),n=["absolute","fixed"].indexOf(xl(e).position)>=0,r=n&&bi(e)?mp(e):e;return Td(r)?t.filter(function(a){return Td(a)&&CN(a,r)&&Lo(a)!=="body"}):[]}function Toe(e,t,n){var r=t==="clippingParents"?Coe(e):[].concat(t),a=[].concat(r,[n]),i=a[0],o=a.reduce(function(l,s){var u=FT(e,s);return l.top=gc(u.top,l.top),l.right=B2(u.right,l.right),l.bottom=B2(u.bottom,l.bottom),l.left=gc(u.left,l.left),l},FT(e,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function IN(e){var t=e.reference,n=e.element,r=e.placement,a=r?Ao(r):null,i=r?Md(r):null,o=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,s;switch(a){case Ea:s={x:o,y:t.y-n.height};break;case Ci:s={x:o,y:t.y+t.height};break;case Ti:s={x:t.x+t.width,y:l};break;case Ia:s={x:t.x-n.width,y:l};break;default:s={x:t.x,y:t.y}}var u=a?_S(a):null;if(u!=null){var c=u==="y"?"height":"width";switch(i){case Cd:s[u]=s[u]-(t[c]/2-n[c]/2);break;case m1:s[u]=s[u]+(t[c]/2-n[c]/2);break}}return s}function y1(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=r===void 0?e.placement:r,i=n.boundary,o=i===void 0?Yie:i,l=n.rootBoundary,s=l===void 0?xN:l,u=n.elementContext,c=u===void 0?zh:u,f=n.altBoundary,d=f===void 0?!1:f,h=n.padding,v=h===void 0?0:h,p=kN(typeof v!="number"?v:zN(v,gp)),g=c===zh?Kie:zh,m=e.rects.popper,b=e.elements[d?g:c],_=Toe(Td(b)?b:b.contextElement||ou(e.elements.popper),o,s),w=zd(e.elements.reference),x=IN({reference:w,element:m,strategy:"absolute",placement:a}),S=b4(Object.assign({},m,x)),C=c===zh?S:w,T={top:_.top-C.top+p.top,bottom:C.bottom-_.bottom+p.bottom,left:_.left-C.left+p.left,right:C.right-_.right+p.right},z=e.modifiersData.offset;if(c===zh&&z){var A=z[a];Object.keys(T).forEach(function(E){var D=[Ti,Ci].indexOf(E)>=0?1:-1,$=[Ea,Ci].indexOf(E)>=0?"y":"x";T[E]+=A[$]*D})}return T}function koe(e,t){t===void 0&&(t={});var n=t,r=n.placement,a=n.boundary,i=n.rootBoundary,o=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,u=s===void 0?Kc:s,c=Md(r),f=c?l?NT:NT.filter(function(v){return Md(v)===c}):gp,d=f.filter(function(v){return u.indexOf(v)>=0});d.length===0&&(d=f);var h=d.reduce(function(v,p){return v[p]=y1(e,{placement:p,boundary:a,rootBoundary:i,padding:o})[Ao(p)],v},{});return Object.keys(h).sort(function(v,p){return h[v]-h[p]})}function zoe(e){if(Ao(e)===mS)return[];var t=O0(e);return[BT(e),t,BT(t)]}function Moe(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!0:o,s=n.fallbackPlacements,u=n.padding,c=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,v=h===void 0?!0:h,p=n.allowedAutoPlacements,g=t.options.placement,m=Ao(g),b=m===g,_=s||(b||!v?[O0(g)]:zoe(g)),w=[g].concat(_).reduce(function(ue,ye){return ue.concat(Ao(ye)===mS?koe(t,{placement:ye,boundary:c,rootBoundary:f,padding:u,flipVariations:v,allowedAutoPlacements:p}):ye)},[]),x=t.rects.reference,S=t.rects.popper,C=new Map,T=!0,z=w[0],A=0;A<w.length;A++){var E=w[A],D=Ao(E),$=Md(E)===Cd,O=[Ea,Ci].indexOf(D)>=0,R=O?"width":"height",N=y1(t,{placement:E,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),B=O?$?Ti:Ia:$?Ci:Ea;x[R]>S[R]&&(B=O0(B));var V=O0(B),P=[];if(i&&P.push(N[D]<=0),l&&P.push(N[B]<=0,N[V]<=0),P.every(function(ue){return ue})){z=E,T=!1;break}C.set(E,P)}if(T)for(var W=v?3:1,Z=function(ue){var ye=w.find(function(le){var ae=C.get(le);if(ae)return ae.slice(0,ue).every(function(ie){return ie})});if(ye)return z=ye,"break"},ee=W;ee>0;ee--){var re=Z(ee);if(re==="break")break}t.placement!==z&&(t.modifiersData[r]._skip=!0,t.placement=z,t.reset=!0)}}var Aoe={name:"flip",enabled:!0,phase:"main",fn:Moe,requiresIfExists:["offset"],data:{_skip:!1}};function HT(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function jT(e){return[Ea,Ti,Ci,Ia].some(function(t){return e[t]>=0})}function Eoe(e){var t=e.state,n=e.name,r=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,o=y1(t,{elementContext:"reference"}),l=y1(t,{altBoundary:!0}),s=HT(o,r),u=HT(l,a,i),c=jT(s),f=jT(u);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":f})}var Ioe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Eoe};function Doe(e,t,n){var r=Ao(e),a=[Ia,Ea].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],l=i[1];return o=o||0,l=(l||0)*a,[Ia,Ti].indexOf(r)>=0?{x:l,y:o}:{x:o,y:l}}function Loe(e){var t=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,o=Kc.reduce(function(c,f){return c[f]=Doe(f,t.rects,i),c},{}),l=o[t.placement],s=l.x,u=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=o}var Poe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Loe};function Roe(e){var t=e.state,n=e.name;t.modifiersData[n]=IN({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var DN={name:"popperOffsets",enabled:!0,phase:"read",fn:Roe,data:{}};function Ooe(e){return e==="x"?"y":"x"}function Noe(e){var t=e.state,n=e.options,r=e.name,a=n.mainAxis,i=a===void 0?!0:a,o=n.altAxis,l=o===void 0?!1:o,s=n.boundary,u=n.rootBoundary,c=n.altBoundary,f=n.padding,d=n.tether,h=d===void 0?!0:d,v=n.tetherOffset,p=v===void 0?0:v,g=y1(t,{boundary:s,rootBoundary:u,padding:f,altBoundary:c}),m=Ao(t.placement),b=Md(t.placement),_=!b,w=_S(m),x=Ooe(w),S=t.modifiersData.popperOffsets,C=t.rects.reference,T=t.rects.popper,z=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,A=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),E=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(S){if(i){var $,O=w==="y"?Ea:Ia,R=w==="y"?Ci:Ti,N=w==="y"?"height":"width",B=S[w],V=B+g[O],P=B-g[R],W=h?-T[N]/2:0,Z=b===Cd?C[N]:T[N],ee=b===Cd?-T[N]:-C[N],re=t.elements.arrow,ue=h&&re?bS(re):{width:0,height:0},ye=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:TN(),le=ye[O],ae=ye[R],ie=Rv(0,C[N],ue[N]),ve=_?C[N]/2-W-ie-le-A.mainAxis:Z-ie-le-A.mainAxis,ce=_?-C[N]/2+W+ie+ae+A.mainAxis:ee+ie+ae+A.mainAxis,fe=t.elements.arrow&&mp(t.elements.arrow),xe=fe?w==="y"?fe.clientTop||0:fe.clientLeft||0:0,J=($=E==null?void 0:E[w])!=null?$:0,oe=B+ve-J-xe,pe=B+ce-J,Te=Rv(h?B2(V,oe):V,B,h?gc(P,pe):P);S[w]=Te,D[w]=Te-B}if(l){var ge,Ae=w==="x"?Ea:Ia,De=w==="x"?Ci:Ti,Pe=S[x],Re=x==="y"?"height":"width",Ce=Pe+g[Ae],Ue=Pe-g[De],Je=[Ea,Ia].indexOf(m)!==-1,ze=(ge=E==null?void 0:E[x])!=null?ge:0,Ke=Je?Ce:Pe-C[Re]-T[Re]-ze+A.altAxis,ut=Je?Pe+C[Re]+T[Re]-ze-A.altAxis:Ue,Et=h&&Je?coe(Ke,Pe,ut):Rv(h?Ke:Ce,Pe,h?ut:Ue);S[x]=Et,D[x]=Et-Pe}t.modifiersData[r]=D}}var $oe={name:"preventOverflow",enabled:!0,phase:"main",fn:Noe,requiresIfExists:["offset"]};function Voe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Boe(e){return e===no(e)||!bi(e)?wS(e):Voe(e)}function Foe(e){var t=e.getBoundingClientRect(),n=kd(t.width)/e.offsetWidth||1,r=kd(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Hoe(e,t,n){n===void 0&&(n=!1);var r=bi(t),a=bi(t)&&Foe(t),i=ou(t),o=zd(e,a),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(r||!r&&!n)&&((Lo(t)!=="body"||SS(i))&&(l=Boe(t)),bi(t)?(s=zd(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=xS(i))),{x:o.left+l.scrollLeft-s.x,y:o.top+l.scrollTop-s.y,width:o.width,height:o.height}}function joe(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function a(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(l){if(!n.has(l)){var s=t.get(l);s&&a(s)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||a(i)}),r}function qoe(e){var t=joe(e);return ioe.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function Goe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Woe(e){var t=e.reduce(function(n,r){var a=n[r.name];return n[r.name]=a?Object.assign({},a,r,{options:Object.assign({},a.options,r.options),data:Object.assign({},a.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var qT={placement:"bottom",modifiers:[],strategy:"absolute"};function GT(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function CS(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?qT:a;return function(o,l,s){s===void 0&&(s=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},qT,i),modifiersData:{},elements:{reference:o,popper:l},attributes:{},styles:{}},c=[],f=!1,d={state:u,setOptions:function(p){var g=typeof p=="function"?p(u.options):p;v(),u.options=Object.assign({},i,u.options,g),u.scrollParents={reference:Td(o)?Ov(o):o.contextElement?Ov(o.contextElement):[],popper:Ov(l)};var m=qoe(Woe([].concat(r,u.options.modifiers)));return u.orderedModifiers=m.filter(function(b){return b.enabled}),h(),d.update()},forceUpdate:function(){if(!f){var p=u.elements,g=p.reference,m=p.popper;if(GT(g,m)){u.rects={reference:Hoe(g,mp(m),u.options.strategy==="fixed"),popper:bS(m)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(T){return u.modifiersData[T.name]=Object.assign({},T.data)});for(var b=0;b<u.orderedModifiers.length;b++){if(u.reset===!0){u.reset=!1,b=-1;continue}var _=u.orderedModifiers[b],w=_.fn,x=_.options,S=x===void 0?{}:x,C=_.name;typeof w=="function"&&(u=w({state:u,options:S,name:C,instance:d})||u)}}}},update:Goe(function(){return new Promise(function(p){d.forceUpdate(),p(u)})}),destroy:function(){v(),f=!0}};if(!GT(o,l))return d;d.setOptions(s).then(function(p){!f&&s.onFirstUpdate&&s.onFirstUpdate(p)});function h(){u.orderedModifiers.forEach(function(p){var g=p.name,m=p.options,b=m===void 0?{}:m,_=p.effect;if(typeof _=="function"){var w=_({state:u,name:g,instance:d,options:b}),x=function(){};c.push(w||x)}})}function v(){c.forEach(function(p){return p()}),c=[]}return d}}CS();var Uoe=[AN,DN,MN,SN];CS({defaultModifiers:Uoe});var Yoe=[AN,DN,MN,SN,Poe,Aoe,$oe,voe,Ioe],Koe=CS({defaultModifiers:Yoe});const Xoe=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:s})=>{const u=Zoe(s);Object.assign(o.value,u)},requires:["computeStyles"]},a=L(()=>{const{onFirstUpdate:s,placement:u,strategy:c,modifiers:f}=y(n);return{onFirstUpdate:s,placement:u||"bottom",strategy:c||"absolute",modifiers:[...f||[],r,{name:"applyStyles",enabled:!1}]}}),i=xn(),o=j({styles:{popper:{position:y(a).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=()=>{i.value&&(i.value.destroy(),i.value=void 0)};return ke(a,s=>{const u=y(i);u&&u.setOptions(s)},{deep:!0}),ke([e,t],([s,u])=>{l(),!(!s||!u)&&(i.value=Koe(s,u,y(a)))}),wn(()=>{l()}),{state:L(()=>{var s;return{...((s=y(i))==null?void 0:s.state)||{}}}),styles:L(()=>y(o).styles),attributes:L(()=>y(o).attributes),update:()=>{var s;return(s=y(i))==null?void 0:s.update()},forceUpdate:()=>{var s;return(s=y(i))==null?void 0:s.forceUpdate()},instanceRef:L(()=>y(i))}};function Zoe(e){const t=Object.keys(e.elements),n=V2(t.map(a=>[a,e.styles[a]||{}])),r=V2(t.map(a=>[a,e.attributes[a]]));return{styles:n,attributes:r}}const TS=e=>{if(!e)return{onClick:sn,onMousedown:sn,onMouseup:sn};let t=!1,n=!1;return{onClick:o=>{t&&n&&e(o),t=n=!1},onMousedown:o=>{t=o.target===o.currentTarget},onMouseup:o=>{n=o.target===o.currentTarget}}},Joe=(e,t=0)=>{if(t===0)return e;const n=j(!1);let r=0;const a=()=>{r&&clearTimeout(r),r=window.setTimeout(()=>{n.value=e.value},t)};return bt(a),ke(()=>e.value,i=>{i?a():n.value=i}),n};function WT(){let e;const t=(r,a)=>{n(),e=window.setTimeout(r,a)},n=()=>window.clearTimeout(e);return cp(()=>n()),{registerTimeout:t,cancelTimeout:n}}const UT={prefix:Math.floor(Math.random()*1e4),current:0},Qoe=Symbol("elIdInjection"),kS=()=>xt()?Ye(Qoe,UT):UT,Vr=e=>{const t=kS(),n=pS();return L(()=>y(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Pf=[];const YT=e=>{const t=e;t.key===at.esc&&Pf.forEach(n=>n(t))},ele=e=>{bt(()=>{Pf.length===0&&document.addEventListener("keydown",YT),Wt&&Pf.push(e)}),wn(()=>{Pf=Pf.filter(t=>t!==e),Pf.length===0&&Wt&&document.removeEventListener("keydown",YT)})};let KT;const LN=()=>{const e=pS(),t=kS(),n=L(()=>`${e.value}-popper-container-${t.prefix}`),r=L(()=>`#${n.value}`);return{id:n,selector:r}},tle=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},nle=()=>{const{id:e,selector:t}=LN();return sy(()=>{Wt&&!KT&&!document.body.querySelector(t.value)&&(KT=tle(e.value))}),{id:e,selector:t}},rle=Oe({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),ale=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:a})=>{const{registerTimeout:i}=WT(),{registerTimeout:o,cancelTimeout:l}=WT();return{onOpen:c=>{i(()=>{r(c);const f=y(n);ot(f)&&f>0&&o(()=>{a(c)},f)},y(e))},onClose:c=>{l(),i(()=>{a(c)},y(t))}}},PN=Symbol("elForwardRef"),ile=e=>{Rt(PN,{setForwardRef:n=>{e.value=n}})},ole=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),XT={current:0},ZT=j(0),RN=2e3,JT=Symbol("elZIndexContextKey"),ON=Symbol("zIndexContextKey"),Qd=e=>{const t=xt()?Ye(JT,XT):XT,n=e||(xt()?Ye(ON,void 0):void 0),r=L(()=>{const o=y(n);return ot(o)?o:RN}),a=L(()=>r.value+ZT.value),i=()=>(t.current++,ZT.value=t.current,a.value);return!Wt&&Ye(JT),{initialZIndex:r,currentZIndex:a,nextZIndex:i}},Ad=Math.min,mc=Math.max,F2=Math.round,cg=Math.floor,qs=e=>({x:e,y:e}),lle={left:"right",right:"left",bottom:"top",top:"bottom"},sle={start:"end",end:"start"};function _4(e,t,n){return mc(e,Ad(t,n))}function yp(e,t){return typeof e=="function"?e(t):e}function Lc(e){return e.split("-")[0]}function bp(e){return e.split("-")[1]}function NN(e){return e==="x"?"y":"x"}function zS(e){return e==="y"?"height":"width"}function zy(e){return["top","bottom"].includes(Lc(e))?"y":"x"}function MS(e){return NN(zy(e))}function ule(e,t,n){n===void 0&&(n=!1);const r=bp(e),a=MS(e),i=zS(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=H2(o)),[o,H2(o)]}function cle(e){const t=H2(e);return[w4(e),t,w4(t)]}function w4(e){return e.replace(/start|end/g,t=>sle[t])}function fle(e,t,n){const r=["left","right"],a=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?a:r:t?r:a;case"left":case"right":return t?i:o;default:return[]}}function dle(e,t,n,r){const a=bp(e);let i=fle(Lc(e),n==="start",r);return a&&(i=i.map(o=>o+"-"+a),t&&(i=i.concat(i.map(w4)))),i}function H2(e){return e.replace(/left|right|bottom|top/g,t=>lle[t])}function hle(e){return{top:0,right:0,bottom:0,left:0,...e}}function $N(e){return typeof e!="number"?hle(e):{top:e,right:e,bottom:e,left:e}}function j2(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function QT(e,t,n){let{reference:r,floating:a}=e;const i=zy(t),o=MS(t),l=zS(o),s=Lc(t),u=i==="y",c=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,d=r[l]/2-a[l]/2;let h;switch(s){case"top":h={x:c,y:r.y-a.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-a.width,y:f};break;default:h={x:r.x,y:r.y}}switch(bp(t)){case"start":h[o]-=d*(n&&u?-1:1);break;case"end":h[o]+=d*(n&&u?-1:1);break}return h}const vle=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,l=i.filter(Boolean),s=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:c,y:f}=QT(u,r,s),d=r,h={},v=0;for(let p=0;p<l.length;p++){const{name:g,fn:m}=l[p],{x:b,y:_,data:w,reset:x}=await m({x:c,y:f,initialPlacement:r,placement:d,strategy:a,middlewareData:h,rects:u,platform:o,elements:{reference:e,floating:t}});c=b??c,f=_??f,h={...h,[g]:{...h[g],...w}},x&&v<=50&&(v++,typeof x=="object"&&(x.placement&&(d=x.placement),x.rects&&(u=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):x.rects),{x:c,y:f}=QT(u,d,s)),p=-1)}return{x:c,y:f,placement:d,strategy:a,middlewareData:h}};async function AS(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:i,rects:o,elements:l,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=yp(t,e),v=$N(h),g=l[d?f==="floating"?"reference":"floating":f],m=j2(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:s})),b=f==="floating"?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),w=await(i.isElement==null?void 0:i.isElement(_))?await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1}:{x:1,y:1},x=j2(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:b,offsetParent:_,strategy:s}):b);return{top:(m.top-x.top+v.top)/w.y,bottom:(x.bottom-m.bottom+v.bottom)/w.y,left:(m.left-x.left+v.left)/w.x,right:(x.right-m.right+v.right)/w.x}}const ple=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:i,platform:o,elements:l,middlewareData:s}=t,{element:u,padding:c=0}=yp(e,t)||{};if(u==null)return{};const f=$N(c),d={x:n,y:r},h=MS(a),v=zS(h),p=await o.getDimensions(u),g=h==="y",m=g?"top":"left",b=g?"bottom":"right",_=g?"clientHeight":"clientWidth",w=i.reference[v]+i.reference[h]-d[h]-i.floating[v],x=d[h]-i.reference[h],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let C=S?S[_]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=l.floating[_]||i.floating[v]);const T=w/2-x/2,z=C/2-p[v]/2-1,A=Ad(f[m],z),E=Ad(f[b],z),D=A,$=C-p[v]-E,O=C/2-p[v]/2+T,R=_4(D,O,$),N=!s.arrow&&bp(a)!=null&&O!==R&&i.reference[v]/2-(O<D?A:E)-p[v]/2<0,B=N?O<D?O-D:O-$:0;return{[h]:d[h]+B,data:{[h]:R,centerOffset:O-R-B,...N&&{alignmentOffset:B}},reset:N}}}),gle=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:i,rects:o,initialPlacement:l,platform:s,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:p=!0,...g}=yp(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=Lc(a),b=Lc(l)===l,_=await(s.isRTL==null?void 0:s.isRTL(u.floating)),w=d||(b||!p?[H2(l)]:cle(l));!d&&v!=="none"&&w.push(...dle(l,p,v,_));const x=[l,...w],S=await AS(t,g),C=[];let T=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&C.push(S[m]),f){const D=ule(a,o,_);C.push(S[D[0]],S[D[1]])}if(T=[...T,{placement:a,overflows:C}],!C.every(D=>D<=0)){var z,A;const D=(((z=i.flip)==null?void 0:z.index)||0)+1,$=x[D];if($)return{data:{index:D,overflows:T},reset:{placement:$}};let O=(A=T.filter(R=>R.overflows[0]<=0).sort((R,N)=>R.overflows[1]-N.overflows[1])[0])==null?void 0:A.placement;if(!O)switch(h){case"bestFit":{var E;const R=(E=T.map(N=>[N.placement,N.overflows.filter(B=>B>0).reduce((B,V)=>B+V,0)]).sort((N,B)=>N[1]-B[1])[0])==null?void 0:E[0];R&&(O=R);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}};async function mle(e,t){const{placement:n,platform:r,elements:a}=e,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),o=Lc(n),l=bp(n),s=zy(n)==="y",u=["left","top"].includes(o)?-1:1,c=i&&s?-1:1,f=yp(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&typeof v=="number"&&(h=l==="end"?v*-1:v),s?{x:h*c,y:d*u}:{x:d*u,y:h*c}}const yle=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:i,placement:o,middlewareData:l}=t,s=await mle(t,e);return o===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:a+s.x,y:i+s.y,data:{...s,placement:o}}}}},ble=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:l={fn:g=>{let{x:m,y:b}=g;return{x:m,y:b}}},...s}=yp(e,t),u={x:n,y:r},c=await AS(t,s),f=zy(Lc(a)),d=NN(f);let h=u[d],v=u[f];if(i){const g=d==="y"?"top":"left",m=d==="y"?"bottom":"right",b=h+c[g],_=h-c[m];h=_4(b,h,_)}if(o){const g=f==="y"?"top":"left",m=f==="y"?"bottom":"right",b=v+c[g],_=v-c[m];v=_4(b,v,_)}const p=l.fn({...t,[d]:h,[f]:v});return{...p,data:{x:p.x-n,y:p.y-r}}}}};function eh(e){return VN(e)?(e.nodeName||"").toLowerCase():"#document"}function qa(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Nl(e){var t;return(t=(VN(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function VN(e){return e instanceof Node||e instanceof qa(e).Node}function Po(e){return e instanceof Element||e instanceof qa(e).Element}function Ro(e){return e instanceof HTMLElement||e instanceof qa(e).HTMLElement}function ek(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qa(e).ShadowRoot}function _p(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Zi(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function _le(e){return["table","td","th"].includes(eh(e))}function ES(e){const t=IS(),n=Zi(e);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function wle(e){let t=Gs(e);for(;Ro(t)&&!Ed(t);){if(ES(t))return t;t=Gs(t)}return null}function IS(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ed(e){return["html","body","#document"].includes(eh(e))}function Zi(e){return qa(e).getComputedStyle(e)}function My(e){return Po(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Gs(e){if(eh(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ek(e)&&e.host||Nl(e);return ek(t)?t.host:t}function BN(e){const t=Gs(e);return Ed(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ro(t)&&_p(t)?t:BN(t)}function b1(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=BN(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=qa(a);return i?t.concat(o,o.visualViewport||[],_p(a)?a:[],o.frameElement&&n?b1(o.frameElement):[]):t.concat(a,b1(a,[],n))}function FN(e){const t=Zi(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=Ro(e),i=a?e.offsetWidth:n,o=a?e.offsetHeight:r,l=F2(n)!==i||F2(r)!==o;return l&&(n=i,r=o),{width:n,height:r,$:l}}function DS(e){return Po(e)?e:e.contextElement}function nd(e){const t=DS(e);if(!Ro(t))return qs(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=FN(t);let o=(i?F2(n.width):n.width)/r,l=(i?F2(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const xle=qs(0);function HN(e){const t=qa(e);return!IS()||!t.visualViewport?xle:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Sle(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==qa(e)?!1:t}function Pc(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=DS(e);let o=qs(1);t&&(r?Po(r)&&(o=nd(r)):o=nd(e));const l=Sle(i,n,r)?HN(i):qs(0);let s=(a.left+l.x)/o.x,u=(a.top+l.y)/o.y,c=a.width/o.x,f=a.height/o.y;if(i){const d=qa(i),h=r&&Po(r)?qa(r):r;let v=d,p=v.frameElement;for(;p&&r&&h!==v;){const g=nd(p),m=p.getBoundingClientRect(),b=Zi(p),_=m.left+(p.clientLeft+parseFloat(b.paddingLeft))*g.x,w=m.top+(p.clientTop+parseFloat(b.paddingTop))*g.y;s*=g.x,u*=g.y,c*=g.x,f*=g.y,s+=_,u+=w,v=qa(p),p=v.frameElement}}return j2({width:c,height:f,x:s,y:u})}const Cle=[":popover-open",":modal"];function LS(e){return Cle.some(t=>{try{return e.matches(t)}catch{return!1}})}function Tle(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const i=a==="fixed",o=Nl(r),l=t?LS(t.floating):!1;if(r===o||l&&i)return n;let s={scrollLeft:0,scrollTop:0},u=qs(1);const c=qs(0),f=Ro(r);if((f||!f&&!i)&&((eh(r)!=="body"||_p(o))&&(s=My(r)),Ro(r))){const d=Pc(r);u=nd(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x,y:n.y*u.y-s.scrollTop*u.y+c.y}}function kle(e){return Array.from(e.getClientRects())}function jN(e){return Pc(Nl(e)).left+My(e).scrollLeft}function zle(e){const t=Nl(e),n=My(e),r=e.ownerDocument.body,a=mc(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=mc(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+jN(e);const l=-n.scrollTop;return Zi(r).direction==="rtl"&&(o+=mc(t.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:l}}function Mle(e,t){const n=qa(e),r=Nl(e),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,l=0,s=0;if(a){i=a.width,o=a.height;const u=IS();(!u||u&&t==="fixed")&&(l=a.offsetLeft,s=a.offsetTop)}return{width:i,height:o,x:l,y:s}}function Ale(e,t){const n=Pc(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,i=Ro(e)?nd(e):qs(1),o=e.clientWidth*i.x,l=e.clientHeight*i.y,s=a*i.x,u=r*i.y;return{width:o,height:l,x:s,y:u}}function tk(e,t,n){let r;if(t==="viewport")r=Mle(e,n);else if(t==="document")r=zle(Nl(e));else if(Po(t))r=Ale(t,n);else{const a=HN(e);r={...t,x:t.x-a.x,y:t.y-a.y}}return j2(r)}function qN(e,t){const n=Gs(e);return n===t||!Po(n)||Ed(n)?!1:Zi(n).position==="fixed"||qN(n,t)}function Ele(e,t){const n=t.get(e);if(n)return n;let r=b1(e,[],!1).filter(l=>Po(l)&&eh(l)!=="body"),a=null;const i=Zi(e).position==="fixed";let o=i?Gs(e):e;for(;Po(o)&&!Ed(o);){const l=Zi(o),s=ES(o);!s&&l.position==="fixed"&&(a=null),(i?!s&&!a:!s&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||_p(o)&&!s&&qN(e,o))?r=r.filter(c=>c!==o):a=l,o=Gs(o)}return t.set(e,r),r}function Ile(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?LS(t)?[]:Ele(t,this._c):[].concat(n),r],l=o[0],s=o.reduce((u,c)=>{const f=tk(t,c,a);return u.top=mc(f.top,u.top),u.right=Ad(f.right,u.right),u.bottom=Ad(f.bottom,u.bottom),u.left=mc(f.left,u.left),u},tk(t,l,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function Dle(e){const{width:t,height:n}=FN(e);return{width:t,height:n}}function Lle(e,t,n){const r=Ro(t),a=Nl(t),i=n==="fixed",o=Pc(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=qs(0);if(r||!r&&!i)if((eh(t)!=="body"||_p(a))&&(l=My(t)),r){const f=Pc(t,!0,i,t);s.x=f.x+t.clientLeft,s.y=f.y+t.clientTop}else a&&(s.x=jN(a));const u=o.left+l.scrollLeft-s.x,c=o.top+l.scrollTop-s.y;return{x:u,y:c,width:o.width,height:o.height}}function eb(e){return Zi(e).position==="static"}function nk(e,t){return!Ro(e)||Zi(e).position==="fixed"?null:t?t(e):e.offsetParent}function GN(e,t){const n=qa(e);if(LS(e))return n;if(!Ro(e)){let a=Gs(e);for(;a&&!Ed(a);){if(Po(a)&&!eb(a))return a;a=Gs(a)}return n}let r=nk(e,t);for(;r&&_le(r)&&eb(r);)r=nk(r,t);return r&&Ed(r)&&eb(r)&&!ES(r)?n:r||wle(e)||n}const Ple=async function(e){const t=this.getOffsetParent||GN,n=this.getDimensions,r=await n(e.floating);return{reference:Lle(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Rle(e){return Zi(e).direction==="rtl"}const Ole={convertOffsetParentRelativeRectToViewportRelativeRect:Tle,getDocumentElement:Nl,getClippingRect:Ile,getOffsetParent:GN,getElementRects:Ple,getClientRects:kle,getDimensions:Dle,getScale:nd,isElement:Po,isRTL:Rle};function Nle(e,t){let n=null,r;const a=Nl(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),i();const{left:u,top:c,width:f,height:d}=e.getBoundingClientRect();if(l||t(),!f||!d)return;const h=cg(c),v=cg(a.clientWidth-(u+f)),p=cg(a.clientHeight-(c+d)),g=cg(u),b={rootMargin:-h+"px "+-v+"px "+-p+"px "+-g+"px",threshold:mc(0,Ad(1,s))||1};let _=!0;function w(x){const S=x[0].intersectionRatio;if(S!==s){if(!_)return o();S?o(!1,S):r=setTimeout(()=>{o(!1,1e-7)},1e3)}_=!1}try{n=new IntersectionObserver(w,{...b,root:a.ownerDocument})}catch{n=new IntersectionObserver(w,b)}n.observe(e)}return o(!0),i}function $le(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=r,u=DS(e),c=a||i?[...u?b1(u):[],...b1(t)]:[];c.forEach(m=>{a&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const f=u&&l?Nle(u,n):null;let d=-1,h=null;o&&(h=new ResizeObserver(m=>{let[b]=m;b&&b.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var _;(_=h)==null||_.observe(t)})),n()}),u&&!s&&h.observe(u),h.observe(t));let v,p=s?Pc(e):null;s&&g();function g(){const m=Pc(e);p&&(m.x!==p.x||m.y!==p.y||m.width!==p.width||m.height!==p.height)&&n(),p=m,v=requestAnimationFrame(g)}return n(),()=>{var m;c.forEach(b=>{a&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),f==null||f(),(m=h)==null||m.disconnect(),h=null,s&&cancelAnimationFrame(v)}}const Vle=AS,WN=yle,Ble=ble,Fle=gle,UN=ple,YN=(e,t,n)=>{const r=new Map,a={platform:Ole,...n},i={...a.platform,_c:r};return vle(e,t,{...a,platform:i})};Oe({});const Hle=e=>{if(!Wt)return;if(!e)return e;const t=Aa(e);return t||(ct(e)?t:e)},jle=({middleware:e,placement:t,strategy:n})=>{const r=j(),a=j(),i=j(),o=j(),l=j({}),s={x:i,y:o,placement:t,strategy:n,middlewareData:l},u=async()=>{if(!Wt)return;const c=Hle(r),f=Aa(a);if(!c||!f)return;const d=await YN(c,f,{placement:y(t),strategy:y(n),middleware:y(e)});wd(s).forEach(h=>{s[h].value=d[h]})};return bt(()=>{Or(()=>{u()})}),{...s,update:u,referenceRef:r,contentRef:a}},qle=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const r=y(e);return r?UN({element:r,padding:t}).fn(n):{}}});function Gle(e){const t=j();function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:i,value:o}=e.value;if(a==null||i==null)return;const l=o.slice(0,Math.max(0,a)),s=o.slice(Math.max(0,i));t.value={selectionStart:a,selectionEnd:i,value:o,beforeTxt:l,afterTxt:s}}function r(){if(e.value==null||t.value==null)return;const{value:a}=e.value,{beforeTxt:i,afterTxt:o,selectionStart:l}=t.value;if(i==null||o==null||l==null)return;let s=a.length;if(a.endsWith(o))s=a.length-o.length;else if(a.startsWith(i))s=i.length;else{const u=i[l-1],c=a.indexOf(u,l-1);c!==-1&&(s=c+1)}e.value.setSelectionRange(s,s)}return[n,r]}const Wle=(e,t,n)=>Is(e.subTree).filter(i=>{var o;return Dn(i)&&((o=i.type)==null?void 0:o.name)===t&&!!i.component}).map(i=>i.component.uid).map(i=>n[i]).filter(i=>!!i),PS=(e,t)=>{const n={},r=xn([]);return{children:r,addChild:o=>{n[o.uid]=o,r.value=Wle(e,t,n)},removeChild:o=>{delete n[o],r.value=r.value.filter(l=>l.uid!==o)}}},cr=to({type:String,values:jo,required:!1}),KN=Symbol("size"),Ule=()=>{const e=Ye(KN,{});return L(()=>y(e.size)||"")};function Ay(e,{afterFocus:t,beforeBlur:n,afterBlur:r}={}){const a=xt(),{emit:i}=a,o=xn(),l=j(!1),s=f=>{l.value||(l.value=!0,i("focus",f),t==null||t())},u=f=>{var d;st(n)&&n(f)||f.relatedTarget&&((d=o.value)!=null&&d.contains(f.relatedTarget))||(l.value=!1,i("blur",f),r==null||r())},c=()=>{var f;(f=e.value)==null||f.focus()};return ke(o,f=>{f&&f.setAttribute("tabindex","-1")}),Sn(o,"click",c),{wrapperRef:o,isFocused:l,handleFocus:s,handleBlur:u}}const Yle=["",void 0,null],Kle=void 0,th=Oe({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>st(e)?!e():!e}}),Ey=(e,t)=>{let n=wp();n.value||(n=j({}));const r=L(()=>e.emptyValues||n.value.emptyValues||Yle),a=L(()=>st(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:st(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:Kle),i=o=>r.value.includes(o);return r.value.includes(a.value),{emptyValues:r,valueOnClear:a,isEmptyValue:i}},Xle=Oe({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Er=e=>xo(Xle,e),XN=Symbol(),q2=j();function wp(e,t=void 0){const n=xt()?Ye(XN,q2):q2;return e?L(()=>{var r,a;return(a=(r=n.value)==null?void 0:r[e])!=null?a:t}):n}function Iy(e,t){const n=wp(),r=Ee(e,L(()=>{var l;return((l=n.value)==null?void 0:l.namespace)||Pv})),a=Xt(L(()=>{var l;return(l=n.value)==null?void 0:l.locale})),i=Qd(L(()=>{var l;return((l=n.value)==null?void 0:l.zIndex)||RN})),o=L(()=>{var l;return y(t)||((l=n.value)==null?void 0:l.size)||""});return RS(L(()=>y(n)||{})),{ns:r,locale:a,zIndex:i,size:o}}const RS=(e,t,n=!1)=>{var r;const a=!!xt(),i=a?wp():void 0,o=(r=t==null?void 0:t.provide)!=null?r:a?Rt:void 0;if(!o)return;const l=L(()=>{const s=y(e);return i!=null&&i.value?Zle(i.value,s):s});return o(XN,l),o(yN,L(()=>l.value.locale)),o(bN,L(()=>l.value.namespace)),o(ON,L(()=>l.value.zIndex)),o(KN,{size:L(()=>l.value.size||"")}),(n||!q2.value)&&(q2.value=l.value),l},Zle=(e,t)=>{const n=[...new Set([...wd(e),...wd(t)])],r={};for(const a of n)r[a]=t[a]!==void 0?t[a]:e[a];return r},Jle=Oe({a11y:{type:Boolean,default:!0},locale:{type:he(Object)},size:cr,button:{type:he(Object)},experimentalFeatures:{type:he(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:he(Object)},zIndex:Number,namespace:{type:String,default:"el"},...th}),x4={},Qle=te({name:"ElConfigProvider",props:Jle,setup(e,{slots:t}){ke(()=>e.message,r=>{Object.assign(x4,r??{})},{immediate:!0,deep:!0});const n=RS(e);return()=>me(t,"default",{config:n==null?void 0:n.value})}}),ese=St(Qle),tse="2.7.5",nse=(e=[])=>({version:tse,install:(n,r)=>{n[RT]||(n[RT]=!0,e.forEach(a=>n.use(a)),r&&RS(r,n,!0))}}),rse=Oe({zIndex:{type:he([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),ase={scroll:({scrollTop:e,fixed:t})=>ot(e)&&Jn(t),[Tn]:e=>Jn(e)};var Ne=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};const ZN="ElAffix",ise=te({name:ZN}),ose=te({...ise,props:rse,emits:ase,setup(e,{expose:t,emit:n}){const r=e,a=Ee("affix"),i=xn(),o=xn(),l=xn(),{height:s}=HJ(),{height:u,width:c,top:f,bottom:d,update:h}=K7(o,{windowScroll:!1}),v=K7(i),p=j(!1),g=j(0),m=j(0),b=L(()=>({height:p.value?`${u.value}px`:"",width:p.value?`${c.value}px`:""})),_=L(()=>{if(!p.value)return{};const S=r.offset?Fn(r.offset):0;return{height:`${u.value}px`,width:`${c.value}px`,top:r.position==="top"?S:"",bottom:r.position==="bottom"?S:"",transform:m.value?`translateY(${m.value}px)`:"",zIndex:r.zIndex}}),w=()=>{if(l.value)if(g.value=l.value instanceof Window?document.documentElement.scrollTop:l.value.scrollTop||0,r.position==="top")if(r.target){const S=v.bottom.value-r.offset-u.value;p.value=r.offset>f.value&&v.bottom.value>0,m.value=S<0?S:0}else p.value=r.offset>f.value;else if(r.target){const S=s.value-v.top.value-r.offset-u.value;p.value=s.value-r.offset<d.value&&s.value>v.top.value,m.value=S<0?-S:0}else p.value=s.value-r.offset<d.value},x=()=>{h(),n("scroll",{scrollTop:g.value,fixed:p.value})};return ke(p,S=>n("change",S)),bt(()=>{var S;r.target?(i.value=(S=document.querySelector(r.target))!=null?S:void 0,i.value||or(ZN,`Target does not exist: ${r.target}`)):i.value=document.documentElement,l.value=iS(o.value,!0),h()}),Sn(l,"scroll",x),Or(w),t({update:w,updateRoot:h}),(S,C)=>(k(),F("div",{ref_key:"root",ref:o,class:q(y(a).b()),style:Be(y(b))},[X("div",{class:q({[y(a).m("fixed")]:p.value}),style:Be(y(_))},[me(S.$slots,"default")],6)],6))}});var lse=Ne(ose,[["__file","affix.vue"]]);const sse=St(lse),use=Oe({size:{type:he([Number,String])},color:{type:String}}),cse=te({name:"ElIcon",inheritAttrs:!1}),fse=te({...cse,props:use,setup(e){const t=e,n=Ee("icon"),r=L(()=>{const{size:a,color:i}=t;return!a&&!i?{}:{fontSize:Xn(a)?void 0:Fn(a),"--color":i}});return(a,i)=>(k(),F("i",Pt({class:y(n).b(),style:y(r)},a.$attrs),[me(a.$slots,"default")],16))}});var dse=Ne(fse,[["__file","icon.vue"]]);const Ze=St(dse),hse=["light","dark"],vse=Oe({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:wd(js),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:hse,default:"light"}}),pse={close:e=>e instanceof MouseEvent},gse=te({name:"ElAlert"}),mse=te({...gse,props:vse,emits:pse,setup(e,{emit:t}){const n=e,{Close:r}=fS,a=Tr(),i=Ee("alert"),o=j(!0),l=L(()=>js[n.type]),s=L(()=>[i.e("icon"),{[i.is("big")]:!!n.description||!!a.default}]),u=L(()=>({"with-description":n.description||a.default})),c=f=>{o.value=!1,t("close",f)};return(f,d)=>(k(),Y(ir,{name:y(i).b("fade"),persisted:""},{default:M(()=>[mt(X("div",{class:q([y(i).b(),y(i).m(f.type),y(i).is("center",f.center),y(i).is(f.effect)]),role:"alert"},[f.showIcon&&y(l)?(k(),Y(y(Ze),{key:0,class:q(y(s))},{default:M(()=>[(k(),Y(It(y(l))))]),_:1},8,["class"])):Q("v-if",!0),X("div",{class:q(y(i).e("content"))},[f.title||f.$slots.title?(k(),F("span",{key:0,class:q([y(i).e("title"),y(u)])},[me(f.$slots,"title",{},()=>[G(U(f.title),1)])],2)):Q("v-if",!0),f.$slots.default||f.description?(k(),F("p",{key:1,class:q(y(i).e("description"))},[me(f.$slots,"default",{},()=>[G(U(f.description),1)])],2)):Q("v-if",!0),f.closable?(k(),F(de,{key:2},[f.closeText?(k(),F("div",{key:0,class:q([y(i).e("close-btn"),y(i).is("customed")]),onClick:c},U(f.closeText),3)):(k(),Y(y(Ze),{key:1,class:q(y(i).e("close-btn")),onClick:c},{default:M(()=>[I(y(r))]),_:1},8,["class"]))],64)):Q("v-if",!0)],2)],2),[[en,o.value]])]),_:3},8,["name"]))}});var yse=Ne(mse,[["__file","alert.vue"]]);const bse=St(yse),Xc=Symbol("formContextKey"),Oo=Symbol("formItemContextKey"),tr=(e,t={})=>{const n=j(void 0),r=t.prop?n:wN("size"),a=t.global?n:Ule(),i=t.form?{size:void 0}:Ye(Xc,void 0),o=t.formItem?{size:void 0}:Ye(Oo,void 0);return L(()=>r.value||y(e)||(o==null?void 0:o.size)||(i==null?void 0:i.size)||a.value||"")},ma=e=>{const t=wN("disabled"),n=Ye(Xc,void 0);return L(()=>t.value||y(e)||(n==null?void 0:n.disabled)||!1)},Qr=()=>{const e=Ye(Xc,void 0),t=Ye(Oo,void 0);return{form:e,formItem:t}},ro=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=j(!1)),r||(r=j(!1));const a=j();let i;const o=L(()=>{var l;return!!(!(e.label||e.ariaLabel)&&t&&t.inputIds&&((l=t.inputIds)==null?void 0:l.length)<=1)});return bt(()=>{i=ke([mn(e,"id"),n],([l,s])=>{const u=l??(s?void 0:Vr().value);u!==a.value&&(t!=null&&t.removeInputId&&(a.value&&t.removeInputId(a.value),!(r!=null&&r.value)&&!s&&u&&t.addInputId(u)),a.value=u)},{immediate:!0})}),Ho(()=>{i&&i(),t!=null&&t.removeInputId&&a.value&&t.removeInputId(a.value)}),{isLabeledByFormItem:o,inputId:a}},_se=Oe({size:{type:String,values:jo},disabled:Boolean}),wse=Oe({..._se,model:Object,rules:{type:he(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:[Object,Boolean]}}),xse={validate:(e,t,n)=>(We(e)||vt(e))&&Jn(t)&&vt(n)};function Sse(){const e=j([]),t=L(()=>{if(!e.value.length)return"0";const i=Math.max(...e.value);return i?`${i}px`:""});function n(i){const o=e.value.indexOf(i);return o===-1&&t.value,o}function r(i,o){if(i&&o){const l=n(o);e.value.splice(l,1,i)}else i&&e.value.push(i)}function a(i){const o=n(i);o>-1&&e.value.splice(o,1)}return{autoLabelWidth:t,registerLabelWidth:r,deregisterLabelWidth:a}}const fg=(e,t)=>{const n=Bs(t);return n.length>0?e.filter(r=>r.prop&&n.includes(r.prop)):e},Cse="ElForm",Tse=te({name:Cse}),kse=te({...Tse,props:wse,emits:xse,setup(e,{expose:t,emit:n}){const r=e,a=[],i=tr(),o=Ee("form"),l=L(()=>{const{labelPosition:_,inline:w}=r;return[o.b(),o.m(i.value||"default"),{[o.m(`label-${_}`)]:_,[o.m("inline")]:w}]}),s=_=>a.find(w=>w.prop===_),u=_=>{a.push(_)},c=_=>{_.prop&&a.splice(a.indexOf(_),1)},f=(_=[])=>{r.model&&fg(a,_).forEach(w=>w.resetField())},d=(_=[])=>{fg(a,_).forEach(w=>w.clearValidate())},h=L(()=>!!r.model),v=_=>{if(a.length===0)return[];const w=fg(a,_);return w.length?w:[]},p=async _=>m(void 0,_),g=async(_=[])=>{if(!h.value)return!1;const w=v(_);if(w.length===0)return!0;let x={};for(const S of w)try{await S.validate("")}catch(C){x={...x,...C}}return Object.keys(x).length===0?!0:Promise.reject(x)},m=async(_=[],w)=>{const x=!st(w);try{const S=await g(_);return S===!0&&await(w==null?void 0:w(S)),S}catch(S){if(S instanceof Error)throw S;const C=S;return r.scrollToError&&b(Object.keys(C)[0]),await(w==null?void 0:w(!1,C)),x&&Promise.reject(C)}},b=_=>{var w;const x=fg(a,_)[0];x&&((w=x.$el)==null||w.scrollIntoView(r.scrollIntoViewOptions))};return ke(()=>r.rules,()=>{r.validateOnRuleChange&&p().catch(_=>void 0)},{deep:!0}),Rt(Xc,nn({...Ar(r),emit:n,resetFields:f,clearValidate:d,validateField:m,getField:s,addField:u,removeField:c,...Sse()})),t({validate:p,validateField:m,resetFields:f,clearValidate:d,scrollToField:b,fields:a}),(_,w)=>(k(),F("form",{class:q(y(l))},[me(_.$slots,"default")],2))}});var zse=Ne(kse,[["__file","form.vue"]]);function Qu(){return Qu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qu.apply(this,arguments)}function Mse(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,_1(e,t)}function S4(e){return S4=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},S4(e)}function _1(e,t){return _1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},_1(e,t)}function Ase(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function N0(e,t,n){return Ase()?N0=Reflect.construct.bind():N0=function(a,i,o){var l=[null];l.push.apply(l,i);var s=Function.bind.apply(a,l),u=new s;return o&&_1(u,o.prototype),u},N0.apply(null,arguments)}function Ese(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function C4(e){var t=typeof Map=="function"?new Map:void 0;return C4=function(r){if(r===null||!Ese(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return N0(r,arguments,S4(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),_1(a,r)},C4(e)}var Ise=/%[sdj%]/g,Dse=function(){};function T4(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Ba(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var a=0,i=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var o=e.replace(Ise,function(l){if(l==="%%")return"%";if(a>=i)return l;switch(l){case"%s":return String(n[a++]);case"%d":return Number(n[a++]);case"%j":try{return JSON.stringify(n[a++])}catch{return"[Circular]"}break;default:return l}});return o}return e}function Lse(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function xr(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Lse(t)&&typeof e=="string"&&!e)}function Pse(e,t,n){var r=[],a=0,i=e.length;function o(l){r.push.apply(r,l||[]),a++,a===i&&n(r)}e.forEach(function(l){t(l,o)})}function rk(e,t,n){var r=0,a=e.length;function i(o){if(o&&o.length){n(o);return}var l=r;r=r+1,l<a?t(e[l],i):n([])}i([])}function Rse(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var ak=function(e){Mse(t,e);function t(n,r){var a;return a=e.call(this,"Async Validation Error")||this,a.errors=n,a.fields=r,a}return t}(C4(Error));function Ose(e,t,n,r,a){if(t.first){var i=new Promise(function(d,h){var v=function(m){return r(m),m.length?h(new ak(m,T4(m))):d(a)},p=Rse(e);rk(p,n,v)});return i.catch(function(d){return d}),i}var o=t.firstFields===!0?Object.keys(e):t.firstFields||[],l=Object.keys(e),s=l.length,u=0,c=[],f=new Promise(function(d,h){var v=function(g){if(c.push.apply(c,g),u++,u===s)return r(c),c.length?h(new ak(c,T4(c))):d(a)};l.length||(r(c),d(a)),l.forEach(function(p){var g=e[p];o.indexOf(p)!==-1?rk(g,n,v):Pse(g,n,v)})});return f.catch(function(d){return d}),f}function Nse(e){return!!(e&&e.message!==void 0)}function $se(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function ik(e,t){return function(n){var r;return e.fullFields?r=$se(t,e.fullFields):r=t[n.field||e.fullField],Nse(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function ok(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=Qu({},e[n],r):e[n]=r}}return e}var JN=function(t,n,r,a,i,o){t.required&&(!r.hasOwnProperty(t.field)||xr(n,o||t.type))&&a.push(Ba(i.messages.required,t.fullField))},Vse=function(t,n,r,a,i){(/^\s+$/.test(n)||n==="")&&a.push(Ba(i.messages.whitespace,t.fullField))},dg,Bse=function(){if(dg)return dg;var e="[a-fA-F\\d:]",t=function(w){return w&&w.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",a=(`
  33. (?:
  34. (?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
  35. (?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
  36. (?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
  37. (?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
  38. (?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
  39. (?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
  40. (?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
  41. (?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
  42. )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
  43. `).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),i=new RegExp("(?:^"+n+"$)|(?:^"+a+"$)"),o=new RegExp("^"+n+"$"),l=new RegExp("^"+a+"$"),s=function(w){return w&&w.exact?i:new RegExp("(?:"+t(w)+n+t(w)+")|(?:"+t(w)+a+t(w)+")","g")};s.v4=function(_){return _&&_.exact?o:new RegExp(""+t(_)+n+t(_),"g")},s.v6=function(_){return _&&_.exact?l:new RegExp(""+t(_)+a+t(_),"g")};var u="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",f=s.v4().source,d=s.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",v="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",p="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",g="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',b="(?:"+u+"|www\\.)"+c+"(?:localhost|"+f+"|"+d+"|"+h+v+p+")"+g+m;return dg=new RegExp("(?:^"+b+"$)","i"),dg},lk={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},sv={integer:function(t){return sv.number(t)&&parseInt(t,10)===t},float:function(t){return sv.number(t)&&!sv.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!sv.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(lk.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Bse())},hex:function(t){return typeof t=="string"&&!!t.match(lk.hex)}},Fse=function(t,n,r,a,i){if(t.required&&n===void 0){JN(t,n,r,a,i);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;o.indexOf(l)>-1?sv[l](n)||a.push(Ba(i.messages.types[l],t.fullField,t.type)):l&&typeof n!==t.type&&a.push(Ba(i.messages.types[l],t.fullField,t.type))},Hse=function(t,n,r,a,i){var o=typeof t.len=="number",l=typeof t.min=="number",s=typeof t.max=="number",u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,f=null,d=typeof n=="number",h=typeof n=="string",v=Array.isArray(n);if(d?f="number":h?f="string":v&&(f="array"),!f)return!1;v&&(c=n.length),h&&(c=n.replace(u,"_").length),o?c!==t.len&&a.push(Ba(i.messages[f].len,t.fullField,t.len)):l&&!s&&c<t.min?a.push(Ba(i.messages[f].min,t.fullField,t.min)):s&&!l&&c>t.max?a.push(Ba(i.messages[f].max,t.fullField,t.max)):l&&s&&(c<t.min||c>t.max)&&a.push(Ba(i.messages[f].range,t.fullField,t.min,t.max))},lf="enum",jse=function(t,n,r,a,i){t[lf]=Array.isArray(t[lf])?t[lf]:[],t[lf].indexOf(n)===-1&&a.push(Ba(i.messages[lf],t.fullField,t[lf].join(", ")))},qse=function(t,n,r,a,i){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||a.push(Ba(i.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||a.push(Ba(i.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},gn={required:JN,whitespace:Vse,type:Fse,range:Hse,enum:jse,pattern:qse},Gse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n,"string")&&!t.required)return r();gn.required(t,n,a,o,i,"string"),xr(n,"string")||(gn.type(t,n,a,o,i),gn.range(t,n,a,o,i),gn.pattern(t,n,a,o,i),t.whitespace===!0&&gn.whitespace(t,n,a,o,i))}r(o)},Wse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),n!==void 0&&gn.type(t,n,a,o,i)}r(o)},Use=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(n===""&&(n=void 0),xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),n!==void 0&&(gn.type(t,n,a,o,i),gn.range(t,n,a,o,i))}r(o)},Yse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),n!==void 0&&gn.type(t,n,a,o,i)}r(o)},Kse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),xr(n)||gn.type(t,n,a,o,i)}r(o)},Xse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),n!==void 0&&(gn.type(t,n,a,o,i),gn.range(t,n,a,o,i))}r(o)},Zse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),n!==void 0&&(gn.type(t,n,a,o,i),gn.range(t,n,a,o,i))}r(o)},Jse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(n==null&&!t.required)return r();gn.required(t,n,a,o,i,"array"),n!=null&&(gn.type(t,n,a,o,i),gn.range(t,n,a,o,i))}r(o)},Qse=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),n!==void 0&&gn.type(t,n,a,o,i)}r(o)},eue="enum",tue=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i),n!==void 0&&gn[eue](t,n,a,o,i)}r(o)},nue=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n,"string")&&!t.required)return r();gn.required(t,n,a,o,i),xr(n,"string")||gn.pattern(t,n,a,o,i)}r(o)},rue=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n,"date")&&!t.required)return r();if(gn.required(t,n,a,o,i),!xr(n,"date")){var s;n instanceof Date?s=n:s=new Date(n),gn.type(t,s,a,o,i),s&&gn.range(t,s.getTime(),a,o,i)}}r(o)},aue=function(t,n,r,a,i){var o=[],l=Array.isArray(n)?"array":typeof n;gn.required(t,n,a,o,i,l),r(o)},tb=function(t,n,r,a,i){var o=t.type,l=[],s=t.required||!t.required&&a.hasOwnProperty(t.field);if(s){if(xr(n,o)&&!t.required)return r();gn.required(t,n,a,l,i,o),xr(n,o)||gn.type(t,n,a,l,i)}r(l)},iue=function(t,n,r,a,i){var o=[],l=t.required||!t.required&&a.hasOwnProperty(t.field);if(l){if(xr(n)&&!t.required)return r();gn.required(t,n,a,o,i)}r(o)},Nv={string:Gse,method:Wse,number:Use,boolean:Yse,regexp:Kse,integer:Xse,float:Zse,array:Jse,object:Qse,enum:tue,pattern:nue,date:rue,url:tb,hex:tb,email:tb,required:aue,any:iue};function k4(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var z4=k4(),xp=function(){function e(n){this.rules=null,this._messages=z4,this.define(n)}var t=e.prototype;return t.define=function(r){var a=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(i){var o=r[i];a.rules[i]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=ok(k4(),r)),this._messages},t.validate=function(r,a,i){var o=this;a===void 0&&(a={}),i===void 0&&(i=function(){});var l=r,s=a,u=i;if(typeof s=="function"&&(u=s,s={}),!this.rules||Object.keys(this.rules).length===0)return u&&u(null,l),Promise.resolve(l);function c(p){var g=[],m={};function b(w){if(Array.isArray(w)){var x;g=(x=g).concat.apply(x,w)}else g.push(w)}for(var _=0;_<p.length;_++)b(p[_]);g.length?(m=T4(g),u(g,m)):u(null,l)}if(s.messages){var f=this.messages();f===z4&&(f=k4()),ok(f,s.messages),s.messages=f}else s.messages=this.messages();var d={},h=s.keys||Object.keys(this.rules);h.forEach(function(p){var g=o.rules[p],m=l[p];g.forEach(function(b){var _=b;typeof _.transform=="function"&&(l===r&&(l=Qu({},l)),m=l[p]=_.transform(m)),typeof _=="function"?_={validator:_}:_=Qu({},_),_.validator=o.getValidationMethod(_),_.validator&&(_.field=p,_.fullField=_.fullField||p,_.type=o.getType(_),d[p]=d[p]||[],d[p].push({rule:_,value:m,source:l,field:p}))})});var v={};return Ose(d,s,function(p,g){var m=p.rule,b=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");b=b&&(m.required||!m.required&&p.value),m.field=p.field;function _(S,C){return Qu({},C,{fullField:m.fullField+"."+S,fullFields:m.fullFields?[].concat(m.fullFields,[S]):[S]})}function w(S){S===void 0&&(S=[]);var C=Array.isArray(S)?S:[S];!s.suppressWarning&&C.length&&e.warning("async-validator:",C),C.length&&m.message!==void 0&&(C=[].concat(m.message));var T=C.map(ik(m,l));if(s.first&&T.length)return v[m.field]=1,g(T);if(!b)g(T);else{if(m.required&&!p.value)return m.message!==void 0?T=[].concat(m.message).map(ik(m,l)):s.error&&(T=[s.error(m,Ba(s.messages.required,m.field))]),g(T);var z={};m.defaultField&&Object.keys(p.value).map(function(D){z[D]=m.defaultField}),z=Qu({},z,p.rule.fields);var A={};Object.keys(z).forEach(function(D){var $=z[D],O=Array.isArray($)?$:[$];A[D]=O.map(_.bind(null,D))});var E=new e(A);E.messages(s.messages),p.rule.options&&(p.rule.options.messages=s.messages,p.rule.options.error=s.error),E.validate(p.value,p.rule.options||s,function(D){var $=[];T&&T.length&&$.push.apply($,T),D&&D.length&&$.push.apply($,D),g($.length?$:null)})}}var x;if(m.asyncValidator)x=m.asyncValidator(m,p.value,w,p.source,s);else if(m.validator){try{x=m.validator(m,p.value,w,p.source,s)}catch(S){console.error==null||console.error(S),s.suppressValidatorError||setTimeout(function(){throw S},0),w(S.message)}x===!0?w():x===!1?w(typeof m.message=="function"?m.message(m.fullField||m.field):m.message||(m.fullField||m.field)+" fails"):x instanceof Array?w(x):x instanceof Error&&w(x.message)}x&&x.then&&x.then(function(){return w()},function(S){return w(S)})},function(p){c(p)},l)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!Nv.hasOwnProperty(r.type))throw new Error(Ba("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var a=Object.keys(r),i=a.indexOf("message");return i!==-1&&a.splice(i,1),a.length===1&&a[0]==="required"?Nv.required:Nv[this.getType(r)]||void 0},e}();xp.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Nv[t]=n};xp.warning=Dse;xp.messages=z4;xp.validators=Nv;const oue=["","error","validating","success"],lue=Oe({label:String,labelWidth:{type:[String,Number],default:""},prop:{type:he([String,Array])},required:{type:Boolean,default:void 0},rules:{type:he([Object,Array])},error:String,validateStatus:{type:String,values:oue},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:jo}}),sk="ElLabelWrap";var sue=te({name:sk,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=Ye(Xc,void 0),r=Ye(Oo);r||or(sk,"usage: <el-form-item><label-wrap /></el-form-item>");const a=Ee("form"),i=j(),o=j(0),l=()=>{var c;if((c=i.value)!=null&&c.firstElementChild){const f=window.getComputedStyle(i.value.firstElementChild).width;return Math.ceil(Number.parseFloat(f))}else return 0},s=(c="update")=>{nt(()=>{t.default&&e.isAutoWidth&&(c==="update"?o.value=l():c==="remove"&&(n==null||n.deregisterLabelWidth(o.value)))})},u=()=>s("update");return bt(()=>{u()}),wn(()=>{s("remove")}),Ll(()=>u()),ke(o,(c,f)=>{e.updateAll&&(n==null||n.registerLabelWidth(c,f))}),Pn(L(()=>{var c,f;return(f=(c=i.value)==null?void 0:c.firstElementChild)!=null?f:null}),u),()=>{var c,f;if(!t)return null;const{isAutoWidth:d}=e;if(d){const h=n==null?void 0:n.autoLabelWidth,v=r==null?void 0:r.hasLabel,p={};if(v&&h&&h!=="auto"){const g=Math.max(0,Number.parseInt(h,10)-o.value),m=n.labelPosition==="left"?"marginRight":"marginLeft";g&&(p[m]=`${g}px`)}return I("div",{ref:i,class:[a.be("item","label-wrap")],style:p},[(c=t.default)==null?void 0:c.call(t)])}else return I(de,{ref:i},[(f=t.default)==null?void 0:f.call(t)])}}});const uue=["role","aria-labelledby"],cue=te({name:"ElFormItem"}),fue=te({...cue,props:lue,setup(e,{expose:t}){const n=e,r=Tr(),a=Ye(Xc,void 0),i=Ye(Oo,void 0),o=tr(void 0,{formItem:!1}),l=Ee("form-item"),s=Vr().value,u=j([]),c=j(""),f=CJ(c,100),d=j(""),h=j();let v,p=!1;const g=L(()=>{if((a==null?void 0:a.labelPosition)==="top")return{};const ae=Fn(n.labelWidth||(a==null?void 0:a.labelWidth)||"");return ae?{width:ae}:{}}),m=L(()=>{if((a==null?void 0:a.labelPosition)==="top"||a!=null&&a.inline)return{};if(!n.label&&!n.labelWidth&&z)return{};const ae=Fn(n.labelWidth||(a==null?void 0:a.labelWidth)||"");return!n.label&&!r.label?{marginLeft:ae}:{}}),b=L(()=>[l.b(),l.m(o.value),l.is("error",c.value==="error"),l.is("validating",c.value==="validating"),l.is("success",c.value==="success"),l.is("required",O.value||n.required),l.is("no-asterisk",a==null?void 0:a.hideRequiredAsterisk),(a==null?void 0:a.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[l.m("feedback")]:a==null?void 0:a.statusIcon}]),_=L(()=>Jn(n.inlineMessage)?n.inlineMessage:(a==null?void 0:a.inlineMessage)||!1),w=L(()=>[l.e("error"),{[l.em("error","inline")]:_.value}]),x=L(()=>n.prop?vt(n.prop)?n.prop:n.prop.join("."):""),S=L(()=>!!(n.label||r.label)),C=L(()=>n.for||(u.value.length===1?u.value[0]:void 0)),T=L(()=>!C.value&&S.value),z=!!i,A=L(()=>{const ae=a==null?void 0:a.model;if(!(!ae||!n.prop))return R0(ae,n.prop).value}),E=L(()=>{const{required:ae}=n,ie=[];n.rules&&ie.push(...Bs(n.rules));const ve=a==null?void 0:a.rules;if(ve&&n.prop){const ce=R0(ve,n.prop).value;ce&&ie.push(...Bs(ce))}if(ae!==void 0){const ce=ie.map((fe,xe)=>[fe,xe]).filter(([fe])=>Object.keys(fe).includes("required"));if(ce.length>0)for(const[fe,xe]of ce)fe.required!==ae&&(ie[xe]={...fe,required:ae});else ie.push({required:ae})}return ie}),D=L(()=>E.value.length>0),$=ae=>E.value.filter(ve=>!ve.trigger||!ae?!0:Array.isArray(ve.trigger)?ve.trigger.includes(ae):ve.trigger===ae).map(({trigger:ve,...ce})=>ce),O=L(()=>E.value.some(ae=>ae.required)),R=L(()=>{var ae;return f.value==="error"&&n.showMessage&&((ae=a==null?void 0:a.showMessage)!=null?ae:!0)}),N=L(()=>`${n.label||""}${(a==null?void 0:a.labelSuffix)||""}`),B=ae=>{c.value=ae},V=ae=>{var ie,ve;const{errors:ce,fields:fe}=ae;(!ce||!fe)&&console.error(ae),B("error"),d.value=ce?(ve=(ie=ce==null?void 0:ce[0])==null?void 0:ie.message)!=null?ve:`${n.prop} is required`:"",a==null||a.emit("validate",n.prop,!1,d.value)},P=()=>{B("success"),a==null||a.emit("validate",n.prop,!0,"")},W=async ae=>{const ie=x.value;return new xp({[ie]:ae}).validate({[ie]:A.value},{firstFields:!0}).then(()=>(P(),!0)).catch(ce=>(V(ce),Promise.reject(ce)))},Z=async(ae,ie)=>{if(p||!n.prop)return!1;const ve=st(ie);if(!D.value)return ie==null||ie(!1),!1;const ce=$(ae);return ce.length===0?(ie==null||ie(!0),!0):(B("validating"),W(ce).then(()=>(ie==null||ie(!0),!0)).catch(fe=>{const{fields:xe}=fe;return ie==null||ie(!1,xe),ve?!1:Promise.reject(xe)}))},ee=()=>{B(""),d.value="",p=!1},re=async()=>{const ae=a==null?void 0:a.model;if(!ae||!n.prop)return;const ie=R0(ae,n.prop);p=!0,ie.value=zT(v),await nt(),ee(),p=!1},ue=ae=>{u.value.includes(ae)||u.value.push(ae)},ye=ae=>{u.value=u.value.filter(ie=>ie!==ae)};ke(()=>n.error,ae=>{d.value=ae||"",B(ae?"error":"")},{immediate:!0}),ke(()=>n.validateStatus,ae=>B(ae||""));const le=nn({...Ar(n),$el:h,size:o,validateState:c,labelId:s,inputIds:u,isGroup:T,hasLabel:S,fieldValue:A,addInputId:ue,removeInputId:ye,resetField:re,clearValidate:ee,validate:Z});return Rt(Oo,le),bt(()=>{n.prop&&(a==null||a.addField(le),v=zT(A.value))}),wn(()=>{a==null||a.removeField(le)}),t({size:o,validateMessage:d,validateState:c,validate:Z,clearValidate:ee,resetField:re}),(ae,ie)=>{var ve;return k(),F("div",{ref_key:"formItemRef",ref:h,class:q(y(b)),role:y(T)?"group":void 0,"aria-labelledby":y(T)?y(s):void 0},[I(y(sue),{"is-auto-width":y(g).width==="auto","update-all":((ve=y(a))==null?void 0:ve.labelWidth)==="auto"},{default:M(()=>[y(S)?(k(),Y(It(y(C)?"label":"div"),{key:0,id:y(s),for:y(C),class:q(y(l).e("label")),style:Be(y(g))},{default:M(()=>[me(ae.$slots,"label",{label:y(N)},()=>[G(U(y(N)),1)])]),_:3},8,["id","for","class","style"])):Q("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),X("div",{class:q(y(l).e("content")),style:Be(y(m))},[me(ae.$slots,"default"),I(GR,{name:`${y(l).namespace.value}-zoom-in-top`},{default:M(()=>[y(R)?me(ae.$slots,"error",{key:0,error:d.value},()=>[X("div",{class:q(y(w))},U(d.value),3)]):Q("v-if",!0)]),_:3},8,["name"])],6)],10,uue)}}});var QN=Ne(fue,[["__file","form-item.vue"]]);const due=St(zse,{FormItem:QN}),hue=On(QN);let Li;const vue=`
  44. height:0 !important;
  45. visibility:hidden !important;
  46. ${bO()?"":"overflow:hidden !important;"}
  47. position:absolute !important;
  48. z-index:-1000 !important;
  49. top:0 !important;
  50. right:0 !important;
  51. `,pue=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function gue(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),a=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:pue.map(o=>`${o}:${t.getPropertyValue(o)}`).join(";"),paddingSize:r,borderSize:a,boxSizing:n}}function uk(e,t=1,n){var r;Li||(Li=document.createElement("textarea"),document.body.appendChild(Li));const{paddingSize:a,borderSize:i,boxSizing:o,contextStyle:l}=gue(e);Li.setAttribute("style",`${l};${vue}`),Li.value=e.value||e.placeholder||"";let s=Li.scrollHeight;const u={};o==="border-box"?s=s+i:o==="content-box"&&(s=s-a),Li.value="";const c=Li.scrollHeight-a;if(ot(t)){let f=c*t;o==="border-box"&&(f=f+a+i),s=Math.max(f,s),u.minHeight=`${f}px`}if(ot(n)){let f=c*n;o==="border-box"&&(f=f+a+i),s=Math.min(f,s)}return u.height=`${s}px`,(r=Li.parentNode)==null||r.removeChild(Li),Li=void 0,u}const mue=Oe({id:{type:String,default:void 0},size:cr,disabled:Boolean,modelValue:{type:he([String,Number,Object]),default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:he([Boolean,Object]),default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:hn},prefixIcon:{type:hn},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:he([Object,Array,String]),default:()=>Rn({})},autofocus:{type:Boolean,default:!1},...Er(["ariaLabel"])}),yue={[Mt]:e=>vt(e),input:e=>vt(e),change:e=>vt(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},bue=["role"],_ue=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],wue=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],xue=te({name:"ElInput",inheritAttrs:!1}),Sue=te({...xue,props:mue,emits:yue,setup(e,{expose:t,emit:n}){const r=e,a=qc(),i=Tr(),o=L(()=>{const ze={};return r.containerRole==="combobox"&&(ze["aria-haspopup"]=a["aria-haspopup"],ze["aria-owns"]=a["aria-owns"],ze["aria-expanded"]=a["aria-expanded"]),ze}),l=L(()=>[r.type==="textarea"?g.b():p.b(),p.m(h.value),p.is("disabled",v.value),p.is("exceed",ue.value),{[p.b("group")]:i.prepend||i.append,[p.bm("group","append")]:i.append,[p.bm("group","prepend")]:i.prepend,[p.m("prefix")]:i.prefix||r.prefixIcon,[p.m("suffix")]:i.suffix||r.suffixIcon||r.clearable||r.showPassword,[p.bm("suffix","password-clear")]:W.value&&Z.value,[p.b("hidden")]:r.type==="hidden"},a.class]),s=L(()=>[p.e("wrapper"),p.is("focus",A.value)]),u=vS({excludeKeys:L(()=>Object.keys(o.value))}),{form:c,formItem:f}=Qr(),{inputId:d}=ro(r,{formItemContext:f}),h=tr(),v=ma(),p=Ee("input"),g=Ee("textarea"),m=xn(),b=xn(),_=j(!1),w=j(!1),x=j(!1),S=j(),C=xn(r.inputStyle),T=L(()=>m.value||b.value),{wrapperRef:z,isFocused:A,handleFocus:E,handleBlur:D}=Ay(T,{afterBlur(){var ze;r.validateEvent&&((ze=f==null?void 0:f.validate)==null||ze.call(f,"blur").catch(Ke=>void 0))}}),$=L(()=>{var ze;return(ze=c==null?void 0:c.statusIcon)!=null?ze:!1}),O=L(()=>(f==null?void 0:f.validateState)||""),R=L(()=>O.value&&dS[O.value]),N=L(()=>x.value?kie:Xae),B=L(()=>[a.style]),V=L(()=>[r.inputStyle,C.value,{resize:r.resize}]),P=L(()=>br(r.modelValue)?"":String(r.modelValue)),W=L(()=>r.clearable&&!v.value&&!r.readonly&&!!P.value&&(A.value||_.value)),Z=L(()=>r.showPassword&&!v.value&&!r.readonly&&!!P.value&&(!!P.value||A.value)),ee=L(()=>r.showWordLimit&&!!r.maxlength&&(r.type==="text"||r.type==="textarea")&&!v.value&&!r.readonly&&!r.showPassword),re=L(()=>P.value.length),ue=L(()=>!!ee.value&&re.value>Number(r.maxlength)),ye=L(()=>!!i.suffix||!!r.suffixIcon||W.value||r.showPassword||ee.value||!!O.value&&$.value),[le,ae]=Gle(m);Pn(b,ze=>{if(ce(),!ee.value||r.resize!=="both")return;const Ke=ze[0],{width:ut}=Ke.contentRect;S.value={right:`calc(100% - ${ut+15+6}px)`}});const ie=()=>{const{type:ze,autosize:Ke}=r;if(!(!Wt||ze!=="textarea"||!b.value))if(Ke){const ut=zt(Ke)?Ke.minRows:void 0,Et=zt(Ke)?Ke.maxRows:void 0,Ct=uk(b.value,ut,Et);C.value={overflowY:"hidden",...Ct},nt(()=>{b.value.offsetHeight,C.value=Ct})}else C.value={minHeight:uk(b.value).minHeight}},ce=(ze=>{let Ke=!1;return()=>{var ut;if(Ke||!r.autosize)return;((ut=b.value)==null?void 0:ut.offsetParent)===null||(ze(),Ke=!0)}})(ie),fe=()=>{const ze=T.value,Ke=r.formatter?r.formatter(P.value):P.value;!ze||ze.value===Ke||(ze.value=Ke)},xe=async ze=>{le();let{value:Ke}=ze.target;if(r.formatter&&(Ke=r.parser?r.parser(Ke):Ke),!w.value){if(Ke===P.value){fe();return}n(Mt,Ke),n("input",Ke),await nt(),fe(),ae()}},J=ze=>{n("change",ze.target.value)},oe=ze=>{n("compositionstart",ze),w.value=!0},pe=ze=>{var Ke;n("compositionupdate",ze);const ut=(Ke=ze.target)==null?void 0:Ke.value,Et=ut[ut.length-1]||"";w.value=!hS(Et)},Te=ze=>{n("compositionend",ze),w.value&&(w.value=!1,xe(ze))},ge=()=>{x.value=!x.value,Ae()},Ae=async()=>{var ze;await nt(),(ze=T.value)==null||ze.focus()},De=()=>{var ze;return(ze=T.value)==null?void 0:ze.blur()},Pe=ze=>{_.value=!1,n("mouseleave",ze)},Re=ze=>{_.value=!0,n("mouseenter",ze)},Ce=ze=>{n("keydown",ze)},Ue=()=>{var ze;(ze=T.value)==null||ze.select()},Je=()=>{n(Mt,""),n("change",""),n("clear"),n("input","")};return ke(()=>r.modelValue,()=>{var ze;nt(()=>ie()),r.validateEvent&&((ze=f==null?void 0:f.validate)==null||ze.call(f,"change").catch(Ke=>void 0))}),ke(P,()=>fe()),ke(()=>r.type,async()=>{await nt(),fe(),ie()}),bt(()=>{!r.formatter&&r.parser,fe(),nt(ie)}),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input",ref:"https://element-plus.org/en-US/component/input.html"},L(()=>!!r.label)),t({input:m,textarea:b,ref:T,textareaStyle:V,autosize:mn(r,"autosize"),focus:Ae,blur:De,select:Ue,clear:Je,resizeTextarea:ie}),(ze,Ke)=>(k(),F("div",Pt(y(o),{class:y(l),style:y(B),role:ze.containerRole,onMouseenter:Re,onMouseleave:Pe}),[Q(" input "),ze.type!=="textarea"?(k(),F(de,{key:0},[Q(" prepend slot "),ze.$slots.prepend?(k(),F("div",{key:0,class:q(y(p).be("group","prepend"))},[me(ze.$slots,"prepend")],2)):Q("v-if",!0),X("div",{ref_key:"wrapperRef",ref:z,class:q(y(s))},[Q(" prefix slot "),ze.$slots.prefix||ze.prefixIcon?(k(),F("span",{key:0,class:q(y(p).e("prefix"))},[X("span",{class:q(y(p).e("prefix-inner"))},[me(ze.$slots,"prefix"),ze.prefixIcon?(k(),Y(y(Ze),{key:0,class:q(y(p).e("icon"))},{default:M(()=>[(k(),Y(It(ze.prefixIcon)))]),_:1},8,["class"])):Q("v-if",!0)],2)],2)):Q("v-if",!0),X("input",Pt({id:y(d),ref_key:"input",ref:m,class:y(p).e("inner")},y(u),{minlength:ze.minlength,maxlength:ze.maxlength,type:ze.showPassword?x.value?"text":"password":ze.type,disabled:y(v),readonly:ze.readonly,autocomplete:ze.autocomplete,tabindex:ze.tabindex,"aria-label":ze.label||ze.ariaLabel,placeholder:ze.placeholder,style:ze.inputStyle,form:ze.form,autofocus:ze.autofocus,onCompositionstart:oe,onCompositionupdate:pe,onCompositionend:Te,onInput:xe,onFocus:Ke[0]||(Ke[0]=(...ut)=>y(E)&&y(E)(...ut)),onBlur:Ke[1]||(Ke[1]=(...ut)=>y(D)&&y(D)(...ut)),onChange:J,onKeydown:Ce}),null,16,_ue),Q(" suffix slot "),y(ye)?(k(),F("span",{key:1,class:q(y(p).e("suffix"))},[X("span",{class:q(y(p).e("suffix-inner"))},[!y(W)||!y(Z)||!y(ee)?(k(),F(de,{key:0},[me(ze.$slots,"suffix"),ze.suffixIcon?(k(),Y(y(Ze),{key:0,class:q(y(p).e("icon"))},{default:M(()=>[(k(),Y(It(ze.suffixIcon)))]),_:1},8,["class"])):Q("v-if",!0)],64)):Q("v-if",!0),y(W)?(k(),Y(y(Ze),{key:1,class:q([y(p).e("icon"),y(p).e("clear")]),onMousedown:ft(y(sn),["prevent"]),onClick:Je},{default:M(()=>[I(y(au))]),_:1},8,["class","onMousedown"])):Q("v-if",!0),y(Z)?(k(),Y(y(Ze),{key:2,class:q([y(p).e("icon"),y(p).e("password")]),onClick:ge},{default:M(()=>[(k(),Y(It(y(N))))]),_:1},8,["class"])):Q("v-if",!0),y(ee)?(k(),F("span",{key:3,class:q(y(p).e("count"))},[X("span",{class:q(y(p).e("count-inner"))},U(y(re))+" / "+U(ze.maxlength),3)],2)):Q("v-if",!0),y(O)&&y(R)&&y($)?(k(),Y(y(Ze),{key:4,class:q([y(p).e("icon"),y(p).e("validateIcon"),y(p).is("loading",y(O)==="validating")])},{default:M(()=>[(k(),Y(It(y(R))))]),_:1},8,["class"])):Q("v-if",!0)],2)],2)):Q("v-if",!0)],2),Q(" append slot "),ze.$slots.append?(k(),F("div",{key:1,class:q(y(p).be("group","append"))},[me(ze.$slots,"append")],2)):Q("v-if",!0)],64)):(k(),F(de,{key:1},[Q(" textarea "),X("textarea",Pt({id:y(d),ref_key:"textarea",ref:b,class:[y(g).e("inner"),y(p).is("focus",y(A))]},y(u),{minlength:ze.minlength,maxlength:ze.maxlength,tabindex:ze.tabindex,disabled:y(v),readonly:ze.readonly,autocomplete:ze.autocomplete,style:y(V),"aria-label":ze.label||ze.ariaLabel,placeholder:ze.placeholder,form:ze.form,autofocus:ze.autofocus,onCompositionstart:oe,onCompositionupdate:pe,onCompositionend:Te,onInput:xe,onFocus:Ke[2]||(Ke[2]=(...ut)=>y(E)&&y(E)(...ut)),onBlur:Ke[3]||(Ke[3]=(...ut)=>y(D)&&y(D)(...ut)),onChange:J,onKeydown:Ce}),null,16,wue),y(ee)?(k(),F("span",{key:0,style:Be(S.value),class:q(y(p).e("count"))},U(y(re))+" / "+U(ze.maxlength),7)):Q("v-if",!0)],64))],16,bue))}});var Cue=Ne(Sue,[["__file","input.vue"]]);const Ur=St(Cue),sf=4,e$={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},Tue=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),OS=Symbol("scrollbarContextKey"),kue=Oe({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),zue="Thumb",Mue=te({__name:"thumb",props:kue,setup(e){const t=e,n=Ye(OS),r=Ee("scrollbar");n||or(zue,"can not inject scrollbar context");const a=j(),i=j(),o=j({}),l=j(!1);let s=!1,u=!1,c=Wt?document.onselectstart:null;const f=L(()=>e$[t.vertical?"vertical":"horizontal"]),d=L(()=>Tue({size:t.size,move:t.move,bar:f.value})),h=L(()=>a.value[f.value.offset]**2/n.wrapElement[f.value.scrollSize]/t.ratio/i.value[f.value.offset]),v=S=>{var C;if(S.stopPropagation(),S.ctrlKey||[1,2].includes(S.button))return;(C=window.getSelection())==null||C.removeAllRanges(),g(S);const T=S.currentTarget;T&&(o.value[f.value.axis]=T[f.value.offset]-(S[f.value.client]-T.getBoundingClientRect()[f.value.direction]))},p=S=>{if(!i.value||!a.value||!n.wrapElement)return;const C=Math.abs(S.target.getBoundingClientRect()[f.value.direction]-S[f.value.client]),T=i.value[f.value.offset]/2,z=(C-T)*100*h.value/a.value[f.value.offset];n.wrapElement[f.value.scroll]=z*n.wrapElement[f.value.scrollSize]/100},g=S=>{S.stopImmediatePropagation(),s=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",b),c=document.onselectstart,document.onselectstart=()=>!1},m=S=>{if(!a.value||!i.value||s===!1)return;const C=o.value[f.value.axis];if(!C)return;const T=(a.value.getBoundingClientRect()[f.value.direction]-S[f.value.client])*-1,z=i.value[f.value.offset]-C,A=(T-z)*100*h.value/a.value[f.value.offset];n.wrapElement[f.value.scroll]=A*n.wrapElement[f.value.scrollSize]/100},b=()=>{s=!1,o.value[f.value.axis]=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",b),x(),u&&(l.value=!1)},_=()=>{u=!1,l.value=!!t.size},w=()=>{u=!0,l.value=s};wn(()=>{x(),document.removeEventListener("mouseup",b)});const x=()=>{document.onselectstart!==c&&(document.onselectstart=c)};return Sn(mn(n,"scrollbarElement"),"mousemove",_),Sn(mn(n,"scrollbarElement"),"mouseleave",w),(S,C)=>(k(),Y(ir,{name:y(r).b("fade"),persisted:""},{default:M(()=>[mt(X("div",{ref_key:"instance",ref:a,class:q([y(r).e("bar"),y(r).is(y(f).key)]),onMousedown:p},[X("div",{ref_key:"thumb",ref:i,class:q(y(r).e("thumb")),style:Be(y(d)),onMousedown:v},null,38)],34),[[en,S.always||l.value]])]),_:1},8,["name"]))}});var ck=Ne(Mue,[["__file","thumb.vue"]]);const Aue=Oe({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),Eue=te({__name:"bar",props:Aue,setup(e,{expose:t}){const n=e,r=Ye(OS),a=j(0),i=j(0),o=j(""),l=j(""),s=j(1),u=j(1);return t({handleScroll:d=>{if(d){const h=d.offsetHeight-sf,v=d.offsetWidth-sf;i.value=d.scrollTop*100/h*s.value,a.value=d.scrollLeft*100/v*u.value}},update:()=>{const d=r==null?void 0:r.wrapElement;if(!d)return;const h=d.offsetHeight-sf,v=d.offsetWidth-sf,p=h**2/d.scrollHeight,g=v**2/d.scrollWidth,m=Math.max(p,n.minSize),b=Math.max(g,n.minSize);s.value=p/(h-p)/(m/(h-m)),u.value=g/(v-g)/(b/(v-b)),l.value=m+sf<h?`${m}px`:"",o.value=b+sf<v?`${b}px`:""}}),(d,h)=>(k(),F(de,null,[I(ck,{move:a.value,ratio:u.value,size:o.value,always:d.always},null,8,["move","ratio","size","always"]),I(ck,{move:i.value,ratio:s.value,size:l.value,vertical:"",always:d.always},null,8,["move","ratio","size","always"])],64))}});var Iue=Ne(Eue,[["__file","bar.vue"]]);const Due=Oe({height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:he([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},id:String,role:String,...Er(["ariaLabel","ariaOrientation"])}),Lue={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(ot)},Pue="ElScrollbar",Rue=te({name:Pue}),Oue=te({...Rue,props:Due,emits:Lue,setup(e,{expose:t,emit:n}){const r=e,a=Ee("scrollbar");let i,o;const l=j(),s=j(),u=j(),c=j(),f=L(()=>{const _={};return r.height&&(_.height=Fn(r.height)),r.maxHeight&&(_.maxHeight=Fn(r.maxHeight)),[r.wrapStyle,_]}),d=L(()=>[r.wrapClass,a.e("wrap"),{[a.em("wrap","hidden-default")]:!r.native}]),h=L(()=>[a.e("view"),r.viewClass]),v=()=>{var _;s.value&&((_=c.value)==null||_.handleScroll(s.value),n("scroll",{scrollTop:s.value.scrollTop,scrollLeft:s.value.scrollLeft}))};function p(_,w){zt(_)?s.value.scrollTo(_):ot(_)&&ot(w)&&s.value.scrollTo(_,w)}const g=_=>{ot(_)&&(s.value.scrollTop=_)},m=_=>{ot(_)&&(s.value.scrollLeft=_)},b=()=>{var _;(_=c.value)==null||_.update()};return ke(()=>r.noresize,_=>{_?(i==null||i(),o==null||o()):({stop:i}=Pn(u,b),o=Sn("resize",b))},{immediate:!0}),ke(()=>[r.maxHeight,r.height],()=>{r.native||nt(()=>{var _;b(),s.value&&((_=c.value)==null||_.handleScroll(s.value))})}),Rt(OS,nn({scrollbarElement:l,wrapElement:s})),bt(()=>{r.native||nt(()=>{b()})}),Ll(()=>b()),t({wrapRef:s,update:b,scrollTo:p,setScrollTop:g,setScrollLeft:m,handleScroll:v}),(_,w)=>(k(),F("div",{ref_key:"scrollbarRef",ref:l,class:q(y(a).b())},[X("div",{ref_key:"wrapRef",ref:s,class:q(y(d)),style:Be(y(f)),onScroll:v},[(k(),Y(It(_.tag),{id:_.id,ref_key:"resizeRef",ref:u,class:q(y(h)),style:Be(_.viewStyle),role:_.role,"aria-label":_.ariaLabel,"aria-orientation":_.ariaOrientation},{default:M(()=>[me(_.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],38),_.native?Q("v-if",!0):(k(),Y(Iue,{key:0,ref_key:"barRef",ref:c,always:_.always,"min-size":_.minSize},null,8,["always","min-size"]))],2))}});var Nue=Ne(Oue,[["__file","scrollbar.vue"]]);const $l=St(Nue),NS=Symbol("popper"),t$=Symbol("popperContent"),$ue=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],n$=Oe({role:{type:String,values:$ue,default:"tooltip"}}),Vue=te({name:"ElPopper",inheritAttrs:!1}),Bue=te({...Vue,props:n$,setup(e,{expose:t}){const n=e,r=j(),a=j(),i=j(),o=j(),l=L(()=>n.role),s={triggerRef:r,popperInstanceRef:a,contentRef:i,referenceRef:o,role:l};return t(s),Rt(NS,s),(u,c)=>me(u.$slots,"default")}});var Fue=Ne(Bue,[["__file","popper.vue"]]);const r$=Oe({arrowOffset:{type:Number,default:5}}),Hue=te({name:"ElPopperArrow",inheritAttrs:!1}),jue=te({...Hue,props:r$,setup(e,{expose:t}){const n=e,r=Ee("popper"),{arrowOffset:a,arrowRef:i,arrowStyle:o}=Ye(t$,void 0);return ke(()=>n.arrowOffset,l=>{a.value=l}),wn(()=>{i.value=void 0}),t({arrowRef:i}),(l,s)=>(k(),F("span",{ref_key:"arrowRef",ref:i,class:q(y(r).e("arrow")),style:Be(y(o)),"data-popper-arrow":""},null,6))}});var que=Ne(jue,[["__file","arrow.vue"]]);const Gue="ElOnlyChild",a$=te({name:Gue,setup(e,{slots:t,attrs:n}){var r;const a=Ye(PN),i=ole((r=a==null?void 0:a.setForwardRef)!=null?r:sn);return()=>{var o;const l=(o=t.default)==null?void 0:o.call(t,n);if(!l||l.length>1)return null;const s=i$(l);return s?mt(wl(s,n),[[i]]):null}}});function i$(e){if(!e)return null;const t=e;for(const n of t){if(zt(n))switch(n.type){case Lr:continue;case Yd:case"svg":return fk(n);case de:return i$(n.children);default:return n}return fk(n)}return null}function fk(e){const t=Ee("only-child");return I("span",{class:t.e("content")},[e])}const o$=Oe({virtualRef:{type:he(Object)},virtualTriggering:Boolean,onMouseenter:{type:he(Function)},onMouseleave:{type:he(Function)},onClick:{type:he(Function)},onKeydown:{type:he(Function)},onFocus:{type:he(Function)},onBlur:{type:he(Function)},onContextmenu:{type:he(Function)},id:String,open:Boolean}),Wue=te({name:"ElPopperTrigger",inheritAttrs:!1}),Uue=te({...Wue,props:o$,setup(e,{expose:t}){const n=e,{role:r,triggerRef:a}=Ye(NS,void 0);ile(a);const i=L(()=>l.value?n.id:void 0),o=L(()=>{if(r&&r.value==="tooltip")return n.open&&n.id?n.id:void 0}),l=L(()=>{if(r&&r.value!=="tooltip")return r.value}),s=L(()=>l.value?`${n.open}`:void 0);let u;return bt(()=>{ke(()=>n.virtualRef,c=>{c&&(a.value=Aa(c))},{immediate:!0}),ke(a,(c,f)=>{u==null||u(),u=void 0,Si(c)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach(d=>{var h;const v=n[d];v&&(c.addEventListener(d.slice(2).toLowerCase(),v),(h=f==null?void 0:f.removeEventListener)==null||h.call(f,d.slice(2).toLowerCase(),v))}),u=ke([i,o,l,s],d=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((h,v)=>{br(d[v])?c.removeAttribute(h):c.setAttribute(h,d[v])})},{immediate:!0})),Si(f)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(d=>f.removeAttribute(d))},{immediate:!0})}),wn(()=>{u==null||u(),u=void 0}),t({triggerRef:a}),(c,f)=>c.virtualTriggering?Q("v-if",!0):(k(),Y(y(a$),Pt({key:0},c.$attrs,{"aria-controls":y(i),"aria-describedby":y(o),"aria-expanded":y(s),"aria-haspopup":y(l)}),{default:M(()=>[me(c.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var Yue=Ne(Uue,[["__file","trigger.vue"]]);const nb="focus-trap.focus-after-trapped",rb="focus-trap.focus-after-released",Kue="focus-trap.focusout-prevented",dk={cancelable:!0,bubbles:!1},Xue={cancelable:!0,bubbles:!1},hk="focusAfterTrapped",vk="focusAfterReleased",$S=Symbol("elFocusTrap"),VS=j(),Dy=j(0),BS=j(0);let hg=0;const l$=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0||r===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},pk=(e,t)=>{for(const n of e)if(!Zue(n,t))return n},Zue=(e,t)=>{if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1},Jue=e=>{const t=l$(e),n=pk(t,e),r=pk(t.reverse(),e);return[n,r]},Que=e=>e instanceof HTMLInputElement&&"select"in e,as=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),BS.value=window.performance.now(),e!==n&&Que(e)&&t&&e.select()}};function gk(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const ece=()=>{let e=[];return{push:r=>{const a=e[0];a&&r!==a&&a.pause(),e=gk(e,r),e.unshift(r)},remove:r=>{var a,i;e=gk(e,r),(i=(a=e[0])==null?void 0:a.resume)==null||i.call(a)}}},tce=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(as(r,t),document.activeElement!==n)return},mk=ece(),nce=()=>Dy.value>BS.value,vg=()=>{VS.value="pointer",Dy.value=window.performance.now()},yk=()=>{VS.value="keyboard",Dy.value=window.performance.now()},rce=()=>(bt(()=>{hg===0&&(document.addEventListener("mousedown",vg),document.addEventListener("touchstart",vg),document.addEventListener("keydown",yk)),hg++}),wn(()=>{hg--,hg<=0&&(document.removeEventListener("mousedown",vg),document.removeEventListener("touchstart",vg),document.removeEventListener("keydown",yk))}),{focusReason:VS,lastUserFocusTimestamp:Dy,lastAutomatedFocusTimestamp:BS}),pg=e=>new CustomEvent(Kue,{...Xue,detail:e}),ace=te({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[hk,vk,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=j();let r,a;const{focusReason:i}=rce();ele(v=>{e.trapped&&!o.paused&&t("release-requested",v)});const o={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},l=v=>{if(!e.loop&&!e.trapped||o.paused)return;const{key:p,altKey:g,ctrlKey:m,metaKey:b,currentTarget:_,shiftKey:w}=v,{loop:x}=e,S=p===at.tab&&!g&&!m&&!b,C=document.activeElement;if(S&&C){const T=_,[z,A]=Jue(T);if(z&&A){if(!w&&C===A){const D=pg({focusReason:i.value});t("focusout-prevented",D),D.defaultPrevented||(v.preventDefault(),x&&as(z,!0))}else if(w&&[z,T].includes(C)){const D=pg({focusReason:i.value});t("focusout-prevented",D),D.defaultPrevented||(v.preventDefault(),x&&as(A,!0))}}else if(C===T){const D=pg({focusReason:i.value});t("focusout-prevented",D),D.defaultPrevented||v.preventDefault()}}};Rt($S,{focusTrapRef:n,onKeydown:l}),ke(()=>e.focusTrapEl,v=>{v&&(n.value=v)},{immediate:!0}),ke([n],([v],[p])=>{v&&(v.addEventListener("keydown",l),v.addEventListener("focusin",c),v.addEventListener("focusout",f)),p&&(p.removeEventListener("keydown",l),p.removeEventListener("focusin",c),p.removeEventListener("focusout",f))});const s=v=>{t(hk,v)},u=v=>t(vk,v),c=v=>{const p=y(n);if(!p)return;const g=v.target,m=v.relatedTarget,b=g&&p.contains(g);e.trapped||m&&p.contains(m)||(r=m),b&&t("focusin",v),!o.paused&&e.trapped&&(b?a=g:as(a,!0))},f=v=>{const p=y(n);if(!(o.paused||!p))if(e.trapped){const g=v.relatedTarget;!br(g)&&!p.contains(g)&&setTimeout(()=>{if(!o.paused&&e.trapped){const m=pg({focusReason:i.value});t("focusout-prevented",m),m.defaultPrevented||as(a,!0)}},0)}else{const g=v.target;g&&p.contains(g)||t("focusout",v)}};async function d(){await nt();const v=y(n);if(v){mk.push(o);const p=v.contains(document.activeElement)?r:document.activeElement;if(r=p,!v.contains(p)){const m=new Event(nb,dk);v.addEventListener(nb,s),v.dispatchEvent(m),m.defaultPrevented||nt(()=>{let b=e.focusStartEl;vt(b)||(as(b),document.activeElement!==b&&(b="first")),b==="first"&&tce(l$(v),!0),(document.activeElement===p||b==="container")&&as(v)})}}}function h(){const v=y(n);if(v){v.removeEventListener(nb,s);const p=new CustomEvent(rb,{...dk,detail:{focusReason:i.value}});v.addEventListener(rb,u),v.dispatchEvent(p),!p.defaultPrevented&&(i.value=="keyboard"||!nce()||v.contains(document.activeElement))&&as(r??document.body),v.removeEventListener(rb,u),mk.remove(o)}}return bt(()=>{e.trapped&&d(),ke(()=>e.trapped,v=>{v?d():h()})}),wn(()=>{e.trapped&&h()}),{onKeydown:l}}});function ice(e,t,n,r,a,i){return me(e.$slots,"default",{handleKeydown:e.onKeydown})}var Sp=Ne(ace,[["render",ice],["__file","focus-trap.vue"]]);const oce=["fixed","absolute"],lce=Oe({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:he(Array),default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:Kc,default:"bottom"},popperOptions:{type:he(Object),default:()=>({})},strategy:{type:String,values:oce,default:"absolute"}}),s$=Oe({...lce,id:String,style:{type:he([String,Array,Object])},className:{type:he([String,Array,Object])},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:he([String,Array,Object])},popperStyle:{type:he([String,Array,Object])},referenceEl:{type:he(Object)},triggerTargetEl:{type:he(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...Er(["ariaLabel"])}),sce={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},uce=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:a}=e,i={placement:n,strategy:r,...a,modifiers:[...fce(e),...t]};return dce(i,a==null?void 0:a.modifiers),i},cce=e=>{if(Wt)return Aa(e)};function fce(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}function dce(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const hce=0,vce=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:a}=Ye(NS,void 0),i=j(),o=j(),l=L(()=>({name:"eventListeners",enabled:!!e.visible})),s=L(()=>{var m;const b=y(i),_=(m=y(o))!=null?m:hce;return{name:"arrow",enabled:!aN(b),options:{element:b,padding:_}}}),u=L(()=>({onFirstUpdate:()=>{v()},...uce(e,[y(s),y(l)])})),c=L(()=>cce(e.referenceEl)||y(r)),{attributes:f,state:d,styles:h,update:v,forceUpdate:p,instanceRef:g}=Xoe(c,n,u);return ke(g,m=>t.value=m),bt(()=>{ke(()=>{var m;return(m=y(c))==null?void 0:m.getBoundingClientRect()},()=>{v()})}),{attributes:f,arrowRef:i,contentRef:n,instanceRef:g,state:d,styles:h,role:a,forceUpdate:p,update:v}},pce=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:a}=Qd(),i=Ee("popper"),o=L(()=>y(t).popper),l=j(ot(e.zIndex)?e.zIndex:a()),s=L(()=>[i.b(),i.is("pure",e.pure),i.is(e.effect),e.popperClass]),u=L(()=>[{zIndex:y(l)},y(n).popper,e.popperStyle||{}]),c=L(()=>r.value==="dialog"?"false":void 0),f=L(()=>y(n).arrow||{});return{ariaModal:c,arrowStyle:f,contentAttrs:o,contentClass:s,contentStyle:u,contentZIndex:l,updateZIndex:()=>{l.value=ot(e.zIndex)?e.zIndex:a()}}},gce=(e,t)=>{const n=j(!1),r=j();return{focusStartRef:r,trapped:n,onFocusAfterReleased:u=>{var c;((c=u.detail)==null?void 0:c.focusReason)!=="pointer"&&(r.value="first",t("blur"))},onFocusAfterTrapped:()=>{t("focus")},onFocusInTrap:u=>{e.visible&&!n.value&&(u.target&&(r.value=u.target),n.value=!0)},onFocusoutPrevented:u=>{e.trapping||(u.detail.focusReason==="pointer"&&u.preventDefault(),n.value=!1)},onReleaseRequested:()=>{n.value=!1,t("close")}}},mce=te({name:"ElPopperContent"}),yce=te({...mce,props:s$,emits:sce,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:a,trapped:i,onFocusAfterReleased:o,onFocusAfterTrapped:l,onFocusInTrap:s,onFocusoutPrevented:u,onReleaseRequested:c}=gce(r,n),{attributes:f,arrowRef:d,contentRef:h,styles:v,instanceRef:p,role:g,update:m}=vce(r),{ariaModal:b,arrowStyle:_,contentAttrs:w,contentClass:x,contentStyle:S,updateZIndex:C}=pce(r,{styles:v,attributes:f,role:g}),T=Ye(Oo,void 0),z=j();Rt(t$,{arrowStyle:_,arrowRef:d,arrowOffset:z}),T&&Rt(Oo,{...T,addInputId:sn,removeInputId:sn});let A;const E=($=!0)=>{m(),$&&C()},D=()=>{E(!1),r.visible&&r.focusOnShow?i.value=!0:r.visible===!1&&(i.value=!1)};return bt(()=>{ke(()=>r.triggerTargetEl,($,O)=>{A==null||A(),A=void 0;const R=y($||h.value),N=y(O||h.value);Si(R)&&(A=ke([g,()=>r.ariaLabel,b,()=>r.id],B=>{["role","aria-label","aria-modal","id"].forEach((V,P)=>{br(B[P])?R.removeAttribute(V):R.setAttribute(V,B[P])})},{immediate:!0})),N!==R&&Si(N)&&["role","aria-label","aria-modal","id"].forEach(B=>{N.removeAttribute(B)})},{immediate:!0}),ke(()=>r.visible,D,{immediate:!0})}),wn(()=>{A==null||A(),A=void 0}),t({popperContentRef:h,popperInstanceRef:p,updatePopper:E,contentStyle:S}),($,O)=>(k(),F("div",Pt({ref_key:"contentRef",ref:h},y(w),{style:y(S),class:y(x),tabindex:"-1",onMouseenter:O[0]||(O[0]=R=>$.$emit("mouseenter",R)),onMouseleave:O[1]||(O[1]=R=>$.$emit("mouseleave",R))}),[I(y(Sp),{trapped:y(i),"trap-on-focus-in":!0,"focus-trap-el":y(h),"focus-start-el":y(a),onFocusAfterTrapped:y(l),onFocusAfterReleased:y(o),onFocusin:y(s),onFocusoutPrevented:y(u),onReleaseRequested:y(c)},{default:M(()=>[me($.$slots,"default")]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var bce=Ne(yce,[["__file","content.vue"]]);const u$=St(Fue),Ly=Symbol("elTooltip"),vr=Oe({...rle,...s$,appendTo:{type:he([String,Object])},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,visible:{type:he(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...Er(["ariaLabel"])}),w1=Oe({...o$,disabled:Boolean,trigger:{type:he([String,Array]),default:"hover"},triggerKeys:{type:he(Array),default:()=>[at.enter,at.space]}}),{useModelToggleProps:_ce,useModelToggleEmits:wce,useModelToggle:xce}=_N("visible"),Sce=Oe({...n$,..._ce,...vr,...w1,...r$,showArrow:{type:Boolean,default:!0}}),Cce=[...wce,"before-show","before-hide","show","hide","open","close"],Tce=(e,t)=>We(e)?e.includes(t):e===t,uf=(e,t,n)=>r=>{Tce(y(e),t)&&n(r)},kce=te({name:"ElTooltipTrigger"}),zce=te({...kce,props:w1,setup(e,{expose:t}){const n=e,r=Ee("tooltip"),{controlled:a,id:i,open:o,onOpen:l,onClose:s,onToggle:u}=Ye(Ly,void 0),c=j(null),f=()=>{if(y(a)||n.disabled)return!0},d=mn(n,"trigger"),h=Bn(f,uf(d,"hover",l)),v=Bn(f,uf(d,"hover",s)),p=Bn(f,uf(d,"click",w=>{w.button===0&&u(w)})),g=Bn(f,uf(d,"focus",l)),m=Bn(f,uf(d,"focus",s)),b=Bn(f,uf(d,"contextmenu",w=>{w.preventDefault(),u(w)})),_=Bn(f,w=>{const{code:x}=w;n.triggerKeys.includes(x)&&(w.preventDefault(),u(w))});return t({triggerRef:c}),(w,x)=>(k(),Y(y(Yue),{id:y(i),"virtual-ref":w.virtualRef,open:y(o),"virtual-triggering":w.virtualTriggering,class:q(y(r).e("trigger")),onBlur:y(m),onClick:y(p),onContextmenu:y(b),onFocus:y(g),onMouseenter:y(h),onMouseleave:y(v),onKeydown:y(_)},{default:M(()=>[me(w.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var Mce=Ne(zce,[["__file","trigger.vue"]]);const Ace=te({name:"ElTooltipContent",inheritAttrs:!1}),Ece=te({...Ace,props:vr,setup(e,{expose:t}){const n=e,{selector:r}=LN(),a=Ee("tooltip"),i=j(null),o=j(!1),{controlled:l,id:s,open:u,trigger:c,onClose:f,onOpen:d,onShow:h,onHide:v,onBeforeShow:p,onBeforeHide:g}=Ye(Ly,void 0),m=L(()=>n.transition||`${a.namespace.value}-fade-in-linear`),b=L(()=>n.persistent);wn(()=>{o.value=!0});const _=L(()=>y(b)?!0:y(u)),w=L(()=>n.disabled?!1:y(u)),x=L(()=>n.appendTo||r.value),S=L(()=>{var B;return(B=n.style)!=null?B:{}}),C=L(()=>!y(u)),T=()=>{v()},z=()=>{if(y(l))return!0},A=Bn(z,()=>{n.enterable&&y(c)==="hover"&&d()}),E=Bn(z,()=>{y(c)==="hover"&&f()}),D=()=>{var B,V;(V=(B=i.value)==null?void 0:B.updatePopper)==null||V.call(B),p==null||p()},$=()=>{g==null||g()},O=()=>{h(),N=F5(L(()=>{var B;return(B=i.value)==null?void 0:B.popperContentRef}),()=>{if(y(l))return;y(c)!=="hover"&&f()})},R=()=>{n.virtualTriggering||f()};let N;return ke(()=>y(u),B=>{B||N==null||N()},{flush:"post"}),ke(()=>n.content,()=>{var B,V;(V=(B=i.value)==null?void 0:B.updatePopper)==null||V.call(B)}),t({contentRef:i}),(B,V)=>(k(),Y(Ud,{disabled:!B.teleported,to:y(x)},[I(ir,{name:y(m),onAfterLeave:T,onBeforeEnter:D,onAfterEnter:O,onBeforeLeave:$},{default:M(()=>[y(_)?mt((k(),Y(y(bce),Pt({key:0,id:y(s),ref_key:"contentRef",ref:i},B.$attrs,{"aria-label":B.ariaLabel,"aria-hidden":y(C),"boundaries-padding":B.boundariesPadding,"fallback-placements":B.fallbackPlacements,"gpu-acceleration":B.gpuAcceleration,offset:B.offset,placement:B.placement,"popper-options":B.popperOptions,strategy:B.strategy,effect:B.effect,enterable:B.enterable,pure:B.pure,"popper-class":B.popperClass,"popper-style":[B.popperStyle,y(S)],"reference-el":B.referenceEl,"trigger-target-el":B.triggerTargetEl,visible:y(w),"z-index":B.zIndex,onMouseenter:y(A),onMouseleave:y(E),onBlur:R,onClose:y(f)}),{default:M(()=>[o.value?Q("v-if",!0):me(B.$slots,"default",{key:0})]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[en,y(w)]]):Q("v-if",!0)]),_:3},8,["name"])],8,["disabled","to"]))}});var Ice=Ne(Ece,[["__file","content.vue"]]);const Dce=["innerHTML"],Lce={key:1},Pce=te({name:"ElTooltip"}),Rce=te({...Pce,props:Sce,emits:Cce,setup(e,{expose:t,emit:n}){const r=e;nle();const a=Vr(),i=j(),o=j(),l=()=>{var m;const b=y(i);b&&((m=b.popperInstanceRef)==null||m.update())},s=j(!1),u=j(),{show:c,hide:f,hasUpdateHandler:d}=xce({indicator:s,toggleReason:u}),{onOpen:h,onClose:v}=ale({showAfter:mn(r,"showAfter"),hideAfter:mn(r,"hideAfter"),autoClose:mn(r,"autoClose"),open:c,close:f}),p=L(()=>Jn(r.visible)&&!d.value);Rt(Ly,{controlled:p,id:a,open:Wd(s),trigger:mn(r,"trigger"),onOpen:m=>{h(m)},onClose:m=>{v(m)},onToggle:m=>{y(s)?v(m):h(m)},onShow:()=>{n("show",u.value)},onHide:()=>{n("hide",u.value)},onBeforeShow:()=>{n("before-show",u.value)},onBeforeHide:()=>{n("before-hide",u.value)},updatePopper:l}),ke(()=>r.disabled,m=>{m&&s.value&&(s.value=!1)});const g=m=>{var b,_;const w=(_=(b=o.value)==null?void 0:b.contentRef)==null?void 0:_.popperContentRef,x=(m==null?void 0:m.relatedTarget)||document.activeElement;return w&&w.contains(x)};return TR(()=>s.value&&f()),t({popperRef:i,contentRef:o,isFocusInsideContent:g,updatePopper:l,onOpen:h,onClose:v,hide:f}),(m,b)=>(k(),Y(y(u$),{ref_key:"popperRef",ref:i,role:m.role},{default:M(()=>[I(Mce,{disabled:m.disabled,trigger:m.trigger,"trigger-keys":m.triggerKeys,"virtual-ref":m.virtualRef,"virtual-triggering":m.virtualTriggering},{default:M(()=>[m.$slots.default?me(m.$slots,"default",{key:0}):Q("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),I(Ice,{ref_key:"contentRef",ref:o,"aria-label":m.ariaLabel,"boundaries-padding":m.boundariesPadding,content:m.content,disabled:m.disabled,effect:m.effect,enterable:m.enterable,"fallback-placements":m.fallbackPlacements,"hide-after":m.hideAfter,"gpu-acceleration":m.gpuAcceleration,offset:m.offset,persistent:m.persistent,"popper-class":m.popperClass,"popper-style":m.popperStyle,placement:m.placement,"popper-options":m.popperOptions,pure:m.pure,"raw-content":m.rawContent,"reference-el":m.referenceEl,"trigger-target-el":m.triggerTargetEl,"show-after":m.showAfter,strategy:m.strategy,teleported:m.teleported,transition:m.transition,"virtual-triggering":m.virtualTriggering,"z-index":m.zIndex,"append-to":m.appendTo},{default:M(()=>[me(m.$slots,"content",{},()=>[m.rawContent?(k(),F("span",{key:0,innerHTML:m.content},null,8,Dce)):(k(),F("span",Lce,U(m.content),1))]),m.showArrow?(k(),Y(y(que),{key:0,"arrow-offset":m.arrowOffset},null,8,["arrow-offset"])):Q("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])]),_:3},8,["role"]))}});var Oce=Ne(Rce,[["__file","tooltip.vue"]]);const Xr=St(Oce),Nce=Oe({valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:he(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:he([Function,Array]),default:sn},popperClass:{type:String,default:""},triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:{type:Boolean,default:!1},hideLoading:{type:Boolean,default:!1},teleported:vr.teleported,highlightFirstItem:{type:Boolean,default:!1},fitInputWidth:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},name:String,...Er(["ariaLabel"])}),$ce={[Mt]:e=>vt(e),[sa]:e=>vt(e),[Tn]:e=>vt(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,select:e=>zt(e)},Vce=["aria-expanded","aria-owns"],Bce={key:0},Fce=["id","aria-selected","onClick"],c$="ElAutocomplete",Hce=te({name:c$,inheritAttrs:!1}),jce=te({...Hce,props:Nce,emits:$ce,setup(e,{expose:t,emit:n}){const r=e,a=vS(),i=qc(),o=ma(),l=Ee("autocomplete"),s=j(),u=j(),c=j(),f=j();let d=!1,h=!1;const v=j([]),p=j(-1),g=j(""),m=j(!1),b=j(!1),_=j(!1),w=Vr(),x=L(()=>i.style),S=L(()=>(v.value.length>0||_.value)&&m.value),C=L(()=>!r.hideLoading&&_.value),T=L(()=>s.value?Array.from(s.value.$el.querySelectorAll("input")):[]),z=()=>{S.value&&(g.value=`${s.value.$el.offsetWidth}px`)},A=()=>{p.value=-1},D=La(async le=>{if(b.value)return;const ae=ie=>{_.value=!1,!b.value&&(We(ie)?(v.value=ie,p.value=r.highlightFirstItem?0:-1):or(c$,"autocomplete suggestions must be an array"))};if(_.value=!0,We(r.fetchSuggestions))ae(r.fetchSuggestions);else{const ie=await r.fetchSuggestions(le,ae);We(ie)&&ae(ie)}},r.debounce),$=le=>{const ae=!!le;if(n(sa,le),n(Mt,le),b.value=!1,m.value||(m.value=ae),!r.triggerOnFocus&&!le){b.value=!0,v.value=[];return}D(le)},O=le=>{var ae;o.value||(((ae=le.target)==null?void 0:ae.tagName)!=="INPUT"||T.value.includes(document.activeElement))&&(m.value=!0)},R=le=>{n(Tn,le)},N=le=>{h?h=!1:(m.value=!0,n("focus",le),r.triggerOnFocus&&!d&&D(String(r.modelValue)))},B=le=>{setTimeout(()=>{var ae;if((ae=c.value)!=null&&ae.isFocusInsideContent()){h=!0;return}m.value&&Z(),n("blur",le)})},V=()=>{m.value=!1,n(Mt,""),n("clear")},P=async()=>{S.value&&p.value>=0&&p.value<v.value.length?ue(v.value[p.value]):r.selectWhenUnmatched&&(n("select",{value:r.modelValue}),v.value=[],p.value=-1)},W=le=>{S.value&&(le.preventDefault(),le.stopPropagation(),Z())},Z=()=>{m.value=!1},ee=()=>{var le;(le=s.value)==null||le.focus()},re=()=>{var le;(le=s.value)==null||le.blur()},ue=async le=>{n(sa,le[r.valueKey]),n(Mt,le[r.valueKey]),n("select",le),v.value=[],p.value=-1},ye=le=>{if(!S.value||_.value)return;if(le<0){p.value=-1;return}le>=v.value.length&&(le=v.value.length-1);const ae=u.value.querySelector(`.${l.be("suggestion","wrap")}`),ve=ae.querySelectorAll(`.${l.be("suggestion","list")} li`)[le],ce=ae.scrollTop,{offsetTop:fe,scrollHeight:xe}=ve;fe+xe>ce+ae.clientHeight&&(ae.scrollTop+=xe),fe<ce&&(ae.scrollTop-=xe),p.value=le,s.value.ref.setAttribute("aria-activedescendant",`${w.value}-item-${p.value}`)};return F5(f,()=>{S.value&&Z()}),bt(()=>{s.value.ref.setAttribute("role","textbox"),s.value.ref.setAttribute("aria-autocomplete","list"),s.value.ref.setAttribute("aria-controls","id"),s.value.ref.setAttribute("aria-activedescendant",`${w.value}-item-${p.value}`),d=s.value.ref.hasAttribute("readonly")}),t({highlightedIndex:p,activated:m,loading:_,inputRef:s,popperRef:c,suggestions:v,handleSelect:ue,handleKeyEnter:P,focus:ee,blur:re,close:Z,highlight:ye}),(le,ae)=>(k(),Y(y(Xr),{ref_key:"popperRef",ref:c,visible:y(S),placement:le.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[y(l).e("popper"),le.popperClass],teleported:le.teleported,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${y(l).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:z,onHide:A},{content:M(()=>[X("div",{ref_key:"regionRef",ref:u,class:q([y(l).b("suggestion"),y(l).is("loading",y(C))]),style:Be({[le.fitInputWidth?"width":"minWidth"]:g.value,outline:"none"}),role:"region"},[I(y($l),{id:y(w),tag:"ul","wrap-class":y(l).be("suggestion","wrap"),"view-class":y(l).be("suggestion","list"),role:"listbox"},{default:M(()=>[y(C)?(k(),F("li",Bce,[me(le.$slots,"loading",{},()=>[I(y(Ze),{class:q(y(l).is("loading"))},{default:M(()=>[I(y(iu))]),_:1},8,["class"])])])):(k(!0),F(de,{key:1},we(v.value,(ie,ve)=>(k(),F("li",{id:`${y(w)}-item-${ve}`,key:ve,class:q({highlighted:p.value===ve}),role:"option","aria-selected":p.value===ve,onClick:ce=>ue(ie)},[me(le.$slots,"default",{item:ie},()=>[G(U(ie[le.valueKey]),1)])],10,Fce))),128))]),_:3},8,["id","wrap-class","view-class"])],6)]),default:M(()=>[X("div",{ref_key:"listboxRef",ref:f,class:q([y(l).b(),le.$attrs.class]),style:Be(y(x)),role:"combobox","aria-haspopup":"listbox","aria-expanded":y(S),"aria-owns":y(w)},[I(y(Ur),Pt({ref_key:"inputRef",ref:s},y(a),{clearable:le.clearable,disabled:y(o),name:le.name,"model-value":le.modelValue,"aria-label":le.ariaLabel,onInput:$,onChange:R,onFocus:N,onBlur:B,onClear:V,onKeydown:[ae[0]||(ae[0]=fn(ft(ie=>ye(p.value-1),["prevent"]),["up"])),ae[1]||(ae[1]=fn(ft(ie=>ye(p.value+1),["prevent"]),["down"])),fn(P,["enter"]),fn(Z,["tab"]),fn(W,["esc"])],onMousedown:O}),_l({_:2},[le.$slots.prepend?{name:"prepend",fn:M(()=>[me(le.$slots,"prepend")])}:void 0,le.$slots.append?{name:"append",fn:M(()=>[me(le.$slots,"append")])}:void 0,le.$slots.prefix?{name:"prefix",fn:M(()=>[me(le.$slots,"prefix")])}:void 0,le.$slots.suffix?{name:"suffix",fn:M(()=>[me(le.$slots,"suffix")])}:void 0]),1040,["clearable","disabled","name","model-value","aria-label","onKeydown"])],14,Vce)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var qce=Ne(jce,[["__file","autocomplete.vue"]]);const Gce=St(qce),Wce=Oe({size:{type:[Number,String],values:jo,default:"",validator:e=>ot(e)},shape:{type:String,values:["circle","square"],default:"circle"},icon:{type:hn},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:he(String),default:"cover"}}),Uce={error:e=>e instanceof Event},Yce=["src","alt","srcset"],Kce=te({name:"ElAvatar"}),Xce=te({...Kce,props:Wce,emits:Uce,setup(e,{emit:t}){const n=e,r=Ee("avatar"),a=j(!1),i=L(()=>{const{size:u,icon:c,shape:f}=n,d=[r.b()];return vt(u)&&d.push(r.m(u)),c&&d.push(r.m("icon")),f&&d.push(r.m(f)),d}),o=L(()=>{const{size:u}=n;return ot(u)?r.cssVarBlock({size:Fn(u)||""}):void 0}),l=L(()=>({objectFit:n.fit}));ke(()=>n.src,()=>a.value=!1);function s(u){a.value=!0,t("error",u)}return(u,c)=>(k(),F("span",{class:q(y(i)),style:Be(y(o))},[(u.src||u.srcSet)&&!a.value?(k(),F("img",{key:0,src:u.src,alt:u.alt,srcset:u.srcSet,style:Be(y(l)),onError:s},null,44,Yce)):u.icon?(k(),Y(y(Ze),{key:1},{default:M(()=>[(k(),Y(It(u.icon)))]),_:1})):me(u.$slots,"default",{key:2})],6))}});var Zce=Ne(Xce,[["__file","avatar.vue"]]);const Jce=St(Zce),Qce={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},efe={click:e=>e instanceof MouseEvent},tfe=(e,t,n)=>{const r=xn(),a=xn(),i=j(!1),o=()=>{r.value&&(i.value=r.value.scrollTop>=e.visibilityHeight)},l=u=>{var c;(c=r.value)==null||c.scrollTo({top:0,behavior:"smooth"}),t("click",u)},s=pO(o,300,!0);return Sn(a,"scroll",s),bt(()=>{var u;a.value=document,r.value=document.documentElement,e.target&&(r.value=(u=document.querySelector(e.target))!=null?u:void 0,r.value||or(n,`target does not exist: ${e.target}`),a.value=r.value),o()}),{visible:i,handleClick:l}},f$="ElBacktop",nfe=te({name:f$}),rfe=te({...nfe,props:Qce,emits:efe,setup(e,{emit:t}){const n=e,r=Ee("backtop"),{handleClick:a,visible:i}=tfe(n,t,f$),o=L(()=>({right:`${n.right}px`,bottom:`${n.bottom}px`}));return(l,s)=>(k(),Y(ir,{name:`${y(r).namespace.value}-fade-in`},{default:M(()=>[y(i)?(k(),F("div",{key:0,style:Be(y(o)),class:q(y(r).b()),onClick:s[0]||(s[0]=ft((...u)=>y(a)&&y(a)(...u),["stop"]))},[me(l.$slots,"default",{},()=>[I(y(Ze),{class:q(y(r).e("icon"))},{default:M(()=>[I(y(Dae))]),_:1},8,["class"])])],6)):Q("v-if",!0)]),_:3},8,["name"]))}});var afe=Ne(rfe,[["__file","backtop.vue"]]);const ife=St(afe),ofe=Oe({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,dotStyle:{type:he([String,Object,Array])},badgeStyle:{type:he([String,Object,Array])},offset:{type:he(Array),default:[0,0]},dotClass:{type:String},badgeClass:{type:String}}),lfe=["textContent"],sfe=te({name:"ElBadge"}),ufe=te({...sfe,props:ofe,setup(e,{expose:t}){const n=e,r=Ee("badge"),a=L(()=>n.isDot?"":ot(n.value)&&ot(n.max)?n.max<n.value?`${n.max}+`:n.value===0&&!n.showZero?"":`${n.value}`:`${n.value}`),i=L(()=>{var o,l,s,u,c,f;return[{backgroundColor:n.color,marginRight:Fn(-((l=(o=n.offset)==null?void 0:o[0])!=null?l:0)),marginTop:Fn((u=(s=n.offset)==null?void 0:s[1])!=null?u:0)},(c=n.dotStyle)!=null?c:{},(f=n.badgeStyle)!=null?f:{}]});return gr({from:"dot-style",replacement:"badge-style",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},L(()=>!!n.dotStyle)),gr({from:"dot-class",replacement:"badge-class",version:"2.8.0",scope:"el-badge",ref:"https://element-plus.org/en-US/component/badge.html"},L(()=>!!n.dotClass)),t({content:a}),(o,l)=>(k(),F("div",{class:q(y(r).b())},[me(o.$slots,"default"),I(ir,{name:`${y(r).namespace.value}-zoom-in-center`,persisted:""},{default:M(()=>[mt(X("sup",{class:q([y(r).e("content"),y(r).em("content",o.type),y(r).is("fixed",!!o.$slots.default),y(r).is("dot",o.isDot),o.dotClass,o.badgeClass]),style:Be(y(i)),textContent:U(y(a))},null,14,lfe),[[en,!o.hidden&&(y(a)||o.isDot)]])]),_:1},8,["name"])],2))}});var cfe=Ne(ufe,[["__file","badge.vue"]]);const d$=St(cfe),h$=Symbol("breadcrumbKey"),ffe=Oe({separator:{type:String,default:"/"},separatorIcon:{type:hn}}),dfe=["aria-label"],hfe=te({name:"ElBreadcrumb"}),vfe=te({...hfe,props:ffe,setup(e){const t=e,{t:n}=Xt(),r=Ee("breadcrumb"),a=j();return Rt(h$,t),bt(()=>{const i=a.value.querySelectorAll(`.${r.e("item")}`);i.length&&i[i.length-1].setAttribute("aria-current","page")}),(i,o)=>(k(),F("div",{ref_key:"breadcrumb",ref:a,class:q(y(r).b()),"aria-label":y(n)("el.breadcrumb.label"),role:"navigation"},[me(i.$slots,"default")],10,dfe))}});var pfe=Ne(vfe,[["__file","breadcrumb.vue"]]);const gfe=Oe({to:{type:he([String,Object]),default:""},replace:{type:Boolean,default:!1}}),mfe=te({name:"ElBreadcrumbItem"}),yfe=te({...mfe,props:gfe,setup(e){const t=e,n=xt(),r=Ye(h$,void 0),a=Ee("breadcrumb"),i=n.appContext.config.globalProperties.$router,o=j(),l=()=>{!t.to||!i||(t.replace?i.replace(t.to):i.push(t.to))};return(s,u)=>{var c,f;return k(),F("span",{class:q(y(a).e("item"))},[X("span",{ref_key:"link",ref:o,class:q([y(a).e("inner"),y(a).is("link",!!s.to)]),role:"link",onClick:l},[me(s.$slots,"default")],2),(c=y(r))!=null&&c.separatorIcon?(k(),Y(y(Ze),{key:0,class:q(y(a).e("separator"))},{default:M(()=>[(k(),Y(It(y(r).separatorIcon)))]),_:1},8,["class"])):(k(),F("span",{key:1,class:q(y(a).e("separator")),role:"presentation"},U((f=y(r))==null?void 0:f.separator),3))],2)}}});var v$=Ne(yfe,[["__file","breadcrumb-item.vue"]]);const bfe=St(pfe,{BreadcrumbItem:v$}),_fe=On(v$),p$=Symbol("buttonGroupContextKey"),wfe=(e,t)=>{gr({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},L(()=>e.type==="text"));const n=Ye(p$,void 0),r=wp("button"),{form:a}=Qr(),i=tr(L(()=>n==null?void 0:n.size)),o=ma(),l=j(),s=Tr(),u=L(()=>e.type||(n==null?void 0:n.type)||""),c=L(()=>{var v,p,g;return(g=(p=e.autoInsertSpace)!=null?p:(v=r.value)==null?void 0:v.autoInsertSpace)!=null?g:!1}),f=L(()=>e.tag==="button"?{ariaDisabled:o.value||e.loading,disabled:o.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{}),d=L(()=>{var v;const p=(v=s.default)==null?void 0:v.call(s);if(c.value&&(p==null?void 0:p.length)===1){const g=p[0];if((g==null?void 0:g.type)===Yd){const m=g.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(m.trim())}}return!1});return{_disabled:o,_size:i,_type:u,_ref:l,_props:f,shouldAddSpace:d,handleClick:v=>{e.nativeType==="reset"&&(a==null||a.resetFields()),t("click",v)}}},M4=["default","primary","success","warning","info","danger","text",""],xfe=["button","submit","reset"],A4=Oe({size:cr,disabled:Boolean,type:{type:String,values:M4,default:""},icon:{type:hn},nativeType:{type:String,values:xfe,default:"button"},loading:Boolean,loadingIcon:{type:hn,default:()=>iu},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:he([String,Object]),default:"button"}}),Sfe={click:e=>e instanceof MouseEvent};function Nr(e,t){Cfe(e)&&(e="100%");var n=Tfe(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function gg(e){return Math.min(1,Math.max(0,e))}function Cfe(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Tfe(e){return typeof e=="string"&&e.indexOf("%")!==-1}function g$(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function mg(e){return e<=1?"".concat(Number(e)*100,"%"):e}function ec(e){return e.length===1?"0"+e:String(e)}function kfe(e,t,n){return{r:Nr(e,255)*255,g:Nr(t,255)*255,b:Nr(n,255)*255}}function bk(e,t,n){e=Nr(e,255),t=Nr(t,255),n=Nr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=0,l=(r+a)/2;if(r===a)o=0,i=0;else{var s=r-a;switch(o=l>.5?s/(2-r-a):s/(r+a),r){case e:i=(t-n)/s+(t<n?6:0);break;case t:i=(n-e)/s+2;break;case n:i=(e-t)/s+4;break}i/=6}return{h:i,s:o,l}}function ab(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function zfe(e,t,n){var r,a,i;if(e=Nr(e,360),t=Nr(t,100),n=Nr(n,100),t===0)a=n,i=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,l=2*n-o;r=ab(l,o,e+1/3),a=ab(l,o,e),i=ab(l,o,e-1/3)}return{r:r*255,g:a*255,b:i*255}}function _k(e,t,n){e=Nr(e,255),t=Nr(t,255),n=Nr(n,255);var r=Math.max(e,t,n),a=Math.min(e,t,n),i=0,o=r,l=r-a,s=r===0?0:l/r;if(r===a)i=0;else{switch(r){case e:i=(t-n)/l+(t<n?6:0);break;case t:i=(n-e)/l+2;break;case n:i=(e-t)/l+4;break}i/=6}return{h:i,s,v:o}}function Mfe(e,t,n){e=Nr(e,360)*6,t=Nr(t,100),n=Nr(n,100);var r=Math.floor(e),a=e-r,i=n*(1-t),o=n*(1-a*t),l=n*(1-(1-a)*t),s=r%6,u=[n,o,i,i,l,n][s],c=[l,n,n,o,i,i][s],f=[i,i,l,n,n,o][s];return{r:u*255,g:c*255,b:f*255}}function wk(e,t,n,r){var a=[ec(Math.round(e).toString(16)),ec(Math.round(t).toString(16)),ec(Math.round(n).toString(16))];return r&&a[0].startsWith(a[0].charAt(1))&&a[1].startsWith(a[1].charAt(1))&&a[2].startsWith(a[2].charAt(1))?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0):a.join("")}function Afe(e,t,n,r,a){var i=[ec(Math.round(e).toString(16)),ec(Math.round(t).toString(16)),ec(Math.round(n).toString(16)),ec(Efe(r))];return a&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}function Efe(e){return Math.round(parseFloat(e)*255).toString(16)}function xk(e){return Oa(e)/255}function Oa(e){return parseInt(e,16)}function Ife(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var E4={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function Dfe(e){var t={r:0,g:0,b:0},n=1,r=null,a=null,i=null,o=!1,l=!1;return typeof e=="string"&&(e=Rfe(e)),typeof e=="object"&&(Qo(e.r)&&Qo(e.g)&&Qo(e.b)?(t=kfe(e.r,e.g,e.b),o=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qo(e.h)&&Qo(e.s)&&Qo(e.v)?(r=mg(e.s),a=mg(e.v),t=Mfe(e.h,r,a),o=!0,l="hsv"):Qo(e.h)&&Qo(e.s)&&Qo(e.l)&&(r=mg(e.s),i=mg(e.l),t=zfe(e.h,r,i),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=g$(n),{ok:o,format:e.format||l,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var Lfe="[-\\+]?\\d+%?",Pfe="[-\\+]?\\d*\\.\\d+%?",ys="(?:".concat(Pfe,")|(?:").concat(Lfe,")"),ib="[\\s|\\(]+(".concat(ys,")[,|\\s]+(").concat(ys,")[,|\\s]+(").concat(ys,")\\s*\\)?"),ob="[\\s|\\(]+(".concat(ys,")[,|\\s]+(").concat(ys,")[,|\\s]+(").concat(ys,")[,|\\s]+(").concat(ys,")\\s*\\)?"),Oi={CSS_UNIT:new RegExp(ys),rgb:new RegExp("rgb"+ib),rgba:new RegExp("rgba"+ob),hsl:new RegExp("hsl"+ib),hsla:new RegExp("hsla"+ob),hsv:new RegExp("hsv"+ib),hsva:new RegExp("hsva"+ob),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Rfe(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(E4[e])e=E4[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Oi.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Oi.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Oi.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Oi.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Oi.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Oi.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Oi.hex8.exec(e),n?{r:Oa(n[1]),g:Oa(n[2]),b:Oa(n[3]),a:xk(n[4]),format:t?"name":"hex8"}:(n=Oi.hex6.exec(e),n?{r:Oa(n[1]),g:Oa(n[2]),b:Oa(n[3]),format:t?"name":"hex"}:(n=Oi.hex4.exec(e),n?{r:Oa(n[1]+n[1]),g:Oa(n[2]+n[2]),b:Oa(n[3]+n[3]),a:xk(n[4]+n[4]),format:t?"name":"hex8"}:(n=Oi.hex3.exec(e),n?{r:Oa(n[1]+n[1]),g:Oa(n[2]+n[2]),b:Oa(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Qo(e){return!!Oi.CSS_UNIT.exec(String(e))}var m$=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=Ife(t)),this.originalInput=t;var a=Dfe(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,a,i=t.r/255,o=t.g/255,l=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),l<=.03928?a=l/12.92:a=Math.pow((l+.055)/1.055,2.4),.2126*n+.7152*r+.0722*a},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=g$(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=_k(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=_k(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=bk(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=bk(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),a=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(a,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(a,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),wk(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),Afe(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Nr(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Nr(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+wk(this.r,this.g,this.b,!1),n=0,r=Object.entries(E4);n<r.length;n++){var a=r[n],i=a[0],o=a[1];if(t===o)return i}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,a=this.a<1&&this.a>=0,i=!n&&a&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=gg(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=gg(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=gg(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=gg(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),a=new e(t).toRgb(),i=n/100,o={r:(a.r-r.r)*i+r.r,g:(a.g-r.g)*i+r.g,b:(a.b-r.b)*i+r.b,a:(a.a-r.a)*i+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),a=360/n,i=[this];for(r.h=(r.h-(a*t>>1)+720)%360;--t;)r.h=(r.h+a)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,a=n.s,i=n.v,o=[],l=1/t;t--;)o.push(new e({h:r,s:a,v:i})),i=(i+l)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),a=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/a,g:(n.g*n.a+r.g*r.a*(1-n.a))/a,b:(n.b*n.a+r.b*r.a*(1-n.a))/a,a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,a=[this],i=360/t,o=1;o<t;o++)a.push(new e({h:(r+o*i)%360,s:n.s,l:n.l}));return a},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function Ul(e,t=20){return e.mix("#141414",t).toString()}function Ofe(e){const t=ma(),n=Ee("button");return L(()=>{let r={};const a=e.color;if(a){const i=new m$(a),o=e.dark?i.tint(20).toString():Ul(i,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?Ul(i,90):i.tint(90).toString(),"text-color":a,"border-color":e.dark?Ul(i,50):i.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":a,"hover-border-color":a,"active-bg-color":o,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":o}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?Ul(i,90):i.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?Ul(i,50):i.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?Ul(i,80):i.tint(80).toString());else{const l=e.dark?Ul(i,30):i.tint(30).toString(),s=i.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":a,"text-color":s,"border-color":a,"hover-bg-color":l,"hover-text-color":s,"hover-border-color":l,"active-bg-color":o,"active-border-color":o}),t.value){const u=e.dark?Ul(i,50):i.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=u,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=u}}}return r})}const Nfe=te({name:"ElButton"}),$fe=te({...Nfe,props:A4,emits:Sfe,setup(e,{expose:t,emit:n}){const r=e,a=Ofe(r),i=Ee("button"),{_ref:o,_size:l,_type:s,_disabled:u,_props:c,shouldAddSpace:f,handleClick:d}=wfe(r,n),h=L(()=>[i.b(),i.m(s.value),i.m(l.value),i.is("disabled",u.value),i.is("loading",r.loading),i.is("plain",r.plain),i.is("round",r.round),i.is("circle",r.circle),i.is("text",r.text),i.is("link",r.link),i.is("has-bg",r.bg)]);return t({ref:o,size:l,type:s,disabled:u,shouldAddSpace:f}),(v,p)=>(k(),Y(It(v.tag),Pt({ref_key:"_ref",ref:o},y(c),{class:y(h),style:y(a),onClick:y(d)}),{default:M(()=>[v.loading?(k(),F(de,{key:0},[v.$slots.loading?me(v.$slots,"loading",{key:0}):(k(),Y(y(Ze),{key:1,class:q(y(i).is("loading"))},{default:M(()=>[(k(),Y(It(v.loadingIcon)))]),_:1},8,["class"]))],64)):v.icon||v.$slots.icon?(k(),Y(y(Ze),{key:1},{default:M(()=>[v.icon?(k(),Y(It(v.icon),{key:0})):me(v.$slots,"icon",{key:1})]),_:3})):Q("v-if",!0),v.$slots.default?(k(),F("span",{key:2,class:q({[y(i).em("text","expand")]:y(f)})},[me(v.$slots,"default")],2)):Q("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Vfe=Ne($fe,[["__file","button.vue"]]);const Bfe={size:A4.size,type:A4.type},Ffe=te({name:"ElButtonGroup"}),Hfe=te({...Ffe,props:Bfe,setup(e){const t=e;Rt(p$,nn({size:mn(t,"size"),type:mn(t,"type")}));const n=Ee("button");return(r,a)=>(k(),F("div",{class:q(`${y(n).b("group")}`)},[me(r.$slots,"default")],2))}});var y$=Ne(Hfe,[["__file","button-group.vue"]]);const _r=St(Vfe,{ButtonGroup:y$}),b$=On(y$);var Vl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var _$={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",o="second",l="minute",s="hour",u="day",c="week",f="month",d="quarter",h="year",v="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(O){var R=["th","st","nd","rd"],N=O%100;return"["+O+(R[(N-20)%10]||R[N]||R[0])+"]"}},_=function(O,R,N){var B=String(O);return!B||B.length>=R?O:""+Array(R+1-B.length).join(N)+O},w={s:_,z:function(O){var R=-O.utcOffset(),N=Math.abs(R),B=Math.floor(N/60),V=N%60;return(R<=0?"+":"-")+_(B,2,"0")+":"+_(V,2,"0")},m:function O(R,N){if(R.date()<N.date())return-O(N,R);var B=12*(N.year()-R.year())+(N.month()-R.month()),V=R.clone().add(B,f),P=N-V<0,W=R.clone().add(B+(P?-1:1),f);return+(-(B+(N-V)/(P?V-W:W-V))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:f,y:h,w:c,d:u,D:v,h:s,m:l,s:o,ms:i,Q:d}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},x="en",S={};S[x]=b;var C="$isDayjsObject",T=function(O){return O instanceof D||!(!O||!O[C])},z=function O(R,N,B){var V;if(!R)return x;if(typeof R=="string"){var P=R.toLowerCase();S[P]&&(V=P),N&&(S[P]=N,V=P);var W=R.split("-");if(!V&&W.length>1)return O(W[0])}else{var Z=R.name;S[Z]=R,V=Z}return!B&&V&&(x=V),V||!B&&x},A=function(O,R){if(T(O))return O.clone();var N=typeof R=="object"?R:{};return N.date=O,N.args=arguments,new D(N)},E=w;E.l=z,E.i=T,E.w=function(O,R){return A(O,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var D=function(){function O(N){this.$L=z(N.locale,null,!0),this.parse(N),this.$x=this.$x||N.x||{},this[C]=!0}var R=O.prototype;return R.parse=function(N){this.$d=function(B){var V=B.date,P=B.utc;if(V===null)return new Date(NaN);if(E.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var W=V.match(g);if(W){var Z=W[2]-1||0,ee=(W[7]||"0").substring(0,3);return P?new Date(Date.UTC(W[1],Z,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ee)):new Date(W[1],Z,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ee)}}return new Date(V)}(N),this.init()},R.init=function(){var N=this.$d;this.$y=N.getFullYear(),this.$M=N.getMonth(),this.$D=N.getDate(),this.$W=N.getDay(),this.$H=N.getHours(),this.$m=N.getMinutes(),this.$s=N.getSeconds(),this.$ms=N.getMilliseconds()},R.$utils=function(){return E},R.isValid=function(){return this.$d.toString()!==p},R.isSame=function(N,B){var V=A(N);return this.startOf(B)<=V&&V<=this.endOf(B)},R.isAfter=function(N,B){return A(N)<this.startOf(B)},R.isBefore=function(N,B){return this.endOf(B)<A(N)},R.$g=function(N,B,V){return E.u(N)?this[B]:this.set(V,N)},R.unix=function(){return Math.floor(this.valueOf()/1e3)},R.valueOf=function(){return this.$d.getTime()},R.startOf=function(N,B){var V=this,P=!!E.u(B)||B,W=E.p(N),Z=function(ve,ce){var fe=E.w(V.$u?Date.UTC(V.$y,ce,ve):new Date(V.$y,ce,ve),V);return P?fe:fe.endOf(u)},ee=function(ve,ce){return E.w(V.toDate()[ve].apply(V.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(ce)),V)},re=this.$W,ue=this.$M,ye=this.$D,le="set"+(this.$u?"UTC":"");switch(W){case h:return P?Z(1,0):Z(31,11);case f:return P?Z(1,ue):Z(0,ue+1);case c:var ae=this.$locale().weekStart||0,ie=(re<ae?re+7:re)-ae;return Z(P?ye-ie:ye+(6-ie),ue);case u:case v:return ee(le+"Hours",0);case s:return ee(le+"Minutes",1);case l:return ee(le+"Seconds",2);case o:return ee(le+"Milliseconds",3);default:return this.clone()}},R.endOf=function(N){return this.startOf(N,!1)},R.$set=function(N,B){var V,P=E.p(N),W="set"+(this.$u?"UTC":""),Z=(V={},V[u]=W+"Date",V[v]=W+"Date",V[f]=W+"Month",V[h]=W+"FullYear",V[s]=W+"Hours",V[l]=W+"Minutes",V[o]=W+"Seconds",V[i]=W+"Milliseconds",V)[P],ee=P===u?this.$D+(B-this.$W):B;if(P===f||P===h){var re=this.clone().set(v,1);re.$d[Z](ee),re.init(),this.$d=re.set(v,Math.min(this.$D,re.daysInMonth())).$d}else Z&&this.$d[Z](ee);return this.init(),this},R.set=function(N,B){return this.clone().$set(N,B)},R.get=function(N){return this[E.p(N)]()},R.add=function(N,B){var V,P=this;N=Number(N);var W=E.p(B),Z=function(ue){var ye=A(P);return E.w(ye.date(ye.date()+Math.round(ue*N)),P)};if(W===f)return this.set(f,this.$M+N);if(W===h)return this.set(h,this.$y+N);if(W===u)return Z(1);if(W===c)return Z(7);var ee=(V={},V[l]=r,V[s]=a,V[o]=n,V)[W]||1,re=this.$d.getTime()+N*ee;return E.w(re,this)},R.subtract=function(N,B){return this.add(-1*N,B)},R.format=function(N){var B=this,V=this.$locale();if(!this.isValid())return V.invalidDate||p;var P=N||"YYYY-MM-DDTHH:mm:ssZ",W=E.z(this),Z=this.$H,ee=this.$m,re=this.$M,ue=V.weekdays,ye=V.months,le=V.meridiem,ae=function(ce,fe,xe,J){return ce&&(ce[fe]||ce(B,P))||xe[fe].slice(0,J)},ie=function(ce){return E.s(Z%12||12,ce,"0")},ve=le||function(ce,fe,xe){var J=ce<12?"AM":"PM";return xe?J.toLowerCase():J};return P.replace(m,function(ce,fe){return fe||function(xe){switch(xe){case"YY":return String(B.$y).slice(-2);case"YYYY":return E.s(B.$y,4,"0");case"M":return re+1;case"MM":return E.s(re+1,2,"0");case"MMM":return ae(V.monthsShort,re,ye,3);case"MMMM":return ae(ye,re);case"D":return B.$D;case"DD":return E.s(B.$D,2,"0");case"d":return String(B.$W);case"dd":return ae(V.weekdaysMin,B.$W,ue,2);case"ddd":return ae(V.weekdaysShort,B.$W,ue,3);case"dddd":return ue[B.$W];case"H":return String(Z);case"HH":return E.s(Z,2,"0");case"h":return ie(1);case"hh":return ie(2);case"a":return ve(Z,ee,!0);case"A":return ve(Z,ee,!1);case"m":return String(ee);case"mm":return E.s(ee,2,"0");case"s":return String(B.$s);case"ss":return E.s(B.$s,2,"0");case"SSS":return E.s(B.$ms,3,"0");case"Z":return W}return null}(ce)||W.replace(":","")})},R.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},R.diff=function(N,B,V){var P,W=this,Z=E.p(B),ee=A(N),re=(ee.utcOffset()-this.utcOffset())*r,ue=this-ee,ye=function(){return E.m(W,ee)};switch(Z){case h:P=ye()/12;break;case f:P=ye();break;case d:P=ye()/3;break;case c:P=(ue-re)/6048e5;break;case u:P=(ue-re)/864e5;break;case s:P=ue/a;break;case l:P=ue/r;break;case o:P=ue/n;break;default:P=ue}return V?P:E.a(P)},R.daysInMonth=function(){return this.endOf(f).$D},R.$locale=function(){return S[this.$L]},R.locale=function(N,B){if(!N)return this.$L;var V=this.clone(),P=z(N,B,!0);return P&&(V.$L=P),V},R.clone=function(){return E.w(this.$d,this)},R.toDate=function(){return new Date(this.valueOf())},R.toJSON=function(){return this.isValid()?this.toISOString():null},R.toISOString=function(){return this.$d.toISOString()},R.toString=function(){return this.$d.toUTCString()},O}(),$=D.prototype;return A.prototype=$,[["$ms",i],["$s",o],["$m",l],["$H",s],["$W",u],["$M",f],["$y",h],["$D",v]].forEach(function(O){$[O[1]]=function(R){return this.$g(R,O[0],O[1])}}),A.extend=function(O,R){return O.$i||(O(R,D,A),O.$i=!0),A},A.locale=z,A.isDayjs=T,A.unix=function(O){return A(1e3*O)},A.en=S[x],A.Ls=S,A.p={},A})})(_$);var jfe=_$.exports;const Tt=Bl(jfe);var w$={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,a=/\d\d/,i=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,l={},s=function(p){return(p=+p)+(p>68?1900:2e3)},u=function(p){return function(g){this[p]=+g}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(p){(this.zone||(this.zone={})).offset=function(g){if(!g||g==="Z")return 0;var m=g.match(/([+-]|\d\d)/g),b=60*m[1]+(+m[2]||0);return b===0?0:m[0]==="+"?-b:b}(p)}],f=function(p){var g=l[p];return g&&(g.indexOf?g:g.s.concat(g.f))},d=function(p,g){var m,b=l.meridiem;if(b){for(var _=1;_<=24;_+=1)if(p.indexOf(b(_,0,g))>-1){m=_>12;break}}else m=p===(g?"pm":"PM");return m},h={A:[o,function(p){this.afternoon=d(p,!1)}],a:[o,function(p){this.afternoon=d(p,!0)}],S:[/\d/,function(p){this.milliseconds=100*+p}],SS:[a,function(p){this.milliseconds=10*+p}],SSS:[/\d{3}/,function(p){this.milliseconds=+p}],s:[i,u("seconds")],ss:[i,u("seconds")],m:[i,u("minutes")],mm:[i,u("minutes")],H:[i,u("hours")],h:[i,u("hours")],HH:[i,u("hours")],hh:[i,u("hours")],D:[i,u("day")],DD:[a,u("day")],Do:[o,function(p){var g=l.ordinal,m=p.match(/\d+/);if(this.day=m[0],g)for(var b=1;b<=31;b+=1)g(b).replace(/\[|\]/g,"")===p&&(this.day=b)}],M:[i,u("month")],MM:[a,u("month")],MMM:[o,function(p){var g=f("months"),m=(f("monthsShort")||g.map(function(b){return b.slice(0,3)})).indexOf(p)+1;if(m<1)throw new Error;this.month=m%12||m}],MMMM:[o,function(p){var g=f("months").indexOf(p)+1;if(g<1)throw new Error;this.month=g%12||g}],Y:[/[+-]?\d+/,u("year")],YY:[a,function(p){this.year=s(p)}],YYYY:[/\d{4}/,u("year")],Z:c,ZZ:c};function v(p){var g,m;g=p,m=l&&l.formats;for(var b=(p=g.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(z,A,E){var D=E&&E.toUpperCase();return A||m[E]||n[E]||m[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function($,O,R){return O||R.slice(1)})})).match(r),_=b.length,w=0;w<_;w+=1){var x=b[w],S=h[x],C=S&&S[0],T=S&&S[1];b[w]=T?{regex:C,parser:T}:x.replace(/^\[|\]$/g,"")}return function(z){for(var A={},E=0,D=0;E<_;E+=1){var $=b[E];if(typeof $=="string")D+=$.length;else{var O=$.regex,R=$.parser,N=z.slice(D),B=O.exec(N)[0];R.call(A,B),z=z.replace(B,"")}}return function(V){var P=V.afternoon;if(P!==void 0){var W=V.hours;P?W<12&&(V.hours+=12):W===12&&(V.hours=0),delete V.afternoon}}(A),A}}return function(p,g,m){m.p.customParseFormat=!0,p&&p.parseTwoDigitYear&&(s=p.parseTwoDigitYear);var b=g.prototype,_=b.parse;b.parse=function(w){var x=w.date,S=w.utc,C=w.args;this.$u=S;var T=C[1];if(typeof T=="string"){var z=C[2]===!0,A=C[3]===!0,E=z||A,D=C[2];A&&(D=C[2]),l=this.$locale(),!z&&D&&(l=m.Ls[D]),this.$d=function(N,B,V){try{if(["x","X"].indexOf(B)>-1)return new Date((B==="X"?1e3:1)*N);var P=v(B)(N),W=P.year,Z=P.month,ee=P.day,re=P.hours,ue=P.minutes,ye=P.seconds,le=P.milliseconds,ae=P.zone,ie=new Date,ve=ee||(W||Z?1:ie.getDate()),ce=W||ie.getFullYear(),fe=0;W&&!Z||(fe=Z>0?Z-1:ie.getMonth());var xe=re||0,J=ue||0,oe=ye||0,pe=le||0;return ae?new Date(Date.UTC(ce,fe,ve,xe,J,oe,pe+60*ae.offset*1e3)):V?new Date(Date.UTC(ce,fe,ve,xe,J,oe,pe)):new Date(ce,fe,ve,xe,J,oe,pe)}catch{return new Date("")}}(x,T,S),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),E&&x!=this.format(T)&&(this.$d=new Date("")),l={}}else if(T instanceof Array)for(var $=T.length,O=1;O<=$;O+=1){C[1]=T[O-1];var R=m.apply(this,C);if(R.isValid()){this.$d=R.$d,this.$L=R.$L,this.init();break}O===$&&(this.$d=new Date(""))}else _.call(this,w)}}})})(w$);var qfe=w$.exports;const FS=Bl(qfe),Sk=["hours","minutes","seconds"],I4="HH:mm:ss",Rf="YYYY-MM-DD",Gfe={date:Rf,dates:Rf,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",datetime:`${Rf} ${I4}`,monthrange:"YYYY-MM",daterange:Rf,datetimerange:`${Rf} ${I4}`},lb=(e,t)=>[e>0?e-1:void 0,e,e<t?e+1:void 0],Ds=e=>Array.from(Array.from({length:e}).keys()),x$=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),S$=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),Ck=function(e,t){const n=Mc(e),r=Mc(t);return n&&r?e.getTime()===t.getTime():!n&&!r?e===t:!1},Tk=function(e,t){const n=We(e),r=We(t);return n&&r?e.length!==t.length?!1:e.every((a,i)=>Ck(a,t[i])):!n&&!r?Ck(e,t):!1},kk=function(e,t,n){const r=fi(t)||t==="x"?Tt(e).locale(n):Tt(e,t).locale(n);return r.isValid()?r:void 0},zk=function(e,t,n){return fi(t)?e:t==="x"?+e:Tt(e).locale(n).format(t)},sb=(e,t)=>{var n;const r=[],a=t==null?void 0:t();for(let i=0;i<e;i++)r.push((n=a==null?void 0:a.includes(i))!=null?n:!1);return r},C$=Oe({disabledHours:{type:he(Function)},disabledMinutes:{type:he(Function)},disabledSeconds:{type:he(Function)}}),T$=Oe({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),HS=Oe({id:{type:he([Array,String])},name:{type:he([Array,String]),default:""},popperClass:{type:String,default:""},format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:he([String,Object]),default:au},editable:{type:Boolean,default:!0},prefixIcon:{type:he([String,Object]),default:""},size:cr,readonly:Boolean,disabled:Boolean,placeholder:{type:String,default:""},popperOptions:{type:he(Object),default:()=>({})},modelValue:{type:he([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:he([Date,Array])},defaultTime:{type:he([Date,Array])},isRange:Boolean,...C$,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,label:{type:String,default:void 0},tabindex:{type:he([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,...th,...Er(["ariaLabel"])}),Wfe=["id","name","placeholder","value","disabled","readonly"],Ufe=["id","name","placeholder","value","disabled","readonly"],Yfe=te({name:"Picker"}),Kfe=te({...Yfe,props:HS,emits:["update:modelValue","change","focus","blur","calendar-change","panel-change","visible-change","keydown"],setup(e,{expose:t,emit:n}){const r=e,a=qc(),{lang:i}=Xt(),o=Ee("date"),l=Ee("input"),s=Ee("range"),{form:u,formItem:c}=Qr(),f=Ye("ElPopperOptions",{}),{valueOnClear:d}=Ey(r,null),h=j(),v=j(),p=j(!1),g=j(!1),m=j(null);let b=!1,_=!1;const w=L(()=>[o.b("editor"),o.bm("editor",r.type),l.e("wrapper"),o.is("disabled",re.value),o.is("active",p.value),s.b("editor"),De?s.bm("editor",De.value):"",a.class]),x=L(()=>[l.e("icon"),s.e("close-icon"),fe.value?"":s.e("close-icon--hidden")]);ke(p,be=>{be?nt(()=>{be&&(m.value=r.modelValue)}):(Ce.value=null,nt(()=>{S(r.modelValue)}))});const S=(be,Qe)=>{(Qe||!Tk(be,m.value))&&(n("change",be),r.validateEvent&&(c==null||c.validate("change").catch(Lt=>void 0)))},C=be=>{if(!Tk(r.modelValue,be)){let Qe;We(be)?Qe=be.map(Lt=>zk(Lt,r.valueFormat,i.value)):be&&(Qe=zk(be,r.valueFormat,i.value)),n("update:modelValue",be&&Qe,i.value)}},T=be=>{n("keydown",be)},z=L(()=>{if(v.value){const be=Ae.value?v.value:v.value.$el;return Array.from(be.querySelectorAll("input"))}return[]}),A=(be,Qe,Lt)=>{const cn=z.value;cn.length&&(!Lt||Lt==="min"?(cn[0].setSelectionRange(be,Qe),cn[0].focus()):Lt==="max"&&(cn[1].setSelectionRange(be,Qe),cn[1].focus()))},E=()=>{P(!0,!0),nt(()=>{_=!1})},D=(be="",Qe=!1)=>{Qe||(_=!0),p.value=Qe;let Lt;We(be)?Lt=be.map(cn=>cn.toDate()):Lt=be&&be.toDate(),Ce.value=null,C(Lt)},$=()=>{g.value=!0},O=()=>{n("visible-change",!0)},R=be=>{(be==null?void 0:be.key)===at.esc&&P(!0,!0)},N=()=>{g.value=!1,p.value=!1,_=!1,n("visible-change",!1)},B=()=>{p.value=!0},V=()=>{p.value=!1},P=(be=!0,Qe=!1)=>{_=Qe;const[Lt,cn]=y(z);let $n=Lt;!be&&Ae.value&&($n=cn),$n&&$n.focus()},W=be=>{r.readonly||re.value||p.value||_||(p.value=!0,n("focus",be))};let Z;const ee=be=>{const Qe=async()=>{setTimeout(()=>{var Lt;Z===Qe&&(!((Lt=h.value)!=null&&Lt.isFocusInsideContent()&&!b)&&z.value.filter(cn=>cn.contains(document.activeElement)).length===0&&(Ue(),p.value=!1,n("blur",be),r.validateEvent&&(c==null||c.validate("blur").catch(cn=>void 0))),b=!1)},0)};Z=Qe,Qe()},re=L(()=>r.disabled||(u==null?void 0:u.disabled)),ue=L(()=>{let be;if(J.value?Le.value.getDefaultValue&&(be=Le.value.getDefaultValue()):We(r.modelValue)?be=r.modelValue.map(Qe=>kk(Qe,r.valueFormat,i.value)):be=kk(r.modelValue,r.valueFormat,i.value),Le.value.getRangeAvailableTime){const Qe=Le.value.getRangeAvailableTime(be);Yr(Qe,be)||(be=Qe,C(We(be)?be.map(Lt=>Lt.toDate()):be.toDate()))}return We(be)&&be.some(Qe=>!Qe)&&(be=[]),be}),ye=L(()=>{if(!Le.value.panelReady)return"";const be=ze(ue.value);return We(Ce.value)?[Ce.value[0]||be&&be[0]||"",Ce.value[1]||be&&be[1]||""]:Ce.value!==null?Ce.value:!ae.value&&J.value||!p.value&&J.value?"":be?ie.value||ve.value?be.join(", "):be:""}),le=L(()=>r.type.includes("time")),ae=L(()=>r.type.startsWith("time")),ie=L(()=>r.type==="dates"),ve=L(()=>r.type==="years"),ce=L(()=>r.prefixIcon||(le.value?cN:Aae)),fe=j(!1),xe=be=>{r.readonly||re.value||fe.value&&(be.stopPropagation(),E(),C(d.value),S(d.value,!0),fe.value=!1,p.value=!1,Le.value.handleClear&&Le.value.handleClear())},J=L(()=>{const{modelValue:be}=r;return!be||We(be)&&!be.filter(Boolean).length}),oe=async be=>{var Qe;r.readonly||re.value||(((Qe=be.target)==null?void 0:Qe.tagName)!=="INPUT"||z.value.includes(document.activeElement))&&(p.value=!0)},pe=()=>{r.readonly||re.value||!J.value&&r.clearable&&(fe.value=!0)},Te=()=>{fe.value=!1},ge=be=>{var Qe;r.readonly||re.value||(((Qe=be.touches[0].target)==null?void 0:Qe.tagName)!=="INPUT"||z.value.includes(document.activeElement))&&(p.value=!0)},Ae=L(()=>r.type.includes("range")),De=tr(),Pe=L(()=>{var be,Qe;return(Qe=(be=y(h))==null?void 0:be.popperRef)==null?void 0:Qe.contentRef}),Re=L(()=>{var be;return y(Ae)?y(v):(be=y(v))==null?void 0:be.$el});F5(Re,be=>{const Qe=y(Pe),Lt=y(Re);Qe&&(be.target===Qe||be.composedPath().includes(Qe))||be.target===Lt||be.composedPath().includes(Lt)||(p.value=!1)});const Ce=j(null),Ue=()=>{if(Ce.value){const be=Je(ye.value);be&&Ke(be)&&(C(We(be)?be.map(Qe=>Qe.toDate()):be.toDate()),Ce.value=null)}Ce.value===""&&(C(d.value),S(d.value),Ce.value=null)},Je=be=>be?Le.value.parseUserInput(be):null,ze=be=>be?Le.value.formatToString(be):null,Ke=be=>Le.value.isValidValue(be),ut=async be=>{if(r.readonly||re.value)return;const{code:Qe}=be;if(T(be),Qe===at.esc){p.value===!0&&(p.value=!1,be.preventDefault(),be.stopPropagation());return}if(Qe===at.down&&(Le.value.handleFocusPicker&&(be.preventDefault(),be.stopPropagation()),p.value===!1&&(p.value=!0,await nt()),Le.value.handleFocusPicker)){Le.value.handleFocusPicker();return}if(Qe===at.tab){b=!0;return}if(Qe===at.enter||Qe===at.numpadEnter){(Ce.value===null||Ce.value===""||Ke(Je(ye.value)))&&(Ue(),p.value=!1),be.stopPropagation();return}if(Ce.value){be.stopPropagation();return}Le.value.handleKeydownInput&&Le.value.handleKeydownInput(be)},Et=be=>{Ce.value=be,p.value||(p.value=!0)},Ct=be=>{const Qe=be.target;Ce.value?Ce.value=[Qe.value,Ce.value[1]]:Ce.value=[Qe.value,null]},rt=be=>{const Qe=be.target;Ce.value?Ce.value=[Ce.value[0],Qe.value]:Ce.value=[null,Qe.value]},Me=()=>{var be;const Qe=Ce.value,Lt=Je(Qe&&Qe[0]),cn=y(ue);if(Lt&&Lt.isValid()){Ce.value=[ze(Lt),((be=ye.value)==null?void 0:be[1])||null];const $n=[Lt,cn&&(cn[1]||null)];Ke($n)&&(C($n),Ce.value=null)}},qe=()=>{var be;const Qe=y(Ce),Lt=Je(Qe&&Qe[1]),cn=y(ue);if(Lt&&Lt.isValid()){Ce.value=[((be=y(ye))==null?void 0:be[0])||null,ze(Lt)];const $n=[cn&&cn[0],Lt];Ke($n)&&(C($n),Ce.value=null)}},Le=j({}),_e=be=>{Le.value[be[0]]=be[1],Le.value.panelReady=!0},Ie=be=>{n("calendar-change",be)},Xe=(be,Qe,Lt)=>{n("panel-change",be,Qe,Lt)};return Rt("EP_PICKER_BASE",{props:r}),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-time-picker",ref:"https://element-plus.org/en-US/component/time-picker.html"},L(()=>!!r.label)),t({focus:P,handleFocusInput:W,handleBlurInput:ee,handleOpen:B,handleClose:V,onPick:D}),(be,Qe)=>(k(),Y(y(Xr),Pt({ref_key:"refPopper",ref:h,visible:p.value,effect:"light",pure:"",trigger:"click"},be.$attrs,{role:"dialog",teleported:"",transition:`${y(o).namespace.value}-zoom-in-top`,"popper-class":[`${y(o).namespace.value}-picker__popper`,be.popperClass],"popper-options":y(f),"fallback-placements":["bottom","top","right","left"],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:$,onShow:O,onHide:N}),{default:M(()=>[y(Ae)?(k(),F("div",{key:1,ref_key:"inputRef",ref:v,class:q(y(w)),style:Be(be.$attrs.style),onClick:W,onMouseenter:pe,onMouseleave:Te,onTouchstartPassive:ge,onKeydown:ut},[y(ce)?(k(),Y(y(Ze),{key:0,class:q([y(l).e("icon"),y(s).e("icon")]),onMousedown:ft(oe,["prevent"]),onTouchstartPassive:ge},{default:M(()=>[(k(),Y(It(y(ce))))]),_:1},8,["class","onMousedown"])):Q("v-if",!0),X("input",{id:be.id&&be.id[0],autocomplete:"off",name:be.name&&be.name[0],placeholder:be.startPlaceholder,value:y(ye)&&y(ye)[0],disabled:y(re),readonly:!be.editable||be.readonly,class:q(y(s).b("input")),onMousedown:oe,onInput:Ct,onChange:Me,onFocus:W,onBlur:ee},null,42,Wfe),me(be.$slots,"range-separator",{},()=>[X("span",{class:q(y(s).b("separator"))},U(be.rangeSeparator),3)]),X("input",{id:be.id&&be.id[1],autocomplete:"off",name:be.name&&be.name[1],placeholder:be.endPlaceholder,value:y(ye)&&y(ye)[1],disabled:y(re),readonly:!be.editable||be.readonly,class:q(y(s).b("input")),onMousedown:oe,onFocus:W,onBlur:ee,onInput:rt,onChange:qe},null,42,Ufe),be.clearIcon?(k(),Y(y(Ze),{key:1,class:q(y(x)),onClick:xe},{default:M(()=>[(k(),Y(It(be.clearIcon)))]),_:1},8,["class"])):Q("v-if",!0)],38)):(k(),Y(y(Ur),{key:0,id:be.id,ref_key:"inputRef",ref:v,"container-role":"combobox","model-value":y(ye),name:be.name,size:y(De),disabled:y(re),placeholder:be.placeholder,class:q([y(o).b("editor"),y(o).bm("editor",be.type),be.$attrs.class]),style:Be(be.$attrs.style),readonly:!be.editable||be.readonly||y(ie)||y(ve)||be.type==="week","aria-label":be.label||be.ariaLabel,tabindex:be.tabindex,"validate-event":!1,onInput:Et,onFocus:W,onBlur:ee,onKeydown:ut,onChange:Ue,onMousedown:oe,onMouseenter:pe,onMouseleave:Te,onTouchstartPassive:ge,onClick:Qe[0]||(Qe[0]=ft(()=>{},["stop"]))},{prefix:M(()=>[y(ce)?(k(),Y(y(Ze),{key:0,class:q(y(l).e("icon")),onMousedown:ft(oe,["prevent"]),onTouchstartPassive:ge},{default:M(()=>[(k(),Y(It(y(ce))))]),_:1},8,["class","onMousedown"])):Q("v-if",!0)]),suffix:M(()=>[fe.value&&be.clearIcon?(k(),Y(y(Ze),{key:0,class:q(`${y(l).e("icon")} clear-icon`),onClick:ft(xe,["stop"])},{default:M(()=>[(k(),Y(It(be.clearIcon)))]),_:1},8,["class","onClick"])):Q("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onKeydown"]))]),content:M(()=>[me(be.$slots,"default",{visible:p.value,actualVisible:g.value,parsedValue:y(ue),format:be.format,dateFormat:be.dateFormat,timeFormat:be.timeFormat,unlinkPanels:be.unlinkPanels,type:be.type,defaultValue:be.defaultValue,onPick:D,onSelectRange:A,onSetPickerOption:_e,onCalendarChange:Ie,onPanelChange:Xe,onKeydown:R,onMousedown:Qe[1]||(Qe[1]=ft(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var k$=Ne(Kfe,[["__file","picker.vue"]]);const Xfe=Oe({...T$,datetimeRole:String,parsedValue:{type:he(Object)}}),z$=({getAvailableHours:e,getAvailableMinutes:t,getAvailableSeconds:n})=>{const r=(o,l,s,u)=>{const c={hour:e,minute:t,second:n};let f=o;return["hour","minute","second"].forEach(d=>{if(c[d]){let h;const v=c[d];switch(d){case"minute":{h=v(f.hour(),l,u);break}case"second":{h=v(f.hour(),f.minute(),l,u);break}default:{h=v(l,u);break}}if(h!=null&&h.length&&!h.includes(f[d]())){const p=s?0:h.length-1;f=f[d](h[p])}}}),f},a={};return{timePickerOptions:a,getAvailableTime:r,onSetOption:([o,l])=>{a[o]=l}}},ub=e=>{const t=(r,a)=>r||a,n=r=>r!==!0;return e.map(t).filter(n)},M$=(e,t,n)=>({getHoursList:(o,l)=>sb(24,e&&(()=>e==null?void 0:e(o,l))),getMinutesList:(o,l,s)=>sb(60,t&&(()=>t==null?void 0:t(o,l,s))),getSecondsList:(o,l,s,u)=>sb(60,n&&(()=>n==null?void 0:n(o,l,s,u)))}),A$=(e,t,n)=>{const{getHoursList:r,getMinutesList:a,getSecondsList:i}=M$(e,t,n);return{getAvailableHours:(u,c)=>ub(r(u,c)),getAvailableMinutes:(u,c,f)=>ub(a(u,c,f)),getAvailableSeconds:(u,c,f,d)=>ub(i(u,c,f,d))}},E$=e=>{const t=j(e.parsedValue);return ke(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},is=new Map;let Mk;Wt&&(document.addEventListener("mousedown",e=>Mk=e),document.addEventListener("mouseup",e=>{for(const t of is.values())for(const{documentHandler:n}of t)n(e,Mk)}));function Ak(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:Si(t.arg)&&n.push(t.arg),function(r,a){const i=t.instance.popperRef,o=r.target,l=a==null?void 0:a.target,s=!t||!t.instance,u=!o||!l,c=e.contains(o)||e.contains(l),f=e===o,d=n.length&&n.some(v=>v==null?void 0:v.contains(o))||n.length&&n.includes(l),h=i&&(i.contains(o)||i.contains(l));s||u||c||f||d||h||t.value(r,a)}}const Sl={beforeMount(e,t){is.has(e)||is.set(e,[]),is.get(e).push({documentHandler:Ak(e,t),bindingFn:t.value})},updated(e,t){is.has(e)||is.set(e,[]);const n=is.get(e),r=n.findIndex(i=>i.bindingFn===t.oldValue),a={documentHandler:Ak(e,t),bindingFn:t.value};r>=0?n.splice(r,1,a):n.push(a)},unmounted(e){is.delete(e)}},Zfe=100,Jfe=600,G2={beforeMount(e,t){const n=t.value,{interval:r=Zfe,delay:a=Jfe}=st(n)?{}:n;let i,o;const l=()=>st(n)?n():n.handler(),s=()=>{o&&(clearTimeout(o),o=void 0),i&&(clearInterval(i),i=void 0)};e.addEventListener("mousedown",u=>{u.button===0&&(s(),l(),document.addEventListener("mouseup",()=>s(),{once:!0}),o=setTimeout(()=>{i=setInterval(()=>{l()},r)},a))})}},D4="_trap-focus-children",tc=[],Ek=e=>{if(tc.length===0)return;const t=tc[tc.length-1][D4];if(t.length>0&&e.code===at.tab){if(t.length===1){e.preventDefault(),document.activeElement!==t[0]&&t[0].focus();return}const n=e.shiftKey,r=e.target===t[0],a=e.target===t[t.length-1];r&&n&&(e.preventDefault(),t[t.length-1].focus()),a&&!n&&(e.preventDefault(),t[0].focus())}},Qfe={beforeMount(e){e[D4]=V7(e),tc.push(e),tc.length<=1&&document.addEventListener("keydown",Ek)},updated(e){nt(()=>{e[D4]=V7(e)})},unmounted(){tc.shift(),tc.length===0&&document.removeEventListener("keydown",Ek)}};var Ik=!1,Uu,L4,P4,$0,V0,I$,B0,R4,O4,N4,D$,$4,V4,L$,P$;function _a(){if(!Ik){Ik=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if($4=/\b(iPhone|iP[ao]d)/.exec(e),V4=/\b(iP[ao]d)/.exec(e),N4=/Android/i.exec(e),L$=/FBAN\/\w+;/i.exec(e),P$=/Mobile/i.exec(e),D$=!!/Win64/.exec(e),t){Uu=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,Uu&&document&&document.documentMode&&(Uu=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);I$=r?parseFloat(r[1])+4:Uu,L4=t[2]?parseFloat(t[2]):NaN,P4=t[3]?parseFloat(t[3]):NaN,$0=t[4]?parseFloat(t[4]):NaN,$0?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),V0=t&&t[1]?parseFloat(t[1]):NaN):V0=NaN}else Uu=L4=P4=V0=$0=NaN;if(n){if(n[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);B0=a?parseFloat(a[1].replace("_",".")):!0}else B0=!1;R4=!!n[2],O4=!!n[3]}else B0=R4=O4=!1}}var B4={ie:function(){return _a()||Uu},ieCompatibilityMode:function(){return _a()||I$>Uu},ie64:function(){return B4.ie()&&D$},firefox:function(){return _a()||L4},opera:function(){return _a()||P4},webkit:function(){return _a()||$0},safari:function(){return B4.webkit()},chrome:function(){return _a()||V0},windows:function(){return _a()||R4},osx:function(){return _a()||B0},linux:function(){return _a()||O4},iphone:function(){return _a()||$4},mobile:function(){return _a()||$4||V4||N4||P$},nativeApp:function(){return _a()||L$},android:function(){return _a()||N4},ipad:function(){return _a()||V4}},ede=B4,yg=!!(typeof window<"u"&&window.document&&window.document.createElement),tde={canUseDOM:yg,canUseWorkers:typeof Worker<"u",canUseEventListeners:yg&&!!(window.addEventListener||window.attachEvent),canUseViewport:yg&&!!window.screen,isInWorker:!yg},R$=tde,O$;R$.canUseDOM&&(O$=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function nde(e,t){if(!R$.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var a=document.createElement("div");a.setAttribute(n,"return;"),r=typeof a[n]=="function"}return!r&&O$&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var rde=nde,Dk=10,Lk=40,Pk=800;function N$(e){var t=0,n=0,r=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*Dk,a=n*Dk,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||a)&&e.deltaMode&&(e.deltaMode==1?(r*=Lk,a*=Lk):(r*=Pk,a*=Pk)),r&&!t&&(t=r<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:a}}N$.getEventType=function(){return ede.firefox()?"DOMMouseScroll":rde("wheel")?"wheel":"mousewheel"};var ade=N$;/**
  52. * Checks if an event is supported in the current execution environment.
  53. *
  54. * NOTE: This will not work correctly for non-generic events such as `change`,
  55. * `reset`, `load`, `error`, and `select`.
  56. *
  57. * Borrows from Modernizr.
  58. *
  59. * @param {string} eventNameSuffix Event name, e.g. "click".
  60. * @param {?boolean} capture Check if the capture phase is supported.
  61. * @return {boolean} True if the event is supported.
  62. * @internal
  63. * @license Modernizr 3.0.0pre (Custom Build) | MIT
  64. */const ide=function(e,t){if(e&&e.addEventListener){const n=function(r){const a=ade(r);t&&Reflect.apply(t,this,[r,a])};e.addEventListener("wheel",n,{passive:!0})}},ode={beforeMount(e,t){ide(e,t.value)}},lde=Oe({role:{type:String,required:!0},spinnerDate:{type:he(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:he(String),default:""},...C$}),sde=["onClick"],ude=["onMouseenter"],cde=te({__name:"basic-time-spinner",props:lde,emits:["change","select-range","set-option"],setup(e,{emit:t}){const n=e,r=Ee("time"),{getHoursList:a,getMinutesList:i,getSecondsList:o}=M$(n.disabledHours,n.disabledMinutes,n.disabledSeconds);let l=!1;const s=j(),u=j(),c=j(),f=j(),d={hours:u,minutes:c,seconds:f},h=L(()=>n.showSeconds?Sk:Sk.slice(0,2)),v=L(()=>{const{spinnerDate:P}=n,W=P.hour(),Z=P.minute(),ee=P.second();return{hours:W,minutes:Z,seconds:ee}}),p=L(()=>{const{hours:P,minutes:W}=y(v);return{hours:a(n.role),minutes:i(P,n.role),seconds:o(P,W,n.role)}}),g=L(()=>{const{hours:P,minutes:W,seconds:Z}=y(v);return{hours:lb(P,23),minutes:lb(W,59),seconds:lb(Z,59)}}),m=La(P=>{l=!1,w(P)},200),b=P=>{if(!!!n.amPmMode)return"";const Z=n.amPmMode==="A";let ee=P<12?" am":" pm";return Z&&(ee=ee.toUpperCase()),ee},_=P=>{let W;switch(P){case"hours":W=[0,2];break;case"minutes":W=[3,5];break;case"seconds":W=[6,8];break}const[Z,ee]=W;t("select-range",Z,ee),s.value=P},w=P=>{C(P,y(v)[P])},x=()=>{w("hours"),w("minutes"),w("seconds")},S=P=>P.querySelector(`.${r.namespace.value}-scrollbar__wrap`),C=(P,W)=>{if(n.arrowControl)return;const Z=y(d[P]);Z&&Z.$el&&(S(Z.$el).scrollTop=Math.max(0,W*T(P)))},T=P=>{const W=y(d[P]),Z=W==null?void 0:W.$el.querySelector("li");return Z&&Number.parseFloat(ms(Z,"height"))||0},z=()=>{E(1)},A=()=>{E(-1)},E=P=>{s.value||_("hours");const W=s.value,Z=y(v)[W],ee=s.value==="hours"?24:60,re=D(W,Z,P,ee);$(W,re),C(W,re),nt(()=>_(W))},D=(P,W,Z,ee)=>{let re=(W+Z+ee)%ee;const ue=y(p)[P];for(;ue[re]&&re!==W;)re=(re+Z+ee)%ee;return re},$=(P,W)=>{if(y(p)[P][W])return;const{hours:re,minutes:ue,seconds:ye}=y(v);let le;switch(P){case"hours":le=n.spinnerDate.hour(W).minute(ue).second(ye);break;case"minutes":le=n.spinnerDate.hour(re).minute(W).second(ye);break;case"seconds":le=n.spinnerDate.hour(re).minute(ue).second(W);break}t("change",le)},O=(P,{value:W,disabled:Z})=>{Z||($(P,W),_(P),C(P,W))},R=P=>{l=!0,m(P);const W=Math.min(Math.round((S(y(d[P]).$el).scrollTop-(N(P)*.5-10)/T(P)+3)/T(P)),P==="hours"?23:59);$(P,W)},N=P=>y(d[P]).$el.offsetHeight,B=()=>{const P=W=>{const Z=y(d[W]);Z&&Z.$el&&(S(Z.$el).onscroll=()=>{R(W)})};P("hours"),P("minutes"),P("seconds")};bt(()=>{nt(()=>{!n.arrowControl&&B(),x(),n.role==="start"&&_("hours")})});const V=(P,W)=>{d[W].value=P};return t("set-option",[`${n.role}_scrollDown`,E]),t("set-option",[`${n.role}_emitSelectRange`,_]),ke(()=>n.spinnerDate,()=>{l||x()}),(P,W)=>(k(),F("div",{class:q([y(r).b("spinner"),{"has-seconds":P.showSeconds}])},[P.arrowControl?Q("v-if",!0):(k(!0),F(de,{key:0},we(y(h),Z=>(k(),Y(y($l),{key:Z,ref_for:!0,ref:ee=>V(ee,Z),class:q(y(r).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":y(r).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:ee=>_(Z),onMousemove:ee=>w(Z)},{default:M(()=>[(k(!0),F(de,null,we(y(p)[Z],(ee,re)=>(k(),F("li",{key:re,class:q([y(r).be("spinner","item"),y(r).is("active",re===y(v)[Z]),y(r).is("disabled",ee)]),onClick:ue=>O(Z,{value:re,disabled:ee})},[Z==="hours"?(k(),F(de,{key:0},[G(U(("0"+(P.amPmMode?re%12||12:re)).slice(-2))+U(b(re)),1)],64)):(k(),F(de,{key:1},[G(U(("0"+re).slice(-2)),1)],64))],10,sde))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),P.arrowControl?(k(!0),F(de,{key:1},we(y(h),Z=>(k(),F("div",{key:Z,class:q([y(r).be("spinner","wrapper"),y(r).is("arrow")]),onMouseenter:ee=>_(Z)},[mt((k(),Y(y(Ze),{class:q(["arrow-up",y(r).be("spinner","arrow")])},{default:M(()=>[I(y(oS))]),_:1},8,["class"])),[[y(G2),A]]),mt((k(),Y(y(Ze),{class:q(["arrow-down",y(r).be("spinner","arrow")])},{default:M(()=>[I(y(Ol))]),_:1},8,["class"])),[[y(G2),z]]),X("ul",{class:q(y(r).be("spinner","list"))},[(k(!0),F(de,null,we(y(g)[Z],(ee,re)=>(k(),F("li",{key:re,class:q([y(r).be("spinner","item"),y(r).is("active",ee===y(v)[Z]),y(r).is("disabled",y(p)[Z][ee])])},[typeof ee=="number"?(k(),F(de,{key:0},[Z==="hours"?(k(),F(de,{key:0},[G(U(("0"+(P.amPmMode?ee%12||12:ee)).slice(-2))+U(b(ee)),1)],64)):(k(),F(de,{key:1},[G(U(("0"+ee).slice(-2)),1)],64))],64)):Q("v-if",!0)],2))),128))],2)],42,ude))),128)):Q("v-if",!0)],2))}});var F4=Ne(cde,[["__file","basic-time-spinner.vue"]]);const fde=te({__name:"panel-time-pick",props:Xfe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=Ye("EP_PICKER_BASE"),{arrowControl:a,disabledHours:i,disabledMinutes:o,disabledSeconds:l,defaultValue:s}=r.props,{getAvailableHours:u,getAvailableMinutes:c,getAvailableSeconds:f}=A$(i,o,l),d=Ee("time"),{t:h,lang:v}=Xt(),p=j([0,2]),g=E$(n),m=L(()=>Xn(n.actualVisible)?`${d.namespace.value}-zoom-in-top`:""),b=L(()=>n.format.includes("ss")),_=L(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),w=V=>{const P=Tt(V).locale(v.value),W=O(P);return P.isSame(W)},x=()=>{t("pick",g.value,!1)},S=(V=!1,P=!1)=>{P||t("pick",n.parsedValue,V)},C=V=>{if(!n.visible)return;const P=O(V).millisecond(0);t("pick",P,!0)},T=(V,P)=>{t("select-range",V,P),p.value=[V,P]},z=V=>{const P=[0,3].concat(b.value?[6]:[]),W=["hours","minutes"].concat(b.value?["seconds"]:[]),ee=(P.indexOf(p.value[0])+V+P.length)%P.length;E.start_emitSelectRange(W[ee])},A=V=>{const P=V.code,{left:W,right:Z,up:ee,down:re}=at;if([W,Z].includes(P)){z(P===W?-1:1),V.preventDefault();return}if([ee,re].includes(P)){const ue=P===ee?-1:1;E.start_scrollDown(ue),V.preventDefault();return}},{timePickerOptions:E,onSetOption:D,getAvailableTime:$}=z$({getAvailableHours:u,getAvailableMinutes:c,getAvailableSeconds:f}),O=V=>$(V,n.datetimeRole||"",!0),R=V=>V?Tt(V,n.format).locale(v.value):null,N=V=>V?V.format(n.format):null,B=()=>Tt(s).locale(v.value);return t("set-picker-option",["isValidValue",w]),t("set-picker-option",["formatToString",N]),t("set-picker-option",["parseUserInput",R]),t("set-picker-option",["handleKeydownInput",A]),t("set-picker-option",["getRangeAvailableTime",O]),t("set-picker-option",["getDefaultValue",B]),(V,P)=>(k(),Y(ir,{name:y(m)},{default:M(()=>[V.actualVisible||V.visible?(k(),F("div",{key:0,class:q(y(d).b("panel"))},[X("div",{class:q([y(d).be("panel","content"),{"has-seconds":y(b)}])},[I(F4,{ref:"spinner",role:V.datetimeRole||"start","arrow-control":y(a),"show-seconds":y(b),"am-pm-mode":y(_),"spinner-date":V.parsedValue,"disabled-hours":y(i),"disabled-minutes":y(o),"disabled-seconds":y(l),onChange:C,onSetOption:y(D),onSelectRange:T},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),X("div",{class:q(y(d).be("panel","footer"))},[X("button",{type:"button",class:q([y(d).be("panel","btn"),"cancel"]),onClick:x},U(y(h)("el.datepicker.cancel")),3),X("button",{type:"button",class:q([y(d).be("panel","btn"),"confirm"]),onClick:P[0]||(P[0]=W=>S())},U(y(h)("el.datepicker.confirm")),3)],2)],2)):Q("v-if",!0)]),_:1},8,["name"]))}});var W2=Ne(fde,[["__file","panel-time-pick.vue"]]);const dde=Oe({...T$,parsedValue:{type:he(Array)}}),hde=["disabled"],vde=te({__name:"panel-time-range",props:dde,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(fe,xe)=>{const J=[];for(let oe=fe;oe<=xe;oe++)J.push(oe);return J},{t:a,lang:i}=Xt(),o=Ee("time"),l=Ee("picker"),s=Ye("EP_PICKER_BASE"),{arrowControl:u,disabledHours:c,disabledMinutes:f,disabledSeconds:d,defaultValue:h}=s.props,v=L(()=>[o.be("range-picker","body"),o.be("panel","content"),o.is("arrow",u),w.value?"has-seconds":""]),p=L(()=>[o.be("range-picker","body"),o.be("panel","content"),o.is("arrow",u),w.value?"has-seconds":""]),g=L(()=>n.parsedValue[0]),m=L(()=>n.parsedValue[1]),b=E$(n),_=()=>{t("pick",b.value,!1)},w=L(()=>n.format.includes("ss")),x=L(()=>n.format.includes("A")?"A":n.format.includes("a")?"a":""),S=(fe=!1)=>{t("pick",[g.value,m.value],fe)},C=fe=>{A(fe.millisecond(0),m.value)},T=fe=>{A(g.value,fe.millisecond(0))},z=fe=>{const xe=fe.map(oe=>Tt(oe).locale(i.value)),J=Z(xe);return xe[0].isSame(J[0])&&xe[1].isSame(J[1])},A=(fe,xe)=>{t("pick",[fe,xe],!0)},E=L(()=>g.value>m.value),D=j([0,2]),$=(fe,xe)=>{t("select-range",fe,xe,"min"),D.value=[fe,xe]},O=L(()=>w.value?11:8),R=(fe,xe)=>{t("select-range",fe,xe,"max");const J=y(O);D.value=[fe+J,xe+J]},N=fe=>{const xe=w.value?[0,3,6,11,14,17]:[0,3,8,11],J=["hours","minutes"].concat(w.value?["seconds"]:[]),pe=(xe.indexOf(D.value[0])+fe+xe.length)%xe.length,Te=xe.length/2;pe<Te?ye.start_emitSelectRange(J[pe]):ye.end_emitSelectRange(J[pe-Te])},B=fe=>{const xe=fe.code,{left:J,right:oe,up:pe,down:Te}=at;if([J,oe].includes(xe)){N(xe===J?-1:1),fe.preventDefault();return}if([pe,Te].includes(xe)){const ge=xe===pe?-1:1,Ae=D.value[0]<O.value?"start":"end";ye[`${Ae}_scrollDown`](ge),fe.preventDefault();return}},V=(fe,xe)=>{const J=c?c(fe):[],oe=fe==="start",Te=(xe||(oe?m.value:g.value)).hour(),ge=oe?r(Te+1,23):r(0,Te-1);return J3(J,ge)},P=(fe,xe,J)=>{const oe=f?f(fe,xe):[],pe=xe==="start",Te=J||(pe?m.value:g.value),ge=Te.hour();if(fe!==ge)return oe;const Ae=Te.minute(),De=pe?r(Ae+1,59):r(0,Ae-1);return J3(oe,De)},W=(fe,xe,J,oe)=>{const pe=d?d(fe,xe,J):[],Te=J==="start",ge=oe||(Te?m.value:g.value),Ae=ge.hour(),De=ge.minute();if(fe!==Ae||xe!==De)return pe;const Pe=ge.second(),Re=Te?r(Pe+1,59):r(0,Pe-1);return J3(pe,Re)},Z=([fe,xe])=>[le(fe,"start",!0,xe),le(xe,"end",!1,fe)],{getAvailableHours:ee,getAvailableMinutes:re,getAvailableSeconds:ue}=A$(V,P,W),{timePickerOptions:ye,getAvailableTime:le,onSetOption:ae}=z$({getAvailableHours:ee,getAvailableMinutes:re,getAvailableSeconds:ue}),ie=fe=>fe?We(fe)?fe.map(xe=>Tt(xe,n.format).locale(i.value)):Tt(fe,n.format).locale(i.value):null,ve=fe=>fe?We(fe)?fe.map(xe=>xe.format(n.format)):fe.format(n.format):null,ce=()=>{if(We(h))return h.map(xe=>Tt(xe).locale(i.value));const fe=Tt(h).locale(i.value);return[fe,fe.add(60,"m")]};return t("set-picker-option",["formatToString",ve]),t("set-picker-option",["parseUserInput",ie]),t("set-picker-option",["isValidValue",z]),t("set-picker-option",["handleKeydownInput",B]),t("set-picker-option",["getDefaultValue",ce]),t("set-picker-option",["getRangeAvailableTime",Z]),(fe,xe)=>fe.actualVisible?(k(),F("div",{key:0,class:q([y(o).b("range-picker"),y(l).b("panel")])},[X("div",{class:q(y(o).be("range-picker","content"))},[X("div",{class:q(y(o).be("range-picker","cell"))},[X("div",{class:q(y(o).be("range-picker","header"))},U(y(a)("el.datepicker.startTime")),3),X("div",{class:q(y(v))},[I(F4,{ref:"minSpinner",role:"start","show-seconds":y(w),"am-pm-mode":y(x),"arrow-control":y(u),"spinner-date":y(g),"disabled-hours":V,"disabled-minutes":P,"disabled-seconds":W,onChange:C,onSetOption:y(ae),onSelectRange:$},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),X("div",{class:q(y(o).be("range-picker","cell"))},[X("div",{class:q(y(o).be("range-picker","header"))},U(y(a)("el.datepicker.endTime")),3),X("div",{class:q(y(p))},[I(F4,{ref:"maxSpinner",role:"end","show-seconds":y(w),"am-pm-mode":y(x),"arrow-control":y(u),"spinner-date":y(m),"disabled-hours":V,"disabled-minutes":P,"disabled-seconds":W,onChange:T,onSetOption:y(ae),onSelectRange:R},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),X("div",{class:q(y(o).be("panel","footer"))},[X("button",{type:"button",class:q([y(o).be("panel","btn"),"cancel"]),onClick:xe[0]||(xe[0]=J=>_())},U(y(a)("el.datepicker.cancel")),3),X("button",{type:"button",class:q([y(o).be("panel","btn"),"confirm"]),disabled:y(E),onClick:xe[1]||(xe[1]=J=>S())},U(y(a)("el.datepicker.confirm")),11,hde)],2)],2)):Q("v-if",!0)}});var pde=Ne(vde,[["__file","panel-time-range.vue"]]);Tt.extend(FS);var gde=te({name:"ElTimePicker",install:null,props:{...HS,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,t){const n=j(),[r,a]=e.isRange?["timerange",pde]:["time",W2],i=o=>t.emit("update:modelValue",o);return Rt("ElPopperOptions",e.popperOptions),t.expose({focus:o=>{var l;(l=n.value)==null||l.handleFocusInput(o)},blur:o=>{var l;(l=n.value)==null||l.handleBlurInput(o)},handleOpen:()=>{var o;(o=n.value)==null||o.handleOpen()},handleClose:()=>{var o;(o=n.value)==null||o.handleClose()}}),()=>{var o;const l=(o=e.format)!=null?o:I4;return I(k$,Pt(e,{ref:n,type:r,format:l,"onUpdate:modelValue":i}),{default:s=>I(a,s,null)})}}});const F0=gde;F0.install=e=>{e.component(F0.name,F0)};const mde=F0,yde=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Ds(t).map((r,a)=>n-(t-a-1))},bde=e=>{const t=e.daysInMonth();return Ds(t).map((n,r)=>r+1)},_de=e=>Ds(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),wde=Oe({selectedDay:{type:he(Object)},range:{type:he(Array)},date:{type:he(Object),required:!0},hideHeader:{type:Boolean}}),xde={pick:e=>zt(e)};var $$={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){return function(n,r,a){var i=r.prototype,o=function(f){return f&&(f.indexOf?f:f.s)},l=function(f,d,h,v,p){var g=f.name?f:f.$locale(),m=o(g[d]),b=o(g[h]),_=m||b.map(function(x){return x.slice(0,v)});if(!p)return _;var w=g.weekStart;return _.map(function(x,S){return _[(S+(w||0))%7]})},s=function(){return a.Ls[a.locale()]},u=function(f,d){return f.formats[d]||function(h){return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(v,p,g){return p||g.slice(1)})}(f.formats[d.toUpperCase()])},c=function(){var f=this;return{months:function(d){return d?d.format("MMMM"):l(f,"months")},monthsShort:function(d){return d?d.format("MMM"):l(f,"monthsShort","months",3)},firstDayOfWeek:function(){return f.$locale().weekStart||0},weekdays:function(d){return d?d.format("dddd"):l(f,"weekdays")},weekdaysMin:function(d){return d?d.format("dd"):l(f,"weekdaysMin","weekdays",2)},weekdaysShort:function(d){return d?d.format("ddd"):l(f,"weekdaysShort","weekdays",3)},longDateFormat:function(d){return u(f.$locale(),d)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};i.localeData=function(){return c.bind(this)()},a.localeData=function(){var f=s();return{firstDayOfWeek:function(){return f.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(d){return u(f,d)},meridiem:f.meridiem,ordinal:f.ordinal}},a.months=function(){return l(s(),"months")},a.monthsShort=function(){return l(s(),"monthsShort","months",3)},a.weekdays=function(f){return l(s(),"weekdays",null,null,f)},a.weekdaysShort=function(f){return l(s(),"weekdaysShort","weekdays",3,f)},a.weekdaysMin=function(f){return l(s(),"weekdaysMin","weekdays",2,f)}}})})($$);var Sde=$$.exports;const V$=Bl(Sde),Cde=(e,t)=>{Tt.extend(V$);const n=Tt.localeData().firstDayOfWeek(),{t:r,lang:a}=Xt(),i=Tt().locale(a.value),o=L(()=>!!e.range&&!!e.range.length),l=L(()=>{let d=[];if(o.value){const[h,v]=e.range,p=Ds(v.date()-h.date()+1).map(b=>({text:h.date()+b,type:"current"}));let g=p.length%7;g=g===0?0:7-g;const m=Ds(g).map((b,_)=>({text:_+1,type:"next"}));d=p.concat(m)}else{const h=e.date.startOf("month").day(),v=yde(e.date,(h-n+7)%7).map(b=>({text:b,type:"prev"})),p=bde(e.date).map(b=>({text:b,type:"current"}));d=[...v,...p];const g=7-(d.length%7||7),m=Ds(g).map((b,_)=>({text:_+1,type:"next"}));d=d.concat(m)}return _de(d)}),s=L(()=>{const d=n;return d===0?Q3.map(h=>r(`el.datepicker.weeks.${h}`)):Q3.slice(d).concat(Q3.slice(0,d)).map(h=>r(`el.datepicker.weeks.${h}`))}),u=(d,h)=>{switch(h){case"prev":return e.date.startOf("month").subtract(1,"month").date(d);case"next":return e.date.startOf("month").add(1,"month").date(d);case"current":return e.date.date(d)}};return{now:i,isInRange:o,rows:l,weekDays:s,getFormattedDate:u,handlePickDay:({text:d,type:h})=>{const v=u(d,h);t("pick",v)},getSlotData:({text:d,type:h})=>{const v=u(d,h);return{isSelected:v.isSame(e.selectedDay),type:`${h}-month`,day:v.format("YYYY-MM-DD"),date:v.toDate()}}}},Tde={key:0},kde=["onClick"],zde=te({name:"DateTable"}),Mde=te({...zde,props:wde,emits:xde,setup(e,{expose:t,emit:n}){const r=e,{isInRange:a,now:i,rows:o,weekDays:l,getFormattedDate:s,handlePickDay:u,getSlotData:c}=Cde(r,n),f=Ee("calendar-table"),d=Ee("calendar-day"),h=({text:v,type:p})=>{const g=[p];if(p==="current"){const m=s(v,p);m.isSame(r.selectedDay,"day")&&g.push(d.is("selected")),m.isSame(i,"day")&&g.push(d.is("today"))}return g};return t({getFormattedDate:s}),(v,p)=>(k(),F("table",{class:q([y(f).b(),y(f).is("range",y(a))]),cellspacing:"0",cellpadding:"0"},[v.hideHeader?Q("v-if",!0):(k(),F("thead",Tde,[(k(!0),F(de,null,we(y(l),g=>(k(),F("th",{key:g},U(g),1))),128))])),X("tbody",null,[(k(!0),F(de,null,we(y(o),(g,m)=>(k(),F("tr",{key:m,class:q({[y(f).e("row")]:!0,[y(f).em("row","hide-border")]:m===0&&v.hideHeader})},[(k(!0),F(de,null,we(g,(b,_)=>(k(),F("td",{key:_,class:q(h(b)),onClick:w=>y(u)(b)},[X("div",{class:q(y(d).b())},[me(v.$slots,"date-cell",{data:y(c)(b)},()=>[X("span",null,U(b.text),1)])],2)],10,kde))),128))],2))),128))])],2))}});var Rk=Ne(Mde,[["__file","date-table.vue"]]);const Ade=(e,t)=>{const n=e.endOf("month"),r=t.startOf("month"),i=n.isSame(r,"week")?r.add(1,"week"):r;return[[e,n],[i.startOf("week"),t]]},Ede=(e,t)=>{const n=e.endOf("month"),r=e.add(1,"month").startOf("month"),a=n.isSame(r,"week")?r.add(1,"week"):r,i=a.endOf("month"),o=t.startOf("month"),l=i.isSame(o,"week")?o.add(1,"week"):o;return[[e,n],[a.startOf("week"),i],[l.startOf("week"),t]]},Ide=(e,t,n)=>{const{lang:r}=Xt(),a=j(),i=Tt().locale(r.value),o=L({get(){return e.modelValue?s.value:a.value},set(g){if(!g)return;a.value=g;const m=g.toDate();t(sa,m),t(Mt,m)}}),l=L(()=>{if(!e.range)return[];const g=e.range.map(_=>Tt(_).locale(r.value)),[m,b]=g;return m.isAfter(b)?[]:m.isSame(b,"month")?h(m,b):m.add(1,"month").month()!==b.month()?[]:h(m,b)}),s=L(()=>e.modelValue?Tt(e.modelValue).locale(r.value):o.value||(l.value.length?l.value[0][0]:i)),u=L(()=>s.value.subtract(1,"month").date(1)),c=L(()=>s.value.add(1,"month").date(1)),f=L(()=>s.value.subtract(1,"year").date(1)),d=L(()=>s.value.add(1,"year").date(1)),h=(g,m)=>{const b=g.startOf("week"),_=m.endOf("week"),w=b.get("month"),x=_.get("month");return w===x?[[b,_]]:(w+1)%12===x?Ade(b,_):w+2===x||(w+1)%11===x?Ede(b,_):[]},v=g=>{o.value=g};return{calculateValidatedDateRange:h,date:s,realSelectedDay:o,pickDay:v,selectDate:g=>{const b={"prev-month":u.value,"next-month":c.value,"prev-year":f.value,"next-year":d.value,today:i}[g];b.isSame(s.value,"day")||v(b)},validatedRange:l}},Dde=e=>We(e)&&e.length===2&&e.every(t=>Mc(t)),Lde=Oe({modelValue:{type:Date},range:{type:he(Array),validator:Dde}}),Pde={[Mt]:e=>Mc(e),[sa]:e=>Mc(e)},Rde="ElCalendar",Ode=te({name:Rde}),Nde=te({...Ode,props:Lde,emits:Pde,setup(e,{expose:t,emit:n}){const r=e,a=Ee("calendar"),{calculateValidatedDateRange:i,date:o,pickDay:l,realSelectedDay:s,selectDate:u,validatedRange:c}=Ide(r,n),{t:f}=Xt(),d=L(()=>{const h=`el.datepicker.month${o.value.format("M")}`;return`${o.value.year()} ${f("el.datepicker.year")} ${f(h)}`});return t({selectedDay:s,pickDay:l,selectDate:u,calculateValidatedDateRange:i}),(h,v)=>(k(),F("div",{class:q(y(a).b())},[X("div",{class:q(y(a).e("header"))},[me(h.$slots,"header",{date:y(d)},()=>[X("div",{class:q(y(a).e("title"))},U(y(d)),3),y(c).length===0?(k(),F("div",{key:0,class:q(y(a).e("button-group"))},[I(y(b$),null,{default:M(()=>[I(y(_r),{size:"small",onClick:v[0]||(v[0]=p=>y(u)("prev-month"))},{default:M(()=>[G(U(y(f)("el.datepicker.prevMonth")),1)]),_:1}),I(y(_r),{size:"small",onClick:v[1]||(v[1]=p=>y(u)("today"))},{default:M(()=>[G(U(y(f)("el.datepicker.today")),1)]),_:1}),I(y(_r),{size:"small",onClick:v[2]||(v[2]=p=>y(u)("next-month"))},{default:M(()=>[G(U(y(f)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):Q("v-if",!0)])],2),y(c).length===0?(k(),F("div",{key:0,class:q(y(a).e("body"))},[I(Rk,{date:y(o),"selected-day":y(s),onPick:y(l)},_l({_:2},[h.$slots["date-cell"]?{name:"date-cell",fn:M(p=>[me(h.$slots,"date-cell",ul(vd(p)))])}:void 0]),1032,["date","selected-day","onPick"])],2)):(k(),F("div",{key:1,class:q(y(a).e("body"))},[(k(!0),F(de,null,we(y(c),(p,g)=>(k(),Y(Rk,{key:g,date:p[0],"selected-day":y(s),range:p,"hide-header":g!==0,onPick:y(l)},_l({_:2},[h.$slots["date-cell"]?{name:"date-cell",fn:M(m=>[me(h.$slots,"date-cell",ul(vd(m)))])}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var $de=Ne(Nde,[["__file","calendar.vue"]]);const Vde=St($de),Bde=Oe({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:he([String,Object,Array]),default:""},bodyClass:String,shadow:{type:String,values:["always","hover","never"],default:"always"}}),Fde=te({name:"ElCard"}),Hde=te({...Fde,props:Bde,setup(e){const t=Ee("card");return(n,r)=>(k(),F("div",{class:q([y(t).b(),y(t).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(k(),F("div",{key:0,class:q(y(t).e("header"))},[me(n.$slots,"header",{},()=>[G(U(n.header),1)])],2)):Q("v-if",!0),X("div",{class:q([y(t).e("body"),n.bodyClass]),style:Be(n.bodyStyle)},[me(n.$slots,"default")],6),n.$slots.footer||n.footer?(k(),F("div",{key:1,class:q(y(t).e("footer"))},[me(n.$slots,"footer",{},()=>[G(U(n.footer),1)])],2)):Q("v-if",!0)],2))}});var jde=Ne(Hde,[["__file","card.vue"]]);const qde=St(jde),Gde=Oe({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:{type:Boolean,default:!1}}),Wde={change:(e,t)=>[e,t].every(ot)},B$=Symbol("carouselContextKey"),Ok=300,Ude=(e,t,n)=>{const{children:r,addChild:a,removeChild:i}=PS(xt(),"ElCarouselItem"),o=Tr(),l=j(-1),s=j(null),u=j(!1),c=j(),f=j(0),d=j(!0),h=j(!0),v=j(!1),p=L(()=>e.arrow!=="never"&&!y(b)),g=L(()=>r.value.some(le=>le.props.label.toString().length>0)),m=L(()=>e.type==="card"),b=L(()=>e.direction==="vertical"),_=L(()=>e.height!=="auto"?{height:e.height}:{height:`${f.value}px`,overflow:"hidden"}),w=pc(le=>{A(le)},Ok,{trailing:!0}),x=pc(le=>{P(le)},Ok),S=le=>d.value?l.value<=1?le<=1:le>1:!0;function C(){s.value&&(clearInterval(s.value),s.value=null)}function T(){e.interval<=0||!e.autoplay||s.value||(s.value=setInterval(()=>z(),e.interval))}const z=()=>{h.value||(v.value=!0),h.value=!1,l.value<r.value.length-1?l.value=l.value+1:e.loop&&(l.value=0)};function A(le){if(h.value||(v.value=!0),h.value=!1,vt(le)){const ve=r.value.filter(ce=>ce.props.name===le);ve.length>0&&(le=r.value.indexOf(ve[0]))}if(le=Number(le),Number.isNaN(le)||le!==Math.floor(le))return;const ae=r.value.length,ie=l.value;le<0?l.value=e.loop?ae-1:0:le>=ae?l.value=e.loop?0:ae-1:l.value=le,ie===l.value&&E(ie),ee()}function E(le){r.value.forEach((ae,ie)=>{ae.translateItem(ie,l.value,le)})}function D(le,ae){var ie,ve,ce,fe;const xe=y(r),J=xe.length;if(J===0||!le.states.inStage)return!1;const oe=ae+1,pe=ae-1,Te=J-1,ge=xe[Te].states.active,Ae=xe[0].states.active,De=(ve=(ie=xe[oe])==null?void 0:ie.states)==null?void 0:ve.active,Pe=(fe=(ce=xe[pe])==null?void 0:ce.states)==null?void 0:fe.active;return ae===Te&&Ae||De?"left":ae===0&&ge||Pe?"right":!1}function $(){u.value=!0,e.pauseOnHover&&C()}function O(){u.value=!1,T()}function R(){v.value=!1}function N(le){y(b)||r.value.forEach((ae,ie)=>{le===D(ae,ie)&&(ae.states.hover=!0)})}function B(){y(b)||r.value.forEach(le=>{le.states.hover=!1})}function V(le){le!==l.value&&(h.value||(v.value=!0)),l.value=le}function P(le){e.trigger==="hover"&&le!==l.value&&(l.value=le,h.value||(v.value=!0))}function W(){A(l.value-1)}function Z(){A(l.value+1)}function ee(){C(),e.pauseOnHover||T()}function re(le){e.height==="auto"&&(f.value=le)}function ue(){var le;const ae=(le=o.default)==null?void 0:le.call(o);if(!ae)return null;const ie=Is(ae),ve="ElCarouselItem",ce=ie.filter(fe=>Dn(fe)&&fe.type.name===ve);return(ce==null?void 0:ce.length)===2&&e.loop&&!m.value?(d.value=!0,ce):(d.value=!1,null)}ke(()=>l.value,(le,ae)=>{E(ae),d.value&&(le=le%2,ae=ae%2),ae>-1&&t("change",le,ae)}),ke(()=>e.autoplay,le=>{le?T():C()}),ke(()=>e.loop,()=>{A(l.value)}),ke(()=>e.interval,()=>{ee()});const ye=xn();return bt(()=>{ke(()=>r.value,()=>{r.value.length>0&&A(e.initialIndex)},{immediate:!0}),ye.value=Pn(c.value,()=>{E()}),T()}),wn(()=>{C(),c.value&&ye.value&&ye.value.stop()}),Rt(B$,{root:c,isCardType:m,isVertical:b,items:r,loop:e.loop,addItem:a,removeItem:i,setActiveItem:A,setContainerHeight:re}),{root:c,activeIndex:l,arrowDisplay:p,hasLabel:g,hover:u,isCardType:m,isTransitioning:v,items:r,isVertical:b,containerStyle:_,isItemsTwoLength:d,handleButtonEnter:N,handleTransitionEnd:R,handleButtonLeave:B,handleIndicatorClick:V,handleMouseEnter:$,handleMouseLeave:O,setActiveItem:A,prev:W,next:Z,PlaceholderItem:ue,isTwoLengthShow:S,throttledArrowClick:w,throttledIndicatorHover:x}},Yde=["aria-label"],Kde=["aria-label"],Xde=["onMouseenter","onClick"],Zde=["aria-label"],Jde={key:0},Qde={key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},ehe=X("defs",null,[X("filter",{id:"elCarouselHorizontal"},[X("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),X("filter",{id:"elCarouselVertical"},[X("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1),the=[ehe],nhe="ElCarousel",rhe=te({name:nhe}),ahe=te({...rhe,props:Gde,emits:Wde,setup(e,{expose:t,emit:n}){const r=e,{root:a,activeIndex:i,arrowDisplay:o,hasLabel:l,hover:s,isCardType:u,items:c,isVertical:f,containerStyle:d,handleButtonEnter:h,handleButtonLeave:v,isTransitioning:p,handleIndicatorClick:g,handleMouseEnter:m,handleMouseLeave:b,handleTransitionEnd:_,setActiveItem:w,prev:x,next:S,PlaceholderItem:C,isTwoLengthShow:T,throttledArrowClick:z,throttledIndicatorHover:A}=Ude(r,n),E=Ee("carousel"),{t:D}=Xt(),$=L(()=>{const N=[E.b(),E.m(r.direction)];return y(u)&&N.push(E.m("card")),N}),O=L(()=>{const N=[E.e("container")];return r.motionBlur&&y(p)&&N.push(y(f)?`${E.namespace.value}-transitioning-vertical`:`${E.namespace.value}-transitioning`),N}),R=L(()=>{const N=[E.e("indicators"),E.em("indicators",r.direction)];return y(l)&&N.push(E.em("indicators","labels")),r.indicatorPosition==="outside"&&N.push(E.em("indicators","outside")),y(f)&&N.push(E.em("indicators","right")),N});return t({setActiveItem:w,prev:x,next:S}),(N,B)=>(k(),F("div",{ref_key:"root",ref:a,class:q(y($)),onMouseenter:B[7]||(B[7]=ft((...V)=>y(m)&&y(m)(...V),["stop"])),onMouseleave:B[8]||(B[8]=ft((...V)=>y(b)&&y(b)(...V),["stop"]))},[y(o)?(k(),Y(ir,{key:0,name:"carousel-arrow-left",persisted:""},{default:M(()=>[mt(X("button",{type:"button",class:q([y(E).e("arrow"),y(E).em("arrow","left")]),"aria-label":y(D)("el.carousel.leftArrow"),onMouseenter:B[0]||(B[0]=V=>y(h)("left")),onMouseleave:B[1]||(B[1]=(...V)=>y(v)&&y(v)(...V)),onClick:B[2]||(B[2]=ft(V=>y(z)(y(i)-1),["stop"]))},[I(y(Ze),null,{default:M(()=>[I(y(Hs))]),_:1})],42,Yde),[[en,(N.arrow==="always"||y(s))&&(r.loop||y(i)>0)]])]),_:1})):Q("v-if",!0),y(o)?(k(),Y(ir,{key:1,name:"carousel-arrow-right",persisted:""},{default:M(()=>[mt(X("button",{type:"button",class:q([y(E).e("arrow"),y(E).em("arrow","right")]),"aria-label":y(D)("el.carousel.rightArrow"),onMouseenter:B[3]||(B[3]=V=>y(h)("right")),onMouseleave:B[4]||(B[4]=(...V)=>y(v)&&y(v)(...V)),onClick:B[5]||(B[5]=ft(V=>y(z)(y(i)+1),["stop"]))},[I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})],42,Kde),[[en,(N.arrow==="always"||y(s))&&(r.loop||y(i)<y(c).length-1)]])]),_:1})):Q("v-if",!0),X("div",{class:q(y(O)),style:Be(y(d)),onTransitionend:B[6]||(B[6]=(...V)=>y(_)&&y(_)(...V))},[I(y(C)),me(N.$slots,"default")],38),N.indicatorPosition!=="none"?(k(),F("ul",{key:2,class:q(y(R))},[(k(!0),F(de,null,we(y(c),(V,P)=>mt((k(),F("li",{key:P,class:q([y(E).e("indicator"),y(E).em("indicator",N.direction),y(E).is("active",P===y(i))]),onMouseenter:W=>y(A)(P),onClick:ft(W=>y(g)(P),["stop"])},[X("button",{class:q(y(E).e("button")),"aria-label":y(D)("el.carousel.indicator",{index:P+1})},[y(l)?(k(),F("span",Jde,U(V.props.label),1)):Q("v-if",!0)],10,Zde)],42,Xde)),[[en,y(T)(P)]])),128))],2)):Q("v-if",!0),r.motionBlur?(k(),F("svg",Qde,the)):Q("v-if",!0)],34))}});var ihe=Ne(ahe,[["__file","carousel.vue"]]);const ohe=Oe({name:{type:String,default:""},label:{type:[String,Number],default:""}}),lhe=(e,t)=>{const n=Ye(B$),r=xt(),a=.83,i=j(),o=j(!1),l=j(0),s=j(1),u=j(!1),c=j(!1),f=j(!1),d=j(!1),{isCardType:h,isVertical:v}=n;function p(w,x,S){const C=S-1,T=x-1,z=x+1,A=S/2;return x===0&&w===C?-1:x===C&&w===0?S:w<T&&x-w>=A?S+1:w>z&&w-x>=A?-2:w}function g(w,x){var S,C;const T=y(v)?((S=n.root.value)==null?void 0:S.offsetHeight)||0:((C=n.root.value)==null?void 0:C.offsetWidth)||0;return f.value?T*((2-a)*(w-x)+1)/4:w<x?-(1+a)*T/4:(3+a)*T/4}function m(w,x,S){const C=n.root.value;return C?((S?C.offsetHeight:C.offsetWidth)||0)*(w-x):0}const b=(w,x,S)=>{var C;const T=y(h),z=(C=n.items.value.length)!=null?C:Number.NaN,A=w===x;!T&&!Xn(S)&&(d.value=A||w===S),!A&&z>2&&n.loop&&(w=p(w,x,z));const E=y(v);u.value=A,T?(f.value=Math.round(Math.abs(w-x))<=1,l.value=g(w,x),s.value=y(u)?1:a):l.value=m(w,x,E),c.value=!0,A&&i.value&&n.setContainerHeight(i.value.offsetHeight)};function _(){if(n&&y(h)){const w=n.items.value.findIndex(({uid:x})=>x===r.uid);n.setActiveItem(w)}}return bt(()=>{n.addItem({props:e,states:nn({hover:o,translate:l,scale:s,active:u,ready:c,inStage:f,animating:d}),uid:r.uid,translateItem:b})}),Ho(()=>{n.removeItem(r.uid)}),{carouselItemRef:i,active:u,animating:d,hover:o,inStage:f,isVertical:v,translate:l,isCardType:h,scale:s,ready:c,handleItemClick:_}},she=te({name:"ElCarouselItem"}),uhe=te({...she,props:ohe,setup(e){const t=e,n=Ee("carousel"),{carouselItemRef:r,active:a,animating:i,hover:o,inStage:l,isVertical:s,translate:u,isCardType:c,scale:f,ready:d,handleItemClick:h}=lhe(t),v=L(()=>[n.e("item"),n.is("active",a.value),n.is("in-stage",l.value),n.is("hover",o.value),n.is("animating",i.value),{[n.em("item","card")]:c.value,[n.em("item","card-vertical")]:c.value&&s.value}]),p=L(()=>{const m=`${`translate${y(s)?"Y":"X"}`}(${y(u)}px)`,b=`scale(${y(f)})`;return{transform:[m,b].join(" ")}});return(g,m)=>mt((k(),F("div",{ref_key:"carouselItemRef",ref:r,class:q(y(v)),style:Be(y(p)),onClick:m[0]||(m[0]=(...b)=>y(h)&&y(h)(...b))},[y(c)?mt((k(),F("div",{key:0,class:q(y(n).e("mask"))},null,2)),[[en,!y(a)]]):Q("v-if",!0),me(g.$slots,"default")],6)),[[en,y(d)]])}});var F$=Ne(uhe,[["__file","carousel-item.vue"]]);const che=St(ihe,{CarouselItem:F$}),fhe=On(F$),H$={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},controls:{type:String,default:void 0},border:Boolean,size:cr,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},...Er(["ariaControls"])},j$={[Mt]:e=>vt(e)||ot(e)||Jn(e),change:e=>vt(e)||ot(e)||Jn(e)},nh=Symbol("checkboxGroupContextKey"),dhe=({model:e,isChecked:t})=>{const n=Ye(nh,void 0),r=L(()=>{var i,o;const l=(i=n==null?void 0:n.max)==null?void 0:i.value,s=(o=n==null?void 0:n.min)==null?void 0:o.value;return!Xn(l)&&e.value.length>=l&&!t.value||!Xn(s)&&e.value.length<=s&&t.value});return{isDisabled:ma(L(()=>(n==null?void 0:n.disabled.value)||r.value)),isLimitDisabled:r}},hhe=(e,{model:t,isLimitExceeded:n,hasOwnLabel:r,isDisabled:a,isLabeledByFormItem:i})=>{const o=Ye(nh,void 0),{formItem:l}=Qr(),{emit:s}=xt();function u(v){var p,g,m,b;return[!0,e.trueValue,e.trueLabel].includes(v)?(g=(p=e.trueValue)!=null?p:e.trueLabel)!=null?g:!0:(b=(m=e.falseValue)!=null?m:e.falseLabel)!=null?b:!1}function c(v,p){s("change",u(v),p)}function f(v){if(n.value)return;const p=v.target;s("change",u(p.checked),v)}async function d(v){n.value||!r.value&&!a.value&&i.value&&(v.composedPath().some(m=>m.tagName==="LABEL")||(t.value=u([!1,e.falseValue,e.falseLabel].includes(t.value)),await nt(),c(t.value,v)))}const h=L(()=>(o==null?void 0:o.validateEvent)||e.validateEvent);return ke(()=>e.modelValue,()=>{h.value&&(l==null||l.validate("change").catch(v=>void 0))}),{handleChange:f,onClickRoot:d}},vhe=e=>{const t=j(!1),{emit:n}=xt(),r=Ye(nh,void 0),a=L(()=>Xn(r)===!1),i=j(!1),o=L({get(){var l,s;return a.value?(l=r==null?void 0:r.modelValue)==null?void 0:l.value:(s=e.modelValue)!=null?s:t.value},set(l){var s,u;a.value&&We(l)?(i.value=((s=r==null?void 0:r.max)==null?void 0:s.value)!==void 0&&l.length>(r==null?void 0:r.max.value)&&l.length>o.value.length,i.value===!1&&((u=r==null?void 0:r.changeEvent)==null||u.call(r,l))):(n(Mt,l),t.value=l)}});return{model:o,isGroup:a,isLimitExceeded:i}},phe=(e,t,{model:n})=>{const r=Ye(nh,void 0),a=j(!1),i=L(()=>Ic(e.value)?e.label:e.value),o=L(()=>{const c=n.value;return Jn(c)?c:We(c)?zt(i.value)?c.map(dn).some(f=>Yr(f,i.value)):c.map(dn).includes(i.value):c!=null?c===e.trueValue||c===e.trueLabel:!!c}),l=tr(L(()=>{var c;return(c=r==null?void 0:r.size)==null?void 0:c.value}),{prop:!0}),s=tr(L(()=>{var c;return(c=r==null?void 0:r.size)==null?void 0:c.value})),u=L(()=>!!t.default||!Ic(i.value));return{checkboxButtonSize:l,isChecked:o,isFocused:a,checkboxSize:s,hasOwnLabel:u,actualValue:i}},q$=(e,t)=>{const{formItem:n}=Qr(),{model:r,isGroup:a,isLimitExceeded:i}=vhe(e),{isFocused:o,isChecked:l,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,actualValue:f}=phe(e,t,{model:r}),{isDisabled:d}=dhe({model:r,isChecked:l}),{inputId:h,isLabeledByFormItem:v}=ro(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:a}),{handleChange:p,onClickRoot:g}=hhe(e,{model:r,isLimitExceeded:i,hasOwnLabel:c,isDisabled:d,isLabeledByFormItem:v});return(()=>{function b(){var _,w;We(r.value)&&!r.value.includes(f.value)?r.value.push(f.value):r.value=(w=(_=e.trueValue)!=null?_:e.trueLabel)!=null?w:!0}e.checked&&b()})(),gr({from:"controls",replacement:"aria-controls",version:"2.8.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!e.controls)),gr({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>a.value&&Ic(e.value))),gr({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!e.trueLabel)),gr({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!e.falseLabel)),{inputId:h,isLabeledByFormItem:v,isChecked:l,isDisabled:d,isFocused:o,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,model:r,actualValue:f,handleChange:p,onClickRoot:g}},ghe=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],mhe=["id","indeterminate","disabled","value","name","tabindex"],yhe=te({name:"ElCheckbox"}),bhe=te({...yhe,props:H$,emits:j$,setup(e){const t=e,n=Tr(),{inputId:r,isLabeledByFormItem:a,isChecked:i,isDisabled:o,isFocused:l,checkboxSize:s,hasOwnLabel:u,model:c,actualValue:f,handleChange:d,onClickRoot:h}=q$(t,n),v=Ee("checkbox"),p=L(()=>[v.b(),v.m(s.value),v.is("disabled",o.value),v.is("bordered",t.border),v.is("checked",i.value)]),g=L(()=>[v.e("input"),v.is("disabled",o.value),v.is("checked",i.value),v.is("indeterminate",t.indeterminate),v.is("focus",l.value)]);return(m,b)=>(k(),Y(It(!y(u)&&y(a)?"span":"label"),{class:q(y(p)),"aria-controls":m.indeterminate?m.controls||m.ariaControls:null,onClick:y(h)},{default:M(()=>{var _,w;return[X("span",{class:q(y(g))},[m.trueValue||m.falseValue||m.trueLabel||m.falseLabel?mt((k(),F("input",{key:0,id:y(r),"onUpdate:modelValue":b[0]||(b[0]=x=>ct(c)?c.value=x:null),class:q(y(v).e("original")),type:"checkbox",indeterminate:m.indeterminate,name:m.name,tabindex:m.tabindex,disabled:y(o),"true-value":(_=m.trueValue)!=null?_:m.trueLabel,"false-value":(w=m.falseValue)!=null?w:m.falseLabel,onChange:b[1]||(b[1]=(...x)=>y(d)&&y(d)(...x)),onFocus:b[2]||(b[2]=x=>l.value=!0),onBlur:b[3]||(b[3]=x=>l.value=!1),onClick:b[4]||(b[4]=ft(()=>{},["stop"]))},null,42,ghe)),[[L2,y(c)]]):mt((k(),F("input",{key:1,id:y(r),"onUpdate:modelValue":b[5]||(b[5]=x=>ct(c)?c.value=x:null),class:q(y(v).e("original")),type:"checkbox",indeterminate:m.indeterminate,disabled:y(o),value:y(f),name:m.name,tabindex:m.tabindex,onChange:b[6]||(b[6]=(...x)=>y(d)&&y(d)(...x)),onFocus:b[7]||(b[7]=x=>l.value=!0),onBlur:b[8]||(b[8]=x=>l.value=!1),onClick:b[9]||(b[9]=ft(()=>{},["stop"]))},null,42,mhe)),[[L2,y(c)]]),X("span",{class:q(y(v).e("inner"))},null,2)],2),y(u)?(k(),F("span",{key:0,class:q(y(v).e("label"))},[me(m.$slots,"default"),m.$slots.default?Q("v-if",!0):(k(),F(de,{key:0},[G(U(m.label),1)],64))],2)):Q("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var _he=Ne(bhe,[["__file","checkbox.vue"]]);const whe=["name","tabindex","disabled","true-value","false-value"],xhe=["name","tabindex","disabled","value"],She=te({name:"ElCheckboxButton"}),Che=te({...She,props:H$,emits:j$,setup(e){const t=e,n=Tr(),{isFocused:r,isChecked:a,isDisabled:i,checkboxButtonSize:o,model:l,actualValue:s,handleChange:u}=q$(t,n),c=Ye(nh,void 0),f=Ee("checkbox"),d=L(()=>{var v,p,g,m;const b=(p=(v=c==null?void 0:c.fill)==null?void 0:v.value)!=null?p:"";return{backgroundColor:b,borderColor:b,color:(m=(g=c==null?void 0:c.textColor)==null?void 0:g.value)!=null?m:"",boxShadow:b?`-1px 0 0 0 ${b}`:void 0}}),h=L(()=>[f.b("button"),f.bm("button",o.value),f.is("disabled",i.value),f.is("checked",a.value),f.is("focus",r.value)]);return(v,p)=>{var g,m;return k(),F("label",{class:q(y(h))},[v.trueValue||v.falseValue||v.trueLabel||v.falseLabel?mt((k(),F("input",{key:0,"onUpdate:modelValue":p[0]||(p[0]=b=>ct(l)?l.value=b:null),class:q(y(f).be("button","original")),type:"checkbox",name:v.name,tabindex:v.tabindex,disabled:y(i),"true-value":(g=v.trueValue)!=null?g:v.trueLabel,"false-value":(m=v.falseValue)!=null?m:v.falseLabel,onChange:p[1]||(p[1]=(...b)=>y(u)&&y(u)(...b)),onFocus:p[2]||(p[2]=b=>r.value=!0),onBlur:p[3]||(p[3]=b=>r.value=!1),onClick:p[4]||(p[4]=ft(()=>{},["stop"]))},null,42,whe)),[[L2,y(l)]]):mt((k(),F("input",{key:1,"onUpdate:modelValue":p[5]||(p[5]=b=>ct(l)?l.value=b:null),class:q(y(f).be("button","original")),type:"checkbox",name:v.name,tabindex:v.tabindex,disabled:y(i),value:y(s),onChange:p[6]||(p[6]=(...b)=>y(u)&&y(u)(...b)),onFocus:p[7]||(p[7]=b=>r.value=!0),onBlur:p[8]||(p[8]=b=>r.value=!1),onClick:p[9]||(p[9]=ft(()=>{},["stop"]))},null,42,xhe)),[[L2,y(l)]]),v.$slots.default||v.label?(k(),F("span",{key:2,class:q(y(f).be("button","inner")),style:Be(y(a)?y(d):void 0)},[me(v.$slots,"default",{},()=>[G(U(v.label),1)])],6)):Q("v-if",!0)],2)}}});var G$=Ne(Che,[["__file","checkbox-button.vue"]]);const The=Oe({modelValue:{type:he(Array),default:()=>[]},disabled:Boolean,min:Number,max:Number,size:cr,label:String,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},...Er(["ariaLabel"])}),khe={[Mt]:e=>We(e),change:e=>We(e)},zhe=te({name:"ElCheckboxGroup"}),Mhe=te({...zhe,props:The,emits:khe,setup(e,{emit:t}){const n=e,r=Ee("checkbox"),{formItem:a}=Qr(),{inputId:i,isLabeledByFormItem:o}=ro(n,{formItemContext:a}),l=async u=>{t(Mt,u),await nt(),t("change",u)},s=L({get(){return n.modelValue},set(u){l(u)}});return Rt(nh,{...xo(Ar(n),["size","min","max","disabled","validateEvent","fill","textColor"]),modelValue:s,changeEvent:l}),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-checkbox-group",ref:"https://element-plus.org/en-US/component/checkbox.html"},L(()=>!!n.label)),ke(()=>n.modelValue,()=>{n.validateEvent&&(a==null||a.validate("change").catch(u=>void 0))}),(u,c)=>{var f;return k(),Y(It(u.tag),{id:y(i),class:q(y(r).b("group")),role:"group","aria-label":y(o)?void 0:u.label||u.ariaLabel||"checkbox-group","aria-labelledby":y(o)?(f=y(a))==null?void 0:f.labelId:void 0},{default:M(()=>[me(u.$slots,"default")]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var W$=Ne(Mhe,[["__file","checkbox-group.vue"]]);const ki=St(_he,{CheckboxButton:G$,CheckboxGroup:W$}),Ahe=On(G$),U$=On(W$),Y$=Oe({modelValue:{type:[String,Number,Boolean],default:void 0},size:cr,disabled:Boolean,label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),Ehe=Oe({...Y$,border:Boolean}),K$={[Mt]:e=>vt(e)||ot(e)||Jn(e),[Tn]:e=>vt(e)||ot(e)||Jn(e)},X$=Symbol("radioGroupKey"),Z$=(e,t)=>{const n=j(),r=Ye(X$,void 0),a=L(()=>!!r),i=L(()=>Ic(e.value)?e.label:e.value),o=L({get(){return a.value?r.modelValue:e.modelValue},set(f){a.value?r.changeEvent(f):t&&t(Mt,f),n.value.checked=e.modelValue===i.value}}),l=tr(L(()=>r==null?void 0:r.size)),s=ma(L(()=>r==null?void 0:r.disabled)),u=j(!1),c=L(()=>s.value||a.value&&o.value!==i.value?-1:0);return gr({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},L(()=>a.value&&Ic(e.value))),{radioRef:n,isGroup:a,radioGroup:r,focus:u,size:l,disabled:s,tabIndex:c,modelValue:o,actualValue:i}},Ihe=["value","name","disabled"],Dhe=te({name:"ElRadio"}),Lhe=te({...Dhe,props:Ehe,emits:K$,setup(e,{emit:t}){const n=e,r=Ee("radio"),{radioRef:a,radioGroup:i,focus:o,size:l,disabled:s,modelValue:u,actualValue:c}=Z$(n,t);function f(){nt(()=>t("change",u.value))}return(d,h)=>{var v;return k(),F("label",{class:q([y(r).b(),y(r).is("disabled",y(s)),y(r).is("focus",y(o)),y(r).is("bordered",d.border),y(r).is("checked",y(u)===y(c)),y(r).m(y(l))])},[X("span",{class:q([y(r).e("input"),y(r).is("disabled",y(s)),y(r).is("checked",y(u)===y(c))])},[mt(X("input",{ref_key:"radioRef",ref:a,"onUpdate:modelValue":h[0]||(h[0]=p=>ct(u)?u.value=p:null),class:q(y(r).e("original")),value:y(c),name:d.name||((v=y(i))==null?void 0:v.name),disabled:y(s),type:"radio",onFocus:h[1]||(h[1]=p=>o.value=!0),onBlur:h[2]||(h[2]=p=>o.value=!1),onChange:f,onClick:h[3]||(h[3]=ft(()=>{},["stop"]))},null,42,Ihe),[[WR,y(u)]]),X("span",{class:q(y(r).e("inner"))},null,2)],2),X("span",{class:q(y(r).e("label")),onKeydown:h[4]||(h[4]=ft(()=>{},["stop"]))},[me(d.$slots,"default",{},()=>[G(U(d.label),1)])],34)],2)}}});var Phe=Ne(Lhe,[["__file","radio.vue"]]);const Rhe=Oe({...Y$}),Ohe=["value","name","disabled"],Nhe=te({name:"ElRadioButton"}),$he=te({...Nhe,props:Rhe,setup(e){const t=e,n=Ee("radio"),{radioRef:r,focus:a,size:i,disabled:o,modelValue:l,radioGroup:s,actualValue:u}=Z$(t),c=L(()=>({backgroundColor:(s==null?void 0:s.fill)||"",borderColor:(s==null?void 0:s.fill)||"",boxShadow:s!=null&&s.fill?`-1px 0 0 0 ${s.fill}`:"",color:(s==null?void 0:s.textColor)||""}));return(f,d)=>{var h;return k(),F("label",{class:q([y(n).b("button"),y(n).is("active",y(l)===y(u)),y(n).is("disabled",y(o)),y(n).is("focus",y(a)),y(n).bm("button",y(i))])},[mt(X("input",{ref_key:"radioRef",ref:r,"onUpdate:modelValue":d[0]||(d[0]=v=>ct(l)?l.value=v:null),class:q(y(n).be("button","original-radio")),value:y(u),type:"radio",name:f.name||((h=y(s))==null?void 0:h.name),disabled:y(o),onFocus:d[1]||(d[1]=v=>a.value=!0),onBlur:d[2]||(d[2]=v=>a.value=!1),onClick:d[3]||(d[3]=ft(()=>{},["stop"]))},null,42,Ohe),[[WR,y(l)]]),X("span",{class:q(y(n).be("button","inner")),style:Be(y(l)===y(u)?y(c):{}),onKeydown:d[4]||(d[4]=ft(()=>{},["stop"]))},[me(f.$slots,"default",{},()=>[G(U(f.label),1)])],38)],2)}}});var J$=Ne($he,[["__file","radio-button.vue"]]);const Vhe=Oe({id:{type:String,default:void 0},size:cr,disabled:Boolean,modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},label:{type:String,default:void 0},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},...Er(["ariaLabel"])}),Bhe=K$,Fhe=["id","aria-label","aria-labelledby"],Hhe=te({name:"ElRadioGroup"}),jhe=te({...Hhe,props:Vhe,emits:Bhe,setup(e,{emit:t}){const n=e,r=Ee("radio"),a=Vr(),i=j(),{formItem:o}=Qr(),{inputId:l,isLabeledByFormItem:s}=ro(n,{formItemContext:o}),u=f=>{t(Mt,f),nt(()=>t("change",f))};bt(()=>{const f=i.value.querySelectorAll("[type=radio]"),d=f[0];!Array.from(f).some(h=>h.checked)&&d&&(d.tabIndex=0)});const c=L(()=>n.name||a.value);return Rt(X$,nn({...Ar(n),changeEvent:u,name:c})),ke(()=>n.modelValue,()=>{n.validateEvent&&(o==null||o.validate("change").catch(f=>void 0))}),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-radio-group",ref:"https://element-plus.org/en-US/component/radio.html"},L(()=>!!n.label)),(f,d)=>(k(),F("div",{id:y(l),ref_key:"radioGroupRef",ref:i,class:q(y(r).b("group")),role:"radiogroup","aria-label":y(s)?void 0:f.label||f.ariaLabel||"radio-group","aria-labelledby":y(s)?y(o).labelId:void 0},[me(f.$slots,"default")],10,Fhe))}});var Q$=Ne(jhe,[["__file","radio-group.vue"]]);const eV=St(Phe,{RadioButton:J$,RadioGroup:Q$}),qhe=On(Q$),Ghe=On(J$);var Whe=te({name:"NodeContent",setup(){return{ns:Ee("cascader-node")}},render(){const{ns:e}=this,{node:t,panel:n}=this.$parent,{data:r,label:a}=t,{renderLabelFn:i}=n;return tt("span",{class:e.e("label")},i?i({node:t,data:r}):a)}});const jS=Symbol(),Uhe=te({name:"ElCascaderNode",components:{ElCheckbox:ki,ElRadio:eV,NodeContent:Whe,ElIcon:Ze,Check:pp,Loading:iu,ArrowRight:la},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=Ye(jS),r=Ee("cascader-node"),a=L(()=>n.isHoverMenu),i=L(()=>n.config.multiple),o=L(()=>n.config.checkStrictly),l=L(()=>{var S;return(S=n.checkedNodes[0])==null?void 0:S.uid}),s=L(()=>e.node.isDisabled),u=L(()=>e.node.isLeaf),c=L(()=>o.value&&!u.value||!s.value),f=L(()=>h(n.expandingNode)),d=L(()=>o.value&&n.checkedNodes.some(h)),h=S=>{var C;const{level:T,uid:z}=e.node;return((C=S==null?void 0:S.pathNodes[T-1])==null?void 0:C.uid)===z},v=()=>{f.value||n.expandNode(e.node)},p=S=>{const{node:C}=e;S!==C.checked&&n.handleCheckChange(C,S)},g=()=>{n.lazyLoad(e.node,()=>{u.value||v()})},m=S=>{a.value&&(b(),!u.value&&t("expand",S))},b=()=>{const{node:S}=e;!c.value||S.loading||(S.loaded?v():g())},_=()=>{a.value&&!u.value||(u.value&&!s.value&&!o.value&&!i.value?x(!0):b())},w=S=>{o.value?(p(S),e.node.loaded&&v()):x(S)},x=S=>{e.node.loaded?(p(S),!o.value&&v()):g()};return{panel:n,isHoverMenu:a,multiple:i,checkStrictly:o,checkedNodeId:l,isDisabled:s,isLeaf:u,expandable:c,inExpandingPath:f,inCheckedPath:d,ns:r,handleHoverExpand:m,handleExpand:b,handleClick:_,handleCheck:x,handleSelectCheck:w}}}),Yhe=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],Khe=X("span",null,null,-1);function Xhe(e,t,n,r,a,i){const o=se("el-checkbox"),l=se("el-radio"),s=se("check"),u=se("el-icon"),c=se("node-content"),f=se("loading"),d=se("arrow-right");return k(),F("li",{id:`${e.menuId}-${e.node.uid}`,role:"menuitem","aria-haspopup":!e.isLeaf,"aria-owns":e.isLeaf?null:e.menuId,"aria-expanded":e.inExpandingPath,tabindex:e.expandable?-1:void 0,class:q([e.ns.b(),e.ns.is("selectable",e.checkStrictly),e.ns.is("active",e.node.checked),e.ns.is("disabled",!e.expandable),e.inExpandingPath&&"in-active-path",e.inCheckedPath&&"in-checked-path"]),onMouseenter:t[2]||(t[2]=(...h)=>e.handleHoverExpand&&e.handleHoverExpand(...h)),onFocus:t[3]||(t[3]=(...h)=>e.handleHoverExpand&&e.handleHoverExpand(...h)),onClick:t[4]||(t[4]=(...h)=>e.handleClick&&e.handleClick(...h))},[Q(" prefix "),e.multiple?(k(),Y(o,{key:0,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:e.isDisabled,onClick:t[0]||(t[0]=ft(()=>{},["stop"])),"onUpdate:modelValue":e.handleSelectCheck},null,8,["model-value","indeterminate","disabled","onUpdate:modelValue"])):e.checkStrictly?(k(),Y(l,{key:1,"model-value":e.checkedNodeId,label:e.node.uid,disabled:e.isDisabled,"onUpdate:modelValue":e.handleSelectCheck,onClick:t[1]||(t[1]=ft(()=>{},["stop"]))},{default:M(()=>[Q(`
  65. Add an empty element to avoid render label,
  66. do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
  67. `),Khe]),_:1},8,["model-value","label","disabled","onUpdate:modelValue"])):e.isLeaf&&e.node.checked?(k(),Y(u,{key:2,class:q(e.ns.e("prefix"))},{default:M(()=>[I(s)]),_:1},8,["class"])):Q("v-if",!0),Q(" content "),I(c),Q(" postfix "),e.isLeaf?Q("v-if",!0):(k(),F(de,{key:3},[e.node.loading?(k(),Y(u,{key:0,class:q([e.ns.is("loading"),e.ns.e("postfix")])},{default:M(()=>[I(f)]),_:1},8,["class"])):(k(),Y(u,{key:1,class:q(["arrow-right",e.ns.e("postfix")])},{default:M(()=>[I(d)]),_:1},8,["class"]))],64))],42,Yhe)}var Zhe=Ne(Uhe,[["render",Xhe],["__file","node.vue"]]);const Jhe=te({name:"ElCascaderMenu",components:{Loading:iu,ElIcon:Ze,ElScrollbar:$l,ElCascaderNode:Zhe},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=xt(),n=Ee("cascader-menu"),{t:r}=Xt(),a=Vr();let i=null,o=null;const l=Ye(jS),s=j(null),u=L(()=>!e.nodes.length),c=L(()=>!l.initialLoaded),f=L(()=>`${a.value}-${e.index}`),d=g=>{i=g.target},h=g=>{if(!(!l.isHoverMenu||!i||!s.value))if(i.contains(g.target)){v();const m=t.vnode.el,{left:b}=m.getBoundingClientRect(),{offsetWidth:_,offsetHeight:w}=m,x=g.clientX-b,S=i.offsetTop,C=S+i.offsetHeight;s.value.innerHTML=`
  68. <path style="pointer-events: auto;" fill="transparent" d="M${x} ${S} L${_} 0 V${S} Z" />
  69. <path style="pointer-events: auto;" fill="transparent" d="M${x} ${C} L${_} ${w} V${C} Z" />
  70. `}else o||(o=window.setTimeout(p,l.config.hoverThreshold))},v=()=>{o&&(clearTimeout(o),o=null)},p=()=>{s.value&&(s.value.innerHTML="",v())};return{ns:n,panel:l,hoverZone:s,isEmpty:u,isLoading:c,menuId:f,t:r,handleExpand:d,handleMouseMove:h,clearHoverZone:p}}});function Qhe(e,t,n,r,a,i){const o=se("el-cascader-node"),l=se("loading"),s=se("el-icon"),u=se("el-scrollbar");return k(),Y(u,{key:e.menuId,tag:"ul",role:"menu",class:q(e.ns.b()),"wrap-class":e.ns.e("wrap"),"view-class":[e.ns.e("list"),e.ns.is("empty",e.isEmpty)],onMousemove:e.handleMouseMove,onMouseleave:e.clearHoverZone},{default:M(()=>{var c;return[(k(!0),F(de,null,we(e.nodes,f=>(k(),Y(o,{key:f.uid,node:f,"menu-id":e.menuId,onExpand:e.handleExpand},null,8,["node","menu-id","onExpand"]))),128)),e.isLoading?(k(),F("div",{key:0,class:q(e.ns.e("empty-text"))},[I(s,{size:"14",class:q(e.ns.is("loading"))},{default:M(()=>[I(l)]),_:1},8,["class"]),G(" "+U(e.t("el.cascader.loading")),1)],2)):e.isEmpty?(k(),F("div",{key:1,class:q(e.ns.e("empty-text"))},U(e.t("el.cascader.noData")),3)):(c=e.panel)!=null&&c.isHoverMenu?(k(),F("svg",{key:2,ref:"hoverZone",class:q(e.ns.e("hover-zone"))},null,2)):Q("v-if",!0)]}),_:1},8,["class","wrap-class","view-class","onMousemove","onMouseleave"])}var eve=Ne(Jhe,[["render",Qhe],["__file","menu.vue"]]);let tve=0;const nve=e=>{const t=[e];let{parent:n}=e;for(;n;)t.unshift(n),n=n.parent;return t};let H4=class j4{constructor(t,n,r,a=!1){this.data=t,this.config=n,this.parent=r,this.root=a,this.uid=tve++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:o,children:l}=n,s=t[l],u=nve(this);this.level=a?0:r?r.level+1:1,this.value=t[i],this.label=t[o],this.pathNodes=u,this.pathValues=u.map(c=>c.value),this.pathLabels=u.map(c=>c.label),this.childrenData=s,this.children=(s||[]).map(c=>new j4(c,n,this)),this.loaded=!n.lazy||this.isLeaf||!fi(s)}get isDisabled(){const{data:t,parent:n,config:r}=this,{disabled:a,checkStrictly:i}=r;return(st(a)?a(t,this):!!t[a])||!i&&(n==null?void 0:n.isDisabled)}get isLeaf(){const{data:t,config:n,childrenData:r,loaded:a}=this,{lazy:i,leaf:o}=n,l=st(o)?o(t,this):t[o];return Xn(l)?i&&!a?!1:!(Array.isArray(r)&&r.length):!!l}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:n,children:r}=this,a=new j4(t,this.config,this);return Array.isArray(n)?n.push(t):this.childrenData=[t],r.push(a),a}calcText(t,n){const r=t?this.pathLabels.join(n):this.label;return this.text=r,r}broadcast(t,...n){const r=`onParent${bo(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...n),a[r]&&a[r](...n))})}emit(t,...n){const{parent:r}=this,a=`onChild${bo(t)}`;r&&(r[a]&&r[a](...n),r.emit(t,...n))}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,n=t.filter(a=>!a.isDisabled),r=n.length?n.every(a=>a.checked):!1;this.setCheckState(r)}setCheckState(t){const n=this.children.length,r=this.children.reduce((a,i)=>{const o=i.checked?1:i.indeterminate?.5:0;return a+o},0);this.checked=this.loaded&&this.children.filter(a=>!a.isDisabled).every(a=>a.loaded&&a.checked)&&t,this.indeterminate=this.loaded&&r!==n&&r>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:n,multiple:r}=this.config;n||!r?this.checked=t:(this.broadcast("check",t),this.setCheckState(t),this.emit("check"))}};const q4=(e,t)=>e.reduce((n,r)=>(r.isLeaf?n.push(r):(!t&&n.push(r),n=n.concat(q4(r.children,t))),n),[]);class Nk{constructor(t,n){this.config=n;const r=(t||[]).map(a=>new H4(a,this.config));this.nodes=r,this.allNodes=q4(r,!1),this.leafNodes=q4(r,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,n){const r=n?n.appendChild(t):new H4(t,this.config);n||this.nodes.push(r),this.allNodes.push(r),r.isLeaf&&this.leafNodes.push(r)}appendNodes(t,n){t.forEach(r=>this.appendNode(r,n))}getNodeByValue(t,n=!1){return!t&&t!==0?null:this.getFlattedNodes(n).find(a=>Yr(a.value,t)||Yr(a.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:r,level:a})=>Yr(t.value,r)&&t.level===a)||null}}const tV=Oe({modelValue:{type:he([Number,String,Array])},options:{type:he(Array),default:()=>[]},props:{type:he(Object),default:()=>({})}}),rve={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:sn,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},ave=e=>L(()=>({...rve,...e.props})),$k=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},ive=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():dO(e)&&e.click()},ove=(e,t)=>{const n=t.slice(0),r=n.map(i=>i.uid),a=e.reduce((i,o)=>{const l=r.indexOf(o.uid);return l>-1&&(i.push(o),n.splice(l,1),r.splice(l,1)),i},[]);return a.push(...n),a},lve=te({name:"ElCascaderPanel",components:{ElCascaderMenu:eve},props:{...tV,border:{type:Boolean,default:!0},renderLabel:Function},emits:[Mt,Tn,"close","expand-change"],setup(e,{emit:t,slots:n}){let r=!1;const a=Ee("cascader"),i=ave(e);let o=null;const l=j(!0),s=j([]),u=j(null),c=j([]),f=j(null),d=j([]),h=L(()=>i.value.expandTrigger==="hover"),v=L(()=>e.renderLabel||n.default),p=()=>{const{options:D}=e,$=i.value;r=!1,o=new Nk(D,$),c.value=[o.getNodes()],$.lazy&&fi(e.options)?(l.value=!1,g(void 0,O=>{O&&(o=new Nk(O,$),c.value=[o.getNodes()]),l.value=!0,T(!1,!0)})):T(!1,!0)},g=(D,$)=>{const O=i.value;D=D||new H4({},O,void 0,!0),D.loading=!0;const R=N=>{const B=D,V=B.root?null:B;N&&(o==null||o.appendNodes(N,V)),B.loading=!1,B.loaded=!0,B.childrenData=B.childrenData||[],$&&$(N)};O.lazyLoad(D,R)},m=(D,$)=>{var O;const{level:R}=D,N=c.value.slice(0,R);let B;D.isLeaf?B=D.pathNodes[R-2]:(B=D,N.push(D.children)),((O=f.value)==null?void 0:O.uid)!==(B==null?void 0:B.uid)&&(f.value=D,c.value=N,!$&&t("expand-change",(D==null?void 0:D.pathValues)||[]))},b=(D,$,O=!0)=>{const{checkStrictly:R,multiple:N}=i.value,B=d.value[0];r=!0,!N&&(B==null||B.doCheck(!1)),D.doCheck($),C(),O&&!N&&!R&&t("close"),!O&&!N&&!R&&_(D)},_=D=>{D&&(D=D.parent,_(D),D&&m(D))},w=D=>o==null?void 0:o.getFlattedNodes(D),x=D=>{var $;return($=w(D))==null?void 0:$.filter(O=>O.checked!==!1)},S=()=>{d.value.forEach(D=>D.doCheck(!1)),C(),c.value=c.value.slice(0,1),f.value=null,t("expand-change",[])},C=()=>{var D;const{checkStrictly:$,multiple:O}=i.value,R=d.value,N=x(!$),B=ove(R,N),V=B.map(P=>P.valueByOption);d.value=B,u.value=O?V:(D=V[0])!=null?D:null},T=(D=!1,$=!1)=>{const{modelValue:O}=e,{lazy:R,multiple:N,checkStrictly:B}=i.value,V=!B;if(!(!l.value||r||!$&&Yr(O,u.value)))if(R&&!D){const W=OT(eae($a(O))).map(Z=>o==null?void 0:o.getNodeByValue(Z)).filter(Z=>!!Z&&!Z.loaded&&!Z.loading);W.length?W.forEach(Z=>{g(Z,()=>T(!1,$))}):T(!0,$)}else{const P=N?$a(O):[O],W=OT(P.map(Z=>o==null?void 0:o.getNodeByValue(Z,V)));z(W,$),u.value=$2(O)}},z=(D,$=!0)=>{const{checkStrictly:O}=i.value,R=d.value,N=D.filter(P=>!!P&&(O||P.isLeaf)),B=o==null?void 0:o.getSameNode(f.value),V=$&&B||N[0];V?V.pathNodes.forEach(P=>m(P,!0)):f.value=null,R.forEach(P=>P.doCheck(!1)),nn(N).forEach(P=>P.doCheck(!0)),d.value=N,nt(A)},A=()=>{Wt&&s.value.forEach(D=>{const $=D==null?void 0:D.$el;if($){const O=$.querySelector(`.${a.namespace.value}-scrollbar__wrap`),R=$.querySelector(`.${a.b("node")}.${a.is("active")}`)||$.querySelector(`.${a.b("node")}.in-active-path`);sN(O,R)}})},E=D=>{const $=D.target,{code:O}=D;switch(O){case at.up:case at.down:{D.preventDefault();const R=O===at.up?-1:1;P0(hO($,R,`.${a.b("node")}[tabindex="-1"]`));break}case at.left:{D.preventDefault();const R=s.value[$k($)-1],N=R==null?void 0:R.$el.querySelector(`.${a.b("node")}[aria-expanded="true"]`);P0(N);break}case at.right:{D.preventDefault();const R=s.value[$k($)+1],N=R==null?void 0:R.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`);P0(N);break}case at.enter:ive($);break}};return Rt(jS,nn({config:i,expandingNode:f,checkedNodes:d,isHoverMenu:h,initialLoaded:l,renderLabelFn:v,lazyLoad:g,expandNode:m,handleCheckChange:b})),ke([i,()=>e.options],p,{deep:!0,immediate:!0}),ke(()=>e.modelValue,()=>{r=!1,T()},{deep:!0}),ke(()=>u.value,D=>{Yr(D,e.modelValue)||(t(Mt,D),t(Tn,D))}),cR(()=>s.value=[]),bt(()=>!fi(e.modelValue)&&T()),{ns:a,menuList:s,menus:c,checkedNodes:d,handleKeyDown:E,handleCheckChange:b,getFlattedNodes:w,getCheckedNodes:x,clearCheckedNodes:S,calculateCheckedValue:C,scrollToExpandingNode:A}}});function sve(e,t,n,r,a,i){const o=se("el-cascader-menu");return k(),F("div",{class:q([e.ns.b("panel"),e.ns.is("bordered",e.border)]),onKeydown:t[0]||(t[0]=(...l)=>e.handleKeyDown&&e.handleKeyDown(...l))},[(k(!0),F(de,null,we(e.menus,(l,s)=>(k(),Y(o,{key:s,ref_for:!0,ref:u=>e.menuList[s]=u,index:s,nodes:[...l]},null,8,["index","nodes"]))),128))],34)}var H0=Ne(lve,[["render",sve],["__file","index.vue"]]);H0.install=e=>{e.component(H0.name,H0)};const nV=H0,uve=nV,Py=Oe({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:jo},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),cve={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},fve=te({name:"ElTag"}),dve=te({...fve,props:Py,emits:cve,setup(e,{emit:t}){const n=e,r=tr(),a=Ee("tag"),i=L(()=>{const{type:s,hit:u,effect:c,closable:f,round:d}=n;return[a.b(),a.is("closable",f),a.m(s||"primary"),a.m(r.value),a.m(c),a.is("hit",u),a.is("round",d)]}),o=s=>{t("close",s)},l=s=>{t("click",s)};return(s,u)=>s.disableTransitions?(k(),F("span",{key:0,class:q(y(i)),style:Be({backgroundColor:s.color}),onClick:l},[X("span",{class:q(y(a).e("content"))},[me(s.$slots,"default")],2),s.closable?(k(),Y(y(Ze),{key:0,class:q(y(a).e("close")),onClick:ft(o,["stop"])},{default:M(()=>[I(y(Xi))]),_:1},8,["class","onClick"])):Q("v-if",!0)],6)):(k(),Y(ir,{key:1,name:`${y(a).namespace.value}-zoom-in-center`,appear:""},{default:M(()=>[X("span",{class:q(y(i)),style:Be({backgroundColor:s.color}),onClick:l},[X("span",{class:q(y(a).e("content"))},[me(s.$slots,"default")],2),s.closable?(k(),Y(y(Ze),{key:0,class:q(y(a).e("close")),onClick:ft(o,["stop"])},{default:M(()=>[I(y(Xi))]),_:1},8,["class","onClick"])):Q("v-if",!0)],6)]),_:3},8,["name"]))}});var hve=Ne(dve,[["__file","tag.vue"]]);const x1=St(hve),vve=Oe({...tV,size:cr,placeholder:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:{type:he(Function),default:(e,t)=>e.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:{type:Boolean,default:!1},debounce:{type:Number,default:300},beforeFilter:{type:he(Function),default:()=>!0},popperClass:{type:String,default:""},teleported:vr.teleported,tagType:{...Py.type,default:"info"},validateEvent:{type:Boolean,default:!0},...th}),pve={[Mt]:e=>!0,[Tn]:e=>!0,focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,visibleChange:e=>Jn(e),expandChange:e=>!!e,removeTag:e=>!!e},gve={key:0},mve=["placeholder","onKeydown"],yve=["onClick"],bve="ElCascader",_ve=te({name:bve}),wve=te({..._ve,props:vve,emits:pve,setup(e,{expose:t,emit:n}){const r=e,a={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:_e})=>{const{modifiersData:Ie,placement:Xe}=_e;["right","left","bottom","top"].includes(Xe)||(Ie.arrow.x=35)},requires:["arrow"]}]},i=qc();let o=0,l=0;const s=Ee("cascader"),u=Ee("input"),{t:c}=Xt(),{form:f,formItem:d}=Qr(),{valueOnClear:h}=Ey(r),v=j(null),p=j(null),g=j(null),m=j(null),b=j(null),_=j(!1),w=j(!1),x=j(!1),S=j(!1),C=j(""),T=j(""),z=j([]),A=j([]),E=j([]),D=j(!1),$=L(()=>i.style),O=L(()=>r.disabled||(f==null?void 0:f.disabled)),R=L(()=>r.placeholder||c("el.cascader.placeholder")),N=L(()=>T.value||z.value.length>0||D.value?"":R.value),B=tr(),V=L(()=>["small"].includes(B.value)?"small":"default"),P=L(()=>!!r.props.multiple),W=L(()=>!r.filterable||P.value),Z=L(()=>P.value?T.value:C.value),ee=L(()=>{var _e;return((_e=m.value)==null?void 0:_e.checkedNodes)||[]}),re=L(()=>!r.clearable||O.value||x.value||!w.value?!1:!!ee.value.length),ue=L(()=>{const{showAllLevels:_e,separator:Ie}=r,Xe=ee.value;return Xe.length?P.value?"":Xe[0].calcText(_e,Ie):""}),ye=L(()=>(d==null?void 0:d.validateState)||""),le=L({get(){return $2(r.modelValue)},set(_e){const Ie=_e||h.value;n(Mt,Ie),n(Tn,Ie),r.validateEvent&&(d==null||d.validate("change").catch(Xe=>void 0))}}),ae=L(()=>[s.b(),s.m(B.value),s.is("disabled",O.value),i.class]),ie=L(()=>[u.e("icon"),"icon-arrow-down",s.is("reverse",_.value)]),ve=L(()=>s.is("focus",_.value||S.value)),ce=L(()=>{var _e,Ie;return(Ie=(_e=v.value)==null?void 0:_e.popperRef)==null?void 0:Ie.contentRef}),fe=_e=>{var Ie,Xe,be;O.value||(_e=_e??!_.value,_e!==_.value&&(_.value=_e,(Xe=(Ie=p.value)==null?void 0:Ie.input)==null||Xe.setAttribute("aria-expanded",`${_e}`),_e?(xe(),nt((be=m.value)==null?void 0:be.scrollToExpandingNode)):r.filterable&&ze(),n("visibleChange",_e)))},xe=()=>{nt(()=>{var _e;(_e=v.value)==null||_e.updatePopper()})},J=()=>{x.value=!1},oe=_e=>{const{showAllLevels:Ie,separator:Xe}=r;return{node:_e,key:_e.uid,text:_e.calcText(Ie,Xe),hitState:!1,closable:!O.value&&!_e.isDisabled,isCollapseTag:!1}},pe=_e=>{var Ie;const Xe=_e.node;Xe.doCheck(!1),(Ie=m.value)==null||Ie.calculateCheckedValue(),n("removeTag",Xe.valueByOption)},Te=()=>{if(!P.value)return;const _e=ee.value,Ie=[],Xe=[];if(_e.forEach(be=>Xe.push(oe(be))),A.value=Xe,_e.length){_e.slice(0,r.maxCollapseTags).forEach(Lt=>Ie.push(oe(Lt)));const be=_e.slice(r.maxCollapseTags),Qe=be.length;Qe&&(r.collapseTags?Ie.push({key:-1,text:`+ ${Qe}`,closable:!1,isCollapseTag:!0}):be.forEach(Lt=>Ie.push(oe(Lt))))}z.value=Ie},ge=()=>{var _e,Ie;const{filterMethod:Xe,showAllLevels:be,separator:Qe}=r,Lt=(Ie=(_e=m.value)==null?void 0:_e.getFlattedNodes(!r.props.checkStrictly))==null?void 0:Ie.filter(cn=>cn.isDisabled?!1:(cn.calcText(be,Qe),Xe(cn,Z.value)));P.value&&(z.value.forEach(cn=>{cn.hitState=!1}),A.value.forEach(cn=>{cn.hitState=!1})),x.value=!0,E.value=Lt,xe()},Ae=()=>{var _e;let Ie;x.value&&b.value?Ie=b.value.$el.querySelector(`.${s.e("suggestion-item")}`):Ie=(_e=m.value)==null?void 0:_e.$el.querySelector(`.${s.b("node")}[tabindex="-1"]`),Ie&&(Ie.focus(),!x.value&&Ie.click())},De=()=>{var _e,Ie;const Xe=(_e=p.value)==null?void 0:_e.input,be=g.value,Qe=(Ie=b.value)==null?void 0:Ie.$el;if(!(!Wt||!Xe)){if(Qe){const Lt=Qe.querySelector(`.${s.e("suggestion-list")}`);Lt.style.minWidth=`${Xe.offsetWidth}px`}if(be){const{offsetHeight:Lt}=be,cn=z.value.length>0?`${Math.max(Lt+6,o)}px`:`${o}px`;Xe.style.height=cn,xe()}}},Pe=_e=>{var Ie;return(Ie=m.value)==null?void 0:Ie.getCheckedNodes(_e)},Re=_e=>{xe(),n("expandChange",_e)},Ce=_e=>{var Ie;const Xe=(Ie=_e.target)==null?void 0:Ie.value;if(_e.type==="compositionend")D.value=!1,nt(()=>qe(Xe));else{const be=Xe[Xe.length-1]||"";D.value=!hS(be)}},Ue=_e=>{if(!D.value)switch(_e.code){case at.enter:fe();break;case at.down:fe(!0),nt(Ae),_e.preventDefault();break;case at.esc:_.value===!0&&(_e.preventDefault(),_e.stopPropagation(),fe(!1));break;case at.tab:fe(!1);break}},Je=()=>{var _e;(_e=m.value)==null||_e.clearCheckedNodes(),!_.value&&r.filterable&&ze(),fe(!1)},ze=()=>{const{value:_e}=ue;C.value=_e,T.value=_e},Ke=_e=>{var Ie,Xe;const{checked:be}=_e;P.value?(Ie=m.value)==null||Ie.handleCheckChange(_e,!be,!1):(!be&&((Xe=m.value)==null||Xe.handleCheckChange(_e,!0,!1)),fe(!1))},ut=_e=>{const Ie=_e.target,{code:Xe}=_e;switch(Xe){case at.up:case at.down:{const be=Xe===at.up?-1:1;P0(hO(Ie,be,`.${s.e("suggestion-item")}[tabindex="-1"]`));break}case at.enter:Ie.click();break}},Et=()=>{const _e=z.value,Ie=_e[_e.length-1];l=T.value?0:l+1,!(!Ie||!l||r.collapseTags&&_e.length>1)&&(Ie.hitState?pe(Ie):Ie.hitState=!0)},Ct=_e=>{const Ie=_e.target,Xe=s.e("search-input");Ie.className===Xe&&(S.value=!0),n("focus",_e)},rt=_e=>{S.value=!1,n("blur",_e)},Me=La(()=>{const{value:_e}=Z;if(!_e)return;const Ie=r.beforeFilter(_e);r1(Ie)?Ie.then(ge).catch(()=>{}):Ie!==!1?ge():J()},r.debounce),qe=(_e,Ie)=>{!_.value&&fe(!0),!(Ie!=null&&Ie.isComposing)&&(_e?Me():J())},Le=_e=>Number.parseFloat(MJ(u.cssVarName("input-height"),_e).value)-2;return ke(x,xe),ke([ee,O],Te),ke(z,()=>{nt(()=>De())}),ke(B,async()=>{await nt();const _e=p.value.input;o=Le(_e)||o,De()}),ke(ue,ze,{immediate:!0}),bt(()=>{const _e=p.value.input,Ie=Le(_e);o=_e.offsetHeight||Ie,Pn(_e,De)}),t({getCheckedNodes:Pe,cascaderPanelRef:m,togglePopperVisible:fe,contentRef:ce}),(_e,Ie)=>(k(),Y(y(Xr),{ref_key:"tooltipRef",ref:v,visible:_.value,teleported:_e.teleported,"popper-class":[y(s).e("dropdown"),_e.popperClass],"popper-options":a,"fallback-placements":["bottom-start","bottom","top-start","top","right","left"],"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:"bottom-start",transition:`${y(s).namespace.value}-zoom-in-top`,effect:"light",pure:"",persistent:"",onHide:J},{default:M(()=>[mt((k(),F("div",{class:q(y(ae)),style:Be(y($)),onClick:Ie[5]||(Ie[5]=()=>fe(y(W)?void 0:!0)),onKeydown:Ue,onMouseenter:Ie[6]||(Ie[6]=Xe=>w.value=!0),onMouseleave:Ie[7]||(Ie[7]=Xe=>w.value=!1)},[I(y(Ur),{ref_key:"input",ref:p,modelValue:C.value,"onUpdate:modelValue":Ie[1]||(Ie[1]=Xe=>C.value=Xe),placeholder:y(N),readonly:y(W),disabled:y(O),"validate-event":!1,size:y(B),class:q(y(ve)),tabindex:y(P)&&_e.filterable&&!y(O)?-1:void 0,onCompositionstart:Ce,onCompositionupdate:Ce,onCompositionend:Ce,onFocus:Ct,onBlur:rt,onInput:qe},{suffix:M(()=>[y(re)?(k(),Y(y(Ze),{key:"clear",class:q([y(u).e("icon"),"icon-circle-close"]),onClick:ft(Je,["stop"])},{default:M(()=>[I(y(au))]),_:1},8,["class","onClick"])):(k(),Y(y(Ze),{key:"arrow-down",class:q(y(ie)),onClick:Ie[0]||(Ie[0]=ft(Xe=>fe(),["stop"]))},{default:M(()=>[I(y(Ol))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),y(P)?(k(),F("div",{key:0,ref_key:"tagWrapper",ref:g,class:q([y(s).e("tags"),y(s).is("validate",!!y(ye))])},[(k(!0),F(de,null,we(z.value,Xe=>(k(),Y(y(x1),{key:Xe.key,type:_e.tagType,size:y(V),hit:Xe.hitState,closable:Xe.closable,"disable-transitions":"",onClose:be=>pe(Xe)},{default:M(()=>[Xe.isCollapseTag===!1?(k(),F("span",gve,U(Xe.text),1)):(k(),Y(y(Xr),{key:1,disabled:_.value||!_e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom",effect:"light"},{default:M(()=>[X("span",null,U(Xe.text),1)]),content:M(()=>[X("div",{class:q(y(s).e("collapse-tags"))},[(k(!0),F(de,null,we(A.value.slice(_e.maxCollapseTags),(be,Qe)=>(k(),F("div",{key:Qe,class:q(y(s).e("collapse-tag"))},[(k(),Y(y(x1),{key:be.key,class:"in-tooltip",type:_e.tagType,size:y(V),hit:be.hitState,closable:be.closable,"disable-transitions":"",onClose:Lt=>pe(be)},{default:M(()=>[X("span",null,U(be.text),1)]),_:2},1032,["type","size","hit","closable","onClose"]))],2))),128))],2)]),_:2},1032,["disabled"]))]),_:2},1032,["type","size","hit","closable","onClose"]))),128)),_e.filterable&&!y(O)?mt((k(),F("input",{key:0,"onUpdate:modelValue":Ie[2]||(Ie[2]=Xe=>T.value=Xe),type:"text",class:q(y(s).e("search-input")),placeholder:y(ue)?"":y(R),onInput:Ie[3]||(Ie[3]=Xe=>qe(T.value,Xe)),onClick:Ie[4]||(Ie[4]=ft(Xe=>fe(!0),["stop"])),onKeydown:fn(Et,["delete"]),onCompositionstart:Ce,onCompositionupdate:Ce,onCompositionend:Ce,onFocus:Ct,onBlur:rt},null,42,mve)),[[L5,T.value]]):Q("v-if",!0)],2)):Q("v-if",!0)],38)),[[y(Sl),()=>fe(!1),y(ce)]])]),content:M(()=>[mt(I(y(nV),{ref_key:"cascaderPanelRef",ref:m,modelValue:y(le),"onUpdate:modelValue":Ie[8]||(Ie[8]=Xe=>ct(le)?le.value=Xe:null),options:_e.options,props:r.props,border:!1,"render-label":_e.$slots.default,onExpandChange:Re,onClose:Ie[9]||(Ie[9]=Xe=>_e.$nextTick(()=>fe(!1)))},null,8,["modelValue","options","props","render-label"]),[[en,!x.value]]),_e.filterable?mt((k(),Y(y($l),{key:0,ref_key:"suggestionPanel",ref:b,tag:"ul",class:q(y(s).e("suggestion-panel")),"view-class":y(s).e("suggestion-list"),onKeydown:ut},{default:M(()=>[E.value.length?(k(!0),F(de,{key:0},we(E.value,Xe=>(k(),F("li",{key:Xe.uid,class:q([y(s).e("suggestion-item"),y(s).is("checked",Xe.checked)]),tabindex:-1,onClick:be=>Ke(Xe)},[X("span",null,U(Xe.text),1),Xe.checked?(k(),Y(y(Ze),{key:0},{default:M(()=>[I(y(pp))]),_:1})):Q("v-if",!0)],10,yve))),128)):me(_e.$slots,"empty",{key:1},()=>[X("li",{class:q(y(s).e("empty-text"))},U(y(c)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[en,x.value]]):Q("v-if",!0)]),_:3},8,["visible","teleported","popper-class","transition"]))}});var j0=Ne(wve,[["__file","cascader.vue"]]);j0.install=e=>{e.component(j0.name,j0)};const xve=j0,Sve=xve,Cve=Oe({checked:{type:Boolean,default:!1},type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),Tve={"update:checked":e=>Jn(e),[Tn]:e=>Jn(e)},kve=te({name:"ElCheckTag"}),zve=te({...kve,props:Cve,emits:Tve,setup(e,{emit:t}){const n=e,r=Ee("check-tag"),a=L(()=>[r.b(),r.is("checked",n.checked),r.m(n.type||"primary")]),i=()=>{const o=!n.checked;t(Tn,o),t("update:checked",o)};return(o,l)=>(k(),F("span",{class:q(y(a)),onClick:i},[me(o.$slots,"default")],2))}});var Mve=Ne(zve,[["__file","check-tag.vue"]]);const Ave=St(Mve),rV=Symbol("rowContextKey"),Eve=["start","center","end","space-around","space-between","space-evenly"],Ive=["top","middle","bottom"],Dve=Oe({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:Eve,default:"start"},align:{type:String,values:Ive}}),Lve=te({name:"ElRow"}),Pve=te({...Lve,props:Dve,setup(e){const t=e,n=Ee("row"),r=L(()=>t.gutter);Rt(rV,{gutter:r});const a=L(()=>{const o={};return t.gutter&&(o.marginRight=o.marginLeft=`-${t.gutter/2}px`),o}),i=L(()=>[n.b(),n.is(`justify-${t.justify}`,t.justify!=="start"),n.is(`align-${t.align}`,!!t.align)]);return(o,l)=>(k(),Y(It(o.tag),{class:q(y(i)),style:Be(y(a))},{default:M(()=>[me(o.$slots,"default")]),_:3},8,["class","style"]))}});var Rve=Ne(Pve,[["__file","row.vue"]]);const Ove=St(Rve),Nve=Oe({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:he([Number,Object]),default:()=>Rn({})},sm:{type:he([Number,Object]),default:()=>Rn({})},md:{type:he([Number,Object]),default:()=>Rn({})},lg:{type:he([Number,Object]),default:()=>Rn({})},xl:{type:he([Number,Object]),default:()=>Rn({})}}),$ve=te({name:"ElCol"}),Vve=te({...$ve,props:Nve,setup(e){const t=e,{gutter:n}=Ye(rV,{gutter:L(()=>0)}),r=Ee("col"),a=L(()=>{const o={};return n.value&&(o.paddingLeft=o.paddingRight=`${n.value/2}px`),o}),i=L(()=>{const o=[];return["span","offset","pull","push"].forEach(u=>{const c=t[u];ot(c)&&(u==="span"?o.push(r.b(`${t[u]}`)):c>0&&o.push(r.b(`${u}-${t[u]}`)))}),["xs","sm","md","lg","xl"].forEach(u=>{ot(t[u])?o.push(r.b(`${u}-${t[u]}`)):zt(t[u])&&Object.entries(t[u]).forEach(([c,f])=>{o.push(c!=="span"?r.b(`${u}-${c}-${f}`):r.b(`${u}-${f}`))})}),n.value&&o.push(r.is("guttered")),[r.b(),o]});return(o,l)=>(k(),Y(It(o.tag),{class:q(y(i)),style:Be(y(a))},{default:M(()=>[me(o.$slots,"default")]),_:3},8,["class","style"]))}});var Bve=Ne(Vve,[["__file","col.vue"]]);const Fve=St(Bve),Vk=e=>ot(e)||vt(e)||We(e),Hve=Oe({accordion:Boolean,modelValue:{type:he([Array,String,Number]),default:()=>Rn([])}}),jve={[Mt]:Vk,[Tn]:Vk},aV=Symbol("collapseContextKey"),qve=(e,t)=>{const n=j(Bs(e.modelValue)),r=i=>{n.value=i;const o=e.accordion?n.value[0]:n.value;t(Mt,o),t(Tn,o)},a=i=>{if(e.accordion)r([n.value[0]===i?"":i]);else{const o=[...n.value],l=o.indexOf(i);l>-1?o.splice(l,1):o.push(i),r(o)}};return ke(()=>e.modelValue,()=>n.value=Bs(e.modelValue),{deep:!0}),Rt(aV,{activeNames:n,handleItemClick:a}),{activeNames:n,setActiveNames:r}},Gve=()=>{const e=Ee("collapse");return{rootKls:L(()=>e.b())}},Wve=te({name:"ElCollapse"}),Uve=te({...Wve,props:Hve,emits:jve,setup(e,{expose:t,emit:n}){const r=e,{activeNames:a,setActiveNames:i}=qve(r,n),{rootKls:o}=Gve();return t({activeNames:a,setActiveNames:i}),(l,s)=>(k(),F("div",{class:q(y(o))},[me(l.$slots,"default")],2))}});var Yve=Ne(Uve,[["__file","collapse.vue"]]);const Kve=te({name:"ElCollapseTransition"}),Xve=te({...Kve,setup(e){const t=Ee("collapse-transition"),n=a=>{a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom},r={beforeEnter(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.style.height&&(a.dataset.elExistsHeight=a.style.height),a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0},enter(a){requestAnimationFrame(()=>{a.dataset.oldOverflow=a.style.overflow,a.dataset.elExistsHeight?a.style.maxHeight=a.dataset.elExistsHeight:a.scrollHeight!==0?a.style.maxHeight=`${a.scrollHeight}px`:a.style.maxHeight=0,a.style.paddingTop=a.dataset.oldPaddingTop,a.style.paddingBottom=a.dataset.oldPaddingBottom,a.style.overflow="hidden"})},afterEnter(a){a.style.maxHeight="",a.style.overflow=a.dataset.oldOverflow},enterCancelled(a){n(a)},beforeLeave(a){a.dataset||(a.dataset={}),a.dataset.oldPaddingTop=a.style.paddingTop,a.dataset.oldPaddingBottom=a.style.paddingBottom,a.dataset.oldOverflow=a.style.overflow,a.style.maxHeight=`${a.scrollHeight}px`,a.style.overflow="hidden"},leave(a){a.scrollHeight!==0&&(a.style.maxHeight=0,a.style.paddingTop=0,a.style.paddingBottom=0)},afterLeave(a){n(a)},leaveCancelled(a){n(a)}};return(a,i)=>(k(),Y(ir,Pt({name:y(t).b()},oK(r)),{default:M(()=>[me(a.$slots,"default")]),_:3},16,["name"]))}});var q0=Ne(Xve,[["__file","collapse-transition.vue"]]);q0.install=e=>{e.component(q0.name,q0)};const Ry=q0,Zve=Ry,Jve=Oe({title:{type:String,default:""},name:{type:he([String,Number]),default:void 0},disabled:Boolean}),Qve=e=>{const t=Ye(aV),{namespace:n}=Ee("collapse"),r=j(!1),a=j(!1),i=kS(),o=L(()=>i.current++),l=L(()=>{var d;return(d=e.name)!=null?d:`${n.value}-id-${i.prefix}-${y(o)}`}),s=L(()=>t==null?void 0:t.activeNames.value.includes(y(l)));return{focusing:r,id:o,isActive:s,handleFocus:()=>{setTimeout(()=>{a.value?a.value=!1:r.value=!0},50)},handleHeaderClick:()=>{e.disabled||(t==null||t.handleItemClick(y(l)),r.value=!1,a.value=!0)},handleEnterClick:()=>{t==null||t.handleItemClick(y(l))}}},e1e=(e,{focusing:t,isActive:n,id:r})=>{const a=Ee("collapse"),i=L(()=>[a.b("item"),a.is("active",y(n)),a.is("disabled",e.disabled)]),o=L(()=>[a.be("item","header"),a.is("active",y(n)),{focusing:y(t)&&!e.disabled}]),l=L(()=>[a.be("item","arrow"),a.is("active",y(n))]),s=L(()=>a.be("item","wrap")),u=L(()=>a.be("item","content")),c=L(()=>a.b(`content-${y(r)}`)),f=L(()=>a.b(`head-${y(r)}`));return{arrowKls:l,headKls:o,rootKls:i,itemWrapperKls:s,itemContentKls:u,scopedContentId:c,scopedHeadId:f}},t1e=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],n1e=["id","aria-hidden","aria-labelledby"],r1e=te({name:"ElCollapseItem"}),a1e=te({...r1e,props:Jve,setup(e,{expose:t}){const n=e,{focusing:r,id:a,isActive:i,handleFocus:o,handleHeaderClick:l,handleEnterClick:s}=Qve(n),{arrowKls:u,headKls:c,rootKls:f,itemWrapperKls:d,itemContentKls:h,scopedContentId:v,scopedHeadId:p}=e1e(n,{focusing:r,isActive:i,id:a});return t({isActive:i}),(g,m)=>(k(),F("div",{class:q(y(f))},[X("button",{id:y(p),class:q(y(c)),"aria-expanded":y(i),"aria-controls":y(v),"aria-describedby":y(v),tabindex:g.disabled?-1:0,type:"button",onClick:m[0]||(m[0]=(...b)=>y(l)&&y(l)(...b)),onKeydown:m[1]||(m[1]=fn(ft((...b)=>y(s)&&y(s)(...b),["stop","prevent"]),["space","enter"])),onFocus:m[2]||(m[2]=(...b)=>y(o)&&y(o)(...b)),onBlur:m[3]||(m[3]=b=>r.value=!1)},[me(g.$slots,"title",{},()=>[G(U(g.title),1)]),I(y(Ze),{class:q(y(u))},{default:M(()=>[I(y(la))]),_:1},8,["class"])],42,t1e),I(y(Ry),null,{default:M(()=>[mt(X("div",{id:y(v),role:"region",class:q(y(d)),"aria-hidden":!y(i),"aria-labelledby":y(p)},[X("div",{class:q(y(h))},[me(g.$slots,"default")],2)],10,n1e),[[en,y(i)]])]),_:3})],2))}});var iV=Ne(a1e,[["__file","collapse-item.vue"]]);const i1e=St(Yve,{CollapseItem:iV}),o1e=On(iV),l1e=Oe({color:{type:he(Object),required:!0},vertical:{type:Boolean,default:!1}});let cb=!1;function S1(e,t){if(!Wt)return;const n=function(i){var o;(o=t.drag)==null||o.call(t,i)},r=function(i){var o;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,cb=!1,(o=t.end)==null||o.call(t,i)},a=function(i){var o;cb||(i.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),cb=!0,(o=t.start)==null||o.call(t,i))};e.addEventListener("mousedown",a),e.addEventListener("touchstart",a)}const s1e=e=>{const t=xt(),n=xn(),r=xn();function a(o){o.target!==n.value&&i(o)}function i(o){if(!r.value||!n.value)return;const s=t.vnode.el.getBoundingClientRect(),{clientX:u,clientY:c}=H5(o);if(e.vertical){let f=c-s.top;f=Math.max(n.value.offsetHeight/2,f),f=Math.min(f,s.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((f-n.value.offsetHeight/2)/(s.height-n.value.offsetHeight)*100))}else{let f=u-s.left;f=Math.max(n.value.offsetWidth/2,f),f=Math.min(f,s.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((f-n.value.offsetWidth/2)/(s.width-n.value.offsetWidth)*100))}}return{thumb:n,bar:r,handleDrag:i,handleClick:a}},u1e=(e,{bar:t,thumb:n,handleDrag:r})=>{const a=xt(),i=Ee("color-alpha-slider"),o=j(0),l=j(0),s=j();function u(){if(!n.value||e.vertical)return 0;const b=a.vnode.el,_=e.color.get("alpha");return b?Math.round(_*(b.offsetWidth-n.value.offsetWidth/2)/100):0}function c(){if(!n.value)return 0;const b=a.vnode.el;if(!e.vertical)return 0;const _=e.color.get("alpha");return b?Math.round(_*(b.offsetHeight-n.value.offsetHeight/2)/100):0}function f(){if(e.color&&e.color.value){const{r:b,g:_,b:w}=e.color.toRgb();return`linear-gradient(to right, rgba(${b}, ${_}, ${w}, 0) 0%, rgba(${b}, ${_}, ${w}, 1) 100%)`}return""}function d(){o.value=u(),l.value=c(),s.value=f()}bt(()=>{if(!t.value||!n.value)return;const b={drag:_=>{r(_)},end:_=>{r(_)}};S1(t.value,b),S1(n.value,b),d()}),ke(()=>e.color.get("alpha"),()=>d()),ke(()=>e.color.value,()=>d());const h=L(()=>[i.b(),i.is("vertical",e.vertical)]),v=L(()=>i.e("bar")),p=L(()=>i.e("thumb")),g=L(()=>({background:s.value})),m=L(()=>({left:Fn(o.value),top:Fn(l.value)}));return{rootKls:h,barKls:v,barStyle:g,thumbKls:p,thumbStyle:m,update:d}},c1e="ElColorAlphaSlider",f1e=te({name:c1e}),d1e=te({...f1e,props:l1e,setup(e,{expose:t}){const n=e,{bar:r,thumb:a,handleDrag:i,handleClick:o}=s1e(n),{rootKls:l,barKls:s,barStyle:u,thumbKls:c,thumbStyle:f,update:d}=u1e(n,{bar:r,thumb:a,handleDrag:i});return t({update:d,bar:r,thumb:a}),(h,v)=>(k(),F("div",{class:q(y(l))},[X("div",{ref_key:"bar",ref:r,class:q(y(s)),style:Be(y(u)),onClick:v[0]||(v[0]=(...p)=>y(o)&&y(o)(...p))},null,6),X("div",{ref_key:"thumb",ref:a,class:q(y(c)),style:Be(y(f))},null,6)],2))}});var h1e=Ne(d1e,[["__file","alpha-slider.vue"]]);const v1e=te({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=Ee("color-hue-slider"),n=xt(),r=j(),a=j(),i=j(0),o=j(0),l=L(()=>e.color.get("hue"));ke(()=>l.value,()=>{d()});function s(h){h.target!==r.value&&u(h)}function u(h){if(!a.value||!r.value)return;const p=n.vnode.el.getBoundingClientRect(),{clientX:g,clientY:m}=H5(h);let b;if(e.vertical){let _=m-p.top;_=Math.min(_,p.height-r.value.offsetHeight/2),_=Math.max(r.value.offsetHeight/2,_),b=Math.round((_-r.value.offsetHeight/2)/(p.height-r.value.offsetHeight)*360)}else{let _=g-p.left;_=Math.min(_,p.width-r.value.offsetWidth/2),_=Math.max(r.value.offsetWidth/2,_),b=Math.round((_-r.value.offsetWidth/2)/(p.width-r.value.offsetWidth)*360)}e.color.set("hue",b)}function c(){if(!r.value)return 0;const h=n.vnode.el;if(e.vertical)return 0;const v=e.color.get("hue");return h?Math.round(v*(h.offsetWidth-r.value.offsetWidth/2)/360):0}function f(){if(!r.value)return 0;const h=n.vnode.el;if(!e.vertical)return 0;const v=e.color.get("hue");return h?Math.round(v*(h.offsetHeight-r.value.offsetHeight/2)/360):0}function d(){i.value=c(),o.value=f()}return bt(()=>{if(!a.value||!r.value)return;const h={drag:v=>{u(v)},end:v=>{u(v)}};S1(a.value,h),S1(r.value,h),d()}),{bar:a,thumb:r,thumbLeft:i,thumbTop:o,hueValue:l,handleClick:s,update:d,ns:t}}});function p1e(e,t,n,r,a,i){return k(),F("div",{class:q([e.ns.b(),e.ns.is("vertical",e.vertical)])},[X("div",{ref:"bar",class:q(e.ns.e("bar")),onClick:t[0]||(t[0]=(...o)=>e.handleClick&&e.handleClick(...o))},null,2),X("div",{ref:"thumb",class:q(e.ns.e("thumb")),style:Be({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}var g1e=Ne(v1e,[["render",p1e],["__file","hue-slider.vue"]]);const m1e=Oe({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:cr,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},teleported:vr.teleported,predefine:{type:he(Array)},validateEvent:{type:Boolean,default:!0},...Er(["ariaLabel"])}),y1e={[Mt]:e=>vt(e)||br(e),[Tn]:e=>vt(e)||br(e),activeChange:e=>vt(e)||br(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},oV=Symbol("colorPickerContextKey"),Bk=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},b1e=function(e){return typeof e=="string"&&e.includes(".")&&Number.parseFloat(e)===1},_1e=function(e){return typeof e=="string"&&e.includes("%")},rd=function(e,t){b1e(e)&&(e="100%");const n=_1e(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),n&&(e=Number.parseInt(`${e*t}`,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Fk={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},G0=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${Fk[t]||t}${Fk[n]||n}`},Hk=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${G0(e)}${G0(t)}${G0(n)}`},fb={A:10,B:11,C:12,D:13,E:14,F:15},vu=function(e){return e.length===2?(fb[e[0].toUpperCase()]||+e[0])*16+(fb[e[1].toUpperCase()]||+e[1]):fb[e[1].toUpperCase()]||+e[1]},w1e=function(e,t,n){t=t/100,n=n/100;let r=t;const a=Math.max(n,.01);n*=2,t*=n<=1?n:2-n,r*=a<=1?a:2-a;const i=(n+t)/2,o=n===0?2*r/(a+r):2*t/(n+t);return{h:e,s:o*100,v:i*100}},jk=(e,t,n)=>{e=rd(e,255),t=rd(t,255),n=rd(n,255);const r=Math.max(e,t,n),a=Math.min(e,t,n);let i;const o=r,l=r-a,s=r===0?0:l/r;if(r===a)i=0;else{switch(r){case e:{i=(t-n)/l+(t<n?6:0);break}case t:{i=(n-e)/l+2;break}case n:{i=(e-t)/l+4;break}}i/=6}return{h:i*360,s:s*100,v:o*100}},Mh=function(e,t,n){e=rd(e,360)*6,t=rd(t,100),n=rd(n,100);const r=Math.floor(e),a=e-r,i=n*(1-t),o=n*(1-a*t),l=n*(1-(1-a)*t),s=r%6,u=[n,o,i,i,l,n][s],c=[l,n,n,o,i,i][s],f=[i,i,l,n,n,o][s];return{r:Math.round(u*255),g:Math.round(c*255),b:Math.round(f*255)}};class $v{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const n in t)Ut(t,n)&&(this[n]=t[n]);t.value?this.fromString(t.value):this.doOnChange()}set(t,n){if(arguments.length===1&&typeof t=="object"){for(const r in t)Ut(t,r)&&this.set(r,t[r]);return}this[`_${t}`]=n,this.doOnChange()}get(t){return t==="alpha"?Math.floor(this[`_${t}`]):this[`_${t}`]}toRgb(){return Mh(this._hue,this._saturation,this._value)}fromString(t){if(!t){this._hue=0,this._saturation=100,this._value=100,this.doOnChange();return}const n=(r,a,i)=>{this._hue=Math.max(0,Math.min(360,r)),this._saturation=Math.max(0,Math.min(100,a)),this._value=Math.max(0,Math.min(100,i)),this.doOnChange()};if(t.includes("hsl")){const r=t.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,i)=>i>2?Number.parseFloat(a):Number.parseInt(a,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:a,s:i,v:o}=w1e(r[0],r[1],r[2]);n(a,i,o)}}else if(t.includes("hsv")){const r=t.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,i)=>i>2?Number.parseFloat(a):Number.parseInt(a,10));r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3&&n(r[0],r[1],r[2])}else if(t.includes("rgb")){const r=t.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(a=>a!=="").map((a,i)=>i>2?Number.parseFloat(a):Number.parseInt(a,10));if(r.length===4?this._alpha=Number.parseFloat(r[3])*100:r.length===3&&(this._alpha=100),r.length>=3){const{h:a,s:i,v:o}=jk(r[0],r[1],r[2]);n(a,i,o)}}else if(t.includes("#")){const r=t.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(r))return;let a,i,o;r.length===3?(a=vu(r[0]+r[0]),i=vu(r[1]+r[1]),o=vu(r[2]+r[2])):(r.length===6||r.length===8)&&(a=vu(r.slice(0,2)),i=vu(r.slice(2,4)),o=vu(r.slice(4,6))),r.length===8?this._alpha=vu(r.slice(6))/255*100:(r.length===3||r.length===6)&&(this._alpha=100);const{h:l,s,v:u}=jk(a,i,o);n(l,s,u)}}compare(t){return Math.abs(t._hue-this._hue)<2&&Math.abs(t._saturation-this._saturation)<1&&Math.abs(t._value-this._value)<1&&Math.abs(t._alpha-this._alpha)<1}doOnChange(){const{_hue:t,_saturation:n,_value:r,_alpha:a,format:i}=this;if(this.enableAlpha)switch(i){case"hsl":{const o=Bk(t,n/100,r/100);this.value=`hsla(${t}, ${Math.round(o[1]*100)}%, ${Math.round(o[2]*100)}%, ${this.get("alpha")/100})`;break}case"hsv":{this.value=`hsva(${t}, ${Math.round(n)}%, ${Math.round(r)}%, ${this.get("alpha")/100})`;break}case"hex":{this.value=`${Hk(Mh(t,n,r))}${G0(a*255/100)}`;break}default:{const{r:o,g:l,b:s}=Mh(t,n,r);this.value=`rgba(${o}, ${l}, ${s}, ${this.get("alpha")/100})`}}else switch(i){case"hsl":{const o=Bk(t,n/100,r/100);this.value=`hsl(${t}, ${Math.round(o[1]*100)}%, ${Math.round(o[2]*100)}%)`;break}case"hsv":{this.value=`hsv(${t}, ${Math.round(n)}%, ${Math.round(r)}%)`;break}case"rgb":{const{r:o,g:l,b:s}=Mh(t,n,r);this.value=`rgb(${o}, ${l}, ${s})`;break}default:this.value=Hk(Mh(t,n,r))}}}const x1e=te({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const t=Ee("color-predefine"),{currentColor:n}=Ye(oV),r=j(i(e.colors,e.color));ke(()=>n.value,o=>{const l=new $v;l.fromString(o),r.value.forEach(s=>{s.selected=l.compare(s)})}),Or(()=>{r.value=i(e.colors,e.color)});function a(o){e.color.fromString(e.colors[o])}function i(o,l){return o.map(s=>{const u=new $v;return u.enableAlpha=!0,u.format="rgba",u.fromString(s),u.selected=u.value===l.value,u})}return{rgbaColors:r,handleSelect:a,ns:t}}}),S1e=["onClick"];function C1e(e,t,n,r,a,i){return k(),F("div",{class:q(e.ns.b())},[X("div",{class:q(e.ns.e("colors"))},[(k(!0),F(de,null,we(e.rgbaColors,(o,l)=>(k(),F("div",{key:e.colors[l],class:q([e.ns.e("color-selector"),e.ns.is("alpha",o._alpha<100),{selected:o.selected}]),onClick:s=>e.handleSelect(l)},[X("div",{style:Be({backgroundColor:o.value})},null,4)],10,S1e))),128))],2)],2)}var T1e=Ne(x1e,[["render",C1e],["__file","predefine.vue"]]);const k1e=te({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=Ee("color-svpanel"),n=xt(),r=j(0),a=j(0),i=j("hsl(0, 100%, 50%)"),o=L(()=>{const u=e.color.get("hue"),c=e.color.get("value");return{hue:u,value:c}});function l(){const u=e.color.get("saturation"),c=e.color.get("value"),f=n.vnode.el,{clientWidth:d,clientHeight:h}=f;a.value=u*d/100,r.value=(100-c)*h/100,i.value=`hsl(${e.color.get("hue")}, 100%, 50%)`}function s(u){const f=n.vnode.el.getBoundingClientRect(),{clientX:d,clientY:h}=H5(u);let v=d-f.left,p=h-f.top;v=Math.max(0,v),v=Math.min(v,f.width),p=Math.max(0,p),p=Math.min(p,f.height),a.value=v,r.value=p,e.color.set({saturation:v/f.width*100,value:100-p/f.height*100})}return ke(()=>o.value,()=>{l()}),bt(()=>{S1(n.vnode.el,{drag:u=>{s(u)},end:u=>{s(u)}}),l()}),{cursorTop:r,cursorLeft:a,background:i,colorValue:o,handleDrag:s,update:l,ns:t}}}),z1e=X("div",null,null,-1),M1e=[z1e];function A1e(e,t,n,r,a,i){return k(),F("div",{class:q(e.ns.b()),style:Be({backgroundColor:e.background})},[X("div",{class:q(e.ns.e("white"))},null,2),X("div",{class:q(e.ns.e("black"))},null,2),X("div",{class:q(e.ns.e("cursor")),style:Be({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},M1e,6)],6)}var E1e=Ne(k1e,[["render",A1e],["__file","sv-panel.vue"]]);const I1e=["onKeydown"],D1e=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],L1e=te({name:"ElColorPicker"}),P1e=te({...L1e,props:m1e,emits:y1e,setup(e,{expose:t,emit:n}){const r=e,{t:a}=Xt(),i=Ee("color"),{formItem:o}=Qr(),l=tr(),s=ma(),{inputId:u,isLabeledByFormItem:c}=ro(r,{formItemContext:o}),f=j(),d=j(),h=j(),v=j(),p=j(),g=j(),{isFocused:m,handleFocus:b,handleBlur:_}=Ay(p,{beforeBlur(ce){var fe;return(fe=v.value)==null?void 0:fe.isFocusInsideContent(ce)},afterBlur(){N(!1),W()}}),w=ce=>{if(s.value)return ve();b(ce)};let x=!0;const S=nn(new $v({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue})),C=j(!1),T=j(!1),z=j(""),A=L(()=>!r.modelValue&&!T.value?"transparent":R(S,r.showAlpha)),E=L(()=>!r.modelValue&&!T.value?"":S.value),D=L(()=>c.value?void 0:r.label||r.ariaLabel||a("el.colorpicker.defaultLabel"));gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-color-picker",ref:"https://element-plus.org/en-US/component/color-picker.html"},L(()=>!!r.label));const $=L(()=>c.value?o==null?void 0:o.labelId:void 0),O=L(()=>[i.b("picker"),i.is("disabled",s.value),i.bm("picker",l.value),i.is("focused",m.value)]);function R(ce,fe){if(!(ce instanceof $v))throw new TypeError("color should be instance of _color Class");const{r:xe,g:J,b:oe}=ce.toRgb();return fe?`rgba(${xe}, ${J}, ${oe}, ${ce.get("alpha")/100})`:`rgb(${xe}, ${J}, ${oe})`}function N(ce){C.value=ce}const B=La(N,100,{leading:!0});function V(){s.value||N(!0)}function P(){B(!1),W()}function W(){nt(()=>{r.modelValue?S.fromString(r.modelValue):(S.value="",nt(()=>{T.value=!1}))})}function Z(){s.value||B(!C.value)}function ee(){S.fromString(z.value)}function re(){const ce=S.value;n(Mt,ce),n("change",ce),r.validateEvent&&(o==null||o.validate("change").catch(fe=>void 0)),B(!1),nt(()=>{const fe=new $v({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});S.compare(fe)||W()})}function ue(){B(!1),n(Mt,null),n("change",null),r.modelValue!==null&&r.validateEvent&&(o==null||o.validate("change").catch(ce=>void 0)),W()}function ye(ce){if(C.value&&(P(),m.value)){const fe=new FocusEvent("focus",ce);_(fe)}}function le(ce){ce.preventDefault(),ce.stopPropagation(),N(!1),W()}function ae(ce){switch(ce.code){case at.enter:case at.space:ce.preventDefault(),ce.stopPropagation(),V(),g.value.focus();break;case at.esc:le(ce);break}}function ie(){p.value.focus()}function ve(){p.value.blur()}return bt(()=>{r.modelValue&&(z.value=E.value)}),ke(()=>r.modelValue,ce=>{ce?ce&&ce!==S.value&&(x=!1,S.fromString(ce)):T.value=!1}),ke(()=>E.value,ce=>{z.value=ce,x&&n("activeChange",ce),x=!0}),ke(()=>S.value,()=>{!r.modelValue&&!T.value&&(T.value=!0)}),ke(()=>C.value,()=>{nt(()=>{var ce,fe,xe;(ce=f.value)==null||ce.update(),(fe=d.value)==null||fe.update(),(xe=h.value)==null||xe.update()})}),Rt(oV,{currentColor:E}),t({color:S,show:V,hide:P,focus:ie,blur:ve}),(ce,fe)=>(k(),Y(y(Xr),{ref_key:"popper",ref:v,visible:C.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[y(i).be("picker","panel"),y(i).b("dropdown"),ce.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",teleported:ce.teleported,transition:`${y(i).namespace.value}-zoom-in-top`,persistent:"",onHide:fe[2]||(fe[2]=xe=>N(!1))},{content:M(()=>[mt((k(),F("div",{onKeydown:fn(le,["esc"])},[X("div",{class:q(y(i).be("dropdown","main-wrapper"))},[I(g1e,{ref_key:"hue",ref:f,class:"hue-slider",color:y(S),vertical:""},null,8,["color"]),I(E1e,{ref_key:"sv",ref:d,color:y(S)},null,8,["color"])],2),ce.showAlpha?(k(),Y(h1e,{key:0,ref_key:"alpha",ref:h,color:y(S)},null,8,["color"])):Q("v-if",!0),ce.predefine?(k(),Y(T1e,{key:1,ref:"predefine",color:y(S),colors:ce.predefine},null,8,["color","colors"])):Q("v-if",!0),X("div",{class:q(y(i).be("dropdown","btns"))},[X("span",{class:q(y(i).be("dropdown","value"))},[I(y(Ur),{ref_key:"inputRef",ref:g,modelValue:z.value,"onUpdate:modelValue":fe[0]||(fe[0]=xe=>z.value=xe),"validate-event":!1,size:"small",onKeyup:fn(ee,["enter"]),onBlur:ee},null,8,["modelValue","onKeyup"])],2),I(y(_r),{class:q(y(i).be("dropdown","link-btn")),text:"",size:"small",onClick:ue},{default:M(()=>[G(U(y(a)("el.colorpicker.clear")),1)]),_:1},8,["class"]),I(y(_r),{plain:"",size:"small",class:q(y(i).be("dropdown","btn")),onClick:re},{default:M(()=>[G(U(y(a)("el.colorpicker.confirm")),1)]),_:1},8,["class"])],2)],40,I1e)),[[y(Sl),ye]])]),default:M(()=>[X("div",Pt({id:y(u),ref_key:"triggerRef",ref:p},ce.$attrs,{class:y(O),role:"button","aria-label":y(D),"aria-labelledby":y($),"aria-description":y(a)("el.colorpicker.description",{color:ce.modelValue||""}),"aria-disabled":y(s),tabindex:y(s)?-1:ce.tabindex,onKeydown:ae,onFocus:w,onBlur:fe[1]||(fe[1]=(...xe)=>y(_)&&y(_)(...xe))}),[y(s)?(k(),F("div",{key:0,class:q(y(i).be("picker","mask"))},null,2)):Q("v-if",!0),X("div",{class:q(y(i).be("picker","trigger")),onClick:Z},[X("span",{class:q([y(i).be("picker","color"),y(i).is("alpha",ce.showAlpha)])},[X("span",{class:q(y(i).be("picker","color-inner")),style:Be({backgroundColor:y(A)})},[mt(I(y(Ze),{class:q([y(i).be("picker","icon"),y(i).is("icon-arrow-down")])},{default:M(()=>[I(y(Ol))]),_:1},8,["class"]),[[en,ce.modelValue||T.value]]),mt(I(y(Ze),{class:q([y(i).be("picker","empty"),y(i).is("icon-close")])},{default:M(()=>[I(y(Xi))]),_:1},8,["class"]),[[en,!ce.modelValue&&!T.value]])],6)],2)],2)],16,D1e)]),_:1},8,["visible","popper-class","teleported","transition"]))}});var R1e=Ne(P1e,[["__file","color-picker.vue"]]);const O1e=St(R1e),N1e=te({name:"ElContainer"}),$1e=te({...N1e,props:{direction:{type:String}},setup(e){const t=e,n=Tr(),r=Ee("container"),a=L(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:n&&n.default?n.default().some(o=>{const l=o.type.name;return l==="ElHeader"||l==="ElFooter"}):!1);return(i,o)=>(k(),F("section",{class:q([y(r).b(),y(r).is("vertical",y(a))])},[me(i.$slots,"default")],2))}});var V1e=Ne($1e,[["__file","container.vue"]]);const B1e=te({name:"ElAside"}),F1e=te({...B1e,props:{width:{type:String,default:null}},setup(e){const t=e,n=Ee("aside"),r=L(()=>t.width?n.cssVarBlock({width:t.width}):{});return(a,i)=>(k(),F("aside",{class:q(y(n).b()),style:Be(y(r))},[me(a.$slots,"default")],6))}});var lV=Ne(F1e,[["__file","aside.vue"]]);const H1e=te({name:"ElFooter"}),j1e=te({...H1e,props:{height:{type:String,default:null}},setup(e){const t=e,n=Ee("footer"),r=L(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,i)=>(k(),F("footer",{class:q(y(n).b()),style:Be(y(r))},[me(a.$slots,"default")],6))}});var sV=Ne(j1e,[["__file","footer.vue"]]);const q1e=te({name:"ElHeader"}),G1e=te({...q1e,props:{height:{type:String,default:null}},setup(e){const t=e,n=Ee("header"),r=L(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,i)=>(k(),F("header",{class:q(y(n).b()),style:Be(y(r))},[me(a.$slots,"default")],6))}});var uV=Ne(G1e,[["__file","header.vue"]]);const W1e=te({name:"ElMain"}),U1e=te({...W1e,setup(e){const t=Ee("main");return(n,r)=>(k(),F("main",{class:q(y(t).b())},[me(n.$slots,"default")],2))}});var cV=Ne(U1e,[["__file","main.vue"]]);const Y1e=St(V1e,{Aside:lV,Footer:sV,Header:uV,Main:cV}),K1e=On(lV),X1e=On(sV),Z1e=On(uV),J1e=On(cV);var fV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(o){var l=this,s=this.$locale();if(!this.isValid())return i.bind(this)(o);var u=this.$utils(),c=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return s.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return s.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return i.bind(this)(c)}}})})(fV);var Q1e=fV.exports;const epe=Bl(Q1e);var dV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){var n="week",r="year";return function(a,i,o){var l=i.prototype;l.week=function(s){if(s===void 0&&(s=null),s!==null)return this.add(7*(s-this.week()),"day");var u=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=o(this).startOf(r).add(1,r).date(u),f=o(this).endOf(n);if(c.isBefore(f))return 1}var d=o(this).startOf(r).date(u).startOf(n).subtract(1,"millisecond"),h=this.diff(d,n,!0);return h<0?o(this).startOf("week").week():Math.ceil(h)},l.weeks=function(s){return s===void 0&&(s=null),this.week(s)}}})})(dV);var tpe=dV.exports;const npe=Bl(tpe);var hV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){return function(n,r){r.prototype.weekYear=function(){var a=this.month(),i=this.week(),o=this.year();return i===1&&a===11?o+1:a===0&&i>=52?o-1:o}}})})(hV);var rpe=hV.exports;const ape=Bl(rpe);var vV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){return function(n,r,a){r.prototype.dayOfYear=function(i){var o=Math.round((a(this).startOf("day")-a(this).startOf("year"))/864e5)+1;return i==null?o:this.add(i-o,"day")}}})})(vV);var ipe=vV.exports;const ope=Bl(ipe);var pV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){return function(n,r){r.prototype.isSameOrAfter=function(a,i){return this.isSame(a,i)||this.isAfter(a,i)}}})})(pV);var lpe=pV.exports;const spe=Bl(lpe);var gV={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Vl,function(){return function(n,r){r.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})})(gV);var upe=gV.exports;const cpe=Bl(upe),qS=Symbol(),fpe=Oe({...HS,type:{type:he(String),default:"date"}}),dpe=["date","dates","year","years","month","week","range"],GS=Oe({disabledDate:{type:he(Function)},date:{type:he(Object),required:!0},minDate:{type:he(Object)},maxDate:{type:he(Object)},parsedValue:{type:he([Object,Array])},rangeState:{type:he(Object),default:()=>({endDate:null,selecting:!1})}}),mV=Oe({type:{type:he(String),required:!0,values:Lie},dateFormat:String,timeFormat:String}),yV=Oe({unlinkPanels:Boolean,parsedValue:{type:he(Array)}}),WS=e=>({type:String,values:dpe,default:e}),hpe=Oe({...mV,parsedValue:{type:he([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),vpe=Oe({...GS,cellClassName:{type:he(Function)},showWeekNumber:Boolean,selectionMode:WS("date")}),ppe=["changerange","pick","select"],G4=e=>{if(!We(e))return!1;const[t,n]=e;return Tt.isDayjs(t)&&Tt.isDayjs(n)&&t.isSameOrBefore(n)},bV=(e,{lang:t,unit:n,unlinkPanels:r})=>{let a;if(We(e)){let[i,o]=e.map(l=>Tt(l).locale(t));return r||(o=i.add(1,n)),[i,o]}else e?a=Tt(e):a=Tt();return a=a.locale(t),[a,a.add(1,n)]},gpe=(e,t,{columnIndexOffset:n,startDate:r,nextEndDate:a,now:i,unit:o,relativeDateGetter:l,setCellMetadata:s,setRowMetadata:u})=>{for(let c=0;c<e.row;c++){const f=t[c];for(let d=0;d<e.column;d++){let h=f[d+n];h||(h={row:c,column:d,type:"normal",inRange:!1,start:!1,end:!1});const v=c*e.column+d,p=l(v);h.dayjs=p,h.date=p.toDate(),h.timestamp=p.valueOf(),h.type="normal",h.inRange=!!(r&&p.isSameOrAfter(r,o)&&a&&p.isSameOrBefore(a,o))||!!(r&&p.isSameOrBefore(r,o)&&a&&p.isSameOrAfter(a,o)),r!=null&&r.isSameOrAfter(a)?(h.start=!!a&&p.isSame(a,o),h.end=r&&p.isSame(r,o)):(h.start=!!r&&p.isSame(r,o),h.end=!!a&&p.isSame(a,o)),p.isSame(i,o)&&(h.type="today"),s==null||s(h,{rowIndex:c,columnIndex:d}),f[d+n]=h}u==null||u(f)}},W4=(e="")=>["normal","today"].includes(e),mpe=(e,t)=>{const{lang:n}=Xt(),r=j(),a=j(),i=j(),o=j(),l=j([[],[],[],[],[],[]]);let s=!1;const u=e.date.$locale().weekStart||7,c=e.date.locale("en").localeData().weekdaysShort().map(P=>P.toLowerCase()),f=L(()=>u>3?7-u:-u),d=L(()=>{const P=e.date.startOf("month");return P.subtract(P.day()||7,"day")}),h=L(()=>c.concat(c).slice(u,u+7)),v=L(()=>LO(y(w)).some(P=>P.isCurrent)),p=L(()=>{const P=e.date.startOf("month"),W=P.day()||7,Z=P.daysInMonth(),ee=P.subtract(1,"month").daysInMonth();return{startOfMonthDay:W,dateCountOfMonth:Z,dateCountOfLastMonth:ee}}),g=L(()=>e.selectionMode==="dates"?$a(e.parsedValue):[]),m=(P,{count:W,rowIndex:Z,columnIndex:ee})=>{const{startOfMonthDay:re,dateCountOfMonth:ue,dateCountOfLastMonth:ye}=y(p),le=y(f);if(Z>=0&&Z<=1){const ae=re+le<0?7+re+le:re+le;if(ee+Z*7>=ae)return P.text=W,!0;P.text=ye-(ae-ee%7)+1+Z*7,P.type="prev-month"}else return W<=ue?P.text=W:(P.text=W-ue,P.type="next-month"),!0;return!1},b=(P,{columnIndex:W,rowIndex:Z},ee)=>{const{disabledDate:re,cellClassName:ue}=e,ye=y(g),le=m(P,{count:ee,rowIndex:Z,columnIndex:W}),ae=P.dayjs.toDate();return P.selected=ye.find(ie=>ie.isSame(P.dayjs,"day")),P.isSelected=!!P.selected,P.isCurrent=S(P),P.disabled=re==null?void 0:re(ae),P.customClass=ue==null?void 0:ue(ae),le},_=P=>{if(e.selectionMode==="week"){const[W,Z]=e.showWeekNumber?[1,7]:[0,6],ee=V(P[W+1]);P[W].inRange=ee,P[W].start=ee,P[Z].inRange=ee,P[Z].end=ee}},w=L(()=>{const{minDate:P,maxDate:W,rangeState:Z,showWeekNumber:ee}=e,re=y(f),ue=y(l),ye="day";let le=1;if(ee)for(let ae=0;ae<6;ae++)ue[ae][0]||(ue[ae][0]={type:"week",text:y(d).add(ae*7+1,ye).week()});return gpe({row:6,column:7},ue,{startDate:P,columnIndexOffset:ee?1:0,nextEndDate:Z.endDate||W||Z.selecting&&P||null,now:Tt().locale(y(n)).startOf(ye),unit:ye,relativeDateGetter:ae=>y(d).add(ae-re,ye),setCellMetadata:(...ae)=>{b(...ae,le)&&(le+=1)},setRowMetadata:_}),ue});ke(()=>e.date,async()=>{var P;(P=y(r))!=null&&P.contains(document.activeElement)&&(await nt(),await x())});const x=async()=>{var P;return(P=y(a))==null?void 0:P.focus()},S=P=>e.selectionMode==="date"&&W4(P.type)&&C(P,e.parsedValue),C=(P,W)=>W?Tt(W).locale(y(n)).isSame(e.date.date(Number(P.text)),"day"):!1,T=(P,W)=>{const Z=P*7+(W-(e.showWeekNumber?1:0))-y(f);return y(d).add(Z,"day")},z=P=>{var W;if(!e.rangeState.selecting)return;let Z=P.target;if(Z.tagName==="SPAN"&&(Z=(W=Z.parentNode)==null?void 0:W.parentNode),Z.tagName==="DIV"&&(Z=Z.parentNode),Z.tagName!=="TD")return;const ee=Z.parentNode.rowIndex-1,re=Z.cellIndex;y(w)[ee][re].disabled||(ee!==y(i)||re!==y(o))&&(i.value=ee,o.value=re,t("changerange",{selecting:!0,endDate:T(ee,re)}))},A=P=>!y(v)&&(P==null?void 0:P.text)===1&&P.type==="normal"||P.isCurrent,E=P=>{s||y(v)||e.selectionMode!=="date"||B(P,!0)},D=P=>{P.target.closest("td")&&(s=!0)},$=P=>{P.target.closest("td")&&(s=!1)},O=P=>{!e.rangeState.selecting||!e.minDate?(t("pick",{minDate:P,maxDate:null}),t("select",!0)):(P>=e.minDate?t("pick",{minDate:e.minDate,maxDate:P}):t("pick",{minDate:P,maxDate:e.minDate}),t("select",!1))},R=P=>{const W=P.week(),Z=`${P.year()}w${W}`;t("pick",{year:P.year(),week:W,value:Z,date:P.startOf("week")})},N=(P,W)=>{const Z=W?$a(e.parsedValue).filter(ee=>(ee==null?void 0:ee.valueOf())!==P.valueOf()):$a(e.parsedValue).concat([P]);t("pick",Z)},B=(P,W=!1)=>{const Z=P.target.closest("td");if(!Z)return;const ee=Z.parentNode.rowIndex-1,re=Z.cellIndex,ue=y(w)[ee][re];if(ue.disabled||ue.type==="week")return;const ye=T(ee,re);switch(e.selectionMode){case"range":{O(ye);break}case"date":{t("pick",ye,W);break}case"week":{R(ye);break}case"dates":{N(ye,!!ue.selected);break}}},V=P=>{if(e.selectionMode!=="week")return!1;let W=e.date.startOf("day");if(P.type==="prev-month"&&(W=W.subtract(1,"month")),P.type==="next-month"&&(W=W.add(1,"month")),W=W.date(Number.parseInt(P.text,10)),e.parsedValue&&!Array.isArray(e.parsedValue)){const Z=(e.parsedValue.day()-u+7)%7-1;return e.parsedValue.subtract(Z,"day").isSame(W,"day")}return!1};return{WEEKS:h,rows:w,tbodyRef:r,currentCellRef:a,focus:x,isCurrent:S,isWeekActive:V,isSelectedCell:A,handlePickDate:B,handleMouseUp:$,handleMouseDown:D,handleMouseMove:z,handleFocus:E}},ype=(e,{isCurrent:t,isWeekActive:n})=>{const r=Ee("date-table"),{t:a}=Xt(),i=L(()=>[r.b(),{"is-week-mode":e.selectionMode==="week"}]),o=L(()=>a("el.datepicker.dateTablePrompt")),l=L(()=>a("el.datepicker.week"));return{tableKls:i,tableLabel:o,weekLabel:l,getCellClasses:c=>{const f=[];return W4(c.type)&&!c.disabled?(f.push("available"),c.type==="today"&&f.push("today")):f.push(c.type),t(c)&&f.push("current"),c.inRange&&(W4(c.type)||e.selectionMode==="week")&&(f.push("in-range"),c.start&&f.push("start-date"),c.end&&f.push("end-date")),c.disabled&&f.push("disabled"),c.selected&&f.push("selected"),c.customClass&&f.push(c.customClass),f.join(" ")},getRowKls:c=>[r.e("row"),{current:n(c)}],t:a}},bpe=Oe({cell:{type:he(Object)}});var _pe=te({name:"ElDatePickerCell",props:bpe,setup(e){const t=Ee("date-table-cell"),{slots:n}=Ye(qS);return()=>{const{cell:r}=e;return me(n,"default",{...r},()=>[I("div",{class:t.b()},[I("span",{class:t.e("text")},[r==null?void 0:r.text])])])}}});const wpe=["aria-label"],xpe={key:0,scope:"col"},Spe=["aria-label"],Cpe=["aria-current","aria-selected","tabindex"],Tpe=te({__name:"basic-date-table",props:vpe,emits:ppe,setup(e,{expose:t,emit:n}){const r=e,{WEEKS:a,rows:i,tbodyRef:o,currentCellRef:l,focus:s,isCurrent:u,isWeekActive:c,isSelectedCell:f,handlePickDate:d,handleMouseUp:h,handleMouseDown:v,handleMouseMove:p,handleFocus:g}=mpe(r,n),{tableLabel:m,tableKls:b,weekLabel:_,getCellClasses:w,getRowKls:x,t:S}=ype(r,{isCurrent:u,isWeekActive:c});return t({focus:s}),(C,T)=>(k(),F("table",{"aria-label":y(m),class:q(y(b)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:T[1]||(T[1]=(...z)=>y(d)&&y(d)(...z)),onMousemove:T[2]||(T[2]=(...z)=>y(p)&&y(p)(...z)),onMousedown:T[3]||(T[3]=ft((...z)=>y(v)&&y(v)(...z),["prevent"])),onMouseup:T[4]||(T[4]=(...z)=>y(h)&&y(h)(...z))},[X("tbody",{ref_key:"tbodyRef",ref:o},[X("tr",null,[C.showWeekNumber?(k(),F("th",xpe,U(y(_)),1)):Q("v-if",!0),(k(!0),F(de,null,we(y(a),(z,A)=>(k(),F("th",{key:A,"aria-label":y(S)("el.datepicker.weeksFull."+z),scope:"col"},U(y(S)("el.datepicker.weeks."+z)),9,Spe))),128))]),(k(!0),F(de,null,we(y(i),(z,A)=>(k(),F("tr",{key:A,class:q(y(x)(z[1]))},[(k(!0),F(de,null,we(z,(E,D)=>(k(),F("td",{key:`${A}.${D}`,ref_for:!0,ref:$=>y(f)(E)&&(l.value=$),class:q(y(w)(E)),"aria-current":E.isCurrent?"date":void 0,"aria-selected":E.isCurrent,tabindex:y(f)(E)?0:-1,onFocus:T[0]||(T[0]=(...$)=>y(g)&&y(g)(...$))},[I(y(_pe),{cell:E},null,8,["cell"])],42,Cpe))),128))],2))),128))],512)],42,wpe))}});var U4=Ne(Tpe,[["__file","basic-date-table.vue"]]);const kpe=Oe({...GS,selectionMode:WS("month")}),zpe=["aria-label"],Mpe=["aria-selected","aria-label","tabindex","onKeydown"],Ape={class:"cell"},Epe=te({__name:"basic-month-table",props:kpe,emits:["changerange","pick","select"],setup(e,{expose:t,emit:n}){const r=e,a=(w,x,S)=>{const C=Tt().locale(S).startOf("month").month(x).year(w),T=C.daysInMonth();return Ds(T).map(z=>C.add(z,"day").toDate())},i=Ee("month-table"),{t:o,lang:l}=Xt(),s=j(),u=j(),c=j(r.date.locale("en").localeData().monthsShort().map(w=>w.toLowerCase())),f=j([[],[],[]]),d=j(),h=j(),v=L(()=>{var w,x;const S=f.value,C=Tt().locale(l.value).startOf("month");for(let T=0;T<3;T++){const z=S[T];for(let A=0;A<4;A++){const E=z[A]||(z[A]={row:T,column:A,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});E.type="normal";const D=T*4+A,$=r.date.startOf("year").month(D),O=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;E.inRange=!!(r.minDate&&$.isSameOrAfter(r.minDate,"month")&&O&&$.isSameOrBefore(O,"month"))||!!(r.minDate&&$.isSameOrBefore(r.minDate,"month")&&O&&$.isSameOrAfter(O,"month")),(w=r.minDate)!=null&&w.isSameOrAfter(O)?(E.start=!!(O&&$.isSame(O,"month")),E.end=r.minDate&&$.isSame(r.minDate,"month")):(E.start=!!(r.minDate&&$.isSame(r.minDate,"month")),E.end=!!(O&&$.isSame(O,"month"))),C.isSame($)&&(E.type="today"),E.text=D,E.disabled=((x=r.disabledDate)==null?void 0:x.call(r,$.toDate()))||!1}}return S}),p=()=>{var w;(w=u.value)==null||w.focus()},g=w=>{const x={},S=r.date.year(),C=new Date,T=w.text;return x.disabled=r.disabledDate?a(S,T,l.value).every(r.disabledDate):!1,x.current=$a(r.parsedValue).findIndex(z=>Tt.isDayjs(z)&&z.year()===S&&z.month()===T)>=0,x.today=C.getFullYear()===S&&C.getMonth()===T,w.inRange&&(x["in-range"]=!0,w.start&&(x["start-date"]=!0),w.end&&(x["end-date"]=!0)),x},m=w=>{const x=r.date.year(),S=w.text;return $a(r.date).findIndex(C=>C.year()===x&&C.month()===S)>=0},b=w=>{var x;if(!r.rangeState.selecting)return;let S=w.target;if(S.tagName==="SPAN"&&(S=(x=S.parentNode)==null?void 0:x.parentNode),S.tagName==="DIV"&&(S=S.parentNode),S.tagName!=="TD")return;const C=S.parentNode.rowIndex,T=S.cellIndex;v.value[C][T].disabled||(C!==d.value||T!==h.value)&&(d.value=C,h.value=T,n("changerange",{selecting:!0,endDate:r.date.startOf("year").month(C*4+T)}))},_=w=>{var x;const S=(x=w.target)==null?void 0:x.closest("td");if((S==null?void 0:S.tagName)!=="TD"||yi(S,"disabled"))return;const C=S.cellIndex,z=S.parentNode.rowIndex*4+C,A=r.date.startOf("year").month(z);r.selectionMode==="range"?r.rangeState.selecting?(r.minDate&&A>=r.minDate?n("pick",{minDate:r.minDate,maxDate:A}):n("pick",{minDate:A,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:A,maxDate:null}),n("select",!0)):n("pick",z)};return ke(()=>r.date,async()=>{var w,x;(w=s.value)!=null&&w.contains(document.activeElement)&&(await nt(),(x=u.value)==null||x.focus())}),t({focus:p}),(w,x)=>(k(),F("table",{role:"grid","aria-label":y(o)("el.datepicker.monthTablePrompt"),class:q(y(i).b()),onClick:_,onMousemove:b},[X("tbody",{ref_key:"tbodyRef",ref:s},[(k(!0),F(de,null,we(y(v),(S,C)=>(k(),F("tr",{key:C},[(k(!0),F(de,null,we(S,(T,z)=>(k(),F("td",{key:z,ref_for:!0,ref:A=>m(T)&&(u.value=A),class:q(g(T)),"aria-selected":`${m(T)}`,"aria-label":y(o)(`el.datepicker.month${+T.text+1}`),tabindex:m(T)?0:-1,onKeydown:[fn(ft(_,["prevent","stop"]),["space"]),fn(ft(_,["prevent","stop"]),["enter"])]},[X("div",null,[X("span",Ape,U(y(o)("el.datepicker.months."+c.value[T.text])),1)])],42,Mpe))),128))]))),128))],512)],42,zpe))}});var Y4=Ne(Epe,[["__file","basic-month-table.vue"]]);const{date:Ipe,disabledDate:Dpe,parsedValue:Lpe}=GS,Ppe=Oe({date:Ipe,disabledDate:Dpe,parsedValue:Lpe,selectionMode:WS("year")}),Rpe=["aria-label"],Ope=["aria-selected","tabindex","onKeydown"],Npe={class:"cell"},$pe={key:1},Vpe=te({__name:"basic-year-table",props:Ppe,emits:["pick"],setup(e,{expose:t,emit:n}){const r=e,a=(p,g)=>{const m=Tt(String(p)).locale(g).startOf("year"),_=m.endOf("year").dayOfYear();return Ds(_).map(w=>m.add(w,"day").toDate())},i=Ee("year-table"),{t:o,lang:l}=Xt(),s=j(),u=j(),c=L(()=>Math.floor(r.date.year()/10)*10),f=()=>{var p;(p=u.value)==null||p.focus()},d=p=>{const g={},m=Tt().locale(l.value);return g.disabled=r.disabledDate?a(p,l.value).every(r.disabledDate):!1,g.current=$a(r.parsedValue).findIndex(b=>b.year()===p)>=0,g.today=m.year()===p,g},h=p=>p===c.value&&r.date.year()<c.value&&r.date.year()>c.value+9||$a(r.date).findIndex(g=>g.year()===p)>=0||$a(r.parsedValue).findIndex(g=>(g==null?void 0:g.year())===p)>=0,v=p=>{const m=p.target.closest("td");if(m&&m.textContent){if(yi(m,"disabled"))return;const b=m.textContent||m.innerText;if(r.selectionMode==="years"){if(p.type==="keydown"){n("pick",$a(r.parsedValue),!1);return}const _=yi(m,"current")?$a(r.parsedValue).filter(w=>(w==null?void 0:w.year())!==Number(b)):$a(r.parsedValue).concat([Tt(b)]);n("pick",_)}else n("pick",Number(b))}};return ke(()=>r.date,async()=>{var p,g;(p=s.value)!=null&&p.contains(document.activeElement)&&(await nt(),(g=u.value)==null||g.focus())}),t({focus:f}),(p,g)=>(k(),F("table",{role:"grid","aria-label":y(o)("el.datepicker.yearTablePrompt"),class:q(y(i).b()),onClick:v},[X("tbody",{ref_key:"tbodyRef",ref:s},[(k(),F(de,null,we(3,(m,b)=>X("tr",{key:b},[(k(),F(de,null,we(4,(_,w)=>(k(),F(de,{key:b+"_"+w},[b*4+w<10?(k(),F("td",{key:0,ref_for:!0,ref:x=>h(y(c)+b*4+w)&&(u.value=x),class:q(["available",d(y(c)+b*4+w)]),"aria-selected":`${h(y(c)+b*4+w)}`,tabindex:h(y(c)+b*4+w)?0:-1,onKeydown:[fn(ft(v,["prevent","stop"]),["space"]),fn(ft(v,["prevent","stop"]),["enter"])]},[X("div",null,[X("span",Npe,U(y(c)+b*4+w),1)])],42,Ope)):(k(),F("td",$pe))],64))),64))])),64))],512)],10,Rpe))}});var Bpe=Ne(Vpe,[["__file","basic-year-table.vue"]]);const Fpe=["onClick"],Hpe=["aria-label"],jpe=["aria-label"],qpe=["aria-label"],Gpe=["aria-label"],Wpe=te({__name:"panel-date-pick",props:hpe,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,r=(Me,qe,Le)=>!0,a=Ee("picker-panel"),i=Ee("date-picker"),o=qc(),l=Tr(),{t:s,lang:u}=Xt(),c=Ye("EP_PICKER_BASE"),f=Ye(Ly),{shortcuts:d,disabledDate:h,cellClassName:v,defaultTime:p}=c.props,g=mn(c.props,"defaultValue"),m=j(),b=j(Tt().locale(u.value)),_=j(!1);let w=!1;const x=L(()=>Tt(p).locale(u.value)),S=L(()=>b.value.month()),C=L(()=>b.value.year()),T=j([]),z=j(null),A=j(null),E=Me=>T.value.length>0?r(Me,T.value,n.format||"HH:mm:ss"):!0,D=Me=>p&&!oe.value&&!_.value&&!w?x.value.year(Me.year()).month(Me.month()).date(Me.date()):le.value?Me.millisecond(0):Me.startOf("day"),$=(Me,...qe)=>{if(!Me)t("pick",Me,...qe);else if(We(Me)){const Le=Me.map(D);t("pick",Le,...qe)}else t("pick",D(Me),...qe);z.value=null,A.value=null,_.value=!1,w=!1},O=async(Me,qe)=>{if(W.value==="date"){Me=Me;let Le=n.parsedValue?n.parsedValue.year(Me.year()).month(Me.month()).date(Me.date()):Me;E(Le)||(Le=T.value[0][0].year(Me.year()).month(Me.month()).date(Me.date())),b.value=Le,$(Le,le.value||qe),n.type==="datetime"&&(await nt(),ut())}else W.value==="week"?$(Me.date):W.value==="dates"&&$(Me,!0)},R=Me=>{const qe=Me?"add":"subtract";b.value=b.value[qe](1,"month"),rt("month")},N=Me=>{const qe=b.value,Le=Me?"add":"subtract";b.value=B.value==="year"?qe[Le](10,"year"):qe[Le](1,"year"),rt("year")},B=j("date"),V=L(()=>{const Me=s("el.datepicker.year");if(B.value==="year"){const qe=Math.floor(C.value/10)*10;return Me?`${qe} ${Me} - ${qe+9} ${Me}`:`${qe} - ${qe+9}`}return`${C.value} ${Me}`}),P=Me=>{const qe=st(Me.value)?Me.value():Me.value;if(qe){w=!0,$(Tt(qe).locale(u.value));return}Me.onClick&&Me.onClick({attrs:o,slots:l,emit:t})},W=L(()=>{const{type:Me}=n;return["week","month","year","years","dates"].includes(Me)?Me:"date"}),Z=L(()=>W.value==="date"?B.value:W.value),ee=L(()=>!!d.length),re=async Me=>{b.value=b.value.startOf("month").month(Me),W.value==="month"?$(b.value,!1):(B.value="date",["month","year","date","week"].includes(W.value)&&($(b.value,!0),await nt(),ut())),rt("month")},ue=async(Me,qe)=>{W.value==="year"?(b.value=b.value.startOf("year").year(Me),$(b.value,!1)):W.value==="years"?$(Me,qe??!0):(b.value=b.value.year(Me),B.value="month",["month","year","date","week"].includes(W.value)&&($(b.value,!0),await nt(),ut())),rt("year")},ye=async Me=>{B.value=Me,await nt(),ut()},le=L(()=>n.type==="datetime"||n.type==="datetimerange"),ae=L(()=>{const Me=le.value||W.value==="dates",qe=W.value==="years",Le=B.value==="date",_e=B.value==="year";return Me&&Le||qe&&_e}),ie=L(()=>h?n.parsedValue?We(n.parsedValue)?h(n.parsedValue[0].toDate()):h(n.parsedValue.toDate()):!0:!1),ve=()=>{if(W.value==="dates"||W.value==="years")$(n.parsedValue);else{let Me=n.parsedValue;if(!Me){const qe=Tt(p).locale(u.value),Le=Ke();Me=qe.year(Le.year()).month(Le.month()).date(Le.date())}b.value=Me,$(Me)}},ce=L(()=>h?h(Tt().locale(u.value).toDate()):!1),fe=()=>{const qe=Tt().locale(u.value).toDate();_.value=!0,(!h||!h(qe))&&E(qe)&&(b.value=Tt().locale(u.value),$(b.value))},xe=L(()=>n.timeFormat||S$(n.format)),J=L(()=>n.dateFormat||x$(n.format)),oe=L(()=>{if(A.value)return A.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||b.value).format(xe.value)}),pe=L(()=>{if(z.value)return z.value;if(!(!n.parsedValue&&!g.value))return(n.parsedValue||b.value).format(J.value)}),Te=j(!1),ge=()=>{Te.value=!0},Ae=()=>{Te.value=!1},De=Me=>({hour:Me.hour(),minute:Me.minute(),second:Me.second(),year:Me.year(),month:Me.month(),date:Me.date()}),Pe=(Me,qe,Le)=>{const{hour:_e,minute:Ie,second:Xe}=De(Me),be=n.parsedValue?n.parsedValue.hour(_e).minute(Ie).second(Xe):Me;b.value=be,$(b.value,!0),Le||(Te.value=qe)},Re=Me=>{const qe=Tt(Me,xe.value).locale(u.value);if(qe.isValid()&&E(qe)){const{year:Le,month:_e,date:Ie}=De(b.value);b.value=qe.year(Le).month(_e).date(Ie),A.value=null,Te.value=!1,$(b.value,!0)}},Ce=Me=>{const qe=Tt(Me,J.value).locale(u.value);if(qe.isValid()){if(h&&h(qe.toDate()))return;const{hour:Le,minute:_e,second:Ie}=De(b.value);b.value=qe.hour(Le).minute(_e).second(Ie),z.value=null,$(b.value,!0)}},Ue=Me=>Tt.isDayjs(Me)&&Me.isValid()&&(h?!h(Me.toDate()):!0),Je=Me=>We(Me)?Me.map(qe=>qe.format(n.format)):Me.format(n.format),ze=Me=>Tt(Me,n.format).locale(u.value),Ke=()=>{const Me=Tt(g.value).locale(u.value);if(!g.value){const qe=x.value;return Tt().hour(qe.hour()).minute(qe.minute()).second(qe.second()).locale(u.value)}return Me},ut=async()=>{var Me;["week","month","year","date"].includes(W.value)&&((Me=m.value)==null||Me.focus(),W.value==="week"&&Ct(at.down))},Et=Me=>{const{code:qe}=Me;[at.up,at.down,at.left,at.right,at.home,at.end,at.pageUp,at.pageDown].includes(qe)&&(Ct(qe),Me.stopPropagation(),Me.preventDefault()),[at.enter,at.space,at.numpadEnter].includes(qe)&&z.value===null&&A.value===null&&(Me.preventDefault(),$(b.value,!1))},Ct=Me=>{var qe;const{up:Le,down:_e,left:Ie,right:Xe,home:be,end:Qe,pageUp:Lt,pageDown:cn}=at,$n={year:{[Le]:-4,[_e]:4,[Ie]:-1,[Xe]:1,offset:(Nt,Yn)=>Nt.setFullYear(Nt.getFullYear()+Yn)},month:{[Le]:-4,[_e]:4,[Ie]:-1,[Xe]:1,offset:(Nt,Yn)=>Nt.setMonth(Nt.getMonth()+Yn)},week:{[Le]:-1,[_e]:1,[Ie]:-1,[Xe]:1,offset:(Nt,Yn)=>Nt.setDate(Nt.getDate()+Yn*7)},date:{[Le]:-7,[_e]:7,[Ie]:-1,[Xe]:1,[be]:Nt=>-Nt.getDay(),[Qe]:Nt=>-Nt.getDay()+6,[Lt]:Nt=>-new Date(Nt.getFullYear(),Nt.getMonth(),0).getDate(),[cn]:Nt=>new Date(Nt.getFullYear(),Nt.getMonth()+1,0).getDate(),offset:(Nt,Yn)=>Nt.setDate(Nt.getDate()+Yn)}},hr=b.value.toDate();for(;Math.abs(b.value.diff(hr,"year",!0))<1;){const Nt=$n[Z.value];if(!Nt)return;if(Nt.offset(hr,st(Nt[Me])?Nt[Me](hr):(qe=Nt[Me])!=null?qe:0),h&&h(hr))break;const Yn=Tt(hr).locale(u.value);b.value=Yn,t("pick",Yn,!0);break}},rt=Me=>{t("panel-change",b.value.toDate(),Me,B.value)};return ke(()=>W.value,Me=>{if(["month","year"].includes(Me)){B.value=Me;return}else if(Me==="years"){B.value="year";return}B.value="date"},{immediate:!0}),ke(()=>B.value,()=>{f==null||f.updatePopper()}),ke(()=>g.value,Me=>{Me&&(b.value=Ke())},{immediate:!0}),ke(()=>n.parsedValue,Me=>{if(Me){if(W.value==="dates"||W.value==="years"||Array.isArray(Me))return;b.value=Me}else b.value=Ke()},{immediate:!0}),t("set-picker-option",["isValidValue",Ue]),t("set-picker-option",["formatToString",Je]),t("set-picker-option",["parseUserInput",ze]),t("set-picker-option",["handleFocusPicker",ut]),(Me,qe)=>(k(),F("div",{class:q([y(a).b(),y(i).b(),{"has-sidebar":Me.$slots.sidebar||y(ee),"has-time":y(le)}])},[X("div",{class:q(y(a).e("body-wrapper"))},[me(Me.$slots,"sidebar",{class:q(y(a).e("sidebar"))}),y(ee)?(k(),F("div",{key:0,class:q(y(a).e("sidebar"))},[(k(!0),F(de,null,we(y(d),(Le,_e)=>(k(),F("button",{key:_e,type:"button",class:q(y(a).e("shortcut")),onClick:Ie=>P(Le)},U(Le.text),11,Fpe))),128))],2)):Q("v-if",!0),X("div",{class:q(y(a).e("body"))},[y(le)?(k(),F("div",{key:0,class:q(y(i).e("time-header"))},[X("span",{class:q(y(i).e("editor-wrap"))},[I(y(Ur),{placeholder:y(s)("el.datepicker.selectDate"),"model-value":y(pe),size:"small","validate-event":!1,onInput:qe[0]||(qe[0]=Le=>z.value=Le),onChange:Ce},null,8,["placeholder","model-value"])],2),mt((k(),F("span",{class:q(y(i).e("editor-wrap"))},[I(y(Ur),{placeholder:y(s)("el.datepicker.selectTime"),"model-value":y(oe),size:"small","validate-event":!1,onFocus:ge,onInput:qe[1]||(qe[1]=Le=>A.value=Le),onChange:Re},null,8,["placeholder","model-value"]),I(y(W2),{visible:Te.value,format:y(xe),"parsed-value":b.value,onPick:Pe},null,8,["visible","format","parsed-value"])],2)),[[y(Sl),Ae]])],2)):Q("v-if",!0),mt(X("div",{class:q([y(i).e("header"),(B.value==="year"||B.value==="month")&&y(i).e("header--bordered")])},[X("span",{class:q(y(i).e("prev-btn"))},[X("button",{type:"button","aria-label":y(s)("el.datepicker.prevYear"),class:q(["d-arrow-left",y(a).e("icon-btn")]),onClick:qe[2]||(qe[2]=Le=>N(!1))},[I(y(Ze),null,{default:M(()=>[I(y(xd))]),_:1})],10,Hpe),mt(X("button",{type:"button","aria-label":y(s)("el.datepicker.prevMonth"),class:q([y(a).e("icon-btn"),"arrow-left"]),onClick:qe[3]||(qe[3]=Le=>R(!1))},[I(y(Ze),null,{default:M(()=>[I(y(Hs))]),_:1})],10,jpe),[[en,B.value==="date"]])],2),X("span",{role:"button",class:q(y(i).e("header-label")),"aria-live":"polite",tabindex:"0",onKeydown:qe[4]||(qe[4]=fn(Le=>ye("year"),["enter"])),onClick:qe[5]||(qe[5]=Le=>ye("year"))},U(y(V)),35),mt(X("span",{role:"button","aria-live":"polite",tabindex:"0",class:q([y(i).e("header-label"),{active:B.value==="month"}]),onKeydown:qe[6]||(qe[6]=fn(Le=>ye("month"),["enter"])),onClick:qe[7]||(qe[7]=Le=>ye("month"))},U(y(s)(`el.datepicker.month${y(S)+1}`)),35),[[en,B.value==="date"]]),X("span",{class:q(y(i).e("next-btn"))},[mt(X("button",{type:"button","aria-label":y(s)("el.datepicker.nextMonth"),class:q([y(a).e("icon-btn"),"arrow-right"]),onClick:qe[8]||(qe[8]=Le=>R(!0))},[I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})],10,qpe),[[en,B.value==="date"]]),X("button",{type:"button","aria-label":y(s)("el.datepicker.nextYear"),class:q([y(a).e("icon-btn"),"d-arrow-right"]),onClick:qe[9]||(qe[9]=Le=>N(!0))},[I(y(Ze),null,{default:M(()=>[I(y(Sd))]),_:1})],10,Gpe)],2)],2),[[en,B.value!=="time"]]),X("div",{class:q(y(a).e("content")),onKeydown:Et},[B.value==="date"?(k(),Y(U4,{key:0,ref_key:"currentViewRef",ref:m,"selection-mode":y(W),date:b.value,"parsed-value":Me.parsedValue,"disabled-date":y(h),"cell-class-name":y(v),onPick:O},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):Q("v-if",!0),B.value==="year"?(k(),Y(Bpe,{key:1,ref_key:"currentViewRef",ref:m,"selection-mode":y(W),date:b.value,"disabled-date":y(h),"parsed-value":Me.parsedValue,onPick:ue},null,8,["selection-mode","date","disabled-date","parsed-value"])):Q("v-if",!0),B.value==="month"?(k(),Y(Y4,{key:2,ref_key:"currentViewRef",ref:m,date:b.value,"parsed-value":Me.parsedValue,"disabled-date":y(h),onPick:re},null,8,["date","parsed-value","disabled-date"])):Q("v-if",!0)],34)],2)],2),mt(X("div",{class:q(y(a).e("footer"))},[mt(I(y(_r),{text:"",size:"small",class:q(y(a).e("link-btn")),disabled:y(ce),onClick:fe},{default:M(()=>[G(U(y(s)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[en,y(W)!=="dates"&&y(W)!=="years"]]),I(y(_r),{plain:"",size:"small",class:q(y(a).e("link-btn")),disabled:y(ie),onClick:ve},{default:M(()=>[G(U(y(s)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2),[[en,y(ae)]])],2))}});var Upe=Ne(Wpe,[["__file","panel-date-pick.vue"]]);const Ype=Oe({...mV,...yV}),Kpe=e=>{const{emit:t}=xt(),n=qc(),r=Tr();return i=>{const o=st(i.value)?i.value():i.value;if(o){t("pick",[Tt(o[0]).locale(e.value),Tt(o[1]).locale(e.value)]);return}i.onClick&&i.onClick({attrs:n,slots:r,emit:t})}},_V=(e,{defaultValue:t,leftDate:n,rightDate:r,unit:a,onParsedValueChanged:i})=>{const{emit:o}=xt(),{pickerNs:l}=Ye(qS),s=Ee("date-range-picker"),{t:u,lang:c}=Xt(),f=Kpe(c),d=j(),h=j(),v=j({endDate:null,selecting:!1}),p=_=>{v.value=_},g=(_=!1)=>{const w=y(d),x=y(h);G4([w,x])&&o("pick",[w,x],_)},m=_=>{v.value.selecting=_,_||(v.value.endDate=null)},b=()=>{const[_,w]=bV(y(t),{lang:y(c),unit:a,unlinkPanels:e.unlinkPanels});d.value=void 0,h.value=void 0,n.value=_,r.value=w};return ke(t,_=>{_&&b()},{immediate:!0}),ke(()=>e.parsedValue,_=>{if(We(_)&&_.length===2){const[w,x]=_;d.value=w,n.value=w,h.value=x,i(y(d),y(h))}else b()},{immediate:!0}),{minDate:d,maxDate:h,rangeState:v,lang:c,ppNs:l,drpNs:s,handleChangeRange:p,handleRangeConfirm:g,handleShortcutClick:f,onSelect:m,t:u}},Xpe=["onClick"],Zpe=["aria-label"],Jpe=["aria-label"],Qpe=["disabled","aria-label"],ege=["disabled","aria-label"],tge=["disabled","aria-label"],nge=["disabled","aria-label"],rge=["aria-label"],age=["aria-label"],bg="month",ige=te({__name:"panel-date-range",props:Ype,emits:["pick","set-picker-option","calendar-change","panel-change"],setup(e,{emit:t}){const n=e,r=Ye("EP_PICKER_BASE"),{disabledDate:a,cellClassName:i,format:o,defaultTime:l,clearable:s}=r.props,u=mn(r.props,"shortcuts"),c=mn(r.props,"defaultValue"),{lang:f}=Xt(),d=j(Tt().locale(f.value)),h=j(Tt().locale(f.value).add(1,bg)),{minDate:v,maxDate:p,rangeState:g,ppNs:m,drpNs:b,handleChangeRange:_,handleRangeConfirm:w,handleShortcutClick:x,onSelect:S,t:C}=_V(n,{defaultValue:c,leftDate:d,rightDate:h,unit:bg,onParsedValueChanged:qe}),T=j({min:null,max:null}),z=j({min:null,max:null}),A=L(()=>`${d.value.year()} ${C("el.datepicker.year")} ${C(`el.datepicker.month${d.value.month()+1}`)}`),E=L(()=>`${h.value.year()} ${C("el.datepicker.year")} ${C(`el.datepicker.month${h.value.month()+1}`)}`),D=L(()=>d.value.year()),$=L(()=>d.value.month()),O=L(()=>h.value.year()),R=L(()=>h.value.month()),N=L(()=>!!u.value.length),B=L(()=>T.value.min!==null?T.value.min:v.value?v.value.format(ee.value):""),V=L(()=>T.value.max!==null?T.value.max:p.value||v.value?(p.value||v.value).format(ee.value):""),P=L(()=>z.value.min!==null?z.value.min:v.value?v.value.format(Z.value):""),W=L(()=>z.value.max!==null?z.value.max:p.value||v.value?(p.value||v.value).format(Z.value):""),Z=L(()=>n.timeFormat||S$(o)),ee=L(()=>n.dateFormat||x$(o)),re=Le=>G4(Le)&&(a?!a(Le[0].toDate())&&!a(Le[1].toDate()):!0),ue=()=>{d.value=d.value.subtract(1,"year"),n.unlinkPanels||(h.value=d.value.add(1,"month")),xe("year")},ye=()=>{d.value=d.value.subtract(1,"month"),n.unlinkPanels||(h.value=d.value.add(1,"month")),xe("month")},le=()=>{n.unlinkPanels?h.value=h.value.add(1,"year"):(d.value=d.value.add(1,"year"),h.value=d.value.add(1,"month")),xe("year")},ae=()=>{n.unlinkPanels?h.value=h.value.add(1,"month"):(d.value=d.value.add(1,"month"),h.value=d.value.add(1,"month")),xe("month")},ie=()=>{d.value=d.value.add(1,"year"),xe("year")},ve=()=>{d.value=d.value.add(1,"month"),xe("month")},ce=()=>{h.value=h.value.subtract(1,"year"),xe("year")},fe=()=>{h.value=h.value.subtract(1,"month"),xe("month")},xe=Le=>{t("panel-change",[d.value.toDate(),h.value.toDate()],Le)},J=L(()=>{const Le=($.value+1)%12,_e=$.value+1>=12?1:0;return n.unlinkPanels&&new Date(D.value+_e,Le)<new Date(O.value,R.value)}),oe=L(()=>n.unlinkPanels&&O.value*12+R.value-(D.value*12+$.value+1)>=12),pe=L(()=>!(v.value&&p.value&&!g.value.selecting&&G4([v.value,p.value]))),Te=L(()=>n.type==="datetime"||n.type==="datetimerange"),ge=(Le,_e)=>{if(Le)return l?Tt(l[_e]||l).locale(f.value).year(Le.year()).month(Le.month()).date(Le.date()):Le},Ae=(Le,_e=!0)=>{const Ie=Le.minDate,Xe=Le.maxDate,be=ge(Ie,0),Qe=ge(Xe,1);p.value===Qe&&v.value===be||(t("calendar-change",[Ie.toDate(),Xe&&Xe.toDate()]),p.value=Qe,v.value=be,!(!_e||Te.value)&&w())},De=j(!1),Pe=j(!1),Re=()=>{De.value=!1},Ce=()=>{Pe.value=!1},Ue=(Le,_e)=>{T.value[_e]=Le;const Ie=Tt(Le,ee.value).locale(f.value);if(Ie.isValid()){if(a&&a(Ie.toDate()))return;_e==="min"?(d.value=Ie,v.value=(v.value||d.value).year(Ie.year()).month(Ie.month()).date(Ie.date()),!n.unlinkPanels&&(!p.value||p.value.isBefore(v.value))&&(h.value=Ie.add(1,"month"),p.value=v.value.add(1,"month"))):(h.value=Ie,p.value=(p.value||h.value).year(Ie.year()).month(Ie.month()).date(Ie.date()),!n.unlinkPanels&&(!v.value||v.value.isAfter(p.value))&&(d.value=Ie.subtract(1,"month"),v.value=p.value.subtract(1,"month")))}},Je=(Le,_e)=>{T.value[_e]=null},ze=(Le,_e)=>{z.value[_e]=Le;const Ie=Tt(Le,Z.value).locale(f.value);Ie.isValid()&&(_e==="min"?(De.value=!0,v.value=(v.value||d.value).hour(Ie.hour()).minute(Ie.minute()).second(Ie.second()),(!p.value||p.value.isBefore(v.value))&&(p.value=v.value)):(Pe.value=!0,p.value=(p.value||h.value).hour(Ie.hour()).minute(Ie.minute()).second(Ie.second()),h.value=p.value,p.value&&p.value.isBefore(v.value)&&(v.value=p.value)))},Ke=(Le,_e)=>{z.value[_e]=null,_e==="min"?(d.value=v.value,De.value=!1):(h.value=p.value,Pe.value=!1)},ut=(Le,_e,Ie)=>{z.value.min||(Le&&(d.value=Le,v.value=(v.value||d.value).hour(Le.hour()).minute(Le.minute()).second(Le.second())),Ie||(De.value=_e),(!p.value||p.value.isBefore(v.value))&&(p.value=v.value,h.value=Le))},Et=(Le,_e,Ie)=>{z.value.max||(Le&&(h.value=Le,p.value=(p.value||h.value).hour(Le.hour()).minute(Le.minute()).second(Le.second())),Ie||(Pe.value=_e),p.value&&p.value.isBefore(v.value)&&(v.value=p.value))},Ct=()=>{d.value=bV(y(c),{lang:y(f),unit:"month",unlinkPanels:n.unlinkPanels})[0],h.value=d.value.add(1,"month"),p.value=void 0,v.value=void 0,t("pick",null)},rt=Le=>We(Le)?Le.map(_e=>_e.format(o)):Le.format(o),Me=Le=>We(Le)?Le.map(_e=>Tt(_e,o).locale(f.value)):Tt(Le,o).locale(f.value);function qe(Le,_e){if(n.unlinkPanels&&_e){const Ie=(Le==null?void 0:Le.year())||0,Xe=(Le==null?void 0:Le.month())||0,be=_e.year(),Qe=_e.month();h.value=Ie===be&&Xe===Qe?_e.add(1,bg):_e}else h.value=d.value.add(1,bg),_e&&(h.value=h.value.hour(_e.hour()).minute(_e.minute()).second(_e.second()))}return t("set-picker-option",["isValidValue",re]),t("set-picker-option",["parseUserInput",Me]),t("set-picker-option",["formatToString",rt]),t("set-picker-option",["handleClear",Ct]),(Le,_e)=>(k(),F("div",{class:q([y(m).b(),y(b).b(),{"has-sidebar":Le.$slots.sidebar||y(N),"has-time":y(Te)}])},[X("div",{class:q(y(m).e("body-wrapper"))},[me(Le.$slots,"sidebar",{class:q(y(m).e("sidebar"))}),y(N)?(k(),F("div",{key:0,class:q(y(m).e("sidebar"))},[(k(!0),F(de,null,we(y(u),(Ie,Xe)=>(k(),F("button",{key:Xe,type:"button",class:q(y(m).e("shortcut")),onClick:be=>y(x)(Ie)},U(Ie.text),11,Xpe))),128))],2)):Q("v-if",!0),X("div",{class:q(y(m).e("body"))},[y(Te)?(k(),F("div",{key:0,class:q(y(b).e("time-header"))},[X("span",{class:q(y(b).e("editors-wrap"))},[X("span",{class:q(y(b).e("time-picker-wrap"))},[I(y(Ur),{size:"small",disabled:y(g).selecting,placeholder:y(C)("el.datepicker.startDate"),class:q(y(b).e("editor")),"model-value":y(B),"validate-event":!1,onInput:_e[0]||(_e[0]=Ie=>Ue(Ie,"min")),onChange:_e[1]||(_e[1]=Ie=>Je(Ie,"min"))},null,8,["disabled","placeholder","class","model-value"])],2),mt((k(),F("span",{class:q(y(b).e("time-picker-wrap"))},[I(y(Ur),{size:"small",class:q(y(b).e("editor")),disabled:y(g).selecting,placeholder:y(C)("el.datepicker.startTime"),"model-value":y(P),"validate-event":!1,onFocus:_e[2]||(_e[2]=Ie=>De.value=!0),onInput:_e[3]||(_e[3]=Ie=>ze(Ie,"min")),onChange:_e[4]||(_e[4]=Ie=>Ke(Ie,"min"))},null,8,["class","disabled","placeholder","model-value"]),I(y(W2),{visible:De.value,format:y(Z),"datetime-role":"start","parsed-value":d.value,onPick:ut},null,8,["visible","format","parsed-value"])],2)),[[y(Sl),Re]])],2),X("span",null,[I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})]),X("span",{class:q([y(b).e("editors-wrap"),"is-right"])},[X("span",{class:q(y(b).e("time-picker-wrap"))},[I(y(Ur),{size:"small",class:q(y(b).e("editor")),disabled:y(g).selecting,placeholder:y(C)("el.datepicker.endDate"),"model-value":y(V),readonly:!y(v),"validate-event":!1,onInput:_e[5]||(_e[5]=Ie=>Ue(Ie,"max")),onChange:_e[6]||(_e[6]=Ie=>Je(Ie,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),mt((k(),F("span",{class:q(y(b).e("time-picker-wrap"))},[I(y(Ur),{size:"small",class:q(y(b).e("editor")),disabled:y(g).selecting,placeholder:y(C)("el.datepicker.endTime"),"model-value":y(W),readonly:!y(v),"validate-event":!1,onFocus:_e[7]||(_e[7]=Ie=>y(v)&&(Pe.value=!0)),onInput:_e[8]||(_e[8]=Ie=>ze(Ie,"max")),onChange:_e[9]||(_e[9]=Ie=>Ke(Ie,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),I(y(W2),{"datetime-role":"end",visible:Pe.value,format:y(Z),"parsed-value":h.value,onPick:Et},null,8,["visible","format","parsed-value"])],2)),[[y(Sl),Ce]])],2)],2)):Q("v-if",!0),X("div",{class:q([[y(m).e("content"),y(b).e("content")],"is-left"])},[X("div",{class:q(y(b).e("header"))},[X("button",{type:"button",class:q([y(m).e("icon-btn"),"d-arrow-left"]),"aria-label":y(C)("el.datepicker.prevYear"),onClick:ue},[I(y(Ze),null,{default:M(()=>[I(y(xd))]),_:1})],10,Zpe),X("button",{type:"button",class:q([y(m).e("icon-btn"),"arrow-left"]),"aria-label":y(C)("el.datepicker.prevMonth"),onClick:ye},[I(y(Ze),null,{default:M(()=>[I(y(Hs))]),_:1})],10,Jpe),Le.unlinkPanels?(k(),F("button",{key:0,type:"button",disabled:!y(oe),class:q([[y(m).e("icon-btn"),{"is-disabled":!y(oe)}],"d-arrow-right"]),"aria-label":y(C)("el.datepicker.nextYear"),onClick:ie},[I(y(Ze),null,{default:M(()=>[I(y(Sd))]),_:1})],10,Qpe)):Q("v-if",!0),Le.unlinkPanels?(k(),F("button",{key:1,type:"button",disabled:!y(J),class:q([[y(m).e("icon-btn"),{"is-disabled":!y(J)}],"arrow-right"]),"aria-label":y(C)("el.datepicker.nextMonth"),onClick:ve},[I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})],10,ege)):Q("v-if",!0),X("div",null,U(y(A)),1)],2),I(U4,{"selection-mode":"range",date:d.value,"min-date":y(v),"max-date":y(p),"range-state":y(g),"disabled-date":y(a),"cell-class-name":y(i),onChangerange:y(_),onPick:Ae,onSelect:y(S)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2),X("div",{class:q([[y(m).e("content"),y(b).e("content")],"is-right"])},[X("div",{class:q(y(b).e("header"))},[Le.unlinkPanels?(k(),F("button",{key:0,type:"button",disabled:!y(oe),class:q([[y(m).e("icon-btn"),{"is-disabled":!y(oe)}],"d-arrow-left"]),"aria-label":y(C)("el.datepicker.prevYear"),onClick:ce},[I(y(Ze),null,{default:M(()=>[I(y(xd))]),_:1})],10,tge)):Q("v-if",!0),Le.unlinkPanels?(k(),F("button",{key:1,type:"button",disabled:!y(J),class:q([[y(m).e("icon-btn"),{"is-disabled":!y(J)}],"arrow-left"]),"aria-label":y(C)("el.datepicker.prevMonth"),onClick:fe},[I(y(Ze),null,{default:M(()=>[I(y(Hs))]),_:1})],10,nge)):Q("v-if",!0),X("button",{type:"button","aria-label":y(C)("el.datepicker.nextYear"),class:q([y(m).e("icon-btn"),"d-arrow-right"]),onClick:le},[I(y(Ze),null,{default:M(()=>[I(y(Sd))]),_:1})],10,rge),X("button",{type:"button",class:q([y(m).e("icon-btn"),"arrow-right"]),"aria-label":y(C)("el.datepicker.nextMonth"),onClick:ae},[I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})],10,age),X("div",null,U(y(E)),1)],2),I(U4,{"selection-mode":"range",date:h.value,"min-date":y(v),"max-date":y(p),"range-state":y(g),"disabled-date":y(a),"cell-class-name":y(i),onChangerange:y(_),onPick:Ae,onSelect:y(S)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","onChangerange","onSelect"])],2)],2)],2),y(Te)?(k(),F("div",{key:0,class:q(y(m).e("footer"))},[y(s)?(k(),Y(y(_r),{key:0,text:"",size:"small",class:q(y(m).e("link-btn")),onClick:Ct},{default:M(()=>[G(U(y(C)("el.datepicker.clear")),1)]),_:1},8,["class"])):Q("v-if",!0),I(y(_r),{plain:"",size:"small",class:q(y(m).e("link-btn")),disabled:y(pe),onClick:_e[10]||(_e[10]=Ie=>y(w)(!1))},{default:M(()=>[G(U(y(C)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])],2)):Q("v-if",!0)],2))}});var oge=Ne(ige,[["__file","panel-date-range.vue"]]);const lge=Oe({...yV}),sge=["pick","set-picker-option","calendar-change"],uge=({unlinkPanels:e,leftDate:t,rightDate:n})=>{const{t:r}=Xt(),a=()=>{t.value=t.value.subtract(1,"year"),e.value||(n.value=n.value.subtract(1,"year"))},i=()=>{e.value||(t.value=t.value.add(1,"year")),n.value=n.value.add(1,"year")},o=()=>{t.value=t.value.add(1,"year")},l=()=>{n.value=n.value.subtract(1,"year")},s=L(()=>`${t.value.year()} ${r("el.datepicker.year")}`),u=L(()=>`${n.value.year()} ${r("el.datepicker.year")}`),c=L(()=>t.value.year()),f=L(()=>n.value.year()===t.value.year()?t.value.year()+1:n.value.year());return{leftPrevYear:a,rightNextYear:i,leftNextYear:o,rightPrevYear:l,leftLabel:s,rightLabel:u,leftYear:c,rightYear:f}},cge=["onClick"],fge=["disabled"],dge=["disabled"],_g="year",hge=te({name:"DatePickerMonthRange"}),vge=te({...hge,props:lge,emits:sge,setup(e,{emit:t}){const n=e,{lang:r}=Xt(),a=Ye("EP_PICKER_BASE"),{shortcuts:i,disabledDate:o,format:l}=a.props,s=mn(a.props,"defaultValue"),u=j(Tt().locale(r.value)),c=j(Tt().locale(r.value).add(1,_g)),{minDate:f,maxDate:d,rangeState:h,ppNs:v,drpNs:p,handleChangeRange:g,handleRangeConfirm:m,handleShortcutClick:b,onSelect:_}=_V(n,{defaultValue:s,leftDate:u,rightDate:c,unit:_g,onParsedValueChanged:N}),w=L(()=>!!i.length),{leftPrevYear:x,rightNextYear:S,leftNextYear:C,rightPrevYear:T,leftLabel:z,rightLabel:A,leftYear:E,rightYear:D}=uge({unlinkPanels:mn(n,"unlinkPanels"),leftDate:u,rightDate:c}),$=L(()=>n.unlinkPanels&&D.value>E.value+1),O=(B,V=!0)=>{const P=B.minDate,W=B.maxDate;d.value===W&&f.value===P||(t("calendar-change",[P.toDate(),W&&W.toDate()]),d.value=W,f.value=P,V&&m())},R=B=>B.map(V=>V.format(l));function N(B,V){if(n.unlinkPanels&&V){const P=(B==null?void 0:B.year())||0,W=V.year();c.value=P===W?V.add(1,_g):V}else c.value=u.value.add(1,_g)}return t("set-picker-option",["formatToString",R]),(B,V)=>(k(),F("div",{class:q([y(v).b(),y(p).b(),{"has-sidebar":!!B.$slots.sidebar||y(w)}])},[X("div",{class:q(y(v).e("body-wrapper"))},[me(B.$slots,"sidebar",{class:q(y(v).e("sidebar"))}),y(w)?(k(),F("div",{key:0,class:q(y(v).e("sidebar"))},[(k(!0),F(de,null,we(y(i),(P,W)=>(k(),F("button",{key:W,type:"button",class:q(y(v).e("shortcut")),onClick:Z=>y(b)(P)},U(P.text),11,cge))),128))],2)):Q("v-if",!0),X("div",{class:q(y(v).e("body"))},[X("div",{class:q([[y(v).e("content"),y(p).e("content")],"is-left"])},[X("div",{class:q(y(p).e("header"))},[X("button",{type:"button",class:q([y(v).e("icon-btn"),"d-arrow-left"]),onClick:V[0]||(V[0]=(...P)=>y(x)&&y(x)(...P))},[I(y(Ze),null,{default:M(()=>[I(y(xd))]),_:1})],2),B.unlinkPanels?(k(),F("button",{key:0,type:"button",disabled:!y($),class:q([[y(v).e("icon-btn"),{[y(v).is("disabled")]:!y($)}],"d-arrow-right"]),onClick:V[1]||(V[1]=(...P)=>y(C)&&y(C)(...P))},[I(y(Ze),null,{default:M(()=>[I(y(Sd))]),_:1})],10,fge)):Q("v-if",!0),X("div",null,U(y(z)),1)],2),I(Y4,{"selection-mode":"range",date:u.value,"min-date":y(f),"max-date":y(d),"range-state":y(h),"disabled-date":y(o),onChangerange:y(g),onPick:O,onSelect:y(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2),X("div",{class:q([[y(v).e("content"),y(p).e("content")],"is-right"])},[X("div",{class:q(y(p).e("header"))},[B.unlinkPanels?(k(),F("button",{key:0,type:"button",disabled:!y($),class:q([[y(v).e("icon-btn"),{"is-disabled":!y($)}],"d-arrow-left"]),onClick:V[2]||(V[2]=(...P)=>y(T)&&y(T)(...P))},[I(y(Ze),null,{default:M(()=>[I(y(xd))]),_:1})],10,dge)):Q("v-if",!0),X("button",{type:"button",class:q([y(v).e("icon-btn"),"d-arrow-right"]),onClick:V[3]||(V[3]=(...P)=>y(S)&&y(S)(...P))},[I(y(Ze),null,{default:M(()=>[I(y(Sd))]),_:1})],2),X("div",null,U(y(A)),1)],2),I(Y4,{"selection-mode":"range",date:c.value,"min-date":y(f),"max-date":y(d),"range-state":y(h),"disabled-date":y(o),onChangerange:y(g),onPick:O,onSelect:y(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var pge=Ne(vge,[["__file","panel-month-range.vue"]]);const gge=function(e){switch(e){case"daterange":case"datetimerange":return oge;case"monthrange":return pge;default:return Upe}};Tt.extend(V$);Tt.extend(epe);Tt.extend(FS);Tt.extend(npe);Tt.extend(ape);Tt.extend(ope);Tt.extend(spe);Tt.extend(cpe);var mge=te({name:"ElDatePicker",install:null,props:fpe,emits:["update:modelValue"],setup(e,{expose:t,emit:n,slots:r}){const a=Ee("picker-panel");Rt("ElPopperOptions",nn(mn(e,"popperOptions"))),Rt(qS,{slots:r,pickerNs:a});const i=j();t({focus:(s=!0)=>{var u;(u=i.value)==null||u.focus(s)},handleOpen:()=>{var s;(s=i.value)==null||s.handleOpen()},handleClose:()=>{var s;(s=i.value)==null||s.handleClose()}});const l=s=>{n("update:modelValue",s)};return()=>{var s;const u=(s=e.format)!=null?s:Gfe[e.type]||Rf,c=gge(e.type);return I(k$,Pt(e,{format:u,type:e.type,ref:i,"onUpdate:modelValue":l}),{default:f=>I(c,f,null),"range-separator":r["range-separator"]})}}});const W0=mge;W0.install=e=>{e.component(W0.name,W0)};const yge=W0,US=Symbol("elDescriptions");var Ah=te({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:Ye(US,{})}},render(){var e,t,n,r,a,i,o;const l=Oie(this.cell),s=(((e=this.cell)==null?void 0:e.dirs)||[]).map(x=>{const{dir:S,arg:C,modifiers:T,value:z}=x;return[S,z,C,T]}),{border:u,direction:c}=this.descriptions,f=c==="vertical",d=((r=(n=(t=this.cell)==null?void 0:t.children)==null?void 0:n.label)==null?void 0:r.call(n))||l.label,h=(o=(i=(a=this.cell)==null?void 0:a.children)==null?void 0:i.default)==null?void 0:o.call(i),v=l.span,p=l.align?`is-${l.align}`:"",g=l.labelAlign?`is-${l.labelAlign}`:p,m=l.className,b=l.labelClassName,_={width:Fn(l.width),minWidth:Fn(l.minWidth)},w=Ee("descriptions");switch(this.type){case"label":return mt(tt(this.tag,{style:_,class:[w.e("cell"),w.e("label"),w.is("bordered-label",u),w.is("vertical-label",f),g,b],colSpan:f?v:1},d),s);case"content":return mt(tt(this.tag,{style:_,class:[w.e("cell"),w.e("content"),w.is("bordered-content",u),w.is("vertical-content",f),p,m],colSpan:f?v:v*2-1},h),s);default:return mt(tt("td",{style:_,class:[w.e("cell"),p],colSpan:v},[br(d)?void 0:tt("span",{class:[w.e("label"),b]},d),tt("span",{class:[w.e("content"),m]},h)]),s)}}});const bge=Oe({row:{type:he(Array),default:()=>[]}}),_ge={key:1},wge=te({name:"ElDescriptionsRow"}),xge=te({...wge,props:bge,setup(e){const t=Ye(US,{});return(n,r)=>y(t).direction==="vertical"?(k(),F(de,{key:0},[X("tr",null,[(k(!0),F(de,null,we(n.row,(a,i)=>(k(),Y(y(Ah),{key:`tr1-${i}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),X("tr",null,[(k(!0),F(de,null,we(n.row,(a,i)=>(k(),Y(y(Ah),{key:`tr2-${i}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(k(),F("tr",_ge,[(k(!0),F(de,null,we(n.row,(a,i)=>(k(),F(de,{key:`tr3-${i}`},[y(t).border?(k(),F(de,{key:0},[I(y(Ah),{cell:a,tag:"td",type:"label"},null,8,["cell"]),I(y(Ah),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(k(),Y(y(Ah),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var Sge=Ne(xge,[["__file","descriptions-row.vue"]]);const Cge=Oe({border:{type:Boolean,default:!1},column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:cr,title:{type:String,default:""},extra:{type:String,default:""}}),Tge=te({name:"ElDescriptions"}),kge=te({...Tge,props:Cge,setup(e){const t=e,n=Ee("descriptions"),r=tr(),a=Tr();Rt(US,t);const i=L(()=>[n.b(),n.m(r.value)]),o=(s,u,c,f=!1)=>(s.props||(s.props={}),u>c&&(s.props.span=c),f&&(s.props.span=u),s),l=()=>{if(!a.default)return[];const s=Is(a.default()).filter(h=>{var v;return((v=h==null?void 0:h.type)==null?void 0:v.name)==="ElDescriptionsItem"}),u=[];let c=[],f=t.column,d=0;return s.forEach((h,v)=>{var p;const g=((p=h.props)==null?void 0:p.span)||1;if(v<s.length-1&&(d+=g>f?f:g),v===s.length-1){const m=t.column-d%t.column;c.push(o(h,m,f,!0)),u.push(c);return}g<f?(f-=g,c.push(h)):(c.push(o(h,g,f)),u.push(c),f=t.column,c=[])}),u};return(s,u)=>(k(),F("div",{class:q(y(i))},[s.title||s.extra||s.$slots.title||s.$slots.extra?(k(),F("div",{key:0,class:q(y(n).e("header"))},[X("div",{class:q(y(n).e("title"))},[me(s.$slots,"title",{},()=>[G(U(s.title),1)])],2),X("div",{class:q(y(n).e("extra"))},[me(s.$slots,"extra",{},()=>[G(U(s.extra),1)])],2)],2)):Q("v-if",!0),X("div",{class:q(y(n).e("body"))},[X("table",{class:q([y(n).e("table"),y(n).is("bordered",s.border)])},[X("tbody",null,[(k(!0),F(de,null,we(l(),(c,f)=>(k(),Y(Sge,{key:f,row:c},null,8,["row"]))),128))])],2)],2)],2))}});var zge=Ne(kge,[["__file","description.vue"]]);const Mge=Oe({label:{type:String,default:""},span:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},align:{type:String,default:"left"},labelAlign:{type:String,default:""},className:{type:String,default:""},labelClassName:{type:String,default:""}}),wV=te({name:"ElDescriptionsItem",props:Mge}),Age=St(zge,{DescriptionsItem:wV}),Ege=On(wV),Ige=Oe({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:he([String,Array,Object])},zIndex:{type:he([String,Number])}}),Dge={click:e=>e instanceof MouseEvent},Lge="overlay";var Pge=te({name:"ElOverlay",props:Ige,emits:Dge,setup(e,{slots:t,emit:n}){const r=Ee(Lge),a=s=>{n("click",s)},{onClick:i,onMousedown:o,onMouseup:l}=TS(e.customMaskEvent?void 0:a);return()=>e.mask?I("div",{class:[r.b(),e.overlayClass],style:{zIndex:e.zIndex},onClick:i,onMousedown:o,onMouseup:l},[me(t,"default")],ii.STYLE|ii.CLASS|ii.PROPS,["onClick","onMouseup","onMousedown"]):tt("div",{class:e.overlayClass,style:{zIndex:e.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[me(t,"default")])}});const YS=Pge,xV=Symbol("dialogInjectionKey"),SV=Oe({center:Boolean,alignCenter:Boolean,closeIcon:{type:hn},draggable:Boolean,overflow:Boolean,fullscreen:Boolean,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),Rge={close:()=>!0},Oge=["aria-level"],Nge=["aria-label"],$ge=["id"],Vge=te({name:"ElDialogContent"}),Bge=te({...Vge,props:SV,emits:Rge,setup(e){const t=e,{t:n}=Xt(),{Close:r}=cS,{dialogRef:a,headerRef:i,bodyId:o,ns:l,style:s}=Ye(xV),{focusTrapRef:u}=Ye($S),c=L(()=>[l.b(),l.is("fullscreen",t.fullscreen),l.is("draggable",t.draggable),l.is("align-center",t.alignCenter),{[l.m("center")]:t.center}]),f=Ty(u,a),d=L(()=>t.draggable),h=L(()=>t.overflow);return mN(a,i,d,h),(v,p)=>(k(),F("div",{ref:y(f),class:q(y(c)),style:Be(y(s)),tabindex:"-1"},[X("header",{ref_key:"headerRef",ref:i,class:q([y(l).e("header"),{"show-close":v.showClose}])},[me(v.$slots,"header",{},()=>[X("span",{role:"heading","aria-level":v.ariaLevel,class:q(y(l).e("title"))},U(v.title),11,Oge)]),v.showClose?(k(),F("button",{key:0,"aria-label":y(n)("el.dialog.close"),class:q(y(l).e("headerbtn")),type:"button",onClick:p[0]||(p[0]=g=>v.$emit("close"))},[I(y(Ze),{class:q(y(l).e("close"))},{default:M(()=>[(k(),Y(It(v.closeIcon||y(r))))]),_:1},8,["class"])],10,Nge)):Q("v-if",!0)],2),X("div",{id:y(o),class:q(y(l).e("body"))},[me(v.$slots,"default")],10,$ge),v.$slots.footer?(k(),F("footer",{key:0,class:q(y(l).e("footer"))},[me(v.$slots,"footer")],2)):Q("v-if",!0)],6))}});var Fge=Ne(Bge,[["__file","dialog-content.vue"]]);const CV=Oe({...SV,appendToBody:Boolean,appendTo:{type:he(String),default:"body"},beforeClose:{type:he(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:{type:Boolean,default:!1},headerAriaLevel:{type:String,default:"2"}}),TV={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Mt]:e=>Jn(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},kV=(e,t)=>{var n;const a=xt().emit,{nextZIndex:i}=Qd();let o="";const l=Vr(),s=Vr(),u=j(!1),c=j(!1),f=j(!1),d=j((n=e.zIndex)!=null?n:i());let h,v;const p=wp("namespace",Pv),g=L(()=>{const R={},N=`--${p.value}-dialog`;return e.fullscreen||(e.top&&(R[`${N}-margin-top`]=e.top),e.width&&(R[`${N}-width`]=Fn(e.width))),R}),m=L(()=>e.alignCenter?{display:"flex"}:{});function b(){a("opened")}function _(){a("closed"),a(Mt,!1),e.destroyOnClose&&(f.value=!1)}function w(){a("close")}function x(){v==null||v(),h==null||h(),e.openDelay&&e.openDelay>0?{stop:h}=Ac(()=>z(),e.openDelay):z()}function S(){h==null||h(),v==null||v(),e.closeDelay&&e.closeDelay>0?{stop:v}=Ac(()=>A(),e.closeDelay):A()}function C(){function R(N){N||(c.value=!0,u.value=!1)}e.beforeClose?e.beforeClose(R):S()}function T(){e.closeOnClickModal&&C()}function z(){Wt&&(u.value=!0)}function A(){u.value=!1}function E(){a("openAutoFocus")}function D(){a("closeAutoFocus")}function $(R){var N;((N=R.detail)==null?void 0:N.focusReason)==="pointer"&&R.preventDefault()}e.lockScroll&&gS(u);function O(){e.closeOnPressEscape&&C()}return ke(()=>e.modelValue,R=>{R?(c.value=!1,x(),f.value=!0,d.value=aN(e.zIndex)?i():d.value++,nt(()=>{a("open"),t.value&&(t.value.scrollTop=0)})):u.value&&S()}),ke(()=>e.fullscreen,R=>{t.value&&(R?(o=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=o)}),bt(()=>{e.modelValue&&(u.value=!0,f.value=!0,x())}),{afterEnter:b,afterLeave:_,beforeLeave:w,handleClose:C,onModalClick:T,close:S,doClose:A,onOpenAutoFocus:E,onCloseAutoFocus:D,onCloseRequested:O,onFocusoutPrevented:$,titleId:l,bodyId:s,closed:c,style:g,overlayDialogStyle:m,rendered:f,visible:u,zIndex:d}},Hge=["aria-label","aria-labelledby","aria-describedby"],jge=te({name:"ElDialog",inheritAttrs:!1}),qge=te({...jge,props:CV,emits:TV,setup(e,{expose:t}){const n=e,r=Tr();gr({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},L(()=>!!r.title));const a=Ee("dialog"),i=j(),o=j(),l=j(),{visible:s,titleId:u,bodyId:c,style:f,overlayDialogStyle:d,rendered:h,zIndex:v,afterEnter:p,afterLeave:g,beforeLeave:m,handleClose:b,onModalClick:_,onOpenAutoFocus:w,onCloseAutoFocus:x,onCloseRequested:S,onFocusoutPrevented:C}=kV(n,i);Rt(xV,{dialogRef:i,headerRef:o,bodyId:c,ns:a,rendered:h,style:f});const T=TS(_),z=L(()=>n.draggable&&!n.fullscreen);return t({visible:s,dialogContentRef:l}),(A,E)=>(k(),Y(Ud,{to:A.appendTo,disabled:A.appendTo!=="body"?!1:!A.appendToBody},[I(ir,{name:"dialog-fade",onAfterEnter:y(p),onAfterLeave:y(g),onBeforeLeave:y(m),persisted:""},{default:M(()=>[mt(I(y(YS),{"custom-mask-event":"",mask:A.modal,"overlay-class":A.modalClass,"z-index":y(v)},{default:M(()=>[X("div",{role:"dialog","aria-modal":"true","aria-label":A.title||void 0,"aria-labelledby":A.title?void 0:y(u),"aria-describedby":y(c),class:q(`${y(a).namespace.value}-overlay-dialog`),style:Be(y(d)),onClick:E[0]||(E[0]=(...D)=>y(T).onClick&&y(T).onClick(...D)),onMousedown:E[1]||(E[1]=(...D)=>y(T).onMousedown&&y(T).onMousedown(...D)),onMouseup:E[2]||(E[2]=(...D)=>y(T).onMouseup&&y(T).onMouseup(...D))},[I(y(Sp),{loop:"",trapped:y(s),"focus-start-el":"container",onFocusAfterTrapped:y(w),onFocusAfterReleased:y(x),onFocusoutPrevented:y(C),onReleaseRequested:y(S)},{default:M(()=>[y(h)?(k(),Y(Fge,Pt({key:0,ref_key:"dialogContentRef",ref:l},A.$attrs,{center:A.center,"align-center":A.alignCenter,"close-icon":A.closeIcon,draggable:y(z),overflow:A.overflow,fullscreen:A.fullscreen,"show-close":A.showClose,title:A.title,"aria-level":A.headerAriaLevel,onClose:y(b)}),_l({header:M(()=>[A.$slots.title?me(A.$slots,"title",{key:1}):me(A.$slots,"header",{key:0,close:y(b),titleId:y(u),titleClass:y(a).e("title")})]),default:M(()=>[me(A.$slots,"default")]),_:2},[A.$slots.footer?{name:"footer",fn:M(()=>[me(A.$slots,"footer")])}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","show-close","title","aria-level","onClose"])):Q("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,Hge)]),_:3},8,["mask","overlay-class","z-index"]),[[en,y(s)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var Gge=Ne(qge,[["__file","dialog.vue"]]);const Wge=St(Gge),Uge=Oe({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:he(String),default:"solid"}}),Yge=te({name:"ElDivider"}),Kge=te({...Yge,props:Uge,setup(e){const t=e,n=Ee("divider"),r=L(()=>n.cssVar({"border-style":t.borderStyle}));return(a,i)=>(k(),F("div",{class:q([y(n).b(),y(n).m(a.direction)]),style:Be(y(r)),role:"separator"},[a.$slots.default&&a.direction!=="vertical"?(k(),F("div",{key:0,class:q([y(n).e("text"),y(n).is(a.contentPosition)])},[me(a.$slots,"default")],2)):Q("v-if",!0)],6))}});var Xge=Ne(Kge,[["__file","divider.vue"]]);const zV=St(Xge),Zge=Oe({...CV,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),Jge=TV,Qge=["aria-label","aria-labelledby","aria-describedby"],e0e=["id","aria-level"],t0e=["aria-label"],n0e=["id"],r0e=te({name:"ElDrawer",inheritAttrs:!1}),a0e=te({...r0e,props:Zge,emits:Jge,setup(e,{expose:t}){const n=e,r=Tr();gr({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},L(()=>!!r.title));const a=j(),i=j(),o=Ee("drawer"),{t:l}=Xt(),{afterEnter:s,afterLeave:u,beforeLeave:c,visible:f,rendered:d,titleId:h,bodyId:v,zIndex:p,onModalClick:g,onOpenAutoFocus:m,onCloseAutoFocus:b,onFocusoutPrevented:_,onCloseRequested:w,handleClose:x}=kV(n,a),S=L(()=>n.direction==="rtl"||n.direction==="ltr"),C=L(()=>Fn(n.size));return t({handleClose:x,afterEnter:s,afterLeave:u}),(T,z)=>(k(),Y(Ud,{to:"body",disabled:!T.appendToBody},[I(ir,{name:y(o).b("fade"),onAfterEnter:y(s),onAfterLeave:y(u),onBeforeLeave:y(c),persisted:""},{default:M(()=>[mt(I(y(YS),{mask:T.modal,"overlay-class":T.modalClass,"z-index":y(p),onClick:y(g)},{default:M(()=>[I(y(Sp),{loop:"",trapped:y(f),"focus-trap-el":a.value,"focus-start-el":i.value,onFocusAfterTrapped:y(m),onFocusAfterReleased:y(b),onFocusoutPrevented:y(_),onReleaseRequested:y(w)},{default:M(()=>[X("div",Pt({ref_key:"drawerRef",ref:a,"aria-modal":"true","aria-label":T.title||void 0,"aria-labelledby":T.title?void 0:y(h),"aria-describedby":y(v)},T.$attrs,{class:[y(o).b(),T.direction,y(f)&&"open"],style:y(S)?"width: "+y(C):"height: "+y(C),role:"dialog",onClick:z[1]||(z[1]=ft(()=>{},["stop"]))}),[X("span",{ref_key:"focusStartRef",ref:i,class:q(y(o).e("sr-focus")),tabindex:"-1"},null,2),T.withHeader?(k(),F("header",{key:0,class:q(y(o).e("header"))},[T.$slots.title?me(T.$slots,"title",{key:1},()=>[Q(" DEPRECATED SLOT ")]):me(T.$slots,"header",{key:0,close:y(x),titleId:y(h),titleClass:y(o).e("title")},()=>[T.$slots.title?Q("v-if",!0):(k(),F("span",{key:0,id:y(h),role:"heading","aria-level":T.headerAriaLevel,class:q(y(o).e("title"))},U(T.title),11,e0e))]),T.showClose?(k(),F("button",{key:2,"aria-label":y(l)("el.drawer.close"),class:q(y(o).e("close-btn")),type:"button",onClick:z[0]||(z[0]=(...A)=>y(x)&&y(x)(...A))},[I(y(Ze),{class:q(y(o).e("close"))},{default:M(()=>[I(y(Xi))]),_:1},8,["class"])],10,t0e)):Q("v-if",!0)],2)):Q("v-if",!0),y(d)?(k(),F("div",{key:1,id:y(v),class:q(y(o).e("body"))},[me(T.$slots,"default")],10,n0e)):Q("v-if",!0),T.$slots.footer?(k(),F("div",{key:2,class:q(y(o).e("footer"))},[me(T.$slots,"footer")],2)):Q("v-if",!0)],16,Qge)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[en,y(f)]])]),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["disabled"]))}});var i0e=Ne(a0e,[["__file","drawer.vue"]]);const o0e=St(i0e),l0e=te({inheritAttrs:!1});function s0e(e,t,n,r,a,i){return me(e.$slots,"default")}var u0e=Ne(l0e,[["render",s0e],["__file","collection.vue"]]);const c0e=te({name:"ElCollectionItem",inheritAttrs:!1});function f0e(e,t,n,r,a,i){return me(e.$slots,"default")}var d0e=Ne(c0e,[["render",f0e],["__file","collection-item.vue"]]);const MV="data-el-collection-item",AV=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),a=Symbol(n),i={...u0e,name:t,setup(){const l=j(null),s=new Map;Rt(r,{itemMap:s,getItems:()=>{const c=y(l);if(!c)return[];const f=Array.from(c.querySelectorAll(`[${MV}]`));return[...s.values()].sort((h,v)=>f.indexOf(h.ref)-f.indexOf(v.ref))},collectionRef:l})}},o={...d0e,name:n,setup(l,{attrs:s}){const u=j(null),c=Ye(r,void 0);Rt(a,{collectionItemRef:u}),bt(()=>{const f=y(u);f&&c.itemMap.set(f,{ref:f,...s})}),wn(()=>{const f=y(u);c.itemMap.delete(f)})}};return{COLLECTION_INJECTION_KEY:r,COLLECTION_ITEM_INJECTION_KEY:a,ElCollection:i,ElCollectionItem:o}},h0e=Oe({style:{type:he([String,Array,Object])},currentTabId:{type:he(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:he(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection:v0e,ElCollectionItem:p0e,COLLECTION_INJECTION_KEY:KS,COLLECTION_ITEM_INJECTION_KEY:g0e}=AV("RovingFocusGroup"),XS=Symbol("elRovingFocusGroup"),EV=Symbol("elRovingFocusGroupItem"),m0e={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},y0e=(e,t)=>e,b0e=(e,t,n)=>{const r=y0e(e.key);return m0e[r]},_0e=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),ZS=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},qk="currentTabIdChange",Gk="rovingFocusGroup.entryFocus",w0e={bubbles:!1,cancelable:!0},x0e=te({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:h0e,emits:[qk,"entryFocus"],setup(e,{emit:t}){var n;const r=j((n=e.currentTabId||e.defaultCurrentTabId)!=null?n:null),a=j(!1),i=j(!1),o=j(null),{getItems:l}=Ye(KS,void 0),s=L(()=>[{outline:"none"},e.style]),u=p=>{t(qk,p)},c=()=>{a.value=!0},f=Bn(p=>{var g;(g=e.onMousedown)==null||g.call(e,p)},()=>{i.value=!0}),d=Bn(p=>{var g;(g=e.onFocus)==null||g.call(e,p)},p=>{const g=!y(i),{target:m,currentTarget:b}=p;if(m===b&&g&&!y(a)){const _=new Event(Gk,w0e);if(b==null||b.dispatchEvent(_),!_.defaultPrevented){const w=l().filter(z=>z.focusable),x=w.find(z=>z.active),S=w.find(z=>z.id===y(r)),T=[x,S,...w].filter(Boolean).map(z=>z.ref);ZS(T)}}i.value=!1}),h=Bn(p=>{var g;(g=e.onBlur)==null||g.call(e,p)},()=>{a.value=!1}),v=(...p)=>{t("entryFocus",...p)};Rt(XS,{currentTabbedId:Wd(r),loop:mn(e,"loop"),tabIndex:L(()=>y(a)?-1:0),rovingFocusGroupRef:o,rovingFocusGroupRootStyle:s,orientation:mn(e,"orientation"),dir:mn(e,"dir"),onItemFocus:u,onItemShiftTab:c,onBlur:h,onFocus:d,onMousedown:f}),ke(()=>e.currentTabId,p=>{r.value=p??null}),Sn(o,Gk,v)}});function S0e(e,t,n,r,a,i){return me(e.$slots,"default")}var C0e=Ne(x0e,[["render",S0e],["__file","roving-focus-group-impl.vue"]]);const T0e=te({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:v0e,ElRovingFocusGroupImpl:C0e}});function k0e(e,t,n,r,a,i){const o=se("el-roving-focus-group-impl"),l=se("el-focus-group-collection");return k(),Y(l,null,{default:M(()=>[I(o,ul(vd(e.$attrs)),{default:M(()=>[me(e.$slots,"default")]),_:3},16)]),_:3})}var z0e=Ne(T0e,[["render",k0e],["__file","roving-focus-group.vue"]]);const M0e=te({components:{ElRovingFocusCollectionItem:p0e},props:{focusable:{type:Boolean,default:!0},active:{type:Boolean,default:!1}},emits:["mousedown","focus","keydown"],setup(e,{emit:t}){const{currentTabbedId:n,loop:r,onItemFocus:a,onItemShiftTab:i}=Ye(XS,void 0),{getItems:o}=Ye(KS,void 0),l=Vr(),s=j(null),u=Bn(h=>{t("mousedown",h)},h=>{e.focusable?a(y(l)):h.preventDefault()}),c=Bn(h=>{t("focus",h)},()=>{a(y(l))}),f=Bn(h=>{t("keydown",h)},h=>{const{key:v,shiftKey:p,target:g,currentTarget:m}=h;if(v===at.tab&&p){i();return}if(g!==m)return;const b=b0e(h);if(b){h.preventDefault();let w=o().filter(x=>x.focusable).map(x=>x.ref);switch(b){case"last":{w.reverse();break}case"prev":case"next":{b==="prev"&&w.reverse();const x=w.indexOf(m);w=r.value?_0e(w,x+1):w.slice(x+1);break}}nt(()=>{ZS(w)})}}),d=L(()=>n.value===y(l));return Rt(EV,{rovingFocusGroupItemRef:s,tabIndex:L(()=>y(d)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:f}),{id:l,handleKeydown:f,handleFocus:c,handleMousedown:u}}});function A0e(e,t,n,r,a,i){const o=se("el-roving-focus-collection-item");return k(),Y(o,{id:e.id,focusable:e.focusable,active:e.active},{default:M(()=>[me(e.$slots,"default")]),_:3},8,["id","focusable","active"])}var E0e=Ne(M0e,[["render",A0e],["__file","roving-focus-item.vue"]]);const U0=Oe({trigger:w1.trigger,effect:{...vr.effect,default:"light"},type:{type:he(String)},placement:{type:he(String),default:"bottom"},popperOptions:{type:he(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:he([Number,String]),default:0},maxHeight:{type:he([Number,String]),default:""},popperClass:{type:String,default:""},disabled:{type:Boolean,default:!1},role:{type:String,default:"menu"},buttonProps:{type:he(Object)},teleported:vr.teleported}),IV=Oe({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:hn}}),I0e=Oe({onKeydown:{type:he(Function)}}),D0e=[at.down,at.pageDown,at.home],DV=[at.up,at.pageUp,at.end],L0e=[...D0e,...DV],{ElCollection:P0e,ElCollectionItem:R0e,COLLECTION_INJECTION_KEY:O0e,COLLECTION_ITEM_INJECTION_KEY:N0e}=AV("Dropdown"),Oy=Symbol("elDropdown"),{ButtonGroup:$0e}=_r,V0e=te({name:"ElDropdown",components:{ElButton:_r,ElButtonGroup:$0e,ElScrollbar:$l,ElDropdownCollection:P0e,ElTooltip:Xr,ElRovingFocusGroup:z0e,ElOnlyChild:a$,ElIcon:Ze,ArrowDown:Ol},props:U0,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=xt(),r=Ee("dropdown"),{t:a}=Xt(),i=j(),o=j(),l=j(null),s=j(null),u=j(null),c=j(null),f=j(!1),d=[at.enter,at.space,at.down],h=L(()=>({maxHeight:Fn(e.maxHeight)})),v=L(()=>[r.m(x.value)]),p=L(()=>Bs(e.trigger)),g=Vr().value,m=L(()=>e.id||g);ke([i,p],([B,V],[P])=>{var W,Z,ee;(W=P==null?void 0:P.$el)!=null&&W.removeEventListener&&P.$el.removeEventListener("pointerenter",C),(Z=B==null?void 0:B.$el)!=null&&Z.removeEventListener&&B.$el.removeEventListener("pointerenter",C),(ee=B==null?void 0:B.$el)!=null&&ee.addEventListener&&V.includes("hover")&&B.$el.addEventListener("pointerenter",C)},{immediate:!0}),wn(()=>{var B,V;(V=(B=i.value)==null?void 0:B.$el)!=null&&V.removeEventListener&&i.value.$el.removeEventListener("pointerenter",C)});function b(){_()}function _(){var B;(B=l.value)==null||B.onClose()}function w(){var B;(B=l.value)==null||B.onOpen()}const x=tr();function S(...B){t("command",...B)}function C(){var B,V;(V=(B=i.value)==null?void 0:B.$el)==null||V.focus()}function T(){}function z(){const B=y(s);p.value.includes("hover")&&(B==null||B.focus()),c.value=null}function A(B){c.value=B}function E(B){f.value||(B.preventDefault(),B.stopImmediatePropagation())}function D(){t("visible-change",!0)}function $(B){(B==null?void 0:B.type)==="keydown"&&s.value.focus()}function O(){t("visible-change",!1)}return Rt(Oy,{contentRef:s,role:L(()=>e.role),triggerId:m,isUsingKeyboard:f,onItemEnter:T,onItemLeave:z}),Rt("elDropdown",{instance:n,dropdownSize:x,handleClick:b,commandHandler:S,trigger:mn(e,"trigger"),hideOnClick:mn(e,"hideOnClick")}),{t:a,ns:r,scrollbar:u,wrapStyle:h,dropdownTriggerKls:v,dropdownSize:x,triggerId:m,triggerKeys:d,currentTabId:c,handleCurrentTabIdChange:A,handlerMainButtonClick:B=>{t("click",B)},handleEntryFocus:E,handleClose:_,handleOpen:w,handleBeforeShowTooltip:D,handleShowTooltip:$,handleBeforeHideTooltip:O,onFocusAfterTrapped:B=>{var V,P;B.preventDefault(),(P=(V=s.value)==null?void 0:V.focus)==null||P.call(V,{preventScroll:!0})},popperRef:l,contentRef:s,triggeringElementRef:i,referenceElementRef:o}}});function B0e(e,t,n,r,a,i){var o;const l=se("el-dropdown-collection"),s=se("el-roving-focus-group"),u=se("el-scrollbar"),c=se("el-only-child"),f=se("el-tooltip"),d=se("el-button"),h=se("arrow-down"),v=se("el-icon"),p=se("el-button-group");return k(),F("div",{class:q([e.ns.b(),e.ns.is("disabled",e.disabled)])},[I(f,{ref:"popperRef",role:e.role,effect:e.effect,"fallback-placements":["bottom","top"],"popper-options":e.popperOptions,"gpu-acceleration":!1,"hide-after":e.trigger==="hover"?e.hideTimeout:0,"manual-mode":!0,placement:e.placement,"popper-class":[e.ns.e("popper"),e.popperClass],"reference-element":(o=e.referenceElementRef)==null?void 0:o.$el,trigger:e.trigger,"trigger-keys":e.triggerKeys,"trigger-target-el":e.contentRef,"show-after":e.trigger==="hover"?e.showTimeout:0,"stop-popper-mouse-event":!1,"virtual-ref":e.triggeringElementRef,"virtual-triggering":e.splitButton,disabled:e.disabled,transition:`${e.ns.namespace.value}-zoom-in-top`,teleported:e.teleported,pure:"",persistent:"",onBeforeShow:e.handleBeforeShowTooltip,onShow:e.handleShowTooltip,onBeforeHide:e.handleBeforeHideTooltip},_l({content:M(()=>[I(u,{ref:"scrollbar","wrap-style":e.wrapStyle,tag:"div","view-class":e.ns.e("list")},{default:M(()=>[I(s,{loop:e.loop,"current-tab-id":e.currentTabId,orientation:"horizontal",onCurrentTabIdChange:e.handleCurrentTabIdChange,onEntryFocus:e.handleEntryFocus},{default:M(()=>[I(l,null,{default:M(()=>[me(e.$slots,"dropdown")]),_:3})]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange","onEntryFocus"])]),_:3},8,["wrap-style","view-class"])]),_:2},[e.splitButton?void 0:{name:"default",fn:M(()=>[I(c,{id:e.triggerId,ref:"triggeringElementRef",role:"button",tabindex:e.tabindex},{default:M(()=>[me(e.$slots,"default")]),_:3},8,["id","tabindex"])])}]),1032,["role","effect","popper-options","hide-after","placement","popper-class","reference-element","trigger","trigger-keys","trigger-target-el","show-after","virtual-ref","virtual-triggering","disabled","transition","teleported","onBeforeShow","onShow","onBeforeHide"]),e.splitButton?(k(),Y(p,{key:0},{default:M(()=>[I(d,Pt({ref:"referenceElementRef"},e.buttonProps,{size:e.dropdownSize,type:e.type,disabled:e.disabled,tabindex:e.tabindex,onClick:e.handlerMainButtonClick}),{default:M(()=>[me(e.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),I(d,Pt({id:e.triggerId,ref:"triggeringElementRef"},e.buttonProps,{role:"button",size:e.dropdownSize,type:e.type,class:e.ns.e("caret-button"),disabled:e.disabled,tabindex:e.tabindex,"aria-label":e.t("el.dropdown.toggleDropdown")}),{default:M(()=>[I(v,{class:q(e.ns.e("icon"))},{default:M(()=>[I(h)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):Q("v-if",!0)],2)}var F0e=Ne(V0e,[["render",B0e],["__file","dropdown.vue"]]);const H0e=te({name:"DropdownItemImpl",components:{ElIcon:Ze},props:IV,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ee("dropdown"),{role:r}=Ye(Oy,void 0),{collectionItemRef:a}=Ye(N0e,void 0),{collectionItemRef:i}=Ye(g0e,void 0),{rovingFocusGroupItemRef:o,tabIndex:l,handleFocus:s,handleKeydown:u,handleMousedown:c}=Ye(EV,void 0),f=Ty(a,i,o),d=L(()=>r.value==="menu"?"menuitem":r.value==="navigation"?"link":"button"),h=Bn(v=>{const{code:p}=v;if(p===at.enter||p===at.space)return v.preventDefault(),v.stopImmediatePropagation(),t("clickimpl",v),!0},u);return{ns:n,itemRef:f,dataset:{[MV]:""},role:d,tabIndex:l,handleFocus:s,handleKeydown:h,handleMousedown:c}}}),j0e=["aria-disabled","tabindex","role"];function q0e(e,t,n,r,a,i){const o=se("el-icon");return k(),F(de,null,[e.divided?(k(),F("li",Pt({key:0,role:"separator",class:e.ns.bem("menu","item","divided")},e.$attrs),null,16)):Q("v-if",!0),X("li",Pt({ref:e.itemRef},{...e.dataset,...e.$attrs},{"aria-disabled":e.disabled,class:[e.ns.be("menu","item"),e.ns.is("disabled",e.disabled)],tabindex:e.tabIndex,role:e.role,onClick:t[0]||(t[0]=l=>e.$emit("clickimpl",l)),onFocus:t[1]||(t[1]=(...l)=>e.handleFocus&&e.handleFocus(...l)),onKeydown:t[2]||(t[2]=ft((...l)=>e.handleKeydown&&e.handleKeydown(...l),["self"])),onMousedown:t[3]||(t[3]=(...l)=>e.handleMousedown&&e.handleMousedown(...l)),onPointermove:t[4]||(t[4]=l=>e.$emit("pointermove",l)),onPointerleave:t[5]||(t[5]=l=>e.$emit("pointerleave",l))}),[e.icon?(k(),Y(o,{key:0},{default:M(()=>[(k(),Y(It(e.icon)))]),_:1})):Q("v-if",!0),me(e.$slots,"default")],16,j0e)],64)}var G0e=Ne(H0e,[["render",q0e],["__file","dropdown-item-impl.vue"]]);const LV=()=>{const e=Ye("elDropdown",{}),t=L(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},W0e=te({name:"ElDropdownItem",components:{ElDropdownCollectionItem:R0e,ElRovingFocusItem:E0e,ElDropdownItemImpl:G0e},inheritAttrs:!1,props:IV,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=LV(),a=xt(),i=j(null),o=L(()=>{var h,v;return(v=(h=y(i))==null?void 0:h.textContent)!=null?v:""}),{onItemEnter:l,onItemLeave:s}=Ye(Oy,void 0),u=Bn(h=>(t("pointermove",h),h.defaultPrevented),B7(h=>{if(e.disabled){s(h);return}const v=h.currentTarget;v===document.activeElement||v.contains(document.activeElement)||(l(h),h.defaultPrevented||v==null||v.focus())})),c=Bn(h=>(t("pointerleave",h),h.defaultPrevented),B7(h=>{s(h)})),f=Bn(h=>{if(!e.disabled)return t("click",h),h.type!=="keydown"&&h.defaultPrevented},h=>{var v,p,g;if(e.disabled){h.stopImmediatePropagation();return}(v=r==null?void 0:r.hideOnClick)!=null&&v.value&&((p=r.handleClick)==null||p.call(r)),(g=r.commandHandler)==null||g.call(r,e.command,a,h)}),d=L(()=>({...e,...n}));return{handleClick:f,handlePointerMove:u,handlePointerLeave:c,textContent:o,propsAndAttrs:d}}});function U0e(e,t,n,r,a,i){var o;const l=se("el-dropdown-item-impl"),s=se("el-roving-focus-item"),u=se("el-dropdown-collection-item");return k(),Y(u,{disabled:e.disabled,"text-value":(o=e.textValue)!=null?o:e.textContent},{default:M(()=>[I(s,{focusable:!e.disabled},{default:M(()=>[I(l,Pt(e.propsAndAttrs,{onPointerleave:e.handlePointerLeave,onPointermove:e.handlePointerMove,onClickimpl:e.handleClick}),{default:M(()=>[me(e.$slots,"default")]),_:3},16,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])]),_:3},8,["disabled","text-value"])}var PV=Ne(W0e,[["render",U0e],["__file","dropdown-item.vue"]]);const Y0e=te({name:"ElDropdownMenu",props:I0e,setup(e){const t=Ee("dropdown"),{_elDropdownSize:n}=LV(),r=n.value,{focusTrapRef:a,onKeydown:i}=Ye($S,void 0),{contentRef:o,role:l,triggerId:s}=Ye(Oy,void 0),{collectionRef:u,getItems:c}=Ye(O0e,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:d,tabIndex:h,onBlur:v,onFocus:p,onMousedown:g}=Ye(XS,void 0),{collectionRef:m}=Ye(KS,void 0),b=L(()=>[t.b("menu"),t.bm("menu",r==null?void 0:r.value)]),_=Ty(o,u,a,f,m),w=Bn(S=>{var C;(C=e.onKeydown)==null||C.call(e,S)},S=>{const{currentTarget:C,code:T,target:z}=S;if(C.contains(z),at.tab===T&&S.stopImmediatePropagation(),S.preventDefault(),z!==y(o)||!L0e.includes(T))return;const E=c().filter(D=>!D.disabled).map(D=>D.ref);DV.includes(T)&&E.reverse(),ZS(E)});return{size:r,rovingFocusGroupRootStyle:d,tabIndex:h,dropdownKls:b,role:l,triggerId:s,dropdownListWrapperRef:_,handleKeydown:S=>{w(S),i(S)},onBlur:v,onFocus:p,onMousedown:g}}}),K0e=["role","aria-labelledby"];function X0e(e,t,n,r,a,i){return k(),F("ul",{ref:e.dropdownListWrapperRef,class:q(e.dropdownKls),style:Be(e.rovingFocusGroupRootStyle),tabindex:-1,role:e.role,"aria-labelledby":e.triggerId,onBlur:t[0]||(t[0]=(...o)=>e.onBlur&&e.onBlur(...o)),onFocus:t[1]||(t[1]=(...o)=>e.onFocus&&e.onFocus(...o)),onKeydown:t[2]||(t[2]=ft((...o)=>e.handleKeydown&&e.handleKeydown(...o),["self"])),onMousedown:t[3]||(t[3]=ft((...o)=>e.onMousedown&&e.onMousedown(...o),["self"]))},[me(e.$slots,"default")],46,K0e)}var RV=Ne(Y0e,[["render",X0e],["__file","dropdown-menu.vue"]]);const Z0e=St(F0e,{DropdownItem:PV,DropdownMenu:RV}),J0e=On(PV),Q0e=On(RV),e2e={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},t2e=["id"],n2e=["stop-color"],r2e=["stop-color"],a2e=["id"],i2e=["stop-color"],o2e=["stop-color"],l2e=["id"],s2e={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},u2e={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},c2e={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},f2e=["fill"],d2e=["fill"],h2e={id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},v2e=["fill"],p2e=["fill"],g2e=["fill"],m2e=["fill"],y2e=["fill"],b2e={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},_2e=["fill","xlink:href"],w2e=["fill","mask"],x2e=["fill"],S2e=te({name:"ImgEmpty"}),C2e=te({...S2e,setup(e){const t=Ee("empty"),n=Vr();return(r,a)=>(k(),F("svg",e2e,[X("defs",null,[X("linearGradient",{id:`linearGradient-1-${y(n)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[X("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,n2e),X("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,r2e)],8,t2e),X("linearGradient",{id:`linearGradient-2-${y(n)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[X("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,i2e),X("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,o2e)],8,a2e),X("rect",{id:`path-3-${y(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,l2e)]),X("g",s2e,[X("g",u2e,[X("g",c2e,[X("path",{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${y(t).cssVarBlockName("fill-color-3")})`},null,8,f2e),X("polygon",{id:"Rectangle-Copy-14",fill:`var(${y(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,d2e),X("g",h2e,[X("polygon",{id:"Rectangle-Copy-10",fill:`var(${y(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,v2e),X("polygon",{id:"Rectangle-Copy-11",fill:`var(${y(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,p2e),X("rect",{id:"Rectangle-Copy-12",fill:`url(#linearGradient-1-${y(n)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,g2e),X("polygon",{id:"Rectangle-Copy-13",fill:`var(${y(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,m2e)]),X("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${y(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,y2e),X("g",b2e,[X("use",{id:"Mask",fill:`var(${y(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${y(n)}`},null,8,_2e),X("polygon",{id:"Rectangle-Copy",fill:`var(${y(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${y(n)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,w2e)]),X("polygon",{id:"Rectangle-Copy-18",fill:`var(${y(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,x2e)])])])]))}});var T2e=Ne(C2e,[["__file","img-empty.vue"]]);const k2e=Oe({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),z2e=["src"],M2e={key:1},A2e=te({name:"ElEmpty"}),E2e=te({...A2e,props:k2e,setup(e){const t=e,{t:n}=Xt(),r=Ee("empty"),a=L(()=>t.description||n("el.table.emptyText")),i=L(()=>({width:Fn(t.imageSize)}));return(o,l)=>(k(),F("div",{class:q(y(r).b())},[X("div",{class:q(y(r).e("image")),style:Be(y(i))},[o.image?(k(),F("img",{key:0,src:o.image,ondragstart:"return false"},null,8,z2e)):me(o.$slots,"image",{key:1},()=>[I(T2e)])],6),X("div",{class:q(y(r).e("description"))},[o.$slots.description?me(o.$slots,"description",{key:0}):(k(),F("p",M2e,U(y(a)),1))],2),o.$slots.default?(k(),F("div",{key:0,class:q(y(r).e("bottom"))},[me(o.$slots,"default")],2)):Q("v-if",!0)],2))}});var I2e=Ne(E2e,[["__file","empty.vue"]]);const OV=St(I2e),D2e=Oe({urlList:{type:he(Array),default:()=>Rn([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:he(String)}}),L2e={close:()=>!0,switch:e=>ot(e),rotate:e=>ot(e)},P2e=["src","crossorigin"],R2e=te({name:"ElImageViewer"}),O2e=te({...R2e,props:D2e,emits:L2e,setup(e,{expose:t,emit:n}){var r;const a=e,i={CONTAIN:{name:"contain",icon:Jf(Yae)},ORIGINAL:{name:"original",icon:Jf(vie)}},{t:o}=Xt(),l=Ee("image-viewer"),{nextZIndex:s}=Qd(),u=j(),c=j([]),f=vY(),d=j(!0),h=j(a.initialIndex),v=xn(i.CONTAIN),p=j({scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),g=j((r=a.zIndex)!=null?r:s()),m=L(()=>{const{urlList:W}=a;return W.length<=1}),b=L(()=>h.value===0),_=L(()=>h.value===a.urlList.length-1),w=L(()=>a.urlList[h.value]),x=L(()=>[l.e("btn"),l.e("prev"),l.is("disabled",!a.infinite&&b.value)]),S=L(()=>[l.e("btn"),l.e("next"),l.is("disabled",!a.infinite&&_.value)]),C=L(()=>{const{scale:W,deg:Z,offsetX:ee,offsetY:re,enableTransition:ue}=p.value;let ye=ee/W,le=re/W;switch(Z%360){case 90:case-270:[ye,le]=[le,-ye];break;case 180:case-180:[ye,le]=[-ye,-le];break;case 270:case-90:[ye,le]=[-le,ye];break}const ae={transform:`scale(${W}) rotate(${Z}deg) translate(${ye}px, ${le}px)`,transition:ue?"transform .3s":""};return v.value.name===i.CONTAIN.name&&(ae.maxWidth=ae.maxHeight="100%"),ae});function T(){A(),n("close")}function z(){const W=pc(ee=>{switch(ee.code){case at.esc:a.closeOnPressEscape&&T();break;case at.space:R();break;case at.left:B();break;case at.up:P("zoomIn");break;case at.right:V();break;case at.down:P("zoomOut");break}}),Z=pc(ee=>{const re=ee.deltaY||ee.deltaX;P(re<0?"zoomIn":"zoomOut",{zoomRate:a.zoomRate,enableTransition:!1})});f.run(()=>{Sn(document,"keydown",W),Sn(document,"wheel",Z)})}function A(){f.stop()}function E(){d.value=!1}function D(W){d.value=!1,W.target.alt=o("el.image.error")}function $(W){if(d.value||W.button!==0||!u.value)return;p.value.enableTransition=!1;const{offsetX:Z,offsetY:ee}=p.value,re=W.pageX,ue=W.pageY,ye=pc(ae=>{p.value={...p.value,offsetX:Z+ae.pageX-re,offsetY:ee+ae.pageY-ue}}),le=Sn(document,"mousemove",ye);Sn(document,"mouseup",()=>{le()}),W.preventDefault()}function O(){p.value={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function R(){if(d.value)return;const W=wd(i),Z=Object.values(i),ee=v.value.name,ue=(Z.findIndex(ye=>ye.name===ee)+1)%W.length;v.value=i[W[ue]],O()}function N(W){const Z=a.urlList.length;h.value=(W+Z)%Z}function B(){b.value&&!a.infinite||N(h.value-1)}function V(){_.value&&!a.infinite||N(h.value+1)}function P(W,Z={}){if(d.value)return;const{minScale:ee,maxScale:re}=a,{zoomRate:ue,rotateDeg:ye,enableTransition:le}={zoomRate:a.zoomRate,rotateDeg:90,enableTransition:!0,...Z};switch(W){case"zoomOut":p.value.scale>ee&&(p.value.scale=Number.parseFloat((p.value.scale/ue).toFixed(3)));break;case"zoomIn":p.value.scale<re&&(p.value.scale=Number.parseFloat((p.value.scale*ue).toFixed(3)));break;case"clockwise":p.value.deg+=ye,n("rotate",p.value.deg);break;case"anticlockwise":p.value.deg-=ye,n("rotate",p.value.deg);break}p.value.enableTransition=le}return ke(w,()=>{nt(()=>{const W=c.value[0];W!=null&&W.complete||(d.value=!0)})}),ke(h,W=>{O(),n("switch",W)}),bt(()=>{var W,Z;z(),(Z=(W=u.value)==null?void 0:W.focus)==null||Z.call(W)}),t({setActiveItem:N}),(W,Z)=>(k(),Y(Ud,{to:"body",disabled:!W.teleported},[I(ir,{name:"viewer-fade",appear:""},{default:M(()=>[X("div",{ref_key:"wrapper",ref:u,tabindex:-1,class:q(y(l).e("wrapper")),style:Be({zIndex:g.value})},[X("div",{class:q(y(l).e("mask")),onClick:Z[0]||(Z[0]=ft(ee=>W.hideOnClickModal&&T(),["self"]))},null,2),Q(" CLOSE "),X("span",{class:q([y(l).e("btn"),y(l).e("close")]),onClick:T},[I(y(Ze),null,{default:M(()=>[I(y(Xi))]),_:1})],2),Q(" ARROW "),y(m)?Q("v-if",!0):(k(),F(de,{key:0},[X("span",{class:q(y(x)),onClick:B},[I(y(Ze),null,{default:M(()=>[I(y(Hs))]),_:1})],2),X("span",{class:q(y(S)),onClick:V},[I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})],2)],64)),Q(" ACTIONS "),X("div",{class:q([y(l).e("btn"),y(l).e("actions")])},[X("div",{class:q(y(l).e("actions__inner"))},[I(y(Ze),{onClick:Z[1]||(Z[1]=ee=>P("zoomOut"))},{default:M(()=>[I(y(Eie))]),_:1}),I(y(Ze),{onClick:Z[2]||(Z[2]=ee=>P("zoomIn"))},{default:M(()=>[I(y(hN))]),_:1}),X("i",{class:q(y(l).e("actions__divider"))},null,2),I(y(Ze),{onClick:R},{default:M(()=>[(k(),Y(It(y(v).icon)))]),_:1}),X("i",{class:q(y(l).e("actions__divider"))},null,2),I(y(Ze),{onClick:Z[3]||(Z[3]=ee=>P("anticlockwise"))},{default:M(()=>[I(y(cie))]),_:1}),I(y(Ze),{onClick:Z[4]||(Z[4]=ee=>P("clockwise"))},{default:M(()=>[I(y(die))]),_:1})],2)],2),Q(" CANVAS "),X("div",{class:q(y(l).e("canvas"))},[(k(!0),F(de,null,we(W.urlList,(ee,re)=>mt((k(),F("img",{ref_for:!0,ref:ue=>c.value[re]=ue,key:ee,src:ee,style:Be(y(C)),class:q(y(l).e("img")),crossorigin:W.crossorigin,onLoad:E,onError:D,onMousedown:$},null,46,P2e)),[[en,re===h.value]])),128))],2),me(W.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var N2e=Ne(O2e,[["__file","image-viewer.vue"]]);const NV=St(N2e),$2e=Oe({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:he([String,Object])},previewSrcList:{type:he(Array),default:()=>Rn([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},crossorigin:{type:he(String)}}),V2e={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>ot(e),close:()=>!0,show:()=>!0},B2e=["src","loading","crossorigin"],F2e={key:0},H2e=te({name:"ElImage",inheritAttrs:!1}),j2e=te({...H2e,props:$2e,emits:V2e,setup(e,{emit:t}){const n=e;let r="";const{t:a}=Xt(),i=Ee("image"),o=qc(),l=vS(),s=j(),u=j(!1),c=j(!0),f=j(!1),d=j(),h=j(),v=Wt&&"loading"in HTMLImageElement.prototype;let p,g;const m=L(()=>[i.e("inner"),w.value&&i.e("preview"),c.value&&i.is("loading")]),b=L(()=>o.style),_=L(()=>{const{fit:V}=n;return Wt&&V?{objectFit:V}:{}}),w=L(()=>{const{previewSrcList:V}=n;return Array.isArray(V)&&V.length>0}),x=L(()=>{const{previewSrcList:V,initialIndex:P}=n;let W=P;return P>V.length-1&&(W=0),W}),S=L(()=>n.loading==="eager"?!1:!v&&n.loading==="lazy"||n.lazy),C=()=>{Wt&&(c.value=!0,u.value=!1,s.value=n.src)};function T(V){c.value=!1,u.value=!1,t("load",V)}function z(V){c.value=!1,u.value=!0,t("error",V)}function A(){jJ(d.value,h.value)&&(C(),$())}const E=pO(A,200,!0);async function D(){var V;if(!Wt)return;await nt();const{scrollContainer:P}=n;Si(P)?h.value=P:vt(P)&&P!==""?h.value=(V=document.querySelector(P))!=null?V:void 0:d.value&&(h.value=iS(d.value)),h.value&&(p=Sn(h,"scroll",E),setTimeout(()=>A(),100))}function $(){!Wt||!h.value||!E||(p==null||p(),h.value=void 0)}function O(V){if(V.ctrlKey){if(V.deltaY<0)return V.preventDefault(),!1;if(V.deltaY>0)return V.preventDefault(),!1}}function R(){w.value&&(g=Sn("wheel",O,{passive:!1}),r=document.body.style.overflow,document.body.style.overflow="hidden",f.value=!0,t("show"))}function N(){g==null||g(),document.body.style.overflow=r,f.value=!1,t("close")}function B(V){t("switch",V)}return ke(()=>n.src,()=>{S.value?(c.value=!0,u.value=!1,$(),D()):C()}),bt(()=>{S.value?D():C()}),(V,P)=>(k(),F("div",{ref_key:"container",ref:d,class:q([y(i).b(),V.$attrs.class]),style:Be(y(b))},[u.value?me(V.$slots,"error",{key:0},()=>[X("div",{class:q(y(i).e("error"))},U(y(a)("el.image.error")),3)]):(k(),F(de,{key:1},[s.value!==void 0?(k(),F("img",Pt({key:0},y(l),{src:s.value,loading:V.loading,style:y(_),class:y(m),crossorigin:V.crossorigin,onClick:R,onLoad:T,onError:z}),null,16,B2e)):Q("v-if",!0),c.value?(k(),F("div",{key:1,class:q(y(i).e("wrapper"))},[me(V.$slots,"placeholder",{},()=>[X("div",{class:q(y(i).e("placeholder"))},null,2)])],2)):Q("v-if",!0)],64)),y(w)?(k(),F(de,{key:2},[f.value?(k(),Y(y(NV),{key:0,"z-index":V.zIndex,"initial-index":y(x),infinite:V.infinite,"zoom-rate":V.zoomRate,"min-scale":V.minScale,"max-scale":V.maxScale,"url-list":V.previewSrcList,"hide-on-click-modal":V.hideOnClickModal,teleported:V.previewTeleported,"close-on-press-escape":V.closeOnPressEscape,onClose:N,onSwitch:B},{default:M(()=>[V.$slots.viewer?(k(),F("div",F2e,[me(V.$slots,"viewer")])):Q("v-if",!0)]),_:3},8,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","url-list","hide-on-click-modal","teleported","close-on-press-escape"])):Q("v-if",!0)],64)):Q("v-if",!0)],6))}});var q2e=Ne(j2e,[["__file","image.vue"]]);const G2e=St(q2e),W2e=Oe({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.POSITIVE_INFINITY},min:{type:Number,default:Number.NEGATIVE_INFINITY},modelValue:Number,readonly:Boolean,disabled:Boolean,size:cr,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:[String,Number,null],validator:e=>e===null||ot(e)||["min","max"].includes(e),default:null},name:String,label:String,placeholder:String,precision:{type:Number,validator:e=>e>=0&&e===Number.parseInt(`${e}`,10)},validateEvent:{type:Boolean,default:!0},...Er(["ariaLabel"])}),U2e={[Tn]:(e,t)=>t!==e,blur:e=>e instanceof FocusEvent,focus:e=>e instanceof FocusEvent,[sa]:e=>ot(e)||br(e),[Mt]:e=>ot(e)||br(e)},Y2e=["aria-label","onKeydown"],K2e=["aria-label","onKeydown"],X2e=te({name:"ElInputNumber"}),Z2e=te({...X2e,props:W2e,emits:U2e,setup(e,{expose:t,emit:n}){const r=e,{t:a}=Xt(),i=Ee("input-number"),o=j(),l=nn({currentValue:r.modelValue,userInput:null}),{formItem:s}=Qr(),u=L(()=>ot(r.modelValue)&&r.modelValue<=r.min),c=L(()=>ot(r.modelValue)&&r.modelValue>=r.max),f=L(()=>{const R=m(r.step);return Xn(r.precision)?Math.max(m(r.modelValue),R):(R>r.precision,r.precision)}),d=L(()=>r.controls&&r.controlsPosition==="right"),h=tr(),v=ma(),p=L(()=>{if(l.userInput!==null)return l.userInput;let R=l.currentValue;if(br(R))return"";if(ot(R)){if(Number.isNaN(R))return"";Xn(r.precision)||(R=R.toFixed(r.precision))}return R}),g=(R,N)=>{if(Xn(N)&&(N=f.value),N===0)return Math.round(R);let B=String(R);const V=B.indexOf(".");if(V===-1||!B.replace(".","").split("")[V+N])return R;const Z=B.length;return B.charAt(Z-1)==="5"&&(B=`${B.slice(0,Math.max(0,Z-1))}6`),Number.parseFloat(Number(B).toFixed(N))},m=R=>{if(br(R))return 0;const N=R.toString(),B=N.indexOf(".");let V=0;return B!==-1&&(V=N.length-B-1),V},b=(R,N=1)=>ot(R)?g(R+r.step*N):l.currentValue,_=()=>{if(r.readonly||v.value||c.value)return;const R=Number(p.value)||0,N=b(R);S(N),n(sa,l.currentValue),$()},w=()=>{if(r.readonly||v.value||u.value)return;const R=Number(p.value)||0,N=b(R,-1);S(N),n(sa,l.currentValue),$()},x=(R,N)=>{const{max:B,min:V,step:P,precision:W,stepStrictly:Z,valueOnClear:ee}=r;B<V&&or("InputNumber","min should not be greater than max.");let re=Number(R);if(br(R)||Number.isNaN(re))return null;if(R===""){if(ee===null)return null;re=vt(ee)?{min:V,max:B}[ee]:ee}return Z&&(re=g(Math.round(re/P)*P,W)),Xn(W)||(re=g(re,W)),(re>B||re<V)&&(re=re>B?B:V,N&&n(Mt,re)),re},S=(R,N=!0)=>{var B;const V=l.currentValue,P=x(R);if(!N){n(Mt,P);return}V===P&&R||(l.userInput=null,n(Mt,P),V!==P&&n(Tn,P,V),r.validateEvent&&((B=s==null?void 0:s.validate)==null||B.call(s,"change").catch(W=>void 0)),l.currentValue=P)},C=R=>{l.userInput=R;const N=R===""?null:Number(R);n(sa,N),S(N,!1)},T=R=>{const N=R!==""?Number(R):"";(ot(N)&&!Number.isNaN(N)||R==="")&&S(N),$(),l.userInput=null},z=()=>{var R,N;(N=(R=o.value)==null?void 0:R.focus)==null||N.call(R)},A=()=>{var R,N;(N=(R=o.value)==null?void 0:R.blur)==null||N.call(R)},E=R=>{n("focus",R)},D=R=>{var N;l.userInput=null,n("blur",R),r.validateEvent&&((N=s==null?void 0:s.validate)==null||N.call(s,"blur").catch(B=>void 0))},$=()=>{l.currentValue!==r.modelValue&&(l.currentValue=r.modelValue)},O=R=>{document.activeElement===R.target&&R.preventDefault()};return ke(()=>r.modelValue,(R,N)=>{const B=x(R,!0);l.userInput===null&&B!==N&&(l.currentValue=B)},{immediate:!0}),bt(()=>{var R;const{min:N,max:B,modelValue:V}=r,P=(R=o.value)==null?void 0:R.input;if(P.setAttribute("role","spinbutton"),Number.isFinite(B)?P.setAttribute("aria-valuemax",String(B)):P.removeAttribute("aria-valuemax"),Number.isFinite(N)?P.setAttribute("aria-valuemin",String(N)):P.removeAttribute("aria-valuemin"),P.setAttribute("aria-valuenow",l.currentValue||l.currentValue===0?String(l.currentValue):""),P.setAttribute("aria-disabled",String(v.value)),!ot(V)&&V!=null){let W=Number(V);Number.isNaN(W)&&(W=null),n(Mt,W)}P.addEventListener("wheel",O,{passive:!1})}),Ll(()=>{var R,N;const B=(R=o.value)==null?void 0:R.input;B==null||B.setAttribute("aria-valuenow",`${(N=l.currentValue)!=null?N:""}`)}),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-input-number",ref:"https://element-plus.org/en-US/component/input-number.html"},L(()=>!!r.label)),t({focus:z,blur:A}),(R,N)=>(k(),F("div",{class:q([y(i).b(),y(i).m(y(h)),y(i).is("disabled",y(v)),y(i).is("without-controls",!R.controls),y(i).is("controls-right",y(d))]),onDragstart:N[0]||(N[0]=ft(()=>{},["prevent"]))},[R.controls?mt((k(),F("span",{key:0,role:"button","aria-label":y(a)("el.inputNumber.decrease"),class:q([y(i).e("decrease"),y(i).is("disabled",y(u))]),onKeydown:fn(w,["enter"])},[me(R.$slots,"decrease-icon",{},()=>[I(y(Ze),null,{default:M(()=>[y(d)?(k(),Y(y(Ol),{key:0})):(k(),Y(y(eie),{key:1}))]),_:1})])],42,Y2e)),[[y(G2),w]]):Q("v-if",!0),R.controls?mt((k(),F("span",{key:1,role:"button","aria-label":y(a)("el.inputNumber.increase"),class:q([y(i).e("increase"),y(i).is("disabled",y(c))]),onKeydown:fn(_,["enter"])},[me(R.$slots,"increase-icon",{},()=>[I(y(Ze),null,{default:M(()=>[y(d)?(k(),Y(y(oS),{key:0})):(k(),Y(y(fN),{key:1}))]),_:1})])],42,K2e)),[[y(G2),_]]):Q("v-if",!0),I(y(Ur),{id:R.id,ref_key:"input",ref:o,type:"number",step:R.step,"model-value":y(p),placeholder:R.placeholder,readonly:R.readonly,disabled:y(v),size:y(h),max:R.max,min:R.min,name:R.name,"aria-label":R.label||R.ariaLabel,"validate-event":!1,onKeydown:[fn(ft(_,["prevent"]),["up"]),fn(ft(w,["prevent"]),["down"])],onBlur:D,onFocus:E,onInput:C,onChange:T},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],34))}});var J2e=Ne(Z2e,[["__file","input-number.vue"]]);const $V=St(J2e),Q2e=Oe({type:{type:String,values:["primary","success","warning","info","danger","default"],default:"default"},underline:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:hn}}),eme={click:e=>e instanceof MouseEvent},tme=["href","target"],nme=te({name:"ElLink"}),rme=te({...nme,props:Q2e,emits:eme,setup(e,{emit:t}){const n=e,r=Ee("link"),a=L(()=>[r.b(),r.m(n.type),r.is("disabled",n.disabled),r.is("underline",n.underline&&!n.disabled)]);function i(o){n.disabled||t("click",o)}return(o,l)=>(k(),F("a",{class:q(y(a)),href:o.disabled||!o.href?void 0:o.href,target:o.disabled||!o.href?void 0:o.target,onClick:i},[o.icon?(k(),Y(y(Ze),{key:0},{default:M(()=>[(k(),Y(It(o.icon)))]),_:1})):Q("v-if",!0),o.$slots.default?(k(),F("span",{key:1,class:q(y(r).e("inner"))},[me(o.$slots,"default")],2)):Q("v-if",!0),o.$slots.icon?me(o.$slots,"icon",{key:2}):Q("v-if",!0)],10,tme))}});var ame=Ne(rme,[["__file","link.vue"]]);const ime=St(ame);let ome=class{constructor(t,n){this.parent=t,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",r=>{let a=!1;switch(r.code){case at.down:{this.gotoSubIndex(this.subIndex+1),a=!0;break}case at.up:{this.gotoSubIndex(this.subIndex-1),a=!0;break}case at.tab:{L0(t,"mouseleave");break}case at.enter:case at.space:{a=!0,r.currentTarget.click();break}}return a&&(r.preventDefault(),r.stopPropagation()),!1})})}},lme=class{constructor(t,n){this.domNode=t,this.submenu=null,this.submenu=null,this.init(n)}init(t){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${t}-menu`);n&&(this.submenu=new ome(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let n=!1;switch(t.code){case at.down:{L0(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case at.up:{L0(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case at.tab:{L0(t.currentTarget,"mouseleave");break}case at.enter:case at.space:{n=!0,t.currentTarget.click();break}}n&&t.preventDefault()})}},sme=class{constructor(t,n){this.domNode=t,this.init(n)}init(t){const n=this.domNode.childNodes;Array.from(n).forEach(r=>{r.nodeType===1&&new lme(r,t)})}};const ume=te({name:"ElMenuCollapseTransition",setup(){const e=Ee("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,r){vi(n,`${e.namespace.value}-opacity-transition`),n.style.opacity="1",r()},onAfterEnter(n){Kr(n,`${e.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),yi(n,e.m("collapse"))?(Kr(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),vi(n,e.m("collapse"))):(vi(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),Kr(n,e.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){vi(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function cme(e,t,n,r,a,i){return k(),Y(ir,Pt({mode:"out-in"},e.listeners),{default:M(()=>[me(e.$slots,"default")]),_:3},16)}var fme=Ne(ume,[["render",cme],["__file","menu-collapse-transition.vue"]]);function VV(e,t){const n=L(()=>{let a=e.parent;const i=[t.value];for(;a.type.name!=="ElMenu";)a.props.index&&i.unshift(a.props.index),a=a.parent;return i});return{parentMenu:L(()=>{let a=e.parent;for(;a&&!["ElMenu","ElSubMenu"].includes(a.type.name);)a=a.parent;return a}),indexPath:n}}function dme(e){return L(()=>{const n=e.backgroundColor;return n?new m$(n).shade(20).toString():""})}const BV=(e,t)=>{const n=Ee("menu");return L(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":dme(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},hme=Oe({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:hn},expandOpenIcon:{type:hn},collapseCloseIcon:{type:hn},collapseOpenIcon:{type:hn}}),db="ElSubMenu";var JS=te({name:db,props:hme,setup(e,{slots:t,expose:n}){const r=xt(),{indexPath:a,parentMenu:i}=VV(r,L(()=>e.index)),o=Ee("menu"),l=Ee("sub-menu"),s=Ye("rootMenu");s||or(db,"can not inject root menu");const u=Ye(`subMenu:${i.value.uid}`);u||or(db,"can not inject sub menu");const c=j({}),f=j({});let d;const h=j(!1),v=j(),p=j(null),g=L(()=>T.value==="horizontal"&&b.value?"bottom-start":"right-start"),m=L(()=>T.value==="horizontal"&&b.value||T.value==="vertical"&&!s.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?S.value?e.expandOpenIcon:e.expandCloseIcon:Ol:e.collapseCloseIcon&&e.collapseOpenIcon?S.value?e.collapseOpenIcon:e.collapseCloseIcon:la),b=L(()=>u.level===0),_=L(()=>{const W=e.teleported;return W===void 0?b.value:W}),w=L(()=>s.props.collapse?`${o.namespace.value}-zoom-in-left`:`${o.namespace.value}-zoom-in-top`),x=L(()=>T.value==="horizontal"&&b.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),S=L(()=>s.openedMenus.includes(e.index)),C=L(()=>{let W=!1;return Object.values(c.value).forEach(Z=>{Z.active&&(W=!0)}),Object.values(f.value).forEach(Z=>{Z.active&&(W=!0)}),W}),T=L(()=>s.props.mode),z=nn({index:e.index,indexPath:a,active:C}),A=BV(s.props,u.level+1),E=L(()=>{var W;return(W=e.popperOffset)!=null?W:s.props.popperOffset}),D=L(()=>{var W;return(W=e.popperClass)!=null?W:s.props.popperClass}),$=L(()=>{var W;return(W=e.showTimeout)!=null?W:s.props.showTimeout}),O=L(()=>{var W;return(W=e.hideTimeout)!=null?W:s.props.hideTimeout}),R=()=>{var W,Z,ee;return(ee=(Z=(W=p.value)==null?void 0:W.popperRef)==null?void 0:Z.popperInstanceRef)==null?void 0:ee.destroy()},N=W=>{W||R()},B=()=>{s.props.menuTrigger==="hover"&&s.props.mode==="horizontal"||s.props.collapse&&s.props.mode==="vertical"||e.disabled||s.handleSubMenuClick({index:e.index,indexPath:a.value,active:C.value})},V=(W,Z=$.value)=>{var ee;if(W.type!=="focus"){if(s.props.menuTrigger==="click"&&s.props.mode==="horizontal"||!s.props.collapse&&s.props.mode==="vertical"||e.disabled){u.mouseInChild.value=!0;return}u.mouseInChild.value=!0,d==null||d(),{stop:d}=Ac(()=>{s.openMenu(e.index,a.value)},Z),_.value&&((ee=i.value.vnode.el)==null||ee.dispatchEvent(new MouseEvent("mouseenter")))}},P=(W=!1)=>{var Z;if(s.props.menuTrigger==="click"&&s.props.mode==="horizontal"||!s.props.collapse&&s.props.mode==="vertical"){u.mouseInChild.value=!1;return}d==null||d(),u.mouseInChild.value=!1,{stop:d}=Ac(()=>!h.value&&s.closeMenu(e.index,a.value),O.value),_.value&&W&&((Z=u.handleMouseleave)==null||Z.call(u,!0))};ke(()=>s.props.collapse,W=>N(!!W));{const W=ee=>{f.value[ee.index]=ee},Z=ee=>{delete f.value[ee.index]};Rt(`subMenu:${r.uid}`,{addSubMenu:W,removeSubMenu:Z,handleMouseleave:P,mouseInChild:h,level:u.level+1})}return n({opened:S}),bt(()=>{s.addSubMenu(z),u.addSubMenu(z)}),wn(()=>{u.removeSubMenu(z),s.removeSubMenu(z)}),()=>{var W;const Z=[(W=t.title)==null?void 0:W.call(t),tt(Ze,{class:l.e("icon-arrow"),style:{transform:S.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&s.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>vt(m.value)?tt(r.appContext.components[m.value]):tt(m.value)})],ee=s.isMenuPopup?tt(Xr,{ref:p,visible:S.value,effect:"light",pure:!0,offset:E.value,showArrow:!1,persistent:!0,popperClass:D.value,placement:g.value,teleported:_.value,fallbackPlacements:x.value,transition:w.value,gpuAcceleration:!1},{content:()=>{var re;return tt("div",{class:[o.m(T.value),o.m("popup-container"),D.value],onMouseenter:ue=>V(ue,100),onMouseleave:()=>P(!0),onFocus:ue=>V(ue,100)},[tt("ul",{class:[o.b(),o.m("popup"),o.m(`popup-${g.value}`)],style:A.value},[(re=t.default)==null?void 0:re.call(t)])])},default:()=>tt("div",{class:l.e("title"),onClick:B},Z)}):tt(de,{},[tt("div",{class:l.e("title"),ref:v,onClick:B},Z),tt(Ry,{},{default:()=>{var re;return mt(tt("ul",{role:"menu",class:[o.b(),o.m("inline")],style:A.value},[(re=t.default)==null?void 0:re.call(t)]),[[en,S.value]])}})]);return tt("li",{class:[l.b(),l.is("active",C.value),l.is("opened",S.value),l.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:S.value,onMouseenter:V,onMouseleave:()=>P(),onFocus:V},[ee])}}});const vme=Oe({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:he(Array),default:()=>Rn([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:hn,default:()=>rie},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),hb=e=>Array.isArray(e)&&e.every(t=>vt(t)),pme={close:(e,t)=>vt(e)&&hb(t),open:(e,t)=>vt(e)&&hb(t),select:(e,t,n,r)=>vt(e)&&hb(t)&&zt(n)&&(r===void 0||r instanceof Promise)};var gme=te({name:"ElMenu",props:vme,emits:pme,setup(e,{emit:t,slots:n,expose:r}){const a=xt(),i=a.appContext.config.globalProperties.$router,o=j(),l=Ee("menu"),s=Ee("sub-menu"),u=j(-1),c=j(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),f=j(e.defaultActive),d=j({}),h=j({}),v=L(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),p=()=>{const O=f.value&&d.value[f.value];if(!O||e.mode==="horizontal"||e.collapse)return;O.indexPath.forEach(N=>{const B=h.value[N];B&&g(N,B.indexPath)})},g=(O,R)=>{c.value.includes(O)||(e.uniqueOpened&&(c.value=c.value.filter(N=>R.includes(N))),c.value.push(O),t("open",O,R))},m=O=>{const R=c.value.indexOf(O);R!==-1&&c.value.splice(R,1)},b=(O,R)=>{m(O),t("close",O,R)},_=({index:O,indexPath:R})=>{c.value.includes(O)?b(O,R):g(O,R)},w=O=>{(e.mode==="horizontal"||e.collapse)&&(c.value=[]);const{index:R,indexPath:N}=O;if(!(br(R)||br(N)))if(e.router&&i){const B=O.route||R,V=i.push(B).then(P=>(P||(f.value=R),P));t("select",R,N,{index:R,indexPath:N,route:B},V)}else f.value=R,t("select",R,N,{index:R,indexPath:N})},x=O=>{const R=d.value,N=R[O]||f.value&&R[f.value]||R[e.defaultActive];N?f.value=N.index:f.value=O},S=O=>{const R=getComputedStyle(O),N=Number.parseInt(R.marginLeft,10),B=Number.parseInt(R.marginRight,10);return O.offsetWidth+N+B||0},C=()=>{var O,R;if(!o.value)return-1;const N=Array.from((R=(O=o.value)==null?void 0:O.childNodes)!=null?R:[]).filter(ue=>ue.nodeName!=="#comment"&&(ue.nodeName!=="#text"||ue.nodeValue)),B=64,V=getComputedStyle(o.value),P=Number.parseInt(V.paddingLeft,10),W=Number.parseInt(V.paddingRight,10),Z=o.value.clientWidth-P-W;let ee=0,re=0;return N.forEach((ue,ye)=>{ee+=S(ue),ee<=Z-B&&(re=ye+1)}),re===N.length?-1:re},T=O=>h.value[O].indexPath,z=(O,R=33.34)=>{let N;return()=>{N&&clearTimeout(N),N=setTimeout(()=>{O()},R)}};let A=!0;const E=()=>{if(u.value===C())return;const O=()=>{u.value=-1,nt(()=>{u.value=C()})};A?O():z(O)(),A=!1};ke(()=>e.defaultActive,O=>{d.value[O]||(f.value=""),x(O)}),ke(()=>e.collapse,O=>{O&&(c.value=[])}),ke(d.value,p);let D;Or(()=>{e.mode==="horizontal"&&e.ellipsis?D=Pn(o,E).stop:D==null||D()});const $=j(!1);{const O=V=>{h.value[V.index]=V},R=V=>{delete h.value[V.index]};Rt("rootMenu",nn({props:e,openedMenus:c,items:d,subMenus:h,activeIndex:f,isMenuPopup:v,addMenuItem:V=>{d.value[V.index]=V},removeMenuItem:V=>{delete d.value[V.index]},addSubMenu:O,removeSubMenu:R,openMenu:g,closeMenu:b,handleMenuItemClick:w,handleSubMenuClick:_})),Rt(`subMenu:${a.uid}`,{addSubMenu:O,removeSubMenu:R,mouseInChild:$,level:0})}return bt(()=>{e.mode==="horizontal"&&new sme(a.vnode.el,l.namespace.value)}),r({open:R=>{const{indexPath:N}=h.value[R];N.forEach(B=>g(B,N))},close:m,handleResize:E}),()=>{var O,R;let N=(R=(O=n.default)==null?void 0:O.call(n))!=null?R:[];const B=[];if(e.mode==="horizontal"&&o.value){const Z=Is(N),ee=u.value===-1?Z:Z.slice(0,u.value),re=u.value===-1?[]:Z.slice(u.value);re!=null&&re.length&&e.ellipsis&&(N=ee,B.push(tt(JS,{index:"sub-menu-more",class:s.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>tt(Ze,{class:s.e("icon-more")},{default:()=>tt(e.ellipsisIcon)}),default:()=>re})))}const V=BV(e,0),P=e.closeOnClickOutside?[[Sl,()=>{c.value.length&&($.value||(c.value.forEach(Z=>t("close",Z,T(Z))),c.value=[]))}]]:[],W=mt(tt("ul",{key:String(e.collapse),role:"menubar",ref:o,style:V.value,class:{[l.b()]:!0,[l.m(e.mode)]:!0,[l.m("collapse")]:e.collapse}},[...N,...B]),P);return e.collapseTransition&&e.mode==="vertical"?tt(fme,()=>W):W}}});const mme=Oe({index:{type:he([String,null]),default:null},route:{type:he([String,Object])},disabled:Boolean}),yme={click:e=>vt(e.index)&&Array.isArray(e.indexPath)},vb="ElMenuItem",bme=te({name:vb,components:{ElTooltip:Xr},props:mme,emits:yme,setup(e,{emit:t}){const n=xt(),r=Ye("rootMenu"),a=Ee("menu"),i=Ee("menu-item");r||or(vb,"can not inject root menu");const{parentMenu:o,indexPath:l}=VV(n,mn(e,"index")),s=Ye(`subMenu:${o.value.uid}`);s||or(vb,"can not inject sub menu");const u=L(()=>e.index===r.activeIndex),c=nn({index:e.index,indexPath:l,active:u}),f=()=>{e.disabled||(r.handleMenuItemClick({index:e.index,indexPath:l.value,route:e.route}),t("click",c))};return bt(()=>{s.addSubMenu(c),r.addMenuItem(c)}),wn(()=>{s.removeSubMenu(c),r.removeMenuItem(c)}),{parentMenu:o,rootMenu:r,active:u,nsMenu:a,nsMenuItem:i,handleClick:f}}});function _me(e,t,n,r,a,i){const o=se("el-tooltip");return k(),F("li",{class:q([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:t[0]||(t[0]=(...l)=>e.handleClick&&e.handleClick(...l))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(k(),Y(o,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:M(()=>[me(e.$slots,"title")]),default:M(()=>[X("div",{class:q(e.nsMenu.be("tooltip","trigger"))},[me(e.$slots,"default")],2)]),_:3},8,["effect"])):(k(),F(de,{key:1},[me(e.$slots,"default"),me(e.$slots,"title")],64))],2)}var FV=Ne(bme,[["render",_me],["__file","menu-item.vue"]]);const wme={title:String},xme="ElMenuItemGroup",Sme=te({name:xme,props:wme,setup(){return{ns:Ee("menu-item-group")}}});function Cme(e,t,n,r,a,i){return k(),F("li",{class:q(e.ns.b())},[X("div",{class:q(e.ns.e("title"))},[e.$slots.title?me(e.$slots,"title",{key:1}):(k(),F(de,{key:0},[G(U(e.title),1)],64))],2),X("ul",null,[me(e.$slots,"default")])],2)}var HV=Ne(Sme,[["render",Cme],["__file","menu-item-group.vue"]]);const Tme=St(gme,{MenuItem:FV,MenuItemGroup:HV,SubMenu:JS}),kme=On(FV),zme=On(HV),Mme=On(JS),Ame=Oe({icon:{type:hn,default:()=>zae},title:String,content:{type:String,default:""}}),Eme={back:()=>!0},Ime=["aria-label"],Dme=te({name:"ElPageHeader"}),Lme=te({...Dme,props:Ame,emits:Eme,setup(e,{emit:t}){const n=Tr(),{t:r}=Xt(),a=Ee("page-header"),i=L(()=>[a.b(),{[a.m("has-breadcrumb")]:!!n.breadcrumb,[a.m("has-extra")]:!!n.extra,[a.is("contentful")]:!!n.default}]);function o(){t("back")}return(l,s)=>(k(),F("div",{class:q(y(i))},[l.$slots.breadcrumb?(k(),F("div",{key:0,class:q(y(a).e("breadcrumb"))},[me(l.$slots,"breadcrumb")],2)):Q("v-if",!0),X("div",{class:q(y(a).e("header"))},[X("div",{class:q(y(a).e("left"))},[X("div",{class:q(y(a).e("back")),role:"button",tabindex:"0",onClick:o},[l.icon||l.$slots.icon?(k(),F("div",{key:0,"aria-label":l.title||y(r)("el.pageHeader.title"),class:q(y(a).e("icon"))},[me(l.$slots,"icon",{},()=>[l.icon?(k(),Y(y(Ze),{key:0},{default:M(()=>[(k(),Y(It(l.icon)))]),_:1})):Q("v-if",!0)])],10,Ime)):Q("v-if",!0),X("div",{class:q(y(a).e("title"))},[me(l.$slots,"title",{},()=>[G(U(l.title||y(r)("el.pageHeader.title")),1)])],2)],2),I(y(zV),{direction:"vertical"}),X("div",{class:q(y(a).e("content"))},[me(l.$slots,"content",{},()=>[G(U(l.content),1)])],2)],2),l.$slots.extra?(k(),F("div",{key:0,class:q(y(a).e("extra"))},[me(l.$slots,"extra")],2)):Q("v-if",!0)],2),l.$slots.default?(k(),F("div",{key:1,class:q(y(a).e("main"))},[me(l.$slots,"default")],2)):Q("v-if",!0)],2))}});var Pme=Ne(Lme,[["__file","page-header.vue"]]);const Rme=St(Pme),jV=Symbol("elPaginationKey"),Ome=Oe({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:hn}}),Nme={click:e=>e instanceof MouseEvent},$me=["disabled","aria-label","aria-disabled"],Vme={key:0},Bme=te({name:"ElPaginationPrev"}),Fme=te({...Bme,props:Ome,emits:Nme,setup(e){const t=e,{t:n}=Xt(),r=L(()=>t.disabled||t.currentPage<=1);return(a,i)=>(k(),F("button",{type:"button",class:"btn-prev",disabled:y(r),"aria-label":a.prevText||y(n)("el.pagination.prev"),"aria-disabled":y(r),onClick:i[0]||(i[0]=o=>a.$emit("click",o))},[a.prevText?(k(),F("span",Vme,U(a.prevText),1)):(k(),Y(y(Ze),{key:1},{default:M(()=>[(k(),Y(It(a.prevIcon)))]),_:1}))],8,$me))}});var Hme=Ne(Fme,[["__file","prev.vue"]]);const jme=Oe({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:hn}}),qme=["disabled","aria-label","aria-disabled"],Gme={key:0},Wme=te({name:"ElPaginationNext"}),Ume=te({...Wme,props:jme,emits:["click"],setup(e){const t=e,{t:n}=Xt(),r=L(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(a,i)=>(k(),F("button",{type:"button",class:"btn-next",disabled:y(r),"aria-label":a.nextText||y(n)("el.pagination.next"),"aria-disabled":y(r),onClick:i[0]||(i[0]=o=>a.$emit("click",o))},[a.nextText?(k(),F("span",Gme,U(a.nextText),1)):(k(),Y(y(Ze),{key:1},{default:M(()=>[(k(),Y(It(a.nextIcon)))]),_:1}))],8,qme))}});var Yme=Ne(Ume,[["__file","next.vue"]]);const qV=Symbol("ElSelectGroup"),rh=Symbol("ElSelect");function Kme(e,t){const n=Ye(rh),r=Ye(qV,{disabled:!1}),a=L(()=>n.props.multiple?c(n.props.modelValue,e.value):c([n.props.modelValue],e.value)),i=L(()=>{if(n.props.multiple){const h=n.props.modelValue||[];return!a.value&&h.length>=n.props.multipleLimit&&n.props.multipleLimit>0}else return!1}),o=L(()=>e.label||(zt(e.value)?"":e.value)),l=L(()=>e.value||e.label||""),s=L(()=>e.disabled||t.groupDisabled||i.value),u=xt(),c=(h=[],v)=>{if(zt(e.value)){const p=n.props.valueKey;return h&&h.some(g=>dn(Wn(g,p))===Wn(v,p))}else return h&&h.includes(v)},f=()=>{!e.disabled&&!r.disabled&&(n.states.hoveringIndex=n.optionsArray.indexOf(u.proxy))},d=h=>{const v=new RegExp(aS(h),"i");t.visible=v.test(o.value)||e.created};return ke(()=>o.value,()=>{!e.created&&!n.props.remote&&n.setSelected()}),ke(()=>e.value,(h,v)=>{const{remote:p,valueKey:g}=n.props;if(Yr(h,v)||(n.onOptionDestroy(v,u.proxy),n.onOptionCreate(u.proxy)),!e.created&&!p){if(g&&zt(h)&&zt(v)&&h[g]===v[g])return;n.setSelected()}}),ke(()=>r.disabled,()=>{t.groupDisabled=r.disabled},{immediate:!0}),{select:n,currentLabel:o,currentValue:l,itemSelected:a,isDisabled:s,hoverItem:f,updateOption:d}}const Xme=te({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:Boolean},setup(e){const t=Ee("select"),n=Vr(),r=L(()=>[t.be("dropdown","item"),t.is("disabled",y(l)),t.is("selected",y(o)),t.is("hovering",y(d))]),a=nn({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:i,itemSelected:o,isDisabled:l,select:s,hoverItem:u,updateOption:c}=Kme(e,a),{visible:f,hover:d}=Ar(a),h=xt().proxy;s.onOptionCreate(h),wn(()=>{const p=h.value,{selected:g}=s.states,b=(s.props.multiple?g:[g]).some(_=>_.value===h.value);nt(()=>{s.states.cachedOptions.get(p)===h&&!b&&s.states.cachedOptions.delete(p)}),s.onOptionDestroy(p,h)});function v(){e.disabled!==!0&&a.groupDisabled!==!0&&s.handleOptionSelect(h)}return{ns:t,id:n,containerKls:r,currentLabel:i,itemSelected:o,isDisabled:l,select:s,hoverItem:u,updateOption:c,visible:f,hover:d,selectOptionClick:v,states:a}}}),Zme=["id","aria-disabled","aria-selected"];function Jme(e,t,n,r,a,i){return mt((k(),F("li",{id:e.id,class:q(e.containerKls),role:"option","aria-disabled":e.isDisabled||void 0,"aria-selected":e.itemSelected,onMouseenter:t[0]||(t[0]=(...o)=>e.hoverItem&&e.hoverItem(...o)),onClick:t[1]||(t[1]=ft((...o)=>e.selectOptionClick&&e.selectOptionClick(...o),["stop"]))},[me(e.$slots,"default",{},()=>[X("span",null,U(e.currentLabel),1)])],42,Zme)),[[en,e.visible]])}var QS=Ne(Xme,[["render",Jme],["__file","option.vue"]]);const Qme=te({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Ye(rh),t=Ee("select"),n=L(()=>e.props.popperClass),r=L(()=>e.props.multiple),a=L(()=>e.props.fitInputWidth),i=j("");function o(){var l;i.value=`${(l=e.selectRef)==null?void 0:l.offsetWidth}px`}return bt(()=>{o(),Pn(e.selectRef,o)}),{ns:t,minWidth:i,popperClass:n,isMultiple:r,isFitInputWidth:a}}});function eye(e,t,n,r,a,i){return k(),F("div",{class:q([e.ns.b("dropdown"),e.ns.is("multiple",e.isMultiple),e.popperClass]),style:Be({[e.isFitInputWidth?"width":"minWidth"]:e.minWidth})},[e.$slots.header?(k(),F("div",{key:0,class:q(e.ns.be("dropdown","header"))},[me(e.$slots,"header")],2)):Q("v-if",!0),me(e.$slots,"default"),e.$slots.footer?(k(),F("div",{key:1,class:q(e.ns.be("dropdown","footer"))},[me(e.$slots,"footer")],2)):Q("v-if",!0)],6)}var tye=Ne(Qme,[["render",eye],["__file","select-dropdown.vue"]]);function GV(e){const t=j(!1);return{handleCompositionStart:()=>{t.value=!0},handleCompositionUpdate:i=>{const o=i.target.value,l=o[o.length-1]||"";t.value=!hS(l)},handleCompositionEnd:i=>{t.value&&(t.value=!1,st(e)&&e(i))}}}const nye=11,rye=(e,t)=>{const{t:n}=Xt(),r=Vr(),a=Ee("select"),i=Ee("input"),o=nn({inputValue:"",options:new Map,cachedOptions:new Map,disabledOptions:new Map,optionValues:[],selected:e.multiple?[]:{},selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),l=j(null),s=j(null),u=j(null),c=j(null),f=j(null),d=j(null),h=j(null),v=j(null),p=j(null),g=j(null),m=j(null),b=j(null),{wrapperRef:_,isFocused:w,handleFocus:x,handleBlur:S}=Ay(f,{afterFocus(){e.automaticDropdown&&!C.value&&(C.value=!0,o.menuVisibleOnFocus=!0)},beforeBlur(je){var dt,kn;return((dt=u.value)==null?void 0:dt.isFocusInsideContent(je))||((kn=c.value)==null?void 0:kn.isFocusInsideContent(je))},afterBlur(){C.value=!1,o.menuVisibleOnFocus=!1}}),C=j(!1),T=j(),{form:z,formItem:A}=Qr(),{inputId:E}=ro(e,{formItemContext:A}),{valueOnClear:D,isEmptyValue:$}=Ey(e),O=L(()=>e.disabled||(z==null?void 0:z.disabled)),R=L(()=>e.multiple?We(e.modelValue)&&e.modelValue.length>0:!$(e.modelValue)),N=L(()=>e.clearable&&!O.value&&o.inputHovering&&R.value),B=L(()=>e.remote&&e.filterable&&!e.remoteShowSuffix?"":e.suffixIcon),V=L(()=>a.is("reverse",B.value&&C.value)),P=L(()=>(A==null?void 0:A.validateState)||""),W=L(()=>dS[P.value]),Z=L(()=>e.remote?300:0),ee=L(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&!o.inputValue&&o.options.size===0?!1:e.filterable&&o.inputValue&&o.options.size>0&&re.value===0?e.noMatchText||n("el.select.noMatch"):o.options.size===0?e.noDataText||n("el.select.noData"):null),re=L(()=>ue.value.filter(je=>je.visible).length),ue=L(()=>{const je=Array.from(o.options.values()),dt=[];return o.optionValues.forEach(kn=>{const jn=je.findIndex(oo=>oo.value===kn);jn>-1&&dt.push(je[jn])}),dt.length>=je.length?dt:je}),ye=L(()=>Array.from(o.cachedOptions.values())),le=L(()=>{const je=ue.value.filter(dt=>!dt.created).some(dt=>dt.currentLabel===o.inputValue);return e.filterable&&e.allowCreate&&o.inputValue!==""&&!je}),ae=()=>{e.filterable&&st(e.filterMethod)||e.filterable&&e.remote&&st(e.remoteMethod)||ue.value.forEach(je=>{var dt;(dt=je.updateOption)==null||dt.call(je,o.inputValue)})},ie=tr(),ve=L(()=>["small"].includes(ie.value)?"small":"default"),ce=L({get(){return C.value&&ee.value!==!1},set(je){C.value=je}}),fe=L(()=>We(e.modelValue)?e.modelValue.length===0&&!o.inputValue:e.filterable?!o.inputValue:!0),xe=L(()=>{var je;const dt=(je=e.placeholder)!=null?je:n("el.select.placeholder");return e.multiple||!R.value?dt:o.selectedLabel});ke(()=>e.modelValue,(je,dt)=>{e.multiple&&e.filterable&&!e.reserveKeyword&&(o.inputValue="",J("")),pe(),!Yr(je,dt)&&e.validateEvent&&(A==null||A.validate("change").catch(kn=>void 0))},{flush:"post",deep:!0}),ke(()=>C.value,je=>{je?J(o.inputValue):(o.inputValue="",o.previousQuery=null,o.isBeforeHide=!0),t("visible-change",je)}),ke(()=>o.options.entries(),()=>{var je;if(!Wt)return;const dt=((je=l.value)==null?void 0:je.querySelectorAll("input"))||[];(!e.filterable&&!e.defaultFirstOption&&!Xn(e.modelValue)||!Array.from(dt).includes(document.activeElement))&&pe(),e.defaultFirstOption&&(e.filterable||e.remote)&&re.value&&oe()},{flush:"post"}),ke(()=>o.hoveringIndex,je=>{ot(je)&&je>-1?T.value=ue.value[je]||{}:T.value={},ue.value.forEach(dt=>{dt.hover=T.value===dt})}),Or(()=>{o.isBeforeHide||ae()});const J=je=>{o.previousQuery!==je&&(o.previousQuery=je,e.filterable&&st(e.filterMethod)?e.filterMethod(je):e.filterable&&e.remote&&st(e.remoteMethod)&&e.remoteMethod(je),e.defaultFirstOption&&(e.filterable||e.remote)&&re.value?nt(oe):nt(ge))},oe=()=>{const je=ue.value.filter(jn=>jn.visible&&!jn.disabled&&!jn.states.groupDisabled),dt=je.find(jn=>jn.created),kn=je[0];o.hoveringIndex=qe(ue.value,dt||kn)},pe=()=>{if(e.multiple)o.selectedLabel="";else{const dt=Te(e.modelValue);o.selectedLabel=dt.currentLabel,o.selected=dt;return}const je=[];We(e.modelValue)&&e.modelValue.forEach(dt=>{je.push(Te(dt))}),o.selected=je},Te=je=>{let dt;const kn=z0(je).toLowerCase()==="object",jn=z0(je).toLowerCase()==="null",oo=z0(je).toLowerCase()==="undefined";for(let Xo=o.cachedOptions.size-1;Xo>=0;Xo--){const ba=ye.value[Xo];if(kn?Wn(ba.value,e.valueKey)===Wn(je,e.valueKey):ba.value===je){dt={value:je,currentLabel:ba.currentLabel,get isDisabled(){return ba.isDisabled}};break}}if(dt)return dt;const Ko=kn?je.label:!jn&&!oo?je:"";return{value:je,currentLabel:Ko}},ge=()=>{e.multiple?o.hoveringIndex=ue.value.findIndex(je=>o.selected.some(dt=>Yo(dt)===Yo(je))):o.hoveringIndex=ue.value.findIndex(je=>Yo(je)===Yo(o.selected))},Ae=()=>{o.selectionWidth=s.value.getBoundingClientRect().width},De=()=>{o.calculatorWidth=d.value.getBoundingClientRect().width},Pe=()=>{o.collapseItemWidth=m.value.getBoundingClientRect().width},Re=()=>{var je,dt;(dt=(je=u.value)==null?void 0:je.updatePopper)==null||dt.call(je)},Ce=()=>{var je,dt;(dt=(je=c.value)==null?void 0:je.updatePopper)==null||dt.call(je)},Ue=()=>{o.inputValue.length>0&&!C.value&&(C.value=!0),J(o.inputValue)},Je=je=>{if(o.inputValue=je.target.value,e.remote)ze();else return Ue()},ze=La(()=>{Ue()},Z.value),Ke=je=>{Yr(e.modelValue,je)||t(Tn,je)},ut=je=>rN(je,dt=>!o.disabledOptions.has(dt)),Et=je=>{if(e.multiple&&je.code!==at.delete&&je.target.value.length<=0){const dt=e.modelValue.slice(),kn=ut(dt);if(kn<0)return;const jn=dt[kn];dt.splice(kn,1),t(Mt,dt),Ke(dt),t("remove-tag",jn)}},Ct=(je,dt)=>{const kn=o.selected.indexOf(dt);if(kn>-1&&!O.value){const jn=e.modelValue.slice();jn.splice(kn,1),t(Mt,jn),Ke(jn),t("remove-tag",dt.value)}je.stopPropagation(),$n()},rt=je=>{je.stopPropagation();const dt=e.multiple?[]:D.value;if(e.multiple)for(const kn of o.selected)kn.isDisabled&&dt.push(kn.value);t(Mt,dt),Ke(dt),o.hoveringIndex=-1,C.value=!1,t("clear"),$n()},Me=je=>{if(e.multiple){const dt=(e.modelValue||[]).slice(),kn=qe(dt,je.value);kn>-1?dt.splice(kn,1):(e.multipleLimit<=0||dt.length<e.multipleLimit)&&dt.push(je.value),t(Mt,dt),Ke(dt),je.created&&J(""),e.filterable&&!e.reserveKeyword&&(o.inputValue="")}else t(Mt,je.value),Ke(je.value),C.value=!1;$n(),!C.value&&nt(()=>{Le(je)})},qe=(je=[],dt)=>{if(!zt(dt))return je.indexOf(dt);const kn=e.valueKey;let jn=-1;return je.some((oo,Ko)=>dn(Wn(oo,kn))===Wn(dt,kn)?(jn=Ko,!0):!1),jn},Le=je=>{var dt,kn,jn,oo,Ko;const of=We(je)?je[0]:je;let Xo=null;if(of!=null&&of.value){const ba=ue.value.filter(Xp=>Xp.value===of.value);ba.length>0&&(Xo=ba[0].$el)}if(u.value&&Xo){const ba=(oo=(jn=(kn=(dt=u.value)==null?void 0:dt.popperRef)==null?void 0:kn.contentRef)==null?void 0:jn.querySelector)==null?void 0:oo.call(jn,`.${a.be("dropdown","wrap")}`);ba&&sN(ba,Xo)}(Ko=b.value)==null||Ko.handleScroll()},_e=je=>{o.options.set(je.value,je),o.cachedOptions.set(je.value,je),je.disabled&&o.disabledOptions.set(je.value,je)},Ie=(je,dt)=>{o.options.get(je)===dt&&o.options.delete(je)},{handleCompositionStart:Xe,handleCompositionUpdate:be,handleCompositionEnd:Qe}=GV(je=>Je(je)),Lt=L(()=>{var je,dt;return(dt=(je=u.value)==null?void 0:je.popperRef)==null?void 0:dt.contentRef}),cn=()=>{o.isBeforeHide=!1,nt(()=>Le(o.selected))},$n=()=>{var je;(je=f.value)==null||je.focus()},hr=()=>{Yn()},Nt=je=>{rt(je)},Yn=je=>{if(C.value=!1,w.value){const dt=new FocusEvent("focus",je);nt(()=>S(dt))}},Up=()=>{o.inputValue.length>0?o.inputValue="":C.value=!1},xh=()=>{O.value||(o.menuVisibleOnFocus?o.menuVisibleOnFocus=!1:C.value=!C.value)},A3=()=>{C.value?ue.value[o.hoveringIndex]&&Me(ue.value[o.hoveringIndex]):xh()},Yo=je=>zt(je.value)?Wn(je.value,e.valueKey):je.value,Yp=L(()=>ue.value.filter(je=>je.visible).every(je=>je.disabled)),Kp=L(()=>e.multiple?e.collapseTags?o.selected.slice(0,e.maxCollapseTags):o.selected:[]),E3=L(()=>e.multiple?e.collapseTags?o.selected.slice(e.maxCollapseTags):[]:[]),uu=je=>{if(!C.value){C.value=!0;return}if(!(o.options.size===0||re.value===0)&&!Yp.value){je==="next"?(o.hoveringIndex++,o.hoveringIndex===o.options.size&&(o.hoveringIndex=0)):je==="prev"&&(o.hoveringIndex--,o.hoveringIndex<0&&(o.hoveringIndex=o.options.size-1));const dt=ue.value[o.hoveringIndex];(dt.disabled===!0||dt.states.groupDisabled===!0||!dt.visible)&&uu(je),nt(()=>Le(T.value))}},I3=()=>{if(!s.value)return 0;const je=window.getComputedStyle(s.value);return Number.parseFloat(je.gap||"6px")},D3=L(()=>{const je=I3();return{maxWidth:`${m.value&&e.maxCollapseTags===1?o.selectionWidth-o.collapseItemWidth-je:o.selectionWidth}px`}}),L3=L(()=>({maxWidth:`${o.selectionWidth}px`})),P3=L(()=>({width:`${Math.max(o.calculatorWidth,nye)}px`}));return e.multiple&&!We(e.modelValue)&&t(Mt,[]),!e.multiple&&We(e.modelValue)&&t(Mt,""),Pn(s,Ae),Pn(d,De),Pn(p,Re),Pn(_,Re),Pn(g,Ce),Pn(m,Pe),bt(()=>{pe()}),{inputId:E,contentId:r,nsSelect:a,nsInput:i,states:o,isFocused:w,expanded:C,optionsArray:ue,hoverOption:T,selectSize:ie,filteredOptionsCount:re,resetCalculatorWidth:De,updateTooltip:Re,updateTagTooltip:Ce,debouncedOnInputChange:ze,onInput:Je,deletePrevTag:Et,deleteTag:Ct,deleteSelected:rt,handleOptionSelect:Me,scrollToOption:Le,hasModelValue:R,shouldShowPlaceholder:fe,currentPlaceholder:xe,showClose:N,iconComponent:B,iconReverse:V,validateState:P,validateIcon:W,showNewOption:le,updateOptions:ae,collapseTagSize:ve,setSelected:pe,selectDisabled:O,emptyText:ee,handleCompositionStart:Xe,handleCompositionUpdate:be,handleCompositionEnd:Qe,onOptionCreate:_e,onOptionDestroy:Ie,handleMenuEnter:cn,handleFocus:x,focus:$n,blur:hr,handleBlur:S,handleClearClick:Nt,handleClickOutside:Yn,handleEsc:Up,toggleMenu:xh,selectOption:A3,getValueKey:Yo,navigateOptions:uu,dropdownMenuVisible:ce,showTagList:Kp,collapseTagList:E3,tagStyle:D3,collapseTagStyle:L3,inputStyle:P3,popperRef:Lt,inputRef:f,tooltipRef:u,tagTooltipRef:c,calculatorRef:d,prefixRef:h,suffixRef:v,selectRef:l,wrapperRef:_,selectionRef:s,scrollbarRef:b,menuRef:p,tagMenuRef:g,collapseItemRef:m}};var aye=te({name:"ElOptions",setup(e,{slots:t}){const n=Ye(rh);let r=[];return()=>{var a,i;const o=(a=t.default)==null?void 0:a.call(t),l=[];function s(u){We(u)&&u.forEach(c=>{var f,d,h,v;const p=(f=(c==null?void 0:c.type)||{})==null?void 0:f.name;p==="ElOptionGroup"?s(!vt(c.children)&&!We(c.children)&&st((d=c.children)==null?void 0:d.default)?(h=c.children)==null?void 0:h.default():c.children):p==="ElOption"?l.push((v=c.props)==null?void 0:v.value):We(c.children)&&s(c.children)})}return o.length&&s((i=o[0])==null?void 0:i.children),Yr(l,r)||(r=l,n&&(n.states.optionValues=l)),o}}});const iye=Oe({name:String,id:String,modelValue:{type:[Array,String,Number,Boolean,Object],default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:cr,effect:{type:he(String),default:"light"},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperOptions:{type:he(Object),default:()=>({})},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:vr.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:hn,default:au},fitInputWidth:Boolean,suffixIcon:{type:hn,default:Ol},tagType:{...Py.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:he(String),values:Kc,default:"bottom-start"},fallbackPlacements:{type:he(Array),default:["bottom-start","top-start","right","left"]},...th,...Er(["ariaLabel"])}),Wk="ElSelect",oye=te({name:Wk,componentName:Wk,components:{ElInput:Ur,ElSelectMenu:tye,ElOption:QS,ElOptions:aye,ElTag:x1,ElScrollbar:$l,ElTooltip:Xr,ElIcon:Ze},directives:{ClickOutside:Sl},props:iye,emits:[Mt,Tn,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=rye(e,t);return Rt(rh,nn({props:e,states:n.states,optionsArray:n.optionsArray,handleOptionSelect:n.handleOptionSelect,onOptionCreate:n.onOptionCreate,onOptionDestroy:n.onOptionDestroy,selectRef:n.selectRef,setSelected:n.setSelected})),{...n}}}),lye=["id","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],sye=["textContent"],uye={key:1};function cye(e,t,n,r,a,i){const o=se("el-tag"),l=se("el-tooltip"),s=se("el-icon"),u=se("el-option"),c=se("el-options"),f=se("el-scrollbar"),d=se("el-select-menu"),h=oy("click-outside");return mt((k(),F("div",{ref:"selectRef",class:q([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[16]||(t[16]=v=>e.states.inputHovering=!0),onMouseleave:t[17]||(t[17]=v=>e.states.inputHovering=!1),onClick:t[18]||(t[18]=ft((...v)=>e.toggleMenu&&e.toggleMenu(...v),["prevent","stop"]))},[I(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,placement:e.placement,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,pure:"",trigger:"click",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t[15]||(t[15]=v=>e.states.isBeforeHide=!1)},{default:M(()=>{var v;return[X("div",{ref:"wrapperRef",class:q([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)])},[e.$slots.prefix?(k(),F("div",{key:0,ref:"prefixRef",class:q(e.nsSelect.e("prefix"))},[me(e.$slots,"prefix")],2)):Q("v-if",!0),X("div",{ref:"selectionRef",class:q([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.states.selected.length)])},[e.multiple?me(e.$slots,"tag",{key:0},()=>[(k(!0),F(de,null,we(e.showTagList,p=>(k(),F("div",{key:e.getValueKey(p),class:q(e.nsSelect.e("selected-item"))},[I(o,{closable:!e.selectDisabled&&!p.isDisabled,size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",style:Be(e.tagStyle),onClose:g=>e.deleteTag(g,p)},{default:M(()=>[X("span",{class:q(e.nsSelect.e("tags-text"))},[me(e.$slots,"label",{label:p.currentLabel,value:p.value},()=>[G(U(p.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),e.collapseTags&&e.states.selected.length>e.maxCollapseTags?(k(),Y(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:M(()=>[X("div",{ref:"collapseItemRef",class:q(e.nsSelect.e("selected-item"))},[I(o,{closable:!1,size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",style:Be(e.collapseTagStyle)},{default:M(()=>[X("span",{class:q(e.nsSelect.e("tags-text"))}," + "+U(e.states.selected.length-e.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:M(()=>[X("div",{ref:"tagMenuRef",class:q(e.nsSelect.e("selection"))},[(k(!0),F(de,null,we(e.collapseTagList,p=>(k(),F("div",{key:e.getValueKey(p),class:q(e.nsSelect.e("selected-item"))},[I(o,{class:"in-tooltip",closable:!e.selectDisabled&&!p.isDisabled,size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",onClose:g=>e.deleteTag(g,p)},{default:M(()=>[X("span",{class:q(e.nsSelect.e("tags-text"))},[me(e.$slots,"label",{label:p.currentLabel,value:p.value},()=>[G(U(p.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):Q("v-if",!0)]):Q("v-if",!0),e.selectDisabled?Q("v-if",!0):(k(),F("div",{key:1,class:q([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[mt(X("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=p=>e.states.inputValue=p),type:"text",class:q([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,autocomplete:e.autocomplete,style:Be(e.inputStyle),role:"combobox",readonly:!e.filterable,spellcheck:"false","aria-activedescendant":((v=e.hoverOption)==null?void 0:v.id)||"","aria-controls":e.contentId,"aria-expanded":e.dropdownMenuVisible,"aria-label":e.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onFocus:t[1]||(t[1]=(...p)=>e.handleFocus&&e.handleFocus(...p)),onBlur:t[2]||(t[2]=(...p)=>e.handleBlur&&e.handleBlur(...p)),onKeydown:[t[3]||(t[3]=fn(ft(p=>e.navigateOptions("next"),["stop","prevent"]),["down"])),t[4]||(t[4]=fn(ft(p=>e.navigateOptions("prev"),["stop","prevent"]),["up"])),t[5]||(t[5]=fn(ft((...p)=>e.handleEsc&&e.handleEsc(...p),["stop","prevent"]),["esc"])),t[6]||(t[6]=fn(ft((...p)=>e.selectOption&&e.selectOption(...p),["stop","prevent"]),["enter"])),t[7]||(t[7]=fn(ft((...p)=>e.deletePrevTag&&e.deletePrevTag(...p),["stop"]),["delete"]))],onCompositionstart:t[8]||(t[8]=(...p)=>e.handleCompositionStart&&e.handleCompositionStart(...p)),onCompositionupdate:t[9]||(t[9]=(...p)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...p)),onCompositionend:t[10]||(t[10]=(...p)=>e.handleCompositionEnd&&e.handleCompositionEnd(...p)),onInput:t[11]||(t[11]=(...p)=>e.onInput&&e.onInput(...p)),onClick:t[12]||(t[12]=ft((...p)=>e.toggleMenu&&e.toggleMenu(...p),["stop"]))},null,46,lye),[[L5,e.states.inputValue]]),e.filterable?(k(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:q(e.nsSelect.e("input-calculator")),textContent:U(e.states.inputValue)},null,10,sye)):Q("v-if",!0)],2)),e.shouldShowPlaceholder?(k(),F("div",{key:2,class:q([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?me(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[X("span",null,U(e.currentPlaceholder),1)]):(k(),F("span",uye,U(e.currentPlaceholder),1))],2)):Q("v-if",!0)],2),X("div",{ref:"suffixRef",class:q(e.nsSelect.e("suffix"))},[e.iconComponent&&!e.showClose?(k(),Y(s,{key:0,class:q([e.nsSelect.e("caret"),e.nsSelect.e("icon"),e.iconReverse])},{default:M(()=>[(k(),Y(It(e.iconComponent)))]),_:1},8,["class"])):Q("v-if",!0),e.showClose&&e.clearIcon?(k(),Y(s,{key:1,class:q([e.nsSelect.e("caret"),e.nsSelect.e("icon")]),onClick:e.handleClearClick},{default:M(()=>[(k(),Y(It(e.clearIcon)))]),_:1},8,["class","onClick"])):Q("v-if",!0),e.validateState&&e.validateIcon?(k(),Y(s,{key:2,class:q([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:M(()=>[(k(),Y(It(e.validateIcon)))]),_:1},8,["class"])):Q("v-if",!0)],2)],2)]}),content:M(()=>[I(d,{ref:"menuRef"},{default:M(()=>[e.$slots.header?(k(),F("div",{key:0,class:q(e.nsSelect.be("dropdown","header")),onClick:t[13]||(t[13]=ft(()=>{},["stop"]))},[me(e.$slots,"header")],2)):Q("v-if",!0),mt(I(f,{id:e.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":e.nsSelect.be("dropdown","wrap"),"view-class":e.nsSelect.be("dropdown","list"),class:q([e.nsSelect.is("empty",e.filteredOptionsCount===0)]),role:"listbox","aria-label":e.ariaLabel,"aria-orientation":"vertical"},{default:M(()=>[e.showNewOption?(k(),Y(u,{key:0,value:e.states.inputValue,created:!0},null,8,["value"])):Q("v-if",!0),I(c,null,{default:M(()=>[me(e.$slots,"default")]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label"]),[[en,e.states.options.size>0&&!e.loading]]),e.$slots.loading&&e.loading?(k(),F("div",{key:1,class:q(e.nsSelect.be("dropdown","loading"))},[me(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(k(),F("div",{key:2,class:q(e.nsSelect.be("dropdown","empty"))},[me(e.$slots,"empty",{},()=>[X("span",null,U(e.emptyText),1)])],2)):Q("v-if",!0),e.$slots.footer?(k(),F("div",{key:3,class:q(e.nsSelect.be("dropdown","footer")),onClick:t[14]||(t[14]=ft(()=>{},["stop"]))},[me(e.$slots,"footer")],2)):Q("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-options","fallback-placements","effect","transition","persistent","onBeforeShow"])],34)),[[h,e.handleClickOutside,e.popperRef]])}var fye=Ne(oye,[["render",cye],["__file","select.vue"]]);const dye=te({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Ee("select"),n=j(null),r=xt(),a=j([]);Rt(qV,nn({...Ar(e)}));const i=L(()=>a.value.some(u=>u.visible===!0)),o=u=>{var c,f;return((c=u.type)==null?void 0:c.name)==="ElOption"&&!!((f=u.component)!=null&&f.proxy)},l=u=>{const c=Bs(u),f=[];return c.forEach(d=>{var h,v;o(d)?f.push(d.component.proxy):(h=d.children)!=null&&h.length?f.push(...l(d.children)):(v=d.component)!=null&&v.subTree&&f.push(...l(d.component.subTree))}),f},s=()=>{a.value=l(r.subTree)};return bt(()=>{s()}),mO(n,s,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:i,ns:t}}});function hye(e,t,n,r,a,i){return mt((k(),F("ul",{ref:"groupRef",class:q(e.ns.be("group","wrap"))},[X("li",{class:q(e.ns.be("group","title"))},U(e.label),3),X("li",null,[X("ul",{class:q(e.ns.b("group"))},[me(e.$slots,"default")],2)])],2)),[[en,e.visible]])}var WV=Ne(dye,[["render",hye],["__file","option-group.vue"]]);const Rc=St(fye,{Option:QS,OptionGroup:WV}),U2=On(QS),vye=On(WV),e6=()=>Ye(jV,{}),pye=Oe({pageSize:{type:Number,required:!0},pageSizes:{type:he(Array),default:()=>Rn([10,20,30,40,50,100])},popperClass:{type:String},disabled:Boolean,teleported:Boolean,size:{type:String,values:jo}}),gye=te({name:"ElPaginationSizes"}),mye=te({...gye,props:pye,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=Xt(),a=Ee("pagination"),i=e6(),o=j(n.pageSize);ke(()=>n.pageSizes,(u,c)=>{if(!Yr(u,c)&&Array.isArray(u)){const f=u.includes(n.pageSize)?n.pageSize:n.pageSizes[0];t("page-size-change",f)}}),ke(()=>n.pageSize,u=>{o.value=u});const l=L(()=>n.pageSizes);function s(u){var c;u!==o.value&&(o.value=u,(c=i.handleSizeChange)==null||c.call(i,Number(u)))}return(u,c)=>(k(),F("span",{class:q(y(a).e("sizes"))},[I(y(Rc),{"model-value":o.value,disabled:u.disabled,"popper-class":u.popperClass,size:u.size,teleported:u.teleported,"validate-event":!1,onChange:s},{default:M(()=>[(k(!0),F(de,null,we(y(l),f=>(k(),Y(y(U2),{key:f,value:f,label:f+y(r)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","size","teleported"])],2))}});var yye=Ne(mye,[["__file","sizes.vue"]]);const bye=Oe({size:{type:String,values:jo}}),_ye=["disabled"],wye=te({name:"ElPaginationJumper"}),xye=te({...wye,props:bye,setup(e){const{t}=Xt(),n=Ee("pagination"),{pageCount:r,disabled:a,currentPage:i,changeEvent:o}=e6(),l=j(),s=L(()=>{var f;return(f=l.value)!=null?f:i==null?void 0:i.value});function u(f){l.value=f?+f:""}function c(f){f=Math.trunc(+f),o==null||o(f),l.value=void 0}return(f,d)=>(k(),F("span",{class:q(y(n).e("jump")),disabled:y(a)},[X("span",{class:q([y(n).e("goto")])},U(y(t)("el.pagination.goto")),3),I(y(Ur),{size:f.size,class:q([y(n).e("editor"),y(n).is("in-pagination")]),min:1,max:y(r),disabled:y(a),"model-value":y(s),"validate-event":!1,"aria-label":y(t)("el.pagination.page"),type:"number","onUpdate:modelValue":u,onChange:c},null,8,["size","class","max","disabled","model-value","aria-label"]),X("span",{class:q([y(n).e("classifier")])},U(y(t)("el.pagination.pageClassifier")),3)],10,_ye))}});var Sye=Ne(xye,[["__file","jumper.vue"]]);const Cye=Oe({total:{type:Number,default:1e3}}),Tye=["disabled"],kye=te({name:"ElPaginationTotal"}),zye=te({...kye,props:Cye,setup(e){const{t}=Xt(),n=Ee("pagination"),{disabled:r}=e6();return(a,i)=>(k(),F("span",{class:q(y(n).e("total")),disabled:y(r)},U(y(t)("el.pagination.total",{total:a.total})),11,Tye))}});var Mye=Ne(zye,[["__file","total.vue"]]);const Aye=Oe({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),Eye=["onKeyup"],Iye=["aria-current","aria-label","tabindex"],Dye=["tabindex","aria-label"],Lye=["aria-current","aria-label","tabindex"],Pye=["tabindex","aria-label"],Rye=["aria-current","aria-label","tabindex"],Oye=te({name:"ElPaginationPager"}),Nye=te({...Oye,props:Aye,emits:["change"],setup(e,{emit:t}){const n=e,r=Ee("pager"),a=Ee("icon"),{t:i}=Xt(),o=j(!1),l=j(!1),s=j(!1),u=j(!1),c=j(!1),f=j(!1),d=L(()=>{const w=n.pagerCount,x=(w-1)/2,S=Number(n.currentPage),C=Number(n.pageCount);let T=!1,z=!1;C>w&&(S>w-x&&(T=!0),S<C-x&&(z=!0));const A=[];if(T&&!z){const E=C-(w-2);for(let D=E;D<C;D++)A.push(D)}else if(!T&&z)for(let E=2;E<w;E++)A.push(E);else if(T&&z){const E=Math.floor(w/2)-1;for(let D=S-E;D<=S+E;D++)A.push(D)}else for(let E=2;E<C;E++)A.push(E);return A}),h=L(()=>["more","btn-quickprev",a.b(),r.is("disabled",n.disabled)]),v=L(()=>["more","btn-quicknext",a.b(),r.is("disabled",n.disabled)]),p=L(()=>n.disabled?-1:0);Or(()=>{const w=(n.pagerCount-1)/2;o.value=!1,l.value=!1,n.pageCount>n.pagerCount&&(n.currentPage>n.pagerCount-w&&(o.value=!0),n.currentPage<n.pageCount-w&&(l.value=!0))});function g(w=!1){n.disabled||(w?s.value=!0:u.value=!0)}function m(w=!1){w?c.value=!0:f.value=!0}function b(w){const x=w.target;if(x.tagName.toLowerCase()==="li"&&Array.from(x.classList).includes("number")){const S=Number(x.textContent);S!==n.currentPage&&t("change",S)}else x.tagName.toLowerCase()==="li"&&Array.from(x.classList).includes("more")&&_(w)}function _(w){const x=w.target;if(x.tagName.toLowerCase()==="ul"||n.disabled)return;let S=Number(x.textContent);const C=n.pageCount,T=n.currentPage,z=n.pagerCount-2;x.className.includes("more")&&(x.className.includes("quickprev")?S=T-z:x.className.includes("quicknext")&&(S=T+z)),Number.isNaN(+S)||(S<1&&(S=1),S>C&&(S=C)),S!==T&&t("change",S)}return(w,x)=>(k(),F("ul",{class:q(y(r).b()),onClick:_,onKeyup:fn(b,["enter"])},[w.pageCount>0?(k(),F("li",{key:0,class:q([[y(r).is("active",w.currentPage===1),y(r).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===1,"aria-label":y(i)("el.pagination.currentPage",{pager:1}),tabindex:y(p)}," 1 ",10,Iye)):Q("v-if",!0),o.value?(k(),F("li",{key:1,class:q(y(h)),tabindex:y(p),"aria-label":y(i)("el.pagination.prevPages",{pager:w.pagerCount-2}),onMouseenter:x[0]||(x[0]=S=>g(!0)),onMouseleave:x[1]||(x[1]=S=>s.value=!1),onFocus:x[2]||(x[2]=S=>m(!0)),onBlur:x[3]||(x[3]=S=>c.value=!1)},[(s.value||c.value)&&!w.disabled?(k(),Y(y(xd),{key:0})):(k(),Y(y(PT),{key:1}))],42,Dye)):Q("v-if",!0),(k(!0),F(de,null,we(y(d),S=>(k(),F("li",{key:S,class:q([[y(r).is("active",w.currentPage===S),y(r).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===S,"aria-label":y(i)("el.pagination.currentPage",{pager:S}),tabindex:y(p)},U(S),11,Lye))),128)),l.value?(k(),F("li",{key:2,class:q(y(v)),tabindex:y(p),"aria-label":y(i)("el.pagination.nextPages",{pager:w.pagerCount-2}),onMouseenter:x[4]||(x[4]=S=>g()),onMouseleave:x[5]||(x[5]=S=>u.value=!1),onFocus:x[6]||(x[6]=S=>m()),onBlur:x[7]||(x[7]=S=>f.value=!1)},[(u.value||f.value)&&!w.disabled?(k(),Y(y(Sd),{key:0})):(k(),Y(y(PT),{key:1}))],42,Pye)):Q("v-if",!0),w.pageCount>1?(k(),F("li",{key:3,class:q([[y(r).is("active",w.currentPage===w.pageCount),y(r).is("disabled",w.disabled)],"number"]),"aria-current":w.currentPage===w.pageCount,"aria-label":y(i)("el.pagination.currentPage",{pager:w.pageCount}),tabindex:y(p)},U(w.pageCount),11,Rye)):Q("v-if",!0)],42,Eye))}});var $ye=Ne(Nye,[["__file","pager.vue"]]);const ea=e=>typeof e!="number",Vye=Oe({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:e=>ot(e)&&Math.trunc(e)===e&&e>4&&e<22&&e%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:he(Array),default:()=>Rn([10,20,30,40,50,100])},popperClass:{type:String,default:""},prevText:{type:String,default:""},prevIcon:{type:hn,default:()=>Hs},nextText:{type:String,default:""},nextIcon:{type:hn,default:()=>la},teleported:{type:Boolean,default:!0},small:Boolean,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean}),Bye={"update:current-page":e=>ot(e),"update:page-size":e=>ot(e),"size-change":e=>ot(e),change:(e,t)=>ot(e)&&ot(t),"current-change":e=>ot(e),"prev-click":e=>ot(e),"next-click":e=>ot(e)},Uk="ElPagination";var Fye=te({name:Uk,props:Vye,emits:Bye,setup(e,{emit:t,slots:n}){const{t:r}=Xt(),a=Ee("pagination"),i=xt().vnode.props||{},o="onUpdate:currentPage"in i||"onUpdate:current-page"in i||"onCurrentChange"in i,l="onUpdate:pageSize"in i||"onUpdate:page-size"in i||"onSizeChange"in i,s=L(()=>{if(ea(e.total)&&ea(e.pageCount)||!ea(e.currentPage)&&!o)return!1;if(e.layout.includes("sizes")){if(ea(e.pageCount)){if(!ea(e.total)&&!ea(e.pageSize)&&!l)return!1}else if(!l)return!1}return!0}),u=j(ea(e.defaultPageSize)?10:e.defaultPageSize),c=j(ea(e.defaultCurrentPage)?1:e.defaultCurrentPage),f=L({get(){return ea(e.pageSize)?u.value:e.pageSize},set(_){ea(e.pageSize)&&(u.value=_),l&&(t("update:page-size",_),t("size-change",_))}}),d=L(()=>{let _=0;return ea(e.pageCount)?ea(e.total)||(_=Math.max(1,Math.ceil(e.total/f.value))):_=e.pageCount,_}),h=L({get(){return ea(e.currentPage)?c.value:e.currentPage},set(_){let w=_;_<1?w=1:_>d.value&&(w=d.value),ea(e.currentPage)&&(c.value=w),o&&(t("update:current-page",w),t("current-change",w))}});ke(d,_=>{h.value>_&&(h.value=_)}),ke([h,f],_=>{t("change",..._)},{flush:"post"});function v(_){h.value=_}function p(_){f.value=_;const w=d.value;h.value>w&&(h.value=w)}function g(){e.disabled||(h.value-=1,t("prev-click",h.value))}function m(){e.disabled||(h.value+=1,t("next-click",h.value))}function b(_,w){_&&(_.props||(_.props={}),_.props.class=[_.props.class,w].join(" "))}return Rt(jV,{pageCount:d,disabled:L(()=>e.disabled),currentPage:h,changeEvent:v,handleSizeChange:p}),()=>{var _,w;if(!s.value)return r("el.pagination.deprecationWarning"),null;if(!e.layout||e.hideOnSinglePage&&d.value<=1)return null;const x=[],S=[],C=tt("div",{class:a.e("rightwrapper")},S),T={prev:tt(Hme,{disabled:e.disabled,currentPage:h.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:g}),jumper:tt(Sye,{size:e.small?"small":"default"}),pager:tt($ye,{currentPage:h.value,pageCount:d.value,pagerCount:e.pagerCount,onChange:v,disabled:e.disabled}),next:tt(Yme,{disabled:e.disabled,currentPage:h.value,pageCount:d.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:m}),sizes:tt(yye,{pageSize:f.value,pageSizes:e.pageSizes,popperClass:e.popperClass,disabled:e.disabled,teleported:e.teleported,size:e.small?"small":"default"}),slot:(w=(_=n==null?void 0:n.default)==null?void 0:_.call(n))!=null?w:null,total:tt(Mye,{total:ea(e.total)?0:e.total})},z=e.layout.split(",").map(E=>E.trim());let A=!1;return z.forEach(E=>{if(E==="->"){A=!0;return}A?S.push(T[E]):x.push(T[E])}),b(x[0],a.is("first")),b(x[x.length-1],a.is("last")),A&&S.length>0&&(b(S[0],a.is("first")),b(S[S.length-1],a.is("last")),x.push(C)),tt("div",{class:[a.b(),a.is("background",e.background),{[a.m("small")]:e.small}]},x)}}});const Hye=St(Fye),jye=Oe({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:M4,default:"primary"},cancelButtonType:{type:String,values:M4,default:"text"},icon:{type:hn,default:()=>sie},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1},hideAfter:{type:Number,default:200},teleported:vr.teleported,persistent:vr.persistent,width:{type:[String,Number],default:150}}),qye={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},Gye=te({name:"ElPopconfirm"}),Wye=te({...Gye,props:jye,emits:qye,setup(e,{emit:t}){const n=e,{t:r}=Xt(),a=Ee("popconfirm"),i=j(),o=()=>{var d,h;(h=(d=i.value)==null?void 0:d.onClose)==null||h.call(d)},l=L(()=>({width:Fn(n.width)})),s=d=>{t("confirm",d),o()},u=d=>{t("cancel",d),o()},c=L(()=>n.confirmButtonText||r("el.popconfirm.confirmButtonText")),f=L(()=>n.cancelButtonText||r("el.popconfirm.cancelButtonText"));return(d,h)=>(k(),Y(y(Xr),Pt({ref_key:"tooltipRef",ref:i,trigger:"click",effect:"light"},d.$attrs,{"popper-class":`${y(a).namespace.value}-popover`,"popper-style":y(l),teleported:d.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":d.hideAfter,persistent:d.persistent}),{content:M(()=>[X("div",{class:q(y(a).b())},[X("div",{class:q(y(a).e("main"))},[!d.hideIcon&&d.icon?(k(),Y(y(Ze),{key:0,class:q(y(a).e("icon")),style:Be({color:d.iconColor})},{default:M(()=>[(k(),Y(It(d.icon)))]),_:1},8,["class","style"])):Q("v-if",!0),G(" "+U(d.title),1)],2),X("div",{class:q(y(a).e("action"))},[I(y(_r),{size:"small",type:d.cancelButtonType==="text"?"":d.cancelButtonType,text:d.cancelButtonType==="text",onClick:u},{default:M(()=>[G(U(y(f)),1)]),_:1},8,["type","text"]),I(y(_r),{size:"small",type:d.confirmButtonType==="text"?"":d.confirmButtonType,text:d.confirmButtonType==="text",onClick:s},{default:M(()=>[G(U(y(c)),1)]),_:1},8,["type","text"])],2)],2)]),default:M(()=>[d.$slots.reference?me(d.$slots,"reference",{key:0}):Q("v-if",!0)]),_:3},16,["popper-class","popper-style","teleported","hide-after","persistent"]))}});var Uye=Ne(Wye,[["__file","popconfirm.vue"]]);const Yye=St(Uye),Kye=Oe({trigger:w1.trigger,placement:U0.placement,disabled:w1.disabled,visible:vr.visible,transition:vr.transition,popperOptions:U0.popperOptions,tabindex:U0.tabindex,content:vr.content,popperStyle:vr.popperStyle,popperClass:vr.popperClass,enterable:{...vr.enterable,default:!0},effect:{...vr.effect,default:"light"},teleported:vr.teleported,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),Xye={"update:visible":e=>Jn(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Zye="onUpdate:visible",Jye=te({name:"ElPopover"}),Qye=te({...Jye,props:Kye,emits:Xye,setup(e,{expose:t,emit:n}){const r=e,a=L(()=>r[Zye]),i=Ee("popover"),o=j(),l=L(()=>{var g;return(g=y(o))==null?void 0:g.popperRef}),s=L(()=>[{width:Fn(r.width)},r.popperStyle]),u=L(()=>[i.b(),r.popperClass,{[i.m("plain")]:!!r.content}]),c=L(()=>r.transition===`${i.namespace.value}-fade-in-linear`),f=()=>{var g;(g=o.value)==null||g.hide()},d=()=>{n("before-enter")},h=()=>{n("before-leave")},v=()=>{n("after-enter")},p=()=>{n("update:visible",!1),n("after-leave")};return t({popperRef:l,hide:f}),(g,m)=>(k(),Y(y(Xr),Pt({ref_key:"tooltipRef",ref:o},g.$attrs,{trigger:g.trigger,placement:g.placement,disabled:g.disabled,visible:g.visible,transition:g.transition,"popper-options":g.popperOptions,tabindex:g.tabindex,content:g.content,offset:g.offset,"show-after":g.showAfter,"hide-after":g.hideAfter,"auto-close":g.autoClose,"show-arrow":g.showArrow,"aria-label":g.title,effect:g.effect,enterable:g.enterable,"popper-class":y(u),"popper-style":y(s),teleported:g.teleported,persistent:g.persistent,"gpu-acceleration":y(c),"onUpdate:visible":y(a),onBeforeShow:d,onBeforeHide:h,onShow:v,onHide:p}),{content:M(()=>[g.title?(k(),F("div",{key:0,class:q(y(i).e("title")),role:"title"},U(g.title),3)):Q("v-if",!0),me(g.$slots,"default",{},()=>[G(U(g.content),1)])]),default:M(()=>[g.$slots.reference?me(g.$slots,"reference",{key:0}):Q("v-if",!0)]),_:3},16,["trigger","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","persistent","gpu-acceleration","onUpdate:visible"]))}});var e3e=Ne(Qye,[["__file","popover.vue"]]);const Yk=(e,t)=>{const n=t.arg||t.value,r=n==null?void 0:n.popperRef;r&&(r.triggerRef=e)};var t3e={mounted(e,t){Yk(e,t)},updated(e,t){Yk(e,t)}};const n3e="popover",UV=Die(t3e,n3e),r3e=St(e3e,{directive:UV}),a3e=Oe({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:e=>e>=0&&e<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:{type:Boolean,default:!1},duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:he(String),default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:he([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:he(Function),default:e=>`${e}%`}}),i3e=["aria-valuenow"],o3e={viewBox:"0 0 100 100"},l3e=["d","stroke","stroke-linecap","stroke-width"],s3e=["d","stroke","opacity","stroke-linecap","stroke-width"],u3e={key:0},c3e=te({name:"ElProgress"}),f3e=te({...c3e,props:a3e,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=Ee("progress"),a=L(()=>({width:`${t.percentage}%`,animationDuration:`${t.duration}s`,background:b(t.percentage)})),i=L(()=>(t.strokeWidth/t.width*100).toFixed(1)),o=L(()=>["circle","dashboard"].includes(t.type)?Number.parseInt(`${50-Number.parseFloat(i.value)/2}`,10):0),l=L(()=>{const _=o.value,w=t.type==="dashboard";return`
  71. M 50 50
  72. m 0 ${w?"":"-"}${_}
  73. a ${_} ${_} 0 1 1 0 ${w?"-":""}${_*2}
  74. a ${_} ${_} 0 1 1 0 ${w?"":"-"}${_*2}
  75. `}),s=L(()=>2*Math.PI*o.value),u=L(()=>t.type==="dashboard"?.75:1),c=L(()=>`${-1*s.value*(1-u.value)/2}px`),f=L(()=>({strokeDasharray:`${s.value*u.value}px, ${s.value}px`,strokeDashoffset:c.value})),d=L(()=>({strokeDasharray:`${s.value*u.value*(t.percentage/100)}px, ${s.value}px`,strokeDashoffset:c.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),h=L(()=>{let _;return t.color?_=b(t.percentage):_=n[t.status]||n.default,_}),v=L(()=>t.status==="warning"?Cy:t.type==="line"?t.status==="success"?lS:au:t.status==="success"?pp:Xi),p=L(()=>t.type==="line"?12+t.strokeWidth*.4:t.width*.111111+2),g=L(()=>t.format(t.percentage));function m(_){const w=100/_.length;return _.map((S,C)=>vt(S)?{color:S,percentage:(C+1)*w}:S).sort((S,C)=>S.percentage-C.percentage)}const b=_=>{var w;const{color:x}=t;if(st(x))return x(_);if(vt(x))return x;{const S=m(x);for(const C of S)if(C.percentage>_)return C.color;return(w=S[S.length-1])==null?void 0:w.color}};return(_,w)=>(k(),F("div",{class:q([y(r).b(),y(r).m(_.type),y(r).is(_.status),{[y(r).m("without-text")]:!_.showText,[y(r).m("text-inside")]:_.textInside}]),role:"progressbar","aria-valuenow":_.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[_.type==="line"?(k(),F("div",{key:0,class:q(y(r).b("bar"))},[X("div",{class:q(y(r).be("bar","outer")),style:Be({height:`${_.strokeWidth}px`})},[X("div",{class:q([y(r).be("bar","inner"),{[y(r).bem("bar","inner","indeterminate")]:_.indeterminate},{[y(r).bem("bar","inner","striped")]:_.striped},{[y(r).bem("bar","inner","striped-flow")]:_.stripedFlow}]),style:Be(y(a))},[(_.showText||_.$slots.default)&&_.textInside?(k(),F("div",{key:0,class:q(y(r).be("bar","innerText"))},[me(_.$slots,"default",{percentage:_.percentage},()=>[X("span",null,U(y(g)),1)])],2)):Q("v-if",!0)],6)],6)],2)):(k(),F("div",{key:1,class:q(y(r).b("circle")),style:Be({height:`${_.width}px`,width:`${_.width}px`})},[(k(),F("svg",o3e,[X("path",{class:q(y(r).be("circle","track")),d:y(l),stroke:`var(${y(r).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":_.strokeLinecap,"stroke-width":y(i),fill:"none",style:Be(y(f))},null,14,l3e),X("path",{class:q(y(r).be("circle","path")),d:y(l),stroke:y(h),fill:"none",opacity:_.percentage?1:0,"stroke-linecap":_.strokeLinecap,"stroke-width":y(i),style:Be(y(d))},null,14,s3e)]))],6)),(_.showText||_.$slots.default)&&!_.textInside?(k(),F("div",{key:2,class:q(y(r).e("text")),style:Be({fontSize:`${y(p)}px`})},[me(_.$slots,"default",{percentage:_.percentage},()=>[_.status?(k(),Y(y(Ze),{key:1},{default:M(()=>[(k(),Y(It(y(v))))]),_:1})):(k(),F("span",u3e,U(y(g)),1))])],6)):Q("v-if",!0)],10,i3e))}});var d3e=Ne(f3e,[["__file","progress.vue"]]);const YV=St(d3e),h3e=Oe({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:he([Array,Object]),default:()=>Rn(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:he([Array,Object]),default:()=>[sg,sg,sg]},voidIcon:{type:hn,default:()=>Sie},disabledVoidIcon:{type:hn,default:()=>sg},disabled:Boolean,allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:he(Array),default:()=>Rn(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:cr,label:{type:String,default:void 0},clearable:{type:Boolean,default:!1},...Er(["ariaLabel"])}),v3e={[Tn]:e=>ot(e),[Mt]:e=>ot(e)},p3e=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],g3e=["onMousemove","onClick"],m3e=te({name:"ElRate"}),y3e=te({...m3e,props:h3e,emits:v3e,setup(e,{expose:t,emit:n}){const r=e;function a(N,B){const V=Z=>zt(Z),P=Object.keys(B).map(Z=>+Z).filter(Z=>{const ee=B[Z];return(V(ee)?ee.excluded:!1)?N<Z:N<=Z}).sort((Z,ee)=>Z-ee),W=B[P[0]];return V(W)&&W.value||W}const i=Ye(Xc,void 0),o=Ye(Oo,void 0),l=tr(),s=Ee("rate"),{inputId:u,isLabeledByFormItem:c}=ro(r,{formItemContext:o}),f=j(r.modelValue),d=j(-1),h=j(!0),v=L(()=>[s.b(),s.m(l.value)]),p=L(()=>r.disabled||(i==null?void 0:i.disabled)),g=L(()=>s.cssVarBlock({"void-color":r.voidColor,"disabled-void-color":r.disabledVoidColor,"fill-color":w.value})),m=L(()=>{let N="";return r.showScore?N=r.scoreTemplate.replace(/\{\s*value\s*\}/,p.value?`${r.modelValue}`:`${f.value}`):r.showText&&(N=r.texts[Math.ceil(f.value)-1]),N}),b=L(()=>r.modelValue*100-Math.floor(r.modelValue)*100),_=L(()=>We(r.colors)?{[r.lowThreshold]:r.colors[0],[r.highThreshold]:{value:r.colors[1],excluded:!0},[r.max]:r.colors[2]}:r.colors),w=L(()=>{const N=a(f.value,_.value);return zt(N)?"":N}),x=L(()=>{let N="";return p.value?N=`${b.value}%`:r.allowHalf&&(N="50%"),{color:w.value,width:N}}),S=L(()=>{let N=We(r.icons)?[...r.icons]:{...r.icons};return N=Jf(N),We(N)?{[r.lowThreshold]:N[0],[r.highThreshold]:{value:N[1],excluded:!0},[r.max]:N[2]}:N}),C=L(()=>a(r.modelValue,S.value)),T=L(()=>p.value?vt(r.disabledVoidIcon)?r.disabledVoidIcon:Jf(r.disabledVoidIcon):vt(r.voidIcon)?r.voidIcon:Jf(r.voidIcon)),z=L(()=>a(f.value,S.value));function A(N){const B=p.value&&b.value>0&&N-1<r.modelValue&&N>r.modelValue,V=r.allowHalf&&h.value&&N-.5<=f.value&&N>f.value;return B||V}function E(N){r.clearable&&N===r.modelValue&&(N=0),n(Mt,N),r.modelValue!==N&&n("change",N)}function D(N){p.value||(r.allowHalf&&h.value?E(f.value):E(N))}function $(N){if(p.value)return;let B=f.value;const V=N.code;return V===at.up||V===at.right?(r.allowHalf?B+=.5:B+=1,N.stopPropagation(),N.preventDefault()):(V===at.left||V===at.down)&&(r.allowHalf?B-=.5:B-=1,N.stopPropagation(),N.preventDefault()),B=B<0?0:B,B=B>r.max?r.max:B,n(Mt,B),n("change",B),B}function O(N,B){if(!p.value){if(r.allowHalf&&B){let V=B.target;yi(V,s.e("item"))&&(V=V.querySelector(`.${s.e("icon")}`)),(V.clientWidth===0||yi(V,s.e("decimal")))&&(V=V.parentNode),h.value=B.offsetX*2<=V.clientWidth,f.value=h.value?N-.5:N}else f.value=N;d.value=N}}function R(){p.value||(r.allowHalf&&(h.value=r.modelValue!==Math.floor(r.modelValue)),f.value=r.modelValue,d.value=-1)}return ke(()=>r.modelValue,N=>{f.value=N,h.value=r.modelValue!==Math.floor(r.modelValue)}),r.modelValue||n(Mt,0),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-rate",ref:"https://element-plus.org/en-US/component/rate.html"},L(()=>!!r.label)),t({setCurrentValue:O,resetCurrentValue:R}),(N,B)=>{var V;return k(),F("div",{id:y(u),class:q([y(v),y(s).is("disabled",y(p))]),role:"slider","aria-label":y(c)?void 0:N.label||N.ariaLabel||"rating","aria-labelledby":y(c)?(V=y(o))==null?void 0:V.labelId:void 0,"aria-valuenow":f.value,"aria-valuetext":y(m)||void 0,"aria-valuemin":"0","aria-valuemax":N.max,tabindex:"0",style:Be(y(g)),onKeydown:$},[(k(!0),F(de,null,we(N.max,(P,W)=>(k(),F("span",{key:W,class:q(y(s).e("item")),onMousemove:Z=>O(P,Z),onMouseleave:R,onClick:Z=>D(P)},[I(y(Ze),{class:q([y(s).e("icon"),{hover:d.value===P},y(s).is("active",P<=f.value)])},{default:M(()=>[A(P)?Q("v-if",!0):(k(),F(de,{key:0},[mt((k(),Y(It(y(z)),null,null,512)),[[en,P<=f.value]]),mt((k(),Y(It(y(T)),null,null,512)),[[en,!(P<=f.value)]])],64)),A(P)?(k(),F(de,{key:1},[(k(),Y(It(y(T)),{class:q([y(s).em("decimal","box")])},null,8,["class"])),I(y(Ze),{style:Be(y(x)),class:q([y(s).e("icon"),y(s).e("decimal")])},{default:M(()=>[(k(),Y(It(y(C))))]),_:1},8,["style","class"])],64)):Q("v-if",!0)]),_:2},1032,["class"])],42,g3e))),128)),N.showText||N.showScore?(k(),F("span",{key:0,class:q(y(s).e("text")),style:Be({color:N.textColor})},U(y(m)),7)):Q("v-if",!0)],46,p3e)}}});var b3e=Ne(y3e,[["__file","rate.vue"]]);const _3e=St(b3e),jf={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},Kk={[jf.success]:Rae,[jf.warning]:Cy,[jf.error]:sS,[jf.info]:uS},w3e=Oe({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),x3e=te({name:"ElResult"}),S3e=te({...x3e,props:w3e,setup(e){const t=e,n=Ee("result"),r=L(()=>{const a=t.icon,i=a&&jf[a]?jf[a]:"icon-info",o=Kk[i]||Kk["icon-info"];return{class:i,component:o}});return(a,i)=>(k(),F("div",{class:q(y(n).b())},[X("div",{class:q(y(n).e("icon"))},[me(a.$slots,"icon",{},()=>[y(r).component?(k(),Y(It(y(r).component),{key:0,class:q(y(r).class)},null,8,["class"])):Q("v-if",!0)])],2),a.title||a.$slots.title?(k(),F("div",{key:0,class:q(y(n).e("title"))},[me(a.$slots,"title",{},()=>[X("p",null,U(a.title),1)])],2)):Q("v-if",!0),a.subTitle||a.$slots["sub-title"]?(k(),F("div",{key:1,class:q(y(n).e("subtitle"))},[me(a.$slots,"sub-title",{},()=>[X("p",null,U(a.subTitle),1)])],2)):Q("v-if",!0),a.$slots.extra?(k(),F("div",{key:2,class:q(y(n).e("extra"))},[me(a.$slots,"extra")],2)):Q("v-if",!0)],2))}});var C3e=Ne(S3e,[["__file","result.vue"]]);const T3e=St(C3e);var Xk=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function k3e(e,t){return!!(e===t||Xk(e)&&Xk(t))}function z3e(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!k3e(e[n],t[n]))return!1;return!0}function M3e(e,t){t===void 0&&(t=z3e);var n=null;function r(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(n&&n.lastThis===this&&t(a,n.lastArgs))return n.lastResult;var o=e.apply(this,a);return n={lastResult:o,lastArgs:a,lastThis:this},o}return r.clear=function(){n=null},r}const KV=()=>{const t=xt().proxy.$props;return L(()=>{const n=(r,a,i)=>({});return t.perfMode?_y(n):M3e(n)})},K4=50,Y2="itemRendered",K2="scroll",qf="forward",X2="backward",pi="auto",Ny="smart",C1="start",So="center",T1="end",Id="horizontal",t6="vertical",A3e="ltr",ad="rtl",k1="negative",n6="positive-ascending",r6="positive-descending",E3e={[Id]:"left",[t6]:"top"},I3e=20,D3e={[Id]:"deltaX",[t6]:"deltaY"},L3e=({atEndEdge:e,atStartEdge:t,layout:n},r)=>{let a,i=0;const o=s=>s<0&&t.value||s>0&&e.value;return{hasReachedEdge:o,onWheel:s=>{Dc(a);const u=s[D3e[n.value]];o(i)&&o(i+u)||(i+=u,bO()||s.preventDefault(),a=Fs(()=>{r(i),i=0}))}}},X4=to({type:he([Number,Function]),required:!0}),Z4=to({type:Number}),J4=to({type:Number,default:2}),P3e=to({type:String,values:["ltr","rtl"],default:"ltr"}),Q4=to({type:Number,default:0}),Z2=to({type:Number,required:!0}),XV=to({type:String,values:["horizontal","vertical"],default:t6}),ZV=Oe({className:{type:String,default:""},containerElement:{type:he([String,Object]),default:"div"},data:{type:he(Array),default:()=>Rn([])},direction:P3e,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},style:{type:he([Object,String,Array])},useIsScrolling:{type:Boolean,default:!1},width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:{type:Boolean,default:!1}}),JV=Oe({cache:J4,estimatedItemSize:Z4,layout:XV,initScrollOffset:Q4,total:Z2,itemSize:X4,...ZV}),ew={type:Number,default:6},QV={type:Number,default:0},eB={type:Number,default:2},yc=Oe({columnCache:J4,columnWidth:X4,estimatedColumnWidth:Z4,estimatedRowHeight:Z4,initScrollLeft:Q4,initScrollTop:Q4,itemKey:{type:he(Function),default:({columnIndex:e,rowIndex:t})=>`${t}:${e}`},rowCache:J4,rowHeight:X4,totalColumn:Z2,totalRow:Z2,hScrollbarSize:ew,vScrollbarSize:ew,scrollbarStartGap:QV,scrollbarEndGap:eB,role:String,...ZV}),tB=Oe({alwaysOn:Boolean,class:String,layout:XV,total:Z2,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:ew,startGap:QV,endGap:eB,visible:Boolean}),nc=(e,t)=>e<t?qf:X2,z1=e=>e===A3e||e===ad||e===Id,Zk=e=>e===ad;let cf=null;function J2(e=!1){if(cf===null||e){const t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";const r=document.createElement("div"),a=r.style;return a.width="100px",a.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?cf=r6:(t.scrollLeft=1,t.scrollLeft===0?cf=k1:cf=n6),document.body.removeChild(t),cf}return cf}function R3e({move:e,size:t,bar:n},r){const a={},i=`translate${n.axis}(${e}px)`;return a[n.size]=t,a.transform=i,a.msTransform=i,a.webkitTransform=i,r==="horizontal"?a.height="100%":a.width="100%",a}const tw=te({name:"ElVirtualScrollBar",props:tB,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=L(()=>e.startGap+e.endGap),r=Ee("virtual-scrollbar"),a=Ee("scrollbar"),i=j(),o=j();let l=null,s=null;const u=nn({isDragging:!1,traveled:0}),c=L(()=>e$[e.layout]),f=L(()=>e.clientSize-y(n)),d=L(()=>({position:"absolute",width:`${Id===e.layout?f.value:e.scrollbarSize}px`,height:`${Id===e.layout?e.scrollbarSize:f.value}px`,[E3e[e.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),h=L(()=>{const S=e.ratio,C=e.clientSize;if(S>=100)return Number.POSITIVE_INFINITY;if(S>=50)return S*C/100;const T=C/3;return Math.floor(Math.min(Math.max(S*C,I3e),T))}),v=L(()=>{if(!Number.isFinite(h.value))return{display:"none"};const S=`${h.value}px`;return R3e({bar:c.value,size:S,move:u.traveled},e.layout)}),p=L(()=>Math.floor(e.clientSize-h.value-y(n))),g=()=>{window.addEventListener("mousemove",w),window.addEventListener("mouseup",_);const S=y(o);S&&(s=document.onselectstart,document.onselectstart=()=>!1,S.addEventListener("touchmove",w),S.addEventListener("touchend",_))},m=()=>{window.removeEventListener("mousemove",w),window.removeEventListener("mouseup",_),document.onselectstart=s,s=null;const S=y(o);S&&(S.removeEventListener("touchmove",w),S.removeEventListener("touchend",_))},b=S=>{S.stopImmediatePropagation(),!(S.ctrlKey||[1,2].includes(S.button))&&(u.isDragging=!0,u[c.value.axis]=S.currentTarget[c.value.offset]-(S[c.value.client]-S.currentTarget.getBoundingClientRect()[c.value.direction]),t("start-move"),g())},_=()=>{u.isDragging=!1,u[c.value.axis]=0,t("stop-move"),m()},w=S=>{const{isDragging:C}=u;if(!C||!o.value||!i.value)return;const T=u[c.value.axis];if(!T)return;Dc(l);const z=(i.value.getBoundingClientRect()[c.value.direction]-S[c.value.client])*-1,A=o.value[c.value.offset]-T,E=z-A;l=Fs(()=>{u.traveled=Math.max(e.startGap,Math.min(E,p.value)),t("scroll",E,p.value)})},x=S=>{const C=Math.abs(S.target.getBoundingClientRect()[c.value.direction]-S[c.value.client]),T=o.value[c.value.offset]/2,z=C-T;u.traveled=Math.max(0,Math.min(z,p.value)),t("scroll",z,p.value)};return ke(()=>e.scrollFrom,S=>{u.isDragging||(u.traveled=Math.ceil(S*p.value))}),wn(()=>{m()}),()=>tt("div",{role:"presentation",ref:i,class:[r.b(),e.class,(e.alwaysOn||u.isDragging)&&"always-on"],style:d.value,onMousedown:ft(x,["stop","prevent"]),onTouchstartPrevent:b},tt("div",{ref:o,class:a.e("thumb"),style:v.value,onMousedown:b},[]))}}),nB=({name:e,getOffset:t,getItemSize:n,getItemOffset:r,getEstimatedTotalSize:a,getStartIndexForOffset:i,getStopIndexForStartIndex:o,initCache:l,clearCache:s,validateProps:u})=>te({name:e??"ElVirtualList",props:JV,emits:[Y2,K2],setup(c,{emit:f,expose:d}){u(c);const h=xt(),v=Ee("vl"),p=j(l(c,h)),g=KV(),m=j(),b=j(),_=j(),w=j({isScrolling:!1,scrollDir:"forward",scrollOffset:ot(c.initScrollOffset)?c.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:c.scrollbarAlwaysOn}),x=L(()=>{const{total:re,cache:ue}=c,{isScrolling:ye,scrollDir:le,scrollOffset:ae}=y(w);if(re===0)return[0,0,0,0];const ie=i(c,ae,y(p)),ve=o(c,ie,ae,y(p)),ce=!ye||le===X2?Math.max(1,ue):1,fe=!ye||le===qf?Math.max(1,ue):1;return[Math.max(0,ie-ce),Math.max(0,Math.min(re-1,ve+fe)),ie,ve]}),S=L(()=>a(c,y(p))),C=L(()=>z1(c.layout)),T=L(()=>[{position:"relative",[`overflow-${C.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:c.direction,height:ot(c.height)?`${c.height}px`:c.height,width:ot(c.width)?`${c.width}px`:c.width},c.style]),z=L(()=>{const re=y(S),ue=y(C);return{height:ue?"100%":`${re}px`,pointerEvents:y(w).isScrolling?"none":void 0,width:ue?`${re}px`:"100%"}}),A=L(()=>C.value?c.width:c.height),{onWheel:E}=L3e({atStartEdge:L(()=>w.value.scrollOffset<=0),atEndEdge:L(()=>w.value.scrollOffset>=S.value),layout:L(()=>c.layout)},re=>{var ue,ye;(ye=(ue=_.value).onMouseUp)==null||ye.call(ue),B(Math.min(w.value.scrollOffset+re,S.value-A.value))}),D=()=>{const{total:re}=c;if(re>0){const[ae,ie,ve,ce]=y(x);f(Y2,ae,ie,ve,ce)}const{scrollDir:ue,scrollOffset:ye,updateRequested:le}=y(w);f(K2,ue,ye,le)},$=re=>{const{clientHeight:ue,scrollHeight:ye,scrollTop:le}=re.currentTarget,ae=y(w);if(ae.scrollOffset===le)return;const ie=Math.max(0,Math.min(le,ye-ue));w.value={...ae,isScrolling:!0,scrollDir:nc(ae.scrollOffset,ie),scrollOffset:ie,updateRequested:!1},nt(W)},O=re=>{const{clientWidth:ue,scrollLeft:ye,scrollWidth:le}=re.currentTarget,ae=y(w);if(ae.scrollOffset===ye)return;const{direction:ie}=c;let ve=ye;if(ie===ad)switch(J2()){case k1:{ve=-ye;break}case r6:{ve=le-ue-ye;break}}ve=Math.max(0,Math.min(ve,le-ue)),w.value={...ae,isScrolling:!0,scrollDir:nc(ae.scrollOffset,ve),scrollOffset:ve,updateRequested:!1},nt(W)},R=re=>{y(C)?O(re):$(re),D()},N=(re,ue)=>{const ye=(S.value-A.value)/ue*re;B(Math.min(S.value-A.value,ye))},B=re=>{re=Math.max(re,0),re!==y(w).scrollOffset&&(w.value={...y(w),scrollOffset:re,scrollDir:nc(y(w).scrollOffset,re),updateRequested:!0},nt(W))},V=(re,ue=pi)=>{const{scrollOffset:ye}=y(w);re=Math.max(0,Math.min(re,c.total-1)),B(t(c,re,ue,ye,y(p)))},P=re=>{const{direction:ue,itemSize:ye,layout:le}=c,ae=g.value(s&&ye,s&&le,s&&ue);let ie;if(Ut(ae,String(re)))ie=ae[re];else{const ve=r(c,re,y(p)),ce=n(c,re,y(p)),fe=y(C),xe=ue===ad,J=fe?ve:0;ae[re]=ie={position:"absolute",left:xe?void 0:`${J}px`,right:xe?`${J}px`:void 0,top:fe?0:`${ve}px`,height:fe?"100%":`${ce}px`,width:fe?`${ce}px`:"100%"}}return ie},W=()=>{w.value.isScrolling=!1,nt(()=>{g.value(-1,null,null)})},Z=()=>{const re=m.value;re&&(re.scrollTop=0)};bt(()=>{if(!Wt)return;const{initScrollOffset:re}=c,ue=y(m);ot(re)&&ue&&(y(C)?ue.scrollLeft=re:ue.scrollTop=re),D()}),Ll(()=>{const{direction:re,layout:ue}=c,{scrollOffset:ye,updateRequested:le}=y(w),ae=y(m);if(le&&ae)if(ue===Id)if(re===ad)switch(J2()){case k1:{ae.scrollLeft=-ye;break}case n6:{ae.scrollLeft=ye;break}default:{const{clientWidth:ie,scrollWidth:ve}=ae;ae.scrollLeft=ve-ie-ye;break}}else ae.scrollLeft=ye;else ae.scrollTop=ye});const ee={ns:v,clientSize:A,estimatedTotalSize:S,windowStyle:T,windowRef:m,innerRef:b,innerStyle:z,itemsToRender:x,scrollbarRef:_,states:w,getItemStyle:P,onScroll:R,onScrollbarScroll:N,onWheel:E,scrollTo:B,scrollToItem:V,resetScrollTop:Z};return d({windowRef:m,innerRef:b,getItemStyleCache:g,scrollTo:B,scrollToItem:V,resetScrollTop:Z,states:w}),ee},render(c){var f;const{$slots:d,className:h,clientSize:v,containerElement:p,data:g,getItemStyle:m,innerElement:b,itemsToRender:_,innerStyle:w,layout:x,total:S,onScroll:C,onScrollbarScroll:T,onWheel:z,states:A,useIsScrolling:E,windowStyle:D,ns:$}=c,[O,R]=_,N=It(p),B=It(b),V=[];if(S>0)for(let ee=O;ee<=R;ee++)V.push((f=d.default)==null?void 0:f.call(d,{data:g,key:ee,index:ee,isScrolling:E?A.isScrolling:void 0,style:m(ee)}));const P=[tt(B,{style:w,ref:"innerRef"},vt(B)?V:{default:()=>V})],W=tt(tw,{ref:"scrollbarRef",clientSize:v,layout:x,onScroll:T,ratio:v*100/this.estimatedTotalSize,scrollFrom:A.scrollOffset/(this.estimatedTotalSize-v),total:S}),Z=tt(N,{class:[$.e("window"),h],style:D,onScroll:C,onWheel:z,ref:"windowRef",key:0},vt(N)?[P]:{default:()=>[P]});return tt("div",{key:0,class:[$.e("wrapper"),A.scrollbarAlwaysOn?"always-on":""]},[Z,W])}}),rB=nB({name:"ElFixedSizeList",getItemOffset:({itemSize:e},t)=>t*e,getItemSize:({itemSize:e})=>e,getEstimatedTotalSize:({total:e,itemSize:t})=>t*e,getOffset:({height:e,total:t,itemSize:n,layout:r,width:a},i,o,l)=>{const s=z1(r)?a:e,u=Math.max(0,t*n-s),c=Math.min(u,i*n),f=Math.max(0,(i+1)*n-s);switch(o===Ny&&(l>=f-s&&l<=c+s?o=pi:o=So),o){case C1:return c;case T1:return f;case So:{const d=Math.round(f+(c-f)/2);return d<Math.ceil(s/2)?0:d>u+Math.floor(s/2)?u:d}case pi:default:return l>=f&&l<=c?l:l<f?f:c}},getStartIndexForOffset:({total:e,itemSize:t},n)=>Math.max(0,Math.min(e-1,Math.floor(n/t))),getStopIndexForStartIndex:({height:e,total:t,itemSize:n,layout:r,width:a},i,o)=>{const l=i*n,s=z1(r)?a:e,u=Math.ceil((s+o-l)/n);return Math.max(0,Math.min(t-1,i+u-1))},initCache(){},clearCache:!0,validateProps(){}}),Gf=(e,t,n)=>{const{itemSize:r}=e,{items:a,lastVisitedIndex:i}=n;if(t>i){let o=0;if(i>=0){const l=a[i];o=l.offset+l.size}for(let l=i+1;l<=t;l++){const s=r(l);a[l]={offset:o,size:s},o+=s}n.lastVisitedIndex=t}return a[t]},O3e=(e,t,n)=>{const{items:r,lastVisitedIndex:a}=t;return(a>0?r[a].offset:0)>=n?aB(e,t,0,a,n):N3e(e,t,Math.max(0,a),n)},aB=(e,t,n,r,a)=>{for(;n<=r;){const i=n+Math.floor((r-n)/2),o=Gf(e,i,t).offset;if(o===a)return i;o<a?n=i+1:o>a&&(r=i-1)}return Math.max(0,n-1)},N3e=(e,t,n,r)=>{const{total:a}=e;let i=1;for(;n<a&&Gf(e,n,t).offset<r;)n+=i,i*=2;return aB(e,t,Math.floor(n/2),Math.min(n,a-1),r)},Jk=({total:e},{items:t,estimatedItemSize:n,lastVisitedIndex:r})=>{let a=0;if(r>=e&&(r=e-1),r>=0){const l=t[r];a=l.offset+l.size}const o=(e-r-1)*n;return a+o},$3e=nB({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Gf(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:Jk,getOffset:(e,t,n,r,a)=>{const{height:i,layout:o,width:l}=e,s=z1(o)?l:i,u=Gf(e,t,a),c=Jk(e,a),f=Math.max(0,Math.min(c-s,u.offset)),d=Math.max(0,u.offset-s+u.size);switch(n===Ny&&(r>=d-s&&r<=f+s?n=pi:n=So),n){case C1:return f;case T1:return d;case So:return Math.round(d+(f-d)/2);case pi:default:return r>=d&&r<=f?r:r<d?d:f}},getStartIndexForOffset:(e,t,n)=>O3e(e,n,t),getStopIndexForStartIndex:(e,t,n,r)=>{const{height:a,total:i,layout:o,width:l}=e,s=z1(o)?l:a,u=Gf(e,t,r),c=n+s;let f=u.offset+u.size,d=t;for(;d<i-1&&f<c;)d++,f+=Gf(e,d,r).size;return d},initCache({estimatedItemSize:e=K4},t){const n={items:{},estimatedItemSize:e,lastVisitedIndex:-1};return n.clearCacheAfterIndex=(r,a=!0)=>{var i,o;n.lastVisitedIndex=Math.min(n.lastVisitedIndex,r-1),(i=t.exposed)==null||i.getItemStyleCache(-1),a&&((o=t.proxy)==null||o.$forceUpdate())},n},clearCache:!1,validateProps:({itemSize:e})=>{}}),V3e=({atXEndEdge:e,atXStartEdge:t,atYEndEdge:n,atYStartEdge:r},a)=>{let i=null,o=0,l=0;const s=(c,f)=>{const d=c<=0&&t.value||c>=0&&e.value,h=f<=0&&r.value||f>=0&&n.value;return d&&h};return{hasReachedEdge:s,onWheel:c=>{Dc(i);let f=c.deltaX,d=c.deltaY;Math.abs(f)>Math.abs(d)?d=0:f=0,c.shiftKey&&d!==0&&(f=d,d=0),!(s(o,l)&&s(o+f,l+d))&&(o+=f,l+=d,c.preventDefault(),i=Fs(()=>{a(o,l),o=0,l=0}))}}},iB=({name:e,clearCache:t,getColumnPosition:n,getColumnStartIndexForOffset:r,getColumnStopIndexForStartIndex:a,getEstimatedTotalHeight:i,getEstimatedTotalWidth:o,getColumnOffset:l,getRowOffset:s,getRowPosition:u,getRowStartIndexForOffset:c,getRowStopIndexForStartIndex:f,initCache:d,injectToInstance:h,validateProps:v})=>te({name:e??"ElVirtualList",props:yc,emits:[Y2,K2],setup(p,{emit:g,expose:m,slots:b}){const _=Ee("vl");v(p);const w=xt(),x=j(d(p,w));h==null||h(w,x);const S=j(),C=j(),T=j(),z=j(null),A=j({isScrolling:!1,scrollLeft:ot(p.initScrollLeft)?p.initScrollLeft:0,scrollTop:ot(p.initScrollTop)?p.initScrollTop:0,updateRequested:!1,xAxisScrollDir:qf,yAxisScrollDir:qf}),E=KV(),D=L(()=>Number.parseInt(`${p.height}`,10)),$=L(()=>Number.parseInt(`${p.width}`,10)),O=L(()=>{const{totalColumn:ge,totalRow:Ae,columnCache:De}=p,{isScrolling:Pe,xAxisScrollDir:Re,scrollLeft:Ce}=y(A);if(ge===0||Ae===0)return[0,0,0,0];const Ue=r(p,Ce,y(x)),Je=a(p,Ue,Ce,y(x)),ze=!Pe||Re===X2?Math.max(1,De):1,Ke=!Pe||Re===qf?Math.max(1,De):1;return[Math.max(0,Ue-ze),Math.max(0,Math.min(ge-1,Je+Ke)),Ue,Je]}),R=L(()=>{const{totalColumn:ge,totalRow:Ae,rowCache:De}=p,{isScrolling:Pe,yAxisScrollDir:Re,scrollTop:Ce}=y(A);if(ge===0||Ae===0)return[0,0,0,0];const Ue=c(p,Ce,y(x)),Je=f(p,Ue,Ce,y(x)),ze=!Pe||Re===X2?Math.max(1,De):1,Ke=!Pe||Re===qf?Math.max(1,De):1;return[Math.max(0,Ue-ze),Math.max(0,Math.min(Ae-1,Je+Ke)),Ue,Je]}),N=L(()=>i(p,y(x))),B=L(()=>o(p,y(x))),V=L(()=>{var ge;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:p.direction,height:ot(p.height)?`${p.height}px`:p.height,width:ot(p.width)?`${p.width}px`:p.width},(ge=p.style)!=null?ge:{}]}),P=L(()=>{const ge=`${y(B)}px`;return{height:`${y(N)}px`,pointerEvents:y(A).isScrolling?"none":void 0,width:ge}}),W=()=>{const{totalColumn:ge,totalRow:Ae}=p;if(ge>0&&Ae>0){const[Je,ze,Ke,ut]=y(O),[Et,Ct,rt,Me]=y(R);g(Y2,{columnCacheStart:Je,columnCacheEnd:ze,rowCacheStart:Et,rowCacheEnd:Ct,columnVisibleStart:Ke,columnVisibleEnd:ut,rowVisibleStart:rt,rowVisibleEnd:Me})}const{scrollLeft:De,scrollTop:Pe,updateRequested:Re,xAxisScrollDir:Ce,yAxisScrollDir:Ue}=y(A);g(K2,{xAxisScrollDir:Ce,scrollLeft:De,yAxisScrollDir:Ue,scrollTop:Pe,updateRequested:Re})},Z=ge=>{const{clientHeight:Ae,clientWidth:De,scrollHeight:Pe,scrollLeft:Re,scrollTop:Ce,scrollWidth:Ue}=ge.currentTarget,Je=y(A);if(Je.scrollTop===Ce&&Je.scrollLeft===Re)return;let ze=Re;if(Zk(p.direction))switch(J2()){case k1:ze=-Re;break;case r6:ze=Ue-De-Re;break}A.value={...Je,isScrolling:!0,scrollLeft:ze,scrollTop:Math.max(0,Math.min(Ce,Pe-Ae)),updateRequested:!0,xAxisScrollDir:nc(Je.scrollLeft,ze),yAxisScrollDir:nc(Je.scrollTop,Ce)},nt(()=>ie()),ve(),W()},ee=(ge,Ae)=>{const De=y(D),Pe=(N.value-De)/Ae*ge;ye({scrollTop:Math.min(N.value-De,Pe)})},re=(ge,Ae)=>{const De=y($),Pe=(B.value-De)/Ae*ge;ye({scrollLeft:Math.min(B.value-De,Pe)})},{onWheel:ue}=V3e({atXStartEdge:L(()=>A.value.scrollLeft<=0),atXEndEdge:L(()=>A.value.scrollLeft>=B.value-y($)),atYStartEdge:L(()=>A.value.scrollTop<=0),atYEndEdge:L(()=>A.value.scrollTop>=N.value-y(D))},(ge,Ae)=>{var De,Pe,Re,Ce;(Pe=(De=C.value)==null?void 0:De.onMouseUp)==null||Pe.call(De),(Ce=(Re=T.value)==null?void 0:Re.onMouseUp)==null||Ce.call(Re);const Ue=y($),Je=y(D);ye({scrollLeft:Math.min(A.value.scrollLeft+ge,B.value-Ue),scrollTop:Math.min(A.value.scrollTop+Ae,N.value-Je)})}),ye=({scrollLeft:ge=A.value.scrollLeft,scrollTop:Ae=A.value.scrollTop})=>{ge=Math.max(ge,0),Ae=Math.max(Ae,0);const De=y(A);Ae===De.scrollTop&&ge===De.scrollLeft||(A.value={...De,xAxisScrollDir:nc(De.scrollLeft,ge),yAxisScrollDir:nc(De.scrollTop,Ae),scrollLeft:ge,scrollTop:Ae,updateRequested:!0},nt(()=>ie()),ve(),W())},le=(ge=0,Ae=0,De=pi)=>{const Pe=y(A);Ae=Math.max(0,Math.min(Ae,p.totalColumn-1)),ge=Math.max(0,Math.min(ge,p.totalRow-1));const Re=lN(_.namespace.value),Ce=y(x),Ue=i(p,Ce),Je=o(p,Ce);ye({scrollLeft:l(p,Ae,De,Pe.scrollLeft,Ce,Je>p.width?Re:0),scrollTop:s(p,ge,De,Pe.scrollTop,Ce,Ue>p.height?Re:0)})},ae=(ge,Ae)=>{const{columnWidth:De,direction:Pe,rowHeight:Re}=p,Ce=E.value(t&&De,t&&Re,t&&Pe),Ue=`${ge},${Ae}`;if(Ut(Ce,Ue))return Ce[Ue];{const[,Je]=n(p,Ae,y(x)),ze=y(x),Ke=Zk(Pe),[ut,Et]=u(p,ge,ze),[Ct]=n(p,Ae,ze);return Ce[Ue]={position:"absolute",left:Ke?void 0:`${Je}px`,right:Ke?`${Je}px`:void 0,top:`${Et}px`,height:`${ut}px`,width:`${Ct}px`},Ce[Ue]}},ie=()=>{A.value.isScrolling=!1,nt(()=>{E.value(-1,null,null)})};bt(()=>{if(!Wt)return;const{initScrollLeft:ge,initScrollTop:Ae}=p,De=y(S);De&&(ot(ge)&&(De.scrollLeft=ge),ot(Ae)&&(De.scrollTop=Ae)),W()});const ve=()=>{const{direction:ge}=p,{scrollLeft:Ae,scrollTop:De,updateRequested:Pe}=y(A),Re=y(S);if(Pe&&Re){if(ge===ad)switch(J2()){case k1:{Re.scrollLeft=-Ae;break}case n6:{Re.scrollLeft=Ae;break}default:{const{clientWidth:Ce,scrollWidth:Ue}=Re;Re.scrollLeft=Ue-Ce-Ae;break}}else Re.scrollLeft=Math.max(0,Ae);Re.scrollTop=Math.max(0,De)}},{resetAfterColumnIndex:ce,resetAfterRowIndex:fe,resetAfter:xe}=w.proxy;m({windowRef:S,innerRef:z,getItemStyleCache:E,scrollTo:ye,scrollToItem:le,states:A,resetAfterColumnIndex:ce,resetAfterRowIndex:fe,resetAfter:xe});const J=()=>{const{scrollbarAlwaysOn:ge,scrollbarStartGap:Ae,scrollbarEndGap:De,totalColumn:Pe,totalRow:Re}=p,Ce=y($),Ue=y(D),Je=y(B),ze=y(N),{scrollLeft:Ke,scrollTop:ut}=y(A),Et=tt(tw,{ref:C,alwaysOn:ge,startGap:Ae,endGap:De,class:_.e("horizontal"),clientSize:Ce,layout:"horizontal",onScroll:re,ratio:Ce*100/Je,scrollFrom:Ke/(Je-Ce),total:Re,visible:!0}),Ct=tt(tw,{ref:T,alwaysOn:ge,startGap:Ae,endGap:De,class:_.e("vertical"),clientSize:Ue,layout:"vertical",onScroll:ee,ratio:Ue*100/ze,scrollFrom:ut/(ze-Ue),total:Pe,visible:!0});return{horizontalScrollbar:Et,verticalScrollbar:Ct}},oe=()=>{var ge;const[Ae,De]=y(O),[Pe,Re]=y(R),{data:Ce,totalColumn:Ue,totalRow:Je,useIsScrolling:ze,itemKey:Ke}=p,ut=[];if(Je>0&&Ue>0)for(let Et=Pe;Et<=Re;Et++)for(let Ct=Ae;Ct<=De;Ct++)ut.push((ge=b.default)==null?void 0:ge.call(b,{columnIndex:Ct,data:Ce,key:Ke({columnIndex:Ct,data:Ce,rowIndex:Et}),isScrolling:ze?y(A).isScrolling:void 0,style:ae(Et,Ct),rowIndex:Et}));return ut},pe=()=>{const ge=It(p.innerElement),Ae=oe();return[tt(ge,{style:y(P),ref:z},vt(ge)?Ae:{default:()=>Ae})]};return()=>{const ge=It(p.containerElement),{horizontalScrollbar:Ae,verticalScrollbar:De}=J(),Pe=pe();return tt("div",{key:0,class:_.e("wrapper"),role:p.role},[tt(ge,{class:p.className,style:y(V),onScroll:Z,onWheel:ue,ref:S},vt(ge)?Pe:{default:()=>Pe}),Ae,De])}}}),B3e=iB({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:e},t)=>[e,t*e],getRowPosition:({rowHeight:e},t)=>[e,t*e],getEstimatedTotalHeight:({totalRow:e,rowHeight:t})=>t*e,getEstimatedTotalWidth:({totalColumn:e,columnWidth:t})=>t*e,getColumnOffset:({totalColumn:e,columnWidth:t,width:n},r,a,i,o,l)=>{n=Number(n);const s=Math.max(0,e*t-n),u=Math.min(s,r*t),c=Math.max(0,r*t-n+l+t);switch(a==="smart"&&(i>=c-n&&i<=u+n?a=pi:a=So),a){case C1:return u;case T1:return c;case So:{const f=Math.round(c+(u-c)/2);return f<Math.ceil(n/2)?0:f>s+Math.floor(n/2)?s:f}case pi:default:return i>=c&&i<=u?i:c>u||i<c?c:u}},getRowOffset:({rowHeight:e,height:t,totalRow:n},r,a,i,o,l)=>{t=Number(t);const s=Math.max(0,n*e-t),u=Math.min(s,r*e),c=Math.max(0,r*e-t+l+e);switch(a===Ny&&(i>=c-t&&i<=u+t?a=pi:a=So),a){case C1:return u;case T1:return c;case So:{const f=Math.round(c+(u-c)/2);return f<Math.ceil(t/2)?0:f>s+Math.floor(t/2)?s:f}case pi:default:return i>=c&&i<=u?i:c>u||i<c?c:u}},getColumnStartIndexForOffset:({columnWidth:e,totalColumn:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getColumnStopIndexForStartIndex:({columnWidth:e,totalColumn:t,width:n},r,a)=>{const i=r*e,o=Math.ceil((n+a-i)/e);return Math.max(0,Math.min(t-1,r+o-1))},getRowStartIndexForOffset:({rowHeight:e,totalRow:t},n)=>Math.max(0,Math.min(t-1,Math.floor(n/e))),getRowStopIndexForStartIndex:({rowHeight:e,totalRow:t,height:n},r,a)=>{const i=r*e,o=Math.ceil((n+a-i)/e);return Math.max(0,Math.min(t-1,r+o-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:e,rowHeight:t})=>{}}),{max:Q2,min:oB,floor:lB}=Math,F3e={column:"columnWidth",row:"rowHeight"},nw={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},ll=(e,t,n,r)=>{const[a,i,o]=[n[r],e[F3e[r]],n[nw[r]]];if(t>o){let l=0;if(o>=0){const s=a[o];l=s.offset+s.size}for(let s=o+1;s<=t;s++){const u=i(s);a[s]={offset:l,size:u},l+=u}n[nw[r]]=t}return a[t]},sB=(e,t,n,r,a,i)=>{for(;n<=r;){const o=n+lB((r-n)/2),l=ll(e,o,t,i).offset;if(l===a)return o;l<a?n=o+1:r=o-1}return Q2(0,n-1)},H3e=(e,t,n,r,a)=>{const i=a==="column"?e.totalColumn:e.totalRow;let o=1;for(;n<i&&ll(e,n,t,a).offset<r;)n+=o,o*=2;return sB(e,t,lB(n/2),oB(n,i-1),r,a)},Qk=(e,t,n,r)=>{const[a,i]=[t[r],t[nw[r]]];return(i>0?a[i].offset:0)>=n?sB(e,t,0,i,n,r):H3e(e,t,Q2(0,i),n,r)},uB=({totalRow:e},{estimatedRowHeight:t,lastVisitedRowIndex:n,row:r})=>{let a=0;if(n>=e&&(n=e-1),n>=0){const l=r[n];a=l.offset+l.size}const o=(e-n-1)*t;return a+o},cB=({totalColumn:e},{column:t,estimatedColumnWidth:n,lastVisitedColumnIndex:r})=>{let a=0;if(r>e&&(r=e-1),r>=0){const l=t[r];a=l.offset+l.size}const o=(e-r-1)*n;return a+o},j3e={column:cB,row:uB},ez=(e,t,n,r,a,i,o)=>{const[l,s]=[i==="row"?e.height:e.width,j3e[i]],u=ll(e,t,a,i),c=s(e,a),f=Q2(0,oB(c-l,u.offset)),d=Q2(0,u.offset-l+o+u.size);switch(n===Ny&&(r>=d-l&&r<=f+l?n=pi:n=So),n){case C1:return f;case T1:return d;case So:return Math.round(d+(f-d)/2);case pi:default:return r>=d&&r<=f?r:d>f||r<d?d:f}},q3e=iB({name:"ElDynamicSizeGrid",getColumnPosition:(e,t,n)=>{const r=ll(e,t,n,"column");return[r.size,r.offset]},getRowPosition:(e,t,n)=>{const r=ll(e,t,n,"row");return[r.size,r.offset]},getColumnOffset:(e,t,n,r,a,i)=>ez(e,t,n,r,a,"column",i),getRowOffset:(e,t,n,r,a,i)=>ez(e,t,n,r,a,"row",i),getColumnStartIndexForOffset:(e,t,n)=>Qk(e,n,t,"column"),getColumnStopIndexForStartIndex:(e,t,n,r)=>{const a=ll(e,t,r,"column"),i=n+e.width;let o=a.offset+a.size,l=t;for(;l<e.totalColumn-1&&o<i;)l++,o+=ll(e,t,r,"column").size;return l},getEstimatedTotalHeight:uB,getEstimatedTotalWidth:cB,getRowStartIndexForOffset:(e,t,n)=>Qk(e,n,t,"row"),getRowStopIndexForStartIndex:(e,t,n,r)=>{const{totalRow:a,height:i}=e,o=ll(e,t,r,"row"),l=n+i;let s=o.size+o.offset,u=t;for(;u<a-1&&s<l;)u++,s+=ll(e,u,r,"row").size;return u},injectToInstance:(e,t)=>{const n=({columnIndex:i,rowIndex:o},l)=>{var s,u;l=Xn(l)?!0:l,ot(i)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,i-1)),ot(o)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,o-1)),(s=e.exposed)==null||s.getItemStyleCache.value(-1,null,null),l&&((u=e.proxy)==null||u.$forceUpdate())},r=(i,o)=>{n({columnIndex:i},o)},a=(i,o)=>{n({rowIndex:i},o)};Object.assign(e.proxy,{resetAfterColumnIndex:r,resetAfterRowIndex:a,resetAfter:n})},initCache:({estimatedColumnWidth:e=K4,estimatedRowHeight:t=K4})=>({column:{},estimatedColumnWidth:e,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:e,rowHeight:t})=>{}}),G3e=te({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:Ee("select")}}});function W3e(e,t,n,r,a,i){return k(),F("div",{class:q(e.ns.be("group","title")),style:Be([e.style,{lineHeight:`${e.height}px`}])},U(e.item.label),7)}var U3e=Ne(G3e,[["render",W3e],["__file","group-item.vue"]]);function Y3e(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const fB={label:"label",value:"value",disabled:"disabled",options:"options"};function $y(e){const t=L(()=>({...fB,...e.props}));return{aliasProps:t,getLabel:o=>Wn(o,t.value.label),getValue:o=>Wn(o,t.value.value),getDisabled:o=>Wn(o,t.value.disabled),getOptions:o=>Wn(o,t.value.options)}}const K3e=Oe({allowCreate:Boolean,autocomplete:{type:he(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:hn,default:au},effect:{type:he(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:Boolean,estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:Function,height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:he([Array,String,Number,Boolean,Object])},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:Function,reserveKeyword:{type:Boolean,default:!0},options:{type:he(Array),required:!0},placeholder:{type:String},teleported:vr.teleported,persistent:{type:Boolean,default:!0},popperClass:{type:String,default:""},popperOptions:{type:he(Object),default:()=>({})},remote:Boolean,size:cr,props:{type:he(Object),default:()=>fB},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},placement:{type:he(String),values:Kc,default:"bottom-start"},fallbackPlacements:{type:he(Array),default:["bottom-start","top-start","right","left"]},tagType:{...Py.type,default:"info"},...th,...Er(["ariaLabel"])}),X3e=Oe({data:Array,disabled:Boolean,hovering:Boolean,item:{type:he(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),a6=Symbol("ElSelectV2Injection"),Z3e=te({props:X3e,emits:["select","hover"],setup(e,{emit:t}){const n=Ye(a6),r=Ee("select"),{hoverItem:a,selectOptionClick:i}=Y3e(e,{emit:t}),{getLabel:o}=$y(n.props);return{ns:r,hoverItem:a,selectOptionClick:i,getLabel:o}}}),J3e=["aria-selected"];function Q3e(e,t,n,r,a,i){return k(),F("li",{"aria-selected":e.selected,style:Be(e.style),class:q([e.ns.be("dropdown","item"),e.ns.is("selected",e.selected),e.ns.is("disabled",e.disabled),e.ns.is("created",e.created),e.ns.is("hovering",e.hovering)]),onMouseenter:t[0]||(t[0]=(...o)=>e.hoverItem&&e.hoverItem(...o)),onClick:t[1]||(t[1]=ft((...o)=>e.selectOptionClick&&e.selectOptionClick(...o),["stop"]))},[me(e.$slots,"default",{item:e.item,index:e.index,disabled:e.disabled},()=>[X("span",null,U(e.getLabel(e.item)),1)])],46,J3e)}var ebe=Ne(Z3e,[["render",Q3e],["__file","option-item.vue"]]),tbe=te({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(e,{slots:t,expose:n}){const r=Ye(a6),a=Ee("select"),{getLabel:i,getValue:o,getDisabled:l}=$y(r.props),s=j([]),u=j(),c=L(()=>e.data.length);ke(()=>c.value,()=>{var E,D;(D=(E=r.tooltipRef.value).updatePopper)==null||D.call(E)});const f=L(()=>Xn(r.props.estimatedOptionHeight)),d=L(()=>f.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:E=>s.value[E]}),h=(E=[],D)=>{const{props:{valueKey:$}}=r;return zt(D)?E&&E.some(O=>dn(Wn(O,$))===Wn(D,$)):E.includes(D)},v=(E,D)=>{if(zt(D)){const{valueKey:$}=r.props;return Wn(E,$)===Wn(D,$)}else return E===D},p=(E,D)=>r.props.multiple?h(E,o(D)):v(E,o(D)),g=(E,D)=>{const{disabled:$,multiple:O,multipleLimit:R}=r.props;return $||!D&&(O?R>0&&E.length>=R:!1)},m=E=>e.hoveringIndex===E;n({listRef:u,isSized:f,isItemDisabled:g,isItemHovering:m,isItemSelected:p,scrollToItem:E=>{const D=u.value;D&&D.scrollToItem(E)},resetScrollTop:()=>{const E=u.value;E&&E.resetScrollTop()}});const w=E=>{const{index:D,data:$,style:O}=E,R=y(f),{itemSize:N,estimatedSize:B}=y(d),{modelValue:V}=r.props,{onSelect:P,onHover:W}=r,Z=$[D];if(Z.type==="Group")return I(U3e,{item:Z,style:O,height:R?N:B},null);const ee=p(V,Z),re=g(V,ee),ue=m(D);return I(ebe,Pt(E,{selected:ee,disabled:l(Z)||re,created:!!Z.created,hovering:ue,item:Z,onSelect:P,onHover:W}),{default:ye=>{var le;return((le=t.default)==null?void 0:le.call(t,ye))||I("span",null,[i(Z)])}})},{onKeyboardNavigate:x,onKeyboardSelect:S}=r,C=()=>{x("forward")},T=()=>{x("backward")},z=()=>{r.expanded=!1},A=E=>{const{code:D}=E,{tab:$,esc:O,down:R,up:N,enter:B}=at;switch(D!==$&&(E.preventDefault(),E.stopPropagation()),D){case $:case O:{z();break}case R:{C();break}case N:{T();break}case B:{S();break}}};return()=>{var E,D,$,O;const{data:R,width:N}=e,{height:B,multiple:V,scrollbarAlwaysOn:P}=r.props,W=y(f)?rB:$3e;return I("div",{class:[a.b("dropdown"),a.is("multiple",V)],style:{width:`${N}px`}},[(E=t.header)==null?void 0:E.call(t),((D=t.loading)==null?void 0:D.call(t))||(($=t.empty)==null?void 0:$.call(t))||I(W,Pt({ref:u},y(d),{className:a.be("dropdown","list"),scrollbarAlwaysOn:P,data:R,height:B,width:N,total:R.length,onKeydown:A}),{default:Z=>I(w,Z,null)}),(O=t.footer)==null?void 0:O.call(t)])}}});function nbe(e,t){const{aliasProps:n,getLabel:r,getValue:a}=$y(e),i=j(0),o=j(null),l=L(()=>e.allowCreate&&e.filterable);function s(h){const v=p=>r(p)===h;return e.options&&e.options.some(v)||t.createdOptions.some(v)}function u(h){l.value&&(e.multiple&&h.created?i.value++:o.value=h)}function c(h){if(l.value)if(h&&h.length>0){if(s(h))return;const v={[n.value.value]:h,[n.value.label]:h,created:!0,[n.value.disabled]:!1};t.createdOptions.length>=i.value?t.createdOptions[i.value]=v:t.createdOptions.push(v)}else if(e.multiple)t.createdOptions.length=i.value;else{const v=o.value;t.createdOptions.length=0,v&&v.created&&t.createdOptions.push(v)}}function f(h){if(!l.value||!h||!h.created||h.created&&e.reserveKeyword&&t.inputValue===r(h))return;const v=t.createdOptions.findIndex(p=>a(p)===a(h));~v&&(t.createdOptions.splice(v,1),i.value--)}function d(){l.value&&(t.createdOptions.length=0,i.value=0)}return{createNewOption:c,removeNewOption:f,selectNewOption:u,clearAllNewOption:d}}const rbe=11,abe=(e,t)=>{const{t:n}=Xt(),r=Ee("select"),a=Ee("input"),{form:i,formItem:o}=Qr(),{inputId:l}=ro(e,{formItemContext:o}),{aliasProps:s,getLabel:u,getValue:c,getDisabled:f,getOptions:d}=$y(e),{valueOnClear:h,isEmptyValue:v}=Ey(e),p=nn({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,calculatorWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),g=j(-1),m=j(null),b=j(null),_=j(null),w=j(null),x=j(null),S=j(null),C=j(null),T=j(null),z=j(null),A=j(null),E=j(null),{wrapperRef:D,isFocused:$,handleFocus:O,handleBlur:R}=Ay(x,{afterFocus(){e.automaticDropdown&&!V.value&&(V.value=!0,p.menuVisibleOnFocus=!0)},beforeBlur(Fe){var gt,Gt;return((gt=_.value)==null?void 0:gt.isFocusInsideContent(Fe))||((Gt=w.value)==null?void 0:Gt.isFocusInsideContent(Fe))},afterBlur(){V.value=!1,p.menuVisibleOnFocus=!1}}),N=j([]),B=j([]),V=j(!1),P=L(()=>e.disabled||(i==null?void 0:i.disabled)),W=L(()=>{const Fe=B.value.length*e.itemHeight;return Fe>e.height?e.height:Fe}),Z=L(()=>e.multiple?We(e.modelValue)&&e.modelValue.length>0:!v(e.modelValue)),ee=L(()=>e.clearable&&!P.value&&p.inputHovering&&Z.value),re=L(()=>e.remote&&e.filterable?"":Ol),ue=L(()=>re.value&&r.is("reverse",V.value)),ye=L(()=>(o==null?void 0:o.validateState)||""),le=L(()=>dS[ye.value]),ae=L(()=>e.remote?300:0),ie=L(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&!p.inputValue&&N.value.length===0?!1:e.filterable&&p.inputValue&&N.value.length>0&&B.value.length===0?e.noMatchText||n("el.select.noMatch"):N.value.length===0?e.noDataText||n("el.select.noData"):null),ve=Fe=>{const gt=Gt=>{if(e.filterable&&st(e.filterMethod)||e.filterable&&e.remote&&st(e.remoteMethod))return!0;const vn=new RegExp(aS(Fe),"i");return Fe?vn.test(u(Gt)||""):!0};return e.loading?[]:[...p.createdOptions,...e.options].reduce((Gt,vn)=>{const Ka=d(vn);if(We(Ka)){const Zo=Ka.filter(gt);Zo.length>0&&Gt.push({label:u(vn),type:"Group"},...Zo)}else(e.remote||gt(vn))&&Gt.push(vn);return Gt},[])},ce=()=>{N.value=ve(""),B.value=ve(p.inputValue)},fe=L(()=>{const Fe=new Map;return N.value.forEach((gt,Gt)=>{Fe.set(Nt(c(gt)),{option:gt,index:Gt})}),Fe}),xe=L(()=>{const Fe=new Map;return B.value.forEach((gt,Gt)=>{Fe.set(Nt(c(gt)),{option:gt,index:Gt})}),Fe}),J=L(()=>B.value.every(Fe=>f(Fe))),oe=tr(),pe=L(()=>oe.value==="small"?"small":"default"),Te=()=>{var Fe;g.value=((Fe=m.value)==null?void 0:Fe.offsetWidth)||200},ge=()=>{if(!b.value)return 0;const Fe=window.getComputedStyle(b.value);return Number.parseFloat(Fe.gap||"6px")},Ae=L(()=>{const Fe=ge();return{maxWidth:`${E.value&&e.maxCollapseTags===1?p.selectionWidth-p.collapseItemWidth-Fe:p.selectionWidth}px`}}),De=L(()=>({maxWidth:`${p.selectionWidth}px`})),Pe=L(()=>({width:`${Math.max(p.calculatorWidth,rbe)}px`})),Re=L(()=>We(e.modelValue)?e.modelValue.length===0&&!p.inputValue:e.filterable?!p.inputValue:!0),Ce=L(()=>{var Fe;const gt=(Fe=e.placeholder)!=null?Fe:n("el.select.placeholder");return e.multiple||!Z.value?gt:p.selectedLabel}),Ue=L(()=>{var Fe,gt;return(gt=(Fe=_.value)==null?void 0:Fe.popperRef)==null?void 0:gt.contentRef}),Je=L(()=>{if(e.multiple){const Fe=e.modelValue.length;if(e.modelValue.length>0&&xe.value.has(e.modelValue[Fe-1])){const{index:gt}=xe.value.get(e.modelValue[Fe-1]);return gt}}else if(e.modelValue&&xe.value.has(e.modelValue)){const{index:Fe}=xe.value.get(e.modelValue);return Fe}return-1}),ze=L({get(){return V.value&&ie.value!==!1},set(Fe){V.value=Fe}}),Ke=L(()=>e.multiple?e.collapseTags?p.cachedOptions.slice(0,e.maxCollapseTags):p.cachedOptions:[]),ut=L(()=>e.multiple?e.collapseTags?p.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:Et,removeNewOption:Ct,selectNewOption:rt,clearAllNewOption:Me}=nbe(e,p),{handleCompositionStart:qe,handleCompositionUpdate:Le,handleCompositionEnd:_e}=GV(Fe=>Ko(Fe)),Ie=()=>{P.value||(p.menuVisibleOnFocus?p.menuVisibleOnFocus=!1:V.value=!V.value)},Xe=()=>{p.inputValue.length>0&&!V.value&&(V.value=!0),Et(p.inputValue),Qe(p.inputValue)},be=La(Xe,ae.value),Qe=Fe=>{p.previousQuery!==Fe&&(p.previousQuery=Fe,e.filterable&&st(e.filterMethod)?e.filterMethod(Fe):e.filterable&&e.remote&&st(e.remoteMethod)&&e.remoteMethod(Fe),e.defaultFirstOption&&(e.filterable||e.remote)&&B.value.length?nt(Lt):nt(oo))},Lt=()=>{const Fe=B.value.filter(vn=>!vn.disabled&&vn.type!=="Group"),gt=Fe.find(vn=>vn.created),Gt=Fe[0];p.hoveringIndex=hr(B.value,gt||Gt)},cn=Fe=>{Yr(e.modelValue,Fe)||t(Tn,Fe)},$n=Fe=>{t(Mt,Fe),cn(Fe),p.previousValue=e.multiple?String(Fe):Fe},hr=(Fe=[],gt)=>{if(!zt(gt))return Fe.indexOf(gt);const Gt=e.valueKey;let vn=-1;return Fe.some((Ka,Zo)=>Wn(Ka,Gt)===Wn(gt,Gt)?(vn=Zo,!0):!1),vn},Nt=Fe=>zt(Fe)?Wn(Fe,e.valueKey):Fe,Yn=()=>{Te()},Up=()=>{p.selectionWidth=b.value.getBoundingClientRect().width},xh=()=>{p.calculatorWidth=S.value.getBoundingClientRect().width},A3=()=>{p.collapseItemWidth=E.value.getBoundingClientRect().width},Yo=()=>{var Fe,gt;(gt=(Fe=_.value)==null?void 0:Fe.updatePopper)==null||gt.call(Fe)},Yp=()=>{var Fe,gt;(gt=(Fe=w.value)==null?void 0:Fe.updatePopper)==null||gt.call(Fe)},Kp=Fe=>{if(e.multiple){let gt=e.modelValue.slice();const Gt=hr(gt,c(Fe));Gt>-1?(gt=[...gt.slice(0,Gt),...gt.slice(Gt+1)],p.cachedOptions.splice(Gt,1),Ct(Fe)):(e.multipleLimit<=0||gt.length<e.multipleLimit)&&(gt=[...gt,c(Fe)],p.cachedOptions.push(Fe),rt(Fe)),$n(gt),Fe.created&&Qe(""),e.filterable&&!e.reserveKeyword&&(p.inputValue="")}else p.selectedLabel=u(Fe),$n(c(Fe)),V.value=!1,rt(Fe),Fe.created||Me();uu()},E3=(Fe,gt)=>{let Gt=e.modelValue.slice();const vn=hr(Gt,c(gt));vn>-1&&!P.value&&(Gt=[...e.modelValue.slice(0,vn),...e.modelValue.slice(vn+1)],p.cachedOptions.splice(vn,1),$n(Gt),t("remove-tag",c(gt)),Ct(gt)),Fe.stopPropagation(),uu()},uu=()=>{var Fe;(Fe=x.value)==null||Fe.focus()},I3=()=>{var Fe;(Fe=x.value)==null||Fe.blur()},D3=()=>{p.inputValue.length>0?p.inputValue="":V.value=!1},L3=Fe=>rN(Fe,gt=>!p.cachedOptions.some(Gt=>c(Gt)===gt&&f(Gt))),P3=Fe=>{if(e.multiple&&Fe.code!==at.delete&&p.inputValue.length===0){Fe.preventDefault();const gt=e.modelValue.slice(),Gt=L3(gt);if(Gt<0)return;const vn=gt[Gt];gt.splice(Gt,1);const Ka=p.cachedOptions[Gt];p.cachedOptions.splice(Gt,1),Ct(Ka),$n(gt),t("remove-tag",vn)}},je=()=>{let Fe;We(e.modelValue)?Fe=[]:Fe=h.value,e.multiple?p.cachedOptions=[]:p.selectedLabel="",V.value=!1,$n(Fe),t("clear"),Me(),uu()},dt=(Fe,gt=void 0)=>{const Gt=B.value;if(!["forward","backward"].includes(Fe)||P.value||Gt.length<=0||J.value)return;if(!V.value)return Ie();gt===void 0&&(gt=p.hoveringIndex);let vn=-1;Fe==="forward"?(vn=gt+1,vn>=Gt.length&&(vn=0)):Fe==="backward"&&(vn=gt-1,(vn<0||vn>=Gt.length)&&(vn=Gt.length-1));const Ka=Gt[vn];if(f(Ka)||Ka.type==="Group")return dt(Fe,vn);p.hoveringIndex=vn,ba(vn)},kn=()=>{if(V.value)~p.hoveringIndex&&B.value[p.hoveringIndex]&&Kp(B.value[p.hoveringIndex]);else return Ie()},jn=Fe=>{p.hoveringIndex=Fe},oo=()=>{e.multiple?p.hoveringIndex=B.value.findIndex(Fe=>e.modelValue.some(gt=>Nt(gt)===Nt(Fe))):p.hoveringIndex=B.value.findIndex(Fe=>Nt(Fe)===Nt(e.modelValue))},Ko=Fe=>{if(p.inputValue=Fe.target.value,e.remote)be();else return Xe()},of=Fe=>{if(V.value=!1,$.value){const gt=new FocusEvent("focus",Fe);R(gt)}},Xo=()=>(p.isBeforeHide=!1,nt(()=>{~Je.value&&ba(p.hoveringIndex)})),ba=Fe=>{z.value.scrollToItem(Fe)},Xp=Fe=>{const gt=Nt(Fe);if(fe.value.has(gt)){const{option:Gt}=fe.value.get(gt);return Gt}return{[s.value.value]:Fe,[s.value.label]:Fe}},R3=()=>{if(e.multiple)if(e.modelValue.length>0){p.cachedOptions.length=0,p.previousValue=e.modelValue.toString();for(const Fe of e.modelValue){const gt=Xp(Fe);p.cachedOptions.push(gt)}}else p.cachedOptions=[],p.previousValue=void 0;else if(Z.value){p.previousValue=e.modelValue;const Fe=B.value,gt=Fe.findIndex(Gt=>Nt(c(Gt))===Nt(e.modelValue));~gt?p.selectedLabel=u(Fe[gt]):p.selectedLabel=Nt(e.modelValue)}else p.selectedLabel="",p.previousValue=void 0;Me(),Te()};return ke(V,Fe=>{Fe?Qe(""):(p.inputValue="",p.previousQuery=null,p.isBeforeHide=!0,Et("")),t("visible-change",Fe)}),ke(()=>e.modelValue,(Fe,gt)=>{var Gt;(!Fe||e.multiple&&Fe.toString()!==p.previousValue||!e.multiple&&Nt(Fe)!==Nt(p.previousValue))&&R3(),!Yr(Fe,gt)&&e.validateEvent&&((Gt=o==null?void 0:o.validate)==null||Gt.call(o,"change").catch(vn=>void 0))},{deep:!0}),ke(()=>e.options,()=>{const Fe=x.value;(!Fe||Fe&&document.activeElement!==Fe)&&R3()},{deep:!0,flush:"post"}),ke(()=>B.value,()=>z.value&&nt(z.value.resetScrollTop)),Or(()=>{p.isBeforeHide||ce()}),Or(()=>{const{valueKey:Fe,options:gt}=e,Gt=new Map;for(const vn of gt){const Ka=c(vn);let Zo=Ka;if(zt(Zo)&&(Zo=Wn(Ka,Fe)),Gt.get(Zo))break;Gt.set(Zo,!0)}}),bt(()=>{R3()}),Pn(m,Yn),Pn(b,Up),Pn(S,xh),Pn(z,Yo),Pn(D,Yo),Pn(A,Yp),Pn(E,A3),{inputId:l,collapseTagSize:pe,currentPlaceholder:Ce,expanded:V,emptyText:ie,popupHeight:W,debounce:ae,allOptions:N,filteredOptions:B,iconComponent:re,iconReverse:ue,tagStyle:Ae,collapseTagStyle:De,inputStyle:Pe,popperSize:g,dropdownMenuVisible:ze,hasModelValue:Z,shouldShowPlaceholder:Re,selectDisabled:P,selectSize:oe,showClearBtn:ee,states:p,isFocused:$,nsSelect:r,nsInput:a,calculatorRef:S,inputRef:x,menuRef:z,tagMenuRef:A,tooltipRef:_,tagTooltipRef:w,selectRef:m,wrapperRef:D,selectionRef:b,prefixRef:C,suffixRef:T,collapseItemRef:E,popperRef:Ue,validateState:ye,validateIcon:le,showTagList:Ke,collapseTagList:ut,debouncedOnInputChange:be,deleteTag:E3,getLabel:u,getValue:c,getDisabled:f,getValueKey:Nt,handleBlur:R,handleClear:je,handleClickOutside:of,handleDel:P3,handleEsc:D3,handleFocus:O,focus:uu,blur:I3,handleMenuEnter:Xo,handleResize:Yn,resetSelectionWidth:Up,resetCalculatorWidth:xh,updateTooltip:Yo,updateTagTooltip:Yp,updateOptions:ce,toggleMenu:Ie,scrollTo:ba,onInput:Ko,onKeyboardNavigate:dt,onKeyboardSelect:kn,onSelect:Kp,onHover:jn,handleCompositionStart:qe,handleCompositionEnd:_e,handleCompositionUpdate:Le}},ibe=te({name:"ElSelectV2",components:{ElSelectMenu:tbe,ElTag:x1,ElTooltip:Xr,ElIcon:Ze},directives:{ClickOutside:Sl},props:K3e,emits:[Mt,Tn,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=L(()=>{const{modelValue:a,multiple:i}=e,o=i?[]:void 0;return We(a)?i?a:o:i?o:a}),r=abe(nn({...Ar(e),modelValue:n}),t);return Rt(a6,{props:nn({...Ar(e),height:r.popupHeight,modelValue:n}),tooltipRef:r.tooltipRef,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect}),{...r,modelValue:n}}}),obe=["id","autocomplete","aria-expanded","aria-label","disabled","readonly","name"],lbe=["textContent"],sbe={key:1};function ube(e,t,n,r,a,i){const o=se("el-tag"),l=se("el-tooltip"),s=se("el-icon"),u=se("el-select-menu"),c=oy("click-outside");return mt((k(),F("div",{ref:"selectRef",class:q([e.nsSelect.b(),e.nsSelect.m(e.selectSize)]),onMouseenter:t[14]||(t[14]=f=>e.states.inputHovering=!0),onMouseleave:t[15]||(t[15]=f=>e.states.inputHovering=!1),onClick:t[16]||(t[16]=ft((...f)=>e.toggleMenu&&e.toggleMenu(...f),["prevent","stop"]))},[I(l,{ref:"tooltipRef",visible:e.dropdownMenuVisible,teleported:e.teleported,"popper-class":[e.nsSelect.e("popper"),e.popperClass],"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":e.popperOptions,"fallback-placements":e.fallbackPlacements,effect:e.effect,placement:e.placement,pure:"",transition:`${e.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:e.persistent,onBeforeShow:e.handleMenuEnter,onHide:t[13]||(t[13]=f=>e.states.isBeforeHide=!1)},{default:M(()=>[X("div",{ref:"wrapperRef",class:q([e.nsSelect.e("wrapper"),e.nsSelect.is("focused",e.isFocused),e.nsSelect.is("hovering",e.states.inputHovering),e.nsSelect.is("filterable",e.filterable),e.nsSelect.is("disabled",e.selectDisabled)])},[e.$slots.prefix?(k(),F("div",{key:0,ref:"prefixRef",class:q(e.nsSelect.e("prefix"))},[me(e.$slots,"prefix")],2)):Q("v-if",!0),X("div",{ref:"selectionRef",class:q([e.nsSelect.e("selection"),e.nsSelect.is("near",e.multiple&&!e.$slots.prefix&&!!e.modelValue.length)])},[e.multiple?me(e.$slots,"tag",{key:0},()=>[(k(!0),F(de,null,we(e.showTagList,f=>(k(),F("div",{key:e.getValueKey(e.getValue(f)),class:q(e.nsSelect.e("selected-item"))},[I(o,{closable:!e.selectDisabled&&!e.getDisabled(f),size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",style:Be(e.tagStyle),onClose:d=>e.deleteTag(d,f)},{default:M(()=>[X("span",{class:q(e.nsSelect.e("tags-text"))},[me(e.$slots,"label",{label:e.getLabel(f),value:e.getValue(f)},()=>[G(U(e.getLabel(f)),1)])],2)]),_:2},1032,["closable","size","type","style","onClose"])],2))),128)),e.collapseTags&&e.modelValue.length>e.maxCollapseTags?(k(),Y(l,{key:0,ref:"tagTooltipRef",disabled:e.dropdownMenuVisible||!e.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:e.effect,placement:"bottom",teleported:e.teleported},{default:M(()=>[X("div",{ref:"collapseItemRef",class:q(e.nsSelect.e("selected-item"))},[I(o,{closable:!1,size:e.collapseTagSize,type:e.tagType,style:Be(e.collapseTagStyle),"disable-transitions":""},{default:M(()=>[X("span",{class:q(e.nsSelect.e("tags-text"))}," + "+U(e.modelValue.length-e.maxCollapseTags),3)]),_:1},8,["size","type","style"])],2)]),content:M(()=>[X("div",{ref:"tagMenuRef",class:q(e.nsSelect.e("selection"))},[(k(!0),F(de,null,we(e.collapseTagList,f=>(k(),F("div",{key:e.getValueKey(e.getValue(f)),class:q(e.nsSelect.e("selected-item"))},[I(o,{class:"in-tooltip",closable:!e.selectDisabled&&!e.getDisabled(f),size:e.collapseTagSize,type:e.tagType,"disable-transitions":"",onClose:d=>e.deleteTag(d,f)},{default:M(()=>[X("span",{class:q(e.nsSelect.e("tags-text"))},[me(e.$slots,"label",{label:e.getLabel(f),value:e.getValue(f)},()=>[G(U(e.getLabel(f)),1)])],2)]),_:2},1032,["closable","size","type","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","teleported"])):Q("v-if",!0)]):Q("v-if",!0),e.selectDisabled?Q("v-if",!0):(k(),F("div",{key:1,class:q([e.nsSelect.e("selected-item"),e.nsSelect.e("input-wrapper"),e.nsSelect.is("hidden",!e.filterable)])},[mt(X("input",{id:e.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=f=>e.states.inputValue=f),style:Be(e.inputStyle),autocomplete:e.autocomplete,"aria-autocomplete":"list","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":e.expanded,"aria-label":e.ariaLabel,class:q([e.nsSelect.e("input"),e.nsSelect.is(e.selectSize)]),disabled:e.selectDisabled,role:"combobox",readonly:!e.filterable,spellcheck:"false",type:"text",name:e.name,onFocus:t[1]||(t[1]=(...f)=>e.handleFocus&&e.handleFocus(...f)),onBlur:t[2]||(t[2]=(...f)=>e.handleBlur&&e.handleBlur(...f)),onInput:t[3]||(t[3]=(...f)=>e.onInput&&e.onInput(...f)),onCompositionstart:t[4]||(t[4]=(...f)=>e.handleCompositionStart&&e.handleCompositionStart(...f)),onCompositionupdate:t[5]||(t[5]=(...f)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...f)),onCompositionend:t[6]||(t[6]=(...f)=>e.handleCompositionEnd&&e.handleCompositionEnd(...f)),onKeydown:[t[7]||(t[7]=fn(ft(f=>e.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[8]||(t[8]=fn(ft(f=>e.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[9]||(t[9]=fn(ft((...f)=>e.onKeyboardSelect&&e.onKeyboardSelect(...f),["stop","prevent"]),["enter"])),t[10]||(t[10]=fn(ft((...f)=>e.handleEsc&&e.handleEsc(...f),["stop","prevent"]),["esc"])),t[11]||(t[11]=fn(ft((...f)=>e.handleDel&&e.handleDel(...f),["stop"]),["delete"]))],onClick:t[12]||(t[12]=ft((...f)=>e.toggleMenu&&e.toggleMenu(...f),["stop"]))},null,46,obe),[[L5,e.states.inputValue]]),e.filterable?(k(),F("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:q(e.nsSelect.e("input-calculator")),textContent:U(e.states.inputValue)},null,10,lbe)):Q("v-if",!0)],2)),e.shouldShowPlaceholder?(k(),F("div",{key:2,class:q([e.nsSelect.e("selected-item"),e.nsSelect.e("placeholder"),e.nsSelect.is("transparent",!e.hasModelValue||e.expanded&&!e.states.inputValue)])},[e.hasModelValue?me(e.$slots,"label",{key:0,label:e.currentPlaceholder,value:e.modelValue},()=>[X("span",null,U(e.currentPlaceholder),1)]):(k(),F("span",sbe,U(e.currentPlaceholder),1))],2)):Q("v-if",!0)],2),X("div",{ref:"suffixRef",class:q(e.nsSelect.e("suffix"))},[e.iconComponent?mt((k(),Y(s,{key:0,class:q([e.nsSelect.e("caret"),e.nsInput.e("icon"),e.iconReverse])},{default:M(()=>[(k(),Y(It(e.iconComponent)))]),_:1},8,["class"])),[[en,!e.showClearBtn]]):Q("v-if",!0),e.showClearBtn&&e.clearIcon?(k(),Y(s,{key:1,class:q([e.nsSelect.e("caret"),e.nsInput.e("icon")]),onClick:ft(e.handleClear,["prevent","stop"])},{default:M(()=>[(k(),Y(It(e.clearIcon)))]),_:1},8,["class","onClick"])):Q("v-if",!0),e.validateState&&e.validateIcon?(k(),Y(s,{key:2,class:q([e.nsInput.e("icon"),e.nsInput.e("validateIcon")])},{default:M(()=>[(k(),Y(It(e.validateIcon)))]),_:1},8,["class"])):Q("v-if",!0)],2)],2)]),content:M(()=>[I(u,{ref:"menuRef",data:e.filteredOptions,width:e.popperSize,"hovering-index":e.states.hoveringIndex,"scrollbar-always-on":e.scrollbarAlwaysOn},_l({default:M(f=>[me(e.$slots,"default",ul(vd(f)))]),_:2},[e.$slots.header?{name:"header",fn:M(()=>[X("div",{class:q(e.nsSelect.be("dropdown","header"))},[me(e.$slots,"header")],2)])}:void 0,e.$slots.loading&&e.loading?{name:"loading",fn:M(()=>[X("div",{class:q(e.nsSelect.be("dropdown","loading"))},[me(e.$slots,"loading")],2)])}:e.loading||e.filteredOptions.length===0?{name:"empty",fn:M(()=>[X("div",{class:q(e.nsSelect.be("dropdown","empty"))},[me(e.$slots,"empty",{},()=>[X("span",null,U(e.emptyText),1)])],2)])}:void 0,e.$slots.footer?{name:"footer",fn:M(()=>[X("div",{class:q(e.nsSelect.be("dropdown","footer"))},[me(e.$slots,"footer")],2)])}:void 0]),1032,["data","width","hovering-index","scrollbar-always-on"])]),_:3},8,["visible","teleported","popper-class","popper-options","fallback-placements","effect","placement","transition","persistent","onBeforeShow"])],34)),[[c,e.handleClickOutside,e.popperRef]])}var Y0=Ne(ibe,[["render",ube],["__file","select.vue"]]);Y0.install=e=>{e.component(Y0.name,Y0)};const cbe=Y0,fbe=cbe,dbe=Oe({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),hbe=Oe({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),vbe=te({name:"ElSkeletonItem"}),pbe=te({...vbe,props:hbe,setup(e){const t=Ee("skeleton");return(n,r)=>(k(),F("div",{class:q([y(t).e("item"),y(t).e(n.variant)])},[n.variant==="image"?(k(),Y(y(iie),{key:0})):Q("v-if",!0)],2))}});var em=Ne(pbe,[["__file","skeleton-item.vue"]]);const gbe=te({name:"ElSkeleton"}),mbe=te({...gbe,props:dbe,setup(e,{expose:t}){const n=e,r=Ee("skeleton"),a=Joe(mn(n,"loading"),n.throttle);return t({uiLoading:a}),(i,o)=>y(a)?(k(),F("div",Pt({key:0,class:[y(r).b(),y(r).is("animated",i.animated)]},i.$attrs),[(k(!0),F(de,null,we(i.count,l=>(k(),F(de,{key:l},[i.loading?me(i.$slots,"template",{key:l},()=>[I(em,{class:q(y(r).is("first")),variant:"p"},null,8,["class"]),(k(!0),F(de,null,we(i.rows,s=>(k(),Y(em,{key:s,class:q([y(r).e("paragraph"),y(r).is("last",s===i.rows&&i.rows>1)]),variant:"p"},null,8,["class"]))),128))]):Q("v-if",!0)],64))),128))],16)):me(i.$slots,"default",ul(Pt({key:1},i.$attrs)))}});var ybe=Ne(mbe,[["__file","skeleton.vue"]]);const bbe=St(ybe,{SkeletonItem:em}),_be=On(em),dB=Symbol("sliderContextKey"),wbe=Oe({modelValue:{type:he([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:cr,inputSize:cr,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:he(Function),default:void 0},disabled:Boolean,range:Boolean,vertical:Boolean,height:String,debounce:{type:Number,default:300},label:{type:String,default:void 0},rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:he(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Kc,default:"top"},marks:{type:he(Object)},validateEvent:{type:Boolean,default:!0},...Er(["ariaLabel"])}),pb=e=>ot(e)||We(e)&&e.every(ot),xbe={[Mt]:pb,[sa]:pb,[Tn]:pb},Sbe=(e,t,n)=>{const r=j();return bt(async()=>{e.range?(Array.isArray(e.modelValue)?(t.firstValue=Math.max(e.min,e.modelValue[0]),t.secondValue=Math.min(e.max,e.modelValue[1])):(t.firstValue=e.min,t.secondValue=e.max),t.oldValue=[t.firstValue,t.secondValue]):(typeof e.modelValue!="number"||Number.isNaN(e.modelValue)?t.firstValue=e.min:t.firstValue=Math.min(e.max,Math.max(e.min,e.modelValue)),t.oldValue=t.firstValue),Sn(window,"resize",n),await nt(),n()}),{sliderWrapper:r}},Cbe=e=>L(()=>e.marks?Object.keys(e.marks).map(Number.parseFloat).sort((n,r)=>n-r).filter(n=>n<=e.max&&n>=e.min).map(n=>({point:n,position:(n-e.min)*100/(e.max-e.min),mark:e.marks[n]})):[]),Tbe=(e,t,n)=>{const{form:r,formItem:a}=Qr(),i=xn(),o=j(),l=j(),s={firstButton:o,secondButton:l},u=L(()=>e.disabled||(r==null?void 0:r.disabled)||!1),c=L(()=>Math.min(t.firstValue,t.secondValue)),f=L(()=>Math.max(t.firstValue,t.secondValue)),d=L(()=>e.range?`${100*(f.value-c.value)/(e.max-e.min)}%`:`${100*(t.firstValue-e.min)/(e.max-e.min)}%`),h=L(()=>e.range?`${100*(c.value-e.min)/(e.max-e.min)}%`:"0%"),v=L(()=>e.vertical?{height:e.height}:{}),p=L(()=>e.vertical?{height:d.value,bottom:h.value}:{width:d.value,left:h.value}),g=()=>{i.value&&(t.sliderSize=i.value[`client${e.vertical?"Height":"Width"}`])},m=E=>{const D=e.min+E*(e.max-e.min)/100;if(!e.range)return o;let $;return Math.abs(c.value-D)<Math.abs(f.value-D)?$=t.firstValue<t.secondValue?"firstButton":"secondButton":$=t.firstValue>t.secondValue?"firstButton":"secondButton",s[$]},b=E=>{const D=m(E);return D.value.setPosition(E),D},_=E=>{t.firstValue=E,x(e.range?[c.value,f.value]:E)},w=E=>{t.secondValue=E,e.range&&x([c.value,f.value])},x=E=>{n(Mt,E),n(sa,E)},S=async()=>{await nt(),n(Tn,e.range?[c.value,f.value]:e.modelValue)},C=E=>{var D,$,O,R,N,B;if(u.value||t.dragging)return;g();let V=0;if(e.vertical){const P=(O=($=(D=E.touches)==null?void 0:D.item(0))==null?void 0:$.clientY)!=null?O:E.clientY;V=(i.value.getBoundingClientRect().bottom-P)/t.sliderSize*100}else{const P=(B=(N=(R=E.touches)==null?void 0:R.item(0))==null?void 0:N.clientX)!=null?B:E.clientX,W=i.value.getBoundingClientRect().left;V=(P-W)/t.sliderSize*100}if(!(V<0||V>100))return b(V)};return{elFormItem:a,slider:i,firstButton:o,secondButton:l,sliderDisabled:u,minValue:c,maxValue:f,runwayStyle:v,barStyle:p,resetSize:g,setPosition:b,emitChange:S,onSliderWrapperPrevent:E=>{var D,$;((D=s.firstButton.value)!=null&&D.dragging||($=s.secondButton.value)!=null&&$.dragging)&&E.preventDefault()},onSliderClick:E=>{C(E)&&S()},onSliderDown:async E=>{const D=C(E);D&&(await nt(),D.value.onButtonDown(E))},setFirstValue:_,setSecondValue:w}},{left:kbe,down:zbe,right:Mbe,up:Abe,home:Ebe,end:Ibe,pageUp:Dbe,pageDown:Lbe}=at,Pbe=(e,t,n)=>{const r=j(),a=j(!1),i=L(()=>t.value instanceof Function),o=L(()=>i.value&&t.value(e.modelValue)||e.modelValue),l=La(()=>{n.value&&(a.value=!0)},50),s=La(()=>{n.value&&(a.value=!1)},50);return{tooltip:r,tooltipVisible:a,formatValue:o,displayTooltip:l,hideTooltip:s}},Rbe=(e,t,n)=>{const{disabled:r,min:a,max:i,step:o,showTooltip:l,precision:s,sliderSize:u,formatTooltip:c,emitChange:f,resetSize:d,updateDragging:h}=Ye(dB),{tooltip:v,tooltipVisible:p,formatValue:g,displayTooltip:m,hideTooltip:b}=Pbe(e,c,l),_=j(),w=L(()=>`${(e.modelValue-a.value)/(i.value-a.value)*100}%`),x=L(()=>e.vertical?{bottom:w.value}:{left:w.value}),S=()=>{t.hovering=!0,m()},C=()=>{t.hovering=!1,t.dragging||b()},T=ee=>{r.value||(ee.preventDefault(),V(ee),window.addEventListener("mousemove",P),window.addEventListener("touchmove",P),window.addEventListener("mouseup",W),window.addEventListener("touchend",W),window.addEventListener("contextmenu",W),_.value.focus())},z=ee=>{r.value||(t.newPosition=Number.parseFloat(w.value)+ee/(i.value-a.value)*100,Z(t.newPosition),f())},A=()=>{z(-o.value)},E=()=>{z(o.value)},D=()=>{z(-o.value*4)},$=()=>{z(o.value*4)},O=()=>{r.value||(Z(0),f())},R=()=>{r.value||(Z(100),f())},N=ee=>{let re=!0;[kbe,zbe].includes(ee.key)?A():[Mbe,Abe].includes(ee.key)?E():ee.key===Ebe?O():ee.key===Ibe?R():ee.key===Lbe?D():ee.key===Dbe?$():re=!1,re&&ee.preventDefault()},B=ee=>{let re,ue;return ee.type.startsWith("touch")?(ue=ee.touches[0].clientY,re=ee.touches[0].clientX):(ue=ee.clientY,re=ee.clientX),{clientX:re,clientY:ue}},V=ee=>{t.dragging=!0,t.isClick=!0;const{clientX:re,clientY:ue}=B(ee);e.vertical?t.startY=ue:t.startX=re,t.startPosition=Number.parseFloat(w.value),t.newPosition=t.startPosition},P=ee=>{if(t.dragging){t.isClick=!1,m(),d();let re;const{clientX:ue,clientY:ye}=B(ee);e.vertical?(t.currentY=ye,re=(t.startY-t.currentY)/u.value*100):(t.currentX=ue,re=(t.currentX-t.startX)/u.value*100),t.newPosition=t.startPosition+re,Z(t.newPosition)}},W=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||b(),t.isClick||Z(t.newPosition),f()},0),window.removeEventListener("mousemove",P),window.removeEventListener("touchmove",P),window.removeEventListener("mouseup",W),window.removeEventListener("touchend",W),window.removeEventListener("contextmenu",W))},Z=async ee=>{if(ee===null||Number.isNaN(+ee))return;ee<0?ee=0:ee>100&&(ee=100);const re=100/((i.value-a.value)/o.value);let ye=Math.round(ee/re)*re*(i.value-a.value)*.01+a.value;ye=Number.parseFloat(ye.toFixed(s.value)),ye!==e.modelValue&&n(Mt,ye),!t.dragging&&e.modelValue!==t.oldValue&&(t.oldValue=e.modelValue),await nt(),t.dragging&&m(),v.value.updatePopper()};return ke(()=>t.dragging,ee=>{h(ee)}),{disabled:r,button:_,tooltip:v,tooltipVisible:p,showTooltip:l,wrapperStyle:x,formatValue:g,handleMouseEnter:S,handleMouseLeave:C,onButtonDown:T,onKeyDown:N,setPosition:Z}},Obe=(e,t,n,r)=>({stops:L(()=>{if(!e.showStops||e.min>e.max)return[];if(e.step===0)return[];const o=(e.max-e.min)/e.step,l=100*e.step/(e.max-e.min),s=Array.from({length:o-1}).map((u,c)=>(c+1)*l);return e.range?s.filter(u=>u<100*(n.value-e.min)/(e.max-e.min)||u>100*(r.value-e.min)/(e.max-e.min)):s.filter(u=>u>100*(t.firstValue-e.min)/(e.max-e.min))}),getStopStyle:o=>e.vertical?{bottom:`${o}%`}:{left:`${o}%`}}),Nbe=(e,t,n,r,a,i)=>{const o=u=>{a(Mt,u),a(sa,u)},l=()=>e.range?![n.value,r.value].every((u,c)=>u===t.oldValue[c]):e.modelValue!==t.oldValue,s=()=>{var u,c;e.min>e.max&&or("Slider","min should not be greater than max.");const f=e.modelValue;e.range&&Array.isArray(f)?f[1]<e.min?o([e.min,e.min]):f[0]>e.max?o([e.max,e.max]):f[0]<e.min?o([e.min,f[1]]):f[1]>e.max?o([f[0],e.max]):(t.firstValue=f[0],t.secondValue=f[1],l()&&(e.validateEvent&&((u=i==null?void 0:i.validate)==null||u.call(i,"change").catch(d=>void 0)),t.oldValue=f.slice())):!e.range&&typeof f=="number"&&!Number.isNaN(f)&&(f<e.min?o(e.min):f>e.max?o(e.max):(t.firstValue=f,l()&&(e.validateEvent&&((c=i==null?void 0:i.validate)==null||c.call(i,"change").catch(d=>void 0)),t.oldValue=f)))};s(),ke(()=>t.dragging,u=>{u||s()}),ke(()=>e.modelValue,(u,c)=>{t.dragging||Array.isArray(u)&&Array.isArray(c)&&u.every((f,d)=>f===c[d])&&t.firstValue===u[0]&&t.secondValue===u[1]||s()},{deep:!0}),ke(()=>[e.min,e.max],()=>{s()})},$be=Oe({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Kc,default:"top"}}),Vbe={[Mt]:e=>ot(e)},Bbe=["tabindex"],Fbe=te({name:"ElSliderButton"}),Hbe=te({...Fbe,props:$be,emits:Vbe,setup(e,{expose:t,emit:n}){const r=e,a=Ee("slider"),i=nn({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:r.modelValue}),{disabled:o,button:l,tooltip:s,showTooltip:u,tooltipVisible:c,wrapperStyle:f,formatValue:d,handleMouseEnter:h,handleMouseLeave:v,onButtonDown:p,onKeyDown:g,setPosition:m}=Rbe(r,i,n),{hovering:b,dragging:_}=Ar(i);return t({onButtonDown:p,onKeyDown:g,setPosition:m,hovering:b,dragging:_}),(w,x)=>(k(),F("div",{ref_key:"button",ref:l,class:q([y(a).e("button-wrapper"),{hover:y(b),dragging:y(_)}]),style:Be(y(f)),tabindex:y(o)?-1:0,onMouseenter:x[0]||(x[0]=(...S)=>y(h)&&y(h)(...S)),onMouseleave:x[1]||(x[1]=(...S)=>y(v)&&y(v)(...S)),onMousedown:x[2]||(x[2]=(...S)=>y(p)&&y(p)(...S)),onTouchstart:x[3]||(x[3]=(...S)=>y(p)&&y(p)(...S)),onFocus:x[4]||(x[4]=(...S)=>y(h)&&y(h)(...S)),onBlur:x[5]||(x[5]=(...S)=>y(v)&&y(v)(...S)),onKeydown:x[6]||(x[6]=(...S)=>y(g)&&y(g)(...S))},[I(y(Xr),{ref_key:"tooltip",ref:s,visible:y(c),placement:w.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":w.tooltipClass,disabled:!y(u),persistent:""},{content:M(()=>[X("span",null,U(y(d)),1)]),default:M(()=>[X("div",{class:q([y(a).e("button"),{hover:y(b),dragging:y(_)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled"])],46,Bbe))}});var tz=Ne(Hbe,[["__file","button.vue"]]);const jbe=Oe({mark:{type:he([String,Object]),default:void 0}});var qbe=te({name:"ElSliderMarker",props:jbe,setup(e){const t=Ee("slider"),n=L(()=>vt(e.mark)?e.mark:e.mark.label),r=L(()=>vt(e.mark)?void 0:e.mark.style);return()=>tt("div",{class:t.e("marks-text"),style:r.value},n.value)}});const Gbe=["id","role","aria-label","aria-labelledby"],Wbe={key:1},Ube=te({name:"ElSlider"}),Ybe=te({...Ube,props:wbe,emits:xbe,setup(e,{expose:t,emit:n}){const r=e,a=Ee("slider"),{t:i}=Xt(),o=nn({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:l,slider:s,firstButton:u,secondButton:c,sliderDisabled:f,minValue:d,maxValue:h,runwayStyle:v,barStyle:p,resetSize:g,emitChange:m,onSliderWrapperPrevent:b,onSliderClick:_,onSliderDown:w,setFirstValue:x,setSecondValue:S}=Tbe(r,o,n),{stops:C,getStopStyle:T}=Obe(r,o,d,h),{inputId:z,isLabeledByFormItem:A}=ro(r,{formItemContext:l}),E=tr(),D=L(()=>r.inputSize||E.value),$=L(()=>r.label||r.ariaLabel||i("el.slider.defaultLabel",{min:r.min,max:r.max})),O=L(()=>r.range?r.rangeStartLabel||i("el.slider.defaultRangeStartLabel"):$.value),R=L(()=>r.formatValueText?r.formatValueText(ee.value):`${ee.value}`),N=L(()=>r.rangeEndLabel||i("el.slider.defaultRangeEndLabel")),B=L(()=>r.formatValueText?r.formatValueText(re.value):`${re.value}`),V=L(()=>[a.b(),a.m(E.value),a.is("vertical",r.vertical),{[a.m("with-input")]:r.showInput}]),P=Cbe(r);Nbe(r,o,d,h,n,l);const W=L(()=>{const le=[r.min,r.max,r.step].map(ae=>{const ie=`${ae}`.split(".")[1];return ie?ie.length:0});return Math.max.apply(null,le)}),{sliderWrapper:Z}=Sbe(r,o,g),{firstValue:ee,secondValue:re,sliderSize:ue}=Ar(o),ye=le=>{o.dragging=le};return Rt(dB,{...Ar(r),sliderSize:ue,disabled:f,precision:W,emitChange:m,resetSize:g,updateDragging:ye}),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-slider",ref:"https://element-plus.org/en-US/component/slider.html"},L(()=>!!r.label)),t({onSliderClick:_}),(le,ae)=>{var ie,ve;return k(),F("div",{id:le.range?y(z):void 0,ref_key:"sliderWrapper",ref:Z,class:q(y(V)),role:le.range?"group":void 0,"aria-label":le.range&&!y(A)?y($):void 0,"aria-labelledby":le.range&&y(A)?(ie=y(l))==null?void 0:ie.labelId:void 0,onTouchstart:ae[2]||(ae[2]=(...ce)=>y(b)&&y(b)(...ce)),onTouchmove:ae[3]||(ae[3]=(...ce)=>y(b)&&y(b)(...ce))},[X("div",{ref_key:"slider",ref:s,class:q([y(a).e("runway"),{"show-input":le.showInput&&!le.range},y(a).is("disabled",y(f))]),style:Be(y(v)),onMousedown:ae[0]||(ae[0]=(...ce)=>y(w)&&y(w)(...ce)),onTouchstart:ae[1]||(ae[1]=(...ce)=>y(w)&&y(w)(...ce))},[X("div",{class:q(y(a).e("bar")),style:Be(y(p))},null,6),I(tz,{id:le.range?void 0:y(z),ref_key:"firstButton",ref:u,"model-value":y(ee),vertical:le.vertical,"tooltip-class":le.tooltipClass,placement:le.placement,role:"slider","aria-label":le.range||!y(A)?y(O):void 0,"aria-labelledby":!le.range&&y(A)?(ve=y(l))==null?void 0:ve.labelId:void 0,"aria-valuemin":le.min,"aria-valuemax":le.range?y(re):le.max,"aria-valuenow":y(ee),"aria-valuetext":y(R),"aria-orientation":le.vertical?"vertical":"horizontal","aria-disabled":y(f),"onUpdate:modelValue":y(x)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),le.range?(k(),Y(tz,{key:0,ref_key:"secondButton",ref:c,"model-value":y(re),vertical:le.vertical,"tooltip-class":le.tooltipClass,placement:le.placement,role:"slider","aria-label":y(N),"aria-valuemin":y(ee),"aria-valuemax":le.max,"aria-valuenow":y(re),"aria-valuetext":y(B),"aria-orientation":le.vertical?"vertical":"horizontal","aria-disabled":y(f),"onUpdate:modelValue":y(S)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):Q("v-if",!0),le.showStops?(k(),F("div",Wbe,[(k(!0),F(de,null,we(y(C),(ce,fe)=>(k(),F("div",{key:fe,class:q(y(a).e("stop")),style:Be(y(T)(ce))},null,6))),128))])):Q("v-if",!0),y(P).length>0?(k(),F(de,{key:2},[X("div",null,[(k(!0),F(de,null,we(y(P),(ce,fe)=>(k(),F("div",{key:fe,style:Be(y(T)(ce.position)),class:q([y(a).e("stop"),y(a).e("marks-stop")])},null,6))),128))]),X("div",{class:q(y(a).e("marks"))},[(k(!0),F(de,null,we(y(P),(ce,fe)=>(k(),Y(y(qbe),{key:fe,mark:ce.mark,style:Be(y(T)(ce.position))},null,8,["mark","style"]))),128))],2)],64)):Q("v-if",!0)],38),le.showInput&&!le.range?(k(),Y(y($V),{key:0,ref:"input","model-value":y(ee),class:q(y(a).e("input")),step:le.step,disabled:y(f),controls:le.showInputControls,min:le.min,max:le.max,debounce:le.debounce,size:y(D),"onUpdate:modelValue":y(x),onChange:y(m)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):Q("v-if",!0)],42,Gbe)}}});var Kbe=Ne(Ybe,[["__file","slider.vue"]]);const Xbe=St(Kbe),Zbe=Oe({prefixCls:{type:String}}),nz=te({name:"ElSpaceItem",props:Zbe,setup(e,{slots:t}){const n=Ee("space"),r=L(()=>`${e.prefixCls||n.b()}__item`);return()=>tt("div",{class:r.value},me(t,"default"))}}),rz={small:8,default:12,large:16};function Jbe(e){const t=Ee("space"),n=L(()=>[t.b(),t.m(e.direction),e.class]),r=j(0),a=j(0),i=L(()=>{const l=e.wrap||e.fill?{flexWrap:"wrap"}:{},s={alignItems:e.alignment},u={rowGap:`${a.value}px`,columnGap:`${r.value}px`};return[l,s,u,e.style]}),o=L(()=>e.fill?{flexGrow:1,minWidth:`${e.fillRatio}%`}:{});return Or(()=>{const{size:l="small",wrap:s,direction:u,fill:c}=e;if(We(l)){const[f=0,d=0]=l;r.value=f,a.value=d}else{let f;ot(l)?f=l:f=rz[l||"small"]||rz.small,(s||c)&&u==="horizontal"?r.value=a.value=f:u==="horizontal"?(r.value=f,a.value=0):(a.value=f,r.value=0)}}),{classes:n,containerStyle:i,itemStyle:o}}const Qbe=Oe({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:he([String,Object,Array]),default:""},style:{type:he([String,Array,Object]),default:""},alignment:{type:he(String),default:"center"},prefixCls:{type:String},spacer:{type:he([Object,String,Number,Array]),default:null,validator:e=>Dn(e)||ot(e)||vt(e)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:jo,validator:e=>ot(e)||We(e)&&e.length===2&&e.every(ot)}}),e_e=te({name:"ElSpace",props:Qbe,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:a}=Jbe(e);function i(o,l="",s=[]){const{prefixCls:u}=e;return o.forEach((c,f)=>{y4(c)?We(c.children)&&c.children.forEach((d,h)=>{y4(d)&&We(d.children)?i(d.children,`${l+h}-`,s):s.push(I(nz,{style:a.value,prefixCls:u,key:`nested-${l+h}`},{default:()=>[d]},ii.PROPS|ii.STYLE,["style","prefixCls"]))}):Rie(c)&&s.push(I(nz,{style:a.value,prefixCls:u,key:`LoopKey${l+f}`},{default:()=>[c]},ii.PROPS|ii.STYLE,["style","prefixCls"]))}),s}return()=>{var o;const{spacer:l,direction:s}=e,u=me(t,"default",{key:0},()=>[]);if(((o=u.children)!=null?o:[]).length===0)return null;if(We(u.children)){let c=i(u.children);if(l){const f=c.length-1;c=c.reduce((d,h,v)=>{const p=[...d,h];return v!==f&&p.push(I("span",{style:[a.value,s==="vertical"?"width: 100%":null],key:v},[Dn(l)?l:G(l,ii.TEXT)],ii.STYLE)),p},[])}return I("div",{class:n.value,style:r.value},c,ii.STYLE|ii.CLASS)}return u.children}}}),t_e=St(e_e),n_e=Oe({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:he([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:he([String,Object,Array])}}),r_e=te({name:"ElStatistic"}),a_e=te({...r_e,props:n_e,setup(e,{expose:t}){const n=e,r=Ee("statistic"),a=L(()=>{const{value:i,formatter:o,precision:l,decimalSeparator:s,groupSeparator:u}=n;if(st(o))return o(i);if(!ot(i))return i;let[c,f=""]=String(i).split(".");return f=f.padEnd(l,"0").slice(0,l>0?l:0),c=c.replace(/\B(?=(\d{3})+(?!\d))/g,u),[c,f].join(f?s:"")});return t({displayValue:a}),(i,o)=>(k(),F("div",{class:q(y(r).b())},[i.$slots.title||i.title?(k(),F("div",{key:0,class:q(y(r).e("head"))},[me(i.$slots,"title",{},()=>[G(U(i.title),1)])],2)):Q("v-if",!0),X("div",{class:q(y(r).e("content"))},[i.$slots.prefix||i.prefix?(k(),F("div",{key:0,class:q(y(r).e("prefix"))},[me(i.$slots,"prefix",{},()=>[X("span",null,U(i.prefix),1)])],2)):Q("v-if",!0),X("span",{class:q(y(r).e("number")),style:Be(i.valueStyle)},U(y(a)),7),i.$slots.suffix||i.suffix?(k(),F("div",{key:1,class:q(y(r).e("suffix"))},[me(i.$slots,"suffix",{},()=>[X("span",null,U(i.suffix),1)])],2)):Q("v-if",!0)],2)],2))}});var i_e=Ne(a_e,[["__file","statistic.vue"]]);const hB=St(i_e),o_e=Oe({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:he([Number,Object]),default:0},valueStyle:{type:he([String,Object,Array])}}),l_e={finish:()=>!0,[Tn]:e=>ot(e)},s_e=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]],az=e=>ot(e)?new Date(e).getTime():e.valueOf(),iz=(e,t)=>{let n=e;const r=/\[([^\]]*)]/g;return s_e.reduce((i,[o,l])=>{const s=new RegExp(`${o}+(?![^\\[\\]]*\\])`,"g");if(s.test(i)){const u=Math.floor(n/l);return n-=u*l,i.replace(s,c=>String(u).padStart(c.length,"0"))}return i},t).replace(r,"$1")},u_e=te({name:"ElCountdown"}),c_e=te({...u_e,props:o_e,emits:l_e,setup(e,{expose:t,emit:n}){const r=e;let a;const i=j(az(r.value)-Date.now()),o=L(()=>iz(i.value,r.format)),l=c=>iz(c,r.format),s=()=>{a&&(Dc(a),a=void 0)},u=()=>{const c=az(r.value),f=()=>{let d=c-Date.now();n("change",d),d<=0?(d=0,s(),n("finish")):a=Fs(f),i.value=d};a=Fs(f)};return ke(()=>[r.value,r.format],()=>{s(),u()},{immediate:!0}),wn(()=>{s()}),t({displayValue:o}),(c,f)=>(k(),Y(y(hB),{value:i.value,title:c.title,prefix:c.prefix,suffix:c.suffix,"value-style":c.valueStyle,formatter:l},_l({_:2},[we(c.$slots,(d,h)=>({name:h,fn:M(()=>[me(c.$slots,h)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var f_e=Ne(c_e,[["__file","countdown.vue"]]);const d_e=St(f_e),h_e=Oe({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),v_e={[Tn]:(e,t)=>[e,t].every(ot)},p_e=te({name:"ElSteps"}),g_e=te({...p_e,props:h_e,emits:v_e,setup(e,{emit:t}){const n=e,r=Ee("steps"),{children:a,addChild:i,removeChild:o}=PS(xt(),"ElStep");return ke(a,()=>{a.value.forEach((l,s)=>{l.setIndex(s)})}),Rt("ElSteps",{props:n,steps:a,addStep:i,removeStep:o}),ke(()=>n.active,(l,s)=>{t(Tn,l,s)}),(l,s)=>(k(),F("div",{class:q([y(r).b(),y(r).m(l.simple?"simple":l.direction)])},[me(l.$slots,"default")],2))}});var m_e=Ne(g_e,[["__file","steps.vue"]]);const y_e=Oe({title:{type:String,default:""},icon:{type:hn},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),b_e=te({name:"ElStep"}),__e=te({...b_e,props:y_e,setup(e){const t=e,n=Ee("step"),r=j(-1),a=j({}),i=j(""),o=Ye("ElSteps"),l=xt();bt(()=>{ke([()=>o.props.active,()=>o.props.processStatus,()=>o.props.finishStatus],([S])=>{w(S)},{immediate:!0})}),wn(()=>{o.removeStep(x.uid)});const s=L(()=>t.status||i.value),u=L(()=>{const S=o.steps.value[r.value-1];return S?S.currentStatus:"wait"}),c=L(()=>o.props.alignCenter),f=L(()=>o.props.direction==="vertical"),d=L(()=>o.props.simple),h=L(()=>o.steps.value.length),v=L(()=>{var S;return((S=o.steps.value[h.value-1])==null?void 0:S.uid)===(l==null?void 0:l.uid)}),p=L(()=>d.value?"":o.props.space),g=L(()=>[n.b(),n.is(d.value?"simple":o.props.direction),n.is("flex",v.value&&!p.value&&!c.value),n.is("center",c.value&&!f.value&&!d.value)]),m=L(()=>{const S={flexBasis:ot(p.value)?`${p.value}px`:p.value?p.value:`${100/(h.value-(c.value?0:1))}%`};return f.value||v.value&&(S.maxWidth=`${100/h.value}%`),S}),b=S=>{r.value=S},_=S=>{const C=S==="wait",T={transitionDelay:`${C?"-":""}${150*r.value}ms`},z=S===o.props.processStatus||C?0:100;T.borderWidth=z&&!d.value?"1px":0,T[o.props.direction==="vertical"?"height":"width"]=`${z}%`,a.value=T},w=S=>{S>r.value?i.value=o.props.finishStatus:S===r.value&&u.value!=="error"?i.value=o.props.processStatus:i.value="wait";const C=o.steps.value[r.value-1];C&&C.calcProgress(i.value)},x=nn({uid:l.uid,currentStatus:s,setIndex:b,calcProgress:_});return o.addStep(x),(S,C)=>(k(),F("div",{style:Be(y(m)),class:q(y(g))},[Q(" icon & line "),X("div",{class:q([y(n).e("head"),y(n).is(y(s))])},[y(d)?Q("v-if",!0):(k(),F("div",{key:0,class:q(y(n).e("line"))},[X("i",{class:q(y(n).e("line-inner")),style:Be(a.value)},null,6)],2)),X("div",{class:q([y(n).e("icon"),y(n).is(S.icon||S.$slots.icon?"icon":"text")])},[me(S.$slots,"icon",{},()=>[S.icon?(k(),Y(y(Ze),{key:0,class:q(y(n).e("icon-inner"))},{default:M(()=>[(k(),Y(It(S.icon)))]),_:1},8,["class"])):y(s)==="success"?(k(),Y(y(Ze),{key:1,class:q([y(n).e("icon-inner"),y(n).is("status")])},{default:M(()=>[I(y(pp))]),_:1},8,["class"])):y(s)==="error"?(k(),Y(y(Ze),{key:2,class:q([y(n).e("icon-inner"),y(n).is("status")])},{default:M(()=>[I(y(Xi))]),_:1},8,["class"])):y(d)?Q("v-if",!0):(k(),F("div",{key:3,class:q(y(n).e("icon-inner"))},U(r.value+1),3))])],2)],2),Q(" title & description "),X("div",{class:q(y(n).e("main"))},[X("div",{class:q([y(n).e("title"),y(n).is(y(s))])},[me(S.$slots,"title",{},()=>[G(U(S.title),1)])],2),y(d)?(k(),F("div",{key:0,class:q(y(n).e("arrow"))},null,2)):(k(),F("div",{key:1,class:q([y(n).e("description"),y(n).is(y(s))])},[me(S.$slots,"description",{},()=>[G(U(S.description),1)])],2))],2)],6))}});var vB=Ne(__e,[["__file","item.vue"]]);const w_e=St(m_e,{Step:vB}),x_e=On(vB),S_e=Oe({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:gN},width:{type:[String,Number],default:""},inlinePrompt:{type:Boolean,default:!1},inactiveActionIcon:{type:hn},activeActionIcon:{type:hn},activeIcon:{type:hn},inactiveIcon:{type:hn},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:he(Function)},id:String,tabindex:{type:[String,Number]},label:{type:String,default:void 0},...Er(["ariaLabel"])}),C_e={[Mt]:e=>Jn(e)||vt(e)||ot(e),[Tn]:e=>Jn(e)||vt(e)||ot(e),[sa]:e=>Jn(e)||vt(e)||ot(e)},T_e=["onClick"],k_e=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],z_e=["aria-hidden"],M_e=["aria-hidden"],A_e=["aria-hidden"],pB="ElSwitch",E_e=te({name:pB}),I_e=te({...E_e,props:S_e,emits:C_e,setup(e,{expose:t,emit:n}){const r=e,{formItem:a}=Qr(),i=tr(),o=Ee("switch"),{inputId:l}=ro(r,{formItemContext:a}),s=ma(L(()=>r.loading)),u=j(r.modelValue!==!1),c=j(),f=j(),d=L(()=>[o.b(),o.m(i.value),o.is("disabled",s.value),o.is("checked",m.value)]),h=L(()=>[o.e("label"),o.em("label","left"),o.is("active",!m.value)]),v=L(()=>[o.e("label"),o.em("label","right"),o.is("active",m.value)]),p=L(()=>({width:Fn(r.width)}));ke(()=>r.modelValue,()=>{u.value=!0});const g=L(()=>u.value?r.modelValue:!1),m=L(()=>g.value===r.activeValue);[r.activeValue,r.inactiveValue].includes(g.value)||(n(Mt,r.inactiveValue),n(Tn,r.inactiveValue),n(sa,r.inactiveValue)),ke(m,x=>{var S;c.value.checked=x,r.validateEvent&&((S=a==null?void 0:a.validate)==null||S.call(a,"change").catch(C=>void 0))});const b=()=>{const x=m.value?r.inactiveValue:r.activeValue;n(Mt,x),n(Tn,x),n(sa,x),nt(()=>{c.value.checked=m.value})},_=()=>{if(s.value)return;const{beforeChange:x}=r;if(!x){b();return}const S=x();[r1(S),Jn(S)].includes(!0)||or(pB,"beforeChange must return type `Promise<boolean>` or `boolean`"),r1(S)?S.then(T=>{T&&b()}).catch(T=>{}):S&&b()},w=()=>{var x,S;(S=(x=c.value)==null?void 0:x.focus)==null||S.call(x)};return bt(()=>{c.value.checked=m.value}),gr({from:"label",replacement:"aria-label",version:"2.8.0",scope:"el-switch",ref:"https://element-plus.org/en-US/component/switch.html"},L(()=>!!r.label)),t({focus:w,checked:m}),(x,S)=>(k(),F("div",{class:q(y(d)),onClick:ft(_,["prevent"])},[X("input",{id:y(l),ref_key:"input",ref:c,class:q(y(o).e("input")),type:"checkbox",role:"switch","aria-checked":y(m),"aria-disabled":y(s),"aria-label":x.label||x.ariaLabel,name:x.name,"true-value":x.activeValue,"false-value":x.inactiveValue,disabled:y(s),tabindex:x.tabindex,onChange:b,onKeydown:fn(_,["enter"])},null,42,k_e),!x.inlinePrompt&&(x.inactiveIcon||x.inactiveText)?(k(),F("span",{key:0,class:q(y(h))},[x.inactiveIcon?(k(),Y(y(Ze),{key:0},{default:M(()=>[(k(),Y(It(x.inactiveIcon)))]),_:1})):Q("v-if",!0),!x.inactiveIcon&&x.inactiveText?(k(),F("span",{key:1,"aria-hidden":y(m)},U(x.inactiveText),9,z_e)):Q("v-if",!0)],2)):Q("v-if",!0),X("span",{ref_key:"core",ref:f,class:q(y(o).e("core")),style:Be(y(p))},[x.inlinePrompt?(k(),F("div",{key:0,class:q(y(o).e("inner"))},[x.activeIcon||x.inactiveIcon?(k(),Y(y(Ze),{key:0,class:q(y(o).is("icon"))},{default:M(()=>[(k(),Y(It(y(m)?x.activeIcon:x.inactiveIcon)))]),_:1},8,["class"])):x.activeText||x.inactiveText?(k(),F("span",{key:1,class:q(y(o).is("text")),"aria-hidden":!y(m)},U(y(m)?x.activeText:x.inactiveText),11,M_e)):Q("v-if",!0)],2)):Q("v-if",!0),X("div",{class:q(y(o).e("action"))},[x.loading?(k(),Y(y(Ze),{key:0,class:q(y(o).is("loading"))},{default:M(()=>[I(y(iu))]),_:1},8,["class"])):y(m)?me(x.$slots,"active-action",{key:1},()=>[x.activeActionIcon?(k(),Y(y(Ze),{key:0},{default:M(()=>[(k(),Y(It(x.activeActionIcon)))]),_:1})):Q("v-if",!0)]):y(m)?Q("v-if",!0):me(x.$slots,"inactive-action",{key:2},()=>[x.inactiveActionIcon?(k(),Y(y(Ze),{key:0},{default:M(()=>[(k(),Y(It(x.inactiveActionIcon)))]),_:1})):Q("v-if",!0)])],2)],6),!x.inlinePrompt&&(x.activeIcon||x.activeText)?(k(),F("span",{key:1,class:q(y(v))},[x.activeIcon?(k(),Y(y(Ze),{key:0},{default:M(()=>[(k(),Y(It(x.activeIcon)))]),_:1})):Q("v-if",!0),!x.activeIcon&&x.activeText?(k(),F("span",{key:1,"aria-hidden":!y(m)},U(x.activeText),9,A_e)):Q("v-if",!0)],2)):Q("v-if",!0)],10,T_e))}});var D_e=Ne(I_e,[["__file","switch.vue"]]);const L_e=St(D_e),gb=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},P_e=function(e,t,n,r,a){if(!t&&!r&&(!a||Array.isArray(a)&&!a.length))return e;typeof n=="string"?n=n==="descending"?-1:1:n=n&&n<0?-1:1;const i=r?null:function(l,s){return a?(Array.isArray(a)||(a=[a]),a.map(u=>typeof u=="string"?Wn(l,u):u(l,s,e))):(t!=="$key"&&zt(l)&&"$value"in l&&(l=l.$value),[zt(l)?Wn(l,t):l])},o=function(l,s){if(r)return r(l.value,s.value);for(let u=0,c=l.key.length;u<c;u++){if(l.key[u]<s.key[u])return-1;if(l.key[u]>s.key[u])return 1}return 0};return e.map((l,s)=>({value:l,index:s,key:i?i(l,s):null})).sort((l,s)=>{let u=o(l,s);return u||(u=l.index-s.index),u*+n}).map(l=>l.value)},gB=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},R_e=function(e,t){let n=null;for(let r=0;r<e.columns.length;r++){const a=e.columns[r];if(a.columnKey===t){n=a;break}}return n||or("ElTable",`No column matching with column-key: ${t}`),n},oz=function(e,t,n){const r=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return r?gB(e,r[0]):null},Rr=(e,t)=>{if(!e)throw new Error("Row is required when get row identity");if(typeof t=="string"){if(!t.includes("."))return`${e[t]}`;const n=t.split(".");let r=e;for(const a of n)r=r[a];return`${r}`}else if(typeof t=="function")return t.call(null,e)},rc=function(e,t){const n={};return(e||[]).forEach((r,a)=>{n[Rr(r,t)]={row:r,index:a}}),n};function O_e(e,t){const n={};let r;for(r in e)n[r]=e[r];for(r in t)if(Ut(t,r)){const a=t[r];typeof a<"u"&&(n[r]=a)}return n}function i6(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function mB(e){return e===""||e!==void 0&&(e=i6(e),Number.isNaN(e)&&(e=80)),e}function N_e(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function $_e(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function Vv(e,t,n){let r=!1;const a=e.indexOf(t),i=a!==-1,o=l=>{l==="add"?e.push(t):e.splice(a,1),r=!0,We(t.children)&&t.children.forEach(s=>{Vv(e,s,n??!i)})};return Jn(n)?n&&!i?o("add"):!n&&i&&o("remove"):o(i?"remove":"add"),r}function V_e(e,t,n="children",r="hasChildren"){const a=o=>!(Array.isArray(o)&&o.length);function i(o,l,s){t(o,l,s),l.forEach(u=>{if(u[r]){t(u,null,s+1);return}const c=u[n];a(c)||i(u,c,s+1)})}e.forEach(o=>{if(o[r]){t(o,null,0);return}const l=o[n];a(l)||i(o,l,0)})}let ti=null;function B_e(e,t,n,r){if((ti==null?void 0:ti.trigger)===n)return;ti==null||ti();const a=r==null?void 0:r.refs.tableWrapper,i=a==null?void 0:a.dataset.prefix,o={strategy:"fixed",...e.popperOptions},l=I(Xr,{content:t,virtualTriggering:!0,virtualRef:n,appendTo:a,placement:"top",transition:"none",offset:0,hideAfter:0,...e,popperOptions:o,onHide:()=>{ti==null||ti()}});l.appContext={...r.appContext,...r};const s=document.createElement("div");$s(l,s),l.component.exposed.onOpen();const u=a==null?void 0:a.querySelector(`.${i}-scrollbar__wrap`);ti=()=>{$s(null,s),u==null||u.removeEventListener("scroll",ti),ti=null},ti.trigger=n,u==null||u.addEventListener("scroll",ti)}function yB(e){return e.children?Jre(e.children,yB):[e]}function lz(e,t){return e+t.colSpan}const bB=(e,t,n,r)=>{let a=0,i=e;const o=n.states.columns.value;if(r){const s=yB(r[e]);a=o.slice(0,o.indexOf(s[0])).reduce(lz,0),i=a+s.reduce(lz,0)-1}else a=e;let l;switch(t){case"left":i<n.states.fixedLeafColumnsLength.value&&(l="left");break;case"right":a>=o.length-n.states.rightFixedLeafColumnsLength.value&&(l="right");break;default:i<n.states.fixedLeafColumnsLength.value?l="left":a>=o.length-n.states.rightFixedLeafColumnsLength.value&&(l="right")}return l?{direction:l,start:a,after:i}:{}},o6=(e,t,n,r,a,i=0)=>{const o=[],{direction:l,start:s,after:u}=bB(t,n,r,a);if(l){const c=l==="left";o.push(`${e}-fixed-column--${l}`),c&&u+i===r.states.fixedLeafColumnsLength.value-1?o.push("is-last-column"):!c&&s-i===r.states.columns.value.length-r.states.rightFixedLeafColumnsLength.value&&o.push("is-first-column")}return o};function sz(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const l6=(e,t,n,r)=>{const{direction:a,start:i=0,after:o=0}=bB(e,t,n,r);if(!a)return;const l={},s=a==="left",u=n.states.columns.value;return s?l.left=u.slice(0,i).reduce(sz,0):l.right=u.slice(o+1).reverse().reduce(sz,0),l},Dd=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function F_e(e){const t=xt(),n=j(!1),r=j([]);return{updateExpandRows:()=>{const s=e.data.value||[],u=e.rowKey.value;if(n.value)r.value=s.slice();else if(u){const c=rc(r.value,u);r.value=s.reduce((f,d)=>{const h=Rr(d,u);return c[h]&&f.push(d),f},[])}else r.value=[]},toggleRowExpansion:(s,u)=>{Vv(r.value,s,u)&&t.emit("expand-change",s,r.value.slice())},setExpandRowKeys:s=>{t.store.assertRowKey();const u=e.data.value||[],c=e.rowKey.value,f=rc(u,c);r.value=s.reduce((d,h)=>{const v=f[h];return v&&d.push(v.row),d},[])},isRowExpanded:s=>{const u=e.rowKey.value;return u?!!rc(r.value,u)[Rr(s,u)]:r.value.includes(s)},states:{expandRows:r,defaultExpandAll:n}}}function H_e(e){const t=xt(),n=j(null),r=j(null),a=u=>{t.store.assertRowKey(),n.value=u,o(u)},i=()=>{n.value=null},o=u=>{const{data:c,rowKey:f}=e;let d=null;f.value&&(d=(y(c)||[]).find(h=>Rr(h,f.value)===u)),r.value=d,t.emit("current-change",r.value,null)};return{setCurrentRowKey:a,restoreCurrentRowKey:i,setCurrentRowByKey:o,updateCurrentRow:u=>{const c=r.value;if(u&&u!==c){r.value=u,t.emit("current-change",r.value,c);return}!u&&c&&(r.value=null,t.emit("current-change",null,c))},updateCurrentRowData:()=>{const u=e.rowKey.value,c=e.data.value||[],f=r.value;if(!c.includes(f)&&f){if(u){const d=Rr(f,u);o(d)}else r.value=null;r.value===null&&t.emit("current-change",null,f)}else n.value&&(o(n.value),i())},states:{_currentRowKey:n,currentRow:r}}}function j_e(e){const t=j([]),n=j({}),r=j(16),a=j(!1),i=j({}),o=j("hasChildren"),l=j("children"),s=xt(),u=L(()=>{if(!e.rowKey.value)return{};const m=e.data.value||[];return f(m)}),c=L(()=>{const m=e.rowKey.value,b=Object.keys(i.value),_={};return b.length&&b.forEach(w=>{if(i.value[w].length){const x={children:[]};i.value[w].forEach(S=>{const C=Rr(S,m);x.children.push(C),S[o.value]&&!_[C]&&(_[C]={children:[]})}),_[w]=x}}),_}),f=m=>{const b=e.rowKey.value,_={};return V_e(m,(w,x,S)=>{const C=Rr(w,b);Array.isArray(x)?_[C]={children:x.map(T=>Rr(T,b)),level:S}:a.value&&(_[C]={children:[],lazy:!0,level:S})},l.value,o.value),_},d=(m=!1,b=(_=>(_=s.store)==null?void 0:_.states.defaultExpandAll.value)())=>{var _;const w=u.value,x=c.value,S=Object.keys(w),C={};if(S.length){const T=y(n),z=[],A=(D,$)=>{if(m)return t.value?b||t.value.includes($):!!(b||D!=null&&D.expanded);{const O=b||t.value&&t.value.includes($);return!!(D!=null&&D.expanded||O)}};S.forEach(D=>{const $=T[D],O={...w[D]};if(O.expanded=A($,D),O.lazy){const{loaded:R=!1,loading:N=!1}=$||{};O.loaded=!!R,O.loading=!!N,z.push(D)}C[D]=O});const E=Object.keys(x);a.value&&E.length&&z.length&&E.forEach(D=>{const $=T[D],O=x[D].children;if(z.includes(D)){if(C[D].children.length!==0)throw new Error("[ElTable]children must be an empty array.");C[D].children=O}else{const{loaded:R=!1,loading:N=!1}=$||{};C[D]={lazy:!0,loaded:!!R,loading:!!N,expanded:A($,D),children:O,level:""}}})}n.value=C,(_=s.store)==null||_.updateTableScrollY()};ke(()=>t.value,()=>{d(!0)}),ke(()=>u.value,()=>{d()}),ke(()=>c.value,()=>{d()});const h=m=>{t.value=m,d()},v=(m,b)=>{s.store.assertRowKey();const _=e.rowKey.value,w=Rr(m,_),x=w&&n.value[w];if(w&&x&&"expanded"in x){const S=x.expanded;b=typeof b>"u"?!x.expanded:b,n.value[w].expanded=b,S!==b&&s.emit("expand-change",m,b),s.store.updateTableScrollY()}},p=m=>{s.store.assertRowKey();const b=e.rowKey.value,_=Rr(m,b),w=n.value[_];a.value&&w&&"loaded"in w&&!w.loaded?g(m,_,w):v(m,void 0)},g=(m,b,_)=>{const{load:w}=s.props;w&&!n.value[b].loaded&&(n.value[b].loading=!0,w(m,_,x=>{if(!Array.isArray(x))throw new TypeError("[ElTable] data must be an array");n.value[b].loading=!1,n.value[b].loaded=!0,n.value[b].expanded=!0,x.length&&(i.value[b]=x),s.emit("expand-change",m,!0)}))};return{loadData:g,loadOrToggle:p,toggleTreeExpansion:v,updateTreeExpandKeys:h,updateTreeData:d,normalize:f,states:{expandRowKeys:t,treeData:n,indent:r,lazy:a,lazyTreeNodeMap:i,lazyColumnIdentifier:o,childrenColumnName:l}}}const q_e=(e,t)=>{const n=t.sortingColumn;return!n||typeof n.sortable=="string"?e:P_e(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},K0=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,K0(n.children)):t.push(n)}),t};function G_e(){var e;const t=xt(),{size:n}=Ar((e=t.proxy)==null?void 0:e.$props),r=j(null),a=j([]),i=j([]),o=j(!1),l=j([]),s=j([]),u=j([]),c=j([]),f=j([]),d=j([]),h=j([]),v=j([]),p=[],g=j(0),m=j(0),b=j(0),_=j(!1),w=j([]),x=j(!1),S=j(!1),C=j(null),T=j({}),z=j(null),A=j(null),E=j(null),D=j(null),$=j(null);ke(a,()=>t.state&&B(!1),{deep:!0});const O=()=>{if(!r.value)throw new Error("[ElTable] prop row-key is required")},R=rt=>{var Me;(Me=rt.children)==null||Me.forEach(qe=>{qe.fixed=rt.fixed,R(qe)})},N=()=>{l.value.forEach(_e=>{R(_e)}),c.value=l.value.filter(_e=>_e.fixed===!0||_e.fixed==="left"),f.value=l.value.filter(_e=>_e.fixed==="right"),c.value.length>0&&l.value[0]&&l.value[0].type==="selection"&&!l.value[0].fixed&&(l.value[0].fixed=!0,c.value.unshift(l.value[0]));const rt=l.value.filter(_e=>!_e.fixed);s.value=[].concat(c.value).concat(rt).concat(f.value);const Me=K0(rt),qe=K0(c.value),Le=K0(f.value);g.value=Me.length,m.value=qe.length,b.value=Le.length,u.value=[].concat(qe).concat(Me).concat(Le),o.value=c.value.length>0||f.value.length>0},B=(rt,Me=!1)=>{rt&&N(),Me?t.state.doLayout():t.state.debouncedUpdateLayout()},V=rt=>w.value.includes(rt),P=()=>{_.value=!1;const rt=w.value;w.value=[],rt.length&&t.emit("selection-change",[])},W=()=>{let rt;if(r.value){rt=[];const Me=rc(w.value,r.value),qe=rc(a.value,r.value);for(const Le in Me)Ut(Me,Le)&&!qe[Le]&&rt.push(Me[Le].row)}else rt=w.value.filter(Me=>!a.value.includes(Me));if(rt.length){const Me=w.value.filter(qe=>!rt.includes(qe));w.value=Me,t.emit("selection-change",Me.slice())}},Z=()=>(w.value||[]).slice(),ee=(rt,Me=void 0,qe=!0)=>{if(Vv(w.value,rt,Me)){const _e=(w.value||[]).slice();qe&&t.emit("select",_e,rt),t.emit("selection-change",_e)}},re=()=>{var rt,Me;const qe=S.value?!_.value:!(_.value||w.value.length);_.value=qe;let Le=!1,_e=0;const Ie=(Me=(rt=t==null?void 0:t.store)==null?void 0:rt.states)==null?void 0:Me.rowKey.value;a.value.forEach((Xe,be)=>{const Qe=be+_e;C.value?C.value.call(null,Xe,Qe)&&Vv(w.value,Xe,qe)&&(Le=!0):Vv(w.value,Xe,qe)&&(Le=!0),_e+=le(Rr(Xe,Ie))}),Le&&t.emit("selection-change",w.value?w.value.slice():[]),t.emit("select-all",(w.value||[]).slice())},ue=()=>{const rt=rc(w.value,r.value);a.value.forEach(Me=>{const qe=Rr(Me,r.value),Le=rt[qe];Le&&(w.value[Le.index]=Me)})},ye=()=>{var rt,Me,qe;if(((rt=a.value)==null?void 0:rt.length)===0){_.value=!1;return}let Le;r.value&&(Le=rc(w.value,r.value));const _e=function(Qe){return Le?!!Le[Rr(Qe,r.value)]:w.value.includes(Qe)};let Ie=!0,Xe=0,be=0;for(let Qe=0,Lt=(a.value||[]).length;Qe<Lt;Qe++){const cn=(qe=(Me=t==null?void 0:t.store)==null?void 0:Me.states)==null?void 0:qe.rowKey.value,$n=Qe+be,hr=a.value[Qe],Nt=C.value&&C.value.call(null,hr,$n);if(_e(hr))Xe++;else if(!C.value||Nt){Ie=!1;break}be+=le(Rr(hr,cn))}Xe===0&&(Ie=!1),_.value=Ie},le=rt=>{var Me;if(!t||!t.store)return 0;const{treeData:qe}=t.store.states;let Le=0;const _e=(Me=qe.value[rt])==null?void 0:Me.children;return _e&&(Le+=_e.length,_e.forEach(Ie=>{Le+=le(Ie)})),Le},ae=(rt,Me)=>{Array.isArray(rt)||(rt=[rt]);const qe={};return rt.forEach(Le=>{T.value[Le.id]=Me,qe[Le.columnKey||Le.id]=Me}),qe},ie=(rt,Me,qe)=>{A.value&&A.value!==rt&&(A.value.order=null),A.value=rt,E.value=Me,D.value=qe},ve=()=>{let rt=y(i);Object.keys(T.value).forEach(Me=>{const qe=T.value[Me];if(!qe||qe.length===0)return;const Le=gB({columns:u.value},Me);Le&&Le.filterMethod&&(rt=rt.filter(_e=>qe.some(Ie=>Le.filterMethod.call(null,Ie,_e,Le))))}),z.value=rt},ce=()=>{a.value=q_e(z.value,{sortingColumn:A.value,sortProp:E.value,sortOrder:D.value})},fe=(rt=void 0)=>{rt&&rt.filter||ve(),ce()},xe=rt=>{const{tableHeaderRef:Me}=t.refs;if(!Me)return;const qe=Object.assign({},Me.filterPanels),Le=Object.keys(qe);if(Le.length)if(typeof rt=="string"&&(rt=[rt]),Array.isArray(rt)){const _e=rt.map(Ie=>R_e({columns:u.value},Ie));Le.forEach(Ie=>{const Xe=_e.find(be=>be.id===Ie);Xe&&(Xe.filteredValue=[])}),t.store.commit("filterChange",{column:_e,values:[],silent:!0,multi:!0})}else Le.forEach(_e=>{const Ie=u.value.find(Xe=>Xe.id===_e);Ie&&(Ie.filteredValue=[])}),T.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},J=()=>{A.value&&(ie(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:oe,toggleRowExpansion:pe,updateExpandRows:Te,states:ge,isRowExpanded:Ae}=F_e({data:a,rowKey:r}),{updateTreeExpandKeys:De,toggleTreeExpansion:Pe,updateTreeData:Re,loadOrToggle:Ce,states:Ue}=j_e({data:a,rowKey:r}),{updateCurrentRowData:Je,updateCurrentRow:ze,setCurrentRowKey:Ke,states:ut}=H_e({data:a,rowKey:r});return{assertRowKey:O,updateColumns:N,scheduleLayout:B,isSelected:V,clearSelection:P,cleanSelection:W,getSelectionRows:Z,toggleRowSelection:ee,_toggleAllSelection:re,toggleAllSelection:null,updateSelectionByRowKey:ue,updateAllSelected:ye,updateFilters:ae,updateCurrentRow:ze,updateSort:ie,execFilter:ve,execSort:ce,execQuery:fe,clearFilter:xe,clearSort:J,toggleRowExpansion:pe,setExpandRowKeysAdapter:rt=>{oe(rt),De(rt)},setCurrentRowKey:Ke,toggleRowExpansionAdapter:(rt,Me)=>{u.value.some(({type:Le})=>Le==="expand")?pe(rt,Me):Pe(rt,Me)},isRowExpanded:Ae,updateExpandRows:Te,updateCurrentRowData:Je,loadOrToggle:Ce,updateTreeData:Re,states:{tableSize:n,rowKey:r,data:a,_data:i,isComplex:o,_columns:l,originColumns:s,columns:u,fixedColumns:c,rightFixedColumns:f,leafColumns:d,fixedLeafColumns:h,rightFixedLeafColumns:v,updateOrderFns:p,leafColumnsLength:g,fixedLeafColumnsLength:m,rightFixedLeafColumnsLength:b,isAllSelected:_,selection:w,reserveSelection:x,selectOnIndeterminate:S,selectable:C,filters:T,filteredData:z,sortingColumn:A,sortProp:E,sortOrder:D,hoverRow:$,...ge,...Ue,...ut}}}function rw(e,t){return e.map(n=>{var r;return n.id===t.id?t:((r=n.children)!=null&&r.length&&(n.children=rw(n.children,t)),n)})}function aw(e){e.forEach(t=>{var n,r;t.no=(n=t.getColumnIndex)==null?void 0:n.call(t),(r=t.children)!=null&&r.length&&aw(t.children)}),e.sort((t,n)=>t.no-n.no)}function W_e(){const e=xt(),t=G_e();return{ns:Ee("table"),...t,mutations:{setData(o,l){const s=y(o._data)!==l;o.data.value=l,o._data.value=l,e.store.execQuery(),e.store.updateCurrentRowData(),e.store.updateExpandRows(),e.store.updateTreeData(e.store.states.defaultExpandAll.value),y(o.reserveSelection)?(e.store.assertRowKey(),e.store.updateSelectionByRowKey()):s?e.store.clearSelection():e.store.cleanSelection(),e.store.updateAllSelected(),e.$ready&&e.store.scheduleLayout()},insertColumn(o,l,s,u){const c=y(o._columns);let f=[];s?(s&&!s.children&&(s.children=[]),s.children.push(l),f=rw(c,s)):(c.push(l),f=c),aw(f),o._columns.value=f,o.updateOrderFns.push(u),l.type==="selection"&&(o.selectable.value=l.selectable,o.reserveSelection.value=l.reserveSelection),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},updateColumnOrder(o,l){var s;((s=l.getColumnIndex)==null?void 0:s.call(l))!==l.no&&(aw(o._columns.value),e.$ready&&e.store.updateColumns())},removeColumn(o,l,s,u){const c=y(o._columns)||[];if(s)s.children.splice(s.children.findIndex(d=>d.id===l.id),1),nt(()=>{var d;((d=s.children)==null?void 0:d.length)===0&&delete s.children}),o._columns.value=rw(c,s);else{const d=c.indexOf(l);d>-1&&(c.splice(d,1),o._columns.value=c)}const f=o.updateOrderFns.indexOf(u);f>-1&&o.updateOrderFns.splice(f,1),e.$ready&&(e.store.updateColumns(),e.store.scheduleLayout())},sort(o,l){const{prop:s,order:u,init:c}=l;if(s){const f=y(o.columns).find(d=>d.property===s);f&&(f.order=u,e.store.updateSort(f,s,u),e.store.commit("changeSortCondition",{init:c}))}},changeSortCondition(o,l){const{sortingColumn:s,sortProp:u,sortOrder:c}=o,f=y(s),d=y(u),h=y(c);h===null&&(o.sortingColumn.value=null,o.sortProp.value=null);const v={filter:!0};e.store.execQuery(v),(!l||!(l.silent||l.init))&&e.emit("sort-change",{column:f,prop:d,order:h}),e.store.updateTableScrollY()},filterChange(o,l){const{column:s,values:u,silent:c}=l,f=e.store.updateFilters(s,u);e.store.execQuery(),c||e.emit("filter-change",f),e.store.updateTableScrollY()},toggleAllSelection(){e.store.toggleAllSelection()},rowSelectedChanged(o,l){e.store.toggleRowSelection(l),e.store.updateAllSelected()},setHoverRow(o,l){o.hoverRow.value=l},setCurrentRow(o,l){e.store.updateCurrentRow(l)}},commit:function(o,...l){const s=e.store.mutations;if(s[o])s[o].apply(e,[e.store.states].concat(l));else throw new Error(`Action not found: ${o}`)},updateTableScrollY:function(){nt(()=>e.layout.updateScrollY.apply(e.layout))}}}const Bv={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy",data:"data","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"}};function U_e(e,t){if(!e)throw new Error("Table is required.");const n=W_e();return n.toggleAllSelection=La(n._toggleAllSelection,10),Object.keys(Bv).forEach(r=>{_B(wB(t,r),r,n)}),Y_e(n,t),n}function Y_e(e,t){Object.keys(Bv).forEach(n=>{ke(()=>wB(t,n),r=>{_B(r,n,e)})})}function _B(e,t,n){let r=e,a=Bv[t];typeof Bv[t]=="object"&&(a=a.key,r=r||Bv[t].default),n.states[a].value=r}function wB(e,t){if(t.includes(".")){const n=t.split(".");let r=e;return n.forEach(a=>{r=r[a]}),r}else return e[t]}class K_e{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=j(null),this.scrollX=j(!1),this.scrollY=j(!1),this.bodyWidth=j(null),this.fixedWidth=j(null),this.rightFixedWidth=j(null),this.gutterWidth=0;for(const n in t)Ut(t,n)&&(ct(this[n])?this[n].value=t[n]:this[n]=t[n]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){if(this.height.value===null)return!1;const n=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(n!=null&&n.wrapRef)){let r=!0;const a=this.scrollY.value;return r=n.wrapRef.scrollHeight>n.wrapRef.clientHeight,this.scrollY.value=r,a!==r}return!1}setHeight(t,n="height"){if(!Wt)return;const r=this.table.vnode.el;if(t=N_e(t),this.height.value=Number(t),!r&&(t||t===0))return nt(()=>this.setHeight(t,n));typeof t=="number"?(r.style[n]=`${t}px`,this.updateElsHeight()):typeof t=="string"&&(r.style[n]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(r=>{r.isColumnGroup?t.push.apply(t,r.columns):t.push(r)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let n=t;for(;n.tagName!=="DIV";){if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1}updateColumnsWidth(){if(!Wt)return;const t=this.fit,n=this.table.vnode.el.clientWidth;let r=0;const a=this.getFlattenColumns(),i=a.filter(s=>typeof s.width!="number");if(a.forEach(s=>{typeof s.width=="number"&&s.realWidth&&(s.realWidth=null)}),i.length>0&&t){if(a.forEach(s=>{r+=Number(s.width||s.minWidth||80)}),r<=n){this.scrollX.value=!1;const s=n-r;if(i.length===1)i[0].realWidth=Number(i[0].minWidth||80)+s;else{const u=i.reduce((d,h)=>d+Number(h.minWidth||80),0),c=s/u;let f=0;i.forEach((d,h)=>{if(h===0)return;const v=Math.floor(Number(d.minWidth||80)*c);f+=v,d.realWidth=Number(d.minWidth||80)+v}),i[0].realWidth=Number(i[0].minWidth||80)+s-f}}else this.scrollX.value=!0,i.forEach(s=>{s.realWidth=Number(s.minWidth)});this.bodyWidth.value=Math.max(r,n),this.table.state.resizeState.value.width=this.bodyWidth.value}else a.forEach(s=>{!s.width&&!s.minWidth?s.realWidth=80:s.realWidth=Number(s.width||s.minWidth),r+=s.realWidth}),this.scrollX.value=r>n,this.bodyWidth.value=r;const o=this.store.states.fixedColumns.value;if(o.length>0){let s=0;o.forEach(u=>{s+=Number(u.realWidth||u.width)}),this.fixedWidth.value=s}const l=this.store.states.rightFixedColumns.value;if(l.length>0){let s=0;l.forEach(u=>{s+=Number(u.realWidth||u.width)}),this.rightFixedWidth.value=s}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const n=this.observers.indexOf(t);n!==-1&&this.observers.splice(n,1)}notifyObservers(t){this.observers.forEach(r=>{var a,i;switch(t){case"columns":(a=r.state)==null||a.onColumnsChange(this);break;case"scrollable":(i=r.state)==null||i.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const{CheckboxGroup:X_e}=ki,Z_e=te({name:"ElTableFilterPanel",components:{ElCheckbox:ki,ElCheckboxGroup:X_e,ElScrollbar:$l,ElTooltip:Xr,ElIcon:Ze,ArrowDown:Ol,ArrowUp:oS},directives:{ClickOutside:Sl},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function}},setup(e){const t=xt(),{t:n}=Xt(),r=Ee("table-filter"),a=t==null?void 0:t.parent;a.filterPanels.value[e.column.id]||(a.filterPanels.value[e.column.id]=t);const i=j(!1),o=j(null),l=L(()=>e.column&&e.column.filters),s=L(()=>e.column.filterClassName?`${r.b()} ${e.column.filterClassName}`:r.b()),u=L({get:()=>{var x;return(((x=e.column)==null?void 0:x.filteredValue)||[])[0]},set:x=>{c.value&&(typeof x<"u"&&x!==null?c.value.splice(0,1,x):c.value.splice(0,1))}}),c=L({get(){return e.column?e.column.filteredValue||[]:[]},set(x){e.column&&e.upDataColumn("filteredValue",x)}}),f=L(()=>e.column?e.column.filterMultiple:!0),d=x=>x.value===u.value,h=()=>{i.value=!1},v=x=>{x.stopPropagation(),i.value=!i.value},p=()=>{i.value=!1},g=()=>{_(c.value),h()},m=()=>{c.value=[],_(c.value),h()},b=x=>{u.value=x,_(typeof x<"u"&&x!==null?c.value:[]),h()},_=x=>{e.store.commit("filterChange",{column:e.column,values:x}),e.store.updateAllSelected()};ke(i,x=>{e.column&&e.upDataColumn("filterOpened",x)},{immediate:!0});const w=L(()=>{var x,S;return(S=(x=o.value)==null?void 0:x.popperRef)==null?void 0:S.contentRef});return{tooltipVisible:i,multiple:f,filterClassName:s,filteredValue:c,filterValue:u,filters:l,handleConfirm:g,handleReset:m,handleSelect:b,isActive:d,t:n,ns:r,showFilterPanel:v,hideFilterPanel:p,popperPaneRef:w,tooltip:o}}}),J_e={key:0},Q_e=["disabled"],e9e=["label","onClick"];function t9e(e,t,n,r,a,i){const o=se("el-checkbox"),l=se("el-checkbox-group"),s=se("el-scrollbar"),u=se("arrow-up"),c=se("arrow-down"),f=se("el-icon"),d=se("el-tooltip"),h=oy("click-outside");return k(),Y(d,{ref:"tooltip",visible:e.tooltipVisible,offset:0,placement:e.placement,"show-arrow":!1,"stop-popper-mouse-event":!1,teleported:"",effect:"light",pure:"","popper-class":e.filterClassName,persistent:""},{content:M(()=>[e.multiple?(k(),F("div",J_e,[X("div",{class:q(e.ns.e("content"))},[I(s,{"wrap-class":e.ns.e("wrap")},{default:M(()=>[I(l,{modelValue:e.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=v=>e.filteredValue=v),class:q(e.ns.e("checkbox-group"))},{default:M(()=>[(k(!0),F(de,null,we(e.filters,v=>(k(),Y(o,{key:v.value,value:v.value},{default:M(()=>[G(U(v.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),X("div",{class:q(e.ns.e("bottom"))},[X("button",{class:q({[e.ns.is("disabled")]:e.filteredValue.length===0}),disabled:e.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...v)=>e.handleConfirm&&e.handleConfirm(...v))},U(e.t("el.table.confirmFilter")),11,Q_e),X("button",{type:"button",onClick:t[2]||(t[2]=(...v)=>e.handleReset&&e.handleReset(...v))},U(e.t("el.table.resetFilter")),1)],2)])):(k(),F("ul",{key:1,class:q(e.ns.e("list"))},[X("li",{class:q([e.ns.e("list-item"),{[e.ns.is("active")]:e.filterValue===void 0||e.filterValue===null}]),onClick:t[3]||(t[3]=v=>e.handleSelect(null))},U(e.t("el.table.clearFilter")),3),(k(!0),F(de,null,we(e.filters,v=>(k(),F("li",{key:v.value,class:q([e.ns.e("list-item"),e.ns.is("active",e.isActive(v))]),label:v.value,onClick:p=>e.handleSelect(v.value)},U(v.text),11,e9e))),128))],2))]),default:M(()=>[mt((k(),F("span",{class:q([`${e.ns.namespace.value}-table__column-filter-trigger`,`${e.ns.namespace.value}-none-outline`]),onClick:t[4]||(t[4]=(...v)=>e.showFilterPanel&&e.showFilterPanel(...v))},[I(f,null,{default:M(()=>[e.column.filterOpened?(k(),Y(u,{key:0})):(k(),Y(c,{key:1}))]),_:1})],2)),[[h,e.hideFilterPanel,e.popperPaneRef]])]),_:1},8,["visible","placement","popper-class"])}var n9e=Ne(Z_e,[["render",t9e],["__file","filter-panel.vue"]]);function xB(e){const t=xt();sy(()=>{n.value.addObserver(t)}),bt(()=>{r(n.value),a(n.value)}),Ll(()=>{r(n.value),a(n.value)}),Ho(()=>{n.value.removeObserver(t)});const n=L(()=>{const i=e.layout;if(!i)throw new Error("Can not find table layout.");return i}),r=i=>{var o;const l=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col"))||[];if(!l.length)return;const s=i.getFlattenColumns(),u={};s.forEach(c=>{u[c.id]=c});for(let c=0,f=l.length;c<f;c++){const d=l[c],h=d.getAttribute("name"),v=u[h];v&&d.setAttribute("width",v.realWidth||v.width)}},a=i=>{var o,l;const s=((o=e.vnode.el)==null?void 0:o.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let c=0,f=s.length;c<f;c++)s[c].setAttribute("width",i.scrollY.value?i.gutterWidth:"0");const u=((l=e.vnode.el)==null?void 0:l.querySelectorAll("th.gutter"))||[];for(let c=0,f=u.length;c<f;c++){const d=u[c];d.style.width=i.scrollY.value?`${i.gutterWidth}px`:"0",d.style.display=i.scrollY.value?"":"none"}};return{tableLayout:n.value,onColumnsChange:r,onScrollableChange:a}}const qo=Symbol("ElTable");function r9e(e,t){const n=xt(),r=Ye(qo),a=p=>{p.stopPropagation()},i=(p,g)=>{!g.filters&&g.sortable?v(p,g,!1):g.filterable&&!g.sortable&&a(p),r==null||r.emit("header-click",g,p)},o=(p,g)=>{r==null||r.emit("header-contextmenu",g,p)},l=j(null),s=j(!1),u=j({}),c=(p,g)=>{if(Wt&&!(g.children&&g.children.length>0)&&l.value&&e.border){s.value=!0;const m=r;t("set-drag-visible",!0);const _=(m==null?void 0:m.vnode.el).getBoundingClientRect().left,w=n.vnode.el.querySelector(`th.${g.id}`),x=w.getBoundingClientRect(),S=x.left-_+30;vi(w,"noclick"),u.value={startMouseLeft:p.clientX,startLeft:x.right-_,startColumnLeft:x.left-_,tableLeft:_};const C=m==null?void 0:m.refs.resizeProxy;C.style.left=`${u.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const T=A=>{const E=A.clientX-u.value.startMouseLeft,D=u.value.startLeft+E;C.style.left=`${Math.max(S,D)}px`},z=()=>{if(s.value){const{startColumnLeft:A,startLeft:E}=u.value,$=Number.parseInt(C.style.left,10)-A;g.width=g.realWidth=$,m==null||m.emit("header-dragend",g.width,E-A,g,p),requestAnimationFrame(()=>{e.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",s.value=!1,l.value=null,u.value={},t("set-drag-visible",!1)}document.removeEventListener("mousemove",T),document.removeEventListener("mouseup",z),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{Kr(w,"noclick")},0)};document.addEventListener("mousemove",T),document.addEventListener("mouseup",z)}},f=(p,g)=>{if(g.children&&g.children.length>0)return;const m=p.target;if(!Si(m))return;const b=m==null?void 0:m.closest("th");if(!(!g||!g.resizable)&&!s.value&&e.border){const _=b.getBoundingClientRect(),w=document.body.style;_.width>12&&_.right-p.pageX<8?(w.cursor="col-resize",yi(b,"is-sortable")&&(b.style.cursor="col-resize"),l.value=g):s.value||(w.cursor="",yi(b,"is-sortable")&&(b.style.cursor="pointer"),l.value=null)}},d=()=>{Wt&&(document.body.style.cursor="")},h=({order:p,sortOrders:g})=>{if(p==="")return g[0];const m=g.indexOf(p||null);return g[m>g.length-2?0:m+1]},v=(p,g,m)=>{var b;p.stopPropagation();const _=g.order===m?null:m||h(g),w=(b=p.target)==null?void 0:b.closest("th");if(w&&yi(w,"noclick")){Kr(w,"noclick");return}if(!g.sortable)return;const x=e.store.states;let S=x.sortProp.value,C;const T=x.sortingColumn.value;(T!==g||T===g&&T.order===null)&&(T&&(T.order=null),x.sortingColumn.value=g,S=g.property),_?C=g.order=_:C=g.order=null,x.sortProp.value=S,x.sortOrder.value=C,r==null||r.store.commit("changeSortCondition")};return{handleHeaderClick:i,handleHeaderContextMenu:o,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:v,handleFilterClick:a}}function a9e(e){const t=Ye(qo),n=Ee("table");return{getHeaderRowStyle:l=>{const s=t==null?void 0:t.props.headerRowStyle;return typeof s=="function"?s.call(null,{rowIndex:l}):s},getHeaderRowClass:l=>{const s=[],u=t==null?void 0:t.props.headerRowClassName;return typeof u=="string"?s.push(u):typeof u=="function"&&s.push(u.call(null,{rowIndex:l})),s.join(" ")},getHeaderCellStyle:(l,s,u,c)=>{var f;let d=(f=t==null?void 0:t.props.headerCellStyle)!=null?f:{};typeof d=="function"&&(d=d.call(null,{rowIndex:l,columnIndex:s,row:u,column:c}));const h=l6(s,c.fixed,e.store,u);return Dd(h,"left"),Dd(h,"right"),Object.assign({},d,h)},getHeaderCellClass:(l,s,u,c)=>{const f=o6(n.b(),s,c.fixed,e.store,u),d=[c.id,c.order,c.headerAlign,c.className,c.labelClassName,...f];c.children||d.push("is-leaf"),c.sortable&&d.push("is-sortable");const h=t==null?void 0:t.props.headerCellClassName;return typeof h=="string"?d.push(h):typeof h=="function"&&d.push(h.call(null,{rowIndex:l,columnIndex:s,row:u,column:c})),d.push(n.e("cell")),d.filter(v=>!!v).join(" ")}}}const SB=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,SB(n.children))):t.push(n)}),t},i9e=e=>{let t=1;const n=(i,o)=>{if(o&&(i.level=o.level+1,t<i.level&&(t=i.level)),i.children){let l=0;i.children.forEach(s=>{n(s,i),l+=s.colSpan}),i.colSpan=l}else i.colSpan=1};e.forEach(i=>{i.level=1,n(i,void 0)});const r=[];for(let i=0;i<t;i++)r.push([]);return SB(e).forEach(i=>{i.children?(i.rowSpan=1,i.children.forEach(o=>o.isSubColumn=!0)):i.rowSpan=t-i.level+1,r[i.level-1].push(i)}),r};function o9e(e){const t=Ye(qo),n=L(()=>i9e(e.store.states.originColumns.value));return{isGroup:L(()=>{const i=n.value.length>1;return i&&t&&(t.state.isGroup.value=!0),i}),toggleAllSelection:i=>{i.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:n}}var l9e=te({name:"ElTableHeader",components:{ElCheckbox:ki},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e,{emit:t}){const n=xt(),r=Ye(qo),a=Ee("table"),i=j({}),{onColumnsChange:o,onScrollableChange:l}=xB(r);bt(async()=>{await nt(),await nt();const{prop:S,order:C}=e.defaultSort;r==null||r.store.commit("sort",{prop:S,order:C,init:!0})});const{handleHeaderClick:s,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:h,handleFilterClick:v}=r9e(e,t),{getHeaderRowStyle:p,getHeaderRowClass:g,getHeaderCellStyle:m,getHeaderCellClass:b}=a9e(e),{isGroup:_,toggleAllSelection:w,columnRows:x}=o9e(e);return n.state={onColumnsChange:o,onScrollableChange:l},n.filterPanels=i,{ns:a,filterPanels:i,onColumnsChange:o,onScrollableChange:l,columnRows:x,getHeaderRowClass:g,getHeaderRowStyle:p,getHeaderCellClass:b,getHeaderCellStyle:m,handleHeaderClick:s,handleHeaderContextMenu:u,handleMouseDown:c,handleMouseMove:f,handleMouseOut:d,handleSortClick:h,handleFilterClick:v,isGroup:_,toggleAllSelection:w}},render(){const{ns:e,isGroup:t,columnRows:n,getHeaderCellStyle:r,getHeaderCellClass:a,getHeaderRowClass:i,getHeaderRowStyle:o,handleHeaderClick:l,handleHeaderContextMenu:s,handleMouseDown:u,handleMouseMove:c,handleSortClick:f,handleMouseOut:d,store:h,$parent:v}=this;let p=1;return tt("thead",{class:{[e.is("group")]:t}},n.map((g,m)=>tt("tr",{class:i(m),key:m,style:o(m)},g.map((b,_)=>(b.rowSpan>p&&(p=b.rowSpan),tt("th",{class:a(m,_,g,b),colspan:b.colSpan,key:`${b.id}-thead`,rowspan:b.rowSpan,style:r(m,_,g,b),onClick:w=>l(w,b),onContextmenu:w=>s(w,b),onMousedown:w=>u(w,b),onMousemove:w=>c(w,b),onMouseout:d},[tt("div",{class:["cell",b.filteredValue&&b.filteredValue.length>0?"highlight":""]},[b.renderHeader?b.renderHeader({column:b,$index:_,store:h,_self:v}):b.label,b.sortable&&tt("span",{onClick:w=>f(w,b),class:"caret-wrapper"},[tt("i",{onClick:w=>f(w,b,"ascending"),class:"sort-caret ascending"}),tt("i",{onClick:w=>f(w,b,"descending"),class:"sort-caret descending"})]),b.filterable&&tt(n9e,{store:h,placement:b.filterPlacement||"bottom-start",column:b,upDataColumn:(w,x)=>{b[w]=x}})])]))))))}});function mb(e,t,n=.01){return e-t>n}function s9e(e){const t=Ye(qo),n=j(""),r=j(tt("div")),a=(v,p,g)=>{var m;const b=t,_=gb(v);let w;const x=(m=b==null?void 0:b.vnode.el)==null?void 0:m.dataset.prefix;_&&(w=oz({columns:e.store.states.columns.value},_,x),w&&(b==null||b.emit(`cell-${g}`,p,w,_,v))),b==null||b.emit(`row-${g}`,p,w,v)},i=(v,p)=>{a(v,p,"dblclick")},o=(v,p)=>{e.store.commit("setCurrentRow",p),a(v,p,"click")},l=(v,p)=>{a(v,p,"contextmenu")},s=La(v=>{e.store.commit("setHoverRow",v)},30),u=La(()=>{e.store.commit("setHoverRow",null)},30),c=v=>{const p=window.getComputedStyle(v,null),g=Number.parseInt(p.paddingLeft,10)||0,m=Number.parseInt(p.paddingRight,10)||0,b=Number.parseInt(p.paddingTop,10)||0,_=Number.parseInt(p.paddingBottom,10)||0;return{left:g,right:m,top:b,bottom:_}},f=(v,p,g)=>{let m=p.target.parentNode;for(;v>1&&(m=m==null?void 0:m.nextSibling,!(!m||m.nodeName!=="TR"));)g(m,"hover-row hover-fixed-row"),v--};return{handleDoubleClick:i,handleClick:o,handleContextMenu:l,handleMouseEnter:s,handleMouseLeave:u,handleCellMouseEnter:(v,p,g)=>{var m;const b=t,_=gb(v),w=(m=b==null?void 0:b.vnode.el)==null?void 0:m.dataset.prefix;if(_){const P=oz({columns:e.store.states.columns.value},_,w);_.rowSpan>1&&f(_.rowSpan,v,vi);const W=b.hoverState={cell:_,column:P,row:p};b==null||b.emit("cell-mouse-enter",W.row,W.column,W.cell,v)}if(!g)return;const x=v.target.querySelector(".cell");if(!(yi(x,`${w}-tooltip`)&&x.childNodes.length))return;const S=document.createRange();S.setStart(x,0),S.setEnd(x,x.childNodes.length);let{width:C,height:T}=S.getBoundingClientRect();const z=C-Math.floor(C),{width:A,height:E}=x.getBoundingClientRect();z<.001&&(C=Math.floor(C)),T-Math.floor(T)<.001&&(T=Math.floor(T));const{top:$,left:O,right:R,bottom:N}=c(x),B=O+R,V=$+N;(mb(C+B,A)||mb(T+V,E)||mb(x.scrollWidth,A))&&B_e(g,_.innerText||_.textContent,_,b)},handleCellMouseLeave:v=>{const p=gb(v);if(!p)return;p.rowSpan>1&&f(p.rowSpan,v,Kr);const g=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",g==null?void 0:g.row,g==null?void 0:g.column,g==null?void 0:g.cell,v)},tooltipContent:n,tooltipTrigger:r}}function u9e(e){const t=Ye(qo),n=Ee("table");return{getRowStyle:(u,c)=>{const f=t==null?void 0:t.props.rowStyle;return typeof f=="function"?f.call(null,{row:u,rowIndex:c}):f||null},getRowClass:(u,c)=>{const f=[n.e("row")];t!=null&&t.props.highlightCurrentRow&&u===e.store.states.currentRow.value&&f.push("current-row"),e.stripe&&c%2===1&&f.push(n.em("row","striped"));const d=t==null?void 0:t.props.rowClassName;return typeof d=="string"?f.push(d):typeof d=="function"&&f.push(d.call(null,{row:u,rowIndex:c})),f},getCellStyle:(u,c,f,d)=>{const h=t==null?void 0:t.props.cellStyle;let v=h??{};typeof h=="function"&&(v=h.call(null,{rowIndex:u,columnIndex:c,row:f,column:d}));const p=l6(c,e==null?void 0:e.fixed,e.store);return Dd(p,"left"),Dd(p,"right"),Object.assign({},v,p)},getCellClass:(u,c,f,d,h)=>{const v=o6(n.b(),c,e==null?void 0:e.fixed,e.store,void 0,h),p=[d.id,d.align,d.className,...v],g=t==null?void 0:t.props.cellClassName;return typeof g=="string"?p.push(g):typeof g=="function"&&p.push(g.call(null,{rowIndex:u,columnIndex:c,row:f,column:d})),p.push(n.e("cell")),p.filter(m=>!!m).join(" ")},getSpan:(u,c,f,d)=>{let h=1,v=1;const p=t==null?void 0:t.props.spanMethod;if(typeof p=="function"){const g=p({row:u,column:c,rowIndex:f,columnIndex:d});Array.isArray(g)?(h=g[0],v=g[1]):typeof g=="object"&&(h=g.rowspan,v=g.colspan)}return{rowspan:h,colspan:v}},getColspanRealWidth:(u,c,f)=>{if(c<1)return u[f].realWidth;const d=u.map(({realWidth:h,width:v})=>h||v).slice(f,f+c);return Number(d.reduce((h,v)=>Number(h)+Number(v),-1))}}}function c9e(e){const t=Ye(qo),n=Ee("table"),{handleDoubleClick:r,handleClick:a,handleContextMenu:i,handleMouseEnter:o,handleMouseLeave:l,handleCellMouseEnter:s,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:f}=s9e(e),{getRowStyle:d,getRowClass:h,getCellStyle:v,getCellClass:p,getSpan:g,getColspanRealWidth:m}=u9e(e),b=L(()=>e.store.states.columns.value.findIndex(({type:C})=>C==="default")),_=(C,T)=>{const z=t.props.rowKey;return z?Rr(C,z):T},w=(C,T,z,A=!1)=>{const{tooltipEffect:E,tooltipOptions:D,store:$}=e,{indent:O,columns:R}=$.states,N=h(C,T);let B=!0;return z&&(N.push(n.em("row",`level-${z.level}`)),B=z.display),tt("tr",{style:[B?null:{display:"none"},d(C,T)],class:N,key:_(C,T),onDblclick:P=>r(P,C),onClick:P=>a(P,C),onContextmenu:P=>i(P,C),onMouseenter:()=>o(T),onMouseleave:l},R.value.map((P,W)=>{const{rowspan:Z,colspan:ee}=g(C,P,T,W);if(!Z||!ee)return null;const re=Object.assign({},P);re.realWidth=m(R.value,ee,W);const ue={store:e.store,_self:e.context||t,column:re,row:C,$index:T,cellIndex:W,expanded:A};W===b.value&&z&&(ue.treeNode={indent:z.level*O.value,level:z.level},typeof z.expanded=="boolean"&&(ue.treeNode.expanded=z.expanded,"loading"in z&&(ue.treeNode.loading=z.loading),"noLazyChildren"in z&&(ue.treeNode.noLazyChildren=z.noLazyChildren)));const ye=`${_(C,T)},${W}`,le=re.columnKey||re.rawColumnKey||"",ae=x(W,P,ue),ie=P.showOverflowTooltip&&nae({effect:E},D,P.showOverflowTooltip);return tt("td",{style:v(T,W,C,P),class:p(T,W,C,P,ee-1),key:`${le}${ye}`,rowspan:Z,colspan:ee,onMouseenter:ve=>s(ve,C,ie),onMouseleave:u},[ae])}))},x=(C,T,z)=>T.renderCell(z);return{wrappedRowRender:(C,T)=>{const z=e.store,{isRowExpanded:A,assertRowKey:E}=z,{treeData:D,lazyTreeNodeMap:$,childrenColumnName:O,rowKey:R}=z.states,N=z.states.columns.value;if(N.some(({type:V})=>V==="expand")){const V=A(C),P=w(C,T,void 0,V),W=t.renderExpanded;return V?W?[[P,tt("tr",{key:`expanded-row__${P.key}`},[tt("td",{colspan:N.length,class:`${n.e("cell")} ${n.e("expanded-cell")}`},[W({row:C,$index:T,store:z,expanded:V})])])]]:(console.error("[Element Error]renderExpanded is required."),P):[[P]]}else if(Object.keys(D.value).length){E();const V=Rr(C,R.value);let P=D.value[V],W=null;P&&(W={expanded:P.expanded,level:P.level,display:!0},typeof P.lazy=="boolean"&&(typeof P.loaded=="boolean"&&P.loaded&&(W.noLazyChildren=!(P.children&&P.children.length)),W.loading=P.loading));const Z=[w(C,T,W)];if(P){let ee=0;const re=(ye,le)=>{ye&&ye.length&&le&&ye.forEach(ae=>{const ie={display:le.display&&le.expanded,level:le.level+1,expanded:!1,noLazyChildren:!1,loading:!1},ve=Rr(ae,R.value);if(ve==null)throw new Error("For nested data item, row-key is required.");if(P={...D.value[ve]},P&&(ie.expanded=P.expanded,P.level=P.level||ie.level,P.display=!!(P.expanded&&ie.display),typeof P.lazy=="boolean"&&(typeof P.loaded=="boolean"&&P.loaded&&(ie.noLazyChildren=!(P.children&&P.children.length)),ie.loading=P.loading)),ee++,Z.push(w(ae,T+ee,ie)),P){const ce=$.value[ve]||ae[O.value];re(ce,P)}})};P.display=!0;const ue=$.value[V]||C[O.value];re(ue,P)}return Z}else return w(C,T,void 0)},tooltipContent:c,tooltipTrigger:f}}const f9e={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var d9e=te({name:"ElTableBody",props:f9e,setup(e){const t=xt(),n=Ye(qo),r=Ee("table"),{wrappedRowRender:a,tooltipContent:i,tooltipTrigger:o}=c9e(e),{onColumnsChange:l,onScrollableChange:s}=xB(n),u=[];return ke(e.store.states.hoverRow,(c,f)=>{var d;const h=t==null?void 0:t.vnode.el,v=Array.from((h==null?void 0:h.children)||[]).filter(m=>m==null?void 0:m.classList.contains(`${r.e("row")}`));let p=c;const g=(d=v[p])==null?void 0:d.childNodes;if(g!=null&&g.length){let m=0;Array.from(g).reduce((_,w,x)=>{var S,C;return((S=g[x])==null?void 0:S.colSpan)>1&&(m=(C=g[x])==null?void 0:C.colSpan),w.nodeName!=="TD"&&m===0&&_.push(x),m>0&&m--,_},[]).forEach(_=>{var w;for(p=c;p>0;){const x=(w=v[p-1])==null?void 0:w.childNodes;if(x[_]&&x[_].nodeName==="TD"&&x[_].rowSpan>1){vi(x[_],"hover-cell"),u.push(x[_]);break}p--}})}else u.forEach(m=>Kr(m,"hover-cell")),u.length=0;!e.store.states.isComplex.value||!Wt||Fs(()=>{const m=v[f],b=v[c];m&&!m.classList.contains("hover-fixed-row")&&Kr(m,"hover-row"),b&&vi(b,"hover-row")})}),Ho(()=>{var c;(c=ti)==null||c()}),{ns:r,onColumnsChange:l,onScrollableChange:s,wrappedRowRender:a,tooltipContent:i,tooltipTrigger:o}},render(){const{wrappedRowRender:e,store:t}=this,n=t.states.data.value||[];return tt("tbody",{tabIndex:-1},[n.reduce((r,a)=>r.concat(e(a,r.length)),[])])}});function h9e(){const e=Ye(qo),t=e==null?void 0:e.store,n=L(()=>t.states.fixedLeafColumnsLength.value),r=L(()=>t.states.rightFixedColumns.value.length),a=L(()=>t.states.columns.value.length),i=L(()=>t.states.fixedColumns.value.length),o=L(()=>t.states.rightFixedColumns.value.length);return{leftFixedLeafCount:n,rightFixedLeafCount:r,columnsCount:a,leftFixedCount:i,rightFixedCount:o,columns:t.states.columns}}function v9e(e){const{columns:t}=h9e(),n=Ee("table");return{getCellClasses:(i,o)=>{const l=i[o],s=[n.e("cell"),l.id,l.align,l.labelClassName,...o6(n.b(),o,l.fixed,e.store)];return l.className&&s.push(l.className),l.children||s.push(n.is("leaf")),s},getCellStyles:(i,o)=>{const l=l6(o,i.fixed,e.store);return Dd(l,"left"),Dd(l,"right"),l},columns:t}}var p9e=te({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(e){const{getCellClasses:t,getCellStyles:n,columns:r}=v9e(e);return{ns:Ee("table"),getCellClasses:t,getCellStyles:n,columns:r}},render(){const{columns:e,getCellStyles:t,getCellClasses:n,summaryMethod:r,sumText:a}=this,i=this.store.states.data.value;let o=[];return r?o=r({columns:e,data:i}):e.forEach((l,s)=>{if(s===0){o[s]=a;return}const u=i.map(h=>Number(h[l.property])),c=[];let f=!0;u.forEach(h=>{if(!Number.isNaN(+h)){f=!1;const v=`${h}`.split(".")[1];c.push(v?v.length:0)}});const d=Math.max.apply(null,c);f?o[s]="":o[s]=u.reduce((h,v)=>{const p=Number(v);return Number.isNaN(+p)?h:Number.parseFloat((h+v).toFixed(Math.min(d,20)))},0)}),tt(tt("tfoot",[tt("tr",{},[...e.map((l,s)=>tt("td",{key:s,colspan:l.colSpan,rowspan:l.rowSpan,class:n(e,s),style:t(l,s)},[tt("div",{class:["cell",l.labelClassName]},[o[s]])]))])]))}});function g9e(e){return{setCurrentRow:c=>{e.commit("setCurrentRow",c)},getSelectionRows:()=>e.getSelectionRows(),toggleRowSelection:(c,f)=>{e.toggleRowSelection(c,f,!1),e.updateAllSelected()},clearSelection:()=>{e.clearSelection()},clearFilter:c=>{e.clearFilter(c)},toggleAllSelection:()=>{e.commit("toggleAllSelection")},toggleRowExpansion:(c,f)=>{e.toggleRowExpansionAdapter(c,f)},clearSort:()=>{e.clearSort()},sort:(c,f)=>{e.commit("sort",{prop:c,order:f})}}}function m9e(e,t,n,r){const a=j(!1),i=j(null),o=j(!1),l=P=>{o.value=P},s=j({width:null,height:null,headerHeight:null}),u=j(!1),c={display:"inline-block",verticalAlign:"middle"},f=j(),d=j(0),h=j(0),v=j(0),p=j(0),g=j(0);Or(()=>{t.setHeight(e.height)}),Or(()=>{t.setMaxHeight(e.maxHeight)}),ke(()=>[e.currentRowKey,n.states.rowKey],([P,W])=>{!y(W)||!y(P)||n.setCurrentRowKey(`${P}`)},{immediate:!0}),ke(()=>e.data,P=>{r.store.commit("setData",P)},{immediate:!0,deep:!0}),Or(()=>{e.expandRowKeys&&n.setExpandRowKeysAdapter(e.expandRowKeys)});const m=()=>{r.store.commit("setHoverRow",null),r.hoverState&&(r.hoverState=null)},b=(P,W)=>{const{pixelX:Z,pixelY:ee}=W;Math.abs(Z)>=Math.abs(ee)&&(r.refs.bodyWrapper.scrollLeft+=W.pixelX/5)},_=L(()=>e.height||e.maxHeight||n.states.fixedColumns.value.length>0||n.states.rightFixedColumns.value.length>0),w=L(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),x=()=>{_.value&&t.updateElsHeight(),t.updateColumnsWidth(),requestAnimationFrame(z)};bt(async()=>{await nt(),n.updateColumns(),A(),requestAnimationFrame(x);const P=r.vnode.el,W=r.refs.headerWrapper;e.flexible&&P&&P.parentElement&&(P.parentElement.style.minWidth="0"),s.value={width:f.value=P.offsetWidth,height:P.offsetHeight,headerHeight:e.showHeader&&W?W.offsetHeight:null},n.states.columns.value.forEach(Z=>{Z.filteredValue&&Z.filteredValue.length&&r.store.commit("filterChange",{column:Z,values:Z.filteredValue,silent:!0})}),r.$ready=!0});const S=(P,W)=>{if(!P)return;const Z=Array.from(P.classList).filter(ee=>!ee.startsWith("is-scrolling-"));Z.push(t.scrollX.value?W:"is-scrolling-none"),P.className=Z.join(" ")},C=P=>{const{tableWrapper:W}=r.refs;S(W,P)},T=P=>{const{tableWrapper:W}=r.refs;return!!(W&&W.classList.contains(P))},z=function(){if(!r.refs.scrollBarRef)return;if(!t.scrollX.value){const le="is-scrolling-none";T(le)||C(le);return}const P=r.refs.scrollBarRef.wrapRef;if(!P)return;const{scrollLeft:W,offsetWidth:Z,scrollWidth:ee}=P,{headerWrapper:re,footerWrapper:ue}=r.refs;re&&(re.scrollLeft=W),ue&&(ue.scrollLeft=W);const ye=ee-Z-1;W>=ye?C("is-scrolling-right"):C(W===0?"is-scrolling-left":"is-scrolling-middle")},A=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&Sn(r.refs.scrollBarRef.wrapRef,"scroll",z,{passive:!0}),e.fit?Pn(r.vnode.el,E):Sn(window,"resize",E),Pn(r.refs.bodyWrapper,()=>{var P,W;E(),(W=(P=r.refs)==null?void 0:P.scrollBarRef)==null||W.update()}))},E=()=>{var P,W,Z,ee;const re=r.vnode.el;if(!r.$ready||!re)return;let ue=!1;const{width:ye,height:le,headerHeight:ae}=s.value,ie=f.value=re.offsetWidth;ye!==ie&&(ue=!0);const ve=re.offsetHeight;(e.height||_.value)&&le!==ve&&(ue=!0);const ce=e.tableLayout==="fixed"?r.refs.headerWrapper:(P=r.refs.tableHeaderRef)==null?void 0:P.$el;e.showHeader&&(ce==null?void 0:ce.offsetHeight)!==ae&&(ue=!0),d.value=((W=r.refs.tableWrapper)==null?void 0:W.scrollHeight)||0,v.value=(ce==null?void 0:ce.scrollHeight)||0,p.value=((Z=r.refs.footerWrapper)==null?void 0:Z.offsetHeight)||0,g.value=((ee=r.refs.appendWrapper)==null?void 0:ee.offsetHeight)||0,h.value=d.value-v.value-p.value-g.value,ue&&(s.value={width:ie,height:ve,headerHeight:e.showHeader&&(ce==null?void 0:ce.offsetHeight)||0},x())},D=tr(),$=L(()=>{const{bodyWidth:P,scrollY:W,gutterWidth:Z}=t;return P.value?`${P.value-(W.value?Z:0)}px`:""}),O=L(()=>e.maxHeight?"fixed":e.tableLayout),R=L(()=>{if(e.data&&e.data.length)return null;let P="100%";e.height&&h.value&&(P=`${h.value}px`);const W=f.value;return{width:W?`${W}px`:"",height:P}}),N=L(()=>e.height?{height:Number.isNaN(Number(e.height))?e.height:`${e.height}px`}:e.maxHeight?{maxHeight:Number.isNaN(Number(e.maxHeight))?e.maxHeight:`${e.maxHeight}px`}:{}),B=L(()=>e.height?{height:"100%"}:e.maxHeight?Number.isNaN(Number(e.maxHeight))?{maxHeight:`calc(${e.maxHeight} - ${v.value+p.value}px)`}:{maxHeight:`${e.maxHeight-v.value-p.value}px`}:{});return{isHidden:a,renderExpanded:i,setDragVisible:l,isGroup:u,handleMouseLeave:m,handleHeaderFooterMousewheel:b,tableSize:D,emptyBlockStyle:R,handleFixedMousewheel:(P,W)=>{const Z=r.refs.bodyWrapper;if(Math.abs(W.spinY)>0){const ee=Z.scrollTop;W.pixelY<0&&ee!==0&&P.preventDefault(),W.pixelY>0&&Z.scrollHeight-Z.clientHeight>ee&&P.preventDefault(),Z.scrollTop+=Math.ceil(W.pixelY/5)}else Z.scrollLeft+=Math.ceil(W.pixelX/5)},resizeProxyVisible:o,bodyWidth:$,resizeState:s,doLayout:x,tableBodyStyles:w,tableLayout:O,scrollbarViewStyle:c,tableInnerStyle:N,scrollbarStyle:B}}function y9e(e){const t=j(),n=()=>{const a=e.vnode.el.querySelector(".hidden-columns"),i={childList:!0,subtree:!0},o=e.store.states.updateOrderFns;t.value=new MutationObserver(()=>{o.forEach(l=>l())}),t.value.observe(a,i)};bt(()=>{n()}),Ho(()=>{var r;(r=t.value)==null||r.disconnect()})}var b9e={data:{type:Array,default:()=>[]},size:cr,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children"})},lazy:Boolean,load:Function,style:{type:Object,default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object]};function CB(e){const t=e.tableLayout==="auto";let n=e.columns||[];t&&n.every(a=>a.width===void 0)&&(n=[]);const r=a=>{const i={key:`${e.tableLayout}_${a.id}`,style:{},name:void 0};return t?i.style={width:`${a.width}px`}:i.name=a.id,i};return tt("colgroup",{},n.map(a=>tt("col",r(a))))}CB.props=["columns","tableLayout"];const _9e=()=>{const e=j(),t=(i,o)=>{const l=e.value;l&&l.scrollTo(i,o)},n=(i,o)=>{const l=e.value;l&&ot(o)&&["Top","Left"].includes(i)&&l[`setScroll${i}`](o)};return{scrollBarRef:e,scrollTo:t,setScrollTop:i=>n("Top",i),setScrollLeft:i=>n("Left",i)}};let w9e=1;const x9e=te({name:"ElTable",directives:{Mousewheel:ode},components:{TableHeader:l9e,TableBody:d9e,TableFooter:p9e,ElScrollbar:$l,hColgroup:CB},props:b9e,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change"],setup(e){const{t}=Xt(),n=Ee("table"),r=xt();Rt(qo,r);const a=U_e(r,e);r.store=a;const i=new K_e({store:r.store,table:r,fit:e.fit,showHeader:e.showHeader});r.layout=i;const o=L(()=>(a.states.data.value||[]).length===0),{setCurrentRow:l,getSelectionRows:s,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:h,clearSort:v,sort:p}=g9e(a),{isHidden:g,renderExpanded:m,setDragVisible:b,isGroup:_,handleMouseLeave:w,handleHeaderFooterMousewheel:x,tableSize:S,emptyBlockStyle:C,handleFixedMousewheel:T,resizeProxyVisible:z,bodyWidth:A,resizeState:E,doLayout:D,tableBodyStyles:$,tableLayout:O,scrollbarViewStyle:R,tableInnerStyle:N,scrollbarStyle:B}=m9e(e,i,a,r),{scrollBarRef:V,scrollTo:P,setScrollLeft:W,setScrollTop:Z}=_9e(),ee=La(D,50),re=`${n.namespace.value}-table_${w9e++}`;r.tableId=re,r.state={isGroup:_,resizeState:E,doLayout:D,debouncedUpdateLayout:ee};const ue=L(()=>e.sumText||t("el.table.sumText")),ye=L(()=>e.emptyText||t("el.table.emptyText"));return y9e(r),{ns:n,layout:i,store:a,handleHeaderFooterMousewheel:x,handleMouseLeave:w,tableId:re,tableSize:S,isHidden:g,isEmpty:o,renderExpanded:m,resizeProxyVisible:z,resizeState:E,isGroup:_,bodyWidth:A,tableBodyStyles:$,emptyBlockStyle:C,debouncedUpdateLayout:ee,handleFixedMousewheel:T,setCurrentRow:l,getSelectionRows:s,toggleRowSelection:u,clearSelection:c,clearFilter:f,toggleAllSelection:d,toggleRowExpansion:h,clearSort:v,doLayout:D,sort:p,t,setDragVisible:b,context:r,computedSumText:ue,computedEmptyText:ye,tableLayout:O,scrollbarViewStyle:R,tableInnerStyle:N,scrollbarStyle:B,scrollBarRef:V,scrollTo:P,setScrollLeft:W,setScrollTop:Z}}}),S9e=["data-prefix"],C9e={ref:"hiddenColumns",class:"hidden-columns"};function T9e(e,t,n,r,a,i){const o=se("hColgroup"),l=se("table-header"),s=se("table-body"),u=se("table-footer"),c=se("el-scrollbar"),f=oy("mousewheel");return k(),F("div",{ref:"tableWrapper",class:q([{[e.ns.m("fit")]:e.fit,[e.ns.m("striped")]:e.stripe,[e.ns.m("border")]:e.border||e.isGroup,[e.ns.m("hidden")]:e.isHidden,[e.ns.m("group")]:e.isGroup,[e.ns.m("fluid-height")]:e.maxHeight,[e.ns.m("scrollable-x")]:e.layout.scrollX.value,[e.ns.m("scrollable-y")]:e.layout.scrollY.value,[e.ns.m("enable-row-hover")]:!e.store.states.isComplex.value,[e.ns.m("enable-row-transition")]:(e.store.states.data.value||[]).length!==0&&(e.store.states.data.value||[]).length<100,"has-footer":e.showSummary},e.ns.m(e.tableSize),e.className,e.ns.b(),e.ns.m(`layout-${e.tableLayout}`)]),style:Be(e.style),"data-prefix":e.ns.namespace.value,onMouseleave:t[0]||(t[0]=(...d)=>e.handleMouseLeave&&e.handleMouseLeave(...d))},[X("div",{class:q(e.ns.e("inner-wrapper")),style:Be(e.tableInnerStyle)},[X("div",C9e,[me(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?mt((k(),F("div",{key:0,ref:"headerWrapper",class:q(e.ns.e("header-wrapper"))},[X("table",{ref:"tableHeader",class:q(e.ns.e("header")),style:Be(e.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[I(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),I(l,{ref:"tableHeaderRef",border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["border","default-sort","store","onSetDragVisible"])],6)],2)),[[f,e.handleHeaderFooterMousewheel]]):Q("v-if",!0),X("div",{ref:"bodyWrapper",class:q(e.ns.e("body-wrapper"))},[I(c,{ref:"scrollBarRef","view-style":e.scrollbarViewStyle,"wrap-style":e.scrollbarStyle,always:e.scrollbarAlwaysOn},{default:M(()=>[X("table",{ref:"tableBody",class:q(e.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:Be({width:e.bodyWidth,tableLayout:e.tableLayout})},[I(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),e.showHeader&&e.tableLayout==="auto"?(k(),Y(l,{key:0,ref:"tableHeaderRef",class:q(e.ns.e("body-header")),border:e.border,"default-sort":e.defaultSort,store:e.store,onSetDragVisible:e.setDragVisible},null,8,["class","border","default-sort","store","onSetDragVisible"])):Q("v-if",!0),I(s,{context:e.context,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"tooltip-effect":e.tooltipEffect,"tooltip-options":e.tooltipOptions,"row-style":e.rowStyle,store:e.store,stripe:e.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),e.showSummary&&e.tableLayout==="auto"?(k(),Y(u,{key:1,class:q(e.ns.e("body-footer")),border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):Q("v-if",!0)],6),e.isEmpty?(k(),F("div",{key:0,ref:"emptyBlock",style:Be(e.emptyBlockStyle),class:q(e.ns.e("empty-block"))},[X("span",{class:q(e.ns.e("empty-text"))},[me(e.$slots,"empty",{},()=>[G(U(e.computedEmptyText),1)])],2)],6)):Q("v-if",!0),e.$slots.append?(k(),F("div",{key:1,ref:"appendWrapper",class:q(e.ns.e("append-wrapper"))},[me(e.$slots,"append")],2)):Q("v-if",!0)]),_:3},8,["view-style","wrap-style","always"])],2),e.showSummary&&e.tableLayout==="fixed"?mt((k(),F("div",{key:1,ref:"footerWrapper",class:q(e.ns.e("footer-wrapper"))},[X("table",{class:q(e.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:Be(e.tableBodyStyles)},[I(o,{columns:e.store.states.columns.value,"table-layout":e.tableLayout},null,8,["columns","table-layout"]),I(u,{border:e.border,"default-sort":e.defaultSort,store:e.store,"sum-text":e.computedSumText,"summary-method":e.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[en,!e.isEmpty],[f,e.handleHeaderFooterMousewheel]]):Q("v-if",!0),e.border||e.isGroup?(k(),F("div",{key:2,class:q(e.ns.e("border-left-patch"))},null,2)):Q("v-if",!0)],6),mt(X("div",{ref:"resizeProxy",class:q(e.ns.e("column-resize-proxy"))},null,2),[[en,e.resizeProxyVisible]])],46,S9e)}var k9e=Ne(x9e,[["render",T9e],["__file","table.vue"]]);const z9e={selection:"table-column--selection",expand:"table__expand-column"},M9e={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},A9e=e=>z9e[e]||"",E9e={selection:{renderHeader({store:e,column:t}){function n(){return e.states.data.value&&e.states.data.value.length===0}return tt(ki,{disabled:n(),size:e.states.tableSize.value,indeterminate:e.states.selection.value.length>0&&!e.states.isAllSelected.value,"onUpdate:modelValue":e.toggleAllSelection,modelValue:e.states.isAllSelected.value,ariaLabel:t.label})},renderCell({row:e,column:t,store:n,$index:r}){return tt(ki,{disabled:t.selectable?!t.selectable.call(null,e,r):!1,size:n.states.tableSize.value,onChange:()=>{n.commit("rowSelectedChanged",e)},onClick:a=>a.stopPropagation(),modelValue:n.isSelected(e),ariaLabel:t.label})},sortable:!1,resizable:!1},index:{renderHeader({column:e}){return e.label||"#"},renderCell({column:e,$index:t}){let n=t+1;const r=e.index;return typeof r=="number"?n=t+r:typeof r=="function"&&(n=r(t)),tt("div",{},[n])},sortable:!1},expand:{renderHeader({column:e}){return e.label||""},renderCell({row:e,store:t,expanded:n}){const{ns:r}=t,a=[r.e("expand-icon")];return n&&a.push(r.em("expand-icon","expanded")),tt("div",{class:a,onClick:function(o){o.stopPropagation(),t.toggleRowExpansion(e)}},{default:()=>[tt(Ze,null,{default:()=>[tt(la)]})]})},sortable:!1,resizable:!1}};function I9e({row:e,column:t,$index:n}){var r;const a=t.property,i=a&&R0(e,a).value;return t&&t.formatter?t.formatter(e,t,i,n):((r=i==null?void 0:i.toString)==null?void 0:r.call(i))||""}function D9e({row:e,treeNode:t,store:n},r=!1){const{ns:a}=n;if(!t)return r?[tt("span",{class:a.e("placeholder")})]:null;const i=[],o=function(l){l.stopPropagation(),!t.loading&&n.loadOrToggle(e)};if(t.indent&&i.push(tt("span",{class:a.e("indent"),style:{"padding-left":`${t.indent}px`}})),typeof t.expanded=="boolean"&&!t.noLazyChildren){const l=[a.e("expand-icon"),t.expanded?a.em("expand-icon","expanded"):""];let s=la;t.loading&&(s=iu),i.push(tt("div",{class:l,onClick:o},{default:()=>[tt(Ze,{class:{[a.is("loading")]:t.loading}},{default:()=>[tt(s)]})]}))}else i.push(tt("span",{class:a.e("placeholder")}));return i}function uz(e,t){return e.reduce((n,r)=>(n[r]=r,n),t)}function L9e(e,t){const n=xt();return{registerComplexWatchers:()=>{const i=["fixed"],o={realWidth:"width",realMinWidth:"minWidth"},l=uz(i,o);Object.keys(l).forEach(s=>{const u=o[s];Ut(t,u)&&ke(()=>t[u],c=>{let f=c;u==="width"&&s==="realWidth"&&(f=i6(c)),u==="minWidth"&&s==="realMinWidth"&&(f=mB(c)),n.columnConfig.value[u]=f,n.columnConfig.value[s]=f;const d=u==="fixed";e.value.store.scheduleLayout(d)})})},registerNormalWatchers:()=>{const i=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip"],o={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},l=uz(i,o);Object.keys(l).forEach(s=>{const u=o[s];Ut(t,u)&&ke(()=>t[u],c=>{n.columnConfig.value[s]=c})})}}}function P9e(e,t,n){const r=xt(),a=j(""),i=j(!1),o=j(),l=j(),s=Ee("table");Or(()=>{o.value=e.align?`is-${e.align}`:null,o.value}),Or(()=>{l.value=e.headerAlign?`is-${e.headerAlign}`:o.value,l.value});const u=L(()=>{let w=r.vnode.vParent||r.parent;for(;w&&!w.tableId&&!w.columnId;)w=w.vnode.vParent||w.parent;return w}),c=L(()=>{const{store:w}=r.parent;if(!w)return!1;const{treeData:x}=w.states,S=x.value;return S&&Object.keys(S).length>0}),f=j(i6(e.width)),d=j(mB(e.minWidth)),h=w=>(f.value&&(w.width=f.value),d.value&&(w.minWidth=d.value),!f.value&&d.value&&(w.width=void 0),w.minWidth||(w.minWidth=80),w.realWidth=Number(w.width===void 0?w.minWidth:w.width),w),v=w=>{const x=w.type,S=E9e[x]||{};Object.keys(S).forEach(T=>{const z=S[T];T!=="className"&&z!==void 0&&(w[T]=z)});const C=A9e(x);if(C){const T=`${y(s.namespace)}-${C}`;w.className=w.className?`${w.className} ${T}`:T}return w},p=w=>{Array.isArray(w)?w.forEach(S=>x(S)):x(w);function x(S){var C;((C=S==null?void 0:S.type)==null?void 0:C.name)==="ElTableColumn"&&(S.vParent=r)}};return{columnId:a,realAlign:o,isSubColumn:i,realHeaderAlign:l,columnOrTableParent:u,setColumnWidth:h,setColumnForcedProps:v,setColumnRenders:w=>{e.renderHeader||w.type!=="selection"&&(w.renderHeader=S=>(r.columnConfig.value.label,me(t,"header",S,()=>[w.label])));let x=w.renderCell;return w.type==="expand"?(w.renderCell=S=>tt("div",{class:"cell"},[x(S)]),n.value.renderExpanded=S=>t.default?t.default(S):t.default):(x=x||I9e,w.renderCell=S=>{let C=null;if(t.default){const $=t.default(S);C=$.some(O=>O.type!==Lr)?$:x(S)}else C=x(S);const{columns:T}=n.value.store.states,z=T.value.findIndex($=>$.type==="default"),A=c.value&&S.cellIndex===z,E=D9e(S,A),D={class:"cell",style:{}};return w.showOverflowTooltip&&(D.class=`${D.class} ${y(s.namespace)}-tooltip`,D.style={width:`${(S.column.realWidth||Number(S.column.width))-1}px`}),p(C),tt("div",D,[E,C])}),w},getPropsData:(...w)=>w.reduce((x,S)=>(Array.isArray(S)&&S.forEach(C=>{x[C]=e[C]}),x),{}),getColumnElIndex:(w,x)=>Array.prototype.indexOf.call(w,x),updateColumnOrder:()=>{n.value.store.commit("updateColumnOrder",r.columnConfig.value)}}}var R9e={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:e=>e.every(t=>["ascending","descending",null].includes(t))}};let O9e=1;var TB=te({name:"ElTableColumn",components:{ElCheckbox:ki},props:R9e,setup(e,{slots:t}){const n=xt(),r=j({}),a=L(()=>{let _=n.parent;for(;_&&!_.tableId;)_=_.parent;return _}),{registerNormalWatchers:i,registerComplexWatchers:o}=L9e(a,e),{columnId:l,isSubColumn:s,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:f,setColumnForcedProps:d,setColumnRenders:h,getPropsData:v,getColumnElIndex:p,realAlign:g,updateColumnOrder:m}=P9e(e,t,a),b=c.value;l.value=`${b.tableId||b.columnId}_column_${O9e++}`,sy(()=>{s.value=a.value!==b;const _=e.type||"default",w=e.sortable===""?!0:e.sortable,x=Xn(e.showOverflowTooltip)?b.props.showOverflowTooltip:e.showOverflowTooltip,S={...M9e[_],id:l.value,type:_,property:e.prop||e.property,align:g,headerAlign:u,showOverflowTooltip:x,filterable:e.filters||e.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:w,index:e.index,rawColumnKey:n.vnode.key};let E=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);E=O_e(S,E),E=$_e(h,f,d)(E),r.value=E,i(),o()}),bt(()=>{var _;const w=c.value,x=s.value?w.vnode.el.children:(_=w.refs.hiddenColumns)==null?void 0:_.children,S=()=>p(x||[],n.vnode.el);r.value.getColumnIndex=S,S()>-1&&a.value.store.commit("insertColumn",r.value,s.value?w.columnConfig.value:null,m)}),wn(()=>{r.value.getColumnIndex()>-1&&a.value.store.commit("removeColumn",r.value,s.value?b.columnConfig.value:null,m)}),n.columnId=l.value,n.columnConfig=r},render(){var e,t,n;try{const r=(t=(e=this.$slots).default)==null?void 0:t.call(e,{row:{},column:{},$index:-1}),a=[];if(Array.isArray(r))for(const o of r)((n=o.type)==null?void 0:n.name)==="ElTableColumn"||o.shapeFlag&2?a.push(o):o.type===de&&Array.isArray(o.children)&&o.children.forEach(l=>{(l==null?void 0:l.patchFlag)!==1024&&!vt(l==null?void 0:l.children)&&a.push(l)});return tt("div",a)}catch{return tt("div",[])}}});const N9e=St(k9e,{TableColumn:TB}),$9e=On(TB);var M1=(e=>(e.ASC="asc",e.DESC="desc",e))(M1||{}),A1=(e=>(e.CENTER="center",e.RIGHT="right",e))(A1||{}),kB=(e=>(e.LEFT="left",e.RIGHT="right",e))(kB||{});const iw={asc:"desc",desc:"asc"},E1=Symbol("placeholder"),V9e=(e,t,n)=>{var r;const a={flexGrow:0,flexShrink:0,...n?{}:{flexGrow:e.flexGrow||0,flexShrink:e.flexShrink||1}};n||(a.flexShrink=1);const i={...(r=e.style)!=null?r:{},...a,flexBasis:"auto",width:e.width};return t||(e.maxWidth&&(i.maxWidth=e.maxWidth),e.minWidth&&(i.minWidth=e.minWidth)),i};function B9e(e,t,n){const r=L(()=>y(t).filter(p=>!p.hidden)),a=L(()=>y(r).filter(p=>p.fixed==="left"||p.fixed===!0)),i=L(()=>y(r).filter(p=>p.fixed==="right")),o=L(()=>y(r).filter(p=>!p.fixed)),l=L(()=>{const p=[];return y(a).forEach(g=>{p.push({...g,placeholderSign:E1})}),y(o).forEach(g=>{p.push(g)}),y(i).forEach(g=>{p.push({...g,placeholderSign:E1})}),p}),s=L(()=>y(a).length||y(i).length),u=L(()=>y(t).reduce((g,m)=>(g[m.key]=V9e(m,y(n),e.fixed),g),{})),c=L(()=>y(r).reduce((p,g)=>p+g.width,0)),f=p=>y(t).find(g=>g.key===p),d=p=>y(u)[p],h=(p,g)=>{p.width=g};function v(p){var g;const{key:m}=p.currentTarget.dataset;if(!m)return;const{sortState:b,sortBy:_}=e;let w=M1.ASC;zt(b)?w=iw[b[m]]:w=iw[_.order],(g=e.onColumnSort)==null||g.call(e,{column:f(m),key:m,order:w})}return{columns:t,columnsStyles:u,columnsTotalWidth:c,fixedColumnsOnLeft:a,fixedColumnsOnRight:i,hasFixedColumns:s,mainColumns:l,normalColumns:o,visibleColumns:r,getColumn:f,getColumnStyle:d,updateColumnWidth:h,onColumnSorted:v}}const F9e=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:a})=>{const i=j({scrollLeft:0,scrollTop:0});function o(h){var v,p,g;const{scrollTop:m}=h;(v=t.value)==null||v.scrollTo(h),(p=n.value)==null||p.scrollToTop(m),(g=r.value)==null||g.scrollToTop(m)}function l(h){i.value=h,o(h)}function s(h){i.value.scrollTop=h,o(y(i))}function u(h){var v,p;i.value.scrollLeft=h,(p=(v=t.value)==null?void 0:v.scrollTo)==null||p.call(v,y(i))}function c(h){var v;l(h),(v=e.onScroll)==null||v.call(e,h)}function f({scrollTop:h}){const{scrollTop:v}=y(i);h!==v&&s(h)}function d(h,v="auto"){var p;(p=t.value)==null||p.scrollToRow(h,v)}return ke(()=>y(i).scrollTop,(h,v)=>{h>v&&a()}),{scrollPos:i,scrollTo:l,scrollToLeft:u,scrollToTop:s,scrollToRow:d,onScroll:c,onVerticalScroll:f}},H9e=(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:a,ns:i,isScrolling:o})=>{const l=xt(),{emit:s}=l,u=xn(!1),c=j(e.defaultExpandedRowKeys||[]),f=j(-1),d=xn(null),h=j({}),v=j({}),p=xn({}),g=xn({}),m=xn({}),b=L(()=>ot(e.estimatedRowHeight));function _(A){var E;(E=e.onRowsRendered)==null||E.call(e,A),A.rowCacheEnd>y(f)&&(f.value=A.rowCacheEnd)}function w({hovered:A,rowKey:E}){if(o.value)return;a.vnode.el.querySelectorAll(`[rowkey=${E}]`).forEach(O=>{A?O.classList.add(i.is("hovered")):O.classList.remove(i.is("hovered"))})}function x({expanded:A,rowData:E,rowIndex:D,rowKey:$}){var O,R;const N=[...y(c)],B=N.indexOf($);A?B===-1&&N.push($):B>-1&&N.splice(B,1),c.value=N,s("update:expandedRowKeys",N),(O=e.onRowExpand)==null||O.call(e,{expanded:A,rowData:E,rowIndex:D,rowKey:$}),(R=e.onExpandedRowsChange)==null||R.call(e,N)}const S=La(()=>{var A,E,D,$;u.value=!0,h.value={...y(h),...y(v)},C(y(d),!1),v.value={},d.value=null,(A=t.value)==null||A.forceUpdate(),(E=n.value)==null||E.forceUpdate(),(D=r.value)==null||D.forceUpdate(),($=l.proxy)==null||$.$forceUpdate(),u.value=!1},0);function C(A,E=!1){y(b)&&[t,n,r].forEach(D=>{const $=y(D);$&&$.resetAfterRowIndex(A,E)})}function T(A,E,D){const $=y(d);($===null||$>D)&&(d.value=D),v.value[A]=E}function z({rowKey:A,height:E,rowIndex:D},$){$?$===kB.RIGHT?m.value[A]=E:p.value[A]=E:g.value[A]=E;const O=Math.max(...[p,m,g].map(R=>R.value[A]||0));y(h)[A]!==O&&(T(A,O,D),S())}return{expandedRowKeys:c,lastRenderedRowIndex:f,isDynamic:b,isResetting:u,rowHeights:h,resetAfterIndex:C,onRowExpanded:x,onRowHovered:w,onRowsRendered:_,onRowHeightChange:z}},j9e=(e,{expandedRowKeys:t,lastRenderedRowIndex:n,resetAfterIndex:r})=>{const a=j({}),i=L(()=>{const l={},{data:s,rowKey:u}=e,c=y(t);if(!c||!c.length)return s;const f=[],d=new Set;c.forEach(v=>d.add(v));let h=s.slice();for(h.forEach(v=>l[v[u]]=0);h.length>0;){const v=h.shift();f.push(v),d.has(v[u])&&Array.isArray(v.children)&&v.children.length>0&&(h=[...v.children,...h],v.children.forEach(p=>l[p[u]]=l[v[u]]+1))}return a.value=l,f}),o=L(()=>{const{data:l,expandColumnKey:s}=e;return s?y(i):l});return ke(o,(l,s)=>{l!==s&&(n.value=-1,r(0,!0))}),{data:o,depthMap:a}},q9e=(e,t)=>e+t,X0=e=>We(e)?e.reduce(q9e,0):e,Oc=(e,t,n={})=>st(e)?e(t):e??n,bs=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Fn(e[t])}),e),zB=e=>Dn(e)?t=>tt(e,t):e,G9e=(e,{columnsTotalWidth:t,data:n,fixedColumnsOnLeft:r,fixedColumnsOnRight:a})=>{const i=L(()=>{const{fixed:_,width:w,vScrollbarSize:x}=e,S=w-x;return _?Math.max(Math.round(y(t)),S):S}),o=L(()=>y(i)+e.vScrollbarSize),l=L(()=>{const{height:_=0,maxHeight:w=0,footerHeight:x,hScrollbarSize:S}=e;if(w>0){const C=y(v),T=y(s),A=y(h)+C+T+S;return Math.min(A,w-x)}return _-x}),s=L(()=>{const{rowHeight:_,estimatedRowHeight:w}=e,x=y(n);return ot(w)?x.length*w:x.length*_}),u=L(()=>{const{maxHeight:_}=e,w=y(l);if(ot(_)&&_>0)return w;const x=y(s)+y(h)+y(v);return Math.min(w,x)}),c=_=>_.width,f=L(()=>X0(y(r).map(c))),d=L(()=>X0(y(a).map(c))),h=L(()=>X0(e.headerHeight)),v=L(()=>{var _;return(((_=e.fixedData)==null?void 0:_.length)||0)*e.rowHeight}),p=L(()=>y(l)-y(h)-y(v)),g=L(()=>{const{style:_={},height:w,width:x}=e;return bs({..._,height:w,width:x})}),m=L(()=>bs({height:e.footerHeight})),b=L(()=>({top:Fn(y(h)),bottom:Fn(e.footerHeight),width:Fn(e.width)}));return{bodyWidth:i,fixedTableHeight:u,mainTableHeight:l,leftTableWidth:f,rightTableWidth:d,headerWidth:o,rowsHeight:s,windowHeight:p,footerHeight:m,emptyStyle:b,rootStyle:g,headerHeight:h}},W9e=e=>{const t=j(),n=j(0),r=j(0);let a;return bt(()=>{a=Pn(t,([i])=>{const{width:o,height:l}=i.contentRect,{paddingLeft:s,paddingRight:u,paddingTop:c,paddingBottom:f}=getComputedStyle(i.target),d=Number.parseInt(s)||0,h=Number.parseInt(u)||0,v=Number.parseInt(c)||0,p=Number.parseInt(f)||0;n.value=o-d-h,r.value=l-v-p}).stop}),wn(()=>{a==null||a()}),ke([n,r],([i,o])=>{var l;(l=e.onResize)==null||l.call(e,{width:i,height:o})}),{sizer:t,width:n,height:r}};function U9e(e){const t=j(),n=j(),r=j(),{columns:a,columnsStyles:i,columnsTotalWidth:o,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,hasFixedColumns:u,mainColumns:c,onColumnSorted:f}=B9e(e,mn(e,"columns"),mn(e,"fixed")),{scrollTo:d,scrollToLeft:h,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:m,scrollPos:b}=F9e(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:J}),_=Ee("table-v2"),w=xt(),x=xn(!1),{expandedRowKeys:S,lastRenderedRowIndex:C,isDynamic:T,isResetting:z,rowHeights:A,resetAfterIndex:E,onRowExpanded:D,onRowHeightChange:$,onRowHovered:O,onRowsRendered:R}=H9e(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:w,ns:_,isScrolling:x}),{data:N,depthMap:B}=j9e(e,{expandedRowKeys:S,lastRenderedRowIndex:C,resetAfterIndex:E}),{bodyWidth:V,fixedTableHeight:P,mainTableHeight:W,leftTableWidth:Z,rightTableWidth:ee,headerWidth:re,rowsHeight:ue,windowHeight:ye,footerHeight:le,emptyStyle:ae,rootStyle:ie,headerHeight:ve}=G9e(e,{columnsTotalWidth:o,data:N,fixedColumnsOnLeft:l,fixedColumnsOnRight:s}),ce=j(),fe=L(()=>{const oe=y(N).length===0;return We(e.fixedData)?e.fixedData.length===0&&oe:oe});function xe(oe){const{estimatedRowHeight:pe,rowHeight:Te,rowKey:ge}=e;return pe?y(A)[y(N)[oe][ge]]||pe:Te}function J(){const{onEndReached:oe}=e;if(!oe)return;const{scrollTop:pe}=y(b),Te=y(ue),ge=y(ye),Ae=Te-(pe+ge)+e.hScrollbarSize;y(C)>=0&&Te===pe+y(W)-y(ve)&&oe(Ae)}return ke(()=>e.expandedRowKeys,oe=>S.value=oe,{deep:!0}),{columns:a,containerRef:ce,mainTableRef:t,leftTableRef:n,rightTableRef:r,isDynamic:T,isResetting:z,isScrolling:x,hasFixedColumns:u,columnsStyles:i,columnsTotalWidth:o,data:N,expandedRowKeys:S,depthMap:B,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,mainColumns:c,bodyWidth:V,emptyStyle:ae,rootStyle:ie,headerWidth:re,footerHeight:le,mainTableHeight:W,fixedTableHeight:P,leftTableWidth:Z,rightTableWidth:ee,showEmpty:fe,getRowHeight:xe,onColumnSorted:f,onRowHovered:O,onRowExpanded:D,onRowsRendered:R,onRowHeightChange:$,scrollTo:d,scrollToLeft:h,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:m}}const s6=Symbol("tableV2"),MB=String,Cp={type:he(Array),required:!0},u6={type:he(Array)},AB={...u6,required:!0},Y9e=String,cz={type:he(Array),default:()=>Rn([])},Yu={type:Number,required:!0},EB={type:he([String,Number,Symbol]),default:"id"},fz={type:he(Object)},ac=Oe({class:String,columns:Cp,columnsStyles:{type:he(Object),required:!0},depth:Number,expandColumnKey:Y9e,estimatedRowHeight:{...yc.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:he(Function)},onRowHover:{type:he(Function)},onRowHeightChange:{type:he(Function)},rowData:{type:he(Object),required:!0},rowEventHandlers:{type:he(Object)},rowIndex:{type:Number,required:!0},rowKey:EB,style:{type:he(Object)}}),yb={type:Number,required:!0},c6=Oe({class:String,columns:Cp,fixedHeaderData:{type:he(Array)},headerData:{type:he(Array),required:!0},headerHeight:{type:he([Number,Array]),default:50},rowWidth:yb,rowHeight:{type:Number,default:50},height:yb,width:yb}),Z0=Oe({columns:Cp,data:AB,fixedData:u6,estimatedRowHeight:ac.estimatedRowHeight,width:Yu,height:Yu,headerWidth:Yu,headerHeight:c6.headerHeight,bodyWidth:Yu,rowHeight:Yu,cache:JV.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:yc.scrollbarAlwaysOn,scrollbarStartGap:yc.scrollbarStartGap,scrollbarEndGap:yc.scrollbarEndGap,class:MB,style:fz,containerStyle:fz,getRowHeight:{type:he(Function),required:!0},rowKey:ac.rowKey,onRowsRendered:{type:he(Function)},onScroll:{type:he(Function)}}),K9e=Oe({cache:Z0.cache,estimatedRowHeight:ac.estimatedRowHeight,rowKey:EB,headerClass:{type:he([String,Function])},headerProps:{type:he([Object,Function])},headerCellProps:{type:he([Object,Function])},headerHeight:c6.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:he([String,Function])},rowProps:{type:he([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:he([Object,Function])},columns:Cp,data:AB,dataGetter:{type:he(Function)},fixedData:u6,expandColumnKey:ac.expandColumnKey,expandedRowKeys:cz,defaultExpandedRowKeys:cz,class:MB,fixed:Boolean,style:{type:he(Object)},width:Yu,height:Yu,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:yc.hScrollbarSize,vScrollbarSize:yc.vScrollbarSize,scrollbarAlwaysOn:tB.alwaysOn,sortBy:{type:he(Object),default:()=>({})},sortState:{type:he(Object),default:void 0},onColumnSort:{type:he(Function)},onExpandedRowsChange:{type:he(Function)},onEndReached:{type:he(Function)},onRowExpand:ac.onRowExpand,onScroll:Z0.onScroll,onRowsRendered:Z0.onRowsRendered,rowEventHandlers:ac.rowEventHandlers}),f6=(e,{slots:t})=>{var n;const{cellData:r,style:a}=e,i=((n=r==null?void 0:r.toString)==null?void 0:n.call(r))||"",o=me(t,"default",e,()=>[i]);return I("div",{class:e.class,title:i,style:a},[o])};f6.displayName="ElTableV2Cell";f6.inheritAttrs=!1;const d6=(e,{slots:t})=>me(t,"default",e,()=>{var n,r;return[I("div",{class:e.class,title:(n=e.column)==null?void 0:n.title},[(r=e.column)==null?void 0:r.title])]});d6.displayName="ElTableV2HeaderCell";d6.inheritAttrs=!1;const X9e=Oe({class:String,columns:Cp,columnsStyles:{type:he(Object),required:!0},headerIndex:Number,style:{type:he(Object)}}),Z9e=te({name:"ElTableV2HeaderRow",props:X9e,setup(e,{slots:t}){return()=>{const{columns:n,columnsStyles:r,headerIndex:a,style:i}=e;let o=n.map((l,s)=>t.cell({columns:n,column:l,columnIndex:s,headerIndex:a,style:r[l.key]}));return t.header&&(o=t.header({cells:o.map(l=>We(l)&&l.length===1?l[0]:l),columns:n,headerIndex:a})),I("div",{class:e.class,style:i,role:"row"},[o])}}}),J9e="ElTableV2Header",Q9e=te({name:J9e,props:c6,setup(e,{slots:t,expose:n}){const r=Ee("table-v2"),a=j(),i=L(()=>bs({width:e.width,height:e.height})),o=L(()=>bs({width:e.rowWidth,height:e.height})),l=L(()=>Bs(y(e.headerHeight))),s=f=>{const d=y(a);nt(()=>{d!=null&&d.scroll&&d.scroll({left:f})})},u=()=>{const f=r.e("fixed-header-row"),{columns:d,fixedHeaderData:h,rowHeight:v}=e;return h==null?void 0:h.map((p,g)=>{var m;const b=bs({height:v,width:"100%"});return(m=t.fixed)==null?void 0:m.call(t,{class:f,columns:d,rowData:p,rowIndex:-(g+1),style:b})})},c=()=>{const f=r.e("dynamic-header-row"),{columns:d}=e;return y(l).map((h,v)=>{var p;const g=bs({width:"100%",height:h});return(p=t.dynamic)==null?void 0:p.call(t,{class:f,columns:d,headerIndex:v,style:g})})};return n({scrollToLeft:s}),()=>{if(!(e.height<=0))return I("div",{ref:a,class:e.class,style:y(i),role:"rowgroup"},[I("div",{style:y(o),class:r.e("header")},[c(),u()])])}}}),e4e=e=>{const{isScrolling:t}=Ye(s6),n=j(!1),r=j(),a=L(()=>ot(e.estimatedRowHeight)&&e.rowIndex>=0),i=(s=!1)=>{const u=y(r);if(!u)return;const{columns:c,onRowHeightChange:f,rowKey:d,rowIndex:h,style:v}=e,{height:p}=u.getBoundingClientRect();n.value=!0,nt(()=>{if(s||p!==Number.parseInt(v.height)){const g=c[0],m=(g==null?void 0:g.placeholderSign)===E1;f==null||f({rowKey:d,height:p,rowIndex:h},g&&!m&&g.fixed)}})},o=L(()=>{const{rowData:s,rowIndex:u,rowKey:c,onRowHover:f}=e,d=e.rowEventHandlers||{},h={};return Object.entries(d).forEach(([v,p])=>{st(p)&&(h[v]=g=>{p({event:g,rowData:s,rowIndex:u,rowKey:c})})}),f&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:v,hovered:p})=>{const g=h[v];h[v]=m=>{f({event:m,hovered:p,rowData:s,rowIndex:u,rowKey:c}),g==null||g(m)}}),h}),l=s=>{const{onRowExpand:u,rowData:c,rowIndex:f,rowKey:d}=e;u==null||u({expanded:s,rowData:c,rowIndex:f,rowKey:d})};return bt(()=>{y(a)&&i(!0)}),{isScrolling:t,measurable:a,measured:n,rowRef:r,eventHandlers:o,onExpand:l}},t4e="ElTableV2TableRow",n4e=te({name:t4e,props:ac,setup(e,{expose:t,slots:n,attrs:r}){const{eventHandlers:a,isScrolling:i,measurable:o,measured:l,rowRef:s,onExpand:u}=e4e(e);return t({onExpand:u}),()=>{const{columns:c,columnsStyles:f,expandColumnKey:d,depth:h,rowData:v,rowIndex:p,style:g}=e;let m=c.map((b,_)=>{const w=We(v.children)&&v.children.length>0&&b.key===d;return n.cell({column:b,columns:c,columnIndex:_,depth:h,style:f[b.key],rowData:v,rowIndex:p,isScrolling:y(i),expandIconProps:w?{rowData:v,rowIndex:p,onExpand:u}:void 0})});if(n.row&&(m=n.row({cells:m.map(b=>We(b)&&b.length===1?b[0]:b),style:g,columns:c,depth:h,rowData:v,rowIndex:p,isScrolling:y(i)})),y(o)){const{height:b,..._}=g||{},w=y(l);return I("div",Pt({ref:s,class:e.class,style:w?g:_,role:"row"},r,y(a)),[m])}return I("div",Pt(r,{ref:s,class:e.class,style:g,role:"row"},y(a)),[m])}}}),r4e=e=>{const{sortOrder:t}=e;return I(Ze,{size:14,class:e.class},{default:()=>[t===M1.ASC?I(_ie,null,null):I(yie,null,null)]})},a4e=e=>{const{expanded:t,expandable:n,onExpand:r,style:a,size:i}=e,o={onClick:n?()=>r(!t):void 0,class:e.class};return I(Ze,Pt(o,{size:i,style:a}),{default:()=>[I(la,null,null)]})},i4e="ElTableV2Grid",o4e=e=>{const t=j(),n=j(),r=L(()=>{const{data:p,rowHeight:g,estimatedRowHeight:m}=e;if(!m)return p.length*g}),a=L(()=>{const{fixedData:p,rowHeight:g}=e;return((p==null?void 0:p.length)||0)*g}),i=L(()=>X0(e.headerHeight)),o=L(()=>{const{height:p}=e;return Math.max(0,p-y(i)-y(a))}),l=L(()=>y(i)+y(a)>0),s=({data:p,rowIndex:g})=>p[g][e.rowKey];function u({rowCacheStart:p,rowCacheEnd:g,rowVisibleStart:m,rowVisibleEnd:b}){var _;(_=e.onRowsRendered)==null||_.call(e,{rowCacheStart:p,rowCacheEnd:g,rowVisibleStart:m,rowVisibleEnd:b})}function c(p,g){var m;(m=n.value)==null||m.resetAfterRowIndex(p,g)}function f(p,g){const m=y(t),b=y(n);zt(p)?(m==null||m.scrollToLeft(p.scrollLeft),b==null||b.scrollTo(p)):(m==null||m.scrollToLeft(p),b==null||b.scrollTo({scrollLeft:p,scrollTop:g}))}function d(p){var g;(g=y(n))==null||g.scrollTo({scrollTop:p})}function h(p,g){var m;(m=y(n))==null||m.scrollToItem(p,1,g)}function v(){var p,g;(p=y(n))==null||p.$forceUpdate(),(g=y(t))==null||g.$forceUpdate()}return{bodyRef:n,forceUpdate:v,fixedRowHeight:a,gridHeight:o,hasHeader:l,headerHeight:i,headerRef:t,totalHeight:r,itemKey:s,onItemRendered:u,resetAfterRowIndex:c,scrollTo:f,scrollToTop:d,scrollToRow:h}},h6=te({name:i4e,props:Z0,setup(e,{slots:t,expose:n}){const{ns:r}=Ye(s6),{bodyRef:a,fixedRowHeight:i,gridHeight:o,hasHeader:l,headerRef:s,headerHeight:u,totalHeight:c,forceUpdate:f,itemKey:d,onItemRendered:h,resetAfterRowIndex:v,scrollTo:p,scrollToTop:g,scrollToRow:m}=o4e(e);n({forceUpdate:f,totalHeight:c,scrollTo:p,scrollToTop:g,scrollToRow:m,resetAfterRowIndex:v});const b=()=>e.bodyWidth;return()=>{const{cache:_,columns:w,data:x,fixedData:S,useIsScrolling:C,scrollbarAlwaysOn:T,scrollbarEndGap:z,scrollbarStartGap:A,style:E,rowHeight:D,bodyWidth:$,estimatedRowHeight:O,headerWidth:R,height:N,width:B,getRowHeight:V,onScroll:P}=e,W=ot(O),Z=W?q3e:B3e,ee=y(u);return I("div",{role:"table",class:[r.e("table"),e.class],style:E},[I(Z,{ref:a,data:x,useIsScrolling:C,itemKey:d,columnCache:0,columnWidth:W?b:$,totalColumn:1,totalRow:x.length,rowCache:_,rowHeight:W?V:D,width:B,height:y(o),class:r.e("body"),role:"rowgroup",scrollbarStartGap:A,scrollbarEndGap:z,scrollbarAlwaysOn:T,onScroll:P,onItemRendered:h,perfMode:!1},{default:re=>{var ue;const ye=x[re.rowIndex];return(ue=t.row)==null?void 0:ue.call(t,{...re,columns:w,rowData:ye})}}),y(l)&&I(Q9e,{ref:s,class:r.e("header-wrapper"),columns:w,headerData:x,headerHeight:e.headerHeight,fixedHeaderData:S,rowWidth:R,rowHeight:D,width:B,height:Math.min(ee+y(i),N)},{dynamic:t.header,fixed:t.row})])}}});function l4e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const s4e=(e,{slots:t})=>{const{mainTableRef:n,...r}=e;return I(h6,Pt({ref:n},r),l4e(t)?t:{default:()=>[t]})};function u4e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const c4e=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...r}=e;return I(h6,Pt({ref:n},r),u4e(t)?t:{default:()=>[t]})};function f4e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const d4e=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...r}=e;return I(h6,Pt({ref:n},r),f4e(t)?t:{default:()=>[t]})};function h4e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const v4e=(e,{slots:t})=>{const{columns:n,columnsStyles:r,depthMap:a,expandColumnKey:i,expandedRowKeys:o,estimatedRowHeight:l,hasFixedColumns:s,rowData:u,rowIndex:c,style:f,isScrolling:d,rowProps:h,rowClass:v,rowKey:p,rowEventHandlers:g,ns:m,onRowHovered:b,onRowExpanded:_}=e,w=Oc(v,{columns:n,rowData:u,rowIndex:c},""),x=Oc(h,{columns:n,rowData:u,rowIndex:c}),S=u[p],C=a[S]||0,T=!!i,z=c<0,A=[m.e("row"),w,{[m.e(`row-depth-${C}`)]:T&&c>=0,[m.is("expanded")]:T&&o.includes(S),[m.is("fixed")]:!C&&z,[m.is("customized")]:!!t.row}],E=s?b:void 0,D={...x,columns:n,columnsStyles:r,class:A,depth:C,expandColumnKey:i,estimatedRowHeight:z?void 0:l,isScrolling:d,rowIndex:c,rowData:u,rowKey:S,rowEventHandlers:g,style:f};return I(n4e,Pt(D,{onRowExpand:_,onMouseenter:R=>{E==null||E({hovered:!0,rowKey:S,event:R,rowData:u,rowIndex:c})},onMouseleave:R=>{E==null||E({hovered:!1,rowKey:S,event:R,rowData:u,rowIndex:c})},rowkey:S}),h4e(t)?t:{default:()=>[t]})},ow=({columns:e,column:t,columnIndex:n,depth:r,expandIconProps:a,isScrolling:i,rowData:o,rowIndex:l,style:s,expandedRowKeys:u,ns:c,cellProps:f,expandColumnKey:d,indentSize:h,iconSize:v,rowKey:p},{slots:g})=>{const m=bs(s);if(t.placeholderSign===E1)return I("div",{class:c.em("row-cell","placeholder"),style:m},null);const{cellRenderer:b,dataKey:_,dataGetter:w}=t,x=st(w)?w({columns:e,column:t,columnIndex:n,rowData:o,rowIndex:l}):Wn(o,_??""),S=Oc(f,{cellData:x,columns:e,column:t,columnIndex:n,rowIndex:l,rowData:o}),C={class:c.e("cell-text"),columns:e,column:t,columnIndex:n,cellData:x,isScrolling:i,rowData:o,rowIndex:l},T=zB(b),z=T?T(C):me(g,"default",C,()=>[I(f6,C,null)]),A=[c.e("row-cell"),t.class,t.align===A1.CENTER&&c.is("align-center"),t.align===A1.RIGHT&&c.is("align-right")],E=l>=0&&d&&t.key===d,D=l>=0&&u.includes(o[p]);let $;const O=`margin-inline-start: ${r*h}px;`;return E&&(zt(a)?$=I(a4e,Pt(a,{class:[c.e("expand-icon"),c.is("expanded",D)],size:v,expanded:D,style:O,expandable:!0}),null):$=I("div",{style:[O,`width: ${v}px; height: ${v}px;`].join(" ")},null)),I("div",Pt({class:A,style:m},S,{role:"cell"}),[$,z])};ow.inheritAttrs=!1;function p4e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const g4e=({columns:e,columnsStyles:t,headerIndex:n,style:r,headerClass:a,headerProps:i,ns:o},{slots:l})=>{const s={columns:e,headerIndex:n},u=[o.e("header-row"),Oc(a,s,""),{[o.is("customized")]:!!l.header}],c={...Oc(i,s),columnsStyles:t,class:u,columns:e,headerIndex:n,style:r};return I(Z9e,c,p4e(l)?l:{default:()=>[l]})},dz=(e,{slots:t})=>{const{column:n,ns:r,style:a,onColumnSorted:i}=e,o=bs(a);if(n.placeholderSign===E1)return I("div",{class:r.em("header-row-cell","placeholder"),style:o},null);const{headerCellRenderer:l,headerClass:s,sortable:u}=n,c={...e,class:r.e("header-cell-text")},f=zB(l),d=f?f(c):me(t,"default",c,()=>[I(d6,c,null)]),{sortBy:h,sortState:v,headerCellProps:p}=e;let g,m;if(v){const w=v[n.key];g=!!iw[w],m=g?w:M1.ASC}else g=n.key===h.key,m=g?h.order:M1.ASC;const b=[r.e("header-cell"),Oc(s,e,""),n.align===A1.CENTER&&r.is("align-center"),n.align===A1.RIGHT&&r.is("align-right"),u&&r.is("sortable")],_={...Oc(p,e),onClick:n.sortable?i:void 0,class:b,style:o,"data-key":n.key};return I("div",Pt(_,{role:"columnheader"}),[d,u&&I(r4e,{class:[r.e("sort-icon"),g&&r.is("sorting")],sortOrder:m},null)])},IB=(e,{slots:t})=>{var n;return I("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};IB.displayName="ElTableV2Footer";const DB=(e,{slots:t})=>{const n=me(t,"default",{},()=>[I(OV,null,null)]);return I("div",{class:e.class,style:e.style},[n])};DB.displayName="ElTableV2Empty";const LB=(e,{slots:t})=>{var n;return I("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};LB.displayName="ElTableV2Overlay";function Eh(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const m4e="ElTableV2",y4e=te({name:m4e,props:K9e,setup(e,{slots:t,expose:n}){const r=Ee("table-v2"),{columnsStyles:a,fixedColumnsOnLeft:i,fixedColumnsOnRight:o,mainColumns:l,mainTableHeight:s,fixedTableHeight:u,leftTableWidth:c,rightTableWidth:f,data:d,depthMap:h,expandedRowKeys:v,hasFixedColumns:p,mainTableRef:g,leftTableRef:m,rightTableRef:b,isDynamic:_,isResetting:w,isScrolling:x,bodyWidth:S,emptyStyle:C,rootStyle:T,headerWidth:z,footerHeight:A,showEmpty:E,scrollTo:D,scrollToLeft:$,scrollToTop:O,scrollToRow:R,getRowHeight:N,onColumnSorted:B,onRowHeightChange:V,onRowHovered:P,onRowExpanded:W,onRowsRendered:Z,onScroll:ee,onVerticalScroll:re}=U9e(e);return n({scrollTo:D,scrollToLeft:$,scrollToTop:O,scrollToRow:R}),Rt(s6,{ns:r,isResetting:w,isScrolling:x}),()=>{const{cache:ue,cellProps:ye,estimatedRowHeight:le,expandColumnKey:ae,fixedData:ie,headerHeight:ve,headerClass:ce,headerProps:fe,headerCellProps:xe,sortBy:J,sortState:oe,rowHeight:pe,rowClass:Te,rowEventHandlers:ge,rowKey:Ae,rowProps:De,scrollbarAlwaysOn:Pe,indentSize:Re,iconSize:Ce,useIsScrolling:Ue,vScrollbarSize:Je,width:ze}=e,Ke=y(d),ut={cache:ue,class:r.e("main"),columns:y(l),data:Ke,fixedData:ie,estimatedRowHeight:le,bodyWidth:y(S)+Je,headerHeight:ve,headerWidth:y(z),height:y(s),mainTableRef:g,rowKey:Ae,rowHeight:pe,scrollbarAlwaysOn:Pe,scrollbarStartGap:2,scrollbarEndGap:Je,useIsScrolling:Ue,width:ze,getRowHeight:N,onRowsRendered:Z,onScroll:ee},Et=y(c),Ct=y(u),rt={cache:ue,class:r.e("left"),columns:y(i),data:Ke,estimatedRowHeight:le,leftTableRef:m,rowHeight:pe,bodyWidth:Et,headerWidth:Et,headerHeight:ve,height:Ct,rowKey:Ae,scrollbarAlwaysOn:Pe,scrollbarStartGap:2,scrollbarEndGap:Je,useIsScrolling:Ue,width:Et,getRowHeight:N,onScroll:re},qe=y(f)+Je,Le={cache:ue,class:r.e("right"),columns:y(o),data:Ke,estimatedRowHeight:le,rightTableRef:b,rowHeight:pe,bodyWidth:qe,headerWidth:qe,headerHeight:ve,height:Ct,rowKey:Ae,scrollbarAlwaysOn:Pe,scrollbarStartGap:2,scrollbarEndGap:Je,width:qe,style:`--${y(r.namespace)}-table-scrollbar-size: ${Je}px`,useIsScrolling:Ue,getRowHeight:N,onScroll:re},_e=y(a),Ie={ns:r,depthMap:y(h),columnsStyles:_e,expandColumnKey:ae,expandedRowKeys:y(v),estimatedRowHeight:le,hasFixedColumns:y(p),rowProps:De,rowClass:Te,rowKey:Ae,rowEventHandlers:ge,onRowHovered:P,onRowExpanded:W,onRowHeightChange:V},Xe={cellProps:ye,expandColumnKey:ae,indentSize:Re,iconSize:Ce,rowKey:Ae,expandedRowKeys:y(v),ns:r},be={ns:r,headerClass:ce,headerProps:fe,columnsStyles:_e},Qe={ns:r,sortBy:J,sortState:oe,headerCellProps:xe,onColumnSorted:B},Lt={row:hr=>I(v4e,Pt(hr,Ie),{row:t.row,cell:Nt=>{let Yn;return t.cell?I(ow,Pt(Nt,Xe,{style:_e[Nt.column.key]}),Eh(Yn=t.cell(Nt))?Yn:{default:()=>[Yn]}):I(ow,Pt(Nt,Xe,{style:_e[Nt.column.key]}),null)}}),header:hr=>I(g4e,Pt(hr,be),{header:t.header,cell:Nt=>{let Yn;return t["header-cell"]?I(dz,Pt(Nt,Qe,{style:_e[Nt.column.key]}),Eh(Yn=t["header-cell"](Nt))?Yn:{default:()=>[Yn]}):I(dz,Pt(Nt,Qe,{style:_e[Nt.column.key]}),null)}})},cn=[e.class,r.b(),r.e("root"),{[r.is("dynamic")]:y(_)}],$n={class:r.e("footer"),style:y(A)};return I("div",{class:cn,style:y(T)},[I(s4e,ut,Eh(Lt)?Lt:{default:()=>[Lt]}),I(c4e,rt,Eh(Lt)?Lt:{default:()=>[Lt]}),I(d4e,Le,Eh(Lt)?Lt:{default:()=>[Lt]}),t.footer&&I(IB,$n,{default:t.footer}),y(E)&&I(DB,{class:r.e("empty"),style:y(C)},{default:t.empty}),t.overlay&&I(LB,{class:r.e("overlay")},{default:t.overlay})])}}}),b4e=Oe({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:he(Function)}}),_4e=te({name:"ElAutoResizer",props:b4e,setup(e,{slots:t}){const n=Ee("auto-resizer"),{height:r,width:a,sizer:i}=W9e(e),o={width:"100%",height:"100%"};return()=>{var l;return I("div",{ref:i,class:n.b(),style:o},[(l=t.default)==null?void 0:l.call(t,{height:r.value,width:a.value})])}}}),w4e=St(y4e),x4e=St(_4e),Vy=Symbol("tabsRootContextKey"),S4e=Oe({tabs:{type:he(Array),default:()=>Rn([])}}),PB="ElTabBar",C4e=te({name:PB}),T4e=te({...C4e,props:S4e,setup(e,{expose:t}){const n=e,r=xt(),a=Ye(Vy);a||or(PB,"<el-tabs><el-tab-bar /></el-tabs>");const i=Ee("tabs"),o=j(),l=j(),s=()=>{let c=0,f=0;const d=["top","bottom"].includes(a.props.tabPosition)?"width":"height",h=d==="width"?"x":"y",v=h==="x"?"left":"top";return n.tabs.every(p=>{var g,m;const b=(m=(g=r.parent)==null?void 0:g.refs)==null?void 0:m[`tab-${p.uid}`];if(!b)return!1;if(!p.active)return!0;c=b[`offset${bo(v)}`],f=b[`client${bo(d)}`];const _=window.getComputedStyle(b);return d==="width"&&(n.tabs.length>1&&(f-=Number.parseFloat(_.paddingLeft)+Number.parseFloat(_.paddingRight)),c+=Number.parseFloat(_.paddingLeft)),!1}),{[d]:`${f}px`,transform:`translate${bo(h)}(${c}px)`}},u=()=>l.value=s();return ke(()=>n.tabs,async()=>{await nt(),u()},{immediate:!0}),Pn(o,()=>u()),t({ref:o,update:u}),(c,f)=>(k(),F("div",{ref_key:"barRef",ref:o,class:q([y(i).e("active-bar"),y(i).is(y(a).props.tabPosition)]),style:Be(l.value)},null,6))}});var k4e=Ne(T4e,[["__file","tab-bar.vue"]]);const z4e=Oe({panes:{type:he(Array),default:()=>Rn([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),M4e={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},hz="ElTabNav",A4e=te({name:hz,props:z4e,emits:M4e,setup(e,{expose:t,emit:n}){const r=xt(),a=Ye(Vy);a||or(hz,"<el-tabs><tab-nav /></el-tabs>");const i=Ee("tabs"),o=AJ(),l=FJ(),s=j(),u=j(),c=j(),f=j(),d=j(!1),h=j(0),v=j(!1),p=j(!0),g=L(()=>["top","bottom"].includes(a.props.tabPosition)?"width":"height"),m=L(()=>({transform:`translate${g.value==="width"?"X":"Y"}(-${h.value}px)`})),b=()=>{if(!s.value)return;const z=s.value[`offset${bo(g.value)}`],A=h.value;if(!A)return;const E=A>z?A-z:0;h.value=E},_=()=>{if(!s.value||!u.value)return;const z=u.value[`offset${bo(g.value)}`],A=s.value[`offset${bo(g.value)}`],E=h.value;if(z-E<=A)return;const D=z-E>A*2?E+A:z-A;h.value=D},w=async()=>{const z=u.value;if(!d.value||!c.value||!s.value||!z)return;await nt();const A=c.value.querySelector(".is-active");if(!A)return;const E=s.value,D=["top","bottom"].includes(a.props.tabPosition),$=A.getBoundingClientRect(),O=E.getBoundingClientRect(),R=D?z.offsetWidth-O.width:z.offsetHeight-O.height,N=h.value;let B=N;D?($.left<O.left&&(B=N-(O.left-$.left)),$.right>O.right&&(B=N+$.right-O.right)):($.top<O.top&&(B=N-(O.top-$.top)),$.bottom>O.bottom&&(B=N+($.bottom-O.bottom))),B=Math.max(B,0),h.value=Math.min(B,R)},x=()=>{var z;if(!u.value||!s.value)return;e.stretch&&((z=f.value)==null||z.update());const A=u.value[`offset${bo(g.value)}`],E=s.value[`offset${bo(g.value)}`],D=h.value;E<A?(d.value=d.value||{},d.value.prev=D,d.value.next=D+E<A,A-D<E&&(h.value=A-E)):(d.value=!1,D>0&&(h.value=0))},S=z=>{const A=z.code,{up:E,down:D,left:$,right:O}=at;if(![E,D,$,O].includes(A))return;const R=Array.from(z.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),N=R.indexOf(z.target);let B;A===$||A===E?N===0?B=R.length-1:B=N-1:N<R.length-1?B=N+1:B=0,R[B].focus({preventScroll:!0}),R[B].click(),C()},C=()=>{p.value&&(v.value=!0)},T=()=>v.value=!1;return ke(o,z=>{z==="hidden"?p.value=!1:z==="visible"&&setTimeout(()=>p.value=!0,50)}),ke(l,z=>{z?setTimeout(()=>p.value=!0,50):p.value=!1}),Pn(c,x),bt(()=>setTimeout(()=>w(),0)),Ll(()=>x()),t({scrollToActiveTab:w,removeFocus:T}),ke(()=>e.panes,()=>r.update(),{flush:"post",deep:!0}),()=>{const z=d.value?[I("span",{class:[i.e("nav-prev"),i.is("disabled",!d.value.prev)],onClick:b},[I(Ze,null,{default:()=>[I(Hs,null,null)]})]),I("span",{class:[i.e("nav-next"),i.is("disabled",!d.value.next)],onClick:_},[I(Ze,null,{default:()=>[I(la,null,null)]})])]:null,A=e.panes.map((E,D)=>{var $,O,R,N;const B=E.uid,V=E.props.disabled,P=(O=($=E.props.name)!=null?$:E.index)!=null?O:`${D}`,W=!V&&(E.isClosable||e.editable);E.index=`${D}`;const Z=W?I(Ze,{class:"is-icon-close",onClick:ue=>n("tabRemove",E,ue)},{default:()=>[I(Xi,null,null)]}):null,ee=((N=(R=E.slots).label)==null?void 0:N.call(R))||E.props.label,re=!V&&E.active?0:-1;return I("div",{ref:`tab-${B}`,class:[i.e("item"),i.is(a.props.tabPosition),i.is("active",E.active),i.is("disabled",V),i.is("closable",W),i.is("focus",v.value)],id:`tab-${P}`,key:`tab-${B}`,"aria-controls":`pane-${P}`,role:"tab","aria-selected":E.active,tabindex:re,onFocus:()=>C(),onBlur:()=>T(),onClick:ue=>{T(),n("tabClick",E,P,ue)},onKeydown:ue=>{W&&(ue.code===at.delete||ue.code===at.backspace)&&n("tabRemove",E,ue)}},[ee,Z])});return I("div",{ref:c,class:[i.e("nav-wrap"),i.is("scrollable",!!d.value),i.is(a.props.tabPosition)]},[z,I("div",{class:i.e("nav-scroll"),ref:s},[I("div",{class:[i.e("nav"),i.is(a.props.tabPosition),i.is("stretch",e.stretch&&["top","bottom"].includes(a.props.tabPosition))],ref:u,style:m.value,role:"tablist",onKeydown:S},[e.type?null:I(k4e,{ref:f,tabs:[...e.panes]},null),A])])])}}}),E4e=Oe({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:he(Function),default:()=>!0},stretch:Boolean}),bb=e=>vt(e)||ot(e),I4e={[Mt]:e=>bb(e),tabClick:(e,t)=>t instanceof Event,tabChange:e=>bb(e),edit:(e,t)=>["remove","add"].includes(t),tabRemove:e=>bb(e),tabAdd:()=>!0},D4e=te({name:"ElTabs",props:E4e,emits:I4e,setup(e,{emit:t,slots:n,expose:r}){var a;const i=Ee("tabs"),{children:o,addChild:l,removeChild:s}=PS(xt(),"ElTabPane"),u=j(),c=j((a=e.modelValue)!=null?a:"0"),f=async(p,g=!1)=>{var m,b,_;if(!(c.value===p||Xn(p)))try{await((m=e.beforeLeave)==null?void 0:m.call(e,p,c.value))!==!1&&(c.value=p,g&&(t(Mt,p),t("tabChange",p)),(_=(b=u.value)==null?void 0:b.removeFocus)==null||_.call(b))}catch{}},d=(p,g,m)=>{p.props.disabled||(f(g,!0),t("tabClick",p,m))},h=(p,g)=>{p.props.disabled||Xn(p.props.name)||(g.stopPropagation(),t("edit",p.props.name,"remove"),t("tabRemove",p.props.name))},v=()=>{t("edit",void 0,"add"),t("tabAdd")};return ke(()=>e.modelValue,p=>f(p)),ke(c,async()=>{var p;await nt(),(p=u.value)==null||p.scrollToActiveTab()}),Rt(Vy,{props:e,currentName:c,registerPane:l,unregisterPane:s}),r({currentName:c}),()=>{const p=n["add-icon"],g=e.editable||e.addable?I("span",{class:i.e("new-tab"),tabindex:"0",onClick:v,onKeydown:_=>{_.code===at.enter&&v()}},[p?me(n,"add-icon"):I(Ze,{class:i.is("icon-plus")},{default:()=>[I(fN,null,null)]})]):null,m=I("div",{class:[i.e("header"),i.is(e.tabPosition)]},[g,I(A4e,{ref:u,currentName:c.value,editable:e.editable,type:e.type,panes:o.value,stretch:e.stretch,onTabClick:d,onTabRemove:h},null)]),b=I("div",{class:i.e("content")},[me(n,"default")]);return I("div",{class:[i.b(),i.m(e.tabPosition),{[i.m("card")]:e.type==="card",[i.m("border-card")]:e.type==="border-card"}]},[...e.tabPosition!=="bottom"?[m,b]:[b,m]])}}}),L4e=Oe({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),P4e=["id","aria-hidden","aria-labelledby"],RB="ElTabPane",R4e=te({name:RB}),O4e=te({...R4e,props:L4e,setup(e){const t=e,n=xt(),r=Tr(),a=Ye(Vy);a||or(RB,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const i=Ee("tab-pane"),o=j(),l=L(()=>t.closable||a.props.closable),s=j7(()=>{var h;return a.currentName.value===((h=t.name)!=null?h:o.value)}),u=j(s.value),c=L(()=>{var h;return(h=t.name)!=null?h:o.value}),f=j7(()=>!t.lazy||u.value||s.value);ke(s,h=>{h&&(u.value=!0)});const d=nn({uid:n.uid,slots:r,props:t,paneName:c,active:s,index:o,isClosable:l});return bt(()=>{a.registerPane(d)}),Ho(()=>{a.unregisterPane(d.uid)}),(h,v)=>y(f)?mt((k(),F("div",{key:0,id:`pane-${y(c)}`,class:q(y(i).b()),role:"tabpanel","aria-hidden":!y(s),"aria-labelledby":`tab-${y(c)}`},[me(h.$slots,"default")],10,P4e)),[[en,y(s)]]):Q("v-if",!0)}});var OB=Ne(O4e,[["__file","tab-pane.vue"]]);const N4e=St(D4e,{TabPane:OB}),$4e=On(OB),V4e=Oe({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:jo,default:""},truncated:{type:Boolean},lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),B4e=te({name:"ElText"}),F4e=te({...B4e,props:V4e,setup(e){const t=e,n=tr(),r=Ee("text"),a=L(()=>[r.b(),r.m(t.type),r.m(n.value),r.is("truncated",t.truncated),r.is("line-clamp",!Xn(t.lineClamp))]);return(i,o)=>(k(),Y(It(i.tag),{class:q(y(a)),style:Be({"-webkit-line-clamp":i.lineClamp})},{default:M(()=>[me(i.$slots,"default")]),_:3},8,["class","style"]))}});var H4e=Ne(F4e,[["__file","text.vue"]]);const j4e=St(H4e),q4e=Oe({format:{type:String,default:"HH:mm"},modelValue:String,disabled:Boolean,editable:{type:Boolean,default:!0},effect:{type:String,default:"light"},clearable:{type:Boolean,default:!0},size:cr,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:String,maxTime:String,name:String,prefixIcon:{type:he([String,Object]),default:()=>cN},clearIcon:{type:he([String,Object]),default:()=>au},...th}),sl=e=>{const t=(e||"").split(":");if(t.length>=2){let n=Number.parseInt(t[0],10);const r=Number.parseInt(t[1],10),a=e.toUpperCase();return a.includes("AM")&&n===12?n=0:a.includes("PM")&&n!==12&&(n+=12),{hours:n,minutes:r}}return null},_b=(e,t)=>{const n=sl(e);if(!n)return-1;const r=sl(t);if(!r)return-1;const a=n.minutes+n.hours*60,i=r.minutes+r.hours*60;return a===i?0:a>i?1:-1},vz=e=>`${e}`.padStart(2,"0"),Of=e=>`${vz(e.hours)}:${vz(e.minutes)}`,G4e=(e,t)=>{const n=sl(e);if(!n)return"";const r=sl(t);if(!r)return"";const a={hours:n.hours,minutes:n.minutes};return a.minutes+=r.minutes,a.hours+=r.hours,a.hours+=Math.floor(a.minutes/60),a.minutes=a.minutes%60,Of(a)},W4e=te({name:"ElTimeSelect"}),U4e=te({...W4e,props:q4e,emits:["change","blur","focus","update:modelValue"],setup(e,{expose:t}){const n=e;Tt.extend(FS);const{Option:r}=Rc,a=Ee("input"),i=j(),o=ma(),{lang:l}=Xt(),s=L(()=>n.modelValue),u=L(()=>{const m=sl(n.start);return m?Of(m):null}),c=L(()=>{const m=sl(n.end);return m?Of(m):null}),f=L(()=>{const m=sl(n.step);return m?Of(m):null}),d=L(()=>{const m=sl(n.minTime||"");return m?Of(m):null}),h=L(()=>{const m=sl(n.maxTime||"");return m?Of(m):null}),v=L(()=>{const m=[];if(n.start&&n.end&&n.step){let b=u.value,_;for(;b&&c.value&&_b(b,c.value)<=0;)_=Tt(b,"HH:mm").locale(l.value).format(n.format),m.push({value:_,disabled:_b(b,d.value||"-1:-1")<=0||_b(b,h.value||"100:100")>=0}),b=G4e(b,f.value)}return m});return t({blur:()=>{var m,b;(b=(m=i.value)==null?void 0:m.blur)==null||b.call(m)},focus:()=>{var m,b;(b=(m=i.value)==null?void 0:m.focus)==null||b.call(m)}}),(m,b)=>(k(),Y(y(Rc),{ref_key:"select",ref:i,"model-value":y(s),disabled:y(o),clearable:m.clearable,"clear-icon":m.clearIcon,size:m.size,effect:m.effect,placeholder:m.placeholder,"default-first-option":"",filterable:m.editable,"empty-values":m.emptyValues,"value-on-clear":m.valueOnClear,"onUpdate:modelValue":b[0]||(b[0]=_=>m.$emit("update:modelValue",_)),onChange:b[1]||(b[1]=_=>m.$emit("change",_)),onBlur:b[2]||(b[2]=_=>m.$emit("blur",_)),onFocus:b[3]||(b[3]=_=>m.$emit("focus",_))},{prefix:M(()=>[m.prefixIcon?(k(),Y(y(Ze),{key:0,class:q(y(a).e("prefix-icon"))},{default:M(()=>[(k(),Y(It(m.prefixIcon)))]),_:1},8,["class"])):Q("v-if",!0)]),default:M(()=>[(k(!0),F(de,null,we(y(v),_=>(k(),Y(y(r),{key:_.value,label:_.value,value:_.value,disabled:_.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear"]))}});var J0=Ne(U4e,[["__file","time-select.vue"]]);J0.install=e=>{e.component(J0.name,J0)};const Y4e=J0,K4e=Y4e,X4e=te({name:"ElTimeline",setup(e,{slots:t}){const n=Ee("timeline");return Rt("timeline",t),()=>tt("ul",{class:[n.b()]},[me(t,"default")])}}),Z4e=Oe({timestamp:{type:String,default:""},hideTimestamp:{type:Boolean,default:!1},center:{type:Boolean,default:!1},placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:hn},hollow:{type:Boolean,default:!1}}),J4e=te({name:"ElTimelineItem"}),Q4e=te({...J4e,props:Z4e,setup(e){const t=e,n=Ee("timeline-item"),r=L(()=>[n.e("node"),n.em("node",t.size||""),n.em("node",t.type||""),n.is("hollow",t.hollow)]);return(a,i)=>(k(),F("li",{class:q([y(n).b(),{[y(n).e("center")]:a.center}])},[X("div",{class:q(y(n).e("tail"))},null,2),a.$slots.dot?Q("v-if",!0):(k(),F("div",{key:0,class:q(y(r)),style:Be({backgroundColor:a.color})},[a.icon?(k(),Y(y(Ze),{key:0,class:q(y(n).e("icon"))},{default:M(()=>[(k(),Y(It(a.icon)))]),_:1},8,["class"])):Q("v-if",!0)],6)),a.$slots.dot?(k(),F("div",{key:1,class:q(y(n).e("dot"))},[me(a.$slots,"dot")],2)):Q("v-if",!0),X("div",{class:q(y(n).e("wrapper"))},[!a.hideTimestamp&&a.placement==="top"?(k(),F("div",{key:0,class:q([y(n).e("timestamp"),y(n).is("top")])},U(a.timestamp),3)):Q("v-if",!0),X("div",{class:q(y(n).e("content"))},[me(a.$slots,"default")],2),!a.hideTimestamp&&a.placement==="bottom"?(k(),F("div",{key:1,class:q([y(n).e("timestamp"),y(n).is("bottom")])},U(a.timestamp),3)):Q("v-if",!0)],2)],2))}});var NB=Ne(Q4e,[["__file","timeline-item.vue"]]);const ewe=St(X4e,{TimelineItem:NB}),twe=On(NB),$B=Oe({nowrap:Boolean});var VB=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(VB||{});const nwe=Object.values(VB),v6=Oe({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:he(Object),default:null}}),rwe=Oe({side:{type:he(String),values:nwe,required:!0}}),awe=["absolute","fixed"],iwe=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],p6=Oe({arrowPadding:{type:he(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:he(String),values:iwe,default:"bottom"},reference:{type:he(Object),default:null},offset:{type:Number,default:8},strategy:{type:he(String),values:awe,default:"absolute"},showArrow:{type:Boolean,default:!1},...Er(["ariaLabel"])}),g6=Oe({delayDuration:{type:Number,default:300},defaultOpen:Boolean,open:{type:Boolean,default:void 0},onOpenChange:{type:he(Function)},"onUpdate:open":{type:he(Function)}}),ff={type:he(Function)},m6=Oe({onBlur:ff,onClick:ff,onFocus:ff,onMouseDown:ff,onMouseEnter:ff,onMouseLeave:ff}),owe=Oe({...g6,...v6,...m6,...p6,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:he(Object),default:null},teleported:Boolean,to:{type:he(String),default:"body"}}),By=Symbol("tooltipV2"),BB=Symbol("tooltipV2Content"),wb="tooltip_v2.open",lwe=te({name:"ElTooltipV2Root"}),swe=te({...lwe,props:g6,setup(e,{expose:t}){const n=e,r=j(n.defaultOpen),a=j(null),i=L({get:()=>Ic(n.open)?r.value:n.open,set:g=>{var m;r.value=g,(m=n["onUpdate:open"])==null||m.call(n,g)}}),o=L(()=>ot(n.delayDuration)&&n.delayDuration>0),{start:l,stop:s}=Ac(()=>{i.value=!0},L(()=>n.delayDuration),{immediate:!1}),u=Ee("tooltip-v2"),c=Vr(),f=()=>{s(),i.value=!0},d=()=>{y(o)?l():f()},h=f,v=()=>{s(),i.value=!1};return ke(i,g=>{var m;g&&(document.dispatchEvent(new CustomEvent(wb)),h()),(m=n.onOpenChange)==null||m.call(n,g)}),bt(()=>{document.addEventListener(wb,v)}),wn(()=>{s(),document.removeEventListener(wb,v)}),Rt(By,{contentId:c,triggerRef:a,ns:u,onClose:v,onDelayOpen:d,onOpen:h}),t({onOpen:h,onClose:v}),(g,m)=>me(g.$slots,"default",{open:y(i)})}});var uwe=Ne(swe,[["__file","root.vue"]]);const cwe=te({name:"ElTooltipV2Arrow"}),fwe=te({...cwe,props:{...v6,...rwe},setup(e){const t=e,{ns:n}=Ye(By),{arrowRef:r}=Ye(BB),a=L(()=>{const{style:i,width:o,height:l}=t,s=n.namespace.value;return{[`--${s}-tooltip-v2-arrow-width`]:`${o}px`,[`--${s}-tooltip-v2-arrow-height`]:`${l}px`,[`--${s}-tooltip-v2-arrow-border-width`]:`${o/2}px`,[`--${s}-tooltip-v2-arrow-cover-width`]:o/2-1,...i||{}}});return(i,o)=>(k(),F("span",{ref_key:"arrowRef",ref:r,style:Be(y(a)),class:q(y(n).e("arrow"))},null,6))}});var pz=Ne(fwe,[["__file","arrow.vue"]]);const dwe=Oe({style:{type:he([String,Object,Array]),default:()=>({})}}),hwe=te({name:"ElVisuallyHidden"}),vwe=te({...hwe,props:dwe,setup(e){const t=e,n=L(()=>[t.style,{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}]);return(r,a)=>(k(),F("span",Pt(r.$attrs,{style:y(n)}),[me(r.$slots,"default")],16))}});var pwe=Ne(vwe,[["__file","visual-hidden.vue"]]);const gwe=["data-side"],mwe=te({name:"ElTooltipV2Content"}),ywe=te({...mwe,props:{...p6,...$B},setup(e){const t=e,{triggerRef:n,contentId:r}=Ye(By),a=j(t.placement),i=j(t.strategy),o=j(null),{referenceRef:l,contentRef:s,middlewareData:u,x:c,y:f,update:d}=jle({placement:a,strategy:i,middleware:L(()=>{const _=[WN(t.offset)];return t.showArrow&&_.push(qle({arrowRef:o})),_})}),h=Qd().nextZIndex(),v=Ee("tooltip-v2"),p=L(()=>a.value.split("-")[0]),g=L(()=>({position:y(i),top:`${y(f)||0}px`,left:`${y(c)||0}px`,zIndex:h})),m=L(()=>{if(!t.showArrow)return{};const{arrow:_}=y(u);return{[`--${v.namespace.value}-tooltip-v2-arrow-x`]:`${_==null?void 0:_.x}px`||"",[`--${v.namespace.value}-tooltip-v2-arrow-y`]:`${_==null?void 0:_.y}px`||""}}),b=L(()=>[v.e("content"),v.is("dark",t.effect==="dark"),v.is(y(i)),t.contentClass]);return ke(o,()=>d()),ke(()=>t.placement,_=>a.value=_),bt(()=>{ke(()=>t.reference||n.value,_=>{l.value=_||void 0},{immediate:!0})}),Rt(BB,{arrowRef:o}),(_,w)=>(k(),F("div",{ref_key:"contentRef",ref:s,style:Be(y(g)),"data-tooltip-v2-root":""},[_.nowrap?Q("v-if",!0):(k(),F("div",{key:0,"data-side":y(p),class:q(y(b))},[me(_.$slots,"default",{contentStyle:y(g),contentClass:y(b)}),I(y(pwe),{id:y(r),role:"tooltip"},{default:M(()=>[_.ariaLabel?(k(),F(de,{key:0},[G(U(_.ariaLabel),1)],64)):me(_.$slots,"default",{key:1})]),_:3},8,["id"]),me(_.$slots,"arrow",{style:Be(y(m)),side:y(p)})],10,gwe))],4))}});var gz=Ne(ywe,[["__file","content.vue"]]);const bwe=Oe({setRef:{type:he(Function),required:!0},onlyChild:Boolean});var _we=te({props:bwe,setup(e,{slots:t}){const n=j(),r=Ty(n,a=>{a?e.setRef(a.nextElementSibling):e.setRef(null)});return()=>{var a;const[i]=((a=t.default)==null?void 0:a.call(t))||[],o=e.onlyChild?Nie(i.children):i.children;return I(de,{ref:r},[o])}}});const wwe=te({name:"ElTooltipV2Trigger"}),xwe=te({...wwe,props:{...$B,...m6},setup(e){const t=e,{onClose:n,onOpen:r,onDelayOpen:a,triggerRef:i,contentId:o}=Ye(By);let l=!1;const s=b=>{i.value=b},u=()=>{l=!1},c=Bn(t.onMouseEnter,a),f=Bn(t.onMouseLeave,n),d=Bn(t.onMouseDown,()=>{n(),l=!0,document.addEventListener("mouseup",u,{once:!0})}),h=Bn(t.onFocus,()=>{l||r()}),v=Bn(t.onBlur,n),p=Bn(t.onClick,b=>{b.detail===0&&n()}),g={blur:v,click:p,focus:h,mousedown:d,mouseenter:c,mouseleave:f},m=(b,_,w)=>{b&&Object.entries(_).forEach(([x,S])=>{b[w](x,S)})};return ke(i,(b,_)=>{m(b,g,"addEventListener"),m(_,g,"removeEventListener"),b&&b.setAttribute("aria-describedby",o.value)}),wn(()=>{m(i.value,g,"removeEventListener"),document.removeEventListener("mouseup",u)}),(b,_)=>b.nowrap?(k(),Y(y(_we),{key:0,"set-ref":s,"only-child":""},{default:M(()=>[me(b.$slots,"default")]),_:3})):(k(),F("button",Pt({key:1,ref_key:"triggerRef",ref:i},b.$attrs),[me(b.$slots,"default")],16))}});var Swe=Ne(xwe,[["__file","trigger.vue"]]);const Cwe=te({name:"ElTooltipV2"}),Twe=te({...Cwe,props:owe,setup(e){const n=Ar(e),r=nn(xo(n,Object.keys(v6))),a=nn(xo(n,Object.keys(p6))),i=nn(xo(n,Object.keys(g6))),o=nn(xo(n,Object.keys(m6)));return(l,s)=>(k(),Y(uwe,ul(vd(i)),{default:M(({open:u})=>[I(Swe,Pt(o,{nowrap:""}),{default:M(()=>[me(l.$slots,"trigger")]),_:3},16),(k(),Y(Ud,{to:l.to,disabled:!l.teleported},[l.fullTransition?(k(),Y(ir,ul(Pt({key:0},l.transitionProps)),{default:M(()=>[l.alwaysOn||u?(k(),Y(gz,ul(Pt({key:0},a)),{arrow:M(({style:c,side:f})=>[l.showArrow?(k(),Y(pz,Pt({key:0},r,{style:c,side:f}),null,16,["style","side"])):Q("v-if",!0)]),default:M(()=>[me(l.$slots,"default")]),_:3},16)):Q("v-if",!0)]),_:2},1040)):(k(),F(de,{key:1},[l.alwaysOn||u?(k(),Y(gz,ul(Pt({key:0},a)),{arrow:M(({style:c,side:f})=>[l.showArrow?(k(),Y(pz,Pt({key:0},r,{style:c,side:f}),null,16,["style","side"])):Q("v-if",!0)]),default:M(()=>[me(l.$slots,"default")]),_:3},16)):Q("v-if",!0)],64))],8,["to","disabled"]))]),_:3},16))}});var kwe=Ne(Twe,[["__file","tooltip.vue"]]);const zwe=St(kwe),FB="left-check-change",HB="right-check-change",Nf=Oe({data:{type:he(Array),default:()=>[]},titles:{type:he(Array),default:()=>[]},buttonTexts:{type:he(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:he(Function)},leftDefaultChecked:{type:he(Array),default:()=>[]},rightDefaultChecked:{type:he(Array),default:()=>[]},renderContent:{type:he(Function)},modelValue:{type:he(Array),default:()=>[]},format:{type:he(Object),default:()=>({})},filterable:Boolean,props:{type:he(Object),default:()=>Rn({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),lw=(e,t)=>[e,t].every(We)||We(e)&&br(t),Mwe={[Tn]:(e,t,n)=>[e,n].every(We)&&["left","right"].includes(t),[Mt]:e=>We(e),[FB]:lw,[HB]:lw},sw="checked-change",Awe=Oe({data:Nf.data,optionRender:{type:he(Function)},placeholder:String,title:String,filterable:Boolean,format:Nf.format,filterMethod:Nf.filterMethod,defaultChecked:Nf.leftDefaultChecked,props:Nf.props}),Ewe={[sw]:lw},Tp=e=>{const t={label:"label",key:"key",disabled:"disabled"};return L(()=>({...t,...e.props}))},Iwe=(e,t,n)=>{const r=Tp(e),a=L(()=>e.data.filter(c=>st(e.filterMethod)?e.filterMethod(t.query,c):String(c[r.value.label]||c[r.value.key]).toLowerCase().includes(t.query.toLowerCase()))),i=L(()=>a.value.filter(c=>!c[r.value.disabled])),o=L(()=>{const c=t.checked.length,f=e.data.length,{noChecked:d,hasChecked:h}=e.format;return d&&h?c>0?h.replace(/\${checked}/g,c.toString()).replace(/\${total}/g,f.toString()):d.replace(/\${total}/g,f.toString()):`${c}/${f}`}),l=L(()=>{const c=t.checked.length;return c>0&&c<i.value.length}),s=()=>{const c=i.value.map(f=>f[r.value.key]);t.allChecked=c.length>0&&c.every(f=>t.checked.includes(f))},u=c=>{t.checked=c?i.value.map(f=>f[r.value.key]):[]};return ke(()=>t.checked,(c,f)=>{if(s(),t.checkChangeByUser){const d=c.concat(f).filter(h=>!c.includes(h)||!f.includes(h));n(sw,c,d)}else n(sw,c),t.checkChangeByUser=!0}),ke(i,()=>{s()}),ke(()=>e.data,()=>{const c=[],f=a.value.map(d=>d[r.value.key]);t.checked.forEach(d=>{f.includes(d)&&c.push(d)}),t.checkChangeByUser=!1,t.checked=c}),ke(()=>e.defaultChecked,(c,f)=>{if(f&&c.length===f.length&&c.every(v=>f.includes(v)))return;const d=[],h=i.value.map(v=>v[r.value.key]);c.forEach(v=>{h.includes(v)&&d.push(v)}),t.checkChangeByUser=!1,t.checked=d},{immediate:!0}),{filteredData:a,checkableData:i,checkedSummary:o,isIndeterminate:l,updateAllChecked:s,handleAllCheckedChange:u}},Dwe=(e,t)=>({onSourceCheckedChange:(a,i)=>{e.leftChecked=a,i&&t(FB,a,i)},onTargetCheckedChange:(a,i)=>{e.rightChecked=a,i&&t(HB,a,i)}}),Lwe=e=>{const t=Tp(e),n=L(()=>e.data.reduce((i,o)=>(i[o[t.value.key]]=o)&&i,{})),r=L(()=>e.data.filter(i=>!e.modelValue.includes(i[t.value.key]))),a=L(()=>e.targetOrder==="original"?e.data.filter(i=>e.modelValue.includes(i[t.value.key])):e.modelValue.reduce((i,o)=>{const l=n.value[o];return l&&i.push(l),i},[]));return{sourceData:r,targetData:a}},Pwe=(e,t,n)=>{const r=Tp(e),a=(l,s,u)=>{n(Mt,l),n(Tn,l,s,u)};return{addToLeft:()=>{const l=e.modelValue.slice();t.rightChecked.forEach(s=>{const u=l.indexOf(s);u>-1&&l.splice(u,1)}),a(l,"left",t.rightChecked)},addToRight:()=>{let l=e.modelValue.slice();const s=e.data.filter(u=>{const c=u[r.value.key];return t.leftChecked.includes(c)&&!e.modelValue.includes(c)}).map(u=>u[r.value.key]);l=e.targetOrder==="unshift"?s.concat(l):l.concat(s),e.targetOrder==="original"&&(l=e.data.filter(u=>l.includes(u[r.value.key])).map(u=>u[r.value.key])),a(l,"right",t.leftChecked)}}},Rwe=te({name:"ElTransferPanel"}),Owe=te({...Rwe,props:Awe,emits:Ewe,setup(e,{expose:t,emit:n}){const r=e,a=Tr(),i=({option:_})=>_,{t:o}=Xt(),l=Ee("transfer"),s=nn({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=Tp(r),{filteredData:c,checkedSummary:f,isIndeterminate:d,handleAllCheckedChange:h}=Iwe(r,s,n),v=L(()=>!fi(s.query)&&fi(c.value)),p=L(()=>!fi(a.default()[0].children)),{checked:g,allChecked:m,query:b}=Ar(s);return t({query:b}),(_,w)=>(k(),F("div",{class:q(y(l).b("panel"))},[X("p",{class:q(y(l).be("panel","header"))},[I(y(ki),{modelValue:y(m),"onUpdate:modelValue":w[0]||(w[0]=x=>ct(m)?m.value=x:null),indeterminate:y(d),"validate-event":!1,onChange:y(h)},{default:M(()=>[G(U(_.title)+" ",1),X("span",null,U(y(f)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),X("div",{class:q([y(l).be("panel","body"),y(l).is("with-footer",y(p))])},[_.filterable?(k(),Y(y(Ur),{key:0,modelValue:y(b),"onUpdate:modelValue":w[1]||(w[1]=x=>ct(b)?b.value=x:null),class:q(y(l).be("panel","filter")),size:"default",placeholder:_.placeholder,"prefix-icon":y(gie),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):Q("v-if",!0),mt(I(y(U$),{modelValue:y(g),"onUpdate:modelValue":w[2]||(w[2]=x=>ct(g)?g.value=x:null),"validate-event":!1,class:q([y(l).is("filterable",_.filterable),y(l).be("panel","list")])},{default:M(()=>[(k(!0),F(de,null,we(y(c),x=>(k(),Y(y(ki),{key:x[y(u).key],class:q(y(l).be("panel","item")),value:x[y(u).key],disabled:x[y(u).disabled],"validate-event":!1},{default:M(()=>{var S;return[I(i,{option:(S=_.optionRender)==null?void 0:S.call(_,x)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[en,!y(v)&&!y(fi)(_.data)]]),mt(X("p",{class:q(y(l).be("panel","empty"))},U(y(v)?y(o)("el.transfer.noMatch"):y(o)("el.transfer.noData")),3),[[en,y(v)||y(fi)(_.data)]])],2),y(p)?(k(),F("p",{key:0,class:q(y(l).be("panel","footer"))},[me(_.$slots,"default")],2)):Q("v-if",!0)],2))}});var mz=Ne(Owe,[["__file","transfer-panel.vue"]]);const Nwe={key:0},$we={key:0},Vwe=te({name:"ElTransfer"}),Bwe=te({...Vwe,props:Nf,emits:Mwe,setup(e,{expose:t,emit:n}){const r=e,a=Tr(),{t:i}=Xt(),o=Ee("transfer"),{formItem:l}=Qr(),s=nn({leftChecked:[],rightChecked:[]}),u=Tp(r),{sourceData:c,targetData:f}=Lwe(r),{onSourceCheckedChange:d,onTargetCheckedChange:h}=Dwe(s,n),{addToLeft:v,addToRight:p}=Pwe(r,s,n),g=j(),m=j(),b=T=>{switch(T){case"left":g.value.query="";break;case"right":m.value.query="";break}},_=L(()=>r.buttonTexts.length===2),w=L(()=>r.titles[0]||i("el.transfer.titles.0")),x=L(()=>r.titles[1]||i("el.transfer.titles.1")),S=L(()=>r.filterPlaceholder||i("el.transfer.filterPlaceholder"));ke(()=>r.modelValue,()=>{var T;r.validateEvent&&((T=l==null?void 0:l.validate)==null||T.call(l,"change").catch(z=>void 0))});const C=L(()=>T=>r.renderContent?r.renderContent(tt,T):a.default?a.default({option:T}):tt("span",T[u.value.label]||T[u.value.key]));return t({clearQuery:b,leftPanel:g,rightPanel:m}),(T,z)=>(k(),F("div",{class:q(y(o).b())},[I(mz,{ref_key:"leftPanel",ref:g,data:y(c),"option-render":y(C),placeholder:y(S),title:y(w),filterable:T.filterable,format:T.format,"filter-method":T.filterMethod,"default-checked":T.leftDefaultChecked,props:r.props,onCheckedChange:y(d)},{default:M(()=>[me(T.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),X("div",{class:q(y(o).e("buttons"))},[I(y(_r),{type:"primary",class:q([y(o).e("button"),y(o).is("with-texts",y(_))]),disabled:y(fi)(s.rightChecked),onClick:y(v)},{default:M(()=>[I(y(Ze),null,{default:M(()=>[I(y(Hs))]),_:1}),y(Xn)(T.buttonTexts[0])?Q("v-if",!0):(k(),F("span",Nwe,U(T.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),I(y(_r),{type:"primary",class:q([y(o).e("button"),y(o).is("with-texts",y(_))]),disabled:y(fi)(s.leftChecked),onClick:y(p)},{default:M(()=>[y(Xn)(T.buttonTexts[1])?Q("v-if",!0):(k(),F("span",$we,U(T.buttonTexts[1]),1)),I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),I(mz,{ref_key:"rightPanel",ref:m,data:y(f),"option-render":y(C),placeholder:y(S),filterable:T.filterable,format:T.format,"filter-method":T.filterMethod,title:y(x),"default-checked":T.rightDefaultChecked,props:r.props,onCheckedChange:y(h)},{default:M(()=>[me(T.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Fwe=Ne(Bwe,[["__file","transfer.vue"]]);const Hwe=St(Fwe),id="$treeNodeId",yz=function(e,t){!t||t[id]||Object.defineProperty(t,id,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},y6=function(e,t){return e?t[e]:t[id]},uw=(e,t,n)=>{const r=e.value.currentNode;n();const a=e.value.currentNode;r!==a&&t("current-change",a?a.data:null,a)},cw=e=>{let t=!0,n=!0,r=!0;for(let a=0,i=e.length;a<i;a++){const o=e[a];(o.checked!==!0||o.indeterminate)&&(t=!1,o.disabled||(r=!1)),(o.checked!==!1||o.indeterminate)&&(n=!1)}return{all:t,none:n,allWithoutDisable:r,half:!t&&!n}},uv=function(e){if(e.childNodes.length===0||e.loading)return;const{all:t,none:n,half:r}=cw(e.childNodes);t?(e.checked=!0,e.indeterminate=!1):r?(e.checked=!1,e.indeterminate=!0):n&&(e.checked=!1,e.indeterminate=!1);const a=e.parent;!a||a.level===0||e.store.checkStrictly||uv(a)},wg=function(e,t){const n=e.store.props,r=e.data||{},a=n[t];if(typeof a=="function")return a(r,e);if(typeof a=="string")return r[a];if(typeof a>"u"){const i=r[t];return i===void 0?"":i}};let jwe=0,fw=class Q0{constructor(t){this.id=jwe++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const n in t)Ut(t,n)&&(this[n]=t[n]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){const t=this.store;if(!t)throw new Error("[Node]store is required!");t.registerNode(this);const n=t.props;if(n&&typeof n.isLeaf<"u"){const i=wg(this,"isLeaf");typeof i=="boolean"&&(this.isLeafByUser=i)}if(t.lazy!==!0&&this.data?(this.setData(this.data),t.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&t.lazy&&t.defaultExpandAll&&this.expand(),Array.isArray(this.data)||yz(this,this.data),!this.data)return;const r=t.defaultExpandedKeys,a=t.key;a&&r&&r.includes(this.key)&&this.expand(null,t.autoExpandParent),a&&t.currentNodeKey!==void 0&&this.key===t.currentNodeKey&&(t.currentNode=this,t.currentNode.isCurrent=!0),t.lazy&&t._initDefaultCheckedNode(this),this.updateLeafState(),this.parent&&(this.level===1||this.parent.expanded===!0)&&(this.canFocus=!0)}setData(t){Array.isArray(t)||yz(this,t),this.data=t,this.childNodes=[];let n;this.level===0&&Array.isArray(this.data)?n=this.data:n=wg(this,"children")||[];for(let r=0,a=n.length;r<a;r++)this.insertChild({data:n[r]})}get label(){return wg(this,"label")}get key(){const t=this.store.key;return this.data?this.data[t]:null}get disabled(){return wg(this,"disabled")}get nextSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return t.childNodes[n+1]}return null}get previousSibling(){const t=this.parent;if(t){const n=t.childNodes.indexOf(this);if(n>-1)return n>0?t.childNodes[n-1]:null}return null}contains(t,n=!0){return(this.childNodes||[]).some(r=>r===t||n&&r.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,n,r){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof Q0)){if(!r){const a=this.getChildren(!0);a.includes(t.data)||(typeof n>"u"||n<0?a.push(t.data):a.splice(n,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=nn(new Q0(t)),t instanceof Q0&&t.initialize()}t.level=this.level+1,typeof n>"u"||n<0?this.childNodes.push(t):this.childNodes.splice(n,0,t),this.updateLeafState()}insertBefore(t,n){let r;n&&(r=this.childNodes.indexOf(n)),this.insertChild(t,r)}insertAfter(t,n){let r;n&&(r=this.childNodes.indexOf(n),r!==-1&&(r+=1)),this.insertChild(t,r)}removeChild(t){const n=this.getChildren()||[],r=n.indexOf(t.data);r>-1&&n.splice(r,1);const a=this.childNodes.indexOf(t);a>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(a,1)),this.updateLeafState()}removeChildByData(t){let n=null;for(let r=0;r<this.childNodes.length;r++)if(this.childNodes[r].data===t){n=this.childNodes[r];break}n&&this.removeChild(n)}expand(t,n){const r=()=>{if(n){let a=this.parent;for(;a.level>0;)a.expanded=!0,a=a.parent}this.expanded=!0,t&&t(),this.childNodes.forEach(a=>{a.canFocus=!0})};this.shouldLoadData()?this.loadData(a=>{Array.isArray(a)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||uv(this),r())}):r()}doCreateChildren(t,n={}){t.forEach(r=>{this.insertChild(Object.assign({data:r},n),void 0,!0)})}collapse(){this.expanded=!1,this.childNodes.forEach(t=>{t.canFocus=!1})}shouldLoadData(){return this.store.lazy===!0&&this.store.load&&!this.loaded}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0;return}this.isLeaf=!1}setChecked(t,n,r,a){if(this.indeterminate=t==="half",this.checked=t===!0,this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const{all:o,allWithoutDisable:l}=cw(this.childNodes);!this.isLeaf&&!o&&l&&(this.checked=!1,t=!1);const s=()=>{if(n){const u=this.childNodes;for(let d=0,h=u.length;d<h;d++){const v=u[d];a=a||t!==!1;const p=v.disabled?v.checked:a;v.setChecked(p,n,!0,a)}const{half:c,all:f}=cw(u);f||(this.checked=f,this.indeterminate=c)}};if(this.shouldLoadData()){this.loadData(()=>{s(),uv(this)},{checked:t!==!1});return}else s()}const i=this.parent;!i||i.level===0||r||uv(i)}getChildren(t=!1){if(this.level===0)return this.data;const n=this.data;if(!n)return null;const r=this.store.props;let a="children";return r&&(a=r.children||"children"),n[a]===void 0&&(n[a]=null),t&&!n[a]&&(n[a]=[]),n[a]}updateChildren(){const t=this.getChildren()||[],n=this.childNodes.map(i=>i.data),r={},a=[];t.forEach((i,o)=>{const l=i[id];!!l&&n.findIndex(u=>u[id]===l)>=0?r[l]={index:o,data:i}:a.push({index:o,data:i})}),this.store.lazy||n.forEach(i=>{r[i[id]]||this.removeChildByData(i)}),a.forEach(({index:i,data:o})=>{this.insertChild({data:o},i)}),this.updateLeafState()}loadData(t,n={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(n).length)){this.loading=!0;const r=i=>{this.childNodes=[],this.doCreateChildren(i,n),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,i)},a=()=>{this.loading=!1};this.store.load(this,r,a)}else t&&t.call(this)}eachNode(t){const n=[this];for(;n.length;){const r=n.shift();n.unshift(...r.childNodes),t(r)}}reInitChecked(){this.store.checkStrictly||uv(this)}};class qwe{constructor(t){this.currentNode=null,this.currentNodeKey=null;for(const n in t)Ut(t,n)&&(this[n]=t[n]);this.nodesMap={}}initialize(){if(this.root=new fw({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,n=>{this.root.doCreateChildren(n),this._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}filter(t){const n=this.filterNodeMethod,r=this.lazy,a=function(i){const o=i.root?i.root.childNodes:i.childNodes;if(o.forEach(l=>{l.visible=n.call(l,t,l.data,l),a(l)}),!i.visible&&o.length){let l=!0;l=!o.some(s=>s.visible),i.root?i.root.visible=l===!1:i.visible=l===!1}t&&i.visible&&!i.isLeaf&&(!r||i.loaded)&&i.expand()};a(this)}setData(t){t!==this.root.data?(this.root.setData(t),this._initDefaultCheckedNodes()):this.root.updateChildren()}getNode(t){if(t instanceof fw)return t;const n=zt(t)?y6(this.key,t):t;return this.nodesMap[n]||null}insertBefore(t,n){const r=this.getNode(n);r.parent.insertBefore({data:t},r)}insertAfter(t,n){const r=this.getNode(n);r.parent.insertAfter({data:t},r)}remove(t){const n=this.getNode(t);n&&n.parent&&(n===this.currentNode&&(this.currentNode=null),n.parent.removeChild(n))}append(t,n){const r=Ic(n)?this.root:this.getNode(n);r&&r.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach(r=>{const a=n[r];a&&a.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){(this.defaultCheckedKeys||[]).includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const n=this.key;!t||!t.data||(n?t.key!==void 0&&(this.nodesMap[t.key]=t):this.nodesMap[t.id]=t)}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(r=>{this.deregisterNode(r)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,n=!1){const r=[],a=function(i){(i.root?i.root.childNodes:i.childNodes).forEach(l=>{(l.checked||n&&l.indeterminate)&&(!t||t&&l.isLeaf)&&r.push(l.data),a(l)})};return a(this),r}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(n=>(n||{})[this.key])}getHalfCheckedNodes(){const t=[],n=function(r){(r.root?r.root.childNodes:r.childNodes).forEach(i=>{i.indeterminate&&t.push(i.data),n(i)})};return n(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],n=this.nodesMap;for(const r in n)Ut(n,r)&&t.push(n[r]);return t}updateChildren(t,n){const r=this.nodesMap[t];if(!r)return;const a=r.childNodes;for(let i=a.length-1;i>=0;i--){const o=a[i];this.remove(o.data)}for(let i=0,o=n.length;i<o;i++){const l=n[i];this.append(l,r.data)}}_setCheckedKeys(t,n=!1,r){const a=this._getAllNodes().sort((s,u)=>s.level-u.level),i=Object.create(null),o=Object.keys(r);a.forEach(s=>s.setChecked(!1,!1));const l=s=>{s.childNodes.forEach(u=>{var c;i[u.data[t]]=!0,(c=u.childNodes)!=null&&c.length&&l(u)})};for(let s=0,u=a.length;s<u;s++){const c=a[s],f=c.data[t].toString();if(!o.includes(f)){c.checked&&!i[f]&&c.setChecked(!1,!1);continue}if(c.childNodes.length&&l(c),c.isLeaf||this.checkStrictly){c.setChecked(!0,!1);continue}if(c.setChecked(!0,!0),n){c.setChecked(!1,!1);const h=function(v){v.childNodes.forEach(g=>{g.isLeaf||g.setChecked(!1,!1),h(g)})};h(c)}}}setCheckedNodes(t,n=!1){const r=this.key,a={};t.forEach(i=>{a[(i||{})[r]]=!0}),this._setCheckedKeys(r,n,a)}setCheckedKeys(t,n=!1){this.defaultCheckedKeys=t;const r=this.key,a={};t.forEach(i=>{a[i]=!0}),this._setCheckedKeys(r,n,a)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(n=>{const r=this.getNode(n);r&&r.expand(null,this.autoExpandParent)})}setChecked(t,n,r){const a=this.getNode(t);a&&a.setChecked(!!n,r)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const n=this.currentNode;n&&(n.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,n=!0){const r=t[this.key],a=this.nodesMap[r];this.setCurrentNode(a),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0)}setCurrentNodeKey(t,n=!0){if(t==null){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const r=this.getNode(t);r&&(this.setCurrentNode(r),n&&this.currentNode.level>1&&this.currentNode.parent.expand(null,!0))}}const Gwe=te({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Ee("tree"),n=Ye("NodeInstance"),r=Ye("RootTree");return()=>{const a=e.node,{data:i,store:o}=a;return e.renderContent?e.renderContent(tt,{_self:n,node:a,data:i,store:o}):me(r.ctx.slots,"default",{node:a,data:i},()=>[tt("span",{class:t.be("node","label")},[a.label])])}}});var Wwe=Ne(Gwe,[["__file","tree-node-content.vue"]]);function jB(e){const t=Ye("TreeNodeMap",null),n={treeNodeExpand:r=>{e.node!==r&&e.node.collapse()},children:[]};return t&&t.children.push(n),Rt("TreeNodeMap",n),{broadcastExpanded:r=>{if(e.accordion)for(const a of n.children)a.treeNodeExpand(r)}}}const qB=Symbol("dragEvents");function Uwe({props:e,ctx:t,el$:n,dropIndicator$:r,store:a}){const i=Ee("tree"),o=j({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Rt(qB,{treeNodeDragStart:({event:c,treeNode:f})=>{if(typeof e.allowDrag=="function"&&!e.allowDrag(f.node))return c.preventDefault(),!1;c.dataTransfer.effectAllowed="move";try{c.dataTransfer.setData("text/plain","")}catch{}o.value.draggingNode=f,t.emit("node-drag-start",f.node,c)},treeNodeDragOver:({event:c,treeNode:f})=>{const d=f,h=o.value.dropNode;h&&h.node.id!==d.node.id&&Kr(h.$el,i.is("drop-inner"));const v=o.value.draggingNode;if(!v||!d)return;let p=!0,g=!0,m=!0,b=!0;typeof e.allowDrop=="function"&&(p=e.allowDrop(v.node,d.node,"prev"),b=g=e.allowDrop(v.node,d.node,"inner"),m=e.allowDrop(v.node,d.node,"next")),c.dataTransfer.dropEffect=g||p||m?"move":"none",(p||g||m)&&(h==null?void 0:h.node.id)!==d.node.id&&(h&&t.emit("node-drag-leave",v.node,h.node,c),t.emit("node-drag-enter",v.node,d.node,c)),p||g||m?o.value.dropNode=d:o.value.dropNode=null,d.node.nextSibling===v.node&&(m=!1),d.node.previousSibling===v.node&&(p=!1),d.node.contains(v.node,!1)&&(g=!1),(v.node===d.node||v.node.contains(d.node))&&(p=!1,g=!1,m=!1);const _=d.$el.querySelector(`.${i.be("node","content")}`).getBoundingClientRect(),w=n.value.getBoundingClientRect();let x;const S=p?g?.25:m?.45:1:-1,C=m?g?.75:p?.55:0:1;let T=-9999;const z=c.clientY-_.top;z<_.height*S?x="before":z>_.height*C?x="after":g?x="inner":x="none";const A=d.$el.querySelector(`.${i.be("node","expand-icon")}`).getBoundingClientRect(),E=r.value;x==="before"?T=A.top-w.top:x==="after"&&(T=A.bottom-w.top),E.style.top=`${T}px`,E.style.left=`${A.right-w.left}px`,x==="inner"?vi(d.$el,i.is("drop-inner")):Kr(d.$el,i.is("drop-inner")),o.value.showDropIndicator=x==="before"||x==="after",o.value.allowDrop=o.value.showDropIndicator||b,o.value.dropType=x,t.emit("node-drag-over",v.node,d.node,c)},treeNodeDragEnd:c=>{const{draggingNode:f,dropType:d,dropNode:h}=o.value;if(c.preventDefault(),c.dataTransfer.dropEffect="move",f&&h){const v={data:f.node.data};d!=="none"&&f.node.remove(),d==="before"?h.node.parent.insertBefore(v,h.node):d==="after"?h.node.parent.insertAfter(v,h.node):d==="inner"&&h.node.insertChild(v),d!=="none"&&(a.value.registerNode(v),a.value.key&&f.node.eachNode(p=>{var g;(g=a.value.nodesMap[p.data[a.value.key]])==null||g.setChecked(p.checked,!a.value.checkStrictly)})),Kr(h.$el,i.is("drop-inner")),t.emit("node-drag-end",f.node,h.node,d,c),d!=="none"&&t.emit("node-drop",f.node,h.node,d,c)}f&&!h&&t.emit("node-drag-end",f.node,null,d,c),o.value.showDropIndicator=!1,o.value.draggingNode=null,o.value.dropNode=null,o.value.allowDrop=!0}}),{dragState:o}}const Ywe=te({name:"ElTreeNode",components:{ElCollapseTransition:Ry,ElCheckbox:ki,NodeContent:Wwe,ElIcon:Ze,Loading:iu},props:{node:{type:fw,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:{type:Boolean,default:!1}},emits:["node-expand"],setup(e,t){const n=Ee("tree"),{broadcastExpanded:r}=jB(e),a=Ye("RootTree"),i=j(!1),o=j(!1),l=j(null),s=j(null),u=j(null),c=Ye(qB),f=xt();Rt("NodeInstance",f),e.node.expanded&&(i.value=!0,o.value=!0);const d=a.props.props.children||"children";ke(()=>{const z=e.node.data[d];return z&&[...z]},()=>{e.node.updateChildren()}),ke(()=>e.node.indeterminate,z=>{p(e.node.checked,z)}),ke(()=>e.node.checked,z=>{p(z,e.node.indeterminate)}),ke(()=>e.node.childNodes.length,()=>e.node.reInitChecked()),ke(()=>e.node.expanded,z=>{nt(()=>i.value=z),z&&(o.value=!0)});const h=z=>y6(a.props.nodeKey,z.data),v=z=>{const A=e.props.class;if(!A)return{};let E;if(st(A)){const{data:D}=z;E=A(D,z)}else E=A;return vt(E)?{[E]:!0}:E},p=(z,A)=>{(l.value!==z||s.value!==A)&&a.ctx.emit("check-change",e.node.data,z,A),l.value=z,s.value=A},g=z=>{uw(a.store,a.ctx.emit,()=>a.store.value.setCurrentNode(e.node)),a.currentNode.value=e.node,a.props.expandOnClickNode&&b(),a.props.checkOnClickNode&&!e.node.disabled&&_(null,{target:{checked:!e.node.checked}}),a.ctx.emit("node-click",e.node.data,e.node,f,z)},m=z=>{a.instance.vnode.props.onNodeContextmenu&&(z.stopPropagation(),z.preventDefault()),a.ctx.emit("node-contextmenu",z,e.node.data,e.node,f)},b=()=>{e.node.isLeaf||(i.value?(a.ctx.emit("node-collapse",e.node.data,e.node,f),e.node.collapse()):(e.node.expand(),t.emit("node-expand",e.node.data,e.node,f)))},_=(z,A)=>{e.node.setChecked(A.target.checked,!a.props.checkStrictly),nt(()=>{const E=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:E.getCheckedNodes(),checkedKeys:E.getCheckedKeys(),halfCheckedNodes:E.getHalfCheckedNodes(),halfCheckedKeys:E.getHalfCheckedKeys()})})};return{ns:n,node$:u,tree:a,expanded:i,childNodeRendered:o,oldChecked:l,oldIndeterminate:s,getNodeKey:h,getNodeClass:v,handleSelectChange:p,handleClick:g,handleContextMenu:m,handleExpandIconClick:b,handleCheckChange:_,handleChildNodeExpand:(z,A,E)=>{r(A),a.ctx.emit("node-expand",z,A,E)},handleDragStart:z=>{a.props.draggable&&c.treeNodeDragStart({event:z,treeNode:e})},handleDragOver:z=>{z.preventDefault(),a.props.draggable&&c.treeNodeDragOver({event:z,treeNode:{$el:u.value,node:e.node}})},handleDrop:z=>{z.preventDefault()},handleDragEnd:z=>{a.props.draggable&&c.treeNodeDragEnd(z)},CaretRight:uN}}}),Kwe=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],Xwe=["aria-expanded"];function Zwe(e,t,n,r,a,i){const o=se("el-icon"),l=se("el-checkbox"),s=se("loading"),u=se("node-content"),c=se("el-tree-node"),f=se("el-collapse-transition");return mt((k(),F("div",{ref:"node$",class:q([e.ns.b("node"),e.ns.is("expanded",e.expanded),e.ns.is("current",e.node.isCurrent),e.ns.is("hidden",!e.node.visible),e.ns.is("focusable",!e.node.disabled),e.ns.is("checked",!e.node.disabled&&e.node.checked),e.getNodeClass(e.node)]),role:"treeitem",tabindex:"-1","aria-expanded":e.expanded,"aria-disabled":e.node.disabled,"aria-checked":e.node.checked,draggable:e.tree.props.draggable,"data-key":e.getNodeKey(e.node),onClick:t[1]||(t[1]=ft((...d)=>e.handleClick&&e.handleClick(...d),["stop"])),onContextmenu:t[2]||(t[2]=(...d)=>e.handleContextMenu&&e.handleContextMenu(...d)),onDragstart:t[3]||(t[3]=ft((...d)=>e.handleDragStart&&e.handleDragStart(...d),["stop"])),onDragover:t[4]||(t[4]=ft((...d)=>e.handleDragOver&&e.handleDragOver(...d),["stop"])),onDragend:t[5]||(t[5]=ft((...d)=>e.handleDragEnd&&e.handleDragEnd(...d),["stop"])),onDrop:t[6]||(t[6]=ft((...d)=>e.handleDrop&&e.handleDrop(...d),["stop"]))},[X("div",{class:q(e.ns.be("node","content")),style:Be({paddingLeft:(e.node.level-1)*e.tree.props.indent+"px"})},[e.tree.props.icon||e.CaretRight?(k(),Y(o,{key:0,class:q([e.ns.be("node","expand-icon"),e.ns.is("leaf",e.node.isLeaf),{expanded:!e.node.isLeaf&&e.expanded}]),onClick:ft(e.handleExpandIconClick,["stop"])},{default:M(()=>[(k(),Y(It(e.tree.props.icon||e.CaretRight)))]),_:1},8,["class","onClick"])):Q("v-if",!0),e.showCheckbox?(k(),Y(l,{key:1,"model-value":e.node.checked,indeterminate:e.node.indeterminate,disabled:!!e.node.disabled,onClick:t[0]||(t[0]=ft(()=>{},["stop"])),onChange:e.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):Q("v-if",!0),e.node.loading?(k(),Y(o,{key:2,class:q([e.ns.be("node","loading-icon"),e.ns.is("loading")])},{default:M(()=>[I(s)]),_:1},8,["class"])):Q("v-if",!0),I(u,{node:e.node,"render-content":e.renderContent},null,8,["node","render-content"])],6),I(f,null,{default:M(()=>[!e.renderAfterExpand||e.childNodeRendered?mt((k(),F("div",{key:0,class:q(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(k(!0),F(de,null,we(e.node.childNodes,d=>(k(),Y(c,{key:e.getNodeKey(d),"render-content":e.renderContent,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,node:d,accordion:e.accordion,props:e.props,onNodeExpand:e.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,Xwe)),[[en,e.expanded]]):Q("v-if",!0)]),_:1})],42,Kwe)),[[en,e.node.visible]])}var Jwe=Ne(Ywe,[["render",Zwe],["__file","tree-node.vue"]]);function Qwe({el$:e},t){const n=Ee("tree"),r=xn([]),a=xn([]);bt(()=>{o()}),Ll(()=>{r.value=Array.from(e.value.querySelectorAll("[role=treeitem]")),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"))}),ke(a,l=>{l.forEach(s=>{s.setAttribute("tabindex","-1")})}),Sn(e,"keydown",l=>{const s=l.target;if(!s.className.includes(n.b("node")))return;const u=l.code;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`));const c=r.value.indexOf(s);let f;if([at.up,at.down].includes(u)){if(l.preventDefault(),u===at.up){f=c===-1?0:c!==0?c-1:r.value.length-1;const h=f;for(;!t.value.getNode(r.value[f].dataset.key).canFocus;){if(f--,f===h){f=-1;break}f<0&&(f=r.value.length-1)}}else{f=c===-1?0:c<r.value.length-1?c+1:0;const h=f;for(;!t.value.getNode(r.value[f].dataset.key).canFocus;){if(f++,f===h){f=-1;break}f>=r.value.length&&(f=0)}}f!==-1&&r.value[f].focus()}[at.left,at.right].includes(u)&&(l.preventDefault(),s.click());const d=s.querySelector('[type="checkbox"]');[at.enter,at.space].includes(u)&&d&&(l.preventDefault(),d.click())});const o=()=>{var l;r.value=Array.from(e.value.querySelectorAll(`.${n.is("focusable")}[role=treeitem]`)),a.value=Array.from(e.value.querySelectorAll("input[type=checkbox]"));const s=e.value.querySelectorAll(`.${n.is("checked")}[role=treeitem]`);if(s.length){s[0].setAttribute("tabindex","0");return}(l=r.value[0])==null||l.setAttribute("tabindex","0")}}const exe=te({name:"ElTree",components:{ElTreeNode:Jwe},props:{data:{type:Array,default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},icon:{type:hn}},emits:["check-change","current-change","node-click","node-contextmenu","node-collapse","node-expand","check","node-drag-start","node-drag-end","node-drop","node-drag-leave","node-drag-enter","node-drag-over"],setup(e,t){const{t:n}=Xt(),r=Ee("tree"),a=Ye(rh,null),i=j(new qwe({key:e.nodeKey,data:e.data,lazy:e.lazy,props:e.props,load:e.load,currentNodeKey:e.currentNodeKey,checkStrictly:e.checkStrictly,checkDescendants:e.checkDescendants,defaultCheckedKeys:e.defaultCheckedKeys,defaultExpandedKeys:e.defaultExpandedKeys,autoExpandParent:e.autoExpandParent,defaultExpandAll:e.defaultExpandAll,filterNodeMethod:e.filterNodeMethod}));i.value.initialize();const o=j(i.value.root),l=j(null),s=j(null),u=j(null),{broadcastExpanded:c}=jB(e),{dragState:f}=Uwe({props:e,ctx:t,el$:s,dropIndicator$:u,store:i});Qwe({el$:s},i);const d=L(()=>{const{childNodes:V}=o.value,P=a?a.hasFilteredOptions!==0:!1;return(!V||V.length===0||V.every(({visible:W})=>!W))&&!P});ke(()=>e.currentNodeKey,V=>{i.value.setCurrentNodeKey(V)}),ke(()=>e.defaultCheckedKeys,V=>{i.value.setDefaultCheckedKey(V)}),ke(()=>e.defaultExpandedKeys,V=>{i.value.setDefaultExpandedKeys(V)}),ke(()=>e.data,V=>{i.value.setData(V)},{deep:!0}),ke(()=>e.checkStrictly,V=>{i.value.checkStrictly=V});const h=V=>{if(!e.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");i.value.filter(V)},v=V=>y6(e.nodeKey,V.data),p=V=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");const P=i.value.getNode(V);if(!P)return[];const W=[P.data];let Z=P.parent;for(;Z&&Z!==o.value;)W.push(Z.data),Z=Z.parent;return W.reverse()},g=(V,P)=>i.value.getCheckedNodes(V,P),m=V=>i.value.getCheckedKeys(V),b=()=>{const V=i.value.getCurrentNode();return V?V.data:null},_=()=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");const V=b();return V?V[e.nodeKey]:null},w=(V,P)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");i.value.setCheckedNodes(V,P)},x=(V,P)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");i.value.setCheckedKeys(V,P)},S=(V,P,W)=>{i.value.setChecked(V,P,W)},C=()=>i.value.getHalfCheckedNodes(),T=()=>i.value.getHalfCheckedKeys(),z=(V,P=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");uw(i,t.emit,()=>i.value.setUserCurrentNode(V,P))},A=(V,P=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");uw(i,t.emit,()=>i.value.setCurrentNodeKey(V,P))},E=V=>i.value.getNode(V),D=V=>{i.value.remove(V)},$=(V,P)=>{i.value.append(V,P)},O=(V,P)=>{i.value.insertBefore(V,P)},R=(V,P)=>{i.value.insertAfter(V,P)},N=(V,P,W)=>{c(P),t.emit("node-expand",V,P,W)},B=(V,P)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");i.value.updateChildren(V,P)};return Rt("RootTree",{ctx:t,props:e,store:i,root:o,currentNode:l,instance:xt()}),Rt(Oo,void 0),{ns:r,store:i,root:o,currentNode:l,dragState:f,el$:s,dropIndicator$:u,isEmpty:d,filter:h,getNodeKey:v,getNodePath:p,getCheckedNodes:g,getCheckedKeys:m,getCurrentNode:b,getCurrentKey:_,setCheckedNodes:w,setCheckedKeys:x,setChecked:S,getHalfCheckedNodes:C,getHalfCheckedKeys:T,setCurrentNode:z,setCurrentKey:A,t:n,getNode:E,remove:D,append:$,insertBefore:O,insertAfter:R,handleNodeExpand:N,updateKeyChildren:B}}});function txe(e,t,n,r,a,i){const o=se("el-tree-node");return k(),F("div",{ref:"el$",class:q([e.ns.b(),e.ns.is("dragging",!!e.dragState.draggingNode),e.ns.is("drop-not-allow",!e.dragState.allowDrop),e.ns.is("drop-inner",e.dragState.dropType==="inner"),{[e.ns.m("highlight-current")]:e.highlightCurrent}]),role:"tree"},[(k(!0),F(de,null,we(e.root.childNodes,l=>(k(),Y(o,{key:e.getNodeKey(l),node:l,props:e.props,accordion:e.accordion,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent,onNodeExpand:e.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),e.isEmpty?(k(),F("div",{key:0,class:q(e.ns.e("empty-block"))},[me(e.$slots,"empty",{},()=>{var l;return[X("span",{class:q(e.ns.e("empty-text"))},U((l=e.emptyText)!=null?l:e.t("el.tree.emptyText")),3)]})],2)):Q("v-if",!0),mt(X("div",{ref:"dropIndicator$",class:q(e.ns.e("drop-indicator"))},null,2),[[en,e.dragState.showDropIndicator]])],2)}var e2=Ne(exe,[["render",txe],["__file","tree.vue"]]);e2.install=e=>{e.component(e2.name,e2)};const tm=e2,nxe=tm,rxe=(e,{attrs:t,emit:n},{select:r,tree:a,key:i})=>{const o=Ee("tree-select");return ke(()=>e.data,()=>{e.filterable&&nt(()=>{var s,u;(u=a.value)==null||u.filter((s=r.value)==null?void 0:s.states.inputValue)})},{flush:"post"}),{...xo(Ar(e),Object.keys(Rc.props)),...t,"onUpdate:modelValue":s=>n(Mt,s),valueKey:i,popperClass:L(()=>{const s=[o.e("popper")];return e.popperClass&&s.push(e.popperClass),s.join(" ")}),filterMethod:(s="")=>{var u;e.filterMethod?e.filterMethod(s):e.remoteMethod?e.remoteMethod(s):(u=a.value)==null||u.filter(s)}}},axe=te({extends:U2,setup(e,t){const n=U2.setup(e,t);delete n.selectOptionClick;const r=xt().proxy;return nt(()=>{n.select.states.cachedOptions.get(r.value)||n.select.onOptionCreate(r)}),n},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function dw(e){return e||e===0}function b6(e){return Array.isArray(e)&&e.length}function Ih(e){return Array.isArray(e)?e:dw(e)?[e]:[]}function t2(e,t,n,r,a){for(let i=0;i<e.length;i++){const o=e[i];if(t(o,i,e,a))return r?r(o,i,e,a):o;{const l=n(o);if(b6(l)){const s=t2(l,t,n,r,o);if(s)return s}}}}function hw(e,t,n,r){for(let a=0;a<e.length;a++){const i=e[a];t(i,a,e,r);const o=n(i);b6(o)&&hw(o,t,n,i)}}const ixe=(e,{attrs:t,slots:n,emit:r},{select:a,tree:i,key:o})=>{ke(()=>e.modelValue,()=>{e.showCheckbox&&nt(()=>{const f=i.value;f&&!Yr(f.getCheckedKeys(),Ih(e.modelValue))&&f.setCheckedKeys(Ih(e.modelValue))})},{immediate:!0,deep:!0});const l=L(()=>({value:o.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...e.props})),s=(f,d)=>{var h;const v=l.value[f];return st(v)?v(d,(h=i.value)==null?void 0:h.getNode(s("value",d))):d[v]},u=Ih(e.modelValue).map(f=>t2(e.data||[],d=>s("value",d)===f,d=>s("children",d),(d,h,v,p)=>p&&s("value",p))).filter(f=>dw(f)),c=L(()=>{if(!e.renderAfterExpand&&!e.lazy)return[];const f=[];return hw(e.data.concat(e.cacheData),d=>{const h=s("value",d);f.push({value:h,currentLabel:s("label",d),isDisabled:s("disabled",d)})},d=>s("children",d)),f});return{...xo(Ar(e),Object.keys(tm.props)),...t,nodeKey:o,expandOnClickNode:L(()=>!e.checkStrictly&&e.expandOnClickNode),defaultExpandedKeys:L(()=>e.defaultExpandedKeys?e.defaultExpandedKeys.concat(u):u),renderContent:(f,{node:d,data:h,store:v})=>f(axe,{value:s("value",h),label:s("label",h),disabled:s("disabled",h)},e.renderContent?()=>e.renderContent(f,{node:d,data:h,store:v}):n.default?()=>n.default({node:d,data:h,store:v}):void 0),filterNodeMethod:(f,d,h)=>e.filterNodeMethod?e.filterNodeMethod(f,d,h):f?new RegExp(aS(f),"i").test(s("label",d)||""):!0,onNodeClick:(f,d,h)=>{var v,p,g,m;if((v=t.onNodeClick)==null||v.call(t,f,d,h),!(e.showCheckbox&&e.checkOnClickNode)){if(!e.showCheckbox&&(e.checkStrictly||d.isLeaf)){if(!s("disabled",f)){const b=(p=a.value)==null?void 0:p.states.options.get(s("value",f));(g=a.value)==null||g.handleOptionSelect(b)}}else e.expandOnClickNode&&h.proxy.handleExpandIconClick();(m=a.value)==null||m.focus()}},onCheck:(f,d)=>{var h;if(!e.showCheckbox)return;const v=s("value",f),p={};hw([i.value.store.root],_=>p[_.key]=_,_=>_.childNodes);const g=d.checkedKeys,m=e.multiple?Ih(e.modelValue).filter(_=>!(_ in p)&&!g.includes(_)):[],b=m.concat(g);if(e.checkStrictly)r(Mt,e.multiple?b:b.includes(v)?v:void 0);else if(e.multiple)r(Mt,m.concat(i.value.getCheckedKeys(!0)));else{const _=t2([f],S=>!b6(s("children",S))&&!s("disabled",S),S=>s("children",S)),w=_?s("value",_):void 0,x=dw(e.modelValue)&&!!t2([f],S=>s("value",S)===e.modelValue,S=>s("children",S));r(Mt,w===e.modelValue||x?void 0:w)}nt(()=>{var _;const w=Ih(e.modelValue);i.value.setCheckedKeys(w),(_=t.onCheck)==null||_.call(t,f,{checkedKeys:i.value.getCheckedKeys(),checkedNodes:i.value.getCheckedNodes(),halfCheckedKeys:i.value.getHalfCheckedKeys(),halfCheckedNodes:i.value.getHalfCheckedNodes()})}),(h=a.value)==null||h.focus()},cacheOptions:c}};var oxe=te({props:{data:{type:Array,default:()=>[]}},setup(e){const t=Ye(rh);return ke(()=>e.data,()=>{var n;e.data.forEach(a=>{t.states.cachedOptions.has(a.value)||t.states.cachedOptions.set(a.value,a)});const r=((n=t.selectRef)==null?void 0:n.querySelectorAll("input"))||[];Array.from(r).includes(document.activeElement)||t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const lxe=te({name:"ElTreeSelect",inheritAttrs:!1,props:{...Rc.props,...tm.props,cacheData:{type:Array,default:()=>[]}},setup(e,t){const{slots:n,expose:r}=t,a=j(),i=j(),o=L(()=>e.nodeKey||e.valueKey||"value"),l=rxe(e,t,{select:a,tree:i,key:o}),{cacheOptions:s,...u}=ixe(e,t,{select:a,tree:i,key:o}),c=nn({});return r(c),bt(()=>{Object.assign(c,{...xo(i.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...xo(a.value,["focus","blur"])})}),()=>tt(Rc,nn({...l,ref:f=>a.value=f}),{...n,default:()=>[tt(oxe,{data:s.value}),tt(tm,nn({...u,ref:f=>i.value=f}))]})}});var n2=Ne(lxe,[["__file","tree-select.vue"]]);n2.install=e=>{e.component(n2.name,n2)};const sxe=n2,uxe=sxe,_6=Symbol(),cxe={key:-1,level:-1,data:{}};var cv=(e=>(e.KEY="id",e.LABEL="label",e.CHILDREN="children",e.DISABLED="disabled",e))(cv||{}),vw=(e=>(e.ADD="add",e.DELETE="delete",e))(vw||{});const GB={type:Number,default:26},fxe=Oe({data:{type:he(Array),default:()=>Rn([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:he(Object),default:()=>Rn({children:"children",label:"label",disabled:"disabled",value:"id"})},highlightCurrent:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},defaultCheckedKeys:{type:he(Array),default:()=>Rn([])},checkStrictly:{type:Boolean,default:!1},defaultExpandedKeys:{type:he(Array),default:()=>Rn([])},indent:{type:Number,default:16},itemSize:GB,icon:{type:hn},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:{type:Boolean,default:!1},currentNodeKey:{type:he([String,Number])},accordion:{type:Boolean,default:!1},filterMethod:{type:he(Function)},perfMode:{type:Boolean,default:!0}}),dxe=Oe({node:{type:he(Object),default:()=>Rn(cxe)},expanded:{type:Boolean,default:!1},checked:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},showCheckbox:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},current:{type:Boolean,default:!1},hiddenExpandIcon:{type:Boolean,default:!1},itemSize:GB}),hxe=Oe({node:{type:he(Object),required:!0}}),WB="node-click",UB="node-expand",YB="node-collapse",KB="current-change",XB="check",ZB="check-change",JB="node-contextmenu",vxe={[WB]:(e,t,n)=>e&&t&&n,[UB]:(e,t)=>e&&t,[YB]:(e,t)=>e&&t,[KB]:(e,t)=>e&&t,[XB]:(e,t)=>e&&t,[ZB]:(e,t)=>e&&typeof t=="boolean",[JB]:(e,t,n)=>e&&t&&n},pxe={click:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&typeof t=="boolean"};function gxe(e,t){const n=j(new Set),r=j(new Set),{emit:a}=xt();ke([()=>t.value,()=>e.defaultCheckedKeys],()=>nt(()=>{b(e.defaultCheckedKeys)}),{immediate:!0});const i=()=>{if(!t.value||!e.showCheckbox||e.checkStrictly)return;const{levelTreeNodeMap:_,maxLevel:w}=t.value,x=n.value,S=new Set;for(let C=w-1;C>=1;--C){const T=_.get(C);T&&T.forEach(z=>{const A=z.children;if(A){let E=!0,D=!1;for(const $ of A){const O=$.key;if(x.has(O))D=!0;else if(S.has(O)){E=!1,D=!0;break}else E=!1}E?x.add(z.key):D?(S.add(z.key),x.delete(z.key)):(x.delete(z.key),S.delete(z.key))}})}r.value=S},o=_=>n.value.has(_.key),l=_=>r.value.has(_.key),s=(_,w,x=!0)=>{const S=n.value,C=(T,z)=>{S[z?vw.ADD:vw.DELETE](T.key);const A=T.children;!e.checkStrictly&&A&&A.forEach(E=>{E.disabled||C(E,z)})};C(_,w),i(),x&&u(_,w)},u=(_,w)=>{const{checkedNodes:x,checkedKeys:S}=v(),{halfCheckedNodes:C,halfCheckedKeys:T}=p();a(XB,_.data,{checkedKeys:S,checkedNodes:x,halfCheckedKeys:T,halfCheckedNodes:C}),a(ZB,_.data,w)};function c(_=!1){return v(_).checkedKeys}function f(_=!1){return v(_).checkedNodes}function d(){return p().halfCheckedKeys}function h(){return p().halfCheckedNodes}function v(_=!1){const w=[],x=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:S}=t.value;n.value.forEach(C=>{const T=S.get(C);T&&(!_||_&&T.isLeaf)&&(x.push(C),w.push(T.data))})}return{checkedKeys:x,checkedNodes:w}}function p(){const _=[],w=[];if(t!=null&&t.value&&e.showCheckbox){const{treeNodeMap:x}=t.value;r.value.forEach(S=>{const C=x.get(S);C&&(w.push(S),_.push(C.data))})}return{halfCheckedNodes:_,halfCheckedKeys:w}}function g(_){n.value.clear(),r.value.clear(),nt(()=>{b(_)})}function m(_,w){if(t!=null&&t.value&&e.showCheckbox){const x=t.value.treeNodeMap.get(_);x&&s(x,w,!1)}}function b(_){if(t!=null&&t.value){const{treeNodeMap:w}=t.value;if(e.showCheckbox&&w&&_)for(const x of _){const S=w.get(x);S&&!o(S)&&s(S,!0,!1)}}}return{updateCheckedKeys:i,toggleCheckbox:s,isChecked:o,isIndeterminate:l,getCheckedKeys:c,getCheckedNodes:f,getHalfCheckedKeys:d,getHalfCheckedNodes:h,setChecked:m,setCheckedKeys:g}}function mxe(e,t){const n=j(new Set([])),r=j(new Set([])),a=L(()=>st(e.filterMethod));function i(l){var s;if(!a.value)return;const u=new Set,c=r.value,f=n.value,d=[],h=((s=t.value)==null?void 0:s.treeNodes)||[],v=e.filterMethod;f.clear();function p(g){g.forEach(m=>{d.push(m),v!=null&&v(l,m.data)?d.forEach(_=>{u.add(_.key)}):m.isLeaf&&f.add(m.key);const b=m.children;if(b&&p(b),!m.isLeaf){if(!u.has(m.key))f.add(m.key);else if(b){let _=!0;for(const w of b)if(!f.has(w.key)){_=!1;break}_?c.add(m.key):c.delete(m.key)}}d.pop()})}return p(h),u}function o(l){return r.value.has(l.key)}return{hiddenExpandIconKeySet:r,hiddenNodeKeySet:n,doFilter:i,isForceHiddenExpandIcon:o}}function yxe(e,t){const n=j(new Set(e.defaultExpandedKeys)),r=j(),a=xn();ke(()=>e.currentNodeKey,ie=>{r.value=ie},{immediate:!0}),ke(()=>e.data,ie=>{le(ie)},{immediate:!0});const{isIndeterminate:i,isChecked:o,toggleCheckbox:l,getCheckedKeys:s,getCheckedNodes:u,getHalfCheckedKeys:c,getHalfCheckedNodes:f,setChecked:d,setCheckedKeys:h}=gxe(e,a),{doFilter:v,hiddenNodeKeySet:p,isForceHiddenExpandIcon:g}=mxe(e,a),m=L(()=>{var ie;return((ie=e.props)==null?void 0:ie.value)||cv.KEY}),b=L(()=>{var ie;return((ie=e.props)==null?void 0:ie.children)||cv.CHILDREN}),_=L(()=>{var ie;return((ie=e.props)==null?void 0:ie.disabled)||cv.DISABLED}),w=L(()=>{var ie;return((ie=e.props)==null?void 0:ie.label)||cv.LABEL}),x=L(()=>{const ie=n.value,ve=p.value,ce=[],fe=a.value&&a.value.treeNodes||[];function xe(){const J=[];for(let oe=fe.length-1;oe>=0;--oe)J.push(fe[oe]);for(;J.length;){const oe=J.pop();if(oe&&(ve.has(oe.key)||ce.push(oe),ie.has(oe.key))){const pe=oe.children;if(pe){const Te=pe.length;for(let ge=Te-1;ge>=0;--ge)J.push(pe[ge])}}}}return xe(),ce}),S=L(()=>x.value.length>0);function C(ie){const ve=new Map,ce=new Map;let fe=1;function xe(oe,pe=1,Te=void 0){var ge;const Ae=[];for(const De of oe){const Pe=A(De),Re={level:pe,key:Pe,data:De};Re.label=D(De),Re.parent=Te;const Ce=z(De);Re.disabled=E(De),Re.isLeaf=!Ce||Ce.length===0,Ce&&Ce.length&&(Re.children=xe(Ce,pe+1,Re)),Ae.push(Re),ve.set(Pe,Re),ce.has(pe)||ce.set(pe,[]),(ge=ce.get(pe))==null||ge.push(Re)}return pe>fe&&(fe=pe),Ae}const J=xe(ie);return{treeNodeMap:ve,levelTreeNodeMap:ce,maxLevel:fe,treeNodes:J}}function T(ie){const ve=v(ie);ve&&(n.value=ve)}function z(ie){return ie[b.value]}function A(ie){return ie?ie[m.value]:""}function E(ie){return ie[_.value]}function D(ie){return ie[w.value]}function $(ie){n.value.has(ie.key)?P(ie):V(ie)}function O(ie){n.value=new Set(ie)}function R(ie,ve){t(WB,ie.data,ie,ve),N(ie),e.expandOnClickNode&&$(ie),e.showCheckbox&&e.checkOnClickNode&&!ie.disabled&&l(ie,!o(ie),!0)}function N(ie){ee(ie)||(r.value=ie.key,t(KB,ie.data,ie))}function B(ie,ve){l(ie,ve)}function V(ie){const ve=n.value;if(a.value&&e.accordion){const{treeNodeMap:ce}=a.value;ve.forEach(fe=>{const xe=ce.get(fe);ie&&ie.level===(xe==null?void 0:xe.level)&&ve.delete(fe)})}ve.add(ie.key),t(UB,ie.data,ie)}function P(ie){n.value.delete(ie.key),t(YB,ie.data,ie)}function W(ie){return n.value.has(ie.key)}function Z(ie){return!!ie.disabled}function ee(ie){const ve=r.value;return ve!==void 0&&ve===ie.key}function re(){var ie,ve;if(r.value)return(ve=(ie=a.value)==null?void 0:ie.treeNodeMap.get(r.value))==null?void 0:ve.data}function ue(){return r.value}function ye(ie){r.value=ie}function le(ie){nt(()=>a.value=C(ie))}function ae(ie){var ve;const ce=zt(ie)?A(ie):ie;return(ve=a.value)==null?void 0:ve.treeNodeMap.get(ce)}return{tree:a,flattenTree:x,isNotEmpty:S,getKey:A,getChildren:z,toggleExpand:$,toggleCheckbox:l,isExpanded:W,isChecked:o,isIndeterminate:i,isDisabled:Z,isCurrent:ee,isForceHiddenExpandIcon:g,handleNodeClick:R,handleNodeCheck:B,getCurrentNode:re,getCurrentKey:ue,setCurrentKey:ye,getCheckedKeys:s,getCheckedNodes:u,getHalfCheckedKeys:c,getHalfCheckedNodes:f,setChecked:d,setCheckedKeys:h,filter:T,setData:le,getNode:ae,expandNode:V,collapseNode:P,setExpandedKeys:O}}var bxe=te({name:"ElTreeNodeContent",props:hxe,setup(e){const t=Ye(_6),n=Ee("tree");return()=>{const r=e.node,{data:a}=r;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:r,data:a}):tt("span",{class:n.be("node","label")},[r==null?void 0:r.label])}}});const _xe=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],wxe=te({name:"ElTreeNode"}),xxe=te({...wxe,props:dxe,emits:pxe,setup(e,{emit:t}){const n=e,r=Ye(_6),a=Ee("tree"),i=L(()=>{var f;return(f=r==null?void 0:r.props.indent)!=null?f:16}),o=L(()=>{var f;return(f=r==null?void 0:r.props.icon)!=null?f:uN}),l=f=>{t("click",n.node,f)},s=()=>{t("toggle",n.node)},u=f=>{t("check",n.node,f)},c=f=>{var d,h,v,p;(v=(h=(d=r==null?void 0:r.instance)==null?void 0:d.vnode)==null?void 0:h.props)!=null&&v.onNodeContextmenu&&(f.stopPropagation(),f.preventDefault()),r==null||r.ctx.emit(JB,f,(p=n.node)==null?void 0:p.data,n.node)};return(f,d)=>{var h,v,p;return k(),F("div",{ref:"node$",class:q([y(a).b("node"),y(a).is("expanded",f.expanded),y(a).is("current",f.current),y(a).is("focusable",!f.disabled),y(a).is("checked",!f.disabled&&f.checked)]),role:"treeitem",tabindex:"-1","aria-expanded":f.expanded,"aria-disabled":f.disabled,"aria-checked":f.checked,"data-key":(h=f.node)==null?void 0:h.key,onClick:ft(l,["stop"]),onContextmenu:c},[X("div",{class:q(y(a).be("node","content")),style:Be({paddingLeft:`${(f.node.level-1)*y(i)}px`,height:f.itemSize+"px"})},[y(o)?(k(),Y(y(Ze),{key:0,class:q([y(a).is("leaf",!!((v=f.node)!=null&&v.isLeaf)),y(a).is("hidden",f.hiddenExpandIcon),{expanded:!((p=f.node)!=null&&p.isLeaf)&&f.expanded},y(a).be("node","expand-icon")]),onClick:ft(s,["stop"])},{default:M(()=>[(k(),Y(It(y(o))))]),_:1},8,["class","onClick"])):Q("v-if",!0),f.showCheckbox?(k(),Y(y(ki),{key:1,"model-value":f.checked,indeterminate:f.indeterminate,disabled:f.disabled,onChange:u,onClick:d[0]||(d[0]=ft(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):Q("v-if",!0),I(y(bxe),{node:f.node},null,8,["node"])],6)],42,_xe)}}});var Sxe=Ne(xxe,[["__file","tree-node.vue"]]);const Cxe=te({name:"ElTreeV2"}),Txe=te({...Cxe,props:fxe,emits:vxe,setup(e,{expose:t,emit:n}){const r=e,a=Tr(),i=L(()=>r.itemSize);Rt(_6,{ctx:{emit:n,slots:a},props:r,instance:xt()}),Rt(Oo,void 0);const{t:o}=Xt(),l=Ee("tree"),{flattenTree:s,isNotEmpty:u,toggleExpand:c,isExpanded:f,isIndeterminate:d,isChecked:h,isDisabled:v,isCurrent:p,isForceHiddenExpandIcon:g,handleNodeClick:m,handleNodeCheck:b,toggleCheckbox:_,getCurrentNode:w,getCurrentKey:x,setCurrentKey:S,getCheckedKeys:C,getCheckedNodes:T,getHalfCheckedKeys:z,getHalfCheckedNodes:A,setChecked:E,setCheckedKeys:D,filter:$,setData:O,getNode:R,expandNode:N,collapseNode:B,setExpandedKeys:V}=yxe(r,n);return t({toggleCheckbox:_,getCurrentNode:w,getCurrentKey:x,setCurrentKey:S,getCheckedKeys:C,getCheckedNodes:T,getHalfCheckedKeys:z,getHalfCheckedNodes:A,setChecked:E,setCheckedKeys:D,filter:$,setData:O,getNode:R,expandNode:N,collapseNode:B,setExpandedKeys:V}),(P,W)=>{var Z;return k(),F("div",{class:q([y(l).b(),{[y(l).m("highlight-current")]:P.highlightCurrent}]),role:"tree"},[y(u)?(k(),Y(y(rB),{key:0,"class-name":y(l).b("virtual-list"),data:y(s),total:y(s).length,height:P.height,"item-size":y(i),"perf-mode":P.perfMode},{default:M(({data:ee,index:re,style:ue})=>[(k(),Y(Sxe,{key:ee[re].key,style:Be(ue),node:ee[re],expanded:y(f)(ee[re]),"show-checkbox":P.showCheckbox,checked:y(h)(ee[re]),indeterminate:y(d)(ee[re]),"item-size":y(i),disabled:y(v)(ee[re]),current:y(p)(ee[re]),"hidden-expand-icon":y(g)(ee[re]),onClick:y(m),onToggle:y(c),onCheck:y(b)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode"])):(k(),F("div",{key:1,class:q(y(l).e("empty-block"))},[X("span",{class:q(y(l).e("empty-text"))},U((Z=P.emptyText)!=null?Z:y(o)("el.tree.emptyText")),3)],2))],2)}}});var kxe=Ne(Txe,[["__file","tree.vue"]]);const zxe=St(kxe),QB=Symbol("uploadContextKey"),Mxe="ElUpload";class Axe extends Error{constructor(t,n,r,a){super(t),this.name="UploadAjaxError",this.status=n,this.method=r,this.url=a}}function bz(e,t,n){let r;return n.response?r=`${n.response.error||n.response}`:n.responseText?r=`${n.responseText}`:r=`fail to ${t.method} ${e} ${n.status}`,new Axe(r,n.status,t.method,e)}function Exe(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const Ixe=e=>{typeof XMLHttpRequest>"u"&&or(Mxe,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,n=e.action;t.upload&&t.upload.addEventListener("progress",i=>{const o=i;o.percent=i.total>0?i.loaded/i.total*100:0,e.onProgress(o)});const r=new FormData;if(e.data)for(const[i,o]of Object.entries(e.data))We(o)&&o.length?r.append(i,...o):r.append(i,o);r.append(e.filename,e.file,e.file.name),t.addEventListener("error",()=>{e.onError(bz(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(bz(n,e,t));e.onSuccess(Exe(t))}),t.open(e.method,n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const a=e.headers||{};if(a instanceof Headers)a.forEach((i,o)=>t.setRequestHeader(o,i));else for(const[i,o]of Object.entries(a))br(o)||t.setRequestHeader(i,String(o));return t.send(r),t},eF=["text","picture","picture-card"];let Dxe=1;const pw=()=>Date.now()+Dxe++,tF=Oe({action:{type:String,default:"#"},headers:{type:he(Object)},method:{type:String,default:"post"},data:{type:he([Object,Function,Promise]),default:()=>Rn({})},multiple:{type:Boolean,default:!1},name:{type:String,default:"file"},drag:{type:Boolean,default:!1},withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:he(Array),default:()=>Rn([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:eF,default:"text"},httpRequest:{type:he(Function),default:Ixe},disabled:Boolean,limit:Number}),Lxe=Oe({...tF,beforeUpload:{type:he(Function),default:sn},beforeRemove:{type:he(Function)},onRemove:{type:he(Function),default:sn},onChange:{type:he(Function),default:sn},onPreview:{type:he(Function),default:sn},onSuccess:{type:he(Function),default:sn},onProgress:{type:he(Function),default:sn},onError:{type:he(Function),default:sn},onExceed:{type:he(Function),default:sn},crossorigin:{type:he(String)}}),Pxe=Oe({files:{type:he(Array),default:()=>Rn([])},disabled:{type:Boolean,default:!1},handlePreview:{type:he(Function),default:sn},listType:{type:String,values:eF,default:"text"},crossorigin:{type:he(String)}}),Rxe={remove:e=>!!e},Oxe=["onKeydown"],Nxe=["src","crossorigin"],$xe=["onClick"],Vxe=["title"],Bxe=["onClick"],Fxe=["onClick"],Hxe=te({name:"ElUploadList"}),jxe=te({...Hxe,props:Pxe,emits:Rxe,setup(e,{emit:t}){const n=e,{t:r}=Xt(),a=Ee("upload"),i=Ee("icon"),o=Ee("list"),l=ma(),s=j(!1),u=L(()=>[a.b("list"),a.bm("list",n.listType),a.is("disabled",n.disabled)]),c=f=>{t("remove",f)};return(f,d)=>(k(),Y(GR,{tag:"ul",class:q(y(u)),name:y(o).b()},{default:M(()=>[(k(!0),F(de,null,we(f.files,h=>(k(),F("li",{key:h.uid||h.name,class:q([y(a).be("list","item"),y(a).is(h.status),{focusing:s.value}]),tabindex:"0",onKeydown:fn(v=>!y(l)&&c(h),["delete"]),onFocus:d[0]||(d[0]=v=>s.value=!0),onBlur:d[1]||(d[1]=v=>s.value=!1),onClick:d[2]||(d[2]=v=>s.value=!1)},[me(f.$slots,"default",{file:h},()=>[f.listType==="picture"||h.status!=="uploading"&&f.listType==="picture-card"?(k(),F("img",{key:0,class:q(y(a).be("list","item-thumbnail")),src:h.url,crossorigin:f.crossorigin,alt:""},null,10,Nxe)):Q("v-if",!0),h.status==="uploading"||f.listType!=="picture-card"?(k(),F("div",{key:1,class:q(y(a).be("list","item-info"))},[X("a",{class:q(y(a).be("list","item-name")),onClick:ft(v=>f.handlePreview(h),["prevent"])},[I(y(Ze),{class:q(y(i).m("document"))},{default:M(()=>[I(y(Wae))]),_:1},8,["class"]),X("span",{class:q(y(a).be("list","item-file-name")),title:h.name},U(h.name),11,Vxe)],10,$xe),h.status==="uploading"?(k(),Y(y(YV),{key:0,type:f.listType==="picture-card"?"circle":"line","stroke-width":f.listType==="picture-card"?6:2,percentage:Number(h.percentage),style:Be(f.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):Q("v-if",!0)],2)):Q("v-if",!0),X("label",{class:q(y(a).be("list","item-status-label"))},[f.listType==="text"?(k(),Y(y(Ze),{key:0,class:q([y(i).m("upload-success"),y(i).m("circle-check")])},{default:M(()=>[I(y(lS))]),_:1},8,["class"])):["picture-card","picture"].includes(f.listType)?(k(),Y(y(Ze),{key:1,class:q([y(i).m("upload-success"),y(i).m("check")])},{default:M(()=>[I(y(pp))]),_:1},8,["class"])):Q("v-if",!0)],2),y(l)?Q("v-if",!0):(k(),Y(y(Ze),{key:2,class:q(y(i).m("close")),onClick:v=>c(h)},{default:M(()=>[I(y(Xi))]),_:2},1032,["class","onClick"])),Q(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),Q(" This is a bug which needs to be fixed "),Q(" TODO: Fix the incorrect navigation interaction "),y(l)?Q("v-if",!0):(k(),F("i",{key:3,class:q(y(i).m("close-tip"))},U(y(r)("el.upload.deleteTip")),3)),f.listType==="picture-card"?(k(),F("span",{key:4,class:q(y(a).be("list","item-actions"))},[X("span",{class:q(y(a).be("list","item-preview")),onClick:v=>f.handlePreview(h)},[I(y(Ze),{class:q(y(i).m("zoom-in"))},{default:M(()=>[I(y(hN))]),_:1},8,["class"])],10,Bxe),y(l)?Q("v-if",!0):(k(),F("span",{key:0,class:q(y(a).be("list","item-delete")),onClick:v=>c(h)},[I(y(Ze),{class:q(y(i).m("delete"))},{default:M(()=>[I(y(qae))]),_:1},8,["class"])],10,Fxe))],2)):Q("v-if",!0)])],42,Oxe))),128)),me(f.$slots,"append")]),_:3},8,["class","name"]))}});var _z=Ne(jxe,[["__file","upload-list.vue"]]);const qxe=Oe({disabled:{type:Boolean,default:!1}}),Gxe={file:e=>We(e)},Wxe=["onDrop","onDragover"],nF="ElUploadDrag",Uxe=te({name:nF}),Yxe=te({...Uxe,props:qxe,emits:Gxe,setup(e,{emit:t}){Ye(QB)||or(nF,"usage: <el-upload><el-upload-dragger /></el-upload>");const r=Ee("upload"),a=j(!1),i=ma(),o=s=>{if(i.value)return;a.value=!1,s.stopPropagation();const u=Array.from(s.dataTransfer.files);t("file",u)},l=()=>{i.value||(a.value=!0)};return(s,u)=>(k(),F("div",{class:q([y(r).b("dragger"),y(r).is("dragover",a.value)]),onDrop:ft(o,["prevent"]),onDragover:ft(l,["prevent"]),onDragleave:u[0]||(u[0]=ft(c=>a.value=!1,["prevent"]))},[me(s.$slots,"default")],42,Wxe))}});var Kxe=Ne(Yxe,[["__file","upload-dragger.vue"]]);const Xxe=Oe({...tF,beforeUpload:{type:he(Function),default:sn},onRemove:{type:he(Function),default:sn},onStart:{type:he(Function),default:sn},onSuccess:{type:he(Function),default:sn},onProgress:{type:he(Function),default:sn},onError:{type:he(Function),default:sn},onExceed:{type:he(Function),default:sn}}),Zxe=["onKeydown"],Jxe=["name","multiple","accept"],Qxe=te({name:"ElUploadContent",inheritAttrs:!1}),e5e=te({...Qxe,props:Xxe,setup(e,{expose:t}){const n=e,r=Ee("upload"),a=ma(),i=xn({}),o=xn(),l=p=>{if(p.length===0)return;const{autoUpload:g,limit:m,fileList:b,multiple:_,onStart:w,onExceed:x}=n;if(m&&b.length+p.length>m){x(p,b);return}_||(p=p.slice(0,1));for(const S of p){const C=S;C.uid=pw(),w(C),g&&s(C)}},s=async p=>{if(o.value.value="",!n.beforeUpload)return c(p);let g,m={};try{const _=n.data,w=n.beforeUpload(p);m=T2(n.data)?$2(n.data):n.data,g=await w,T2(n.data)&&Yr(_,m)&&(m=$2(n.data))}catch{g=!1}if(g===!1){n.onRemove(p);return}let b=p;g instanceof Blob&&(g instanceof File?b=g:b=new File([g],p.name,{type:p.type})),c(Object.assign(b,{uid:p.uid}),m)},u=async(p,g)=>st(p)?p(g):p,c=async(p,g)=>{const{headers:m,data:b,method:_,withCredentials:w,name:x,action:S,onProgress:C,onSuccess:T,onError:z,httpRequest:A}=n;try{g=await u(g??b,p)}catch{n.onRemove(p);return}const{uid:E}=p,D={headers:m||{},withCredentials:w,file:p,data:g,method:_,filename:x,action:S,onProgress:O=>{C(O,p)},onSuccess:O=>{T(O,p),delete i.value[E]},onError:O=>{z(O,p),delete i.value[E]}},$=A(D);i.value[E]=$,$ instanceof Promise&&$.then(D.onSuccess,D.onError)},f=p=>{const g=p.target.files;g&&l(Array.from(g))},d=()=>{a.value||(o.value.value="",o.value.click())},h=()=>{d()};return t({abort:p=>{yae(i.value).filter(p?([m])=>String(p.uid)===m:()=>!0).forEach(([m,b])=>{b instanceof XMLHttpRequest&&b.abort(),delete i.value[m]})},upload:s}),(p,g)=>(k(),F("div",{class:q([y(r).b(),y(r).m(p.listType),y(r).is("drag",p.drag)]),tabindex:"0",onClick:d,onKeydown:fn(ft(h,["self"]),["enter","space"])},[p.drag?(k(),Y(Kxe,{key:0,disabled:y(a),onFile:l},{default:M(()=>[me(p.$slots,"default")]),_:3},8,["disabled"])):me(p.$slots,"default",{key:1}),X("input",{ref_key:"inputRef",ref:o,class:q(y(r).e("input")),name:p.name,multiple:p.multiple,accept:p.accept,type:"file",onChange:f,onClick:g[0]||(g[0]=ft(()=>{},["stop"]))},null,42,Jxe)],42,Zxe))}});var wz=Ne(e5e,[["__file","upload-content.vue"]]);const xz="ElUpload",Sz=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},t5e=(e,t)=>{const n=yO(e,"fileList",void 0,{passive:!0}),r=d=>n.value.find(h=>h.uid===d.uid);function a(d){var h;(h=t.value)==null||h.abort(d)}function i(d=["ready","uploading","success","fail"]){n.value=n.value.filter(h=>!d.includes(h.status))}const o=(d,h)=>{const v=r(h);v&&(console.error(d),v.status="fail",n.value.splice(n.value.indexOf(v),1),e.onError(d,v,n.value),e.onChange(v,n.value))},l=(d,h)=>{const v=r(h);v&&(e.onProgress(d,v,n.value),v.status="uploading",v.percentage=Math.round(d.percent))},s=(d,h)=>{const v=r(h);v&&(v.status="success",v.response=d,e.onSuccess(d,v,n.value),e.onChange(v,n.value))},u=d=>{br(d.uid)&&(d.uid=pw());const h={name:d.name,percentage:0,status:"ready",size:d.size,raw:d,uid:d.uid};if(e.listType==="picture-card"||e.listType==="picture")try{h.url=URL.createObjectURL(d)}catch(v){v.message,e.onError(v,h,n.value)}n.value=[...n.value,h],e.onChange(h,n.value)},c=async d=>{const h=d instanceof File?r(d):d;h||or(xz,"file to be removed not found");const v=p=>{a(p);const g=n.value;g.splice(g.indexOf(p),1),e.onRemove(p,g),Sz(p)};e.beforeRemove?await e.beforeRemove(h,n.value)!==!1&&v(h):v(h)};function f(){n.value.filter(({status:d})=>d==="ready").forEach(({raw:d})=>{var h;return d&&((h=t.value)==null?void 0:h.upload(d))})}return ke(()=>e.listType,d=>{d!=="picture-card"&&d!=="picture"||(n.value=n.value.map(h=>{const{raw:v,url:p}=h;if(!p&&v)try{h.url=URL.createObjectURL(v)}catch(g){e.onError(g,h,n.value)}return h}))}),ke(n,d=>{for(const h of d)h.uid||(h.uid=pw()),h.status||(h.status="success")},{immediate:!0,deep:!0}),{uploadFiles:n,abort:a,clearFiles:i,handleError:o,handleProgress:l,handleStart:u,handleSuccess:s,handleRemove:c,submit:f,revokeFileObjectURL:Sz}},n5e=te({name:"ElUpload"}),r5e=te({...n5e,props:Lxe,setup(e,{expose:t}){const n=e,r=ma(),a=xn(),{abort:i,submit:o,clearFiles:l,uploadFiles:s,handleStart:u,handleError:c,handleRemove:f,handleSuccess:d,handleProgress:h,revokeFileObjectURL:v}=t5e(n,a),p=L(()=>n.listType==="picture-card"),g=L(()=>({...n,fileList:s.value,onStart:u,onProgress:h,onSuccess:d,onError:c,onRemove:f}));return wn(()=>{s.value.forEach(v)}),Rt(QB,{accept:mn(n,"accept")}),t({abort:i,submit:o,clearFiles:l,handleStart:u,handleRemove:f}),(m,b)=>(k(),F("div",null,[y(p)&&m.showFileList?(k(),Y(_z,{key:0,disabled:y(r),"list-type":m.listType,files:y(s),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:y(f)},_l({append:M(()=>[I(wz,Pt({ref_key:"uploadRef",ref:a},y(g)),{default:M(()=>[m.$slots.trigger?me(m.$slots,"trigger",{key:0}):Q("v-if",!0),!m.$slots.trigger&&m.$slots.default?me(m.$slots,"default",{key:1}):Q("v-if",!0)]),_:3},16)]),_:2},[m.$slots.file?{name:"default",fn:M(({file:_})=>[me(m.$slots,"file",{file:_})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):Q("v-if",!0),!y(p)||y(p)&&!m.showFileList?(k(),Y(wz,Pt({key:1,ref_key:"uploadRef",ref:a},y(g)),{default:M(()=>[m.$slots.trigger?me(m.$slots,"trigger",{key:0}):Q("v-if",!0),!m.$slots.trigger&&m.$slots.default?me(m.$slots,"default",{key:1}):Q("v-if",!0)]),_:3},16)):Q("v-if",!0),m.$slots.trigger?me(m.$slots,"default",{key:2}):Q("v-if",!0),me(m.$slots,"tip"),!y(p)&&m.showFileList?(k(),Y(_z,{key:3,disabled:y(r),"list-type":m.listType,files:y(s),crossorigin:m.crossorigin,"handle-preview":m.onPreview,onRemove:y(f)},_l({_:2},[m.$slots.file?{name:"default",fn:M(({file:_})=>[me(m.$slots,"file",{file:_})])}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):Q("v-if",!0)]))}});var a5e=Ne(r5e,[["__file","upload.vue"]]);const i5e=St(a5e),o5e=Oe({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:he([String,Array]),default:"Element Plus"},font:{type:he(Object)},gap:{type:he(Array),default:()=>[100,100]},offset:{type:he(Array)}});function l5e(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function s5e(e){return Object.keys(e).map(t=>`${l5e(t)}: ${e[t]};`).join(" ")}function u5e(){return window.devicePixelRatio||1}const c5e=(e,t)=>{let n=!1;return e.removedNodes.length&&t&&(n=Array.from(e.removedNodes).includes(t)),e.type==="attributes"&&e.target===t&&(n=!0),n},rF=3;function xb(e,t,n=1){const r=document.createElement("canvas"),a=r.getContext("2d"),i=e*n,o=t*n;return r.setAttribute("width",`${i}px`),r.setAttribute("height",`${o}px`),a.save(),[a,r,i,o]}function f5e(){function e(t,n,r,a,i,o,l,s){const[u,c,f,d]=xb(a,i,r);if(t instanceof HTMLImageElement)u.drawImage(t,0,0,f,d);else{const{color:Z,fontSize:ee,fontStyle:re,fontWeight:ue,fontFamily:ye,textAlign:le,textBaseline:ae}=o,ie=Number(ee)*r;u.font=`${re} normal ${ue} ${ie}px/${i}px ${ye}`,u.fillStyle=Z,u.textAlign=le,u.textBaseline=ae;const ve=Array.isArray(t)?t:[t];ve==null||ve.forEach((ce,fe)=>{u.fillText(ce??"",f/2,fe*(ie+rF*r))})}const h=Math.PI/180*Number(n),v=Math.max(a,i),[p,g,m]=xb(v,v,r);p.translate(m/2,m/2),p.rotate(h),f>0&&d>0&&p.drawImage(c,-f/2,-d/2);function b(Z,ee){const re=Z*Math.cos(h)-ee*Math.sin(h),ue=Z*Math.sin(h)+ee*Math.cos(h);return[re,ue]}let _=0,w=0,x=0,S=0;const C=f/2,T=d/2;[[0-C,0-T],[0+C,0-T],[0+C,0+T],[0-C,0+T]].forEach(([Z,ee])=>{const[re,ue]=b(Z,ee);_=Math.min(_,re),w=Math.max(w,re),x=Math.min(x,ue),S=Math.max(S,ue)});const A=_+m/2,E=x+m/2,D=w-_,$=S-x,O=l*r,R=s*r,N=(D+O)*2,B=$+R,[V,P]=xb(N,B);function W(Z=0,ee=0){V.drawImage(g,A,E,D,$,Z,ee,D,$)}return W(),W(D+O,-$/2-R/2),W(D+O,+$/2+R/2),[P.toDataURL(),N/r,B/r]}return e}const d5e=te({name:"ElWatermark"}),h5e=te({...d5e,props:o5e,setup(e){const t=e,n={position:"relative"},r=L(()=>{var A,E;return(E=(A=t.font)==null?void 0:A.color)!=null?E:"rgba(0,0,0,.15)"}),a=L(()=>{var A,E;return(E=(A=t.font)==null?void 0:A.fontSize)!=null?E:16}),i=L(()=>{var A,E;return(E=(A=t.font)==null?void 0:A.fontWeight)!=null?E:"normal"}),o=L(()=>{var A,E;return(E=(A=t.font)==null?void 0:A.fontStyle)!=null?E:"normal"}),l=L(()=>{var A,E;return(E=(A=t.font)==null?void 0:A.fontFamily)!=null?E:"sans-serif"}),s=L(()=>{var A,E;return(E=(A=t.font)==null?void 0:A.textAlign)!=null?E:"center"}),u=L(()=>{var A,E;return(E=(A=t.font)==null?void 0:A.textBaseline)!=null?E:"hanging"}),c=L(()=>t.gap[0]),f=L(()=>t.gap[1]),d=L(()=>c.value/2),h=L(()=>f.value/2),v=L(()=>{var A,E;return(E=(A=t.offset)==null?void 0:A[0])!=null?E:d.value}),p=L(()=>{var A,E;return(E=(A=t.offset)==null?void 0:A[1])!=null?E:h.value}),g=()=>{const A={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let E=v.value-d.value,D=p.value-h.value;return E>0&&(A.left=`${E}px`,A.width=`calc(100% - ${E}px)`,E=0),D>0&&(A.top=`${D}px`,A.height=`calc(100% - ${D}px)`,D=0),A.backgroundPosition=`${E}px ${D}px`,A},m=xn(null),b=xn(),_=j(!1),w=()=>{b.value&&(b.value.remove(),b.value=void 0)},x=(A,E)=>{var D;m.value&&b.value&&(_.value=!0,b.value.setAttribute("style",s5e({...g(),backgroundImage:`url('${A}')`,backgroundSize:`${Math.floor(E)}px`})),(D=m.value)==null||D.append(b.value),setTimeout(()=>{_.value=!1}))},S=A=>{let E=120,D=64;const $=t.image,O=t.content,R=t.width,N=t.height;if(!$&&A.measureText){A.font=`${Number(a.value)}px ${l.value}`;const B=Array.isArray(O)?O:[O],V=B.map(P=>{const W=A.measureText(P);return[W.width,W.fontBoundingBoxAscent!==void 0?W.fontBoundingBoxAscent+W.fontBoundingBoxDescent:W.actualBoundingBoxAscent+W.actualBoundingBoxDescent]});E=Math.ceil(Math.max(...V.map(P=>P[0]))),D=Math.ceil(Math.max(...V.map(P=>P[1])))*B.length+(B.length-1)*rF}return[R??E,N??D]},C=f5e(),T=()=>{const E=document.createElement("canvas").getContext("2d"),D=t.image,$=t.content,O=t.rotate;if(E){b.value||(b.value=document.createElement("div"));const R=u5e(),[N,B]=S(E),V=P=>{const[W,Z]=C(P||"",O,R,N,B,{color:r.value,fontSize:a.value,fontStyle:o.value,fontWeight:i.value,fontFamily:l.value,textAlign:s.value,textBaseline:u.value},c.value,f.value);x(W,Z)};if(D){const P=new Image;P.onload=()=>{V(P)},P.onerror=()=>{V($)},P.crossOrigin="anonymous",P.referrerPolicy="no-referrer",P.src=D}else V($)}};return bt(()=>{T()}),ke(()=>t,()=>{T()},{deep:!0,flush:"post"}),wn(()=>{w()}),mO(m,A=>{_.value||A.forEach(E=>{c5e(E,b.value)&&(w(),T())})},{attributes:!0,subtree:!0,childList:!0}),(A,E)=>(k(),F("div",{ref_key:"containerRef",ref:m,style:Be([n])},[me(A.$slots,"default")],4))}});var v5e=Ne(h5e,[["__file","watermark.vue"]]);const p5e=St(v5e),g5e=Oe({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:he(Object)},targetAreaClickable:{type:Boolean,default:!0}}),m5e=(e,t,n,r,a)=>{const i=j(null),o=()=>{let f;return vt(e.value)?f=document.querySelector(e.value):st(e.value)?f=e.value():f=e.value,f},l=()=>{const f=o();if(!f||!t.value){i.value=null;return}!y5e(f)&&t.value&&f.scrollIntoView(a.value);const{left:d,top:h,width:v,height:p}=f.getBoundingClientRect();i.value={left:d,top:h,width:v,height:p,radius:0}};bt(()=>{ke([t,e],()=>{l()},{immediate:!0}),window.addEventListener("resize",l)}),wn(()=>{window.removeEventListener("resize",l)});const s=f=>{var d;return(d=We(n.value.offset)?n.value.offset[f]:n.value.offset)!=null?d:6},u=L(()=>{var f;if(!i.value)return i.value;const d=s(0),h=s(1),v=((f=n.value)==null?void 0:f.radius)||2;return{left:i.value.left-d,top:i.value.top-h,width:i.value.width+d*2,height:i.value.height+h*2,radius:v}}),c=L(()=>{const f=o();return!r.value||!f||!window.DOMRect?f||void 0:{getBoundingClientRect(){var d,h,v,p;return window.DOMRect.fromRect({width:((d=u.value)==null?void 0:d.width)||0,height:((h=u.value)==null?void 0:h.height)||0,x:((v=u.value)==null?void 0:v.left)||0,y:((p=u.value)==null?void 0:p.top)||0})}}});return{mergedPosInfo:u,triggerTarget:c}},Fy=Symbol("ElTour");function y5e(e){const t=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,{top:r,right:a,bottom:i,left:o}=e.getBoundingClientRect();return r>=0&&o>=0&&a<=t&&i<=n}const b5e=(e,t,n,r,a,i,o,l)=>{const s=j(),u=j(),c=j({}),f={x:s,y:u,placement:r,strategy:a,middlewareData:c},d=L(()=>{const m=[WN(y(i)),Fle(),Ble(),_5e()];return y(l)&&y(n)&&m.push(UN({element:y(n)})),m}),h=async()=>{if(!Wt)return;const m=y(e),b=y(t);if(!m||!b)return;const _=await YN(m,b,{placement:y(r),strategy:y(a),middleware:y(d)});wd(f).forEach(w=>{f[w].value=_[w]})},v=L(()=>{if(!y(e))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:y(o)};const{overflow:m}=y(c);return{position:y(a),zIndex:y(o),top:y(u)!=null?`${y(u)}px`:"",left:y(s)!=null?`${y(s)}px`:"",maxWidth:m!=null&&m.maxWidth?`${m==null?void 0:m.maxWidth}px`:""}}),p=L(()=>{if(!y(l))return{};const{arrow:m}=y(c);return{left:(m==null?void 0:m.x)!=null?`${m==null?void 0:m.x}px`:"",top:(m==null?void 0:m.y)!=null?`${m==null?void 0:m.y}px`:""}});let g;return bt(()=>{const m=y(e),b=y(t);m&&b&&(g=$le(m,b,h)),Or(()=>{h()})}),wn(()=>{g&&g()}),{update:h,contentStyle:v,arrowStyle:p}},_5e=()=>({name:"overflow",async fn(e){const t=await Vle(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),w5e={style:{width:"100%",height:"100%"}},x5e=["d"],S5e=te({name:"ElTourMask",inheritAttrs:!1}),C5e=te({...S5e,props:g5e,setup(e){const t=e,{ns:n}=Ye(Fy),r=L(()=>{var l,s;return(s=(l=t.pos)==null?void 0:l.radius)!=null?s:2}),a=L(()=>{const l=r.value,s=`a${l},${l} 0 0 1`;return{topRight:`${s} ${l},${l}`,bottomRight:`${s} ${-l},${l}`,bottomLeft:`${s} ${-l},${-l}`,topLeft:`${s} ${l},${-l}`}}),i=L(()=>{const l=window.innerWidth,s=window.innerHeight,u=a.value,c=`M${l},0 L0,0 L0,${s} L${l},${s} L${l},0 Z`,f=r.value;return t.pos?`${c} M${t.pos.left+f},${t.pos.top} h${t.pos.width-f*2} ${u.topRight} v${t.pos.height-f*2} ${u.bottomRight} h${-t.pos.width+f*2} ${u.bottomLeft} v${-t.pos.height+f*2} ${u.topLeft} z`:c}),o=L(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return gS(mn(t,"visible"),{ns:n}),(l,s)=>l.visible?(k(),F("div",Pt({key:0,class:y(n).e("mask"),style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:l.zIndex,pointerEvents:l.pos&&l.targetAreaClickable?"none":"auto"}},l.$attrs),[(k(),F("svg",w5e,[X("path",{class:q(y(n).e("hollow")),style:Be(y(o)),d:y(i)},null,14,x5e)]))],16)):Q("v-if",!0)}});var T5e=Ne(C5e,[["__file","mask.vue"]]);const k5e=["absolute","fixed"],z5e=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],w6=Oe({placement:{type:he(String),values:z5e,default:"bottom"},reference:{type:he(Object),default:null},strategy:{type:he(String),values:k5e,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),M5e={close:()=>!0},A5e=["data-side"],E5e=te({name:"ElTourContent"}),I5e=te({...E5e,props:w6,emits:M5e,setup(e,{emit:t}){const n=e,r=j(n.placement),a=j(n.strategy),i=j(null),o=j(null);ke(()=>n.placement,()=>{r.value=n.placement});const{contentStyle:l,arrowStyle:s}=b5e(mn(n,"reference"),i,o,r,a,mn(n,"offset"),mn(n,"zIndex"),mn(n,"showArrow")),u=L(()=>r.value.split("-")[0]),{ns:c}=Ye(Fy),f=()=>{t("close")},d=h=>{h.detail.focusReason==="pointer"&&h.preventDefault()};return(h,v)=>(k(),F("div",{ref_key:"contentRef",ref:i,style:Be(y(l)),class:q(y(c).e("content")),"data-side":y(u),tabindex:"-1"},[I(y(Sp),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":i.value||void 0,onReleaseRequested:f,onFocusoutPrevented:d},{default:M(()=>[me(h.$slots,"default")]),_:3},8,["focus-trap-el"]),h.showArrow?(k(),F("span",{key:0,ref_key:"arrowRef",ref:o,style:Be(y(s)),class:q(y(c).e("arrow"))},null,6)):Q("v-if",!0)],14,A5e))}});var D5e=Ne(I5e,[["__file","content.vue"]]),L5e=te({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(e,{slots:t,emit:n}){let r=0;return()=>{var a,i;const o=(a=t.default)==null?void 0:a.call(t),l=[];let s=0;function u(c){We(c)&&c.forEach(f=>{var d;((d=(f==null?void 0:f.type)||{})==null?void 0:d.name)==="ElTourStep"&&(l.push(f),s+=1)})}return o.length&&u(Is((i=o[0])==null?void 0:i.children)),r!==s&&(r=s,n("update-total",s)),l.length?l[e.current]:null}}});const P5e=Oe({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:hn},placement:w6.placement,contentStyle:{type:he([Object])},mask:{type:he([Boolean,Object]),default:!0},gap:{type:he(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:he([Boolean,Object]),default:()=>({block:"center"})},type:{type:he(String)},appendTo:{type:he([String,Object]),default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),R5e={[Mt]:e=>Jn(e),"update:current":e=>ot(e),close:e=>ot(e),finish:()=>!0,change:e=>ot(e)},O5e=te({name:"ElTour"}),N5e=te({...O5e,props:P5e,emits:R5e,setup(e,{emit:t}){const n=e,r=Ee("tour"),a=j(0),i=j(),o=yO(n,"current",t,{passive:!0}),l=L(()=>{var z;return(z=i.value)==null?void 0:z.target}),s=L(()=>[r.b(),g.value==="primary"?r.m("primary"):""]),u=L(()=>{var z;return((z=i.value)==null?void 0:z.placement)||n.placement}),c=L(()=>{var z,A;return(A=(z=i.value)==null?void 0:z.contentStyle)!=null?A:n.contentStyle}),f=L(()=>{var z,A;return(A=(z=i.value)==null?void 0:z.mask)!=null?A:n.mask}),d=L(()=>!!f.value&&n.modelValue),h=L(()=>Jn(f.value)?void 0:f.value),v=L(()=>{var z,A;return!!l.value&&((A=(z=i.value)==null?void 0:z.showArrow)!=null?A:n.showArrow)}),p=L(()=>{var z,A;return(A=(z=i.value)==null?void 0:z.scrollIntoViewOptions)!=null?A:n.scrollIntoViewOptions}),g=L(()=>{var z,A;return(A=(z=i.value)==null?void 0:z.type)!=null?A:n.type}),{nextZIndex:m}=Qd(),b=m(),_=L(()=>{var z;return(z=n.zIndex)!=null?z:b}),{mergedPosInfo:w,triggerTarget:x}=m5e(l,mn(n,"modelValue"),mn(n,"gap"),f,p);ke(()=>n.modelValue,z=>{z||(o.value=0)});const S=()=>{n.closeOnPressEscape&&(t("update:modelValue",!1),t("close",o.value))},C=z=>{a.value=z},T=Tr();return Rt(Fy,{currentStep:i,current:o,total:a,showClose:mn(n,"showClose"),closeIcon:mn(n,"closeIcon"),mergedType:g,ns:r,slots:T,updateModelValue(z){t("update:modelValue",z)},onClose(){t("close",o.value)},onFinish(){t("finish")},onChange(){t("change",o.value)}}),(z,A)=>{var E,D;return k(),F(de,null,[(k(),Y(Ud,{to:z.appendTo},[X("div",Pt({class:y(s)},z.$attrs),[I(T5e,{visible:y(d),fill:(E=y(h))==null?void 0:E.color,style:Be((D=y(h))==null?void 0:D.style),pos:y(w),"z-index":y(_),"target-area-clickable":z.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),z.modelValue?(k(),Y(D5e,{key:y(o),reference:y(x),placement:y(u),"show-arrow":y(v),"z-index":y(_),style:Be(y(c)),onClose:S},{default:M(()=>[I(y(L5e),{current:y(o),onUpdateTotal:C},{default:M(()=>[me(z.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):Q("v-if",!0)],16)],8,["to"])),Q(" just for IDE "),Q("v-if",!0)],64)}}});var $5e=Ne(N5e,[["__file","tour.vue"]]);const V5e=Oe({target:{type:he([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:hn},showArrow:{type:Boolean,default:void 0},placement:w6.placement,mask:{type:he([Boolean,Object]),default:void 0},contentStyle:{type:he([Object])},prevButtonProps:{type:he(Object)},nextButtonProps:{type:he(Object)},scrollIntoViewOptions:{type:he([Boolean,Object]),default:void 0},type:{type:he(String)}}),B5e={close:()=>!0},F5e=te({name:"ElTourStep"}),H5e=te({...F5e,props:V5e,emits:B5e,setup(e,{emit:t}){const n=e,{Close:r}=cS,{t:a}=Xt(),{currentStep:i,current:o,total:l,showClose:s,closeIcon:u,mergedType:c,ns:f,slots:d,updateModelValue:h,onClose:v,onFinish:p,onChange:g}=Ye(Fy);ke(n,T=>{i.value=T},{immediate:!0});const m=L(()=>{var T;return(T=n.showClose)!=null?T:s.value}),b=L(()=>{var T,z;return(z=(T=n.closeIcon)!=null?T:u.value)!=null?z:r}),_=T=>{if(T)return sae(T,["children","onClick"])},w=()=>{var T,z;o.value-=1,(T=n.prevButtonProps)!=null&&T.onClick&&((z=n.prevButtonProps)==null||z.onClick()),g()},x=()=>{var T;o.value>=l.value-1?S():o.value+=1,(T=n.nextButtonProps)!=null&&T.onClick&&n.nextButtonProps.onClick(),g()},S=()=>{C(),p()},C=()=>{h(!1),v(),t("close")};return(T,z)=>(k(),F(de,null,[y(m)?(k(),F("button",{key:0,"aria-label":"Close",class:q(y(f).e("closebtn")),type:"button",onClick:C},[I(y(Ze),{class:q(y(f).e("close"))},{default:M(()=>[(k(),Y(It(y(b))))]),_:1},8,["class"])],2)):Q("v-if",!0),X("header",{class:q([y(f).e("header"),{"show-close":y(s)}])},[me(T.$slots,"header",{},()=>[X("span",{role:"heading",class:q(y(f).e("title"))},U(T.title),3)])],2),X("div",{class:q(y(f).e("body"))},[me(T.$slots,"default",{},()=>[X("span",null,U(T.description),1)])],2),X("footer",{class:q(y(f).e("footer"))},[X("div",{class:q(y(f).b("indicators"))},[y(d).indicators?(k(),Y(It(y(d).indicators),{key:0,current:y(o),total:y(l)},null,8,["current","total"])):(k(!0),F(de,{key:1},we(y(l),(A,E)=>(k(),F("span",{key:A,class:q([y(f).b("indicator"),E===y(o)?"is-active":""])},null,2))),128))],2),X("div",{class:q(y(f).b("buttons"))},[y(o)>0?(k(),Y(y(_r),Pt({key:0,size:"small",type:y(c)},_(T.prevButtonProps),{onClick:w}),{default:M(()=>{var A,E;return[G(U((E=(A=T.prevButtonProps)==null?void 0:A.children)!=null?E:y(a)("el.tour.previous")),1)]}),_:1},16,["type"])):Q("v-if",!0),y(o)<=y(l)-1?(k(),Y(y(_r),Pt({key:1,size:"small",type:y(c)==="primary"?"default":"primary"},_(T.nextButtonProps),{onClick:x}),{default:M(()=>{var A,E;return[G(U((E=(A=T.nextButtonProps)==null?void 0:A.children)!=null?E:y(o)===y(l)-1?y(a)("el.tour.finish"):y(a)("el.tour.next")),1)]}),_:1},16,["type"])):Q("v-if",!0)],2)],2)],64))}});var aF=Ne(H5e,[["__file","step.vue"]]);const j5e=St($5e,{TourStep:aF}),q5e=On(aF),G5e=Oe({container:{type:he([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:he(String),default:"default"},direction:{type:he(String),default:"vertical"}}),W5e={change:e=>vt(e),click:(e,t)=>e instanceof MouseEvent&&(vt(t)||Xn(t))},iF=Symbol("anchor"),U5e=te({name:"ElAnchor"}),Y5e=te({...U5e,props:G5e,emits:W5e,setup(e,{expose:t,emit:n}){const r=e,a=j(""),i=j(null),o=j(null),l=j(),s={};let u=!1,c=0;const f=Ee("anchor"),d=L(()=>[f.b(),r.type==="underline"?f.m("underline"):"",f.m(r.direction)]),h=T=>{s[T.href]=T.el},v=T=>{delete s[T]},p=T=>{a.value!==T&&(a.value=T,n("change",T))};let g=null;const m=T=>{if(!l.value)return;const z=lg(T);if(!z)return;g&&g(),u=!0;const A=DT(z,l.value),E=f4(z,A),D=A.scrollHeight-A.clientHeight,$=Math.min(E-r.offset,D);g=wae(l.value,c,$,r.duration,()=>{setTimeout(()=>{u=!1},20)})},b=T=>{T&&(p(T),m(T))},_=(T,z)=>{n("click",T,z),b(z)},w=$ie(()=>{l.value&&(c=LT(l.value));const T=x();u||Xn(T)||p(T)}),x=()=>{if(!l.value)return;const T=LT(l.value),z=[];for(const A of Object.keys(s)){const E=lg(A);if(!E)continue;const D=DT(E,l.value),$=f4(E,D);z.push({top:$-r.offset-r.bound,href:A})}z.sort((A,E)=>A.top-E.top);for(let A=0;A<z.length;A++){const E=z[A],D=z[A+1];if(A===0&&T===0)return"";if(E.top<=T&&(!D||D.top>T))return E.href}},S=()=>{const T=lg(r.container);!T||Sy(T)?l.value=window:l.value=T};Sn(l,"scroll",w);const C=L(()=>{if(!i.value||!o.value||!a.value)return{};const T=s[a.value];if(!T)return{};const z=i.value.getBoundingClientRect(),A=o.value.getBoundingClientRect(),E=T.getBoundingClientRect();return r.direction==="horizontal"?{left:`${E.left-z.left}px`,width:`${E.width}px`,opacity:1}:{top:`${E.top-z.top+(E.height-A.height)/2}px`,opacity:1}});return bt(()=>{S();const T=decodeURIComponent(window.location.hash);lg(T)?b(T):w()}),ke(()=>r.container,()=>{S()}),Rt(iF,{ns:f,direction:r.direction,currentAnchor:a,addLink:h,removeLink:v,handleClick:_}),t({scrollTo:b}),(T,z)=>(k(),F("div",{ref_key:"anchorRef",ref:i,class:q(y(d))},[T.marker?(k(),F("div",{key:0,ref_key:"markerRef",ref:o,class:q(y(f).e("marker")),style:Be(y(C))},null,6)):Q("v-if",!0),X("div",{class:q(y(f).e("list"))},[me(T.$slots,"default")],2)],2))}});var K5e=Ne(Y5e,[["__file","anchor.vue"]]);const X5e=Oe({title:String,href:String}),Z5e=["href"],J5e=te({name:"ElAnchorLink"}),Q5e=te({...J5e,props:X5e,setup(e){const t=e,n=j(null),{ns:r,direction:a,currentAnchor:i,addLink:o,removeLink:l,handleClick:s}=Ye(iF),u=L(()=>[r.e("link"),r.is("active",i.value===t.href)]),c=f=>{s(f,t.href)};return ke(()=>t.href,(f,d)=>{nt(()=>{d&&l(d),f&&o({href:f,el:n.value})})}),bt(()=>{const{href:f}=t;f&&o({href:f,el:n.value})}),wn(()=>{const{href:f}=t;f&&l(f)}),(f,d)=>(k(),F("div",{class:q(y(r).e("item"))},[X("a",{ref_key:"linkRef",ref:n,class:q(y(u)),href:f.href,onClick:c},[me(f.$slots,"default",{},()=>[G(U(f.title),1)])],10,Z5e),f.$slots["sub-link"]&&y(a)==="vertical"?(k(),F("div",{key:0,class:q(y(r).e("list"))},[me(f.$slots,"sub-link")],2)):Q("v-if",!0)],2))}});var oF=Ne(Q5e,[["__file","anchor-link.vue"]]);const eSe=St(K5e,{AnchorLink:oF}),tSe=On(oF),nSe=Oe({options:{type:he(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},block:Boolean,size:cr,disabled:Boolean,validateEvent:{type:Boolean,default:!0},id:String,name:String,...Er(["ariaLabel"])}),rSe={[Mt]:e=>vt(e)||ot(e),[Tn]:e=>vt(e)||ot(e)},aSe=["id","aria-label","aria-labelledby"],iSe=["name","disabled","checked","onChange"],oSe=te({name:"ElSegmented"}),lSe=te({...oSe,props:nSe,emits:rSe,setup(e,{emit:t}){const n=e,r=Ee("segmented"),a=Vr(),i=tr(),o=ma(),{formItem:l}=Qr(),{inputId:s,isLabeledByFormItem:u}=ro(n,{formItemContext:l}),c=j(null),f=kJ(),d=nn({isInit:!1,width:0,translateX:0,disabled:!1,focusVisible:!1}),h=z=>{const A=v(z);t(Mt,A),t(Tn,A)},v=z=>zt(z)?z.value:z,p=z=>zt(z)?z.label:z,g=z=>!!(o.value||zt(z)&&z.disabled),m=z=>n.modelValue===v(z),b=z=>n.options.find(A=>v(A)===z),_=z=>[r.e("item"),r.is("selected",m(z)),r.is("disabled",g(z))],w=()=>{if(!c.value)return;const z=c.value.querySelector(".is-selected"),A=c.value.querySelector(".is-selected input");if(!z||!A){d.width=0,d.translateX=0,d.disabled=!1,d.focusVisible=!1;return}const E=z.getBoundingClientRect();d.isInit=!0,d.width=E.width,d.translateX=z.offsetLeft,d.disabled=g(b(n.modelValue));try{d.focusVisible=A.matches(":focus-visible")}catch{}},x=L(()=>[r.b(),r.m(i.value),r.is("block",n.block)]),S=L(()=>({width:`${d.width}px`,transform:`translateX(${d.translateX}px)`,display:d.isInit?"block":"none"})),C=L(()=>[r.e("item-selected"),r.is("disabled",d.disabled),r.is("focus-visible",d.focusVisible)]),T=L(()=>n.name||a.value);return Pn(c,w),ke(f,w),ke(()=>n.modelValue,()=>{var z;w(),n.validateEvent&&((z=l==null?void 0:l.validate)==null||z.call(l,"change").catch(A=>void 0))},{flush:"post"}),(z,A)=>(k(),F("div",{id:y(s),ref_key:"segmentedRef",ref:c,class:q(y(x)),role:"radiogroup","aria-label":y(u)?void 0:z.ariaLabel||"segmented","aria-labelledby":y(u)?y(l).labelId:void 0},[X("div",{class:q(y(r).e("group"))},[X("div",{style:Be(y(S)),class:q(y(C))},null,6),(k(!0),F(de,null,we(z.options,(E,D)=>(k(),F("label",{key:D,class:q(_(E))},[X("input",{class:q(y(r).e("item-input")),type:"radio",name:y(T),disabled:g(E),checked:m(E),onChange:$=>h(E)},null,42,iSe),X("div",{class:q(y(r).e("item-label"))},[me(z.$slots,"default",{item:E},()=>[G(U(p(E)),1)])],2)],2))),128))],2)],10,aSe))}});var sSe=Ne(lSe,[["__file","segmented.vue"]]);const uSe=St(sSe);var cSe=[sse,bse,Gce,x4e,Jce,ife,d$,bfe,_fe,_r,b$,Vde,qde,che,fhe,Sve,uve,Ave,ki,Ahe,U$,Fve,i1e,o1e,Zve,O1e,ese,Y1e,K1e,X1e,Z1e,J1e,yge,Age,Ege,Wge,zV,o0e,Z0e,J0e,Q0e,OV,due,hue,Ze,G2e,NV,Ur,$V,ime,Tme,kme,zme,Mme,Rme,Hye,Yye,r3e,u$,YV,eV,Ghe,qhe,_3e,T3e,Ove,$l,Rc,U2,vye,fbe,bbe,_be,Xbe,t_e,hB,d_e,w_e,x_e,L_e,N9e,$9e,w4e,N4e,$4e,x1,j4e,mde,K4e,ewe,twe,Xr,zwe,Hwe,nxe,uxe,zxe,i5e,p5e,j5e,q5e,eSe,tSe,uSe];const si="ElInfiniteScroll",fSe=50,dSe=200,hSe=0,vSe={delay:{type:Number,default:dSe},distance:{type:Number,default:hSe},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},x6=(e,t)=>Object.entries(vSe).reduce((n,[r,a])=>{var i,o;const{type:l,default:s}=a,u=e.getAttribute(`infinite-scroll-${r}`);let c=(o=(i=t[u])!=null?i:u)!=null?o:s;return c=c==="false"?!1:c,c=l(c),n[r]=Number.isNaN(c)?s:c,n},{}),lF=e=>{const{observer:t}=e[si];t&&(t.disconnect(),delete e[si].observer)},pSe=(e,t)=>{const{container:n,containerEl:r,instance:a,observer:i,lastScrollTop:o}=e[si],{disabled:l,distance:s}=x6(e,a),{clientHeight:u,scrollHeight:c,scrollTop:f}=r,d=f-o;if(e[si].lastScrollTop=f,i||l||d<0)return;let h=!1;if(n===e)h=c-(u+f)<=s;else{const{clientTop:v,scrollHeight:p}=e,g=f4(e,r);h=f+u>=g+v+p-s}h&&t.call(a)};function Sb(e,t){const{containerEl:n,instance:r}=e[si],{disabled:a}=x6(e,r);a||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):lF(e))}const gSe={async mounted(e,t){const{instance:n,value:r}=t;st(r)||or(si,"'v-infinite-scroll' binding value must be a function"),await nt();const{delay:a,immediate:i}=x6(e,n),o=iS(e,!0),l=o===window?document.documentElement:o,s=pc(pSe.bind(null,e,r),a);if(o){if(e[si]={instance:n,container:o,containerEl:l,delay:a,cb:r,onScroll:s,lastScrollTop:l.scrollTop},i){const u=new MutationObserver(pc(Sb.bind(null,e,r),fSe));e[si].observer=u,u.observe(e,{childList:!0,subtree:!0}),Sb(e,r)}o.addEventListener("scroll",s)}},unmounted(e){if(!e[si])return;const{container:t,onScroll:n}=e[si];t==null||t.removeEventListener("scroll",n),lF(e)},async updated(e){if(!e[si])await nt();else{const{containerEl:t,cb:n,observer:r}=e[si];t.clientHeight&&r&&Sb(e,n)}}},gw=gSe;gw.install=e=>{e.directive("InfiniteScroll",gw)};const mSe=gw;function ySe(e){let t;const n=j(!1),r=nn({...e,originalPosition:"",originalOverflow:"",visible:!1});function a(d){r.text=d}function i(){const d=r.parent,h=f.ns;if(!d.vLoadingAddClassList){let v=d.getAttribute("loading-number");v=Number.parseInt(v)-1,v?d.setAttribute("loading-number",v.toString()):(Kr(d,h.bm("parent","relative")),d.removeAttribute("loading-number")),Kr(d,h.bm("parent","hidden"))}o(),c.unmount()}function o(){var d,h;(h=(d=f.$el)==null?void 0:d.parentNode)==null||h.removeChild(f.$el)}function l(){var d;e.beforeClose&&!e.beforeClose()||(n.value=!0,clearTimeout(t),t=window.setTimeout(s,400),r.visible=!1,(d=e.closed)==null||d.call(e))}function s(){if(!n.value)return;const d=r.parent;n.value=!1,d.vLoadingAddClassList=void 0,i()}const c=XR(te({name:"ElLoading",setup(d,{expose:h}){const{ns:v,zIndex:p}=Iy("loading");return h({ns:v,zIndex:p}),()=>{const g=r.spinner||r.svg,m=tt("svg",{class:"circular",viewBox:r.svgViewBox?r.svgViewBox:"0 0 50 50",...g?{innerHTML:g}:{}},[tt("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),b=r.text?tt("p",{class:v.b("text")},[r.text]):void 0;return tt(ir,{name:v.b("fade"),onAfterLeave:s},{default:M(()=>[mt(I("div",{style:{backgroundColor:r.background||""},class:[v.b("mask"),r.customClass,r.fullscreen?"is-fullscreen":""]},[tt("div",{class:v.b("spinner")},[m,b])]),[[en,r.visible]])])})}}})),f=c.mount(document.createElement("div"));return{...Ar(r),setText:a,removeElLoadingChild:o,close:l,handleAfterLeave:s,vm:f,get $el(){return f.$el}}}let xg;const mw=function(e={}){if(!Wt)return;const t=bSe(e);if(t.fullscreen&&xg)return xg;const n=ySe({...t,closed:()=>{var a;(a=t.closed)==null||a.call(t),t.fullscreen&&(xg=void 0)}});_Se(t,t.parent,n),Cz(t,t.parent,n),t.parent.vLoadingAddClassList=()=>Cz(t,t.parent,n);let r=t.parent.getAttribute("loading-number");return r?r=`${Number.parseInt(r)+1}`:r="1",t.parent.setAttribute("loading-number",r),t.parent.appendChild(n.$el),nt(()=>n.visible.value=t.visible),t.fullscreen&&(xg=n),n},bSe=e=>{var t,n,r,a;let i;return vt(e.target)?i=(t=document.querySelector(e.target))!=null?t:document.body:i=e.target||document.body,{parent:i===document.body||e.body?document.body:i,background:e.background||"",svg:e.svg||"",svgViewBox:e.svgViewBox||"",spinner:e.spinner||!1,text:e.text||"",fullscreen:i===document.body&&((n=e.fullscreen)!=null?n:!0),lock:(r=e.lock)!=null?r:!1,customClass:e.customClass||"",visible:(a=e.visible)!=null?a:!0,target:i}},_Se=async(e,t,n)=>{const{nextZIndex:r}=n.vm.zIndex||n.vm._.exposed.zIndex,a={};if(e.fullscreen)n.originalPosition.value=ms(document.body,"position"),n.originalOverflow.value=ms(document.body,"overflow"),a.zIndex=r();else if(e.parent===document.body){n.originalPosition.value=ms(document.body,"position"),await nt();for(const i of["top","left"]){const o=i==="top"?"scrollTop":"scrollLeft";a[i]=`${e.target.getBoundingClientRect()[i]+document.body[o]+document.documentElement[o]-Number.parseInt(ms(document.body,`margin-${i}`),10)}px`}for(const i of["height","width"])a[i]=`${e.target.getBoundingClientRect()[i]}px`}else n.originalPosition.value=ms(t,"position");for(const[i,o]of Object.entries(a))n.$el.style[i]=o},Cz=(e,t,n)=>{const r=n.vm.ns||n.vm._.exposed.ns;["absolute","fixed","sticky"].includes(n.originalPosition.value)?Kr(t,r.bm("parent","relative")):vi(t,r.bm("parent","relative")),e.fullscreen&&e.lock?vi(t,r.bm("parent","hidden")):Kr(t,r.bm("parent","hidden"))},r2=Symbol("ElLoading"),Tz=(e,t)=>{var n,r,a,i;const o=t.instance,l=d=>zt(t.value)?t.value[d]:void 0,s=d=>{const h=vt(d)&&(o==null?void 0:o[d])||d;return h&&j(h)},u=d=>s(l(d)||e.getAttribute(`element-loading-${eu(d)}`)),c=(n=l("fullscreen"))!=null?n:t.modifiers.fullscreen,f={text:u("text"),svg:u("svg"),svgViewBox:u("svgViewBox"),spinner:u("spinner"),background:u("background"),customClass:u("customClass"),fullscreen:c,target:(r=l("target"))!=null?r:c?void 0:e,body:(a=l("body"))!=null?a:t.modifiers.body,lock:(i=l("lock"))!=null?i:t.modifiers.lock};e[r2]={options:f,instance:mw(f)}},wSe=(e,t)=>{for(const n of Object.keys(t))ct(t[n])&&(t[n].value=e[n])},kz={mounted(e,t){t.value&&Tz(e,t)},updated(e,t){const n=e[r2];t.oldValue!==t.value&&(t.value&&!t.oldValue?Tz(e,t):t.value&&t.oldValue?zt(t.value)&&wSe(t.value,n.options):n==null||n.instance.close())},unmounted(e){var t;(t=e[r2])==null||t.instance.close(),e[r2]=null}},xSe={install(e){e.directive("loading",kz),e.config.globalProperties.$loading=mw},directive:kz,service:mw},sF=["success","info","warning","error"],qr=Rn({customClass:"",center:!1,dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,zIndex:0,grouping:!1,repeatNum:1,appendTo:Wt?document.body:void 0}),SSe=Oe({customClass:{type:String,default:qr.customClass},center:{type:Boolean,default:qr.center},dangerouslyUseHTMLString:{type:Boolean,default:qr.dangerouslyUseHTMLString},duration:{type:Number,default:qr.duration},icon:{type:hn,default:qr.icon},id:{type:String,default:qr.id},message:{type:he([String,Object,Function]),default:qr.message},onClose:{type:he(Function),default:qr.onClose},showClose:{type:Boolean,default:qr.showClose},type:{type:String,values:sF,default:qr.type},plain:{type:Boolean,default:qr.plain},offset:{type:Number,default:qr.offset},zIndex:{type:Number,default:qr.zIndex},grouping:{type:Boolean,default:qr.grouping},repeatNum:{type:Number,default:qr.repeatNum}}),CSe={destroy:()=>!0},ji=b5([]),TSe=e=>{const t=ji.findIndex(a=>a.id===e),n=ji[t];let r;return t>0&&(r=ji[t-1]),{current:n,prev:r}},kSe=e=>{const{prev:t}=TSe(e);return t?t.vm.exposed.bottom.value:0},zSe=(e,t)=>ji.findIndex(r=>r.id===e)>0?16:t,MSe=["id"],ASe=["innerHTML"],ESe=te({name:"ElMessage"}),ISe=te({...ESe,props:SSe,emits:CSe,setup(e,{expose:t}){const n=e,{Close:r}=fS,{ns:a,zIndex:i}=Iy("message"),{currentZIndex:o,nextZIndex:l}=i,s=j(),u=j(!1),c=j(0);let f;const d=L(()=>n.type?n.type==="error"?"danger":n.type:"info"),h=L(()=>{const C=n.type;return{[a.bm("icon",C)]:C&&js[C]}}),v=L(()=>n.icon||js[n.type]||""),p=L(()=>kSe(n.id)),g=L(()=>zSe(n.id,n.offset)+p.value),m=L(()=>c.value+g.value),b=L(()=>({top:`${g.value}px`,zIndex:o.value}));function _(){n.duration!==0&&({stop:f}=Ac(()=>{x()},n.duration))}function w(){f==null||f()}function x(){u.value=!1}function S({code:C}){C===at.esc&&x()}return bt(()=>{_(),l(),u.value=!0}),ke(()=>n.repeatNum,()=>{w(),_()}),Sn(document,"keydown",S),Pn(s,()=>{c.value=s.value.getBoundingClientRect().height}),t({visible:u,bottom:m,close:x}),(C,T)=>(k(),Y(ir,{name:y(a).b("fade"),onBeforeLeave:C.onClose,onAfterLeave:T[0]||(T[0]=z=>C.$emit("destroy")),persisted:""},{default:M(()=>[mt(X("div",{id:C.id,ref_key:"messageRef",ref:s,class:q([y(a).b(),{[y(a).m(C.type)]:C.type},y(a).is("center",C.center),y(a).is("closable",C.showClose),y(a).is("plain",C.plain),C.customClass]),style:Be(y(b)),role:"alert",onMouseenter:w,onMouseleave:_},[C.repeatNum>1?(k(),Y(y(d$),{key:0,value:C.repeatNum,type:y(d),class:q(y(a).e("badge"))},null,8,["value","type","class"])):Q("v-if",!0),y(v)?(k(),Y(y(Ze),{key:1,class:q([y(a).e("icon"),y(h)])},{default:M(()=>[(k(),Y(It(y(v))))]),_:1},8,["class"])):Q("v-if",!0),me(C.$slots,"default",{},()=>[C.dangerouslyUseHTMLString?(k(),F(de,{key:1},[Q(" Caution here, message could've been compromised, never use user's input as message "),X("p",{class:q(y(a).e("content")),innerHTML:C.message},null,10,ASe)],2112)):(k(),F("p",{key:0,class:q(y(a).e("content"))},U(C.message),3))]),C.showClose?(k(),Y(y(Ze),{key:2,class:q(y(a).e("closeBtn")),onClick:ft(x,["stop"])},{default:M(()=>[I(y(r))]),_:1},8,["class","onClick"])):Q("v-if",!0)],46,MSe),[[en,u.value]])]),_:3},8,["name","onBeforeLeave"]))}});var DSe=Ne(ISe,[["__file","message.vue"]]);let LSe=1;const uF=e=>{const t=!e||vt(e)||Dn(e)||st(e)?{message:e}:e,n={...qr,...t};if(!n.appendTo)n.appendTo=document.body;else if(vt(n.appendTo)){let r=document.querySelector(n.appendTo);Si(r)||(r=document.body),n.appendTo=r}return n},PSe=e=>{const t=ji.indexOf(e);if(t===-1)return;ji.splice(t,1);const{handler:n}=e;n.close()},RSe=({appendTo:e,...t},n)=>{const r=`message_${LSe++}`,a=t.onClose,i=document.createElement("div"),o={...t,id:r,onClose:()=>{a==null||a(),PSe(c)},onDestroy:()=>{$s(null,i)}},l=I(DSe,o,st(o.message)||Dn(o.message)?{default:st(o.message)?o.message:()=>o.message}:null);l.appContext=n||Ld._context,$s(l,i),e.appendChild(i.firstElementChild);const s=l.component,c={id:r,vnode:l,vm:s,handler:{close:()=>{s.exposed.visible.value=!1}},props:l.component.props};return c},Ld=(e={},t)=>{if(!Wt)return{close:()=>{}};if(ot(x4.max)&&ji.length>=x4.max)return{close:()=>{}};const n=uF(e);if(n.grouping&&ji.length){const a=ji.find(({vnode:i})=>{var o;return((o=i.props)==null?void 0:o.message)===n.message});if(a)return a.props.repeatNum+=1,a.props.type=n.type,a.handler}const r=RSe(n,t);return ji.push(r),r.handler};sF.forEach(e=>{Ld[e]=(t={},n)=>{const r=uF(t);return Ld({...r,type:e},n)}});function OSe(e){for(const t of ji)(!e||e===t.props.type)&&t.handler.close()}Ld.closeAll=OSe;Ld._context=null;const cF=pN(Ld,"$message"),NSe=te({name:"ElMessageBox",directives:{TrapFocus:Qfe},components:{ElButton:_r,ElFocusTrap:Sp,ElInput:Ur,ElOverlay:YS,ElIcon:Ze,...fS},inheritAttrs:!1,props:{buttonSize:{type:String,validator:gN},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:{default:!1,type:Boolean},container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(e,{emit:t}){const{locale:n,zIndex:r,ns:a,size:i}=Iy("message-box",L(()=>e.buttonSize)),{t:o}=n,{nextZIndex:l}=r,s=j(!1),u=nn({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:null,inputValidator:null,inputErrorMessage:"",message:null,modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:l()}),c=L(()=>{const N=u.type;return{[a.bm("icon",N)]:N&&js[N]}}),f=Vr(),d=Vr(),h=L(()=>u.icon||js[u.type]||""),v=L(()=>!!u.message),p=j(),g=j(),m=j(),b=j(),_=j(),w=L(()=>u.confirmButtonClass);ke(()=>u.inputValue,async N=>{await nt(),e.boxType==="prompt"&&N!==null&&D()},{immediate:!0}),ke(()=>s.value,N=>{var B,V;N&&(e.boxType!=="prompt"&&(u.autofocus?m.value=(V=(B=_.value)==null?void 0:B.$el)!=null?V:p.value:m.value=p.value),u.zIndex=l()),e.boxType==="prompt"&&(N?nt().then(()=>{var P;b.value&&b.value.$el&&(u.autofocus?m.value=(P=$())!=null?P:p.value:m.value=p.value)}):(u.editorErrorMessage="",u.validateError=!1))});const x=L(()=>e.draggable),S=L(()=>e.overflow);mN(p,g,x,S),bt(async()=>{await nt(),e.closeOnHashChange&&window.addEventListener("hashchange",C)}),wn(()=>{e.closeOnHashChange&&window.removeEventListener("hashchange",C)});function C(){s.value&&(s.value=!1,nt(()=>{u.action&&t("action",u.action)}))}const T=()=>{e.closeOnClickModal&&E(u.distinguishCancelAndClose?"close":"cancel")},z=TS(T),A=N=>{if(u.inputType!=="textarea")return N.preventDefault(),E("confirm")},E=N=>{var B;e.boxType==="prompt"&&N==="confirm"&&!D()||(u.action=N,u.beforeClose?(B=u.beforeClose)==null||B.call(u,N,u,C):C())},D=()=>{if(e.boxType==="prompt"){const N=u.inputPattern;if(N&&!N.test(u.inputValue||""))return u.editorErrorMessage=u.inputErrorMessage||o("el.messagebox.error"),u.validateError=!0,!1;const B=u.inputValidator;if(typeof B=="function"){const V=B(u.inputValue);if(V===!1)return u.editorErrorMessage=u.inputErrorMessage||o("el.messagebox.error"),u.validateError=!0,!1;if(typeof V=="string")return u.editorErrorMessage=V,u.validateError=!0,!1}}return u.editorErrorMessage="",u.validateError=!1,!0},$=()=>{const N=b.value.$refs;return N.input||N.textarea},O=()=>{E("close")},R=()=>{e.closeOnPressEscape&&O()};return e.lockScroll&&gS(s),{...Ar(u),ns:a,overlayEvent:z,visible:s,hasMessage:v,typeClass:c,contentId:f,inputId:d,btnSize:i,iconComponent:h,confirmButtonClasses:w,rootRef:p,focusStartRef:m,headerRef:g,inputRef:b,confirmRef:_,doClose:C,handleClose:O,onCloseRequested:R,handleWrapperClick:T,handleInputEnter:A,handleAction:E,t:o}}}),$Se=["aria-label","aria-describedby"],VSe=["aria-label"],BSe=["id"];function FSe(e,t,n,r,a,i){const o=se("el-icon"),l=se("close"),s=se("el-input"),u=se("el-button"),c=se("el-focus-trap"),f=se("el-overlay");return k(),Y(ir,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=d=>e.$emit("vanish")),persisted:""},{default:M(()=>[mt(I(f,{"z-index":e.zIndex,"overlay-class":[e.ns.is("message-box"),e.modalClass],mask:e.modal},{default:M(()=>[X("div",{role:"dialog","aria-label":e.title,"aria-modal":"true","aria-describedby":e.showInput?void 0:e.contentId,class:q(`${e.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...d)=>e.overlayEvent.onClick&&e.overlayEvent.onClick(...d)),onMousedown:t[9]||(t[9]=(...d)=>e.overlayEvent.onMousedown&&e.overlayEvent.onMousedown(...d)),onMouseup:t[10]||(t[10]=(...d)=>e.overlayEvent.onMouseup&&e.overlayEvent.onMouseup(...d))},[I(c,{loop:"",trapped:e.visible,"focus-trap-el":e.rootRef,"focus-start-el":e.focusStartRef,onReleaseRequested:e.onCloseRequested},{default:M(()=>[X("div",{ref:"rootRef",class:q([e.ns.b(),e.customClass,e.ns.is("draggable",e.draggable),{[e.ns.m("center")]:e.center}]),style:Be(e.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=ft(()=>{},["stop"]))},[e.title!==null&&e.title!==void 0?(k(),F("div",{key:0,ref:"headerRef",class:q([e.ns.e("header"),{"show-close":e.showClose}])},[X("div",{class:q(e.ns.e("title"))},[e.iconComponent&&e.center?(k(),Y(o,{key:0,class:q([e.ns.e("status"),e.typeClass])},{default:M(()=>[(k(),Y(It(e.iconComponent)))]),_:1},8,["class"])):Q("v-if",!0),X("span",null,U(e.title),1)],2),e.showClose?(k(),F("button",{key:0,type:"button",class:q(e.ns.e("headerbtn")),"aria-label":e.t("el.messagebox.close"),onClick:t[0]||(t[0]=d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=fn(ft(d=>e.handleAction(e.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[I(o,{class:q(e.ns.e("close"))},{default:M(()=>[I(l)]),_:1},8,["class"])],42,VSe)):Q("v-if",!0)],2)):Q("v-if",!0),X("div",{id:e.contentId,class:q(e.ns.e("content"))},[X("div",{class:q(e.ns.e("container"))},[e.iconComponent&&!e.center&&e.hasMessage?(k(),Y(o,{key:0,class:q([e.ns.e("status"),e.typeClass])},{default:M(()=>[(k(),Y(It(e.iconComponent)))]),_:1},8,["class"])):Q("v-if",!0),e.hasMessage?(k(),F("div",{key:1,class:q(e.ns.e("message"))},[me(e.$slots,"default",{},()=>[e.dangerouslyUseHTMLString?(k(),Y(It(e.showInput?"label":"p"),{key:1,for:e.showInput?e.inputId:void 0,innerHTML:e.message},null,8,["for","innerHTML"])):(k(),Y(It(e.showInput?"label":"p"),{key:0,for:e.showInput?e.inputId:void 0},{default:M(()=>[G(U(e.dangerouslyUseHTMLString?"":e.message),1)]),_:1},8,["for"]))])],2)):Q("v-if",!0)],2),mt(X("div",{class:q(e.ns.e("input"))},[I(s,{id:e.inputId,ref:"inputRef",modelValue:e.inputValue,"onUpdate:modelValue":t[2]||(t[2]=d=>e.inputValue=d),type:e.inputType,placeholder:e.inputPlaceholder,"aria-invalid":e.validateError,class:q({invalid:e.validateError}),onKeydown:fn(e.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),X("div",{class:q(e.ns.e("errormsg")),style:Be({visibility:e.editorErrorMessage?"visible":"hidden"})},U(e.editorErrorMessage),7)],2),[[en,e.showInput]])],10,BSe),X("div",{class:q(e.ns.e("btns"))},[e.showCancelButton?(k(),Y(u,{key:0,loading:e.cancelButtonLoading,class:q([e.cancelButtonClass]),round:e.roundButton,size:e.btnSize,onClick:t[3]||(t[3]=d=>e.handleAction("cancel")),onKeydown:t[4]||(t[4]=fn(ft(d=>e.handleAction("cancel"),["prevent"]),["enter"]))},{default:M(()=>[G(U(e.cancelButtonText||e.t("el.messagebox.cancel")),1)]),_:1},8,["loading","class","round","size"])):Q("v-if",!0),mt(I(u,{ref:"confirmRef",type:"primary",loading:e.confirmButtonLoading,class:q([e.confirmButtonClasses]),round:e.roundButton,disabled:e.confirmButtonDisabled,size:e.btnSize,onClick:t[5]||(t[5]=d=>e.handleAction("confirm")),onKeydown:t[6]||(t[6]=fn(ft(d=>e.handleAction("confirm"),["prevent"]),["enter"]))},{default:M(()=>[G(U(e.confirmButtonText||e.t("el.messagebox.confirm")),1)]),_:1},8,["loading","class","round","disabled","size"]),[[en,e.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,$Se)]),_:3},8,["z-index","overlay-class","mask"]),[[en,e.visible]])]),_:3})}var HSe=Ne(NSe,[["render",FSe],["__file","index.vue"]]);const I1=new Map,jSe=e=>{let t=document.body;return e.appendTo&&(vt(e.appendTo)&&(t=document.querySelector(e.appendTo)),Si(e.appendTo)&&(t=e.appendTo),Si(t)||(t=document.body)),t},qSe=(e,t,n=null)=>{const r=I(HSe,e,st(e.message)||Dn(e.message)?{default:st(e.message)?e.message:()=>e.message}:null);return r.appContext=n,$s(r,t),jSe(e).appendChild(t.firstElementChild),r.component},GSe=()=>document.createElement("div"),WSe=(e,t)=>{const n=GSe();e.onVanish=()=>{$s(null,n),I1.delete(a)},e.onAction=i=>{const o=I1.get(a);let l;e.showInput?l={value:a.inputValue,action:i}:l=i,e.callback?e.callback(l,r.proxy):i==="cancel"||i==="close"?e.distinguishCancelAndClose&&i!=="cancel"?o.reject("close"):o.reject("cancel"):o.resolve(l)};const r=qSe(e,n,t),a=r.proxy;for(const i in e)Ut(e,i)&&!Ut(a.$props,i)&&(a[i]=e[i]);return a.visible=!0,a};function ah(e,t=null){if(!Wt)return Promise.reject();let n;return vt(e)||Dn(e)?e={message:e}:n=e.callback,new Promise((r,a)=>{const i=WSe(e,t??ah._context);I1.set(i,{options:e,callback:n,resolve:r,reject:a})})}const USe=["alert","confirm","prompt"],YSe={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};USe.forEach(e=>{ah[e]=KSe(e)});function KSe(e){return(t,n,r,a)=>{let i="";return zt(n)?(r=n,i=""):Xn(n)?i="":i=n,ah(Object.assign({title:i,message:t,type:"",...YSe[e]},r,{boxType:e}),a)}}ah.close=()=>{I1.forEach((e,t)=>{t.doClose()}),I1.clear()};ah._context=null;const os=ah;os.install=e=>{os._context=e._context,e.config.globalProperties.$msgbox=os,e.config.globalProperties.$messageBox=os,e.config.globalProperties.$alert=os.alert,e.config.globalProperties.$confirm=os.confirm,e.config.globalProperties.$prompt=os.prompt};const XSe=os,fF=["success","info","warning","error"],ZSe=Oe({customClass:{type:String,default:""},dangerouslyUseHTMLString:{type:Boolean,default:!1},duration:{type:Number,default:4500},icon:{type:hn},id:{type:String,default:""},message:{type:he([String,Object]),default:""},offset:{type:Number,default:0},onClick:{type:he(Function),default:()=>{}},onClose:{type:he(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...fF,""],default:""},zIndex:Number}),JSe={destroy:()=>!0},QSe=["id"],e6e=["textContent"],t6e={key:0},n6e=["innerHTML"],r6e=te({name:"ElNotification"}),a6e=te({...r6e,props:ZSe,emits:JSe,setup(e,{expose:t}){const n=e,{ns:r,zIndex:a}=Iy("notification"),{nextZIndex:i,currentZIndex:o}=a,{Close:l}=cS,s=j(!1);let u;const c=L(()=>{const _=n.type;return _&&js[n.type]?r.m(_):""}),f=L(()=>n.type&&js[n.type]||n.icon),d=L(()=>n.position.endsWith("right")?"right":"left"),h=L(()=>n.position.startsWith("top")?"top":"bottom"),v=L(()=>{var _;return{[h.value]:`${n.offset}px`,zIndex:(_=n.zIndex)!=null?_:o.value}});function p(){n.duration>0&&({stop:u}=Ac(()=>{s.value&&m()},n.duration))}function g(){u==null||u()}function m(){s.value=!1}function b({code:_}){_===at.delete||_===at.backspace?g():_===at.esc?s.value&&m():p()}return bt(()=>{p(),i(),s.value=!0}),Sn(document,"keydown",b),t({visible:s,close:m}),(_,w)=>(k(),Y(ir,{name:y(r).b("fade"),onBeforeLeave:_.onClose,onAfterLeave:w[1]||(w[1]=x=>_.$emit("destroy")),persisted:""},{default:M(()=>[mt(X("div",{id:_.id,class:q([y(r).b(),_.customClass,y(d)]),style:Be(y(v)),role:"alert",onMouseenter:g,onMouseleave:p,onClick:w[0]||(w[0]=(...x)=>_.onClick&&_.onClick(...x))},[y(f)?(k(),Y(y(Ze),{key:0,class:q([y(r).e("icon"),y(c)])},{default:M(()=>[(k(),Y(It(y(f))))]),_:1},8,["class"])):Q("v-if",!0),X("div",{class:q(y(r).e("group"))},[X("h2",{class:q(y(r).e("title")),textContent:U(_.title)},null,10,e6e),mt(X("div",{class:q(y(r).e("content")),style:Be(_.title?void 0:{margin:0})},[me(_.$slots,"default",{},()=>[_.dangerouslyUseHTMLString?(k(),F(de,{key:1},[Q(" Caution here, message could've been compromised, never use user's input as message "),X("p",{innerHTML:_.message},null,8,n6e)],2112)):(k(),F("p",t6e,U(_.message),1))])],6),[[en,_.message]]),_.showClose?(k(),Y(y(Ze),{key:0,class:q(y(r).e("closeBtn")),onClick:ft(m,["stop"])},{default:M(()=>[I(y(l))]),_:1},8,["class","onClick"])):Q("v-if",!0)],2)],46,QSe),[[en,s.value]])]),_:3},8,["name","onBeforeLeave"]))}});var i6e=Ne(a6e,[["__file","notification.vue"]]);const nm={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},yw=16;let o6e=1;const Pd=function(e={},t=null){if(!Wt)return{close:()=>{}};(typeof e=="string"||Dn(e))&&(e={message:e});const n=e.position||"top-right";let r=e.offset||0;nm[n].forEach(({vm:c})=>{var f;r+=(((f=c.el)==null?void 0:f.offsetHeight)||0)+yw}),r+=yw;const a=`notification_${o6e++}`,i=e.onClose,o={...e,offset:r,id:a,onClose:()=>{l6e(a,n,i)}};let l=document.body;Si(e.appendTo)?l=e.appendTo:vt(e.appendTo)&&(l=document.querySelector(e.appendTo)),Si(l)||(l=document.body);const s=document.createElement("div"),u=I(i6e,o,Dn(o.message)?{default:()=>o.message}:null);return u.appContext=t??Pd._context,u.props.onDestroy=()=>{$s(null,s)},$s(u,s),nm[n].push({vm:u}),l.appendChild(s.firstElementChild),{close:()=>{u.component.exposed.visible.value=!1}}};fF.forEach(e=>{Pd[e]=(t={})=>((typeof t=="string"||Dn(t))&&(t={message:t}),Pd({...t,type:e}))});function l6e(e,t,n){const r=nm[t],a=r.findIndex(({vm:u})=>{var c;return((c=u.component)==null?void 0:c.props.id)===e});if(a===-1)return;const{vm:i}=r[a];if(!i)return;n==null||n(i);const o=i.el.offsetHeight,l=t.split("-")[0];r.splice(a,1);const s=r.length;if(!(s<1))for(let u=a;u<s;u++){const{el:c,component:f}=r[u].vm,d=Number.parseInt(c.style[l],10)-o-yw;f.props.offset=d}}function s6e(){for(const e of Object.values(nm))e.forEach(({vm:t})=>{t.component.exposed.visible.value=!1})}Pd.closeAll=s6e;Pd._context=null;const u6e=pN(Pd,"$notify");var c6e=[mSe,xSe,cF,XSe,u6e,UV],f6e=nse([...cSe,...c6e]);/*!
  76. * cookie
  77. * Copyright(c) 2012-2014 Roman Shtylman
  78. * Copyright(c) 2015 Douglas Christopher Wilson
  79. * MIT Licensed
  80. */var dF=h6e,zz=v6e,d6e=Object.prototype.toString,Sg=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function h6e(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var n={},r=t||{},a=r.decode||p6e,i=0;i<e.length;){var o=e.indexOf("=",i);if(o===-1)break;var l=e.indexOf(";",i);if(l===-1)l=e.length;else if(l<o){i=e.lastIndexOf(";",o-1)+1;continue}var s=e.slice(i,o).trim();if(n[s]===void 0){var u=e.slice(o+1,l).trim();u.charCodeAt(0)===34&&(u=u.slice(1,-1)),n[s]=y6e(u,a)}i=l+1}return n}function v6e(e,t,n){var r=n||{},a=r.encode||g6e;if(typeof a!="function")throw new TypeError("option encode is invalid");if(!Sg.test(e))throw new TypeError("argument name is invalid");var i=a(t);if(i&&!Sg.test(i))throw new TypeError("argument val is invalid");var o=e+"="+i;if(r.maxAge!=null){var l=r.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");o+="; Max-Age="+Math.floor(l)}if(r.domain){if(!Sg.test(r.domain))throw new TypeError("option domain is invalid");o+="; Domain="+r.domain}if(r.path){if(!Sg.test(r.path))throw new TypeError("option path is invalid");o+="; Path="+r.path}if(r.expires){var s=r.expires;if(!m6e(s)||isNaN(s.valueOf()))throw new TypeError("option expires is invalid");o+="; Expires="+s.toUTCString()}if(r.httpOnly&&(o+="; HttpOnly"),r.secure&&(o+="; Secure"),r.partitioned&&(o+="; Partitioned"),r.priority){var u=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(u){case"low":o+="; Priority=Low";break;case"medium":o+="; Priority=Medium";break;case"high":o+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var c=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(c){case!0:o+="; SameSite=Strict";break;case"lax":o+="; SameSite=Lax";break;case"strict":o+="; SameSite=Strict";break;case"none":o+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return o}function p6e(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function g6e(e){return encodeURIComponent(e)}function m6e(e){return d6e.call(e)==="[object Date]"||e instanceof Date}function y6e(e,t){try{return t(e)}catch{return e}}function b6e(){const e=typeof global>"u"?void 0:global.TEST_HAS_DOCUMENT_COOKIE;return typeof e=="boolean"?e:typeof document=="object"&&typeof document.cookie=="string"}function _6e(e){return typeof e=="string"?dF(e):typeof e=="object"&&e!==null?e:{}}function Cb(e,t={}){const n=w6e(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function w6e(e){return e&&e[0]==="j"&&e[1]===":"?e.substr(2):e}class Tb{constructor(t,n={}){this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.update=()=>{if(!this.HAS_DOCUMENT_COOKIE)return;const a=this.cookies;this.cookies=dF(document.cookie),this._checkChanges(a)};const r=typeof document>"u"?"":document.cookie;this.cookies=_6e(t||r),this.defaultSetOptions=n,this.HAS_DOCUMENT_COOKIE=b6e()}_emitChange(t){for(let n=0;n<this.changeListeners.length;++n)this.changeListeners[n](t)}_checkChanges(t){new Set(Object.keys(t).concat(Object.keys(this.cookies))).forEach(r=>{t[r]!==this.cookies[r]&&this._emitChange({name:r,value:Cb(this.cookies[r])})})}_startPolling(){this.pollingInterval=setInterval(this.update,300)}_stopPolling(){this.pollingInterval&&clearInterval(this.pollingInterval)}get(t,n={}){return n.doNotUpdate||this.update(),Cb(this.cookies[t],n)}getAll(t={}){t.doNotUpdate||this.update();const n={};for(let r in this.cookies)n[r]=Cb(this.cookies[r],t);return n}set(t,n,r){r?r=Object.assign(Object.assign({},this.defaultSetOptions),r):r=this.defaultSetOptions;const a=typeof n=="string"?n:JSON.stringify(n);this.cookies=Object.assign(Object.assign({},this.cookies),{[t]:a}),this.HAS_DOCUMENT_COOKIE&&(document.cookie=zz(t,a,r)),this._emitChange({name:t,value:n,options:r})}remove(t,n){const r=n=Object.assign(Object.assign(Object.assign({},this.defaultSetOptions),n),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=Object.assign({},this.cookies),delete this.cookies[t],this.HAS_DOCUMENT_COOKIE&&(document.cookie=zz(t,"",r)),this._emitChange({name:t,value:void 0,options:n})}addChangeListener(t){this.changeListeners.push(t),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===1&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.addEventListener("change",this.update):this._startPolling())}removeChangeListener(t){const n=this.changeListeners.indexOf(t);n>=0&&this.changeListeners.splice(n,1),this.HAS_DOCUMENT_COOKIE&&this.changeListeners.length===0&&(typeof window=="object"&&"cookieStore"in window?window.cookieStore.removeEventListener("change",this.update):this._stopPolling())}}var Ve;(e=>{function t(c){cF({message:tt("p",null,[tt("i",{style:"color: black"},c)])})}e.showMessage=t;function n(c){let f="info";return c=="木"?f="success":c=="火"?f="danger":c=="土"?f="info":c=="金"?f="warning":c=="水"&&(f="primary"),f}e.getTextTypeOfWuXing=n;function r(c){let f="?";switch(c){case 100:f="旺";break;case 80:f="相";break;case 60:f="休";break;case 40:f="囚";break;case 20:f="死";break}return f}e.getPowerState=r;function a(c){let f="#909399";return c=="木"?f="#67C23A":c=="火"?f="#F56C6C":c=="土"?f="#909399":c=="金"?f="#E6A23C":c=="水"&&(f="#409EFF"),f}e.getColorByWuXing=a;function i(c){let f="info";return c=="合"?f="success":c=="穿"?f="danger":["刑","冲","破"].indexOf(c)!=-1?f="warning":["半合","拱合"].indexOf(c)!=-1&&(f="primary"),f}e.getColorByGaoNeng=i;function o(c,f){setTimeout(c,f)}e.delay=o;function l(c,f,d=1e3*60*60*24*7){new Tb().set(c,f,{path:"/",expires:new Date(Date.now()+d)})}e.setCookie=l;function s(c){return new Tb().get(c)}e.getCookie=s;function u(c){new Tb().remove(c,{path:"/"})}e.removeCookie=u})(Ve||(Ve={}));const x6e={align:"left",style:{"margin-top":"10px"}},S6e={key:1,align:"left",style:{"margin-top":"10px"}},C6e=te({__name:"NongLi",setup(e,{expose:t}){t({getData:function(){let p=new NZ;return p.year=n.value,p.month=r.value,p.day=a.value,p.hourMode=l.value,p.hourMode==1?(p.hour=d(c.value),p.minute=0):p.hourMode==2?(p.hour=null,p.minute=null):(p.hour=s.value,p.minute=u.value),p},setData(p){n.value=p.nongli_year,Ve.delay(function(){r.value=p.nongli_month,Ve.delay(function(){a.value=p.nongli_day,l.value=p.hourMode,p.hourMode==1&&(l.value=0),s.value=p.hour,u.value=p.minute},100)},100)}});let n=j(2e3),r=j("正月"),a=j("初一"),i=j([]),o=j([]),l=j(0),s=j(0),u=j(0),c=j(0);function f(p,g){let m=[];for(let b=p;b<=g;b++)m.push(b);return m}function d(p){let g=null;return p!=-1&&(p==0?g=23:g=p*2-1),g}function h(){i.value=H.getNontLiMonths(n.value),r.value="正月",v()}function v(){o.value=H.getNongLiDays(n.value,r.value),a.value="初一"}return bt(function(){i.value=H.getNontLiMonths(n.value),o.value=H.getNongLiDays(n.value,r.value)}),(p,g)=>{const m=se("el-option"),b=se("el-select"),_=se("el-space"),w=se("el-radio"),x=se("el-radio-group"),S=se("el-radio-button");return k(),F(de,null,[I(_,null,{default:M(()=>[I(b,{modelValue:y(n),"onUpdate:modelValue":g[0]||(g[0]=C=>ct(n)?n.value=C:n=C),style:{width:"100px"},onChange:h,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(f(1900,2030),C=>(k(),Y(m,{value:C,label:C+"年"},{default:M(()=>[G(U(C)+"年 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(b,{modelValue:y(r),"onUpdate:modelValue":g[1]||(g[1]=C=>ct(r)?r.value=C:r=C),style:{width:"100px"},onChange:v,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(y(i),C=>(k(),Y(m,{value:C,label:C},{default:M(()=>[G(U(C),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(b,{modelValue:y(a),"onUpdate:modelValue":g[2]||(g[2]=C=>ct(a)?a.value=C:a=C),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(y(o),C=>(k(),Y(m,{value:C,label:C},{default:M(()=>[G(U(C),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),X("div",x6e,[I(x,{modelValue:y(l),"onUpdate:modelValue":g[3]||(g[3]=C=>ct(l)?l.value=C:l=C)},{default:M(()=>[I(w,{value:0},{default:M(()=>[G("知道时辰")]),_:1}),I(w,{value:1},{default:M(()=>[G("地支时辰")]),_:1}),I(w,{value:2},{default:M(()=>[G("不知时辰")]),_:1})]),_:1},8,["modelValue"])]),y(l)==0?(k(),Y(_,{key:0,style:{"margin-top":"10px"}},{default:M(()=>[I(b,{modelValue:y(s),"onUpdate:modelValue":g[4]||(g[4]=C=>ct(s)?s.value=C:s=C),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(f(0,23),C=>(k(),Y(m,{value:C,label:C+"时"},{default:M(()=>[G(U(C)+"时 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"]),I(b,{modelValue:y(u),"onUpdate:modelValue":g[5]||(g[5]=C=>ct(u)?u.value=C:u=C),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),F(de,null,we(f(0,59),C=>(k(),Y(m,{value:C,label:C+"分"},{default:M(()=>[G(U(C)+"分 ",1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1})):Q("",!0),y(l)==1?(k(),F("div",S6e,[I(x,{modelValue:y(c),"onUpdate:modelValue":g[6]||(g[6]=C=>ct(c)?c.value=C:c=C)},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).dizhiAry,(C,T)=>(k(),Y(S,{value:T},{default:M(()=>[G(U(C),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])])):Q("",!0)],64)}}});var Co;(e=>{let t=new Map;e.debugMode=!0;function n(){var p={userAgent:navigator.userAgent,screenResolution:[screen.width,screen.height],colorDepth:screen.colorDepth,timezoneOffset:new Date().getTimezoneOffset(),language:navigator.language};return p}function r(p,g,m){let b=new $Z;b.account=p,b.password=g;let _=n();b.userAgent=_.userAgent.toString(),b.screenResolution=_.screenResolution.toString(),b.colorDepth=_.colorDepth.toString(),b.timezoneOffset=_.timezoneOffset.toString(),b.language=_.language.toString(),v(d()+"login",h(b),function(w){try{let x=O5.build(w);x.code>0?(Ve.setCookie("yx_uname",x.name),Ve.setCookie("yx_token",x.token),Ve.setCookie("yx_uid",x.uid)):(Ve.removeCookie("yx_uname"),Ve.removeCookie("yx_token"),Ve.removeCookie("yx_uid")),m&&m(x)}catch(x){console.error(x),m&&m(null)}})}e.login=r;function a(p,g,m,b,_){let w=Ve.getCookie("yx_token");if(w==null){Ve.showMessage("用户信息有误,请重新登录后重试");return}let x=new VZ;x.token=w,x.uid=Ve.getCookie("yx_uid"),x.name=p,x.isMan=g,x.year=m.year,x.month=m.month,x.day=m.day,x.hourMode=m.hourMode,x.hour=m.hour,x.minute=m.minute,x.areaMode=b.mode,x.sheng=b.sheng,x.shi=b.shi,x.qu=b.qu,v(d()+"getSiZhu",h(x),function(S){try{let C=f(S);_&&_(C)}catch(C){console.error(C),_&&_(-200)}})}e.requestByXinLi=a;function i(p,g,m,b,_){let w=Ve.getCookie("yx_token");if(w==null){Ve.showMessage("用户信息有误,请重新登录后重试");return}let x=new BZ;x.uid=Ve.getCookie("yx_uid"),x.token=w,x.name=p,x.isMan=g,x.year=m.year,x.month=m.month,x.day=m.day,x.hourMode=m.hourMode,x.hour=m.hour,x.minute=m.minute,x.areaMode=b.mode,x.sheng=b.sheng,x.shi=b.shi,x.qu=b.qu,v(d()+"getSiZhuByNongLi",h(x),function(S){try{let C=f(S);_&&_(C)}catch(C){console.error(C),_&&_(-200)}})}e.requestByNongLi=i;function o(p,g,m,b){let _=Ve.getCookie("yx_token");if(_==null){Ve.showMessage("用户信息有误,请重新登录后重试");return}let w=new FZ;w.uid=Ve.getCookie("yx_uid"),w.token=_,w.name=p,w.isMan=g,w.niangan=m.niangan,w.nianzhi=m.nianzhi,w.yuegan=m.yuegan,w.yuezhi=m.yuezhi,w.rigan=m.rigan,w.rizhi=m.rizhi,w.shigan=m.shigan,w.shizhi=m.shizhi,w.hourMode=m.hourMode,w.ignoreError=m.ignoreError,v(d()+"getSiZhuByTexts",h(w),function(x){try{let S=JSON.parse(x);if(S.code<0){let C=N5.build(S.data);b&&b(C,S.code)}else{let C=f(x);b&&b(null,C)}}catch(S){console.error(S),b&&b(null,-200)}})}e.requestBySiZhu=o;function l(p,g){v(d()+"saveUser",h(p),function(m){try{let _=JSON.parse(m).data,w=[];_.forEach(function(x){let S=new D0;c(S,x),w.push(S)}),H.ownerUsers.value=w,console.log("共获得",H.ownerUsers.value.length,"条数据"),g&&g()}catch(b){console.error(b),g&&g()}})}e.saveUser=l;function s(p){let g=new HZ;g.owner_id=H.owernId,v(d()+"loadUser",h(g),function(m){try{let _=JSON.parse(m).data,w=[];_.forEach(function(x){let S=new D0;c(S,x),w.push(S)}),H.ownerUsers.value=w,console.log("共获得",H.ownerUsers.value.length,"条数据")}catch(b){console.error(b)}p&&p()})}e.loadUsers=s;function u(p){let g=new jZ;g.owner_id=H.owernId,g.user_id=p,v(d()+"deleteUser",h(g),function(m){try{let _=JSON.parse(m).data,w=[];_.forEach(function(x){let S=new D0;c(S,x),w.push(S)}),H.ownerUsers.value=w,console.log("共获得",H.ownerUsers.value.length,"条数据")}catch(b){console.error(b)}})}e.deleteUser=u;function c(p,g){Object.keys(g).forEach(function(m){p[m]=g[m]})}function f(p){let g=JSON.parse(p);if(console.log("raw:",g),g.code==-100)return Ve.showMessage("token有误,请登出后重试"),-100;if(g.code==-200)return-200;let m=XZ.build(g.data);return H.bazi.value=m,H.powerMode.value=1,H.dayunIndex.value=null,H.curDaYun.value=null,H.curLiuNianList.value=[],H.liunianIndex.value=null,H.curLiuNian.value=null,H.liuyueIndex.value=null,H.curLiuYue.value=null,H.liuriIndex.value=null,H.curLiuRi.value=null,H.includeDaYunInGeJu.value=!1,H.includeLiuNianInGeJu.value=!1,H.selectedDaYunInGeJu.value=null,H.selectedLiuNianInGeJu.value=null,H.calcQuShi(),H.calcRiYunShi(),200}function d(){return e.debugMode?"http://127.0.0.1:13008/wx/":"https://yixuefrp.cxhy.cn/wx/"}function h(p){let g={};return Object.keys(p).forEach(function(m){g[m]=p[m]}),g}e.beanToObject=h;function v(p,g,m){let b=Date.now(),_=!1;if(!t.has(p))t.set(p,b),_=!0;else{let S=t.get(p);b-S>1e3&&(t.set(p,b),_=!0)}if(!_){m&&m(null),Ve.showMessage("操作太快了,请慢一点");return}let w=new XMLHttpRequest;w.open("POST",p,!0),w.setRequestHeader("Content-Type","application/json");let x=JSON.stringify(g);w.onreadystatechange=function(){w.readyState==XMLHttpRequest.DONE&&(w.status==200?m&&m(w.responseText):console.error(w.statusText))},w.send(x)}})(Co||(Co={}));const hF=e=>(lR("data-v-3391ed6e"),e=e(),sR(),e),T6e={align:"left",style:{"margin-bottom":"15px",position:"relative"}},k6e={align:"left",style:{padding:"10px"}},z6e={align:"left"},M6e=hF(()=>X("br",null,null,-1)),A6e={key:0,align:"left"},E6e={key:1,align:"left"},I6e={key:2,align:"left"},D6e={style:{"margin-top":"10px"}},L6e=hF(()=>X("br",null,null,-1)),P6e={align:"left"},R6e=te({__name:"BaseInfo",setup(e,{expose:t}){let n=j(0),r=j(),a=j(),i=j(),o=j(),l=j(!0),s=j("测试用户"),u=j(!1),c=j("info"),f=j(!0),d=j(!0),h=j(!1),v=j(!1),p=j(),g=j(""),m=j(!1),b=j();t({setUserData(O){_(O)}});function _(O){c.value="info",s.value=O.name,g.value=O.extra,l.value=O.isMan,n.value=O.dateMode,Ve.delay(function(){O.dateMode==0?(r.value.setData(O),a.value.setData(O)):O.dateMode==1?(o.value.setData(O),a.value.setData(O)):O.dateMode==2&&i.value.setData(O)},300)}function w(){if(s.value.length==0){Ve.showMessage("用户名不能为空");return}if(f.value=!0,d.value=!1,v.value=!1,h.value=!1,n.value==0){let O=r.value.getData(),R=a.value.getData();m.value=!0,c.value="",Co.requestByXinLi(s.value.trim(),l.value,O,R,function(N){N>0?(m.value=!1,x()):N==-200&&($(),Ve.showMessage("账号在别处登录,请登出后重试"))})}else if(n.value==1){let O=o.value.getData(),R=a.value.getData();m.value=!0,c.value="",Co.requestByNongLi(s.value.trim(),l.value,O,R,function(N){N>0?(m.value=!1,x()):N==-200&&($(),Ve.showMessage("账号在别处登录,请登出后重试"))})}else if(n.value==2){let O=i.value.getData();m.value=!0,Co.requestBySiZhu(s.value.trim(),l.value,O,function(R,N){if(R==null&&(c.value="",x()),N==-200){$(),Ve.showMessage("账号在别处登录,请登出后重试");return}p.value=R,m.value=!1})}}function x(){let O=5,R=A();H.historyUser.value!=null&&(H.historyUser.value.length>=O&&(H.historyUser.value.splice(O-1,1),H.historyBaZi.value.splice(O-1,1)),H.historyUser.value.unshift(R),H.historyBaZi.value.unshift(H.bazi.value))}function S(){u.value?s.value.trim().length>0&&(u.value=!1):u.value=!0}function C(){let O=1,R=d.value==!0?2:0,N=v.value==!0?4:0,B=h.value==!0?8:0;H.powerMode.value=O+R+N+B}function T(){let O="";return p.value!=null&&p.value.error&&(p.value.adv_nian.length>0?(O="年支有误,请使用:",O+=p.value.adv_nian):p.value.adv_yue.length>0?(O="月支有误,请使用:",O+=p.value.adv_yue):p.value.adv_ri.length>0?(O="日支有误,请使用:",O+=p.value.adv_ri):p.value.adv_shi.length>0&&(O="时支有误,请使用:",O+=p.value.adv_shi)),O}function z(){if(H.bazi.value==null){Ve.showMessage("请先获取用户信息后再保存!");return}let O=A();Co.saveUser(O,function(){Ve.showMessage("用户信息已保存")})}function A(){let O=new D0;return O.name=s.value.trim(),O.dateMode=n.value,O.extra=g.value.trim(),O.owner_id=H.owernId,O.fillData(H.bazi.value),O}function E(O){let R=O.name+" "+O.extra+" "+(O.isMan?"男":"女")+" ";return O.dateMode==0?(R+=O.year.toString()+"-"+O.month.toString()+"-"+O.day.toString()+" ",O.hourMode==0&&(R+=O.hour.toString()+":"+O.minute.toString()+" ")):O.dateMode==1&&(R+=O.nongli_year.toString()+" "+O.nongli_month+" "+O.nongli_day+" "),O.areaMode==0&&(R+=O.sheng+"-"+O.shi+"-"+O.qu+" "),R}function D(){if(H.historyUser.value!=null)try{let O=H.historyUser.value[b.value];_(O),H.bazi.value=H.historyBaZi.value[b.value]}catch(O){console.error(O)}}function $(){Ve.removeCookie("yx_uname"),Ve.removeCookie("yx_token"),IC.push({name:"login"})}return(O,R)=>{const N=se("el-text"),B=se("el-button"),V=se("el-switch"),P=se("el-input"),W=se("el-space"),Z=se("el-radio"),ee=se("el-radio-group"),re=se("el-collapse-item"),ue=se("el-collapse"),ye=se("el-popconfirm"),le=se("el-checkbox"),ae=se("el-divider"),ie=se("el-col"),ve=se("el-option"),ce=se("el-select"),fe=se("el-row"),xe=se("el-card");return k(),Y(xe,null,{footer:M(()=>[X("div",P6e,[I(W,{style:{width:"100%",position:"relative"}},{default:M(()=>[I(B,{disabled:y(m),type:"primary",onClick:w},{default:M(()=>[G("获取信息")]),_:1},8,["disabled"]),y(H).bazi.value!=null?(k(),Y(ye,{key:0,title:"确认保存吗?","confirm-button-text":"是","cancel-button-text":"否",onConfirm:R[6]||(R[6]=J=>z())},{reference:M(()=>[I(B,{disabled:y(m),type:"success"},{default:M(()=>[G("保存用户")]),_:1},8,["disabled"])]),_:1})):Q("",!0),G("   "),I(N,null,{default:M(()=>[G("力量计算:")]),_:1}),I(le,{modelValue:y(f),"onUpdate:modelValue":R[7]||(R[7]=J=>ct(f)?f.value=J:f=J),disabled:""},{default:M(()=>[G("原局")]),_:1},8,["modelValue"]),I(le,{modelValue:y(d),"onUpdate:modelValue":R[8]||(R[8]=J=>ct(d)?d.value=J:d=J),onChange:C},{default:M(()=>[G("高能")]),_:1},8,["modelValue"]),I(le,{modelValue:y(v),"onUpdate:modelValue":R[9]||(R[9]=J=>ct(v)?v.value=J:v=J),onChange:C},{default:M(()=>[G("墓库")]),_:1},8,["modelValue"]),I(W,{style:{position:"absolute",top:"-10px",right:"0px"},direction:"vertical"},{default:M(()=>[I(W,null,{default:M(()=>[I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.nian_gan.text),1)]}),_:1}),I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.yue_gan.text),1)]}),_:1}),I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.ri_gan.text),1)]}),_:1}),I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.shi_gan.text),1)]}),_:1})]),_:1}),I(W,null,{default:M(()=>[I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.nian_zhi.text),1)]}),_:1}),I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.yue_zhi.text),1)]}),_:1}),I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.ri_zhi.text),1)]}),_:1}),I(N,null,{default:M(()=>{var J;return[G(U((J=y(H).bazi.value)==null?void 0:J.shi_zhi.text),1)]}),_:1})]),_:1})]),_:1})]),_:1})]),I(ae),I(fe,{style:{width:"100%"},align:"middle"},{default:M(()=>[I(ie,{span:4},{default:M(()=>[I(N,null,{default:M(()=>[G("最近操作的用户:")]),_:1})]),_:1}),I(ie,{span:17},{default:M(()=>[I(ce,{onChange:R[10]||(R[10]=J=>D()),modelValue:y(b),"onUpdate:modelValue":R[11]||(R[11]=J=>ct(b)?b.value=J:b=J)},{default:M(()=>[(k(!0),F(de,null,we(y(H).historyUser.value,(J,oe)=>(k(),Y(ve,{value:oe,label:E(J)},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(ie,{span:3},{default:M(()=>[I(B,{onClick:R[12]||(R[12]=J=>{y(H).historyUser.value=[],ct(b)?b.value=null:b=null})},{default:M(()=>[G("清空")]),_:1})]),_:1})]),_:1})]),default:M(()=>[X("div",T6e,[I(N,{tag:"b",size:"large"},{default:M(()=>[G("当前用户:"+U(y(Ve).getCookie("yx_uname")),1)]),_:1}),I(B,{onClick:R[0]||(R[0]=J=>$()),style:{right:"0",position:"absolute"}},{default:M(()=>[G("登出")]),_:1})]),I(ue,{modelValue:y(c),"onUpdate:modelValue":R[5]||(R[5]=J=>ct(c)?c.value=J:c=J)},{default:M(()=>[X("div",k6e,[I(W,null,{default:M(()=>[I(V,{modelValue:y(l),"onUpdate:modelValue":R[1]||(R[1]=J=>ct(l)?l.value=J:l=J),disabled:y(m),"inline-prompt":"",style:{"--el-switch-off-color":"#ff4949"},"active-text":"乾","inactive-text":"坤",size:"large"},null,8,["modelValue","disabled"]),G("   "),y(u)?Q("",!0):(k(),Y(N,{key:0,tag:"b",size:"large"},{default:M(()=>[G(U(y(s))+"   "+U(y(g))+"  ",1)]),_:1})),y(u)?(k(),Y(P,{key:1,disabled:y(m),placeholder:"请输入用户名",modelValue:y(s),"onUpdate:modelValue":R[2]||(R[2]=J=>ct(s)?s.value=J:s=J)},null,8,["disabled","modelValue"])):Q("",!0),y(u)?(k(),Y(P,{key:2,disabled:y(m),placeholder:"备注信息",modelValue:y(g),"onUpdate:modelValue":R[3]||(R[3]=J=>ct(g)?g.value=J:g=J)},null,8,["disabled","modelValue"])):Q("",!0),I(B,{type:y(u)?"success":null,disabled:y(m),onClick:S},{default:M(()=>[G(U(y(u)?"确定":"编辑"),1)]),_:1},8,["type","disabled"]),G("   "),I(N,{tag:"b"},{default:M(()=>{var J;return[G("太阳时:"+U((J=y(H).bazi.value)==null?void 0:J.tai_yang_shi),1)]}),_:1})]),_:1})]),I(re,{name:"info"},{title:M(()=>[y(c).length==0?(k(),Y(N,{key:0,type:"primary"},{default:M(()=>[G("点击展开更多信息")]),_:1})):Q("",!0)]),default:M(()=>[X("div",z6e,[I(ee,{modelValue:y(n),"onUpdate:modelValue":R[4]||(R[4]=J=>ct(n)?n.value=J:n=J)},{default:M(()=>[I(Z,{value:0},{default:M(()=>[G("新历(阳历)")]),_:1}),I(Z,{value:1},{default:M(()=>[G("农历(阳历)")]),_:1}),I(Z,{value:2},{default:M(()=>[G("四柱")]),_:1})]),_:1},8,["modelValue"])]),M6e,y(n)==0?(k(),F("div",A6e,[I(QZ,{ref_key:"xinliCompt",ref:r},null,512)])):Q("",!0),y(n)==1?(k(),F("div",E6e,[I(C6e,{ref_key:"nongliCompt",ref:o},null,512)])):Q("",!0),y(n)==2?(k(),F("div",I6e,[I(iJ,{ref_key:"sizhuCompt",ref:i},null,512),X("div",D6e,[I(N,{type:"danger"},{default:M(()=>[G(U(T()),1)]),_:1})])])):Q("",!0),L6e,y(n)!=2?(k(),Y(aJ,{key:3,ref_key:"areaCompt",ref:a},null,512)):Q("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),O6e=Mi(R6e,[["__scopeId","data-v-3391ed6e"]]),vF=e=>(lR("data-v-7c9192cc"),e=e(),sR(),e),N6e={class:"grid-container"},$6e={class:"grid-container"},V6e=vF(()=>X("br",null,null,-1)),B6e={class:"grid-container",style:{"margin-top":"-20px"}},F6e={class:"grid-container"},H6e=vF(()=>X("br",null,null,-1)),j6e={class:"grid-container",style:{"margin-top":"-20px"}},q6e={class:"grid-container",style:{"margin-top":"-10px"}},G6e={class:"grid-container",style:{"margin-top":"-10px"}},W6e=te({__name:"BaZiInfo",setup(e){let t=j(["年柱","月柱","日柱","时柱"]),n=L(function(){let o=[];return H.bazi.value!=null&&(o.push(H.bazi.value.nian_gan),o.push(H.bazi.value.yue_gan),o.push(H.bazi.value.ri_gan),o.push(H.bazi.value.shi_gan)),o}),r=L(function(){let o=[];return H.bazi.value!=null&&(o.push(H.bazi.value.nian_zhi),o.push(H.bazi.value.yue_zhi),o.push(H.bazi.value.ri_zhi),o.push(H.bazi.value.shi_zhi)),o});function a(o){return["半合","拱合","三会"].indexOf(o)!=-1}function i(o){let l=0;return H.bazi.value!=null&&(l=H.bazi.value.powerDetail.getPower(o)),l}return(o,l)=>{const s=se("el-text"),u=se("el-space"),c=se("el-card");return k(),Y(c,null,{default:M(()=>[X("div",N6e,[(k(!0),F(de,null,we(y(t),f=>(k(),Y(s,null,{default:M(()=>[G(U(f),1)]),_:2},1024))),256))]),X("div",$6e,[(k(!0),F(de,null,we(y(n),f=>(k(),Y(s,{type:y(Ve).getTextTypeOfWuXing(f.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(f.text)+" ",1),I(s,null,{default:M(()=>[G(U(f.shi_shen),1)]),_:2},1024),V6e,I(s,{tag:"ins",size:"small"},{default:M(()=>[G(U(i(f.shi_shen).toFixed(0)),1)]),_:2},1024)]),_:2},1032,["type"]))),256))]),X("div",B6e,[(k(!0),F(de,null,we(y(n),f=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[(k(!0),F(de,null,we(f.gaonengs,d=>(k(),Y(s,{type:y(Ve).getColorByGaoNeng(d.guanxi)},{default:M(()=>[G(U(d.text)+U(d.sign)+" ",1),a(d.guanxi)?(k(),Y(s,{key:0,type:y(Ve).getColorByGaoNeng(d.guanxi),size:"small"},{default:M(()=>[G(U(d.fangxiang)+"("+U(d.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0)]),_:2},1032,["type"]))),256)),f.gaonengs.length==0?(k(),Y(s,{key:0},{default:M(()=>[G(" ")]),_:1})):Q("",!0)]),_:2},1024))),256))]),X("div",F6e,[(k(!0),F(de,null,we(y(r),f=>(k(),Y(s,{type:y(Ve).getTextTypeOfWuXing(f.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(f.text)+" ",1),I(s,null,{default:M(()=>[G(U(f.shi_shen)+" ",1),f.is_muku?(k(),Y(s,{key:0,size:"small"},{default:M(()=>[G(U(f.is_muku_open?"(开)":"(闭)"),1)]),_:2},1024)):Q("",!0)]),_:2},1024),H6e,I(s,{tag:"ins",size:"small"},{default:M(()=>[G(U(i(f.shi_shen).toFixed(0)),1)]),_:2},1024)]),_:2},1032,["type"]))),256))]),X("div",j6e,[(k(!0),F(de,null,we(y(r),f=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[f.cang_gan1!=null?(k(),Y(s,{key:0,type:y(Ve).getTextTypeOfWuXing(f.gan1_wu_xing)},{default:M(()=>[G(U(f.cang_gan1)+"("+U(f.gan1_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),f.cang_gan2!=null?(k(),Y(s,{key:1,type:y(Ve).getTextTypeOfWuXing(f.gan2_wu_xing)},{default:M(()=>[G(U(f.cang_gan2)+"("+U(f.gan2_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),f.cang_gan3!=null?(k(),Y(s,{key:2,type:y(Ve).getTextTypeOfWuXing(f.gan3_wu_xing)},{default:M(()=>[G(U(f.cang_gan3)+"("+U(f.gan3_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),f.cang_gan1==null?(k(),Y(s,{key:3},{default:M(()=>[G(" ")]),_:1})):Q("",!0)]),_:2},1024))),256))]),X("div",q6e,[(k(!0),F(de,null,we(y(r),f=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[(k(!0),F(de,null,we(f.gaonengs,d=>(k(),Y(s,{type:y(Ve).getColorByGaoNeng(d.guanxi)},{default:M(()=>[G(U(d.text)+U(d.sign)+" ",1),a(d.guanxi)?(k(),Y(s,{key:0,type:y(Ve).getColorByGaoNeng(d.guanxi),size:"small"},{default:M(()=>[G(U(d.fangxiang)+"("+U(d.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0)]),_:2},1032,["type"]))),256)),f.gaonengs.length==0?(k(),Y(s,{key:0},{default:M(()=>[G(" ")]),_:1})):Q("",!0)]),_:2},1024))),256))]),X("div",G6e,[(k(!0),F(de,null,we(y(r),f=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[(k(!0),F(de,null,we(f.shenshas,d=>(k(),Y(s,null,{default:M(()=>[G(U(d),1)]),_:2},1024))),256)),f.shenshas.length==0?(k(),Y(s,{key:0},{default:M(()=>[G(" ")]),_:1})):Q("",!0)]),_:2},1024))),256))])]),_:1})}}}),U6e=Mi(W6e,[["__scopeId","data-v-7c9192cc"]]),Y6e={class:"grid-container-5"},K6e=te({__name:"PowerInfo",setup(e){let t=L(function(){let u=[];if(H.bazi.value!=null){let c=H.bazi.value.power_steps,f=["木","火","土","金","水"];c.forEach(function(d,h){if(f.indexOf(h)!=-1){let v=Ve.getPowerState(d);u.push(h+v)}})}return u}),n=["木","火","土","金","水"];function r(u){let c=0;return H.bazi.value!=null&&(c=H.bazi.value.powerDetail.getPower(u)),c.toFixed(0)}function a(u){let c=0;if(H.bazi.value!=null){let f=H.bazi.value.powerDetail;c=Math.round(f.getPower(u)*100/f.getWuXingTotal())}return c}function i(u){let c=0;if(H.bazi.value!=null){let f=H.bazi.value.powerDetail;c=Math.round(f.getPower(u)*100/f.getShiShenTotal())}return c}function o(u){let c=[];return H.bazi.value!=null&&(c=H.bazi.value.shishen_guanxi.get(u)),c}function l(u){let c=!1;return H.bazi.value!=null&&H.bazi.value.ri_zhi.shi_shen==u&&(c=!0),c}function s(u){let c=0;return H.bazi.value!=null?(u?c=H.bazi.value.tong_dang:c=H.bazi.value.yi_dang,Math.round(c*100/(H.bazi.value.tong_dang+H.bazi.value.yi_dang))):0}return(u,c)=>{const f=se("el-text"),d=se("el-col"),h=se("el-progress"),v=se("el-row"),p=se("el-card");return k(),Y(p,null,{header:M(()=>[I(v,{align:"middle",style:{"margin-top":"10px"}},{default:M(()=>[I(d,{span:3},{default:M(()=>[I(f,null,{default:M(()=>[G("同党:")]),_:1})]),_:1}),I(d,{span:21,align:"left"},{default:M(()=>[I(h,{percentage:s(!0)},null,8,["percentage"])]),_:1})]),_:1}),I(v,{align:"middle",style:{"margin-top":"10px"}},{default:M(()=>[I(d,{span:3},{default:M(()=>[I(f,null,{default:M(()=>[G("异党:")]),_:1})]),_:1}),I(d,{span:21,align:"left"},{default:M(()=>[I(h,{color:"#67C23A",percentage:s(!1)},null,8,["percentage"])]),_:1})]),_:1})]),default:M(()=>[X("div",Y6e,[(k(!0),F(de,null,we(y(t),g=>(k(),Y(f,{size:"large"},{default:M(()=>[G(U(g),1)]),_:2},1024))),256))]),(k(!0),F(de,null,we(y(n),g=>(k(),Y(v,{style:{"margin-top":"20px"}},{default:M(()=>[I(d,{span:3},{default:M(()=>[I(f,{tag:"b",size:"large",type:y(Ve).getTextTypeOfWuXing(g)},{default:M(()=>[G(U(g),1)]),_:2},1032,["type"])]),_:2},1024),I(d,{span:20},{default:M(()=>[I(h,{percentage:a(g),color:y(Ve).getColorByWuXing(g)},{default:M(()=>[G(U(r(g))+" ("+U(a(g))+"%) ",1)]),_:2},1032,["percentage","color"])]),_:2},1024),(k(!0),F(de,null,we(o(g),m=>(k(),Y(v,{style:{"margin-top":"5px"}},{default:M(()=>[I(d,{span:2}),I(d,{span:3},{default:M(()=>[I(f,null,{default:M(()=>[G(U(m)+" ",1),l(m)?(k(),Y(f,{key:0},{default:M(()=>[G("(坐)")]),_:1})):Q("",!0)]),_:2},1024)]),_:2},1024),I(d,{span:18},{default:M(()=>[I(h,{color:y(Ve).getColorByWuXing(g),percentage:i(m)},{default:M(()=>[G(U(r(m))+" ("+U(i(m))+"%) ",1)]),_:2},1032,["color","percentage"])]),_:2},1024)]),_:2},1024))),256))]),_:2},1024))),256))]),_:1})}}}),X6e=Mi(K6e,[["__scopeId","data-v-70fda876"]]),Z6e=te({__name:"Xiong_Ji_Tip",setup(e){let t=["官","杀","财","才","印","枭","食","伤","比","劫"];function n(r){let a=[];return H.bazi.value!=null&&(a=H.bazi.value.geju_xiongji.get(r)),a}return(r,a)=>{const i=se("el-text"),o=se("el-col"),l=se("el-tooltip"),s=se("el-space"),u=se("el-row");return k(!0),F(de,null,we(y(t),c=>(k(),F("div",null,[n(c).length>0?(k(),Y(u,{key:0},{default:M(()=>[I(o,{span:2},{default:M(()=>[I(i,{tag:"b"},{default:M(()=>[G(U(c),1)]),_:2},1024)]),_:2},1024),I(o,{span:22,align:"left"},{default:M(()=>[I(s,{size:"large"},{default:M(()=>[(k(!0),F(de,null,we(n(c),f=>(k(),F("div",null,[I(l,{content:f.tip,"show-after":500},{default:M(()=>[I(i,null,{default:M(()=>[G(U(f.name),1)]),_:2},1024)]),_:2},1032,["content"])]))),256))]),_:2},1024)]),_:2},1024)]),_:2},1024)):Q("",!0)]))),256)}}}),J6e={class:"grid-container-10"},Q6e={class:"grid-container-5"},e8e=te({__name:"WuXing_Powers",setup(e){let t=["官","杀","财","才","印","枭","食","伤","比","劫"],n=["木","火","土","金","水"];function r(s,u){let c=0;if(H.bazi.value!=null)if(u){let f=Ht.config_wuxing[s];c=H.bazi.value.power_steps.get(f)}else{let f=Ht.config_shishen[H.bazi.value.ri_gan.text][s];c=H.bazi.value.power_steps.get(f)}return c}function a(s){let u=null;if(H.bazi.value!=null){let c=H.bazi.value.dayun;for(let f=0;f<c.length;f++){let d=c[f];if(d.is_dayun&&d.trigger==s){u=d;break}}}return u}function i(s,u){let c=null;if(s!=null)for(let f=0;f<s.liunian.length;f++){let d=s.liunian[f];if(d.year==u){c=d;break}}return c}function o(s,u){let c=0;if(H.bazi.value!=null){let f=H.bazi.value.powerDetail,d=0,h=0,v=0,p=0;if(H.includeDaYunInGeJu.value==!0&&H.selectedDaYunInGeJu.value!=null){let b=H.selectedDaYunInGeJu.value.toString().replace("运",""),_=Ht.config_wuxing[b[0]],w=Ht.config_wuxing[b[1]],x=r(b[0],!0),S=r(b[1],!0);if(h=x+S,s==_?d=x:s==w&&(d=S),H.includeLiuNianInGeJu.value==!0&&H.selectedLiuNianInGeJu.value!=null){let C=parseInt(H.selectedLiuNianInGeJu.value.toString()),T=a(b),z=i(T,C);if(z!=null){let A=Ht.config_wuxing[z.gan_text],E=Ht.config_wuxing[z.zhi_text],D=r(z.gan_text,!0),$=r(z.zhi_text,!0);p=D+$,s==A?v=D:s==E&&(v=$)}}}let g=f.getPower(s,u)+d+v,m=f.getWuXingTotal(u)+h+p;c=Math.round(g*100/m)}return c}function l(s,u){let c=0;if(H.bazi.value!=null){let f=H.bazi.value.powerDetail,d=0,h=0,v=0,p=0;if(H.includeDaYunInGeJu.value==!0&&H.selectedDaYunInGeJu.value!=null){let b=H.selectedDaYunInGeJu.value.toString().replace("运",""),_=H.bazi.value.ri_gan.text,w=Ht.config_shishen[_][b[0]],x=Ht.config_wuxing[_][b[1]],S=r(b[0],!1),C=r(b[1],!1);if(h=S+C,s==w?d=S:s==x&&(d=C),H.includeLiuNianInGeJu.value==!0&&H.selectedLiuNianInGeJu.value!=null){let T=parseInt(H.selectedLiuNianInGeJu.value.toString()),z=a(b),A=i(z,T);if(A!=null){let E=Ht.config_shishen[_][A.gan_text],D=Ht.config_shishen[_][A.zhi_text],$=r(A.gan_text,!1),O=r(A.zhi_text,!1);p=$+O,s==E?v=$:s==D&&(v=O)}}}let g=f.getPower(s,u)+d+v,m=f.getShiShenTotal(u)+h+p;c=Math.round(g*100/m)}return c}return(s,u)=>{const c=se("el-text"),f=se("el-col"),d=se("el-row");return k(),Y(d,null,{default:M(()=>[I(f,{span:16},{default:M(()=>[X("div",J6e,[(k(!0),F(de,null,we(y(t),h=>(k(),Y(c,{size:"small"},{default:M(()=>[G(U(l(h,1))+"%",1)]),_:2},1024))),256))])]),_:1}),I(f,{span:8},{default:M(()=>[X("div",Q6e,[(k(!0),F(de,null,we(y(n),h=>(k(),Y(c,{size:"small"},{default:M(()=>[G(U(o(h,1))+"%",1)]),_:2},1024))),256))])]),_:1})]),_:1})}}}),t8e=Mi(e8e,[["__scopeId","data-v-794855c0"]]),n8e={class:"grid-container-10"},r8e={class:"grid-container-5"},a8e=te({__name:"Score_Shower",setup(e){let t=["官","杀","财","才","印","枭","食","伤","比","劫"],n=["木","火","土","金","水"];function r(o){let l=null;if(H.bazi.value!=null){let s=H.bazi.value.dayun;for(let u=0;u<s.length;u++){let c=s[u];if(c.is_dayun&&c.trigger==o){l=c;break}}}return l}function a(o,l){let s=null;if(o!=null)for(let u=0;u<o.liunian.length;u++){let c=o.liunian[u];if(c.year==l){s=c;break}}return s}function i(o){var c,f;let l=0,s=0,u=0;if(H.bazi.value!=null&&(l=H.bazi.value.geju_score.get(o),H.includeDaYunInGeJu.value==!0&&H.selectedDaYunInGeJu.value!=null)){let d=H.selectedDaYunInGeJu.value.toString().replace("运","");try{s=(c=H.bazi.value.dayun_geju_score.get(d))==null?void 0:c.get(o)}catch{s=0}if(H.includeLiuNianInGeJu.value==!0&&H.selectedLiuNianInGeJu.value!=null){let h=parseInt(H.selectedLiuNianInGeJu.value.toString()),v=r(d),p=a(v,h);if(p!=null)try{u=(f=H.bazi.value.liunian_geju_score.get(p.trigger))==null?void 0:f.get(o)}catch{u=0}}}return(l+s+u).toFixed(1)}return(o,l)=>{const s=se("el-text"),u=se("el-col"),c=se("el-row");return k(),Y(c,null,{default:M(()=>[I(u,{span:16},{default:M(()=>[X("div",n8e,[(k(!0),F(de,null,we(y(t),f=>(k(),Y(s,{tag:"ins",size:"small"},{default:M(()=>[G(U(i(f)),1)]),_:2},1024))),256))])]),_:1}),I(u,{span:8},{default:M(()=>[X("div",r8e,[(k(!0),F(de,null,we(y(n),f=>(k(),Y(s,{tag:"ins",size:"small"},{default:M(()=>[G(U(i(f)),1)]),_:2},1024))),256))])]),_:1})]),_:1})}}}),i8e=Mi(a8e,[["__scopeId","data-v-c9d32147"]]),o8e=X("br",null,null,-1),l8e=te({__name:"TianGan_List",setup(e){let t=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"];function n(i){let o=null;return H.bazi.value!=null&&(o=H.bazi.value.shishen_guanxi.get(i)),o}function r(i){let o="",l=0;if(H.bazi.value!=null){let s=n(i);return o="+",l=H.bazi.value.powerDetail.getPower(s),l==0&&(l=H.bazi.value.power_steps.get(s),l==null&&(l=0)),o+l.toFixed(0)}return o}function a(i){let o=!1;if(H.bazi.value!=null){let l=H.bazi.value.allSiZhu();for(let s=0;s<l.length;s++)if(l[s].text==i){o=!0;break}}return o}return(i,o)=>{const l=se("el-text");return k(!0),F(de,null,we(y(t),s=>(k(),F("div",null,[I(l,{tag:"b",size:"large"},{default:M(()=>[G(U(s)+" ",1),I(l,{size:"small"},{default:M(()=>[G(U(n(s)),1)]),_:2},1024)]),_:2},1024),o8e,I(l,{tag:"ins",type:a(s)?"primary":"info"},{default:M(()=>[G(U(r(s)),1)]),_:2},1032,["type"])]))),256)}}}),s8e=te({__name:"TianGan_GaoNeng_GeJu",setup(e){let t=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"];function n(c){let f=null;return H.bazi.value!=null&&(f=H.bazi.value.shishen_guanxi.get(c)),f}function r(c){return["甲","乙","寅","卯"].indexOf(c)!=-1?"木":["丙","丁","午","巳"].indexOf(c)!=-1?"火":["戊","己","辰","戌","丑","未"].indexOf(c)!=-1?"土":["庚","辛","申","酉"].indexOf(c)!=-1?"金":["壬","癸","子","亥"].indexOf(c)!=-1?"水":""}function a(c,f){let d=null;return H.bazi.value!=null&&(d=H.bazi.value.tiangan_geju.get(c)),d}function i(c){let f=n(c),d=r(c);return f==H.lastKeyInGeJu.value||d==H.lastKeyInGeJu.value?{"background-color":"#ff0000A0"}:{"background-color":"transparent"}}function o(c,f){let d=[];if(H.includeDaYunInGeJu.value==!0){let h=null,v=H.selectedDaYunInGeJu.value;v!=null&&(h=v.toString().replace("运","")),h!=null&&(d=H.bazi.value.dayun_tiangan_geju.get(c).filter(h))}return d}function l(c){let f=null;if(H.bazi.value!=null){let d=H.bazi.value.dayun;for(let h=0;h<d.length;h++){let v=d[h];if(v.is_dayun&&v.trigger==c){f=v;break}}}return f}function s(c,f){let d=null;if(c!=null)for(let h=0;h<c.liunian.length;h++){let v=c.liunian[h];if(v.year==f){d=v;break}}return d}function u(c,f){let d=[];if(H.includeDaYunInGeJu.value==!0&&H.includeLiuNianInGeJu.value==!0){let h=null,v=H.selectedDaYunInGeJu.value;if(v!=null&&(h=v.toString().replace("运","")),h!=null){let p=0;H.selectedLiuNianInGeJu.value!=null&&(p=parseInt(H.selectedLiuNianInGeJu.value.toString()));let g=l(h),m=s(g,p);m!=null&&(d=H.bazi.value.liunian_tiangan_geju.get(c).filter(m.trigger))}}return d}return(c,f)=>{const d=se("el-text"),h=se("el-tooltip"),v=se("el-space");return k(!0),F(de,null,we(y(t),p=>{var g,m,b;return k(),F("div",null,[X("div",null,[I(v,{direction:"vertical",style:Be(i(p))},{default:M(()=>{var _;return[(k(!0),F(de,null,we((_=a(p,!0))==null?void 0:_.items,w=>(k(),Y(h,{"show-after":500,content:w.arg1+w.arg2+w.guanxi+"("+w.getTotal()+")",placement:"top"},{default:M(()=>[I(d,null,{default:M(()=>[G(U(w==null?void 0:w.guanxi)+U(w==null?void 0:w.shishen2),1)]),_:2},1024)]),_:2},1032,["content"]))),256))]}),_:2},1032,["style"]),((g=a(p))==null?void 0:g.items.length)==0?(k(),Y(d,{key:0,style:Be(i(p))},{default:M(()=>[G(" ")]),_:2},1032,["style"])):Q("",!0)]),X("div",null,[I(v,{direction:"vertical",style:Be(i(p))},{default:M(()=>[(k(!0),F(de,null,we(o(p,!0),_=>(k(),Y(h,{"show-after":500,content:_.arg1+_.arg2+_.guanxi+"("+_.getTotal()+")",placement:"top"},{default:M(()=>[I(d,null,{default:M(()=>[G(U(_==null?void 0:_.guanxi)+U(_==null?void 0:_.shishen2)+" ",1),I(d,{size:"small"},{default:M(()=>[G("(运)")]),_:1})]),_:2},1024)]),_:2},1032,["content"]))),256))]),_:2},1032,["style"]),((m=o(p))==null?void 0:m.length)==0?(k(),Y(d,{key:0,style:Be(i(p))},{default:M(()=>[G(" ")]),_:2},1032,["style"])):Q("",!0)]),X("div",null,[I(v,{direction:"vertical",style:Be(i(p))},{default:M(()=>[(k(!0),F(de,null,we(u(p,!0),_=>(k(),Y(h,{"show-after":500,content:_.arg1+_.arg2+_.guanxi+"("+_.getTotal()+")",placement:"top"},{default:M(()=>[I(d,null,{default:M(()=>[G(U(_==null?void 0:_.guanxi)+U(_==null?void 0:_.shishen2)+" ",1),I(d,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1024)]),_:2},1032,["content"]))),256))]),_:2},1032,["style"]),((b=u(p))==null?void 0:b.length)==0?(k(),Y(d,{key:0,style:Be(i(p))},{default:M(()=>[G(" ")]),_:2},1032,["style"])):Q("",!0)])])}),256)}}}),u8e={class:"grid-container",style:{"margin-top":"-20px"}},c8e={class:"grid-container",style:{"margin-top":"-20px"}},f8e=te({__name:"TianGan_ShiShen_Scores",setup(e){let t=["官杀","财星","印绶","食伤","比劫"],n=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"];function r(u,c){let f=null;return H.bazi.value!=null&&(f=H.bazi.value.tiangan_geju.get(u)),f}function a(u,c){let f=[];if(H.includeDaYunInGeJu.value==!0){let d=null,h=H.selectedDaYunInGeJu.value;h!=null&&(d=h.toString().replace("运","")),d!=null&&(f=H.bazi.value.dayun_tiangan_geju.get(u).filter(d))}return f}function i(u){let c=null;if(H.bazi.value!=null){let f=H.bazi.value.dayun;for(let d=0;d<f.length;d++){let h=f[d];if(h.is_dayun&&h.trigger==u){c=h;break}}}return c}function o(u,c){let f=null;if(u!=null)for(let d=0;d<u.liunian.length;d++){let h=u.liunian[d];if(h.year==c){f=h;break}}return f}function l(u,c){let f=[];if(H.includeDaYunInGeJu.value==!0&&H.includeLiuNianInGeJu.value==!0){let d=null,h=H.selectedDaYunInGeJu.value;if(h!=null&&(d=h.toString().replace("运","")),d!=null){let v=0;H.selectedLiuNianInGeJu.value!=null&&(v=parseInt(H.selectedLiuNianInGeJu.value.toString()));let p=i(d),g=o(p,v);g!=null&&(f=H.bazi.value.liunian_tiangan_geju.get(u).filter(g.trigger))}}return f}function s(u,c,f){let d=new uO,h=r(u);h!=null&&(d.guan_sha+=h.guan_sha,d.cai_xing+=h.cai_xing,d.yin_shou+=h.yin_shou,d.shi_shang+=h.shi_shang,d.bi_jie+=h.bi_jie,d.total+=h.total),H.includeDaYunInGeJu.value==!0&&a(u).forEach(function(g){d.guan_sha+=g.guan_sha,d.cai_xing+=g.cai_xing,d.yin_shou+=g.yin_shou,d.shi_shang+=g.shi_shang,d.bi_jie+=g.bi_jie,d.total+=g.getTotal()}),H.includeLiuNianInGeJu.value==!0&&l(u).forEach(function(g){d.guan_sha+=g.guan_sha,d.cai_xing+=g.cai_xing,d.yin_shou+=g.yin_shou,d.shi_shang+=g.shi_shang,d.bi_jie+=g.bi_jie,d.total+=g.getTotal()});let v=0;switch(f){case"官杀":v=d==null?void 0:d.guan_sha;break;case"财星":v=d==null?void 0:d.cai_xing;break;case"印绶":v=d==null?void 0:d.yin_shou;break;case"食伤":v=d==null?void 0:d.shi_shang;break;case"比劫":v=d==null?void 0:d.bi_jie;break;case"合计":v=d==null?void 0:d.total;break}return v}return(u,c)=>{const f=se("el-text");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),d=>(k(),F("div",null,[X("div",u8e,[I(f,null,{default:M(()=>[G(U(d),1)]),_:2},1024),(k(!0),F(de,null,we(y(n),h=>(k(),F("div",null,[I(f,null,{default:M(()=>[G(U(s(h,!0,d)),1)]),_:2},1024)]))),256))])]))),256)),X("div",c8e,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G("合计")]),_:1}),(k(!0),F(de,null,we(y(n),d=>(k(),F("div",null,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G(U(s(d,!0,"合计")),1)]),_:2},1024)]))),256))])],64)}}}),d8e=Mi(f8e,[["__scopeId","data-v-4197fadc"]]),h8e=X("br",null,null,-1),v8e=te({__name:"DiZhi_List",setup(e){let t=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"];function n(o){let l="";if(H.bazi.value!=null){if(H.bazi.value.shishen_guanxi.get("禄神")[0]==o)l="禄";else if(H.bazi.value.shishen_guanxi.get("半禄").indexOf(o)!=-1)return"半"}return l}function r(o){let l=null;return H.bazi.value!=null&&(l=H.bazi.value.shishen_guanxi.get(o)),l}function a(o){let l=!1;if(H.bazi.value!=null){let s=H.bazi.value.allSiZhu();for(let u=0;u<s.length;u++)if(s[u].text==o){l=!0;break}}return l}function i(o){let l="",s=0;if(H.bazi.value!=null){let u=r(o);return l="+",s=H.bazi.value.powerDetail.getPower(u),s==0&&(s=H.bazi.value.power_steps.get(u),s==null&&(s=0)),l+s.toFixed(0)}return l}return(o,l)=>{const s=se("el-text"),u=se("el-badge");return k(!0),F(de,null,we(y(t),c=>(k(),F("div",null,[I(u,{value:n(c),offset:[0,-5]},{default:M(()=>[I(s,{tag:"b",size:"large"},{default:M(()=>[G(U(c)+" ",1),I(s,{size:"small"},{default:M(()=>[G(U(r(c)),1)]),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]),h8e,I(s,{tag:"ins",type:a(c)?"primary":"info"},{default:M(()=>[G(U(i(c)),1)]),_:2},1032,["type"])]))),256)}}}),p8e=te({__name:"DiZhi_GaoNeng_GeJu",setup(e){let t=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"];function n(c){let f=r(c),d=a(c);return f==H.lastKeyInGeJu.value||d==H.lastKeyInGeJu.value?{"background-color":"#ff0000A0"}:{"background-color":"transparent"}}function r(c){let f=null;return H.bazi.value!=null&&(f=H.bazi.value.shishen_guanxi.get(c)),f}function a(c){return["甲","乙","寅","卯"].indexOf(c)!=-1?"木":["丙","丁","午","巳"].indexOf(c)!=-1?"火":["戊","己","辰","戌","丑","未"].indexOf(c)!=-1?"土":["庚","辛","申","酉"].indexOf(c)!=-1?"金":["壬","癸","子","亥"].indexOf(c)!=-1?"水":""}function i(c,f){let d=null;return H.bazi.value!=null&&(d=H.bazi.value.dizhi_geju.get(c)),d}function o(c,f){let d=[];if(H.includeDaYunInGeJu.value==!0){let h=null,v=H.selectedDaYunInGeJu.value;v!=null&&(h=v.toString().replace("运","")),h!=null&&(d=H.bazi.value.dayun_dizhi_geju.get(c).filter(h))}return d}function l(c){let f=null;if(H.bazi.value!=null){let d=H.bazi.value.dayun;for(let h=0;h<d.length;h++){let v=d[h];if(v.is_dayun&&v.trigger==c){f=v;break}}}return f}function s(c,f){let d=null;if(c!=null)for(let h=0;h<c.liunian.length;h++){let v=c.liunian[h];if(v.year==f){d=v;break}}return d}function u(c,f){let d=[];if(H.includeDaYunInGeJu.value==!0&&H.includeLiuNianInGeJu.value==!0){let h=null,v=H.selectedDaYunInGeJu.value;if(v!=null&&(h=v.toString().replace("运","")),h!=null){let p=0;H.selectedLiuNianInGeJu.value!=null&&(p=parseInt(H.selectedLiuNianInGeJu.value.toString()));let g=l(h),m=s(g,p);m!=null&&(d=H.bazi.value.liunian_dizhi_geju.get(c).filter(m.trigger))}}return d}return(c,f)=>{const d=se("el-text"),h=se("el-tooltip"),v=se("el-space");return k(!0),F(de,null,we(y(t),p=>{var g,m,b;return k(),F("div",null,[X("div",null,[I(v,{direction:"vertical",style:Be(n(p))},{default:M(()=>{var _;return[(k(!0),F(de,null,we((_=i(p,!1))==null?void 0:_.items,w=>(k(),Y(h,{"show-after":500,content:w.arg1+w.arg2+w.guanxi+"("+w.getTotal()+")",placement:"top"},{default:M(()=>[I(d,null,{default:M(()=>[G(U(w==null?void 0:w.guanxi)+U(w==null?void 0:w.shishen2),1)]),_:2},1024)]),_:2},1032,["content"]))),256))]}),_:2},1032,["style"]),((g=i(p))==null?void 0:g.items.length)==0?(k(),Y(d,{key:0,style:Be(n(p))},{default:M(()=>[G(" ")]),_:2},1032,["style"])):Q("",!0)]),X("div",null,[I(v,{direction:"vertical",style:Be(n(p))},{default:M(()=>[(k(!0),F(de,null,we(o(p,!1),_=>(k(),Y(h,{"show-after":500,content:_.arg1+_.arg2+_.guanxi+"("+_.getTotal()+")",placement:"top"},{default:M(()=>[I(d,null,{default:M(()=>[G(U(_==null?void 0:_.guanxi)+U(_==null?void 0:_.shishen2)+" ",1),I(d,{size:"small"},{default:M(()=>[G("(运)")]),_:1})]),_:2},1024)]),_:2},1032,["content"]))),256))]),_:2},1032,["style"]),((m=o(p))==null?void 0:m.length)==0?(k(),Y(d,{key:0,style:Be(n(p))},{default:M(()=>[G(" ")]),_:2},1032,["style"])):Q("",!0)]),X("div",null,[I(v,{direction:"vertical",style:Be(n(p))},{default:M(()=>[(k(!0),F(de,null,we(u(p,!1),_=>(k(),Y(h,{"show-after":500,content:_.arg1+_.arg2+_.guanxi+"("+_.getTotal()+")",placement:"top"},{default:M(()=>[I(d,null,{default:M(()=>[G(U(_==null?void 0:_.guanxi)+U(_==null?void 0:_.shishen2)+" ",1),I(d,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1024)]),_:2},1032,["content"]))),256))]),_:2},1032,["style"]),((b=u(p))==null?void 0:b.length)==0?(k(),Y(d,{key:0,style:Be(n(p))},{default:M(()=>[G(" ")]),_:2},1032,["style"])):Q("",!0)])])}),256)}}}),g8e={class:"grid-container",style:{"margin-top":"-20px"}},m8e={class:"grid-container",style:{"margin-top":"-20px"}},y8e=te({__name:"DiZhi_ShiShen_Scores",setup(e){let t=["官杀","财星","印绶","食伤","比劫"],n=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"];function r(u,c){let f=null;return H.bazi.value!=null&&(f=H.bazi.value.dizhi_geju.get(u)),f}function a(u,c){let f=[];if(H.includeDaYunInGeJu.value==!0){let d=null,h=H.selectedDaYunInGeJu.value;h!=null&&(d=h.toString().replace("运","")),d!=null&&(f=H.bazi.value.dayun_dizhi_geju.get(u).filter(d))}return f}function i(u){let c=null;if(H.bazi.value!=null){let f=H.bazi.value.dayun;for(let d=0;d<f.length;d++){let h=f[d];if(h.is_dayun&&h.trigger==u){c=h;break}}}return c}function o(u,c){let f=null;if(u!=null)for(let d=0;d<u.liunian.length;d++){let h=u.liunian[d];if(h.year==c){f=h;break}}return f}function l(u,c){let f=[];if(H.includeDaYunInGeJu.value==!0&&H.includeLiuNianInGeJu.value==!0){let d=null,h=H.selectedDaYunInGeJu.value;if(h!=null&&(d=h.toString().replace("运","")),d!=null){let v=0;H.selectedLiuNianInGeJu.value!=null&&(v=parseInt(H.selectedLiuNianInGeJu.value.toString()));let p=i(d),g=o(p,v);g!=null&&(f=H.bazi.value.liunian_dizhi_geju.get(u).filter(g.trigger))}}return f}function s(u,c,f){let d=new uO,h=r(u);h!=null&&(d.guan_sha+=h.guan_sha,d.cai_xing+=h.cai_xing,d.yin_shou+=h.yin_shou,d.shi_shang+=h.shi_shang,d.bi_jie+=h.bi_jie,d.total+=h.total),H.includeDaYunInGeJu.value==!0&&a(u).forEach(function(g){d.guan_sha+=g.guan_sha,d.cai_xing+=g.cai_xing,d.yin_shou+=g.yin_shou,d.shi_shang+=g.shi_shang,d.bi_jie+=g.bi_jie,d.total+=g.getTotal()}),H.includeLiuNianInGeJu.value==!0&&l(u).forEach(function(g){d.guan_sha+=g.guan_sha,d.cai_xing+=g.cai_xing,d.yin_shou+=g.yin_shou,d.shi_shang+=g.shi_shang,d.bi_jie+=g.bi_jie,d.total+=g.getTotal()});let v=0;switch(f){case"官杀":v=d==null?void 0:d.guan_sha;break;case"财星":v=d==null?void 0:d.cai_xing;break;case"印绶":v=d==null?void 0:d.yin_shou;break;case"食伤":v=d==null?void 0:d.shi_shang;break;case"比劫":v=d==null?void 0:d.bi_jie;break;case"合计":v=d==null?void 0:d.total;break}return v}return(u,c)=>{const f=se("el-text");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),d=>(k(),F("div",null,[X("div",g8e,[I(f,null,{default:M(()=>[G(U(d),1)]),_:2},1024),(k(!0),F(de,null,we(y(n),h=>(k(),F("div",null,[I(f,null,{default:M(()=>[G(U(s(h,!1,d)),1)]),_:2},1024)]))),256))])]))),256)),X("div",m8e,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G("合计")]),_:1}),(k(!0),F(de,null,we(y(n),d=>(k(),F("div",null,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G(U(s(d,!1,"合计")),1)]),_:2},1024)]))),256))])],64)}}}),b8e=Mi(y8e,[["__scopeId","data-v-28fb1973"]]),_8e={class:"grid-container-10"},w8e={class:"grid-container-5"},x8e={style:{position:"absolute",right:"30px"},align:"right"},S8e={class:"grid-container"},C8e={class:"grid-container"},T8e={class:"grid-container"},k8e={class:"grid-container"},z8e=te({__name:"GeJuInfo",setup(e){let t=["官","杀","财","才","印","枭","食","伤","比","劫"],n=["木","火","土","金","水"],r=j(""),a=j("");function i(m,b){let _=[];for(let w=m;w<=b;w++)_.push(w);return _}function o(m){m?(H.lastKeyInGeJu.value=r.value,a.value=""):(H.lastKeyInGeJu.value=a.value,r.value="")}let l=L(function(){let m=[];return H.bazi.value!=null&&H.bazi.value.dayun.forEach(function(b){b.is_dayun&&m.push(b.gan_text+b.zhi_text)}),m}),s=L(function(){var b;let m=[];if(H.bazi.value!=null)for(let _=0;_<H.bazi.value.dayun.length;_++){let w=H.bazi.value.dayun[_];if(w.gan_text+w.zhi_text+"运"==((b=H.selectedDaYunInGeJu.value)==null?void 0:b.toString())){w.liunian.forEach(function(S){m.push(S.year)});break}}return m});function u(){H.selectedLiuNianInGeJu.value=""}function c(m){let b=null;if(H.bazi.value!=null){let _=H.bazi.value.dayun;for(let w=0;w<_.length;w++){let x=_[w];if(x.is_dayun&&x.trigger==m){b=x;break}}}return b}function f(m,b){let _=null;if(m!=null)for(let w=0;w<m.liunian.length;w++){let x=m.liunian[w];if(x.year==b){_=x;break}}return _}function d(){if(H.bazi.value!=null){let m=H.selectedDaYunInGeJu.value.toString().replace("运",""),b=c(m);f(b,H.selectedLiuNianInGeJu.value)}}function h(){if(H.bazi.value==null)return;H.includeDaYunInGeJu.value=!0,H.includeLiuNianInGeJu.value=!0;let b=new Date().getFullYear();for(let _=0;_<H.bazi.value.dayun.length;_++){let w=H.bazi.value.dayun[_];if(w.start_year<=b&&b<=w.end_year){H.selectedDaYunInGeJu.value=w.gan_text+w.zhi_text+"运",setTimeout(function(){H.selectedLiuNianInGeJu.value=b.toString()},100);break}}}function v(m){return["甲","乙","寅","卯"].indexOf(m)!=-1?"木":["丙","丁","午","巳"].indexOf(m)!=-1?"火":["戊","己","辰","戌","丑","未"].indexOf(m)!=-1?"土":["庚","辛","申","酉"].indexOf(m)!=-1?"金":["壬","癸","子","亥"].indexOf(m)!=-1?"水":""}function p(){let m=null;if(H.bazi.value!=null&&H.lastKeyInGeJu.value!=null){let b=H.bazi.value.shishen_guanxi.get(H.lastKeyInGeJu.value);m=v(b[0])}return m}function g(){let m=[];return H.bazi.value!=null&&H.lastKeyInGeJu.value!=null&&(m=H.bazi.value.shishen_guanxi.get(H.lastKeyInGeJu.value)),m}return(m,b)=>{const _=se("el-radio-button"),w=se("el-radio-group"),x=se("el-col"),S=se("el-row"),C=se("el-text"),T=se("el-checkbox"),z=se("el-option"),A=se("el-select"),E=se("el-button"),D=se("el-space"),$=se("el-divider"),O=se("el-card");return k(),Y(O,null,{header:M(()=>[I(t8e),I(S,{style:{"margin-top":"-15px"}},{default:M(()=>[I(x,{span:16},{default:M(()=>[I(w,{modelValue:y(r),"onUpdate:modelValue":b[1]||(b[1]=R=>ct(r)?r.value=R:r=R)},{default:M(()=>[(k(!0),F(de,null,we(y(t),R=>(k(),Y(_,{onChange:b[0]||(b[0]=N=>o(!0)),value:R},{default:M(()=>[G(U(R),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])]),_:1}),I(x,{span:8},{default:M(()=>[I(w,{modelValue:y(a),"onUpdate:modelValue":b[3]||(b[3]=R=>ct(a)?a.value=R:a=R)},{default:M(()=>[(k(!0),F(de,null,we(y(n),R=>(k(),Y(_,{onChange:b[2]||(b[2]=N=>o(!1)),value:R},{default:M(()=>[G(U(R),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),I(i8e),I(S,{style:{"margin-top":"-25px"}},{default:M(()=>[I(x,{span:16},{default:M(()=>[X("div",_8e,[(k(!0),F(de,null,we(i(0,9),R=>(k(),Y(C,{type:"danger",tag:"b"},{default:M(()=>[G(" "+U(g().indexOf(y(t)[R])!=-1?"↑":""),1)]),_:2},1024))),256))])]),_:1}),I(x,{span:8},{default:M(()=>[X("div",w8e,[(k(!0),F(de,null,we(i(0,4),R=>(k(),Y(C,{type:"danger",tag:"b"},{default:M(()=>[G(" "+U(p()==y(n)[R]?"↑":""),1)]),_:2},1024))),256))])]),_:1})]),_:1}),I(S,null,{default:M(()=>[I(x,{span:18},{default:M(()=>[I(Z6e)]),_:1}),I(x,{span:6,align:"right"},{default:M(()=>[I(D,{direction:"vertical",fill:""},{default:M(()=>[I(T,{modelValue:y(H).includeDaYunInGeJu.value,"onUpdate:modelValue":b[4]||(b[4]=R=>y(H).includeDaYunInGeJu.value=R)},{default:M(()=>[G("受大运影响")]),_:1},8,["modelValue"]),y(H).includeDaYunInGeJu.value?(k(),Y(A,{key:0,modelValue:y(H).selectedDaYunInGeJu.value,"onUpdate:modelValue":b[5]||(b[5]=R=>y(H).selectedDaYunInGeJu.value=R),onChange:u},{default:M(()=>[(k(!0),F(de,null,we(y(l),R=>(k(),Y(z,{value:R+"运"},{default:M(()=>[G(U(R)+"运",1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])):Q("",!0),y(H).includeDaYunInGeJu.value?(k(),Y(T,{key:1,modelValue:y(H).includeLiuNianInGeJu.value,"onUpdate:modelValue":b[6]||(b[6]=R=>y(H).includeLiuNianInGeJu.value=R)},{default:M(()=>[G(" 受流年影响 ")]),_:1},8,["modelValue"])):Q("",!0),y(H).includeLiuNianInGeJu.value&&y(H).includeDaYunInGeJu.value?(k(),Y(A,{key:2,modelValue:y(H).selectedLiuNianInGeJu.value,"onUpdate:modelValue":b[7]||(b[7]=R=>y(H).selectedLiuNianInGeJu.value=R),onChange:d},{default:M(()=>[(k(!0),F(de,null,we(y(s),R=>(k(),Y(z,{value:R},{default:M(()=>[G(U(R),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])):Q("",!0),I(E,{type:"primary",onClick:b[8]||(b[8]=R=>h())},{default:M(()=>[G("今年")]),_:1})]),_:1})]),_:1})]),_:1}),I(D,{align:"left",style:{width:"100%","margin-top":"10px"},direction:"vertical",fill:"",size:0},{default:M(()=>[I(C,{type:"primary"},{default:M(()=>[G(" 注意:十神、五行的选择是用来看八字原局对不同干支的适配性的,可以用来看五行、十神的适用性。 "),I(C,{type:"danger"},{default:M(()=>[G("(比如:当前五行、十神喜忌)")]),_:1})]),_:1}),I(C,{type:"primary"},{default:M(()=>[G("而格局是用来看受日元影响的高能关系对应的十神解读,而八字原局无关,仅和日元有关。 "),I(C,{type:"danger"},{default:M(()=>[G("(比如:八字天然容易伤官冲官,这个跟原局中是否有官、伤无关,只是说碰到了就会触发)")]),_:1})]),_:1})]),_:1})]),default:M(()=>[X("div",x8e,[I(D,{direction:"vertical",size:0},{default:M(()=>[I(C,{type:"primary",tag:"ins"},{default:M(()=>[G("原局拥有")]),_:1}),I(C,{type:"info",tag:"ins"},{default:M(()=>[G("藏干拥有")]),_:1}),I(C,{type:"info",tag:"ins"},{default:M(()=>[G("+ 初始力量")]),_:1})]),_:1})]),X("div",S8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(l8e)]),X("div",C8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(s8e)]),I(d8e),I($),X("div",T8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(v8e)]),X("div",k8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(p8e)]),I(b8e)]),_:1})}}}),M8e=Mi(z8e,[["__scopeId","data-v-437da798"]]),A8e={key:0,style:{width:"100%"}},E8e=te({__name:"DaYunList",setup(e){function t(a,i){let o=[];for(let l=a;l<=i;l++)o.push(l);return o}function n(a){let i=[];if(H.bazi.value!=null&&H.bazi.value.dayun.length>0)try{i.push(H.bazi.value.dayun[a])}catch(o){console.error(o)}return i}function r(a){let i=n(a);i.length>0&&(H.curDaYun.value=i[0],H.curLiuNianList.value=[],H.curLiuNianList.value=H.curDaYun.value.liunian,H.liunianIndex.value=null,H.curLiuNian.value=null,H.liuyueIndex.value=null,H.curLiuYue.value=null,H.liuriIndex.value=null,H.curLiuRi.value=null)}return(a,i)=>{var u;const o=se("el-text"),l=se("el-space"),s=se("el-segmented");return y(H).bazi.value!=null?(k(),F("div",A8e,[((u=y(H).bazi.value)==null?void 0:u.dayun.length)>0?(k(),Y(s,{key:0,onChange:r,block:"",modelValue:y(H).dayunIndex.value,"onUpdate:modelValue":i[0]||(i[0]=c=>y(H).dayunIndex.value=c),options:t(0,10)},{default:M(({item:c})=>[(k(!0),F(de,null,we(n(c),f=>(k(),Y(l,{direction:"vertical",size:10,style:{"padding-top":"5px","padding-bottom":"5px"}},{default:M(()=>[I(o,null,{default:M(()=>[G(U(f.start_year),1)]),_:2},1024),I(o,{size:"small"},{default:M(()=>[G(U(f.start_age)+"岁",1)]),_:2},1024),I(o,null,{default:M(()=>[G(U(f.gan_text)+" ",1),I(o,{tag:"b",size:"small"},{default:M(()=>[G(U(f.gan_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024),I(o,null,{default:M(()=>[G(U(f.zhi_text)+" ",1),I(o,{tag:"b",size:"small"},{default:M(()=>[G(U(f.zhi_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:1},8,["modelValue","options"])):Q("",!0)])):Q("",!0)}}}),I8e=te({__name:"LiuNianList",setup(e){function t(i,o){let l=[];for(let s=i;s<=o;s++)l.push(s);return l}function n(i){H.curLiuNian.value=H.curLiuNianList.value[i],H.liuyueIndex.value=null,H.curLiuYue.value=null,H.liuriIndex.value=null,H.curLiuRi.value=null}function r(i){let o=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&o.push(H.curLiuNianList.value[i]),o}function a(){let i={width:"100%"};return H.bazi.value!=null&&H.curLiuNianList.value!=null&&(i={width:(H.curLiuNianList.value.length*10).toString()+"%"}),i}return(i,o)=>{var f,d;const l=se("el-text"),s=se("el-tooltip"),u=se("el-space"),c=se("el-segmented");return y(H).curDaYun.value!=null?(k(),F("div",{key:0,style:Be(a())},[I(c,{onChange:n,block:"",modelValue:y(H).liunianIndex.value,"onUpdate:modelValue":o[0]||(o[0]=h=>y(H).liunianIndex.value=h),options:t(0,((d=(f=y(H))==null?void 0:f.curLiuNianList.value)==null?void 0:d.length)-1)},{default:M(({item:h})=>[(k(!0),F(de,null,we(r(h),v=>(k(),Y(u,{direction:"vertical",size:10,style:{"padding-top":"5px","padding-bottom":"5px"}},{default:M(()=>[I(l,null,{default:M(()=>[G(U(v.year),1)]),_:2},1024),I(l,{size:"small"},{default:M(()=>[G(U(v.age)+"岁 ",1)]),_:2},1024),I(l,null,{default:M(()=>[G(U(v.gan_text)+" ",1),I(l,{size:"small",tag:"b"},{default:M(()=>[G(U(v.gan_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024),I(l,null,{default:M(()=>[G(U(v.zhi_text)+" ",1),I(l,{size:"small",tag:"b"},{default:M(()=>[G(U(v.zhi_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024),X("div",null,[v.yinyuan_level>0?(k(),Y(s,{key:0,content:v.yinyuan_tip,"show-after":500},{default:M(()=>[I(l,{style:{color:"hotpink"}},{default:M(()=>[G(" ♥︎ "+U(v.yinyuan_level),1)]),_:2},1024)]),_:2},1032,["content"])):Q("",!0),v.yinyuan_level==0?(k(),Y(l,{key:1,style:{color:"transparent"}},{default:M(()=>[G(" ♥︎ ")]),_:1})):Q("",!0)])]),_:2},1024))),256))]),_:1},8,["modelValue","options"])],4)):Q("",!0)}}}),D8e=Mi(I8e,[["__scopeId","data-v-5d8c0348"]]),L8e=X("br",null,null,-1),P8e=X("br",null,null,-1),R8e=X("br",null,null,-1),O8e=X("br",null,null,-1),N8e=X("br",null,null,-1),$8e=te({__name:"SiZhu_TianGan",setup(e){let t=L(function(){let l=[];return H.bazi.value!=null&&(l.push(H.bazi.value.nian_gan),l.push(H.bazi.value.yue_gan),l.push(H.bazi.value.ri_gan),l.push(H.bazi.value.shi_gan)),l});function n(l){let s="",u=0;return H.bazi.value!=null?(s="+",u=H.bazi.value.powerDetail.getPower(l),u==0&&(u=H.bazi.value.power_steps.get(l),u==null&&(u=0)),s+u.toFixed(0)):s}function r(){let l=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&l.push(H.curDaYun.value),l}function a(){let l=[];return H.bazi.value!=null&&H.curLiuNian.value!=null&&l.push(H.curLiuNian.value),l}function i(){let l=[];return H.bazi.value!=null&&H.curLiuYue.value!=null&&l.push(H.curLiuYue.value),l}function o(){let l=[];return H.bazi.value!=null&&H.curLiuRi.value!=null&&l.push(H.curLiuRi.value),l}return(l,s)=>{const u=se("el-text");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.text)+" ",1),I(u,null,{default:M(()=>[G(U(c.shi_shen),1)]),_:2},1024),L8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(r(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.gan_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.gan_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.gan_zhu.shi_shen),1)]),_:2},1024),P8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.gan_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(a(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.gan_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.gan_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.gan_zhu.shi_shen),1)]),_:2},1024),R8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.gan_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(i(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.gan_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.gan_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.gan_zhu.shi_shen),1)]),_:2},1024),O8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.gan_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(o(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.gan_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.gan_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.gan_zhu.shi_shen),1)]),_:2},1024),N8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.gan_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256))],64)}}}),V8e=te({__name:"TianGan_GaoNeng",setup(e){let t=L(function(){let f=[];return H.bazi.value!=null&&(f.push(H.bazi.value.nian_gan),f.push(H.bazi.value.yue_gan),f.push(H.bazi.value.ri_gan),f.push(H.bazi.value.shi_gan)),f});function n(f){return["半合","拱合","三会"].indexOf(f)!=-1}function r(){let f=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&f.push(H.curDaYun.value),f}function a(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null){let h=H.curDaYun.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function i(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null&&H.curLiuNian.value!=null){let h=H.curLiuNian.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function o(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null&&H.curLiuNian.value!=null&&H.curLiuYue.value!=null){let h=H.curLiuYue.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function l(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null&&H.curLiuNian.value!=null&&H.curLiuYue.value!=null&&H.curLiuRi.value!=null){let h=H.curLiuRi.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function s(){let f=[];return H.bazi.value!=null&&H.curLiuNian.value!=null&&f.push(H.curLiuNian.value),f}function u(){let f=[];return H.bazi.value!=null&&H.curLiuYue.value!=null&&f.push(H.curLiuYue.value),f}function c(){let f=[];return H.bazi.value!=null&&H.curLiuRi.value!=null&&f.push(H.curLiuRi.value),f}return(f,d)=>{const h=se("el-text"),v=se("el-space");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0)]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(a(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(运)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(i(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(o(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(l(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(r(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.gan_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(运)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(i(p.gan_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(o(p.gan_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(l(p.gan_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(s(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.gan_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(o(p.gan_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(l(p.gan_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(u(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.gan_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(l(p.gan_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(c(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.gan_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),n(g.guanxi)?(k(),Y(h,{key:0,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256))],64)}}}),B8e=X("br",null,null,-1),F8e=X("br",null,null,-1),H8e=X("br",null,null,-1),j8e=X("br",null,null,-1),q8e=X("br",null,null,-1),G8e=te({__name:"SiZhu_DiZhi",setup(e){let t=L(function(){let l=[];return H.bazi.value!=null&&(l.push(H.bazi.value.nian_zhi),l.push(H.bazi.value.yue_zhi),l.push(H.bazi.value.ri_zhi),l.push(H.bazi.value.shi_zhi)),l});function n(l){let s="",u=0;return H.bazi.value!=null?(s="+",u=H.bazi.value.powerDetail.getPower(l),u==0&&(u=H.bazi.value.power_steps.get(l),u==null&&(u=0)),s+u.toFixed(0)):s}function r(){let l=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&l.push(H.curDaYun.value),l}function a(){let l=[];return H.bazi.value!=null&&H.curLiuNian.value!=null&&l.push(H.curLiuNian.value),l}function i(){let l=[];return H.bazi.value!=null&&H.curLiuYue.value!=null&&l.push(H.curLiuYue.value),l}function o(){let l=[];return H.bazi.value!=null&&H.curLiuRi.value!=null&&l.push(H.curLiuRi.value),l}return(l,s)=>{const u=se("el-text");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.text)+" ",1),I(u,null,{default:M(()=>[G(U(c.shi_shen),1)]),_:2},1024),B8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(r(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.zhi_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.zhi_zhu.shi_shen),1)]),_:2},1024),F8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.zhi_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(a(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.zhi_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.zhi_zhu.shi_shen),1)]),_:2},1024),H8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.zhi_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(i(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.zhi_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.zhi_zhu.shi_shen),1)]),_:2},1024),j8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.zhi_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),F(de,null,we(o(),c=>(k(),Y(u,{type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.wu_xing),style:{"font-size":"20px"},size:"large",tag:"b"},{default:M(()=>[G(U(c.zhi_text)+" ",1),I(u,null,{default:M(()=>[G(U(c.zhi_zhu.shi_shen),1)]),_:2},1024),q8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.zhi_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256))],64)}}}),W8e=te({__name:"DiZhi_CangGan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o.push(H.bazi.value.nian_zhi),o.push(H.bazi.value.yue_zhi),o.push(H.bazi.value.ri_zhi),o.push(H.bazi.value.shi_zhi)),o});function n(){let o=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&o.push(H.curDaYun.value),o}function r(){let o=[];return H.bazi.value!=null&&H.curLiuNian.value!=null&&o.push(H.curLiuNian.value),o}function a(){let o=[];return H.bazi.value!=null&&H.curLiuYue.value!=null&&o.push(H.curLiuYue.value),o}function i(){let o=[];return H.bazi.value!=null&&H.curLiuRi.value!=null&&o.push(H.curLiuRi.value),o}return(o,l)=>{const s=se("el-text"),u=se("el-space");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),c=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[c.cang_gan1!=null?(k(),Y(s,{key:0,type:y(Ve).getTextTypeOfWuXing(c.gan1_wu_xing)},{default:M(()=>[G(U(c.cang_gan1)+"("+U(c.gan1_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.cang_gan2!=null?(k(),Y(s,{key:1,type:y(Ve).getTextTypeOfWuXing(c.gan2_wu_xing)},{default:M(()=>[G(U(c.cang_gan2)+"("+U(c.gan2_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.cang_gan3!=null?(k(),Y(s,{key:2,type:y(Ve).getTextTypeOfWuXing(c.gan3_wu_xing)},{default:M(()=>[G(U(c.cang_gan3)+"("+U(c.gan3_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.cang_gan1==null?(k(),Y(s,{key:3},{default:M(()=>[G(" ")]),_:1})):Q("",!0)]),_:2},1024))),256)),(k(!0),F(de,null,we(n(),c=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[c.zhi_zhu.cang_gan1!=null?(k(),Y(s,{key:0,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan1_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan1)+"("+U(c.zhi_zhu.gan1_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan2!=null?(k(),Y(s,{key:1,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan2_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan2)+"("+U(c.zhi_zhu.gan2_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan3!=null?(k(),Y(s,{key:2,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan3_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan3)+"("+U(c.zhi_zhu.gan3_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(r(),c=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[c.zhi_zhu.cang_gan1!=null?(k(),Y(s,{key:0,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan1_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan1)+"("+U(c.zhi_zhu.gan1_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan2!=null?(k(),Y(s,{key:1,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan2_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan2)+"("+U(c.zhi_zhu.gan2_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan3!=null?(k(),Y(s,{key:2,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan3_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan3)+"("+U(c.zhi_zhu.gan3_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(a(),c=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[c.zhi_zhu.cang_gan1!=null?(k(),Y(s,{key:0,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan1_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan1)+"("+U(c.zhi_zhu.gan1_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan2!=null?(k(),Y(s,{key:1,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan2_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan2)+"("+U(c.zhi_zhu.gan2_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan3!=null?(k(),Y(s,{key:2,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan3_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan3)+"("+U(c.zhi_zhu.gan3_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(i(),c=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[c.zhi_zhu.cang_gan1!=null?(k(),Y(s,{key:0,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan1_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan1)+"("+U(c.zhi_zhu.gan1_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan2!=null?(k(),Y(s,{key:1,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan2_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan2)+"("+U(c.zhi_zhu.gan2_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),c.zhi_zhu.cang_gan3!=null?(k(),Y(s,{key:2,type:y(Ve).getTextTypeOfWuXing(c.zhi_zhu.gan3_wu_xing)},{default:M(()=>[G(U(c.zhi_zhu.cang_gan3)+"("+U(c.zhi_zhu.gan3_shi_shen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256))],64)}}}),U8e=X("br",null,null,-1),Y8e=X("br",null,null,-1),K8e=X("br",null,null,-1),X8e=X("br",null,null,-1),Z8e=X("br",null,null,-1),J8e=X("br",null,null,-1),Q8e=X("br",null,null,-1),eCe=X("br",null,null,-1),tCe=X("br",null,null,-1),nCe=X("br",null,null,-1),rCe=X("br",null,null,-1),aCe=X("br",null,null,-1),iCe=X("br",null,null,-1),oCe=X("br",null,null,-1),lCe=X("br",null,null,-1),sCe=te({__name:"DiZhi_GaoNeng",setup(e){let t=L(function(){let f=[];return H.bazi.value!=null&&(f.push(H.bazi.value.nian_zhi),f.push(H.bazi.value.yue_zhi),f.push(H.bazi.value.ri_zhi),f.push(H.bazi.value.shi_zhi)),f});function n(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null){let h=H.curDaYun.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function r(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null&&H.curLiuNian.value!=null){let h=H.curLiuNian.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function a(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null&&H.curLiuNian.value!=null&&H.curLiuYue.value!=null){let h=H.curLiuYue.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function i(f){let d=[];if(H.bazi.value!=null&&H.curDaYun.value!=null&&H.curLiuNian.value!=null&&H.curLiuYue.value!=null&&H.curLiuRi.value!=null){let h=H.curLiuRi.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function o(f){return["半合","拱合","三会"].indexOf(f)!=-1}function l(){let f=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&f.push(H.curDaYun.value),f}function s(){let f=[];return H.bazi.value!=null&&H.curLiuNian.value!=null&&f.push(H.curLiuNian.value),f}function u(){let f=[];return H.bazi.value!=null&&H.curLiuYue.value!=null&&f.push(H.curLiuYue.value),f}function c(){let f=[];return H.bazi.value!=null&&H.curLiuRi.value!=null&&f.push(H.curLiuRi.value),f}return(f,d)=>{const h=se("el-text"),v=se("el-space");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[U8e,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0)]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(n(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[Y8e,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(运)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(r(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[K8e,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(a(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[X8e,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(i(p),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[Z8e,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(l(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.zhi_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[J8e,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(运)"+U(g.src),1)]),_:2},1024)]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(r(p.zhi_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[Q8e,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(a(p.zhi_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[eCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(i(p.zhi_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[tCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),F(de,null,we(s(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.zhi_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[nCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(a(p.zhi_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[rCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(i(p.zhi_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[aCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256))]),_:2},1024))),256)),(k(!0),F(de,null,we(u(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.zhi_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[iCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),F(de,null,we(i(p.zhi_zhu),g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[oCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256))]),_:2},1024))),256)),(k(!0),F(de,null,we(c(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(p.zhi_zhu.gaonengs,g=>(k(),F("div",null,[I(h,{type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[G(U(g.text)+U(g.sign)+" ",1),g.guanxi=="刑"&&g.xing_chu!=null?(k(),Y(h,{key:0,tag:"ins",size:"small",type:y(Ve).getColorByGaoNeng(g.guanxi)},{default:M(()=>[lCe,G("(刑"+U(g.xing_chu)+") ",1)]),_:2},1032,["type"])):Q("",!0),o(g.guanxi)?(k(),Y(h,{key:1,type:y(Ve).getColorByGaoNeng(g.guanxi),size:"small"},{default:M(()=>[G(U(g.fangxiang)+"("+U(g.zengqiang_shishen)+") ",1)]),_:2},1032,["type"])):Q("",!0),I(h,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1032,["type"])]))),256)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256))],64)}}}),uCe=te({__name:"Shen_Sha",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o.push(H.bazi.value.nian_zhi),o.push(H.bazi.value.yue_zhi),o.push(H.bazi.value.ri_zhi),o.push(H.bazi.value.shi_zhi)),o});function n(){let o=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&(o=H.curDaYun.value.zhi_zhu.shenshas),o}function r(){let o=[];return H.bazi.value!=null&&H.curDaYun.value!=null&&H.curLiuNian.value!=null&&(o=H.curLiuNian.value.zhi_zhu.shenshas),o}function a(){let o=[];return H.bazi.value!=null&&H.curLiuYue.value!=null&&(o=H.curLiuYue.value.zhi_zhu.shenshas),o}function i(){let o=[];return H.bazi.value!=null&&H.curLiuRi.value!=null&&(o=H.curLiuRi.value.zhi_zhu.shenshas),o}return(o,l)=>{const s=se("el-text"),u=se("el-space");return k(),F(de,null,[(k(!0),F(de,null,we(y(t),c=>(k(),Y(u,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(c.shenshas,f=>(k(),Y(s,null,{default:M(()=>[G(U(f),1)]),_:2},1024))),256)),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),I(u,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(n(),c=>(k(),F("div",null,[I(s,null,{default:M(()=>[G(U(c)+" ",1),I(s,{size:"small"},{default:M(()=>[G("(运)")]),_:1})]),_:2},1024)]))),256)),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:1}),I(u,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(r(),c=>(k(),F("div",null,[I(s,null,{default:M(()=>[G(U(c)+" ",1),I(s,{size:"small"},{default:M(()=>[G("(年)")]),_:1})]),_:2},1024)]))),256)),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:1}),I(u,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(a(),c=>(k(),F("div",null,[I(s,null,{default:M(()=>[G(U(c)+" ",1),I(s,{size:"small"},{default:M(()=>[G("(月)")]),_:1})]),_:2},1024)]))),256)),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:1}),I(u,{direction:"vertical",size:0},{default:M(()=>[(k(!0),F(de,null,we(i(),c=>(k(),F("div",null,[I(s,null,{default:M(()=>[G(U(c)+" ",1),I(s,{size:"small"},{default:M(()=>[G("(日)")]),_:1})]),_:2},1024)]))),256)),I(s,null,{default:M(()=>[G(" ")]),_:1})]),_:1})],64)}}}),cCe={style:{width:"100%"}},fCe=te({__name:"LiuYueList",setup(e){function t(a,i){let o=[];for(let l=a;l<=i;l++)o.push(l);return o}function n(a){let i=[];return H.bazi.value!=null&&H.curLiuNian.value!=null&&i.push(H.curLiuNian.value.liuyue[a]),i}function r(a){H.curLiuYue.value=H.curLiuNian.value.liuyue[a];let i=H.curLiuYue.value;H.calcLiuYueGaoNeng(i,H.curDaYun.value,H.curLiuNian.value),H.liuriIndex.value=null,H.curLiuRi.value=null}return(a,i)=>{const o=se("el-text"),l=se("el-tooltip"),s=se("el-space"),u=se("el-segmented");return k(),F("div",cCe,[y(H).bazi.value!=null&&y(H).curLiuNian.value!=null?(k(),Y(u,{key:0,onChange:r,block:"",modelValue:y(H).liuyueIndex.value,"onUpdate:modelValue":i[0]||(i[0]=c=>y(H).liuyueIndex.value=c),options:t(0,11)},{default:M(({item:c})=>[(k(!0),F(de,null,we(n(c),f=>(k(),Y(s,{direction:"vertical",size:10,style:{"padding-top":"5px","padding-bottom":"5px"}},{default:M(()=>[I(o,{size:"small"},{default:M(()=>[G(U(f==null?void 0:f.jie_qi),1)]),_:2},1024),I(o,{size:"small"},{default:M(()=>[G(U(f==null?void 0:f.jie_qi_date),1)]),_:2},1024),I(o,null,{default:M(()=>[G(U(f==null?void 0:f.gan_text)+" ",1),I(o,{size:"small",tag:"b"},{default:M(()=>[G(U(f==null?void 0:f.gan_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024),I(o,null,{default:M(()=>[G(U(f==null?void 0:f.zhi_text)+" ",1),I(o,{size:"small",tag:"b"},{default:M(()=>[G(U(f==null?void 0:f.zhi_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024),(f==null?void 0:f.yinyuan_level)>0?(k(),Y(l,{key:0,content:f==null?void 0:f.yinyuan_tip,"show-after":500},{default:M(()=>[I(o,{style:{color:"hotpink"}},{default:M(()=>[G(" ♥︎ ")]),_:1})]),_:2},1032,["content"])):Q("",!0),(f==null?void 0:f.yinyuan_level)==0?(k(),Y(o,{key:1,style:{color:"transparent"}},{default:M(()=>[G(" ♥︎ ")]),_:1})):Q("",!0)]),_:2},1024))),256))]),_:1},8,["modelValue","options"])):Q("",!0)])}}}),dCe={style:{width:"1800px"}},hCe=te({__name:"LiuRiList",setup(e){let t=j(),n=j();function r(h,v){let p=[];for(let g=h;g<=v;g++)p.push(g);return p}function a(h){H.curLiuRi.value=H.curLiuYue.value.liuri[h];let v=H.curLiuRi.value;H.calcLiuRiGaoNeng(v,H.curLiuYue.value,H.curDaYun.value,H.curLiuNian.value)}function i(h){t.value.setScrollLeft(h)}function o(h){let v=[];if(H.bazi.value!=null&&H.curLiuYue.value!=null){let p=H.curLiuYue.value.liuri[h];v.push(p)}return v}function l(h){let v=parseInt(h.toString());return["星期一","星期二","星期三","星期四","星期五","星期六","星期日"][v]}function s(h){var g;let v=-1,p=null;for(let m=0;m<((g=H.bazi.value)==null?void 0:g.dayun.length);m++){let b=H.bazi.value.dayun[m];if(b.start_year<=h&&h<=b.end_year){v=m,p=b;break}}return v!=-1?[v,p]:null}function u(h,v){let p=-1,g=null;for(let m=0;m<v.length;m++){let b=v[m];if(b.year==h){p=m,g=b;break}}return p!=-1?[p,g]:null}function c(h,v){let p=-1,g=null;for(let m=0;m<v.length;m++){let b=v[m];if(b.month==h){p=m,g=b;break}}return p!=-1?[p,g]:null}function f(h,v){let p=-1,g=null;for(let m=0;m<v.length;m++){let b=v[m];if(b.day==h){p=m,g=b;break}}return p!=-1?[p,g]:null}function d(){if(H.bazi.value==null)return;let h=new Date,v=h.getFullYear(),p=h.getMonth()+1,g=h.getDate(),m=s(v);m!=null&&setTimeout(function(){H.dayunIndex.value=m[0],H.curDaYun.value=m[1],H.curLiuNianList.value=m[1].liunian;let b=u(v,m[1].liunian);b!=null&&setTimeout(function(){H.liunianIndex.value=b[0],H.curLiuNian.value=b[1];let _=c(p,b[1].liuyue);_!=null&&setTimeout(function(){H.liuyueIndex.value=_[0],H.curLiuYue.value=_[1];let w=f(g,_[1].liuri);w!=null&&setTimeout(function(){H.liuriIndex.value=w[0],H.curLiuRi.value=w[1],setTimeout(function(){let x=0;g<=10?x=0:g<=22?x=600:x=1200,t.value.setScrollLeft(x),n.value=x},100)},100)},100)},100)},100)}return(h,v)=>{const p=se("el-text"),g=se("el-space"),m=se("el-segmented"),b=se("el-scrollbar"),_=se("el-slider"),w=se("el-col"),x=se("el-button"),S=se("el-row");return k(),F(de,null,[I(b,{ref_key:"bar",ref:t,style:{"padding-bottom":"20px"}},{default:M(()=>[X("div",dCe,[y(H).bazi.value!=null&&y(H).curLiuYue.value!=null?(k(),Y(m,{key:0,onChange:a,block:"",modelValue:y(H).liuriIndex.value,"onUpdate:modelValue":v[0]||(v[0]=C=>y(H).liuriIndex.value=C),options:r(0,y(H).curLiuYue.value.liuri.length-1)},{default:M(({item:C})=>[(k(!0),F(de,null,we(o(C),T=>(k(),Y(g,{direction:"vertical",size:10,style:{"padding-top":"5px","padding-bottom":"5px"}},{default:M(()=>[I(p,{size:"small"},{default:M(()=>[G(U(T.day)+"日 ",1)]),_:2},1024),I(p,{size:"small"},{default:M(()=>[G(U(l(T.xing_qi)),1)]),_:2},1024),I(p,null,{default:M(()=>[G(U(T.gan_text)+" ",1),I(p,{size:"small",tag:"b"},{default:M(()=>[G(U(T.gan_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024),I(p,null,{default:M(()=>[G(U(T.zhi_text)+" ",1),I(p,{size:"small",tag:"b"},{default:M(()=>[G(U(T.zhi_zhu.shi_shen),1)]),_:2},1024)]),_:2},1024)]),_:2},1024))),256))]),_:1},8,["modelValue","options"])):Q("",!0)])]),_:1},512),y(H).bazi.value!=null?(k(),Y(S,{key:0},{default:M(()=>[I(w,{span:20},{default:M(()=>[I(_,{"show-tooltip":!1,modelValue:y(n),"onUpdate:modelValue":v[1]||(v[1]=C=>ct(n)?n.value=C:n=C),min:0,max:1200,onInput:i},null,8,["modelValue"])]),_:1}),I(w,{span:4},{default:M(()=>[I(x,{type:"primary",onClick:v[2]||(v[2]=C=>d())},{default:M(()=>[G("今天")]),_:1})]),_:1})]),_:1})):Q("",!0)],64)}}}),vCe={align:"right"},pCe={class:"grid-container"},gCe={class:"grid-container"},mCe={class:"grid-container",style:{"margin-top":"-20px"}},yCe={class:"grid-container",style:{"margin-top":"-10px"}},bCe={class:"grid-container",style:{"margin-top":"-20px"}},_Ce={class:"grid-container",style:{"margin-top":"-20px"}},wCe={class:"grid-container",style:{"margin-top":"-20px"}},xCe=te({__name:"DaYun",setup(e){let t=j(["年柱","月柱","日柱","时柱","大运","流年","流月","流日","流时"]);return(n,r)=>{const a=se("el-text"),i=se("el-divider"),o=se("el-card");return k(),Y(o,null,{header:M(()=>[X("div",vCe,[I(a,{size:"large",style:{color:"hotpink"}},{default:M(()=>[G(" ♥︎ "),I(a,null,{default:M(()=>[G("姻缘 "),I(a,{size:"small"},{default:M(()=>[G("(鼠标悬停 ♥︎ 上可以查看详情)")]),_:1})]),_:1})]),_:1})])]),default:M(()=>[I(E8e),I(i),I(D8e),I(i),I(fCe),I(i),I(hCe),I(i),X("div",pCe,[(k(!0),F(de,null,we(y(t),l=>(k(),Y(a,null,{default:M(()=>[G(U(l),1)]),_:2},1024))),256))]),X("div",gCe,[I($8e)]),X("div",mCe,[I(V8e)]),X("div",yCe,[I(G8e)]),X("div",bCe,[I(W8e)]),X("div",_Ce,[I(sCe)]),X("div",wCe,[I(uCe)])]),_:1})}}}),SCe=Mi(xCe,[["__scopeId","data-v-9b17426b"]]),CCe={align:"left"},TCe=te({__name:"WuXingZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.wuxing.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.wuxing.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.wuxing.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.wuxing.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.wuxing.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.wuxing.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.wuxing.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.wuxing.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",CCe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),kCe={align:"left"},zCe=te({__name:"ShiShenZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.shishen.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.shishen.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.shishen.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.shishen.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.shishen.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.shishen.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.shishen.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.shishen.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",kCe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),MCe={align:"left"},ACe=te({__name:"ZuoZhiZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.zuozhi.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.zuozhi.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.zuozhi.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.zuozhi.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.zuozhi.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.zuozhi.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.zuozhi.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.zuozhi.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",MCe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),ECe={align:"left"},ICe=te({__name:"MenHuZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.menhu.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.menhu.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.menhu.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.menhu.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.menhu.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.menhu.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.menhu.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.menhu.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",ECe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),DCe={align:"left"},LCe=te({__name:"ShenShaZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.shensha.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.shensha.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.shensha.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.shensha.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.shensha.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.shensha.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.shensha.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.shensha.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",DCe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),PCe={align:"left"},RCe=te({__name:"GeJuZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.geju.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.geju.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.geju.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.geju.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.geju.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.geju.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.geju.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.geju.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-text"),u=se("el-checkbox"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",PCe,[I(s,{type:"danger"},{default:M(()=>[G("注意:格局指的不是马上会体现出来的特性,而是随着大运流年的流转触发。 ")]),_:1}),(k(!0),F(de,null,we(y(t),v=>(k(),Y(u,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(u,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(s,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),OCe={align:"left"},NCe=te({__name:"GaoNengZhenDuan",setup(e){let t=L(function(){let l=[];if(H.bazi.value!=null){let s=H.bazi.value.zhenduan.gaoneng.keys(),u=null;for(;(u=s.next())!=null;)l.push(u)}return l});function n(l){let s=[];return H.bazi.value!=null&&(s=H.bazi.value.zhenduan.gaoneng.get(l).jianyi),s}function r(l){let s=[];return H.bazi.value!=null&&(s=H.bazi.value.zhenduan.gaoneng.get(l).cankao),s}function a(){H.bazi.value!=null&&H.bazi.value.zhenduan.gaoneng.forEach(function(l){l.jianyi.forEach(function(s){s.selected=!0}),l.cankao.forEach(function(s){s.selected=!0})})}function i(){H.bazi.value!=null&&H.bazi.value.zhenduan.gaoneng.forEach(function(l){l.jianyi.forEach(function(s){s.selected=!0}),l.cankao.forEach(function(s){s.selected=!1})})}function o(){H.bazi.value!=null&&H.bazi.value.zhenduan.gaoneng.forEach(function(l){l.jianyi.forEach(function(s){s.selected=!1}),l.cankao.forEach(function(s){s.selected=!1})})}return(l,s)=>{const u=se("el-text"),c=se("el-checkbox"),f=se("el-scrollbar"),d=se("el-button"),h=se("el-space"),v=se("el-card");return k(),Y(v,null,{default:M(()=>[I(f,{height:"400",noresize:""},{default:M(()=>[(k(!0),F(de,null,we(y(t),p=>(k(),F("div",OCe,[I(u,null,{default:M(()=>[G(U(p),1)]),_:2},1024),(k(!0),F(de,null,we(n(p),g=>(k(),Y(c,{style:{width:"100%"},modelValue:g.selected,"onUpdate:modelValue":m=>g.selected=m},{default:M(()=>[G(U(g.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(r(p),g=>(k(),Y(c,{style:{width:"100%"},modelValue:g.selected,"onUpdate:modelValue":m=>g.selected=m},{default:M(()=>[G(U(g.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(g.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))]))),256))]),_:1}),I(h,{style:{"margin-top":"20px"}},{default:M(()=>[I(d,{type:"primary",onClick:a},{default:M(()=>[G("全部选择")]),_:1}),I(d,{type:"primary",onClick:i},{default:M(()=>[G("默认选择")]),_:1}),I(d,{type:"danger",onClick:o},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),$Ce={align:"left"},VCe=te({__name:"JianKangZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.jiankang.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.jiankang.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.jiankang.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.jiankang.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.jiankang.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.jiankang.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.jiankang.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.jiankang.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",$Ce,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),BCe={align:"left"},FCe=te({__name:"QingGanZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.qinggan.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.qinggan.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.qinggan.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.qinggan.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.qinggan.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.qinggan.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.qinggan.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.qinggan.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",BCe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),HCe={align:"left"},jCe=te({__name:"DaYunZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.dayun.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.dayun.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.dayun.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.dayun.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.dayun.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.dayun.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.dayun.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.dayun.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",HCe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),qCe={align:"left"},GCe=te({__name:"YinYuanZhenDuan",setup(e){let t=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.yinyuan.jianyi),o}),n=L(function(){let o=[];return H.bazi.value!=null&&(o=H.bazi.value.zhenduan.yinyuan.cankao),o});function r(){H.bazi.value!=null&&(H.bazi.value.zhenduan.yinyuan.cankao.forEach(function(o){o.selected=!0}),H.bazi.value.zhenduan.yinyuan.jianyi.forEach(function(o){o.selected=!0}))}function a(){H.bazi.value!=null&&(H.bazi.value.zhenduan.yinyuan.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.yinyuan.jianyi.forEach(function(o){o.selected=!0}))}function i(){H.bazi.value!=null&&(H.bazi.value.zhenduan.yinyuan.cankao.forEach(function(o){o.selected=!1}),H.bazi.value.zhenduan.yinyuan.jianyi.forEach(function(o){o.selected=!1}))}return(o,l)=>{const s=se("el-checkbox"),u=se("el-text"),c=se("el-scrollbar"),f=se("el-button"),d=se("el-space"),h=se("el-card");return k(),Y(h,null,{default:M(()=>[I(c,{height:"400",noresize:""},{default:M(()=>[X("div",qCe,[(k(!0),F(de,null,we(y(t),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content),1)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256)),(k(!0),F(de,null,we(y(n),v=>(k(),Y(s,{style:{width:"100%"},modelValue:v.selected,"onUpdate:modelValue":p=>v.selected=p},{default:M(()=>[G(U(v.content)+" ",1),I(u,{type:"danger"},{default:M(()=>[G(U(v.tip),1)]),_:2},1024)]),_:2},1032,["modelValue","onUpdate:modelValue"]))),256))])]),_:1}),I(d,{style:{"margin-top":"20px"}},{default:M(()=>[I(f,{type:"primary",onClick:r},{default:M(()=>[G("全部选择")]),_:1}),I(f,{type:"primary",onClick:a},{default:M(()=>[G("默认选择")]),_:1}),I(f,{type:"danger",onClick:i},{default:M(()=>[G("全部取消")]),_:1})]),_:1})]),_:1})}}}),WCe=te({__name:"ZhenDuan",setup(e){let t=j("wuxing"),n=j(),r=j(!1),a=j(!1),i=j(!1);function o(){let l="";H.bazi.value!=null&&(l=H.bazi.value.zhenduan.getContent(r.value,a.value,i.value)),n.value=l}return(l,s)=>{const u=se("el-input"),c=se("el-button"),f=se("el-space"),d=se("el-col"),h=se("el-checkbox"),v=se("el-row"),p=se("el-radio-button"),g=se("el-radio-group"),m=se("el-card");return k(),Y(m,null,{header:M(()=>[I(u,{modelValue:y(n),"onUpdate:modelValue":s[0]||(s[0]=b=>ct(n)?n.value=b:n=b),type:"textarea",autosize:{minRows:1,maxRows:15}},null,8,["modelValue"]),I(v,{style:{width:"100%","margin-top":"10px"},align:"middle"},{default:M(()=>[I(d,{span:4,align:"left"},{default:M(()=>[I(f,null,{default:M(()=>[I(c,{type:"primary",onClick:o},{default:M(()=>[G("生成诊断")]),_:1})]),_:1})]),_:1}),I(d,{span:20,align:"left"},{default:M(()=>[I(h,{modelValue:y(r),"onUpdate:modelValue":s[1]||(s[1]=b=>ct(r)?r.value=b:r=b)},{default:M(()=>[G("包括情感")]),_:1},8,["modelValue"]),I(h,{modelValue:y(a),"onUpdate:modelValue":s[2]||(s[2]=b=>ct(a)?a.value=b:a=b)},{default:M(()=>[G("包括大运")]),_:1},8,["modelValue"]),I(h,{modelValue:y(i),"onUpdate:modelValue":s[3]||(s[3]=b=>ct(i)?i.value=b:i=b)},{default:M(()=>[G("包括姻缘")]),_:1},8,["modelValue"])]),_:1})]),_:1})]),default:M(()=>[I(v,{align:"middle"},{default:M(()=>[I(d,{span:24,align:"right"},{default:M(()=>[I(g,{modelValue:y(t),"onUpdate:modelValue":s[4]||(s[4]=b=>ct(t)?t.value=b:t=b)},{default:M(()=>[I(p,{value:"wuxing"},{default:M(()=>[G("五行")]),_:1}),I(p,{value:"shishen"},{default:M(()=>[G("十神")]),_:1}),I(p,{value:"zuozhi"},{default:M(()=>[G("坐支")]),_:1}),I(p,{value:"menhu"},{default:M(()=>[G("门户")]),_:1}),I(p,{value:"shensha"},{default:M(()=>[G("神煞")]),_:1}),I(p,{value:"geju"},{default:M(()=>[G("格局")]),_:1}),I(p,{value:"gaoneng"},{default:M(()=>[G("高能")]),_:1}),I(p,{value:"jiankang"},{default:M(()=>[G("健康")]),_:1}),I(p,{value:"qinggan"},{default:M(()=>[G("情感")]),_:1}),I(p,{value:"dayun"},{default:M(()=>[G("大运")]),_:1}),I(p,{value:"yinyuan"},{default:M(()=>[G("姻缘")]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1}),y(t)=="wuxing"?(k(),Y(TCe,{key:0,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="shishen"?(k(),Y(zCe,{key:1,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="zuozhi"?(k(),Y(ACe,{key:2,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="menhu"?(k(),Y(ICe,{key:3,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="shensha"?(k(),Y(LCe,{key:4,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="geju"?(k(),Y(RCe,{key:5,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="gaoneng"?(k(),Y(NCe,{key:6,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="jiankang"?(k(),Y(VCe,{key:7,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="qinggan"?(k(),Y(FCe,{key:8,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="dayun"?(k(),Y(jCe,{key:9,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="yinyuan"?(k(),Y(GCe,{key:10,style:{"margin-top":"10px"}})):Q("",!0)]),_:1})}}}),UCe=te({__name:"User",props:{onReadUser:Function},setup(e){let t=e,n=j(""),r=j(!1);function a(){r.value=!0,Co.loadUsers(function(){r.value=!1})}function i(){let s=[];if(H.ownerUsers.value!=null){let u=n.value.trim();H.ownerUsers.value.forEach(function(c){(u.length==0||c.getKey().indexOf(u)!=-1)&&s.push(c)})}return s}function o(s){Co.deleteUser(s)}function l(s){(t==null?void 0:t.onReadUser)!=null&&(t==null||t.onReadUser(s))}return(s,u)=>{const c=se("el-button"),f=se("el-input"),d=se("el-space"),h=se("el-text"),v=se("el-col"),p=se("el-row"),g=se("el-divider"),m=se("el-popconfirm"),b=se("el-scrollbar"),_=se("el-card");return k(),Y(_,null,{header:M(()=>[I(d,{style:{width:"100%"}},{default:M(()=>[I(c,{disabled:y(r),type:"primary",onClick:u[0]||(u[0]=w=>a())},{default:M(()=>[G("载入信息")]),_:1},8,["disabled"]),I(f,{modelValue:y(n),"onUpdate:modelValue":u[1]||(u[1]=w=>ct(n)?n.value=w:n=w),placeholder:"输入任意关键字筛选",clearable:""},null,8,["modelValue"])]),_:1})]),default:M(()=>[I(b,{"max-height":600},{default:M(()=>[I(p,{style:{width:"100%"}},{default:M(()=>[I(v,{span:1},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("ID")]),_:1})]),_:1}),I(v,{span:3},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("姓名")]),_:1})]),_:1}),I(v,{span:2},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("性别")]),_:1})]),_:1}),I(v,{span:6},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("出生信息")]),_:1})]),_:1}),I(v,{span:1},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("年")]),_:1})]),_:1}),I(v,{span:1},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("月")]),_:1})]),_:1}),I(v,{span:1},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("日")]),_:1})]),_:1}),I(v,{span:1},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("时")]),_:1})]),_:1}),I(v,{span:8},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G("备注")]),_:1})]),_:1})]),_:1}),I(g),(k(!0),F(de,null,we(i(),w=>(k(),F("div",null,[I(p,{style:{width:"100%"}},{default:M(()=>[I(v,{span:1},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.id),1)]),_:2},1024)]),_:2},1024),I(v,{span:3},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.name),1)]),_:2},1024)]),_:2},1024),I(v,{span:2},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.isMan?"男":"女"),1)]),_:2},1024)]),_:2},1024),I(v,{span:6},{default:M(()=>[w.dateMode==0?(k(),Y(d,{key:0},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.year)+"-"+U(w.month)+"-"+U(w.day),1)]),_:2},1024),w.hourMode==0?(k(),Y(h,{key:0},{default:M(()=>[G(U(w.hour)+" : "+U(w.minute),1)]),_:2},1024)):Q("",!0)]),_:2},1024)):Q("",!0),w.dateMode==1?(k(),Y(d,{key:1},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.nongli_year)+"年 "+U(w.nongli_month)+" "+U(w.nongli_day),1)]),_:2},1024),w.hourMode==0?(k(),Y(h,{key:0},{default:M(()=>[G(U(w.hour)+" : "+U(w.minute),1)]),_:2},1024)):Q("",!0)]),_:2},1024)):Q("",!0),w.dateMode==2?(k(),Y(d,{key:2},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.req_nian_gan)+U(w.req_nian_zhi),1)]),_:2},1024),I(h,null,{default:M(()=>[G(U(w.req_yue_gan)+U(w.req_yue_zhi),1)]),_:2},1024),I(h,null,{default:M(()=>[G(U(w.req_ri_gan)+U(w.req_ri_zhi),1)]),_:2},1024),I(h,null,{default:M(()=>[G(U(w.req_shi_gan==null?"无":w.req_shi_gan)+U(w.req_shi_zhi==null?"无":w.req_shi_zhi),1)]),_:2},1024)]),_:2},1024)):Q("",!0)]),_:2},1024),I(v,{span:1},{default:M(()=>[I(d,{direction:"vertical",size:0},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.rsp_nian_gan),1)]),_:2},1024),I(h,null,{default:M(()=>[G(U(w.rsp_nian_zhi),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),I(v,{span:1},{default:M(()=>[I(d,{direction:"vertical",size:0},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.rsp_yue_gan),1)]),_:2},1024),I(h,null,{default:M(()=>[G(U(w.rsp_yue_zhi),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),I(v,{span:1},{default:M(()=>[I(d,{direction:"vertical",size:0},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.rsp_ri_gan),1)]),_:2},1024),I(h,null,{default:M(()=>[G(U(w.rsp_ri_zhi),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),I(v,{span:1},{default:M(()=>[I(d,{direction:"vertical",size:0},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.rsp_shi_gan),1)]),_:2},1024),I(h,null,{default:M(()=>[G(U(w.rsp_shi_zhi),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),I(v,{span:8},{default:M(()=>[I(h,null,{default:M(()=>[G(U(w.extra),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),I(d,{style:{width:"100%"}},{default:M(()=>[I(c,{onClick:x=>l(w)},{default:M(()=>[G("载入")]),_:2},1032,["onClick"]),I(m,{title:"确认删除吗?","confirm-button-text":"是","cancel-button-text":"否",onConfirm:x=>o(w.id)},{reference:M(()=>[I(c,{type:"danger"},{default:M(()=>[G("删除")]),_:1})]),_:2},1032,["onConfirm"])]),_:2},1024),I(g)]))),256))]),_:1})]),_:1})}}}),YCe=Mi(UCe,[["__scopeId","data-v-73155549"]]);/*! *****************************************************************************
  81. Copyright (c) Microsoft Corporation.
  82. Permission to use, copy, modify, and/or distribute this software for any
  83. purpose with or without fee is hereby granted.
  84. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  85. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  86. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  87. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  88. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  89. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  90. PERFORMANCE OF THIS SOFTWARE.
  91. ***************************************************************************** */var bw=function(e,t){return bw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(n[a]=r[a])},bw(e,t)};function Se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bw(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var KCe=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),XCe=function(){function e(){this.browser=new KCe,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window<"u"}return e}(),Jt=new XCe;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(Jt.wxa=!0,Jt.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?Jt.worker=!0:typeof navigator>"u"||navigator.userAgent.indexOf("Node.js")===0?(Jt.node=!0,Jt.svgSupported=!0):ZCe(navigator.userAgent,Jt);function ZCe(e,t){var n=t.browser,r=e.match(/Firefox\/([\d.]+)/),a=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);r&&(n.firefox=!0,n.version=r[1]),a&&(n.ie=!0,n.version=a[1]),i&&(n.edge=!0,n.version=i[1],n.newEdge=+i[1].split(".")[0]>18),o&&(n.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,t.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),t.domSupported=typeof document<"u";var l=document.documentElement.style;t.transform3dSupported=(n.ie&&"transition"in l||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in l)&&!("OTransition"in l),t.transformSupported=t.transform3dSupported||n.ie&&+n.version>=9}var S6=12,pF="sans-serif",Ws=S6+"px "+pF,JCe=20,QCe=100,e7e="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function t7e(e){var t={};if(typeof JSON>"u")return t;for(var n=0;n<e.length;n++){var r=String.fromCharCode(n+32),a=(e.charCodeAt(n)-JCe)/QCe;t[r]=a}return t}var n7e=t7e(e7e),Us={createCanvas:function(){return typeof document<"u"&&document.createElement("canvas")},measureText:function(){var e,t;return function(n,r){if(!e){var a=Us.createCanvas();e=a&&a.getContext("2d")}if(e)return t!==r&&(t=e.font=r||Ws),e.measureText(n);n=n||"",r=r||Ws;var i=/((?:\d+)?\.?\d*)px/.exec(r),o=i&&+i[1]||S6,l=0;if(r.indexOf("mono")>=0)l=o*n.length;else for(var s=0;s<n.length;s++){var u=n7e[n[s]];l+=u==null?o:u*o}return{width:l}}}(),loadImage:function(e,t,n){var r=new Image;return r.onload=t,r.onerror=n,r.src=e,r}},gF=No(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),mF=No(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),ih=Object.prototype.toString,Hy=Array.prototype,r7e=Hy.forEach,a7e=Hy.filter,C6=Hy.slice,i7e=Hy.map,Mz=(function(){}).constructor,Cg=Mz?Mz.prototype:null,T6="__proto__",o7e=2311;function yF(){return o7e++}function k6(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console<"u"&&console.error.apply(console,e)}function kt(e){if(e==null||typeof e!="object")return e;var t=e,n=ih.call(e);if(n==="[object Array]"){if(!Fv(e)){t=[];for(var r=0,a=e.length;r<a;r++)t[r]=kt(e[r])}}else if(mF[n]){if(!Fv(e)){var i=e.constructor;if(i.from)t=i.from(e);else{t=new i(e.length);for(var r=0,a=e.length;r<a;r++)t[r]=e[r]}}}else if(!gF[n]&&!Fv(e)&&!Rd(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==T6&&(t[o]=kt(e[o]))}return t}function jt(e,t,n){if(!wt(t)||!wt(e))return n?kt(t):e;for(var r in t)if(t.hasOwnProperty(r)&&r!==T6){var a=e[r],i=t[r];wt(i)&&wt(a)&&!He(i)&&!He(a)&&!Rd(i)&&!Rd(a)&&!Az(i)&&!Az(a)&&!Fv(i)&&!Fv(a)?jt(a,i,n):(n||!(r in e))&&(e[r]=kt(t[r]))}return e}function z6(e,t){for(var n=e[0],r=1,a=e.length;r<a;r++)n=jt(n,e[r],t);return n}function $e(e,t){if(Object.assign)Object.assign(e,t);else for(var n in t)t.hasOwnProperty(n)&&n!==T6&&(e[n]=t[n]);return e}function _t(e,t,n){for(var r=tn(t),a=0;a<r.length;a++){var i=r[a];(n?t[i]!=null:e[i]==null)&&(e[i]=t[i])}return e}function Yt(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n}return-1}function l7e(e,t){var n=e.prototype;function r(){}r.prototype=t.prototype,e.prototype=new r;for(var a in n)n.hasOwnProperty(a)&&(e.prototype[a]=n[a]);e.prototype.constructor=e,e.superClass=t}function sr(e,t,n){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(t),a=0;a<r.length;a++){var i=r[a];i!=="constructor"&&(n?t[i]!=null:e[i]==null)&&(e[i]=t[i])}else _t(e,t,n)}function Zr(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function K(e,t,n){if(e&&t)if(e.forEach&&e.forEach===r7e)e.forEach(t,n);else if(e.length===+e.length)for(var r=0,a=e.length;r<a;r++)t.call(n,e[r],r,e);else for(var i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function Ge(e,t,n){if(!e)return[];if(!t)return M6(e);if(e.map&&e.map===i7e)return e.map(t,n);for(var r=[],a=0,i=e.length;a<i;a++)r.push(t.call(n,e[a],a,e));return r}function No(e,t,n,r){if(e&&t){for(var a=0,i=e.length;a<i;a++)n=t.call(r,n,e[a],a,e);return n}}function _n(e,t,n){if(!e)return[];if(!t)return M6(e);if(e.filter&&e.filter===a7e)return e.filter(t,n);for(var r=[],a=0,i=e.length;a<i;a++)t.call(n,e[a],a,e)&&r.push(e[a]);return r}function s7e(e,t,n){if(e&&t){for(var r=0,a=e.length;r<a;r++)if(t.call(n,e[r],r,e))return e[r]}}function tn(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}function u7e(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(C6.call(arguments)))}}var lt=Cg&&yt(Cg.bind)?Cg.call.bind(Cg.bind):u7e;function $t(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(C6.call(arguments)))}}function He(e){return Array.isArray?Array.isArray(e):ih.call(e)==="[object Array]"}function yt(e){return typeof e=="function"}function it(e){return typeof e=="string"}function _w(e){return ih.call(e)==="[object String]"}function ln(e){return typeof e=="number"}function wt(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function Az(e){return!!gF[ih.call(e)]}function Pa(e){return!!mF[ih.call(e)]}function Rd(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function jy(e){return e.colorStops!=null}function c7e(e){return e.image!=null}function f7e(e){return ih.call(e)==="[object RegExp]"}function D1(e){return e!==e}function Mr(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e.length;n<r;n++)if(e[n]!=null)return e[n]}function Ot(e,t){return e??t}function Eo(e,t,n){return e??t??n}function M6(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return C6.apply(e,t)}function A6(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function ha(e,t){if(!e)throw new Error(t)}function qi(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var bF="__ec_primitive__";function rm(e){e[bF]=!0}function Fv(e){return e[bF]}var d7e=function(){function e(){this.data={}}return e.prototype.delete=function(t){var n=this.has(t);return n&&delete this.data[t],n},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,n){return this.data[t]=n,this},e.prototype.keys=function(){return tn(this.data)},e.prototype.forEach=function(t){var n=this.data;for(var r in n)n.hasOwnProperty(r)&&t(n[r],r)},e}(),_F=typeof Map=="function";function h7e(){return _F?new Map:new d7e}var v7e=function(){function e(t){var n=He(t);this.data=h7e();var r=this;t instanceof e?t.each(a):t&&K(t,a);function a(i,o){n?r.set(i,o):r.set(o,i)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,n){return this.data.set(t,n),n},e.prototype.each=function(t,n){this.data.forEach(function(r,a){t.call(n,r,a)})},e.prototype.keys=function(){var t=this.data.keys();return _F?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function pt(e){return new v7e(e)}function am(e,t){for(var n=new e.constructor(e.length+t.length),r=0;r<e.length;r++)n[r]=e[r];for(var a=e.length,r=0;r<t.length;r++)n[r+a]=t[r];return n}function qy(e,t){var n;if(Object.create)n=Object.create(e);else{var r=function(){};r.prototype=e,n=new r}return t&&$e(n,t),n}function wF(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function ht(e,t){return e.hasOwnProperty(t)}function er(){}var a2=180/Math.PI;function Zc(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function aa(e,t){return e[0]=t[0],e[1]=t[1],e}function vl(e){return[e[0],e[1]]}function p7e(e,t,n){return e[0]=t,e[1]=n,e}function Ez(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e}function ww(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e}function ic(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e}function xw(e){return Math.sqrt(g7e(e))}function g7e(e){return e[0]*e[0]+e[1]*e[1]}function i2(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e}function oh(e,t){var n=xw(t);return n===0?(e[0]=0,e[1]=0):(e[0]=t[0]/n,e[1]=t[1]/n),e}function Sw(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var _s=Sw;function m7e(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var bc=m7e;function o2(e,t,n,r){return e[0]=t[0]+r*(n[0]-t[0]),e[1]=t[1]+r*(n[1]-t[1]),e}function $r(e,t,n){var r=t[0],a=t[1];return e[0]=n[0]*r+n[2]*a+n[4],e[1]=n[1]*r+n[3]*a+n[5],e}function ws(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e}function xs(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e}var df=function(){function e(t,n){this.target=t,this.topTarget=n&&n.topTarget}return e}(),y7e=function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var n=t.target;n&&!n.draggable;)n=n.parent||n.__hostTarget;n&&(this._draggingTarget=n,n.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new df(n,t),"dragstart",t.event))},e.prototype._drag=function(t){var n=this._draggingTarget;if(n){var r=t.offsetX,a=t.offsetY,i=r-this._x,o=a-this._y;this._x=r,this._y=a,n.drift(i,o,t),this.handler.dispatchToElement(new df(n,t),"drag",t.event);var l=this.handler.findHover(r,a,n).target,s=this._dropTarget;this._dropTarget=l,n!==l&&(s&&l!==s&&this.handler.dispatchToElement(new df(s,t),"dragleave",t.event),l&&l!==s&&this.handler.dispatchToElement(new df(l,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var n=this._draggingTarget;n&&(n.dragging=!1),this.handler.dispatchToElement(new df(n,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new df(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e}(),Ei=function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,n,r,a){this._$handlers||(this._$handlers={});var i=this._$handlers;if(typeof n=="function"&&(a=r,r=n,n=null),!r||!t)return this;var o=this._$eventProcessor;n!=null&&o&&o.normalizeQuery&&(n=o.normalizeQuery(n)),i[t]||(i[t]=[]);for(var l=0;l<i[t].length;l++)if(i[t][l].h===r)return this;var s={h:r,query:n,ctx:a||this,callAtLast:r.zrEventfulCallAtLast},u=i[t].length-1,c=i[t][u];return c&&c.callAtLast?i[t].splice(u,0,s):i[t].push(s),this},e.prototype.isSilent=function(t){var n=this._$handlers;return!n||!n[t]||!n[t].length},e.prototype.off=function(t,n){var r=this._$handlers;if(!r)return this;if(!t)return this._$handlers={},this;if(n){if(r[t]){for(var a=[],i=0,o=r[t].length;i<o;i++)r[t][i].h!==n&&a.push(r[t][i]);r[t]=a}r[t]&&r[t].length===0&&delete r[t]}else delete r[t];return this},e.prototype.trigger=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var o=n.length,l=a.length,s=0;s<l;s++){var u=a[s];if(!(i&&i.filter&&u.query!=null&&!i.filter(t,u.query)))switch(o){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,n[0]);break;case 2:u.h.call(u.ctx,n[0],n[1]);break;default:u.h.apply(u.ctx,n);break}}return i&&i.afterTrigger&&i.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];if(!this._$handlers)return this;var a=this._$handlers[t],i=this._$eventProcessor;if(a)for(var o=n.length,l=n[o-1],s=a.length,u=0;u<s;u++){var c=a[u];if(!(i&&i.filter&&c.query!=null&&!i.filter(t,c.query)))switch(o){case 0:c.h.call(l);break;case 1:c.h.call(l,n[0]);break;case 2:c.h.call(l,n[0],n[1]);break;default:c.h.apply(l,n.slice(1,o-1));break}}return i&&i.afterTrigger&&i.afterTrigger(t),this},e}(),b7e=Math.log(2);function Cw(e,t,n,r,a,i){var o=r+"-"+a,l=e.length;if(i.hasOwnProperty(o))return i[o];if(t===1){var s=Math.round(Math.log((1<<l)-1&~a)/b7e);return e[n][s]}for(var u=r|1<<n,c=n+1;r&1<<c;)c++;for(var f=0,d=0,h=0;d<l;d++){var v=1<<d;v&a||(f+=(h%2?-1:1)*e[n][d]*Cw(e,t-1,c,u,a|v,i),h++)}return i[o]=f,f}function Iz(e,t){var n=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],r={},a=Cw(n,8,0,0,0,r);if(a!==0){for(var i=[],o=0;o<8;o++)for(var l=0;l<8;l++)i[l]==null&&(i[l]=0),i[l]+=((o+l)%2?-1:1)*Cw(n,7,o===0?1:0,1<<o,1<<l,r)/a*t[o];return function(s,u,c){var f=u*i[6]+c*i[7]+1;s[0]=(u*i[0]+c*i[1]+i[2])/f,s[1]=(u*i[3]+c*i[4]+i[5])/f}}}var Dz="___zrEVENTSAVED",kb=[];function _7e(e,t,n,r,a){return Tw(kb,t,r,a,!0)&&Tw(e,n,kb[0],kb[1])}function Tw(e,t,n,r,a){if(t.getBoundingClientRect&&Jt.domSupported&&!xF(t)){var i=t[Dz]||(t[Dz]={}),o=w7e(t,i),l=x7e(o,i,a);if(l)return l(e,n,r),!0}return!1}function w7e(e,t){var n=t.markers;if(n)return n;n=t.markers=[];for(var r=["left","right"],a=["top","bottom"],i=0;i<4;i++){var o=document.createElement("div"),l=o.style,s=i%2,u=(i>>1)%2;l.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",a[u]+":0",r[1-s]+":auto",a[1-u]+":auto",""].join("!important;"),e.appendChild(o),n.push(o)}return n}function x7e(e,t,n){for(var r=n?"invTrans":"trans",a=t[r],i=t.srcCoords,o=[],l=[],s=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,d=c.left,h=c.top;o.push(d,h),s=s&&i&&d===i[f]&&h===i[f+1],l.push(e[u].offsetLeft,e[u].offsetTop)}return s&&a?a:(t.srcCoords=o,t[r]=n?Iz(l,o):Iz(o,l))}function xF(e){return e.nodeName.toUpperCase()==="CANVAS"}var S7e=/([&<>"'])/g,C7e={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ta(e){return e==null?"":(e+"").replace(S7e,function(t,n){return C7e[n]})}var T7e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,zb=[],k7e=Jt.browser.firefox&&+Jt.browser.version.split(".")[0]<39;function kw(e,t,n,r){return n=n||{},r?Lz(e,t,n):k7e&&t.layerX!=null&&t.layerX!==t.offsetX?(n.zrX=t.layerX,n.zrY=t.layerY):t.offsetX!=null?(n.zrX=t.offsetX,n.zrY=t.offsetY):Lz(e,t,n),n}function Lz(e,t,n){if(Jt.domSupported&&e.getBoundingClientRect){var r=t.clientX,a=t.clientY;if(xF(e)){var i=e.getBoundingClientRect();n.zrX=r-i.left,n.zrY=a-i.top;return}else if(Tw(zb,e,r,a)){n.zrX=zb[0],n.zrY=zb[1];return}}n.zrX=n.zrY=0}function E6(e){return e||window.event}function ri(e,t,n){if(t=E6(t),t.zrX!=null)return t;var r=t.type,a=r&&r.indexOf("touch")>=0;if(a){var o=r!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&kw(e,o,t,n)}else{kw(e,t,t,n);var i=z7e(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var l=t.button;return t.which==null&&l!==void 0&&T7e.test(t.type)&&(t.which=l&1?1:l&2?3:l&4?2:0),t}function z7e(e){var t=e.wheelDelta;if(t)return t;var n=e.deltaX,r=e.deltaY;if(n==null||r==null)return t;var a=Math.abs(r!==0?r:n),i=r>0?-1:r<0?1:n>0?-1:1;return 3*a*i}function zw(e,t,n,r){e.addEventListener(t,n,r)}function M7e(e,t,n,r){e.removeEventListener(t,n,r)}var Cl=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function Pz(e){return e.which===2||e.which===3}var A7e=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,n,r){return this._doTrack(t,n,r),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,n,r){var a=t.touches;if(a){for(var i={points:[],touches:[],target:n,event:t},o=0,l=a.length;o<l;o++){var s=a[o],u=kw(r,s,{});i.points.push([u.zrX,u.zrY]),i.touches.push(s)}this._track.push(i)}},e.prototype._recognize=function(t){for(var n in Mb)if(Mb.hasOwnProperty(n)){var r=Mb[n](this._track,t);if(r)return r}},e}();function Rz(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function E7e(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var Mb={pinch:function(e,t){var n=e.length;if(n){var r=(e[n-1]||{}).points,a=(e[n-2]||{}).points||r;if(a&&a.length>1&&r&&r.length>1){var i=Rz(r)/Rz(a);!isFinite(i)&&(i=1),t.pinchScale=i;var o=E7e(r);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function Ga(){return[1,0,0,1,0,0]}function Gy(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function I6(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function pl(e,t,n){var r=t[0]*n[0]+t[2]*n[1],a=t[1]*n[0]+t[3]*n[1],i=t[0]*n[2]+t[2]*n[3],o=t[1]*n[2]+t[3]*n[3],l=t[0]*n[4]+t[2]*n[5]+t[4],s=t[1]*n[4]+t[3]*n[5]+t[5];return e[0]=r,e[1]=a,e[2]=i,e[3]=o,e[4]=l,e[5]=s,e}function $o(e,t,n){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+n[0],e[5]=t[5]+n[1],e}function Jc(e,t,n,r){r===void 0&&(r=[0,0]);var a=t[0],i=t[2],o=t[4],l=t[1],s=t[3],u=t[5],c=Math.sin(n),f=Math.cos(n);return e[0]=a*f+l*c,e[1]=-a*c+l*f,e[2]=i*f+s*c,e[3]=-i*c+f*s,e[4]=f*(o-r[0])+c*(u-r[1])+r[0],e[5]=f*(u-r[1])-c*(o-r[0])+r[1],e}function D6(e,t,n){var r=n[0],a=n[1];return e[0]=t[0]*r,e[1]=t[1]*a,e[2]=t[2]*r,e[3]=t[3]*a,e[4]=t[4]*r,e[5]=t[5]*a,e}function lh(e,t){var n=t[0],r=t[2],a=t[4],i=t[1],o=t[3],l=t[5],s=n*o-i*r;return s?(s=1/s,e[0]=o*s,e[1]=-i*s,e[2]=-r*s,e[3]=n*s,e[4]=(r*l-o*a)*s,e[5]=(i*a-n*l)*s,e):null}function I7e(e){var t=Ga();return I6(t,e),t}var Ft=function(){function e(t,n){this.x=t||0,this.y=n||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,n){return this.x=t,this.y=n,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,n){this.x+=t.x*n,this.y+=t.y*n},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var n=this.x-t.x,r=this.y-t.y;return Math.sqrt(n*n+r*r)},e.prototype.distanceSquare=function(t){var n=this.x-t.x,r=this.y-t.y;return n*n+r*r},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var n=this.x,r=this.y;return this.x=t[0]*n+t[2]*r+t[4],this.y=t[1]*n+t[3]*r+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,n,r){t.x=n,t.y=r},e.copy=function(t,n){t.x=n.x,t.y=n.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,n){return t.x*n.x+t.y*n.y},e.add=function(t,n,r){t.x=n.x+r.x,t.y=n.y+r.y},e.sub=function(t,n,r){t.x=n.x-r.x,t.y=n.y-r.y},e.scale=function(t,n,r){t.x=n.x*r,t.y=n.y*r},e.scaleAndAdd=function(t,n,r,a){t.x=n.x+r.x*a,t.y=n.y+r.y*a},e.lerp=function(t,n,r,a){var i=1-a;t.x=i*n.x+a*r.x,t.y=i*n.y+a*r.y},e}(),Tg=Math.min,kg=Math.max,pu=new Ft,gu=new Ft,mu=new Ft,yu=new Ft,Dh=new Ft,Lh=new Ft,qt=function(){function e(t,n,r,a){r<0&&(t=t+r,r=-r),a<0&&(n=n+a,a=-a),this.x=t,this.y=n,this.width=r,this.height=a}return e.prototype.union=function(t){var n=Tg(t.x,this.x),r=Tg(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=kg(t.x+t.width,this.x+this.width)-n:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=kg(t.y+t.height,this.y+this.height)-r:this.height=t.height,this.x=n,this.y=r},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var n=this,r=t.width/n.width,a=t.height/n.height,i=Ga();return $o(i,i,[-n.x,-n.y]),D6(i,i,[r,a]),$o(i,i,[t.x,t.y]),i},e.prototype.intersect=function(t,n){if(!t)return!1;t instanceof e||(t=e.create(t));var r=this,a=r.x,i=r.x+r.width,o=r.y,l=r.y+r.height,s=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,d=!(i<s||u<a||l<c||f<o);if(n){var h=1/0,v=0,p=Math.abs(i-s),g=Math.abs(u-a),m=Math.abs(l-c),b=Math.abs(f-o),_=Math.min(p,g),w=Math.min(m,b);i<s||u<a?_>v&&(v=_,p<g?Ft.set(Lh,-p,0):Ft.set(Lh,g,0)):_<h&&(h=_,p<g?Ft.set(Dh,p,0):Ft.set(Dh,-g,0)),l<c||f<o?w>v&&(v=w,m<b?Ft.set(Lh,0,-m):Ft.set(Lh,0,b)):_<h&&(h=_,m<b?Ft.set(Dh,0,m):Ft.set(Dh,0,-b))}return n&&Ft.copy(n,d?Dh:Lh),d},e.prototype.contain=function(t,n){var r=this;return t>=r.x&&t<=r.x+r.width&&n>=r.y&&n<=r.y+r.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,n){t.x=n.x,t.y=n.y,t.width=n.width,t.height=n.height},e.applyTransform=function(t,n,r){if(!r){t!==n&&e.copy(t,n);return}if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var a=r[0],i=r[3],o=r[4],l=r[5];t.x=n.x*a+o,t.y=n.y*i+l,t.width=n.width*a,t.height=n.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}pu.x=mu.x=n.x,pu.y=yu.y=n.y,gu.x=yu.x=n.x+n.width,gu.y=mu.y=n.y+n.height,pu.transform(r),yu.transform(r),gu.transform(r),mu.transform(r),t.x=Tg(pu.x,gu.x,mu.x,yu.x),t.y=Tg(pu.y,gu.y,mu.y,yu.y);var s=kg(pu.x,gu.x,mu.x,yu.x),u=kg(pu.y,gu.y,mu.y,yu.y);t.width=s-t.x,t.height=u-t.y},e}(),SF="silent";function D7e(e,t,n){return{type:e,event:n,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:L7e}}function L7e(){Cl(this.event)}var P7e=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.handler=null,n}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Ei),Ph=function(){function e(t,n){this.x=t,this.y=n}return e}(),R7e=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Ab=new qt(0,0,0,0),CF=function(e){Se(t,e);function t(n,r,a,i,o){var l=e.call(this)||this;return l._hovered=new Ph(0,0),l.storage=n,l.painter=r,l.painterRoot=i,l._pointerSize=o,a=a||new P7e,l.proxy=null,l.setHandlerProxy(a),l._draggingMgr=new y7e(l),l}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(K(R7e,function(r){n.on&&n.on(r,this[r],this)},this),n.handler=this),this.proxy=n},t.prototype.mousemove=function(n){var r=n.zrX,a=n.zrY,i=TF(this,r,a),o=this._hovered,l=o.target;l&&!l.__zr&&(o=this.findHover(o.x,o.y),l=o.target);var s=this._hovered=i?new Ph(r,a):this.findHover(r,a),u=s.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),l&&u!==l&&this.dispatchToElement(o,"mouseout",n),this.dispatchToElement(s,"mousemove",n),u&&u!==l&&this.dispatchToElement(s,"mouseover",n)},t.prototype.mouseout=function(n){var r=n.zrEventControl;r!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",n),r!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:n})},t.prototype.resize=function(){this._hovered=new Ph(0,0)},t.prototype.dispatch=function(n,r){var a=this[n];a&&a.call(this,r)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(n){var r=this.proxy;r.setCursor&&r.setCursor(n)},t.prototype.dispatchToElement=function(n,r,a){n=n||{};var i=n.target;if(!(i&&i.silent)){for(var o="on"+r,l=D7e(r,n,a);i&&(i[o]&&(l.cancelBubble=!!i[o].call(i,l)),i.trigger(r,l),i=i.__hostTarget?i.__hostTarget:i.parent,!l.cancelBubble););l.cancelBubble||(this.trigger(r,l),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(s){typeof s[o]=="function"&&s[o].call(s,l),s.trigger&&s.trigger(r,l)}))}},t.prototype.findHover=function(n,r,a){var i=this.storage.getDisplayList(),o=new Ph(n,r);if(Oz(i,o,n,r,a),this._pointerSize&&!o.target){for(var l=[],s=this._pointerSize,u=s/2,c=new qt(n-u,r-u,s,s),f=i.length-1;f>=0;f--){var d=i[f];d!==a&&!d.ignore&&!d.ignoreCoarsePointer&&(!d.parent||!d.parent.ignoreCoarsePointer)&&(Ab.copy(d.getBoundingRect()),d.transform&&Ab.applyTransform(d.transform),Ab.intersect(c)&&l.push(d))}if(l.length)for(var h=4,v=Math.PI/12,p=Math.PI*2,g=0;g<u;g+=h)for(var m=0;m<p;m+=v){var b=n+g*Math.cos(m),_=r+g*Math.sin(m);if(Oz(l,o,b,_,a),o.target)return o}}return o},t.prototype.processGesture=function(n,r){this._gestureMgr||(this._gestureMgr=new A7e);var a=this._gestureMgr;r==="start"&&a.clear();var i=a.recognize(n,this.findHover(n.zrX,n.zrY,null).target,this.proxy.dom);if(r==="end"&&a.clear(),i){var o=i.type;n.gestureEvent=o;var l=new Ph;l.target=i.target,this.dispatchToElement(l,o,i.event)}},t}(Ei);K(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){CF.prototype[e]=function(t){var n=t.zrX,r=t.zrY,a=TF(this,n,r),i,o;if((e!=="mouseup"||!a)&&(i=this.findHover(n,r),o=i.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||_s(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(i,e,t)}});function O7e(e,t,n){if(e[e.rectHover?"rectContain":"contain"](t,n)){for(var r=e,a=void 0,i=!1;r;){if(r.ignoreClip&&(i=!0),!i){var o=r.getClipPath();if(o&&!o.contain(t,n))return!1}r.silent&&(a=!0);var l=r.__hostTarget;r=l||r.parent}return a?SF:!0}return!1}function Oz(e,t,n,r,a){for(var i=e.length-1;i>=0;i--){var o=e[i],l=void 0;if(o!==a&&!o.ignore&&(l=O7e(o,n,r))&&(!t.topTarget&&(t.topTarget=o),l!==SF)){t.target=o;break}}}function TF(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var kF=32,Rh=7;function N7e(e){for(var t=0;e>=kF;)t|=e&1,e>>=1;return e+t}function Nz(e,t,n,r){var a=t+1;if(a===n)return 1;if(r(e[a++],e[t])<0){for(;a<n&&r(e[a],e[a-1])<0;)a++;$7e(e,t,a)}else for(;a<n&&r(e[a],e[a-1])>=0;)a++;return a-t}function $7e(e,t,n){for(n--;t<n;){var r=e[t];e[t++]=e[n],e[n--]=r}}function $z(e,t,n,r,a){for(r===t&&r++;r<n;r++){for(var i=e[r],o=t,l=r,s;o<l;)s=o+l>>>1,a(i,e[s])<0?l=s:o=s+1;var u=r-o;switch(u){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=i}}function Eb(e,t,n,r,a,i){var o=0,l=0,s=1;if(i(e,t[n+a])>0){for(l=r-a;s<l&&i(e,t[n+a+s])>0;)o=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),o+=a,s+=a}else{for(l=a+1;s<l&&i(e,t[n+a-s])<=0;)o=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l);var u=o;o=a-s,s=a-u}for(o++;o<s;){var c=o+(s-o>>>1);i(e,t[n+c])>0?o=c+1:s=c}return s}function Ib(e,t,n,r,a,i){var o=0,l=0,s=1;if(i(e,t[n+a])<0){for(l=a+1;s<l&&i(e,t[n+a-s])<0;)o=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l);var u=o;o=a-s,s=a-u}else{for(l=r-a;s<l&&i(e,t[n+a+s])>=0;)o=s,s=(s<<1)+1,s<=0&&(s=l);s>l&&(s=l),o+=a,s+=a}for(o++;o<s;){var c=o+(s-o>>>1);i(e,t[n+c])<0?s=c:o=c+1}return s}function V7e(e,t){var n=Rh,r,a,i=0,o=[];r=[],a=[];function l(h,v){r[i]=h,a[i]=v,i+=1}function s(){for(;i>1;){var h=i-2;if(h>=1&&a[h-1]<=a[h]+a[h+1]||h>=2&&a[h-2]<=a[h]+a[h-1])a[h-1]<a[h+1]&&h--;else if(a[h]>a[h+1])break;c(h)}}function u(){for(;i>1;){var h=i-2;h>0&&a[h-1]<a[h+1]&&h--,c(h)}}function c(h){var v=r[h],p=a[h],g=r[h+1],m=a[h+1];a[h]=p+m,h===i-3&&(r[h+1]=r[h+2],a[h+1]=a[h+2]),i--;var b=Ib(e[g],e,v,p,0,t);v+=b,p-=b,p!==0&&(m=Eb(e[v+p-1],e,g,m,m-1,t),m!==0&&(p<=m?f(v,p,g,m):d(v,p,g,m)))}function f(h,v,p,g){var m=0;for(m=0;m<v;m++)o[m]=e[h+m];var b=0,_=p,w=h;if(e[w++]=e[_++],--g===0){for(m=0;m<v;m++)e[w+m]=o[b+m];return}if(v===1){for(m=0;m<g;m++)e[w+m]=e[_+m];e[w+g]=o[b];return}for(var x=n,S,C,T;;){S=0,C=0,T=!1;do if(t(e[_],o[b])<0){if(e[w++]=e[_++],C++,S=0,--g===0){T=!0;break}}else if(e[w++]=o[b++],S++,C=0,--v===1){T=!0;break}while((S|C)<x);if(T)break;do{if(S=Ib(e[_],o,b,v,0,t),S!==0){for(m=0;m<S;m++)e[w+m]=o[b+m];if(w+=S,b+=S,v-=S,v<=1){T=!0;break}}if(e[w++]=e[_++],--g===0){T=!0;break}if(C=Eb(o[b],e,_,g,0,t),C!==0){for(m=0;m<C;m++)e[w+m]=e[_+m];if(w+=C,_+=C,g-=C,g===0){T=!0;break}}if(e[w++]=o[b++],--v===1){T=!0;break}x--}while(S>=Rh||C>=Rh);if(T)break;x<0&&(x=0),x+=2}if(n=x,n<1&&(n=1),v===1){for(m=0;m<g;m++)e[w+m]=e[_+m];e[w+g]=o[b]}else{if(v===0)throw new Error;for(m=0;m<v;m++)e[w+m]=o[b+m]}}function d(h,v,p,g){var m=0;for(m=0;m<g;m++)o[m]=e[p+m];var b=h+v-1,_=g-1,w=p+g-1,x=0,S=0;if(e[w--]=e[b--],--v===0){for(x=w-(g-1),m=0;m<g;m++)e[x+m]=o[m];return}if(g===1){for(w-=v,b-=v,S=w+1,x=b+1,m=v-1;m>=0;m--)e[S+m]=e[x+m];e[w]=o[_];return}for(var C=n;;){var T=0,z=0,A=!1;do if(t(o[_],e[b])<0){if(e[w--]=e[b--],T++,z=0,--v===0){A=!0;break}}else if(e[w--]=o[_--],z++,T=0,--g===1){A=!0;break}while((T|z)<C);if(A)break;do{if(T=v-Ib(o[_],e,h,v,v-1,t),T!==0){for(w-=T,b-=T,v-=T,S=w+1,x=b+1,m=T-1;m>=0;m--)e[S+m]=e[x+m];if(v===0){A=!0;break}}if(e[w--]=o[_--],--g===1){A=!0;break}if(z=g-Eb(e[b],o,0,g,g-1,t),z!==0){for(w-=z,_-=z,g-=z,S=w+1,x=_+1,m=0;m<z;m++)e[S+m]=o[x+m];if(g<=1){A=!0;break}}if(e[w--]=e[b--],--v===0){A=!0;break}C--}while(T>=Rh||z>=Rh);if(A)break;C<0&&(C=0),C+=2}if(n=C,n<1&&(n=1),g===1){for(w-=v,b-=v,S=w+1,x=b+1,m=v-1;m>=0;m--)e[S+m]=e[x+m];e[w]=o[_]}else{if(g===0)throw new Error;for(x=w-(g-1),m=0;m<g;m++)e[x+m]=o[m]}}return{mergeRuns:s,forceMergeRuns:u,pushRun:l}}function l2(e,t,n,r){n||(n=0),r||(r=e.length);var a=r-n;if(!(a<2)){var i=0;if(a<kF){i=Nz(e,n,r,t),$z(e,n,r,n+i,t);return}var o=V7e(e,t),l=N7e(a);do{if(i=Nz(e,n,r,t),i<l){var s=a;s>l&&(s=l),$z(e,n,n+s,n+i,t),i=s}o.pushRun(n,i),o.mergeRuns(),a-=i,n+=i}while(a!==0);o.forceMergeRuns()}}var Va=1,fv=2,$f=4,Vz=!1;function Db(){Vz||(Vz=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function Bz(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var B7e=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=Bz}return e.prototype.traverse=function(t,n){for(var r=0;r<this._roots.length;r++)this._roots[r].traverse(t,n)},e.prototype.getDisplayList=function(t,n){n=n||!1;var r=this._displayList;return(t||!r.length)&&this.updateDisplayList(n),r},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var n=this._roots,r=this._displayList,a=0,i=n.length;a<i;a++)this._updateAndAddDisplayable(n[a],null,t);r.length=this._displayListLen,l2(r,Bz)},e.prototype._updateAndAddDisplayable=function(t,n,r){if(!(t.ignore&&!r)){t.beforeUpdate(),t.update(),t.afterUpdate();var a=t.getClipPath();if(t.ignoreClip)n=null;else if(a){n?n=n.slice():n=[];for(var i=a,o=t;i;)i.parent=o,i.updateTransform(),n.push(i),o=i,i=i.getClipPath()}if(t.childrenRef){for(var l=t.childrenRef(),s=0;s<l.length;s++){var u=l[s];t.__dirty&&(u.__dirty|=Va),this._updateAndAddDisplayable(u,n,r)}t.__dirty=0}else{var c=t;n&&n.length?c.__clipPaths=n:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(Db(),c.z=0),isNaN(c.z2)&&(Db(),c.z2=0),isNaN(c.zlevel)&&(Db(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,n,r);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,n,r);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,n,r)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var n=0,r=t.length;n<r;n++)this.delRoot(t[n]);return}var a=Yt(this._roots,t);a>=0&&this._roots.splice(a,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),im;im=Jt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var Hv={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),-(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)))},elasticOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/r)+1)},elasticInOut:function(e){var t,n=.1,r=.4;return e===0?0:e===1?1:(!n||n<1?(n=1,t=r/4):t=r*Math.asin(1/n)/(2*Math.PI),(e*=2)<1?-.5*(n*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)):n*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/r)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Hv.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?Hv.bounceIn(e*2)*.5:Hv.bounceOut(e*2-1)*.5+.5}},zg=Math.pow,Ls=Math.sqrt,om=1e-8,zF=1e-4,Fz=Ls(3),Mg=1/3,_o=Zc(),ui=Zc(),od=Zc();function Ss(e){return e>-om&&e<om}function MF(e){return e>om||e<-om}function pr(e,t,n,r,a){var i=1-a;return i*i*(i*e+3*a*t)+a*a*(a*r+3*i*n)}function Hz(e,t,n,r,a){var i=1-a;return 3*(((t-e)*i+2*(n-t)*a)*i+(r-n)*a*a)}function lm(e,t,n,r,a,i){var o=r+3*(t-n)-e,l=3*(n-t*2+e),s=3*(t-e),u=e-a,c=l*l-3*o*s,f=l*s-9*o*u,d=s*s-3*l*u,h=0;if(Ss(c)&&Ss(f))if(Ss(l))i[0]=0;else{var v=-s/l;v>=0&&v<=1&&(i[h++]=v)}else{var p=f*f-4*c*d;if(Ss(p)){var g=f/c,v=-l/o+g,m=-g/2;v>=0&&v<=1&&(i[h++]=v),m>=0&&m<=1&&(i[h++]=m)}else if(p>0){var b=Ls(p),_=c*l+1.5*o*(-f+b),w=c*l+1.5*o*(-f-b);_<0?_=-zg(-_,Mg):_=zg(_,Mg),w<0?w=-zg(-w,Mg):w=zg(w,Mg);var v=(-l-(_+w))/(3*o);v>=0&&v<=1&&(i[h++]=v)}else{var x=(2*c*l-3*o*f)/(2*Ls(c*c*c)),S=Math.acos(x)/3,C=Ls(c),T=Math.cos(S),v=(-l-2*C*T)/(3*o),m=(-l+C*(T+Fz*Math.sin(S)))/(3*o),z=(-l+C*(T-Fz*Math.sin(S)))/(3*o);v>=0&&v<=1&&(i[h++]=v),m>=0&&m<=1&&(i[h++]=m),z>=0&&z<=1&&(i[h++]=z)}}return h}function AF(e,t,n,r,a){var i=6*n-12*t+6*e,o=9*t+3*r-3*e-9*n,l=3*t-3*e,s=0;if(Ss(o)){if(MF(i)){var u=-l/i;u>=0&&u<=1&&(a[s++]=u)}}else{var c=i*i-4*o*l;if(Ss(c))a[0]=-i/(2*o);else if(c>0){var f=Ls(c),u=(-i+f)/(2*o),d=(-i-f)/(2*o);u>=0&&u<=1&&(a[s++]=u),d>=0&&d<=1&&(a[s++]=d)}}return s}function Ys(e,t,n,r,a,i){var o=(t-e)*a+e,l=(n-t)*a+t,s=(r-n)*a+n,u=(l-o)*a+o,c=(s-l)*a+l,f=(c-u)*a+u;i[0]=e,i[1]=o,i[2]=u,i[3]=f,i[4]=f,i[5]=c,i[6]=s,i[7]=r}function EF(e,t,n,r,a,i,o,l,s,u,c){var f,d=.005,h=1/0,v,p,g,m;_o[0]=s,_o[1]=u;for(var b=0;b<1;b+=.05)ui[0]=pr(e,n,a,o,b),ui[1]=pr(t,r,i,l,b),g=bc(_o,ui),g<h&&(f=b,h=g);h=1/0;for(var _=0;_<32&&!(d<zF);_++)v=f-d,p=f+d,ui[0]=pr(e,n,a,o,v),ui[1]=pr(t,r,i,l,v),g=bc(ui,_o),v>=0&&g<h?(f=v,h=g):(od[0]=pr(e,n,a,o,p),od[1]=pr(t,r,i,l,p),m=bc(od,_o),p<=1&&m<h?(f=p,h=m):d*=.5);return c&&(c[0]=pr(e,n,a,o,f),c[1]=pr(t,r,i,l,f)),Ls(h)}function F7e(e,t,n,r,a,i,o,l,s){for(var u=e,c=t,f=0,d=1/s,h=1;h<=s;h++){var v=h*d,p=pr(e,n,a,o,v),g=pr(t,r,i,l,v),m=p-u,b=g-c;f+=Math.sqrt(m*m+b*b),u=p,c=g}return f}function kr(e,t,n,r){var a=1-r;return a*(a*e+2*r*t)+r*r*n}function Mw(e,t,n,r){return 2*((1-r)*(t-e)+r*(n-t))}function H7e(e,t,n,r,a){var i=e-2*t+n,o=2*(t-e),l=e-r,s=0;if(Ss(i)){if(MF(o)){var u=-l/o;u>=0&&u<=1&&(a[s++]=u)}}else{var c=o*o-4*i*l;if(Ss(c)){var u=-o/(2*i);u>=0&&u<=1&&(a[s++]=u)}else if(c>0){var f=Ls(c),u=(-o+f)/(2*i),d=(-o-f)/(2*i);u>=0&&u<=1&&(a[s++]=u),d>=0&&d<=1&&(a[s++]=d)}}return s}function IF(e,t,n){var r=e+n-2*t;return r===0?.5:(e-t)/r}function L1(e,t,n,r,a){var i=(t-e)*r+e,o=(n-t)*r+t,l=(o-i)*r+i;a[0]=e,a[1]=i,a[2]=l,a[3]=l,a[4]=o,a[5]=n}function DF(e,t,n,r,a,i,o,l,s){var u,c=.005,f=1/0;_o[0]=o,_o[1]=l;for(var d=0;d<1;d+=.05){ui[0]=kr(e,n,a,d),ui[1]=kr(t,r,i,d);var h=bc(_o,ui);h<f&&(u=d,f=h)}f=1/0;for(var v=0;v<32&&!(c<zF);v++){var p=u-c,g=u+c;ui[0]=kr(e,n,a,p),ui[1]=kr(t,r,i,p);var h=bc(ui,_o);if(p>=0&&h<f)u=p,f=h;else{od[0]=kr(e,n,a,g),od[1]=kr(t,r,i,g);var m=bc(od,_o);g<=1&&m<f?(u=g,f=m):c*=.5}}return s&&(s[0]=kr(e,n,a,u),s[1]=kr(t,r,i,u)),Ls(f)}function j7e(e,t,n,r,a,i,o){for(var l=e,s=t,u=0,c=1/o,f=1;f<=o;f++){var d=f*c,h=kr(e,n,a,d),v=kr(t,r,i,d),p=h-l,g=v-s;u+=Math.sqrt(p*p+g*g),l=h,s=v}return u}var q7e=/cubic-bezier\(([0-9,\.e ]+)\)/;function L6(e){var t=e&&q7e.exec(e);if(t){var n=t[1].split(","),r=+qi(n[0]),a=+qi(n[1]),i=+qi(n[2]),o=+qi(n[3]);if(isNaN(r+a+i+o))return;var l=[];return function(s){return s<=0?0:s>=1?1:lm(0,r,i,1,s,l)&&pr(0,a,o,1,l[0])}}}var G7e=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||er,this.ondestroy=t.ondestroy||er,this.onrestart=t.onrestart||er,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,n){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=n;return}var r=this._life,a=t-this._startTime-this._pausedTime,i=a/r;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,l=o?o(i):i;if(this.onframe(l),i===1)if(this.loop){var s=a%r;this._startTime=t-s,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=yt(t)?t:Hv[t]||L6(t)},e}(),LF=function(){function e(t){this.value=t}return e}(),W7e=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new LF(t);return this.insertEntry(n),n},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var n=t.prev,r=t.next;n?n.next=r:this.head=r,r?r.prev=n:this.tail=n,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),kp=function(){function e(t){this._list=new W7e,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,n){var r=this._list,a=this._map,i=null;if(a[t]==null){var o=r.len(),l=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=r.head;r.remove(s),delete a[s.key],i=s.value,this._lastRemovedEntry=s}l?l.value=n:l=new LF(n),l.key=t,r.insertEntry(l),a[t]=l}return i},e.prototype.get=function(t){var n=this._map[t],r=this._list;if(n!=null)return n!==r.tail&&(r.remove(n),r.insertEntry(n)),n.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),jz={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function Ui(e){return e=Math.round(e),e<0?0:e>255?255:e}function U7e(e){return e=Math.round(e),e<0?0:e>360?360:e}function P1(e){return e<0?0:e>1?1:e}function Lb(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?Ui(parseFloat(t)/100*255):Ui(parseInt(t,10))}function _c(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?P1(parseFloat(t)/100):P1(parseFloat(t))}function Pb(e,t,n){return n<0?n+=1:n>1&&(n-=1),n*6<1?e+(t-e)*n*6:n*2<1?t:n*3<2?e+(t-e)*(2/3-n)*6:e}function Cs(e,t,n){return e+(t-e)*n}function ni(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function Aw(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var PF=new kp(20),Ag=null;function hf(e,t){Ag&&Aw(Ag,t),Ag=PF.put(e,Ag||t.slice())}function Wa(e,t){if(e){t=t||[];var n=PF.get(e);if(n)return Aw(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in jz)return Aw(t,jz[r]),hf(e,t),t;var a=r.length;if(r.charAt(0)==="#"){if(a===4||a===5){var i=parseInt(r.slice(1,4),16);if(!(i>=0&&i<=4095)){ni(t,0,0,0,1);return}return ni(t,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,a===5?parseInt(r.slice(4),16)/15:1),hf(e,t),t}else if(a===7||a===9){var i=parseInt(r.slice(1,7),16);if(!(i>=0&&i<=16777215)){ni(t,0,0,0,1);return}return ni(t,(i&16711680)>>16,(i&65280)>>8,i&255,a===9?parseInt(r.slice(7),16)/255:1),hf(e,t),t}return}var o=r.indexOf("("),l=r.indexOf(")");if(o!==-1&&l+1===a){var s=r.substr(0,o),u=r.substr(o+1,l-(o+1)).split(","),c=1;switch(s){case"rgba":if(u.length!==4)return u.length===3?ni(t,+u[0],+u[1],+u[2],1):ni(t,0,0,0,1);c=_c(u.pop());case"rgb":if(u.length>=3)return ni(t,Lb(u[0]),Lb(u[1]),Lb(u[2]),u.length===3?c:_c(u[3])),hf(e,t),t;ni(t,0,0,0,1);return;case"hsla":if(u.length!==4){ni(t,0,0,0,1);return}return u[3]=_c(u[3]),Ew(u,t),hf(e,t),t;case"hsl":if(u.length!==3){ni(t,0,0,0,1);return}return Ew(u,t),hf(e,t),t;default:return}}ni(t,0,0,0,1)}}function Ew(e,t){var n=(parseFloat(e[0])%360+360)%360/360,r=_c(e[1]),a=_c(e[2]),i=a<=.5?a*(r+1):a+r-a*r,o=a*2-i;return t=t||[],ni(t,Ui(Pb(o,i,n+1/3)*255),Ui(Pb(o,i,n)*255),Ui(Pb(o,i,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function Y7e(e){if(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255,a=Math.min(t,n,r),i=Math.max(t,n,r),o=i-a,l=(i+a)/2,s,u;if(o===0)s=0,u=0;else{l<.5?u=o/(i+a):u=o/(2-i-a);var c=((i-t)/6+o/2)/o,f=((i-n)/6+o/2)/o,d=((i-r)/6+o/2)/o;t===i?s=d-f:n===i?s=1/3+c-d:r===i&&(s=2/3+f-c),s<0&&(s+=1),s>1&&(s-=1)}var h=[s*360,u,l];return e[3]!=null&&h.push(e[3]),h}}function Iw(e,t){var n=Wa(e);if(n){for(var r=0;r<3;r++)t<0?n[r]=n[r]*(1-t)|0:n[r]=(255-n[r])*t+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return gl(n,n.length===4?"rgba":"rgb")}}function Rb(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){n=n||[];var r=e*(t.length-1),a=Math.floor(r),i=Math.ceil(r),o=t[a],l=t[i],s=r-a;return n[0]=Ui(Cs(o[0],l[0],s)),n[1]=Ui(Cs(o[1],l[1],s)),n[2]=Ui(Cs(o[2],l[2],s)),n[3]=P1(Cs(o[3],l[3],s)),n}}function K7e(e,t,n){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var r=e*(t.length-1),a=Math.floor(r),i=Math.ceil(r),o=Wa(t[a]),l=Wa(t[i]),s=r-a,u=gl([Ui(Cs(o[0],l[0],s)),Ui(Cs(o[1],l[1],s)),Ui(Cs(o[2],l[2],s)),P1(Cs(o[3],l[3],s))],"rgba");return n?{color:u,leftIndex:a,rightIndex:i,value:r}:u}}function jv(e,t,n,r){var a=Wa(e);if(e)return a=Y7e(a),t!=null&&(a[0]=U7e(t)),n!=null&&(a[1]=_c(n)),r!=null&&(a[2]=_c(r)),gl(Ew(a),"rgba")}function sm(e,t){var n=Wa(e);if(n&&t!=null)return n[3]=P1(t),gl(n,"rgba")}function gl(e,t){if(!(!e||!e.length)){var n=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(n+=","+e[3]),t+"("+n+")"}}function um(e,t){var n=Wa(e);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*t:0}var qz=new kp(100);function Dw(e){if(it(e)){var t=qz.get(e);return t||(t=Iw(e,-.1),qz.put(e,t)),t}else if(jy(e)){var n=$e({},e);return n.colorStops=Ge(e.colorStops,function(r){return{offset:r.offset,color:Iw(r.color,-.1)}}),n}return e}var cm=Math.round;function R1(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var n=Wa(e);n&&(e="rgb("+n[0]+","+n[1]+","+n[2]+")",t=n[3])}return{color:e,opacity:t??1}}var Gz=1e-4;function Ts(e){return e<Gz&&e>-Gz}function Eg(e){return cm(e*1e3)/1e3}function Lw(e){return cm(e*1e4)/1e4}function X7e(e){return"matrix("+Eg(e[0])+","+Eg(e[1])+","+Eg(e[2])+","+Eg(e[3])+","+Lw(e[4])+","+Lw(e[5])+")"}var Z7e={left:"start",right:"end",center:"middle",middle:"middle"};function J7e(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function Q7e(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function eTe(e){var t=e.style,n=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function RF(e){return e&&!!e.image}function tTe(e){return e&&!!e.svgElement}function P6(e){return RF(e)||tTe(e)}function OF(e){return e.type==="linear"}function NF(e){return e.type==="radial"}function $F(e){return e&&(e.type==="linear"||e.type==="radial")}function Wy(e){return"url(#"+e+")"}function VF(e){var t=e.getGlobalScale(),n=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function BF(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*a2,a=Ot(e.scaleX,1),i=Ot(e.scaleY,1),o=e.skewX||0,l=e.skewY||0,s=[];return(t||n)&&s.push("translate("+t+"px,"+n+"px)"),r&&s.push("rotate("+r+")"),(a!==1||i!==1)&&s.push("scale("+a+","+i+")"),(o||l)&&s.push("skew("+cm(o*a2)+"deg, "+cm(l*a2)+"deg)"),s.join(" ")}var nTe=function(){return Jt.hasGlobalWindow&&yt(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer<"u"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),Pw=Array.prototype.slice;function il(e,t,n){return(t-e)*n+e}function Ob(e,t,n,r){for(var a=t.length,i=0;i<a;i++)e[i]=il(t[i],n[i],r);return e}function rTe(e,t,n,r){for(var a=t.length,i=a&&t[0].length,o=0;o<a;o++){e[o]||(e[o]=[]);for(var l=0;l<i;l++)e[o][l]=il(t[o][l],n[o][l],r)}return e}function Ig(e,t,n,r){for(var a=t.length,i=0;i<a;i++)e[i]=t[i]+n[i]*r;return e}function Wz(e,t,n,r){for(var a=t.length,i=a&&t[0].length,o=0;o<a;o++){e[o]||(e[o]=[]);for(var l=0;l<i;l++)e[o][l]=t[o][l]+n[o][l]*r}return e}function aTe(e,t){for(var n=e.length,r=t.length,a=n>r?t:e,i=Math.min(n,r),o=a[i-1]||{color:[0,0,0,0],offset:0},l=i;l<Math.max(n,r);l++)a.push({offset:o.offset,color:o.color.slice()})}function iTe(e,t,n){var r=e,a=t;if(!(!r.push||!a.push)){var i=r.length,o=a.length;if(i!==o){var l=i>o;if(l)r.length=o;else for(var s=i;s<o;s++)r.push(n===1?a[s]:Pw.call(a[s]))}for(var u=r[0]&&r[0].length,s=0;s<r.length;s++)if(n===1)isNaN(r[s])&&(r[s]=a[s]);else for(var c=0;c<u;c++)isNaN(r[s][c])&&(r[s][c]=a[s][c])}}function qv(e){if(Zr(e)){var t=e.length;if(Zr(e[0])){for(var n=[],r=0;r<t;r++)n.push(Pw.call(e[r]));return n}return Pw.call(e)}return e}function s2(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function oTe(e){return Zr(e&&e[0])?2:1}var Dg=0,u2=1,FF=2,dv=3,Rw=4,Ow=5,Uz=6;function Yz(e){return e===Rw||e===Ow}function Lg(e){return e===u2||e===FF}var Oh=[0,0,0,0],lTe=function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,n,r){this._needsSort=!0;var a=this.keyframes,i=a.length,o=!1,l=Uz,s=n;if(Zr(n)){var u=oTe(n);l=u,(u===1&&!ln(n[0])||u===2&&!ln(n[0][0]))&&(o=!0)}else if(ln(n)&&!D1(n))l=Dg;else if(it(n))if(!isNaN(+n))l=Dg;else{var c=Wa(n);c&&(s=c,l=dv)}else if(jy(n)){var f=$e({},s);f.colorStops=Ge(n.colorStops,function(h){return{offset:h.offset,color:Wa(h.color)}}),OF(n)?l=Rw:NF(n)&&(l=Ow),s=f}i===0?this.valType=l:(l!==this.valType||l===Uz)&&(o=!0),this.discrete=this.discrete||o;var d={time:t,value:s,rawValue:n,percent:0};return r&&(d.easing=r,d.easingFunc=yt(r)?r:Hv[r]||L6(r)),a.push(d),d},e.prototype.prepare=function(t,n){var r=this.keyframes;this._needsSort&&r.sort(function(p,g){return p.time-g.time});for(var a=this.valType,i=r.length,o=r[i-1],l=this.discrete,s=Lg(a),u=Yz(a),c=0;c<i;c++){var f=r[c],d=f.value,h=o.value;f.percent=f.time/t,l||(s&&c!==i-1?iTe(d,h,a):u&&aTe(d.colorStops,h.colorStops))}if(!l&&a!==Ow&&n&&this.needsAnimate()&&n.needsAnimate()&&a===n.valType&&!n._finished){this._additiveTrack=n;for(var v=r[0].value,c=0;c<i;c++)a===Dg?r[c].additiveValue=r[c].value-v:a===dv?r[c].additiveValue=Ig([],r[c].value,v,-1):Lg(a)&&(r[c].additiveValue=a===u2?Ig([],r[c].value,v,-1):Wz([],r[c].value,v,-1))}},e.prototype.step=function(t,n){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var r=this._additiveTrack!=null,a=r?"additiveValue":"value",i=this.valType,o=this.keyframes,l=o.length,s=this.propName,u=i===dv,c,f=this._lastFr,d=Math.min,h,v;if(l===1)h=v=o[0];else{if(n<0)c=0;else if(n<this._lastFrP){var p=d(f+1,l-1);for(c=p;c>=0&&!(o[c].percent<=n);c--);c=d(c,l-2)}else{for(c=f;c<l&&!(o[c].percent>n);c++);c=d(c-1,l-2)}v=o[c+1],h=o[c]}if(h&&v){this._lastFr=c,this._lastFrP=n;var g=v.percent-h.percent,m=g===0?1:d((n-h.percent)/g,1);v.easingFunc&&(m=v.easingFunc(m));var b=r?this._additiveValue:u?Oh:t[s];if((Lg(i)||u)&&!b&&(b=this._additiveValue=[]),this.discrete)t[s]=m<1?h.rawValue:v.rawValue;else if(Lg(i))i===u2?Ob(b,h[a],v[a],m):rTe(b,h[a],v[a],m);else if(Yz(i)){var _=h[a],w=v[a],x=i===Rw;t[s]={type:x?"linear":"radial",x:il(_.x,w.x,m),y:il(_.y,w.y,m),colorStops:Ge(_.colorStops,function(C,T){var z=w.colorStops[T];return{offset:il(C.offset,z.offset,m),color:s2(Ob([],C.color,z.color,m))}}),global:w.global},x?(t[s].x2=il(_.x2,w.x2,m),t[s].y2=il(_.y2,w.y2,m)):t[s].r=il(_.r,w.r,m)}else if(u)Ob(b,h[a],v[a],m),r||(t[s]=s2(b));else{var S=il(h[a],v[a],m);r?this._additiveValue=S:t[s]=S}r&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var n=this.valType,r=this.propName,a=this._additiveValue;n===Dg?t[r]=t[r]+a:n===dv?(Wa(t[r],Oh),Ig(Oh,Oh,a,1),t[r]=s2(Oh)):n===u2?Ig(t[r],t[r],a,1):n===FF&&Wz(t[r],t[r],a,1)},e}(),R6=function(){function e(t,n,r,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=n,n&&a){k6("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=r}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,n,r){return this.whenWithKeys(t,n,tn(n),r)},e.prototype.whenWithKeys=function(t,n,r,a){for(var i=this._tracks,o=0;o<r.length;o++){var l=r[o],s=i[l];if(!s){s=i[l]=new lTe(l);var u=void 0,c=this._getAdditiveTrack(l);if(c){var f=c.keyframes,d=f[f.length-1];u=d&&d.value,c.valType===dv&&u&&(u=s2(u))}else u=this._target[l];if(u==null)continue;t>0&&s.addKeyframe(0,qv(u),a),this._trackKeys.push(l)}s.addKeyframe(t,qv(n[l]),a)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var n=t.length,r=0;r<n;r++)t[r].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,n=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,n)for(var r=0;r<n.length;r++)n[r].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,n=this._trackKeys,r=0;r<n.length;r++)t[n[r]].setFinished()},e.prototype._getAdditiveTrack=function(t){var n,r=this._additiveAnimators;if(r)for(var a=0;a<r.length;a++){var i=r[a].getTrack(t);i&&(n=i)}return n},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var n=this,r=[],a=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var o=this._trackKeys[i],l=this._tracks[o],s=this._getAdditiveTrack(o),u=l.keyframes,c=u.length;if(l.prepare(a,s),l.needsAnimate())if(!this._allowDiscrete&&l.discrete){var f=u[c-1];f&&(n._target[l.propName]=f.rawValue),l.setFinished()}else r.push(l)}if(r.length||this._force){var d=new G7e({life:a,loop:this._loop,delay:this._delay||0,onframe:function(h){n._started=2;var v=n._additiveAnimators;if(v){for(var p=!1,g=0;g<v.length;g++)if(v[g]._clip){p=!0;break}p||(n._additiveAnimators=null)}for(var g=0;g<r.length;g++)r[g].step(n._target,h);var m=n._onframeCbs;if(m)for(var g=0;g<m.length;g++)m[g](n._target,h)},ondestroy:function(){n._doneCallback()}});this._clip=d,this.animation&&this.animation.addClip(d),t&&d.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var n=this._clip;t&&n.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return Ge(this._trackKeys,function(n){return t._tracks[n]})},e.prototype.stopTracks=function(t,n){if(!t.length||!this._clip)return!0;for(var r=this._tracks,a=this._trackKeys,i=0;i<t.length;i++){var o=r[t[i]];o&&!o.isFinished()&&(n?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var l=!0,i=0;i<a.length;i++)if(!r[a[i]].isFinished()){l=!1;break}return l&&this._abortedCallback(),l},e.prototype.saveTo=function(t,n,r){if(t){n=n||this._trackKeys;for(var a=0;a<n.length;a++){var i=n[a],o=this._tracks[i];if(!(!o||o.isFinished())){var l=o.keyframes,s=l[r?0:l.length-1];s&&(t[i]=qv(s.rawValue))}}}},e.prototype.__changeFinalValue=function(t,n){n=n||tn(t);for(var r=0;r<n.length;r++){var a=n[r],i=this._tracks[a];if(i){var o=i.keyframes;if(o.length>1){var l=o.pop();i.addKeyframe(l.time,t[a]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}();function Wf(){return new Date().getTime()}var sTe=function(e){Se(t,e);function t(n){var r=e.call(this)||this;return r._running=!1,r._time=0,r._pausedTime=0,r._pauseStart=0,r._paused=!1,n=n||{},r.stage=n.stage||{},r}return t.prototype.addClip=function(n){n.animation&&this.removeClip(n),this._head?(this._tail.next=n,n.prev=this._tail,n.next=null,this._tail=n):this._head=this._tail=n,n.animation=this},t.prototype.addAnimator=function(n){n.animation=this;var r=n.getClip();r&&this.addClip(r)},t.prototype.removeClip=function(n){if(n.animation){var r=n.prev,a=n.next;r?r.next=a:this._head=a,a?a.prev=r:this._tail=r,n.next=n.prev=n.animation=null}},t.prototype.removeAnimator=function(n){var r=n.getClip();r&&this.removeClip(r),n.animation=null},t.prototype.update=function(n){for(var r=Wf()-this._pausedTime,a=r-this._time,i=this._head;i;){var o=i.next,l=i.step(r,a);l&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=r,n||(this.trigger("frame",a),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var n=this;this._running=!0;function r(){n._running&&(im(r),!n._paused&&n.update())}im(r)},t.prototype.start=function(){this._running||(this._time=Wf(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Wf(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Wf()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var n=this._head;n;){var r=n.next;n.prev=n.next=n.animation=null,n=r}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(n,r){r=r||{},this.start();var a=new R6(n,r.loop);return this.addAnimator(a),a},t}(Ei),uTe=300,Nb=Jt.domSupported,$b=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},r=Ge(e,function(a){var i=a.replace("mouse","pointer");return n.hasOwnProperty(i)?i:a});return{mouse:e,touch:t,pointer:r}}(),Kz={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Xz=!1;function Nw(e){var t=e.pointerType;return t==="pen"||t==="touch"}function cTe(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function Vb(e){e&&(e.zrByTouch=!0)}function fTe(e,t){return ri(e.dom,new dTe(e,t),!0)}function HF(e,t){for(var n=t,r=!1;n&&n.nodeType!==9&&!(r=n.domBelongToZr||n!==t&&n===e.painterRoot);)n=n.parentNode;return r}var dTe=function(){function e(t,n){this.stopPropagation=er,this.stopImmediatePropagation=er,this.preventDefault=er,this.type=n.type,this.target=this.currentTarget=t.dom,this.pointerType=n.pointerType,this.clientX=n.clientX,this.clientY=n.clientY}return e}(),$i={mousedown:function(e){e=ri(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=ri(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=ri(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=ri(this.dom,e);var t=e.toElement||e.relatedTarget;HF(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){Xz=!0,e=ri(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){Xz||(e=ri(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=ri(this.dom,e),Vb(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),$i.mousemove.call(this,e),$i.mousedown.call(this,e)},touchmove:function(e){e=ri(this.dom,e),Vb(e),this.handler.processGesture(e,"change"),$i.mousemove.call(this,e)},touchend:function(e){e=ri(this.dom,e),Vb(e),this.handler.processGesture(e,"end"),$i.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<uTe&&$i.click.call(this,e)},pointerdown:function(e){$i.mousedown.call(this,e)},pointermove:function(e){Nw(e)||$i.mousemove.call(this,e)},pointerup:function(e){$i.mouseup.call(this,e)},pointerout:function(e){Nw(e)||$i.mouseout.call(this,e)}};K(["click","dblclick","contextmenu"],function(e){$i[e]=function(t){t=ri(this.dom,t),this.trigger(e,t)}});var $w={pointermove:function(e){Nw(e)||$w.mousemove.call(this,e)},pointerup:function(e){$w.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function hTe(e,t){var n=t.domHandlers;Jt.pointerEventsSupported?K($b.pointer,function(r){c2(t,r,function(a){n[r].call(e,a)})}):(Jt.touchEventsSupported&&K($b.touch,function(r){c2(t,r,function(a){n[r].call(e,a),cTe(t)})}),K($b.mouse,function(r){c2(t,r,function(a){a=E6(a),t.touching||n[r].call(e,a)})}))}function vTe(e,t){Jt.pointerEventsSupported?K(Kz.pointer,n):Jt.touchEventsSupported||K(Kz.mouse,n);function n(r){function a(i){i=E6(i),HF(e,i.target)||(i=fTe(e,i),t.domHandlers[r].call(e,i))}c2(t,r,a,{capture:!0})}}function c2(e,t,n,r){e.mounted[t]=n,e.listenerOpts[t]=r,zw(e.domTarget,t,n,r)}function Bb(e){var t=e.mounted;for(var n in t)t.hasOwnProperty(n)&&M7e(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var Zz=function(){function e(t,n){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=n}return e}(),pTe=function(e){Se(t,e);function t(n,r){var a=e.call(this)||this;return a.__pointerCapturing=!1,a.dom=n,a.painterRoot=r,a._localHandlerScope=new Zz(n,$i),Nb&&(a._globalHandlerScope=new Zz(document,$w)),hTe(a,a._localHandlerScope),a}return t.prototype.dispose=function(){Bb(this._localHandlerScope),Nb&&Bb(this._globalHandlerScope)},t.prototype.setCursor=function(n){this.dom.style&&(this.dom.style.cursor=n||"default")},t.prototype.__togglePointerCapture=function(n){if(this.__mayPointerCapture=null,Nb&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?vTe(this,r):Bb(r)}},t}(Ei),jF=1;Jt.hasGlobalWindow&&(jF=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var fm=jF,Vw=.4,Bw="#333",Fw="#ccc",gTe="#eee",Jz=Gy,Qz=5e-5;function bu(e){return e>Qz||e<-Qz}var _u=[],vf=[],Fb=Ga(),Hb=Math.abs,cl=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return bu(this.rotation)||bu(this.x)||bu(this.y)||bu(this.scaleX-1)||bu(this.scaleY-1)||bu(this.skewX)||bu(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,n=this.needLocalTransform(),r=this.transform;if(!(n||t)){r&&(Jz(r),this.invTransform=null);return}r=r||Ga(),n?this.getLocalTransform(r):Jz(r),t&&(n?pl(r,t,r):I6(r,t)),this.transform=r,this._resolveGlobalScaleRatio(r)},e.prototype._resolveGlobalScaleRatio=function(t){var n=this.globalScaleRatio;if(n!=null&&n!==1){this.getGlobalScale(_u);var r=_u[0]<0?-1:1,a=_u[1]<0?-1:1,i=((_u[0]-r)*n+r)/_u[0]||0,o=((_u[1]-a)*n+a)/_u[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Ga(),lh(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,n=[];t;)n.push(t),t=t.parent;for(;t=n.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var n=t[0]*t[0]+t[1]*t[1],r=t[2]*t[2]+t[3]*t[3],a=Math.atan2(t[1],t[0]),i=Math.PI/2+a-Math.atan2(t[3],t[2]);r=Math.sqrt(r)*Math.cos(i),n=Math.sqrt(n),this.skewX=i,this.skewY=0,this.rotation=-a,this.x=+t[4],this.y=+t[5],this.scaleX=n,this.scaleY=r,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,n=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Ga(),pl(vf,t.invTransform,n),n=vf);var r=this.originX,a=this.originY;(r||a)&&(Fb[4]=r,Fb[5]=a,pl(vf,n,Fb),vf[4]-=r,vf[5]-=a,n=vf),this.setLocalTransform(n)}},e.prototype.getGlobalScale=function(t){var n=this.transform;return t=t||[],n?(t[0]=Math.sqrt(n[0]*n[0]+n[1]*n[1]),t[1]=Math.sqrt(n[2]*n[2]+n[3]*n[3]),n[0]<0&&(t[0]=-t[0]),n[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,n){var r=[t,n],a=this.invTransform;return a&&$r(r,r,a),r},e.prototype.transformCoordToGlobal=function(t,n){var r=[t,n],a=this.transform;return a&&$r(r,r,a),r},e.prototype.getLineScale=function(){var t=this.transform;return t&&Hb(t[0]-1)>1e-10&&Hb(t[3]-1)>1e-10?Math.sqrt(Hb(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){qF(this,t)},e.getLocalTransform=function(t,n){n=n||[];var r=t.originX||0,a=t.originY||0,i=t.scaleX,o=t.scaleY,l=t.anchorX,s=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(r||a||l||s){var v=r+l,p=a+s;n[4]=-v*i-d*p*o,n[5]=-p*o-h*v*i}else n[4]=n[5]=0;return n[0]=i,n[3]=o,n[1]=h*i,n[2]=d*o,u&&Jc(n,n,u),n[4]+=r+c,n[5]+=a+f,n},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),Vo=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function qF(e,t){for(var n=0;n<Vo.length;n++){var r=Vo[n];e[r]=t[r]}}var eM={};function Ua(e,t){t=t||Ws;var n=eM[t];n||(n=eM[t]=new kp(500));var r=n.get(e);return r==null&&(r=Us.measureText(e,t).width,n.put(e,r)),r}function tM(e,t,n,r){var a=Ua(e,t),i=Uy(t),o=hv(0,a,n),l=Vf(0,i,r),s=new qt(o,l,a,i);return s}function zp(e,t,n,r){var a=((e||"")+"").split(`
  92. `),i=a.length;if(i===1)return tM(a[0],t,n,r);for(var o=new qt(0,0,0,0),l=0;l<a.length;l++){var s=tM(a[l],t,n,r);l===0?o.copy(s):o.union(s)}return o}function hv(e,t,n){return n==="right"?e-=t:n==="center"&&(e-=t/2),e}function Vf(e,t,n){return n==="middle"?e-=t/2:n==="bottom"&&(e-=t),e}function Uy(e){return Ua("国",e)}function Ji(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function dm(e,t,n){var r=t.position||"inside",a=t.distance!=null?t.distance:5,i=n.height,o=n.width,l=i/2,s=n.x,u=n.y,c="left",f="top";if(r instanceof Array)s+=Ji(r[0],n.width),u+=Ji(r[1],n.height),c=null,f=null;else switch(r){case"left":s-=a,u+=l,c="right",f="middle";break;case"right":s+=a+o,u+=l,f="middle";break;case"top":s+=o/2,u-=a,c="center",f="bottom";break;case"bottom":s+=o/2,u+=i+a,c="center";break;case"inside":s+=o/2,u+=l,c="center",f="middle";break;case"insideLeft":s+=a,u+=l,f="middle";break;case"insideRight":s+=o-a,u+=l,c="right",f="middle";break;case"insideTop":s+=o/2,u+=a,c="center";break;case"insideBottom":s+=o/2,u+=i-a,c="center",f="bottom";break;case"insideTopLeft":s+=a,u+=a;break;case"insideTopRight":s+=o-a,u+=a,c="right";break;case"insideBottomLeft":s+=a,u+=i-a,f="bottom";break;case"insideBottomRight":s+=o-a,u+=i-a,c="right",f="bottom";break}return e=e||{},e.x=s,e.y=u,e.align=c,e.verticalAlign=f,e}var jb="__zr_normal__",qb=Vo.concat(["ignore"]),mTe=No(Vo,function(e,t){return e[t]=!0,e},{ignore:!1}),pf={},yTe=new qt(0,0,0,0),Yy=function(){function e(t){this.id=yF(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,n,r){switch(this.draggable){case"horizontal":n=0;break;case"vertical":t=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=n,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var n=this._textContent;if(n&&(!n.ignore||t)){this.textConfig||(this.textConfig={});var r=this.textConfig,a=r.local,i=n.innerTransformable,o=void 0,l=void 0,s=!1;i.parent=a?this:null;var u=!1;if(i.copyTransform(n),r.position!=null){var c=yTe;r.layoutRect?c.copy(r.layoutRect):c.copy(this.getBoundingRect()),a||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(pf,r,c):dm(pf,r,c),i.x=pf.x,i.y=pf.y,o=pf.align,l=pf.verticalAlign;var f=r.origin;if(f&&r.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=Ji(f[0],c.width),h=Ji(f[1],c.height)),u=!0,i.originX=-i.x+d+(a?0:c.x),i.originY=-i.y+h+(a?0:c.y)}}r.rotation!=null&&(i.rotation=r.rotation);var v=r.offset;v&&(i.x+=v[0],i.y+=v[1],u||(i.originX=-v[0],i.originY=-v[1]));var p=r.inside==null?typeof r.position=="string"&&r.position.indexOf("inside")>=0:r.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,b=void 0,_=void 0;p&&this.canBeInsideText()?(m=r.insideFill,b=r.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(b==null||b==="auto")&&(b=this.getInsideTextStroke(m),_=!0)):(m=r.outsideFill,b=r.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(b==null||b==="auto")&&(b=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||b!==g.stroke||_!==g.autoStroke||o!==g.align||l!==g.verticalAlign)&&(s=!0,g.fill=m,g.stroke=b,g.autoStroke=_,g.align=o,g.verticalAlign=l,n.setDefaultTextStyle(g)),n.__dirty|=Va,s&&n.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Fw:Bw},e.prototype.getOutsideStroke=function(t){var n=this.__zr&&this.__zr.getBackgroundColor(),r=typeof n=="string"&&Wa(n);r||(r=[255,255,255,1]);for(var a=r[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)r[o]=r[o]*a+(i?0:255)*(1-a);return r[3]=1,gl(r,"rgba")},e.prototype.traverse=function(t,n){},e.prototype.attrKV=function(t,n){t==="textConfig"?this.setTextConfig(n):t==="textContent"?this.setTextContent(n):t==="clipPath"?this.setClipPath(n):t==="extra"?(this.extra=this.extra||{},$e(this.extra,n)):this[t]=n},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,n){if(typeof t=="string")this.attrKV(t,n);else if(wt(t))for(var r=t,a=tn(r),i=0;i<a.length;i++){var o=a[i];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var n=this._normalState,r=0;r<this.animators.length;r++){var a=this.animators[r],i=a.__fromStateTransition;if(!(a.getLoop()||i&&i!==jb)){var o=a.targetName,l=o?n[o]:n;a.saveTo(l)}}},e.prototype._innerSaveToNormal=function(t){var n=this._normalState;n||(n=this._normalState={}),t.textConfig&&!n.textConfig&&(n.textConfig=this.textConfig),this._savePrimaryToNormal(t,n,qb)},e.prototype._savePrimaryToNormal=function(t,n,r){for(var a=0;a<r.length;a++){var i=r[a];t[i]!=null&&!(i in n)&&(n[i]=this[i])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var n=this.states;return n[t]||(n[t]={}),n[t]},e.prototype.clearStates=function(t){this.useState(jb,!1,t)},e.prototype.useState=function(t,n,r,a){var i=t===jb,o=this.hasState();if(!(!o&&i)){var l=this.currentStates,s=this.stateTransition;if(!(Yt(l,t)>=0&&(n||l.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!i){k6("State "+t+" not exists.");return}i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||a);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,n,!r&&!this.__inHover&&s&&s.duration>0,s);var f=this._textContent,d=this._textGuide;return f&&f.useState(t,n,r,c),d&&d.useState(t,n,r,c),i?(this.currentStates=[],this._normalState={}):n?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Va),u}}},e.prototype.useStates=function(t,n,r){if(!t.length)this.clearStates();else{var a=[],i=this.currentStates,o=t.length,l=o===i.length;if(l){for(var s=0;s<o;s++)if(t[s]!==i[s]){l=!1;break}}if(l)return;for(var s=0;s<o;s++){var u=t[s],c=void 0;this.stateProxy&&(c=this.stateProxy(u,t)),c||(c=this.states[u]),c&&a.push(c)}var f=a[o-1],d=!!(f&&f.hoverLayer||r);d&&this._toggleHoverLayerFlag(!0);var h=this._mergeStates(a),v=this.stateTransition;this.saveCurrentToNormalState(h),this._applyStateObj(t.join(","),h,this._normalState,!1,!n&&!this.__inHover&&v&&v.duration>0,v);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,n,d),g&&g.useStates(t,n,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Va)}},e.prototype.isSilent=function(){for(var t=this.silent,n=this.parent;!t&&n;){if(n.silent){t=!0;break}n=n.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var n=this.animators[t];n.targetName&&n.changeTarget(this[n.targetName])}},e.prototype.removeState=function(t){var n=Yt(this.currentStates,t);if(n>=0){var r=this.currentStates.slice();r.splice(n,1),this.useStates(r)}},e.prototype.replaceState=function(t,n,r){var a=this.currentStates.slice(),i=Yt(a,t),o=Yt(a,n)>=0;i>=0?o?a.splice(i,1):a[i]=n:r&&!o&&a.push(n),this.useStates(a)},e.prototype.toggleState=function(t,n){n?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var n={},r,a=0;a<t.length;a++){var i=t[a];$e(n,i),i.textConfig&&(r=r||{},$e(r,i.textConfig))}return r&&(n.textConfig=r),n},e.prototype._applyStateObj=function(t,n,r,a,i,o){var l=!(n&&a);n&&n.textConfig?(this.textConfig=$e({},a?this.textConfig:r.textConfig),$e(this.textConfig,n.textConfig)):l&&r.textConfig&&(this.textConfig=r.textConfig);for(var s={},u=!1,c=0;c<qb.length;c++){var f=qb[c],d=i&&mTe[f];n&&n[f]!=null?d?(u=!0,s[f]=n[f]):this[f]=n[f]:l&&r[f]!=null&&(d?(u=!0,s[f]=r[f]):this[f]=r[f])}if(!i)for(var c=0;c<this.animators.length;c++){var h=this.animators[c],v=h.targetName;h.getLoop()||h.__changeFinalValue(v?(n||r)[v]:n||r)}u&&this._transitionState(t,s,o)},e.prototype._attachComponent=function(t){if(!(t.__zr&&!t.__hostTarget)&&t!==this){var n=this.__zr;n&&t.addSelfToZr(n),t.__zr=n,t.__hostTarget=this}},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var n=this._textContent;n!==t&&(n&&n!==t&&this.removeTextContent(),t.innerTransformable=new cl,this._attachComponent(t),this._textContent=t,this.markRedraw())},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),$e(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=Va;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var n=this._textContent,r=this._textGuide;n&&(n.__inHover=t),r&&(r.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var n=this.animators;if(n)for(var r=0;r<n.length;r++)t.animation.addAnimator(n[r]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var n=this.animators;if(n)for(var r=0;r<n.length;r++)t.animation.removeAnimator(n[r]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,n,r){var a=t?this[t]:this,i=new R6(a,n,r);return t&&(i.targetName=t),this.addAnimator(i,t),i},e.prototype.addAnimator=function(t,n){var r=this.__zr,a=this;t.during(function(){a.updateDuringAnimation(n)}).done(function(){var i=a.animators,o=Yt(i,t);o>=0&&i.splice(o,1)}),this.animators.push(t),r&&r.animation.addAnimator(t),r&&r.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,n){for(var r=this.animators,a=r.length,i=[],o=0;o<a;o++){var l=r[o];!t||t===l.scope?l.stop(n):i.push(l)}return this.animators=i,this},e.prototype.animateTo=function(t,n,r){Gb(this,t,n,r)},e.prototype.animateFrom=function(t,n,r){Gb(this,t,n,r,!0)},e.prototype._transitionState=function(t,n,r,a){for(var i=Gb(this,n,r,a),o=0;o<i.length;o++)i[o].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=Va;function n(r,a,i,o){Object.defineProperty(t,r,{get:function(){if(!this[a]){var s=this[a]=[];l(this,s)}return this[a]},set:function(s){this[i]=s[0],this[o]=s[1],this[a]=s,l(this,s)}});function l(s,u){Object.defineProperty(u,0,{get:function(){return s[i]},set:function(c){s[i]=c}}),Object.defineProperty(u,1,{get:function(){return s[o]},set:function(c){s[o]=c}})}}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),e}();sr(Yy,Ei);sr(Yy,cl);function Gb(e,t,n,r,a){n=n||{};var i=[];GF(e,"",e,t,n,r,i,a);var o=i.length,l=!1,s=n.done,u=n.aborted,c=function(){l=!0,o--,o<=0&&(l?s&&s():u&&u())},f=function(){o--,o<=0&&(l?s&&s():u&&u())};o||s&&s(),i.length>0&&n.during&&i[0].during(function(v,p){n.during(p)});for(var d=0;d<i.length;d++){var h=i[d];c&&h.done(c),f&&h.aborted(f),n.force&&h.duration(n.duration),h.start(n.easing)}return i}function Wb(e,t,n){for(var r=0;r<n;r++)e[r]=t[r]}function bTe(e){return Zr(e[0])}function _Te(e,t,n){if(Zr(t[n]))if(Zr(e[n])||(e[n]=[]),Pa(t[n])){var r=t[n].length;e[n].length!==r&&(e[n]=new t[n].constructor(r),Wb(e[n],t[n],r))}else{var a=t[n],i=e[n],o=a.length;if(bTe(a))for(var l=a[0].length,s=0;s<o;s++)i[s]?Wb(i[s],a[s],l):i[s]=Array.prototype.slice.call(a[s]);else Wb(i,a,o);i.length=a.length}else e[n]=t[n]}function wTe(e,t){return e===t||Zr(e)&&Zr(t)&&xTe(e,t)}function xTe(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function GF(e,t,n,r,a,i,o,l){for(var s=tn(r),u=a.duration,c=a.delay,f=a.additive,d=a.setToFinal,h=!wt(i),v=e.animators,p=[],g=0;g<s.length;g++){var m=s[g],b=r[m];if(b!=null&&n[m]!=null&&(h||i[m]))if(wt(b)&&!Zr(b)&&!jy(b)){if(t){l||(n[m]=b,e.updateDuringAnimation(t));continue}GF(e,m,n[m],b,a,i&&i[m],o,l)}else p.push(m);else l||(n[m]=b,e.updateDuringAnimation(t),p.push(m))}var _=p.length;if(!f&&_)for(var w=0;w<v.length;w++){var x=v[w];if(x.targetName===t){var S=x.stopTracks(p);if(S){var C=Yt(v,x);v.splice(C,1)}}}if(a.force||(p=_n(p,function(E){return!wTe(r[E],n[E])}),_=p.length),_>0||a.force&&!o.length){var T=void 0,z=void 0,A=void 0;if(l){z={},d&&(T={});for(var w=0;w<_;w++){var m=p[w];z[m]=n[m],d?T[m]=r[m]:n[m]=r[m]}}else if(d){A={};for(var w=0;w<_;w++){var m=p[w];A[m]=qv(n[m]),_Te(n,r,m)}}var x=new R6(n,!1,!1,f?_n(v,function(D){return D.targetName===t}):null);x.targetName=t,a.scope&&(x.scope=a.scope),d&&T&&x.whenWithKeys(0,T,p),A&&x.whenWithKeys(0,A,p),x.whenWithKeys(u??500,l?z:r,p).delay(c||0),e.addAnimator(x,t),o.push(x)}}var At=function(e){Se(t,e);function t(n){var r=e.call(this)||this;return r.isGroup=!0,r._children=[],r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(n){return this._children[n]},t.prototype.childOfName=function(n){for(var r=this._children,a=0;a<r.length;a++)if(r[a].name===n)return r[a]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(n){return n&&n!==this&&n.parent!==this&&(this._children.push(n),this._doAdd(n)),this},t.prototype.addBefore=function(n,r){if(n&&n!==this&&n.parent!==this&&r&&r.parent===this){var a=this._children,i=a.indexOf(r);i>=0&&(a.splice(i,0,n),this._doAdd(n))}return this},t.prototype.replace=function(n,r){var a=Yt(this._children,n);return a>=0&&this.replaceAt(r,a),this},t.prototype.replaceAt=function(n,r){var a=this._children,i=a[r];if(n&&n!==this&&n.parent!==this&&n!==i){a[r]=n,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(n)}return this},t.prototype._doAdd=function(n){n.parent&&n.parent.remove(n),n.parent=this;var r=this.__zr;r&&r!==n.__zr&&n.addSelfToZr(r),r&&r.refresh()},t.prototype.remove=function(n){var r=this.__zr,a=this._children,i=Yt(a,n);return i<0?this:(a.splice(i,1),n.parent=null,r&&n.removeSelfFromZr(r),r&&r.refresh(),this)},t.prototype.removeAll=function(){for(var n=this._children,r=this.__zr,a=0;a<n.length;a++){var i=n[a];r&&i.removeSelfFromZr(r),i.parent=null}return n.length=0,this},t.prototype.eachChild=function(n,r){for(var a=this._children,i=0;i<a.length;i++){var o=a[i];n.call(r,o,i)}return this},t.prototype.traverse=function(n,r){for(var a=0;a<this._children.length;a++){var i=this._children[a],o=n.call(r,i);i.isGroup&&!o&&i.traverse(n,r)}return this},t.prototype.addSelfToZr=function(n){e.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++){var a=this._children[r];a.addSelfToZr(n)}},t.prototype.removeSelfFromZr=function(n){e.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++){var a=this._children[r];a.removeSelfFromZr(n)}},t.prototype.getBoundingRect=function(n){for(var r=new qt(0,0,0,0),a=n||this._children,i=[],o=null,l=0;l<a.length;l++){var s=a[l];if(!(s.ignore||s.invisible)){var u=s.getBoundingRect(),c=s.getLocalTransform(i);c?(qt.applyTransform(r,u,c),o=o||r.clone(),o.union(r)):(o=o||u.clone(),o.union(u))}}return o||r},t}(Yy);At.prototype.type="group";/*!
  93. * ZRender, a high performance 2d drawing library.
  94. *
  95. * Copyright (c) 2013, Baidu Inc.
  96. * All rights reserved.
  97. *
  98. * LICENSE
  99. * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
  100. */var f2={},WF={};function STe(e){delete WF[e]}function CTe(e){if(!e)return!1;if(typeof e=="string")return um(e,1)<Vw;if(e.colorStops){for(var t=e.colorStops,n=0,r=t.length,a=0;a<r;a++)n+=um(t[a].color,1);return n/=r,n<Vw}return!1}var TTe=function(){function e(t,n,r){var a=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,r=r||{},this.dom=n,this.id=t;var i=new B7e,o=r.renderer||"canvas";f2[o]||(o=tn(f2)[0]),r.useDirtyRect=r.useDirtyRect==null?!1:r.useDirtyRect;var l=new f2[o](n,i,r,t),s=r.ssr||l.ssrOnly;this.storage=i,this.painter=l;var u=!Jt.node&&!Jt.worker&&!s?new pTe(l.getViewportRoot(),l.root):null,c=r.useCoarsePointer,f=c==null||c==="auto"?Jt.touchEventsSupported:!!c,d=44,h;f&&(h=Ot(r.pointerSize,d)),this.handler=new CF(i,l,u,l.root,h),this.animation=new sTe({stage:{update:s?null:function(){return a._flush(!0)}}}),s||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,n){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,n),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=CTe(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var n,r=Wf();this._needsRefresh&&(n=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(n=!0,this.refreshHoverImmediately());var a=Wf();n?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:a-r})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,n){if(!this._disposed)return this.handler.findHover(t,n)},e.prototype.on=function(t,n,r){return this._disposed||this.handler.on(t,n,r),this},e.prototype.off=function(t,n){this._disposed||this.handler.off(t,n)},e.prototype.trigger=function(t,n){this._disposed||this.handler.trigger(t,n)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),n=0;n<t.length;n++)t[n]instanceof At&&t[n].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,STe(this.id))},e}();function nM(e,t){var n=new TTe(yF(),e,t);return WF[n.id]=n,n}function kTe(e,t){f2[e]=t}var Hw;function zTe(e){if(typeof Hw=="function")return Hw(e)}function MTe(e){Hw=e}var rM=1e-4,UF=20;function ATe(e){return e.replace(/^\s+|\s+$/g,"")}function bn(e,t,n,r){var a=t[0],i=t[1],o=n[0],l=n[1],s=i-a,u=l-o;if(s===0)return u===0?o:(o+l)/2;if(r)if(s>0){if(e<=a)return o;if(e>=i)return l}else{if(e>=a)return o;if(e<=i)return l}else{if(e===a)return o;if(e===i)return l}return(e-a)/s*u+o}function et(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return it(e)?ATe(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function Zn(e,t,n){return t==null&&(t=10),t=Math.min(Math.max(0,t),UF),e=(+e).toFixed(t),n?e:+e}function gi(e){return e.sort(function(t,n){return t-n}),e}function To(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,n=0;n<15;n++,t*=10)if(Math.round(e*t)/t===e)return n}return ETe(e)}function ETe(e){var t=e.toString().toLowerCase(),n=t.indexOf("e"),r=n>0?+t.slice(n+1):0,a=n>0?n:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-r)}function YF(e,t){var n=Math.log,r=Math.LN10,a=Math.floor(n(e[1]-e[0])/r),i=Math.round(n(Math.abs(t[1]-t[0]))/r),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function ITe(e,t){var n=No(e,function(h,v){return h+(isNaN(v)?0:v)},0);if(n===0)return[];for(var r=Math.pow(10,t),a=Ge(e,function(h){return(isNaN(h)?0:h)/n*r*100}),i=r*100,o=Ge(a,function(h){return Math.floor(h)}),l=No(o,function(h,v){return h+v},0),s=Ge(a,function(h,v){return h-o[v]});l<i;){for(var u=Number.NEGATIVE_INFINITY,c=null,f=0,d=s.length;f<d;++f)s[f]>u&&(u=s[f],c=f);++o[c],s[c]=0,++l}return Ge(o,function(h){return h/r})}function DTe(e,t){var n=Math.max(To(e),To(t)),r=e+t;return n>UF?r:Zn(r,n)}var aM=9007199254740991;function KF(e){var t=Math.PI*2;return(e%t+t)%t}function O1(e){return e>-rM&&e<rM}var LTe=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Bo(e){if(e instanceof Date)return e;if(it(e)){var t=LTe.exec(e);if(!t)return new Date(NaN);if(t[8]){var n=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(n-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,n,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Math.round(e))}function PTe(e){return Math.pow(10,O6(e))}function O6(e){if(e===0)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function XF(e,t){var n=O6(e),r=Math.pow(10,n),a=e/r,i;return a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10,e=i*r,n>=-20?+e.toFixed(n<0?-n:0):e}function Ub(e,t){var n=(e.length-1)*t+1,r=Math.floor(n),a=+e[r-1],i=n-r;return i?a+i*(e[r]-a):a}function iM(e){e.sort(function(s,u){return l(s,u,0)?-1:1});for(var t=-1/0,n=1,r=0;r<e.length;){for(var a=e[r].interval,i=e[r].close,o=0;o<2;o++)a[o]<=t&&(a[o]=t,i[o]=o?1:1-n),t=a[o],n=i[o];a[0]===a[1]&&i[0]*i[1]!==1?e.splice(r,1):r++}return e;function l(s,u,c){return s.interval[c]<u.interval[c]||s.interval[c]===u.interval[c]&&(s.close[c]-u.close[c]===(c?-1:1)||!c&&l(s,u,1))}}function Tl(e){var t=parseFloat(e);return t==e&&(t!==0||!it(e)||e.indexOf("x")<=0)?t:NaN}function ZF(e){return!isNaN(Tl(e))}function JF(){return Math.round(Math.random()*9)}function QF(e,t){return t===0?e:QF(t,e%t)}function oM(e,t){return e==null?t:t==null?e:e*t/QF(e,t)}function pn(e){throw new Error(e)}function lM(e,t,n){return(t-e)*n+e}var eH="series\0",tH="\0_ec_\0";function Cn(e){return e instanceof Array?e:e==null?[]:[e]}function Nc(e,t,n){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var r=0,a=n.length;r<a;r++){var i=n[r];!e.emphasis[t].hasOwnProperty(i)&&e[t].hasOwnProperty(i)&&(e.emphasis[t][i]=e[t][i])}}}var sM=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function sh(e){return wt(e)&&!He(e)&&!(e instanceof Date)?e.value:e}function RTe(e){return wt(e)&&!(e instanceof Array)}function nH(e,t,n){var r=n==="normalMerge",a=n==="replaceMerge",i=n==="replaceAll";e=e||[],t=(t||[]).slice();var o=pt();K(t,function(s,u){if(!wt(s)){t[u]=null;return}});var l=OTe(e,o,n);return(r||a)&&NTe(l,e,o,t),r&&$Te(l,t),r||a?VTe(l,t,a):i&&BTe(l,t),FTe(l),l}function OTe(e,t,n){var r=[];if(n==="replaceAll")return r;for(var a=0;a<e.length;a++){var i=e[a];i&&i.id!=null&&t.set(i.id,a),r.push({existing:n==="replaceMerge"||N1(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return r}function NTe(e,t,n,r){K(r,function(a,i){if(!(!a||a.id==null)){var o=Gv(a.id),l=n.get(o);if(l!=null){var s=e[l];ha(!s.newOption,'Duplicated option on id "'+o+'".'),s.newOption=a,s.existing=t[l],r[i]=null}}})}function $Te(e,t){K(t,function(n,r){if(!(!n||n.name==null))for(var a=0;a<e.length;a++){var i=e[a].existing;if(!e[a].newOption&&i&&(i.id==null||n.id==null)&&!N1(n)&&!N1(i)&&rH("name",i,n)){e[a].newOption=n,t[r]=null;return}}})}function VTe(e,t,n){K(t,function(r){if(r){for(var a,i=0;(a=e[i])&&(a.newOption||N1(a.existing)||a.existing&&r.id!=null&&!rH("id",r,a.existing));)i++;a?(a.newOption=r,a.brandNew=n):e.push({newOption:r,brandNew:n,existing:null,keyInfo:null}),i++}})}function BTe(e,t){K(t,function(n){e.push({newOption:n,brandNew:!0,existing:null,keyInfo:null})})}function FTe(e){var t=pt();K(e,function(n){var r=n.existing;r&&t.set(r.id,n)}),K(e,function(n){var r=n.newOption;ha(!r||r.id==null||!t.get(r.id)||t.get(r.id)===n,"id duplicates: "+(r&&r.id)),r&&r.id!=null&&t.set(r.id,n),!n.keyInfo&&(n.keyInfo={})}),K(e,function(n,r){var a=n.existing,i=n.newOption,o=n.keyInfo;if(wt(i)){if(o.name=i.name!=null?Gv(i.name):a?a.name:eH+r,a)o.id=Gv(a.id);else if(i.id!=null)o.id=Gv(i.id);else{var l=0;do o.id="\0"+o.name+"\0"+l++;while(t.get(o.id))}t.set(o.id,n)}})}function rH(e,t,n){var r=ur(t[e],null),a=ur(n[e],null);return r!=null&&a!=null&&r===a}function Gv(e){return ur(e,"")}function ur(e,t){return e==null?t:it(e)?e:ln(e)||_w(e)?e+"":t}function N6(e){var t=e.name;return!!(t&&t.indexOf(eH))}function N1(e){return e&&e.id!=null&&Gv(e.id).indexOf(tH)===0}function HTe(e){return tH+e}function jTe(e,t,n){K(e,function(r){var a=r.newOption;wt(a)&&(r.keyInfo.mainType=t,r.keyInfo.subType=qTe(t,a,r.existing,n))})}function qTe(e,t,n,r){var a=t.type?t.type:n?n.subType:r.determineSubType(e,t);return a}function GTe(e,t){var n={},r={};return a(e||[],n),a(t||[],r,n),[i(n),i(r)];function a(o,l,s){for(var u=0,c=o.length;u<c;u++){var f=ur(o[u].seriesId,null);if(f==null)return;for(var d=Cn(o[u].dataIndex),h=s&&s[f],v=0,p=d.length;v<p;v++){var g=d[v];h&&h[g]?h[g]=null:(l[f]||(l[f]={}))[g]=1}}}function i(o,l){var s=[];for(var u in o)if(o.hasOwnProperty(u)&&o[u]!=null)if(l)s.push(+u);else{var c=i(o[u],!0);c.length&&s.push({seriesId:u,dataIndex:c})}return s}}function $c(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return He(t.dataIndex)?Ge(t.dataIndex,function(n){return e.indexOfRawIndex(n)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return He(t.name)?Ge(t.name,function(n){return e.indexOfName(n)}):e.indexOfName(t.name)}function an(){var e="__ec_inner_"+WTe++;return function(t){return t[e]||(t[e]={})}}var WTe=JF();function Wv(e,t,n){var r=$6(t,n),a=r.mainTypeSpecified,i=r.queryOptionMap,o=r.others,l=o,s=n?n.defaultMainType:null;return!a&&s&&i.set(s,{}),i.each(function(u,c){var f=Mp(e,c,u,{useDefault:s===c,enableAll:n&&n.enableAll!=null?n.enableAll:!0,enableNone:n&&n.enableNone!=null?n.enableNone:!0});l[c+"Models"]=f.models,l[c+"Model"]=f.models[0]}),l}function $6(e,t){var n;if(it(e)){var r={};r[e+"Index"]=0,n=r}else n=e;var a=pt(),i={},o=!1;return K(n,function(l,s){if(s==="dataIndex"||s==="dataIndexInside"){i[s]=l;return}var u=s.match(/^(\w+)(Index|Id|Name)$/)||[],c=u[1],f=(u[2]||"").toLowerCase();if(!(!c||!f||t&&t.includeMainTypes&&Yt(t.includeMainTypes,c)<0)){o=o||!!c;var d=a.get(c)||a.set(c,{});d[f]=l}}),{mainTypeSpecified:o,queryOptionMap:a,others:i}}var rr={useDefault:!0,enableAll:!1,enableNone:!1},UTe={useDefault:!1,enableAll:!0,enableNone:!0};function Mp(e,t,n,r){r=r||rr;var a=n.index,i=n.id,o=n.name,l={models:null,specified:a!=null||i!=null||o!=null};if(!l.specified){var s=void 0;return l.models=r.useDefault&&(s=e.getComponent(t))?[s]:[],l}return a==="none"||a===!1?(ha(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[],l):(a==="all"&&(ha(r.enableAll,'`"all"` is not a valid value on index option.'),a=i=o=null),l.models=e.queryComponents({mainType:t,index:a,id:i,name:o}),l)}function aH(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function YTe(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function KTe(e){return e==="auto"?Jt.domSupported?"html":"richText":e||"html"}function jw(e,t){var n=pt(),r=[];return K(e,function(a){var i=t(a);(n.get(i)||(r.push(i),n.set(i,[]))).push(a)}),{keys:r,buckets:n}}function iH(e,t,n,r,a){var i=t==null||t==="auto";if(r==null)return r;if(ln(r)){var o=lM(n||0,r,a);return Zn(o,i?Math.max(To(n||0),To(r)):t)}else{if(it(r))return a<1?n:r;for(var l=[],s=n,u=r,c=Math.max(s?s.length:0,u.length),f=0;f<c;++f){var d=e.getDimensionInfo(f);if(d&&d.type==="ordinal")l[f]=(a<1&&s?s:u)[f];else{var h=s&&s[f]?s[f]:0,v=u[f],o=lM(h,v,a);l[f]=Zn(o,i?Math.max(To(h),To(v)):t)}}return l}}var XTe=".",wu="___EC__COMPONENT__CONTAINER___",oH="___EC__EXTENDED_CLASS___";function ko(e){var t={main:"",sub:""};if(e){var n=e.split(XTe);t.main=n[0]||"",t.sub=n[1]||""}return t}function ZTe(e){ha(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function JTe(e){return!!(e&&e[oH])}function V6(e,t){e.$constructor=e,e.extend=function(n){var r=this,a;return QTe(r)?a=function(i){Se(o,i);function o(){return i.apply(this,arguments)||this}return o}(r):(a=function(){(n.$constructor||r).apply(this,arguments)},l7e(a,this)),$e(a.prototype,n),a[oH]=!0,a.extend=this.extend,a.superCall=nke,a.superApply=rke,a.superClass=r,a}}function QTe(e){return yt(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function lH(e,t){e.extend=t.extend}var eke=Math.round(Math.random()*10);function tke(e){var t=["__\0is_clz",eke++].join("_");e.prototype[t]=!0,e.isInstance=function(n){return!!(n&&n[t])}}function nke(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[t].apply(e,n)}function rke(e,t,n){return this.superClass.prototype[t].apply(e,n)}function Ky(e){var t={};e.registerClass=function(r){var a=r.type||r.prototype.type;if(a){ZTe(a),r.prototype.type=a;var i=ko(a);if(!i.sub)t[i.main]=r;else if(i.sub!==wu){var o=n(i);o[i.sub]=r}}return r},e.getClass=function(r,a,i){var o=t[r];if(o&&o[wu]&&(o=a?o[a]:null),i&&!o)throw new Error(a?"Component "+r+"."+(a||"")+" is used but not imported.":r+".type should be specified.");return o},e.getClassesByMainType=function(r){var a=ko(r),i=[],o=t[a.main];return o&&o[wu]?K(o,function(l,s){s!==wu&&i.push(l)}):i.push(o),i},e.hasClass=function(r){var a=ko(r);return!!t[a.main]},e.getAllClassMainTypes=function(){var r=[];return K(t,function(a,i){r.push(i)}),r},e.hasSubTypes=function(r){var a=ko(r),i=t[a.main];return i&&i[wu]};function n(r){var a=t[r.main];return(!a||!a[wu])&&(a=t[r.main]={},a[wu]=!0),a}}function Vc(e,t){for(var n=0;n<e.length;n++)e[n][1]||(e[n][1]=e[n][0]);return t=t||!1,function(r,a,i){for(var o={},l=0;l<e.length;l++){var s=e[l][1];if(!(a&&Yt(a,s)>=0||i&&Yt(i,s)<0)){var u=r.getShallow(s,t);u!=null&&(o[e[l][0]]=u)}}return o}}var ake=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],ike=Vc(ake),oke=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return ike(this,t,n)},e}(),qw=new kp(50);function lke(e){if(typeof e=="string"){var t=qw.get(e);return t&&t.image}else return e}function B6(e,t,n,r,a){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!n)return t;var i=qw.get(e),o={hostEl:n,cb:r,cbPayload:a};return i?(t=i.image,!Xy(t)&&i.pending.push(o)):(t=Us.loadImage(e,uM,uM),t.__zrImageSrc=e,qw.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function uM(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var n=e.pending[t],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}e.pending.length=0}function Xy(e){return e&&e.width&&e.height}var Yb=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function ske(e,t,n,r,a){if(!t)return"";var i=(e+"").split(`
  101. `);a=sH(t,n,r,a);for(var o=0,l=i.length;o<l;o++)i[o]=uH(i[o],a);return i.join(`
  102. `)}function sH(e,t,n,r){r=r||{};var a=$e({},r);a.font=t,n=Ot(n,"..."),a.maxIterations=Ot(r.maxIterations,2);var i=a.minChar=Ot(r.minChar,0);a.cnCharWidth=Ua("国",t);var o=a.ascCharWidth=Ua("a",t);a.placeholder=Ot(r.placeholder,"");for(var l=e=Math.max(0,e-1),s=0;s<i&&l>=o;s++)l-=o;var u=Ua(n,t);return u>l&&(n="",u=0),l=e-u,a.ellipsis=n,a.ellipsisWidth=u,a.contentWidth=l,a.containerWidth=e,a}function uH(e,t){var n=t.containerWidth,r=t.font,a=t.contentWidth;if(!n)return"";var i=Ua(e,r);if(i<=n)return e;for(var o=0;;o++){if(i<=a||o>=t.maxIterations){e+=t.ellipsis;break}var l=o===0?uke(e,a,t.ascCharWidth,t.cnCharWidth):i>0?Math.floor(e.length*a/i):0;e=e.substr(0,l),i=Ua(e,r)}return e===""&&(e=t.placeholder),e}function uke(e,t,n,r){for(var a=0,i=0,o=e.length;i<o&&a<t;i++){var l=e.charCodeAt(i);a+=0<=l&&l<=127?n:r}return i}function cke(e,t){e!=null&&(e+="");var n=t.overflow,r=t.padding,a=t.font,i=n==="truncate",o=Uy(a),l=Ot(t.lineHeight,o),s=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,f;c!=null&&(n==="break"||n==="breakAll")?f=e?cH(e,t.font,c,n==="breakAll",0).lines:[]:f=e?e.split(`
  103. `):[];var d=f.length*l,h=Ot(t.height,d);if(d>h&&u){var v=Math.floor(h/l);f=f.slice(0,v)}if(e&&i&&c!=null)for(var p=sH(c,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<f.length;g++)f[g]=uH(f[g],p);for(var m=h,b=0,g=0;g<f.length;g++)b=Math.max(Ua(f[g],a),b);c==null&&(c=b);var _=b;return r&&(m+=r[0]+r[2],_+=r[1]+r[3],c+=r[1]+r[3]),s&&(_=c),{lines:f,height:h,outerWidth:_,outerHeight:m,lineHeight:l,calculatedLineHeight:o,contentWidth:b,contentHeight:d,width:c}}var fke=function(){function e(){}return e}(),cM=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),dke=function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]}return e}();function hke(e,t){var n=new dke;if(e!=null&&(e+=""),!e)return n;for(var r=t.width,a=t.height,i=t.overflow,o=(i==="break"||i==="breakAll")&&r!=null?{width:r,accumWidth:0,breakAll:i==="breakAll"}:null,l=Yb.lastIndex=0,s;(s=Yb.exec(e))!=null;){var u=s.index;u>l&&Kb(n,e.substring(l,u),t,o),Kb(n,s[2],t,o,s[1]),l=Yb.lastIndex}l<e.length&&Kb(n,e.substring(l,e.length),t,o);var c=[],f=0,d=0,h=t.padding,v=i==="truncate",p=t.lineOverflow==="truncate";function g(V,P,W){V.width=P,V.lineHeight=W,f+=W,d=Math.max(d,P)}e:for(var m=0;m<n.lines.length;m++){for(var b=n.lines[m],_=0,w=0,x=0;x<b.tokens.length;x++){var S=b.tokens[x],C=S.styleName&&t.rich[S.styleName]||{},T=S.textPadding=C.padding,z=T?T[1]+T[3]:0,A=S.font=C.font||t.font;S.contentHeight=Uy(A);var E=Ot(C.height,S.contentHeight);if(S.innerHeight=E,T&&(E+=T[0]+T[2]),S.height=E,S.lineHeight=Eo(C.lineHeight,t.lineHeight,E),S.align=C&&C.align||t.align,S.verticalAlign=C&&C.verticalAlign||"middle",p&&a!=null&&f+S.lineHeight>a){x>0?(b.tokens=b.tokens.slice(0,x),g(b,w,_),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m);break e}var D=C.width,$=D==null||D==="auto";if(typeof D=="string"&&D.charAt(D.length-1)==="%")S.percentWidth=D,c.push(S),S.contentWidth=Ua(S.text,A);else{if($){var O=C.backgroundColor,R=O&&O.image;R&&(R=lke(R),Xy(R)&&(S.width=Math.max(S.width,R.width*E/R.height)))}var N=v&&r!=null?r-w:null;N!=null&&N<S.width?!$||N<z?(S.text="",S.width=S.contentWidth=0):(S.text=ske(S.text,N-z,A,t.ellipsis,{minChar:t.truncateMinChar}),S.width=S.contentWidth=Ua(S.text,A)):S.contentWidth=Ua(S.text,A)}S.width+=z,w+=S.width,C&&(_=Math.max(_,S.lineHeight))}g(b,w,_)}n.outerWidth=n.width=Ot(r,d),n.outerHeight=n.height=Ot(a,f),n.contentHeight=f,n.contentWidth=d,h&&(n.outerWidth+=h[1]+h[3],n.outerHeight+=h[0]+h[2]);for(var m=0;m<c.length;m++){var S=c[m],B=S.percentWidth;S.width=parseInt(B,10)/100*n.width}return n}function Kb(e,t,n,r,a){var i=t==="",o=a&&n.rich[a]||{},l=e.lines,s=o.font||n.font,u=!1,c,f;if(r){var d=o.padding,h=d?d[1]+d[3]:0;if(o.width!=null&&o.width!=="auto"){var v=Ji(o.width,r.width)+h;l.length>0&&v+r.accumWidth>r.width&&(c=t.split(`
  104. `),u=!0),r.accumWidth=v}else{var p=cH(t,s,r.width,r.breakAll,r.accumWidth);r.accumWidth=p.accumWidth+h,f=p.linesWidths,c=p.lines}}else c=t.split(`
  105. `);for(var g=0;g<c.length;g++){var m=c[g],b=new fke;if(b.styleName=a,b.text=m,b.isLineHolder=!m&&!i,typeof o.width=="number"?b.width=o.width:b.width=f?f[g]:Ua(m,s),!g&&!u){var _=(l[l.length-1]||(l[0]=new cM)).tokens,w=_.length;w===1&&_[0].isLineHolder?_[0]=b:(m||!w||i)&&_.push(b)}else l.push(new cM([b]))}}function vke(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var pke=No(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function gke(e){return vke(e)?!!pke[e]:!0}function cH(e,t,n,r,a){for(var i=[],o=[],l="",s="",u=0,c=0,f=0;f<e.length;f++){var d=e.charAt(f);if(d===`
  106. `){s&&(l+=s,c+=u),i.push(l),o.push(c),l="",s="",u=0,c=0;continue}var h=Ua(d,t),v=r?!1:!gke(d);if(i.length?c+h>n:a+c+h>n){c?(l||s)&&(v?(l||(l=s,s="",u=0,c=u),i.push(l),o.push(c-u),s+=d,u+=h,l="",c=u):(s&&(l+=s,s="",u=0),i.push(l),o.push(c),l=d,c=h)):v?(i.push(s),o.push(u),s=d,u=h):(i.push(d),o.push(h));continue}c+=h,v?(s+=d,u+=h):(s&&(l+=s,s="",u=0),l+=d)}return!i.length&&!l&&(l=e,s="",u=0),s&&(l+=s),l&&(i.push(l),o.push(c)),i.length===1&&(c+=a),{accumWidth:c,lines:i,linesWidths:o}}var Gw="__zr_style_"+Math.round(Math.random()*10),wc={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Zy={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};wc[Gw]=!0;var fM=["z","z2","invisible"],mke=["invisible"],zi=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype._init=function(n){for(var r=tn(n),a=0;a<r.length;a++){var i=r[a];i==="style"?this.useStyle(n[i]):e.prototype.attrKV.call(this,i,n[i])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(n,r,a,i){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&yke(this,n,r)||o&&!o[0]&&!o[3])return!1;if(a&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var s=this.parent;s;){if(s.ignore)return!1;s=s.parent}return!0},t.prototype.contain=function(n,r){return this.rectContain(n,r)},t.prototype.traverse=function(n,r){n.call(r,this)},t.prototype.rectContain=function(n,r){var a=this.transformCoordToLocal(n,r),i=this.getBoundingRect();return i.contain(a[0],a[1])},t.prototype.getPaintRect=function(){var n=this._paintRect;if(!this._paintRect||this.__dirty){var r=this.transform,a=this.getBoundingRect(),i=this.style,o=i.shadowBlur||0,l=i.shadowOffsetX||0,s=i.shadowOffsetY||0;n=this._paintRect||(this._paintRect=new qt(0,0,0,0)),r?qt.applyTransform(n,a,r):n.copy(a),(o||l||s)&&(n.width+=o*2+Math.abs(l),n.height+=o*2+Math.abs(s),n.x=Math.min(n.x,n.x+l-o),n.y=Math.min(n.y,n.y+s-o));var u=this.dirtyRectTolerance;n.isZero()||(n.x=Math.floor(n.x-u),n.y=Math.floor(n.y-u),n.width=Math.ceil(n.width+1+u*2),n.height=Math.ceil(n.height+1+u*2))}return n},t.prototype.setPrevPaintRect=function(n){n?(this._prevPaintRect=this._prevPaintRect||new qt(0,0,0,0),this._prevPaintRect.copy(n)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(n){return this.animate("style",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(n,r){n!=="style"?e.prototype.attrKV.call(this,n,r):this.style?this.setStyle(r):this.useStyle(r)},t.prototype.setStyle=function(n,r){return typeof n=="string"?this.style[n]=r:$e(this.style,n),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(n){n||this.markRedraw(),this.__dirty|=fv,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&fv)},t.prototype.styleUpdated=function(){this.__dirty&=~fv},t.prototype.createStyle=function(n){return qy(wc,n)},t.prototype.useStyle=function(n){n[Gw]||(n=this.createStyle(n)),this.__inHover?this.__hoverStyle=n:this.style=n,this.dirtyStyle()},t.prototype.isStyleObject=function(n){return n[Gw]},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.style&&!r.style&&(r.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(n,r,fM)},t.prototype._applyStateObj=function(n,r,a,i,o,l){e.prototype._applyStateObj.call(this,n,r,a,i,o,l);var s=!(r&&i),u;if(r&&r.style?o?i?u=r.style:(u=this._mergeStyle(this.createStyle(),a.style),this._mergeStyle(u,r.style)):(u=this._mergeStyle(this.createStyle(),i?this.style:a.style),this._mergeStyle(u,r.style)):s&&(u=a.style),u)if(o){var c=this.style;if(this.style=this.createStyle(s?{}:c),s)for(var f=tn(c),d=0;d<f.length;d++){var h=f[d];h in u&&(u[h]=u[h],this.style[h]=c[h])}for(var v=tn(u),d=0;d<v.length;d++){var h=v[d];this.style[h]=this.style[h]}this._transitionState(n,{style:u},l,this.getAnimationStyleProps())}else this.useStyle(u);for(var p=this.__inHover?mke:fM,d=0;d<p.length;d++){var h=p[d];r&&r[h]!=null?this[h]=r[h]:s&&a[h]!=null&&(this[h]=a[h])}},t.prototype._mergeStates=function(n){for(var r=e.prototype._mergeStates.call(this,n),a,i=0;i<n.length;i++){var o=n[i];o.style&&(a=a||{},this._mergeStyle(a,o.style))}return a&&(r.style=a),r},t.prototype._mergeStyle=function(n,r){return $e(n,r),n},t.prototype.getAnimationStyleProps=function(){return Zy},t.initDefaultProps=function(){var n=t.prototype;n.type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,n.__dirty=Va|fv}(),t}(Yy),Xb=new qt(0,0,0,0),Zb=new qt(0,0,0,0);function yke(e,t,n){return Xb.copy(e.getBoundingRect()),e.transform&&Xb.applyTransform(e.transform),Zb.width=t,Zb.height=n,!Xb.intersect(Zb)}var ka=Math.min,za=Math.max,Jb=Math.sin,Qb=Math.cos,xu=Math.PI*2,Pg=Zc(),Rg=Zc(),Og=Zc();function Jy(e,t,n){if(e.length!==0){for(var r=e[0],a=r[0],i=r[0],o=r[1],l=r[1],s=1;s<e.length;s++)r=e[s],a=ka(a,r[0]),i=za(i,r[0]),o=ka(o,r[1]),l=za(l,r[1]);t[0]=a,t[1]=o,n[0]=i,n[1]=l}}function dM(e,t,n,r,a,i){a[0]=ka(e,n),a[1]=ka(t,r),i[0]=za(e,n),i[1]=za(t,r)}var hM=[],vM=[];function bke(e,t,n,r,a,i,o,l,s,u){var c=AF,f=pr,d=c(e,n,a,o,hM);s[0]=1/0,s[1]=1/0,u[0]=-1/0,u[1]=-1/0;for(var h=0;h<d;h++){var v=f(e,n,a,o,hM[h]);s[0]=ka(v,s[0]),u[0]=za(v,u[0])}d=c(t,r,i,l,vM);for(var h=0;h<d;h++){var p=f(t,r,i,l,vM[h]);s[1]=ka(p,s[1]),u[1]=za(p,u[1])}s[0]=ka(e,s[0]),u[0]=za(e,u[0]),s[0]=ka(o,s[0]),u[0]=za(o,u[0]),s[1]=ka(t,s[1]),u[1]=za(t,u[1]),s[1]=ka(l,s[1]),u[1]=za(l,u[1])}function _ke(e,t,n,r,a,i,o,l){var s=IF,u=kr,c=za(ka(s(e,n,a),1),0),f=za(ka(s(t,r,i),1),0),d=u(e,n,a,c),h=u(t,r,i,f);o[0]=ka(e,a,d),o[1]=ka(t,i,h),l[0]=za(e,a,d),l[1]=za(t,i,h)}function wke(e,t,n,r,a,i,o,l,s){var u=ws,c=xs,f=Math.abs(a-i);if(f%xu<1e-4&&f>1e-4){l[0]=e-n,l[1]=t-r,s[0]=e+n,s[1]=t+r;return}if(Pg[0]=Qb(a)*n+e,Pg[1]=Jb(a)*r+t,Rg[0]=Qb(i)*n+e,Rg[1]=Jb(i)*r+t,u(l,Pg,Rg),c(s,Pg,Rg),a=a%xu,a<0&&(a=a+xu),i=i%xu,i<0&&(i=i+xu),a>i&&!o?i+=xu:a<i&&o&&(a+=xu),o){var d=i;i=a,a=d}for(var h=0;h<i;h+=Math.PI/2)h>a&&(Og[0]=Qb(h)*n+e,Og[1]=Jb(h)*r+t,u(l,Og,l),c(s,Og,s))}var Mn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Su=[],Cu=[],so=[],Yl=[],uo=[],co=[],e_=Math.min,t_=Math.max,Tu=Math.cos,ku=Math.sin,el=Math.abs,Ww=Math.PI,ls=Ww*2,n_=typeof Float32Array<"u",Nh=[];function r_(e){var t=Math.round(e/Ww*1e8)/1e8;return t%2*Ww}function F6(e,t){var n=r_(e[0]);n<0&&(n+=ls);var r=n-e[0],a=e[1];a+=r,!t&&a-n>=ls?a=n+ls:t&&n-a>=ls?a=n-ls:!t&&n>a?a=n+(ls-r_(n-a)):t&&n<a&&(a=n-(ls-r_(a-n))),e[0]=n,e[1]=a}var Fo=function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,n,r){r=r||0,r>0&&(this._ux=el(r/fm/t)||0,this._uy=el(r/fm/n)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,n){return this._drawPendingPt(),this.addData(Mn.M,t,n),this._ctx&&this._ctx.moveTo(t,n),this._x0=t,this._y0=n,this._xi=t,this._yi=n,this},e.prototype.lineTo=function(t,n){var r=el(t-this._xi),a=el(n-this._yi),i=r>this._ux||a>this._uy;if(this.addData(Mn.L,t,n),this._ctx&&i&&this._ctx.lineTo(t,n),i)this._xi=t,this._yi=n,this._pendingPtDist=0;else{var o=r*r+a*a;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=n,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,n,r,a,i,o){return this._drawPendingPt(),this.addData(Mn.C,t,n,r,a,i,o),this._ctx&&this._ctx.bezierCurveTo(t,n,r,a,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,n,r,a){return this._drawPendingPt(),this.addData(Mn.Q,t,n,r,a),this._ctx&&this._ctx.quadraticCurveTo(t,n,r,a),this._xi=r,this._yi=a,this},e.prototype.arc=function(t,n,r,a,i,o){this._drawPendingPt(),Nh[0]=a,Nh[1]=i,F6(Nh,o),a=Nh[0],i=Nh[1];var l=i-a;return this.addData(Mn.A,t,n,r,r,a,l,0,o?0:1),this._ctx&&this._ctx.arc(t,n,r,a,i,o),this._xi=Tu(i)*r+t,this._yi=ku(i)*r+n,this},e.prototype.arcTo=function(t,n,r,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,n,r,a,i),this},e.prototype.rect=function(t,n,r,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,n,r,a),this.addData(Mn.R,t,n,r,a),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(Mn.Z);var t=this._ctx,n=this._x0,r=this._y0;return t&&t.closePath(),this._xi=n,this._yi=r,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var n=t.length;!(this.data&&this.data.length===n)&&n_&&(this.data=new Float32Array(n));for(var r=0;r<n;r++)this.data[r]=t[r];this._len=n},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var n=t.length,r=0,a=this._len,i=0;i<n;i++)r+=t[i].len();n_&&this.data instanceof Float32Array&&(this.data=new Float32Array(a+r));for(var i=0;i<n;i++)for(var o=t[i].data,l=0;l<o.length;l++)this.data[a++]=o[l];this._len=a},e.prototype.addData=function(t,n,r,a,i,o,l,s,u){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var f=0;f<arguments.length;f++)c[this._len++]=arguments[f]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],n=0;n<this._len;n++)t[n]=this.data[n];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,n_&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){so[0]=so[1]=uo[0]=uo[1]=Number.MAX_VALUE,Yl[0]=Yl[1]=co[0]=co[1]=-Number.MAX_VALUE;var t=this.data,n=0,r=0,a=0,i=0,o;for(o=0;o<this._len;){var l=t[o++],s=o===1;switch(s&&(n=t[o],r=t[o+1],a=n,i=r),l){case Mn.M:n=a=t[o++],r=i=t[o++],uo[0]=a,uo[1]=i,co[0]=a,co[1]=i;break;case Mn.L:dM(n,r,t[o],t[o+1],uo,co),n=t[o++],r=t[o++];break;case Mn.C:bke(n,r,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],uo,co),n=t[o++],r=t[o++];break;case Mn.Q:_ke(n,r,t[o++],t[o++],t[o],t[o+1],uo,co),n=t[o++],r=t[o++];break;case Mn.A:var u=t[o++],c=t[o++],f=t[o++],d=t[o++],h=t[o++],v=t[o++]+h;o+=1;var p=!t[o++];s&&(a=Tu(h)*f+u,i=ku(h)*d+c),wke(u,c,f,d,h,v,p,uo,co),n=Tu(v)*f+u,r=ku(v)*d+c;break;case Mn.R:a=n=t[o++],i=r=t[o++];var g=t[o++],m=t[o++];dM(a,i,a+g,i+m,uo,co);break;case Mn.Z:n=a,r=i;break}ws(so,so,uo),xs(Yl,Yl,co)}return o===0&&(so[0]=so[1]=Yl[0]=Yl[1]=0),new qt(so[0],so[1],Yl[0]-so[0],Yl[1]-so[1])},e.prototype._calculateLength=function(){var t=this.data,n=this._len,r=this._ux,a=this._uy,i=0,o=0,l=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,f=0,d=0;d<n;){var h=t[d++],v=d===1;v&&(i=t[d],o=t[d+1],l=i,s=o);var p=-1;switch(h){case Mn.M:i=l=t[d++],o=s=t[d++];break;case Mn.L:{var g=t[d++],m=t[d++],b=g-i,_=m-o;(el(b)>r||el(_)>a||d===n-1)&&(p=Math.sqrt(b*b+_*_),i=g,o=m);break}case Mn.C:{var w=t[d++],x=t[d++],g=t[d++],m=t[d++],S=t[d++],C=t[d++];p=F7e(i,o,w,x,g,m,S,C,10),i=S,o=C;break}case Mn.Q:{var w=t[d++],x=t[d++],g=t[d++],m=t[d++];p=j7e(i,o,w,x,g,m,10),i=g,o=m;break}case Mn.A:var T=t[d++],z=t[d++],A=t[d++],E=t[d++],D=t[d++],$=t[d++],O=$+D;d+=1,v&&(l=Tu(D)*A+T,s=ku(D)*E+z),p=t_(A,E)*e_(ls,Math.abs($)),i=Tu(O)*A+T,o=ku(O)*E+z;break;case Mn.R:{l=i=t[d++],s=o=t[d++];var R=t[d++],N=t[d++];p=R*2+N*2;break}case Mn.Z:{var b=l-i,_=s-o;p=Math.sqrt(b*b+_*_),i=l,o=s;break}}p>=0&&(u[f++]=p,c+=p)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,n){var r=this.data,a=this._ux,i=this._uy,o=this._len,l,s,u,c,f,d,h=n<1,v,p,g=0,m=0,b,_=0,w,x;if(!(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,p=this._pathLen,b=n*p,!b)))e:for(var S=0;S<o;){var C=r[S++],T=S===1;switch(T&&(u=r[S],c=r[S+1],l=u,s=c),C!==Mn.L&&_>0&&(t.lineTo(w,x),_=0),C){case Mn.M:l=u=r[S++],s=c=r[S++],t.moveTo(u,c);break;case Mn.L:{f=r[S++],d=r[S++];var z=el(f-u),A=el(d-c);if(z>a||A>i){if(h){var E=v[m++];if(g+E>b){var D=(b-g)/E;t.lineTo(u*(1-D)+f*D,c*(1-D)+d*D);break e}g+=E}t.lineTo(f,d),u=f,c=d,_=0}else{var $=z*z+A*A;$>_&&(w=f,x=d,_=$)}break}case Mn.C:{var O=r[S++],R=r[S++],N=r[S++],B=r[S++],V=r[S++],P=r[S++];if(h){var E=v[m++];if(g+E>b){var D=(b-g)/E;Ys(u,O,N,V,D,Su),Ys(c,R,B,P,D,Cu),t.bezierCurveTo(Su[1],Cu[1],Su[2],Cu[2],Su[3],Cu[3]);break e}g+=E}t.bezierCurveTo(O,R,N,B,V,P),u=V,c=P;break}case Mn.Q:{var O=r[S++],R=r[S++],N=r[S++],B=r[S++];if(h){var E=v[m++];if(g+E>b){var D=(b-g)/E;L1(u,O,N,D,Su),L1(c,R,B,D,Cu),t.quadraticCurveTo(Su[1],Cu[1],Su[2],Cu[2]);break e}g+=E}t.quadraticCurveTo(O,R,N,B),u=N,c=B;break}case Mn.A:var W=r[S++],Z=r[S++],ee=r[S++],re=r[S++],ue=r[S++],ye=r[S++],le=r[S++],ae=!r[S++],ie=ee>re?ee:re,ve=el(ee-re)>.001,ce=ue+ye,fe=!1;if(h){var E=v[m++];g+E>b&&(ce=ue+ye*(b-g)/E,fe=!0),g+=E}if(ve&&t.ellipse?t.ellipse(W,Z,ee,re,le,ue,ce,ae):t.arc(W,Z,ie,ue,ce,ae),fe)break e;T&&(l=Tu(ue)*ee+W,s=ku(ue)*re+Z),u=Tu(ce)*ee+W,c=ku(ce)*re+Z;break;case Mn.R:l=u=r[S],s=c=r[S+1],f=r[S++],d=r[S++];var xe=r[S++],J=r[S++];if(h){var E=v[m++];if(g+E>b){var oe=b-g;t.moveTo(f,d),t.lineTo(f+e_(oe,xe),d),oe-=xe,oe>0&&t.lineTo(f+xe,d+e_(oe,J)),oe-=J,oe>0&&t.lineTo(f+t_(xe-oe,0),d+J),oe-=xe,oe>0&&t.lineTo(f,d+t_(J-oe,0));break e}g+=E}t.rect(f,d,xe,J);break;case Mn.Z:if(h){var E=v[m++];if(g+E>b){var D=(b-g)/E;t.lineTo(u*(1-D)+l*D,c*(1-D)+s*D);break e}g+=E}t.closePath(),u=l,c=s}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=Mn,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}();function hs(e,t,n,r,a,i,o){if(a===0)return!1;var l=a,s=0,u=e;if(o>t+l&&o>r+l||o<t-l&&o<r-l||i>e+l&&i>n+l||i<e-l&&i<n-l)return!1;if(e!==n)s=(t-r)/(e-n),u=(e*r-n*t)/(e-n);else return Math.abs(i-e)<=l/2;var c=s*i-o+u,f=c*c/(s*s+1);return f<=l/2*l/2}function xke(e,t,n,r,a,i,o,l,s,u,c){if(s===0)return!1;var f=s;if(c>t+f&&c>r+f&&c>i+f&&c>l+f||c<t-f&&c<r-f&&c<i-f&&c<l-f||u>e+f&&u>n+f&&u>a+f&&u>o+f||u<e-f&&u<n-f&&u<a-f&&u<o-f)return!1;var d=EF(e,t,n,r,a,i,o,l,u,c,null);return d<=f/2}function fH(e,t,n,r,a,i,o,l,s){if(o===0)return!1;var u=o;if(s>t+u&&s>r+u&&s>i+u||s<t-u&&s<r-u&&s<i-u||l>e+u&&l>n+u&&l>a+u||l<e-u&&l<n-u&&l<a-u)return!1;var c=DF(e,t,n,r,a,i,l,s,null);return c<=u/2}var pM=Math.PI*2;function Fa(e){return e%=pM,e<0&&(e+=pM),e}var $h=Math.PI*2;function Ske(e,t,n,r,a,i,o,l,s){if(o===0)return!1;var u=o;l-=e,s-=t;var c=Math.sqrt(l*l+s*s);if(c-u>n||c+u<n)return!1;if(Math.abs(r-a)%$h<1e-4)return!0;if(i){var f=r;r=Fa(a),a=Fa(f)}else r=Fa(r),a=Fa(a);r>a&&(a+=$h);var d=Math.atan2(s,l);return d<0&&(d+=$h),d>=r&&d<=a||d+$h>=r&&d+$h<=a}function ol(e,t,n,r,a,i){if(i>t&&i>r||i<t&&i<r||r===t)return 0;var o=(i-t)/(r-t),l=r<t?1:-1;(o===1||o===0)&&(l=r<t?.5:-.5);var s=o*(n-e)+e;return s===a?1/0:s>a?l:0}var Kl=Fo.CMD,zu=Math.PI*2,Cke=1e-4;function Tke(e,t){return Math.abs(e-t)<Cke}var ia=[-1,-1,-1],oi=[-1,-1];function kke(){var e=oi[0];oi[0]=oi[1],oi[1]=e}function zke(e,t,n,r,a,i,o,l,s,u){if(u>t&&u>r&&u>i&&u>l||u<t&&u<r&&u<i&&u<l)return 0;var c=lm(t,r,i,l,u,ia);if(c===0)return 0;for(var f=0,d=-1,h=void 0,v=void 0,p=0;p<c;p++){var g=ia[p],m=g===0||g===1?.5:1,b=pr(e,n,a,o,g);b<s||(d<0&&(d=AF(t,r,i,l,oi),oi[1]<oi[0]&&d>1&&kke(),h=pr(t,r,i,l,oi[0]),d>1&&(v=pr(t,r,i,l,oi[1]))),d===2?g<oi[0]?f+=h<t?m:-m:g<oi[1]?f+=v<h?m:-m:f+=l<v?m:-m:g<oi[0]?f+=h<t?m:-m:f+=l<h?m:-m)}return f}function Mke(e,t,n,r,a,i,o,l){if(l>t&&l>r&&l>i||l<t&&l<r&&l<i)return 0;var s=H7e(t,r,i,l,ia);if(s===0)return 0;var u=IF(t,r,i);if(u>=0&&u<=1){for(var c=0,f=kr(t,r,i,u),d=0;d<s;d++){var h=ia[d]===0||ia[d]===1?.5:1,v=kr(e,n,a,ia[d]);v<o||(ia[d]<u?c+=f<t?h:-h:c+=i<f?h:-h)}return c}else{var h=ia[0]===0||ia[0]===1?.5:1,v=kr(e,n,a,ia[0]);return v<o?0:i<t?h:-h}}function Ake(e,t,n,r,a,i,o,l){if(l-=t,l>n||l<-n)return 0;var s=Math.sqrt(n*n-l*l);ia[0]=-s,ia[1]=s;var u=Math.abs(r-a);if(u<1e-4)return 0;if(u>=zu-1e-4){r=0,a=zu;var c=i?1:-1;return o>=ia[0]+e&&o<=ia[1]+e?c:0}if(r>a){var f=r;r=a,a=f}r<0&&(r+=zu,a+=zu);for(var d=0,h=0;h<2;h++){var v=ia[h];if(v+e>o){var p=Math.atan2(l,v),c=i?1:-1;p<0&&(p=zu+p),(p>=r&&p<=a||p+zu>=r&&p+zu<=a)&&(p>Math.PI/2&&p<Math.PI*1.5&&(c=-c),d+=c)}}return d}function dH(e,t,n,r,a){for(var i=e.data,o=e.len(),l=0,s=0,u=0,c=0,f=0,d,h,v=0;v<o;){var p=i[v++],g=v===1;switch(p===Kl.M&&v>1&&(n||(l+=ol(s,u,c,f,r,a))),g&&(s=i[v],u=i[v+1],c=s,f=u),p){case Kl.M:c=i[v++],f=i[v++],s=c,u=f;break;case Kl.L:if(n){if(hs(s,u,i[v],i[v+1],t,r,a))return!0}else l+=ol(s,u,i[v],i[v+1],r,a)||0;s=i[v++],u=i[v++];break;case Kl.C:if(n){if(xke(s,u,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],t,r,a))return!0}else l+=zke(s,u,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],r,a)||0;s=i[v++],u=i[v++];break;case Kl.Q:if(n){if(fH(s,u,i[v++],i[v++],i[v],i[v+1],t,r,a))return!0}else l+=Mke(s,u,i[v++],i[v++],i[v],i[v+1],r,a)||0;s=i[v++],u=i[v++];break;case Kl.A:var m=i[v++],b=i[v++],_=i[v++],w=i[v++],x=i[v++],S=i[v++];v+=1;var C=!!(1-i[v++]);d=Math.cos(x)*_+m,h=Math.sin(x)*w+b,g?(c=d,f=h):l+=ol(s,u,d,h,r,a);var T=(r-m)*w/_+m;if(n){if(Ske(m,b,w,x,x+S,C,t,T,a))return!0}else l+=Ake(m,b,w,x,x+S,C,T,a);s=Math.cos(x+S)*_+m,u=Math.sin(x+S)*w+b;break;case Kl.R:c=s=i[v++],f=u=i[v++];var z=i[v++],A=i[v++];if(d=c+z,h=f+A,n){if(hs(c,f,d,f,t,r,a)||hs(d,f,d,h,t,r,a)||hs(d,h,c,h,t,r,a)||hs(c,h,c,f,t,r,a))return!0}else l+=ol(d,f,d,h,r,a),l+=ol(c,h,c,f,r,a);break;case Kl.Z:if(n){if(hs(s,u,c,f,t,r,a))return!0}else l+=ol(s,u,c,f,r,a);s=c,u=f;break}}return!n&&!Tke(u,f)&&(l+=ol(s,u,c,f,r,a)||0),l!==0}function Eke(e,t,n){return dH(e,0,!1,t,n)}function Ike(e,t,n,r){return dH(e,t,!0,n,r)}var hm=_t({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},wc),Dke={style:_t({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Zy.style)},a_=Vo.concat(["invisible","culling","z","z2","zlevel","parent"]),Zt=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.update=function(){var n=this;e.prototype.update.call(this);var r=this.style;if(r.decal){var a=this._decalEl=this._decalEl||new t;a.buildPath===t.prototype.buildPath&&(a.buildPath=function(s){n.buildPath(s,n.shape)}),a.silent=!0;var i=a.style;for(var o in r)i[o]!==r[o]&&(i[o]=r[o]);i.fill=r.fill?r.decal:null,i.decal=null,i.shadowColor=null,r.strokeFirst&&(i.stroke=null);for(var l=0;l<a_.length;++l)a[a_[l]]=this[a_[l]];a.__dirty|=Va}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(n){var r=tn(n);this.shape=this.getDefaultShape();var a=this.getDefaultStyle();a&&this.useStyle(a);for(var i=0;i<r.length;i++){var o=r[i],l=n[o];o==="style"?this.style?$e(this.style,l):this.useStyle(l):o==="shape"?$e(this.shape,l):e.prototype.attrKV.call(this,o,l)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var n=this.style.fill;if(n!=="none"){if(it(n)){var r=um(n,0);return r>.5?Bw:r>.2?gTe:Fw}else if(n)return Fw}return Bw},t.prototype.getInsideTextStroke=function(n){var r=this.style.fill;if(it(r)){var a=this.__zr,i=!!(a&&a.isDarkMode()),o=um(n,0)<Vw;if(i===o)return r}},t.prototype.buildPath=function(n,r,a){},t.prototype.pathUpdated=function(){this.__dirty&=~$f},t.prototype.getUpdatedPathProxy=function(n){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,n),this.path},t.prototype.createPathProxy=function(){this.path=new Fo(!1)},t.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return!(r==null||r==="none"||!(n.lineWidth>0))},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.getBoundingRect=function(){var n=this._rect,r=this.style,a=!n;if(a){var i=!1;this.path||(i=!0,this.createPathProxy());var o=this.path;(i||this.__dirty&$f)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),n=o.getBoundingRect()}if(this._rect=n,this.hasStroke()&&this.path&&this.path.len()>0){var l=this._rectStroke||(this._rectStroke=n.clone());if(this.__dirty||a){l.copy(n);var s=r.strokeNoScale?this.getLineScale():1,u=r.lineWidth;if(!this.hasFill()){var c=this.strokeContainThreshold;u=Math.max(u,c??4)}s>1e-10&&(l.width+=u/s,l.height+=u/s,l.x-=u/s/2,l.y-=u/s/2)}return l}return n},t.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),i=this.getBoundingRect(),o=this.style;if(n=a[0],r=a[1],i.contain(n,r)){var l=this.path;if(this.hasStroke()){var s=o.lineWidth,u=o.strokeNoScale?this.getLineScale():1;if(u>1e-10&&(this.hasFill()||(s=Math.max(s,this.strokeContainThreshold)),Ike(l,s/u,n,r)))return!0}if(this.hasFill())return Eke(l,n,r)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=$f,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(n){return this.animate("shape",n)},t.prototype.updateDuringAnimation=function(n){n==="style"?this.dirtyStyle():n==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(n,r){n==="shape"?this.setShape(r):e.prototype.attrKV.call(this,n,r)},t.prototype.setShape=function(n,r){var a=this.shape;return a||(a=this.shape={}),typeof n=="string"?a[n]=r:$e(a,n),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&$f)},t.prototype.createStyle=function(n){return qy(hm,n)},t.prototype._innerSaveToNormal=function(n){e.prototype._innerSaveToNormal.call(this,n);var r=this._normalState;n.shape&&!r.shape&&(r.shape=$e({},this.shape))},t.prototype._applyStateObj=function(n,r,a,i,o,l){e.prototype._applyStateObj.call(this,n,r,a,i,o,l);var s=!(r&&i),u;if(r&&r.shape?o?i?u=r.shape:(u=$e({},a.shape),$e(u,r.shape)):(u=$e({},i?this.shape:a.shape),$e(u,r.shape)):s&&(u=a.shape),u)if(o){this.shape=$e({},this.shape);for(var c={},f=tn(u),d=0;d<f.length;d++){var h=f[d];typeof u[h]=="object"?this.shape[h]=u[h]:c[h]=u[h]}this._transitionState(n,{shape:c},l)}else this.shape=u,this.dirtyShape()},t.prototype._mergeStates=function(n){for(var r=e.prototype._mergeStates.call(this,n),a,i=0;i<n.length;i++){var o=n[i];o.shape&&(a=a||{},this._mergeStyle(a,o.shape))}return a&&(r.shape=a),r},t.prototype.getAnimationStyleProps=function(){return Dke},t.prototype.isZeroArea=function(){return!1},t.extend=function(n){var r=function(i){Se(o,i);function o(l){var s=i.call(this,l)||this;return n.init&&n.init.call(s,l),s}return o.prototype.getDefaultStyle=function(){return kt(n.style)},o.prototype.getDefaultShape=function(){return kt(n.shape)},o}(t);for(var a in n)typeof n[a]=="function"&&(r.prototype[a]=n[a]);return r},t.initDefaultProps=function(){var n=t.prototype;n.type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,n.__dirty=Va|fv|$f}(),t}(zi),Lke=_t({strokeFirst:!0,font:Ws,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},hm),Od=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var n=this.style,r=n.stroke;return r!=null&&r!=="none"&&n.lineWidth>0},t.prototype.hasFill=function(){var n=this.style,r=n.fill;return r!=null&&r!=="none"},t.prototype.createStyle=function(n){return qy(Lke,n)},t.prototype.setBoundingRect=function(n){this._rect=n},t.prototype.getBoundingRect=function(){var n=this.style;if(!this._rect){var r=n.text;r!=null?r+="":r="";var a=zp(r,n.font,n.textAlign,n.textBaseline);if(a.x+=n.x||0,a.y+=n.y||0,this.hasStroke()){var i=n.lineWidth;a.x-=i/2,a.y-=i/2,a.width+=i,a.height+=i}this._rect=a}return this._rect},t.initDefaultProps=function(){var n=t.prototype;n.dirtyRectTolerance=10}(),t}(zi);Od.prototype.type="tspan";var Pke=_t({x:0,y:0},wc),Rke={style:_t({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Zy.style)};function Oke(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Ir=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(n){return qy(Pke,n)},t.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var i=Oke(r.image)?r.image:this.__image;if(!i)return 0;var o=n==="width"?"height":"width",l=r[o];return l==null?i[n]:i[n]/i[o]*l},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return Rke},t.prototype.getBoundingRect=function(){var n=this.style;return this._rect||(this._rect=new qt(n.x||0,n.y||0,this.getWidth(),this.getHeight())),this._rect},t}(zi);Ir.prototype.type="image";function Nke(e,t){var n=t.x,r=t.y,a=t.width,i=t.height,o=t.r,l,s,u,c;a<0&&(n=n+a,a=-a),i<0&&(r=r+i,i=-i),typeof o=="number"?l=s=u=c=o:o instanceof Array?o.length===1?l=s=u=c=o[0]:o.length===2?(l=u=o[0],s=c=o[1]):o.length===3?(l=o[0],s=c=o[1],u=o[2]):(l=o[0],s=o[1],u=o[2],c=o[3]):l=s=u=c=0;var f;l+s>a&&(f=l+s,l*=a/f,s*=a/f),u+c>a&&(f=u+c,u*=a/f,c*=a/f),s+u>i&&(f=s+u,s*=i/f,u*=i/f),l+c>i&&(f=l+c,l*=i/f,c*=i/f),e.moveTo(n+l,r),e.lineTo(n+a-s,r),s!==0&&e.arc(n+a-s,r+s,s,-Math.PI/2,0),e.lineTo(n+a,r+i-u),u!==0&&e.arc(n+a-u,r+i-u,u,0,Math.PI/2),e.lineTo(n+c,r+i),c!==0&&e.arc(n+c,r+i-c,c,Math.PI/2,Math.PI),e.lineTo(n,r+l),l!==0&&e.arc(n+l,r+l,l,Math.PI,Math.PI*1.5)}var Uf=Math.round;function hH(e,t,n){if(t){var r=t.x1,a=t.x2,i=t.y1,o=t.y2;e.x1=r,e.x2=a,e.y1=i,e.y2=o;var l=n&&n.lineWidth;return l&&(Uf(r*2)===Uf(a*2)&&(e.x1=e.x2=oc(r,l,!0)),Uf(i*2)===Uf(o*2)&&(e.y1=e.y2=oc(i,l,!0))),e}}function vH(e,t,n){if(t){var r=t.x,a=t.y,i=t.width,o=t.height;e.x=r,e.y=a,e.width=i,e.height=o;var l=n&&n.lineWidth;return l&&(e.x=oc(r,l,!0),e.y=oc(a,l,!0),e.width=Math.max(oc(r+i,l,!1)-e.x,i===0?0:1),e.height=Math.max(oc(a+o,l,!1)-e.y,o===0?0:1)),e}}function oc(e,t,n){if(!t)return e;var r=Uf(e*2);return(r+Uf(t))%2===0?r/2:(r+(n?1:-1))/2}var $ke=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),Vke={},rn=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new $ke},t.prototype.buildPath=function(n,r){var a,i,o,l;if(this.subPixelOptimize){var s=vH(Vke,r,this.style);a=s.x,i=s.y,o=s.width,l=s.height,s.r=r.r,r=s}else a=r.x,i=r.y,o=r.width,l=r.height;r.r?Nke(n,r):n.rect(a,i,o,l)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Zt);rn.prototype.type="rect";var gM={fill:"#000"},mM=2,Bke={style:_t({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Zy.style)},on=function(e){Se(t,e);function t(n){var r=e.call(this)||this;return r.type="text",r._children=[],r._defaultStyle=gM,r.attr(n),r}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var n=0;n<this._children.length;n++){var r=this._children[n];r.zlevel=this.zlevel,r.z=this.z,r.z2=this.z2,r.culling=this.culling,r.cursor=this.cursor,r.invisible=this.invisible}},t.prototype.updateTransform=function(){var n=this.innerTransformable;n?(n.updateTransform(),n.transform&&(this.transform=n.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(n){var r=this.innerTransformable;return r?r.getLocalTransform(n):e.prototype.getLocalTransform.call(this,n)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,jke(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(n){e.prototype.addSelfToZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=n},t.prototype.removeSelfFromZr=function(n){e.prototype.removeSelfFromZr.call(this,n);for(var r=0;r<this._children.length;r++)this._children[r].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var n=new qt(0,0,0,0),r=this._children,a=[],i=null,o=0;o<r.length;o++){var l=r[o],s=l.getBoundingRect(),u=l.getLocalTransform(a);u?(n.copy(s),n.applyTransform(u),i=i||n.clone(),i.union(n)):(i=i||s.clone(),i.union(s))}this._rect=i||n}return this._rect},t.prototype.setDefaultTextStyle=function(n){this._defaultStyle=n||gM},t.prototype.setTextContent=function(n){},t.prototype._mergeStyle=function(n,r){if(!r)return n;var a=r.rich,i=n.rich||a&&{};return $e(n,r),a&&i?(this._mergeRich(i,a),n.rich=i):i&&(n.rich=i),n},t.prototype._mergeRich=function(n,r){for(var a=tn(r),i=0;i<a.length;i++){var o=a[i];n[o]=n[o]||{},$e(n[o],r[o])}},t.prototype.getAnimationStyleProps=function(){return Bke},t.prototype._getOrCreateChild=function(n){var r=this._children[this._childCursor];return(!r||!(r instanceof n))&&(r=new n),this._children[this._childCursor++]=r,r.__zr=this.__zr,r.parent=this,r},t.prototype._updatePlainTexts=function(){var n=this.style,r=n.font||Ws,a=n.padding,i=CM(n),o=cke(i,n),l=i_(n),s=!!n.backgroundColor,u=o.outerHeight,c=o.outerWidth,f=o.contentWidth,d=o.lines,h=o.lineHeight,v=this._defaultStyle,p=n.x||0,g=n.y||0,m=n.align||v.align||"left",b=n.verticalAlign||v.verticalAlign||"top",_=p,w=Vf(g,o.contentHeight,b);if(l||a){var x=hv(p,c,m),S=Vf(g,u,b);l&&this._renderBackground(n,n,x,S,c,u)}w+=h/2,a&&(_=SM(p,m,a),b==="top"?w+=a[0]:b==="bottom"&&(w-=a[2]));for(var C=0,T=!1,z=xM("fill"in n?n.fill:(T=!0,v.fill)),A=wM("stroke"in n?n.stroke:!s&&(!v.autoStroke||T)?(C=mM,v.stroke):null),E=n.textShadowBlur>0,D=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),$=o.calculatedLineHeight,O=0;O<d.length;O++){var R=this._getOrCreateChild(Od),N=R.createStyle();R.useStyle(N),N.text=d[O],N.x=_,N.y=w,m&&(N.textAlign=m),N.textBaseline="middle",N.opacity=n.opacity,N.strokeFirst=!0,E&&(N.shadowBlur=n.textShadowBlur||0,N.shadowColor=n.textShadowColor||"transparent",N.shadowOffsetX=n.textShadowOffsetX||0,N.shadowOffsetY=n.textShadowOffsetY||0),N.stroke=A,N.fill=z,A&&(N.lineWidth=n.lineWidth||C,N.lineDash=n.lineDash,N.lineDashOffset=n.lineDashOffset||0),N.font=r,bM(N,n),w+=h,D&&R.setBoundingRect(new qt(hv(N.x,n.width,N.textAlign),Vf(N.y,$,N.textBaseline),f,$))}},t.prototype._updateRichTexts=function(){var n=this.style,r=CM(n),a=hke(r,n),i=a.width,o=a.outerWidth,l=a.outerHeight,s=n.padding,u=n.x||0,c=n.y||0,f=this._defaultStyle,d=n.align||f.align,h=n.verticalAlign||f.verticalAlign,v=hv(u,o,d),p=Vf(c,l,h),g=v,m=p;s&&(g+=s[3],m+=s[0]);var b=g+i;i_(n)&&this._renderBackground(n,n,v,p,o,l);for(var _=!!n.backgroundColor,w=0;w<a.lines.length;w++){for(var x=a.lines[w],S=x.tokens,C=S.length,T=x.lineHeight,z=x.width,A=0,E=g,D=b,$=C-1,O=void 0;A<C&&(O=S[A],!O.align||O.align==="left");)this._placeToken(O,n,T,m,E,"left",_),z-=O.width,E+=O.width,A++;for(;$>=0&&(O=S[$],O.align==="right");)this._placeToken(O,n,T,m,D,"right",_),z-=O.width,D-=O.width,$--;for(E+=(i-(E-g)-(b-D)-z)/2;A<=$;)O=S[A],this._placeToken(O,n,T,m,E+O.width/2,"center",_),E+=O.width,A++;m+=T}},t.prototype._placeToken=function(n,r,a,i,o,l,s){var u=r.rich[n.styleName]||{};u.text=n.text;var c=n.verticalAlign,f=i+a/2;c==="top"?f=i+n.height/2:c==="bottom"&&(f=i+a-n.height/2);var d=!n.isLineHolder&&i_(u);d&&this._renderBackground(u,r,l==="right"?o-n.width:l==="center"?o-n.width/2:o,f-n.height/2,n.width,n.height);var h=!!u.backgroundColor,v=n.textPadding;v&&(o=SM(o,l,v),f-=n.height/2-v[0]-n.innerHeight/2);var p=this._getOrCreateChild(Od),g=p.createStyle();p.useStyle(g);var m=this._defaultStyle,b=!1,_=0,w=xM("fill"in u?u.fill:"fill"in r?r.fill:(b=!0,m.fill)),x=wM("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!s&&(!m.autoStroke||b)?(_=mM,m.stroke):null),S=u.textShadowBlur>0||r.textShadowBlur>0;g.text=n.text,g.x=o,g.y=f,S&&(g.shadowBlur=u.textShadowBlur||r.textShadowBlur||0,g.shadowColor=u.textShadowColor||r.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||r.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||r.textShadowOffsetY||0),g.textAlign=l,g.textBaseline="middle",g.font=n.font||Ws,g.opacity=Eo(u.opacity,r.opacity,1),bM(g,u),x&&(g.lineWidth=Eo(u.lineWidth,r.lineWidth,_),g.lineDash=Ot(u.lineDash,r.lineDash),g.lineDashOffset=r.lineDashOffset||0,g.stroke=x),w&&(g.fill=w);var C=n.contentWidth,T=n.contentHeight;p.setBoundingRect(new qt(hv(g.x,C,g.textAlign),Vf(g.y,T,g.textBaseline),C,T))},t.prototype._renderBackground=function(n,r,a,i,o,l){var s=n.backgroundColor,u=n.borderWidth,c=n.borderColor,f=s&&s.image,d=s&&!f,h=n.borderRadius,v=this,p,g;if(d||n.lineHeight||u&&c){p=this._getOrCreateChild(rn),p.useStyle(p.createStyle()),p.style.fill=null;var m=p.shape;m.x=a,m.y=i,m.width=o,m.height=l,m.r=h,p.dirtyShape()}if(d){var b=p.style;b.fill=s||null,b.fillOpacity=Ot(n.fillOpacity,1)}else if(f){g=this._getOrCreateChild(Ir),g.onload=function(){v.dirtyStyle()};var _=g.style;_.image=s.image,_.x=a,_.y=i,_.width=o,_.height=l}if(u&&c){var b=p.style;b.lineWidth=u,b.stroke=c,b.strokeOpacity=Ot(n.strokeOpacity,1),b.lineDash=n.borderDash,b.lineDashOffset=n.borderDashOffset||0,p.strokeContainThreshold=0,p.hasFill()&&p.hasStroke()&&(b.strokeFirst=!0,b.lineWidth*=2)}var w=(p||g).style;w.shadowBlur=n.shadowBlur||0,w.shadowColor=n.shadowColor||"transparent",w.shadowOffsetX=n.shadowOffsetX||0,w.shadowOffsetY=n.shadowOffsetY||0,w.opacity=Eo(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return gH(n)&&(r=[n.fontStyle,n.fontWeight,pH(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&qi(r)||n.textFont||n.font},t}(zi),Fke={left:!0,right:1,center:1},Hke={top:1,bottom:1,middle:1},yM=["fontStyle","fontWeight","fontSize","fontFamily"];function pH(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?S6+"px":e+"px"}function bM(e,t){for(var n=0;n<yM.length;n++){var r=yM[n],a=t[r];a!=null&&(e[r]=a)}}function gH(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function jke(e){return _M(e),K(e.rich,_M),e}function _M(e){if(e){e.font=on.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||Fke[t]?t:"left";var n=e.verticalAlign;n==="center"&&(n="middle"),e.verticalAlign=n==null||Hke[n]?n:"top";var r=e.padding;r&&(e.padding=A6(e.padding))}}function wM(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function xM(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function SM(e,t,n){return t==="right"?e-n[1]:t==="center"?e+n[3]/2-n[1]/2:e+n[3]}function CM(e){var t=e.text;return t!=null&&(t+=""),t}function i_(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var Dt=an(),Uw=function(e,t,n,r){if(r){var a=Dt(r);a.dataIndex=n,a.dataType=t,a.seriesIndex=e,a.ssrType="chart",r.type==="group"&&r.traverse(function(i){var o=Dt(i);o.seriesIndex=e,o.dataIndex=n,o.dataType=t,o.ssrType="chart"})}},TM=1,kM={},mH=an(),H6=an(),j6=0,Ap=1,Qy=2,va=["emphasis","blur","select"],$1=["normal","emphasis","blur","select"],uh=10,qke=9,xc="highlight",d2="downplay",Uv="select",h2="unselect",Yv="toggleSelect";function gf(e){return e!=null&&e!=="none"}function e3(e,t,n){e.onHoverStateChange&&(e.hoverState||0)!==n&&e.onHoverStateChange(t),e.hoverState=n}function yH(e){e3(e,"emphasis",Qy)}function bH(e){e.hoverState===Qy&&e3(e,"normal",j6)}function q6(e){e3(e,"blur",Ap)}function _H(e){e.hoverState===Ap&&e3(e,"normal",j6)}function Gke(e){e.selected=!0}function Wke(e){e.selected=!1}function zM(e,t,n){t(e,n)}function Fl(e,t,n){zM(e,t,n),e.isGroup&&e.traverse(function(r){zM(r,t,n)})}function vm(e,t){switch(t){case"emphasis":e.hoverState=Qy;break;case"normal":e.hoverState=j6;break;case"blur":e.hoverState=Ap;break;case"select":e.selected=!0}}function Uke(e,t,n,r){for(var a=e.style,i={},o=0;o<t.length;o++){var l=t[o],s=a[l];i[l]=s??(r&&r[l])}for(var o=0;o<e.animators.length;o++){var u=e.animators[o];u.__fromStateTransition&&u.__fromStateTransition.indexOf(n)<0&&u.targetName==="style"&&u.saveTo(i,t)}return i}function Yke(e,t,n,r){var a=n&&Yt(n,"select")>=0,i=!1;if(e instanceof Zt){var o=mH(e),l=a&&o.selectFill||o.normalFill,s=a&&o.selectStroke||o.normalStroke;if(gf(l)||gf(s)){r=r||{};var u=r.style||{};u.fill==="inherit"?(i=!0,r=$e({},r),u=$e({},u),u.fill=l):!gf(u.fill)&&gf(l)?(i=!0,r=$e({},r),u=$e({},u),u.fill=Dw(l)):!gf(u.stroke)&&gf(s)&&(i||(r=$e({},r),u=$e({},u)),u.stroke=Dw(s)),r.style=u}}if(r&&r.z2==null){i||(r=$e({},r));var c=e.z2EmphasisLift;r.z2=e.z2+(c??uh)}return r}function Kke(e,t,n){if(n&&n.z2==null){n=$e({},n);var r=e.z2SelectLift;n.z2=e.z2+(r??qke)}return n}function Xke(e,t,n){var r=Yt(e.currentStates,t)>=0,a=e.style.opacity,i=r?null:Uke(e,["opacity"],t,{opacity:1});n=n||{};var o=n.style||{};return o.opacity==null&&(n=$e({},n),o=$e({opacity:r?a:i.opacity*.1},o),n.style=o),n}function o_(e,t){var n=this.states[e];if(this.style){if(e==="emphasis")return Yke(this,e,t,n);if(e==="blur")return Xke(this,e,n);if(e==="select")return Kke(this,e,n)}return n}function Bc(e){e.stateProxy=o_;var t=e.getTextContent(),n=e.getTextGuideLine();t&&(t.stateProxy=o_),n&&(n.stateProxy=o_)}function MM(e,t){!CH(e,t)&&!e.__highByOuter&&Fl(e,yH)}function AM(e,t){!CH(e,t)&&!e.__highByOuter&&Fl(e,bH)}function kl(e,t){e.__highByOuter|=1<<(t||0),Fl(e,yH)}function zl(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Fl(e,bH)}function wH(e){Fl(e,q6)}function G6(e){Fl(e,_H)}function xH(e){Fl(e,Gke)}function SH(e){Fl(e,Wke)}function CH(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function TH(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(a,i){var o=H6(i),l=a==="series",s=l?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!l&&r.push(s),o.isBlured&&(s.group.traverse(function(u){_H(u)}),l&&n.push(i)),o.isBlured=!1}),K(r,function(a){a&&a.toggleBlurSeries&&a.toggleBlurSeries(n,!1,t)})}function Yw(e,t,n,r){var a=r.getModel();n=n||"coordinateSystem";function i(u,c){for(var f=0;f<c.length;f++){var d=u.getItemGraphicEl(c[f]);d&&G6(d)}}if(e!=null&&!(!t||t==="none")){var o=a.getSeriesByIndex(e),l=o.coordinateSystem;l&&l.master&&(l=l.master);var s=[];a.eachSeries(function(u){var c=o===u,f=u.coordinateSystem;f&&f.master&&(f=f.master);var d=f&&l?f===l:c;if(!(n==="series"&&!c||n==="coordinateSystem"&&!d||t==="series"&&c)){var h=r.getViewOfSeriesModel(u);if(h.group.traverse(function(g){g.__highByOuter&&c&&t==="self"||q6(g)}),Zr(t))i(u.getData(),t);else if(wt(t))for(var v=tn(t),p=0;p<v.length;p++)i(u.getData(v[p]),t[v[p]]);s.push(u),H6(u).isBlured=!0}}),a.eachComponent(function(u,c){if(u!=="series"){var f=r.getViewOfComponentModel(c);f&&f.toggleBlurSeries&&f.toggleBlurSeries(s,!0,a)}})}}function Kw(e,t,n){if(!(e==null||t==null)){var r=n.getModel().getComponent(e,t);if(r){H6(r).isBlured=!0;var a=n.getViewOfComponentModel(r);!a||!a.focusBlurEnabled||a.group.traverse(function(i){q6(i)})}}}function Zke(e,t,n){var r=e.seriesIndex,a=e.getData(t.dataType);if(a){var i=$c(a,t);i=(He(i)?i[0]:i)||0;var o=a.getItemGraphicEl(i);if(!o)for(var l=a.count(),s=0;!o&&s<l;)o=a.getItemGraphicEl(s++);if(o){var u=Dt(o);Yw(r,u.focus,u.blurScope,n)}else{var c=e.get(["emphasis","focus"]),f=e.get(["emphasis","blurScope"]);c!=null&&Yw(r,c,f,n)}}}function W6(e,t,n,r){var a={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||n==null)return a;var i=r.getModel().getComponent(e,t);if(!i)return a;var o=r.getViewOfComponentModel(i);if(!o||!o.findHighDownDispatchers)return a;for(var l=o.findHighDownDispatchers(n),s,u=0;u<l.length;u++)if(Dt(l[u]).focus==="self"){s=!0;break}return{focusSelf:s,dispatchers:l}}function Jke(e,t,n){var r=Dt(e),a=W6(r.componentMainType,r.componentIndex,r.componentHighDownName,n),i=a.dispatchers,o=a.focusSelf;i?(o&&Kw(r.componentMainType,r.componentIndex,n),K(i,function(l){return MM(l,t)})):(Yw(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&Kw(r.componentMainType,r.componentIndex,n),MM(e,t))}function Qke(e,t,n){TH(n);var r=Dt(e),a=W6(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;a?K(a,function(i){return AM(i,t)}):AM(e,t)}function eze(e,t,n){if(Zw(t)){var r=t.dataType,a=e.getData(r),i=$c(a,t);He(i)||(i=[i]),e[t.type===Yv?"toggleSelect":t.type===Uv?"select":"unselect"](i,r)}}function EM(e){var t=e.getAllData();K(t,function(n){var r=n.data,a=n.type;r.eachItemGraphicEl(function(i,o){e.isSelected(o,a)?xH(i):SH(i)})})}function tze(e){var t=[];return e.eachSeries(function(n){var r=n.getAllData();K(r,function(a){a.data;var i=a.type,o=n.getSelectedDataIndices();if(o.length>0){var l={dataIndex:o,seriesIndex:n.seriesIndex};i!=null&&(l.dataType=i),t.push(l)}})}),t}function Sc(e,t,n){lc(e,!0),Fl(e,Bc),Xw(e,t,n)}function nze(e){lc(e,!1)}function Kn(e,t,n,r){r?nze(e):Sc(e,t,n)}function Xw(e,t,n){var r=Dt(e);t!=null?(r.focus=t,r.blurScope=n):r.focus&&(r.focus=null)}var IM=["emphasis","blur","select"],rze={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Br(e,t,n,r){n=n||"itemStyle";for(var a=0;a<IM.length;a++){var i=IM[a],o=t.getModel([i,n]),l=e.ensureState(i);l.style=r?r(o):o[rze[n]]()}}function lc(e,t){var n=t===!1,r=e;e.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!n||r.__highDownDispatcher)&&(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function V1(e){return!!(e&&e.__highDownDispatcher)}function aze(e,t,n){var r=Dt(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}function ize(e){var t=kM[e];return t==null&&TM<=32&&(t=kM[e]=TM++),t}function Zw(e){var t=e.type;return t===Uv||t===h2||t===Yv}function DM(e){var t=e.type;return t===xc||t===d2}function oze(e){var t=mH(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var n=e.states.select||{};t.selectFill=n.style&&n.style.fill||null,t.selectStroke=n.style&&n.style.stroke||null}var mf=Fo.CMD,lze=[[],[],[]],LM=Math.sqrt,sze=Math.atan2;function kH(e,t){if(t){var n=e.data,r=e.len(),a,i,o,l,s,u,c=mf.M,f=mf.C,d=mf.L,h=mf.R,v=mf.A,p=mf.Q;for(o=0,l=0;o<r;){switch(a=n[o++],l=o,i=0,a){case c:i=1;break;case d:i=1;break;case f:i=3;break;case p:i=2;break;case v:var g=t[4],m=t[5],b=LM(t[0]*t[0]+t[1]*t[1]),_=LM(t[2]*t[2]+t[3]*t[3]),w=sze(-t[1]/_,t[0]/b);n[o]*=b,n[o++]+=g,n[o]*=_,n[o++]+=m,n[o++]*=b,n[o++]*=_,n[o++]+=w,n[o++]+=w,o+=2,l=o;break;case h:u[0]=n[o++],u[1]=n[o++],$r(u,u,t),n[l++]=u[0],n[l++]=u[1],u[0]+=n[o++],u[1]+=n[o++],$r(u,u,t),n[l++]=u[0],n[l++]=u[1]}for(s=0;s<i;s++){var x=lze[s];x[0]=n[o++],x[1]=n[o++],$r(x,x,t),n[l++]=x[0],n[l++]=x[1]}}e.increaseVersion()}}var l_=Math.sqrt,Ng=Math.sin,$g=Math.cos,Vh=Math.PI;function PM(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Jw(e,t){return(e[0]*t[0]+e[1]*t[1])/(PM(e)*PM(t))}function RM(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Jw(e,t))}function OM(e,t,n,r,a,i,o,l,s,u,c){var f=s*(Vh/180),d=$g(f)*(e-n)/2+Ng(f)*(t-r)/2,h=-1*Ng(f)*(e-n)/2+$g(f)*(t-r)/2,v=d*d/(o*o)+h*h/(l*l);v>1&&(o*=l_(v),l*=l_(v));var p=(a===i?-1:1)*l_((o*o*(l*l)-o*o*(h*h)-l*l*(d*d))/(o*o*(h*h)+l*l*(d*d)))||0,g=p*o*h/l,m=p*-l*d/o,b=(e+n)/2+$g(f)*g-Ng(f)*m,_=(t+r)/2+Ng(f)*g+$g(f)*m,w=RM([1,0],[(d-g)/o,(h-m)/l]),x=[(d-g)/o,(h-m)/l],S=[(-1*d-g)/o,(-1*h-m)/l],C=RM(x,S);if(Jw(x,S)<=-1&&(C=Vh),Jw(x,S)>=1&&(C=0),C<0){var T=Math.round(C/Vh*1e6)/1e6;C=Vh*2+T%2*Vh}c.addData(u,b,_,o,l,w,C,f,i)}var uze=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,cze=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function fze(e){var t=new Fo;if(!e)return t;var n=0,r=0,a=n,i=r,o,l=Fo.CMD,s=e.match(uze);if(!s)return t;for(var u=0;u<s.length;u++){for(var c=s[u],f=c.charAt(0),d=void 0,h=c.match(cze)||[],v=h.length,p=0;p<v;p++)h[p]=parseFloat(h[p]);for(var g=0;g<v;){var m=void 0,b=void 0,_=void 0,w=void 0,x=void 0,S=void 0,C=void 0,T=n,z=r,A=void 0,E=void 0;switch(f){case"l":n+=h[g++],r+=h[g++],d=l.L,t.addData(d,n,r);break;case"L":n=h[g++],r=h[g++],d=l.L,t.addData(d,n,r);break;case"m":n+=h[g++],r+=h[g++],d=l.M,t.addData(d,n,r),a=n,i=r,f="l";break;case"M":n=h[g++],r=h[g++],d=l.M,t.addData(d,n,r),a=n,i=r,f="L";break;case"h":n+=h[g++],d=l.L,t.addData(d,n,r);break;case"H":n=h[g++],d=l.L,t.addData(d,n,r);break;case"v":r+=h[g++],d=l.L,t.addData(d,n,r);break;case"V":r=h[g++],d=l.L,t.addData(d,n,r);break;case"C":d=l.C,t.addData(d,h[g++],h[g++],h[g++],h[g++],h[g++],h[g++]),n=h[g-2],r=h[g-1];break;case"c":d=l.C,t.addData(d,h[g++]+n,h[g++]+r,h[g++]+n,h[g++]+r,h[g++]+n,h[g++]+r),n+=h[g-2],r+=h[g-1];break;case"S":m=n,b=r,A=t.len(),E=t.data,o===l.C&&(m+=n-E[A-4],b+=r-E[A-3]),d=l.C,T=h[g++],z=h[g++],n=h[g++],r=h[g++],t.addData(d,m,b,T,z,n,r);break;case"s":m=n,b=r,A=t.len(),E=t.data,o===l.C&&(m+=n-E[A-4],b+=r-E[A-3]),d=l.C,T=n+h[g++],z=r+h[g++],n+=h[g++],r+=h[g++],t.addData(d,m,b,T,z,n,r);break;case"Q":T=h[g++],z=h[g++],n=h[g++],r=h[g++],d=l.Q,t.addData(d,T,z,n,r);break;case"q":T=h[g++]+n,z=h[g++]+r,n+=h[g++],r+=h[g++],d=l.Q,t.addData(d,T,z,n,r);break;case"T":m=n,b=r,A=t.len(),E=t.data,o===l.Q&&(m+=n-E[A-4],b+=r-E[A-3]),n=h[g++],r=h[g++],d=l.Q,t.addData(d,m,b,n,r);break;case"t":m=n,b=r,A=t.len(),E=t.data,o===l.Q&&(m+=n-E[A-4],b+=r-E[A-3]),n+=h[g++],r+=h[g++],d=l.Q,t.addData(d,m,b,n,r);break;case"A":_=h[g++],w=h[g++],x=h[g++],S=h[g++],C=h[g++],T=n,z=r,n=h[g++],r=h[g++],d=l.A,OM(T,z,n,r,S,C,_,w,x,d,t);break;case"a":_=h[g++],w=h[g++],x=h[g++],S=h[g++],C=h[g++],T=n,z=r,n+=h[g++],r+=h[g++],d=l.A,OM(T,z,n,r,S,C,_,w,x,d,t);break}}(f==="z"||f==="Z")&&(d=l.Z,t.addData(d),n=a,r=i),o=d}return t.toStatic(),t}var zH=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(n){},t}(Zt);function MH(e){return e.setData!=null}function AH(e,t){var n=fze(e),r=$e({},t);return r.buildPath=function(a){if(MH(a)){a.setData(n.data);var i=a.getContext();i&&a.rebuildPath(i,1)}else{var i=a;n.rebuildPath(i,1)}},r.applyTransform=function(a){kH(n,a),this.dirtyShape()},r}function EH(e,t){return new zH(AH(e,t))}function dze(e,t){var n=AH(e,t),r=function(a){Se(i,a);function i(o){var l=a.call(this,o)||this;return l.applyTransform=n.applyTransform,l.buildPath=n.buildPath,l}return i}(zH);return r}function hze(e,t){for(var n=[],r=e.length,a=0;a<r;a++){var i=e[a];n.push(i.getUpdatedPathProxy(!0))}var o=new Zt(t);return o.createPathProxy(),o.buildPath=function(l){if(MH(l)){l.appendPath(n);var s=l.getContext();s&&l.rebuildPath(s,1)}},o}function U6(e,t){t=t||{};var n=new Zt;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?kH(n.path,e.getComputedTransform()):t.toLocal?n.setLocalTransform(e.getComputedTransform()):n.copyTransform(e),n.buildPath=e.buildPath,n.applyTransform=n.applyTransform,n.z=e.z,n.z2=e.z2,n.zlevel=e.zlevel,n}var vze=function(){function e(){this.cx=0,this.cy=0,this.r=0}return e}(),Hl=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new vze},t.prototype.buildPath=function(n,r){n.moveTo(r.cx+r.r,r.cy),n.arc(r.cx,r.cy,r.r,0,Math.PI*2)},t}(Zt);Hl.prototype.type="circle";var pze=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),IH=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new pze},t.prototype.buildPath=function(n,r){var a=.5522848,i=r.cx,o=r.cy,l=r.rx,s=r.ry,u=l*a,c=s*a;n.moveTo(i-l,o),n.bezierCurveTo(i-l,o-c,i-u,o-s,i,o-s),n.bezierCurveTo(i+u,o-s,i+l,o-c,i+l,o),n.bezierCurveTo(i+l,o+c,i+u,o+s,i,o+s),n.bezierCurveTo(i-u,o+s,i-l,o+c,i-l,o),n.closePath()},t}(Zt);IH.prototype.type="ellipse";const Y6=IH;var DH=Math.PI,s_=DH*2,Mu=Math.sin,yf=Math.cos,gze=Math.acos,Hr=Math.atan2,NM=Math.abs,Kv=Math.sqrt,vv=Math.max,fo=Math.min,Ni=1e-4;function mze(e,t,n,r,a,i,o,l){var s=n-e,u=r-t,c=o-a,f=l-i,d=f*s-c*u;if(!(d*d<Ni))return d=(c*(t-i)-f*(e-a))/d,[e+d*s,t+d*u]}function Vg(e,t,n,r,a,i,o){var l=e-n,s=t-r,u=(o?i:-i)/Kv(l*l+s*s),c=u*s,f=-u*l,d=e+c,h=t+f,v=n+c,p=r+f,g=(d+v)/2,m=(h+p)/2,b=v-d,_=p-h,w=b*b+_*_,x=a-i,S=d*p-v*h,C=(_<0?-1:1)*Kv(vv(0,x*x*w-S*S)),T=(S*_-b*C)/w,z=(-S*b-_*C)/w,A=(S*_+b*C)/w,E=(-S*b+_*C)/w,D=T-g,$=z-m,O=A-g,R=E-m;return D*D+$*$>O*O+R*R&&(T=A,z=E),{cx:T,cy:z,x0:-c,y0:-f,x1:T*(a/x-1),y1:z*(a/x-1)}}function yze(e){var t;if(He(e)){var n=e.length;if(!n)return e;n===1?t=[e[0],e[0],0,0]:n===2?t=[e[0],e[0],e[1],e[1]]:n===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function bze(e,t){var n,r=vv(t.r,0),a=vv(t.r0||0,0),i=r>0,o=a>0;if(!(!i&&!o)){if(i||(r=a,a=0),a>r){var l=r;r=a,a=l}var s=t.startAngle,u=t.endAngle;if(!(isNaN(s)||isNaN(u))){var c=t.cx,f=t.cy,d=!!t.clockwise,h=NM(u-s),v=h>s_&&h%s_;if(v>Ni&&(h=v),!(r>Ni))e.moveTo(c,f);else if(h>s_-Ni)e.moveTo(c+r*yf(s),f+r*Mu(s)),e.arc(c,f,r,s,u,!d),a>Ni&&(e.moveTo(c+a*yf(u),f+a*Mu(u)),e.arc(c,f,a,u,s,d));else{var p=void 0,g=void 0,m=void 0,b=void 0,_=void 0,w=void 0,x=void 0,S=void 0,C=void 0,T=void 0,z=void 0,A=void 0,E=void 0,D=void 0,$=void 0,O=void 0,R=r*yf(s),N=r*Mu(s),B=a*yf(u),V=a*Mu(u),P=h>Ni;if(P){var W=t.cornerRadius;W&&(n=yze(W),p=n[0],g=n[1],m=n[2],b=n[3]);var Z=NM(r-a)/2;if(_=fo(Z,m),w=fo(Z,b),x=fo(Z,p),S=fo(Z,g),z=C=vv(_,w),A=T=vv(x,S),(C>Ni||T>Ni)&&(E=r*yf(u),D=r*Mu(u),$=a*yf(s),O=a*Mu(s),h<DH)){var ee=mze(R,N,$,O,E,D,B,V);if(ee){var re=R-ee[0],ue=N-ee[1],ye=E-ee[0],le=D-ee[1],ae=1/Mu(gze((re*ye+ue*le)/(Kv(re*re+ue*ue)*Kv(ye*ye+le*le)))/2),ie=Kv(ee[0]*ee[0]+ee[1]*ee[1]);z=fo(C,(r-ie)/(ae+1)),A=fo(T,(a-ie)/(ae-1))}}}if(!P)e.moveTo(c+R,f+N);else if(z>Ni){var ve=fo(m,z),ce=fo(b,z),fe=Vg($,O,R,N,r,ve,d),xe=Vg(E,D,B,V,r,ce,d);e.moveTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),z<C&&ve===ce?e.arc(c+fe.cx,f+fe.cy,z,Hr(fe.y0,fe.x0),Hr(xe.y0,xe.x0),!d):(ve>0&&e.arc(c+fe.cx,f+fe.cy,ve,Hr(fe.y0,fe.x0),Hr(fe.y1,fe.x1),!d),e.arc(c,f,r,Hr(fe.cy+fe.y1,fe.cx+fe.x1),Hr(xe.cy+xe.y1,xe.cx+xe.x1),!d),ce>0&&e.arc(c+xe.cx,f+xe.cy,ce,Hr(xe.y1,xe.x1),Hr(xe.y0,xe.x0),!d))}else e.moveTo(c+R,f+N),e.arc(c,f,r,s,u,!d);if(!(a>Ni)||!P)e.lineTo(c+B,f+V);else if(A>Ni){var ve=fo(p,A),ce=fo(g,A),fe=Vg(B,V,E,D,a,-ce,d),xe=Vg(R,N,$,O,a,-ve,d);e.lineTo(c+fe.cx+fe.x0,f+fe.cy+fe.y0),A<T&&ve===ce?e.arc(c+fe.cx,f+fe.cy,A,Hr(fe.y0,fe.x0),Hr(xe.y0,xe.x0),!d):(ce>0&&e.arc(c+fe.cx,f+fe.cy,ce,Hr(fe.y0,fe.x0),Hr(fe.y1,fe.x1),!d),e.arc(c,f,a,Hr(fe.cy+fe.y1,fe.cx+fe.x1),Hr(xe.cy+xe.y1,xe.cx+xe.x1),d),ve>0&&e.arc(c+xe.cx,f+xe.cy,ve,Hr(xe.y1,xe.x1),Hr(xe.y0,xe.x0),!d))}else e.lineTo(c+B,f+V),e.arc(c,f,a,u,s,d)}e.closePath()}}}var _ze=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e}(),pa=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new _ze},t.prototype.buildPath=function(n,r){bze(n,r)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Zt);pa.prototype.type="sector";var wze=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),LH=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new wze},t.prototype.buildPath=function(n,r){var a=r.cx,i=r.cy,o=Math.PI*2;n.moveTo(a+r.r,i),n.arc(a,i,r.r,0,o,!1),n.moveTo(a+r.r0,i),n.arc(a,i,r.r0,0,o,!0)},t}(Zt);LH.prototype.type="ring";const t3=LH;function xze(e,t,n,r){var a=[],i=[],o=[],l=[],s,u,c,f;if(r){c=[1/0,1/0],f=[-1/0,-1/0];for(var d=0,h=e.length;d<h;d++)ws(c,c,e[d]),xs(f,f,e[d]);ws(c,c,r[0]),xs(f,f,r[1])}for(var d=0,h=e.length;d<h;d++){var v=e[d];if(n)s=e[d?d-1:h-1],u=e[(d+1)%h];else if(d===0||d===h-1){a.push(vl(e[d]));continue}else s=e[d-1],u=e[d+1];ic(i,u,s),i2(i,i,t);var p=Sw(v,s),g=Sw(v,u),m=p+g;m!==0&&(p/=m,g/=m),i2(o,i,-p),i2(l,i,g);var b=Ez([],v,o),_=Ez([],v,l);r&&(xs(b,b,c),ws(b,b,f),xs(_,_,c),ws(_,_,f)),a.push(b),a.push(_)}return n&&a.push(a.shift()),a}function PH(e,t,n){var r=t.smooth,a=t.points;if(a&&a.length>=2){if(r){var i=xze(a,r,n,t.smoothConstraint);e.moveTo(a[0][0],a[0][1]);for(var o=a.length,l=0;l<(n?o:o-1);l++){var s=i[l*2],u=i[l*2+1],c=a[(l+1)%o];e.bezierCurveTo(s[0],s[1],u[0],u[1],c[0],c[1])}}else{e.moveTo(a[0][0],a[0][1]);for(var l=1,f=a.length;l<f;l++)e.lineTo(a[l][0],a[l][1])}n&&e.closePath()}}var Sze=function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e}(),ga=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new Sze},t.prototype.buildPath=function(n,r){PH(n,r,!0)},t}(Zt);ga.prototype.type="polygon";var Cze=function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e}(),ya=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Cze},t.prototype.buildPath=function(n,r){PH(n,r,!1)},t}(Zt);ya.prototype.type="polyline";var Tze={},kze=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}(),mr=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new kze},t.prototype.buildPath=function(n,r){var a,i,o,l;if(this.subPixelOptimize){var s=hH(Tze,r,this.style);a=s.x1,i=s.y1,o=s.x2,l=s.y2}else a=r.x1,i=r.y1,o=r.x2,l=r.y2;var u=r.percent;u!==0&&(n.moveTo(a,i),u<1&&(o=a*(1-u)+o*u,l=i*(1-u)+l*u),n.lineTo(o,l))},t.prototype.pointAt=function(n){var r=this.shape;return[r.x1*(1-n)+r.x2*n,r.y1*(1-n)+r.y2*n]},t}(Zt);mr.prototype.type="line";var wa=[],zze=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e}();function $M(e,t,n){var r=e.cpx2,a=e.cpy2;return r!=null||a!=null?[(n?Hz:pr)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?Hz:pr)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(n?Mw:kr)(e.x1,e.cpx1,e.x2,t),(n?Mw:kr)(e.y1,e.cpy1,e.y2,t)]}var Ep=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new zze},t.prototype.buildPath=function(n,r){var a=r.x1,i=r.y1,o=r.x2,l=r.y2,s=r.cpx1,u=r.cpy1,c=r.cpx2,f=r.cpy2,d=r.percent;d!==0&&(n.moveTo(a,i),c==null||f==null?(d<1&&(L1(a,s,o,d,wa),s=wa[1],o=wa[2],L1(i,u,l,d,wa),u=wa[1],l=wa[2]),n.quadraticCurveTo(s,u,o,l)):(d<1&&(Ys(a,s,c,o,d,wa),s=wa[1],c=wa[2],o=wa[3],Ys(i,u,f,l,d,wa),u=wa[1],f=wa[2],l=wa[3]),n.bezierCurveTo(s,u,c,f,o,l)))},t.prototype.pointAt=function(n){return $M(this.shape,n,!1)},t.prototype.tangentAt=function(n){var r=$M(this.shape,n,!0);return oh(r,r)},t}(Zt);Ep.prototype.type="bezier-curve";var Mze=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),n3=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new Mze},t.prototype.buildPath=function(n,r){var a=r.cx,i=r.cy,o=Math.max(r.r,0),l=r.startAngle,s=r.endAngle,u=r.clockwise,c=Math.cos(l),f=Math.sin(l);n.moveTo(c*o+a,f*o+i),n.arc(a,i,o,l,s,!u)},t}(Zt);n3.prototype.type="arc";var Aze=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="compound",n}return t.prototype._updatePathDirty=function(){for(var n=this.shape.paths,r=this.shapeChanged(),a=0;a<n.length;a++)r=r||n[a].shapeChanged();r&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var n=this.shape.paths||[],r=this.getGlobalScale(),a=0;a<n.length;a++)n[a].path||n[a].createPathProxy(),n[a].path.setScale(r[0],r[1],n[a].segmentIgnoreThreshold)},t.prototype.buildPath=function(n,r){for(var a=r.paths||[],i=0;i<a.length;i++)a[i].buildPath(n,a[i].shape,!0)},t.prototype.afterBrush=function(){for(var n=this.shape.paths||[],r=0;r<n.length;r++)n[r].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),Zt.prototype.getBoundingRect.call(this)},t}(Zt);const K6=Aze;var RH=function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,n){this.colorStops.push({offset:t,color:n})},e}(),Ip=function(e){Se(t,e);function t(n,r,a,i,o,l){var s=e.call(this,o)||this;return s.x=n??0,s.y=r??0,s.x2=a??1,s.y2=i??0,s.type="linear",s.global=l||!1,s}return t}(RH),Eze=function(e){Se(t,e);function t(n,r,a,i,o){var l=e.call(this,i)||this;return l.x=n??.5,l.y=r??.5,l.r=a??.5,l.type="radial",l.global=o||!1,l}return t}(RH);const OH=Eze;var Au=[0,0],Eu=[0,0],Bg=new Ft,Fg=new Ft,Ize=function(){function e(t,n){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new Ft;for(var r=0;r<2;r++)this._axes[r]=new Ft;t&&this.fromBoundingRect(t,n)}return e.prototype.fromBoundingRect=function(t,n){var r=this._corners,a=this._axes,i=t.x,o=t.y,l=i+t.width,s=o+t.height;if(r[0].set(i,o),r[1].set(l,o),r[2].set(l,s),r[3].set(i,s),n)for(var u=0;u<4;u++)r[u].transform(n);Ft.sub(a[0],r[1],r[0]),Ft.sub(a[1],r[3],r[0]),a[0].normalize(),a[1].normalize();for(var u=0;u<2;u++)this._origin[u]=a[u].dot(r[0])},e.prototype.intersect=function(t,n){var r=!0,a=!n;return Bg.set(1/0,1/0),Fg.set(0,0),!this._intersectCheckOneSide(this,t,Bg,Fg,a,1)&&(r=!1,a)||!this._intersectCheckOneSide(t,this,Bg,Fg,a,-1)&&(r=!1,a)||a||Ft.copy(n,r?Bg:Fg),r},e.prototype._intersectCheckOneSide=function(t,n,r,a,i,o){for(var l=!0,s=0;s<2;s++){var u=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Au),this._getProjMinMaxOnAxis(s,n._corners,Eu),Au[1]<Eu[0]||Au[0]>Eu[1]){if(l=!1,i)return l;var c=Math.abs(Eu[0]-Au[1]),f=Math.abs(Au[0]-Eu[1]);Math.min(c,f)>a.len()&&(c<f?Ft.scale(a,u,-c*o):Ft.scale(a,u,f*o))}else if(r){var c=Math.abs(Eu[0]-Au[1]),f=Math.abs(Au[0]-Eu[1]);Math.min(c,f)<r.len()&&(c<f?Ft.scale(r,u,c*o):Ft.scale(r,u,-f*o))}}return l},e.prototype._getProjMinMaxOnAxis=function(t,n,r){for(var a=this._axes[t],i=this._origin,o=n[0].dot(a)+i[t],l=o,s=o,u=1;u<n.length;u++){var c=n[u].dot(a)+i[t];l=Math.min(c,l),s=Math.max(c,s)}r[0]=l,r[1]=s},e}();const pm=Ize;var Dze=[],Lze=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.notClear=!0,n.incremental=!0,n._displayables=[],n._temporaryDisplayables=[],n._cursor=0,n}return t.prototype.traverse=function(n,r){n.call(r,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(n,r){r?this._temporaryDisplayables.push(n):this._displayables.push(n),this.markRedraw()},t.prototype.addDisplayables=function(n,r){r=r||!1;for(var a=0;a<n.length;a++)this.addDisplayable(n[a],r)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(n){for(var r=this._cursor;r<this._displayables.length;r++)n&&n(this._displayables[r]);for(var r=0;r<this._temporaryDisplayables.length;r++)n&&n(this._temporaryDisplayables[r])},t.prototype.update=function(){this.updateTransform();for(var n=this._cursor;n<this._displayables.length;n++){var r=this._displayables[n];r.parent=this,r.update(),r.parent=null}for(var n=0;n<this._temporaryDisplayables.length;n++){var r=this._temporaryDisplayables[n];r.parent=this,r.update(),r.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var n=new qt(1/0,1/0,-1/0,-1/0),r=0;r<this._displayables.length;r++){var a=this._displayables[r],i=a.getBoundingRect().clone();a.needLocalTransform()&&i.applyTransform(a.getLocalTransform(Dze)),n.union(i)}this._rect=n}return this._rect},t.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),i=this.getBoundingRect();if(i.contain(a[0],a[1]))for(var o=0;o<this._displayables.length;o++){var l=this._displayables[o];if(l.contain(n,r))return!0}return!1},t}(zi);const Pze=Lze;var NH=an();function ch(e,t,n,r,a){var i;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();i=o&&o.animation}var l=t&&t.isAnimationEnabled(),s=e==="update";if(l){var u=void 0,c=void 0,f=void 0;r?(u=Ot(r.duration,200),c=Ot(r.easing,"cubicOut"),f=0):(u=t.getShallow(s?"animationDurationUpdate":"animationDuration"),c=t.getShallow(s?"animationEasingUpdate":"animationEasing"),f=t.getShallow(s?"animationDelayUpdate":"animationDelay")),i&&(i.duration!=null&&(u=i.duration),i.easing!=null&&(c=i.easing),i.delay!=null&&(f=i.delay)),yt(f)&&(f=f(n,a)),yt(u)&&(u=u(n));var d={duration:u||0,delay:f,easing:c};return d}else return null}function X6(e,t,n,r,a,i,o){var l=!1,s;yt(a)?(o=i,i=a,a=null):wt(a)&&(i=a.cb,o=a.during,l=a.isFrom,s=a.removeOpt,a=a.dataIndex);var u=e==="leave";u||t.stopAnimation("leave");var c=ch(e,r,a,u?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(t,a):null);if(c&&c.duration>0){var f=c.duration,d=c.delay,h=c.easing,v={duration:f,delay:d||0,easing:h,done:i,force:!!i||!!o,setToFinal:!u,scope:e,during:o};l?t.animateFrom(n,v):t.animateTo(n,v)}else t.stopAnimation(),!l&&t.attr(n),o&&o(1),i&&i()}function un(e,t,n,r,a,i){X6("update",e,t,n,r,a,i)}function Nn(e,t,n,r,a,i){X6("enter",e,t,n,r,a,i)}function ld(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var n=e.animators[t];if(n.scope==="leave")return!0}return!1}function Ks(e,t,n,r,a,i){ld(e)||X6("leave",e,t,n,r,a,i)}function VM(e,t,n,r){e.removeTextContent(),e.removeTextGuideLine(),Ks(e,{style:{opacity:0}},t,n,r)}function B1(e,t,n){function r(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(a){a.isGroup||VM(a,t,n,r)}):VM(e,t,n,r)}function Qi(e){NH(e).oldStyle=e.style}function Rze(e){return NH(e).oldStyle}var gm=Math.max,mm=Math.min,Qw={};function Oze(e){return Zt.extend(e)}var Nze=dze;function $ze(e,t){return Nze(e,t)}function ao(e,t){Qw[e]=t}function Z6(e){if(Qw.hasOwnProperty(e))return Qw[e]}function r3(e,t,n,r){var a=EH(e,t);return n&&(r==="center"&&(n=VH(n,a.getBoundingRect())),BH(a,n)),a}function $H(e,t,n){var r=new Ir({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(a){if(n==="center"){var i={width:a.width,height:a.height};r.setStyle(VH(t,i))}}});return r}function VH(e,t){var n=t.width/t.height,r=e.height*n,a;r<=e.width?a=e.height:(r=e.width,a=r/n);var i=e.x+e.width/2,o=e.y+e.height/2;return{x:i-r/2,y:o-a/2,width:r,height:a}}var di=hze;function BH(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function Nd(e,t){return hH(e,e,{lineWidth:t}),e}function Vze(e){return vH(e.shape,e.shape,e.style),e}var v2=oc;function Cc(e,t){for(var n=Gy([]);e&&e!==t;)pl(n,e.getLocalTransform(),n),e=e.parent;return n}function Yi(e,t,n){return t&&!Zr(t)&&(t=cl.getLocalTransform(t)),n&&(t=lh([],t)),$r([],e,t)}function a3(e,t,n){var r=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),a=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),i=[e==="left"?-r:e==="right"?r:0,e==="top"?-a:e==="bottom"?a:0];return i=Yi(i,t,n),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function BM(e){return!e.isGroup}function Bze(e){return e.shape!=null}function Dp(e,t,n){if(!e||!t)return;function r(o){var l={};return o.traverse(function(s){BM(s)&&s.anid&&(l[s.anid]=s)}),l}function a(o){var l={x:o.x,y:o.y,rotation:o.rotation};return Bze(o)&&(l.shape=$e({},o.shape)),l}var i=r(e);t.traverse(function(o){if(BM(o)&&o.anid){var l=i[o.anid];if(l){var s=a(o);o.attr(a(l)),un(o,s,n,Dt(o).dataIndex)}}})}function FH(e,t){return Ge(e,function(n){var r=n[0];r=gm(r,t.x),r=mm(r,t.x+t.width);var a=n[1];return a=gm(a,t.y),a=mm(a,t.y+t.height),[r,a]})}function Fze(e,t){var n=gm(e.x,t.x),r=mm(e.x+e.width,t.x+t.width),a=gm(e.y,t.y),i=mm(e.y+e.height,t.y+t.height);if(r>=n&&i>=a)return{x:n,y:a,width:r-n,height:i-a}}function Lp(e,t,n){var r=$e({rectHover:!0},t),a=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(a.image=e.slice(8),_t(a,n),new Ir(r)):r3(e.replace("path://",""),r,n,"center")}function pv(e,t,n,r,a){for(var i=0,o=a[a.length-1];i<a.length;i++){var l=a[i];if(HH(e,t,n,r,l[0],l[1],o[0],o[1]))return!0;o=l}}function HH(e,t,n,r,a,i,o,l){var s=n-e,u=r-t,c=o-a,f=l-i,d=u_(c,f,s,u);if(Hze(d))return!1;var h=e-a,v=t-i,p=u_(h,v,s,u)/d;if(p<0||p>1)return!1;var g=u_(h,v,c,f)/d;return!(g<0||g>1)}function u_(e,t,n,r){return e*r-n*t}function Hze(e){return e<=1e-6&&e>=-1e-6}function fh(e){var t=e.itemTooltipOption,n=e.componentModel,r=e.itemName,a=it(t)?{formatter:t}:t,i=n.mainType,o=n.componentIndex,l={componentType:i,name:r,$vars:["name"]};l[i+"Index"]=o;var s=e.formatterParamsExtra;s&&K(tn(s),function(c){ht(l,c)||(l[c]=s[c],l.$vars.push(c))});var u=Dt(e.el);u.componentMainType=i,u.componentIndex=o,u.tooltipConfig={name:r,option:_t({content:r,encodeHTMLContent:!0,formatterParams:l},a)}}function FM(e,t){var n;e.isGroup&&(n=t(e)),n||e.traverse(t)}function lu(e,t){if(e)if(He(e))for(var n=0;n<e.length;n++)FM(e[n],t);else FM(e,t)}ao("circle",Hl);ao("ellipse",Y6);ao("sector",pa);ao("ring",t3);ao("polygon",ga);ao("polyline",ya);ao("rect",rn);ao("line",mr);ao("bezierCurve",Ep);ao("arc",n3);const Qc=Object.freeze(Object.defineProperty({__proto__:null,Arc:n3,BezierCurve:Ep,BoundingRect:qt,Circle:Hl,CompoundPath:K6,Ellipse:Y6,Group:At,Image:Ir,IncrementalDisplayable:Pze,Line:mr,LinearGradient:Ip,OrientedBoundingRect:pm,Path:Zt,Point:Ft,Polygon:ga,Polyline:ya,RadialGradient:OH,Rect:rn,Ring:t3,Sector:pa,Text:on,applyTransform:Yi,clipPointsByRect:FH,clipRectByRect:Fze,createIcon:Lp,extendPath:$ze,extendShape:Oze,getShapeClass:Z6,getTransform:Cc,groupTransition:Dp,initProps:Nn,isElementRemoved:ld,lineLineIntersect:HH,linePolygonIntersect:pv,makeImage:$H,makePath:r3,mergePath:di,registerShape:ao,removeElement:Ks,removeElementWithFadeOut:B1,resizePath:BH,setTooltipConfig:fh,subPixelOptimize:v2,subPixelOptimizeLine:Nd,subPixelOptimizeRect:Vze,transformDirection:a3,traverseElements:lu,updateProps:un},Symbol.toStringTag,{value:"Module"}));var i3={};function jH(e,t){for(var n=0;n<va.length;n++){var r=va[n],a=t[r],i=e.ensureState(r);i.style=i.style||{},i.style.text=a}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function ex(e,t,n){var r=e.labelFetcher,a=e.labelDataIndex,i=e.labelDimIndex,o=t.normal,l;r&&(l=r.getFormattedLabel(a,"normal",null,i,o&&o.get("formatter"),n!=null?{interpolatedValue:n}:null)),l==null&&(l=yt(e.defaultText)?e.defaultText(a,e,n):e.defaultText);for(var s={normal:l},u=0;u<va.length;u++){var c=va[u],f=t[c];s[c]=Ot(r?r.getFormattedLabel(a,c,null,i,f&&f.get("formatter")):null,l)}return s}function Fr(e,t,n,r){n=n||i3;for(var a=e instanceof on,i=!1,o=0;o<$1.length;o++){var l=t[$1[o]];if(l&&l.getShallow("show")){i=!0;break}}var s=a?e:e.getTextContent();if(i){a||(s||(s=new on,e.setTextContent(s)),e.stateProxy&&(s.stateProxy=e.stateProxy));var u=ex(n,t),c=t.normal,f=!!c.getShallow("show"),d=In(c,r&&r.normal,n,!1,!a);d.text=u.normal,a||e.setTextConfig(ym(c,n,!1));for(var o=0;o<va.length;o++){var h=va[o],l=t[h];if(l){var v=s.ensureState(h),p=!!Ot(l.getShallow("show"),f);if(p!==f&&(v.ignore=!p),v.style=In(l,r&&r[h],n,!0,!a),v.style.text=u[h],!a){var g=e.ensureState(h);g.textConfig=ym(l,n,!0)}}}s.silent=!!c.getShallow("silent"),s.style.x!=null&&(d.x=s.style.x),s.style.y!=null&&(d.y=s.style.y),s.ignore=!f,s.useStyle(d),s.dirty(),n.enableTextSetter&&(dh(s).setLabelText=function(m){var b=ex(n,t,m);jH(s,b)})}else s&&(s.ignore=!0);e.dirty()}function Sr(e,t){t=t||"label";for(var n={normal:e.getModel(t)},r=0;r<va.length;r++){var a=va[r];n[a]=e.getModel([a,t])}return n}function In(e,t,n,r,a){var i={};return jze(i,e,n,r,a),t&&$e(i,t),i}function ym(e,t,n){t=t||{};var r={},a,i=e.getShallow("rotate"),o=Ot(e.getShallow("distance"),n?null:5),l=e.getShallow("offset");return a=e.getShallow("position")||(n?null:"inside"),a==="outside"&&(a=t.defaultOutsidePosition||"top"),a!=null&&(r.position=a),l!=null&&(r.offset=l),i!=null&&(i*=Math.PI/180,r.rotation=i),o!=null&&(r.distance=o),r.outsideFill=e.get("color")==="inherit"?t.inheritColor||null:"auto",r}function jze(e,t,n,r,a){n=n||i3;var i=t.ecModel,o=i&&i.option.textStyle,l=qze(t),s;if(l){s={};for(var u in l)if(l.hasOwnProperty(u)){var c=t.getModel(["rich",u]);GM(s[u]={},c,o,n,r,a,!1,!0)}}s&&(e.rich=s);var f=t.get("overflow");f&&(e.overflow=f);var d=t.get("minMargin");d!=null&&(e.margin=d),GM(e,t,o,n,r,a,!0,!1)}function qze(e){for(var t;e&&e!==e.ecModel;){var n=(e.option||i3).rich;if(n){t=t||{};for(var r=tn(n),a=0;a<r.length;a++){var i=r[a];t[i]=1}}e=e.parentModel}return t}var HM=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],jM=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],qM=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function GM(e,t,n,r,a,i,o,l){n=!a&&n||i3;var s=r&&r.inheritColor,u=t.getShallow("color"),c=t.getShallow("textBorderColor"),f=Ot(t.getShallow("opacity"),n.opacity);(u==="inherit"||u==="auto")&&(s?u=s:u=null),(c==="inherit"||c==="auto")&&(s?c=s:c=null),i||(u=u||n.color,c=c||n.textBorderColor),u!=null&&(e.fill=u),c!=null&&(e.stroke=c);var d=Ot(t.getShallow("textBorderWidth"),n.textBorderWidth);d!=null&&(e.lineWidth=d);var h=Ot(t.getShallow("textBorderType"),n.textBorderType);h!=null&&(e.lineDash=h);var v=Ot(t.getShallow("textBorderDashOffset"),n.textBorderDashOffset);v!=null&&(e.lineDashOffset=v),!a&&f==null&&!l&&(f=r&&r.defaultOpacity),f!=null&&(e.opacity=f),!a&&!i&&e.fill==null&&r.inheritColor&&(e.fill=r.inheritColor);for(var p=0;p<HM.length;p++){var g=HM[p],m=Ot(t.getShallow(g),n[g]);m!=null&&(e[g]=m)}for(var p=0;p<jM.length;p++){var g=jM[p],m=t.getShallow(g);m!=null&&(e[g]=m)}if(e.verticalAlign==null){var b=t.getShallow("baseline");b!=null&&(e.verticalAlign=b)}if(!o||!r.disableBox){for(var p=0;p<qM.length;p++){var g=qM[p],m=t.getShallow(g);m!=null&&(e[g]=m)}var _=t.getShallow("borderType");_!=null&&(e.borderDash=_),(e.backgroundColor==="auto"||e.backgroundColor==="inherit")&&s&&(e.backgroundColor=s),(e.borderColor==="auto"||e.borderColor==="inherit")&&s&&(e.borderColor=s)}}function J6(e,t){var n=t&&t.getModel("textStyle");return qi([e.fontStyle||n&&n.getShallow("fontStyle")||"",e.fontWeight||n&&n.getShallow("fontWeight")||"",(e.fontSize||n&&n.getShallow("fontSize")||12)+"px",e.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var dh=an();function qH(e,t,n,r){if(e){var a=dh(e);a.prevValue=a.value,a.value=n;var i=t.normal;a.valueAnimation=i.get("valueAnimation"),a.valueAnimation&&(a.precision=i.get("precision"),a.defaultInterpolatedText=r,a.statesModels=t)}}function GH(e,t,n,r,a){var i=dh(e);if(!i.valueAnimation||i.prevValue===i.value)return;var o=i.defaultInterpolatedText,l=Ot(i.interpolatedValue,i.prevValue),s=i.value;function u(c){var f=iH(n,i.precision,l,s,c);i.interpolatedValue=c===1?null:f;var d=ex({labelDataIndex:t,labelFetcher:a,defaultText:o?o(f):f+""},i.statesModels,f);jH(e,d)}e.percent=0,(i.prevValue==null?Nn:un)(e,{percent:1},r,t,null,u)}var Gze=["textStyle","color"],c_=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],f_=new on,Wze=function(){function e(){}return e.prototype.getTextColor=function(t){var n=this.ecModel;return this.getShallow("color")||(!t&&n?n.get(Gze):null)},e.prototype.getFont=function(){return J6({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(t){for(var n={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},r=0;r<c_.length;r++)n[c_[r]]=this.getShallow(c_[r]);return f_.useStyle(n),f_.update(),f_.getBoundingRect()},e}(),WH=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Uze=Vc(WH),Yze=function(){function e(){}return e.prototype.getLineStyle=function(t){return Uze(this,t)},e}(),UH=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Kze=Vc(UH),Xze=function(){function e(){}return e.prototype.getItemStyle=function(t,n){return Kze(this,t,n)},e}(),yn=function(){function e(t,n,r){this.parentModel=n,this.ecModel=r,this.option=t}return e.prototype.init=function(t,n,r){},e.prototype.mergeOption=function(t,n){jt(this.option,t,!0)},e.prototype.get=function(t,n){return t==null?this.option:this._doGet(this.parsePath(t),!n&&this.parentModel)},e.prototype.getShallow=function(t,n){var r=this.option,a=r==null?r:r[t];if(a==null&&!n){var i=this.parentModel;i&&(a=i.getShallow(t))}return a},e.prototype.getModel=function(t,n){var r=t!=null,a=r?this.parsePath(t):null,i=r?this._doGet(a):this.option;return n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(a)),new e(i,n,this.ecModel)},e.prototype.isEmpty=function(){return this.option==null},e.prototype.restoreData=function(){},e.prototype.clone=function(){var t=this.constructor;return new t(kt(this.option))},e.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},e.prototype.resolveParentPath=function(t){return t},e.prototype.isAnimationEnabled=function(){if(!Jt.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(t,n){var r=this.option;if(!t)return r;for(var a=0;a<t.length&&!(t[a]&&(r=r&&typeof r=="object"?r[t[a]]:null,r==null));a++);return r==null&&n&&(r=n._doGet(this.resolveParentPath(t),n.parentModel)),r},e}();V6(yn);tke(yn);sr(yn,Yze);sr(yn,Xze);sr(yn,oke);sr(yn,Wze);var Zze=Math.round(Math.random()*10);function hh(e){return[e||"",Zze++].join("_")}function Jze(e){var t={};e.registerSubTypeDefaulter=function(n,r){var a=ko(n);t[a.main]=r},e.determineSubType=function(n,r){var a=r.type;if(!a){var i=ko(n).main;e.hasSubTypes(n)&&t[i]&&(a=t[i](r))}return a}}function Qze(e,t){e.topologicalTravel=function(i,o,l,s){if(!i.length)return;var u=n(o),c=u.graph,f=u.noEntryList,d={};for(K(i,function(b){d[b]=!0});f.length;){var h=f.pop(),v=c[h],p=!!d[h];p&&(l.call(s,h,v.originalDeps.slice()),delete d[h]),K(v.successor,p?m:g)}K(d,function(){var b="";throw new Error(b)});function g(b){c[b].entryCount--,c[b].entryCount===0&&f.push(b)}function m(b){d[b]=!0,g(b)}};function n(i){var o={},l=[];return K(i,function(s){var u=r(o,s),c=u.originalDeps=t(s),f=a(c,i);u.entryCount=f.length,u.entryCount===0&&l.push(s),K(f,function(d){Yt(u.predecessor,d)<0&&u.predecessor.push(d);var h=r(o,d);Yt(h.successor,d)<0&&h.successor.push(s)})}),{graph:o,noEntryList:l}}function r(i,o){return i[o]||(i[o]={predecessor:[],successor:[]}),i[o]}function a(i,o){var l=[];return K(i,function(s){Yt(o,s)>=0&&l.push(s)}),l}}function su(e,t){return jt(jt({},e,!0),t,!0)}const eMe={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},tMe={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var bm="ZH",Q6="EN",sd=Q6,p2={},e8={},YH=Jt.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||sd).toUpperCase();return e.indexOf(bm)>-1?bm:sd}():sd;function KH(e,t){e=e.toUpperCase(),e8[e]=new yn(t),p2[e]=t}function nMe(e){if(it(e)){var t=p2[e.toUpperCase()]||{};return e===bm||e===Q6?kt(t):jt(kt(t),kt(p2[sd]),!1)}else return jt(kt(e),kt(p2[sd]),!1)}function tx(e){return e8[e]}function rMe(){return e8[sd]}KH(Q6,eMe);KH(bm,tMe);var t8=1e3,n8=t8*60,Xv=n8*60,hi=Xv*24,WM=hi*365,gv={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Hg="{yyyy}-{MM}-{dd}",UM={year:"{yyyy}",month:"{yyyy}-{MM}",day:Hg,hour:Hg+" "+gv.hour,minute:Hg+" "+gv.minute,second:Hg+" "+gv.second,millisecond:gv.none},d_=["year","month","day","hour","minute","second","millisecond"],XH=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Xl(e,t){return e+="","0000".substr(0,t-e.length)+e}function ud(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function aMe(e){return e===ud(e)}function iMe(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function o3(e,t,n,r){var a=Bo(e),i=a[r8(n)](),o=a[cd(n)]()+1,l=Math.floor((o-1)/3)+1,s=a[l3(n)](),u=a["get"+(n?"UTC":"")+"Day"](),c=a[F1(n)](),f=(c-1)%12+1,d=a[s3(n)](),h=a[u3(n)](),v=a[c3(n)](),p=c>=12?"pm":"am",g=p.toUpperCase(),m=r instanceof yn?r:tx(r||YH)||rMe(),b=m.getModel("time"),_=b.get("month"),w=b.get("monthAbbr"),x=b.get("dayOfWeek"),S=b.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,p+"").replace(/{A}/g,g+"").replace(/{yyyy}/g,i+"").replace(/{yy}/g,Xl(i%100+"",2)).replace(/{Q}/g,l+"").replace(/{MMMM}/g,_[o-1]).replace(/{MMM}/g,w[o-1]).replace(/{MM}/g,Xl(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,Xl(s,2)).replace(/{d}/g,s+"").replace(/{eeee}/g,x[u]).replace(/{ee}/g,S[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Xl(c,2)).replace(/{H}/g,c+"").replace(/{hh}/g,Xl(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,Xl(d,2)).replace(/{m}/g,d+"").replace(/{ss}/g,Xl(h,2)).replace(/{s}/g,h+"").replace(/{SSS}/g,Xl(v,3)).replace(/{S}/g,v+"")}function oMe(e,t,n,r,a){var i=null;if(it(n))i=n;else if(yt(n))i=n(e.value,t,{level:e.level});else{var o=$e({},gv);if(e.level>0)for(var l=0;l<d_.length;++l)o[d_[l]]="{primary|"+o[d_[l]]+"}";var s=n?n.inherit===!1?n:_t(n,o):o,u=ZH(e.value,a);if(s[u])i=s[u];else if(s.inherit){for(var c=XH.indexOf(u),l=c-1;l>=0;--l)if(s[u]){i=s[u];break}i=i||o.none}if(He(i)){var f=e.level==null?0:e.level>=0?e.level:i.length+e.level;f=Math.min(f,i.length-1),i=i[f]}}return o3(new Date(e.value),i,a,r)}function ZH(e,t){var n=Bo(e),r=n[cd(t)]()+1,a=n[l3(t)](),i=n[F1(t)](),o=n[s3(t)](),l=n[u3(t)](),s=n[c3(t)](),u=s===0,c=u&&l===0,f=c&&o===0,d=f&&i===0,h=d&&a===1,v=h&&r===1;return v?"year":h?"month":d?"day":f?"hour":c?"minute":u?"second":"millisecond"}function YM(e,t,n){var r=ln(e)?Bo(e):e;switch(t=t||ZH(e,n),t){case"year":return r[r8(n)]();case"half-year":return r[cd(n)]()>=6?1:0;case"quarter":return Math.floor((r[cd(n)]()+1)/4);case"month":return r[cd(n)]();case"day":return r[l3(n)]();case"half-day":return r[F1(n)]()/24;case"hour":return r[F1(n)]();case"minute":return r[s3(n)]();case"second":return r[u3(n)]();case"millisecond":return r[c3(n)]()}}function r8(e){return e?"getUTCFullYear":"getFullYear"}function cd(e){return e?"getUTCMonth":"getMonth"}function l3(e){return e?"getUTCDate":"getDate"}function F1(e){return e?"getUTCHours":"getHours"}function s3(e){return e?"getUTCMinutes":"getMinutes"}function u3(e){return e?"getUTCSeconds":"getSeconds"}function c3(e){return e?"getUTCMilliseconds":"getMilliseconds"}function lMe(e){return e?"setUTCFullYear":"setFullYear"}function JH(e){return e?"setUTCMonth":"setMonth"}function QH(e){return e?"setUTCDate":"setDate"}function ej(e){return e?"setUTCHours":"setHours"}function tj(e){return e?"setUTCMinutes":"setMinutes"}function nj(e){return e?"setUTCSeconds":"setSeconds"}function rj(e){return e?"setUTCMilliseconds":"setMilliseconds"}function aj(e){if(!ZF(e))return it(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function ij(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(n,r){return r.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var vh=A6;function nx(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(c){return c&&qi(c)?c:"-"}function i(c){return!!(c!=null&&!isNaN(c)&&isFinite(c))}var o=t==="time",l=e instanceof Date;if(o||l){var s=o?Bo(e):e;if(isNaN(+s)){if(l)return"-"}else return o3(s,r,n)}if(t==="ordinal")return _w(e)?a(e):ln(e)&&i(e)?e+"":"-";var u=Tl(e);return i(u)?aj(u):_w(e)?a(e):typeof e=="boolean"?e+"":"-"}var KM=["a","b","c","d","e","f","g"],h_=function(e,t){return"{"+e+(t??"")+"}"};function oj(e,t,n){He(t)||(t=[t]);var r=t.length;if(!r)return"";for(var a=t[0].$vars||[],i=0;i<a.length;i++){var o=KM[i];e=e.replace(h_(o),h_(o,0))}for(var l=0;l<r;l++)for(var s=0;s<a.length;s++){var u=t[l][a[s]];e=e.replace(h_(KM[s],l),n?Ta(u):u)}return e}function sMe(e,t,n){return K(t,function(r,a){e=e.replace("{"+a+"}",r)}),e}function uMe(e,t){var n=it(e)?{color:e,extraCssText:t}:e||{},r=n.color,a=n.type;t=n.extraCssText;var i=n.renderMode||"html";if(!r)return"";if(i==="html")return a==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Ta(r)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Ta(r)+";"+(t||"")+'"></span>';var o=n.markerId||"markerX";return{renderMode:i,content:"{"+o+"|} ",style:a==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}}function Fc(e,t){return t=t||"transparent",it(e)?e:wt(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function _m(e,t){if(t==="_blank"||t==="blank"){var n=window.open();n.opener=null,n.location.href=e}else window.open(e,t)}var g2=K,lj=["left","right","top","bottom","width","height"],sc=[["width","left","right"],["height","top","bottom"]];function a8(e,t,n,r,a){var i=0,o=0;r==null&&(r=1/0),a==null&&(a=1/0);var l=0;t.eachChild(function(s,u){var c=s.getBoundingRect(),f=t.childAt(u+1),d=f&&f.getBoundingRect(),h,v;if(e==="horizontal"){var p=c.width+(d?-d.x+c.x:0);h=i+p,h>r||s.newline?(i=0,h=p,o+=l+n,l=c.height):l=Math.max(l,c.height)}else{var g=c.height+(d?-d.y+c.y:0);v=o+g,v>a||s.newline?(i+=l+n,o=0,v=g,l=c.width):l=Math.max(l,c.width)}s.newline||(s.x=i,s.y=o,s.markRedraw(),e==="horizontal"?i=h+n:o=v+n)})}var Tc=a8;$t(a8,"vertical");$t(a8,"horizontal");function cMe(e,t,n){var r=t.width,a=t.height,i=et(e.left,r),o=et(e.top,a),l=et(e.right,r),s=et(e.bottom,a);return(isNaN(i)||isNaN(parseFloat(e.left)))&&(i=0),(isNaN(l)||isNaN(parseFloat(e.right)))&&(l=r),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(s)||isNaN(parseFloat(e.bottom)))&&(s=a),n=vh(n||0),{width:Math.max(l-i-n[1]-n[3],0),height:Math.max(s-o-n[0]-n[2],0)}}function fr(e,t,n){n=vh(n||0);var r=t.width,a=t.height,i=et(e.left,r),o=et(e.top,a),l=et(e.right,r),s=et(e.bottom,a),u=et(e.width,r),c=et(e.height,a),f=n[2]+n[0],d=n[1]+n[3],h=e.aspect;switch(isNaN(u)&&(u=r-l-d-i),isNaN(c)&&(c=a-s-f-o),h!=null&&(isNaN(u)&&isNaN(c)&&(h>r/a?u=r*.8:c=a*.8),isNaN(u)&&(u=h*c),isNaN(c)&&(c=u/h)),isNaN(i)&&(i=r-l-u-d),isNaN(o)&&(o=a-s-c-f),e.left||e.right){case"center":i=r/2-u/2-n[3];break;case"right":i=r-u-d;break}switch(e.top||e.bottom){case"middle":case"center":o=a/2-c/2-n[0];break;case"bottom":o=a-c-f;break}i=i||0,o=o||0,isNaN(u)&&(u=r-d-i-(l||0)),isNaN(c)&&(c=a-f-o-(s||0));var v=new qt(i+n[3],o+n[0],u,c);return v.margin=n,v}function f3(e,t,n,r,a,i){var o=!a||!a.hv||a.hv[0],l=!a||!a.hv||a.hv[1],s=a&&a.boundingMode||"all";if(i=i||e,i.x=e.x,i.y=e.y,!o&&!l)return!1;var u;if(s==="raw")u=e.type==="group"?new qt(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(u=e.getBoundingRect(),e.needLocalTransform()){var c=e.getLocalTransform();u=u.clone(),u.applyTransform(c)}var f=fr(_t({width:u.width,height:u.height},t),n,r),d=o?f.x-u.x:0,h=l?f.y-u.y:0;return s==="raw"?(i.x=d,i.y=h):(i.x+=d,i.y+=h),i===e&&e.markRedraw(),!0}function fMe(e,t){return e[sc[t][0]]!=null||e[sc[t][1]]!=null&&e[sc[t][2]]!=null}function H1(e){var t=e.layoutMode||e.constructor.layoutMode;return wt(t)?t:t?{type:t}:null}function Xs(e,t,n){var r=n&&n.ignoreSize;!He(r)&&(r=[r,r]);var a=o(sc[0],0),i=o(sc[1],1);u(sc[0],e,a),u(sc[1],e,i);function o(c,f){var d={},h=0,v={},p=0,g=2;if(g2(c,function(_){v[_]=e[_]}),g2(c,function(_){l(t,_)&&(d[_]=v[_]=t[_]),s(d,_)&&h++,s(v,_)&&p++}),r[f])return s(t,c[1])?v[c[2]]=null:s(t,c[2])&&(v[c[1]]=null),v;if(p===g||!h)return v;if(h>=g)return d;for(var m=0;m<c.length;m++){var b=c[m];if(!l(d,b)&&l(e,b)){d[b]=e[b];break}}return d}function l(c,f){return c.hasOwnProperty(f)}function s(c,f){return c[f]!=null&&c[f]!=="auto"}function u(c,f,d){g2(c,function(h){f[h]=d[h]})}}function ph(e){return sj({},e)}function sj(e,t){return t&&e&&g2(lj,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var dMe=an(),Qt=function(e){Se(t,e);function t(n,r,a){var i=e.call(this,n,r,a)||this;return i.uid=hh("ec_cpt_model"),i}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a)},t.prototype.mergeDefaultAndTheme=function(n,r){var a=H1(this),i=a?ph(n):{},o=r.getTheme();jt(n,o.get(this.mainType)),jt(n,this.getDefaultOption()),a&&Xs(n,i,a)},t.prototype.mergeOption=function(n,r){jt(this.option,n,!0);var a=H1(this);a&&Xs(this.option,n,a)},t.prototype.optionUpdated=function(n,r){},t.prototype.getDefaultOption=function(){var n=this.constructor;if(!JTe(n))return n.defaultOption;var r=dMe(this);if(!r.defaultOption){for(var a=[],i=n;i;){var o=i.prototype.defaultOption;o&&a.push(o),i=i.superClass}for(var l={},s=a.length-1;s>=0;s--)l=jt(l,a[s],!0);r.defaultOption=l}return r.defaultOption},t.prototype.getReferringComponents=function(n,r){var a=n+"Index",i=n+"Id";return Mp(this.ecModel,n,{index:this.get(a,!0),id:this.get(i,!0)},r)},t.prototype.getBoxLayoutParams=function(){var n=this;return{left:n.get("left"),top:n.get("top"),right:n.get("right"),bottom:n.get("bottom"),width:n.get("width"),height:n.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(n){this.option.zlevel=n},t.protoInitialize=function(){var n=t.prototype;n.type="component",n.id="",n.name="",n.mainType="",n.subType="",n.componentIndex=0}(),t}(yn);lH(Qt,yn);Ky(Qt);Jze(Qt);Qze(Qt,hMe);function hMe(e){var t=[];return K(Qt.getClassesByMainType(e),function(n){t=t.concat(n.dependencies||n.prototype.dependencies||[])}),t=Ge(t,function(n){return ko(n).main}),e!=="dataset"&&Yt(t,"dataset")<=0&&t.unshift("dataset"),t}var uj="";typeof navigator<"u"&&(uj=navigator.platform||"");var bf="rgba(0, 0, 0, 0.2)";const vMe={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:bf,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:bf,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:bf,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:bf,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:bf,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:bf,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:uj.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var cj=pt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ii="original",Jr="arrayRows",Di="objectRows",Go="keyedColumns",Ps="typedArray",fj="unknown",Io="column",gh="row",Dr={Must:1,Might:2,Not:3},dj=an();function pMe(e){dj(e).datasetMap=pt()}function hj(e,t,n){var r={},a=o8(t);if(!a||!e)return r;var i=[],o=[],l=t.ecModel,s=dj(l).datasetMap,u=a.uid+"_"+n.seriesLayoutBy,c,f;e=e.slice(),K(e,function(p,g){var m=wt(p)?p:e[g]={name:p};m.type==="ordinal"&&c==null&&(c=g,f=v(m)),r[m.name]=[]});var d=s.get(u)||s.set(u,{categoryWayDim:f,valueWayDim:0});K(e,function(p,g){var m=p.name,b=v(p);if(c==null){var _=d.valueWayDim;h(r[m],_,b),h(o,_,b),d.valueWayDim+=b}else if(c===g)h(r[m],0,b),h(i,0,b);else{var _=d.categoryWayDim;h(r[m],_,b),h(o,_,b),d.categoryWayDim+=b}});function h(p,g,m){for(var b=0;b<m;b++)p.push(g+b)}function v(p){var g=p.dimsDef;return g?g.length:1}return i.length&&(r.itemName=i),o.length&&(r.seriesName=o),r}function i8(e,t,n){var r={},a=o8(e);if(!a)return r;var i=t.sourceFormat,o=t.dimensionsDefine,l;(i===Di||i===Go)&&K(o,function(c,f){(wt(c)?c.name:c)==="name"&&(l=f)});var s=function(){for(var c={},f={},d=[],h=0,v=Math.min(5,n);h<v;h++){var p=pj(t.data,i,t.seriesLayoutBy,o,t.startIndex,h);d.push(p);var g=p===Dr.Not;if(g&&c.v==null&&h!==l&&(c.v=h),(c.n==null||c.n===c.v||!g&&d[c.n]===Dr.Not)&&(c.n=h),m(c)&&d[c.n]!==Dr.Not)return c;g||(p===Dr.Might&&f.v==null&&h!==l&&(f.v=h),(f.n==null||f.n===f.v)&&(f.n=h))}function m(b){return b.v!=null&&b.n!=null}return m(c)?c:m(f)?f:null}();if(s){r.value=[s.v];var u=l??s.n;r.itemName=[u],r.seriesName=[u]}return r}function o8(e){var t=e.get("data",!0);if(!t)return Mp(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},rr).models[0]}function gMe(e){return!e.get("transform",!0)&&!e.get("fromTransformResult",!0)?[]:Mp(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},rr).models}function vj(e,t){return pj(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function pj(e,t,n,r,a,i){var o,l=5;if(Pa(e))return Dr.Not;var s,u;if(r){var c=r[i];wt(c)?(s=c.name,u=c.type):it(c)&&(s=c)}if(u!=null)return u==="ordinal"?Dr.Must:Dr.Not;if(t===Jr){var f=e;if(n===gh){for(var d=f[i],h=0;h<(d||[]).length&&h<l;h++)if((o=w(d[a+h]))!=null)return o}else for(var h=0;h<f.length&&h<l;h++){var v=f[a+h];if(v&&(o=w(v[i]))!=null)return o}}else if(t===Di){var p=e;if(!s)return Dr.Not;for(var h=0;h<p.length&&h<l;h++){var g=p[h];if(g&&(o=w(g[s]))!=null)return o}}else if(t===Go){var m=e;if(!s)return Dr.Not;var d=m[s];if(!d||Pa(d))return Dr.Not;for(var h=0;h<d.length&&h<l;h++)if((o=w(d[h]))!=null)return o}else if(t===Ii)for(var b=e,h=0;h<b.length&&h<l;h++){var g=b[h],_=sh(g);if(!He(_))return Dr.Not;if((o=w(_[i]))!=null)return o}function w(x){var S=it(x);if(x!=null&&Number.isFinite(Number(x))&&x!=="")return S?Dr.Might:Dr.Not;if(S&&x!=="-")return Dr.Must}return Dr.Not}var rx=pt();function mMe(e,t){ha(rx.get(e)==null&&t),rx.set(e,t)}function yMe(e,t,n){var r=rx.get(t);if(!r)return n;var a=r(e);return a?n.concat(a):n}var XM=an(),bMe=an(),l8=function(){function e(){}return e.prototype.getColorFromPalette=function(t,n,r){var a=Cn(this.get("color",!0)),i=this.get("colorLayer",!0);return gj(this,XM,a,i,t,n,r)},e.prototype.clearColorPalette=function(){wMe(this,XM)},e}();function ax(e,t,n,r){var a=Cn(e.get(["aria","decal","decals"]));return gj(e,bMe,a,null,t,n,r)}function _Me(e,t){for(var n=e.length,r=0;r<n;r++)if(e[r].length>t)return e[r];return e[n-1]}function gj(e,t,n,r,a,i,o){i=i||e;var l=t(i),s=l.paletteIdx||0,u=l.paletteNameMap=l.paletteNameMap||{};if(u.hasOwnProperty(a))return u[a];var c=o==null||!r?n:_Me(r,o);if(c=c||n,!(!c||!c.length)){var f=c[s];return a&&(u[a]=f),l.paletteIdx=(s+1)%c.length,f}}function wMe(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var jg,Bh,ZM,JM="\0_ec_inner",xMe=1,s8=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n,r,a,i,o,l){i=i||{},this.option=null,this._theme=new yn(i),this._locale=new yn(o),this._optionManager=l},t.prototype.setOption=function(n,r,a){var i=tA(r);this._optionManager.setOption(n,a,i),this._resetOption(null,i)},t.prototype.resetOption=function(n,r){return this._resetOption(n,tA(r))},t.prototype._resetOption=function(n,r){var a=!1,i=this._optionManager;if(!n||n==="recreate"){var o=i.mountOption(n==="recreate");!this.option||n==="recreate"?ZM(this,o):(this.restoreData(),this._mergeOption(o,r)),a=!0}if((n==="timeline"||n==="media")&&this.restoreData(),!n||n==="recreate"||n==="timeline"){var l=i.getTimelineOption(this);l&&(a=!0,this._mergeOption(l,r))}if(!n||n==="recreate"||n==="media"){var s=i.getMediaOption(this);s.length&&K(s,function(u){a=!0,this._mergeOption(u,r)},this)}return a},t.prototype.mergeOption=function(n){this._mergeOption(n,null)},t.prototype._mergeOption=function(n,r){var a=this.option,i=this._componentsMap,o=this._componentsCount,l=[],s=pt(),u=r&&r.replaceMergeMainTypeMap;pMe(this),K(n,function(f,d){f!=null&&(Qt.hasClass(d)?d&&(l.push(d),s.set(d,!0)):a[d]=a[d]==null?kt(f):jt(a[d],f,!0))}),u&&u.each(function(f,d){Qt.hasClass(d)&&!s.get(d)&&(l.push(d),s.set(d,!0))}),Qt.topologicalTravel(l,Qt.getAllClassMainTypes(),c,this);function c(f){var d=yMe(this,f,Cn(n[f])),h=i.get(f),v=h?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",p=nH(h,d,v);jTe(p,f,Qt),a[f]=null,i.set(f,null),o.set(f,0);var g=[],m=[],b=0,_;K(p,function(w,x){var S=w.existing,C=w.newOption;if(!C)S&&(S.mergeOption({},this),S.optionUpdated({},!1));else{var T=f==="series",z=Qt.getClass(f,w.keyInfo.subType,!T);if(!z)return;if(f==="tooltip"){if(_)return;_=!0}if(S&&S.constructor===z)S.name=w.keyInfo.name,S.mergeOption(C,this),S.optionUpdated(C,!1);else{var A=$e({componentIndex:x},w.keyInfo);S=new z(C,this,this,A),$e(S,A),w.brandNew&&(S.__requireNewView=!0),S.init(C,this,this),S.optionUpdated(null,!0)}}S?(g.push(S.option),m.push(S),b++):(g.push(void 0),m.push(void 0))},this),a[f]=g,i.set(f,m),o.set(f,b),f==="series"&&jg(this)}this._seriesIndices||jg(this)},t.prototype.getOption=function(){var n=kt(this.option);return K(n,function(r,a){if(Qt.hasClass(a)){for(var i=Cn(r),o=i.length,l=!1,s=o-1;s>=0;s--)i[s]&&!N1(i[s])?l=!0:(i[s]=null,!l&&o--);i.length=o,n[a]=i}}),delete n[JM],n},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(n){this._payload=n},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(n,r){var a=this._componentsMap.get(n);if(a){var i=a[r||0];if(i)return i;if(r==null){for(var o=0;o<a.length;o++)if(a[o])return a[o]}}},t.prototype.queryComponents=function(n){var r=n.mainType;if(!r)return[];var a=n.index,i=n.id,o=n.name,l=this._componentsMap.get(r);if(!l||!l.length)return[];var s;return a!=null?(s=[],K(Cn(a),function(u){l[u]&&s.push(l[u])})):i!=null?s=QM("id",i,l):o!=null?s=QM("name",o,l):s=_n(l,function(u){return!!u}),eA(s,n)},t.prototype.findComponents=function(n){var r=n.query,a=n.mainType,i=l(r),o=i?this.queryComponents(i):_n(this._componentsMap.get(a),function(u){return!!u});return s(eA(o,n));function l(u){var c=a+"Index",f=a+"Id",d=a+"Name";return u&&(u[c]!=null||u[f]!=null||u[d]!=null)?{mainType:a,index:u[c],id:u[f],name:u[d]}:null}function s(u){return n.filter?_n(u,n.filter):u}},t.prototype.eachComponent=function(n,r,a){var i=this._componentsMap;if(yt(n)){var o=r,l=n;i.each(function(f,d){for(var h=0;f&&h<f.length;h++){var v=f[h];v&&l.call(o,d,v,v.componentIndex)}})}else for(var s=it(n)?i.get(n):wt(n)?this.findComponents(n):null,u=0;s&&u<s.length;u++){var c=s[u];c&&r.call(a,c,c.componentIndex)}},t.prototype.getSeriesByName=function(n){var r=ur(n,null);return _n(this._componentsMap.get("series"),function(a){return!!a&&r!=null&&a.name===r})},t.prototype.getSeriesByIndex=function(n){return this._componentsMap.get("series")[n]},t.prototype.getSeriesByType=function(n){return _n(this._componentsMap.get("series"),function(r){return!!r&&r.subType===n})},t.prototype.getSeries=function(){return _n(this._componentsMap.get("series"),function(n){return!!n})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(n,r){Bh(this),K(this._seriesIndices,function(a){var i=this._componentsMap.get("series")[a];n.call(r,i,a)},this)},t.prototype.eachRawSeries=function(n,r){K(this._componentsMap.get("series"),function(a){a&&n.call(r,a,a.componentIndex)})},t.prototype.eachSeriesByType=function(n,r,a){Bh(this),K(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];o.subType===n&&r.call(a,o,i)},this)},t.prototype.eachRawSeriesByType=function(n,r,a){return K(this.getSeriesByType(n),r,a)},t.prototype.isSeriesFiltered=function(n){return Bh(this),this._seriesIndicesMap.get(n.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(n,r){Bh(this);var a=[];K(this._seriesIndices,function(i){var o=this._componentsMap.get("series")[i];n.call(r,o,i)&&a.push(i)},this),this._seriesIndices=a,this._seriesIndicesMap=pt(a)},t.prototype.restoreData=function(n){jg(this);var r=this._componentsMap,a=[];r.each(function(i,o){Qt.hasClass(o)&&a.push(o)}),Qt.topologicalTravel(a,Qt.getAllClassMainTypes(),function(i){K(r.get(i),function(o){o&&(i!=="series"||!SMe(o,n))&&o.restoreData()})})},t.internalField=function(){jg=function(n){var r=n._seriesIndices=[];K(n._componentsMap.get("series"),function(a){a&&r.push(a.componentIndex)}),n._seriesIndicesMap=pt(r)},Bh=function(n){},ZM=function(n,r){n.option={},n.option[JM]=xMe,n._componentsMap=pt({series:[]}),n._componentsCount=pt();var a=r.aria;wt(a)&&a.enabled==null&&(a.enabled=!0),CMe(r,n._theme.option),jt(r,vMe,!1),n._mergeOption(r,null)}}(),t}(yn);function SMe(e,t){if(t){var n=t.seriesIndex,r=t.seriesId,a=t.seriesName;return n!=null&&e.componentIndex!==n||r!=null&&e.id!==r||a!=null&&e.name!==a}}function CMe(e,t){var n=e.color&&!e.colorLayer;K(t,function(r,a){a==="colorLayer"&&n||Qt.hasClass(a)||(typeof r=="object"?e[a]=e[a]?jt(e[a],r,!1):kt(r):e[a]==null&&(e[a]=r))})}function QM(e,t,n){if(He(t)){var r=pt();return K(t,function(i){if(i!=null){var o=ur(i,null);o!=null&&r.set(i,!0)}}),_n(n,function(i){return i&&r.get(i[e])})}else{var a=ur(t,null);return _n(n,function(i){return i&&a!=null&&i[e]===a})}}function eA(e,t){return t.hasOwnProperty("subType")?_n(e,function(n){return n&&n.subType===t.subType}):e}function tA(e){var t=pt();return e&&K(Cn(e.replaceMerge),function(n){t.set(n,!0)}),{replaceMergeMainTypeMap:t}}sr(s8,l8);var TMe=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],mj=function(){function e(t){K(TMe,function(n){this[n]=lt(t[n],t)},this)}return e}(),v_={},Pp=function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,n){var r=[];K(v_,function(a,i){var o=a.create(t,n);r=r.concat(o||[])}),this._coordinateSystems=r},e.prototype.update=function(t,n){K(this._coordinateSystems,function(r){r.update&&r.update(t,n)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,n){v_[t]=n},e.get=function(t){return v_[t]},e}(),kMe=/^(min|max)?(.+)$/,zMe=function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,n,r){t&&(K(Cn(t.series),function(o){o&&o.data&&Pa(o.data)&&rm(o.data)}),K(Cn(t.dataset),function(o){o&&o.source&&Pa(o.source)&&rm(o.source)})),t=kt(t);var a=this._optionBackup,i=MMe(t,n,!a);this._newBaseOption=i.baseOption,a?(i.timelineOptions.length&&(a.timelineOptions=i.timelineOptions),i.mediaList.length&&(a.mediaList=i.mediaList),i.mediaDefault&&(a.mediaDefault=i.mediaDefault)):this._optionBackup=i},e.prototype.mountOption=function(t){var n=this._optionBackup;return this._timelineOptions=n.timelineOptions,this._mediaList=n.mediaList,this._mediaDefault=n.mediaDefault,this._currentMediaIndices=[],kt(t?n.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var n,r=this._timelineOptions;if(r.length){var a=t.getComponent("timeline");a&&(n=kt(r[a.getCurrentIndex()]))}return n},e.prototype.getMediaOption=function(t){var n=this._api.getWidth(),r=this._api.getHeight(),a=this._mediaList,i=this._mediaDefault,o=[],l=[];if(!a.length&&!i)return l;for(var s=0,u=a.length;s<u;s++)AMe(a[s].query,n,r)&&o.push(s);return!o.length&&i&&(o=[-1]),o.length&&!IMe(o,this._currentMediaIndices)&&(l=Ge(o,function(c){return kt(c===-1?i.option:a[c].option)})),this._currentMediaIndices=o,l},e}();function MMe(e,t,n){var r=[],a,i,o=e.baseOption,l=e.timeline,s=e.options,u=e.media,c=!!e.media,f=!!(s||l||o&&o.timeline);o?(i=o,i.timeline||(i.timeline=l)):((f||c)&&(e.options=e.media=null),i=e),c&&He(u)&&K(u,function(h){h&&h.option&&(h.query?r.push(h):a||(a=h))}),d(i),K(s,function(h){return d(h)}),K(r,function(h){return d(h.option)});function d(h){K(t,function(v){v(h,n)})}return{baseOption:i,timelineOptions:s||[],mediaDefault:a,mediaList:r}}function AMe(e,t,n){var r={width:t,height:n,aspectratio:t/n},a=!0;return K(e,function(i,o){var l=o.match(kMe);if(!(!l||!l[1]||!l[2])){var s=l[1],u=l[2].toLowerCase();EMe(r[u],i,s)||(a=!1)}}),a}function EMe(e,t,n){return n==="min"?e>=t:n==="max"?e<=t:e===t}function IMe(e,t){return e.join(",")===t.join(",")}var Pi=K,j1=wt,nA=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function p_(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=nA.length;n<r;n++){var a=nA[n],i=t.normal,o=t.emphasis;i&&i[a]&&(e[a]=e[a]||{},e[a].normal?jt(e[a].normal,i[a]):e[a].normal=i[a],i[a]=null),o&&o[a]&&(e[a]=e[a]||{},e[a].emphasis?jt(e[a].emphasis,o[a]):e[a].emphasis=o[a],o[a]=null)}}function Gr(e,t,n){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var r=e[t].normal,a=e[t].emphasis;r&&(n?(e[t].normal=e[t].emphasis=null,_t(e[t],r)):e[t]=r),a&&(e.emphasis=e.emphasis||{},e.emphasis[t]=a,a.focus&&(e.emphasis.focus=a.focus),a.blurScope&&(e.emphasis.blurScope=a.blurScope))}}function mv(e){Gr(e,"itemStyle"),Gr(e,"lineStyle"),Gr(e,"areaStyle"),Gr(e,"label"),Gr(e,"labelLine"),Gr(e,"upperLabel"),Gr(e,"edgeLabel")}function nr(e,t){var n=j1(e)&&e[t],r=j1(n)&&n.textStyle;if(r)for(var a=0,i=sM.length;a<i;a++){var o=sM[a];r.hasOwnProperty(o)&&(n[o]=r[o])}}function ai(e){e&&(mv(e),nr(e,"label"),e.emphasis&&nr(e.emphasis,"label"))}function DMe(e){if(j1(e)){p_(e),mv(e),nr(e,"label"),nr(e,"upperLabel"),nr(e,"edgeLabel"),e.emphasis&&(nr(e.emphasis,"label"),nr(e.emphasis,"upperLabel"),nr(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(p_(t),ai(t));var n=e.markLine;n&&(p_(n),ai(n));var r=e.markArea;r&&ai(r);var a=e.data;if(e.type==="graph"){a=a||e.nodes;var i=e.links||e.edges;if(i&&!Pa(i))for(var o=0;o<i.length;o++)ai(i[o]);K(e.categories,function(u){mv(u)})}if(a&&!Pa(a))for(var o=0;o<a.length;o++)ai(a[o]);if(t=e.markPoint,t&&t.data)for(var l=t.data,o=0;o<l.length;o++)ai(l[o]);if(n=e.markLine,n&&n.data)for(var s=n.data,o=0;o<s.length;o++)He(s[o])?(ai(s[o][0]),ai(s[o][1])):ai(s[o]);e.type==="gauge"?(nr(e,"axisLabel"),nr(e,"title"),nr(e,"detail")):e.type==="treemap"?(Gr(e.breadcrumb,"itemStyle"),K(e.levels,function(u){mv(u)})):e.type==="tree"&&mv(e.leaves)}}function tl(e){return He(e)?e:e?[e]:[]}function rA(e){return(He(e)?e[0]:e)||{}}function LMe(e,t){Pi(tl(e.series),function(r){j1(r)&&DMe(r)});var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),Pi(n,function(r){Pi(tl(e[r]),function(a){a&&(nr(a,"axisLabel"),nr(a.axisPointer,"label"))})}),Pi(tl(e.parallel),function(r){var a=r&&r.parallelAxisDefault;nr(a,"axisLabel"),nr(a&&a.axisPointer,"label")}),Pi(tl(e.calendar),function(r){Gr(r,"itemStyle"),nr(r,"dayLabel"),nr(r,"monthLabel"),nr(r,"yearLabel")}),Pi(tl(e.radar),function(r){nr(r,"name"),r.name&&r.axisName==null&&(r.axisName=r.name,delete r.name),r.nameGap!=null&&r.axisNameGap==null&&(r.axisNameGap=r.nameGap,delete r.nameGap)}),Pi(tl(e.geo),function(r){j1(r)&&(ai(r),Pi(tl(r.regions),function(a){ai(a)}))}),Pi(tl(e.timeline),function(r){ai(r),Gr(r,"label"),Gr(r,"itemStyle"),Gr(r,"controlStyle",!0);var a=r.data;He(a)&&K(a,function(i){wt(i)&&(Gr(i,"label"),Gr(i,"itemStyle"))})}),Pi(tl(e.toolbox),function(r){Gr(r,"iconStyle"),Pi(r.feature,function(a){Gr(a,"iconStyle")})}),nr(rA(e.axisPointer),"label"),nr(rA(e.tooltip).axisPointer,"label")}function PMe(e,t){for(var n=t.split(","),r=e,a=0;a<n.length&&(r=r&&r[n[a]],r!=null);a++);return r}function RMe(e,t,n,r){for(var a=t.split(","),i=e,o,l=0;l<a.length-1;l++)o=a[l],i[o]==null&&(i[o]={}),i=i[o];i[a[l]]==null&&(i[a[l]]=n)}function aA(e){e&&K(OMe,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var OMe=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],NMe=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],g_=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Fh(e){var t=e&&e.itemStyle;if(t)for(var n=0;n<g_.length;n++){var r=g_[n][1],a=g_[n][0];t[r]!=null&&(t[a]=t[r])}}function iA(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(e.edgeDistance=e.margin)}function oA(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function $Me(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(e.emphasis.focus="adjacency"))}function yj(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&yj(e[n].children,t)}function bj(e,t){LMe(e,t),e.series=Cn(e.series),K(e.series,function(n){if(wt(n)){var r=n.type;if(r==="line")n.clipOverflow!=null&&(n.clip=n.clipOverflow);else if(r==="pie"||r==="gauge"){n.clockWise!=null&&(n.clockwise=n.clockWise),iA(n.label);var a=n.data;if(a&&!Pa(a))for(var i=0;i<a.length;i++)iA(a[i]);n.hoverOffset!=null&&(n.emphasis=n.emphasis||{},(n.emphasis.scaleSize=null)&&(n.emphasis.scaleSize=n.hoverOffset))}else if(r==="gauge"){var o=PMe(n,"pointer.color");o!=null&&RMe(n,"itemStyle.color",o)}else if(r==="bar"){Fh(n),Fh(n.backgroundStyle),Fh(n.emphasis);var a=n.data;if(a&&!Pa(a))for(var i=0;i<a.length;i++)typeof a[i]=="object"&&(Fh(a[i]),Fh(a[i]&&a[i].emphasis))}else if(r==="sunburst"){var l=n.highlightPolicy;l&&(n.emphasis=n.emphasis||{},n.emphasis.focus||(n.emphasis.focus=l)),oA(n),yj(n.data,oA)}else r==="graph"||r==="sankey"?$Me(n):r==="map"&&(n.mapType&&!n.map&&(n.map=n.mapType),n.mapLocation&&_t(n,n.mapLocation));n.hoverAnimation!=null&&(n.emphasis=n.emphasis||{},n.emphasis&&n.emphasis.scale==null&&(n.emphasis.scale=n.hoverAnimation)),aA(n)}}),e.dataRange&&(e.visualMap=e.dataRange),K(NMe,function(n){var r=e[n];r&&(He(r)||(r=[r]),K(r,function(a){aA(a)}))})}function VMe(e){var t=pt();e.eachSeries(function(n){var r=n.get("stack");if(r){var a=t.get(r)||t.set(r,[]),i=n.getData(),o={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:n};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;a.length&&i.setCalculationInfo("stackedOnSeries",a[a.length-1].seriesModel),a.push(o)}}),t.each(BMe)}function BMe(e){K(e,function(t,n){var r=[],a=[NaN,NaN],i=[t.stackResultDimension,t.stackedOverDimension],o=t.data,l=t.isStackedByIndex,s=t.seriesModel.get("stackStrategy")||"samesign";o.modify(i,function(u,c,f){var d=o.get(t.stackedDimension,f);if(isNaN(d))return a;var h,v;l?v=o.getRawIndex(f):h=o.get(t.stackedByDimension,f);for(var p=NaN,g=n-1;g>=0;g--){var m=e[g];if(l||(v=m.data.rawIndexOf(m.stackedByDimension,h)),v>=0){var b=m.data.getByRawIndex(m.stackResultDimension,v);if(s==="all"||s==="positive"&&b>0||s==="negative"&&b<0||s==="samesign"&&d>=0&&b>0||s==="samesign"&&d<=0&&b<0){d=DTe(d,b),p=b;break}}}return r[0]=d,r[1]=p,r})})}var d3=function(){function e(t){this.data=t.data||(t.sourceFormat===Go?{}:[]),this.sourceFormat=t.sourceFormat||fj,this.seriesLayoutBy=t.seriesLayoutBy||Io,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var n=this.dimensionsDefine=t.dimensionsDefine;if(n)for(var r=0;r<n.length;r++){var a=n[r];a.type==null&&vj(this,r)===Dr.Must&&(a.type="ordinal")}}return e}();function u8(e){return e instanceof d3}function ix(e,t,n){n=n||_j(e);var r=t.seriesLayoutBy,a=HMe(e,n,r,t.sourceHeader,t.dimensions),i=new d3({data:e,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:a.dimensionsDefine,startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount,metaRawOption:kt(t)});return i}function c8(e){return new d3({data:e,sourceFormat:Pa(e)?Ps:Ii})}function FMe(e){return new d3({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:kt(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function _j(e){var t=fj;if(Pa(e))t=Ps;else if(He(e)){e.length===0&&(t=Jr);for(var n=0,r=e.length;n<r;n++){var a=e[n];if(a!=null){if(He(a)||Pa(a)){t=Jr;break}else if(wt(a)){t=Di;break}}}}else if(wt(e)){for(var i in e)if(ht(e,i)&&Zr(e[i])){t=Go;break}}return t}function HMe(e,t,n,r,a){var i,o;if(!e)return{dimensionsDefine:lA(a),startIndex:o,dimensionsDetectedCount:i};if(t===Jr){var l=e;r==="auto"||r==null?sA(function(u){u!=null&&u!=="-"&&(it(u)?o==null&&(o=1):o=0)},n,l,10):o=ln(r)?r:r?1:0,!a&&o===1&&(a=[],sA(function(u,c){a[c]=u!=null?u+"":""},n,l,1/0)),i=a?a.length:n===gh?l.length:l[0]?l[0].length:null}else if(t===Di)a||(a=jMe(e));else if(t===Go)a||(a=[],K(e,function(u,c){a.push(c)}));else if(t===Ii){var s=sh(e[0]);i=He(s)&&s.length||1}return{startIndex:o,dimensionsDefine:lA(a),dimensionsDetectedCount:i}}function jMe(e){for(var t=0,n;t<e.length&&!(n=e[t++]););if(n)return tn(n)}function lA(e){if(e){var t=pt();return Ge(e,function(n,r){n=wt(n)?n:{name:n};var a={name:n.name,displayName:n.displayName,type:n.type};if(a.name==null)return a;a.name+="",a.displayName==null&&(a.displayName=a.name);var i=t.get(a.name);return i?a.name+="-"+i.count++:t.set(a.name,{count:1}),a})}}function sA(e,t,n,r){if(t===gh)for(var a=0;a<n.length&&a<r;a++)e(n[a]?n[a][0]:null,a);else for(var i=n[0]||[],a=0;a<i.length&&a<r;a++)e(i[a],a)}function wj(e){var t=e.sourceFormat;return t===Di||t===Go}var Iu,Du,Lu,uA,cA,xj=function(){function e(t,n){var r=u8(t)?t:c8(t);this._source=r;var a=this._data=r.data;r.sourceFormat===Ps&&(this._offset=0,this._dimSize=n,this._data=a),cA(this,a,r)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,n){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=function(){var t=e.prototype;t.pure=!1,t.persistent=!0}(),e.internalField=function(){var t;cA=function(o,l,s){var u=s.sourceFormat,c=s.seriesLayoutBy,f=s.startIndex,d=s.dimensionsDefine,h=uA[f8(u,c)];if($e(o,h),u===Ps)o.getItem=n,o.count=a,o.fillStorage=r;else{var v=Sj(u,c);o.getItem=lt(v,null,l,f,d);var p=Cj(u,c);o.count=lt(p,null,l,f,d)}};var n=function(o,l){o=o-this._offset,l=l||[];for(var s=this._data,u=this._dimSize,c=u*o,f=0;f<u;f++)l[f]=s[c+f];return l},r=function(o,l,s,u){for(var c=this._data,f=this._dimSize,d=0;d<f;d++){for(var h=u[d],v=h[0]==null?1/0:h[0],p=h[1]==null?-1/0:h[1],g=l-o,m=s[d],b=0;b<g;b++){var _=c[b*f+d];m[o+b]=_,_<v&&(v=_),_>p&&(p=_)}h[0]=v,h[1]=p}},a=function(){return this._data?this._data.length/this._dimSize:0};uA=(t={},t[Jr+"_"+Io]={pure:!0,appendData:i},t[Jr+"_"+gh]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[Di]={pure:!0,appendData:i},t[Go]={pure:!0,appendData:function(o){var l=this._data;K(o,function(s,u){for(var c=l[u]||(l[u]=[]),f=0;f<(s||[]).length;f++)c.push(s[f])})}},t[Ii]={appendData:i},t[Ps]={persistent:!1,pure:!0,appendData:function(o){this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function i(o){for(var l=0;l<o.length;l++)this._data.push(o[l])}}(),e}(),fA=function(e,t,n,r){return e[r]},qMe=(Iu={},Iu[Jr+"_"+Io]=function(e,t,n,r){return e[r+t]},Iu[Jr+"_"+gh]=function(e,t,n,r,a){r+=t;for(var i=a||[],o=e,l=0;l<o.length;l++){var s=o[l];i[l]=s?s[r]:null}return i},Iu[Di]=fA,Iu[Go]=function(e,t,n,r,a){for(var i=a||[],o=0;o<n.length;o++){var l=n[o].name,s=e[l];i[o]=s?s[r]:null}return i},Iu[Ii]=fA,Iu);function Sj(e,t){var n=qMe[f8(e,t)];return n}var dA=function(e,t,n){return e.length},GMe=(Du={},Du[Jr+"_"+Io]=function(e,t,n){return Math.max(0,e.length-t)},Du[Jr+"_"+gh]=function(e,t,n){var r=e[0];return r?Math.max(0,r.length-t):0},Du[Di]=dA,Du[Go]=function(e,t,n){var r=n[0].name,a=e[r];return a?a.length:0},Du[Ii]=dA,Du);function Cj(e,t){var n=GMe[f8(e,t)];return n}var m_=function(e,t,n){return e[t]},WMe=(Lu={},Lu[Jr]=m_,Lu[Di]=function(e,t,n){return e[n]},Lu[Go]=m_,Lu[Ii]=function(e,t,n){var r=sh(e);return r instanceof Array?r[t]:r},Lu[Ps]=m_,Lu);function Tj(e){var t=WMe[e];return t}function f8(e,t){return e===Jr?e+"_"+t:e}function $d(e,t,n){if(e){var r=e.getRawDataItem(t);if(r!=null){var a=e.getStore(),i=a.getSource().sourceFormat;if(n!=null){var o=e.getDimensionIndex(n),l=a.getDimensionProperty(o);return Tj(i)(r,o,l)}else{var s=r;return i===Ii&&(s=sh(r)),s}}}}var UMe=/\{@(.+?)\}/g,h3=function(){function e(){}return e.prototype.getDataParams=function(t,n){var r=this.getData(n),a=this.getRawValue(t,n),i=r.getRawIndex(t),o=r.getName(t),l=r.getRawDataItem(t),s=r.getItemVisual(t,"style"),u=s&&s[r.getItemVisual(t,"drawType")||"fill"],c=s&&s.stroke,f=this.mainType,d=f==="series",h=r.userOutput&&r.userOutput.get();return{componentType:f,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:d?this.subType:null,seriesIndex:this.seriesIndex,seriesId:d?this.id:null,seriesName:d?this.name:null,name:o,dataIndex:i,data:l,dataType:n,value:a,color:u,borderColor:c,dimensionNames:h?h.fullDimensions:null,encode:h?h.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(t,n,r,a,i,o){n=n||"normal";var l=this.getData(r),s=this.getDataParams(t,r);if(o&&(s.value=o.interpolatedValue),a!=null&&He(s.value)&&(s.value=s.value[a]),!i){var u=l.getItemModel(t);i=u.get(n==="normal"?["label","formatter"]:[n,"label","formatter"])}if(yt(i))return s.status=n,s.dimensionIndex=a,i(s);if(it(i)){var c=oj(i,s);return c.replace(UMe,function(f,d){var h=d.length,v=d;v.charAt(0)==="["&&v.charAt(h-1)==="]"&&(v=+v.slice(1,h-1));var p=$d(l,t,v);if(o&&He(o.interpolatedValue)){var g=l.getDimensionIndex(v);g>=0&&(p=o.interpolatedValue[g])}return p!=null?p+"":""})}},e.prototype.getRawValue=function(t,n){return $d(this.getData(n),t)},e.prototype.formatTooltip=function(t,n,r){},e}();function hA(e){var t,n;return wt(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Zv(e){return new YMe(e)}var YMe=function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var a=this.context;a.data=a.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var i;this._plan&&!r&&(i=this._plan(this.context));var o=c(this._modBy),l=this._modDataCount||0,s=c(t&&t.modBy),u=t&&t.modDataCount||0;(o!==s||l!==u)&&(i="reset");function c(b){return!(b>=1)&&(b=1),b}var f;(this._dirty||i==="reset")&&(this._dirty=!1,f=this._doReset(r)),this._modBy=s,this._modDataCount=u;var d=t&&t.step;if(n?this._dueEnd=n._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var h=this._dueIndex,v=Math.min(d!=null?this._dueIndex+d:1/0,this._dueEnd);if(!r&&(f||h<v)){var p=this._progress;if(He(p))for(var g=0;g<p.length;g++)this._doProgress(p[g],h,v,s,u);else this._doProgress(p,h,v,s,u)}this._dueIndex=v;var m=this._settedOutputEnd!=null?this._settedOutputEnd:v;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(t,n,r,a,i){vA.reset(n,r,a,i),this._callingProgress=t,this._callingProgress({start:n,end:r,count:r-n,next:vA.next},this.context)},e.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var n,r;!t&&this._reset&&(n=this._reset(this.context),n&&n.progress&&(r=n.forceFirstProgress,n=n.progress),He(n)&&!n.length&&(n=null)),this._progress=n,this._modBy=this._modDataCount=null;var a=this._downstream;return a&&a.dirty(),r},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e}(),vA=function(){var e,t,n,r,a,i={reset:function(s,u,c,f){t=s,e=u,n=c,r=f,a=Math.ceil(r/n),i.next=n>1&&r>0?l:o}};return i;function o(){return t<e?t++:null}function l(){var s=t%a*n+Math.ceil(t/a),u=t>=e?null:s<r?s:t;return t++,u}}();function Rs(e,t){var n=t&&t.type;return n==="ordinal"?e:(n==="time"&&!ln(e)&&e!=null&&e!=="-"&&(e=+Bo(e)),e==null||e===""?NaN:Number(e))}var KMe=pt({number:function(e){return parseFloat(e)},time:function(e){return+Bo(e)},trim:function(e){return it(e)?qi(e):e}});function kj(e){return KMe.get(e)}var zj={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},XMe=function(){function e(t,n){if(!ln(n)){var r="";pn(r)}this._opFn=zj[t],this._rvalFloat=Tl(n)}return e.prototype.evaluate=function(t){return ln(t)?this._opFn(t,this._rvalFloat):this._opFn(Tl(t),this._rvalFloat)},e}(),Mj=function(){function e(t,n){var r=t==="desc";this._resultLT=r?1:-1,n==null&&(n=r?"min":"max"),this._incomparable=n==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,n){var r=ln(t)?t:Tl(t),a=ln(n)?n:Tl(n),i=isNaN(r),o=isNaN(a);if(i&&(r=this._incomparable),o&&(a=this._incomparable),i&&o){var l=it(t),s=it(n);l&&(r=s?t:0),s&&(a=l?n:0)}return r<a?this._resultLT:r>a?-this._resultLT:0},e}(),ZMe=function(){function e(t,n){this._rval=n,this._isEQ=t,this._rvalTypeof=typeof n,this._rvalFloat=Tl(n)}return e.prototype.evaluate=function(t){var n=t===this._rval;if(!n){var r=typeof t;r!==this._rvalTypeof&&(r==="number"||this._rvalTypeof==="number")&&(n=Tl(t)===this._rvalFloat)}return this._isEQ?n:!n},e}();function JMe(e,t){return e==="eq"||e==="ne"?new ZMe(e==="eq",t):ht(zj,e)?new XMe(e,t):null}var QMe=function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,n){},e.prototype.retrieveValueFromItem=function(t,n){},e.prototype.convertValue=function(t,n){return Rs(t,n)},e}();function eAe(e,t){var n=new QMe,r=e.data,a=n.sourceFormat=e.sourceFormat,i=e.startIndex,o="";e.seriesLayoutBy!==Io&&pn(o);var l=[],s={},u=e.dimensionsDefine;if(u)K(u,function(p,g){var m=p.name,b={index:g,name:m,displayName:p.displayName};if(l.push(b),m!=null){var _="";ht(s,m)&&pn(_),s[m]=b}});else for(var c=0;c<e.dimensionsDetectedCount;c++)l.push({index:c});var f=Sj(a,Io);t.__isBuiltIn&&(n.getRawDataItem=function(p){return f(r,i,l,p)},n.getRawData=lt(tAe,null,e)),n.cloneRawData=lt(nAe,null,e);var d=Cj(a,Io);n.count=lt(d,null,r,i,l);var h=Tj(a);n.retrieveValue=function(p,g){var m=f(r,i,l,p);return v(m,g)};var v=n.retrieveValueFromItem=function(p,g){if(p!=null){var m=l[g];if(m)return h(p,g,m.name)}};return n.getDimensionInfo=lt(rAe,null,l,s),n.cloneAllDimensionInfo=lt(aAe,null,l),n}function tAe(e){var t=e.sourceFormat;if(!d8(t)){var n="";pn(n)}return e.data}function nAe(e){var t=e.sourceFormat,n=e.data;if(!d8(t)){var r="";pn(r)}if(t===Jr){for(var a=[],i=0,o=n.length;i<o;i++)a.push(n[i].slice());return a}else if(t===Di){for(var a=[],i=0,o=n.length;i<o;i++)a.push($e({},n[i]));return a}}function rAe(e,t,n){if(n!=null){if(ln(n)||!isNaN(n)&&!ht(t,n))return e[n];if(ht(t,n))return t[n]}}function aAe(e){return kt(e)}var Aj=pt();function iAe(e){e=kt(e);var t=e.type,n="";t||pn(n);var r=t.split(":");r.length!==2&&pn(n);var a=!1;r[0]==="echarts"&&(t=r[1],a=!0),e.__isBuiltIn=a,Aj.set(t,e)}function oAe(e,t,n){var r=Cn(e),a=r.length,i="";a||pn(i);for(var o=0,l=a;o<l;o++){var s=r[o];t=lAe(s,t),o!==l-1&&(t.length=Math.max(t.length,1))}return t}function lAe(e,t,n,r){var a="";t.length||pn(a),wt(e)||pn(a);var i=e.type,o=Aj.get(i);o||pn(a);var l=Ge(t,function(u){return eAe(u,o)}),s=Cn(o.transform({upstream:l[0],upstreamList:l,config:kt(e.config)}));return Ge(s,function(u,c){var f="";wt(u)||pn(f),u.data||pn(f);var d=_j(u.data);d8(d)||pn(f);var h,v=t[0];if(v&&c===0&&!u.dimensions){var p=v.startIndex;p&&(u.data=v.data.slice(0,p).concat(u.data)),h={seriesLayoutBy:Io,sourceHeader:p,dimensions:v.metaRawOption.dimensions}}else h={seriesLayoutBy:Io,sourceHeader:0,dimensions:u.dimensions};return ix(u.data,h,null)})}function d8(e){return e===Jr||e===Di}var v3="undefined",sAe=typeof Uint32Array===v3?Array:Uint32Array,uAe=typeof Uint16Array===v3?Array:Uint16Array,Ej=typeof Int32Array===v3?Array:Int32Array,pA=typeof Float64Array===v3?Array:Float64Array,Ij={float:pA,int:Ej,ordinal:Array,number:Array,time:pA},y_;function Hh(e){return e>65535?sAe:uAe}function _f(){return[1/0,-1/0]}function cAe(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function gA(e,t,n,r,a){var i=Ij[n||"float"];if(a){var o=e[t],l=o&&o.length;if(l!==r){for(var s=new i(r),u=0;u<l;u++)s[u]=o[u];e[t]=s}}else e[t]=new i(r)}var ox=function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=pt()}return e.prototype.initData=function(t,n,r){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var a=t.getSource(),i=this.defaultDimValueGetter=y_[a.sourceFormat];this._dimValueGetter=r||i,this._rawExtent=[],wj(a),this._dimensions=Ge(n,function(o){return{type:o.type,property:o.property}}),this._initDataFromProvider(0,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,n){var r=this._calcDimNameToIdx,a=this._dimensions,i=r.get(t);if(i!=null){if(a[i].type===n)return i}else i=a.length;return a[i]={type:n},r.set(t,i),this._chunks[i]=new Ij[n||"float"](this._rawCount),this._rawExtent[i]=_f(),i},e.prototype.collectOrdinalMeta=function(t,n){var r=this._chunks[t],a=this._dimensions[t],i=this._rawExtent,o=a.ordinalOffset||0,l=r.length;o===0&&(i[t]=_f());for(var s=i[t],u=o;u<l;u++){var c=r[u]=n.parseAndCollect(r[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}a.ordinalMeta=n,a.ordinalOffset=l,a.type="ordinal"},e.prototype.getOrdinalMeta=function(t){var n=this._dimensions[t],r=n.ordinalMeta;return r},e.prototype.getDimensionProperty=function(t){var n=this._dimensions[t];return n&&n.property},e.prototype.appendData=function(t){var n=this._provider,r=this.count();n.appendData(t);var a=n.count();return n.persistent||(a+=r),r<a&&this._initDataFromProvider(r,a,!0),[r,a]},e.prototype.appendValues=function(t,n){for(var r=this._chunks,a=this._dimensions,i=a.length,o=this._rawExtent,l=this.count(),s=l+Math.max(t.length,n||0),u=0;u<i;u++){var c=a[u];gA(r,u,c.type,s,!0)}for(var f=[],d=l;d<s;d++)for(var h=d-l,v=0;v<i;v++){var c=a[v],p=y_.arrayRows.call(this,t[h]||f,c.property,h,v);r[v][d]=p;var g=o[v];p<g[0]&&(g[0]=p),p>g[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:l,end:s}},e.prototype._initDataFromProvider=function(t,n,r){for(var a=this._provider,i=this._chunks,o=this._dimensions,l=o.length,s=this._rawExtent,u=Ge(o,function(b){return b.property}),c=0;c<l;c++){var f=o[c];s[c]||(s[c]=_f()),gA(i,c,f.type,n,r)}if(a.fillStorage)a.fillStorage(t,n,i,s);else for(var d=[],h=t;h<n;h++){d=a.getItem(h,d);for(var v=0;v<l;v++){var p=i[v],g=this._dimValueGetter(d,u[v],h,v);p[h]=g;var m=s[v];g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}!a.persistent&&a.clean&&a.clean(),this._rawCount=this._count=n,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,n){if(!(n>=0&&n<this._count))return NaN;var r=this._chunks[t];return r?r[this.getRawIndex(n)]:NaN},e.prototype.getValues=function(t,n){var r=[],a=[];if(n==null){n=t,t=[];for(var i=0;i<this._dimensions.length;i++)a.push(i)}else a=t;for(var i=0,o=a.length;i<o;i++)r.push(this.get(a[i],n));return r},e.prototype.getByRawIndex=function(t,n){if(!(n>=0&&n<this._rawCount))return NaN;var r=this._chunks[t];return r?r[n]:NaN},e.prototype.getSum=function(t){var n=this._chunks[t],r=0;if(n)for(var a=0,i=this.count();a<i;a++){var o=this.get(t,a);isNaN(o)||(r+=o)}return r},e.prototype.getMedian=function(t){var n=[];this.each([t],function(i){isNaN(i)||n.push(i)});var r=n.sort(function(i,o){return i-o}),a=this.count();return a===0?0:a%2===1?r[(a-1)/2]:(r[a/2]+r[a/2-1])/2},e.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var n=this._indices,r=n[t];if(r!=null&&r<this._count&&r===t)return t;for(var a=0,i=this._count-1;a<=i;){var o=(a+i)/2|0;if(n[o]<t)a=o+1;else if(n[o]>t)i=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,n,r){var a=this._chunks,i=a[t],o=[];if(!i)return o;r==null&&(r=1/0);for(var l=1/0,s=-1,u=0,c=0,f=this.count();c<f;c++){var d=this.getRawIndex(c),h=n-i[d],v=Math.abs(h);v<=r&&((v<l||v===l&&h>=0&&s<0)&&(l=v,s=h,u=0),h===s&&(o[u++]=c))}return o.length=u,o},e.prototype.getIndices=function(){var t,n=this._indices;if(n){var r=n.constructor,a=this._count;if(r===Array){t=new r(a);for(var i=0;i<a;i++)t[i]=n[i]}else t=new r(n.buffer,0,a)}else{var r=Hh(this._rawCount);t=new r(this.count());for(var i=0;i<t.length;i++)t[i]=i}return t},e.prototype.filter=function(t,n){if(!this._count)return this;for(var r=this.clone(),a=r.count(),i=Hh(r._rawCount),o=new i(a),l=[],s=t.length,u=0,c=t[0],f=r._chunks,d=0;d<a;d++){var h=void 0,v=r.getRawIndex(d);if(s===0)h=n(d);else if(s===1){var p=f[c][v];h=n(p,d)}else{for(var g=0;g<s;g++)l[g]=f[t[g]][v];l[g]=d,h=n.apply(null,l)}h&&(o[u++]=v)}return u<a&&(r._indices=o),r._count=u,r._extent=[],r._updateGetRawIdx(),r},e.prototype.selectRange=function(t){var n=this.clone(),r=n._count;if(!r)return this;var a=tn(t),i=a.length;if(!i)return this;var o=n.count(),l=Hh(n._rawCount),s=new l(o),u=0,c=a[0],f=t[c][0],d=t[c][1],h=n._chunks,v=!1;if(!n._indices){var p=0;if(i===1){for(var g=h[a[0]],m=0;m<r;m++){var b=g[m];(b>=f&&b<=d||isNaN(b))&&(s[u++]=p),p++}v=!0}else if(i===2){for(var g=h[a[0]],_=h[a[1]],w=t[a[1]][0],x=t[a[1]][1],m=0;m<r;m++){var b=g[m],S=_[m];(b>=f&&b<=d||isNaN(b))&&(S>=w&&S<=x||isNaN(S))&&(s[u++]=p),p++}v=!0}}if(!v)if(i===1)for(var m=0;m<o;m++){var C=n.getRawIndex(m),b=h[a[0]][C];(b>=f&&b<=d||isNaN(b))&&(s[u++]=C)}else for(var m=0;m<o;m++){for(var T=!0,C=n.getRawIndex(m),z=0;z<i;z++){var A=a[z],b=h[A][C];(b<t[A][0]||b>t[A][1])&&(T=!1)}T&&(s[u++]=n.getRawIndex(m))}return u<o&&(n._indices=s),n._count=u,n._extent=[],n._updateGetRawIdx(),n},e.prototype.map=function(t,n){var r=this.clone(t);return this._updateDims(r,t,n),r},e.prototype.modify=function(t,n){this._updateDims(this,t,n)},e.prototype._updateDims=function(t,n,r){for(var a=t._chunks,i=[],o=n.length,l=t.count(),s=[],u=t._rawExtent,c=0;c<n.length;c++)u[n[c]]=_f();for(var f=0;f<l;f++){for(var d=t.getRawIndex(f),h=0;h<o;h++)s[h]=a[n[h]][d];s[o]=f;var v=r&&r.apply(null,s);if(v!=null){typeof v!="object"&&(i[0]=v,v=i);for(var c=0;c<v.length;c++){var p=n[c],g=v[c],m=u[p],b=a[p];b&&(b[d]=g),g<m[0]&&(m[0]=g),g>m[1]&&(m[1]=g)}}}},e.prototype.lttbDownSample=function(t,n){var r=this.clone([t],!0),a=r._chunks,i=a[t],o=this.count(),l=0,s=Math.floor(1/n),u=this.getRawIndex(0),c,f,d,h=new(Hh(this._rawCount))(Math.min((Math.ceil(o/s)+2)*2,o));h[l++]=u;for(var v=1;v<o-1;v+=s){for(var p=Math.min(v+s,o-1),g=Math.min(v+s*2,o),m=(g+p)/2,b=0,_=p;_<g;_++){var w=this.getRawIndex(_),x=i[w];isNaN(x)||(b+=x)}b/=g-p;var S=v,C=Math.min(v+s,o),T=v-1,z=i[u];c=-1,d=S;for(var A=-1,E=0,_=S;_<C;_++){var w=this.getRawIndex(_),x=i[w];if(isNaN(x)){E++,A<0&&(A=w);continue}f=Math.abs((T-m)*(x-z)-(T-_)*(b-z)),f>c&&(c=f,d=w)}E>0&&E<C-S&&(h[l++]=Math.min(A,d),d=Math.max(A,d)),h[l++]=d,u=d}return h[l++]=this.getRawIndex(o-1),r._count=l,r._indices=h,r.getRawIndex=this._getRawIdx,r},e.prototype.downSample=function(t,n,r,a){for(var i=this.clone([t],!0),o=i._chunks,l=[],s=Math.floor(1/n),u=o[t],c=this.count(),f=i._rawExtent[t]=_f(),d=new(Hh(this._rawCount))(Math.ceil(c/s)),h=0,v=0;v<c;v+=s){s>c-v&&(s=c-v,l.length=s);for(var p=0;p<s;p++){var g=this.getRawIndex(v+p);l[p]=u[g]}var m=r(l),b=this.getRawIndex(Math.min(v+a(l,m)||0,c-1));u[b]=m,m<f[0]&&(f[0]=m),m>f[1]&&(f[1]=m),d[h++]=b}return i._count=h,i._indices=d,i._updateGetRawIdx(),i},e.prototype.each=function(t,n){if(this._count)for(var r=t.length,a=this._chunks,i=0,o=this.count();i<o;i++){var l=this.getRawIndex(i);switch(r){case 0:n(i);break;case 1:n(a[t[0]][l],i);break;case 2:n(a[t[0]][l],a[t[1]][l],i);break;default:for(var s=0,u=[];s<r;s++)u[s]=a[t[s]][l];u[s]=i,n.apply(null,u)}}},e.prototype.getDataExtent=function(t){var n=this._chunks[t],r=_f();if(!n)return r;var a=this.count(),i=!this._indices,o;if(i)return this._rawExtent[t].slice();if(o=this._extent[t],o)return o.slice();o=r;for(var l=o[0],s=o[1],u=0;u<a;u++){var c=this.getRawIndex(u),f=n[c];f<l&&(l=f),f>s&&(s=f)}return o=[l,s],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var n=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(n);for(var r=[],a=this._chunks,i=0;i<a.length;i++)r.push(a[i][n]);return r},e.prototype.clone=function(t,n){var r=new e,a=this._chunks,i=t&&No(t,function(l,s){return l[s]=!0,l},{});if(i)for(var o=0;o<a.length;o++)r._chunks[o]=i[o]?cAe(a[o]):a[o];else r._chunks=a;return this._copyCommonProps(r),n||(r._indices=this._cloneIndices()),r._updateGetRawIdx(),r},e.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=kt(this._extent),t._rawExtent=kt(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,n=void 0;if(t===Array){var r=this._indices.length;n=new t(r);for(var a=0;a<r;a++)n[a]=this._indices[a]}else n=new t(this._indices);return n}return null},e.prototype._getRawIdxIdentity=function(t){return t},e.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=function(){function t(n,r,a,i){return Rs(n[i],this._dimensions[i])}y_={arrayRows:t,objectRows:function(n,r,a,i){return Rs(n[r],this._dimensions[i])},keyedColumns:t,original:function(n,r,a,i){var o=n&&(n.value==null?n:n.value);return Rs(o instanceof Array?o[i]:o,this._dimensions[i])},typedArray:function(n,r,a,i){return n[i]}}}(),e}(),Dj=function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,n){this._sourceList=t,this._upstreamSignList=n,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,n=this._getUpstreamSourceManagers(),r=!!n.length,a,i;if(qg(t)){var o=t,l=void 0,s=void 0,u=void 0;if(r){var c=n[0];c.prepareSource(),u=c.getSource(),l=u.data,s=u.sourceFormat,i=[c._getVersionSign()]}else l=o.get("data",!0),s=Pa(l)?Ps:Ii,i=[];var f=this._getSourceMetaRawOption()||{},d=u&&u.metaRawOption||{},h=Ot(f.seriesLayoutBy,d.seriesLayoutBy)||null,v=Ot(f.sourceHeader,d.sourceHeader),p=Ot(f.dimensions,d.dimensions),g=h!==d.seriesLayoutBy||!!v!=!!d.sourceHeader||p;a=g?[ix(l,{seriesLayoutBy:h,sourceHeader:v,dimensions:p},s)]:[]}else{var m=t;if(r){var b=this._applyTransform(n);a=b.sourceList,i=b.upstreamSignList}else{var _=m.get("source",!0);a=[ix(_,this._getSourceMetaRawOption(),null)],i=[]}}this._setLocalSource(a,i)},e.prototype._applyTransform=function(t){var n=this._sourceHost,r=n.get("transform",!0),a=n.get("fromTransformResult",!0);if(a!=null){var i="";t.length!==1&&yA(i)}var o,l=[],s=[];return K(t,function(u){u.prepareSource();var c=u.getSource(a||0),f="";a!=null&&!c&&yA(f),l.push(c),s.push(u._getVersionSign())}),r?o=oAe(r,l,{datasetIndex:n.componentIndex}):a!=null&&(o=[FMe(l[0])]),{sourceList:o,upstreamSignList:s}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),n=0;n<t.length;n++){var r=t[n];if(r._isDirty()||this._upstreamSignList[n]!==r._getVersionSign())return!0}},e.prototype.getSource=function(t){t=t||0;var n=this._sourceList[t];if(!n){var r=this._getUpstreamSourceManagers();return r[0]&&r[0].getSource(t)}return n},e.prototype.getSharedDataStore=function(t){var n=t.makeStoreSchema();return this._innerGetDataStore(n.dimensions,t.source,n.hash)},e.prototype._innerGetDataStore=function(t,n,r){var a=0,i=this._storeList,o=i[a];o||(o=i[a]={});var l=o[r];if(!l){var s=this._getUpstreamSourceManagers()[0];qg(this._sourceHost)&&s?l=s._innerGetDataStore(t,n,r):(l=new ox,l.initData(new xj(n,t.length),t)),o[r]=l}return l},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(qg(t)){var n=o8(t);return n?[n.getSourceManager()]:[]}else return Ge(gMe(t),function(r){return r.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,n,r,a;if(qg(t))n=t.get("seriesLayoutBy",!0),r=t.get("sourceHeader",!0),a=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=t;n=i.get("seriesLayoutBy",!0),r=i.get("sourceHeader",!0),a=i.get("dimensions",!0)}return{seriesLayoutBy:n,sourceHeader:r,dimensions:a}},e}();function mA(e){var t=e.option.transform;t&&rm(e.option.transform)}function qg(e){return e.mainType==="series"}function yA(e){throw new Error(e)}var Lj="line-height:1";function Pj(e,t){var n=e.color||"#6e7079",r=e.fontSize||12,a=e.fontWeight||"400",i=e.color||"#464646",o=e.fontSize||14,l=e.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+Ta(r+"")+"px;color:"+Ta(n)+";font-weight:"+Ta(a+""),valueStyle:"font-size:"+Ta(o+"")+"px;color:"+Ta(i)+";font-weight:"+Ta(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:a},valueStyle:{fontSize:o,fill:i,fontWeight:l}}}var fAe=[0,10,20,30],dAe=["",`
  107. `,`
  108. `,`
  109. `];function Cr(e,t){return t.type=e,t}function lx(e){return e.type==="section"}function Rj(e){return lx(e)?hAe:vAe}function Oj(e){if(lx(e)){var t=0,n=e.blocks.length,r=n>1||n>0&&!e.noHeader;return K(e.blocks,function(a){var i=Oj(a);i>=t&&(t=i+ +(r&&(!i||lx(a)&&!a.noHeader)))}),t}return 0}function hAe(e,t,n,r){var a=t.noHeader,i=pAe(Oj(t)),o=[],l=t.blocks||[];ha(!l||He(l)),l=l||[];var s=e.orderMode;if(t.sortBlocks&&s){l=l.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(ht(u,s)){var c=new Mj(u[s],null);l.sort(function(v,p){return c.evaluate(v.sortParam,p.sortParam)})}else s==="seriesDesc"&&l.reverse()}K(l,function(v,p){var g=t.valueFormatter,m=Rj(v)(g?$e($e({},e),{valueFormatter:g}):e,v,p>0?i.html:0,r);m!=null&&o.push(m)});var f=e.renderMode==="richText"?o.join(i.richText):sx(o.join(""),a?n:i.html);if(a)return f;var d=nx(t.header,"ordinal",e.useUTC),h=Pj(r,e.renderMode).nameStyle;return e.renderMode==="richText"?Nj(e,d,h)+i.richText+f:sx('<div style="'+h+";"+Lj+';">'+Ta(d)+"</div>"+f,n)}function vAe(e,t,n,r){var a=e.renderMode,i=t.noName,o=t.noValue,l=!t.markerType,s=t.name,u=e.useUTC,c=t.valueFormatter||e.valueFormatter||function(w){return w=He(w)?w:[w],Ge(w,function(x,S){return nx(x,He(h)?h[S]:h,u)})};if(!(i&&o)){var f=l?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",a),d=i?"":nx(s,"ordinal",u),h=t.valueType,v=o?[]:c(t.value,t.dataIndex),p=!l||!i,g=!l&&i,m=Pj(r,a),b=m.nameStyle,_=m.valueStyle;return a==="richText"?(l?"":f)+(i?"":Nj(e,d,b))+(o?"":yAe(e,v,p,g,_)):sx((l?"":f)+(i?"":gAe(d,!l,b))+(o?"":mAe(v,p,g,_)),n)}}function bA(e,t,n,r,a,i){if(e){var o=Rj(e),l={useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(l,e,0,i)}}function pAe(e){return{html:fAe[e],richText:dAe[e]}}function sx(e,t){var n='<div style="clear:both"></div>',r="margin: "+t+"px 0 0";return'<div style="'+r+";"+Lj+';">'+e+n+"</div>"}function gAe(e,t,n){var r=t?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+Ta(e)+"</span>"}function mAe(e,t,n,r){var a=n?"10px":"20px",i=t?"float:right;margin-left:"+a:"";return e=He(e)?e:[e],'<span style="'+i+";"+r+'">'+Ge(e,function(o){return Ta(o)}).join("&nbsp;&nbsp;")+"</span>"}function Nj(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function yAe(e,t,n,r,a){var i=[a],o=r?10:20;return n&&i.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(He(t)?t.join(" "):t,i)}function $j(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Fc(r)}function Vj(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var b_=function(){function e(){this.richTextStyles={},this._nextStyleNameId=JF()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,n,r){var a=r==="richText"?this._generateStyleName():null,i=uMe({color:n,type:t,renderMode:r,markerId:a});return it(i)?i:(this.richTextStyles[a]=i.style,i.content)},e.prototype.wrapRichTextStyle=function(t,n){var r={};He(n)?K(n,function(i){return $e(r,i)}):$e(r,n);var a=this._generateStyleName();return this.richTextStyles[a]=r,"{"+a+"|"+t+"}"},e}();function Bj(e){var t=e.series,n=e.dataIndex,r=e.multipleSeries,a=t.getData(),i=a.mapDimensionsAll("defaultedTooltip"),o=i.length,l=t.getRawValue(n),s=He(l),u=$j(t,n),c,f,d,h;if(o>1||s&&!o){var v=bAe(l,t,n,i,u);c=v.inlineValues,f=v.inlineValueTypes,d=v.blocks,h=v.inlineValues[0]}else if(o){var p=a.getDimensionInfo(i[0]);h=c=$d(a,n,i[0]),f=p.type}else h=c=s?l[0]:l;var g=N6(t),m=g&&t.name||"",b=a.getName(n),_=r?m:b;return Cr("section",{header:m,noHeader:r||!g,sortParam:h,blocks:[Cr("nameValue",{markerType:"item",markerColor:u,name:_,noName:!qi(_),value:c,valueType:f,dataIndex:n})].concat(d||[])})}function bAe(e,t,n,r,a){var i=t.getData(),o=No(e,function(f,d,h){var v=i.getDimensionInfo(h);return f=f||v&&v.tooltip!==!1&&v.displayName!=null},!1),l=[],s=[],u=[];r.length?K(r,function(f){c($d(i,n,f),f)}):K(e,c);function c(f,d){var h=i.getDimensionInfo(d);!h||h.otherDims.tooltip===!1||(o?u.push(Cr("nameValue",{markerType:"subItem",markerColor:a,name:h.displayName,value:f,valueType:h.type})):(l.push(f),s.push(h.type)))}return{inlineValues:l,inlineValueTypes:s,blocks:u}}var Zl=an();function Gg(e,t){return e.getName(t)||e.getId(t)}var m2="__universalTransitionEnabled",Ln=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._selectedDataIndicesMap={},n}return t.prototype.init=function(n,r,a){this.seriesIndex=this.componentIndex,this.dataTask=Zv({count:wAe,reset:xAe}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,a);var i=Zl(this).sourceManager=new Dj(this);i.prepareSource();var o=this.getInitialData(n,a);wA(o,this),this.dataTask.context.data=o,Zl(this).dataBeforeProcessed=o,_A(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(n,r){var a=H1(this),i=a?ph(n):{},o=this.subType;Qt.hasClass(o)&&(o+="Series"),jt(n,r.getTheme().get(this.subType)),jt(n,this.getDefaultOption()),Nc(n,"label",["show"]),this.fillDataTextStyle(n.data),a&&Xs(n,i,a)},t.prototype.mergeOption=function(n,r){n=jt(this.option,n,!0),this.fillDataTextStyle(n.data);var a=H1(this);a&&Xs(this.option,n,a);var i=Zl(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(n,r);wA(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Zl(this).dataBeforeProcessed=o,_A(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(n){if(n&&!Pa(n))for(var r=["show"],a=0;a<n.length;a++)n[a]&&n[a].label&&Nc(n[a],"label",r)},t.prototype.getInitialData=function(n,r){},t.prototype.appendData=function(n){var r=this.getRawData();r.appendData(n.data)},t.prototype.getData=function(n){var r=ux(this);if(r){var a=r.context.data;return n==null||!a.getLinkedData?a:a.getLinkedData(n)}else return Zl(this).data},t.prototype.getAllData=function(){var n=this.getData();return n&&n.getLinkedDataAll?n.getLinkedDataAll():[{data:n}]},t.prototype.setData=function(n){var r=ux(this);if(r){var a=r.context;a.outputData=n,r!==this.dataTask&&(a.data=n)}Zl(this).data=n},t.prototype.getEncode=function(){var n=this.get("encode",!0);if(n)return pt(n)},t.prototype.getSourceManager=function(){return Zl(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return Zl(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var n=this.get("colorBy");return n||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var n=this.coordinateSystem;return n&&n.getBaseAxis&&n.getBaseAxis()},t.prototype.formatTooltip=function(n,r,a){return Bj({series:this,dataIndex:n,multipleSeries:r})},t.prototype.isAnimationEnabled=function(){var n=this.ecModel;if(Jt.node&&!(n&&n.ssr))return!1;var r=this.getShallow("animation");return r&&this.getData().count()>this.getShallow("animationThreshold")&&(r=!1),!!r},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(n,r,a){var i=this.ecModel,o=l8.prototype.getColorFromPalette.call(this,n,r,a);return o||(o=i.getColorFromPalette(n,r,a)),o},t.prototype.coordDimToDataDim=function(n){return this.getRawData().mapDimensionsAll(n)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(n,r){this._innerSelect(this.getData(r),n)},t.prototype.unselect=function(n,r){var a=this.option.selectedMap;if(a){var i=this.option.selectedMode,o=this.getData(r);if(i==="series"||a==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var l=0;l<n.length;l++){var s=n[l],u=Gg(o,s);a[u]=!1,this._selectedDataIndicesMap[u]=-1}}},t.prototype.toggleSelect=function(n,r){for(var a=[],i=0;i<n.length;i++)a[0]=n[i],this.isSelected(n[i],r)?this.unselect(a,r):this.select(a,r)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var n=this._selectedDataIndicesMap,r=tn(n),a=[],i=0;i<r.length;i++){var o=n[r[i]];o>=0&&a.push(o)}return a},t.prototype.isSelected=function(n,r){var a=this.option.selectedMap;if(!a)return!1;var i=this.getData(r);return(a==="all"||a[Gg(i,n)])&&!i.getItemModel(n).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[m2])return!0;var n=this.option.universalTransition;return n?n===!0?!0:n&&n.enabled:!1},t.prototype._innerSelect=function(n,r){var a,i,o=this.option,l=o.selectedMode,s=r.length;if(!(!l||!s)){if(l==="series")o.selectedMap="all";else if(l==="multiple"){wt(o.selectedMap)||(o.selectedMap={});for(var u=o.selectedMap,c=0;c<s;c++){var f=r[c],d=Gg(n,f);u[d]=!0,this._selectedDataIndicesMap[d]=n.getRawIndex(f)}}else if(l==="single"||l===!0){var h=r[s-1],d=Gg(n,h);o.selectedMap=(a={},a[d]=!0,a),this._selectedDataIndicesMap=(i={},i[d]=n.getRawIndex(h),i)}}},t.prototype._initSelectedMapFromData=function(n){if(!this.option.selectedMap){var r=[];n.hasItemOption&&n.each(function(a){var i=n.getRawDataItem(a);i&&i.selected&&r.push(a)}),r.length>0&&this._innerSelect(n,r)}},t.registerClass=function(n){return Qt.registerClass(n)},t.protoInitialize=function(){var n=t.prototype;n.type="series.__base__",n.seriesIndex=0,n.ignoreStyleOnData=!1,n.hasSymbolVisual=!1,n.defaultSymbol="circle",n.visualStyleAccessPath="itemStyle",n.visualDrawType="fill"}(),t}(Qt);sr(Ln,h3);sr(Ln,l8);lH(Ln,Qt);function _A(e){var t=e.name;N6(e)||(e.name=_Ae(e)||t)}function _Ae(e){var t=e.getRawData(),n=t.mapDimensionsAll("seriesName"),r=[];return K(n,function(a){var i=t.getDimensionInfo(a);i.displayName&&r.push(i.displayName)}),r.join(" ")}function wAe(e){return e.model.getRawData().count()}function xAe(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),SAe}function SAe(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function wA(e,t){K(am(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,$t(CAe,t))})}function CAe(e,t){var n=ux(e);return n&&n.setOutputEnd((t||this).count()),t}function ux(e){var t=(e.ecModel||{}).scheduler,n=t&&t.getPipeline(e.uid);if(n){var r=n.currentTask;if(r){var a=r.agentStubMap;a&&(r=a.get(e.uid))}return r}}var Hn=function(){function e(){this.group=new At,this.uid=hh("viewComponent")}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,a){},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,a){},e.prototype.updateLayout=function(t,n,r,a){},e.prototype.updateVisual=function(t,n,r,a){},e.prototype.toggleBlurSeries=function(t,n,r){},e.prototype.eachRendered=function(t){var n=this.group;n&&n.traverse(t)},e}();V6(Hn);Ky(Hn);function mh(){var e=an();return function(t){var n=e(t),r=t.pipelineContext,a=!!n.large,i=!!n.progressiveRender,o=n.large=!!(r&&r.large),l=n.progressiveRender=!!(r&&r.progressiveRender);return(a!==o||i!==l)&&"reset"}}var Fj=an(),TAe=mh(),zn=function(){function e(){this.group=new At,this.uid=hh("viewChart"),this.renderTask=Zv({plan:kAe,reset:zAe}),this.renderTask.context={view:this}}return e.prototype.init=function(t,n){},e.prototype.render=function(t,n,r,a){},e.prototype.highlight=function(t,n,r,a){var i=t.getData(a&&a.dataType);i&&SA(i,a,"emphasis")},e.prototype.downplay=function(t,n,r,a){var i=t.getData(a&&a.dataType);i&&SA(i,a,"normal")},e.prototype.remove=function(t,n){this.group.removeAll()},e.prototype.dispose=function(t,n){},e.prototype.updateView=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.updateLayout=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.updateVisual=function(t,n,r,a){this.render(t,n,r,a)},e.prototype.eachRendered=function(t){lu(this.group,t)},e.markUpdateMethod=function(t,n){Fj(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function xA(e,t,n){e&&V1(e)&&(t==="emphasis"?kl:zl)(e,n)}function SA(e,t,n){var r=$c(e,t),a=t&&t.highlightKey!=null?ize(t.highlightKey):null;r!=null?K(Cn(r),function(i){xA(e.getItemGraphicEl(i),n,a)}):e.eachItemGraphicEl(function(i){xA(i,n,a)})}V6(zn);Ky(zn);function kAe(e){return TAe(e.model)}function zAe(e){var t=e.model,n=e.ecModel,r=e.api,a=e.payload,i=t.pipelineContext.progressiveRender,o=e.view,l=a&&Fj(a).updateMethod,s=i?"incrementalPrepareRender":l&&o[l]?l:"render";return s!=="render"&&o[s](t,n,r,a),MAe[s]}var MAe={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},wm="\0__throttleOriginMethod",CA="\0__throttleRate",TA="\0__throttleType";function h8(e,t,n){var r,a=0,i=0,o=null,l,s,u,c;t=t||0;function f(){i=new Date().getTime(),o=null,e.apply(s,u||[])}var d=function(){for(var h=[],v=0;v<arguments.length;v++)h[v]=arguments[v];r=new Date().getTime(),s=this,u=h;var p=c||t,g=c||n;c=null,l=r-(g?a:i)-p,clearTimeout(o),g?o=setTimeout(f,p):l>=0?f():o=setTimeout(f,-l),a=r};return d.clear=function(){o&&(clearTimeout(o),o=null)},d.debounceNextCall=function(h){c=h},d}function yh(e,t,n,r){var a=e[t];if(a){var i=a[wm]||a,o=a[TA],l=a[CA];if(l!==n||o!==r){if(n==null||!r)return e[t]=i;a=e[t]=h8(i,n,r==="debounce"),a[wm]=i,a[TA]=r,a[CA]=n}return a}}function q1(e,t){var n=e[t];n&&n[wm]&&(n.clear&&n.clear(),e[t]=n[wm])}var kA=an(),zA={itemStyle:Vc(UH,!0),lineStyle:Vc(WH,!0)},AAe={lineStyle:"stroke",itemStyle:"fill"};function Hj(e,t){var n=e.visualStyleMapper||zA[t];return n||(console.warn("Unknown style type '"+t+"'."),zA.itemStyle)}function jj(e,t){var n=e.visualDrawType||AAe[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var EAe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=e.getModel(r),i=Hj(e,r),o=i(a),l=a.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var s=jj(e,r),u=o[s],c=yt(u)?u:null,f=o.fill==="auto"||o.stroke==="auto";if(!o[s]||c||f){var d=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[s]||(o[s]=d,n.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||yt(o.fill)?d:o.fill,o.stroke=o.stroke==="auto"||yt(o.stroke)?d:o.stroke}if(n.setVisual("style",o),n.setVisual("drawType",s),!t.isSeriesFiltered(e)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(h,v){var p=e.getDataParams(v),g=$e({},o);g[s]=c(p),h.setItemVisual(v,"style",g)}}}},jh=new yn,IAe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=Hj(e,r),i=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(o,l){var s=o.getRawDataItem(l);if(s&&s[r]){jh.option=s[r];var u=a(jh),c=o.ensureUniqueItemVisual(l,"style");$e(c,u),jh.option.decal&&(o.setItemVisual(l,"decal",jh.option.decal),jh.option.decal.dirty=!0),i in u&&o.setItemVisual(l,"colorFromPalette",!1)}}:null}}}},DAe={performRawSeries:!0,overallReset:function(e){var t=pt();e.eachSeries(function(n){var r=n.getColorBy();if(!n.isColorBySeries()){var a=n.type+"-"+r,i=t.get(a);i||(i={},t.set(a,i)),kA(n).scope=i}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),a={},i=n.getData(),o=kA(n).scope,l=n.visualStyleAccessPath||"itemStyle",s=jj(n,l);i.each(function(u){var c=i.getRawIndex(u);a[c]=u}),r.each(function(u){var c=a[u],f=i.getItemVisual(c,"colorFromPalette");if(f){var d=i.ensureUniqueItemVisual(c,"style"),h=r.getName(u)||u+"",v=r.count();d[s]=n.getColorFromPalette(h,o,v)}})}})}},Wg=Math.PI;function LAe(e,t){t=t||{},_t(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new At,r=new rn({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});n.add(r);var a=new on({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),i=new rn({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});n.add(i);var o;return t.showSpinner&&(o=new n3({shape:{startAngle:-Wg/2,endAngle:-Wg/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:Wg*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Wg*3/2}).delay(300).start("circularInOut"),n.add(o)),n.resize=function(){var l=a.getBoundingRect().width,s=t.showSpinner?t.spinnerRadius:0,u=(e.getWidth()-s*2-(t.showSpinner&&l?10:0)-l)/2-(t.showSpinner&&l?0:5+l/2)+(t.showSpinner?0:l/2)+(l?0:s),c=e.getHeight()/2;t.showSpinner&&o.setShape({cx:u,cy:c}),i.setShape({x:u-s,y:c-s,width:s*2,height:s*2}),r.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},n.resize(),n}var qj=function(){function e(t,n,r,a){this._stageTaskMap=pt(),this.ecInstance=t,this.api=n,r=this._dataProcessorHandlers=r.slice(),a=this._visualHandlers=a.slice(),this._allHandlers=r.concat(a)}return e.prototype.restoreData=function(t,n){t.restoreData(n),this._stageTaskMap.each(function(r){var a=r.overallTask;a&&a.dirty()})},e.prototype.getPerformArgs=function(t,n){if(t.__pipeline){var r=this._pipelineMap.get(t.__pipeline.id),a=r.context,i=!n&&r.progressiveEnabled&&(!a||a.progressiveRender)&&t.__idxInPipeline>r.blockIndex,o=i?r.step:null,l=a&&a.modDataCount,s=l!=null?Math.ceil(l/o):null;return{step:o,modBy:s,modDataCount:l}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,n){var r=this._pipelineMap.get(t.uid),a=t.getData(),i=a.count(),o=r.progressiveEnabled&&n.incrementalPrepareRender&&i>=r.threshold,l=t.get("large")&&i>=t.get("largeThreshold"),s=t.get("progressiveChunkMode")==="mod"?i:null;t.pipelineContext=r.context={progressiveRender:o,modDataCount:s,large:l}},e.prototype.restorePipelines=function(t){var n=this,r=n._pipelineMap=pt();t.eachSeries(function(a){var i=a.getProgressive(),o=a.uid;r.set(o,{id:o,head:null,tail:null,threshold:a.getProgressiveThreshold(),progressiveEnabled:i&&!(a.preventIncremental&&a.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),n._pipe(a,a.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,n=this.api.getModel(),r=this.api;K(this._allHandlers,function(a){var i=t.get(a.uid)||t.set(a.uid,{}),o="";ha(!(a.reset&&a.overallReset),o),a.reset&&this._createSeriesStageTask(a,i,n,r),a.overallReset&&this._createOverallStageTask(a,i,n,r)},this)},e.prototype.prepareView=function(t,n,r,a){var i=t.renderTask,o=i.context;o.model=n,o.ecModel=r,o.api=a,i.__block=!t.incrementalPrepareRender,this._pipe(n,i)},e.prototype.performDataProcessorTasks=function(t,n){this._performStageTasks(this._dataProcessorHandlers,t,n,{block:!0})},e.prototype.performVisualTasks=function(t,n,r){this._performStageTasks(this._visualHandlers,t,n,r)},e.prototype._performStageTasks=function(t,n,r,a){a=a||{};var i=!1,o=this;K(t,function(s,u){if(!(a.visualType&&a.visualType!==s.visualType)){var c=o._stageTaskMap.get(s.uid),f=c.seriesTaskMap,d=c.overallTask;if(d){var h,v=d.agentStubMap;v.each(function(g){l(a,g)&&(g.dirty(),h=!0)}),h&&d.dirty(),o.updatePayload(d,r);var p=o.getPerformArgs(d,a.block);v.each(function(g){g.perform(p)}),d.perform(p)&&(i=!0)}else f&&f.each(function(g,m){l(a,g)&&g.dirty();var b=o.getPerformArgs(g,a.block);b.skip=!s.performRawSeries&&n.isSeriesFiltered(g.context.model),o.updatePayload(g,r),g.perform(b)&&(i=!0)})}});function l(s,u){return s.setDirty&&(!s.dirtyMap||s.dirtyMap.get(u.__pipeline.id))}this.unfinished=i||this.unfinished},e.prototype.performSeriesTasks=function(t){var n;t.eachSeries(function(r){n=r.dataTask.perform()||n}),this.unfinished=n||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var n=t.tail;do{if(n.__block){t.blockIndex=n.__idxInPipeline;break}n=n.getUpstream()}while(n)})},e.prototype.updatePayload=function(t,n){n!=="remain"&&(t.context.payload=n)},e.prototype._createSeriesStageTask=function(t,n,r,a){var i=this,o=n.seriesTaskMap,l=n.seriesTaskMap=pt(),s=t.seriesType,u=t.getTargetSeries;t.createOnAllSeries?r.eachRawSeries(c):s?r.eachRawSeriesByType(s,c):u&&u(r,a).each(c);function c(f){var d=f.uid,h=l.set(d,o&&o.get(d)||Zv({plan:$Ae,reset:VAe,count:FAe}));h.context={model:f,ecModel:r,api:a,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(f,h)}},e.prototype._createOverallStageTask=function(t,n,r,a){var i=this,o=n.overallTask=n.overallTask||Zv({reset:PAe});o.context={ecModel:r,api:a,overallReset:t.overallReset,scheduler:i};var l=o.agentStubMap,s=o.agentStubMap=pt(),u=t.seriesType,c=t.getTargetSeries,f=!0,d=!1,h="";ha(!t.createOnAllSeries,h),u?r.eachRawSeriesByType(u,v):c?c(r,a).each(v):(f=!1,K(r.getSeries(),v));function v(p){var g=p.uid,m=s.set(g,l&&l.get(g)||(d=!0,Zv({reset:RAe,onDirty:NAe})));m.context={model:p,overallProgress:f},m.agent=o,m.__block=f,i._pipe(p,m)}d&&o.dirty()},e.prototype._pipe=function(t,n){var r=t.uid,a=this._pipelineMap.get(r);!a.head&&(a.head=n),a.tail&&a.tail.pipe(n),a.tail=n,n.__idxInPipeline=a.count++,n.__pipeline=a},e.wrapStageHandler=function(t,n){return yt(t)&&(t={overallReset:t,seriesType:HAe(t)}),t.uid=hh("stageHandler"),n&&(t.visualType=n),t},e}();function PAe(e){e.overallReset(e.ecModel,e.api,e.payload)}function RAe(e){return e.overallProgress&&OAe}function OAe(){this.agent.dirty(),this.getDownstream().dirty()}function NAe(){this.agent&&this.agent.dirty()}function $Ae(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function VAe(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=Cn(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Ge(t,function(n,r){return Gj(r)}):BAe}var BAe=Gj(0);function Gj(e){return function(t,n){var r=n.data,a=n.resetDefines[e];if(a&&a.dataEach)for(var i=t.start;i<t.end;i++)a.dataEach(r,i);else a&&a.progress&&a.progress(t,r)}}function FAe(e){return e.data.count()}function HAe(e){xm=null;try{e(G1,Wj)}catch{}return xm}var G1={},Wj={},xm;Uj(G1,s8);Uj(Wj,mj);G1.eachSeriesByType=G1.eachRawSeriesByType=function(e){xm=e};G1.eachComponent=function(e){e.mainType==="series"&&e.subType&&(xm=e.subType)};function Uj(e,t){for(var n in t.prototype)e[n]=er}var MA=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const jAe={color:MA,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],MA]};var ra="#B9B8CE",AA="#100C2A",Ug=function(){return{axisLine:{lineStyle:{color:ra}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},EA=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Yj={darkMode:!0,color:EA,backgroundColor:AA,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:ra}},textStyle:{color:ra},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:ra}},dataZoom:{borderColor:"#71708A",textStyle:{color:ra},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:ra}},timeline:{lineStyle:{color:ra},label:{color:ra},controlStyle:{color:ra,borderColor:ra}},calendar:{itemStyle:{color:AA},dayLabel:{color:ra},monthLabel:{color:ra},yearLabel:{color:ra}},timeAxis:Ug(),logAxis:Ug(),valueAxis:Ug(),categoryAxis:Ug(),line:{symbol:"circle"},graph:{color:EA},gauge:{title:{color:ra},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:ra},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};Yj.categoryAxis.splitLine.show=!1;var qAe=function(){function e(){}return e.prototype.normalizeQuery=function(t){var n={},r={},a={};if(it(t)){var i=ko(t);n.mainType=i.main||null,n.subType=i.sub||null}else{var o=["Index","Name","Id"],l={name:1,dataIndex:1,dataType:1};K(t,function(s,u){for(var c=!1,f=0;f<o.length;f++){var d=o[f],h=u.lastIndexOf(d);if(h>0&&h===u.length-d.length){var v=u.slice(0,h);v!=="data"&&(n.mainType=v,n[d.toLowerCase()]=s,c=!0)}}l.hasOwnProperty(u)&&(r[u]=s,c=!0),c||(a[u]=s)})}return{cptQuery:n,dataQuery:r,otherQuery:a}},e.prototype.filter=function(t,n){var r=this.eventInfo;if(!r)return!0;var a=r.targetEl,i=r.packedEvent,o=r.model,l=r.view;if(!o||!l)return!0;var s=n.cptQuery,u=n.dataQuery;return c(s,o,"mainType")&&c(s,o,"subType")&&c(s,o,"index","componentIndex")&&c(s,o,"name")&&c(s,o,"id")&&c(u,i,"name")&&c(u,i,"dataIndex")&&c(u,i,"dataType")&&(!l.filterForExposedEvent||l.filterForExposedEvent(t,n.otherQuery,a,i));function c(f,d,h,v){return f[h]==null||d[v||h]===f[h]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e}(),cx=["symbol","symbolSize","symbolRotate","symbolOffset"],IA=cx.concat(["symbolKeepAspect"]),GAe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData();if(e.legendIcon&&n.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var r={},a={},i=!1,o=0;o<cx.length;o++){var l=cx[o],s=e.get(l);yt(s)?(i=!0,a[l]=s):r[l]=s}if(r.symbol=r.symbol||e.defaultSymbol,n.setVisual($e({legendIcon:e.legendIcon||r.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},r)),t.isSeriesFiltered(e))return;var u=tn(a);function c(f,d){for(var h=e.getRawValue(d),v=e.getDataParams(d),p=0;p<u.length;p++){var g=u[p];f.setItemVisual(d,g,a[g](h,v))}}return{dataEach:i?c:null}}},WAe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var n=e.getData();function r(a,i){for(var o=a.getItemModel(i),l=0;l<IA.length;l++){var s=IA[l],u=o.getShallow(s,!0);u!=null&&a.setItemVisual(i,s,u)}}return{dataEach:n.hasItemOption?r:null}}};function v8(e,t,n){switch(n){case"color":var r=e.getItemVisual(t,"style");return r[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,n)}}function Rp(e,t){switch(t){case"color":var n=e.getVisual("style");return n[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t)}}function Kj(e,t,n,r){switch(n){case"color":var a=e.ensureUniqueItemVisual(t,"style");a[e.getVisual("drawType")]=r,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,n,r);break}}function Xj(e,t){function n(r,a){var i=[];return r.eachComponent({mainType:"series",subType:e,query:a},function(o){i.push(o.seriesIndex)}),i}K([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(r){t(r[0],function(a,i,o){a=$e({},a),o.dispatchAction($e(a,{type:r[1],seriesIndex:n(i,a)}))})})}function wf(e,t,n,r,a){var i=e+t;n.isSilent(i)||r.eachComponent({mainType:"series",subType:"pie"},function(o){for(var l=o.seriesIndex,s=o.option.selectedMap,u=a.selected,c=0;c<u.length;c++)if(u[c].seriesIndex===l){var f=o.getData(),d=$c(f,a.fromActionPayload);n.trigger(i,{type:i,seriesId:o.id,name:He(d)?f.getName(d[0]):f.getName(d),selected:it(s)?s:$e({},s)})}})}function UAe(e,t,n){e.on("selectchanged",function(r){var a=n.getModel();r.isFromClick?(wf("map","selectchanged",t,a,r),wf("pie","selectchanged",t,a,r)):r.fromAction==="select"?(wf("map","selected",t,a,r),wf("pie","selected",t,a,r)):r.fromAction==="unselect"&&(wf("map","unselected",t,a,r),wf("pie","unselected",t,a,r))})}function uc(e,t,n){for(var r;e&&!(t(e)&&(r=e,n));)e=e.__hostTarget||e.parent;return r}var YAe=Math.round(Math.random()*9),KAe=typeof Object.defineProperty=="function",XAe=function(){function e(){this._id="__ec_inner_"+YAe++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,n){var r=this._guard(t);return KAe?Object.defineProperty(r,this._id,{value:n,enumerable:!1,configurable:!0}):r[this._id]=n,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e}(),ZAe=Zt.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,a=t.width/2,i=t.height/2;e.moveTo(n,r-i),e.lineTo(n+a,r+i),e.lineTo(n-a,r+i),e.closePath()}}),JAe=Zt.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var n=t.cx,r=t.cy,a=t.width/2,i=t.height/2;e.moveTo(n,r-i),e.lineTo(n+a,r),e.lineTo(n,r+i),e.lineTo(n-a,r),e.closePath()}}),QAe=Zt.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.x,r=t.y,a=t.width/5*3,i=Math.max(a,t.height),o=a/2,l=o*o/(i-o),s=r-i+o+l,u=Math.asin(l/o),c=Math.cos(u)*o,f=Math.sin(u),d=Math.cos(u),h=o*.6,v=o*.7;e.moveTo(n-c,s+l),e.arc(n,s,o,Math.PI-u,Math.PI*2+u),e.bezierCurveTo(n+c-f*h,s+l+d*h,n,r-v,n,r),e.bezierCurveTo(n,r-v,n-c+f*h,s+l+d*h,n-c,s+l),e.closePath()}}),eEe=Zt.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var n=t.height,r=t.width,a=t.x,i=t.y,o=r/3*2;e.moveTo(a,i),e.lineTo(a+o,i+n),e.lineTo(a,i+n/4*3),e.lineTo(a-o,i+n),e.lineTo(a,i),e.closePath()}}),tEe={line:mr,rect:rn,roundRect:rn,square:rn,circle:Hl,diamond:JAe,pin:QAe,arrow:eEe,triangle:ZAe},nEe={line:function(e,t,n,r,a){a.x1=e,a.y1=t+r/2,a.x2=e+n,a.y2=t+r/2},rect:function(e,t,n,r,a){a.x=e,a.y=t,a.width=n,a.height=r},roundRect:function(e,t,n,r,a){a.x=e,a.y=t,a.width=n,a.height=r,a.r=Math.min(n,r)/4},square:function(e,t,n,r,a){var i=Math.min(n,r);a.x=e,a.y=t,a.width=i,a.height=i},circle:function(e,t,n,r,a){a.cx=e+n/2,a.cy=t+r/2,a.r=Math.min(n,r)/2},diamond:function(e,t,n,r,a){a.cx=e+n/2,a.cy=t+r/2,a.width=n,a.height=r},pin:function(e,t,n,r,a){a.x=e+n/2,a.y=t+r/2,a.width=n,a.height=r},arrow:function(e,t,n,r,a){a.x=e+n/2,a.y=t+r/2,a.width=n,a.height=r},triangle:function(e,t,n,r,a){a.cx=e+n/2,a.cy=t+r/2,a.width=n,a.height=r}},Sm={};K(tEe,function(e,t){Sm[t]=new e});var rEe=Zt.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,n){var r=dm(e,t,n),a=this.shape;return a&&a.symbolType==="pin"&&t.position==="inside"&&(r.y=n.y+n.height*.4),r},buildPath:function(e,t,n){var r=t.symbolType;if(r!=="none"){var a=Sm[r];a||(r="rect",a=Sm[r]),nEe[r](t.x,t.y,t.width,t.height,a.shape),a.buildPath(e,a.shape,n)}}});function aEe(e,t){if(this.type!=="image"){var n=this.style;this.__isEmptyBrush?(n.stroke=e,n.fill=t||"#fff",n.lineWidth=2):this.shape.symbolType==="line"?n.stroke=e:n.fill=e,this.markRedraw()}}function lr(e,t,n,r,a,i,o){var l=e.indexOf("empty")===0;l&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var s;return e.indexOf("image://")===0?s=$H(e.slice(8),new qt(t,n,r,a),o?"center":"cover"):e.indexOf("path://")===0?s=r3(e.slice(7),{},new qt(t,n,r,a),o?"center":"cover"):s=new rEe({shape:{symbolType:e,x:t,y:n,width:r,height:a}}),s.__isEmptyBrush=l,s.setColor=aEe,i&&s.setColor(i),s}function bh(e){return He(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function ef(e,t){if(e!=null)return He(e)||(e=[e,e]),[et(e[0],t[0])||0,et(Ot(e[1],e[0]),t[1])||0]}function cc(e){return isFinite(e)}function iEe(e,t,n){var r=t.x==null?0:t.x,a=t.x2==null?1:t.x2,i=t.y==null?0:t.y,o=t.y2==null?0:t.y2;t.global||(r=r*n.width+n.x,a=a*n.width+n.x,i=i*n.height+n.y,o=o*n.height+n.y),r=cc(r)?r:0,a=cc(a)?a:1,i=cc(i)?i:0,o=cc(o)?o:0;var l=e.createLinearGradient(r,i,a,o);return l}function oEe(e,t,n){var r=n.width,a=n.height,i=Math.min(r,a),o=t.x==null?.5:t.x,l=t.y==null?.5:t.y,s=t.r==null?.5:t.r;t.global||(o=o*r+n.x,l=l*a+n.y,s=s*i),o=cc(o)?o:.5,l=cc(l)?l:.5,s=s>=0&&cc(s)?s:.5;var u=e.createRadialGradient(o,l,0,o,l,s);return u}function fx(e,t,n){for(var r=t.type==="radial"?oEe(e,t,n):iEe(e,t,n),a=t.colorStops,i=0;i<a.length;i++)r.addColorStop(a[i].offset,a[i].color);return r}function lEe(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!0;return!1}function Yg(e){return parseInt(e,10)}function Yf(e,t,n){var r=["width","height"][t],a=["clientWidth","clientHeight"][t],i=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(n[r]!=null&&n[r]!=="auto")return parseFloat(n[r]);var l=document.defaultView.getComputedStyle(e);return(e[a]||Yg(l[r])||Yg(e.style[r]))-(Yg(l[i])||0)-(Yg(l[o])||0)|0}function sEe(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:ln(e)?[e]:He(e)?e:null}function p8(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&sEe(t.lineDash,t.lineWidth),r=t.lineDashOffset;if(n){var a=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;a&&a!==1&&(n=Ge(n,function(i){return i/a}),r/=a)}return[n,r]}var uEe=new Fo(!0);function Cm(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function DA(e){return typeof e=="string"&&e!=="none"}function Tm(e){var t=e.fill;return t!=null&&t!=="none"}function LA(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=n}else e.fill()}function PA(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var n=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=n}else e.stroke()}function dx(e,t,n){var r=B6(t.image,t.__image,n);if(Xy(r)){var a=e.createPattern(r,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&a&&a.setTransform){var i=new DOMMatrix;i.translateSelf(t.x||0,t.y||0),i.rotateSelf(0,0,(t.rotation||0)*a2),i.scaleSelf(t.scaleX||1,t.scaleY||1),a.setTransform(i)}return a}}function cEe(e,t,n,r){var a,i=Cm(n),o=Tm(n),l=n.strokePercent,s=l<1,u=!t.path;(!t.silent||s)&&u&&t.createPathProxy();var c=t.path||uEe,f=t.__dirty;if(!r){var d=n.fill,h=n.stroke,v=o&&!!d.colorStops,p=i&&!!h.colorStops,g=o&&!!d.image,m=i&&!!h.image,b=void 0,_=void 0,w=void 0,x=void 0,S=void 0;(v||p)&&(S=t.getBoundingRect()),v&&(b=f?fx(e,d,S):t.__canvasFillGradient,t.__canvasFillGradient=b),p&&(_=f?fx(e,h,S):t.__canvasStrokeGradient,t.__canvasStrokeGradient=_),g&&(w=f||!t.__canvasFillPattern?dx(e,d,t):t.__canvasFillPattern,t.__canvasFillPattern=w),m&&(x=f||!t.__canvasStrokePattern?dx(e,h,t):t.__canvasStrokePattern,t.__canvasStrokePattern=w),v?e.fillStyle=b:g&&(w?e.fillStyle=w:o=!1),p?e.strokeStyle=_:m&&(x?e.strokeStyle=x:i=!1)}var C=t.getGlobalScale();c.setScale(C[0],C[1],t.segmentIgnoreThreshold);var T,z;e.setLineDash&&n.lineDash&&(a=p8(t),T=a[0],z=a[1]);var A=!0;(u||f&$f)&&(c.setDPR(e.dpr),s?c.setContext(null):(c.setContext(e),A=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),A&&c.rebuildPath(e,s?l:1),T&&(e.setLineDash(T),e.lineDashOffset=z),r||(n.strokeFirst?(i&&PA(e,n),o&&LA(e,n)):(o&&LA(e,n),i&&PA(e,n))),T&&e.setLineDash([])}function fEe(e,t,n){var r=t.__image=B6(n.image,t.__image,t,t.onload);if(!(!r||!Xy(r))){var a=n.x||0,i=n.y||0,o=t.getWidth(),l=t.getHeight(),s=r.width/r.height;if(o==null&&l!=null?o=l*s:l==null&&o!=null?l=o/s:o==null&&l==null&&(o=r.width,l=r.height),n.sWidth&&n.sHeight){var u=n.sx||0,c=n.sy||0;e.drawImage(r,u,c,n.sWidth,n.sHeight,a,i,o,l)}else if(n.sx&&n.sy){var u=n.sx,c=n.sy,f=o-u,d=l-c;e.drawImage(r,u,c,f,d,a,i,o,l)}else e.drawImage(r,a,i,o,l)}}function dEe(e,t,n){var r,a=n.text;if(a!=null&&(a+=""),a){e.font=n.font||Ws,e.textAlign=n.textAlign,e.textBaseline=n.textBaseline;var i=void 0,o=void 0;e.setLineDash&&n.lineDash&&(r=p8(t),i=r[0],o=r[1]),i&&(e.setLineDash(i),e.lineDashOffset=o),n.strokeFirst?(Cm(n)&&e.strokeText(a,n.x,n.y),Tm(n)&&e.fillText(a,n.x,n.y)):(Tm(n)&&e.fillText(a,n.x,n.y),Cm(n)&&e.strokeText(a,n.x,n.y)),i&&e.setLineDash([])}}var RA=["shadowBlur","shadowOffsetX","shadowOffsetY"],OA=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Zj(e,t,n,r,a){var i=!1;if(!r&&(n=n||{},t===n))return!1;if(r||t.opacity!==n.opacity){Ma(e,a),i=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?wc.opacity:o}(r||t.blend!==n.blend)&&(i||(Ma(e,a),i=!0),e.globalCompositeOperation=t.blend||wc.blend);for(var l=0;l<RA.length;l++){var s=RA[l];(r||t[s]!==n[s])&&(i||(Ma(e,a),i=!0),e[s]=e.dpr*(t[s]||0))}return(r||t.shadowColor!==n.shadowColor)&&(i||(Ma(e,a),i=!0),e.shadowColor=t.shadowColor||wc.shadowColor),i}function NA(e,t,n,r,a){var i=W1(t,a.inHover),o=r?null:n&&W1(n,a.inHover)||{};if(i===o)return!1;var l=Zj(e,i,o,r,a);if((r||i.fill!==o.fill)&&(l||(Ma(e,a),l=!0),DA(i.fill)&&(e.fillStyle=i.fill)),(r||i.stroke!==o.stroke)&&(l||(Ma(e,a),l=!0),DA(i.stroke)&&(e.strokeStyle=i.stroke)),(r||i.opacity!==o.opacity)&&(l||(Ma(e,a),l=!0),e.globalAlpha=i.opacity==null?1:i.opacity),t.hasStroke()){var s=i.lineWidth,u=s/(i.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==u&&(l||(Ma(e,a),l=!0),e.lineWidth=u)}for(var c=0;c<OA.length;c++){var f=OA[c],d=f[0];(r||i[d]!==o[d])&&(l||(Ma(e,a),l=!0),e[d]=i[d]||f[1])}return l}function hEe(e,t,n,r,a){return Zj(e,W1(t,a.inHover),n&&W1(n,a.inHover),r,a)}function Jj(e,t){var n=t.transform,r=e.dpr||1;n?e.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):e.setTransform(r,0,0,r,0,0)}function vEe(e,t,n){for(var r=!1,a=0;a<e.length;a++){var i=e[a];r=r||i.isZeroArea(),Jj(t,i),t.beginPath(),i.buildPath(t,i.shape),t.clip()}n.allClipped=r}function pEe(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var $A=1,VA=2,BA=3,FA=4;function gEe(e){var t=Tm(e),n=Cm(e);return!(e.lineDash||!(+t^+n)||t&&typeof e.fill!="string"||n&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function Ma(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function W1(e,t){return t&&e.__hoverStyle||e.style}function Qj(e,t){fc(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function fc(e,t,n,r){var a=t.transform;if(!t.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){t.__dirty&=~Va,t.__isRendered=!1;return}var i=t.__clipPaths,o=n.prevElClipPaths,l=!1,s=!1;if((!o||lEe(i,o))&&(o&&o.length&&(Ma(e,n),e.restore(),s=l=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),i&&i.length&&(Ma(e,n),e.save(),vEe(i,e,n),l=!0),n.prevElClipPaths=i),n.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var u=n.prevEl;u||(s=l=!0);var c=t instanceof Zt&&t.autoBatch&&gEe(t.style);l||pEe(a,u.transform)?(Ma(e,n),Jj(e,t)):c||Ma(e,n);var f=W1(t,n.inHover);t instanceof Zt?(n.lastDrawType!==$A&&(s=!0,n.lastDrawType=$A),NA(e,t,u,s,n),(!c||!n.batchFill&&!n.batchStroke)&&e.beginPath(),cEe(e,t,f,c),c&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):t instanceof Od?(n.lastDrawType!==BA&&(s=!0,n.lastDrawType=BA),NA(e,t,u,s,n),dEe(e,t,f)):t instanceof Ir?(n.lastDrawType!==VA&&(s=!0,n.lastDrawType=VA),hEe(e,t,u,s,n),fEe(e,t,f)):t.getTemporalDisplayables&&(n.lastDrawType!==FA&&(s=!0,n.lastDrawType=FA),mEe(e,t,n)),c&&r&&Ma(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}function mEe(e,t,n){var r=t.getDisplayables(),a=t.getTemporalDisplayables();e.save();var i={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover},o,l;for(o=t.getCursor(),l=r.length;o<l;o++){var s=r[o];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),fc(e,s,i,o===l-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}for(var u=0,c=a.length;u<c;u++){var s=a[u];s.beforeBrush&&s.beforeBrush(),s.innerBeforeBrush(),fc(e,s,i,u===c-1),s.innerAfterBrush(),s.afterBrush&&s.afterBrush(),i.prevEl=s}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var __=new XAe,HA=new kp(100),jA=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Vd(e,t){if(e==="none")return null;var n=t.getDevicePixelRatio(),r=t.getZr(),a=r.painter.type==="svg";e.dirty&&__.delete(e);var i=__.get(e);if(i)return i;var o=_t(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});o.backgroundColor==="none"&&(o.backgroundColor=null);var l={repeat:"repeat"};return s(l),l.rotation=o.rotation,l.scaleX=l.scaleY=a?1:1/n,__.set(e,l),e.dirty=!1,l;function s(u){for(var c=[n],f=!0,d=0;d<jA.length;++d){var h=o[jA[d]];if(h!=null&&!He(h)&&!it(h)&&!ln(h)&&typeof h!="boolean"){f=!1;break}c.push(h)}var v;if(f){v=c.join(",")+(a?"-svg":"");var p=HA.get(v);p&&(a?u.svgElement=p:u.image=p)}var g=tq(o.dashArrayX),m=yEe(o.dashArrayY),b=eq(o.symbol),_=bEe(g),w=nq(m),x=!a&&Us.createCanvas(),S=a&&{tag:"g",attrs:{},key:"dcl",children:[]},C=z(),T;x&&(x.width=C.width*n,x.height=C.height*n,T=x.getContext("2d")),A(),f&&HA.put(v,x||S),u.image=x,u.svgElement=S,u.svgWidth=C.width,u.svgHeight=C.height;function z(){for(var E=1,D=0,$=_.length;D<$;++D)E=oM(E,_[D]);for(var O=1,D=0,$=b.length;D<$;++D)O=oM(O,b[D].length);E*=O;var R=w*_.length*b.length;return{width:Math.max(1,Math.min(E,o.maxTileWidth)),height:Math.max(1,Math.min(R,o.maxTileHeight))}}function A(){T&&(T.clearRect(0,0,x.width,x.height),o.backgroundColor&&(T.fillStyle=o.backgroundColor,T.fillRect(0,0,x.width,x.height)));for(var E=0,D=0;D<m.length;++D)E+=m[D];if(E<=0)return;for(var $=-w,O=0,R=0,N=0;$<C.height;){if(O%2===0){for(var B=R/2%b.length,V=0,P=0,W=0;V<C.width*2;){for(var Z=0,D=0;D<g[N].length;++D)Z+=g[N][D];if(Z<=0)break;if(P%2===0){var ee=(1-o.symbolSize)*.5,re=V+g[N][P]*ee,ue=$+m[O]*ee,ye=g[N][P]*o.symbolSize,le=m[O]*o.symbolSize,ae=W/2%b[B].length;ie(re,ue,ye,le,b[B][ae])}V+=g[N][P],++W,++P,P===g[N].length&&(P=0)}++N,N===g.length&&(N=0)}$+=m[O],++R,++O,O===m.length&&(O=0)}function ie(ve,ce,fe,xe,J){var oe=a?1:n,pe=lr(J,ve*oe,ce*oe,fe*oe,xe*oe,o.color,o.symbolKeepAspect);if(a){var Te=r.painter.renderOneToVNode(pe);Te&&S.children.push(Te)}else Qj(T,pe)}}}}function eq(e){if(!e||e.length===0)return[["rect"]];if(it(e))return[[e]];for(var t=!0,n=0;n<e.length;++n)if(!it(e[n])){t=!1;break}if(t)return eq([e]);for(var r=[],n=0;n<e.length;++n)it(e[n])?r.push([e[n]]):r.push(e[n]);return r}function tq(e){if(!e||e.length===0)return[[0,0]];if(ln(e)){var t=Math.ceil(e);return[[t,t]]}for(var n=!0,r=0;r<e.length;++r)if(!ln(e[r])){n=!1;break}if(n)return tq([e]);for(var a=[],r=0;r<e.length;++r)if(ln(e[r])){var t=Math.ceil(e[r]);a.push([t,t])}else{var t=Ge(e[r],function(l){return Math.ceil(l)});t.length%2===1?a.push(t.concat(t)):a.push(t)}return a}function yEe(e){if(!e||typeof e=="object"&&e.length===0)return[0,0];if(ln(e)){var t=Math.ceil(e);return[t,t]}var n=Ge(e,function(r){return Math.ceil(r)});return e.length%2?n.concat(n):n}function bEe(e){return Ge(e,function(t){return nq(t)})}function nq(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?t*2:t}function _Ee(e,t){e.eachRawSeries(function(n){if(!e.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each(function(o){var l=r.getItemVisual(o,"decal");if(l){var s=r.ensureUniqueItemVisual(o,"style");s.decal=Vd(l,t)}});var a=r.getVisual("decal");if(a){var i=r.getVisual("style");i.decal=Vd(a,t)}}})}var Vi=new Ei,rq={};function wEe(e,t){rq[e]=t}function xEe(e){return rq[e]}var SEe=1,CEe=800,TEe=900,kEe=1e3,zEe=2e3,MEe=5e3,aq=1e3,AEe=1100,g8=2e3,iq=3e3,EEe=4e3,p3=4500,IEe=4600,DEe=5e3,LEe=6e3,oq=7e3,PEe={PROCESSOR:{FILTER:kEe,SERIES_FILTER:CEe,STATISTIC:MEe},VISUAL:{LAYOUT:aq,PROGRESSIVE_LAYOUT:AEe,GLOBAL:g8,CHART:iq,POST_CHART_LAYOUT:IEe,COMPONENT:EEe,BRUSH:DEe,CHART_ITEM:p3,ARIA:LEe,DECAL:oq}},jr="__flagInMainProcess",xa="__pendingUpdate",w_="__needsUpdateStatus",qA=/^[a-zA-Z0-9_]+$/,x_="__connectUpdateStatus",GA=0,REe=1,OEe=2;function lq(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this.isDisposed()){this.id;return}return uq(this,e,t)}}function sq(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return uq(this,e,t)}}function uq(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),Ei.prototype[t].apply(e,n)}var cq=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Ei),fq=cq.prototype;fq.on=sq("on");fq.off=sq("off");var xf,S_,Kg,Jl,C_,T_,k_,qh,Gh,WA,UA,z_,YA,Xg,KA,dq,Za,XA,hq=function(e){Se(t,e);function t(n,r,a){var i=e.call(this,new qAe)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],a=a||{},it(r)&&(r=vq[r]),i._dom=n;var o="canvas",l="auto",s=!1;a.ssr&&MTe(function(d){var h=Dt(d),v=h.dataIndex;if(v!=null){var p=pt();return p.set("series_index",h.seriesIndex),p.set("data_index",v),h.ssrType&&p.set("ssr_type",h.ssrType),p}});var u=i._zr=nM(n,{renderer:a.renderer||o,devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,ssr:a.ssr,useDirtyRect:Ot(a.useDirtyRect,s),useCoarsePointer:Ot(a.useCoarsePointer,l),pointerSize:a.pointerSize});i._ssr=a.ssr,i._throttledZrFlush=h8(lt(u.flush,u),17),r=kt(r),r&&bj(r,!0),i._theme=r,i._locale=nMe(a.locale||YH),i._coordSysMgr=new Pp;var c=i._api=KA(i);function f(d,h){return d.__prio-h.__prio}return l2(zm,f),l2(hx,f),i._scheduler=new qj(i,c,hx,zm),i._messageCenter=new cq,i._initEvents(),i.resize=lt(i.resize,i),u.animation.on("frame",i._onframe,i),WA(u,i),UA(u,i),rm(i),i}return t.prototype._onframe=function(){if(!this._disposed){XA(this);var n=this._scheduler;if(this[xa]){var r=this[xa].silent;this[jr]=!0;try{xf(this),Jl.update.call(this,null,this[xa].updateParams)}catch(s){throw this[jr]=!1,this[xa]=null,s}this._zr.flush(),this[jr]=!1,this[xa]=null,qh.call(this,r),Gh.call(this,r)}else if(n.unfinished){var a=SEe,i=this._model,o=this._api;n.unfinished=!1;do{var l=+new Date;n.performSeriesTasks(i),n.performDataProcessorTasks(i),T_(this,i),n.performVisualTasks(i),Xg(this,this._model,o,"remain",{}),a-=+new Date-l}while(a>0&&n.unfinished);n.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(n,r,a){if(!this[jr]){if(this._disposed){this.id;return}var i,o,l;if(wt(r)&&(a=r.lazyUpdate,i=r.silent,o=r.replaceMerge,l=r.transition,r=r.notMerge),this[jr]=!0,!this._model||r){var s=new zMe(this._api),u=this._theme,c=this._model=new s8;c.scheduler=this._scheduler,c.ssr=this._ssr,c.init(null,null,null,u,this._locale,s)}this._model.setOption(n,{replaceMerge:o},vx);var f={seriesTransition:l,optionChanged:!0};if(a)this[xa]={silent:i,updateParams:f},this[jr]=!1,this.getZr().wakeUp();else{try{xf(this),Jl.update.call(this,null,f)}catch(d){throw this[xa]=null,this[jr]=!1,d}this._ssr||this._zr.flush(),this[xa]=null,this[jr]=!1,qh.call(this,i),Gh.call(this,i)}}},t.prototype.setTheme=function(){},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Jt.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(n){return this.renderToCanvas(n)},t.prototype.renderToCanvas=function(n){n=n||{};var r=this._zr.painter;return r.getRenderedCanvas({backgroundColor:n.backgroundColor||this._model.get("backgroundColor"),pixelRatio:n.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(n){n=n||{};var r=this._zr.painter;return r.renderToString({useViewBox:n.useViewBox})},t.prototype.getSvgDataURL=function(){if(Jt.svgSupported){var n=this._zr,r=n.storage.getDisplayList();return K(r,function(a){a.stopAnimation(null,!0)}),n.painter.toDataURL()}},t.prototype.getDataURL=function(n){if(this._disposed){this.id;return}n=n||{};var r=n.excludeComponents,a=this._model,i=[],o=this;K(r,function(s){a.eachComponent({mainType:s},function(u){var c=o._componentsMap[u.__viewId];c.group.ignore||(i.push(c),c.group.ignore=!0)})});var l=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(n).toDataURL("image/"+(n&&n.type||"png"));return K(i,function(s){s.group.ignore=!1}),l},t.prototype.getConnectedDataURL=function(n){if(this._disposed){this.id;return}var r=n.type==="svg",a=this.group,i=Math.min,o=Math.max,l=1/0;if(ZA[a]){var s=l,u=l,c=-l,f=-l,d=[],h=n&&n.pixelRatio||this.getDevicePixelRatio();K(Qv,function(_,w){if(_.group===a){var x=r?_.getZr().painter.getSvgDom().innerHTML:_.renderToCanvas(kt(n)),S=_.getDom().getBoundingClientRect();s=i(S.left,s),u=i(S.top,u),c=o(S.right,c),f=o(S.bottom,f),d.push({dom:x,left:S.left,top:S.top})}}),s*=h,u*=h,c*=h,f*=h;var v=c-s,p=f-u,g=Us.createCanvas(),m=nM(g,{renderer:r?"svg":"canvas"});if(m.resize({width:v,height:p}),r){var b="";return K(d,function(_){var w=_.left-s,x=_.top-u;b+='<g transform="translate('+w+","+x+')">'+_.dom+"</g>"}),m.painter.getSvgRoot().innerHTML=b,n.connectedBackgroundColor&&m.painter.setBackgroundColor(n.connectedBackgroundColor),m.refreshImmediately(),m.painter.toDataURL()}else return n.connectedBackgroundColor&&m.add(new rn({shape:{x:0,y:0,width:v,height:p},style:{fill:n.connectedBackgroundColor}})),K(d,function(_){var w=new Ir({style:{x:_.left*h-s,y:_.top*h-u,image:_.dom}});m.add(w)}),m.refreshImmediately(),g.toDataURL("image/"+(n&&n.type||"png"))}else return this.getDataURL(n)},t.prototype.convertToPixel=function(n,r){return C_(this,"convertToPixel",n,r)},t.prototype.convertFromPixel=function(n,r){return C_(this,"convertFromPixel",n,r)},t.prototype.containPixel=function(n,r){if(this._disposed){this.id;return}var a=this._model,i,o=Wv(a,n);return K(o,function(l,s){s.indexOf("Models")>=0&&K(l,function(u){var c=u.coordinateSystem;if(c&&c.containPoint)i=i||!!c.containPoint(r);else if(s==="seriesModels"){var f=this._chartsMap[u.__viewId];f&&f.containPoint&&(i=i||f.containPoint(r,u))}},this)},this),!!i},t.prototype.getVisual=function(n,r){var a=this._model,i=Wv(a,n,{defaultMainType:"series"}),o=i.seriesModel,l=o.getData(),s=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?l.indexOfRawIndex(i.dataIndex):null;return s!=null?v8(l,s,r):Rp(l,r)},t.prototype.getViewOfComponentModel=function(n){return this._componentsMap[n.__viewId]},t.prototype.getViewOfSeriesModel=function(n){return this._chartsMap[n.__viewId]},t.prototype._initEvents=function(){var n=this;K(NEe,function(r){var a=function(i){var o=n.getModel(),l=i.target,s,u=r==="globalout";if(u?s={}:l&&uc(l,function(v){var p=Dt(v);if(p&&p.dataIndex!=null){var g=p.dataModel||o.getSeriesByIndex(p.seriesIndex);return s=g&&g.getDataParams(p.dataIndex,p.dataType,l)||{},!0}else if(p.eventData)return s=$e({},p.eventData),!0},!0),s){var c=s.componentType,f=s.componentIndex;(c==="markLine"||c==="markPoint"||c==="markArea")&&(c="series",f=s.seriesIndex);var d=c&&f!=null&&o.getComponent(c,f),h=d&&n[d.mainType==="series"?"_chartsMap":"_componentsMap"][d.__viewId];s.event=i,s.type=r,n._$eventProcessor.eventInfo={targetEl:l,packedEvent:s,model:d,view:h},n.trigger(r,s)}};a.zrEventfulCallAtLast=!0,n._zr.on(r,a,n)}),K(Jv,function(r,a){n._messageCenter.on(a,function(i){this.trigger(a,i)},n)}),K(["selectchanged"],function(r){n._messageCenter.on(r,function(a){this.trigger(r,a)},n)}),UAe(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){this.id;return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){this.id;return}this._disposed=!0;var n=this.getDom();n&&aH(this.getDom(),y8,"");var r=this,a=r._api,i=r._model;K(r._componentsViews,function(o){o.dispose(i,a)}),K(r._chartsViews,function(o){o.dispose(i,a)}),r._zr.dispose(),r._dom=r._model=r._chartsMap=r._componentsMap=r._chartsViews=r._componentsViews=r._scheduler=r._api=r._zr=r._throttledZrFlush=r._theme=r._coordSysMgr=r._messageCenter=null,delete Qv[r.id]},t.prototype.resize=function(n){if(!this[jr]){if(this._disposed){this.id;return}this._zr.resize(n);var r=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!r){var a=r.resetOption("media"),i=n&&n.silent;this[xa]&&(i==null&&(i=this[xa].silent),a=!0,this[xa]=null),this[jr]=!0;try{a&&xf(this),Jl.update.call(this,{type:"resize",animation:$e({duration:0},n&&n.animation)})}catch(o){throw this[jr]=!1,o}this[jr]=!1,qh.call(this,i),Gh.call(this,i)}}},t.prototype.showLoading=function(n,r){if(this._disposed){this.id;return}if(wt(n)&&(r=n,n=""),n=n||"default",this.hideLoading(),!!px[n]){var a=px[n](this._api,r),i=this._zr;this._loadingFX=a,i.add(a)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(n){var r=$e({},n);return r.type=Jv[n.type],r},t.prototype.dispatchAction=function(n,r){if(this._disposed){this.id;return}if(wt(r)||(r={silent:!!r}),!!km[n.type]&&this._model){if(this[jr]){this._pendingActions.push(n);return}var a=r.silent;k_.call(this,n,a);var i=r.flush;i?this._zr.flush():i!==!1&&Jt.browser.weChat&&this._throttledZrFlush(),qh.call(this,a),Gh.call(this,a)}},t.prototype.updateLabelLayout=function(){Vi.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(n){if(this._disposed){this.id;return}var r=n.seriesIndex,a=this.getModel(),i=a.getSeriesByIndex(r);i.appendData(n),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){xf=function(f){var d=f._scheduler;d.restorePipelines(f._model),d.prepareStageTasks(),S_(f,!0),S_(f,!1),d.plan()},S_=function(f,d){for(var h=f._model,v=f._scheduler,p=d?f._componentsViews:f._chartsViews,g=d?f._componentsMap:f._chartsMap,m=f._zr,b=f._api,_=0;_<p.length;_++)p[_].__alive=!1;d?h.eachComponent(function(S,C){S!=="series"&&w(C)}):h.eachSeries(w);function w(S){var C=S.__requireNewView;S.__requireNewView=!1;var T="_ec_"+S.id+"_"+S.type,z=!C&&g[T];if(!z){var A=ko(S.type),E=d?Hn.getClass(A.main,A.sub):zn.getClass(A.sub);z=new E,z.init(h,b),g[T]=z,p.push(z),m.add(z.group)}S.__viewId=z.__id=T,z.__alive=!0,z.__model=S,z.group.__ecComponentInfo={mainType:S.mainType,index:S.componentIndex},!d&&v.prepareView(z,S,h,b)}for(var _=0;_<p.length;){var x=p[_];x.__alive?_++:(!d&&x.renderTask.dispose(),m.remove(x.group),x.dispose(h,b),p.splice(_,1),g[x.__id]===x&&delete g[x.__id],x.__id=x.group.__ecComponentInfo=null)}},Kg=function(f,d,h,v,p){var g=f._model;if(g.setUpdatePayload(h),!v){K([].concat(f._componentsViews).concat(f._chartsViews),x);return}var m={};m[v+"Id"]=h[v+"Id"],m[v+"Index"]=h[v+"Index"],m[v+"Name"]=h[v+"Name"];var b={mainType:v,query:m};p&&(b.subType=p);var _=h.excludeSeriesId,w;_!=null&&(w=pt(),K(Cn(_),function(S){var C=ur(S,null);C!=null&&w.set(C,!0)})),g&&g.eachComponent(b,function(S){var C=w&&w.get(S.id)!=null;if(!C)if(DM(h))if(S instanceof Ln)h.type===xc&&!h.notBlur&&!S.get(["emphasis","disabled"])&&Zke(S,h,f._api);else{var T=W6(S.mainType,S.componentIndex,h.name,f._api),z=T.focusSelf,A=T.dispatchers;h.type===xc&&z&&!h.notBlur&&Kw(S.mainType,S.componentIndex,f._api),A&&K(A,function(E){h.type===xc?kl(E):zl(E)})}else Zw(h)&&S instanceof Ln&&(eze(S,h,f._api),EM(S),Za(f))},f),g&&g.eachComponent(b,function(S){var C=w&&w.get(S.id)!=null;C||x(f[v==="series"?"_chartsMap":"_componentsMap"][S.__viewId])},f);function x(S){S&&S.__alive&&S[d]&&S[d](S.__model,g,f._api,h)}},Jl={prepareAndUpdate:function(f){xf(this),Jl.update.call(this,f,{optionChanged:f.newOption!=null})},update:function(f,d){var h=this._model,v=this._api,p=this._zr,g=this._coordSysMgr,m=this._scheduler;if(h){h.setUpdatePayload(f),m.restoreData(h,f),m.performSeriesTasks(h),g.create(h,v),m.performDataProcessorTasks(h,f),T_(this,h),g.update(h,v),n(h),m.performVisualTasks(h,f),z_(this,h,v,f,d);var b=h.get("backgroundColor")||"transparent",_=h.get("darkMode");p.setBackgroundColor(b),_!=null&&_!=="auto"&&p.setDarkMode(_),Vi.trigger("afterupdate",h,v)}},updateTransform:function(f){var d=this,h=this._model,v=this._api;if(h){h.setUpdatePayload(f);var p=[];h.eachComponent(function(m,b){if(m!=="series"){var _=d.getViewOfComponentModel(b);if(_&&_.__alive)if(_.updateTransform){var w=_.updateTransform(b,h,v,f);w&&w.update&&p.push(_)}else p.push(_)}});var g=pt();h.eachSeries(function(m){var b=d._chartsMap[m.__viewId];if(b.updateTransform){var _=b.updateTransform(m,h,v,f);_&&_.update&&g.set(m.uid,1)}else g.set(m.uid,1)}),n(h),this._scheduler.performVisualTasks(h,f,{setDirty:!0,dirtyMap:g}),Xg(this,h,v,f,{},g),Vi.trigger("afterupdate",h,v)}},updateView:function(f){var d=this._model;d&&(d.setUpdatePayload(f),zn.markUpdateMethod(f,"updateView"),n(d),this._scheduler.performVisualTasks(d,f,{setDirty:!0}),z_(this,d,this._api,f,{}),Vi.trigger("afterupdate",d,this._api))},updateVisual:function(f){var d=this,h=this._model;h&&(h.setUpdatePayload(f),h.eachSeries(function(v){v.getData().clearAllVisual()}),zn.markUpdateMethod(f,"updateVisual"),n(h),this._scheduler.performVisualTasks(h,f,{visualType:"visual",setDirty:!0}),h.eachComponent(function(v,p){if(v!=="series"){var g=d.getViewOfComponentModel(p);g&&g.__alive&&g.updateVisual(p,h,d._api,f)}}),h.eachSeries(function(v){var p=d._chartsMap[v.__viewId];p.updateVisual(v,h,d._api,f)}),Vi.trigger("afterupdate",h,this._api))},updateLayout:function(f){Jl.update.call(this,f)}},C_=function(f,d,h,v){if(f._disposed){f.id;return}for(var p=f._model,g=f._coordSysMgr.getCoordinateSystems(),m,b=Wv(p,h),_=0;_<g.length;_++){var w=g[_];if(w[d]&&(m=w[d](p,b,v))!=null)return m}},T_=function(f,d){var h=f._chartsMap,v=f._scheduler;d.eachSeries(function(p){v.updateStreamModes(p,h[p.__viewId])})},k_=function(f,d){var h=this,v=this.getModel(),p=f.type,g=f.escapeConnect,m=km[p],b=m.actionInfo,_=(b.update||"update").split(":"),w=_.pop(),x=_[0]!=null&&ko(_[0]);this[jr]=!0;var S=[f],C=!1;f.batch&&(C=!0,S=Ge(f.batch,function(O){return O=_t($e({},O),f),O.batch=null,O}));var T=[],z,A=Zw(f),E=DM(f);if(E&&TH(this._api),K(S,function(O){if(z=m.action(O,h._model,h._api),z=z||$e({},O),z.type=b.event||z.type,T.push(z),E){var R=$6(f),N=R.queryOptionMap,B=R.mainTypeSpecified,V=B?N.keys()[0]:"series";Kg(h,w,O,V),Za(h)}else A?(Kg(h,w,O,"series"),Za(h)):x&&Kg(h,w,O,x.main,x.sub)}),w!=="none"&&!E&&!A&&!x)try{this[xa]?(xf(this),Jl.update.call(this,f),this[xa]=null):Jl[w].call(this,f)}catch(O){throw this[jr]=!1,O}if(C?z={type:b.event||p,escapeConnect:g,batch:T}:z=T[0],this[jr]=!1,!d){var D=this._messageCenter;if(D.trigger(z.type,z),A){var $={type:"selectchanged",escapeConnect:g,selected:tze(v),isFromClick:f.isFromClick||!1,fromAction:f.type,fromActionPayload:f};D.trigger($.type,$)}}},qh=function(f){for(var d=this._pendingActions;d.length;){var h=d.shift();k_.call(this,h,f)}},Gh=function(f){!f&&this.trigger("updated")},WA=function(f,d){f.on("rendered",function(h){d.trigger("rendered",h),f.animation.isFinished()&&!d[xa]&&!d._scheduler.unfinished&&!d._pendingActions.length&&d.trigger("finished")})},UA=function(f,d){f.on("mouseover",function(h){var v=h.target,p=uc(v,V1);p&&(Jke(p,h,d._api),Za(d))}).on("mouseout",function(h){var v=h.target,p=uc(v,V1);p&&(Qke(p,h,d._api),Za(d))}).on("click",function(h){var v=h.target,p=uc(v,function(b){return Dt(b).dataIndex!=null},!0);if(p){var g=p.selected?"unselect":"select",m=Dt(p);d._api.dispatchAction({type:g,dataType:m.dataType,dataIndexInside:m.dataIndex,seriesIndex:m.seriesIndex,isFromClick:!0})}})};function n(f){f.clearColorPalette(),f.eachSeries(function(d){d.clearColorPalette()})}function r(f){var d=[],h=[],v=!1;if(f.eachComponent(function(b,_){var w=_.get("zlevel")||0,x=_.get("z")||0,S=_.getZLevelKey();v=v||!!S,(b==="series"?h:d).push({zlevel:w,z:x,idx:_.componentIndex,type:b,key:S})}),v){var p=d.concat(h),g,m;l2(p,function(b,_){return b.zlevel===_.zlevel?b.z-_.z:b.zlevel-_.zlevel}),K(p,function(b){var _=f.getComponent(b.type,b.idx),w=b.zlevel,x=b.key;g!=null&&(w=Math.max(g,w)),x?(w===g&&x!==m&&w++,m=x):m&&(w===g&&w++,m=""),g=w,_.setZLevel(w)})}}z_=function(f,d,h,v,p){r(d),YA(f,d,h,v,p),K(f._chartsViews,function(g){g.__alive=!1}),Xg(f,d,h,v,p),K(f._chartsViews,function(g){g.__alive||g.remove(d,h)})},YA=function(f,d,h,v,p,g){K(g||f._componentsViews,function(m){var b=m.__model;u(b,m),m.render(b,d,h,v),l(b,m),c(b,m)})},Xg=function(f,d,h,v,p,g){var m=f._scheduler;p=$e(p||{},{updatedSeries:d.getSeries()}),Vi.trigger("series:beforeupdate",d,h,p);var b=!1;d.eachSeries(function(_){var w=f._chartsMap[_.__viewId];w.__alive=!0;var x=w.renderTask;m.updatePayload(x,v),u(_,w),g&&g.get(_.uid)&&x.dirty(),x.perform(m.getPerformArgs(x))&&(b=!0),w.group.silent=!!_.get("silent"),o(_,w),EM(_)}),m.unfinished=b||m.unfinished,Vi.trigger("series:layoutlabels",d,h,p),Vi.trigger("series:transition",d,h,p),d.eachSeries(function(_){var w=f._chartsMap[_.__viewId];l(_,w),c(_,w)}),i(f,d),Vi.trigger("series:afterupdate",d,h,p)},Za=function(f){f[w_]=!0,f.getZr().wakeUp()},XA=function(f){f[w_]&&(f.getZr().storage.traverse(function(d){ld(d)||a(d)}),f[w_]=!1)};function a(f){for(var d=[],h=f.currentStates,v=0;v<h.length;v++){var p=h[v];p==="emphasis"||p==="blur"||p==="select"||d.push(p)}f.selected&&f.states.select&&d.push("select"),f.hoverState===Qy&&f.states.emphasis?d.push("emphasis"):f.hoverState===Ap&&f.states.blur&&d.push("blur"),f.useStates(d)}function i(f,d){var h=f._zr,v=h.storage,p=0;v.traverse(function(g){g.isGroup||p++}),p>d.get("hoverLayerThreshold")&&!Jt.node&&!Jt.worker&&d.eachSeries(function(g){if(!g.preventUsingHoverLayer){var m=f._chartsMap[g.__viewId];m.__alive&&m.eachRendered(function(b){b.states.emphasis&&(b.states.emphasis.hoverLayer=!0)})}})}function o(f,d){var h=f.get("blendMode")||null;d.eachRendered(function(v){v.isGroup||(v.style.blend=h)})}function l(f,d){if(!f.preventAutoZ){var h=f.get("z")||0,v=f.get("zlevel")||0;d.eachRendered(function(p){return s(p,h,v,-1/0),!0})}}function s(f,d,h,v){var p=f.getTextContent(),g=f.getTextGuideLine(),m=f.isGroup;if(m)for(var b=f.childrenRef(),_=0;_<b.length;_++)v=Math.max(s(b[_],d,h,v),v);else f.z=d,f.zlevel=h,v=Math.max(f.z2,v);if(p&&(p.z=d,p.zlevel=h,isFinite(v)&&(p.z2=v+2)),g){var w=f.textGuideLineConfig;g.z=d,g.zlevel=h,isFinite(v)&&(g.z2=v+(w&&w.showAbove?1:-1))}return v}function u(f,d){d.eachRendered(function(h){if(!ld(h)){var v=h.getTextContent(),p=h.getTextGuideLine();h.stateTransition&&(h.stateTransition=null),v&&v.stateTransition&&(v.stateTransition=null),p&&p.stateTransition&&(p.stateTransition=null),h.hasState()?(h.prevStates=h.currentStates,h.clearStates()):h.prevStates&&(h.prevStates=null)}})}function c(f,d){var h=f.getModel("stateAnimation"),v=f.isAnimationEnabled(),p=h.get("duration"),g=p>0?{duration:p,delay:h.get("delay"),easing:h.get("easing")}:null;d.eachRendered(function(m){if(m.states&&m.states.emphasis){if(ld(m))return;if(m instanceof Zt&&oze(m),m.__dirty){var b=m.prevStates;b&&m.useStates(b)}if(v){m.stateTransition=g;var _=m.getTextContent(),w=m.getTextGuideLine();_&&(_.stateTransition=g),w&&(w.stateTransition=g)}m.__dirty&&a(m)}})}KA=function(f){return new(function(d){Se(h,d);function h(){return d!==null&&d.apply(this,arguments)||this}return h.prototype.getCoordinateSystems=function(){return f._coordSysMgr.getCoordinateSystems()},h.prototype.getComponentByElement=function(v){for(;v;){var p=v.__ecComponentInfo;if(p!=null)return f._model.getComponent(p.mainType,p.index);v=v.parent}},h.prototype.enterEmphasis=function(v,p){kl(v,p),Za(f)},h.prototype.leaveEmphasis=function(v,p){zl(v,p),Za(f)},h.prototype.enterBlur=function(v){wH(v),Za(f)},h.prototype.leaveBlur=function(v){G6(v),Za(f)},h.prototype.enterSelect=function(v){xH(v),Za(f)},h.prototype.leaveSelect=function(v){SH(v),Za(f)},h.prototype.getModel=function(){return f.getModel()},h.prototype.getViewOfComponentModel=function(v){return f.getViewOfComponentModel(v)},h.prototype.getViewOfSeriesModel=function(v){return f.getViewOfSeriesModel(v)},h}(mj))(f)},dq=function(f){function d(h,v){for(var p=0;p<h.length;p++){var g=h[p];g[x_]=v}}K(Jv,function(h,v){f._messageCenter.on(v,function(p){if(ZA[f.group]&&f[x_]!==GA){if(p&&p.escapeConnect)return;var g=f.makeActionFromEvent(p),m=[];K(Qv,function(b){b!==f&&b.group===f.group&&m.push(b)}),d(m,GA),K(m,function(b){b[x_]!==REe&&b.dispatchAction(g)}),d(m,OEe)}})})}}(),t}(Ei),m8=hq.prototype;m8.on=lq("on");m8.off=lq("off");m8.one=function(e,t,n){var r=this;function a(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];t&&t.apply&&t.apply(this,i),r.off(e,a)}this.on.call(this,e,a,n)};var NEe=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],km={},Jv={},hx=[],vx=[],zm=[],vq={},px={},Qv={},ZA={},$Ee=+new Date-0,y8="_echarts_instance_";function pq(e,t,n){{var r=VEe(e);if(r)return r}var a=new hq(e,t,n);return a.id="ec_"+$Ee++,Qv[a.id]=a,aH(e,y8,a.id),dq(a),Vi.trigger("afterinit",a),a}function VEe(e){return Qv[YTe(e,y8)]}function gq(e,t){vq[e]=t}function mq(e){Yt(vx,e)<0&&vx.push(e)}function yq(e,t){_8(hx,e,t,zEe)}function BEe(e){b8("afterinit",e)}function FEe(e){b8("afterupdate",e)}function b8(e,t){Vi.on(e,t)}function Wo(e,t,n){yt(t)&&(n=t,t="");var r=wt(e)?e.type:[e,e={event:t}][0];e.event=(e.event||r).toLowerCase(),t=e.event,!Jv[t]&&(ha(qA.test(r)&&qA.test(t)),km[r]||(km[r]={action:n,actionInfo:e}),Jv[t]=r)}function HEe(e,t){Pp.register(e,t)}function jEe(e,t){_8(zm,e,t,aq,"layout")}function tf(e,t){_8(zm,e,t,iq,"visual")}var JA=[];function _8(e,t,n,r,a){if((yt(t)||wt(t))&&(n=t,t=r),!(Yt(JA,n)>=0)){JA.push(n);var i=qj.wrapStageHandler(n,a);i.__prio=t,i.__raw=n,e.push(i)}}function bq(e,t){px[e]=t}function qEe(e,t,n){var r=xEe("registerMap");r&&r(e,t,n)}var GEe=iAe;tf(g8,EAe);tf(p3,IAe);tf(p3,DAe);tf(g8,GAe);tf(p3,WAe);tf(oq,_Ee);mq(bj);yq(TEe,VMe);bq("default",LAe);Wo({type:xc,event:xc,update:xc},er);Wo({type:d2,event:d2,update:d2},er);Wo({type:Uv,event:Uv,update:Uv},er);Wo({type:h2,event:h2,update:h2},er);Wo({type:Yv,event:Yv,update:Yv},er);gq("light",jAe);gq("dark",Yj);var QA=[],WEe={registerPreprocessor:mq,registerProcessor:yq,registerPostInit:BEe,registerPostUpdate:FEe,registerUpdateLifecycle:b8,registerAction:Wo,registerCoordinateSystem:HEe,registerLayout:jEe,registerVisual:tf,registerTransform:GEe,registerLoading:bq,registerMap:qEe,registerImpl:wEe,PRIORITY:PEe,ComponentModel:Qt,ComponentView:Hn,SeriesModel:Ln,ChartView:zn,registerComponentModel:function(e){Qt.registerClass(e)},registerComponentView:function(e){Hn.registerClass(e)},registerSeriesModel:function(e){Ln.registerClass(e)},registerChartView:function(e){zn.registerClass(e)},registerSubTypeDefaulter:function(e,t){Qt.registerSubTypeDefaulter(e,t)},registerPainter:function(e,t){kTe(e,t)}};function Kt(e){if(He(e)){K(e,function(t){Kt(t)});return}Yt(QA,e)>=0||(QA.push(e),yt(e)&&(e={install:e}),e.install(WEe))}function Wh(e){return e==null?0:e.length||1}function eE(e){return e}var Ml=function(){function e(t,n,r,a,i,o){this._old=t,this._new=n,this._oldKeyGetter=r||eE,this._newKeyGetter=a||eE,this.context=i,this._diffModeMultiple=o==="multiple"}return e.prototype.add=function(t){return this._add=t,this},e.prototype.update=function(t){return this._update=t,this},e.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},e.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},e.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},e.prototype.remove=function(t){return this._remove=t,this},e.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},e.prototype._executeOneToOne=function(){var t=this._old,n=this._new,r={},a=new Array(t.length),i=new Array(n.length);this._initIndexMap(t,null,a,"_oldKeyGetter"),this._initIndexMap(n,r,i,"_newKeyGetter");for(var o=0;o<t.length;o++){var l=a[o],s=r[l],u=Wh(s);if(u>1){var c=s.shift();s.length===1&&(r[l]=s[0]),this._update&&this._update(c,o)}else u===1?(r[l]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(i,r)},e.prototype._executeMultiple=function(){var t=this._old,n=this._new,r={},a={},i=[],o=[];this._initIndexMap(t,r,i,"_oldKeyGetter"),this._initIndexMap(n,a,o,"_newKeyGetter");for(var l=0;l<i.length;l++){var s=i[l],u=r[s],c=a[s],f=Wh(u),d=Wh(c);if(f>1&&d===1)this._updateManyToOne&&this._updateManyToOne(c,u),a[s]=null;else if(f===1&&d>1)this._updateOneToMany&&this._updateOneToMany(c,u),a[s]=null;else if(f===1&&d===1)this._update&&this._update(c,u),a[s]=null;else if(f>1&&d>1)this._updateManyToMany&&this._updateManyToMany(c,u),a[s]=null;else if(f>1)for(var h=0;h<f;h++)this._remove&&this._remove(u[h]);else this._remove&&this._remove(u)}this._performRestAdd(o,a)},e.prototype._performRestAdd=function(t,n){for(var r=0;r<t.length;r++){var a=t[r],i=n[a],o=Wh(i);if(o>1)for(var l=0;l<o;l++)this._add&&this._add(i[l]);else o===1&&this._add&&this._add(i);n[a]=null}},e.prototype._initIndexMap=function(t,n,r,a){for(var i=this._diffModeMultiple,o=0;o<t.length;o++){var l="_ec_"+this[a](t[o],o);if(i||(r[o]=l),!!n){var s=n[l],u=Wh(s);u===0?(n[l]=o,i&&r.push(l)):u===1?n[l]=[s,o]:s.push(o)}}},e}(),UEe=function(){function e(t,n){this._encode=t,this._schema=n}return e.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},e.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},e}();function YEe(e,t){var n={},r=n.encode={},a=pt(),i=[],o=[],l={};K(e.dimensions,function(d){var h=e.getDimensionInfo(d),v=h.coordDim;if(v){var p=h.coordDimIndex;M_(r,v)[p]=d,h.isExtraCoord||(a.set(v,1),KEe(h.type)&&(i[0]=d),M_(l,v)[p]=e.getDimensionIndex(h.name)),h.defaultTooltip&&o.push(d)}cj.each(function(g,m){var b=M_(r,m),_=h.otherDims[m];_!=null&&_!==!1&&(b[_]=h.name)})});var s=[],u={};a.each(function(d,h){var v=r[h];u[h]=v[0],s=s.concat(v)}),n.dataDimsOnCoord=s,n.dataDimIndicesOnCoord=Ge(s,function(d){return e.getDimensionInfo(d).storeDimIndex}),n.encodeFirstDimNotExtra=u;var c=r.label;c&&c.length&&(i=c.slice());var f=r.tooltip;return f&&f.length?o=f.slice():o.length||(o=i.slice()),r.defaultedLabel=i,r.defaultedTooltip=o,n.userOutput=new UEe(l,t),n}function M_(e,t){return e.hasOwnProperty(t)||(e[t]=[]),e[t]}function Mm(e){return e==="category"?"ordinal":e==="time"?"time":"float"}function KEe(e){return!(e==="ordinal"||e==="time")}var y2=function(){function e(t){this.otherDims={},t!=null&&$e(this,t)}return e}(),XEe=an(),ZEe={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},_q=function(){function e(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return e.prototype.isDimensionOmitted=function(){return this._dimOmitted},e.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=Sq(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return Ot(this._dimNameMap.get(t),-1)},e.prototype.getSourceDimension=function(t){var n=this.source.dimensionsDefine;if(n)return n[t]},e.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,n=wj(this.source),r=!Cq(t),a="",i=[],o=0,l=0;o<t;o++){var s=void 0,u=void 0,c=void 0,f=this.dimensions[l];if(f&&f.storeDimIndex===o)s=n?f.name:null,u=f.type,c=f.ordinalMeta,l++;else{var d=this.getSourceDimension(o);d&&(s=n?d.name:null,u=d.type)}i.push({property:s,type:u,ordinalMeta:c}),n&&s!=null&&(!f||!f.isCalculationCoord)&&(a+=r?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),a+="$",a+=ZEe[u]||"f",c&&(a+=c.uid),a+="$"}var h=this.source,v=[h.seriesLayoutBy,h.startIndex,a].join("$$");return{dimensions:i,hash:v}},e.prototype.makeOutputDimensionNames=function(){for(var t=[],n=0,r=0;n<this._fullDimCount;n++){var a=void 0,i=this.dimensions[r];if(i&&i.storeDimIndex===n)i.isCalculationCoord||(a=i.name),r++;else{var o=this.getSourceDimension(n);o&&(a=o.name)}t.push(a)}return t},e.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},e}();function wq(e){return e instanceof _q}function xq(e){for(var t=pt(),n=0;n<(e||[]).length;n++){var r=e[n],a=wt(r)?r.name:r;a!=null&&t.get(a)==null&&t.set(a,n)}return t}function Sq(e){var t=XEe(e);return t.dimNameMap||(t.dimNameMap=xq(e.dimensionsDefine))}function Cq(e){return e>30}var Uh=wt,Ql=Ge,JEe=typeof Int32Array>"u"?Array:Int32Array,QEe="e\0\0",tE=-1,eIe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],tIe=["_approximateExtent"],nE,Zg,Yh,Kh,A_,Jg,E_,ua=function(){function e(t,n){this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r,a=!1;wq(t)?(r=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(a=!0,r=t),r=r||["x","y"];for(var i={},o=[],l={},s=!1,u={},c=0;c<r.length;c++){var f=r[c],d=it(f)?new y2({name:f}):f instanceof y2?f:new y2(f),h=d.name;d.type=d.type||"float",d.coordDim||(d.coordDim=h,d.coordDimIndex=0);var v=d.otherDims=d.otherDims||{};o.push(h),i[h]=d,u[h]!=null&&(s=!0),d.createInvertedIndices&&(l[h]=[]),v.itemName===0&&(this._nameDimIdx=c),v.itemId===0&&(this._idDimIdx=c),a&&(d.storeDimIndex=c)}if(this.dimensions=o,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=n,this._invertedIndicesMap=l,this._dimOmitted){var p=this._dimIdxToName=pt();K(o,function(g){p.set(i[g].storeDimIndex,g)})}}return e.prototype.getDimension=function(t){var n=this._recognizeDimIndex(t);if(n==null)return t;if(n=t,!this._dimOmitted)return this.dimensions[n];var r=this._dimIdxToName.get(n);if(r!=null)return r;var a=this._schema.getSourceDimension(n);if(a)return a.name},e.prototype.getDimensionIndex=function(t){var n=this._recognizeDimIndex(t);if(n!=null)return n;if(t==null)return-1;var r=this._getDimInfo(t);return r?r.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},e.prototype._recognizeDimIndex=function(t){if(ln(t)||t!=null&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},e.prototype._getStoreDimIndex=function(t){var n=this.getDimensionIndex(t);return n},e.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},e.prototype._initGetDimensionInfo=function(t){var n=this._dimInfos;this._getDimInfo=t?function(r){return n.hasOwnProperty(r)?n[r]:void 0}:function(r){return n[r]}},e.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},e.prototype.mapDimension=function(t,n){var r=this._dimSummary;if(n==null)return r.encodeFirstDimNotExtra[t];var a=r.encode[t];return a?a[n]:null},e.prototype.mapDimensionsAll=function(t){var n=this._dimSummary,r=n.encode[t];return(r||[]).slice()},e.prototype.getStore=function(){return this._store},e.prototype.initData=function(t,n,r){var a=this,i;if(t instanceof ox&&(i=t),!i){var o=this.dimensions,l=u8(t)||Zr(t)?new xj(t,o.length):t;i=new ox;var s=Ql(o,function(u){return{type:a._dimInfos[u].type,property:u}});i.initData(l,s,r)}this._store=i,this._nameList=(n||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=YEe(this,this._schema),this.userOutput=this._dimSummary.userOutput},e.prototype.appendData=function(t){var n=this._store.appendData(t);this._doInit(n[0],n[1])},e.prototype.appendValues=function(t,n){var r=this._store.appendValues(t,n.length),a=r.start,i=r.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),n)for(var l=a;l<i;l++){var s=l-a;this._nameList[l]=n[s],o&&E_(this,l)}},e.prototype._updateOrdinalMeta=function(){for(var t=this._store,n=this.dimensions,r=0;r<n.length;r++){var a=this._dimInfos[n[r]];a.ordinalMeta&&t.collectOrdinalMeta(a.storeDimIndex,a.ordinalMeta)}},e.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return this._idDimIdx==null&&t.getSource().sourceFormat!==Ps&&!t.fillStorage},e.prototype._doInit=function(t,n){if(!(t>=n)){var r=this._store,a=r.getProvider();this._updateOrdinalMeta();var i=this._nameList,o=this._idList,l=a.getSource().sourceFormat,s=l===Ii;if(s&&!a.pure)for(var u=[],c=t;c<n;c++){var f=a.getItem(c,u);if(!this.hasItemOption&&RTe(f)&&(this.hasItemOption=!0),f){var d=f.name;i[c]==null&&d!=null&&(i[c]=ur(d,null));var h=f.id;o[c]==null&&h!=null&&(o[c]=ur(h,null))}}if(this._shouldMakeIdFromName())for(var c=t;c<n;c++)E_(this,c);nE(this)}},e.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.setApproximateExtent=function(t,n){n=this.getDimension(n),this._approximateExtent[n]=t.slice()},e.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},e.prototype.setCalculationInfo=function(t,n){Uh(t)?$e(this._calculationInfo,t):this._calculationInfo[t]=n},e.prototype.getName=function(t){var n=this.getRawIndex(t),r=this._nameList[n];return r==null&&this._nameDimIdx!=null&&(r=Yh(this,this._nameDimIdx,n)),r==null&&(r=""),r},e.prototype._getCategory=function(t,n){var r=this._store.get(t,n),a=this._store.getOrdinalMeta(t);return a?a.categories[r]:r},e.prototype.getId=function(t){return Zg(this,this.getRawIndex(t))},e.prototype.count=function(){return this._store.count()},e.prototype.get=function(t,n){var r=this._store,a=this._dimInfos[t];if(a)return r.get(a.storeDimIndex,n)},e.prototype.getByRawIndex=function(t,n){var r=this._store,a=this._dimInfos[t];if(a)return r.getByRawIndex(a.storeDimIndex,n)},e.prototype.getIndices=function(){return this._store.getIndices()},e.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},e.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},e.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},e.prototype.getValues=function(t,n){var r=this,a=this._store;return He(t)?a.getValues(Ql(t,function(i){return r._getStoreDimIndex(i)}),n):a.getValues(t)},e.prototype.hasValue=function(t){for(var n=this._dimSummary.dataDimIndicesOnCoord,r=0,a=n.length;r<a;r++)if(isNaN(this._store.get(n[r],t)))return!1;return!0},e.prototype.indexOfName=function(t){for(var n=0,r=this._store.count();n<r;n++)if(this.getName(n)===t)return n;return-1},e.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},e.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},e.prototype.rawIndexOf=function(t,n){var r=t&&this._invertedIndicesMap[t],a=r[n];return a==null||isNaN(a)?tE:a},e.prototype.indicesOfNearest=function(t,n,r){return this._store.indicesOfNearest(this._getStoreDimIndex(t),n,r)},e.prototype.each=function(t,n,r){yt(t)&&(r=n,n=t,t=[]);var a=r||this,i=Ql(Kh(t),this._getStoreDimIndex,this);this._store.each(i,a?lt(n,a):n)},e.prototype.filterSelf=function(t,n,r){yt(t)&&(r=n,n=t,t=[]);var a=r||this,i=Ql(Kh(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,a?lt(n,a):n),this},e.prototype.selectRange=function(t){var n=this,r={},a=tn(t);return K(a,function(i){var o=n._getStoreDimIndex(i);r[o]=t[i]}),this._store=this._store.selectRange(r),this},e.prototype.mapArray=function(t,n,r){yt(t)&&(r=n,n=t,t=[]),r=r||this;var a=[];return this.each(t,function(){a.push(n&&n.apply(this,arguments))},r),a},e.prototype.map=function(t,n,r,a){var i=r||a||this,o=Ql(Kh(t),this._getStoreDimIndex,this),l=Jg(this);return l._store=this._store.map(o,i?lt(n,i):n),l},e.prototype.modify=function(t,n,r,a){var i=r||a||this,o=Ql(Kh(t),this._getStoreDimIndex,this);this._store.modify(o,i?lt(n,i):n)},e.prototype.downSample=function(t,n,r,a){var i=Jg(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),n,r,a),i},e.prototype.lttbDownSample=function(t,n){var r=Jg(this);return r._store=this._store.lttbDownSample(this._getStoreDimIndex(t),n),r},e.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},e.prototype.getItemModel=function(t){var n=this.hostModel,r=this.getRawDataItem(t);return new yn(r,n,n&&n.ecModel)},e.prototype.diff=function(t){var n=this;return new Ml(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(r){return Zg(t,r)},function(r){return Zg(n,r)})},e.prototype.getVisual=function(t){var n=this._visual;return n&&n[t]},e.prototype.setVisual=function(t,n){this._visual=this._visual||{},Uh(t)?$e(this._visual,t):this._visual[t]=n},e.prototype.getItemVisual=function(t,n){var r=this._itemVisuals[t],a=r&&r[n];return a??this.getVisual(n)},e.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},e.prototype.ensureUniqueItemVisual=function(t,n){var r=this._itemVisuals,a=r[t];a||(a=r[t]={});var i=a[n];return i==null&&(i=this.getVisual(n),He(i)?i=i.slice():Uh(i)&&(i=$e({},i)),a[n]=i),i},e.prototype.setItemVisual=function(t,n,r){var a=this._itemVisuals[t]||{};this._itemVisuals[t]=a,Uh(n)?$e(a,n):a[n]=r},e.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},e.prototype.setLayout=function(t,n){Uh(t)?$e(this._layout,t):this._layout[t]=n},e.prototype.getLayout=function(t){return this._layout[t]},e.prototype.getItemLayout=function(t){return this._itemLayouts[t]},e.prototype.setItemLayout=function(t,n,r){this._itemLayouts[t]=r?$e(this._itemLayouts[t]||{},n):n},e.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},e.prototype.setItemGraphicEl=function(t,n){var r=this.hostModel&&this.hostModel.seriesIndex;Uw(r,this.dataType,t,n),this._graphicEls[t]=n},e.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},e.prototype.eachItemGraphicEl=function(t,n){K(this._graphicEls,function(r,a){r&&t&&t.call(n,r,a)})},e.prototype.cloneShallow=function(t){return t||(t=new e(this._schema?this._schema:Ql(this.dimensions,this._getDimInfo,this),this.hostModel)),A_(t,this),t._store=this._store,t},e.prototype.wrapMethod=function(t,n){var r=this[t];yt(r)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var a=r.apply(this,arguments);return n.apply(this,[a].concat(M6(arguments)))})},e.internalField=function(){nE=function(t){var n=t._invertedIndicesMap;K(n,function(r,a){var i=t._dimInfos[a],o=i.ordinalMeta,l=t._store;if(o){r=n[a]=new JEe(o.categories.length);for(var s=0;s<r.length;s++)r[s]=tE;for(var s=0;s<l.count();s++)r[l.get(i.storeDimIndex,s)]=s}})},Yh=function(t,n,r){return ur(t._getCategory(n,r),null)},Zg=function(t,n){var r=t._idList[n];return r==null&&t._idDimIdx!=null&&(r=Yh(t,t._idDimIdx,n)),r==null&&(r=QEe+n),r},Kh=function(t){return He(t)||(t=t!=null?[t]:[]),t},Jg=function(t){var n=new e(t._schema?t._schema:Ql(t.dimensions,t._getDimInfo,t),t.hostModel);return A_(n,t),n},A_=function(t,n){K(eIe.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(t[r]=n[r])}),t.__wrappedMethods=n.__wrappedMethods,K(tIe,function(r){t[r]=kt(n[r])}),t._calculationInfo=$e({},n._calculationInfo)},E_=function(t,n){var r=t._nameList,a=t._idList,i=t._nameDimIdx,o=t._idDimIdx,l=r[n],s=a[n];if(l==null&&i!=null&&(r[n]=l=Yh(t,i,n)),s==null&&o!=null&&(a[n]=s=Yh(t,o,n)),s==null&&l!=null){var u=t._nameRepeatCount,c=u[l]=(u[l]||0)+1;s=l,c>1&&(s+="__ec__"+c),a[n]=s}}}(),e}();function Op(e,t){u8(e)||(e=c8(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],a=pt(),i=[],o=rIe(e,n,r,t.dimensionsCount),l=t.canOmitUnusedDimensions&&Cq(o),s=r===e.dimensionsDefine,u=s?Sq(e):xq(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var f=pt(c),d=new Ej(o),h=0;h<d.length;h++)d[h]=-1;function v(z){var A=d[z];if(A<0){var E=r[z],D=wt(E)?E:{name:E},$=new y2,O=D.name;O!=null&&u.get(O)!=null&&($.name=$.displayName=O),D.type!=null&&($.type=D.type),D.displayName!=null&&($.displayName=D.displayName);var R=i.length;return d[z]=R,$.storeDimIndex=z,i.push($),$}return i[A]}if(!l)for(var h=0;h<o;h++)v(h);f.each(function(z,A){var E=Cn(z).slice();if(E.length===1&&!it(E[0])&&E[0]<0){f.set(A,!1);return}var D=f.set(A,[]);K(E,function($,O){var R=it($)?u.get($):$;R!=null&&R<o&&(D[O]=R,g(v(R),A,O))})});var p=0;K(n,function(z){var A,E,D,$;if(it(z))A=z,$={};else{$=z,A=$.name;var O=$.ordinalMeta;$.ordinalMeta=null,$=$e({},$),$.ordinalMeta=O,E=$.dimsDef,D=$.otherDims,$.name=$.coordDim=$.coordDimIndex=$.dimsDef=$.otherDims=null}var R=f.get(A);if(R!==!1){if(R=Cn(R),!R.length)for(var N=0;N<(E&&E.length||1);N++){for(;p<o&&v(p).coordDim!=null;)p++;p<o&&R.push(p++)}K(R,function(B,V){var P=v(B);if(s&&$.type!=null&&(P.type=$.type),g(_t(P,$),A,V),P.name==null&&E){var W=E[V];!wt(W)&&(W={name:W}),P.name=P.displayName=W.name,P.defaultTooltip=W.defaultTooltip}D&&_t(P.otherDims,D)})}});function g(z,A,E){cj.get(A)!=null?z.otherDims[A]=E:(z.coordDim=A,z.coordDimIndex=E,a.set(A,!0))}var m=t.generateCoord,b=t.generateCoordCount,_=b!=null;b=m?b||1:0;var w=m||"value";function x(z){z.name==null&&(z.name=z.coordDim)}if(l)K(i,function(z){x(z)}),i.sort(function(z,A){return z.storeDimIndex-A.storeDimIndex});else for(var S=0;S<o;S++){var C=v(S),T=C.coordDim;T==null&&(C.coordDim=aIe(w,a,_),C.coordDimIndex=0,(!m||b<=0)&&(C.isExtraCoord=!0),b--),x(C),C.type==null&&(vj(e,S)===Dr.Must||C.isExtraCoord&&(C.otherDims.itemName!=null||C.otherDims.seriesName!=null))&&(C.type="ordinal")}return nIe(i),new _q({source:e,dimensions:i,fullDimensionCount:o,dimensionOmitted:l})}function nIe(e){for(var t=pt(),n=0;n<e.length;n++){var r=e[n],a=r.name,i=t.get(a)||0;i>0&&(r.name=a+(i-1)),i++,t.set(a,i)}}function rIe(e,t,n,r){var a=Math.max(e.dimensionsDetectedCount||1,t.length,n.length,r||0);return K(t,function(i){var o;wt(i)&&(o=i.dimsDef)&&(a=Math.max(a,o.length))}),a}function aIe(e,t,n){if(n||t.hasKey(e)){for(var r=0;t.hasKey(e+r);)r++;e+=r}return t.set(e,!0),e}var iIe=function(){function e(t){this.coordSysDims=[],this.axisMap=pt(),this.categoryAxisMap=pt(),this.coordSysName=t}return e}();function oIe(e){var t=e.get("coordinateSystem"),n=new iIe(t),r=lIe[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var lIe={cartesian2d:function(e,t,n,r){var a=e.getReferringComponents("xAxis",rr).models[0],i=e.getReferringComponents("yAxis",rr).models[0];t.coordSysDims=["x","y"],n.set("x",a),n.set("y",i),Sf(a)&&(r.set("x",a),t.firstCategoryDimIndex=0),Sf(i)&&(r.set("y",i),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},singleAxis:function(e,t,n,r){var a=e.getReferringComponents("singleAxis",rr).models[0];t.coordSysDims=["single"],n.set("single",a),Sf(a)&&(r.set("single",a),t.firstCategoryDimIndex=0)},polar:function(e,t,n,r){var a=e.getReferringComponents("polar",rr).models[0],i=a.findAxisModel("radiusAxis"),o=a.findAxisModel("angleAxis");t.coordSysDims=["radius","angle"],n.set("radius",i),n.set("angle",o),Sf(i)&&(r.set("radius",i),t.firstCategoryDimIndex=0),Sf(o)&&(r.set("angle",o),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=1))},geo:function(e,t,n,r){t.coordSysDims=["lng","lat"]},parallel:function(e,t,n,r){var a=e.ecModel,i=a.getComponent("parallel",e.get("parallelIndex")),o=t.coordSysDims=i.dimensions.slice();K(i.parallelAxisIndex,function(l,s){var u=a.getComponent("parallelAxis",l),c=o[s];n.set(c,u),Sf(u)&&(r.set(c,u),t.firstCategoryDimIndex==null&&(t.firstCategoryDimIndex=s))})}};function Sf(e){return e.get("type")==="category"}function sIe(e,t,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,i,o,l;uIe(t)?i=t:(o=t.schema,i=o.dimensions,l=t.store);var s=!!(e&&e.get("stack")),u,c,f,d;if(K(i,function(b,_){it(b)&&(i[_]=b={name:b}),s&&!b.isExtraCoord&&(!r&&!u&&b.ordinalMeta&&(u=b),!c&&b.type!=="ordinal"&&b.type!=="time"&&(!a||a===b.coordDim)&&(c=b))}),c&&!r&&!u&&(r=!0),c){f="__\0ecstackresult_"+e.id,d="__\0ecstackedover_"+e.id,u&&(u.createInvertedIndices=!0);var h=c.coordDim,v=c.type,p=0;K(i,function(b){b.coordDim===h&&p++});var g={name:f,coordDim:h,coordDimIndex:p,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},m={name:d,coordDim:d,coordDimIndex:p+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};o?(l&&(g.storeDimIndex=l.ensureCalculationDimension(d,v),m.storeDimIndex=l.ensureCalculationDimension(f,v)),o.appendCalculationDimension(g),o.appendCalculationDimension(m)):(i.push(g),i.push(m))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:r,stackedOverDimension:d,stackResultDimension:f}}function uIe(e){return!wq(e.schema)}function Zs(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function Tq(e,t){return Zs(e,t)?e.getCalculationInfo("stackResultDimension"):t}function cIe(e,t){var n=e.get("coordinateSystem"),r=Pp.get(n),a;return t&&t.coordSysDims&&(a=Ge(t.coordSysDims,function(i){var o={name:i},l=t.axisMap.get(i);if(l){var s=l.get("type");o.type=Mm(s)}return o})),a||(a=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),a}function fIe(e,t,n){var r,a;return n&&K(e,function(i,o){var l=i.coordDim,s=n.categoryAxisMap.get(l);s&&(r==null&&(r=o),i.ordinalMeta=s.getOrdinalMeta(),t&&(i.createInvertedIndices=!0)),i.otherDims.itemName!=null&&(a=!0)}),!a&&r!=null&&(e[r].otherDims.itemName=0),r}function jl(e,t,n){n=n||{};var r=t.getSourceManager(),a,i=!1;e?(i=!0,a=c8(e)):(a=r.getSource(),i=a.sourceFormat===Ii);var o=oIe(t),l=cIe(t,o),s=n.useEncodeDefaulter,u=yt(s)?s:s?$t(hj,l,t):null,c={coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},f=Op(a,c),d=fIe(f.dimensions,n.createInvertedIndices,o),h=i?null:r.getSharedDataStore(f),v=sIe(t,{schema:f,store:h}),p=new ua(f,t);p.setCalculationInfo(v);var g=d!=null&&dIe(a)?function(m,b,_,w){return w===d?_:this.defaultDimValueGetter(m,b,_,w)}:null;return p.hasItemOption=!1,p.initData(i?a:h,null,g),p}function dIe(e){if(e.sourceFormat===Ii){var t=hIe(e.data||[]);return!He(sh(t))}}function hIe(e){for(var t=0;t<e.length&&e[t]==null;)t++;return e[t]}var Uo=function(){function e(t){this._setting=t||{},this._extent=[1/0,-1/0]}return e.prototype.getSetting=function(t){return this._setting[t]},e.prototype.unionExtent=function(t){var n=this._extent;t[0]<n[0]&&(n[0]=t[0]),t[1]>n[1]&&(n[1]=t[1])},e.prototype.unionExtentFromData=function(t,n){this.unionExtent(t.getApproximateExtent(n))},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.setExtent=function(t,n){var r=this._extent;isNaN(t)||(r[0]=t),isNaN(n)||(r[1]=n)},e.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},e.prototype.isBlank=function(){return this._isBlank},e.prototype.setBlank=function(t){this._isBlank=t},e}();Ky(Uo);var vIe=0,gx=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++vIe}return e.createByAxisModel=function(t){var n=t.option,r=n.data,a=r&&Ge(r,pIe);return new e({categories:a,needCollect:!a,deduplication:n.dedplication!==!1})},e.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},e.prototype.parseAndCollect=function(t){var n,r=this._needCollect;if(!it(t)&&!r)return t;if(r&&!this._deduplication)return n=this.categories.length,this.categories[n]=t,n;var a=this._getOrCreateMap();return n=a.get(t),n==null&&(r?(n=this.categories.length,this.categories[n]=t,a.set(t,n)):n=NaN),n},e.prototype._getOrCreateMap=function(){return this._map||(this._map=pt(this.categories))},e}();function pIe(e){return wt(e)&&e.value!=null?e.value:e+""}function mx(e){return e.type==="interval"||e.type==="log"}function gIe(e,t,n,r){var a={},i=e[1]-e[0],o=a.interval=XF(i/t);n!=null&&o<n&&(o=a.interval=n),r!=null&&o>r&&(o=a.interval=r);var l=a.intervalPrecision=kq(o),s=a.niceTickExtent=[Zn(Math.ceil(e[0]/o)*o,l),Zn(Math.floor(e[1]/o)*o,l)];return mIe(s,e),a}function I_(e){var t=Math.pow(10,O6(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,Zn(n*t)}function kq(e){return To(e)+2}function rE(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function mIe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),rE(e,0,t),rE(e,1,t),e[0]>e[1]&&(e[0]=e[1])}function g3(e,t){return e>=t[0]&&e<=t[1]}function m3(e,t){return t[1]===t[0]?.5:(e-t[0])/(t[1]-t[0])}function y3(e,t){return e*(t[1]-t[0])+t[0]}var b3=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;r.type="ordinal";var a=r.getSetting("ordinalMeta");return a||(a=new gx({})),He(a)&&(a=new gx({categories:Ge(a,function(i){return wt(i)?i.value:i})})),r._ordinalMeta=a,r._extent=r.getSetting("extent")||[0,a.categories.length-1],r}return t.prototype.parse=function(n){return n==null?NaN:it(n)?this._ordinalMeta.getOrdinal(n):Math.round(n)},t.prototype.contain=function(n){return n=this.parse(n),g3(n,this._extent)&&this._ordinalMeta.categories[n]!=null},t.prototype.normalize=function(n){return n=this._getTickNumber(this.parse(n)),m3(n,this._extent)},t.prototype.scale=function(n){return n=Math.round(y3(n,this._extent)),this.getRawOrdinalNumber(n)},t.prototype.getTicks=function(){for(var n=[],r=this._extent,a=r[0];a<=r[1];)n.push({value:a}),a++;return n},t.prototype.getMinorTicks=function(n){},t.prototype.setSortInfo=function(n){if(n==null){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}for(var r=n.ordinalNumbers,a=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],o=0,l=this._ordinalMeta.categories.length,s=Math.min(l,r.length);o<s;++o){var u=r[o];a[o]=u,i[u]=o}for(var c=0;o<l;++o){for(;i[c]!=null;)c++;a.push(c),i[c]=o}},t.prototype._getTickNumber=function(n){var r=this._ticksByOrdinalNumber;return r&&n>=0&&n<r.length?r[n]:n},t.prototype.getRawOrdinalNumber=function(n){var r=this._ordinalNumbersByTick;return r&&n>=0&&n<r.length?r[n]:n},t.prototype.getLabel=function(n){if(!this.isBlank()){var r=this.getRawOrdinalNumber(n.value),a=this._ordinalMeta.categories[r];return a==null?"":a+""}},t.prototype.count=function(){return this._extent[1]-this._extent[0]+1},t.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},t.prototype.isInExtentRange=function(n){return n=this._getTickNumber(n),this._extent[0]<=n&&this._extent[1]>=n},t.prototype.getOrdinalMeta=function(){return this._ordinalMeta},t.prototype.calcNiceTicks=function(){},t.prototype.calcNiceExtent=function(){},t.type="ordinal",t}(Uo);Uo.registerClass(b3);var Pu=Zn,Al=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="interval",n._interval=0,n._intervalPrecision=2,n}return t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return g3(n,this._extent)},t.prototype.normalize=function(n){return m3(n,this._extent)},t.prototype.scale=function(n){return y3(n,this._extent)},t.prototype.setExtent=function(n,r){var a=this._extent;isNaN(n)||(a[0]=parseFloat(n)),isNaN(r)||(a[1]=parseFloat(r))},t.prototype.unionExtent=function(n){var r=this._extent;n[0]<r[0]&&(r[0]=n[0]),n[1]>r[1]&&(r[1]=n[1]),this.setExtent(r[0],r[1])},t.prototype.getInterval=function(){return this._interval},t.prototype.setInterval=function(n){this._interval=n,this._niceExtent=this._extent.slice(),this._intervalPrecision=kq(n)},t.prototype.getTicks=function(n){var r=this._interval,a=this._extent,i=this._niceExtent,o=this._intervalPrecision,l=[];if(!r)return l;var s=1e4;a[0]<i[0]&&(n?l.push({value:Pu(i[0]-r,o)}):l.push({value:a[0]}));for(var u=i[0];u<=i[1]&&(l.push({value:u}),u=Pu(u+r,o),u!==l[l.length-1].value);)if(l.length>s)return[];var c=l.length?l[l.length-1].value:i[1];return a[1]>c&&(n?l.push({value:Pu(c+r,o)}):l.push({value:a[1]})),l},t.prototype.getMinorTicks=function(n){for(var r=this.getTicks(!0),a=[],i=this.getExtent(),o=1;o<r.length;o++){for(var l=r[o],s=r[o-1],u=0,c=[],f=l.value-s.value,d=f/n;u<n-1;){var h=Pu(s.value+(u+1)*d);h>i[0]&&h<i[1]&&c.push(h),u++}a.push(c)}return a},t.prototype.getLabel=function(n,r){if(n==null)return"";var a=r&&r.precision;a==null?a=To(n.value)||0:a==="auto"&&(a=this._intervalPrecision);var i=Pu(n.value,a,!0);return aj(i)},t.prototype.calcNiceTicks=function(n,r,a){n=n||5;var i=this._extent,o=i[1]-i[0];if(isFinite(o)){o<0&&(o=-o,i.reverse());var l=gIe(i,n,r,a);this._intervalPrecision=l.intervalPrecision,this._interval=l.interval,this._niceExtent=l.niceTickExtent}},t.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1])if(r[0]!==0){var a=Math.abs(r[0]);n.fixMax||(r[1]+=a/2),r[0]-=a/2}else r[1]=1;var i=r[1]-r[0];isFinite(i)||(r[0]=0,r[1]=1),this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval);var o=this._interval;n.fixMin||(r[0]=Pu(Math.floor(r[0]/o)*o)),n.fixMax||(r[1]=Pu(Math.ceil(r[1]/o)*o))},t.prototype.setNiceExtent=function(n,r){this._niceExtent=[n,r]},t.type="interval",t}(Uo);Uo.registerClass(Al);var zq=typeof Float32Array<"u",yIe=zq?Float32Array:Array;function zo(e){return He(e)?zq?new Float32Array(e):e:new yIe(e)}var yx="__ec_stack_";function w8(e){return e.get("stack")||yx+e.seriesIndex}function x8(e){return e.dim+e.index}function bIe(e){var t=[],n=e.axis,r="axis0";if(n.type==="category"){for(var a=n.getBandWidth(),i=0;i<e.count;i++)t.push(_t({bandWidth:a,axisKey:r,stackId:yx+i},e));for(var o=Eq(t),l=[],i=0;i<e.count;i++){var s=o[r][yx+i];s.offsetCenter=s.offset+s.width/2,l.push(s)}return l}}function Mq(e,t){var n=[];return t.eachSeriesByType(e,function(r){Lq(r)&&n.push(r)}),n}function _Ie(e){var t={};K(e,function(s){var u=s.coordinateSystem,c=u.getBaseAxis();if(!(c.type!=="time"&&c.type!=="value"))for(var f=s.getData(),d=c.dim+"_"+c.index,h=f.getDimensionIndex(f.mapDimension(c.dim)),v=f.getStore(),p=0,g=v.count();p<g;++p){var m=v.get(h,p);t[d]?t[d].push(m):t[d]=[m]}});var n={};for(var r in t)if(t.hasOwnProperty(r)){var a=t[r];if(a){a.sort(function(s,u){return s-u});for(var i=null,o=1;o<a.length;++o){var l=a[o]-a[o-1];l>0&&(i=i===null?l:Math.min(i,l))}n[r]=i}}return n}function Aq(e){var t=_Ie(e),n=[];return K(e,function(r){var a=r.coordinateSystem,i=a.getBaseAxis(),o=i.getExtent(),l;if(i.type==="category")l=i.getBandWidth();else if(i.type==="value"||i.type==="time"){var s=i.dim+"_"+i.index,u=t[s],c=Math.abs(o[1]-o[0]),f=i.scale.getExtent(),d=Math.abs(f[1]-f[0]);l=u?c/d*u:c}else{var h=r.getData();l=Math.abs(o[1]-o[0])/h.count()}var v=et(r.get("barWidth"),l),p=et(r.get("barMaxWidth"),l),g=et(r.get("barMinWidth")||(Pq(r)?.5:1),l),m=r.get("barGap"),b=r.get("barCategoryGap");n.push({bandWidth:l,barWidth:v,barMaxWidth:p,barMinWidth:g,barGap:m,barCategoryGap:b,axisKey:x8(i),stackId:w8(r)})}),Eq(n)}function Eq(e){var t={};K(e,function(r,a){var i=r.axisKey,o=r.bandWidth,l=t[i]||{bandWidth:o,remainedWidth:o,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},s=l.stacks;t[i]=l;var u=r.stackId;s[u]||l.autoWidthCount++,s[u]=s[u]||{width:0,maxWidth:0};var c=r.barWidth;c&&!s[u].width&&(s[u].width=c,c=Math.min(l.remainedWidth,c),l.remainedWidth-=c);var f=r.barMaxWidth;f&&(s[u].maxWidth=f);var d=r.barMinWidth;d&&(s[u].minWidth=d);var h=r.barGap;h!=null&&(l.gap=h);var v=r.barCategoryGap;v!=null&&(l.categoryGap=v)});var n={};return K(t,function(r,a){n[a]={};var i=r.stacks,o=r.bandWidth,l=r.categoryGap;if(l==null){var s=tn(i).length;l=Math.max(35-s*4,15)+"%"}var u=et(l,o),c=et(r.gap,1),f=r.remainedWidth,d=r.autoWidthCount,h=(f-u)/(d+(d-1)*c);h=Math.max(h,0),K(i,function(m){var b=m.maxWidth,_=m.minWidth;if(m.width){var w=m.width;b&&(w=Math.min(w,b)),_&&(w=Math.max(w,_)),m.width=w,f-=w+c*w,d--}else{var w=h;b&&b<w&&(w=Math.min(b,f)),_&&_>w&&(w=_),w!==h&&(m.width=w,f-=w+c*w,d--)}}),h=(f-u)/(d+(d-1)*c),h=Math.max(h,0);var v=0,p;K(i,function(m,b){m.width||(m.width=h),p=m,v+=m.width*(1+c)}),p&&(v-=p.width*c);var g=-v/2;K(i,function(m,b){n[a][b]=n[a][b]||{bandWidth:o,offset:g,width:m.width},g+=m.width*(1+c)})}),n}function wIe(e,t,n){if(e&&t){var r=e[x8(t)];return r!=null&&n!=null?r[w8(n)]:r}}function Iq(e,t){var n=Mq(e,t),r=Aq(n);K(n,function(a){var i=a.getData(),o=a.coordinateSystem,l=o.getBaseAxis(),s=w8(a),u=r[x8(l)][s],c=u.offset,f=u.width;i.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function Dq(e){return{seriesType:e,plan:mh(),reset:function(t){if(Lq(t)){var n=t.getData(),r=t.coordinateSystem,a=r.getBaseAxis(),i=r.getOtherAxis(a),o=n.getDimensionIndex(n.mapDimension(i.dim)),l=n.getDimensionIndex(n.mapDimension(a.dim)),s=t.get("showBackground",!0),u=n.mapDimension(i.dim),c=n.getCalculationInfo("stackResultDimension"),f=Zs(n,u)&&!!n.getCalculationInfo("stackedOnSeries"),d=i.isHorizontal(),h=xIe(a,i),v=Pq(t),p=t.get("barMinHeight")||0,g=c&&n.getDimensionIndex(c),m=n.getLayout("size"),b=n.getLayout("offset");return{progress:function(_,w){for(var x=_.count,S=v&&zo(x*3),C=v&&s&&zo(x*3),T=v&&zo(x),z=r.master.getRect(),A=d?z.width:z.height,E,D=w.getStore(),$=0;(E=_.next())!=null;){var O=D.get(f?g:o,E),R=D.get(l,E),N=h,B=void 0;f&&(B=+O-D.get(o,E));var V=void 0,P=void 0,W=void 0,Z=void 0;if(d){var ee=r.dataToPoint([O,R]);if(f){var re=r.dataToPoint([B,R]);N=re[0]}V=N,P=ee[1]+b,W=ee[0]-N,Z=m,Math.abs(W)<p&&(W=(W<0?-1:1)*p)}else{var ee=r.dataToPoint([R,O]);if(f){var re=r.dataToPoint([R,B]);N=re[1]}V=ee[0]+b,P=N,W=m,Z=ee[1]-N,Math.abs(Z)<p&&(Z=(Z<=0?-1:1)*p)}v?(S[$]=V,S[$+1]=P,S[$+2]=d?W:Z,C&&(C[$]=d?z.x:V,C[$+1]=d?P:z.y,C[$+2]=A),T[E]=E):w.setItemLayout(E,{x:V,y:P,width:W,height:Z}),$+=3}v&&w.setLayout({largePoints:S,largeDataIndices:T,largeBackgroundPoints:C,valueAxisHorizontal:d})}}}}}}function Lq(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function Pq(e){return e.pipelineContext&&e.pipelineContext.large}function xIe(e,t){var n=t.model.get("startValue");return n||(n=0),t.toGlobalCoord(t.dataToCoord(t.type==="log"?n>0?n:1:n))}var SIe=function(e,t,n,r){for(;n<r;){var a=n+r>>>1;e[a][1]<t?n=a+1:r=a}return n},S8=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="time",r}return t.prototype.getLabel=function(n){var r=this.getSetting("useUTC");return o3(n.value,UM[iMe(ud(this._minLevelUnit))]||UM.second,r,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(n,r,a){var i=this.getSetting("useUTC"),o=this.getSetting("locale");return oMe(n,r,a,o,i)},t.prototype.getTicks=function(){var n=this._interval,r=this._extent,a=[];if(!n)return a;a.push({value:r[0],level:0});var i=this.getSetting("useUTC"),o=EIe(this._minLevelUnit,this._approxInterval,i,r);return a=a.concat(o),a.push({value:r[1],level:0}),a},t.prototype.calcNiceExtent=function(n){var r=this._extent;if(r[0]===r[1]&&(r[0]-=hi,r[1]+=hi),r[1]===-1/0&&r[0]===1/0){var a=new Date;r[1]=+new Date(a.getFullYear(),a.getMonth(),a.getDate()),r[0]=r[1]-hi}this.calcNiceTicks(n.splitNumber,n.minInterval,n.maxInterval)},t.prototype.calcNiceTicks=function(n,r,a){n=n||10;var i=this._extent,o=i[1]-i[0];this._approxInterval=o/n,r!=null&&this._approxInterval<r&&(this._approxInterval=r),a!=null&&this._approxInterval>a&&(this._approxInterval=a);var l=Qg.length,s=Math.min(SIe(Qg,this._approxInterval,0,l),l-1);this._interval=Qg[s][1],this._minLevelUnit=Qg[Math.max(s-1,0)][0]},t.prototype.parse=function(n){return ln(n)?n:+Bo(n)},t.prototype.contain=function(n){return g3(this.parse(n),this._extent)},t.prototype.normalize=function(n){return m3(this.parse(n),this._extent)},t.prototype.scale=function(n){return y3(n,this._extent)},t.type="time",t}(Al),Qg=[["second",t8],["minute",n8],["hour",Xv],["quarter-day",Xv*6],["half-day",Xv*12],["day",hi*1.2],["half-week",hi*3.5],["week",hi*7],["month",hi*31],["quarter",hi*95],["half-year",WM/2],["year",WM]];function CIe(e,t,n,r){var a=Bo(t),i=Bo(n),o=function(v){return YM(a,v,r)===YM(i,v,r)},l=function(){return o("year")},s=function(){return l()&&o("month")},u=function(){return s()&&o("day")},c=function(){return u()&&o("hour")},f=function(){return c()&&o("minute")},d=function(){return f()&&o("second")},h=function(){return d()&&o("millisecond")};switch(e){case"year":return l();case"month":return s();case"day":return u();case"hour":return c();case"minute":return f();case"second":return d();case"millisecond":return h()}}function TIe(e,t){return e/=hi,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function kIe(e){var t=30*hi;return e/=t,e>6?6:e>3?3:e>2?2:1}function zIe(e){return e/=Xv,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function aE(e,t){return e/=t?n8:t8,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function MIe(e){return XF(e)}function AIe(e,t,n){var r=new Date(e);switch(ud(t)){case"year":case"month":r[JH(n)](0);case"day":r[QH(n)](1);case"hour":r[ej(n)](0);case"minute":r[tj(n)](0);case"second":r[nj(n)](0),r[rj(n)](0)}return r.getTime()}function EIe(e,t,n,r){var a=1e4,i=XH,o=0;function l(A,E,D,$,O,R,N){for(var B=new Date(E),V=E,P=B[$]();V<D&&V<=r[1];)N.push({value:V}),P+=A,B[O](P),V=B.getTime();N.push({value:V,notAdd:!0})}function s(A,E,D){var $=[],O=!E.length;if(!CIe(ud(A),r[0],r[1],n)){O&&(E=[{value:AIe(new Date(r[0]),A,n)},{value:r[1]}]);for(var R=0;R<E.length-1;R++){var N=E[R].value,B=E[R+1].value;if(N!==B){var V=void 0,P=void 0,W=void 0,Z=!1;switch(A){case"year":V=Math.max(1,Math.round(t/hi/365)),P=r8(n),W=lMe(n);break;case"half-year":case"quarter":case"month":V=kIe(t),P=cd(n),W=JH(n);break;case"week":case"half-week":case"day":V=TIe(t),P=l3(n),W=QH(n),Z=!0;break;case"half-day":case"quarter-day":case"hour":V=zIe(t),P=F1(n),W=ej(n);break;case"minute":V=aE(t,!0),P=s3(n),W=tj(n);break;case"second":V=aE(t,!1),P=u3(n),W=nj(n);break;case"millisecond":V=MIe(t),P=c3(n),W=rj(n);break}l(V,N,B,P,W,Z,$),A==="year"&&D.length>1&&R===0&&D.unshift({value:D[0].value-V})}}for(var R=0;R<$.length;R++)D.push($[R]);return $}}for(var u=[],c=[],f=0,d=0,h=0;h<i.length&&o++<a;++h){var v=ud(i[h]);if(aMe(i[h])){s(i[h],u[u.length-1]||[],c);var p=i[h+1]?ud(i[h+1]):null;if(v!==p){if(c.length){d=f,c.sort(function(A,E){return A.value-E.value});for(var g=[],m=0;m<c.length;++m){var b=c[m].value;(m===0||c[m-1].value!==b)&&(g.push(c[m]),b>=r[0]&&b<=r[1]&&f++)}var _=(r[1]-r[0])/t;if(f>_*1.5&&d>_/1.5||(u.push(g),f>_||e===i[h]))break}c=[]}}}for(var w=_n(Ge(u,function(A){return _n(A,function(E){return E.value>=r[0]&&E.value<=r[1]&&!E.notAdd})}),function(A){return A.length>0}),x=[],S=w.length-1,h=0;h<w.length;++h)for(var C=w[h],T=0;T<C.length;++T)x.push({value:C[T].value,level:S-h});x.sort(function(A,E){return A.value-E.value});for(var z=[],h=0;h<x.length;++h)(h===0||x[h].value!==x[h-1].value)&&z.push(x[h]);return z}Uo.registerClass(S8);var iE=Uo.prototype,e1=Al.prototype,IIe=Zn,DIe=Math.floor,LIe=Math.ceil,e0=Math.pow,Ri=Math.log,C8=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="log",n.base=10,n._originalScale=new Al,n._interval=0,n}return t.prototype.getTicks=function(n){var r=this._originalScale,a=this._extent,i=r.getExtent(),o=e1.getTicks.call(this,n);return Ge(o,function(l){var s=l.value,u=Zn(e0(this.base,s));return u=s===a[0]&&this._fixMin?t0(u,i[0]):u,u=s===a[1]&&this._fixMax?t0(u,i[1]):u,{value:u}},this)},t.prototype.setExtent=function(n,r){var a=Ri(this.base);n=Ri(Math.max(0,n))/a,r=Ri(Math.max(0,r))/a,e1.setExtent.call(this,n,r)},t.prototype.getExtent=function(){var n=this.base,r=iE.getExtent.call(this);r[0]=e0(n,r[0]),r[1]=e0(n,r[1]);var a=this._originalScale,i=a.getExtent();return this._fixMin&&(r[0]=t0(r[0],i[0])),this._fixMax&&(r[1]=t0(r[1],i[1])),r},t.prototype.unionExtent=function(n){this._originalScale.unionExtent(n);var r=this.base;n[0]=Ri(n[0])/Ri(r),n[1]=Ri(n[1])/Ri(r),iE.unionExtent.call(this,n)},t.prototype.unionExtentFromData=function(n,r){this.unionExtent(n.getApproximateExtent(r))},t.prototype.calcNiceTicks=function(n){n=n||10;var r=this._extent,a=r[1]-r[0];if(!(a===1/0||a<=0)){var i=PTe(a),o=n/a*i;for(o<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var l=[Zn(LIe(r[0]/i)*i),Zn(DIe(r[1]/i)*i)];this._interval=i,this._niceExtent=l}},t.prototype.calcNiceExtent=function(n){e1.calcNiceExtent.call(this,n),this._fixMin=n.fixMin,this._fixMax=n.fixMax},t.prototype.parse=function(n){return n},t.prototype.contain=function(n){return n=Ri(n)/Ri(this.base),g3(n,this._extent)},t.prototype.normalize=function(n){return n=Ri(n)/Ri(this.base),m3(n,this._extent)},t.prototype.scale=function(n){return n=y3(n,this._extent),e0(this.base,n)},t.type="log",t}(Uo),Rq=C8.prototype;Rq.getMinorTicks=e1.getMinorTicks;Rq.getLabel=e1.getLabel;function t0(e,t){return IIe(e,To(t))}Uo.registerClass(C8);var PIe=function(){function e(t,n,r){this._prepareParams(t,n,r)}return e.prototype._prepareParams=function(t,n,r){r[1]<r[0]&&(r=[NaN,NaN]),this._dataMin=r[0],this._dataMax=r[1];var a=this._isOrdinal=t.type==="ordinal";this._needCrossZero=t.type==="interval"&&n.getNeedCrossZero&&n.getNeedCrossZero();var i=n.get("min",!0);i==null&&(i=n.get("startValue",!0));var o=this._modelMinRaw=i;yt(o)?this._modelMinNum=n0(t,o({min:r[0],max:r[1]})):o!=="dataMin"&&(this._modelMinNum=n0(t,o));var l=this._modelMaxRaw=n.get("max",!0);if(yt(l)?this._modelMaxNum=n0(t,l({min:r[0],max:r[1]})):l!=="dataMax"&&(this._modelMaxNum=n0(t,l)),a)this._axisDataLen=n.getCategories().length;else{var s=n.get("boundaryGap"),u=He(s)?s:[s||0,s||0];typeof u[0]=="boolean"||typeof u[1]=="boolean"?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[Ji(u[0],1),Ji(u[1],1)]}},e.prototype.calculate=function(){var t=this._isOrdinal,n=this._dataMin,r=this._dataMax,a=this._axisDataLen,i=this._boundaryGapInner,o=t?null:r-n||Math.abs(n),l=this._modelMinRaw==="dataMin"?n:this._modelMinNum,s=this._modelMaxRaw==="dataMax"?r:this._modelMaxNum,u=l!=null,c=s!=null;l==null&&(l=t?a?0:NaN:n-i[0]*o),s==null&&(s=t?a?a-1:NaN:r+i[1]*o),(l==null||!isFinite(l))&&(l=NaN),(s==null||!isFinite(s))&&(s=NaN);var f=D1(l)||D1(s)||t&&!a;this._needCrossZero&&(l>0&&s>0&&!u&&(l=0),l<0&&s<0&&!c&&(s=0));var d=this._determinedMin,h=this._determinedMax;return d!=null&&(l=d,u=!0),h!=null&&(s=h,c=!0),{min:l,max:s,minFixed:u,maxFixed:c,isBlank:f}},e.prototype.modifyDataMinMax=function(t,n){this[OIe[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=RIe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),RIe={min:"_determinedMin",max:"_determinedMax"},OIe={min:"_dataMin",max:"_dataMax"};function Oq(e,t,n){var r=e.rawExtentInfo;return r||(r=new PIe(e,t,n),e.rawExtentInfo=r,r)}function n0(e,t){return t==null?null:D1(t)?NaN:e.parse(t)}function Nq(e,t){var n=e.type,r=Oq(e,t,e.getExtent()).calculate();e.setBlank(r.isBlank);var a=r.min,i=r.max,o=t.ecModel;if(o&&n==="time"){var l=Mq("bar",o),s=!1;if(K(l,function(f){s=s||f.getBaseAxis()===t.axis}),s){var u=Aq(l),c=NIe(a,i,t,u);a=c.min,i=c.max}}return{extent:[a,i],fixMin:r.minFixed,fixMax:r.maxFixed}}function NIe(e,t,n,r){var a=n.axis.getExtent(),i=a[1]-a[0],o=wIe(r,n.axis);if(o===void 0)return{min:e,max:t};var l=1/0;K(o,function(h){l=Math.min(h.offset,l)});var s=-1/0;K(o,function(h){s=Math.max(h.offset+h.width,s)}),l=Math.abs(l),s=Math.abs(s);var u=l+s,c=t-e,f=1-(l+s)/i,d=c/f-c;return t+=d*(s/u),e-=d*(l/u),{min:e,max:t}}function Bd(e,t){var n=t,r=Nq(e,n),a=r.extent,i=n.get("splitNumber");e instanceof C8&&(e.base=n.get("logBase"));var o=e.type,l=n.get("interval"),s=o==="interval"||o==="time";e.setExtent(a[0],a[1]),e.calcNiceExtent({splitNumber:i,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:s?n.get("minInterval"):null,maxInterval:s?n.get("maxInterval"):null}),l!=null&&e.setInterval&&e.setInterval(l)}function _3(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new b3({ordinalMeta:e.getOrdinalMeta?e.getOrdinalMeta():e.getCategories(),extent:[1/0,-1/0]});case"time":return new S8({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Uo.getClass(t)||Al)}}function $Ie(e){var t=e.scale.getExtent(),n=t[0],r=t[1];return!(n>0&&r>0||n<0&&r<0)}function _h(e){var t=e.getLabelModel().get("formatter"),n=e.type==="category"?e.scale.getExtent()[0]:null;return e.scale.type==="time"?function(r){return function(a,i){return e.scale.getFormattedLabel(a,i,r)}}(t):it(t)?function(r){return function(a){var i=e.scale.getLabel(a),o=r.replace("{value}",i??"");return o}}(t):yt(t)?function(r){return function(a,i){return n!=null&&(i=a.value-n),r(T8(e,a),i,a.level!=null?{level:a.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function T8(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function VIe(e){var t=e.model,n=e.scale;if(!(!t.get(["axisLabel","show"])||n.isBlank())){var r,a,i=n.getExtent();n instanceof b3?a=n.count():(r=n.getTicks(),a=r.length);var o=e.getLabelModel(),l=_h(e),s,u=1;a>40&&(u=Math.ceil(a/40));for(var c=0;c<a;c+=u){var f=r?r[c]:{value:i[0]+c},d=l(f,c),h=o.getTextRect(d),v=BIe(h,o.get("rotate")||0);s?s.union(v):s=v}return s}}function BIe(e,t){var n=t*Math.PI/180,r=e.width,a=e.height,i=r*Math.abs(Math.cos(n))+Math.abs(a*Math.sin(n)),o=r*Math.abs(Math.sin(n))+Math.abs(a*Math.cos(n)),l=new qt(e.x,e.y,i,o);return l}function k8(e){var t=e.get("interval");return t??"auto"}function $q(e){return e.type==="category"&&k8(e.getLabelModel())===0}function Am(e,t){var n={};return K(e.mapDimensionsAll(t),function(r){n[Tq(e,r)]=!0}),tn(n)}function FIe(e,t,n){t&&K(Am(t,n),function(r){var a=t.getApproximateExtent(r);a[0]<e[0]&&(e[0]=a[0]),a[1]>e[1]&&(e[1]=a[1])})}var Np=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),HIe=1e-8;function oE(e,t){return Math.abs(e-t)<HIe}function Ku(e,t,n){var r=0,a=e[0];if(!a)return!1;for(var i=1;i<e.length;i++){var o=e[i];r+=ol(a[0],a[1],o[0],o[1],t,n),a=o}var l=e[0];return(!oE(a[0],l[0])||!oE(a[1],l[1]))&&(r+=ol(a[0],a[1],l[0],l[1],t,n)),r!==0}var jIe=[];function D_(e,t){for(var n=0;n<e.length;n++)$r(e[n],e[n],t)}function lE(e,t,n,r){for(var a=0;a<e.length;a++){var i=e[a];r&&(i=r.project(i)),i&&isFinite(i[0])&&isFinite(i[1])&&(ws(t,t,i),xs(n,n,i))}}function qIe(e){for(var t=0,n=0,r=0,a=e.length,i=e[a-1][0],o=e[a-1][1],l=0;l<a;l++){var s=e[l][0],u=e[l][1],c=i*u-s*o;t+=c,n+=(i+s)*c,r+=(o+u)*c,i=s,o=u}return t?[n/t/3,r/t/3,t]:[e[0][0]||0,e[0][1]||0]}var Vq=function(){function e(t){this.name=t}return e.prototype.setCenter=function(t){this._center=t},e.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},e}(),sE=function(){function e(t,n){this.type="polygon",this.exterior=t,this.interiors=n}return e}(),uE=function(){function e(t){this.type="linestring",this.points=t}return e}(),Bq=function(e){Se(t,e);function t(n,r,a){var i=e.call(this,n)||this;return i.type="geoJSON",i.geometries=r,i._center=a&&[a[0],a[1]],i}return t.prototype.calcCenter=function(){for(var n=this.geometries,r,a=0,i=0;i<n.length;i++){var o=n[i],l=o.exterior,s=l&&l.length;s>a&&(r=o,a=s)}if(r)return qIe(r.exterior);var u=this.getBoundingRect();return[u.x+u.width/2,u.y+u.height/2]},t.prototype.getBoundingRect=function(n){var r=this._rect;if(r&&!n)return r;var a=[1/0,1/0],i=[-1/0,-1/0],o=this.geometries;return K(o,function(l){l.type==="polygon"?lE(l.exterior,a,i,n):K(l.points,function(s){lE(s,a,i,n)})}),isFinite(a[0])&&isFinite(a[1])&&isFinite(i[0])&&isFinite(i[1])||(a[0]=a[1]=i[0]=i[1]=0),r=new qt(a[0],a[1],i[0]-a[0],i[1]-a[1]),n||(this._rect=r),r},t.prototype.contain=function(n){var r=this.getBoundingRect(),a=this.geometries;if(!r.contain(n[0],n[1]))return!1;e:for(var i=0,o=a.length;i<o;i++){var l=a[i];if(l.type==="polygon"){var s=l.exterior,u=l.interiors;if(Ku(s,n[0],n[1])){for(var c=0;c<(u?u.length:0);c++)if(Ku(u[c],n[0],n[1]))continue e;return!0}}}return!1},t.prototype.transformTo=function(n,r,a,i){var o=this.getBoundingRect(),l=o.width/o.height;a?i||(i=a/l):a=l*i;for(var s=new qt(n,r,a,i),u=o.calculateTransform(s),c=this.geometries,f=0;f<c.length;f++){var d=c[f];d.type==="polygon"?(D_(d.exterior,u),K(d.interiors,function(h){D_(h,u)})):K(d.points,function(h){D_(h,u)})}o=this._rect,o.copy(s),this._center=[o.x+o.width/2,o.y+o.height/2]},t.prototype.cloneShallow=function(n){n==null&&(n=this.name);var r=new t(n,this.geometries,this._center);return r._rect=this._rect,r.transformTo=null,r},t}(Vq),GIe=function(e){Se(t,e);function t(n,r){var a=e.call(this,n)||this;return a.type="geoSVG",a._elOnlyForCalculate=r,a}return t.prototype.calcCenter=function(){for(var n=this._elOnlyForCalculate,r=n.getBoundingRect(),a=[r.x+r.width/2,r.y+r.height/2],i=Gy(jIe),o=n;o&&!o.isGeoSVGGraphicRoot;)pl(i,o.getLocalTransform(),i),o=o.parent;return lh(i,i),$r(a,a,i),a},t}(Vq);function WIe(e){if(!e.UTF8Encoding)return e;var t=e,n=t.UTF8Scale;n==null&&(n=1024);var r=t.features;return K(r,function(a){var i=a.geometry,o=i.encodeOffsets,l=i.coordinates;if(o)switch(i.type){case"LineString":i.coordinates=Fq(l,o,n);break;case"Polygon":L_(l,o,n);break;case"MultiLineString":L_(l,o,n);break;case"MultiPolygon":K(l,function(s,u){return L_(s,o[u],n)})}}),t.UTF8Encoding=!1,t}function L_(e,t,n){for(var r=0;r<e.length;r++)e[r]=Fq(e[r],t[r],n)}function Fq(e,t,n){for(var r=[],a=t[0],i=t[1],o=0;o<e.length;o+=2){var l=e.charCodeAt(o)-64,s=e.charCodeAt(o+1)-64;l=l>>1^-(l&1),s=s>>1^-(s&1),l+=a,s+=i,a=l,i=s,r.push([l/n,s/n])}return r}function UIe(e,t){return e=WIe(e),Ge(_n(e.features,function(n){return n.geometry&&n.properties&&n.geometry.coordinates.length>0}),function(n){var r=n.properties,a=n.geometry,i=[];switch(a.type){case"Polygon":var o=a.coordinates;i.push(new sE(o[0],o.slice(1)));break;case"MultiPolygon":K(a.coordinates,function(s){s[0]&&i.push(new sE(s[0],s.slice(1)))});break;case"LineString":i.push(new uE([a.coordinates]));break;case"MultiLineString":i.push(new uE(a.coordinates))}var l=new Bq(r[t||"name"],i,r.cp);return l.properties=r,l})}var U1=an();function Hq(e,t){var n=Ge(t,function(r){return e.scale.parse(r)});return e.type==="time"&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function YIe(e){var t=e.getLabelModel().get("customValues");if(t){var n=_h(e);return{labels:Hq(e,t).map(function(r){var a={value:r};return{formattedLabel:n(a),rawLabel:e.scale.getLabel(a),tickValue:r}})}}return e.type==="category"?XIe(e):JIe(e)}function KIe(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:Hq(e,n)}:e.type==="category"?ZIe(e,t):{ticks:Ge(e.scale.getTicks(),function(r){return r.value})}}function XIe(e){var t=e.getLabelModel(),n=jq(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function jq(e,t){var n=qq(e,"labels"),r=k8(t),a=Gq(n,r);if(a)return a;var i,o;return yt(r)?i=Yq(e,r):(o=r==="auto"?QIe(e):r,i=Uq(e,o)),Wq(n,r,{labels:i,labelCategoryInterval:o})}function ZIe(e,t){var n=qq(e,"ticks"),r=k8(t),a=Gq(n,r);if(a)return a;var i,o;if((!t.get("show")||e.scale.isBlank())&&(i=[]),yt(r))i=Yq(e,r,!0);else if(r==="auto"){var l=jq(e,e.getLabelModel());o=l.labelCategoryInterval,i=Ge(l.labels,function(s){return s.tickValue})}else o=r,i=Uq(e,o,!0);return Wq(n,r,{ticks:i,tickCategoryInterval:o})}function JIe(e){var t=e.scale.getTicks(),n=_h(e);return{labels:Ge(t,function(r,a){return{level:r.level,formattedLabel:n(r,a),rawLabel:e.scale.getLabel(r),tickValue:r.value}})}}function qq(e,t){return U1(e)[t]||(U1(e)[t]=[])}function Gq(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function Wq(e,t,n){return e.push({key:t,value:n}),n}function QIe(e){var t=U1(e).autoInterval;return t??(U1(e).autoInterval=e.calculateCategoryInterval())}function eDe(e){var t=tDe(e),n=_h(e),r=(t.axisRotate-t.labelRotate)/180*Math.PI,a=e.scale,i=a.getExtent(),o=a.count();if(i[1]-i[0]<1)return 0;var l=1;o>40&&(l=Math.max(1,Math.floor(o/40)));for(var s=i[0],u=e.dataToCoord(s+1)-e.dataToCoord(s),c=Math.abs(u*Math.cos(r)),f=Math.abs(u*Math.sin(r)),d=0,h=0;s<=i[1];s+=l){var v=0,p=0,g=zp(n({value:s}),t.font,"center","top");v=g.width*1.3,p=g.height*1.3,d=Math.max(d,v,7),h=Math.max(h,p,7)}var m=d/c,b=h/f;isNaN(m)&&(m=1/0),isNaN(b)&&(b=1/0);var _=Math.max(0,Math.floor(Math.min(m,b))),w=U1(e.model),x=e.getExtent(),S=w.lastAutoInterval,C=w.lastTickCount;return S!=null&&C!=null&&Math.abs(S-_)<=1&&Math.abs(C-o)<=1&&S>_&&w.axisExtent0===x[0]&&w.axisExtent1===x[1]?_=S:(w.lastTickCount=o,w.lastAutoInterval=_,w.axisExtent0=x[0],w.axisExtent1=x[1]),_}function tDe(e){var t=e.getLabelModel();return{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:t.get("rotate")||0,font:t.getFont()}}function Uq(e,t,n){var r=_h(e),a=e.scale,i=a.getExtent(),o=e.getLabelModel(),l=[],s=Math.max((t||0)+1,1),u=i[0],c=a.count();u!==0&&s>1&&c/s>2&&(u=Math.round(Math.ceil(u/s)*s));var f=$q(e),d=o.get("showMinLabel")||f,h=o.get("showMaxLabel")||f;d&&u!==i[0]&&p(i[0]);for(var v=u;v<=i[1];v+=s)p(v);h&&v-s!==i[1]&&p(i[1]);function p(g){var m={value:g};l.push(n?g:{formattedLabel:r(m),rawLabel:a.getLabel(m),tickValue:g})}return l}function Yq(e,t,n){var r=e.scale,a=_h(e),i=[];return K(r.getTicks(),function(o){var l=r.getLabel(o),s=o.value;t(o.value,l)&&i.push(n?s:{formattedLabel:a(o),rawLabel:l,tickValue:s})}),i}var cE=[0,1],io=function(){function e(t,n,r){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=n,this._extent=r||[0,0]}return e.prototype.contain=function(t){var n=this._extent,r=Math.min(n[0],n[1]),a=Math.max(n[0],n[1]);return t>=r&&t<=a},e.prototype.containData=function(t){return this.scale.contain(t)},e.prototype.getExtent=function(){return this._extent.slice()},e.prototype.getPixelPrecision=function(t){return YF(t||this.scale.getExtent(),this._extent)},e.prototype.setExtent=function(t,n){var r=this._extent;r[0]=t,r[1]=n},e.prototype.dataToCoord=function(t,n){var r=this._extent,a=this.scale;return t=a.normalize(t),this.onBand&&a.type==="ordinal"&&(r=r.slice(),fE(r,a.count())),bn(t,cE,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(r=r.slice(),fE(r,a.count()));var i=bn(t,r,cE,n);return this.scale.scale(i)},e.prototype.pointToData=function(t,n){},e.prototype.getTicksCoords=function(t){t=t||{};var n=t.tickModel||this.getTickModel(),r=KIe(this,n),a=r.ticks,i=Ge(a,function(l){return{coord:this.dataToCoord(this.scale.type==="ordinal"?this.scale.getRawOrdinalNumber(l):l),tickValue:l}},this),o=n.get("alignWithLabel");return nDe(this,i,o,t.clamp),i},e.prototype.getMinorTicksCoords=function(){if(this.scale.type==="ordinal")return[];var t=this.model.getModel("minorTick"),n=t.get("splitNumber");n>0&&n<100||(n=5);var r=this.scale.getMinorTicks(n),a=Ge(r,function(i){return Ge(i,function(o){return{coord:this.dataToCoord(o),tickValue:o}},this)},this);return a},e.prototype.getViewLabels=function(){return YIe(this).labels},e.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},e.prototype.getTickModel=function(){return this.model.getModel("axisTick")},e.prototype.getBandWidth=function(){var t=this._extent,n=this.scale.getExtent(),r=n[1]-n[0]+(this.onBand?1:0);r===0&&(r=1);var a=Math.abs(t[1]-t[0]);return Math.abs(a)/r},e.prototype.calculateCategoryInterval=function(){return eDe(this)},e}();function fE(e,t){var n=e[1]-e[0],r=t,a=n/r/2;e[0]+=a,e[1]-=a}function nDe(e,t,n,r){var a=t.length;if(!e.onBand||n||!a)return;var i=e.getExtent(),o,l;if(a===1)t[0].coord=i[0],o=t[1]={coord:i[1]};else{var s=t[a-1].tickValue-t[0].tickValue,u=(t[a-1].coord-t[0].coord)/s;K(t,function(h){h.coord-=u/2});var c=e.scale.getExtent();l=1+c[1]-t[a-1].tickValue,o={coord:t[a-1].coord+u*l},t.push(o)}var f=i[0]>i[1];d(t[0].coord,i[0])&&(r?t[0].coord=i[0]:t.shift()),r&&d(i[0],t[0].coord)&&t.unshift({coord:i[0]}),d(i[1],o.coord)&&(r?o.coord=i[1]:t.pop()),r&&d(o.coord,i[1])&&t.push({coord:i[1]});function d(h,v){return h=Zn(h),v=Zn(v),f?h>v:h<v}}var Xh=Math.PI*2,Ru=Fo.CMD,rDe=["top","right","bottom","left"];function aDe(e,t,n,r,a){var i=n.width,o=n.height;switch(e){case"top":r.set(n.x+i/2,n.y-t),a.set(0,-1);break;case"bottom":r.set(n.x+i/2,n.y+o+t),a.set(0,1);break;case"left":r.set(n.x-t,n.y+o/2),a.set(-1,0);break;case"right":r.set(n.x+i+t,n.y+o/2),a.set(1,0);break}}function iDe(e,t,n,r,a,i,o,l,s){o-=e,l-=t;var u=Math.sqrt(o*o+l*l);o/=u,l/=u;var c=o*n+e,f=l*n+t;if(Math.abs(r-a)%Xh<1e-4)return s[0]=c,s[1]=f,u-n;if(i){var d=r;r=Fa(a),a=Fa(d)}else r=Fa(r),a=Fa(a);r>a&&(a+=Xh);var h=Math.atan2(l,o);if(h<0&&(h+=Xh),h>=r&&h<=a||h+Xh>=r&&h+Xh<=a)return s[0]=c,s[1]=f,u-n;var v=n*Math.cos(r)+e,p=n*Math.sin(r)+t,g=n*Math.cos(a)+e,m=n*Math.sin(a)+t,b=(v-o)*(v-o)+(p-l)*(p-l),_=(g-o)*(g-o)+(m-l)*(m-l);return b<_?(s[0]=v,s[1]=p,Math.sqrt(b)):(s[0]=g,s[1]=m,Math.sqrt(_))}function Em(e,t,n,r,a,i,o,l){var s=a-e,u=i-t,c=n-e,f=r-t,d=Math.sqrt(c*c+f*f);c/=d,f/=d;var h=s*c+u*f,v=h/d;l&&(v=Math.min(Math.max(v,0),1)),v*=d;var p=o[0]=e+v*c,g=o[1]=t+v*f;return Math.sqrt((p-a)*(p-a)+(g-i)*(g-i))}function Kq(e,t,n,r,a,i,o){n<0&&(e=e+n,n=-n),r<0&&(t=t+r,r=-r);var l=e+n,s=t+r,u=o[0]=Math.min(Math.max(a,e),l),c=o[1]=Math.min(Math.max(i,t),s);return Math.sqrt((u-a)*(u-a)+(c-i)*(c-i))}var Bi=[];function oDe(e,t,n){var r=Kq(t.x,t.y,t.width,t.height,e.x,e.y,Bi);return n.set(Bi[0],Bi[1]),r}function lDe(e,t,n){for(var r=0,a=0,i=0,o=0,l,s,u=1/0,c=t.data,f=e.x,d=e.y,h=0;h<c.length;){var v=c[h++];h===1&&(r=c[h],a=c[h+1],i=r,o=a);var p=u;switch(v){case Ru.M:i=c[h++],o=c[h++],r=i,a=o;break;case Ru.L:p=Em(r,a,c[h],c[h+1],f,d,Bi,!0),r=c[h++],a=c[h++];break;case Ru.C:p=EF(r,a,c[h++],c[h++],c[h++],c[h++],c[h],c[h+1],f,d,Bi),r=c[h++],a=c[h++];break;case Ru.Q:p=DF(r,a,c[h++],c[h++],c[h],c[h+1],f,d,Bi),r=c[h++],a=c[h++];break;case Ru.A:var g=c[h++],m=c[h++],b=c[h++],_=c[h++],w=c[h++],x=c[h++];h+=1;var S=!!(1-c[h++]);l=Math.cos(w)*b+g,s=Math.sin(w)*_+m,h<=1&&(i=l,o=s);var C=(f-g)*_/b+g;p=iDe(g,m,_,w,w+x,S,C,d,Bi),r=Math.cos(w+x)*b+g,a=Math.sin(w+x)*_+m;break;case Ru.R:i=r=c[h++],o=a=c[h++];var T=c[h++],z=c[h++];p=Kq(i,o,T,z,f,d,Bi);break;case Ru.Z:p=Em(r,a,i,o,f,d,Bi,!0),r=i,a=o;break}p<u&&(u=p,n.set(Bi[0],Bi[1]))}return u}var Gi=new Ft,En=new Ft,Qn=new Ft,Mo=new Ft,wo=new Ft;function dE(e,t){if(e){var n=e.getTextGuideLine(),r=e.getTextContent();if(r&&n){var a=e.textGuideLineConfig||{},i=[[0,0],[0,0],[0,0]],o=a.candidates||rDe,l=r.getBoundingRect().clone();l.applyTransform(r.getComputedTransform());var s=1/0,u=a.anchor,c=e.getComputedTransform(),f=c&&lh([],c),d=t.get("length2")||0;u&&Qn.copy(u);for(var h=0;h<o.length;h++){var v=o[h];aDe(v,0,l,Gi,Mo),Ft.scaleAndAdd(En,Gi,Mo,d),En.transform(f);var p=e.getBoundingRect(),g=u?u.distance(En):e instanceof Zt?lDe(En,e.path,Qn):oDe(En,p,Qn);g<s&&(s=g,En.transform(c),Qn.transform(c),Qn.toArray(i[0]),En.toArray(i[1]),Gi.toArray(i[2]))}Xq(i,t.get("minTurnAngle")),n.setShape({points:i})}}}var Im=[],oa=new Ft;function Xq(e,t){if(t<=180&&t>0){t=t/180*Math.PI,Gi.fromArray(e[0]),En.fromArray(e[1]),Qn.fromArray(e[2]),Ft.sub(Mo,Gi,En),Ft.sub(wo,Qn,En);var n=Mo.len(),r=wo.len();if(!(n<.001||r<.001)){Mo.scale(1/n),wo.scale(1/r);var a=Mo.dot(wo),i=Math.cos(t);if(i<a){var o=Em(En.x,En.y,Qn.x,Qn.y,Gi.x,Gi.y,Im,!1);oa.fromArray(Im),oa.scaleAndAdd(wo,o/Math.tan(Math.PI-t));var l=Qn.x!==En.x?(oa.x-En.x)/(Qn.x-En.x):(oa.y-En.y)/(Qn.y-En.y);if(isNaN(l))return;l<0?Ft.copy(oa,En):l>1&&Ft.copy(oa,Qn),oa.toArray(e[1])}}}}function sDe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Gi.fromArray(e[0]),En.fromArray(e[1]),Qn.fromArray(e[2]),Ft.sub(Mo,En,Gi),Ft.sub(wo,Qn,En);var r=Mo.len(),a=wo.len();if(!(r<.001||a<.001)){Mo.scale(1/r),wo.scale(1/a);var i=Mo.dot(t),o=Math.cos(n);if(i<o){var l=Em(En.x,En.y,Qn.x,Qn.y,Gi.x,Gi.y,Im,!1);oa.fromArray(Im);var s=Math.PI/2,u=Math.acos(wo.dot(t)),c=s+u-n;if(c>=s)Ft.copy(oa,Qn);else{oa.scaleAndAdd(wo,l/Math.tan(Math.PI/2-c));var f=Qn.x!==En.x?(oa.x-En.x)/(Qn.x-En.x):(oa.y-En.y)/(Qn.y-En.y);if(isNaN(f))return;f<0?Ft.copy(oa,En):f>1&&Ft.copy(oa,Qn)}oa.toArray(e[1])}}}}function P_(e,t,n,r){var a=n==="normal",i=a?e:e.ensureState(n);i.ignore=t;var o=r.get("smooth");o&&o===!0&&(o=.3),i.shape=i.shape||{},o>0&&(i.shape.smooth=o);var l=r.getModel("lineStyle").getLineStyle();a?e.useStyle(l):i.style=l}function uDe(e,t){var n=t.smooth,r=t.points;if(r)if(e.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var a=_s(r[0],r[1]),i=_s(r[1],r[2]);if(!a||!i){e.lineTo(r[1][0],r[1][1]),e.lineTo(r[2][0],r[2][1]);return}var o=Math.min(a,i)*n,l=o2([],r[1],r[0],o/a),s=o2([],r[1],r[2],o/i),u=o2([],l,s,.5);e.bezierCurveTo(l[0],l[1],l[0],l[1],u[0],u[1]),e.bezierCurveTo(s[0],s[1],s[0],s[1],r[2][0],r[2][1])}else for(var c=1;c<r.length;c++)e.lineTo(r[c][0],r[c][1])}function z8(e,t,n){var r=e.getTextGuideLine(),a=e.getTextContent();if(!a){r&&e.removeTextGuideLine();return}for(var i=t.normal,o=i.get("show"),l=a.ignore,s=0;s<$1.length;s++){var u=$1[s],c=t[u],f=u==="normal";if(c){var d=c.get("show"),h=f?l:Ot(a.states[u]&&a.states[u].ignore,l);if(h||!Ot(d,o)){var v=f?r:r&&r.states[u];v&&(v.ignore=!0),r&&P_(r,!0,u,c);continue}r||(r=new ya,e.setTextGuideLine(r),!f&&(l||!o)&&P_(r,!0,"normal",t.normal),e.stateProxy&&(r.stateProxy=e.stateProxy)),P_(r,!1,u,c)}}if(r){_t(r.style,n),r.style.fill=null;var p=i.get("showAbove"),g=e.textGuideLineConfig=e.textGuideLineConfig||{};g.showAbove=p||!1,r.buildPath=uDe}}function M8(e,t){t=t||"labelLine";for(var n={normal:e.getModel(t)},r=0;r<va.length;r++){var a=va[r];n[a]=e.getModel([a,t])}return n}function Zq(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];if(!r.defaultAttr.ignore){var a=r.label,i=a.getComputedTransform(),o=a.getBoundingRect(),l=!i||i[1]<1e-5&&i[2]<1e-5,s=a.style.margin||0,u=o.clone();u.applyTransform(i),u.x-=s/2,u.y-=s/2,u.width+=s,u.height+=s;var c=l?new pm(o,i):null;t.push({label:a,labelLine:r.labelLine,rect:u,localRect:o,obb:c,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:l,transform:i})}}return t}function Jq(e,t,n,r,a,i){var o=e.length;if(o<2)return;e.sort(function(T,z){return T.rect[t]-z.rect[t]});for(var l=0,s,u=!1,c=0,f=0;f<o;f++){var d=e[f],h=d.rect;s=h[t]-l,s<0&&(h[t]-=s,d.label[t]-=s,u=!0);var v=Math.max(-s,0);c+=v,l=h[t]+h[n]}c>0&&i&&x(-c/o,0,o);var p=e[0],g=e[o-1],m,b;_(),m<0&&S(-m,.8),b<0&&S(b,.8),_(),w(m,b,1),w(b,m,-1),_(),m<0&&C(-m),b<0&&C(b);function _(){m=p.rect[t]-r,b=a-g.rect[t]-g.rect[n]}function w(T,z,A){if(T<0){var E=Math.min(z,-T);if(E>0){x(E*A,0,o);var D=E+T;D<0&&S(-D*A,1)}else S(-T*A,1)}}function x(T,z,A){T!==0&&(u=!0);for(var E=z;E<A;E++){var D=e[E],$=D.rect;$[t]+=T,D.label[t]+=T}}function S(T,z){for(var A=[],E=0,D=1;D<o;D++){var $=e[D-1].rect,O=Math.max(e[D].rect[t]-$[t]-$[n],0);A.push(O),E+=O}if(E){var R=Math.min(Math.abs(T)/E,z);if(T>0)for(var D=0;D<o-1;D++){var N=A[D]*R;x(N,0,D+1)}else for(var D=o-1;D>0;D--){var N=A[D-1]*R;x(-N,D,o)}}}function C(T){var z=T<0?-1:1;T=Math.abs(T);for(var A=Math.ceil(T/(o-1)),E=0;E<o-1;E++)if(z>0?x(A,0,E+1):x(-A,o-E-1,o),T-=A,T<=0)return}return u}function cDe(e,t,n,r){return Jq(e,"x","width",t,n,r)}function Qq(e,t,n,r){return Jq(e,"y","height",t,n,r)}function eG(e){var t=[];e.sort(function(p,g){return g.priority-p.priority});var n=new qt(0,0,0,0);function r(p){if(!p.ignore){var g=p.ensureState("emphasis");g.ignore==null&&(g.ignore=!1)}p.ignore=!0}for(var a=0;a<e.length;a++){var i=e[a],o=i.axisAligned,l=i.localRect,s=i.transform,u=i.label,c=i.labelLine;n.copy(i.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var f=i.obb,d=!1,h=0;h<t.length;h++){var v=t[h];if(n.intersect(v.rect)){if(o&&v.axisAligned){d=!0;break}if(v.obb||(v.obb=new pm(v.localRect,v.transform)),f||(f=new pm(l,s)),f.intersect(v.obb)){d=!0;break}}}d?(r(u),c&&r(c)):(u.attr("ignore",i.defaultAttr.ignore),c&&c.attr("ignore",i.defaultAttr.labelGuideIgnore),t.push(i))}}function fDe(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function dDe(e,t){var n=e.label,r=t&&t.getTextGuideLine();return{dataIndex:e.dataIndex,dataType:e.dataType,seriesIndex:e.seriesModel.seriesIndex,text:e.label.style.text,rect:e.hostRect,labelRect:e.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:fDe(r&&r.shape.points)}}var hE=["align","verticalAlign","width","height","fontSize"],ta=new cl,R_=an(),hDe=an();function r0(e,t,n){for(var r=0;r<n.length;r++){var a=n[r];t[a]!=null&&(e[a]=t[a])}}var a0=["x","y","rotation"],vDe=function(){function e(){this._labelList=[],this._chartViewList=[]}return e.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},e.prototype._addLabel=function(t,n,r,a,i){var o=a.style,l=a.__hostTarget,s=l.textConfig||{},u=a.getComputedTransform(),c=a.getBoundingRect().plain();qt.applyTransform(c,c,u),u?ta.setLocalTransform(u):(ta.x=ta.y=ta.rotation=ta.originX=ta.originY=0,ta.scaleX=ta.scaleY=1),ta.rotation=Fa(ta.rotation);var f=a.__hostTarget,d;if(f){d=f.getBoundingRect().plain();var h=f.getComputedTransform();qt.applyTransform(d,d,h)}var v=d&&f.getTextGuideLine();this._labelList.push({label:a,labelLine:v,seriesModel:r,dataIndex:t,dataType:n,layoutOption:i,computedLayoutOption:null,rect:c,hostRect:d,priority:d?d.width*d.height:0,defaultAttr:{ignore:a.ignore,labelGuideIgnore:v&&v.ignore,x:ta.x,y:ta.y,scaleX:ta.scaleX,scaleY:ta.scaleY,rotation:ta.rotation,style:{x:o.x,y:o.y,align:o.align,verticalAlign:o.verticalAlign,width:o.width,height:o.height,fontSize:o.fontSize},cursor:a.cursor,attachedPos:s.position,attachedRot:s.rotation}})},e.prototype.addLabelsOfSeries=function(t){var n=this;this._chartViewList.push(t);var r=t.__model,a=r.get("labelLayout");(yt(a)||tn(a).length)&&t.group.traverse(function(i){if(i.ignore)return!0;var o=i.getTextContent(),l=Dt(i);o&&!o.disableLabelLayout&&n._addLabel(l.dataIndex,l.dataType,r,o,a)})},e.prototype.updateLayoutConfig=function(t){var n=t.getWidth(),r=t.getHeight();function a(_,w){return function(){dE(_,w)}}for(var i=0;i<this._labelList.length;i++){var o=this._labelList[i],l=o.label,s=l.__hostTarget,u=o.defaultAttr,c=void 0;yt(o.layoutOption)?c=o.layoutOption(dDe(o,s)):c=o.layoutOption,c=c||{},o.computedLayoutOption=c;var f=Math.PI/180;s&&s.setTextConfig({local:!1,position:c.x!=null||c.y!=null?null:u.attachedPos,rotation:c.rotate!=null?c.rotate*f:u.attachedRot,offset:[c.dx||0,c.dy||0]});var d=!1;if(c.x!=null?(l.x=et(c.x,n),l.setStyle("x",0),d=!0):(l.x=u.x,l.setStyle("x",u.style.x)),c.y!=null?(l.y=et(c.y,r),l.setStyle("y",0),d=!0):(l.y=u.y,l.setStyle("y",u.style.y)),c.labelLinePoints){var h=s.getTextGuideLine();h&&(h.setShape({points:c.labelLinePoints}),d=!1)}var v=R_(l);v.needsUpdateLabelLine=d,l.rotation=c.rotate!=null?c.rotate*f:u.rotation,l.scaleX=u.scaleX,l.scaleY=u.scaleY;for(var p=0;p<hE.length;p++){var g=hE[p];l.setStyle(g,c[g]!=null?c[g]:u.style[g])}if(c.draggable){if(l.draggable=!0,l.cursor="move",s){var m=o.seriesModel;if(o.dataIndex!=null){var b=o.seriesModel.getData(o.dataType);m=b.getItemModel(o.dataIndex)}l.on("drag",a(s,m.getModel("labelLine")))}}else l.off("drag"),l.cursor=u.cursor}},e.prototype.layout=function(t){var n=t.getWidth(),r=t.getHeight(),a=Zq(this._labelList),i=_n(a,function(s){return s.layoutOption.moveOverlap==="shiftX"}),o=_n(a,function(s){return s.layoutOption.moveOverlap==="shiftY"});cDe(i,0,n),Qq(o,0,r);var l=_n(a,function(s){return s.layoutOption.hideOverlap});eG(l)},e.prototype.processLabelsOverall=function(){var t=this;K(this._chartViewList,function(n){var r=n.__model,a=n.ignoreLabelLineUpdate,i=r.isAnimationEnabled();n.group.traverse(function(o){if(o.ignore&&!o.forceLabelAnimation)return!0;var l=!a,s=o.getTextContent();!l&&s&&(l=R_(s).needsUpdateLabelLine),l&&t._updateLabelLine(o,r),i&&t._animateLabels(o,r)})})},e.prototype._updateLabelLine=function(t,n){var r=t.getTextContent(),a=Dt(t),i=a.dataIndex;if(r&&i!=null){var o=n.getData(a.dataType),l=o.getItemModel(i),s={},u=o.getItemVisual(i,"style");if(u){var c=o.getVisual("drawType");s.stroke=u[c]}var f=l.getModel("labelLine");z8(t,M8(l),s),dE(t,f)}},e.prototype._animateLabels=function(t,n){var r=t.getTextContent(),a=t.getTextGuideLine();if(r&&(t.forceLabelAnimation||!r.ignore&&!r.invisible&&!t.disableLabelAnimation&&!ld(t))){var i=R_(r),o=i.oldLayout,l=Dt(t),s=l.dataIndex,u={x:r.x,y:r.y,rotation:r.rotation},c=n.getData(l.dataType);if(o){r.attr(o);var d=t.prevStates;d&&(Yt(d,"select")>=0&&r.attr(i.oldLayoutSelect),Yt(d,"emphasis")>=0&&r.attr(i.oldLayoutEmphasis)),un(r,u,n,s)}else if(r.attr(u),!dh(r).valueAnimation){var f=Ot(r.style.opacity,1);r.style.opacity=0,Nn(r,{style:{opacity:f}},n,s)}if(i.oldLayout=u,r.states.select){var h=i.oldLayoutSelect={};r0(h,u,a0),r0(h,r.states.select,a0)}if(r.states.emphasis){var v=i.oldLayoutEmphasis={};r0(v,u,a0),r0(v,r.states.emphasis,a0)}GH(r,s,c,n,n)}if(a&&!a.ignore&&!a.invisible){var i=hDe(a),o=i.oldLayout,p={points:a.shape.points};o?(a.attr({shape:o}),un(a,{shape:p},n)):(a.setShape(p),a.style.strokePercent=0,Nn(a,{style:{strokePercent:1}},n)),i.oldLayout=p}},e}(),O_=an();function pDe(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,n,r){var a=O_(n).labelManager;a||(a=O_(n).labelManager=new vDe),a.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,n,r){var a=O_(n).labelManager;r.updatedSeries.forEach(function(i){a.addLabelsOfSeries(n.getViewOfSeriesModel(i))}),a.updateLayoutConfig(n),a.layout(n),a.processLabelsOverall()})}var N_=Math.sin,$_=Math.cos,tG=Math.PI,Ou=Math.PI*2,gDe=180/tG,nG=function(){function e(){}return e.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},e.prototype.moveTo=function(t,n){this._add("M",t,n)},e.prototype.lineTo=function(t,n){this._add("L",t,n)},e.prototype.bezierCurveTo=function(t,n,r,a,i,o){this._add("C",t,n,r,a,i,o)},e.prototype.quadraticCurveTo=function(t,n,r,a){this._add("Q",t,n,r,a)},e.prototype.arc=function(t,n,r,a,i,o){this.ellipse(t,n,r,r,0,a,i,o)},e.prototype.ellipse=function(t,n,r,a,i,o,l,s){var u=l-o,c=!s,f=Math.abs(u),d=Ts(f-Ou)||(c?u>=Ou:-u>=Ou),h=u>0?u%Ou:u%Ou+Ou,v=!1;d?v=!0:Ts(f)?v=!1:v=h>=tG==!!c;var p=t+r*$_(o),g=n+a*N_(o);this._start&&this._add("M",p,g);var m=Math.round(i*gDe);if(d){var b=1/this._p,_=(c?1:-1)*(Ou-b);this._add("A",r,a,m,1,+c,t+r*$_(o+_),n+a*N_(o+_)),b>.01&&this._add("A",r,a,m,0,+c,p,g)}else{var w=t+r*$_(l),x=n+a*N_(l);this._add("A",r,a,m,+v,+c,w,x)}},e.prototype.rect=function(t,n,r,a){this._add("M",t,n),this._add("l",r,0),this._add("l",0,a),this._add("l",-r,0),this._add("Z")},e.prototype.closePath=function(){this._d.length>0&&this._add("Z")},e.prototype._add=function(t,n,r,a,i,o,l,s,u){for(var c=[],f=this._p,d=1;d<arguments.length;d++){var h=arguments[d];if(isNaN(h)){this._invalid=!0;return}c.push(Math.round(h*f)/f)}this._d.push(t+c.join(" ")),this._start=t==="Z"},e.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},e.prototype.getStr=function(){return this._str},e}(),A8="none",mDe=Math.round;function yDe(e){var t=e.fill;return t!=null&&t!==A8}function bDe(e){var t=e.stroke;return t!=null&&t!==A8}var bx=["lineCap","miterLimit","lineJoin"],_De=Ge(bx,function(e){return"stroke-"+e.toLowerCase()});function wDe(e,t,n,r){var a=t.opacity==null?1:t.opacity;if(n instanceof Ir){e("opacity",a);return}if(yDe(t)){var i=R1(t.fill);e("fill",i.color);var o=t.fillOpacity!=null?t.fillOpacity*i.opacity*a:i.opacity*a;o<1&&e("fill-opacity",o)}else e("fill",A8);if(bDe(t)){var l=R1(t.stroke);e("stroke",l.color);var s=t.strokeNoScale?n.getLineScale():1,u=s?(t.lineWidth||0)/s:0,c=t.strokeOpacity!=null?t.strokeOpacity*l.opacity*a:l.opacity*a,f=t.strokeFirst;if(u!==1&&e("stroke-width",u),f&&e("paint-order",f?"stroke":"fill"),c<1&&e("stroke-opacity",c),t.lineDash){var d=p8(n),h=d[0],v=d[1];h&&(v=mDe(v||0),e("stroke-dasharray",h.join(",")),(v||r)&&e("stroke-dashoffset",v))}for(var p=0;p<bx.length;p++){var g=bx[p];if(t[g]!==hm[g]){var m=t[g]||hm[g];m&&e(_De[p],m)}}}}var rG="http://www.w3.org/2000/svg",aG="http://www.w3.org/1999/xlink",xDe="http://www.w3.org/2000/xmlns/",SDe="http://www.w3.org/XML/1998/namespace",vE="ecmeta_";function iG(e){return document.createElementNS(rG,e)}function yr(e,t,n,r,a){return{tag:e,attrs:n||{},children:r,text:a,key:t}}function CDe(e,t){var n=[];if(t)for(var r in t){var a=t[r],i=r;a!==!1&&(a!==!0&&a!=null&&(i+='="'+a+'"'),n.push(i))}return"<"+e+" "+n.join(" ")+">"}function TDe(e){return"</"+e+">"}function E8(e,t){t=t||{};var n=t.newline?`
  110. `:"";function r(a){var i=a.children,o=a.tag,l=a.attrs,s=a.text;return CDe(o,l)+(o!=="style"?Ta(s):s||"")+(i?""+n+Ge(i,function(u){return r(u)}).join(n)+n:"")+TDe(o)}return r(e)}function kDe(e,t,n){n=n||{};var r=n.newline?`
  111. `:"",a=" {"+r,i=r+"}",o=Ge(tn(e),function(s){return s+a+Ge(tn(e[s]),function(u){return u+":"+e[s][u]+";"}).join(r)+i}).join(r),l=Ge(tn(t),function(s){return"@keyframes "+s+a+Ge(tn(t[s]),function(u){return u+a+Ge(tn(t[s][u]),function(c){var f=t[s][u][c];return c==="d"&&(f='path("'+f+'")'),c+":"+f+";"}).join(r)+i}).join(r)+i}).join(r);return!o&&!l?"":["<![CDATA[",o,l,"]]>"].join(r)}function _x(e){return{zrId:e,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function pE(e,t,n,r){return yr("svg","root",{width:e,height:t,xmlns:rG,"xmlns:xlink":aG,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var zDe=0;function oG(){return zDe++}var gE={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},Vu="transform-origin";function MDe(e,t,n){var r=$e({},e.shape);$e(r,t),e.buildPath(n,r);var a=new nG;return a.reset(VF(e)),n.rebuildPath(a,1),a.generateStr(),a.getStr()}function ADe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[Vu]=n+"px "+r+"px")}var EDe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function lG(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function IDe(e,t,n){var r=e.shape.paths,a={},i,o;if(K(r,function(s){var u=_x(n.zrId);u.animation=!0,w3(s,{},u,!0);var c=u.cssAnims,f=u.cssNodes,d=tn(c),h=d.length;if(h){o=d[h-1];var v=c[o];for(var p in v){var g=v[p];a[p]=a[p]||{d:""},a[p].d+=g.d||""}for(var m in f){var b=f[m].animation;b.indexOf(o)>=0&&(i=b)}}}),!!i){t.d=!1;var l=lG(a,n);return i.replace(o,l)}}function mE(e){return it(e)?gE[e]?"cubic-bezier("+gE[e]+")":L6(e)?e:"":""}function w3(e,t,n,r){var a=e.animators,i=a.length,o=[];if(e instanceof K6){var l=IDe(e,t,n);if(l)o.push(l);else if(!i)return}else if(!i)return;for(var s={},u=0;u<i;u++){var c=a[u],f=[c.getMaxTime()/1e3+"s"],d=mE(c.getClip().easing),h=c.getDelay();d?f.push(d):f.push("linear"),h&&f.push(h/1e3+"s"),c.getLoop()&&f.push("infinite");var v=f.join(" ");s[v]=s[v]||[v,[]],s[v][1].push(c)}function p(b){var _=b[1],w=_.length,x={},S={},C={},T="animation-timing-function";function z(ie,ve,ce){for(var fe=ie.getTracks(),xe=ie.getMaxTime(),J=0;J<fe.length;J++){var oe=fe[J];if(oe.needsAnimate()){var pe=oe.keyframes,Te=oe.propName;if(ce&&(Te=ce(Te)),Te)for(var ge=0;ge<pe.length;ge++){var Ae=pe[ge],De=Math.round(Ae.time/xe*100)+"%",Pe=mE(Ae.easing),Re=Ae.rawValue;(it(Re)||ln(Re))&&(ve[De]=ve[De]||{},ve[De][Te]=Ae.rawValue,Pe&&(ve[De][T]=Pe))}}}}for(var A=0;A<w;A++){var E=_[A],D=E.targetName;D?D==="shape"&&z(E,S):!r&&z(E,x)}for(var $ in x){var O={};qF(O,e),$e(O,x[$]);var R=BF(O),N=x[$][T];C[$]=R?{transform:R}:{},ADe(C[$],O),N&&(C[$][T]=N)}var B,V=!0;for(var $ in S){C[$]=C[$]||{};var P=!B,N=S[$][T];P&&(B=new Fo);var W=B.len();B.reset(),C[$].d=MDe(e,S[$],B);var Z=B.len();if(!P&&W!==Z){V=!1;break}N&&(C[$][T]=N)}if(!V)for(var $ in C)delete C[$].d;if(!r)for(var A=0;A<w;A++){var E=_[A],D=E.targetName;D==="style"&&z(E,C,function(fe){return EDe[fe]})}for(var ee=tn(C),re=!0,ue,A=1;A<ee.length;A++){var ye=ee[A-1],le=ee[A];if(C[ye][Vu]!==C[le][Vu]){re=!1;break}ue=C[ye][Vu]}if(re&&ue){for(var $ in C)C[$][Vu]&&delete C[$][Vu];t[Vu]=ue}if(_n(ee,function(ie){return tn(C[ie]).length>0}).length){var ae=lG(C,n);return ae+" "+b[0]+" both"}}for(var g in s){var l=p(s[g]);l&&o.push(l)}if(o.length){var m=n.zrId+"-cls-"+oG();n.cssNodes["."+m]={animation:o.join(",")},t.class=m}}function DDe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};yE(r,t,n)}else{var a=e.states.emphasis&&e.states.emphasis.style?e.states.emphasis.style:{},i=a.fill;if(!i){var o=e.style&&e.style.fill,l=e.states.select&&e.states.select.style&&e.states.select.style.fill,s=e.currentStates.indexOf("select")>=0&&l||o;s&&(i=Dw(s))}var u=a.lineWidth;if(u){var c=!a.strokeNoScale&&e.transform?e.transform[0]:1;u=u/c}var r={cursor:"pointer"};i&&(r.fill=i),a.stroke&&(r.stroke=a.stroke),u&&(r["stroke-width"]=u),yE(r,t,n)}}function yE(e,t,n,r){var a=JSON.stringify(e),i=n.cssStyleCache[a];i||(i=n.zrId+"-cls-"+oG(),n.cssStyleCache[a]=i,n.cssNodes["."+i+":hover"]=e),t.class=t.class?t.class+" "+i:i}var Y1=Math.round;function sG(e){return e&&it(e.src)}function uG(e){return e&&yt(e.toDataURL)}function I8(e,t,n,r){wDe(function(a,i){var o=a==="fill"||a==="stroke";o&&$F(i)?fG(t,e,a,r):o&&P6(i)?dG(n,e,a,r):o&&i==="none"?e[a]="transparent":e[a]=i},t,n,!1),VDe(n,e,r)}function D8(e,t){var n=zTe(t);n&&(n.each(function(r,a){r!=null&&(e[(vE+a).toLowerCase()]=r+"")}),t.isSilent()&&(e[vE+"silent"]="true"))}function bE(e){return Ts(e[0]-1)&&Ts(e[1])&&Ts(e[2])&&Ts(e[3]-1)}function LDe(e){return Ts(e[4])&&Ts(e[5])}function L8(e,t,n){if(t&&!(LDe(t)&&bE(t))){var r=1e4;e.transform=bE(t)?"translate("+Y1(t[4]*r)/r+" "+Y1(t[5]*r)/r+")":X7e(t)}}function _E(e,t,n){for(var r=e.points,a=[],i=0;i<r.length;i++)a.push(Y1(r[i][0]*n)/n),a.push(Y1(r[i][1]*n)/n);t.points=a.join(" ")}function wE(e){return!e.smooth}function PDe(e){var t=Ge(e,function(n){return typeof n=="string"?[n,n]:n});return function(n,r,a){for(var i=0;i<t.length;i++){var o=t[i],l=n[o[0]];l!=null&&(r[o[1]]=Y1(l*a)/a)}}}var RDe={circle:[PDe(["cx","cy","r"])],polyline:[_E,wE],polygon:[_E,wE]};function ODe(e){for(var t=e.animators,n=0;n<t.length;n++)if(t[n].targetName==="shape")return!0;return!1}function cG(e,t){var n=e.style,r=e.shape,a=RDe[e.type],i={},o=t.animation,l="path",s=e.style.strokePercent,u=t.compress&&VF(e)||4;if(a&&!t.willUpdate&&!(a[1]&&!a[1](r))&&!(o&&ODe(e))&&!(s<1)){l=e.type;var c=Math.pow(10,u);a[0](r,i,c)}else{var f=!e.path||e.shapeChanged();e.path||e.createPathProxy();var d=e.path;f&&(d.beginPath(),e.buildPath(d,e.shape),e.pathUpdated());var h=d.getVersion(),v=e,p=v.__svgPathBuilder;(v.__svgPathVersion!==h||!p||s!==v.__svgPathStrokePercent)&&(p||(p=v.__svgPathBuilder=new nG),p.reset(u),d.rebuildPath(p,s),p.generateStr(),v.__svgPathVersion=h,v.__svgPathStrokePercent=s),i.d=p.getStr()}return L8(i,e.transform),I8(i,n,e,t),D8(i,e),t.animation&&w3(e,i,t),t.emphasis&&DDe(e,i,t),yr(l,e.id+"",i)}function NDe(e,t){var n=e.style,r=n.image;if(r&&!it(r)&&(sG(r)?r=r.src:uG(r)&&(r=r.toDataURL())),!!r){var a=n.x||0,i=n.y||0,o=n.width,l=n.height,s={href:r,width:o,height:l};return a&&(s.x=a),i&&(s.y=i),L8(s,e.transform),I8(s,n,e,t),D8(s,e),t.animation&&w3(e,s,t),yr("image",e.id+"",s)}}function $De(e,t){var n=e.style,r=n.text;if(r!=null&&(r+=""),!(!r||isNaN(n.x)||isNaN(n.y))){var a=n.font||Ws,i=n.x||0,o=J7e(n.y||0,Uy(a),n.textBaseline),l=Z7e[n.textAlign]||n.textAlign,s={"dominant-baseline":"central","text-anchor":l};if(gH(n)){var u="",c=n.fontStyle,f=pH(n.fontSize);if(!parseFloat(f))return;var d=n.fontFamily||pF,h=n.fontWeight;u+="font-size:"+f+";font-family:"+d+";",c&&c!=="normal"&&(u+="font-style:"+c+";"),h&&h!=="normal"&&(u+="font-weight:"+h+";"),s.style=u}else s.style="font: "+a;return r.match(/\s/)&&(s["xml:space"]="preserve"),i&&(s.x=i),o&&(s.y=o),L8(s,e.transform),I8(s,n,e,t),D8(s,e),t.animation&&w3(e,s,t),yr("text",e.id+"",s,void 0,r)}}function xE(e,t){if(e instanceof Zt)return cG(e,t);if(e instanceof Ir)return NDe(e,t);if(e instanceof Od)return $De(e,t)}function VDe(e,t,n){var r=e.style;if(Q7e(r)){var a=eTe(e),i=n.shadowCache,o=i[a];if(!o){var l=e.getGlobalScale(),s=l[0],u=l[1];if(!s||!u)return;var c=r.shadowOffsetX||0,f=r.shadowOffsetY||0,d=r.shadowBlur,h=R1(r.shadowColor),v=h.opacity,p=h.color,g=d/2/s,m=d/2/u,b=g+" "+m;o=n.zrId+"-s"+n.shadowIdx++,n.defs[o]=yr("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[yr("feDropShadow","",{dx:c/s,dy:f/u,stdDeviation:b,"flood-color":p,"flood-opacity":v})]),i[a]=o}t.filter=Wy(o)}}function fG(e,t,n,r){var a=e[n],i,o={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if(OF(a))i="linearGradient",o.x1=a.x,o.y1=a.y,o.x2=a.x2,o.y2=a.y2;else if(NF(a))i="radialGradient",o.cx=Ot(a.x,.5),o.cy=Ot(a.y,.5),o.r=Ot(a.r,.5);else return;for(var l=a.colorStops,s=[],u=0,c=l.length;u<c;++u){var f=Lw(l[u].offset)*100+"%",d=l[u].color,h=R1(d),v=h.color,p=h.opacity,g={offset:f};g["stop-color"]=v,p<1&&(g["stop-opacity"]=p),s.push(yr("stop",u+"",g))}var m=yr(i,"",o,s),b=E8(m),_=r.gradientCache,w=_[b];w||(w=r.zrId+"-g"+r.gradientIdx++,_[b]=w,o.id=w,r.defs[w]=yr(i,w,o,s)),t[n]=Wy(w)}function dG(e,t,n,r){var a=e.style[n],i=e.getBoundingRect(),o={},l=a.repeat,s=l==="no-repeat",u=l==="repeat-x",c=l==="repeat-y",f;if(RF(a)){var d=a.imageWidth,h=a.imageHeight,v=void 0,p=a.image;if(it(p)?v=p:sG(p)?v=p.src:uG(p)&&(v=p.toDataURL()),typeof Image>"u"){var g="Image width/height must been given explictly in svg-ssr renderer.";ha(d,g),ha(h,g)}else if(d==null||h==null){var m=function(A,E){if(A){var D=A.elm,$=d||E.width,O=h||E.height;A.tag==="pattern"&&(u?(O=1,$/=i.width):c&&($=1,O/=i.height)),A.attrs.width=$,A.attrs.height=O,D&&(D.setAttribute("width",$),D.setAttribute("height",O))}},b=B6(v,null,e,function(A){s||m(S,A),m(f,A)});b&&b.width&&b.height&&(d=d||b.width,h=h||b.height)}f=yr("image","img",{href:v,width:d,height:h}),o.width=d,o.height=h}else a.svgElement&&(f=kt(a.svgElement),o.width=a.svgWidth,o.height=a.svgHeight);if(f){var _,w;s?_=w=1:u?(w=1,_=o.width/i.width):c?(_=1,w=o.height/i.height):o.patternUnits="userSpaceOnUse",_!=null&&!isNaN(_)&&(o.width=_),w!=null&&!isNaN(w)&&(o.height=w);var x=BF(a);x&&(o.patternTransform=x);var S=yr("pattern","",o,[f]),C=E8(S),T=r.patternCache,z=T[C];z||(z=r.zrId+"-p"+r.patternIdx++,T[C]=z,o.id=z,S=r.defs[z]=yr("pattern",z,o,[f])),t[n]=Wy(z)}}function BDe(e,t,n){var r=n.clipPathCache,a=n.defs,i=r[e.id];if(!i){i=n.zrId+"-c"+n.clipPathIdx++;var o={id:i};r[e.id]=i,a[i]=yr("clipPath",i,o,[cG(e,n)])}t["clip-path"]=Wy(i)}function SE(e){return document.createTextNode(e)}function Xu(e,t,n){e.insertBefore(t,n)}function CE(e,t){e.removeChild(t)}function TE(e,t){e.appendChild(t)}function hG(e){return e.parentNode}function vG(e){return e.nextSibling}function V_(e,t){e.textContent=t}var kE=58,FDe=120,HDe=yr("","");function xx(e){return e===void 0}function go(e){return e!==void 0}function jDe(e,t,n){for(var r={},a=t;a<=n;++a){var i=e[a].key;i!==void 0&&(r[i]=a)}return r}function yv(e,t){var n=e.key===t.key,r=e.tag===t.tag;return r&&n}function K1(e){var t,n=e.children,r=e.tag;if(go(r)){var a=e.elm=iG(r);if(P8(HDe,e),He(n))for(t=0;t<n.length;++t){var i=n[t];i!=null&&TE(a,K1(i))}else go(e.text)&&!wt(e.text)&&TE(a,SE(e.text))}else e.elm=SE(e.text);return e.elm}function pG(e,t,n,r,a){for(;r<=a;++r){var i=n[r];i!=null&&Xu(e,K1(i),t)}}function Dm(e,t,n,r){for(;n<=r;++n){var a=t[n];if(a!=null)if(go(a.tag)){var i=hG(a.elm);CE(i,a.elm)}else CE(e,a.elm)}}function P8(e,t){var n,r=t.elm,a=e&&e.attrs||{},i=t.attrs||{};if(a!==i){for(n in i){var o=i[n],l=a[n];l!==o&&(o===!0?r.setAttribute(n,""):o===!1?r.removeAttribute(n):n==="style"?r.style.cssText=o:n.charCodeAt(0)!==FDe?r.setAttribute(n,o):n==="xmlns:xlink"||n==="xmlns"?r.setAttributeNS(xDe,n,o):n.charCodeAt(3)===kE?r.setAttributeNS(SDe,n,o):n.charCodeAt(5)===kE?r.setAttributeNS(aG,n,o):r.setAttribute(n,o))}for(n in a)n in i||r.removeAttribute(n)}}function qDe(e,t,n){for(var r=0,a=0,i=t.length-1,o=t[0],l=t[i],s=n.length-1,u=n[0],c=n[s],f,d,h,v;r<=i&&a<=s;)o==null?o=t[++r]:l==null?l=t[--i]:u==null?u=n[++a]:c==null?c=n[--s]:yv(o,u)?(Bf(o,u),o=t[++r],u=n[++a]):yv(l,c)?(Bf(l,c),l=t[--i],c=n[--s]):yv(o,c)?(Bf(o,c),Xu(e,o.elm,vG(l.elm)),o=t[++r],c=n[--s]):yv(l,u)?(Bf(l,u),Xu(e,l.elm,o.elm),l=t[--i],u=n[++a]):(xx(f)&&(f=jDe(t,r,i)),d=f[u.key],xx(d)?Xu(e,K1(u),o.elm):(h=t[d],h.tag!==u.tag?Xu(e,K1(u),o.elm):(Bf(h,u),t[d]=void 0,Xu(e,h.elm,o.elm))),u=n[++a]);(r<=i||a<=s)&&(r>i?(v=n[s+1]==null?null:n[s+1].elm,pG(e,v,n,a,s)):Dm(e,t,r,i))}function Bf(e,t){var n=t.elm=e.elm,r=e.children,a=t.children;e!==t&&(P8(e,t),xx(t.text)?go(r)&&go(a)?r!==a&&qDe(n,r,a):go(a)?(go(e.text)&&V_(n,""),pG(n,null,a,0,a.length-1)):go(r)?Dm(n,r,0,r.length-1):go(e.text)&&V_(n,""):e.text!==t.text&&(go(r)&&Dm(n,r,0,r.length-1),V_(n,t.text)))}function GDe(e,t){if(yv(e,t))Bf(e,t);else{var n=e.elm,r=hG(n);K1(t),r!==null&&(Xu(r,t.elm,vG(n)),Dm(r,[e],0,0))}return t}var WDe=0,UDe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=zE(),this.configLayer=zE(),this.storage=n,this._opts=r=$e({},r),this.root=t,this._id="zr"+WDe++,this._oldVNode=pE(r.width,r.height),t&&!r.ssr){var a=this._viewport=document.createElement("div");a.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=iG("svg");P8(null,this._oldVNode),a.appendChild(i),t.appendChild(a)}this.resize(r.width,r.height)}return e.prototype.getType=function(){return this.type},e.prototype.getViewportRoot=function(){return this._viewport},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.getSvgDom=function(){return this._svgDom},e.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",GDe(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return xE(t,_x(this._id))},e.prototype.renderToVNode=function(t){t=t||{};var n=this.storage.getDisplayList(!0),r=this._width,a=this._height,i=_x(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress,i.emphasis=t.emphasis;var o=[],l=this._bgVNode=YDe(r,a,this._backgroundColor,i);l&&o.push(l);var s=t.compress?null:this._mainVNode=yr("g","main",{},[]);this._paintList(n,i,s?s.children:o),s&&o.push(s);var u=Ge(tn(i.defs),function(d){return i.defs[d]});if(u.length&&o.push(yr("defs","defs",{},u)),t.animation){var c=kDe(i.cssNodes,i.cssAnims,{newline:!0});if(c){var f=yr("style","stl",{},[],c);o.push(f)}}return pE(r,a,o,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},E8(this.renderToVNode({animation:Ot(t.cssAnimation,!0),emphasis:Ot(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:Ot(t.useViewBox,!0)}),{newline:!0})},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t},e.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},e.prototype._paintList=function(t,n,r){for(var a=t.length,i=[],o=0,l,s,u=0,c=0;c<a;c++){var f=t[c];if(!f.invisible){var d=f.__clipPaths,h=d&&d.length||0,v=s&&s.length||0,p=void 0;for(p=Math.max(h-1,v-1);p>=0&&!(d&&s&&d[p]===s[p]);p--);for(var g=v-1;g>p;g--)o--,l=i[o-1];for(var m=p+1;m<h;m++){var b={};BDe(d[m],b,n);var _=yr("g","clip-g-"+u++,b,[]);(l?l.children:r).push(_),i[o++]=_,l=_}s=d;var w=xE(f,n);w&&(l?l.children:r).push(w)}}},e.prototype.resize=function(t,n){var r=this._opts,a=this.root,i=this._viewport;if(t!=null&&(r.width=t),n!=null&&(r.height=n),a&&i&&(i.style.display="none",t=Yf(a,0,r),n=Yf(a,1,r),i.style.display=""),this._width!==t||this._height!==n){if(this._width=t,this._height=n,i){var o=i.style;o.width=t+"px",o.height=n+"px"}if(P6(this._backgroundColor))this.refresh();else{var l=this._svgDom;l&&(l.setAttribute("width",t),l.setAttribute("height",n));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",n))}}},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},e.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},e.prototype.toDataURL=function(t){var n=this.renderToString(),r="data:image/svg+xml;";return t?(n=nTe(n),n&&r+"base64,"+n):r+"charset=UTF-8,"+encodeURIComponent(n)},e}();function zE(e){return function(){}}function YDe(e,t,n,r){var a;if(n&&n!=="none")if(a=yr("rect","bg",{width:e,height:t,x:"0",y:"0"}),$F(n))fG({fill:n},a.attrs,"fill",r);else if(P6(n))dG({style:{fill:n},dirty:er,getBoundingRect:function(){return{width:e,height:t}}},a.attrs,"fill",r);else{var i=R1(n),o=i.color,l=i.opacity;a.attrs.fill=o,l<1&&(a.attrs["fill-opacity"]=l)}return a}function KDe(e){e.registerPainter("svg",UDe)}function ME(e,t,n){var r=Us.createCanvas(),a=t.getWidth(),i=t.getHeight(),o=r.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=a+"px",o.height=i+"px",r.setAttribute("data-zr-dom-id",e)),r.width=a*n,r.height=i*n,r}var B_=function(e){Se(t,e);function t(n,r,a){var i=e.call(this)||this;i.motionBlur=!1,i.lastFrameAlpha=.7,i.dpr=1,i.virtual=!1,i.config={},i.incremental=!1,i.zlevel=0,i.maxRepaintRectCount=5,i.__dirty=!0,i.__firstTimePaint=!0,i.__used=!1,i.__drawIndex=0,i.__startIndex=0,i.__endIndex=0,i.__prevStartIndex=null,i.__prevEndIndex=null;var o;a=a||fm,typeof n=="string"?o=ME(n,r,a):wt(n)&&(o=n,n=o.id),i.id=n,i.dom=o;var l=o.style;return l&&(wF(o),o.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),i.painter=r,i.dpr=a,i}return t.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},t.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},t.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},t.prototype.setUnpainted=function(){this.__firstTimePaint=!0},t.prototype.createBackBuffer=function(){var n=this.dpr;this.domBack=ME("back-"+this.id,this.painter,n),this.ctxBack=this.domBack.getContext("2d"),n!==1&&this.ctxBack.scale(n,n)},t.prototype.createRepaintRects=function(n,r,a,i){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var o=[],l=this.maxRepaintRectCount,s=!1,u=new qt(0,0,0,0);function c(b){if(!(!b.isFinite()||b.isZero()))if(o.length===0){var _=new qt(0,0,0,0);_.copy(b),o.push(_)}else{for(var w=!1,x=1/0,S=0,C=0;C<o.length;++C){var T=o[C];if(T.intersect(b)){var z=new qt(0,0,0,0);z.copy(T),z.union(b),o[C]=z,w=!0;break}else if(s){u.copy(b),u.union(T);var A=b.width*b.height,E=T.width*T.height,D=u.width*u.height,$=D-A-E;$<x&&(x=$,S=C)}}if(s&&(o[S].union(b),w=!0),!w){var _=new qt(0,0,0,0);_.copy(b),o.push(_)}s||(s=o.length>=l)}}for(var f=this.__startIndex;f<this.__endIndex;++f){var d=n[f];if(d){var h=d.shouldBePainted(a,i,!0,!0),v=d.__isRendered&&(d.__dirty&Va||!h)?d.getPrevPaintRect():null;v&&c(v);var p=h&&(d.__dirty&Va||!d.__isRendered)?d.getPaintRect():null;p&&c(p)}}for(var f=this.__prevStartIndex;f<this.__prevEndIndex;++f){var d=r[f],h=d&&d.shouldBePainted(a,i,!0,!0);if(d&&(!h||!d.__zr)&&d.__isRendered){var v=d.getPrevPaintRect();v&&c(v)}}var g;do{g=!1;for(var f=0;f<o.length;){if(o[f].isZero()){o.splice(f,1);continue}for(var m=f+1;m<o.length;)o[f].intersect(o[m])?(g=!0,o[f].union(o[m]),o.splice(m,1)):m++;f++}}while(g);return this._paintRects=o,o},t.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},t.prototype.resize=function(n,r){var a=this.dpr,i=this.dom,o=i.style,l=this.domBack;o&&(o.width=n+"px",o.height=r+"px"),i.width=n*a,i.height=r*a,l&&(l.width=n*a,l.height=r*a,a!==1&&this.ctxBack.scale(a,a))},t.prototype.clear=function(n,r,a){var i=this.dom,o=this.ctx,l=i.width,s=i.height;r=r||this.clearColor;var u=this.motionBlur&&!n,c=this.lastFrameAlpha,f=this.dpr,d=this;u&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,l/f,s/f));var h=this.domBack;function v(p,g,m,b){if(o.clearRect(p,g,m,b),r&&r!=="transparent"){var _=void 0;if(jy(r)){var w=r.global||r.__width===m&&r.__height===b;_=w&&r.__canvasGradient||fx(o,r,{x:0,y:0,width:m,height:b}),r.__canvasGradient=_,r.__width=m,r.__height=b}else c7e(r)&&(r.scaleX=r.scaleX||f,r.scaleY=r.scaleY||f,_=dx(o,r,{dirty:function(){d.setUnpainted(),d.painter.refresh()}}));o.save(),o.fillStyle=_||r,o.fillRect(p,g,m,b),o.restore()}u&&(o.save(),o.globalAlpha=c,o.drawImage(h,p,g,m,b),o.restore())}!a||u?v(0,0,l,s):a.length&&K(a,function(p){v(p.x*f,p.y*f,p.width*f,p.height*f)})},t}(Ei),AE=1e5,Nu=314159,i0=.01,XDe=.001;function ZDe(e){return e?e.__builtin__?!0:!(typeof e.resize!="function"||typeof e.refresh!="function"):!1}function JDe(e,t){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+e+"px","height:"+t+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}var QDe=function(){function e(t,n,r,a){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!t.nodeName||t.nodeName.toUpperCase()==="CANVAS";this._opts=r=$e({},r||{}),this.dpr=r.devicePixelRatio||fm,this._singleCanvas=i,this.root=t;var o=t.style;o&&(wF(t),t.innerHTML=""),this.storage=n;var l=this._zlevelList;this._prevDisplayList=[];var s=this._layers;if(i){var c=t,f=c.width,d=c.height;r.width!=null&&(f=r.width),r.height!=null&&(d=r.height),this.dpr=r.devicePixelRatio||1,c.width=f*this.dpr,c.height=d*this.dpr,this._width=f,this._height=d;var h=new B_(c,this,this.dpr);h.__builtin__=!0,h.initContext(),s[Nu]=h,h.zlevel=Nu,l.push(Nu),this._domRoot=t}else{this._width=Yf(t,0,r),this._height=Yf(t,1,r);var u=this._domRoot=JDe(this._width,this._height);t.appendChild(u)}}return e.prototype.getType=function(){return"canvas"},e.prototype.isSingleCanvas=function(){return this._singleCanvas},e.prototype.getViewportRoot=function(){return this._domRoot},e.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},e.prototype.refresh=function(t){var n=this.storage.getDisplayList(!0),r=this._prevDisplayList,a=this._zlevelList;this._redrawId=Math.random(),this._paintList(n,r,t,this._redrawId);for(var i=0;i<a.length;i++){var o=a[i],l=this._layers[o];if(!l.__builtin__&&l.refresh){var s=i===0?this._backgroundColor:null;l.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=n.slice()),this},e.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},e.prototype._paintHoverList=function(t){var n=t.length,r=this._hoverlayer;if(r&&r.clear(),!!n){for(var a={inHover:!0,viewWidth:this._width,viewHeight:this._height},i,o=0;o<n;o++){var l=t[o];l.__inHover&&(r||(r=this._hoverlayer=this.getLayer(AE)),i||(i=r.ctx,i.save()),fc(i,l,a,o===n-1))}i&&i.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(AE)},e.prototype.paintOne=function(t,n){Qj(t,n)},e.prototype._paintList=function(t,n,r,a){if(this._redrawId===a){r=r||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,n,r),o=i.finished,l=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),l&&this._paintHoverList(t),o)this.eachLayer(function(u){u.afterBrush&&u.afterBrush()});else{var s=this;im(function(){s._paintList(t,n,r,a)})}}},e.prototype._compositeManually=function(){var t=this.getLayer(Nu).ctx,n=this._domRoot.width,r=this._domRoot.height;t.clearRect(0,0,n,r),this.eachBuiltinLayer(function(a){a.virtual&&t.drawImage(a.dom,0,0,n,r)})},e.prototype._doPaintList=function(t,n,r){for(var a=this,i=[],o=this._opts.useDirtyRect,l=0;l<this._zlevelList.length;l++){var s=this._zlevelList[l],u=this._layers[s];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||r)&&i.push(u)}for(var c=!0,f=!1,d=function(p){var g=i[p],m=g.ctx,b=o&&g.createRepaintRects(t,n,h._width,h._height),_=r?g.__startIndex:g.__drawIndex,w=!r&&g.incremental&&Date.now,x=w&&Date.now(),S=g.zlevel===h._zlevelList[0]?h._backgroundColor:null;if(g.__startIndex===g.__endIndex)g.clear(!1,S,b);else if(_===g.__startIndex){var C=t[_];(!C.incremental||!C.notClear||r)&&g.clear(!1,S,b)}_===-1&&(console.error("For some unknown reason. drawIndex is -1"),_=g.__startIndex);var T,z=function($){var O={inHover:!1,allClipped:!1,prevEl:null,viewWidth:a._width,viewHeight:a._height};for(T=_;T<g.__endIndex;T++){var R=t[T];if(R.__inHover&&(f=!0),a._doPaintEl(R,g,o,$,O,T===g.__endIndex-1),w){var N=Date.now()-x;if(N>15)break}}O.prevElClipPaths&&m.restore()};if(b)if(b.length===0)T=g.__endIndex;else for(var A=h.dpr,E=0;E<b.length;++E){var D=b[E];m.save(),m.beginPath(),m.rect(D.x*A,D.y*A,D.width*A,D.height*A),m.clip(),z(D),m.restore()}else m.save(),z(),m.restore();g.__drawIndex=T,g.__drawIndex<g.__endIndex&&(c=!1)},h=this,v=0;v<i.length;v++)d(v);return Jt.wxa&&K(this._layers,function(p){p&&p.ctx&&p.ctx.draw&&p.ctx.draw()}),{finished:c,needsRefreshHover:f}},e.prototype._doPaintEl=function(t,n,r,a,i,o){var l=n.ctx;if(r){var s=t.getPaintRect();(!a||s&&s.intersect(a))&&(fc(l,t,i,o),t.setPrevPaintRect(s))}else fc(l,t,i,o)},e.prototype.getLayer=function(t,n){this._singleCanvas&&!this._needsManuallyCompositing&&(t=Nu);var r=this._layers[t];return r||(r=new B_("zr_"+t,this,this.dpr),r.zlevel=t,r.__builtin__=!0,this._layerConfig[t]?jt(r,this._layerConfig[t],!0):this._layerConfig[t-i0]&&jt(r,this._layerConfig[t-i0],!0),n&&(r.virtual=n),this.insertLayer(t,r),r.initContext()),r},e.prototype.insertLayer=function(t,n){var r=this._layers,a=this._zlevelList,i=a.length,o=this._domRoot,l=null,s=-1;if(!r[t]&&ZDe(n)){if(i>0&&t>a[0]){for(s=0;s<i-1&&!(a[s]<t&&a[s+1]>t);s++);l=r[a[s]]}if(a.splice(s+1,0,t),r[t]=n,!n.virtual)if(l){var u=l.dom;u.nextSibling?o.insertBefore(n.dom,u.nextSibling):o.appendChild(n.dom)}else o.firstChild?o.insertBefore(n.dom,o.firstChild):o.appendChild(n.dom);n.painter||(n.painter=this)}},e.prototype.eachLayer=function(t,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var i=r[a];t.call(n,this._layers[i],i)}},e.prototype.eachBuiltinLayer=function(t,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var i=r[a],o=this._layers[i];o.__builtin__&&t.call(n,o,i)}},e.prototype.eachOtherLayer=function(t,n){for(var r=this._zlevelList,a=0;a<r.length;a++){var i=r[a],o=this._layers[i];o.__builtin__||t.call(n,o,i)}},e.prototype.getLayers=function(){return this._layers},e.prototype._updateLayerStatus=function(t){this.eachBuiltinLayer(function(f,d){f.__dirty=f.__used=!1});function n(f){i&&(i.__endIndex!==f&&(i.__dirty=!0),i.__endIndex=f)}if(this._singleCanvas)for(var r=1;r<t.length;r++){var a=t[r];if(a.zlevel!==t[r-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var i=null,o=0,l,s;for(s=0;s<t.length;s++){var a=t[s],u=a.zlevel,c=void 0;l!==u&&(l=u,o=0),a.incremental?(c=this.getLayer(u+XDe,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(u+(o>0?i0:0),this._needsManuallyCompositing),c.__builtin__||k6("ZLevel "+u+" has been used by unkown layer "+c.id),c!==i&&(c.__used=!0,c.__startIndex!==s&&(c.__dirty=!0),c.__startIndex=s,c.incremental?c.__drawIndex=-1:c.__drawIndex=s,n(s),i=c),a.__dirty&Va&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=s))}n(s),this.eachBuiltinLayer(function(f,d){!f.__used&&f.getElementCount()>0&&(f.__dirty=!0,f.__startIndex=f.__endIndex=f.__drawIndex=0),f.__dirty&&f.__drawIndex<0&&(f.__drawIndex=f.__startIndex)})},e.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},e.prototype._clearLayer=function(t){t.clear()},e.prototype.setBackgroundColor=function(t){this._backgroundColor=t,K(this._layers,function(n){n.setUnpainted()})},e.prototype.configLayer=function(t,n){if(n){var r=this._layerConfig;r[t]?jt(r[t],n,!0):r[t]=n;for(var a=0;a<this._zlevelList.length;a++){var i=this._zlevelList[a];if(i===t||i===t+i0){var o=this._layers[i];jt(o,r[t],!0)}}}},e.prototype.delLayer=function(t){var n=this._layers,r=this._zlevelList,a=n[t];a&&(a.dom.parentNode.removeChild(a.dom),delete n[t],r.splice(Yt(r,t),1))},e.prototype.resize=function(t,n){if(this._domRoot.style){var r=this._domRoot;r.style.display="none";var a=this._opts,i=this.root;if(t!=null&&(a.width=t),n!=null&&(a.height=n),t=Yf(i,0,a),n=Yf(i,1,a),r.style.display="",this._width!==t||n!==this._height){r.style.width=t+"px",r.style.height=n+"px";for(var o in this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,n);this.refresh(!0)}this._width=t,this._height=n}else{if(t==null||n==null)return;this._width=t,this._height=n,this.getLayer(Nu).resize(t,n)}return this},e.prototype.clearLayer=function(t){var n=this._layers[t];n&&n.clear()},e.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},e.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[Nu].dom;var n=new B_("image",this,t.pixelRatio||this.dpr);n.initContext(),n.clear(!1,t.backgroundColor||this._backgroundColor);var r=n.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var a=n.dom.width,i=n.dom.height;this.eachLayer(function(f){f.__builtin__?r.drawImage(f.dom,0,0,a,i):f.renderToCanvas&&(r.save(),f.renderToCanvas(r),r.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},l=this.storage.getDisplayList(!0),s=0,u=l.length;s<u;s++){var c=l[s];fc(r,c,o,s===u-1)}return n.dom},e.prototype.getWidth=function(){return this._width},e.prototype.getHeight=function(){return this._height},e}();function eLe(e){e.registerPainter("canvas",QDe)}var tLe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n){return jl(null,this,{useEncodeDefaulter:!0})},t.prototype.getLegendIcon=function(n){var r=new At,a=lr("line",0,n.itemHeight/2,n.itemWidth,0,n.lineStyle.stroke,!1);r.add(a),a.setStyle(n.lineStyle);var i=this.getData().getVisual("symbol"),o=this.getData().getVisual("symbolRotate"),l=i==="none"?"circle":i,s=n.itemHeight*.8,u=lr(l,(n.itemWidth-s)/2,(n.itemHeight-s)/2,s,s,n.itemStyle.fill);r.add(u),u.setStyle(n.itemStyle);var c=n.iconRotate==="inherit"?o:n.iconRotate||0;return u.rotation=c*Math.PI/180,u.setOrigin([n.itemWidth/2,n.itemHeight/2]),l.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.style.lineWidth=2),r},t.type="series.line",t.dependencies=["grid","polar"],t.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},t}(Ln);function Fd(e,t){var n=e.mapDimensionsAll("defaultedLabel"),r=n.length;if(r===1){var a=$d(e,t,n[0]);return a!=null?a+"":null}else if(r){for(var i=[],o=0;o<n.length;o++)i.push($d(e,t,n[o]));return i.join(" ")}}function gG(e,t){var n=e.mapDimensionsAll("defaultedLabel");if(!He(t))return t+"";for(var r=[],a=0;a<n.length;a++){var i=e.getDimensionIndex(n[a]);i>=0&&r.push(t[i])}return r.join(" ")}var $p=function(e){Se(t,e);function t(n,r,a,i){var o=e.call(this)||this;return o.updateData(n,r,a,i),o}return t.prototype._createSymbol=function(n,r,a,i,o){this.removeAll();var l=lr(n,-1,-1,2,2,null,o);l.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),l.drift=nLe,this._symbolType=n,this.add(l)},t.prototype.stopSymbolAnimation=function(n){this.childAt(0).stopAnimation(null,n)},t.prototype.getSymbolType=function(){return this._symbolType},t.prototype.getSymbolPath=function(){return this.childAt(0)},t.prototype.highlight=function(){kl(this.childAt(0))},t.prototype.downplay=function(){zl(this.childAt(0))},t.prototype.setZ=function(n,r){var a=this.childAt(0);a.zlevel=n,a.z=r},t.prototype.setDraggable=function(n,r){var a=this.childAt(0);a.draggable=n,a.cursor=!r&&n?"move":a.cursor},t.prototype.updateData=function(n,r,a,i){this.silent=!1;var o=n.getItemVisual(r,"symbol")||"circle",l=n.hostModel,s=t.getSymbolSize(n,r),u=o!==this._symbolType,c=i&&i.disableAnimation;if(u){var f=n.getItemVisual(r,"symbolKeepAspect");this._createSymbol(o,n,r,s,f)}else{var d=this.childAt(0);d.silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};c?d.attr(h):un(d,h,l,r),Qi(d)}if(this._updateCommon(n,r,s,a,i),u){var d=this.childAt(0);if(!c){var h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:d.style.opacity}};d.scaleX=d.scaleY=0,d.style.opacity=0,Nn(d,h,l,r)}}c&&this.childAt(0).stopAnimation("leave")},t.prototype._updateCommon=function(n,r,a,i,o){var l=this.childAt(0),s=n.hostModel,u,c,f,d,h,v,p,g,m;if(i&&(u=i.emphasisItemStyle,c=i.blurItemStyle,f=i.selectItemStyle,d=i.focus,h=i.blurScope,p=i.labelStatesModels,g=i.hoverScale,m=i.cursorStyle,v=i.emphasisDisabled),!i||n.hasItemOption){var b=i&&i.itemModel?i.itemModel:n.getItemModel(r),_=b.getModel("emphasis");u=_.getModel("itemStyle").getItemStyle(),f=b.getModel(["select","itemStyle"]).getItemStyle(),c=b.getModel(["blur","itemStyle"]).getItemStyle(),d=_.get("focus"),h=_.get("blurScope"),v=_.get("disabled"),p=Sr(b),g=_.getShallow("scale"),m=b.getShallow("cursor")}var w=n.getItemVisual(r,"symbolRotate");l.attr("rotation",(w||0)*Math.PI/180||0);var x=ef(n.getItemVisual(r,"symbolOffset"),a);x&&(l.x=x[0],l.y=x[1]),m&&l.attr("cursor",m);var S=n.getItemVisual(r,"style"),C=S.fill;if(l instanceof Ir){var T=l.style;l.useStyle($e({image:T.image,x:T.x,y:T.y,width:T.width,height:T.height},S))}else l.__isEmptyBrush?l.useStyle($e({},S)):l.useStyle(S),l.style.decal=null,l.setColor(C,o&&o.symbolInnerColor),l.style.strokeNoScale=!0;var z=n.getItemVisual(r,"liftZ"),A=this._z2;z!=null?A==null&&(this._z2=l.z2,l.z2+=z):A!=null&&(l.z2=A,this._z2=null);var E=o&&o.useNameLabel;Fr(l,p,{labelFetcher:s,labelDataIndex:r,defaultText:D,inheritColor:C,defaultOpacity:S.opacity});function D(R){return E?n.getName(R):Fd(n,R)}this._sizeX=a[0]/2,this._sizeY=a[1]/2;var $=l.ensureState("emphasis");$.style=u,l.ensureState("select").style=f,l.ensureState("blur").style=c;var O=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;$.scaleX=this._sizeX*O,$.scaleY=this._sizeY*O,this.setSymbolScale(1),Kn(this,d,h,v)},t.prototype.setSymbolScale=function(n){this.scaleX=this.scaleY=n},t.prototype.fadeOut=function(n,r,a){var i=this.childAt(0),o=Dt(this).dataIndex,l=a&&a.animation;if(this.silent=i.silent=!0,a&&a.fadeLabel){var s=i.getTextContent();s&&Ks(s,{style:{opacity:0}},r,{dataIndex:o,removeOpt:l,cb:function(){i.removeTextContent()}})}else i.removeTextContent();Ks(i,{style:{opacity:0},scaleX:0,scaleY:0},r,{dataIndex:o,cb:n,removeOpt:l})},t.getSymbolSize=function(n,r){return bh(n.getItemVisual(r,"symbolSize"))},t}(At);function nLe(e,t){this.parent.drift(e,t)}function F_(e,t,n,r){return t&&!isNaN(t[0])&&!isNaN(t[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(t[0],t[1]))&&e.getItemVisual(n,"symbol")!=="none"}function EE(e){return e!=null&&!wt(e)&&(e={isIgnore:e}),e||{}}function IE(e){var t=e.hostModel,n=t.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:t.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:t.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Sr(t),cursorStyle:t.get("cursor")}}var Vp=function(){function e(t){this.group=new At,this._SymbolCtor=t||$p}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=EE(n);var r=this.group,a=t.hostModel,i=this._data,o=this._SymbolCtor,l=n.disableAnimation,s=IE(t),u={disableAnimation:l},c=n.getSymbolPoint||function(f){return t.getItemLayout(f)};i||r.removeAll(),t.diff(i).add(function(f){var d=c(f);if(F_(t,d,f,n)){var h=new o(t,f,s,u);h.setPosition(d),t.setItemGraphicEl(f,h),r.add(h)}}).update(function(f,d){var h=i.getItemGraphicEl(d),v=c(f);if(!F_(t,v,f,n)){r.remove(h);return}var p=t.getItemVisual(f,"symbol")||"circle",g=h&&h.getSymbolType&&h.getSymbolType();if(!h||g&&g!==p)r.remove(h),h=new o(t,f,s,u),h.setPosition(v);else{h.updateData(t,f,s,u);var m={x:v[0],y:v[1]};l?h.attr(m):un(h,m,a)}r.add(h),t.setItemGraphicEl(f,h)}).remove(function(f){var d=i.getItemGraphicEl(f);d&&d.fadeOut(function(){r.remove(d)},a)}).execute(),this._getSymbolPoint=c,this._data=t},e.prototype.updateLayout=function(){var t=this,n=this._data;n&&n.eachItemGraphicEl(function(r,a){var i=t._getSymbolPoint(a);r.setPosition(i),r.markRedraw()})},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=IE(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=EE(r);function a(s){s.isGroup||(s.incremental=!0,s.ensureState("emphasis").hoverLayer=!0)}for(var i=t.start;i<t.end;i++){var o=n.getItemLayout(i);if(F_(n,o,i,r)){var l=new this._SymbolCtor(n,i,this._seriesScope);l.traverse(a),l.setPosition(o),this.group.add(l),n.setItemGraphicEl(i,l),this._progressiveEls.push(l)}}},e.prototype.eachRendered=function(t){lu(this._progressiveEls||this.group,t)},e.prototype.remove=function(t){var n=this.group,r=this._data;r&&t?r.eachItemGraphicEl(function(a){a.fadeOut(function(){n.remove(a)},r.hostModel)}):n.removeAll()},e}();function mG(e,t,n){var r=e.getBaseAxis(),a=e.getOtherAxis(r),i=rLe(a,n),o=r.dim,l=a.dim,s=t.mapDimension(l),u=t.mapDimension(o),c=l==="x"||l==="radius"?1:0,f=Ge(e.dimensions,function(v){return t.mapDimension(v)}),d=!1,h=t.getCalculationInfo("stackResultDimension");return Zs(t,f[0])&&(d=!0,f[0]=h),Zs(t,f[1])&&(d=!0,f[1]=h),{dataDimsForPoint:f,valueStart:i,valueAxisDim:l,baseAxisDim:o,stacked:!!d,valueDim:s,baseDim:u,baseDataOffset:c,stackedOverDimension:t.getCalculationInfo("stackedOverDimension")}}function rLe(e,t){var n=0,r=e.scale.getExtent();return t==="start"?n=r[0]:t==="end"?n=r[1]:ln(t)&&!isNaN(t)?n=t:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]),n}function yG(e,t,n,r){var a=NaN;e.stacked&&(a=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(a)&&(a=e.valueStart);var i=e.baseDataOffset,o=[];return o[i]=n.get(e.baseDim,r),o[1-i]=a,t.dataToPoint(o)}function aLe(e,t){var n=[];return t.diff(e).add(function(r){n.push({cmd:"+",idx:r})}).update(function(r,a){n.push({cmd:"=",idx:a,idx1:r})}).remove(function(r){n.push({cmd:"-",idx:r})}).execute(),n}function iLe(e,t,n,r,a,i,o,l){for(var s=aLe(e,t),u=[],c=[],f=[],d=[],h=[],v=[],p=[],g=mG(a,t,o),m=e.getLayout("points")||[],b=t.getLayout("points")||[],_=0;_<s.length;_++){var w=s[_],x=!0,S=void 0,C=void 0;switch(w.cmd){case"=":S=w.idx*2,C=w.idx1*2;var T=m[S],z=m[S+1],A=b[C],E=b[C+1];(isNaN(T)||isNaN(z))&&(T=A,z=E),u.push(T,z),c.push(A,E),f.push(n[S],n[S+1]),d.push(r[C],r[C+1]),p.push(t.getRawIndex(w.idx1));break;case"+":var D=w.idx,$=g.dataDimsForPoint,O=a.dataToPoint([t.get($[0],D),t.get($[1],D)]);C=D*2,u.push(O[0],O[1]),c.push(b[C],b[C+1]);var R=yG(g,a,t,D);f.push(R[0],R[1]),d.push(r[C],r[C+1]),p.push(t.getRawIndex(D));break;case"-":x=!1}x&&(h.push(w),v.push(v.length))}v.sort(function(ye,le){return p[ye]-p[le]});for(var N=u.length,B=zo(N),V=zo(N),P=zo(N),W=zo(N),Z=[],_=0;_<v.length;_++){var ee=v[_],re=_*2,ue=ee*2;B[re]=u[ue],B[re+1]=u[ue+1],V[re]=c[ue],V[re+1]=c[ue+1],P[re]=f[ue],P[re+1]=f[ue+1],W[re]=d[ue],W[re+1]=d[ue+1],Z[_]=h[ee]}return{current:B,next:V,stackedOnCurrent:P,stackedOnNext:W,status:Z}}var es=Math.min,ts=Math.max;function kc(e,t){return isNaN(e)||isNaN(t)}function Sx(e,t,n,r,a,i,o,l,s){for(var u,c,f,d,h,v,p=n,g=0;g<r;g++){var m=t[p*2],b=t[p*2+1];if(p>=a||p<0)break;if(kc(m,b)){if(s){p+=i;continue}break}if(p===n)e[i>0?"moveTo":"lineTo"](m,b),f=m,d=b;else{var _=m-u,w=b-c;if(_*_+w*w<.5){p+=i;continue}if(o>0){for(var x=p+i,S=t[x*2],C=t[x*2+1];S===m&&C===b&&g<r;)g++,x+=i,p+=i,S=t[x*2],C=t[x*2+1],m=t[p*2],b=t[p*2+1],_=m-u,w=b-c;var T=g+1;if(s)for(;kc(S,C)&&T<r;)T++,x+=i,S=t[x*2],C=t[x*2+1];var z=.5,A=0,E=0,D=void 0,$=void 0;if(T>=r||kc(S,C))h=m,v=b;else{A=S-u,E=C-c;var O=m-u,R=S-m,N=b-c,B=C-b,V=void 0,P=void 0;if(l==="x"){V=Math.abs(O),P=Math.abs(R);var W=A>0?1:-1;h=m-W*V*o,v=b,D=m+W*P*o,$=b}else if(l==="y"){V=Math.abs(N),P=Math.abs(B);var Z=E>0?1:-1;h=m,v=b-Z*V*o,D=m,$=b+Z*P*o}else V=Math.sqrt(O*O+N*N),P=Math.sqrt(R*R+B*B),z=P/(P+V),h=m-A*o*(1-z),v=b-E*o*(1-z),D=m+A*o*z,$=b+E*o*z,D=es(D,ts(S,m)),$=es($,ts(C,b)),D=ts(D,es(S,m)),$=ts($,es(C,b)),A=D-m,E=$-b,h=m-A*V/P,v=b-E*V/P,h=es(h,ts(u,m)),v=es(v,ts(c,b)),h=ts(h,es(u,m)),v=ts(v,es(c,b)),A=m-h,E=b-v,D=m+A*P/V,$=b+E*P/V}e.bezierCurveTo(f,d,h,v,m,b),f=D,d=$}else e.lineTo(m,b)}u=m,c=b,p+=i}return g}var bG=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),oLe=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polyline",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new bG},t.prototype.buildPath=function(n,r){var a=r.points,i=0,o=a.length/2;if(r.connectNulls){for(;o>0&&kc(a[o*2-2],a[o*2-1]);o--);for(;i<o&&kc(a[i*2],a[i*2+1]);i++);}for(;i<o;)i+=Sx(n,a,i,o,o,1,r.smooth,r.smoothMonotone,r.connectNulls)+1},t.prototype.getPointOn=function(n,r){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var a=this.path,i=a.data,o=Fo.CMD,l,s,u=r==="x",c=[],f=0;f<i.length;){var d=i[f++],h=void 0,v=void 0,p=void 0,g=void 0,m=void 0,b=void 0,_=void 0;switch(d){case o.M:l=i[f++],s=i[f++];break;case o.L:if(h=i[f++],v=i[f++],_=u?(n-l)/(h-l):(n-s)/(v-s),_<=1&&_>=0){var w=u?(v-s)*_+s:(h-l)*_+l;return u?[n,w]:[w,n]}l=h,s=v;break;case o.C:h=i[f++],v=i[f++],p=i[f++],g=i[f++],m=i[f++],b=i[f++];var x=u?lm(l,h,p,m,n,c):lm(s,v,g,b,n,c);if(x>0)for(var S=0;S<x;S++){var C=c[S];if(C<=1&&C>=0){var w=u?pr(s,v,g,b,C):pr(l,h,p,m,C);return u?[n,w]:[w,n]}}l=m,s=b;break}}},t}(Zt),lLe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(bG),_G=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-polygon",r}return t.prototype.getDefaultShape=function(){return new lLe},t.prototype.buildPath=function(n,r){var a=r.points,i=r.stackedOnPoints,o=0,l=a.length/2,s=r.smoothMonotone;if(r.connectNulls){for(;l>0&&kc(a[l*2-2],a[l*2-1]);l--);for(;o<l&&kc(a[o*2],a[o*2+1]);o++);}for(;o<l;){var u=Sx(n,a,o,l,l,1,r.smooth,s,r.connectNulls);Sx(n,i,o+u-1,u,l,-1,r.stackedOnSmooth,s,r.connectNulls),o+=u+1,n.closePath()}},t}(Zt);function wG(e,t,n,r,a){var i=e.getArea(),o=i.x,l=i.y,s=i.width,u=i.height,c=n.get(["lineStyle","width"])||2;o-=c/2,l-=c/2,s+=c,u+=c,s=Math.ceil(s),o!==Math.floor(o)&&(o=Math.floor(o),s++);var f=new rn({shape:{x:o,y:l,width:s,height:u}});if(t){var d=e.getBaseAxis(),h=d.isHorizontal(),v=d.inverse;h?(v&&(f.shape.x+=s),f.shape.width=0):(v||(f.shape.y+=u),f.shape.height=0);var p=yt(a)?function(g){a(g,f)}:null;Nn(f,{shape:{width:s,height:u,x:o,y:l}},n,null,r,p)}return f}function xG(e,t,n){var r=e.getArea(),a=Zn(r.r0,1),i=Zn(r.r,1),o=new pa({shape:{cx:Zn(e.cx,1),cy:Zn(e.cy,1),r0:a,r:i,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});if(t){var l=e.getBaseAxis().dim==="angle";l?o.shape.endAngle=r.startAngle:o.shape.r=a,Nn(o,{shape:{endAngle:r.endAngle,r:i}},n)}return o}function Bp(e,t,n,r,a){if(e){if(e.type==="polar")return xG(e,t,n);if(e.type==="cartesian2d")return wG(e,t,n,r,a)}else return null;return null}function nf(e,t){return e.type===t}function DE(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function LE(e){for(var t=1/0,n=1/0,r=-1/0,a=-1/0,i=0;i<e.length;){var o=e[i++],l=e[i++];isNaN(o)||(t=Math.min(o,t),r=Math.max(o,r)),isNaN(l)||(n=Math.min(l,n),a=Math.max(l,a))}return[[t,n],[r,a]]}function PE(e,t){var n=LE(e),r=n[0],a=n[1],i=LE(t),o=i[0],l=i[1];return Math.max(Math.abs(r[0]-o[0]),Math.abs(r[1]-o[1]),Math.abs(a[0]-l[0]),Math.abs(a[1]-l[1]))}function RE(e){return ln(e)?e:e?.5:0}function sLe(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),a=zo(r*2),i=0;i<r;i++){var o=yG(n,e,t,i);a[i*2]=o[0],a[i*2+1]=o[1]}return a}function ns(e,t,n,r){var a=t.getBaseAxis(),i=a.dim==="x"||a.dim==="radius"?0:1,o=[],l=0,s=[],u=[],c=[],f=[];if(r){for(l=0;l<e.length;l+=2)!isNaN(e[l])&&!isNaN(e[l+1])&&f.push(e[l],e[l+1]);e=f}for(l=0;l<e.length-2;l+=2)switch(c[0]=e[l+2],c[1]=e[l+3],u[0]=e[l],u[1]=e[l+1],o.push(u[0],u[1]),n){case"end":s[i]=c[i],s[1-i]=u[1-i],o.push(s[0],s[1]);break;case"middle":var d=(u[i]+c[i])/2,h=[];s[i]=h[i]=d,s[1-i]=u[1-i],h[1-i]=c[1-i],o.push(s[0],s[1]),o.push(h[0],h[1]);break;default:s[i]=u[i],s[1-i]=c[1-i],o.push(s[0],s[1])}return o.push(e[l++],e[l++]),o}function uLe(e,t){var n=[],r=e.length,a,i;function o(c,f,d){var h=c.coord,v=(d-h)/(f.coord-h),p=K7e(v,[c.color,f.color]);return{coord:d,color:p}}for(var l=0;l<r;l++){var s=e[l],u=s.coord;if(u<0)a=s;else if(u>t){i?n.push(o(i,s,t)):a&&n.push(o(a,s,0),o(a,s,t));break}else a&&(n.push(o(a,s,0)),a=null),n.push(s),i=s}return n}function cLe(e,t,n){var r=e.getVisual("visualMeta");if(!(!r||!r.length||!e.count())&&t.type==="cartesian2d"){for(var a,i,o=r.length-1;o>=0;o--){var l=e.getDimensionInfo(r[o].dimension);if(a=l&&l.coordDim,a==="x"||a==="y"){i=r[o];break}}if(i){var s=t.getAxis(a),u=Ge(i.stops,function(_){return{coord:s.toGlobalCoord(s.dataToCoord(_.value)),color:_.color}}),c=u.length,f=i.outerColors.slice();c&&u[0].coord>u[c-1].coord&&(u.reverse(),f.reverse());var d=uLe(u,a==="x"?n.getWidth():n.getHeight()),h=d.length;if(!h&&c)return u[0].coord<0?f[1]?f[1]:u[c-1].color:f[0]?f[0]:u[0].color;var v=10,p=d[0].coord-v,g=d[h-1].coord+v,m=g-p;if(m<.001)return"transparent";K(d,function(_){_.offset=(_.coord-p)/m}),d.push({offset:h?d[h-1].offset:.5,color:f[1]||"transparent"}),d.unshift({offset:h?d[0].offset:.5,color:f[0]||"transparent"});var b=new Ip(0,0,0,0,d,!0);return b[a]=p,b[a+"2"]=g,b}}}function fLe(e,t,n){var r=e.get("showAllSymbol"),a=r==="auto";if(!(r&&!a)){var i=n.getAxesByScale("ordinal")[0];if(i&&!(a&&dLe(i,t))){var o=t.mapDimension(i.dim),l={};return K(i.getViewLabels(),function(s){var u=i.scale.getRawOrdinalNumber(s.tickValue);l[u]=1}),function(s){return!l.hasOwnProperty(t.get(o,s))}}}}function dLe(e,t){var n=e.getExtent(),r=Math.abs(n[1]-n[0])/e.scale.count();isNaN(r)&&(r=0);for(var a=t.count(),i=Math.max(1,Math.round(a/5)),o=0;o<a;o+=i)if($p.getSymbolSize(t,o)[e.isHorizontal()?1:0]*1.5>r)return!1;return!0}function hLe(e,t){return isNaN(e)||isNaN(t)}function vLe(e){for(var t=e.length/2;t>0&&hLe(e[t*2-2],e[t*2-1]);t--);return t-1}function OE(e,t){return[e[t*2],e[t*2+1]]}function pLe(e,t,n){for(var r=e.length/2,a=n==="x"?0:1,i,o,l=0,s=-1,u=0;u<r;u++)if(o=e[u*2+a],!(isNaN(o)||isNaN(e[u*2+1-a]))){if(u===0){i=o;continue}if(i<=t&&o>=t||i>=t&&o<=t){s=u;break}l=u,i=o}return{range:[l,s],t:(t-i)/(o-i)}}function SG(e){if(e.get(["endLabel","show"]))return!0;for(var t=0;t<va.length;t++)if(e.get([va[t],"endLabel","show"]))return!0;return!1}function H_(e,t,n,r){if(nf(t,"cartesian2d")){var a=r.getModel("endLabel"),i=a.get("valueAnimation"),o=r.getData(),l={lastFrameIndex:0},s=SG(r)?function(h,v){e._endLabelOnDuring(h,v,o,l,i,a,t)}:null,u=t.getBaseAxis().isHorizontal(),c=wG(t,n,r,function(){var h=e._endLabel;h&&n&&l.originalX!=null&&h.attr({x:l.originalX,y:l.originalY})},s);if(!r.get("clip",!0)){var f=c.shape,d=Math.max(f.width,f.height);u?(f.y-=d,f.height+=d*2):(f.x-=d,f.width+=d*2)}return s&&s(1,c),c}else return xG(t,n,r)}function gLe(e,t){var n=t.getBaseAxis(),r=n.isHorizontal(),a=n.inverse,i=r?a?"right":"left":"center",o=r?"middle":a?"top":"bottom";return{normal:{align:e.get("align")||i,verticalAlign:e.get("verticalAlign")||o}}}var mLe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var n=new At,r=new Vp;this.group.add(r.group),this._symbolDraw=r,this._lineGroup=n},t.prototype.render=function(n,r,a){var i=this,o=n.coordinateSystem,l=this.group,s=n.getData(),u=n.getModel("lineStyle"),c=n.getModel("areaStyle"),f=s.getLayout("points")||[],d=o.type==="polar",h=this._coordSys,v=this._symbolDraw,p=this._polyline,g=this._polygon,m=this._lineGroup,b=!r.ssr&&n.get("animation"),_=!c.isEmpty(),w=c.get("origin"),x=mG(o,s,w),S=_&&sLe(o,s,x),C=n.get("showSymbol"),T=n.get("connectNulls"),z=C&&!d&&fLe(n,s,o),A=this._data;A&&A.eachItemGraphicEl(function(le,ae){le.__temp&&(l.remove(le),A.setItemGraphicEl(ae,null))}),C||v.remove(),l.add(m);var E=d?!1:n.get("step"),D;o&&o.getArea&&n.get("clip",!0)&&(D=o.getArea(),D.width!=null?(D.x-=.1,D.y-=.1,D.width+=.2,D.height+=.2):D.r0&&(D.r0-=.5,D.r+=.5)),this._clipShapeForSymbol=D;var $=cLe(s,o,a)||s.getVisual("style")[s.getVisual("drawType")];if(!(p&&h.type===o.type&&E===this._step))C&&v.updateData(s,{isIgnore:z,clipShape:D,disableAnimation:!0,getSymbolPoint:function(le){return[f[le*2],f[le*2+1]]}}),b&&this._initSymbolLabelAnimation(s,o,D),E&&(f=ns(f,o,E,T),S&&(S=ns(S,o,E,T))),p=this._newPolyline(f),_?g=this._newPolygon(f,S):g&&(m.remove(g),g=this._polygon=null),d||this._initOrUpdateEndLabel(n,o,Fc($)),m.setClipPath(H_(this,o,!0,n));else{_&&!g?g=this._newPolygon(f,S):g&&!_&&(m.remove(g),g=this._polygon=null),d||this._initOrUpdateEndLabel(n,o,Fc($));var O=m.getClipPath();if(O){var R=H_(this,o,!1,n);Nn(O,{shape:R.shape},n)}else m.setClipPath(H_(this,o,!0,n));C&&v.updateData(s,{isIgnore:z,clipShape:D,disableAnimation:!0,getSymbolPoint:function(le){return[f[le*2],f[le*2+1]]}}),(!DE(this._stackedOnPoints,S)||!DE(this._points,f))&&(b?this._doUpdateAnimation(s,S,o,a,E,w,T):(E&&(f=ns(f,o,E,T),S&&(S=ns(S,o,E,T))),p.setShape({points:f}),g&&g.setShape({points:f,stackedOnPoints:S})))}var N=n.getModel("emphasis"),B=N.get("focus"),V=N.get("blurScope"),P=N.get("disabled");if(p.useStyle(_t(u.getLineStyle(),{fill:"none",stroke:$,lineJoin:"bevel"})),Br(p,n,"lineStyle"),p.style.lineWidth>0&&n.get(["emphasis","lineStyle","width"])==="bolder"){var W=p.getState("emphasis").style;W.lineWidth=+p.style.lineWidth+1}Dt(p).seriesIndex=n.seriesIndex,Kn(p,B,V,P);var Z=RE(n.get("smooth")),ee=n.get("smoothMonotone");if(p.setShape({smooth:Z,smoothMonotone:ee,connectNulls:T}),g){var re=s.getCalculationInfo("stackedOnSeries"),ue=0;g.useStyle(_t(c.getAreaStyle(),{fill:$,opacity:.7,lineJoin:"bevel",decal:s.getVisual("style").decal})),re&&(ue=RE(re.get("smooth"))),g.setShape({smooth:Z,stackedOnSmooth:ue,smoothMonotone:ee,connectNulls:T}),Br(g,n,"areaStyle"),Dt(g).seriesIndex=n.seriesIndex,Kn(g,B,V,P)}var ye=function(le){i._changePolyState(le)};s.eachItemGraphicEl(function(le){le&&(le.onHoverStateChange=ye)}),this._polyline.onHoverStateChange=ye,this._data=s,this._coordSys=o,this._stackedOnPoints=S,this._points=f,this._step=E,this._valueOrigin=w,n.get("triggerLineEvent")&&(this.packEventData(n,p),g&&this.packEventData(n,g))},t.prototype.packEventData=function(n,r){Dt(r).eventData={componentType:"series",componentSubType:"line",componentIndex:n.componentIndex,seriesIndex:n.seriesIndex,seriesName:n.name,seriesType:"line"}},t.prototype.highlight=function(n,r,a,i){var o=n.getData(),l=$c(o,i);if(this._changePolyState("emphasis"),!(l instanceof Array)&&l!=null&&l>=0){var s=o.getLayout("points"),u=o.getItemGraphicEl(l);if(!u){var c=s[l*2],f=s[l*2+1];if(isNaN(c)||isNaN(f)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(c,f))return;var d=n.get("zlevel")||0,h=n.get("z")||0;u=new $p(o,l),u.x=c,u.y=f,u.setZ(d,h);var v=u.getSymbolPath().getTextContent();v&&(v.zlevel=d,v.z=h,v.z2=this._polyline.z2+1),u.__temp=!0,o.setItemGraphicEl(l,u),u.stopSymbolAnimation(!0),this.group.add(u)}u.highlight()}else zn.prototype.highlight.call(this,n,r,a,i)},t.prototype.downplay=function(n,r,a,i){var o=n.getData(),l=$c(o,i);if(this._changePolyState("normal"),l!=null&&l>=0){var s=o.getItemGraphicEl(l);s&&(s.__temp?(o.setItemGraphicEl(l,null),this.group.remove(s)):s.downplay())}else zn.prototype.downplay.call(this,n,r,a,i)},t.prototype._changePolyState=function(n){var r=this._polygon;vm(this._polyline,n),r&&vm(r,n)},t.prototype._newPolyline=function(n){var r=this._polyline;return r&&this._lineGroup.remove(r),r=new oLe({shape:{points:n},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(r),this._polyline=r,r},t.prototype._newPolygon=function(n,r){var a=this._polygon;return a&&this._lineGroup.remove(a),a=new _G({shape:{points:n,stackedOnPoints:r},segmentIgnoreThreshold:2}),this._lineGroup.add(a),this._polygon=a,a},t.prototype._initSymbolLabelAnimation=function(n,r,a){var i,o,l=r.getBaseAxis(),s=l.inverse;r.type==="cartesian2d"?(i=l.isHorizontal(),o=!1):r.type==="polar"&&(i=l.dim==="angle",o=!0);var u=n.hostModel,c=u.get("animationDuration");yt(c)&&(c=c(null));var f=u.get("animationDelay")||0,d=yt(f)?f(null):f;n.eachItemGraphicEl(function(h,v){var p=h;if(p){var g=[h.x,h.y],m=void 0,b=void 0,_=void 0;if(a)if(o){var w=a,x=r.pointToCoord(g);i?(m=w.startAngle,b=w.endAngle,_=-x[1]/180*Math.PI):(m=w.r0,b=w.r,_=x[0])}else{var S=a;i?(m=S.x,b=S.x+S.width,_=h.x):(m=S.y+S.height,b=S.y,_=h.y)}var C=b===m?0:(_-m)/(b-m);s&&(C=1-C);var T=yt(f)?f(v):c*C+d,z=p.getSymbolPath(),A=z.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),A&&A.animateFrom({style:{opacity:0}},{duration:300,delay:T}),z.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,a){var i=n.getModel("endLabel");if(SG(n)){var o=n.getData(),l=this._polyline,s=o.getLayout("points");if(!s){l.removeTextContent(),this._endLabel=null;return}var u=this._endLabel;u||(u=this._endLabel=new on({z2:200}),u.ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var c=vLe(s);c>=0&&(Fr(l,Sr(n,"endLabel"),{inheritColor:a,labelFetcher:n,labelDataIndex:c,defaultText:function(f,d,h){return h!=null?gG(o,h):Fd(o,f)},enableTextSetter:!0},gLe(i,r)),l.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},t.prototype._endLabelOnDuring=function(n,r,a,i,o,l,s){var u=this._endLabel,c=this._polyline;if(u){n<1&&i.originalX==null&&(i.originalX=u.x,i.originalY=u.y);var f=a.getLayout("points"),d=a.hostModel,h=d.get("connectNulls"),v=l.get("precision"),p=l.get("distance")||0,g=s.getBaseAxis(),m=g.isHorizontal(),b=g.inverse,_=r.shape,w=b?m?_.x:_.y+_.height:m?_.x+_.width:_.y,x=(m?p:0)*(b?-1:1),S=(m?0:-p)*(b?-1:1),C=m?"x":"y",T=pLe(f,w,C),z=T.range,A=z[1]-z[0],E=void 0;if(A>=1){if(A>1&&!h){var D=OE(f,z[0]);u.attr({x:D[0]+x,y:D[1]+S}),o&&(E=d.getRawValue(z[0]))}else{var D=c.getPointOn(w,C);D&&u.attr({x:D[0]+x,y:D[1]+S});var $=d.getRawValue(z[0]),O=d.getRawValue(z[1]);o&&(E=iH(a,v,$,O,T.t))}i.lastFrameIndex=z[0]}else{var R=n===1||i.lastFrameIndex>0?z[0]:0,D=OE(f,R);o&&(E=d.getRawValue(R)),u.attr({x:D[0]+x,y:D[1]+S})}if(o){var N=dh(u);typeof N.setLabelText=="function"&&N.setLabelText(E)}}},t.prototype._doUpdateAnimation=function(n,r,a,i,o,l,s){var u=this._polyline,c=this._polygon,f=n.hostModel,d=iLe(this._data,n,this._stackedOnPoints,r,this._coordSys,a,this._valueOrigin),h=d.current,v=d.stackedOnCurrent,p=d.next,g=d.stackedOnNext;if(o&&(h=ns(d.current,a,o,s),v=ns(d.stackedOnCurrent,a,o,s),p=ns(d.next,a,o,s),g=ns(d.stackedOnNext,a,o,s)),PE(h,p)>3e3||c&&PE(v,g)>3e3){u.stopAnimation(),u.setShape({points:p}),c&&(c.stopAnimation(),c.setShape({points:p,stackedOnPoints:g}));return}u.shape.__points=d.current,u.shape.points=h;var m={shape:{points:p}};d.current!==h&&(m.shape.__points=d.next),u.stopAnimation(),un(u,m,f),c&&(c.setShape({points:h,stackedOnPoints:v}),c.stopAnimation(),un(c,{shape:{stackedOnPoints:g}},f),u.shape.points!==c.shape.points&&(c.shape.points=u.shape.points));for(var b=[],_=d.status,w=0;w<_.length;w++){var x=_[w].cmd;if(x==="="){var S=n.getItemGraphicEl(_[w].idx1);S&&b.push({el:S,ptIdx:w})}}u.animators&&u.animators.length&&u.animators[0].during(function(){c&&c.dirtyShape();for(var C=u.shape.__points,T=0;T<b.length;T++){var z=b[T].el,A=b[T].ptIdx*2;z.x=C[A],z.y=C[A+1],z.markRedraw()}})},t.prototype.remove=function(n){var r=this.group,a=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),a&&a.eachItemGraphicEl(function(i,o){i.__temp&&(r.remove(i),a.setItemGraphicEl(o,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},t.type="line",t}(zn);function Fp(e,t){return{seriesType:e,plan:mh(),reset:function(n){var r=n.getData(),a=n.coordinateSystem,i=n.pipelineContext,o=t||i.large;if(a){var l=Ge(a.dimensions,function(h){return r.mapDimension(h)}).slice(0,2),s=l.length,u=r.getCalculationInfo("stackResultDimension");Zs(r,l[0])&&(l[0]=u),Zs(r,l[1])&&(l[1]=u);var c=r.getStore(),f=r.getDimensionIndex(l[0]),d=r.getDimensionIndex(l[1]);return s&&{progress:function(h,v){for(var p=h.end-h.start,g=o&&zo(p*s),m=[],b=[],_=h.start,w=0;_<h.end;_++){var x=void 0;if(s===1){var S=c.get(f,_);x=a.dataToPoint(S,null,b)}else m[0]=c.get(f,_),m[1]=c.get(d,_),x=a.dataToPoint(m,null,b);o?(g[w++]=x[0],g[w++]=x[1]):v.setItemLayout(_,x.slice())}o&&v.setLayout("points",g)}}}}}}var yLe={average:function(e){for(var t=0,n=0,r=0;r<e.length;r++)isNaN(e[r])||(t+=e[r],n++);return n===0?NaN:t/n},sum:function(e){for(var t=0,n=0;n<e.length;n++)t+=e[n]||0;return t},max:function(e){for(var t=-1/0,n=0;n<e.length;n++)e[n]>t&&(t=e[n]);return isFinite(t)?t:NaN},min:function(e){for(var t=1/0,n=0;n<e.length;n++)e[n]<t&&(t=e[n]);return isFinite(t)?t:NaN},minmax:function(e){for(var t=-1/0,n=-1/0,r=0;r<e.length;r++){var a=e[r],i=Math.abs(a);i>t&&(t=i,n=a)}return isFinite(n)?n:NaN},nearest:function(e){return e[0]}},bLe=function(e){return Math.round(e.length/2)};function CG(e){return{seriesType:e,reset:function(t,n,r){var a=t.getData(),i=t.get("sampling"),o=t.coordinateSystem,l=a.count();if(l>10&&o.type==="cartesian2d"&&i){var s=o.getBaseAxis(),u=o.getOtherAxis(s),c=s.getExtent(),f=r.getDevicePixelRatio(),d=Math.abs(c[1]-c[0])*(f||1),h=Math.round(l/d);if(isFinite(h)&&h>1){i==="lttb"&&t.setData(a.lttbDownSample(a.mapDimension(u.dim),1/h));var v=void 0;it(i)?v=yLe[i]:yt(i)&&(v=i),v&&t.setData(a.downSample(a.mapDimension(u.dim),1/h,v,bLe))}}}}}function _Le(e){e.registerChartView(mLe),e.registerSeriesModel(tLe),e.registerLayout(Fp("line",!0)),e.registerVisual({seriesType:"line",reset:function(t){var n=t.getData(),r=t.getModel("lineStyle").getLineStyle();r&&!r.stroke&&(r.stroke=n.getVisual("style").fill),n.setVisual("legendLineStyle",r)}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,CG("line"))}var X1=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return jl(null,this,{useEncodeDefaulter:!0})},t.prototype.getMarkerPosition=function(n,r,a){var i=this.coordinateSystem;if(i&&i.clampData){var o=i.clampData(n),l=i.dataToPoint(o);if(a)K(i.getAxes(),function(d,h){if(d.type==="category"&&r!=null){var v=d.getTicksCoords(),p=d.getTickModel().get("alignWithLabel"),g=o[h],m=r[h]==="x1"||r[h]==="y1";if(m&&!p&&(g+=1),v.length<2)return;if(v.length===2){l[h]=d.toGlobalCoord(d.getExtent()[m?1:0]);return}for(var b=void 0,_=void 0,w=1,x=0;x<v.length;x++){var S=v[x].coord,C=x===v.length-1?v[x-1].tickValue+w:v[x].tickValue;if(C===g){_=S;break}else if(C<g)b=S;else if(b!=null&&C>g){_=(S+b)/2;break}x===1&&(w=C-v[0].tickValue)}_==null&&(b?b&&(_=v[v.length-1].coord):_=v[0].coord),l[h]=d.toGlobalCoord(_)}});else{var s=this.getData(),u=s.getLayout("offset"),c=s.getLayout("size"),f=i.getBaseAxis().isHorizontal()?0:1;l[f]+=u+c/2}return l}return[NaN,NaN]},t.type="series.__base_bar__",t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},t}(Ln);Ln.registerClass(X1);var wLe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(){return jl(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},t.prototype.getProgressive=function(){return this.get("large")?this.get("progressive"):!1},t.prototype.getProgressiveThreshold=function(){var n=this.get("progressiveThreshold"),r=this.get("largeThreshold");return r>n&&(n=r),n},t.prototype.brushSelector=function(n,r,a){return a.rect(r.getItemLayout(n))},t.type="series.bar",t.dependencies=["grid","polar"],t.defaultOption=su(X1.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),t}(X1),xLe=function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e}(),Lm=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="sausage",r}return t.prototype.getDefaultShape=function(){return new xLe},t.prototype.buildPath=function(n,r){var a=r.cx,i=r.cy,o=Math.max(r.r0||0,0),l=Math.max(r.r,0),s=(l-o)*.5,u=o+s,c=r.startAngle,f=r.endAngle,d=r.clockwise,h=Math.PI*2,v=d?f-c<h:c-f<h;v||(c=f-(d?h:-h));var p=Math.cos(c),g=Math.sin(c),m=Math.cos(f),b=Math.sin(f);v?(n.moveTo(p*o+a,g*o+i),n.arc(p*u+a,g*u+i,s,-Math.PI+c,c,!d)):n.moveTo(p*l+a,g*l+i),n.arc(a,i,l,c,f,!d),n.arc(m*u+a,b*u+i,s,f-Math.PI*2,f-Math.PI,!d),o!==0&&n.arc(a,i,o,f,c,d)},t}(Zt);function SLe(e,t){t=t||{};var n=t.isRoundCap;return function(r,a,i){var o=a.position;if(!o||o instanceof Array)return dm(r,a,i);var l=e(o),s=a.distance!=null?a.distance:5,u=this.shape,c=u.cx,f=u.cy,d=u.r,h=u.r0,v=(d+h)/2,p=u.startAngle,g=u.endAngle,m=(p+g)/2,b=n?Math.abs(d-h)/2:0,_=Math.cos,w=Math.sin,x=c+d*_(p),S=f+d*w(p),C="left",T="top";switch(l){case"startArc":x=c+(h-s)*_(m),S=f+(h-s)*w(m),C="center",T="top";break;case"insideStartArc":x=c+(h+s)*_(m),S=f+(h+s)*w(m),C="center",T="bottom";break;case"startAngle":x=c+v*_(p)+o0(p,s+b,!1),S=f+v*w(p)+l0(p,s+b,!1),C="right",T="middle";break;case"insideStartAngle":x=c+v*_(p)+o0(p,-s+b,!1),S=f+v*w(p)+l0(p,-s+b,!1),C="left",T="middle";break;case"middle":x=c+v*_(m),S=f+v*w(m),C="center",T="middle";break;case"endArc":x=c+(d+s)*_(m),S=f+(d+s)*w(m),C="center",T="bottom";break;case"insideEndArc":x=c+(d-s)*_(m),S=f+(d-s)*w(m),C="center",T="top";break;case"endAngle":x=c+v*_(g)+o0(g,s+b,!0),S=f+v*w(g)+l0(g,s+b,!0),C="left",T="middle";break;case"insideEndAngle":x=c+v*_(g)+o0(g,-s+b,!0),S=f+v*w(g)+l0(g,-s+b,!0),C="right",T="middle";break;default:return dm(r,a,i)}return r=r||{},r.x=x,r.y=S,r.align=C,r.verticalAlign=T,r}}function CLe(e,t,n,r){if(ln(r)){e.setTextConfig({rotation:r});return}else if(He(t)){e.setTextConfig({rotation:0});return}var a=e.shape,i=a.clockwise?a.startAngle:a.endAngle,o=a.clockwise?a.endAngle:a.startAngle,l=(i+o)/2,s,u=n(t);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":s=l;break;case"startAngle":case"insideStartAngle":s=i;break;case"endAngle":case"insideEndAngle":s=o;break;default:e.setTextConfig({rotation:0});return}var c=Math.PI*1.5-s;u==="middle"&&c>Math.PI/2&&c<Math.PI*1.5&&(c-=Math.PI),e.setTextConfig({rotation:c})}function o0(e,t,n){return t*Math.sin(e)*(n?-1:1)}function l0(e,t,n){return t*Math.cos(e)*(n?1:-1)}function dc(e,t,n){var r=e.get("borderRadius");if(r==null)return n?{cornerRadius:0}:null;He(r)||(r=[r,r,r,r]);var a=Math.abs(t.r||0-t.r0||0);return{cornerRadius:Ge(r,function(i){return Ji(i,a)})}}var j_=Math.max,q_=Math.min;function TLe(e,t){var n=e.getArea&&e.getArea();if(nf(e,"cartesian2d")){var r=e.getBaseAxis();if(r.type!=="category"||!r.onBand){var a=t.getLayout("bandWidth");r.isHorizontal()?(n.x-=a,n.width+=a*2):(n.y-=a,n.height+=a*2)}}return n}var kLe=function(e){Se(t,e);function t(){var n=e.call(this)||this;return n.type=t.type,n._isFirstFrame=!0,n}return t.prototype.render=function(n,r,a,i){this._model=n,this._removeOnRenderedListener(a),this._updateDrawMode(n);var o=n.get("coordinateSystem");(o==="cartesian2d"||o==="polar")&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(n,r,a):this._renderNormal(n,r,a,i))},t.prototype.incrementalPrepareRender=function(n){this._clear(),this._updateDrawMode(n),this._updateLargeClip(n)},t.prototype.incrementalRender=function(n,r){this._progressiveEls=[],this._incrementalRenderLarge(n,r)},t.prototype.eachRendered=function(n){lu(this._progressiveEls||this.group,n)},t.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},t.prototype._renderNormal=function(n,r,a,i){var o=this.group,l=n.getData(),s=this._data,u=n.coordinateSystem,c=u.getBaseAxis(),f;u.type==="cartesian2d"?f=c.isHorizontal():u.type==="polar"&&(f=c.dim==="angle");var d=n.isAnimationEnabled()?n:null,h=zLe(n,u);h&&this._enableRealtimeSort(h,l,a);var v=n.get("clip",!0)||h,p=TLe(u,l);o.removeClipPath();var g=n.get("roundCap",!0),m=n.get("showBackground",!0),b=n.getModel("backgroundStyle"),_=b.get("borderRadius")||0,w=[],x=this._backgroundEls,S=i&&i.isInitSort,C=i&&i.type==="changeAxisOrder";function T(E){var D=s0[u.type](l,E),$=PLe(u,f,D);return $.useStyle(b.getItemStyle()),u.type==="cartesian2d"?$.setShape("r",_):$.setShape("cornerRadius",_),w[E]=$,$}l.diff(s).add(function(E){var D=l.getItemModel(E),$=s0[u.type](l,E,D);if(m&&T(E),!(!l.hasValue(E)||!FE[u.type]($))){var O=!1;v&&(O=NE[u.type](p,$));var R=$E[u.type](n,l,E,$,f,d,c.model,!1,g);h&&(R.forceLabelAnimation=!0),HE(R,l,E,D,$,n,f,u.type==="polar"),S?R.attr({shape:$}):h?VE(h,d,R,$,E,f,!1,!1):Nn(R,{shape:$},n,E),l.setItemGraphicEl(E,R),o.add(R),R.ignore=O}}).update(function(E,D){var $=l.getItemModel(E),O=s0[u.type](l,E,$);if(m){var R=void 0;x.length===0?R=T(D):(R=x[D],R.useStyle(b.getItemStyle()),u.type==="cartesian2d"?R.setShape("r",_):R.setShape("cornerRadius",_),w[E]=R);var N=s0[u.type](l,E),B=kG(f,N,u);un(R,{shape:B},d,E)}var V=s.getItemGraphicEl(D);if(!l.hasValue(E)||!FE[u.type](O)){o.remove(V);return}var P=!1;if(v&&(P=NE[u.type](p,O),P&&o.remove(V)),V?Qi(V):V=$E[u.type](n,l,E,O,f,d,c.model,!!V,g),h&&(V.forceLabelAnimation=!0),C){var W=V.getTextContent();if(W){var Z=dh(W);Z.prevValue!=null&&(Z.prevValue=Z.value)}}else HE(V,l,E,$,O,n,f,u.type==="polar");S?V.attr({shape:O}):h?VE(h,d,V,O,E,f,!0,C):un(V,{shape:O},n,E,null),l.setItemGraphicEl(E,V),V.ignore=P,o.add(V)}).remove(function(E){var D=s.getItemGraphicEl(E);D&&B1(D,n,E)}).execute();var z=this._backgroundGroup||(this._backgroundGroup=new At);z.removeAll();for(var A=0;A<w.length;++A)z.add(w[A]);o.add(z),this._backgroundEls=w,this._data=l},t.prototype._renderLarge=function(n,r,a){this._clear(),qE(n,this.group),this._updateLargeClip(n)},t.prototype._incrementalRenderLarge=function(n,r){this._removeBackground(),qE(r,this.group,this._progressiveEls,!0)},t.prototype._updateLargeClip=function(n){var r=n.get("clip",!0)&&Bp(n.coordinateSystem,!1,n),a=this.group;r?a.setClipPath(r):a.removeClipPath()},t.prototype._enableRealtimeSort=function(n,r,a){var i=this;if(r.count()){var o=n.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(r,n,a),this._isFirstFrame=!1;else{var l=function(s){var u=r.getItemGraphicEl(s),c=u&&u.shape;return c&&Math.abs(o.isHorizontal()?c.height:c.width)||0};this._onRendered=function(){i._updateSortWithinSameData(r,l,o,a)},a.getZr().on("rendered",this._onRendered)}}},t.prototype._dataSort=function(n,r,a){var i=[];return n.each(n.mapDimension(r.dim),function(o,l){var s=a(l);s=s??NaN,i.push({dataIndex:l,mappedValue:s,ordinalNumber:o})}),i.sort(function(o,l){return l.mappedValue-o.mappedValue}),{ordinalNumbers:Ge(i,function(o){return o.ordinalNumber})}},t.prototype._isOrderChangedWithinSameData=function(n,r,a){for(var i=a.scale,o=n.mapDimension(a.dim),l=Number.MAX_VALUE,s=0,u=i.getOrdinalMeta().categories.length;s<u;++s){var c=n.rawIndexOf(o,i.getRawOrdinalNumber(s)),f=c<0?Number.MIN_VALUE:r(n.indexOfRawIndex(c));if(f>l)return!0;l=f}return!1},t.prototype._isOrderDifferentInView=function(n,r){for(var a=r.scale,i=a.getExtent(),o=Math.max(0,i[0]),l=Math.min(i[1],a.getOrdinalMeta().categories.length-1);o<=l;++o)if(n.ordinalNumbers[o]!==a.getRawOrdinalNumber(o))return!0},t.prototype._updateSortWithinSameData=function(n,r,a,i){if(this._isOrderChangedWithinSameData(n,r,a)){var o=this._dataSort(n,a,r);this._isOrderDifferentInView(o,a)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:a.dim+"Axis",axisId:a.index,sortInfo:o}))}},t.prototype._dispatchInitSort=function(n,r,a){var i=r.baseAxis,o=this._dataSort(n,i,function(l){return n.get(n.mapDimension(r.otherAxis.dim),l)});a.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:o})},t.prototype.remove=function(n,r){this._clear(this._model),this._removeOnRenderedListener(r)},t.prototype.dispose=function(n,r){this._removeOnRenderedListener(r)},t.prototype._removeOnRenderedListener=function(n){this._onRendered&&(n.getZr().off("rendered",this._onRendered),this._onRendered=null)},t.prototype._clear=function(n){var r=this.group,a=this._data;n&&n.isAnimationEnabled()&&a&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],a.eachItemGraphicEl(function(i){B1(i,n,Dt(i).dataIndex)})):r.removeAll(),this._data=null,this._isFirstFrame=!0},t.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},t.type="bar",t}(zn),NE={cartesian2d:function(e,t){var n=t.width<0?-1:1,r=t.height<0?-1:1;n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height);var a=e.x+e.width,i=e.y+e.height,o=j_(t.x,e.x),l=q_(t.x+t.width,a),s=j_(t.y,e.y),u=q_(t.y+t.height,i),c=l<o,f=u<s;return t.x=c&&o>a?l:o,t.y=f&&s>i?u:s,t.width=c?0:l-o,t.height=f?0:u-s,n<0&&(t.x+=t.width,t.width=-t.width),r<0&&(t.y+=t.height,t.height=-t.height),c||f},polar:function(e,t){var n=t.r0<=t.r?1:-1;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}var a=q_(t.r,e.r),i=j_(t.r0,e.r0);t.r=a,t.r0=i;var o=a-i<0;if(n<0){var r=t.r;t.r=t.r0,t.r0=r}return o}},$E={cartesian2d:function(e,t,n,r,a,i,o,l,s){var u=new rn({shape:$e({},r),z2:1});if(u.__dataIndex=n,u.name="item",i){var c=u.shape,f=a?"height":"width";c[f]=0}return u},polar:function(e,t,n,r,a,i,o,l,s){var u=!a&&s?Lm:pa,c=new u({shape:r,z2:1});c.name="item";var f=TG(a);if(c.calculateTextPosition=SLe(f,{isRoundCap:u===Lm}),i){var d=c.shape,h=a?"r":"endAngle",v={};d[h]=a?r.r0:r.startAngle,v[h]=r[h],(l?un:Nn)(c,{shape:v},i)}return c}};function zLe(e,t){var n=e.get("realtimeSort",!0),r=t.getBaseAxis();if(n&&r.type==="category"&&t.type==="cartesian2d")return{baseAxis:r,otherAxis:t.getOtherAxis(r)}}function VE(e,t,n,r,a,i,o,l){var s,u;i?(u={x:r.x,width:r.width},s={y:r.y,height:r.height}):(u={y:r.y,height:r.height},s={x:r.x,width:r.width}),l||(o?un:Nn)(n,{shape:s},t,a,null);var c=t?e.baseAxis.model:null;(o?un:Nn)(n,{shape:u},c,a)}function BE(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var MLe=["x","y","width","height"],ALe=["cx","cy","r","startAngle","endAngle"],FE={cartesian2d:function(e){return!BE(e,MLe)},polar:function(e){return!BE(e,ALe)}},s0={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),a=n?ILe(n,r):0,i=r.width>0?1:-1,o=r.height>0?1:-1;return{x:r.x+i*a/2,y:r.y+o*a/2,width:r.width-i*a,height:r.height-o*a}},polar:function(e,t,n){var r=e.getItemLayout(t);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function ELe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function TG(e){return function(t){var n=t?"Arc":"Angle";return function(r){switch(r){case"start":case"insideStart":case"end":case"insideEnd":return r+n;default:return r}}}(e)}function HE(e,t,n,r,a,i,o,l){var s=t.getItemVisual(n,"style");if(l){if(!i.get("roundCap")){var c=e.shape,f=dc(r.getModel("itemStyle"),c,!0);$e(c,f),e.setShape(c)}}else{var u=r.get(["itemStyle","borderRadius"])||0;e.setShape("r",u)}e.useStyle(s);var d=r.getShallow("cursor");d&&e.attr("cursor",d);var h=l?o?a.r>=a.r0?"endArc":"startArc":a.endAngle>=a.startAngle?"endAngle":"startAngle":o?a.height>=0?"bottom":"top":a.width>=0?"right":"left",v=Sr(r);Fr(e,v,{labelFetcher:i,labelDataIndex:n,defaultText:Fd(i.getData(),n),inheritColor:s.fill,defaultOpacity:s.opacity,defaultOutsidePosition:h});var p=e.getTextContent();if(l&&p){var g=r.get(["label","position"]);e.textConfig.inside=g==="middle"?!0:null,CLe(e,g==="outside"?h:g,TG(o),r.get(["label","rotate"]))}qH(p,v,i.getRawValue(n),function(b){return gG(t,b)});var m=r.getModel(["emphasis"]);Kn(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Br(e,r),ELe(a)&&(e.style.fill="none",e.style.stroke="none",K(e.states,function(b){b.style&&(b.style.fill=b.style.stroke="none")}))}function ILe(e,t){var n=e.get(["itemStyle","borderColor"]);if(!n||n==="none")return 0;var r=e.get(["itemStyle","borderWidth"])||0,a=isNaN(t.width)?Number.MAX_VALUE:Math.abs(t.width),i=isNaN(t.height)?Number.MAX_VALUE:Math.abs(t.height);return Math.min(r,a,i)}var DLe=function(){function e(){}return e}(),jE=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeBar",r}return t.prototype.getDefaultShape=function(){return new DLe},t.prototype.buildPath=function(n,r){for(var a=r.points,i=this.baseDimIdx,o=1-this.baseDimIdx,l=[],s=[],u=this.barWidth,c=0;c<a.length;c+=3)s[i]=u,s[o]=a[c+2],l[i]=a[c+i],l[o]=a[c+o],n.rect(l[0],l[1],s[0],s[1])},t}(Zt);function qE(e,t,n,r){var a=e.getData(),i=a.getLayout("valueAxisHorizontal")?1:0,o=a.getLayout("largeDataIndices"),l=a.getLayout("size"),s=e.getModel("backgroundStyle"),u=a.getLayout("largeBackgroundPoints");if(u){var c=new jE({shape:{points:u},incremental:!!r,silent:!0,z2:0});c.baseDimIdx=i,c.largeDataIndices=o,c.barWidth=l,c.useStyle(s.getItemStyle()),t.add(c),n&&n.push(c)}var f=new jE({shape:{points:a.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});f.baseDimIdx=i,f.largeDataIndices=o,f.barWidth=l,t.add(f),f.useStyle(a.getVisual("style")),Dt(f).seriesIndex=e.seriesIndex,e.get("silent")||(f.on("mousedown",GE),f.on("mousemove",GE)),n&&n.push(f)}var GE=h8(function(e){var t=this,n=LLe(t,e.offsetX,e.offsetY);Dt(t).dataIndex=n>=0?n:null},30,!1);function LLe(e,t,n){for(var r=e.baseDimIdx,a=1-r,i=e.shape.points,o=e.largeDataIndices,l=[],s=[],u=e.barWidth,c=0,f=i.length/3;c<f;c++){var d=c*3;if(s[r]=u,s[a]=i[d+2],l[r]=i[d+r],l[a]=i[d+a],s[a]<0&&(l[a]+=s[a],s[a]=-s[a]),t>=l[0]&&t<=l[0]+s[0]&&n>=l[1]&&n<=l[1]+s[1])return o[c]}return-1}function kG(e,t,n){if(nf(n,"cartesian2d")){var r=t,a=n.getArea();return{x:e?r.x:a.x,y:e?a.y:r.y,width:e?r.width:a.width,height:e?a.height:r.height}}else{var a=n.getArea(),i=t;return{cx:a.cx,cy:a.cy,r0:e?a.r0:i.r0,r:e?a.r:i.r,startAngle:e?i.startAngle:0,endAngle:e?i.endAngle:Math.PI*2}}}function PLe(e,t,n){var r=e.type==="polar"?pa:rn;return new r({shape:kG(t,n,e),silent:!0,z2:0})}function RLe(e){e.registerChartView(kLe),e.registerSeriesModel(wLe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,$t(Iq,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Dq("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,CG("bar")),e.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,n){var r=t.componentType||"series";n.eachComponent({mainType:r,query:t},function(a){t.sortInfo&&a.axis.setCategorySortInfo(t.sortInfo)})})}var WE=Math.PI*2,u0=Math.PI/180;function zG(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function MG(e,t){var n=zG(e,t),r=e.get("center"),a=e.get("radius");He(a)||(a=[0,a]);var i=et(n.width,t.getWidth()),o=et(n.height,t.getHeight()),l=Math.min(i,o),s=et(a[0],l/2),u=et(a[1],l/2),c,f,d=e.coordinateSystem;if(d){var h=d.dataToPoint(r);c=h[0]||0,f=h[1]||0}else He(r)||(r=[r,r]),c=et(r[0],i)+n.x,f=et(r[1],o)+n.y;return{cx:c,cy:f,r0:s,r:u}}function OLe(e,t,n){t.eachSeriesByType(e,function(r){var a=r.getData(),i=a.mapDimension("value"),o=zG(r,n),l=MG(r,n),s=l.cx,u=l.cy,c=l.r,f=l.r0,d=-r.get("startAngle")*u0,h=r.get("endAngle"),v=r.get("padAngle")*u0;h=h==="auto"?d-WE:-h*u0;var p=r.get("minAngle")*u0,g=p+v,m=0;a.each(i,function(B){!isNaN(B)&&m++});var b=a.getSum(i),_=Math.PI/(b||m)*2,w=r.get("clockwise"),x=r.get("roseType"),S=r.get("stillShowZeroSum"),C=a.getDataExtent(i);C[0]=0;var T=w?1:-1,z=[d,h],A=T*v/2;F6(z,!w),d=z[0],h=z[1];var E=AG(r);E.startAngle=d,E.endAngle=h,E.clockwise=w;var D=Math.abs(h-d),$=D,O=0,R=d;if(a.setLayout({viewRect:o,r:c}),a.each(i,function(B,V){var P;if(isNaN(B)){a.setItemLayout(V,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:w,cx:s,cy:u,r0:f,r:x?NaN:c});return}x!=="area"?P=b===0&&S?_:B*_:P=D/m,P<g?(P=g,$-=g):O+=B;var W=R+T*P,Z=0,ee=0;v>P?(Z=R+T*P/2,ee=Z):(Z=R+A,ee=W-A),a.setItemLayout(V,{angle:P,startAngle:Z,endAngle:ee,clockwise:w,cx:s,cy:u,r0:f,r:x?bn(B,C,[f,c]):c}),R=W}),$<WE&&m)if($<=.001){var N=D/m;a.each(i,function(B,V){if(!isNaN(B)){var P=a.getItemLayout(V);P.angle=N;var W=0,Z=0;N<v?(W=d+T*(V+1/2)*N,Z=W):(W=d+T*V*N+A,Z=d+T*(V+1)*N-A),P.startAngle=W,P.endAngle=Z}})}else _=$/O,R=d,a.each(i,function(B,V){if(!isNaN(B)){var P=a.getItemLayout(V),W=P.angle===g?g:B*_,Z=0,ee=0;W<v?(Z=R+T*W/2,ee=Z):(Z=R+A,ee=R+T*W-A),P.startAngle=Z,P.endAngle=ee,R+=T*W}})})}var AG=an();function Hp(e){return{seriesType:e,reset:function(t,n){var r=n.findComponents({mainType:"legend"});if(!(!r||!r.length)){var a=t.getData();a.filterSelf(function(i){for(var o=a.getName(i),l=0;l<r.length;l++)if(!r[l].isSelected(o))return!1;return!0})}}}}var NLe=Math.PI/180;function UE(e,t,n,r,a,i,o,l,s,u){if(e.length<2)return;function c(p){for(var g=p.rB,m=g*g,b=0;b<p.list.length;b++){var _=p.list[b],w=Math.abs(_.label.y-n),x=r+_.len,S=x*x,C=Math.sqrt((1-Math.abs(w*w/m))*S),T=t+(C+_.len2)*a,z=T-_.label.x,A=_.targetTextWidth-z*a;EG(_,A,!0),_.label.x=T}}function f(p){for(var g={list:[],maxY:0},m={list:[],maxY:0},b=0;b<p.length;b++)if(p[b].labelAlignTo==="none"){var _=p[b],w=_.label.y>n?m:g,x=Math.abs(_.label.y-n);if(x>=w.maxY){var S=_.label.x-t-_.len2*a,C=r+_.len,T=Math.abs(S)<C?Math.sqrt(x*x/(1-S*S/C/C)):C;w.rB=T,w.maxY=x}w.list.push(_)}c(g),c(m)}for(var d=e.length,h=0;h<d;h++)if(e[h].position==="outer"&&e[h].labelAlignTo==="labelLine"){var v=e[h].label.x-u;e[h].linePoints[1][0]+=v,e[h].label.x=u}Qq(e,s,s+o)&&f(e)}function $Le(e,t,n,r,a,i,o,l){for(var s=[],u=[],c=Number.MAX_VALUE,f=-Number.MAX_VALUE,d=0;d<e.length;d++){var h=e[d].label;G_(e[d])||(h.x<t?(c=Math.min(c,h.x),s.push(e[d])):(f=Math.max(f,h.x),u.push(e[d])))}for(var d=0;d<e.length;d++){var v=e[d];if(!G_(v)&&v.linePoints){if(v.labelStyleWidth!=null)continue;var h=v.label,p=v.linePoints,g=void 0;v.labelAlignTo==="edge"?h.x<t?g=p[2][0]-v.labelDistance-o-v.edgeDistance:g=o+a-v.edgeDistance-p[2][0]-v.labelDistance:v.labelAlignTo==="labelLine"?h.x<t?g=c-o-v.bleedMargin:g=o+a-f-v.bleedMargin:h.x<t?g=h.x-o-v.bleedMargin:g=o+a-h.x-v.bleedMargin,v.targetTextWidth=g,EG(v,g)}}UE(u,t,n,r,1,a,i,o,l,f),UE(s,t,n,r,-1,a,i,o,l,c);for(var d=0;d<e.length;d++){var v=e[d];if(!G_(v)&&v.linePoints){var h=v.label,p=v.linePoints,m=v.labelAlignTo==="edge",b=h.style.padding,_=b?b[1]+b[3]:0,w=h.style.backgroundColor?0:_,x=v.rect.width+w,S=p[1][0]-p[2][0];m?h.x<t?p[2][0]=o+v.edgeDistance+x+v.labelDistance:p[2][0]=o+a-v.edgeDistance-x-v.labelDistance:(h.x<t?p[2][0]=h.x+v.labelDistance:p[2][0]=h.x-v.labelDistance,p[1][0]=p[2][0]+S),p[1][1]=p[2][1]=h.y}}}function EG(e,t,n){if(n===void 0&&(n=!1),e.labelStyleWidth==null){var r=e.label,a=r.style,i=e.rect,o=a.backgroundColor,l=a.padding,s=l?l[1]+l[3]:0,u=a.overflow,c=i.width+(o?0:s);if(t<c||n){var f=i.height;if(u&&u.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",t-s);var d=r.getBoundingRect();r.setStyle("width",Math.ceil(d.width)),r.setStyle("backgroundColor",o)}else{var h=t-s,v=t<c?h:n?h>e.unconstrainedWidth?null:h:null;r.setStyle("width",v)}var p=r.getBoundingRect();i.width=p.width;var g=(r.style.margin||0)+2.1;i.height=p.height+g,i.y-=(i.height-f)/2}}}function G_(e){return e.position==="center"}function VLe(e){var t=e.getData(),n=[],r,a,i=!1,o=(e.get("minShowLabelAngle")||0)*NLe,l=t.getLayout("viewRect"),s=t.getLayout("r"),u=l.width,c=l.x,f=l.y,d=l.height;function h(S){S.ignore=!0}function v(S){if(!S.ignore)return!0;for(var C in S.states)if(S.states[C].ignore===!1)return!0;return!1}t.each(function(S){var C=t.getItemGraphicEl(S),T=C.shape,z=C.getTextContent(),A=C.getTextGuideLine(),E=t.getItemModel(S),D=E.getModel("label"),$=D.get("position")||E.get(["emphasis","label","position"]),O=D.get("distanceToLabelLine"),R=D.get("alignTo"),N=et(D.get("edgeDistance"),u),B=D.get("bleedMargin"),V=E.getModel("labelLine"),P=V.get("length");P=et(P,u);var W=V.get("length2");if(W=et(W,u),Math.abs(T.endAngle-T.startAngle)<o){K(z.states,h),z.ignore=!0,A&&(K(A.states,h),A.ignore=!0);return}if(v(z)){var Z=(T.startAngle+T.endAngle)/2,ee=Math.cos(Z),re=Math.sin(Z),ue,ye,le,ae;r=T.cx,a=T.cy;var ie=$==="inside"||$==="inner";if($==="center")ue=T.cx,ye=T.cy,ae="center";else{var ve=(ie?(T.r+T.r0)/2*ee:T.r*ee)+r,ce=(ie?(T.r+T.r0)/2*re:T.r*re)+a;if(ue=ve+ee*3,ye=ce+re*3,!ie){var fe=ve+ee*(P+s-T.r),xe=ce+re*(P+s-T.r),J=fe+(ee<0?-1:1)*W,oe=xe;R==="edge"?ue=ee<0?c+N:c+u-N:ue=J+(ee<0?-O:O),ye=oe,le=[[ve,ce],[fe,xe],[J,oe]]}ae=ie?"center":R==="edge"?ee>0?"right":"left":ee>0?"left":"right"}var pe=Math.PI,Te=0,ge=D.get("rotate");if(ln(ge))Te=ge*(pe/180);else if($==="center")Te=0;else if(ge==="radial"||ge===!0){var Ae=ee<0?-Z+pe:-Z;Te=Ae}else if(ge==="tangential"&&$!=="outside"&&$!=="outer"){var De=Math.atan2(ee,re);De<0&&(De=pe*2+De);var Pe=re>0;Pe&&(De=pe+De),Te=De-pe}if(i=!!Te,z.x=ue,z.y=ye,z.rotation=Te,z.setStyle({verticalAlign:"middle"}),ie){z.setStyle({align:ae});var Ue=z.states.select;Ue&&(Ue.x+=z.x,Ue.y+=z.y)}else{var Re=z.getBoundingRect().clone();Re.applyTransform(z.getComputedTransform());var Ce=(z.style.margin||0)+2.1;Re.y-=Ce/2,Re.height+=Ce,n.push({label:z,labelLine:A,position:$,len:P,len2:W,minTurnAngle:V.get("minTurnAngle"),maxSurfaceAngle:V.get("maxSurfaceAngle"),surfaceNormal:new Ft(ee,re),linePoints:le,textAlign:ae,labelDistance:O,labelAlignTo:R,edgeDistance:N,bleedMargin:B,rect:Re,unconstrainedWidth:Re.width,labelStyleWidth:z.style.width})}C.setTextConfig({inside:ie})}}),!i&&e.get("avoidLabelOverlap")&&$Le(n,r,a,s,u,d,c,f);for(var p=0;p<n.length;p++){var g=n[p],m=g.label,b=g.labelLine,_=isNaN(m.x)||isNaN(m.y);if(m){m.setStyle({align:g.textAlign}),_&&(K(m.states,h),m.ignore=!0);var w=m.states.select;w&&(w.x+=m.x,w.y+=m.y)}if(b){var x=g.linePoints;_||!x?(K(b.states,h),b.ignore=!0):(Xq(x,g.minTurnAngle),sDe(x,g.surfaceNormal,g.maxSurfaceAngle),b.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new Ft(x[0][0],x[0][1])})}}}var BLe=function(e){Se(t,e);function t(n,r,a){var i=e.call(this)||this;i.z2=2;var o=new on;return i.setTextContent(o),i.updateData(n,r,a,!0),i}return t.prototype.updateData=function(n,r,a,i){var o=this,l=n.hostModel,s=n.getItemModel(r),u=s.getModel("emphasis"),c=n.getItemLayout(r),f=$e(dc(s.getModel("itemStyle"),c,!0),c);if(isNaN(f.startAngle)){o.setShape(f);return}if(i){o.setShape(f);var d=l.getShallow("animationType");l.ecModel.ssr?(Nn(o,{scaleX:0,scaleY:0},l,{dataIndex:r,isFrom:!0}),o.originX=f.cx,o.originY=f.cy):d==="scale"?(o.shape.r=c.r0,Nn(o,{shape:{r:c.r}},l,r)):a!=null?(o.setShape({startAngle:a,endAngle:a}),Nn(o,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},l,r)):(o.shape.endAngle=c.startAngle,un(o,{shape:{endAngle:c.endAngle}},l,r))}else Qi(o),un(o,{shape:f},l,r);o.useStyle(n.getItemVisual(r,"style")),Br(o,s);var h=(c.startAngle+c.endAngle)/2,v=l.get("selectedOffset"),p=Math.cos(h)*v,g=Math.sin(h)*v,m=s.getShallow("cursor");m&&o.attr("cursor",m),this._updateLabel(l,n,r),o.ensureState("emphasis").shape=$e({r:c.r+(u.get("scale")&&u.get("scaleSize")||0)},dc(u.getModel("itemStyle"),c)),$e(o.ensureState("select"),{x:p,y:g,shape:dc(s.getModel(["select","itemStyle"]),c)}),$e(o.ensureState("blur"),{shape:dc(s.getModel(["blur","itemStyle"]),c)});var b=o.getTextGuideLine(),_=o.getTextContent();b&&$e(b.ensureState("select"),{x:p,y:g}),$e(_.ensureState("select"),{x:p,y:g}),Kn(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n,r,a){var i=this,o=r.getItemModel(a),l=o.getModel("labelLine"),s=r.getItemVisual(a,"style"),u=s&&s.fill,c=s&&s.opacity;Fr(i,Sr(o),{labelFetcher:r.hostModel,labelDataIndex:a,inheritColor:u,defaultOpacity:c,defaultText:n.getFormattedLabel(a,"normal")||r.getName(a)});var f=i.getTextContent();i.setTextConfig({position:null,rotation:null}),f.attr({z2:10});var d=n.get(["label","position"]);if(d!=="outside"&&d!=="outer")i.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new ya,this.setTextGuideLine(h)),z8(this,M8(o),{stroke:u,opacity:Eo(l.get(["lineStyle","opacity"]),c,1)})}},t}(pa),FLe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.ignoreLabelLineUpdate=!0,n}return t.prototype.render=function(n,r,a,i){var o=n.getData(),l=this._data,s=this.group,u;if(!l&&o.count()>0){for(var c=o.getItemLayout(0),f=1;isNaN(c&&c.startAngle)&&f<o.count();++f)c=o.getItemLayout(f);c&&(u=c.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),o.count()===0&&n.get("showEmptyCircle")){var d=AG(n),h=new pa({shape:$e(MG(n,a),d)});h.useStyle(n.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,s.add(h)}o.diff(l).add(function(v){var p=new BLe(o,v,u);o.setItemGraphicEl(v,p),s.add(p)}).update(function(v,p){var g=l.getItemGraphicEl(p);g.updateData(o,v,u),g.off("click"),s.add(g),o.setItemGraphicEl(v,g)}).remove(function(v){var p=l.getItemGraphicEl(v);B1(p,n,v)}).execute(),VLe(n),n.get("animationTypeUpdate")!=="expansion"&&(this._data=o)},t.prototype.dispose=function(){},t.prototype.containPoint=function(n,r){var a=r.getData(),i=a.getItemLayout(0);if(i){var o=n[0]-i.cx,l=n[1]-i.cy,s=Math.sqrt(o*o+l*l);return s<=i.r&&s>=i.r0}},t.type="pie",t}(zn);function wh(e,t,n){t=He(t)&&{coordDimensions:t}||$e({encodeDefine:e.getEncode()},t);var r=e.getSource(),a=Op(r,t).dimensions,i=new ua(a,e);return i.initData(r,n),i}var jp=function(){function e(t,n){this._getDataWithEncodedVisual=t,this._getRawData=n}return e.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},e.prototype.containName=function(t){var n=this._getRawData();return n.indexOfName(t)>=0},e.prototype.indexOfName=function(t){var n=this._getDataWithEncodedVisual();return n.indexOfName(t)},e.prototype.getItemVisual=function(t,n){var r=this._getDataWithEncodedVisual();return r.getItemVisual(t,n)},e}(),HLe=an(),jLe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jp(lt(this.getData,this),lt(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.mergeOption=function(){e.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return wh(this,{coordDimensions:["value"],encodeDefaulter:$t(i8,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),a=HLe(r),i=a.seats;if(!i){var o=[];r.each(r.mapDimension("value"),function(s){o.push(s)}),i=a.seats=ITe(o,r.hostModel.get("percentPrecision"))}var l=e.prototype.getDataParams.call(this,n);return l.percent=i[n]||0,l.$vars.push("percent"),l},t.prototype._defaultLabelLine=function(n){Nc(n,"labelLine",["show"]);var r=n.labelLine,a=n.emphasis.labelLine;r.show=r.show&&n.label.show,a.show=a.show&&n.emphasis.label.show},t.type="series.pie",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},t}(Ln);function qLe(e){return{seriesType:e,reset:function(t,n){var r=t.getData();r.filterSelf(function(a){var i=r.mapDimension("value"),o=r.get(i,a);return!(ln(o)&&!isNaN(o)&&o<0)})}}}function GLe(e){e.registerChartView(FLe),e.registerSeriesModel(jLe),Xj("pie",e.registerAction),e.registerLayout($t(OLe,"pie")),e.registerProcessor(Hp("pie")),e.registerProcessor(qLe("pie"))}var WLe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n,r){return jl(null,this,{useEncodeDefaulter:!0})},t.prototype.getProgressive=function(){var n=this.option.progressive;return n??(this.option.large?5e3:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n??(this.option.large?1e4:this.get("progressiveThreshold"))},t.prototype.brushSelector=function(n,r,a){return a.point(r.getItemLayout(n))},t.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},t.type="series.scatter",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},t}(Ln),IG=4,ULe=function(){function e(){}return e}(),YLe=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.getDefaultShape=function(){return new ULe},t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.buildPath=function(n,r){var a=r.points,i=r.size,o=this.symbolProxy,l=o.shape,s=n.getContext?n.getContext():n,u=s&&i[0]<IG,c=this.softClipShape,f;if(u){this._ctx=s;return}for(this._ctx=null,f=this._off;f<a.length;){var d=a[f++],h=a[f++];isNaN(d)||isNaN(h)||c&&!c.contain(d,h)||(l.x=d-i[0]/2,l.y=h-i[1]/2,l.width=i[0],l.height=i[1],o.buildPath(n,l,!0))}this.incremental&&(this._off=f,this.notClear=!0)},t.prototype.afterBrush=function(){var n=this.shape,r=n.points,a=n.size,i=this._ctx,o=this.softClipShape,l;if(i){for(l=this._off;l<r.length;){var s=r[l++],u=r[l++];isNaN(s)||isNaN(u)||o&&!o.contain(s,u)||i.fillRect(s-a[0]/2,u-a[1]/2,a[0],a[1])}this.incremental&&(this._off=l,this.notClear=!0)}},t.prototype.findDataIndex=function(n,r){for(var a=this.shape,i=a.points,o=a.size,l=Math.max(o[0],4),s=Math.max(o[1],4),u=i.length/2-1;u>=0;u--){var c=u*2,f=i[c]-l/2,d=i[c+1]-s/2;if(n>=f&&r>=d&&n<=f+l&&r<=d+s)return u}return-1},t.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),i=this.getBoundingRect();if(n=a[0],r=a[1],i.contain(n,r)){var o=this.hoverDataIdx=this.findDataIndex(n,r);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,a=r.points,i=r.size,o=i[0],l=i[1],s=1/0,u=1/0,c=-1/0,f=-1/0,d=0;d<a.length;){var h=a[d++],v=a[d++];s=Math.min(h,s),c=Math.max(h,c),u=Math.min(v,u),f=Math.max(v,f)}n=this._rect=new qt(s-o/2,u-l/2,c-s+o,f-u+l)}return n},t}(Zt),KLe=function(){function e(){this.group=new At}return e.prototype.updateData=function(t,n){this._clear();var r=this._create();r.setShape({points:t.getLayout("points")}),this._setCommon(r,t,n)},e.prototype.updateLayout=function(t){var n=t.getLayout("points");this.group.eachChild(function(r){if(r.startIndex!=null){var a=(r.endIndex-r.startIndex)*2,i=r.startIndex*4*2;n=new Float32Array(n.buffer,i,a)}r.setShape("points",n),r.reset()})},e.prototype.incrementalPrepareUpdate=function(t){this._clear()},e.prototype.incrementalUpdate=function(t,n,r){var a=this._newAdded[0],i=n.getLayout("points"),o=a&&a.shape.points;if(o&&o.length<2e4){var l=o.length,s=new Float32Array(l+i.length);s.set(o),s.set(i,l),a.endIndex=t.end,a.setShape({points:s})}else{this._newAdded=[];var u=this._create();u.startIndex=t.start,u.endIndex=t.end,u.incremental=!0,u.setShape({points:i}),this._setCommon(u,n,r)}},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new YLe({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},e.prototype._setCommon=function(t,n,r){var a=n.hostModel;r=r||{};var i=n.getVisual("symbolSize");t.setShape("size",i instanceof Array?i:[i,i]),t.softClipShape=r.clipShape||null,t.symbolProxy=lr(n.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var o=t.shape.size[0]<IG;t.useStyle(a.getModel("itemStyle").getItemStyle(o?["color","shadowBlur","shadowColor"]:["color"]));var l=n.getVisual("style"),s=l&&l.fill;s&&t.setColor(s);var u=Dt(t);u.seriesIndex=a.seriesIndex,t.on("mousemove",function(c){u.dataIndex=null;var f=t.hoverDataIdx;f>=0&&(u.dataIndex=f+(t.startIndex||0))})},e.prototype.remove=function(){this._clear()},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),XLe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=n.getData(),o=this._updateSymbolDraw(i,n);o.updateData(i,{clipShape:this._getClipShape(n)}),this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,a){var i=n.getData(),o=this._updateSymbolDraw(i,n);o.incrementalPrepareUpdate(i),this._finished=!1},t.prototype.incrementalRender=function(n,r,a){this._symbolDraw.incrementalUpdate(n,r.getData(),{clipShape:this._getClipShape(r)}),this._finished=n.end===r.getData().count()},t.prototype.updateTransform=function(n,r,a){var i=n.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var o=Fp("").reset(n,r,a);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},t.prototype.eachRendered=function(n){this._symbolDraw&&this._symbolDraw.eachRendered(n)},t.prototype._getClipShape=function(n){if(n.get("clip",!0)){var r=n.coordinateSystem;return r&&r.getArea&&r.getArea(.1)}},t.prototype._updateSymbolDraw=function(n,r){var a=this._symbolDraw,i=r.pipelineContext,o=i.large;return(!a||o!==this._isLargeDraw)&&(a&&a.remove(),a=this._symbolDraw=o?new KLe:new Vp,this._isLargeDraw=o,this.group.removeAll()),this.group.add(a.group),a},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},t.prototype.dispose=function(){},t.type="scatter",t}(zn),ZLe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.type="grid",t.dependencies=["xAxis","yAxis"],t.layoutMode="box",t.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},t}(Qt),Cx=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",rr).models[0]},t.type="cartesian2dAxis",t}(Qt);sr(Cx,Np);var DG={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},JLe=jt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},DG),R8=jt({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},DG),QLe=jt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},R8),ePe=_t({logBase:10},R8);const LG={category:JLe,value:R8,time:QLe,log:ePe};var tPe={value:1,category:1,time:1,log:1};function Hd(e,t,n,r){K(tPe,function(a,i){var o=jt(jt({},LG[i],!0),r,!0),l=function(s){Se(u,s);function u(){var c=s!==null&&s.apply(this,arguments)||this;return c.type=t+"Axis."+i,c}return u.prototype.mergeDefaultAndTheme=function(c,f){var d=H1(this),h=d?ph(c):{},v=f.getTheme();jt(c,v.get(i+"Axis")),jt(c,this.getDefaultOption()),c.type=YE(c),d&&Xs(c,h,d)},u.prototype.optionUpdated=function(){var c=this.option;c.type==="category"&&(this.__ordinalMeta=gx.createByAxisModel(this))},u.prototype.getCategories=function(c){var f=this.option;if(f.type==="category")return c?f.data:this.__ordinalMeta.categories},u.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},u.type=t+"Axis."+i,u.defaultOption=o,u}(n);e.registerComponentModel(l)}),e.registerSubTypeDefaulter(t+"Axis",YE)}function YE(e){return e.type||(e.data?"category":"value")}var nPe=function(){function e(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return e.prototype.getAxis=function(t){return this._axes[t]},e.prototype.getAxes=function(){return Ge(this._dimList,function(t){return this._axes[t]},this)},e.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),_n(this.getAxes(),function(n){return n.scale.type===t})},e.prototype.addAxis=function(t){var n=t.dim;this._axes[n]=t,this._dimList.push(n)},e}(),Tx=["x","y"];function KE(e){return e.type==="interval"||e.type==="time"}var rPe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="cartesian2d",n.dimensions=Tx,n}return t.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var n=this.getAxis("x").scale,r=this.getAxis("y").scale;if(!(!KE(n)||!KE(r))){var a=n.getExtent(),i=r.getExtent(),o=this.dataToPoint([a[0],i[0]]),l=this.dataToPoint([a[1],i[1]]),s=a[1]-a[0],u=i[1]-i[0];if(!(!s||!u)){var c=(l[0]-o[0])/s,f=(l[1]-o[1])/u,d=o[0]-a[0]*c,h=o[1]-i[0]*f,v=this._transform=[c,0,0,f,d,h];this._invTransform=lh([],v)}}},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},t.prototype.containPoint=function(n){var r=this.getAxis("x"),a=this.getAxis("y");return r.contain(r.toLocalCoord(n[0]))&&a.contain(a.toLocalCoord(n[1]))},t.prototype.containData=function(n){return this.getAxis("x").containData(n[0])&&this.getAxis("y").containData(n[1])},t.prototype.containZone=function(n,r){var a=this.dataToPoint(n),i=this.dataToPoint(r),o=this.getArea(),l=new qt(a[0],a[1],i[0]-a[0],i[1]-a[1]);return o.intersect(l)},t.prototype.dataToPoint=function(n,r,a){a=a||[];var i=n[0],o=n[1];if(this._transform&&i!=null&&isFinite(i)&&o!=null&&isFinite(o))return $r(a,n,this._transform);var l=this.getAxis("x"),s=this.getAxis("y");return a[0]=l.toGlobalCoord(l.dataToCoord(i,r)),a[1]=s.toGlobalCoord(s.dataToCoord(o,r)),a},t.prototype.clampData=function(n,r){var a=this.getAxis("x").scale,i=this.getAxis("y").scale,o=a.getExtent(),l=i.getExtent(),s=a.parse(n[0]),u=i.parse(n[1]);return r=r||[],r[0]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),r[1]=Math.min(Math.max(Math.min(l[0],l[1]),u),Math.max(l[0],l[1])),r},t.prototype.pointToData=function(n,r){var a=[];if(this._invTransform)return $r(a,n,this._invTransform);var i=this.getAxis("x"),o=this.getAxis("y");return a[0]=i.coordToData(i.toLocalCoord(n[0]),r),a[1]=o.coordToData(o.toLocalCoord(n[1]),r),a},t.prototype.getOtherAxis=function(n){return this.getAxis(n.dim==="x"?"y":"x")},t.prototype.getArea=function(n){n=n||0;var r=this.getAxis("x").getGlobalExtent(),a=this.getAxis("y").getGlobalExtent(),i=Math.min(r[0],r[1])-n,o=Math.min(a[0],a[1])-n,l=Math.max(r[0],r[1])-i+n,s=Math.max(a[0],a[1])-o+n;return new qt(i,o,l,s)},t}(nPe),aPe=function(e){Se(t,e);function t(n,r,a,i,o){var l=e.call(this,n,r,a)||this;return l.index=0,l.type=i||"value",l.position=o||"bottom",l}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.getGlobalExtent=function(n){var r=this.getExtent();return r[0]=this.toGlobalCoord(r[0]),r[1]=this.toGlobalCoord(r[1]),n&&r[0]>r[1]&&r.reverse(),r},t.prototype.pointToData=function(n,r){return this.coordToData(this.toLocalCoord(n[this.dim==="x"?0:1]),r)},t.prototype.setCategorySortInfo=function(n){if(this.type!=="category")return!1;this.model.option.categorySortInfo=n,this.scale.setSortInfo(n)},t}(io);function kx(e,t,n){n=n||{};var r=e.coordinateSystem,a=t.axis,i={},o=a.getAxesOnZeroOf()[0],l=a.position,s=o?"onZero":l,u=a.dim,c=r.getRect(),f=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},h=t.get("offset")||0,v=u==="x"?[f[2]-h,f[3]+h]:[f[0]-h,f[1]+h];if(o){var p=o.toGlobalCoord(o.dataToCoord(0));v[d.onZero]=Math.max(Math.min(p,v[1]),v[0])}i.position=[u==="y"?v[d[s]]:f[0],u==="x"?v[d[s]]:f[3]],i.rotation=Math.PI/2*(u==="x"?0:1);var g={top:-1,bottom:1,left:-1,right:1};i.labelDirection=i.tickDirection=i.nameDirection=g[l],i.labelOffset=o?v[d[l]]-v[d.onZero]:0,t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),Mr(n.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var m=t.get(["axisLabel","rotate"]);return i.labelRotate=s==="top"?-m:m,i.z2=1,i}function XE(e){return e.get("coordinateSystem")==="cartesian2d"}function ZE(e){var t={xAxisModel:null,yAxisModel:null};return K(t,function(n,r){var a=r.replace(/Model$/,""),i=e.getReferringComponents(a,rr).models[0];t[r]=i}),t}var W_=Math.log;function PG(e,t,n){var r=Al.prototype,a=r.getTicks.call(n),i=r.getTicks.call(n,!0),o=a.length-1,l=r.getInterval.call(n),s=Nq(e,t),u=s.extent,c=s.fixMin,f=s.fixMax;if(e.type==="log"){var d=W_(e.base);u=[W_(u[0])/d,W_(u[1])/d]}e.setExtent(u[0],u[1]),e.calcNiceExtent({splitNumber:o,fixMin:c,fixMax:f});var h=r.getExtent.call(e);c&&(u[0]=h[0]),f&&(u[1]=h[1]);var v=r.getInterval.call(e),p=u[0],g=u[1];if(c&&f)v=(g-p)/o;else if(c)for(g=u[0]+v*o;g<u[1]&&isFinite(g)&&isFinite(u[1]);)v=I_(v),g=u[0]+v*o;else if(f)for(p=u[1]-v*o;p>u[0]&&isFinite(p)&&isFinite(u[0]);)v=I_(v),p=u[1]-v*o;else{var m=e.getTicks().length-1;m>o&&(v=I_(v));var b=v*o;g=Math.ceil(u[1]/v)*v,p=Zn(g-b),p<0&&u[0]>=0?(p=0,g=Zn(b)):g>0&&u[1]<=0&&(g=0,p=-Zn(b))}var _=(a[0].value-i[0].value)/l,w=(a[o].value-i[o].value)/l;r.setExtent.call(e,p+v*_,g+v*w),r.setInterval.call(e,v),(_||w)&&r.setNiceExtent.call(e,p+v,g-v)}var iPe=function(){function e(t,n,r){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=Tx,this._initCartesian(t,n,r),this.model=t}return e.prototype.getRect=function(){return this._rect},e.prototype.update=function(t,n){var r=this._axesMap;this._updateScale(t,this.model);function a(o){var l,s=tn(o),u=s.length;if(u){for(var c=[],f=u-1;f>=0;f--){var d=+s[f],h=o[d],v=h.model,p=h.scale;mx(p)&&v.get("alignTicks")&&v.get("interval")==null?c.push(h):(Bd(p,v),mx(p)&&(l=h))}c.length&&(l||(l=c.pop(),Bd(l.scale,l.model)),K(c,function(g){PG(g.scale,g.model,l.scale)}))}}a(r.x),a(r.y);var i={};K(r.x,function(o){JE(r,"y",o,i)}),K(r.y,function(o){JE(r,"x",o,i)}),this.resize(this.model,n)},e.prototype.resize=function(t,n,r){var a=t.getBoxLayoutParams(),i=!r&&t.get("containLabel"),o=fr(a,{width:n.getWidth(),height:n.getHeight()});this._rect=o;var l=this._axesList;s(),i&&(K(l,function(u){if(!u.model.get(["axisLabel","inside"])){var c=VIe(u);if(c){var f=u.isHorizontal()?"height":"width",d=u.model.get(["axisLabel","margin"]);o[f]-=c[f]+d,u.position==="top"?o.y+=c.height+d:u.position==="left"&&(o.x+=c.width+d)}}}),s()),K(this._coordsList,function(u){u.calcAffineTransform()});function s(){K(l,function(u){var c=u.isHorizontal(),f=c?[0,o.width]:[0,o.height],d=u.inverse?1:0;u.setExtent(f[d],f[1-d]),oPe(u,c?o.x:o.y)})}},e.prototype.getAxis=function(t,n){var r=this._axesMap[t];if(r!=null)return r[n||0]},e.prototype.getAxes=function(){return this._axesList.slice()},e.prototype.getCartesian=function(t,n){if(t!=null&&n!=null){var r="x"+t+"y"+n;return this._coordsMap[r]}wt(t)&&(n=t.yAxisIndex,t=t.xAxisIndex);for(var a=0,i=this._coordsList;a<i.length;a++)if(i[a].getAxis("x").index===t||i[a].getAxis("y").index===n)return i[a]},e.prototype.getCartesians=function(){return this._coordsList.slice()},e.prototype.convertToPixel=function(t,n,r){var a=this._findConvertTarget(n);return a.cartesian?a.cartesian.dataToPoint(r):a.axis?a.axis.toGlobalCoord(a.axis.dataToCoord(r)):null},e.prototype.convertFromPixel=function(t,n,r){var a=this._findConvertTarget(n);return a.cartesian?a.cartesian.pointToData(r):a.axis?a.axis.coordToData(a.axis.toLocalCoord(r)):null},e.prototype._findConvertTarget=function(t){var n=t.seriesModel,r=t.xAxisModel||n&&n.getReferringComponents("xAxis",rr).models[0],a=t.yAxisModel||n&&n.getReferringComponents("yAxis",rr).models[0],i=t.gridModel,o=this._coordsList,l,s;if(n)l=n.coordinateSystem,Yt(o,l)<0&&(l=null);else if(r&&a)l=this.getCartesian(r.componentIndex,a.componentIndex);else if(r)s=this.getAxis("x",r.componentIndex);else if(a)s=this.getAxis("y",a.componentIndex);else if(i){var u=i.coordinateSystem;u===this&&(l=this._coordsList[0])}return{cartesian:l,axis:s}},e.prototype.containPoint=function(t){var n=this._coordsList[0];if(n)return n.containPoint(t)},e.prototype._initCartesian=function(t,n,r){var a=this,i=this,o={left:!1,right:!1,top:!1,bottom:!1},l={x:{},y:{}},s={x:0,y:0};if(n.eachComponent("xAxis",u("x"),this),n.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}this._axesMap=l,K(l.x,function(c,f){K(l.y,function(d,h){var v="x"+f+"y"+h,p=new rPe(v);p.master=a,p.model=t,a._coordsMap[v]=p,a._coordsList.push(p),p.addAxis(c),p.addAxis(d)})});function u(c){return function(f,d){if(U_(f,t)){var h=f.get("position");c==="x"?h!=="top"&&h!=="bottom"&&(h=o.bottom?"top":"bottom"):h!=="left"&&h!=="right"&&(h=o.left?"right":"left"),o[h]=!0;var v=new aPe(c,_3(f),[0,0],f.get("type"),h),p=v.type==="category";v.onBand=p&&f.get("boundaryGap"),v.inverse=f.get("inverse"),f.axis=v,v.model=f,v.grid=i,v.index=d,i._axesList.push(v),l[c][d]=v,s[c]++}}}},e.prototype._updateScale=function(t,n){K(this._axesList,function(a){if(a.scale.setExtent(1/0,-1/0),a.type==="category"){var i=a.model.get("categorySortInfo");a.scale.setSortInfo(i)}}),t.eachSeries(function(a){if(XE(a)){var i=ZE(a),o=i.xAxisModel,l=i.yAxisModel;if(!U_(o,n)||!U_(l,n))return;var s=this.getCartesian(o.componentIndex,l.componentIndex),u=a.getData(),c=s.getAxis("x"),f=s.getAxis("y");r(u,c),r(u,f)}},this);function r(a,i){K(Am(a,i.dim),function(o){i.scale.unionExtentFromData(a,o)})}},e.prototype.getTooltipAxes=function(t){var n=[],r=[];return K(this.getCartesians(),function(a){var i=t!=null&&t!=="auto"?a.getAxis(t):a.getBaseAxis(),o=a.getOtherAxis(i);Yt(n,i)<0&&n.push(i),Yt(r,o)<0&&r.push(o)}),{baseAxes:n,otherAxes:r}},e.create=function(t,n){var r=[];return t.eachComponent("grid",function(a,i){var o=new e(a,t,n);o.name="grid_"+i,o.resize(a,n,!0),a.coordinateSystem=o,r.push(o)}),t.eachSeries(function(a){if(XE(a)){var i=ZE(a),o=i.xAxisModel,l=i.yAxisModel,s=o.getCoordSysModel(),u=s.coordinateSystem;a.coordinateSystem=u.getCartesian(o.componentIndex,l.componentIndex)}}),r},e.dimensions=Tx,e}();function U_(e,t){return e.getCoordSysModel()===t}function JE(e,t,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var a=e[t],i,o=n.model,l=o.get(["axisLine","onZero"]),s=o.get(["axisLine","onZeroAxisIndex"]);if(!l)return;if(s!=null)QE(a[s])&&(i=a[s]);else for(var u in a)if(a.hasOwnProperty(u)&&QE(a[u])&&!r[c(a[u])]){i=a[u];break}i&&(r[c(i)]=!0);function c(f){return f.dim+"_"+f.index}}function QE(e){return e&&e.type!=="category"&&e.type!=="time"&&$Ie(e)}function oPe(e,t){var n=e.getExtent(),r=n[0]+n[1];e.toGlobalCoord=e.dim==="x"?function(a){return a+t}:function(a){return r-a+t},e.toLocalCoord=e.dim==="x"?function(a){return a-t}:function(a){return r-a+t}}var ks=Math.PI,ca=function(){function e(t,n){this.group=new At,this.opt=n,this.axisModel=t,_t(n,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var r=new At({x:n.position[0],y:n.position[1],rotation:n.rotation});r.updateTransform(),this._transformGroup=r}return e.prototype.hasBuilder=function(t){return!!eI[t]},e.prototype.add=function(t){eI[t](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(t,n,r){var a=KF(n-t),i,o;return O1(a)?(o=r>0?"top":"bottom",i="center"):O1(a-ks)?(o=r>0?"bottom":"top",i="center"):(o="middle",a>0&&a<ks?i=r>0?"right":"left":i=r>0?"left":"right"),{rotation:a,textAlign:i,textVerticalAlign:o}},e.makeAxisEventDataBase=function(t){var n={componentType:t.mainType,componentIndex:t.componentIndex};return n[t.mainType+"Index"]=t.componentIndex,n},e.isLabelSilent=function(t){var n=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||n&&n.show)},e}(),eI={axisLine:function(e,t,n,r){var a=t.get(["axisLine","show"]);if(a==="auto"&&e.handleAutoShown&&(a=e.handleAutoShown("axisLine")),!!a){var i=t.axis.getExtent(),o=r.transform,l=[i[0],0],s=[i[1],0],u=l[0]>s[0];o&&($r(l,l,o),$r(s,s,o));var c=$e({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),f=new mr({shape:{x1:l[0],y1:l[1],x2:s[0],y2:s[1]},style:c,strokeContainThreshold:e.strokeContainThreshold||5,silent:!0,z2:1});Nd(f.shape,f.style.lineWidth),f.anid="line",n.add(f);var d=t.get(["axisLine","symbol"]);if(d!=null){var h=t.get(["axisLine","symbolSize"]);it(d)&&(d=[d,d]),(it(h)||ln(h))&&(h=[h,h]);var v=ef(t.get(["axisLine","symbolOffset"])||0,h),p=h[0],g=h[1];K([{rotate:e.rotation+Math.PI/2,offset:v[0],r:0},{rotate:e.rotation-Math.PI/2,offset:v[1],r:Math.sqrt((l[0]-s[0])*(l[0]-s[0])+(l[1]-s[1])*(l[1]-s[1]))}],function(m,b){if(d[b]!=="none"&&d[b]!=null){var _=lr(d[b],-p/2,-g/2,p,g,c.stroke,!0),w=m.r+m.offset,x=u?s:l;_.attr({rotation:m.rotate,x:x[0]+w*Math.cos(e.rotation),y:x[1]-w*Math.sin(e.rotation),silent:!0,z2:11}),n.add(_)}})}}},axisTickLabel:function(e,t,n,r){var a=uPe(n,r,t,e),i=fPe(n,r,t,e);if(sPe(t,i,a),cPe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=Zq(Ge(i,function(l){return{label:l,priority:l.z2,defaultAttr:{ignore:l.ignore}}}));eG(o)}},axisName:function(e,t,n,r){var a=Mr(e.axisName,t.get("name"));if(a){var i=t.get("nameLocation"),o=e.nameDirection,l=t.getModel("nameTextStyle"),s=t.get("nameGap")||0,u=t.axis.getExtent(),c=u[0]>u[1]?-1:1,f=[i==="start"?u[0]-c*s:i==="end"?u[1]+c*s:(u[0]+u[1])/2,nI(i)?e.labelOffset+o*s:0],d,h=t.get("nameRotate");h!=null&&(h=h*ks/180);var v;nI(i)?d=ca.innerTextLayout(e.rotation,h??e.rotation,o):(d=lPe(e.rotation,i,h||0,u),v=e.axisNameAvailableWidth,v!=null&&(v=Math.abs(v/Math.sin(d.rotation)),!isFinite(v)&&(v=null)));var p=l.getFont(),g=t.get("nameTruncate",!0)||{},m=g.ellipsis,b=Mr(e.nameTruncateMaxWidth,g.maxWidth,v),_=new on({x:f[0],y:f[1],rotation:d.rotation,silent:ca.isLabelSilent(t),style:In(l,{text:a,font:p,overflow:"truncate",width:b,ellipsis:m,fill:l.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:l.get("align")||d.textAlign,verticalAlign:l.get("verticalAlign")||d.textVerticalAlign}),z2:1});if(fh({el:_,componentModel:t,itemName:a}),_.__fullText=a,_.anid="name",t.get("triggerEvent")){var w=ca.makeAxisEventDataBase(t);w.targetType="axisName",w.name=a,Dt(_).eventData=w}r.add(_),_.updateTransform(),n.add(_),_.decomposeTransform()}}};function lPe(e,t,n,r){var a=KF(n-e),i,o,l=r[0]>r[1],s=t==="start"&&!l||t!=="start"&&l;return O1(a-ks/2)?(o=s?"bottom":"top",i="center"):O1(a-ks*1.5)?(o=s?"top":"bottom",i="center"):(o="middle",a<ks*1.5&&a>ks/2?i=s?"left":"right":i=s?"right":"left"),{rotation:a,textAlign:i,textVerticalAlign:o}}function sPe(e,t,n){if(!$q(e.axis)){var r=e.get(["axisLabel","showMinLabel"]),a=e.get(["axisLabel","showMaxLabel"]);t=t||[],n=n||[];var i=t[0],o=t[1],l=t[t.length-1],s=t[t.length-2],u=n[0],c=n[1],f=n[n.length-1],d=n[n.length-2];r===!1?(Ja(i),Ja(u)):tI(i,o)&&(r?(Ja(o),Ja(c)):(Ja(i),Ja(u))),a===!1?(Ja(l),Ja(f)):tI(s,l)&&(a?(Ja(s),Ja(d)):(Ja(l),Ja(f)))}}function Ja(e){e&&(e.ignore=!0)}function tI(e,t){var n=e&&e.getBoundingRect().clone(),r=t&&t.getBoundingRect().clone();if(!(!n||!r)){var a=Gy([]);return Jc(a,a,-e.rotation),n.applyTransform(pl([],a,e.getLocalTransform())),r.applyTransform(pl([],a,t.getLocalTransform())),n.intersect(r)}}function nI(e){return e==="middle"||e==="center"}function RG(e,t,n,r,a){for(var i=[],o=[],l=[],s=0;s<e.length;s++){var u=e[s].coord;o[0]=u,o[1]=0,l[0]=u,l[1]=n,t&&($r(o,o,t),$r(l,l,t));var c=new mr({shape:{x1:o[0],y1:o[1],x2:l[0],y2:l[1]},style:r,z2:2,autoBatch:!0,silent:!0});Nd(c.shape,c.style.lineWidth),c.anid=a+"_"+e[s].tickValue,i.push(c)}return i}function uPe(e,t,n,r){var a=n.axis,i=n.getModel("axisTick"),o=i.get("show");if(o==="auto"&&r.handleAutoShown&&(o=r.handleAutoShown("axisTick")),!(!o||a.scale.isBlank())){for(var l=i.getModel("lineStyle"),s=r.tickDirection*i.get("length"),u=a.getTicksCoords(),c=RG(u,t.transform,s,_t(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),f=0;f<c.length;f++)e.add(c[f]);return c}}function cPe(e,t,n,r){var a=n.axis,i=n.getModel("minorTick");if(!(!i.get("show")||a.scale.isBlank())){var o=a.getMinorTicksCoords();if(o.length)for(var l=i.getModel("lineStyle"),s=r*i.get("length"),u=_t(l.getLineStyle(),_t(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<o.length;c++)for(var f=RG(o[c],t.transform,s,u,"minorticks_"+c),d=0;d<f.length;d++)e.add(f[d])}}function fPe(e,t,n,r){var a=n.axis,i=Mr(r.axisLabelShow,n.get(["axisLabel","show"]));if(!(!i||a.scale.isBlank())){var o=n.getModel("axisLabel"),l=o.get("margin"),s=a.getViewLabels(),u=(Mr(r.labelRotate,o.get("rotate"))||0)*ks/180,c=ca.innerTextLayout(r.rotation,u,r.labelDirection),f=n.getCategories&&n.getCategories(!0),d=[],h=ca.isLabelSilent(n),v=n.get("triggerEvent");return K(s,function(p,g){var m=a.scale.type==="ordinal"?a.scale.getRawOrdinalNumber(p.tickValue):p.tickValue,b=p.formattedLabel,_=p.rawLabel,w=o;if(f&&f[m]){var x=f[m];wt(x)&&x.textStyle&&(w=new yn(x.textStyle,o,n.ecModel))}var S=w.getTextColor()||n.get(["axisLine","lineStyle","color"]),C=a.dataToCoord(m),T=w.getShallow("align",!0)||c.textAlign,z=Ot(w.getShallow("alignMinLabel",!0),T),A=Ot(w.getShallow("alignMaxLabel",!0),T),E=w.getShallow("verticalAlign",!0)||w.getShallow("baseline",!0)||c.textVerticalAlign,D=Ot(w.getShallow("verticalAlignMinLabel",!0),E),$=Ot(w.getShallow("verticalAlignMaxLabel",!0),E),O=new on({x:C,y:r.labelOffset+r.labelDirection*l,rotation:c.rotation,silent:h,z2:10+(p.level||0),style:In(w,{text:b,align:g===0?z:g===s.length-1?A:T,verticalAlign:g===0?D:g===s.length-1?$:E,fill:yt(S)?S(a.type==="category"?_:a.type==="value"?m+"":m,g):S})});if(O.anid="label_"+m,v){var R=ca.makeAxisEventDataBase(n);R.targetType="axisLabel",R.value=_,R.tickIndex=g,a.type==="category"&&(R.dataIndex=m),Dt(O).eventData=R}t.add(O),O.updateTransform(),d.push(O),e.add(O),O.decomposeTransform()}),d}}function dPe(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return hPe(n,e,t),n.seriesInvolved&&pPe(n,e),n}function hPe(e,t,n){var r=t.getComponent("tooltip"),a=t.getComponent("axisPointer"),i=a.get("link",!0)||[],o=[];K(n.getCoordinateSystems(),function(l){if(!l.axisPointerEnabled)return;var s=Z1(l.model),u=e.coordSysAxesInfo[s]={};e.coordSysMap[s]=l;var c=l.model,f=c.getModel("tooltip",r);if(K(l.getAxes(),$t(p,!1,null)),l.getTooltipAxes&&r&&f.get("show")){var d=f.get("trigger")==="axis",h=f.get(["axisPointer","type"])==="cross",v=l.getTooltipAxes(f.get(["axisPointer","axis"]));(d||h)&&K(v.baseAxes,$t(p,h?"cross":!0,d)),h&&K(v.otherAxes,$t(p,"cross",!1))}function p(g,m,b){var _=b.model.getModel("axisPointer",a),w=_.get("show");if(!(!w||w==="auto"&&!g&&!zx(_))){m==null&&(m=_.get("triggerTooltip")),_=g?vPe(b,f,a,t,g,m):_;var x=_.get("snap"),S=_.get("triggerEmphasis"),C=Z1(b.model),T=m||x||b.type==="category",z=e.axesInfo[C]={key:C,axis:b,coordSys:l,axisPointerModel:_,triggerTooltip:m,triggerEmphasis:S,involveSeries:T,snap:x,useHandle:zx(_),seriesModels:[],linkGroup:null};u[C]=z,e.seriesInvolved=e.seriesInvolved||T;var A=gPe(i,b);if(A!=null){var E=o[A]||(o[A]={axesInfo:{}});E.axesInfo[C]=z,E.mapper=i[A].mapper,z.linkGroup=E}}}})}function vPe(e,t,n,r,a,i){var o=t.getModel("axisPointer"),l=["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],s={};K(l,function(d){s[d]=kt(o.get(d))}),s.snap=e.type!=="category"&&!!i,o.get("type")==="cross"&&(s.type="line");var u=s.label||(s.label={});if(u.show==null&&(u.show=!1),a==="cross"){var c=o.get(["label","show"]);if(u.show=c??!0,!i){var f=s.lineStyle=o.get("crossStyle");f&&_t(u,f.textStyle)}}return e.model.getModel("axisPointer",new yn(s,n,r))}function pPe(e,t){t.eachSeries(function(n){var r=n.coordinateSystem,a=n.get(["tooltip","trigger"],!0),i=n.get(["tooltip","show"],!0);!r||a==="none"||a===!1||a==="item"||i===!1||n.get(["axisPointer","show"],!0)===!1||K(e.coordSysAxesInfo[Z1(r.model)],function(o){var l=o.axis;r.getAxis(l.dim)===l&&(o.seriesModels.push(n),o.seriesDataCount==null&&(o.seriesDataCount=0),o.seriesDataCount+=n.getData().count())})})}function gPe(e,t){for(var n=t.model,r=t.dim,a=0;a<e.length;a++){var i=e[a]||{};if(Y_(i[r+"AxisId"],n.id)||Y_(i[r+"AxisIndex"],n.componentIndex)||Y_(i[r+"AxisName"],n.name))return a}}function Y_(e,t){return e==="all"||He(e)&&Yt(e,t)>=0||e===t}function mPe(e){var t=O8(e);if(t){var n=t.axisPointerModel,r=t.axis.scale,a=n.option,i=n.get("status"),o=n.get("value");o!=null&&(o=r.parse(o));var l=zx(n);i==null&&(a.status=l?"show":"hide");var s=r.getExtent().slice();s[0]>s[1]&&s.reverse(),(o==null||o>s[1])&&(o=s[1]),o<s[0]&&(o=s[0]),a.value=o,l&&(a.status=t.axis.scale.isBlank()?"hide":"show")}}function O8(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Z1(e)]}function yPe(e){var t=O8(e);return t&&t.axisPointerModel}function zx(e){return!!e.get(["handle","show"])}function Z1(e){return e.type+"||"+e.id}var rI={},rf=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a,i){this.axisPointerClass&&mPe(n),e.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(n,a,!0)},t.prototype.updateAxisPointer=function(n,r,a,i){this._doUpdateAxisPointerClass(n,a,!1)},t.prototype.remove=function(n,r){var a=this._axisPointer;a&&a.remove(r)},t.prototype.dispose=function(n,r){this._disposeAxisPointer(r),e.prototype.dispose.apply(this,arguments)},t.prototype._doUpdateAxisPointerClass=function(n,r,a){var i=t.getAxisPointerClass(this.axisPointerClass);if(i){var o=yPe(n);o?(this._axisPointer||(this._axisPointer=new i)).render(n,o,r,a):this._disposeAxisPointer(r)}},t.prototype._disposeAxisPointer=function(n){this._axisPointer&&this._axisPointer.dispose(n),this._axisPointer=null},t.registerAxisPointerClass=function(n,r){rI[n]=r},t.getAxisPointerClass=function(n){return n&&rI[n]},t.type="axis",t}(Hn),Mx=an();function OG(e,t,n,r){var a=n.axis;if(!a.scale.isBlank()){var i=n.getModel("splitArea"),o=i.getModel("areaStyle"),l=o.get("color"),s=r.coordinateSystem.getRect(),u=a.getTicksCoords({tickModel:i,clamp:!0});if(u.length){var c=l.length,f=Mx(e).splitAreaColors,d=pt(),h=0;if(f)for(var v=0;v<u.length;v++){var p=f.get(u[v].tickValue);if(p!=null){h=(p+(c-1)*v)%c;break}}var g=a.toGlobalCoord(u[0].coord),m=o.getAreaStyle();l=He(l)?l:[l];for(var v=1;v<u.length;v++){var b=a.toGlobalCoord(u[v].coord),_=void 0,w=void 0,x=void 0,S=void 0;a.isHorizontal()?(_=g,w=s.y,x=b-_,S=s.height,g=_+x):(_=s.x,w=g,x=s.width,S=b-w,g=w+S);var C=u[v-1].tickValue;C!=null&&d.set(C,h),t.add(new rn({anid:C!=null?"area_"+C:null,shape:{x:_,y:w,width:x,height:S},style:_t({fill:l[h]},m),autoBatch:!0,silent:!0})),h=(h+1)%c}Mx(e).splitAreaColors=d}}}function NG(e){Mx(e).splitAreaColors=null}var bPe=["axisLine","axisTickLabel","axisName"],_Pe=["splitArea","splitLine","minorSplitLine"],$G=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="CartesianAxisPointer",n}return t.prototype.render=function(n,r,a,i){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new At,this.group.add(this._axisGroup),!!n.get("show")){var l=n.getCoordSysModel(),s=kx(l,n),u=new ca(n,$e({handleAutoShown:function(f){for(var d=l.coordinateSystem.getCartesians(),h=0;h<d.length;h++)if(mx(d[h].getOtherAxis(n.axis).scale))return!0;return!1}},s));K(bPe,u.add,u),this._axisGroup.add(u.getGroup()),K(_Pe,function(f){n.get([f,"show"])&&wPe[f](this,this._axisGroup,n,l)},this);var c=i&&i.type==="changeAxisOrder"&&i.isInitSort;c||Dp(o,this._axisGroup,n),e.prototype.render.call(this,n,r,a,i)}},t.prototype.remove=function(){NG(this)},t.type="cartesianAxis",t}(rf),wPe={splitLine:function(e,t,n,r){var a=n.axis;if(!a.scale.isBlank()){var i=n.getModel("splitLine"),o=i.getModel("lineStyle"),l=o.get("color");l=He(l)?l:[l];for(var s=r.coordinateSystem.getRect(),u=a.isHorizontal(),c=0,f=a.getTicksCoords({tickModel:i}),d=[],h=[],v=o.getLineStyle(),p=0;p<f.length;p++){var g=a.toGlobalCoord(f[p].coord);u?(d[0]=g,d[1]=s.y,h[0]=g,h[1]=s.y+s.height):(d[0]=s.x,d[1]=g,h[0]=s.x+s.width,h[1]=g);var m=c++%l.length,b=f[p].tickValue,_=new mr({anid:b!=null?"line_"+f[p].tickValue:null,autoBatch:!0,shape:{x1:d[0],y1:d[1],x2:h[0],y2:h[1]},style:_t({stroke:l[m]},v),silent:!0});Nd(_.shape,v.lineWidth),t.add(_)}}},minorSplitLine:function(e,t,n,r){var a=n.axis,i=n.getModel("minorSplitLine"),o=i.getModel("lineStyle"),l=r.coordinateSystem.getRect(),s=a.isHorizontal(),u=a.getMinorTicksCoords();if(u.length)for(var c=[],f=[],d=o.getLineStyle(),h=0;h<u.length;h++)for(var v=0;v<u[h].length;v++){var p=a.toGlobalCoord(u[h][v].coord);s?(c[0]=p,c[1]=l.y,f[0]=p,f[1]=l.y+l.height):(c[0]=l.x,c[1]=p,f[0]=l.x+l.width,f[1]=p);var g=new mr({anid:"minor_line_"+u[h][v].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:f[0],y2:f[1]},style:d,silent:!0});Nd(g.shape,d.lineWidth),t.add(g)}},splitArea:function(e,t,n,r){OG(e,t,n,r)}},VG=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="xAxis",t}($G),xPe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=VG.type,n}return t.type="yAxis",t}($G),SPe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="grid",n}return t.prototype.render=function(n,r){this.group.removeAll(),n.get("show")&&this.group.add(new rn({shape:n.coordinateSystem.getRect(),style:_t({fill:n.get("backgroundColor")},n.getItemStyle()),silent:!0,z2:-1}))},t.type="grid",t}(Hn),aI={offset:0};function BG(e){e.registerComponentView(SPe),e.registerComponentModel(ZLe),e.registerCoordinateSystem("cartesian2d",iPe),Hd(e,"x",Cx,aI),Hd(e,"y",Cx,aI),e.registerComponentView(VG),e.registerComponentView(xPe),e.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function CPe(e){Kt(BG),e.registerSeriesModel(WLe),e.registerChartView(XLe),e.registerLayout(Fp("scatter"))}function TPe(e){e.eachSeriesByType("radar",function(t){var n=t.getData(),r=[],a=t.coordinateSystem;if(a){var i=a.getIndicatorAxes();K(i,function(o,l){n.each(n.mapDimension(i[l].dim),function(s,u){r[u]=r[u]||[];var c=a.dataToPoint(s,l);r[u][l]=iI(c)?c:oI(a)})}),n.each(function(o){var l=s7e(r[o],function(s){return iI(s)})||oI(a);r[o].push(l.slice()),n.setItemLayout(o,r[o])})}})}function iI(e){return!isNaN(e[0])&&!isNaN(e[1])}function oI(e){return[e.cx,e.cy]}function kPe(e){var t=e.polar;if(t){He(t)||(t=[t]);var n=[];K(t,function(r,a){r.indicator?(r.type&&!r.shape&&(r.shape=r.type),e.radar=e.radar||[],He(e.radar)||(e.radar=[e.radar]),e.radar.push(r)):n.push(r)}),e.polar=n}K(e.series,function(r){r&&r.type==="radar"&&r.polarIndex&&(r.radarIndex=r.polarIndex)})}var zPe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=n.coordinateSystem,o=this.group,l=n.getData(),s=this._data;function u(d,h){var v=d.getItemVisual(h,"symbol")||"circle";if(v!=="none"){var p=bh(d.getItemVisual(h,"symbolSize")),g=lr(v,-1,-1,2,2),m=d.getItemVisual(h,"symbolRotate")||0;return g.attr({style:{strokeNoScale:!0},z2:100,scaleX:p[0]/2,scaleY:p[1]/2,rotation:m*Math.PI/180||0}),g}}function c(d,h,v,p,g,m){v.removeAll();for(var b=0;b<h.length-1;b++){var _=u(p,g);_&&(_.__dimIdx=b,d[b]?(_.setPosition(d[b]),Qc[m?"initProps":"updateProps"](_,{x:h[b][0],y:h[b][1]},n,g)):_.setPosition(h[b]),v.add(_))}}function f(d){return Ge(d,function(h){return[i.cx,i.cy]})}l.diff(s).add(function(d){var h=l.getItemLayout(d);if(h){var v=new ga,p=new ya,g={shape:{points:h}};v.shape.points=f(h),p.shape.points=f(h),Nn(v,g,n,d),Nn(p,g,n,d);var m=new At,b=new At;m.add(p),m.add(v),m.add(b),c(p.shape.points,h,b,l,d,!0),l.setItemGraphicEl(d,m)}}).update(function(d,h){var v=s.getItemGraphicEl(h),p=v.childAt(0),g=v.childAt(1),m=v.childAt(2),b={shape:{points:l.getItemLayout(d)}};b.shape.points&&(c(p.shape.points,b.shape.points,m,l,d,!1),Qi(g),Qi(p),un(p,b,n),un(g,b,n),l.setItemGraphicEl(d,v))}).remove(function(d){o.remove(s.getItemGraphicEl(d))}).execute(),l.eachItemGraphicEl(function(d,h){var v=l.getItemModel(h),p=d.childAt(0),g=d.childAt(1),m=d.childAt(2),b=l.getItemVisual(h,"style"),_=b.fill;o.add(d),p.useStyle(_t(v.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:_})),Br(p,v,"lineStyle"),Br(g,v,"areaStyle");var w=v.getModel("areaStyle"),x=w.isEmpty()&&w.parentModel.isEmpty();g.ignore=x,K(["emphasis","select","blur"],function(T){var z=v.getModel([T,"areaStyle"]),A=z.isEmpty()&&z.parentModel.isEmpty();g.ensureState(T).ignore=A&&x}),g.useStyle(_t(w.getAreaStyle(),{fill:_,opacity:.7,decal:b.decal}));var S=v.getModel("emphasis"),C=S.getModel("itemStyle").getItemStyle();m.eachChild(function(T){if(T instanceof Ir){var z=T.style;T.useStyle($e({image:z.image,x:z.x,y:z.y,width:z.width,height:z.height},b))}else T.useStyle(b),T.setColor(_),T.style.strokeNoScale=!0;var A=T.ensureState("emphasis");A.style=kt(C);var E=l.getStore().get(l.getDimensionIndex(T.__dimIdx),h);(E==null||isNaN(E))&&(E=""),Fr(T,Sr(v),{labelFetcher:l.hostModel,labelDataIndex:h,labelDimIndex:T.__dimIdx,defaultText:E,inheritColor:_,defaultOpacity:b.opacity})}),Kn(d,S.get("focus"),S.get("blurScope"),S.get("disabled"))}),this._data=l},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.type="radar",t}(zn),MPe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jp(lt(this.getData,this),lt(this.getRawData,this))},t.prototype.getInitialData=function(n,r){return wh(this,{generateCoord:"indicator_",generateCoordCount:1/0})},t.prototype.formatTooltip=function(n,r,a){var i=this.getData(),o=this.coordinateSystem,l=o.getIndicatorAxes(),s=this.getData().getName(n),u=s===""?this.name:s,c=$j(this,n);return Cr("section",{header:u,sortBlocks:!0,blocks:Ge(l,function(f){var d=i.get(i.mapDimension(f.dim),n);return Cr("nameValue",{markerType:"subItem",markerColor:c,name:f.name,value:d,sortParam:d})})})},t.prototype.getTooltipPosition=function(n){if(n!=null){for(var r=this.getData(),a=this.coordinateSystem,i=r.getValues(Ge(a.dimensions,function(u){return r.mapDimension(u)}),n),o=0,l=i.length;o<l;o++)if(!isNaN(i[o])){var s=a.getIndicatorAxes();return a.coordToPoint(s[o].dataToCoord(i[o]),o)}}},t.type="series.radar",t.dependencies=["radar"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},t}(Ln),Zh=LG.value;function c0(e,t){return _t({show:t},e)}var APe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){var n=this.get("boundaryGap"),r=this.get("splitNumber"),a=this.get("scale"),i=this.get("axisLine"),o=this.get("axisTick"),l=this.get("axisLabel"),s=this.get("axisName"),u=this.get(["axisName","show"]),c=this.get(["axisName","formatter"]),f=this.get("axisNameGap"),d=this.get("triggerEvent"),h=Ge(this.get("indicator")||[],function(v){v.max!=null&&v.max>0&&!v.min?v.min=0:v.min!=null&&v.min<0&&!v.max&&(v.max=0);var p=s;v.color!=null&&(p=_t({color:v.color},s));var g=jt(kt(v),{boundaryGap:n,splitNumber:r,scale:a,axisLine:i,axisTick:o,axisLabel:l,name:v.text,showName:u,nameLocation:"end",nameGap:f,nameTextStyle:p,triggerEvent:d},!1);if(it(c)){var m=g.name;g.name=c.replace("{value}",m??"")}else yt(c)&&(g.name=c(g.name,g));var b=new yn(g,null,this.ecModel);return sr(b,Np.prototype),b.mainType="radar",b.componentIndex=this.componentIndex,b},this);this._indicatorModels=h},t.prototype.getIndicatorModels=function(){return this._indicatorModels},t.type="radar",t.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:jt({lineStyle:{color:"#bbb"}},Zh.axisLine),axisLabel:c0(Zh.axisLabel,!1),axisTick:c0(Zh.axisTick,!1),splitLine:c0(Zh.splitLine,!0),splitArea:c0(Zh.splitArea,!0),indicator:[]},t}(Qt),EPe=["axisLine","axisTickLabel","axisName"],IPe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=this.group;i.removeAll(),this._buildAxes(n),this._buildSplitLineAndArea(n)},t.prototype._buildAxes=function(n){var r=n.coordinateSystem,a=r.getIndicatorAxes(),i=Ge(a,function(o){var l=o.model.get("showName")?o.name:"",s=new ca(o.model,{axisName:l,position:[r.cx,r.cy],rotation:o.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return s});K(i,function(o){K(EPe,o.add,o),this.group.add(o.getGroup())},this)},t.prototype._buildSplitLineAndArea=function(n){var r=n.coordinateSystem,a=r.getIndicatorAxes();if(!a.length)return;var i=n.get("shape"),o=n.getModel("splitLine"),l=n.getModel("splitArea"),s=o.getModel("lineStyle"),u=l.getModel("areaStyle"),c=o.get("show"),f=l.get("show"),d=s.get("color"),h=u.get("color"),v=He(d)?d:[d],p=He(h)?h:[h],g=[],m=[];function b(R,N,B){var V=B%N.length;return R[V]=R[V]||[],V}if(i==="circle")for(var _=a[0].getTicksCoords(),w=r.cx,x=r.cy,S=0;S<_.length;S++){if(c){var C=b(g,v,S);g[C].push(new Hl({shape:{cx:w,cy:x,r:_[S].coord}}))}if(f&&S<_.length-1){var C=b(m,p,S);m[C].push(new t3({shape:{cx:w,cy:x,r0:_[S].coord,r:_[S+1].coord}}))}}else for(var T,z=Ge(a,function(R,N){var B=R.getTicksCoords();return T=T==null?B.length-1:Math.min(B.length-1,T),Ge(B,function(V){return r.coordToPoint(V.coord,N)})}),A=[],S=0;S<=T;S++){for(var E=[],D=0;D<a.length;D++)E.push(z[D][S]);if(E[0]&&E.push(E[0].slice()),c){var C=b(g,v,S);g[C].push(new ya({shape:{points:E}}))}if(f&&A){var C=b(m,p,S-1);m[C].push(new ga({shape:{points:E.concat(A)}}))}A=E.slice().reverse()}var $=s.getLineStyle(),O=u.getAreaStyle();K(m,function(R,N){this.group.add(di(R,{style:_t({stroke:"none",fill:p[N%p.length]},O),silent:!0}))},this),K(g,function(R,N){this.group.add(di(R,{style:_t({fill:"none",stroke:v[N%v.length]},$),silent:!0}))},this)},t.type="radar",t}(Hn),DPe=function(e){Se(t,e);function t(n,r,a){var i=e.call(this,n,r,a)||this;return i.type="value",i.angle=0,i.name="",i}return t}(io),LPe=function(){function e(t,n,r){this.dimensions=[],this._model=t,this._indicatorAxes=Ge(t.getIndicatorModels(),function(a,i){var o="indicator_"+i,l=new DPe(o,new Al);return l.name=a.get("name"),l.model=a,a.axis=l,this.dimensions.push(o),l},this),this.resize(t,r)}return e.prototype.getIndicatorAxes=function(){return this._indicatorAxes},e.prototype.dataToPoint=function(t,n){var r=this._indicatorAxes[n];return this.coordToPoint(r.dataToCoord(t),n)},e.prototype.coordToPoint=function(t,n){var r=this._indicatorAxes[n],a=r.angle,i=this.cx+t*Math.cos(a),o=this.cy-t*Math.sin(a);return[i,o]},e.prototype.pointToData=function(t){var n=t[0]-this.cx,r=t[1]-this.cy,a=Math.sqrt(n*n+r*r);n/=a,r/=a;for(var i=Math.atan2(-r,n),o=1/0,l,s=-1,u=0;u<this._indicatorAxes.length;u++){var c=this._indicatorAxes[u],f=Math.abs(i-c.angle);f<o&&(l=c,s=u,o=f)}return[s,+(l&&l.coordToData(a))]},e.prototype.resize=function(t,n){var r=t.get("center"),a=n.getWidth(),i=n.getHeight(),o=Math.min(a,i)/2;this.cx=et(r[0],a),this.cy=et(r[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var l=t.get("radius");(it(l)||ln(l))&&(l=[0,l]),this.r0=et(l[0],o),this.r=et(l[1],o),K(this._indicatorAxes,function(s,u){s.setExtent(this.r0,this.r);var c=this.startAngle+u*Math.PI*2/this._indicatorAxes.length;c=Math.atan2(Math.sin(c),Math.cos(c)),s.angle=c},this)},e.prototype.update=function(t,n){var r=this._indicatorAxes,a=this._model;K(r,function(l){l.scale.setExtent(1/0,-1/0)}),t.eachSeriesByType("radar",function(l,s){if(!(l.get("coordinateSystem")!=="radar"||t.getComponent("radar",l.get("radarIndex"))!==a)){var u=l.getData();K(r,function(c){c.scale.unionExtentFromData(u,u.mapDimension(c.dim))})}},this);var i=a.get("splitNumber"),o=new Al;o.setExtent(0,i),o.setInterval(1),K(r,function(l,s){PG(l.scale,l.model,o)})},e.prototype.convertToPixel=function(t,n,r){return console.warn("Not implemented."),null},e.prototype.convertFromPixel=function(t,n,r){return console.warn("Not implemented."),null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.create=function(t,n){var r=[];return t.eachComponent("radar",function(a){var i=new e(a,t,n);r.push(i),a.coordinateSystem=i}),t.eachSeriesByType("radar",function(a){a.get("coordinateSystem")==="radar"&&(a.coordinateSystem=r[a.get("radarIndex")||0])}),r},e.dimensions=[],e}();function PPe(e){e.registerCoordinateSystem("radar",LPe),e.registerComponentModel(APe),e.registerComponentView(IPe),e.registerVisual({seriesType:"radar",reset:function(t){var n=t.getData();n.each(function(r){n.setItemVisual(r,"legendIcon","roundRect")}),n.setVisual("legendIcon","roundRect")}})}function RPe(e){Kt(PPe),e.registerChartView(zPe),e.registerSeriesModel(MPe),e.registerLayout(TPe),e.registerProcessor(Hp("radar")),e.registerPreprocessor(kPe)}var lI="\0_ec_interaction_mutex";function OPe(e,t,n){var r=N8(e);r[t]=n}function NPe(e,t,n){var r=N8(e),a=r[t];a===n&&(r[t]=null)}function sI(e,t){return!!N8(e)[t]}function N8(e){return e[lI]||(e[lI]={})}Wo({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},er);var qp=function(e){Se(t,e);function t(n){var r=e.call(this)||this;r._zr=n;var a=lt(r._mousedownHandler,r),i=lt(r._mousemoveHandler,r),o=lt(r._mouseupHandler,r),l=lt(r._mousewheelHandler,r),s=lt(r._pinchHandler,r);return r.enable=function(u,c){this.disable(),this._opt=_t(kt(c)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),u==null&&(u=!0),(u===!0||u==="move"||u==="pan")&&(n.on("mousedown",a),n.on("mousemove",i),n.on("mouseup",o)),(u===!0||u==="scale"||u==="zoom")&&(n.on("mousewheel",l),n.on("pinch",s))},r.disable=function(){n.off("mousedown",a),n.off("mousemove",i),n.off("mouseup",o),n.off("mousewheel",l),n.off("pinch",s)},r}return t.prototype.isDragging=function(){return this._dragging},t.prototype.isPinching=function(){return this._pinching},t.prototype.setPointerChecker=function(n){this.pointerChecker=n},t.prototype.dispose=function(){this.disable()},t.prototype._mousedownHandler=function(n){if(!Pz(n)){for(var r=n.target;r;){if(r.draggable)return;r=r.__hostTarget||r.parent}var a=n.offsetX,i=n.offsetY;this.pointerChecker&&this.pointerChecker(n,a,i)&&(this._x=a,this._y=i,this._dragging=!0)}},t.prototype._mousemoveHandler=function(n){if(!(!this._dragging||!b2("moveOnMouseMove",n,this._opt)||n.gestureEvent==="pinch"||sI(this._zr,"globalPan"))){var r=n.offsetX,a=n.offsetY,i=this._x,o=this._y,l=r-i,s=a-o;this._x=r,this._y=a,this._opt.preventDefaultMouseMove&&Cl(n.event),FG(this,"pan","moveOnMouseMove",n,{dx:l,dy:s,oldX:i,oldY:o,newX:r,newY:a,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(n){Pz(n)||(this._dragging=!1)},t.prototype._mousewheelHandler=function(n){var r=b2("zoomOnMouseWheel",n,this._opt),a=b2("moveOnMouseWheel",n,this._opt),i=n.wheelDelta,o=Math.abs(i),l=n.offsetX,s=n.offsetY;if(!(i===0||!r&&!a)){if(r){var u=o>3?1.4:o>1?1.2:1.1,c=i>0?u:1/u;K_(this,"zoom","zoomOnMouseWheel",n,{scale:c,originX:l,originY:s,isAvailableBehavior:null})}if(a){var f=Math.abs(i),d=(i>0?1:-1)*(f>3?.4:f>1?.15:.05);K_(this,"scrollMove","moveOnMouseWheel",n,{scrollDelta:d,originX:l,originY:s,isAvailableBehavior:null})}}},t.prototype._pinchHandler=function(n){if(!sI(this._zr,"globalPan")){var r=n.pinchScale>1?1.1:1/1.1;K_(this,"zoom",null,n,{scale:r,originX:n.pinchX,originY:n.pinchY,isAvailableBehavior:null})}},t}(Ei);function K_(e,t,n,r,a){e.pointerChecker&&e.pointerChecker(r,a.originX,a.originY)&&(Cl(r.event),FG(e,t,n,r,a))}function FG(e,t,n,r,a){a.isAvailableBehavior=lt(b2,null,n,r),e.trigger(t,a)}function b2(e,t,n){var r=n[e];return!e||r&&(!it(r)||t.event[r+"Key"])}function $8(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function V8(e,t,n,r){var a=e.target,i=e.zoomLimit,o=e.zoom=e.zoom||1;if(o*=t,i){var l=i.min||0,s=i.max||1/0;o=Math.max(Math.min(s,o),l)}var u=o/e.zoom;e.zoom=o,a.x-=(n-a.x)*(u-1),a.y-=(r-a.y)*(u-1),a.scaleX*=u,a.scaleY*=u,a.dirty()}var $Pe={axisPointer:1,tooltip:1,brush:1};function x3(e,t,n){var r=t.getComponentByElement(e.topTarget),a=r&&r.coordinateSystem;return r&&r!==n&&!$Pe.hasOwnProperty(r.mainType)&&a&&a.model!==n}function HG(e){if(it(e)){var t=new DOMParser;e=t.parseFromString(e,"text/xml")}var n=e;for(n.nodeType===9&&(n=n.firstChild);n.nodeName.toLowerCase()!=="svg"||n.nodeType!==1;)n=n.nextSibling;return n}var X_,Pm={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},uI=tn(Pm),Rm={"alignment-baseline":"textBaseline","stop-color":"stopColor"},cI=tn(Rm),VPe=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(t,n){n=n||{};var r=HG(t);this._defsUsePending=[];var a=new At;this._root=a;var i=[],o=r.getAttribute("viewBox")||"",l=parseFloat(r.getAttribute("width")||n.width),s=parseFloat(r.getAttribute("height")||n.height);isNaN(l)&&(l=null),isNaN(s)&&(s=null),Ra(r,a,null,!0,!1);for(var u=r.firstChild;u;)this._parseNode(u,a,i,null,!1,!1),u=u.nextSibling;HPe(this._defs,this._defsUsePending),this._defsUsePending=[];var c,f;if(o){var d=S3(o);d.length>=4&&(c={x:parseFloat(d[0]||0),y:parseFloat(d[1]||0),width:parseFloat(d[2]),height:parseFloat(d[3])})}if(c&&l!=null&&s!=null&&(f=qG(c,{x:0,y:0,width:l,height:s}),!n.ignoreViewBox)){var h=a;a=new At,a.add(h),h.scaleX=h.scaleY=f.scale,h.x=f.x,h.y=f.y}return!n.ignoreRootClip&&l!=null&&s!=null&&a.setClipPath(new rn({shape:{x:0,y:0,width:l,height:s}})),{root:a,width:l,height:s,viewBoxRect:c,viewBoxTransform:f,named:i}},e.prototype._parseNode=function(t,n,r,a,i,o){var l=t.nodeName.toLowerCase(),s,u=a;if(l==="defs"&&(i=!0),l==="text"&&(o=!0),l==="defs"||l==="switch")s=n;else{if(!i){var c=X_[l];if(c&&ht(X_,l)){s=c.call(this,t,n);var f=t.getAttribute("name");if(f){var d={name:f,namedFrom:null,svgNodeTagLower:l,el:s};r.push(d),l==="g"&&(u=d)}else a&&r.push({name:a.name,namedFrom:a,svgNodeTagLower:l,el:s});n.add(s)}}var h=fI[l];if(h&&ht(fI,l)){var v=h.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=v)}}if(s&&s.isGroup)for(var g=t.firstChild;g;)g.nodeType===1?this._parseNode(g,s,r,u,i,o):g.nodeType===3&&o&&this._parseText(g,s),g=g.nextSibling},e.prototype._parseText=function(t,n){var r=new Od({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});Qa(n,r),Ra(t,r,this._defsUsePending,!1,!1),BPe(r,n);var a=r.style,i=a.fontSize;i&&i<9&&(a.fontSize=9,r.scaleX*=i/9,r.scaleY*=i/9);var o=(a.fontSize||a.fontFamily)&&[a.fontStyle,a.fontWeight,(a.fontSize||12)+"px",a.fontFamily||"sans-serif"].join(" ");a.font=o;var l=r.getBoundingRect();return this._textX+=l.width,n.add(r),r},e.internalField=function(){X_={g:function(t,n){var r=new At;return Qa(n,r),Ra(t,r,this._defsUsePending,!1,!1),r},rect:function(t,n){var r=new rn;return Qa(n,r),Ra(t,r,this._defsUsePending,!1,!1),r.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),r.silent=!0,r},circle:function(t,n){var r=new Hl;return Qa(n,r),Ra(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),r.silent=!0,r},line:function(t,n){var r=new mr;return Qa(n,r),Ra(t,r,this._defsUsePending,!1,!1),r.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),r.silent=!0,r},ellipse:function(t,n){var r=new Y6;return Qa(n,r),Ra(t,r,this._defsUsePending,!1,!1),r.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),r.silent=!0,r},polygon:function(t,n){var r=t.getAttribute("points"),a;r&&(a=vI(r));var i=new ga({shape:{points:a||[]},silent:!0});return Qa(n,i),Ra(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,n){var r=t.getAttribute("points"),a;r&&(a=vI(r));var i=new ya({shape:{points:a||[]},silent:!0});return Qa(n,i),Ra(t,i,this._defsUsePending,!1,!1),i},image:function(t,n){var r=new Ir;return Qa(n,r),Ra(t,r,this._defsUsePending,!1,!1),r.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),r.silent=!0,r},text:function(t,n){var r=t.getAttribute("x")||"0",a=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(r)+parseFloat(i),this._textY=parseFloat(a)+parseFloat(o);var l=new At;return Qa(n,l),Ra(t,l,this._defsUsePending,!1,!0),l},tspan:function(t,n){var r=t.getAttribute("x"),a=t.getAttribute("y");r!=null&&(this._textX=parseFloat(r)),a!=null&&(this._textY=parseFloat(a));var i=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",l=new At;return Qa(n,l),Ra(t,l,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(o),l},path:function(t,n){var r=t.getAttribute("d")||"",a=EH(r);return Qa(n,a),Ra(t,a,this._defsUsePending,!1,!1),a.silent=!0,a}}}(),e}(),fI={lineargradient:function(e){var t=parseInt(e.getAttribute("x1")||"0",10),n=parseInt(e.getAttribute("y1")||"0",10),r=parseInt(e.getAttribute("x2")||"10",10),a=parseInt(e.getAttribute("y2")||"0",10),i=new Ip(t,n,r,a);return dI(e,i),hI(e,i),i},radialgradient:function(e){var t=parseInt(e.getAttribute("cx")||"0",10),n=parseInt(e.getAttribute("cy")||"0",10),r=parseInt(e.getAttribute("r")||"0",10),a=new OH(t,n,r);return dI(e,a),hI(e,a),a}};function dI(e,t){var n=e.getAttribute("gradientUnits");n==="userSpaceOnUse"&&(t.global=!0)}function hI(e,t){for(var n=e.firstChild;n;){if(n.nodeType===1&&n.nodeName.toLocaleLowerCase()==="stop"){var r=n.getAttribute("offset"),a=void 0;r&&r.indexOf("%")>0?a=parseInt(r,10)/100:r?a=parseFloat(r):a=0;var i={};jG(n,i,i);var o=i.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:a,color:o})}n=n.nextSibling}}function Qa(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),_t(t.__inheritedStyle,e.__inheritedStyle))}function vI(e){for(var t=S3(e),n=[],r=0;r<t.length;r+=2){var a=parseFloat(t[r]),i=parseFloat(t[r+1]);n.push([a,i])}return n}function Ra(e,t,n,r,a){var i=t,o=i.__inheritedStyle=i.__inheritedStyle||{},l={};e.nodeType===1&&(GPe(e,t),jG(e,o,l),r||WPe(e,o,l)),i.style=i.style||{},o.fill!=null&&(i.style.fill=pI(i,"fill",o.fill,n)),o.stroke!=null&&(i.style.stroke=pI(i,"stroke",o.stroke,n)),K(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],function(s){o[s]!=null&&(i.style[s]=parseFloat(o[s]))}),K(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],function(s){o[s]!=null&&(i.style[s]=o[s])}),a&&(i.__selfStyle=l),o.lineDash&&(i.style.lineDash=Ge(S3(o.lineDash),function(s){return parseFloat(s)})),(o.visibility==="hidden"||o.visibility==="collapse")&&(i.invisible=!0),o.display==="none"&&(i.ignore=!0)}function BPe(e,t){var n=t.__selfStyle;if(n){var r=n.textBaseline,a=r;!r||r==="auto"||r==="baseline"?a="alphabetic":r==="before-edge"||r==="text-before-edge"?a="top":r==="after-edge"||r==="text-after-edge"?a="bottom":(r==="central"||r==="mathematical")&&(a="middle"),e.style.textBaseline=a}var i=t.__inheritedStyle;if(i){var o=i.textAlign,l=o;o&&(o==="middle"&&(l="center"),e.style.textAlign=l)}}var FPe=/^url\(\s*#(.*?)\)/;function pI(e,t,n,r){var a=n&&n.match(FPe);if(a){var i=qi(a[1]);r.push([e,t,i]);return}return n==="none"&&(n=null),n}function HPe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r[0].style[r[1]]=e[r[2]]}}var jPe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function S3(e){return e.match(jPe)||[]}var qPe=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Z_=Math.PI/180;function GPe(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],a=null;n.replace(qPe,function(f,d,h){return r.push(d,h),""});for(var i=r.length-1;i>0;i-=2){var o=r[i],l=r[i-1],s=S3(o);switch(a=a||Ga(),l){case"translate":$o(a,a,[parseFloat(s[0]),parseFloat(s[1]||"0")]);break;case"scale":D6(a,a,[parseFloat(s[0]),parseFloat(s[1]||s[0])]);break;case"rotate":Jc(a,a,-parseFloat(s[0])*Z_,[parseFloat(s[1]||"0"),parseFloat(s[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(s[0])*Z_);pl(a,[1,0,u,1,0,0],a);break;case"skewY":var c=Math.tan(parseFloat(s[0])*Z_);pl(a,[1,c,0,1,0,0],a);break;case"matrix":a[0]=parseFloat(s[0]),a[1]=parseFloat(s[1]),a[2]=parseFloat(s[2]),a[3]=parseFloat(s[3]),a[4]=parseFloat(s[4]),a[5]=parseFloat(s[5]);break}}t.setLocalTransform(a)}}var gI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function jG(e,t,n){var r=e.getAttribute("style");if(r){gI.lastIndex=0;for(var a;(a=gI.exec(r))!=null;){var i=a[1],o=ht(Pm,i)?Pm[i]:null;o&&(t[o]=a[2]);var l=ht(Rm,i)?Rm[i]:null;l&&(n[l]=a[2])}}}function WPe(e,t,n){for(var r=0;r<uI.length;r++){var a=uI[r],i=e.getAttribute(a);i!=null&&(t[Pm[a]]=i)}for(var r=0;r<cI.length;r++){var a=cI[r],i=e.getAttribute(a);i!=null&&(n[Rm[a]]=i)}}function qG(e,t){var n=t.width/e.width,r=t.height/e.height,a=Math.min(n,r);return{scale:a,x:-(e.x+e.width/2)*a+(t.x+t.width/2),y:-(e.y+e.height/2)*a+(t.y+t.height/2)}}function UPe(e,t){var n=new VPe;return n.parse(e,t)}var YPe=pt(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),KPe=function(){function e(t,n){this.type="geoSVG",this._usedGraphicMap=pt(),this._freedGraphics=[],this._mapName=t,this._parsedXML=HG(n)}return e.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var n=ZPe(t.named),r=n.regions,a=n.regionsMap;this._regions=r,this._regionsMap=a}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},e.prototype._buildGraphic=function(t){var n,r;try{n=t&&UPe(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},r=n.root,ha(r!=null)}catch(g){throw new Error(`Invalid svg format
  112. `+g.message)}var a=new At;a.add(r),a.isGeoSVGGraphicRoot=!0;var i=n.width,o=n.height,l=n.viewBoxRect,s=this._boundingRect;if(!s){var u=void 0,c=void 0,f=void 0,d=void 0;if(i!=null?(u=0,f=i):l&&(u=l.x,f=l.width),o!=null?(c=0,d=o):l&&(c=l.y,d=l.height),u==null||c==null){var h=r.getBoundingRect();u==null&&(u=h.x,f=h.width),c==null&&(c=h.y,d=h.height)}s=this._boundingRect=new qt(u,c,f,d)}if(l){var v=qG(l,s);r.scaleX=r.scaleY=v.scale,r.x=v.x,r.y=v.y}a.setClipPath(new rn({shape:s.plain()}));var p=[];return K(n.named,function(g){YPe.get(g.svgNodeTagLower)!=null&&(p.push(g),XPe(g.el))}),{root:a,boundingRect:s,named:p}},e.prototype.useGraphic=function(t){var n=this._usedGraphicMap,r=n.get(t);return r||(r=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),n.set(t,r),r)},e.prototype.freeGraphic=function(t){var n=this._usedGraphicMap,r=n.get(t);r&&(n.removeKey(t),this._freedGraphics.push(r))},e}();function XPe(e){e.silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1})}function ZPe(e){var t=[],n=pt();return K(e,function(r){if(r.namedFrom==null){var a=new GIe(r.name,r.el);t.push(a),n.set(r.name,a)}}),{regions:t,regionsMap:n}}var Ax=[126,25],mI="南海诸岛",Bu=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]];for(var $u=0;$u<Bu.length;$u++)for(var Cf=0;Cf<Bu[$u].length;Cf++)Bu[$u][Cf][0]/=10.5,Bu[$u][Cf][1]/=-10.5/.75,Bu[$u][Cf][0]+=Ax[0],Bu[$u][Cf][1]+=Ax[1];function JPe(e,t){if(e==="china"){for(var n=0;n<t.length;n++)if(t[n].name===mI)return;t.push(new Bq(mI,Ge(Bu,function(r){return{type:"polygon",exterior:r}}),Ax))}}var QPe={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function eRe(e,t){if(e==="china"){var n=QPe[t.name];if(n){var r=t.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/(10.5/.75),t.setCenter(r)}}}var tRe=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function nRe(e,t){e==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:tRe[0]})}var rRe="name",aRe=function(){function e(t,n,r){this.type="geoJSON",this._parsedMap=pt(),this._mapName=t,this._specialAreas=r,this._geoJSON=oRe(n)}return e.prototype.load=function(t,n){n=n||rRe;var r=this._parsedMap.get(n);if(!r){var a=this._parseToRegions(n);r=this._parsedMap.set(n,{regions:a,boundingRect:iRe(a)})}var i=pt(),o=[];return K(r.regions,function(l){var s=l.name;t&&ht(t,s)&&(l=l.cloneShallow(s=t[s])),o.push(l),i.set(s,l)}),{regions:o,boundingRect:r.boundingRect||new qt(0,0,0,0),regionsMap:i}},e.prototype._parseToRegions=function(t){var n=this._mapName,r=this._geoJSON,a;try{a=r?UIe(r,t):[]}catch(i){throw new Error(`Invalid geoJson format
  113. `+i.message)}return JPe(n,a),K(a,function(i){var o=i.name;eRe(n,i),nRe(n,i);var l=this._specialAreas&&this._specialAreas[o];l&&i.transformTo(l.left,l.top,l.width,l.height)},this),a},e.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},e}();function iRe(e){for(var t,n=0;n<e.length;n++){var r=e[n].getBoundingRect();t=t||r.clone(),t.union(r)}return t}function oRe(e){return it(e)?typeof JSON<"u"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var Jh=pt();const El={registerMap:function(e,t,n){if(t.svg){var r=new KPe(e,t.svg);Jh.set(e,r)}else{var a=t.geoJson||t.geoJSON;a&&!t.features?n=t.specialAreas:a=t;var r=new aRe(e,a,n);Jh.set(e,r)}},getGeoResource:function(e){return Jh.get(e)},getMapForUser:function(e){var t=Jh.get(e);return t&&t.type==="geoJSON"&&t.getMapForUser()},load:function(e,t,n){var r=Jh.get(e);if(r)return r.load(t,n)}};var B8=["rect","circle","line","ellipse","polygon","polyline","path"],lRe=pt(B8),sRe=pt(B8.concat(["g"])),uRe=pt(B8.concat(["g"])),GG=an();function f0(e){var t=e.getItemStyle(),n=e.get("areaColor");return n!=null&&(t.fill=n),t}function yI(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var WG=function(){function e(t){var n=new At;this.uid=hh("ec_map_draw"),this._controller=new qp(t.getZr()),this._controllerHost={target:n},this.group=n,n.add(this._regionsGroup=new At),n.add(this._svgGroup=new At)}return e.prototype.draw=function(t,n,r,a,i){var o=t.mainType==="geo",l=t.getData&&t.getData();o&&n.eachComponent({mainType:"series",subType:"map"},function(m){!l&&m.getHostGeoModel()===t&&(l=m.getData())});var s=t.coordinateSystem,u=this._regionsGroup,c=this.group,f=s.getTransformInfo(),d=f.raw,h=f.roam,v=!u.childAt(0)||i;v?(c.x=h.x,c.y=h.y,c.scaleX=h.scaleX,c.scaleY=h.scaleY,c.dirty()):un(c,h,t);var p=l&&l.getVisual("visualMeta")&&l.getVisual("visualMeta").length>0,g={api:r,geo:s,mapOrGeoModel:t,data:l,isVisualEncodedByVisualMap:p,isGeo:o,transformInfoRaw:d};s.resourceType==="geoJSON"?this._buildGeoJSON(g):s.resourceType==="geoSVG"&&this._buildSVG(g),this._updateController(t,n,r),this._updateMapSelectHandler(t,u,r,a)},e.prototype._buildGeoJSON=function(t){var n=this._regionsGroupByName=pt(),r=pt(),a=this._regionsGroup,i=t.transformInfoRaw,o=t.mapOrGeoModel,l=t.data,s=t.geo.projection,u=s&&s.stream;function c(h,v){return v&&(h=v(h)),h&&[h[0]*i.scaleX+i.x,h[1]*i.scaleY+i.y]}function f(h){for(var v=[],p=!u&&s&&s.project,g=0;g<h.length;++g){var m=c(h[g],p);m&&v.push(m)}return v}function d(h){return{shape:{points:f(h)}}}a.removeAll(),K(t.geo.regions,function(h){var v=h.name,p=n.get(v),g=r.get(v)||{},m=g.dataIdx,b=g.regionModel;p||(p=n.set(v,new At),a.add(p),m=l?l.indexOfName(v):null,b=t.isGeo?o.getRegionModel(v):l?l.getItemModel(m):null,r.set(v,{dataIdx:m,regionModel:b}));var _=[],w=[];K(h.geometries,function(C){if(C.type==="polygon"){var T=[C.exterior].concat(C.interiors||[]);u&&(T=CI(T,u)),K(T,function(A){_.push(new ga(d(A)))})}else{var z=C.points;u&&(z=CI(z,u,!0)),K(z,function(A){w.push(new ya(d(A)))})}});var x=c(h.getCenter(),s&&s.project);function S(C,T){if(C.length){var z=new K6({culling:!0,segmentIgnoreThreshold:1,shape:{paths:C}});p.add(z),bI(t,z,m,b),_I(t,z,v,b,o,m,x),T&&(yI(z),K(z.states,yI))}}S(_),S(w,!0)}),n.each(function(h,v){var p=r.get(v),g=p.dataIdx,m=p.regionModel;wI(t,h,v,m,o,g),xI(t,h,v,m,o),SI(t,h,v,m,o)},this)},e.prototype._buildSVG=function(t){var n=t.geo.map,r=t.transformInfoRaw;this._svgGroup.x=r.x,this._svgGroup.y=r.y,this._svgGroup.scaleX=r.scaleX,this._svgGroup.scaleY=r.scaleY,this._svgResourceChanged(n)&&(this._freeSVG(),this._useSVG(n));var a=this._svgDispatcherMap=pt(),i=!1;K(this._svgGraphicRecord.named,function(o){var l=o.name,s=t.mapOrGeoModel,u=t.data,c=o.svgNodeTagLower,f=o.el,d=u?u.indexOfName(l):null,h=s.getRegionModel(l);if(lRe.get(c)!=null&&f instanceof zi&&bI(t,f,d,h),f instanceof zi&&(f.culling=!0),f.z2EmphasisLift=0,!o.namedFrom&&(uRe.get(c)!=null&&_I(t,f,l,h,s,d,null),wI(t,f,l,h,s,d),xI(t,f,l,h,s),sRe.get(c)!=null)){var v=SI(t,f,l,h,s);v==="self"&&(i=!0);var p=a.get(l)||a.set(l,[]);p.push(f)}},this),this._enableBlurEntireSVG(i,t)},e.prototype._enableBlurEntireSVG=function(t,n){if(t&&n.isGeo){var r=n.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle(),a=r.opacity;this._svgGraphicRecord.root.traverse(function(i){if(!i.isGroup){Bc(i);var o=i.ensureState("blur").style||{};o.opacity==null&&a!=null&&(o.opacity=a),i.ensureState("emphasis")}})}},e.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},e.prototype.findHighDownDispatchers=function(t,n){if(t==null)return[];var r=n.coordinateSystem;if(r.resourceType==="geoJSON"){var a=this._regionsGroupByName;if(a){var i=a.get(t);return i?[i]:[]}}else if(r.resourceType==="geoSVG")return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},e.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},e.prototype._useSVG=function(t){var n=El.getGeoResource(t);if(n&&n.type==="geoSVG"){var r=n.useGraphic(this.uid);this._svgGroup.add(r.root),this._svgGraphicRecord=r,this._svgMapName=t}},e.prototype._freeSVG=function(){var t=this._svgMapName;if(t!=null){var n=El.getGeoResource(t);n&&n.type==="geoSVG"&&n.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},e.prototype._updateController=function(t,n,r){var a=t.coordinateSystem,i=this._controller,o=this._controllerHost;o.zoomLimit=t.get("scaleLimit"),o.zoom=a.getZoom(),i.enable(t.get("roam")||!1);var l=t.mainType;function s(){var u={type:"geoRoam",componentType:l};return u[l+"Id"]=t.id,u}i.off("pan").on("pan",function(u){this._mouseDownFlag=!1,$8(o,u.dx,u.dy),r.dispatchAction($e(s(),{dx:u.dx,dy:u.dy,animation:{duration:0}}))},this),i.off("zoom").on("zoom",function(u){this._mouseDownFlag=!1,V8(o,u.scale,u.originX,u.originY),r.dispatchAction($e(s(),{totalZoom:o.zoom,zoom:u.scale,originX:u.originX,originY:u.originY,animation:{duration:0}}))},this),i.setPointerChecker(function(u,c,f){return a.containPoint([c,f])&&!x3(u,r,t)})},e.prototype.resetForLabelLayout=function(){this.group.traverse(function(t){var n=t.getTextContent();n&&(n.ignore=GG(n).ignore)})},e.prototype._updateMapSelectHandler=function(t,n,r,a){var i=this;n.off("mousedown"),n.off("click"),t.get("selectedMode")&&(n.on("mousedown",function(){i._mouseDownFlag=!0}),n.on("click",function(o){i._mouseDownFlag&&(i._mouseDownFlag=!1)}))},e}();function bI(e,t,n,r){var a=r.getModel("itemStyle"),i=r.getModel(["emphasis","itemStyle"]),o=r.getModel(["blur","itemStyle"]),l=r.getModel(["select","itemStyle"]),s=f0(a),u=f0(i),c=f0(l),f=f0(o),d=e.data;if(d){var h=d.getItemVisual(n,"style"),v=d.getItemVisual(n,"decal");e.isVisualEncodedByVisualMap&&h.fill&&(s.fill=h.fill),v&&(s.decal=Vd(v,e.api))}t.setStyle(s),t.style.strokeNoScale=!0,t.ensureState("emphasis").style=u,t.ensureState("select").style=c,t.ensureState("blur").style=f,Bc(t)}function _I(e,t,n,r,a,i,o){var l=e.data,s=e.isGeo,u=l&&isNaN(l.get(l.mapDimension("value"),i)),c=l&&l.getItemLayout(i);if(s||u||c&&c.showLabel){var f=s?n:i,d=void 0;(!l||i>=0)&&(d=a);var h=o?{normal:{align:"center",verticalAlign:"middle"}}:null;Fr(t,Sr(r),{labelFetcher:d,labelDataIndex:f,defaultText:n},h);var v=t.getTextContent();if(v&&(GG(v).ignore=v.ignore,t.textConfig&&o)){var p=t.getBoundingRect().clone();t.textConfig.layoutRect=p,t.textConfig.position=[(o[0]-p.x)/p.width*100+"%",(o[1]-p.y)/p.height*100+"%"]}t.disableLabelAnimation=!0}else t.removeTextContent(),t.removeTextConfig(),t.disableLabelAnimation=null}function wI(e,t,n,r,a,i){e.data?e.data.setItemGraphicEl(i,t):Dt(t).eventData={componentType:"geo",componentIndex:a.componentIndex,geoIndex:a.componentIndex,name:n,region:r&&r.option||{}}}function xI(e,t,n,r,a){e.data||fh({el:t,componentModel:a,itemName:n,itemTooltipOption:r.get("tooltip")})}function SI(e,t,n,r,a){t.highDownSilentOnTouch=!!a.get("selectedMode");var i=r.getModel("emphasis"),o=i.get("focus");return Kn(t,o,i.get("blurScope"),i.get("disabled")),e.isGeo&&aze(t,a,n),o}function CI(e,t,n){var r=[],a;function i(){a=[]}function o(){a.length&&(r.push(a),a=[])}var l=t({polygonStart:i,polygonEnd:o,lineStart:i,lineEnd:o,point:function(s,u){isFinite(s)&&isFinite(u)&&a.push([s,u])},sphere:function(){}});return!n&&l.polygonStart(),K(e,function(s){l.lineStart();for(var u=0;u<s.length;u++)l.point(s[u][0],s[u][1]);l.lineEnd()}),!n&&l.polygonEnd(),r}var cRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a,i){if(!(i&&i.type==="mapToggleSelect"&&i.from===this.uid)){var o=this.group;if(o.removeAll(),!n.getHostGeoModel()){if(this._mapDraw&&i&&i.type==="geoRoam"&&this._mapDraw.resetForLabelLayout(),i&&i.type==="geoRoam"&&i.componentType==="series"&&i.seriesId===n.id){var l=this._mapDraw;l&&o.add(l.group)}else if(n.needsDrawMap){var l=this._mapDraw||new WG(a);o.add(l.group),l.draw(n,r,a,this,i),this._mapDraw=l}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;n.get("showLegendSymbol")&&r.getComponent("legend")&&this._renderSymbols(n,r,a)}}},t.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},t.prototype._renderSymbols=function(n,r,a){var i=n.originalData,o=this.group;i.each(i.mapDimension("value"),function(l,s){if(!isNaN(l)){var u=i.getItemLayout(s);if(!(!u||!u.point)){var c=u.point,f=u.offset,d=new Hl({style:{fill:n.getData().getVisual("style").fill},shape:{cx:c[0]+f*9,cy:c[1],r:3},silent:!0,z2:8+(f?0:uh+1)});if(!f){var h=n.mainSeries.getData(),v=i.getName(s),p=h.indexOfName(v),g=i.getItemModel(s),m=g.getModel("label"),b=h.getItemGraphicEl(p);Fr(d,Sr(g),{labelFetcher:{getFormattedLabel:function(_,w){return n.getFormattedLabel(p,w)}},defaultText:v}),d.disableLabelAnimation=!0,m.get("position")||d.setTextConfig({position:"bottom"}),b.onHoverStateChange=function(_){vm(d,_)}}o.add(d)}}})},t.type="map",t}(zn),fRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(r){if(r!=null){var a=this.getData().getName(r),i=this.coordinateSystem,o=i.getRegion(a);return o&&i.dataToPoint(o.getCenter())}},n}return t.prototype.getInitialData=function(n){for(var r=wh(this,{coordDimensions:["value"],encodeDefaulter:$t(i8,this)}),a=pt(),i=[],o=0,l=r.count();o<l;o++){var s=r.getName(o);a.set(s,!0)}var u=El.load(this.getMapType(),this.option.nameMap,this.option.nameProperty);return K(u.regions,function(c){var f=c.name;a.get(f)||i.push(f)}),r.appendValues([],i),r},t.prototype.getHostGeoModel=function(){var n=this.option.geoIndex;return n!=null?this.ecModel.getComponent("geo",n):null},t.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},t.prototype.getRawValue=function(n){var r=this.getData();return r.get(r.mapDimension("value"),n)},t.prototype.getRegionModel=function(n){var r=this.getData();return r.getItemModel(r.indexOfName(n))},t.prototype.formatTooltip=function(n,r,a){for(var i=this.getData(),o=this.getRawValue(n),l=i.getName(n),s=this.seriesGroup,u=[],c=0;c<s.length;c++){var f=s[c].originalData.indexOfName(l),d=i.mapDimension("value");isNaN(s[c].originalData.get(d,f))||u.push(s[c].name)}return Cr("section",{header:u.join(", "),noHeader:!u.length,blocks:[Cr("nameValue",{name:l,value:o})]})},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.getLegendIcon=function(n){var r=n.icon||"roundRect",a=lr(r,0,0,n.itemWidth,n.itemHeight,n.itemStyle.fill);return a.setStyle(n.itemStyle),a.style.stroke="none",r.indexOf("empty")>-1&&(a.style.stroke=a.style.fill,a.style.fill="#fff",a.style.lineWidth=2),a},t.type="series.map",t.dependencies=["geo"],t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},t}(Ln);function dRe(e,t){var n={};return K(e,function(r){r.each(r.mapDimension("value"),function(a,i){var o="ec-"+r.getName(i);n[o]=n[o]||[],isNaN(a)||n[o].push(a)})}),e[0].map(e[0].mapDimension("value"),function(r,a){for(var i="ec-"+e[0].getName(a),o=0,l=1/0,s=-1/0,u=n[i].length,c=0;c<u;c++)l=Math.min(l,n[i][c]),s=Math.max(s,n[i][c]),o+=n[i][c];var f;return t==="min"?f=l:t==="max"?f=s:t==="average"?f=o/u:f=o,u===0?NaN:f})}function hRe(e){var t={};e.eachSeriesByType("map",function(n){var r=n.getHostGeoModel(),a=r?"o"+r.id:"i"+n.getMapType();(t[a]=t[a]||[]).push(n)}),K(t,function(n,r){for(var a=dRe(Ge(n,function(o){return o.getData()}),n[0].get("mapValueCalculation")),i=0;i<n.length;i++)n[i].originalData=n[i].getData();for(var i=0;i<n.length;i++)n[i].seriesGroup=n,n[i].needsDrawMap=i===0&&!n[i].getHostGeoModel(),n[i].setData(a.cloneShallow()),n[i].mainSeries=n[0]})}function vRe(e){var t={};e.eachSeriesByType("map",function(n){var r=n.getMapType();if(!(n.getHostGeoModel()||t[r])){var a={};K(n.seriesGroup,function(o){var l=o.coordinateSystem,s=o.originalData;o.get("showLegendSymbol")&&e.getComponent("legend")&&s.each(s.mapDimension("value"),function(u,c){var f=s.getName(c),d=l.getRegion(f);if(!(!d||isNaN(u))){var h=a[f]||0,v=l.dataToPoint(d.getCenter());a[f]=h+1,s.setItemLayout(c,{point:v,offset:h})}})});var i=n.getData();i.each(function(o){var l=i.getName(o),s=i.getItemLayout(o)||{};s.showLabel=!a[l],i.setItemLayout(o,s)}),t[r]=!0}})}var TI=$r,Gp=function(e){Se(t,e);function t(n){var r=e.call(this)||this;return r.type="view",r.dimensions=["x","y"],r._roamTransformable=new cl,r._rawTransformable=new cl,r.name=n,r}return t.prototype.setBoundingRect=function(n,r,a,i){return this._rect=new qt(n,r,a,i),this._rect},t.prototype.getBoundingRect=function(){return this._rect},t.prototype.setViewRect=function(n,r,a,i){this._transformTo(n,r,a,i),this._viewRect=new qt(n,r,a,i)},t.prototype._transformTo=function(n,r,a,i){var o=this.getBoundingRect(),l=this._rawTransformable;l.transform=o.calculateTransform(new qt(n,r,a,i));var s=l.parent;l.parent=null,l.decomposeTransform(),l.parent=s,this._updateTransform()},t.prototype.setCenter=function(n,r){n&&(this._center=[et(n[0],r.getWidth()),et(n[1],r.getHeight())],this._updateCenterAndZoom())},t.prototype.setZoom=function(n){n=n||1;var r=this.zoomLimit;r&&(r.max!=null&&(n=Math.min(r.max,n)),r.min!=null&&(n=Math.max(r.min,n))),this._zoom=n,this._updateCenterAndZoom()},t.prototype.getDefaultCenter=function(){var n=this.getBoundingRect(),r=n.x+n.width/2,a=n.y+n.height/2;return[r,a]},t.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},t.prototype.getZoom=function(){return this._zoom||1},t.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},t.prototype._updateCenterAndZoom=function(){var n=this._rawTransformable.getLocalTransform(),r=this._roamTransformable,a=this.getDefaultCenter(),i=this.getCenter(),o=this.getZoom();i=$r([],i,n),a=$r([],a,n),r.originX=i[0],r.originY=i[1],r.x=a[0]-i[0],r.y=a[1]-i[1],r.scaleX=r.scaleY=o,this._updateTransform()},t.prototype._updateTransform=function(){var n=this._roamTransformable,r=this._rawTransformable;r.parent=n,n.updateTransform(),r.updateTransform(),I6(this.transform||(this.transform=[]),r.transform||Ga()),this._rawTransform=r.getLocalTransform(),this.invTransform=this.invTransform||[],lh(this.invTransform,this.transform),this.decomposeTransform()},t.prototype.getTransformInfo=function(){var n=this._rawTransformable,r=this._roamTransformable,a=new cl;return a.transform=r.transform,a.decomposeTransform(),{roam:{x:a.x,y:a.y,scaleX:a.scaleX,scaleY:a.scaleY},raw:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY}}},t.prototype.getViewRect=function(){return this._viewRect},t.prototype.getViewRectAfterRoam=function(){var n=this.getBoundingRect().clone();return n.applyTransform(this.transform),n},t.prototype.dataToPoint=function(n,r,a){var i=r?this._rawTransform:this.transform;return a=a||[],i?TI(a,n,i):aa(a,n)},t.prototype.pointToData=function(n){var r=this.invTransform;return r?TI([],n,r):[n[0],n[1]]},t.prototype.convertToPixel=function(n,r,a){var i=kI(r);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(n,r,a){var i=kI(r);return i===this?i.pointToData(a):null},t.prototype.containPoint=function(n){return this.getViewRectAfterRoam().contain(n[0],n[1])},t.dimensions=["x","y"],t}(cl);function kI(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var pRe={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},UG=["lng","lat"],YG=function(e){Se(t,e);function t(n,r,a){var i=e.call(this,n)||this;i.dimensions=UG,i.type="geo",i._nameCoordMap=pt(),i.map=r;var o=a.projection,l=El.load(r,a.nameMap,a.nameProperty),s=El.getGeoResource(r);i.resourceType=s?s.type:null;var u=i.regions=l.regions,c=pRe[s.type];i._regionsMap=l.regionsMap,i.regions=l.regions,i.projection=o;var f;if(o)for(var d=0;d<u.length;d++){var h=u[d].getBoundingRect(o);f=f||h.clone(),f.union(h)}else f=l.boundingRect;return i.setBoundingRect(f.x,f.y,f.width,f.height),i.aspectScale=o?1:Ot(a.aspectScale,c.aspectScale),i._invertLongitute=o?!1:c.invertLongitute,i}return t.prototype._transformTo=function(n,r,a,i){var o=this.getBoundingRect(),l=this._invertLongitute;o=o.clone(),l&&(o.y=-o.y-o.height);var s=this._rawTransformable;s.transform=o.calculateTransform(new qt(n,r,a,i));var u=s.parent;s.parent=null,s.decomposeTransform(),s.parent=u,l&&(s.scaleY=-s.scaleY),this._updateTransform()},t.prototype.getRegion=function(n){return this._regionsMap.get(n)},t.prototype.getRegionByCoord=function(n){for(var r=this.regions,a=0;a<r.length;a++){var i=r[a];if(i.type==="geoJSON"&&i.contain(n))return r[a]}},t.prototype.addGeoCoord=function(n,r){this._nameCoordMap.set(n,r)},t.prototype.getGeoCoord=function(n){var r=this._regionsMap.get(n);return this._nameCoordMap.get(n)||r&&r.getCenter()},t.prototype.dataToPoint=function(n,r,a){if(it(n)&&(n=this.getGeoCoord(n)),n){var i=this.projection;return i&&(n=i.project(n)),n&&this.projectedToPoint(n,r,a)}},t.prototype.pointToData=function(n){var r=this.projection;return r&&(n=r.unproject(n)),n&&this.pointToProjected(n)},t.prototype.pointToProjected=function(n){return e.prototype.pointToData.call(this,n)},t.prototype.projectedToPoint=function(n,r,a){return e.prototype.dataToPoint.call(this,n,r,a)},t.prototype.convertToPixel=function(n,r,a){var i=zI(r);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(n,r,a){var i=zI(r);return i===this?i.pointToData(a):null},t}(Gp);sr(YG,Gp);function zI(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",rr).models[0]||{}).coordinateSystem:null}const MI=YG;function AI(e,t){var n=e.get("boundingCoords");if(n!=null){var r=n[0],a=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(a[0])&&isFinite(a[1])){var i=this.projection;if(i){var o=r[0],l=r[1],s=a[0],u=a[1];r=[1/0,1/0],a=[-1/0,-1/0];var c=function(S,C,T,z){for(var A=T-S,E=z-C,D=0;D<=100;D++){var $=D/100,O=i.project([S+A*$,C+E*$]);ws(r,r,O),xs(a,a,O)}};c(o,l,s,l),c(s,l,s,u),c(s,u,o,u),c(o,u,s,l)}this.setBoundingRect(r[0],r[1],a[0]-r[0],a[1]-r[1])}}var f=this.getBoundingRect(),d=e.get("layoutCenter"),h=e.get("layoutSize"),v=t.getWidth(),p=t.getHeight(),g=f.width/f.height*this.aspectScale,m=!1,b,_;d&&h&&(b=[et(d[0],v),et(d[1],p)],_=et(h,Math.min(v,p)),!isNaN(b[0])&&!isNaN(b[1])&&!isNaN(_)&&(m=!0));var w;if(m)w={},g>1?(w.width=_,w.height=_/g):(w.height=_,w.width=_*g),w.y=b[1]-w.height/2,w.x=b[0]-w.width/2;else{var x=e.getBoxLayoutParams();x.aspect=g,w=fr(x,{width:v,height:p})}this.setViewRect(w.x,w.y,w.width,w.height),this.setCenter(e.get("center"),t),this.setZoom(e.get("zoom"))}function gRe(e,t){K(t.get("geoCoord"),function(n,r){e.addGeoCoord(r,n)})}var mRe=function(){function e(){this.dimensions=UG}return e.prototype.create=function(t,n){var r=[];function a(o){return{nameProperty:o.get("nameProperty"),aspectScale:o.get("aspectScale"),projection:o.get("projection")}}t.eachComponent("geo",function(o,l){var s=o.get("map"),u=new MI(s+l,s,$e({nameMap:o.get("nameMap")},a(o)));u.zoomLimit=o.get("scaleLimit"),r.push(u),o.coordinateSystem=u,u.model=o,u.resize=AI,u.resize(o,n)}),t.eachSeries(function(o){var l=o.get("coordinateSystem");if(l==="geo"){var s=o.get("geoIndex")||0;o.coordinateSystem=r[s]}});var i={};return t.eachSeriesByType("map",function(o){if(!o.getHostGeoModel()){var l=o.getMapType();i[l]=i[l]||[],i[l].push(o)}}),K(i,function(o,l){var s=Ge(o,function(c){return c.get("nameMap")}),u=new MI(l,l,$e({nameMap:z6(s)},a(o[0])));u.zoomLimit=Mr.apply(null,Ge(o,function(c){return c.get("scaleLimit")})),r.push(u),u.resize=AI,u.resize(o[0],n),K(o,function(c){c.coordinateSystem=u,gRe(u,c)})}),r},e.prototype.getFilledRegions=function(t,n,r,a){for(var i=(t||[]).slice(),o=pt(),l=0;l<i.length;l++)o.set(i[l].name,i[l]);var s=El.load(n,r,a);return K(s.regions,function(u){var c=u.name;!o.get(c)&&i.push({name:c})}),i},e}(),KG=new mRe,yRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r,a){var i=El.getGeoResource(n.map);if(i&&i.type==="geoJSON"){var o=n.itemStyle=n.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(n,a),Nc(n,"label",["show"])},t.prototype.optionUpdated=function(){var n=this,r=this.option;r.regions=KG.getFilledRegions(r.regions,r.map,r.nameMap,r.nameProperty);var a={};this._optionModelMap=No(r.regions||[],function(i,o){var l=o.name;return l&&(i.set(l,new yn(o,n,n.ecModel)),o.selected&&(a[l]=!0)),i},pt()),r.selectedMap||(r.selectedMap=a)},t.prototype.getRegionModel=function(n){return this._optionModelMap.get(n)||new yn(null,this,this.ecModel)},t.prototype.getFormattedLabel=function(n,r){var a=this.getRegionModel(n),i=r==="normal"?a.get(["label","formatter"]):a.get(["emphasis","label","formatter"]),o={name:n};if(yt(i))return o.status=r,i(o);if(it(i))return i.replace("{a}",n??"")},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.select=function(n){var r=this.option,a=r.selectedMode;if(a){a!=="multiple"&&(r.selectedMap=null);var i=r.selectedMap||(r.selectedMap={});i[n]=!0}},t.prototype.unSelect=function(n){var r=this.option.selectedMap;r&&(r[n]=!1)},t.prototype.toggleSelected=function(n){this[this.isSelected(n)?"unSelect":"select"](n)},t.prototype.isSelected=function(n){var r=this.option.selectedMap;return!!(r&&r[n])},t.type="geo",t.layoutMode="box",t.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},t}(Qt);function EI(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function F8(e,t,n,r){var a=e.getZoom(),i=e.getCenter(),o=t.zoom,l=e.projectedToPoint?e.projectedToPoint(i):e.dataToPoint(i);if(t.dx!=null&&t.dy!=null&&(l[0]-=t.dx,l[1]-=t.dy,e.setCenter(EI(e,l),r)),o!=null){if(n){var s=n.min||0,u=n.max||1/0;o=Math.max(Math.min(a*o,u),s)/a}e.scaleX*=o,e.scaleY*=o;var c=(t.originX-e.x)*(o-1),f=(t.originY-e.y)*(o-1);e.x-=c,e.y-=f,e.updateTransform(),e.setCenter(EI(e,l),r),e.setZoom(o*a)}return{center:e.getCenter(),zoom:e.getZoom()}}var bRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.focusBlurEnabled=!0,n}return t.prototype.init=function(n,r){this._api=r},t.prototype.render=function(n,r,a,i){if(this._model=n,!n.get("show")){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;return}this._mapDraw||(this._mapDraw=new WG(a));var o=this._mapDraw;o.draw(n,r,a,this,i),o.group.on("click",this._handleRegionClick,this),o.group.silent=n.get("silent"),this.group.add(o.group),this.updateSelectStatus(n,r,a)},t.prototype._handleRegionClick=function(n){var r;uc(n.target,function(a){return(r=Dt(a).eventData)!=null},!0),r&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:r.name})},t.prototype.updateSelectStatus=function(n,r,a){var i=this;this._mapDraw.group.traverse(function(o){var l=Dt(o).eventData;if(l)return i._model.isSelected(l.name)?a.enterSelect(o):a.leaveSelect(o),!0})},t.prototype.findHighDownDispatchers=function(n){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(n,this._model)},t.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},t.type="geo",t}(Hn);function _Re(e,t,n){El.registerMap(e,t,n)}function XG(e){e.registerCoordinateSystem("geo",KG),e.registerComponentModel(yRe),e.registerComponentView(bRe),e.registerImpl("registerMap",_Re),e.registerImpl("getMap",function(n){return El.getMapForUser(n)});function t(n,r){r.update="geo:updateSelectStatus",e.registerAction(r,function(a,i){var o={},l=[];return i.eachComponent({mainType:"geo",query:a},function(s){s[n](a.name);var u=s.coordinateSystem;K(u.regions,function(f){o[f.name]=s.isSelected(f.name)||!1});var c=[];K(o,function(f,d){o[d]&&c.push(d)}),l.push({geoIndex:s.componentIndex,name:c})}),{selected:o,allSelected:l,name:a.name}})}t("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),t("select",{type:"geoSelect",event:"geoselected"}),t("unSelect",{type:"geoUnSelect",event:"geounselected"}),e.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},function(n,r,a){var i=n.componentType||"series";r.eachComponent({mainType:i,query:n},function(o){var l=o.coordinateSystem;if(l.type==="geo"){var s=F8(l,n,o.get("scaleLimit"),a);o.setCenter&&o.setCenter(s.center),o.setZoom&&o.setZoom(s.zoom),i==="series"&&K(o.seriesGroup,function(u){u.setCenter(s.center),u.setZoom(s.zoom)})}})})}function wRe(e){Kt(XG),e.registerChartView(cRe),e.registerSeriesModel(fRe),e.registerLayout(vRe),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,hRe),Xj("map",e.registerAction)}function xRe(e){var t=e;t.hierNode={defaultAncestor:null,ancestor:t,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n=[t],r,a;r=n.pop();)if(a=r.children,r.isExpand&&a.length)for(var i=a.length,o=i-1;o>=0;o--){var l=a[o];l.hierNode={defaultAncestor:null,ancestor:l,prelim:0,modifier:0,change:0,shift:0,i:o,thread:null},n.push(l)}}function SRe(e,t){var n=e.isExpand?e.children:[],r=e.parentNode.children,a=e.hierNode.i?r[e.hierNode.i-1]:null;if(n.length){kRe(e);var i=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;a?(e.hierNode.prelim=a.hierNode.prelim+t(e,a),e.hierNode.modifier=e.hierNode.prelim-i):e.hierNode.prelim=i}else a&&(e.hierNode.prelim=a.hierNode.prelim+t(e,a));e.parentNode.hierNode.defaultAncestor=zRe(e,a,e.parentNode.hierNode.defaultAncestor||r[0],t)}function CRe(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function II(e){return arguments.length?e:ERe}function bv(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function TRe(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function kRe(e){for(var t=e.children,n=t.length,r=0,a=0;--n>=0;){var i=t[n];i.hierNode.prelim+=r,i.hierNode.modifier+=r,a+=i.hierNode.change,r+=i.hierNode.shift+a}}function zRe(e,t,n,r){if(t){for(var a=e,i=e,o=i.parentNode.children[0],l=t,s=a.hierNode.modifier,u=i.hierNode.modifier,c=o.hierNode.modifier,f=l.hierNode.modifier;l=J_(l),i=Q_(i),l&&i;){a=J_(a),o=Q_(o),a.hierNode.ancestor=e;var d=l.hierNode.prelim+f-i.hierNode.prelim-u+r(l,i);d>0&&(ARe(MRe(l,e,n),e,d),u+=d,s+=d),f+=l.hierNode.modifier,u+=i.hierNode.modifier,s+=a.hierNode.modifier,c+=o.hierNode.modifier}l&&!J_(a)&&(a.hierNode.thread=l,a.hierNode.modifier+=f-s),i&&!Q_(o)&&(o.hierNode.thread=i,o.hierNode.modifier+=u-c,n=e)}return n}function J_(e){var t=e.children;return t.length&&e.isExpand?t[t.length-1]:e.hierNode.thread}function Q_(e){var t=e.children;return t.length&&e.isExpand?t[0]:e.hierNode.thread}function MRe(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function ARe(e,t,n){var r=n/(t.hierNode.i-e.hierNode.i);t.hierNode.change-=r,t.hierNode.shift+=n,t.hierNode.modifier+=n,t.hierNode.prelim+=n,e.hierNode.change+=r}function ERe(e,t){return e.parentNode===t.parentNode?1:2}var IRe=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),DRe=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new IRe},t.prototype.buildPath=function(n,r){var a=r.childPoints,i=a.length,o=r.parentPoint,l=a[0],s=a[i-1];if(i===1){n.moveTo(o[0],o[1]),n.lineTo(l[0],l[1]);return}var u=r.orient,c=u==="TB"||u==="BT"?0:1,f=1-c,d=et(r.forkPosition,1),h=[];h[c]=o[c],h[f]=o[f]+(s[f]-o[f])*d,n.moveTo(o[0],o[1]),n.lineTo(h[0],h[1]),n.moveTo(l[0],l[1]),h[c]=l[c],n.lineTo(h[0],h[1]),h[c]=s[c],n.lineTo(h[0],h[1]),n.lineTo(s[0],s[1]);for(var v=1;v<i-1;v++){var p=a[v];n.moveTo(p[0],p[1]),h[c]=p[c],n.lineTo(h[0],h[1])}},t}(Zt),LRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new At,n}return t.prototype.init=function(n,r){this._controller=new qp(r.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},t.prototype.render=function(n,r,a){var i=n.getData(),o=n.layoutInfo,l=this._mainGroup,s=n.get("layout");s==="radial"?(l.x=o.x+o.width/2,l.y=o.y+o.height/2):(l.x=o.x,l.y=o.y),this._updateViewCoordSys(n,a),this._updateController(n,r,a);var u=this._data;i.diff(u).add(function(c){DI(i,c)&&LI(i,c,null,l,n)}).update(function(c,f){var d=u.getItemGraphicEl(f);if(!DI(i,c)){d&&RI(u,f,d,l,n);return}LI(i,c,d,l,n)}).remove(function(c){var f=u.getItemGraphicEl(c);f&&RI(u,c,f,l,n)}).execute(),this._nodeScaleRatio=n.get("nodeScaleRatio"),this._updateNodeAndLinkScale(n),n.get("expandAndCollapse")===!0&&i.eachItemGraphicEl(function(c,f){c.off("click").on("click",function(){a.dispatchAction({type:"treeExpandAndCollapse",seriesId:n.id,dataIndex:f})})}),this._data=i},t.prototype._updateViewCoordSys=function(n,r){var a=n.getData(),i=[];a.each(function(f){var d=a.getItemLayout(f);d&&!isNaN(d.x)&&!isNaN(d.y)&&i.push([+d.x,+d.y])});var o=[],l=[];Jy(i,o,l);var s=this._min,u=this._max;l[0]-o[0]===0&&(o[0]=s?s[0]:o[0]-1,l[0]=u?u[0]:l[0]+1),l[1]-o[1]===0&&(o[1]=s?s[1]:o[1]-1,l[1]=u?u[1]:l[1]+1);var c=n.coordinateSystem=new Gp;c.zoomLimit=n.get("scaleLimit"),c.setBoundingRect(o[0],o[1],l[0]-o[0],l[1]-o[1]),c.setCenter(n.get("center"),r),c.setZoom(n.get("zoom")),this.group.attr({x:c.x,y:c.y,scaleX:c.scaleX,scaleY:c.scaleY}),this._min=o,this._max=l},t.prototype._updateController=function(n,r,a){var i=this,o=this._controller,l=this._controllerHost,s=this.group;o.setPointerChecker(function(u,c,f){var d=s.getBoundingRect();return d.applyTransform(s.transform),d.contain(c,f)&&!x3(u,a,n)}),o.enable(n.get("roam")),l.zoomLimit=n.get("scaleLimit"),l.zoom=n.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){$8(l,u.dx,u.dy),a.dispatchAction({seriesId:n.id,type:"treeRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){V8(l,u.scale,u.originX,u.originY),a.dispatchAction({seriesId:n.id,type:"treeRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(n),a.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(n){var r=n.getData(),a=this._getNodeGlobalScale(n);r.eachItemGraphicEl(function(i,o){i.setSymbolScale(a)})},t.prototype._getNodeGlobalScale=function(n){var r=n.coordinateSystem;if(r.type!=="view")return 1;var a=this._nodeScaleRatio,i=r.scaleX||1,o=r.getZoom(),l=(o-1)*a+1;return l/i},t.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},t.type="tree",t}(zn);function DI(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function LI(e,t,n,r,a){var i=!n,o=e.tree.getNodeByDataIndex(t),l=o.getModel(),s=o.getVisual("style").fill,u=o.isExpand===!1&&o.children.length!==0?s:"#fff",c=e.tree.root,f=o.parentNode===c?o:o.parentNode||o,d=e.getItemGraphicEl(f.dataIndex),h=f.getLayout(),v=d?{x:d.__oldX,y:d.__oldY,rawX:d.__radialOldRawX,rawY:d.__radialOldRawY}:h,p=o.getLayout();i?(n=new $p(e,t,null,{symbolInnerColor:u,useNameLabel:!0}),n.x=v.x,n.y=v.y):n.updateData(e,t,null,{symbolInnerColor:u,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=p.rawX,n.__radialRawY=p.rawY,r.add(n),e.setItemGraphicEl(t,n),n.__oldX=n.x,n.__oldY=n.y,un(n,{x:p.x,y:p.y},a);var g=n.getSymbolPath();if(a.get("layout")==="radial"){var m=c.children[0],b=m.getLayout(),_=m.children.length,w=void 0,x=void 0;if(p.x===b.x&&o.isExpand===!0&&m.children.length){var S={x:(m.children[0].getLayout().x+m.children[_-1].getLayout().x)/2,y:(m.children[0].getLayout().y+m.children[_-1].getLayout().y)/2};w=Math.atan2(S.y-b.y,S.x-b.x),w<0&&(w=Math.PI*2+w),x=S.x<b.x,x&&(w=w-Math.PI)}else w=Math.atan2(p.y-b.y,p.x-b.x),w<0&&(w=Math.PI*2+w),o.children.length===0||o.children.length!==0&&o.isExpand===!1?(x=p.x<b.x,x&&(w=w-Math.PI)):(x=p.x>b.x,x||(w=w-Math.PI));var C=x?"left":"right",T=l.getModel("label"),z=T.get("rotate"),A=z*(Math.PI/180),E=g.getTextContent();E&&(g.setTextConfig({position:T.get("position")||C,rotation:z==null?-w:A,origin:"center"}),E.setStyle("verticalAlign","middle"))}var D=l.get(["emphasis","focus"]),$=D==="relative"?am(o.getAncestorsIndices(),o.getDescendantIndices()):D==="ancestor"?o.getAncestorsIndices():D==="descendant"?o.getDescendantIndices():null;$&&(Dt(n).focus=$),PRe(a,o,c,n,v,h,p,r),n.__edge&&(n.onHoverStateChange=function(O){if(O!=="blur"){var R=o.parentNode&&e.getItemGraphicEl(o.parentNode.dataIndex);R&&R.hoverState===Ap||vm(n.__edge,O)}})}function PRe(e,t,n,r,a,i,o,l){var s=t.getModel(),u=e.get("edgeShape"),c=e.get("layout"),f=e.getOrient(),d=e.get(["lineStyle","curveness"]),h=e.get("edgeForkPosition"),v=s.getModel("lineStyle").getLineStyle(),p=r.__edge;if(u==="curve")t.parentNode&&t.parentNode!==n&&(p||(p=r.__edge=new Ep({shape:Ex(c,f,d,a,a)})),un(p,{shape:Ex(c,f,d,i,o)},e));else if(u==="polyline"&&c==="orthogonal"&&t!==n&&t.children&&t.children.length!==0&&t.isExpand===!0){for(var g=t.children,m=[],b=0;b<g.length;b++){var _=g[b].getLayout();m.push([_.x,_.y])}p||(p=r.__edge=new DRe({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:f,forkPosition:h}})),un(p,{shape:{parentPoint:[o.x,o.y],childPoints:m}},e)}p&&!(u==="polyline"&&!t.isExpand)&&(p.useStyle(_t({strokeNoScale:!0,fill:null},v)),Br(p,s,"lineStyle"),Bc(p),l.add(p))}function PI(e,t,n,r,a){var i=t.tree.root,o=ZG(i,e),l=o.source,s=o.sourceLayout,u=t.getItemGraphicEl(e.dataIndex);if(u){var c=t.getItemGraphicEl(l.dataIndex),f=c.__edge,d=u.__edge||(l.isExpand===!1||l.children.length===1?f:void 0),h=r.get("edgeShape"),v=r.get("layout"),p=r.get("orient"),g=r.get(["lineStyle","curveness"]);d&&(h==="curve"?Ks(d,{shape:Ex(v,p,g,s,s),style:{opacity:0}},r,{cb:function(){n.remove(d)},removeOpt:a}):h==="polyline"&&r.get("layout")==="orthogonal"&&Ks(d,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},r,{cb:function(){n.remove(d)},removeOpt:a}))}}function ZG(e,t){for(var n=t.parentNode===e?t:t.parentNode||t,r;r=n.getLayout(),r==null;)n=n.parentNode===e?n:n.parentNode||n;return{source:n,sourceLayout:r}}function RI(e,t,n,r,a){var i=e.tree.getNodeByDataIndex(t),o=e.tree.root,l=ZG(o,i).sourceLayout,s={duration:a.get("animationDurationUpdate"),easing:a.get("animationEasingUpdate")};Ks(n,{x:l.x+1,y:l.y+1},a,{cb:function(){r.remove(n),e.setItemGraphicEl(t,null)},removeOpt:s}),n.fadeOut(null,e.hostModel,{fadeLabel:!0,animation:s}),i.children.forEach(function(u){PI(u,e,r,a,s)}),PI(i,e,r,a,s)}function Ex(e,t,n,r,a){var i,o,l,s,u,c,f,d;if(e==="radial"){u=r.rawX,f=r.rawY,c=a.rawX,d=a.rawY;var h=bv(u,f),v=bv(u,f+(d-f)*n),p=bv(c,d+(f-d)*n),g=bv(c,d);return{x1:h.x||0,y1:h.y||0,x2:g.x||0,y2:g.y||0,cpx1:v.x||0,cpy1:v.y||0,cpx2:p.x||0,cpy2:p.y||0}}else u=r.x,f=r.y,c=a.x,d=a.y,(t==="LR"||t==="RL")&&(i=u+(c-u)*n,o=f,l=c+(u-c)*n,s=d),(t==="TB"||t==="BT")&&(i=u,o=f+(d-f)*n,l=c,s=d+(f-d)*n);return{x1:u,y1:f,x2:c,y2:d,cpx1:i,cpy1:o,cpx2:l,cpy2:s}}var _i=an();function JG(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,QG(t,n,e),K(n,function(r){K(t.TRANSFERABLE_METHODS,function(a){r.wrapMethod(a,$t(RRe,e))})}),t.wrapMethod("cloneShallow",$t(NRe,e)),K(t.CHANGABLE_METHODS,function(r){t.wrapMethod(r,$t(ORe,e))}),ha(n[t.dataType]===t)}function RRe(e,t){if(BRe(this)){var n=$e({},_i(this).datas);n[this.dataType]=t,QG(t,n,e)}else H8(t,this.dataType,_i(this).mainData,e);return t}function ORe(e,t){return e.struct&&e.struct.update(),t}function NRe(e,t){return K(_i(t).datas,function(n,r){n!==t&&H8(n.cloneShallow(),r,t,e)}),t}function $Re(e){var t=_i(this).mainData;return e==null||t==null?t:_i(t).datas[e]}function VRe(){var e=_i(this).mainData;return e==null?[{data:e}]:Ge(tn(_i(e).datas),function(t){return{type:t,data:_i(e).datas[t]}})}function BRe(e){return _i(e).mainData===e}function QG(e,t,n){_i(e).datas={},K(t,function(r,a){H8(r,a,e,n)})}function H8(e,t,n,r){_i(n).datas[t]=e,_i(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=$Re,e.getLinkedDataAll=VRe}var FRe=function(){function e(t,n){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=n}return e.prototype.isRemoved=function(){return this.dataIndex<0},e.prototype.eachNode=function(t,n,r){yt(t)&&(r=n,n=t,t=null),t=t||{},it(t)&&(t={order:t});var a=t.order||"preorder",i=this[t.attr||"children"],o;a==="preorder"&&(o=n.call(r,this));for(var l=0;!o&&l<i.length;l++)i[l].eachNode(t,n,r);a==="postorder"&&n.call(r,this)},e.prototype.updateDepthAndHeight=function(t){var n=0;this.depth=t;for(var r=0;r<this.children.length;r++){var a=this.children[r];a.updateDepthAndHeight(t+1),a.height>n&&(n=a.height)}this.height=n+1},e.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var n=0,r=this.children,a=r.length;n<a;n++){var i=r[n].getNodeById(t);if(i)return i}},e.prototype.contains=function(t){if(t===this)return!0;for(var n=0,r=this.children,a=r.length;n<a;n++){var i=r[n].contains(t);if(i)return i}},e.prototype.getAncestors=function(t){for(var n=[],r=t?this:this.parentNode;r;)n.push(r),r=r.parentNode;return n.reverse(),n},e.prototype.getAncestorsIndices=function(){for(var t=[],n=this;n;)t.push(n.dataIndex),n=n.parentNode;return t.reverse(),t},e.prototype.getDescendantIndices=function(){var t=[];return this.eachNode(function(n){t.push(n.dataIndex)}),t},e.prototype.getValue=function(t){var n=this.hostTree.data;return n.getStore().get(n.getDimensionIndex(t||"value"),this.dataIndex)},e.prototype.setLayout=function(t,n){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,n)},e.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var n=this.hostTree,r=n.data.getItemModel(this.dataIndex);return r.getModel(t)}},e.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},e.prototype.setVisual=function(t,n){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,n)},e.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},e.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},e.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},e.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,n=0;n<t.length;++n)if(t[n]===this)return n;return-1}return-1},e.prototype.isAncestorOf=function(t){for(var n=t.parentNode;n;){if(n===this)return!0;n=n.parentNode}return!1},e.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},e}(),j8=function(){function e(t){this.type="tree",this._nodes=[],this.hostModel=t}return e.prototype.eachNode=function(t,n,r){this.root.eachNode(t,n,r)},e.prototype.getNodeByDataIndex=function(t){var n=this.data.getRawIndex(t);return this._nodes[n]},e.prototype.getNodeById=function(t){return this.root.getNodeById(t)},e.prototype.update=function(){for(var t=this.data,n=this._nodes,r=0,a=n.length;r<a;r++)n[r].dataIndex=-1;for(var r=0,a=t.count();r<a;r++)n[t.getRawIndex(r)].dataIndex=r},e.prototype.clearLayouts=function(){this.data.clearItemLayouts()},e.createTree=function(t,n,r){var a=new e(n),i=[],o=1;l(t);function l(c,f){var d=c.value;o=Math.max(o,He(d)?d.length:1),i.push(c);var h=new FRe(ur(c.name,""),a);f?HRe(h,f):a.root=h,a._nodes.push(h);var v=c.children;if(v)for(var p=0;p<v.length;p++)l(v[p],h)}a.root.updateDepthAndHeight(0);var s=Op(i,{coordDimensions:["value"],dimensionsCount:o}).dimensions,u=new ua(s,n);return u.initData(i),r&&r(u),JG({mainData:u,struct:a,structAttr:"tree"}),a.update(),a},e}();function HRe(e,t){var n=t.children;e.parentNode!==t&&(n.push(e),e.parentNode=t)}function J1(e,t,n){if(e&&Yt(t,e.type)>=0){var r=n.getData().tree.root,a=e.targetNode;if(it(a)&&(a=r.getNodeById(a)),a&&r.contains(a))return{node:a};var i=e.targetNodeId;if(i!=null&&(a=r.getNodeById(i)))return{node:a}}}function eW(e){for(var t=[];e;)e=e.parentNode,e&&t.push(e);return t.reverse()}function q8(e,t){var n=eW(e);return Yt(n,t)>=0}function C3(e,t){for(var n=[];e;){var r=e.dataIndex;n.push({name:e.name,dataIndex:r,value:t.getRawValue(r)}),e=e.parentNode}return n.reverse(),n}var jRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.hasSymbolVisual=!0,n.ignoreStyleOnData=!0,n}return t.prototype.getInitialData=function(n){var r={name:n.name,children:n.data},a=n.leaves||{},i=new yn(a,this,this.ecModel),o=j8.createTree(r,this,l);function l(f){f.wrapMethod("getItemModel",function(d,h){var v=o.getNodeByDataIndex(h);return v&&v.children.length&&v.isExpand||(d.parentModel=i),d})}var s=0;o.eachNode("preorder",function(f){f.depth>s&&(s=f.depth)});var u=n.expandAndCollapse,c=u&&n.initialTreeDepth>=0?n.initialTreeDepth:s;return o.root.eachNode("preorder",function(f){var d=f.hostTree.data.getRawDataItem(f.dataIndex);f.isExpand=d&&d.collapsed!=null?!d.collapsed:f.depth<=c}),o.data},t.prototype.getOrient=function(){var n=this.get("orient");return n==="horizontal"?n="LR":n==="vertical"&&(n="TB"),n},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.formatTooltip=function(n,r,a){for(var i=this.getData().tree,o=i.root.children[0],l=i.getNodeByDataIndex(n),s=l.getValue(),u=l.name;l&&l!==o;)u=l.parentNode.name+"."+u,l=l.parentNode;return Cr("nameValue",{name:u,value:s,noValue:isNaN(s)||s==null})},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(n);return r.treeAncestors=C3(a,this),r.collapsed=!a.isExpand,r},t.type="series.tree",t.layoutMode="box",t.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},t}(Ln);function qRe(e,t,n){for(var r=[e],a=[],i;i=r.pop();)if(a.push(i),i.isExpand){var o=i.children;if(o.length)for(var l=0;l<o.length;l++)r.push(o[l])}for(;i=a.pop();)t(i,n)}function Qh(e,t){for(var n=[e],r;r=n.pop();)if(t(r),r.isExpand){var a=r.children;if(a.length)for(var i=a.length-1;i>=0;i--)n.push(a[i])}}function GRe(e,t){e.eachSeriesByType("tree",function(n){WRe(n,t)})}function WRe(e,t){var n=TRe(e,t);e.layoutInfo=n;var r=e.get("layout"),a=0,i=0,o=null;r==="radial"?(a=2*Math.PI,i=Math.min(n.height,n.width)/2,o=II(function(_,w){return(_.parentNode===w.parentNode?1:2)/_.depth})):(a=n.width,i=n.height,o=II());var l=e.getData().tree.root,s=l.children[0];if(s){xRe(l),qRe(s,SRe,o),l.hierNode.modifier=-s.hierNode.prelim,Qh(s,CRe);var u=s,c=s,f=s;Qh(s,function(_){var w=_.getLayout().x;w<u.getLayout().x&&(u=_),w>c.getLayout().x&&(c=_),_.depth>f.depth&&(f=_)});var d=u===c?1:o(u,c)/2,h=d-u.getLayout().x,v=0,p=0,g=0,m=0;if(r==="radial")v=a/(c.getLayout().x+d+h),p=i/(f.depth-1||1),Qh(s,function(_){g=(_.getLayout().x+h)*v,m=(_.depth-1)*p;var w=bv(g,m);_.setLayout({x:w.x,y:w.y,rawX:g,rawY:m},!0)});else{var b=e.getOrient();b==="RL"||b==="LR"?(p=i/(c.getLayout().x+d+h),v=a/(f.depth-1||1),Qh(s,function(_){m=(_.getLayout().x+h)*p,g=b==="LR"?(_.depth-1)*v:a-(_.depth-1)*v,_.setLayout({x:g,y:m},!0)})):(b==="TB"||b==="BT")&&(v=a/(c.getLayout().x+d+h),p=i/(f.depth-1||1),Qh(s,function(_){g=(_.getLayout().x+h)*v,m=b==="TB"?(_.depth-1)*p:i-(_.depth-1)*p,_.setLayout({x:g,y:m},!0)}))}}}function URe(e){e.eachSeriesByType("tree",function(t){var n=t.getData(),r=n.tree;r.eachNode(function(a){var i=a.getModel(),o=i.getModel("itemStyle").getItemStyle(),l=n.ensureUniqueItemVisual(a.dataIndex,"style");$e(l,o)})})}function YRe(e){e.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},function(t,n){n.eachComponent({mainType:"series",subType:"tree",query:t},function(r){var a=t.dataIndex,i=r.getData().tree,o=i.getNodeByDataIndex(a);o.isExpand=!o.isExpand})}),e.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},function(t,n,r){n.eachComponent({mainType:"series",subType:"tree",query:t},function(a){var i=a.coordinateSystem,o=F8(i,t,void 0,r);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}function KRe(e){e.registerChartView(LRe),e.registerSeriesModel(jRe),e.registerLayout(GRe),e.registerVisual(URe),YRe(e)}var OI=["treemapZoomToNode","treemapRender","treemapMove"];function XRe(e){for(var t=0;t<OI.length;t++)e.registerAction({type:OI[t],update:"updateView"},er);e.registerAction({type:"treemapRootToNode",update:"updateView"},function(n,r){r.eachComponent({mainType:"series",subType:"treemap",query:n},a);function a(i,o){var l=["treemapZoomToNode","treemapRootToNode"],s=J1(n,l,i);if(s){var u=i.getViewRoot();u&&(n.direction=q8(u,s.node)?"rollUp":"drillDown"),i.resetViewRoot(s.node)}}})}function tW(e){var t=e.getData(),n=t.tree,r={};n.eachNode(function(a){for(var i=a;i&&i.depth>1;)i=i.parentNode;var o=ax(e.ecModel,i.name||i.dataIndex+"",r);a.setVisual("decal",o)})}var ZRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.preventUsingHoverLayer=!0,n}return t.prototype.getInitialData=function(n,r){var a={name:n.name,children:n.data};nW(a);var i=n.levels||[],o=this.designatedVisualItemStyle={},l=new yn({itemStyle:o},this,r);i=n.levels=JRe(i,r);var s=Ge(i||[],function(f){return new yn(f,l,r)},this),u=j8.createTree(a,this,c);function c(f){f.wrapMethod("getItemModel",function(d,h){var v=u.getNodeByDataIndex(h),p=v?s[v.depth]:null;return d.parentModel=p||l,d})}return u.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.formatTooltip=function(n,r,a){var i=this.getData(),o=this.getRawValue(n),l=i.getName(n);return Cr("nameValue",{name:l,value:o})},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(n);return r.treeAncestors=C3(a,this),r.treePathInfo=r.treeAncestors,r},t.prototype.setLayoutInfo=function(n){this.layoutInfo=this.layoutInfo||{},$e(this.layoutInfo,n)},t.prototype.mapIdToIndex=function(n){var r=this._idIndexMap;r||(r=this._idIndexMap=pt(),this._idIndexMapCount=0);var a=r.get(n);return a==null&&r.set(n,a=this._idIndexMapCount++),a},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var r=this.getRawData().tree.root;(!n||n!==r&&!r.contains(n))&&(this._viewRoot=r)},t.prototype.enableAriaDecal=function(){tW(this)},t.type="series.treemap",t.layoutMode="box",t.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.32*.32,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},t}(Ln);function nW(e){var t=0;K(e.children,function(r){nW(r);var a=r.value;He(a)&&(a=a[0]),t+=a});var n=e.value;He(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=t),n<0&&(n=0),He(e.value)?e.value[0]=n:e.value=n}function JRe(e,t){var n=Cn(t.get("color")),r=Cn(t.get(["aria","decal","decals"]));if(n){e=e||[];var a,i;K(e,function(l){var s=new yn(l),u=s.get("color"),c=s.get("decal");(s.get(["itemStyle","color"])||u&&u!=="none")&&(a=!0),(s.get(["itemStyle","decal"])||c&&c!=="none")&&(i=!0)});var o=e[0]||(e[0]={});return a||(o.color=n.slice()),!i&&r&&(o.decal=r.slice()),e}}var QRe=8,NI=8,e9=5,eOe=function(){function e(t){this.group=new At,t.add(this.group)}return e.prototype.render=function(t,n,r,a){var i=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),!(!i.get("show")||!r)){var l=i.getModel("itemStyle"),s=i.getModel("emphasis"),u=l.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),f={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:n.getWidth(),height:n.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(r,f,u),this._renderContent(t,f,l,s,u,c,a),f3(o,f.pos,f.box)}},e.prototype._prepare=function(t,n,r){for(var a=t;a;a=a.parentNode){var i=ur(a.getModel().get("name"),""),o=r.getTextRect(i),l=Math.max(o.width+QRe*2,n.emptyItemWidth);n.totalWidth+=l+NI,n.renderList.push({node:a,text:i,width:l})}},e.prototype._renderContent=function(t,n,r,a,i,o,l){for(var s=0,u=n.emptyItemWidth,c=t.get(["breadcrumb","height"]),f=cMe(n.pos,n.box),d=n.totalWidth,h=n.renderList,v=a.getModel("itemStyle").getItemStyle(),p=h.length-1;p>=0;p--){var g=h[p],m=g.node,b=g.width,_=g.text;d>f.width&&(d-=b-u,b=u,_=null);var w=new ga({shape:{points:tOe(s,0,b,c,p===h.length-1,p===0)},style:_t(r.getItemStyle(),{lineJoin:"bevel"}),textContent:new on({style:In(i,{text:_})}),textConfig:{position:"inside"},z2:uh*1e4,onclick:$t(l,m)});w.disableLabelAnimation=!0,w.getTextContent().ensureState("emphasis").style=In(o,{text:_}),w.ensureState("emphasis").style=v,Kn(w,a.get("focus"),a.get("blurScope"),a.get("disabled")),this.group.add(w),nOe(w,t,m),s+=b+NI}},e.prototype.remove=function(){this.group.removeAll()},e}();function tOe(e,t,n,r,a,i){var o=[[a?e:e-e9,t],[e+n,t],[e+n,t+r],[a?e:e-e9,t+r]];return!i&&o.splice(2,0,[e+n+e9,t+r/2]),!a&&o.push([e,t+r/2]),o}function nOe(e,t,n){Dt(e).eventData={componentType:"series",componentSubType:"treemap",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&C3(n,t)}}var rOe=function(){function e(){this._storage=[],this._elExistsMap={}}return e.prototype.add=function(t,n,r,a,i){return this._elExistsMap[t.id]?!1:(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:n,duration:r,delay:a,easing:i}),!0)},e.prototype.finished=function(t){return this._finishedCallback=t,this},e.prototype.start=function(){for(var t=this,n=this._storage.length,r=function(){n--,n<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},a=0,i=this._storage.length;a<i;a++){var o=this._storage[a];o.el.animateTo(o.target,{duration:o.duration,delay:o.delay,easing:o.easing,setToFinal:!0,done:r,aborted:r})}return this},e}();function aOe(){return new rOe}var Ix=At,$I=rn,VI=3,BI="label",FI="upperLabel",iOe=uh*10,oOe=uh*2,lOe=uh*3,Fu=Vc([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),HI=function(e){var t=Fu(e);return t.stroke=t.fill=t.lineWidth=null,t},Om=an(),sOe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._state="ready",n._storage=ev(),n}return t.prototype.render=function(n,r,a,i){var o=r.findComponents({mainType:"series",subType:"treemap",query:i});if(!(Yt(o,n)<0)){this.seriesModel=n,this.api=a,this.ecModel=r;var l=["treemapZoomToNode","treemapRootToNode"],s=J1(i,l,n),u=i&&i.type,c=n.layoutInfo,f=!this._oldTree,d=this._storage,h=u==="treemapRootToNode"&&s&&d?{rootNodeGroup:d.nodeGroup[s.node.getRawIndex()],direction:i.direction}:null,v=this._giveContainerGroup(c),p=n.get("animation"),g=this._doRender(v,n,h);p&&!f&&(!u||u==="treemapZoomToNode"||u==="treemapRootToNode")?this._doAnimation(v,g,n,h):g.renderFinally(),this._resetController(a),this._renderBreadcrumb(n,a,s)}},t.prototype._giveContainerGroup=function(n){var r=this._containerGroup;return r||(r=this._containerGroup=new Ix,this._initEvents(r),this.group.add(r)),r.x=n.x,r.y=n.y,r},t.prototype._doRender=function(n,r,a){var i=r.getData().tree,o=this._oldTree,l=ev(),s=ev(),u=this._storage,c=[];function f(b,_,w,x){return uOe(r,s,u,a,l,c,b,_,w,x)}p(i.root?[i.root]:[],o&&o.root?[o.root]:[],n,i===o||!o,0);var d=g(u);if(this._oldTree=i,this._storage=s,this._controllerHost){var h=this.seriesModel.layoutInfo,v=i.root.getLayout();v.width===h.width&&v.height===h.height&&(this._controllerHost.zoom=1)}return{lastsForAnimation:l,willDeleteEls:d,renderFinally:m};function p(b,_,w,x,S){x?(_=b,K(b,function(z,A){!z.isRemoved()&&T(A,A)})):new Ml(_,b,C,C).add(T).update(T).remove($t(T,null)).execute();function C(z){return z.getId()}function T(z,A){var E=z!=null?b[z]:null,D=A!=null?_[A]:null,$=f(E,D,w,S);$&&p(E&&E.viewChildren||[],D&&D.viewChildren||[],$,x,S+1)}}function g(b){var _=ev();return b&&K(b,function(w,x){var S=_[x];K(w,function(C){C&&(S.push(C),Om(C).willDelete=!0)})}),_}function m(){K(d,function(b){K(b,function(_){_.parent&&_.parent.remove(_)})}),K(c,function(b){b.invisible=!0,b.dirty()})}},t.prototype._doAnimation=function(n,r,a,i){var o=a.get("animationDurationUpdate"),l=a.get("animationEasing"),s=(yt(o)?0:o)||0,u=(yt(l)?null:l)||"cubicOut",c=aOe();K(r.willDeleteEls,function(f,d){K(f,function(h,v){if(!h.invisible){var p=h.parent,g,m=Om(p);if(i&&i.direction==="drillDown")g=p===i.rootNodeGroup?{shape:{x:0,y:0,width:m.nodeWidth,height:m.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var b=0,_=0;m.willDelete||(b=m.nodeWidth/2,_=m.nodeHeight/2),g=d==="nodeGroup"?{x:b,y:_,style:{opacity:0}}:{shape:{x:b,y:_,width:0,height:0},style:{opacity:0}}}g&&c.add(h,g,s,0,u)}})}),K(this._storage,function(f,d){K(f,function(h,v){var p=r.lastsForAnimation[d][v],g={};p&&(h instanceof At?p.oldX!=null&&(g.x=h.x,g.y=h.y,h.x=p.oldX,h.y=p.oldY):(p.oldShape&&(g.shape=$e({},h.shape),h.setShape(p.oldShape)),p.fadein?(h.setStyle("opacity",0),g.style={opacity:1}):h.style.opacity!==1&&(g.style={opacity:1})),c.add(h,g,s,0,u))})},this),this._state="animating",c.finished(lt(function(){this._state="ready",r.renderFinally()},this)).start()},t.prototype._resetController=function(n){var r=this._controller,a=this._controllerHost;a||(this._controllerHost={target:this.group},a=this._controllerHost),r||(r=this._controller=new qp(n.getZr()),r.enable(this.seriesModel.get("roam")),a.zoomLimit=this.seriesModel.get("scaleLimit"),a.zoom=this.seriesModel.get("zoom"),r.on("pan",lt(this._onPan,this)),r.on("zoom",lt(this._onZoom,this)));var i=new qt(0,0,n.getWidth(),n.getHeight());r.setPointerChecker(function(o,l,s){return i.contain(l,s)})},t.prototype._clearController=function(){var n=this._controller;this._controllerHost=null,n&&(n.dispose(),n=null)},t.prototype._onPan=function(n){if(this._state!=="animating"&&(Math.abs(n.dx)>VI||Math.abs(n.dy)>VI)){var r=this.seriesModel.getData().tree.root;if(!r)return;var a=r.getLayout();if(!a)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x+n.dx,y:a.y+n.dy,width:a.width,height:a.height}})}},t.prototype._onZoom=function(n){var r=n.originX,a=n.originY,i=n.scale;if(this._state!=="animating"){var o=this.seriesModel.getData().tree.root;if(!o)return;var l=o.getLayout();if(!l)return;var s=new qt(l.x,l.y,l.width,l.height),u=null,c=this._controllerHost;u=c.zoomLimit;var f=c.zoom=c.zoom||1;if(f*=i,u){var d=u.min||0,h=u.max||1/0;f=Math.max(Math.min(h,f),d)}var v=f/c.zoom;c.zoom=f;var p=this.seriesModel.layoutInfo;r-=p.x,a-=p.y;var g=Ga();$o(g,g,[-r,-a]),D6(g,g,[v,v]),$o(g,g,[r,a]),s.applyTransform(g),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:s.x,y:s.y,width:s.width,height:s.height}})}},t.prototype._initEvents=function(n){var r=this;n.on("click",function(a){if(r._state==="ready"){var i=r.seriesModel.get("nodeClick",!0);if(i){var o=r.findTarget(a.offsetX,a.offsetY);if(o){var l=o.node;if(l.getLayout().isLeafRoot)r._rootToNode(o);else if(i==="zoomToNode")r._zoomToNode(o);else if(i==="link"){var s=l.hostTree.data.getItemModel(l.dataIndex),u=s.get("link",!0),c=s.get("target",!0)||"blank";u&&_m(u,c)}}}}},this)},t.prototype._renderBreadcrumb=function(n,r,a){var i=this;a||(a=n.get("leafDepth",!0)!=null?{node:n.getViewRoot()}:this.findTarget(r.getWidth()/2,r.getHeight()/2),a||(a={node:n.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new eOe(this.group))).render(n,r,a.node,function(o){i._state!=="animating"&&(q8(n.getViewRoot(),o)?i._rootToNode({node:o}):i._zoomToNode({node:o}))})},t.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=ev(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},t.prototype.dispose=function(){this._clearController()},t.prototype._zoomToNode=function(n){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},t.prototype._rootToNode=function(n){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:n.node})},t.prototype.findTarget=function(n,r){var a,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},function(o){var l=this._storage.background[o.getRawIndex()];if(l){var s=l.transformCoordToLocal(n,r),u=l.shape;if(u.x<=s[0]&&s[0]<=u.x+u.width&&u.y<=s[1]&&s[1]<=u.y+u.height)a={node:o,offsetX:s[0],offsetY:s[1]};else return!1}},this),a},t.type="treemap",t}(zn);function ev(){return{nodeGroup:[],background:[],content:[]}}function uOe(e,t,n,r,a,i,o,l,s,u){if(!o)return;var c=o.getLayout(),f=e.getData(),d=o.getModel();if(f.setItemGraphicEl(o.dataIndex,null),!c||!c.isInView)return;var h=c.width,v=c.height,p=c.borderWidth,g=c.invisible,m=o.getRawIndex(),b=l&&l.getRawIndex(),_=o.viewChildren,w=c.upperHeight,x=_&&_.length,S=d.getModel("itemStyle"),C=d.getModel(["emphasis","itemStyle"]),T=d.getModel(["blur","itemStyle"]),z=d.getModel(["select","itemStyle"]),A=S.get("borderRadius")||0,E=ue("nodeGroup",Ix);if(!E)return;if(s.add(E),E.x=c.x||0,E.y=c.y||0,E.markRedraw(),Om(E).nodeWidth=h,Om(E).nodeHeight=v,c.isAboveViewRoot)return E;var D=ue("background",$I,u,oOe);D&&P(E,D,x&&c.upperLabelHeight);var $=d.getModel("emphasis"),O=$.get("focus"),R=$.get("blurScope"),N=$.get("disabled"),B=O==="ancestor"?o.getAncestorsIndices():O==="descendant"?o.getDescendantIndices():O;if(x)V1(E)&&lc(E,!1),D&&(lc(D,!N),f.setItemGraphicEl(o.dataIndex,D),Xw(D,B,R));else{var V=ue("content",$I,u,lOe);V&&W(E,V),D.disableMorphing=!0,D&&V1(D)&&lc(D,!1),lc(E,!N),f.setItemGraphicEl(o.dataIndex,E),Xw(E,B,R)}return E;function P(ae,ie,ve){var ce=Dt(ie);if(ce.dataIndex=o.dataIndex,ce.seriesIndex=e.seriesIndex,ie.setShape({x:0,y:0,width:h,height:v,r:A}),g)Z(ie);else{ie.invisible=!1;var fe=o.getVisual("style"),xe=fe.stroke,J=HI(S);J.fill=xe;var oe=Fu(C);oe.fill=C.get("borderColor");var pe=Fu(T);pe.fill=T.get("borderColor");var Te=Fu(z);if(Te.fill=z.get("borderColor"),ve){var ge=h-2*p;ee(ie,xe,fe.opacity,{x:p,y:0,width:ge,height:w})}else ie.removeTextContent();ie.setStyle(J),ie.ensureState("emphasis").style=oe,ie.ensureState("blur").style=pe,ie.ensureState("select").style=Te,Bc(ie)}ae.add(ie)}function W(ae,ie){var ve=Dt(ie);ve.dataIndex=o.dataIndex,ve.seriesIndex=e.seriesIndex;var ce=Math.max(h-2*p,0),fe=Math.max(v-2*p,0);if(ie.culling=!0,ie.setShape({x:p,y:p,width:ce,height:fe,r:A}),g)Z(ie);else{ie.invisible=!1;var xe=o.getVisual("style"),J=xe.fill,oe=HI(S);oe.fill=J,oe.decal=xe.decal;var pe=Fu(C),Te=Fu(T),ge=Fu(z);ee(ie,J,xe.opacity,null),ie.setStyle(oe),ie.ensureState("emphasis").style=pe,ie.ensureState("blur").style=Te,ie.ensureState("select").style=ge,Bc(ie)}ae.add(ie)}function Z(ae){!ae.invisible&&i.push(ae)}function ee(ae,ie,ve,ce){var fe=d.getModel(ce?FI:BI),xe=ur(d.get("name"),null),J=fe.getShallow("show");Fr(ae,Sr(d,ce?FI:BI),{defaultText:J?xe:null,inheritColor:ie,defaultOpacity:ve,labelFetcher:e,labelDataIndex:o.dataIndex});var oe=ae.getTextContent();if(oe){var pe=oe.style,Te=A6(pe.padding||0);ce&&(ae.setTextConfig({layoutRect:ce}),oe.disableLabelLayout=!0),oe.beforeUpdate=function(){var Ae=Math.max((ce?ce.width:ae.shape.width)-Te[1]-Te[3],0),De=Math.max((ce?ce.height:ae.shape.height)-Te[0]-Te[2],0);(pe.width!==Ae||pe.height!==De)&&oe.setStyle({width:Ae,height:De})},pe.truncateMinChar=2,pe.lineOverflow="truncate",re(pe,ce,c);var ge=oe.getState("emphasis");re(ge?ge.style:null,ce,c)}}function re(ae,ie,ve){var ce=ae?ae.text:null;if(!ie&&ve.isLeafRoot&&ce!=null){var fe=e.get("drillDownIcon",!0);ae.text=fe?fe+" "+ce:ce}}function ue(ae,ie,ve,ce){var fe=b!=null&&n[ae][b],xe=a[ae];return fe?(n[ae][b]=null,ye(xe,fe)):g||(fe=new ie,fe instanceof zi&&(fe.z2=cOe(ve,ce)),le(xe,fe)),t[ae][m]=fe}function ye(ae,ie){var ve=ae[m]={};ie instanceof Ix?(ve.oldX=ie.x,ve.oldY=ie.y):ve.oldShape=$e({},ie.shape)}function le(ae,ie){var ve=ae[m]={},ce=o.parentNode,fe=ie instanceof At;if(ce&&(!r||r.direction==="drillDown")){var xe=0,J=0,oe=a.background[ce.getRawIndex()];!r&&oe&&oe.oldShape&&(xe=oe.oldShape.width,J=oe.oldShape.height),fe?(ve.oldX=0,ve.oldY=J):ve.oldShape={x:xe,y:J,width:0,height:0}}ve.fadein=!fe}}function cOe(e,t){return e*iOe+t}var Q1=K,fOe=wt,Nm=-1,wr=function(){function e(t){var n=t.mappingMethod,r=t.type,a=this.option=kt(t);this.type=r,this.mappingMethod=n,this._normalizeData=vOe[n];var i=e.visualHandlers[r];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[n],n==="piecewise"?(t9(a),dOe(a)):n==="category"?a.categories?hOe(a):t9(a,!0):(ha(n!=="linear"||a.dataExtent),t9(a))}return e.prototype.mapValueToVisual=function(t){var n=this._normalizeData(t);return this._normalizedToVisual(n,t)},e.prototype.getNormalizer=function(){return lt(this._normalizeData,this)},e.listVisualTypes=function(){return tn(e.visualHandlers)},e.isValidType=function(t){return e.visualHandlers.hasOwnProperty(t)},e.eachVisual=function(t,n,r){wt(t)?K(t,n,r):n.call(r,t)},e.mapVisual=function(t,n,r){var a,i=He(t)?[]:wt(t)?{}:(a=!0,null);return e.eachVisual(t,function(o,l){var s=n.call(r,o,l);a?i=s:i[l]=s}),i},e.retrieveVisuals=function(t){var n={},r;return t&&Q1(e.visualHandlers,function(a,i){t.hasOwnProperty(i)&&(n[i]=t[i],r=!0)}),r?n:null},e.prepareVisualTypes=function(t){if(He(t))t=t.slice();else if(fOe(t)){var n=[];Q1(t,function(r,a){n.push(a)}),t=n}else return[];return t.sort(function(r,a){return a==="color"&&r!=="color"&&r.indexOf("color")===0?1:-1}),t},e.dependsOn=function(t,n){return n==="color"?!!(t&&t.indexOf(n)===0):t===n},e.findPieceIndex=function(t,n,r){for(var a,i=1/0,o=0,l=n.length;o<l;o++){var s=n[o].value;if(s!=null){if(s===t||it(s)&&s===t+"")return o;r&&d(s,o)}}for(var o=0,l=n.length;o<l;o++){var u=n[o],c=u.interval,f=u.close;if(c){if(c[0]===-1/0){if(h0(f[1],t,c[1]))return o}else if(c[1]===1/0){if(h0(f[0],c[0],t))return o}else if(h0(f[0],c[0],t)&&h0(f[1],t,c[1]))return o;r&&d(c[0],o),r&&d(c[1],o)}}if(r)return t===1/0?n.length-1:t===-1/0?0:a;function d(h,v){var p=Math.abs(h-t);p<i&&(i=p,a=v)}},e.visualHandlers={color:{applyVisual:tv("color"),getColorMapper:function(){var t=this.option;return lt(t.mappingMethod==="category"?function(n,r){return!r&&(n=this._normalizeData(n)),_v.call(this,n)}:function(n,r,a){var i=!!a;return!r&&(n=this._normalizeData(n)),a=Rb(n,t.parsedVisual,a),i?a:gl(a,"rgba")},this)},_normalizedToVisual:{linear:function(t){return gl(Rb(t,this.option.parsedVisual),"rgba")},category:_v,piecewise:function(t,n){var r=Lx.call(this,n);return r==null&&(r=gl(Rb(t,this.option.parsedVisual),"rgba")),r},fixed:Hu}},colorHue:d0(function(t,n){return jv(t,n)}),colorSaturation:d0(function(t,n){return jv(t,null,n)}),colorLightness:d0(function(t,n){return jv(t,null,null,n)}),colorAlpha:d0(function(t,n){return sm(t,n)}),decal:{applyVisual:tv("decal"),_normalizedToVisual:{linear:null,category:_v,piecewise:null,fixed:null}},opacity:{applyVisual:tv("opacity"),_normalizedToVisual:Dx([0,1])},liftZ:{applyVisual:tv("liftZ"),_normalizedToVisual:{linear:Hu,category:Hu,piecewise:Hu,fixed:Hu}},symbol:{applyVisual:function(t,n,r){var a=this.mapValueToVisual(t);r("symbol",a)},_normalizedToVisual:{linear:jI,category:_v,piecewise:function(t,n){var r=Lx.call(this,n);return r==null&&(r=jI.call(this,t)),r},fixed:Hu}},symbolSize:{applyVisual:tv("symbolSize"),_normalizedToVisual:Dx([0,1])}},e}();function dOe(e){var t=e.pieceList;e.hasSpecialVisual=!1,K(t,function(n,r){n.originIndex=r,n.visual!=null&&(e.hasSpecialVisual=!0)})}function hOe(e){var t=e.categories,n=e.categoryMap={},r=e.visual;if(Q1(t,function(o,l){n[o]=l}),!He(r)){var a=[];wt(r)?Q1(r,function(o,l){var s=n[l];a[s??Nm]=o}):a[Nm]=r,r=rW(e,a)}for(var i=t.length-1;i>=0;i--)r[i]==null&&(delete n[t[i]],t.pop())}function t9(e,t){var n=e.visual,r=[];wt(n)?Q1(n,function(i){r.push(i)}):n!=null&&r.push(n);var a={color:1,symbol:1};!t&&r.length===1&&!a.hasOwnProperty(e.type)&&(r[1]=r[0]),rW(e,r)}function d0(e){return{applyVisual:function(t,n,r){var a=this.mapValueToVisual(t);r("color",e(n("color"),a))},_normalizedToVisual:Dx([0,1])}}function jI(e){var t=this.option.visual;return t[Math.round(bn(e,[0,1],[0,t.length-1],!0))]||{}}function tv(e){return function(t,n,r){r(e,this.mapValueToVisual(t))}}function _v(e){var t=this.option.visual;return t[this.option.loop&&e!==Nm?e%t.length:e]}function Hu(){return this.option.visual[0]}function Dx(e){return{linear:function(t){return bn(t,e,this.option.visual,!0)},category:_v,piecewise:function(t,n){var r=Lx.call(this,n);return r==null&&(r=bn(t,e,this.option.visual,!0)),r},fixed:Hu}}function Lx(e){var t=this.option,n=t.pieceList;if(t.hasSpecialVisual){var r=wr.findPieceIndex(e,n),a=n[r];if(a&&a.visual)return a.visual[this.type]}}function rW(e,t){return e.visual=t,e.type==="color"&&(e.parsedVisual=Ge(t,function(n){var r=Wa(n);return r||[0,0,0,1]})),t}var vOe={linear:function(e){return bn(e,this.option.dataExtent,[0,1],!0)},piecewise:function(e){var t=this.option.pieceList,n=wr.findPieceIndex(e,t,!0);if(n!=null)return bn(n,[0,t.length-1],[0,1],!0)},category:function(e){var t=this.option.categories?this.option.categoryMap[e]:e;return t??Nm},fixed:er};function h0(e,t,n){return e?t<=n:t<n}var pOe="itemStyle",aW=an();const gOe={seriesType:"treemap",reset:function(e){var t=e.getData().tree,n=t.root;n.isRemoved()||iW(n,{},e.getViewRoot().getAncestors(),e)}};function iW(e,t,n,r){var a=e.getModel(),i=e.getLayout(),o=e.hostTree.data;if(!(!i||i.invisible||!i.isInView)){var l=a.getModel(pOe),s=mOe(l,t,r),u=o.ensureUniqueItemVisual(e.dataIndex,"style"),c=l.get("borderColor"),f=l.get("borderColorSaturation"),d;f!=null&&(d=qI(s),c=yOe(f,d)),u.stroke=c;var h=e.viewChildren;if(!h||!h.length)d=qI(s),u.fill=d;else{var v=bOe(e,a,i,l,s,h);K(h,function(p,g){if(p.depth>=n.length||p===n[p.depth]){var m=_Oe(a,s,p,g,v,r);iW(p,m,n,r)}})}}}function mOe(e,t,n){var r=$e({},t),a=n.designatedVisualItemStyle;return K(["color","colorAlpha","colorSaturation"],function(i){a[i]=t[i];var o=e.get(i);a[i]=null,o!=null&&(r[i]=o)}),r}function qI(e){var t=n9(e,"color");if(t){var n=n9(e,"colorAlpha"),r=n9(e,"colorSaturation");return r&&(t=jv(t,null,null,r)),n&&(t=sm(t,n)),t}}function yOe(e,t){return t!=null?jv(t,null,null,e):null}function n9(e,t){var n=e[t];if(n!=null&&n!=="none")return n}function bOe(e,t,n,r,a,i){if(!(!i||!i.length)){var o=r9(t,"color")||a.color!=null&&a.color!=="none"&&(r9(t,"colorAlpha")||r9(t,"colorSaturation"));if(o){var l=t.get("visualMin"),s=t.get("visualMax"),u=n.dataExtent.slice();l!=null&&l<u[0]&&(u[0]=l),s!=null&&s>u[1]&&(u[1]=s);var c=t.get("colorMappingBy"),f={type:o.name,dataExtent:u,visual:o.range};f.type==="color"&&(c==="index"||c==="id")?(f.mappingMethod="category",f.loop=!0):f.mappingMethod="linear";var d=new wr(f);return aW(d).drColorMappingBy=c,d}}}function r9(e,t){var n=e.get(t);return He(n)&&n.length?{name:t,range:n}:null}function _Oe(e,t,n,r,a,i){var o=$e({},t);if(a){var l=a.type,s=l==="color"&&aW(a).drColorMappingBy,u=s==="index"?r:s==="id"?i.mapIdToIndex(n.getId()):n.getValue(e.get("visualDimension"));o[l]=a.mapValueToVisual(u)}return o}var ep=Math.max,$m=Math.min,GI=Mr,G8=K,oW=["itemStyle","borderWidth"],wOe=["itemStyle","gapWidth"],xOe=["upperLabel","show"],SOe=["upperLabel","height"];const COe={seriesType:"treemap",reset:function(e,t,n,r){var a=n.getWidth(),i=n.getHeight(),o=e.option,l=fr(e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),s=o.size||[],u=et(GI(l.width,s[0]),a),c=et(GI(l.height,s[1]),i),f=r&&r.type,d=["treemapZoomToNode","treemapRootToNode"],h=J1(r,d,e),v=f==="treemapRender"||f==="treemapMove"?r.rootRect:null,p=e.getViewRoot(),g=eW(p);if(f!=="treemapMove"){var m=f==="treemapZoomToNode"?EOe(e,h,p,u,c):v?[v.width,v.height]:[u,c],b=o.sort;b&&b!=="asc"&&b!=="desc"&&(b="desc");var _={squareRatio:o.squareRatio,sort:b,leafDepth:o.leafDepth};p.hostTree.clearLayouts();var w={x:0,y:0,width:m[0],height:m[1],area:m[0]*m[1]};p.setLayout(w),lW(p,_,!1,0),w=p.getLayout(),G8(g,function(S,C){var T=(g[C+1]||p).getValue();S.setLayout($e({dataExtent:[T,T],borderWidth:0,upperHeight:0},w))})}var x=e.getData().tree.root;x.setLayout(IOe(l,v,h),!0),e.setLayoutInfo(l),sW(x,new qt(-l.x,-l.y,a,i),g,p,0)}};function lW(e,t,n,r){var a,i;if(!e.isRemoved()){var o=e.getLayout();a=o.width,i=o.height;var l=e.getModel(),s=l.get(oW),u=l.get(wOe)/2,c=uW(l),f=Math.max(s,c),d=s-u,h=f-u;e.setLayout({borderWidth:s,upperHeight:f,upperLabelHeight:c},!0),a=ep(a-2*d,0),i=ep(i-d-h,0);var v=a*i,p=TOe(e,l,v,t,n,r);if(p.length){var g={x:d,y:h,width:a,height:i},m=$m(a,i),b=1/0,_=[];_.area=0;for(var w=0,x=p.length;w<x;){var S=p[w];_.push(S),_.area+=S.getLayout().area;var C=AOe(_,m,t.squareRatio);C<=b?(w++,b=C):(_.area-=_.pop().getLayout().area,WI(_,m,g,u,!1),m=$m(g.width,g.height),_.length=_.area=0,b=1/0)}if(_.length&&WI(_,m,g,u,!0),!n){var T=l.get("childrenVisibleMin");T!=null&&v<T&&(n=!0)}for(var w=0,x=p.length;w<x;w++)lW(p[w],t,n,r+1)}}}function TOe(e,t,n,r,a,i){var o=e.children||[],l=r.sort;l!=="asc"&&l!=="desc"&&(l=null);var s=r.leafDepth!=null&&r.leafDepth<=i;if(a&&!s)return e.viewChildren=[];o=_n(o,function(h){return!h.isRemoved()}),zOe(o,l);var u=MOe(t,o,l);if(u.sum===0)return e.viewChildren=[];if(u.sum=kOe(t,n,u.sum,l,o),u.sum===0)return e.viewChildren=[];for(var c=0,f=o.length;c<f;c++){var d=o[c].getValue()/u.sum*n;o[c].setLayout({area:d})}return s&&(o.length&&e.setLayout({isLeafRoot:!0},!0),o.length=0),e.viewChildren=o,e.setLayout({dataExtent:u.dataExtent},!0),o}function kOe(e,t,n,r,a){if(!r)return n;for(var i=e.get("visibleMin"),o=a.length,l=o,s=o-1;s>=0;s--){var u=a[r==="asc"?o-s-1:s].getValue();u/n*t<i&&(l=s,n-=u)}return r==="asc"?a.splice(0,o-l):a.splice(l,o-l),n}function zOe(e,t){return t&&e.sort(function(n,r){var a=t==="asc"?n.getValue()-r.getValue():r.getValue()-n.getValue();return a===0?t==="asc"?n.dataIndex-r.dataIndex:r.dataIndex-n.dataIndex:a}),e}function MOe(e,t,n){for(var r=0,a=0,i=t.length;a<i;a++)r+=t[a].getValue();var o=e.get("visualDimension"),l;return!t||!t.length?l=[NaN,NaN]:o==="value"&&n?(l=[t[t.length-1].getValue(),t[0].getValue()],n==="asc"&&l.reverse()):(l=[1/0,-1/0],G8(t,function(s){var u=s.getValue(o);u<l[0]&&(l[0]=u),u>l[1]&&(l[1]=u)})),{sum:r,dataExtent:l}}function AOe(e,t,n){for(var r=0,a=1/0,i=0,o=void 0,l=e.length;i<l;i++)o=e[i].getLayout().area,o&&(o<a&&(a=o),o>r&&(r=o));var s=e.area*e.area,u=t*t*n;return s?ep(u*r/s,s/(u*a)):1/0}function WI(e,t,n,r,a){var i=t===n.width?0:1,o=1-i,l=["x","y"],s=["width","height"],u=n[l[i]],c=t?e.area/t:0;(a||c>n[s[o]])&&(c=n[s[o]]);for(var f=0,d=e.length;f<d;f++){var h=e[f],v={},p=c?h.getLayout().area/c:0,g=v[s[o]]=ep(c-2*r,0),m=n[l[i]]+n[s[i]]-u,b=f===d-1||m<p?m:p,_=v[s[i]]=ep(b-2*r,0);v[l[o]]=n[l[o]]+$m(r,g/2),v[l[i]]=u+$m(r,_/2),u+=b,h.setLayout(v,!0)}n[l[o]]+=c,n[s[o]]-=c}function EOe(e,t,n,r,a){var i=(t||{}).node,o=[r,a];if(!i||i===n)return o;for(var l,s=r*a,u=s*e.option.zoomToNodeRatio;l=i.parentNode;){for(var c=0,f=l.children,d=0,h=f.length;d<h;d++)c+=f[d].getValue();var v=i.getValue();if(v===0)return o;u*=c/v;var p=l.getModel(),g=p.get(oW),m=Math.max(g,uW(p));u+=4*g*g+(3*g+m)*Math.pow(u,.5),u>aM&&(u=aM),i=l}u<s&&(u=s);var b=Math.pow(u/s,.5);return[r*b,a*b]}function IOe(e,t,n){if(t)return{x:t.x,y:t.y};var r={x:0,y:0};if(!n)return r;var a=n.node,i=a.getLayout();if(!i)return r;for(var o=[i.width/2,i.height/2],l=a;l;){var s=l.getLayout();o[0]+=s.x,o[1]+=s.y,l=l.parentNode}return{x:e.width/2-o[0],y:e.height/2-o[1]}}function sW(e,t,n,r,a){var i=e.getLayout(),o=n[a],l=o&&o===e;if(!(o&&!l||a===n.length&&e!==r)){e.setLayout({isInView:!0,invisible:!l&&!t.intersect(i),isAboveViewRoot:l},!0);var s=new qt(t.x-i.x,t.y-i.y,t.width,t.height);G8(e.viewChildren||[],function(u){sW(u,s,n,r,a+1)})}}function uW(e){return e.get(xOe)?e.get(SOe):0}function DOe(e){e.registerSeriesModel(ZRe),e.registerChartView(sOe),e.registerVisual(gOe),e.registerLayout(COe),XRe(e)}function LOe(e){var t=e.findComponents({mainType:"legend"});!t||!t.length||e.eachSeriesByType("graph",function(n){var r=n.getCategoriesData(),a=n.getGraph(),i=a.data,o=r.mapArray(r.getName);i.filterSelf(function(l){var s=i.getItemModel(l),u=s.getShallow("category");if(u!=null){ln(u)&&(u=o[u]);for(var c=0;c<t.length;c++)if(!t[c].isSelected(u))return!1}return!0})})}function POe(e){var t={};e.eachSeriesByType("graph",function(n){var r=n.getCategoriesData(),a=n.getData(),i={};r.each(function(o){var l=r.getName(o);i["ec-"+l]=o;var s=r.getItemModel(o),u=s.getModel("itemStyle").getItemStyle();u.fill||(u.fill=n.getColorFromPalette(l,t)),r.setItemVisual(o,"style",u);for(var c=["symbol","symbolSize","symbolKeepAspect"],f=0;f<c.length;f++){var d=s.getShallow(c[f],!0);d!=null&&r.setItemVisual(o,c[f],d)}}),r.count()&&a.each(function(o){var l=a.getItemModel(o),s=l.getShallow("category");if(s!=null){it(s)&&(s=i["ec-"+s]);var u=r.getItemVisual(s,"style"),c=a.ensureUniqueItemVisual(o,"style");$e(c,u);for(var f=["symbol","symbolSize","symbolKeepAspect"],d=0;d<f.length;d++)a.setItemVisual(o,f[d],r.getItemVisual(s,f[d]))}})})}function v0(e){return e instanceof Array||(e=[e,e]),e}function ROe(e){e.eachSeriesByType("graph",function(t){var n=t.getGraph(),r=t.getEdgeData(),a=v0(t.get("edgeSymbol")),i=v0(t.get("edgeSymbolSize"));r.setVisual("fromSymbol",a&&a[0]),r.setVisual("toSymbol",a&&a[1]),r.setVisual("fromSymbolSize",i&&i[0]),r.setVisual("toSymbolSize",i&&i[1]),r.setVisual("style",t.getModel("lineStyle").getLineStyle()),r.each(function(o){var l=r.getItemModel(o),s=n.getEdgeByIndex(o),u=v0(l.getShallow("symbol",!0)),c=v0(l.getShallow("symbolSize",!0)),f=l.getModel("lineStyle").getLineStyle(),d=r.ensureUniqueItemVisual(o,"style");switch($e(d,f),d.stroke){case"source":{var h=s.node1.getVisual("style");d.stroke=h&&h.fill;break}case"target":{var h=s.node2.getVisual("style");d.stroke=h&&h.fill;break}}u[0]&&s.setVisual("fromSymbol",u[0]),u[1]&&s.setVisual("toSymbol",u[1]),c[0]&&s.setVisual("fromSymbolSize",c[0]),c[1]&&s.setVisual("toSymbolSize",c[1])})})}var Px="-->",T3=function(e){return e.get("autoCurveness")||null},cW=function(e,t){var n=T3(e),r=20,a=[];if(ln(n))r=n;else if(He(n)){e.__curvenessList=n;return}t>r&&(r=t);var i=r%2?r+2:r+3;a=[];for(var o=0;o<i;o++)a.push((o%2?o+1:o)/10*(o%2?-1:1));e.__curvenessList=a},tp=function(e,t,n){var r=[e.id,e.dataIndex].join("."),a=[t.id,t.dataIndex].join(".");return[n.uid,r,a].join(Px)},fW=function(e){var t=e.split(Px);return[t[0],t[2],t[1]].join(Px)},OOe=function(e,t){var n=tp(e.node1,e.node2,t);return t.__edgeMap[n]},NOe=function(e,t){var n=Rx(tp(e.node1,e.node2,t),t),r=Rx(tp(e.node2,e.node1,t),t);return n+r},Rx=function(e,t){var n=t.__edgeMap;return n[e]?n[e].length:0};function $Oe(e){T3(e)&&(e.__curvenessList=[],e.__edgeMap={},cW(e))}function VOe(e,t,n,r){if(T3(n)){var a=tp(e,t,n),i=n.__edgeMap,o=i[fW(a)];i[a]&&!o?i[a].isForward=!0:o&&i[a]&&(o.isForward=!0,i[a].isForward=!1),i[a]=i[a]||[],i[a].push(r)}}function W8(e,t,n,r){var a=T3(t),i=He(a);if(!a)return null;var o=OOe(e,t);if(!o)return null;for(var l=-1,s=0;s<o.length;s++)if(o[s]===n){l=s;break}var u=NOe(e,t);cW(t,u),e.lineStyle=e.lineStyle||{};var c=tp(e.node1,e.node2,t),f=t.__curvenessList,d=i||u%2?0:1;if(o.isForward)return f[d+l];var h=fW(c),v=Rx(h,t),p=f[l+v+d];return r?i?a&&a[0]===0?(v+d)%2?p:-p:((v%2?0:1)+d)%2?p:-p:(v+d)%2?p:-p:f[l+v+d]}function dW(e){var t=e.coordinateSystem;if(!(t&&t.type!=="view")){var n=e.getGraph();n.eachNode(function(r){var a=r.getModel();r.setLayout([+a.get("x"),+a.get("y")])}),U8(n,e)}}function U8(e,t){e.eachEdge(function(n,r){var a=Eo(n.getModel().get(["lineStyle","curveness"]),-W8(n,t,r,!0),0),i=vl(n.node1.getLayout()),o=vl(n.node2.getLayout()),l=[i,o];+a&&l.push([(i[0]+o[0])/2-(i[1]-o[1])*a,(i[1]+o[1])/2-(o[0]-i[0])*a]),n.setLayout(l)})}function BOe(e,t){e.eachSeriesByType("graph",function(n){var r=n.get("layout"),a=n.coordinateSystem;if(a&&a.type!=="view"){var i=n.getData(),o=[];K(a.dimensions,function(d){o=o.concat(i.mapDimensionsAll(d))});for(var l=0;l<i.count();l++){for(var s=[],u=!1,c=0;c<o.length;c++){var f=i.get(o[c],l);isNaN(f)||(u=!0),s.push(f)}u?i.setItemLayout(l,a.dataToPoint(s)):i.setItemLayout(l,[NaN,NaN])}U8(i.graph,n)}else(!r||r==="none")&&dW(n)})}function wv(e){var t=e.coordinateSystem;if(t.type!=="view")return 1;var n=e.option.nodeScaleRatio,r=t.scaleX,a=t.getZoom(),i=(a-1)*n+1;return i/r}function xv(e){var t=e.getVisual("symbolSize");return t instanceof Array&&(t=(t[0]+t[1])/2),+t}var UI=Math.PI,a9=[];function Y8(e,t,n,r){var a=e.coordinateSystem;if(!(a&&a.type!=="view")){var i=a.getBoundingRect(),o=e.getData(),l=o.graph,s=i.width/2+i.x,u=i.height/2+i.y,c=Math.min(i.width,i.height)/2,f=o.count();if(o.setLayout({cx:s,cy:u}),!!f){if(n){var d=a.pointToData(r),h=d[0],v=d[1],p=[h-s,v-u];oh(p,p),i2(p,p,c),n.setLayout([s+p[0],u+p[1]],!0);var g=e.get(["circular","rotateLabel"]);hW(n,g,s,u)}FOe[t](e,l,o,c,s,u,f),l.eachEdge(function(m,b){var _=Eo(m.getModel().get(["lineStyle","curveness"]),W8(m,e,b),0),w=vl(m.node1.getLayout()),x=vl(m.node2.getLayout()),S,C=(w[0]+x[0])/2,T=(w[1]+x[1])/2;+_&&(_*=3,S=[s*_+C*(1-_),u*_+T*(1-_)]),m.setLayout([w,x,S])})}}}var FOe={value:function(e,t,n,r,a,i,o){var l=0,s=n.getSum("value"),u=Math.PI*2/(s||o);t.eachNode(function(c){var f=c.getValue("value"),d=u*(s?f:1)/2;l+=d,c.setLayout([r*Math.cos(l)+a,r*Math.sin(l)+i]),l+=d})},symbolSize:function(e,t,n,r,a,i,o){var l=0;a9.length=o;var s=wv(e);t.eachNode(function(f){var d=xv(f);isNaN(d)&&(d=2),d<0&&(d=0),d*=s;var h=Math.asin(d/2/r);isNaN(h)&&(h=UI/2),a9[f.dataIndex]=h,l+=h*2});var u=(2*UI-l)/o/2,c=0;t.eachNode(function(f){var d=u+a9[f.dataIndex];c+=d,(!f.getLayout()||!f.getLayout().fixed)&&f.setLayout([r*Math.cos(c)+a,r*Math.sin(c)+i]),c+=d})}};function hW(e,t,n,r){var a=e.getGraphicEl();if(a){var i=e.getModel(),o=i.get(["label","rotate"])||0,l=a.getSymbolPath();if(t){var s=e.getLayout(),u=Math.atan2(s[1]-r,s[0]-n);u<0&&(u=Math.PI*2+u);var c=s[0]<n;c&&(u=u-Math.PI);var f=c?"left":"right";l.setTextConfig({rotation:-u,position:f,origin:"center"});var d=l.ensureState("emphasis");$e(d.textConfig||(d.textConfig={}),{position:f})}else l.setTextConfig({rotation:o*=Math.PI/180})}}function HOe(e){e.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&Y8(t,"symbolSize")})}var Tf=ww;function jOe(e,t,n){for(var r=e,a=t,i=n.rect,o=i.width,l=i.height,s=[i.x+o/2,i.y+l/2],u=n.gravity==null?.1:n.gravity,c=0;c<r.length;c++){var f=r[c];f.p||(f.p=Zc(o*(Math.random()-.5)+s[0],l*(Math.random()-.5)+s[1])),f.pp=vl(f.p),f.edges=null}var d=n.friction==null?.6:n.friction,h=d,v,p;return{warmUp:function(){h=d*.8},setFixed:function(g){r[g].fixed=!0},setUnfixed:function(g){r[g].fixed=!1},beforeStep:function(g){v=g},afterStep:function(g){p=g},step:function(g){v&&v(r,a);for(var m=[],b=r.length,_=0;_<a.length;_++){var w=a[_];if(!w.ignoreForceLayout){var x=w.n1,S=w.n2;ic(m,S.p,x.p);var C=xw(m)-w.d,T=S.w/(x.w+S.w);isNaN(T)&&(T=0),oh(m,m),!x.fixed&&Tf(x.p,x.p,m,T*C*h),!S.fixed&&Tf(S.p,S.p,m,-(1-T)*C*h)}}for(var _=0;_<b;_++){var z=r[_];z.fixed||(ic(m,s,z.p),Tf(z.p,z.p,m,u*h))}for(var _=0;_<b;_++)for(var x=r[_],A=_+1;A<b;A++){var S=r[A];ic(m,S.p,x.p);var C=xw(m);C===0&&(p7e(m,Math.random()-.5,Math.random()-.5),C=1);var E=(x.rep+S.rep)/C/C;!x.fixed&&Tf(x.pp,x.pp,m,E),!S.fixed&&Tf(S.pp,S.pp,m,-E)}for(var D=[],_=0;_<b;_++){var z=r[_];z.fixed||(ic(D,z.p,z.pp),Tf(z.p,z.p,D,h),aa(z.pp,z.p))}h=h*.992;var $=h<.01;p&&p(r,a,$),g&&g($)}}}function qOe(e){e.eachSeriesByType("graph",function(t){var n=t.coordinateSystem;if(!(n&&n.type!=="view"))if(t.get("layout")==="force"){var r=t.preservedPoints||{},a=t.getGraph(),i=a.data,o=a.edgeData,l=t.getModel("force"),s=l.get("initLayout");t.preservedPoints?i.each(function(_){var w=i.getId(_);i.setItemLayout(_,r[w]||[NaN,NaN])}):!s||s==="none"?dW(t):s==="circular"&&Y8(t,"value");var u=i.getDataExtent("value"),c=o.getDataExtent("value"),f=l.get("repulsion"),d=l.get("edgeLength"),h=He(f)?f:[f,f],v=He(d)?d:[d,d];v=[v[1],v[0]];var p=i.mapArray("value",function(_,w){var x=i.getItemLayout(w),S=bn(_,u,h);return isNaN(S)&&(S=(h[0]+h[1])/2),{w:S,rep:S,fixed:i.getItemModel(w).get("fixed"),p:!x||isNaN(x[0])||isNaN(x[1])?null:x}}),g=o.mapArray("value",function(_,w){var x=a.getEdgeByIndex(w),S=bn(_,c,v);isNaN(S)&&(S=(v[0]+v[1])/2);var C=x.getModel(),T=Eo(x.getModel().get(["lineStyle","curveness"]),-W8(x,t,w,!0),0);return{n1:p[x.node1.dataIndex],n2:p[x.node2.dataIndex],d:S,curveness:T,ignoreForceLayout:C.get("ignoreForceLayout")}}),m=n.getBoundingRect(),b=jOe(p,g,{rect:m,gravity:l.get("gravity"),friction:l.get("friction")});b.beforeStep(function(_,w){for(var x=0,S=_.length;x<S;x++)_[x].fixed&&aa(_[x].p,a.getNodeByIndex(x).getLayout())}),b.afterStep(function(_,w,x){for(var S=0,C=_.length;S<C;S++)_[S].fixed||a.getNodeByIndex(S).setLayout(_[S].p),r[i.getId(S)]=_[S].p;for(var S=0,C=w.length;S<C;S++){var T=w[S],z=a.getEdgeByIndex(S),A=T.n1.p,E=T.n2.p,D=z.getLayout();D=D?D.slice():[],D[0]=D[0]||[],D[1]=D[1]||[],aa(D[0],A),aa(D[1],E),+T.curveness&&(D[2]=[(A[0]+E[0])/2-(A[1]-E[1])*T.curveness,(A[1]+E[1])/2-(E[0]-A[0])*T.curveness]),z.setLayout(D)}}),t.forceLayout=b,t.preservedPoints=r,b.step()}else t.forceLayout=null})}function GOe(e,t,n){var r=$e(e.getBoxLayoutParams(),{aspect:n});return fr(r,{width:t.getWidth(),height:t.getHeight()})}function WOe(e,t){var n=[];return e.eachSeriesByType("graph",function(r){var a=r.get("coordinateSystem");if(!a||a==="view"){var i=r.getData(),o=i.mapArray(function(g){var m=i.getItemModel(g);return[+m.get("x"),+m.get("y")]}),l=[],s=[];Jy(o,l,s),s[0]-l[0]===0&&(s[0]+=1,l[0]-=1),s[1]-l[1]===0&&(s[1]+=1,l[1]-=1);var u=(s[0]-l[0])/(s[1]-l[1]),c=GOe(r,t,u);isNaN(u)&&(l=[c.x,c.y],s=[c.x+c.width,c.y+c.height]);var f=s[0]-l[0],d=s[1]-l[1],h=c.width,v=c.height,p=r.coordinateSystem=new Gp;p.zoomLimit=r.get("scaleLimit"),p.setBoundingRect(l[0],l[1],f,d),p.setViewRect(c.x,c.y,h,v),p.setCenter(r.get("center"),t),p.setZoom(r.get("zoom")),n.push(p)}}),n}var YI=mr.prototype,i9=Ep.prototype,vW=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e}();(function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(vW);function o9(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var UOe=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="ec-line",r}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new vW},t.prototype.buildPath=function(n,r){o9(r)?YI.buildPath.call(this,n,r):i9.buildPath.call(this,n,r)},t.prototype.pointAt=function(n){return o9(this.shape)?YI.pointAt.call(this,n):i9.pointAt.call(this,n)},t.prototype.tangentAt=function(n){var r=this.shape,a=o9(r)?[r.x2-r.x1,r.y2-r.y1]:i9.tangentAt.call(this,n);return oh(a,a)},t}(Zt),l9=["fromSymbol","toSymbol"];function KI(e){return"_"+e+"Type"}function XI(e,t,n){var r=t.getItemVisual(n,e);if(!r||r==="none")return r;var a=t.getItemVisual(n,e+"Size"),i=t.getItemVisual(n,e+"Rotate"),o=t.getItemVisual(n,e+"Offset"),l=t.getItemVisual(n,e+"KeepAspect"),s=bh(a),u=ef(o||0,s);return r+s+u+(i||"")+(l||"")}function ZI(e,t,n){var r=t.getItemVisual(n,e);if(!(!r||r==="none")){var a=t.getItemVisual(n,e+"Size"),i=t.getItemVisual(n,e+"Rotate"),o=t.getItemVisual(n,e+"Offset"),l=t.getItemVisual(n,e+"KeepAspect"),s=bh(a),u=ef(o||0,s),c=lr(r,-s[0]/2+u[0],-s[1]/2+u[1],s[0],s[1],null,l);return c.__specifiedRotation=i==null||isNaN(i)?void 0:+i*Math.PI/180||0,c.name=e,c}}function YOe(e){var t=new UOe({name:"line",subPixelOptimize:!0});return Ox(t.shape,e),t}function Ox(e,t){e.x1=t[0][0],e.y1=t[0][1],e.x2=t[1][0],e.y2=t[1][1],e.percent=1;var n=t[2];n?(e.cpx1=n[0],e.cpy1=n[1]):(e.cpx1=NaN,e.cpy1=NaN)}var K8=function(e){Se(t,e);function t(n,r,a){var i=e.call(this)||this;return i._createLine(n,r,a),i}return t.prototype._createLine=function(n,r,a){var i=n.hostModel,o=n.getItemLayout(r),l=YOe(o);l.shape.percent=0,Nn(l,{shape:{percent:1}},i,r),this.add(l),K(l9,function(s){var u=ZI(s,n,r);this.add(u),this[KI(s)]=XI(s,n,r)},this),this._updateCommonStl(n,r,a)},t.prototype.updateData=function(n,r,a){var i=n.hostModel,o=this.childOfName("line"),l=n.getItemLayout(r),s={shape:{}};Ox(s.shape,l),un(o,s,i,r),K(l9,function(u){var c=XI(u,n,r),f=KI(u);if(this[f]!==c){this.remove(this.childOfName(u));var d=ZI(u,n,r);this.add(d)}this[f]=c},this),this._updateCommonStl(n,r,a)},t.prototype.getLinePath=function(){return this.childAt(0)},t.prototype._updateCommonStl=function(n,r,a){var i=n.hostModel,o=this.childOfName("line"),l=a&&a.emphasisLineStyle,s=a&&a.blurLineStyle,u=a&&a.selectLineStyle,c=a&&a.labelStatesModels,f=a&&a.emphasisDisabled,d=a&&a.focus,h=a&&a.blurScope;if(!a||n.hasItemOption){var v=n.getItemModel(r),p=v.getModel("emphasis");l=p.getModel("lineStyle").getLineStyle(),s=v.getModel(["blur","lineStyle"]).getLineStyle(),u=v.getModel(["select","lineStyle"]).getLineStyle(),f=p.get("disabled"),d=p.get("focus"),h=p.get("blurScope"),c=Sr(v)}var g=n.getItemVisual(r,"style"),m=g.stroke;o.useStyle(g),o.style.fill=null,o.style.strokeNoScale=!0,o.ensureState("emphasis").style=l,o.ensureState("blur").style=s,o.ensureState("select").style=u,K(l9,function(S){var C=this.childOfName(S);if(C){C.setColor(m),C.style.opacity=g.opacity;for(var T=0;T<va.length;T++){var z=va[T],A=o.getState(z);if(A){var E=A.style||{},D=C.ensureState(z),$=D.style||(D.style={});E.stroke!=null&&($[C.__isEmptyBrush?"stroke":"fill"]=E.stroke),E.opacity!=null&&($.opacity=E.opacity)}}C.markRedraw()}},this);var b=i.getRawValue(r);Fr(this,c,{labelDataIndex:r,labelFetcher:{getFormattedLabel:function(S,C){return i.getFormattedLabel(S,C,n.dataType)}},inheritColor:m||"#000",defaultOpacity:g.opacity,defaultText:(b==null?n.getName(r):isFinite(b)?Zn(b):b)+""});var _=this.getTextContent();if(_){var w=c.normal;_.__align=_.style.align,_.__verticalAlign=_.style.verticalAlign,_.__position=w.get("position")||"middle";var x=w.get("distance");He(x)||(x=[x,x]),_.__labelDistance=x}this.setTextConfig({position:null,local:!0,inside:!1}),Kn(this,d,h,f)},t.prototype.highlight=function(){kl(this)},t.prototype.downplay=function(){zl(this)},t.prototype.updateLayout=function(n,r){this.setLinePoints(n.getItemLayout(r))},t.prototype.setLinePoints=function(n){var r=this.childOfName("line");Ox(r.shape,n),r.dirty()},t.prototype.beforeUpdate=function(){var n=this,r=n.childOfName("fromSymbol"),a=n.childOfName("toSymbol"),i=n.getTextContent();if(!r&&!a&&(!i||i.ignore))return;for(var o=1,l=this.parent;l;)l.scaleX&&(o/=l.scaleX),l=l.parent;var s=n.childOfName("line");if(!this.__dirty&&!s.__dirty)return;var u=s.shape.percent,c=s.pointAt(0),f=s.pointAt(u),d=ic([],f,c);oh(d,d);function h(A,E){var D=A.__specifiedRotation;if(D==null){var $=s.tangentAt(E);A.attr("rotation",(E===1?-1:1)*Math.PI/2-Math.atan2($[1],$[0]))}else A.attr("rotation",D)}if(r&&(r.setPosition(c),h(r,0),r.scaleX=r.scaleY=o*u,r.markRedraw()),a&&(a.setPosition(f),h(a,1),a.scaleX=a.scaleY=o*u,a.markRedraw()),i&&!i.ignore){i.x=i.y=0,i.originX=i.originY=0;var v=void 0,p=void 0,g=i.__labelDistance,m=g[0]*o,b=g[1]*o,_=u/2,w=s.tangentAt(_),x=[w[1],-w[0]],S=s.pointAt(_);x[1]>0&&(x[0]=-x[0],x[1]=-x[1]);var C=w[0]<0?-1:1;if(i.__position!=="start"&&i.__position!=="end"){var T=-Math.atan2(w[1],w[0]);f[0]<c[0]&&(T=Math.PI+T),i.rotation=T}var z=void 0;switch(i.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":z=-b,p="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":z=b,p="top";break;default:z=0,p="middle"}switch(i.__position){case"end":i.x=d[0]*m+f[0],i.y=d[1]*b+f[1],v=d[0]>.8?"left":d[0]<-.8?"right":"center",p=d[1]>.8?"top":d[1]<-.8?"bottom":"middle";break;case"start":i.x=-d[0]*m+c[0],i.y=-d[1]*b+c[1],v=d[0]>.8?"right":d[0]<-.8?"left":"center",p=d[1]>.8?"bottom":d[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=m*C+c[0],i.y=c[1]+z,v=w[0]<0?"right":"left",i.originX=-m*C,i.originY=-z;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=S[0],i.y=S[1]+z,v="center",i.originY=-z;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-m*C+f[0],i.y=f[1]+z,v=w[0]>=0?"right":"left",i.originX=m*C,i.originY=-z;break}i.scaleX=i.scaleY=o,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||v})}},t}(At),X8=function(){function e(t){this.group=new At,this._LineCtor=t||K8}return e.prototype.updateData=function(t){var n=this;this._progressiveEls=null;var r=this,a=r.group,i=r._lineData;r._lineData=t,i||a.removeAll();var o=JI(t);t.diff(i).add(function(l){n._doAdd(t,l,o)}).update(function(l,s){n._doUpdate(i,t,s,l,o)}).remove(function(l){a.remove(i.getItemGraphicEl(l))}).execute()},e.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl(function(n,r){n.updateLayout(t,r)},this)},e.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=JI(t),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n){this._progressiveEls=[];function r(l){!l.isGroup&&!KOe(l)&&(l.incremental=!0,l.ensureState("emphasis").hoverLayer=!0)}for(var a=t.start;a<t.end;a++){var i=n.getItemLayout(a);if(s9(i)){var o=new this._LineCtor(n,a,this._seriesScope);o.traverse(r),this.group.add(o),n.setItemGraphicEl(a,o),this._progressiveEls.push(o)}}},e.prototype.remove=function(){this.group.removeAll()},e.prototype.eachRendered=function(t){lu(this._progressiveEls||this.group,t)},e.prototype._doAdd=function(t,n,r){var a=t.getItemLayout(n);if(s9(a)){var i=new this._LineCtor(t,n,r);t.setItemGraphicEl(n,i),this.group.add(i)}},e.prototype._doUpdate=function(t,n,r,a,i){var o=t.getItemGraphicEl(r);if(!s9(n.getItemLayout(a))){this.group.remove(o);return}o?o.updateData(n,a,i):o=new this._LineCtor(n,a,i),n.setItemGraphicEl(a,o),this.group.add(o)},e}();function KOe(e){return e.animators&&e.animators.length>0}function JI(e){var t=e.hostModel,n=t.getModel("emphasis");return{lineStyle:t.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:t.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:t.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Sr(t)}}function QI(e){return isNaN(e[0])||isNaN(e[1])}function s9(e){return e&&!QI(e[0])&&!QI(e[1])}var u9=[],c9=[],f9=[],kf=kr,d9=bc,eD=Math.abs;function tD(e,t,n){for(var r=e[0],a=e[1],i=e[2],o=1/0,l,s=n*n,u=.1,c=.1;c<=.9;c+=.1){u9[0]=kf(r[0],a[0],i[0],c),u9[1]=kf(r[1],a[1],i[1],c);var f=eD(d9(u9,t)-s);f<o&&(o=f,l=c)}for(var d=0;d<32;d++){var h=l+u;c9[0]=kf(r[0],a[0],i[0],l),c9[1]=kf(r[1],a[1],i[1],l),f9[0]=kf(r[0],a[0],i[0],h),f9[1]=kf(r[1],a[1],i[1],h);var f=d9(c9,t)-s;if(eD(f)<.01)break;var v=d9(f9,t)-s;u/=2,f<0?v>=0?l=l+u:l=l-u:v>=0?l=l-u:l=l+u}return l}function h9(e,t){var n=[],r=L1,a=[[],[],[]],i=[[],[]],o=[];t/=2,e.eachEdge(function(l,s){var u=l.getLayout(),c=l.getVisual("fromSymbol"),f=l.getVisual("toSymbol");u.__original||(u.__original=[vl(u[0]),vl(u[1])],u[2]&&u.__original.push(vl(u[2])));var d=u.__original;if(u[2]!=null){if(aa(a[0],d[0]),aa(a[1],d[2]),aa(a[2],d[1]),c&&c!=="none"){var h=xv(l.node1),v=tD(a,d[0],h*t);r(a[0][0],a[1][0],a[2][0],v,n),a[0][0]=n[3],a[1][0]=n[4],r(a[0][1],a[1][1],a[2][1],v,n),a[0][1]=n[3],a[1][1]=n[4]}if(f&&f!=="none"){var h=xv(l.node2),v=tD(a,d[1],h*t);r(a[0][0],a[1][0],a[2][0],v,n),a[1][0]=n[1],a[2][0]=n[2],r(a[0][1],a[1][1],a[2][1],v,n),a[1][1]=n[1],a[2][1]=n[2]}aa(u[0],a[0]),aa(u[1],a[2]),aa(u[2],a[1])}else{if(aa(i[0],d[0]),aa(i[1],d[1]),ic(o,i[1],i[0]),oh(o,o),c&&c!=="none"){var h=xv(l.node1);ww(i[0],i[0],o,h*t)}if(f&&f!=="none"){var h=xv(l.node2);ww(i[1],i[1],o,-h*t)}aa(u[0],i[0]),aa(u[1],i[1])}})}function nD(e){return e.type==="view"}var XOe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){var a=new Vp,i=new X8,o=this.group;this._controller=new qp(r.getZr()),this._controllerHost={target:o},o.add(a.group),o.add(i.group),this._symbolDraw=a,this._lineDraw=i,this._firstRender=!0},t.prototype.render=function(n,r,a){var i=this,o=n.coordinateSystem;this._model=n;var l=this._symbolDraw,s=this._lineDraw,u=this.group;if(nD(o)){var c={x:o.x,y:o.y,scaleX:o.scaleX,scaleY:o.scaleY};this._firstRender?u.attr(c):un(u,c,n)}h9(n.getGraph(),wv(n));var f=n.getData();l.updateData(f);var d=n.getEdgeData();s.updateData(d),this._updateNodeAndLinkScale(),this._updateController(n,r,a),clearTimeout(this._layoutTimeout);var h=n.forceLayout,v=n.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,v);var p=n.get("layout");f.graph.eachNode(function(_){var w=_.dataIndex,x=_.getGraphicEl(),S=_.getModel();if(x){x.off("drag").off("dragend");var C=S.get("draggable");C&&x.on("drag",function(z){switch(p){case"force":h.warmUp(),!i._layouting&&i._startForceLayoutIteration(h,v),h.setFixed(w),f.setItemLayout(w,[x.x,x.y]);break;case"circular":f.setItemLayout(w,[x.x,x.y]),_.setLayout({fixed:!0},!0),Y8(n,"symbolSize",_,[z.offsetX,z.offsetY]),i.updateLayout(n);break;case"none":default:f.setItemLayout(w,[x.x,x.y]),U8(n.getGraph(),n),i.updateLayout(n);break}}).on("dragend",function(){h&&h.setUnfixed(w)}),x.setDraggable(C,!!S.get("cursor"));var T=S.get(["emphasis","focus"]);T==="adjacency"&&(Dt(x).focus=_.getAdjacentDataIndices())}}),f.graph.eachEdge(function(_){var w=_.getGraphicEl(),x=_.getModel().get(["emphasis","focus"]);w&&x==="adjacency"&&(Dt(w).focus={edge:[_.dataIndex],node:[_.node1.dataIndex,_.node2.dataIndex]})});var g=n.get("layout")==="circular"&&n.get(["circular","rotateLabel"]),m=f.getLayout("cx"),b=f.getLayout("cy");f.graph.eachNode(function(_){hW(_,g,m,b)}),this._firstRender=!1},t.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},t.prototype._startForceLayoutIteration=function(n,r){var a=this;(function i(){n.step(function(o){a.updateLayout(a._model),(a._layouting=!o)&&(r?a._layoutTimeout=setTimeout(i,16):i())})})()},t.prototype._updateController=function(n,r,a){var i=this,o=this._controller,l=this._controllerHost,s=this.group;if(o.setPointerChecker(function(u,c,f){var d=s.getBoundingRect();return d.applyTransform(s.transform),d.contain(c,f)&&!x3(u,a,n)}),!nD(n.coordinateSystem)){o.disable();return}o.enable(n.get("roam")),l.zoomLimit=n.get("scaleLimit"),l.zoom=n.coordinateSystem.getZoom(),o.off("pan").off("zoom").on("pan",function(u){$8(l,u.dx,u.dy),a.dispatchAction({seriesId:n.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){V8(l,u.scale,u.originX,u.originY),a.dispatchAction({seriesId:n.id,type:"graphRoam",zoom:u.scale,originX:u.originX,originY:u.originY}),i._updateNodeAndLinkScale(),h9(n.getGraph(),wv(n)),i._lineDraw.updateLayout(),a.updateLabelLayout()})},t.prototype._updateNodeAndLinkScale=function(){var n=this._model,r=n.getData(),a=wv(n);r.eachItemGraphicEl(function(i,o){i&&i.setSymbolScale(a)})},t.prototype.updateLayout=function(n){h9(n.getGraph(),wv(n)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},t.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},t.type="graph",t}(zn);function zf(e){return"_EC_"+e}var ZOe=function(){function e(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return e.prototype.isDirected=function(){return this._directed},e.prototype.addNode=function(t,n){t=t==null?""+n:""+t;var r=this._nodesMap;if(!r[zf(t)]){var a=new ju(t,n);return a.hostGraph=this,this.nodes.push(a),r[zf(t)]=a,a}},e.prototype.getNodeByIndex=function(t){var n=this.data.getRawIndex(t);return this.nodes[n]},e.prototype.getNodeById=function(t){return this._nodesMap[zf(t)]},e.prototype.addEdge=function(t,n,r){var a=this._nodesMap,i=this._edgesMap;if(ln(t)&&(t=this.nodes[t]),ln(n)&&(n=this.nodes[n]),t instanceof ju||(t=a[zf(t)]),n instanceof ju||(n=a[zf(n)]),!(!t||!n)){var o=t.id+"-"+n.id,l=new pW(t,n,r);return l.hostGraph=this,this._directed&&(t.outEdges.push(l),n.inEdges.push(l)),t.edges.push(l),t!==n&&n.edges.push(l),this.edges.push(l),i[o]=l,l}},e.prototype.getEdgeByIndex=function(t){var n=this.edgeData.getRawIndex(t);return this.edges[n]},e.prototype.getEdge=function(t,n){t instanceof ju&&(t=t.id),n instanceof ju&&(n=n.id);var r=this._edgesMap;return this._directed?r[t+"-"+n]:r[t+"-"+n]||r[n+"-"+t]},e.prototype.eachNode=function(t,n){for(var r=this.nodes,a=r.length,i=0;i<a;i++)r[i].dataIndex>=0&&t.call(n,r[i],i)},e.prototype.eachEdge=function(t,n){for(var r=this.edges,a=r.length,i=0;i<a;i++)r[i].dataIndex>=0&&r[i].node1.dataIndex>=0&&r[i].node2.dataIndex>=0&&t.call(n,r[i],i)},e.prototype.breadthFirstTraverse=function(t,n,r,a){if(n instanceof ju||(n=this._nodesMap[zf(n)]),!!n){for(var i=r==="out"?"outEdges":r==="in"?"inEdges":"edges",o=0;o<this.nodes.length;o++)this.nodes[o].__visited=!1;if(!t.call(a,n,null))for(var l=[n];l.length;)for(var s=l.shift(),u=s[i],o=0;o<u.length;o++){var c=u[o],f=c.node1===s?c.node2:c.node1;if(!f.__visited){if(t.call(a,f,s))return;l.push(f),f.__visited=!0}}}},e.prototype.update=function(){for(var t=this.data,n=this.edgeData,r=this.nodes,a=this.edges,i=0,o=r.length;i<o;i++)r[i].dataIndex=-1;for(var i=0,o=t.count();i<o;i++)r[t.getRawIndex(i)].dataIndex=i;n.filterSelf(function(l){var s=a[n.getRawIndex(l)];return s.node1.dataIndex>=0&&s.node2.dataIndex>=0});for(var i=0,o=a.length;i<o;i++)a[i].dataIndex=-1;for(var i=0,o=n.count();i<o;i++)a[n.getRawIndex(i)].dataIndex=i},e.prototype.clone=function(){for(var t=new e(this._directed),n=this.nodes,r=this.edges,a=0;a<n.length;a++)t.addNode(n[a].id,n[a].dataIndex);for(var a=0;a<r.length;a++){var i=r[a];t.addEdge(i.node1.id,i.node2.id,i.dataIndex)}return t},e}(),ju=function(){function e(t,n){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=t??"",this.dataIndex=n??-1}return e.prototype.degree=function(){return this.edges.length},e.prototype.inDegree=function(){return this.inEdges.length},e.prototype.outDegree=function(){return this.outEdges.length},e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var n=this.hostGraph,r=n.data.getItemModel(this.dataIndex);return r.getModel(t)}},e.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},n=0;n<this.edges.length;n++){var r=this.edges[n];r.dataIndex<0||(t.edge.push(r.dataIndex),t.node.push(r.node1.dataIndex,r.node2.dataIndex))}return t},e.prototype.getTrajectoryDataIndices=function(){for(var t=pt(),n=pt(),r=0;r<this.edges.length;r++){var a=this.edges[r];if(!(a.dataIndex<0)){t.set(a.dataIndex,!0);for(var i=[a.node1],o=[a.node2],l=0;l<i.length;){var s=i[l];l++,n.set(s.dataIndex,!0);for(var u=0;u<s.inEdges.length;u++)t.set(s.inEdges[u].dataIndex,!0),i.push(s.inEdges[u].node1)}for(l=0;l<o.length;){var c=o[l];l++,n.set(c.dataIndex,!0);for(var u=0;u<c.outEdges.length;u++)t.set(c.outEdges[u].dataIndex,!0),o.push(c.outEdges[u].node2)}}}return{edge:t.keys(),node:n.keys()}},e}(),pW=function(){function e(t,n,r){this.dataIndex=-1,this.node1=t,this.node2=n,this.dataIndex=r??-1}return e.prototype.getModel=function(t){if(!(this.dataIndex<0)){var n=this.hostGraph,r=n.edgeData.getItemModel(this.dataIndex);return r.getModel(t)}},e.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},e.prototype.getTrajectoryDataIndices=function(){var t=pt(),n=pt();t.set(this.dataIndex,!0);for(var r=[this.node1],a=[this.node2],i=0;i<r.length;){var o=r[i];i++,n.set(o.dataIndex,!0);for(var l=0;l<o.inEdges.length;l++)t.set(o.inEdges[l].dataIndex,!0),r.push(o.inEdges[l].node1)}for(i=0;i<a.length;){var s=a[i];i++,n.set(s.dataIndex,!0);for(var l=0;l<s.outEdges.length;l++)t.set(s.outEdges[l].dataIndex,!0),a.push(s.outEdges[l].node2)}return{edge:t.keys(),node:n.keys()}},e}();function gW(e,t){return{getValue:function(n){var r=this[e][t];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[e][t].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[e][t].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[e][t].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[e][t].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[e][t].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[e][t].getRawIndex(this.dataIndex)}}}sr(ju,gW("hostGraph","data"));sr(pW,gW("hostGraph","edgeData"));function mW(e,t,n,r,a){for(var i=new ZOe(r),o=0;o<e.length;o++)i.addNode(Mr(e[o].id,e[o].name,o),o);for(var l=[],s=[],u=0,o=0;o<t.length;o++){var c=t[o],f=c.source,d=c.target;i.addEdge(f,d,u)&&(s.push(c),l.push(Mr(ur(c.id,null),f+" > "+d)),u++)}var h=n.get("coordinateSystem"),v;if(h==="cartesian2d"||h==="polar")v=jl(e,n);else{var p=Pp.get(h),g=p?p.dimensions||[]:[];Yt(g,"value")<0&&g.concat(["value"]);var m=Op(e,{coordDimensions:g,encodeDefine:n.getEncode()}).dimensions;v=new ua(m,n),v.initData(e)}var b=new ua(["value"],n);return b.initData(s,l),a&&a(v,b),JG({mainData:v,struct:i,structAttr:"graph",datas:{node:v,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var JOe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments);var r=this;function a(){return r._categoriesData}this.legendVisualProvider=new jp(a,a),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(n.edges||n.links),this._updateCategoriesData()},t.prototype.mergeDefaultAndTheme=function(n){e.prototype.mergeDefaultAndTheme.apply(this,arguments),Nc(n,"edgeLabel",["show"])},t.prototype.getInitialData=function(n,r){var a=n.edges||n.links||[],i=n.data||n.nodes||[],o=this;if(i&&a){$Oe(this);var l=mW(i,a,this,!0,s);return K(l.edges,function(u){VOe(u.node1,u.node2,this,u.dataIndex)},this),l.data}function s(u,c){u.wrapMethod("getItemModel",function(v){var p=o._categoriesModels,g=v.getShallow("category"),m=p[g];return m&&(m.parentModel=v.parentModel,v.parentModel=m),v});var f=yn.prototype.getModel;function d(v,p){var g=f.call(this,v,p);return g.resolveParentPath=h,g}c.wrapMethod("getItemModel",function(v){return v.resolveParentPath=h,v.getModel=d,v});function h(v){if(v&&(v[0]==="label"||v[1]==="label")){var p=v.slice();return v[0]==="label"?p[0]="edgeLabel":v[1]==="label"&&(p[1]="edgeLabel"),p}return v}}},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.getCategoriesData=function(){return this._categoriesData},t.prototype.formatTooltip=function(n,r,a){if(a==="edge"){var i=this.getData(),o=this.getDataParams(n,a),l=i.graph.getEdgeByIndex(n),s=i.getName(l.node1.dataIndex),u=i.getName(l.node2.dataIndex),c=[];return s!=null&&c.push(s),u!=null&&c.push(u),Cr("nameValue",{name:c.join(" > "),value:o.value,noValue:o.value==null})}var f=Bj({series:this,dataIndex:n,multipleSeries:r});return f},t.prototype._updateCategoriesData=function(){var n=Ge(this.option.categories||[],function(a){return a.value!=null?a:$e({value:0},a)}),r=new ua(["value"],this);r.initData(n),this._categoriesData=r,this._categoriesModels=r.mapArray(function(a){return r.getItemModel(a)})},t.prototype.setZoom=function(n){this.option.zoom=n},t.prototype.setCenter=function(n){this.option.center=n},t.prototype.isAnimationEnabled=function(){return e.prototype.isAnimationEnabled.call(this)&&!(this.get("layout")==="force"&&this.get(["force","layoutAnimation"]))},t.type="series.graph",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Ln),QOe={type:"graphRoam",event:"graphRoam",update:"none"};function eNe(e){e.registerChartView(XOe),e.registerSeriesModel(JOe),e.registerProcessor(LOe),e.registerVisual(POe),e.registerVisual(ROe),e.registerLayout(BOe),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,HOe),e.registerLayout(qOe),e.registerCoordinateSystem("graphView",{dimensions:Gp.dimensions,create:WOe}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},er),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},er),e.registerAction(QOe,function(t,n,r){n.eachComponent({mainType:"series",query:t},function(a){var i=a.coordinateSystem,o=F8(i,t,void 0,r);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}var tNe=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),nNe=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="pointer",r}return t.prototype.getDefaultShape=function(){return new tNe},t.prototype.buildPath=function(n,r){var a=Math.cos,i=Math.sin,o=r.r,l=r.width,s=r.angle,u=r.x-a(s)*l*(l>=o/3?1:2),c=r.y-i(s)*l*(l>=o/3?1:2);s=r.angle-Math.PI/2,n.moveTo(u,c),n.lineTo(r.x+a(s)*l,r.y+i(s)*l),n.lineTo(r.x+a(r.angle)*o,r.y+i(r.angle)*o),n.lineTo(r.x-a(s)*l,r.y-i(s)*l),n.lineTo(u,c)},t}(Zt);function rNe(e,t){var n=e.get("center"),r=t.getWidth(),a=t.getHeight(),i=Math.min(r,a),o=et(n[0],t.getWidth()),l=et(n[1],t.getHeight()),s=et(e.get("radius"),i/2);return{cx:o,cy:l,r:s}}function p0(e,t){var n=e==null?"":e+"";return t&&(it(t)?n=t.replace("{value}",n):yt(t)&&(n=t(e))),n}var aNe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){this.group.removeAll();var i=n.get(["axisLine","lineStyle","color"]),o=rNe(n,a);this._renderMain(n,r,a,i,o),this._data=n.getData()},t.prototype.dispose=function(){},t.prototype._renderMain=function(n,r,a,i,o){var l=this.group,s=n.get("clockwise"),u=-n.get("startAngle")/180*Math.PI,c=-n.get("endAngle")/180*Math.PI,f=n.getModel("axisLine"),d=f.get("roundCap"),h=d?Lm:pa,v=f.get("show"),p=f.getModel("lineStyle"),g=p.get("width"),m=[u,c];F6(m,!s),u=m[0],c=m[1];for(var b=c-u,_=u,w=[],x=0;v&&x<i.length;x++){var S=Math.min(Math.max(i[x][0],0),1);c=u+b*S;var C=new h({shape:{startAngle:_,endAngle:c,cx:o.cx,cy:o.cy,clockwise:s,r0:o.r-g,r:o.r},silent:!0});C.setStyle({fill:i[x][1]}),C.setStyle(p.getLineStyle(["color","width"])),w.push(C),_=c}w.reverse(),K(w,function(z){return l.add(z)});var T=function(z){if(z<=0)return i[0][1];var A;for(A=0;A<i.length;A++)if(i[A][0]>=z&&(A===0?0:i[A-1][0])<z)return i[A][1];return i[A-1][1]};this._renderTicks(n,r,a,T,o,u,c,s,g),this._renderTitleAndDetail(n,r,a,T,o),this._renderAnchor(n,o),this._renderPointer(n,r,a,T,o,u,c,s,g)},t.prototype._renderTicks=function(n,r,a,i,o,l,s,u,c){for(var f=this.group,d=o.cx,h=o.cy,v=o.r,p=+n.get("min"),g=+n.get("max"),m=n.getModel("splitLine"),b=n.getModel("axisTick"),_=n.getModel("axisLabel"),w=n.get("splitNumber"),x=b.get("splitNumber"),S=et(m.get("length"),v),C=et(b.get("length"),v),T=l,z=(s-l)/w,A=z/x,E=m.getModel("lineStyle").getLineStyle(),D=b.getModel("lineStyle").getLineStyle(),$=m.get("distance"),O,R,N=0;N<=w;N++){if(O=Math.cos(T),R=Math.sin(T),m.get("show")){var B=$?$+c:c,V=new mr({shape:{x1:O*(v-B)+d,y1:R*(v-B)+h,x2:O*(v-S-B)+d,y2:R*(v-S-B)+h},style:E,silent:!0});E.stroke==="auto"&&V.setStyle({stroke:i(N/w)}),f.add(V)}if(_.get("show")){var B=_.get("distance")+$,P=p0(Zn(N/w*(g-p)+p),_.get("formatter")),W=i(N/w),Z=O*(v-S-B)+d,ee=R*(v-S-B)+h,re=_.get("rotate"),ue=0;re==="radial"?(ue=-T+2*Math.PI,ue>Math.PI/2&&(ue+=Math.PI)):re==="tangential"?ue=-T-Math.PI/2:ln(re)&&(ue=re*Math.PI/180),ue===0?f.add(new on({style:In(_,{text:P,x:Z,y:ee,verticalAlign:R<-.8?"top":R>.8?"bottom":"middle",align:O<-.4?"left":O>.4?"right":"center"},{inheritColor:W}),silent:!0})):f.add(new on({style:In(_,{text:P,x:Z,y:ee,verticalAlign:"middle",align:"center"},{inheritColor:W}),silent:!0,originX:Z,originY:ee,rotation:ue}))}if(b.get("show")&&N!==w){var B=b.get("distance");B=B?B+c:c;for(var ye=0;ye<=x;ye++){O=Math.cos(T),R=Math.sin(T);var le=new mr({shape:{x1:O*(v-B)+d,y1:R*(v-B)+h,x2:O*(v-C-B)+d,y2:R*(v-C-B)+h},silent:!0,style:D});D.stroke==="auto"&&le.setStyle({stroke:i((N+ye/x)/w)}),f.add(le),T+=A}T-=A}else T+=z}},t.prototype._renderPointer=function(n,r,a,i,o,l,s,u,c){var f=this.group,d=this._data,h=this._progressEls,v=[],p=n.get(["pointer","show"]),g=n.getModel("progress"),m=g.get("show"),b=n.getData(),_=b.mapDimension("value"),w=+n.get("min"),x=+n.get("max"),S=[w,x],C=[l,s];function T(A,E){var D=b.getItemModel(A),$=D.getModel("pointer"),O=et($.get("width"),o.r),R=et($.get("length"),o.r),N=n.get(["pointer","icon"]),B=$.get("offsetCenter"),V=et(B[0],o.r),P=et(B[1],o.r),W=$.get("keepAspect"),Z;return N?Z=lr(N,V-O/2,P-R,O,R,null,W):Z=new nNe({shape:{angle:-Math.PI/2,width:O,r:R,x:V,y:P}}),Z.rotation=-(E+Math.PI/2),Z.x=o.cx,Z.y=o.cy,Z}function z(A,E){var D=g.get("roundCap"),$=D?Lm:pa,O=g.get("overlap"),R=O?g.get("width"):c/b.count(),N=O?o.r-R:o.r-(A+1)*R,B=O?o.r:o.r-A*R,V=new $({shape:{startAngle:l,endAngle:E,cx:o.cx,cy:o.cy,clockwise:u,r0:N,r:B}});return O&&(V.z2=x-b.get(_,A)%x),V}(m||p)&&(b.diff(d).add(function(A){var E=b.get(_,A);if(p){var D=T(A,l);Nn(D,{rotation:-((isNaN(+E)?C[0]:bn(E,S,C,!0))+Math.PI/2)},n),f.add(D),b.setItemGraphicEl(A,D)}if(m){var $=z(A,l),O=g.get("clip");Nn($,{shape:{endAngle:bn(E,S,C,O)}},n),f.add($),Uw(n.seriesIndex,b.dataType,A,$),v[A]=$}}).update(function(A,E){var D=b.get(_,A);if(p){var $=d.getItemGraphicEl(E),O=$?$.rotation:l,R=T(A,O);R.rotation=O,un(R,{rotation:-((isNaN(+D)?C[0]:bn(D,S,C,!0))+Math.PI/2)},n),f.add(R),b.setItemGraphicEl(A,R)}if(m){var N=h[E],B=N?N.shape.endAngle:l,V=z(A,B),P=g.get("clip");un(V,{shape:{endAngle:bn(D,S,C,P)}},n),f.add(V),Uw(n.seriesIndex,b.dataType,A,V),v[A]=V}}).execute(),b.each(function(A){var E=b.getItemModel(A),D=E.getModel("emphasis"),$=D.get("focus"),O=D.get("blurScope"),R=D.get("disabled");if(p){var N=b.getItemGraphicEl(A),B=b.getItemVisual(A,"style"),V=B.fill;if(N instanceof Ir){var P=N.style;N.useStyle($e({image:P.image,x:P.x,y:P.y,width:P.width,height:P.height},B))}else N.useStyle(B),N.type!=="pointer"&&N.setColor(V);N.setStyle(E.getModel(["pointer","itemStyle"]).getItemStyle()),N.style.fill==="auto"&&N.setStyle("fill",i(bn(b.get(_,A),S,[0,1],!0))),N.z2EmphasisLift=0,Br(N,E),Kn(N,$,O,R)}if(m){var W=v[A];W.useStyle(b.getItemVisual(A,"style")),W.setStyle(E.getModel(["progress","itemStyle"]).getItemStyle()),W.z2EmphasisLift=0,Br(W,E),Kn(W,$,O,R)}}),this._progressEls=v)},t.prototype._renderAnchor=function(n,r){var a=n.getModel("anchor"),i=a.get("show");if(i){var o=a.get("size"),l=a.get("icon"),s=a.get("offsetCenter"),u=a.get("keepAspect"),c=lr(l,r.cx-o/2+et(s[0],r.r),r.cy-o/2+et(s[1],r.r),o,o,null,u);c.z2=a.get("showAbove")?1:0,c.setStyle(a.getModel("itemStyle").getItemStyle()),this.group.add(c)}},t.prototype._renderTitleAndDetail=function(n,r,a,i,o){var l=this,s=n.getData(),u=s.mapDimension("value"),c=+n.get("min"),f=+n.get("max"),d=new At,h=[],v=[],p=n.isAnimationEnabled(),g=n.get(["pointer","showAbove"]);s.diff(this._data).add(function(m){h[m]=new on({silent:!0}),v[m]=new on({silent:!0})}).update(function(m,b){h[m]=l._titleEls[b],v[m]=l._detailEls[b]}).execute(),s.each(function(m){var b=s.getItemModel(m),_=s.get(u,m),w=new At,x=i(bn(_,[c,f],[0,1],!0)),S=b.getModel("title");if(S.get("show")){var C=S.get("offsetCenter"),T=o.cx+et(C[0],o.r),z=o.cy+et(C[1],o.r),A=h[m];A.attr({z2:g?0:2,style:In(S,{x:T,y:z,text:s.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:x})}),w.add(A)}var E=b.getModel("detail");if(E.get("show")){var D=E.get("offsetCenter"),$=o.cx+et(D[0],o.r),O=o.cy+et(D[1],o.r),R=et(E.get("width"),o.r),N=et(E.get("height"),o.r),B=n.get(["progress","show"])?s.getItemVisual(m,"style").fill:x,A=v[m],V=E.get("formatter");A.attr({z2:g?0:2,style:In(E,{x:$,y:O,text:p0(_,V),width:isNaN(R)?null:R,height:isNaN(N)?null:N,align:"center",verticalAlign:"middle"},{inheritColor:B})}),qH(A,{normal:E},_,function(W){return p0(W,V)}),p&&GH(A,m,s,n,{getFormattedLabel:function(W,Z,ee,re,ue,ye){return p0(ye?ye.interpolatedValue:_,V)}}),w.add(A)}d.add(w)}),this.group.add(d),this._titleEls=h,this._detailEls=v},t.type="gauge",t}(zn),iNe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="itemStyle",n}return t.prototype.getInitialData=function(n,r){return wh(this,["value"])},t.type="series.gauge",t.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},t}(Ln);function oNe(e){e.registerChartView(aNe),e.registerSeriesModel(iNe)}var lNe=["itemStyle","opacity"],sNe=function(e){Se(t,e);function t(n,r){var a=e.call(this)||this,i=a,o=new ya,l=new on;return i.setTextContent(l),a.setTextGuideLine(o),a.updateData(n,r,!0),a}return t.prototype.updateData=function(n,r,a){var i=this,o=n.hostModel,l=n.getItemModel(r),s=n.getItemLayout(r),u=l.getModel("emphasis"),c=l.get(lNe);c=c??1,a||Qi(i),i.useStyle(n.getItemVisual(r,"style")),i.style.lineJoin="round",a?(i.setShape({points:s.points}),i.style.opacity=0,Nn(i,{style:{opacity:c}},o,r)):un(i,{style:{opacity:c},shape:{points:s.points}},o,r),Br(i,l),this._updateLabel(n,r),Kn(this,u.get("focus"),u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n,r){var a=this,i=this.getTextGuideLine(),o=a.getTextContent(),l=n.hostModel,s=n.getItemModel(r),u=n.getItemLayout(r),c=u.label,f=n.getItemVisual(r,"style"),d=f.fill;Fr(o,Sr(s),{labelFetcher:n.hostModel,labelDataIndex:r,defaultOpacity:f.opacity,defaultText:n.getName(r)},{normal:{align:c.textAlign,verticalAlign:c.verticalAlign}}),a.setTextConfig({local:!0,inside:!!c.inside,insideStroke:d,outsideFill:d});var h=c.linePoints;i.setShape({points:h}),a.textGuideLineConfig={anchor:h?new Ft(h[0][0],h[0][1]):null},un(o,{style:{x:c.x,y:c.y}},l,r),o.attr({rotation:c.rotation,originX:c.x,originY:c.y,z2:10}),z8(a,M8(s),{stroke:d})},t}(ga),uNe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreLabelLineUpdate=!0,n}return t.prototype.render=function(n,r,a){var i=n.getData(),o=this._data,l=this.group;i.diff(o).add(function(s){var u=new sNe(i,s);i.setItemGraphicEl(s,u),l.add(u)}).update(function(s,u){var c=o.getItemGraphicEl(u);c.updateData(i,s),l.add(c),i.setItemGraphicEl(s,c)}).remove(function(s){var u=o.getItemGraphicEl(s);B1(u,n,s)}).execute(),this._data=i},t.prototype.remove=function(){this.group.removeAll(),this._data=null},t.prototype.dispose=function(){},t.type="funnel",t}(zn),cNe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jp(lt(this.getData,this),lt(this.getRawData,this)),this._defaultLabelLine(n)},t.prototype.getInitialData=function(n,r){return wh(this,{coordDimensions:["value"],encodeDefaulter:$t(i8,this)})},t.prototype._defaultLabelLine=function(n){Nc(n,"labelLine",["show"]);var r=n.labelLine,a=n.emphasis.labelLine;r.show=r.show&&n.label.show,a.show=a.show&&n.emphasis.label.show},t.prototype.getDataParams=function(n){var r=this.getData(),a=e.prototype.getDataParams.call(this,n),i=r.mapDimension("value"),o=r.getSum(i);return a.percent=o?+(r.get(i,n)/o*100).toFixed(2):0,a.$vars.push("percent"),a},t.type="series.funnel",t.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},t}(Ln);function fNe(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function dNe(e,t){for(var n=e.mapDimension("value"),r=e.mapArray(n,function(s){return s}),a=[],i=t==="ascending",o=0,l=e.count();o<l;o++)a[o]=o;return yt(t)?a.sort(t):t!=="none"&&a.sort(function(s,u){return i?r[s]-r[u]:r[u]-r[s]}),a}function hNe(e){var t=e.hostModel,n=t.get("orient");e.each(function(r){var a=e.getItemModel(r),i=a.getModel("label"),o=i.get("position"),l=a.getModel("labelLine"),s=e.getItemLayout(r),u=s.points,c=o==="inner"||o==="inside"||o==="center"||o==="insideLeft"||o==="insideRight",f,d,h,v;if(c)o==="insideLeft"?(d=(u[0][0]+u[3][0])/2+5,h=(u[0][1]+u[3][1])/2,f="left"):o==="insideRight"?(d=(u[1][0]+u[2][0])/2-5,h=(u[1][1]+u[2][1])/2,f="right"):(d=(u[0][0]+u[1][0]+u[2][0]+u[3][0])/4,h=(u[0][1]+u[1][1]+u[2][1]+u[3][1])/4,f="center"),v=[[d,h],[d,h]];else{var p=void 0,g=void 0,m=void 0,b=void 0,_=l.get("length");o==="left"?(p=(u[3][0]+u[0][0])/2,g=(u[3][1]+u[0][1])/2,m=p-_,d=m-5,f="right"):o==="right"?(p=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,m=p+_,d=m+5,f="left"):o==="top"?(p=(u[3][0]+u[0][0])/2,g=(u[3][1]+u[0][1])/2,b=g-_,h=b-5,f="center"):o==="bottom"?(p=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,b=g+_,h=b+5,f="center"):o==="rightTop"?(p=n==="horizontal"?u[3][0]:u[1][0],g=n==="horizontal"?u[3][1]:u[1][1],n==="horizontal"?(b=g-_,h=b-5,f="center"):(m=p+_,d=m+5,f="top")):o==="rightBottom"?(p=u[2][0],g=u[2][1],n==="horizontal"?(b=g+_,h=b+5,f="center"):(m=p+_,d=m+5,f="bottom")):o==="leftTop"?(p=u[0][0],g=n==="horizontal"?u[0][1]:u[1][1],n==="horizontal"?(b=g-_,h=b-5,f="center"):(m=p-_,d=m-5,f="right")):o==="leftBottom"?(p=n==="horizontal"?u[1][0]:u[3][0],g=n==="horizontal"?u[1][1]:u[2][1],n==="horizontal"?(b=g+_,h=b+5,f="center"):(m=p-_,d=m-5,f="right")):(p=(u[1][0]+u[2][0])/2,g=(u[1][1]+u[2][1])/2,n==="horizontal"?(b=g+_,h=b+5,f="center"):(m=p+_,d=m+5,f="left")),n==="horizontal"?(m=p,d=m):(b=g,h=b),v=[[p,g],[m,b]]}s.label={linePoints:v,x:d,y:h,verticalAlign:"middle",textAlign:f,inside:c}})}function vNe(e,t){e.eachSeriesByType("funnel",function(n){var r=n.getData(),a=r.mapDimension("value"),i=n.get("sort"),o=fNe(n,t),l=n.get("orient"),s=o.width,u=o.height,c=dNe(r,i),f=o.x,d=o.y,h=l==="horizontal"?[et(n.get("minSize"),u),et(n.get("maxSize"),u)]:[et(n.get("minSize"),s),et(n.get("maxSize"),s)],v=r.getDataExtent(a),p=n.get("min"),g=n.get("max");p==null&&(p=Math.min(v[0],0)),g==null&&(g=v[1]);var m=n.get("funnelAlign"),b=n.get("gap"),_=l==="horizontal"?s:u,w=(_-b*(r.count()-1))/r.count(),x=function(O,R){if(l==="horizontal"){var N=r.get(a,O)||0,B=bn(N,[p,g],h,!0),V=void 0;switch(m){case"top":V=d;break;case"center":V=d+(u-B)/2;break;case"bottom":V=d+(u-B);break}return[[R,V],[R,V+B]]}var P=r.get(a,O)||0,W=bn(P,[p,g],h,!0),Z;switch(m){case"left":Z=f;break;case"center":Z=f+(s-W)/2;break;case"right":Z=f+s-W;break}return[[Z,R],[Z+W,R]]};i==="ascending"&&(w=-w,b=-b,l==="horizontal"?f+=s:d+=u,c=c.reverse());for(var S=0;S<c.length;S++){var C=c[S],T=c[S+1],z=r.getItemModel(C);if(l==="horizontal"){var A=z.get(["itemStyle","width"]);A==null?A=w:(A=et(A,s),i==="ascending"&&(A=-A));var E=x(C,f),D=x(T,f+A);f+=A+b,r.setItemLayout(C,{points:E.concat(D.slice().reverse())})}else{var $=z.get(["itemStyle","height"]);$==null?$=w:($=et($,u),i==="ascending"&&($=-$));var E=x(C,d),D=x(T,d+$);d+=$+b,r.setItemLayout(C,{points:E.concat(D.slice().reverse())})}}hNe(r)})}function pNe(e){e.registerChartView(uNe),e.registerSeriesModel(cNe),e.registerLayout(vNe),e.registerProcessor(Hp("funnel"))}var gNe=.3,mNe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new At,n._initialized=!1,n}return t.prototype.init=function(){this.group.add(this._dataGroup)},t.prototype.render=function(n,r,a,i){this._progressiveEls=null;var o=this._dataGroup,l=n.getData(),s=this._data,u=n.coordinateSystem,c=u.dimensions,f=aD(n);l.diff(s).add(d).update(h).remove(v).execute();function d(g){var m=rD(l,o,g,c,u);v9(m,l,g,f)}function h(g,m){var b=s.getItemGraphicEl(m),_=yW(l,g,c,u);l.setItemGraphicEl(g,b),un(b,{shape:{points:_}},n,g),Qi(b),v9(b,l,g,f)}function v(g){var m=s.getItemGraphicEl(g);o.remove(m)}if(!this._initialized){this._initialized=!0;var p=yNe(u,n,function(){setTimeout(function(){o.removeClipPath()})});o.setClipPath(p)}this._data=l},t.prototype.incrementalPrepareRender=function(n,r,a){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},t.prototype.incrementalRender=function(n,r,a){for(var i=r.getData(),o=r.coordinateSystem,l=o.dimensions,s=aD(r),u=this._progressiveEls=[],c=n.start;c<n.end;c++){var f=rD(i,this._dataGroup,c,l,o);f.incremental=!0,v9(f,i,c,s),u.push(f)}},t.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},t.type="parallel",t}(zn);function yNe(e,t,n){var r=e.model,a=e.getRect(),i=new rn({shape:{x:a.x,y:a.y,width:a.width,height:a.height}}),o=r.get("layout")==="horizontal"?"width":"height";return i.setShape(o,0),Nn(i,{shape:{width:a.width,height:a.height}},t,n),i}function yW(e,t,n,r){for(var a=[],i=0;i<n.length;i++){var o=n[i],l=e.get(e.mapDimension(o),t);bNe(l,r.getAxis(o).type)||a.push(r.dataToPoint(l,o))}return a}function rD(e,t,n,r,a){var i=yW(e,n,r,a),o=new ya({shape:{points:i},z2:10});return t.add(o),e.setItemGraphicEl(n,o),o}function aD(e){var t=e.get("smooth",!0);return t===!0&&(t=gNe),t=Tl(t),D1(t)&&(t=0),{smooth:t}}function v9(e,t,n,r){e.useStyle(t.getItemVisual(n,"style")),e.style.fill=null,e.setShape("smooth",r.smooth);var a=t.getItemModel(n),i=a.getModel("emphasis");Br(e,a,"lineStyle"),Kn(e,i.get("focus"),i.get("blurScope"),i.get("disabled"))}function bNe(e,t){return t==="category"?e==null:e==null||isNaN(e)}var _Ne=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return t.prototype.getInitialData=function(n,r){return jl(null,this,{useEncodeDefaulter:lt(wNe,null,this)})},t.prototype.getRawIndicesByActiveState=function(n){var r=this.coordinateSystem,a=this.getData(),i=[];return r.eachActiveState(a,function(o,l){n===o&&i.push(a.getRawIndex(l))}),i},t.type="series.parallel",t.dependencies=["parallel"],t.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},t}(Ln);function wNe(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return K(t.dimensions,function(r){var a=xNe(r);n[r]=a}),n}}function xNe(e){return+e.replace("dim","")}var SNe=["lineStyle","opacity"],CNe={seriesType:"parallel",reset:function(e,t){var n=e.coordinateSystem,r={normal:e.get(["lineStyle","opacity"]),active:e.get("activeOpacity"),inactive:e.get("inactiveOpacity")};return{progress:function(a,i){n.eachActiveState(i,function(o,l){var s=r[o];if(o==="normal"&&i.hasItemOption){var u=i.getItemModel(l).get(SNe,!0);u!=null&&(s=u)}var c=i.ensureUniqueItemVisual(l,"style");c.opacity=s},a.start,a.end)}}}};function TNe(e){kNe(e),zNe(e)}function kNe(e){if(!e.parallel){var t=!1;K(e.series,function(n){n&&n.type==="parallel"&&(t=!0)}),t&&(e.parallel=[{}])}}function zNe(e){var t=Cn(e.parallelAxis);K(t,function(n){if(wt(n)){var r=n.parallelIndex||0,a=Cn(e.parallel)[r];a&&a.parallelAxisDefault&&jt(n,a.parallelAxisDefault,!1)}})}var MNe=5,ANe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){this._model=n,this._api=a,this._handlers||(this._handlers={},K(ENe,function(i,o){a.getZr().on(o,this._handlers[o]=lt(i,this))},this)),yh(this,"_throttledDispatchExpand",n.get("axisExpandRate"),"fixRate")},t.prototype.dispose=function(n,r){q1(this,"_throttledDispatchExpand"),K(this._handlers,function(a,i){r.getZr().off(i,a)}),this._handlers=null},t.prototype._throttledDispatchExpand=function(n){this._dispatchExpand(n)},t.prototype._dispatchExpand=function(n){n&&this._api.dispatchAction($e({type:"parallelAxisExpand"},n))},t.type="parallel",t}(Hn),ENe={mousedown:function(e){p9(this,"click")&&(this._mouseDownPoint=[e.offsetX,e.offsetY])},mouseup:function(e){var t=this._mouseDownPoint;if(p9(this,"click")&&t){var n=[e.offsetX,e.offsetY],r=Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2);if(r>MNe)return;var a=this._model.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]);a.behavior!=="none"&&this._dispatchExpand({axisExpandWindow:a.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(e){if(!(this._mouseDownPoint||!p9(this,"mousemove"))){var t=this._model,n=t.coordinateSystem.getSlidedAxisExpandWindow([e.offsetX,e.offsetY]),r=n.behavior;r==="jump"&&this._throttledDispatchExpand.debounceNextCall(t.get("axisExpandDebounce")),this._throttledDispatchExpand(r==="none"?null:{axisExpandWindow:n.axisExpandWindow,animation:r==="jump"?null:{duration:0}})}}};function p9(e,t){var n=e._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===t}var INe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){e.prototype.init.apply(this,arguments),this.mergeOption({})},t.prototype.mergeOption=function(n){var r=this.option;n&&jt(r,n,!0),this._initDimensions()},t.prototype.contains=function(n,r){var a=n.get("parallelIndex");return a!=null&&r.getComponent("parallel",a)===this},t.prototype.setAxisExpand=function(n){K(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],function(r){n.hasOwnProperty(r)&&(this.option[r]=n[r])},this)},t.prototype._initDimensions=function(){var n=this.dimensions=[],r=this.parallelAxisIndex=[],a=_n(this.ecModel.queryComponents({mainType:"parallelAxis"}),function(i){return(i.get("parallelIndex")||0)===this.componentIndex},this);K(a,function(i){n.push("dim"+i.get("dim")),r.push(i.componentIndex)})},t.type="parallel",t.dependencies=["parallelAxis"],t.layoutMode="box",t.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},t}(Qt),DNe=function(e){Se(t,e);function t(n,r,a,i,o){var l=e.call(this,n,r,a)||this;return l.type=i||"value",l.axisIndex=o,l}return t.prototype.isHorizontal=function(){return this.coordinateSystem.getModel().get("layout")!=="horizontal"},t}(io);function af(e,t,n,r,a,i){e=e||0;var o=n[1]-n[0];if(a!=null&&(a=Mf(a,[0,o])),i!=null&&(i=Math.max(i,a??0)),r==="all"){var l=Math.abs(t[1]-t[0]);l=Mf(l,[0,o]),a=i=Mf(l,[a,i]),r=0}t[0]=Mf(t[0],n),t[1]=Mf(t[1],n);var s=g9(t,r);t[r]+=e;var u=a||0,c=n.slice();s.sign<0?c[0]+=u:c[1]-=u,t[r]=Mf(t[r],c);var f;return f=g9(t,r),a!=null&&(f.sign!==s.sign||f.span<a)&&(t[1-r]=t[r]+s.sign*a),f=g9(t,r),i!=null&&f.span>i&&(t[1-r]=t[r]+f.sign*i),t}function g9(e,t){var n=e[t]-e[1-t];return{span:Math.abs(n),sign:n>0?-1:n<0?1:t?-1:1}}function Mf(e,t){return Math.min(t[1]!=null?t[1]:1/0,Math.max(t[0]!=null?t[0]:-1/0,e))}var m9=K,bW=Math.min,_W=Math.max,iD=Math.floor,LNe=Math.ceil,oD=Zn,PNe=Math.PI,RNe=function(){function e(t,n,r){this.type="parallel",this._axesMap=pt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,n,r)}return e.prototype._init=function(t,n,r){var a=t.dimensions,i=t.parallelAxisIndex;m9(a,function(o,l){var s=i[l],u=n.getComponent("parallelAxis",s),c=this._axesMap.set(o,new DNe(o,_3(u),[0,0],u.get("type"),s)),f=c.type==="category";c.onBand=f&&u.get("boundaryGap"),c.inverse=u.get("inverse"),u.axis=c,c.model=u,c.coordinateSystem=u.coordinateSystem=this},this)},e.prototype.update=function(t,n){this._updateAxesFromSeries(this._model,t)},e.prototype.containPoint=function(t){var n=this._makeLayoutInfo(),r=n.axisBase,a=n.layoutBase,i=n.pixelDimIndex,o=t[1-i],l=t[i];return o>=r&&o<=r+n.axisLength&&l>=a&&l<=a+n.layoutLength},e.prototype.getModel=function(){return this._model},e.prototype._updateAxesFromSeries=function(t,n){n.eachSeries(function(r){if(t.contains(r,n)){var a=r.getData();m9(this.dimensions,function(i){var o=this._axesMap.get(i);o.scale.unionExtentFromData(a,a.mapDimension(i)),Bd(o.scale,o.model)},this)}},this)},e.prototype.resize=function(t,n){this._rect=fr(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),this._layoutAxes()},e.prototype.getRect=function(){return this._rect},e.prototype._makeLayoutInfo=function(){var t=this._model,n=this._rect,r=["x","y"],a=["width","height"],i=t.get("layout"),o=i==="horizontal"?0:1,l=n[a[o]],s=[0,l],u=this.dimensions.length,c=g0(t.get("axisExpandWidth"),s),f=g0(t.get("axisExpandCount")||0,[0,u]),d=t.get("axisExpandable")&&u>3&&u>f&&f>1&&c>0&&l>0,h=t.get("axisExpandWindow"),v;if(h)v=g0(h[1]-h[0],s),h[1]=h[0]+v;else{v=g0(c*(f-1),s);var p=t.get("axisExpandCenter")||iD(u/2);h=[c*p-v/2],h[1]=h[0]+v}var g=(l-v)/(u-f);g<3&&(g=0);var m=[iD(oD(h[0]/c,1))+1,LNe(oD(h[1]/c,1))-1],b=g/c*h[0];return{layout:i,pixelDimIndex:o,layoutBase:n[r[o]],layoutLength:l,axisBase:n[r[1-o]],axisLength:n[a[1-o]],axisExpandable:d,axisExpandWidth:c,axisCollapseWidth:g,axisExpandWindow:h,axisCount:u,winInnerIndices:m,axisExpandWindow0Pos:b}},e.prototype._layoutAxes=function(){var t=this._rect,n=this._axesMap,r=this.dimensions,a=this._makeLayoutInfo(),i=a.layout;n.each(function(o){var l=[0,a.axisLength],s=o.inverse?1:0;o.setExtent(l[s],l[1-s])}),m9(r,function(o,l){var s=(a.axisExpandable?NNe:ONe)(l,a),u={horizontal:{x:s.position,y:a.axisLength},vertical:{x:0,y:s.position}},c={horizontal:PNe/2,vertical:0},f=[u[i].x+t.x,u[i].y+t.y],d=c[i],h=Ga();Jc(h,h,d),$o(h,h,f),this._axesLayout[o]={position:f,rotation:d,transform:h,axisNameAvailableWidth:s.axisNameAvailableWidth,axisLabelShow:s.axisLabelShow,nameTruncateMaxWidth:s.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}},this)},e.prototype.getAxis=function(t){return this._axesMap.get(t)},e.prototype.dataToPoint=function(t,n){return this.axisCoordToPoint(this._axesMap.get(n).dataToCoord(t),n)},e.prototype.eachActiveState=function(t,n,r,a){r==null&&(r=0),a==null&&(a=t.count());var i=this._axesMap,o=this.dimensions,l=[],s=[];K(o,function(g){l.push(t.mapDimension(g)),s.push(i.get(g).model)});for(var u=this.hasAxisBrushed(),c=r;c<a;c++){var f=void 0;if(!u)f="normal";else{f="active";for(var d=t.getValues(l,c),h=0,v=o.length;h<v;h++){var p=s[h].getActiveState(d[h]);if(p==="inactive"){f="inactive";break}}}n(f,c)}},e.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,n=this._axesMap,r=!1,a=0,i=t.length;a<i;a++)n.get(t[a]).model.getActiveState()!=="normal"&&(r=!0);return r},e.prototype.axisCoordToPoint=function(t,n){var r=this._axesLayout[n];return Yi([t,0],r.transform)},e.prototype.getAxisLayout=function(t){return kt(this._axesLayout[t])},e.prototype.getSlidedAxisExpandWindow=function(t){var n=this._makeLayoutInfo(),r=n.pixelDimIndex,a=n.axisExpandWindow.slice(),i=a[1]-a[0],o=[0,n.axisExpandWidth*(n.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:a};var l=t[r]-n.layoutBase-n.axisExpandWindow0Pos,s,u="slide",c=n.axisCollapseWidth,f=this._model.get("axisExpandSlideTriggerArea"),d=f[0]!=null;if(c)d&&c&&l<i*f[0]?(u="jump",s=l-i*f[2]):d&&c&&l>i*(1-f[0])?(u="jump",s=l-i*(1-f[2])):(s=l-i*f[1])>=0&&(s=l-i*(1-f[1]))<=0&&(s=0),s*=n.axisExpandWidth/c,s?af(s,a,o,"all"):u="none";else{var h=a[1]-a[0],v=o[1]*l/h;a=[_W(0,v-h/2)],a[1]=bW(o[1],a[0]+h),a[0]=a[1]-h}return{axisExpandWindow:a,behavior:u}},e}();function g0(e,t){return bW(_W(e,t[0]),t[1])}function ONe(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function NNe(e,t){var n=t.layoutLength,r=t.axisExpandWidth,a=t.axisCount,i=t.axisCollapseWidth,o=t.winInnerIndices,l,s=i,u=!1,c;return e<o[0]?(l=e*i,c=i):e<=o[1]?(l=t.axisExpandWindow0Pos+e*r-t.axisExpandWindow[0],s=r,u=!0):(l=n-(a-1-e)*i,c=i),{position:l,axisNameAvailableWidth:s,axisLabelShow:u,nameTruncateMaxWidth:c}}function $Ne(e,t){var n=[];return e.eachComponent("parallel",function(r,a){var i=new RNe(r,e,t);i.name="parallel_"+a,i.resize(r,t),r.coordinateSystem=i,i.model=r,n.push(i)}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="parallel"){var a=r.getReferringComponents("parallel",rr).models[0];r.coordinateSystem=a.coordinateSystem}}),n}var VNe={create:$Ne},Nx=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.activeIntervals=[],n}return t.prototype.getAreaSelectStyle=function(){return Vc([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},t.prototype.setActiveIntervals=function(n){var r=this.activeIntervals=kt(n);if(r)for(var a=r.length-1;a>=0;a--)gi(r[a])},t.prototype.getActiveState=function(n){var r=this.activeIntervals;if(!r.length)return"normal";if(n==null||isNaN(+n))return"inactive";if(r.length===1){var a=r[0];if(a[0]<=n&&n<=a[1])return"active"}else for(var i=0,o=r.length;i<o;i++)if(r[i][0]<=n&&n<=r[i][1])return"active";return"inactive"},t}(Qt);sr(Nx,Np);var Hc=!0,np=Math.min,jd=Math.max,BNe=Math.pow,FNe=1e4,HNe=6,jNe=6,lD="globalPan",qNe={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},GNe={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},sD={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},WNe=0,Z8=function(e){Se(t,e);function t(n){var r=e.call(this)||this;return r._track=[],r._covers=[],r._handlers={},r._zr=n,r.group=new At,r._uid="brushController_"+WNe++,K(QNe,function(a,i){this._handlers[i]=lt(a,this)},r),r}return t.prototype.enableBrush=function(n){return this._brushType&&this._doDisableBrush(),n.brushType&&this._doEnableBrush(n),this},t.prototype._doEnableBrush=function(n){var r=this._zr;this._enableGlobalPan||OPe(r,lD,this._uid),K(this._handlers,function(a,i){r.on(i,a)}),this._brushType=n.brushType,this._brushOption=jt(kt(sD),n,!0)},t.prototype._doDisableBrush=function(){var n=this._zr;NPe(n,lD,this._uid),K(this._handlers,function(r,a){n.off(a,r)}),this._brushType=this._brushOption=null},t.prototype.setPanels=function(n){if(n&&n.length){var r=this._panels={};K(n,function(a){r[a.panelId]=kt(a)})}else this._panels=null;return this},t.prototype.mount=function(n){n=n||{},this._enableGlobalPan=n.enableGlobalPan;var r=this.group;return this._zr.add(r),r.attr({x:n.x||0,y:n.y||0,rotation:n.rotation||0,scaleX:n.scaleX||1,scaleY:n.scaleY||1}),this._transform=r.getLocalTransform(),this},t.prototype.updateCovers=function(n){n=Ge(n,function(d){return jt(kt(sD),d,!0)});var r="\0-brush-index-",a=this._covers,i=this._covers=[],o=this,l=this._creatingCover;return new Ml(a,n,u,s).add(c).update(c).remove(f).execute(),this;function s(d,h){return(d.id!=null?d.id:r+h)+"-"+d.brushType}function u(d,h){return s(d.__brushOption,h)}function c(d,h){var v=n[d];if(h!=null&&a[h]===l)i[d]=a[h];else{var p=i[d]=h!=null?(a[h].__brushOption=v,a[h]):xW(o,wW(o,v));J8(o,p)}}function f(d){a[d]!==l&&o.group.remove(a[d])}},t.prototype.unmount=function(){return this.enableBrush(!1),$x(this),this._zr.remove(this.group),this},t.prototype.dispose=function(){this.unmount(),this.off()},t}(Ei);function wW(e,t){var n=k3[t.brushType].createCover(e,t);return n.__brushOption=t,CW(n,t),e.group.add(n),n}function xW(e,t){var n=Q8(t);return n.endCreating&&(n.endCreating(e,t),CW(t,t.__brushOption)),t}function SW(e,t){var n=t.__brushOption;Q8(t).updateCoverShape(e,t,n.range,n)}function CW(e,t){var n=t.z;n==null&&(n=FNe),e.traverse(function(r){r.z=n,r.z2=n})}function J8(e,t){Q8(t).updateCommon(e,t),SW(e,t)}function Q8(e){return k3[e.__brushOption.brushType]}function eC(e,t,n){var r=e._panels;if(!r)return Hc;var a,i=e._transform;return K(r,function(o){o.isTargetByCursor(t,n,i)&&(a=o)}),a}function TW(e,t){var n=e._panels;if(!n)return Hc;var r=t.__brushOption.panelId;return r!=null?n[r]:Hc}function $x(e){var t=e._covers,n=t.length;return K(t,function(r){e.group.remove(r)},e),t.length=0,!!n}function jc(e,t){var n=Ge(e._covers,function(r){var a=r.__brushOption,i=kt(a.range);return{brushType:a.brushType,panelId:a.panelId,range:i}});e.trigger("brush",{areas:n,isEnd:!!t.isEnd,removeOnClick:!!t.removeOnClick})}function UNe(e){var t=e._track;if(!t.length)return!1;var n=t[t.length-1],r=t[0],a=n[0]-r[0],i=n[1]-r[1],o=BNe(a*a+i*i,.5);return o>HNe}function kW(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function zW(e,t,n,r){var a=new At;return a.add(new rn({name:"main",style:tC(n),silent:!0,draggable:!0,cursor:"move",drift:$t(uD,e,t,a,["n","s","w","e"]),ondragend:$t(jc,t,{isEnd:!0})})),K(r,function(i){a.add(new rn({name:i.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:$t(uD,e,t,a,i),ondragend:$t(jc,t,{isEnd:!0})}))}),a}function MW(e,t,n,r){var a=r.brushStyle.lineWidth||0,i=jd(a,jNe),o=n[0][0],l=n[1][0],s=o-a/2,u=l-a/2,c=n[0][1],f=n[1][1],d=c-i+a/2,h=f-i+a/2,v=c-o,p=f-l,g=v+a,m=p+a;nl(e,t,"main",o,l,v,p),r.transformable&&(nl(e,t,"w",s,u,i,m),nl(e,t,"e",d,u,i,m),nl(e,t,"n",s,u,g,i),nl(e,t,"s",s,h,g,i),nl(e,t,"nw",s,u,i,i),nl(e,t,"ne",d,u,i,i),nl(e,t,"sw",s,h,i,i),nl(e,t,"se",d,h,i,i))}function Vx(e,t){var n=t.__brushOption,r=n.transformable,a=t.childAt(0);a.useStyle(tC(n)),a.attr({silent:!r,cursor:r?"move":"default"}),K([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],function(i){var o=t.childOfName(i.join("")),l=i.length===1?Bx(e,i[0]):KNe(e,i);o&&o.attr({silent:!r,invisible:!r,cursor:r?GNe[l]+"-resize":null})})}function nl(e,t,n,r,a,i,o){var l=t.childOfName(n);l&&l.setShape(ZNe(nC(e,t,[[r,a],[r+i,a+o]])))}function tC(e){return _t({strokeNoScale:!0},e.brushStyle)}function AW(e,t,n,r){var a=[np(e,n),np(t,r)],i=[jd(e,n),jd(t,r)];return[[a[0],i[0]],[a[1],i[1]]]}function YNe(e){return Cc(e.group)}function Bx(e,t){var n={w:"left",e:"right",n:"top",s:"bottom"},r={left:"w",right:"e",top:"n",bottom:"s"},a=a3(n[t],YNe(e));return r[a]}function KNe(e,t){var n=[Bx(e,t[0]),Bx(e,t[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function uD(e,t,n,r,a,i){var o=n.__brushOption,l=e.toRectRange(o.range),s=EW(t,a,i);K(r,function(u){var c=qNe[u];l[c[0]][c[1]]+=s[c[0]]}),o.range=e.fromRectRange(AW(l[0][0],l[1][0],l[0][1],l[1][1])),J8(t,n),jc(t,{isEnd:!1})}function XNe(e,t,n,r){var a=t.__brushOption.range,i=EW(e,n,r);K(a,function(o){o[0]+=i[0],o[1]+=i[1]}),J8(e,t),jc(e,{isEnd:!1})}function EW(e,t,n){var r=e.group,a=r.transformCoordToLocal(t,n),i=r.transformCoordToLocal(0,0);return[a[0]-i[0],a[1]-i[1]]}function nC(e,t,n){var r=TW(e,t);return r&&r!==Hc?r.clipPath(n,e._transform):kt(n)}function ZNe(e){var t=np(e[0][0],e[1][0]),n=np(e[0][1],e[1][1]),r=jd(e[0][0],e[1][0]),a=jd(e[0][1],e[1][1]);return{x:t,y:n,width:r-t,height:a-n}}function JNe(e,t,n){if(!(!e._brushType||e$e(e,t.offsetX,t.offsetY))){var r=e._zr,a=e._covers,i=eC(e,t,n);if(!e._dragging)for(var o=0;o<a.length;o++){var l=a[o].__brushOption;if(i&&(i===Hc||l.panelId===i.panelId)&&k3[l.brushType].contain(a[o],n[0],n[1]))return}i&&r.setCursorStyle("crosshair")}}function Fx(e){var t=e.event;t.preventDefault&&t.preventDefault()}function Hx(e,t,n){return e.childOfName("main").contain(t,n)}function IW(e,t,n,r){var a=e._creatingCover,i=e._creatingPanel,o=e._brushOption,l;if(e._track.push(n.slice()),UNe(e)||a){if(i&&!a){o.brushMode==="single"&&$x(e);var s=kt(o);s.brushType=cD(s.brushType,i),s.panelId=i===Hc?null:i.panelId,a=e._creatingCover=wW(e,s),e._covers.push(a)}if(a){var u=k3[cD(e._brushType,i)],c=a.__brushOption;c.range=u.getCreatingRange(nC(e,a,e._track)),r&&(xW(e,a),u.updateCommon(e,a)),SW(e,a),l={isEnd:r}}}else r&&o.brushMode==="single"&&o.removeOnClick&&eC(e,t,n)&&$x(e)&&(l={isEnd:r,removeOnClick:!0});return l}function cD(e,t){return e==="auto"?t.defaultBrushType:e}var QNe={mousedown:function(e){if(this._dragging)fD(this,e);else if(!e.target||!e.target.draggable){Fx(e);var t=this.group.transformCoordToLocal(e.offsetX,e.offsetY);this._creatingCover=null;var n=this._creatingPanel=eC(this,e,t);n&&(this._dragging=!0,this._track=[t.slice()])}},mousemove:function(e){var t=e.offsetX,n=e.offsetY,r=this.group.transformCoordToLocal(t,n);if(JNe(this,e,r),this._dragging){Fx(e);var a=IW(this,e,r,!1);a&&jc(this,a)}},mouseup:function(e){fD(this,e)}};function fD(e,t){if(e._dragging){Fx(t);var n=t.offsetX,r=t.offsetY,a=e.group.transformCoordToLocal(n,r),i=IW(e,t,a,!0);e._dragging=!1,e._track=[],e._creatingCover=null,i&&jc(e,i)}}function e$e(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var k3={lineX:dD(0),lineY:dD(1),rect:{createCover:function(e,t){function n(r){return r}return zW({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=kW(e);return AW(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){MW(e,t,n,r)},updateCommon:Vx,contain:Hx},polygon:{createCover:function(e,t){var n=new At;return n.add(new ya({name:"main",style:tC(t),silent:!0})),n},getCreatingRange:function(e){return e},endCreating:function(e,t){t.remove(t.childAt(0)),t.add(new ga({name:"main",draggable:!0,drift:$t(XNe,e,t),ondragend:$t(jc,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:nC(e,t,n)})},updateCommon:Vx,contain:Hx}};function dD(e){return{createCover:function(t,n){return zW({toRectRange:function(r){var a=[r,[0,100]];return e&&a.reverse(),a},fromRectRange:function(r){return r[e]}},t,n,[[["w"],["e"]],[["n"],["s"]]][e])},getCreatingRange:function(t){var n=kW(t),r=np(n[0][e],n[1][e]),a=jd(n[0][e],n[1][e]);return[r,a]},updateCoverShape:function(t,n,r,a){var i,o=TW(t,n);if(o!==Hc&&o.getLinearBrushOtherExtent)i=o.getLinearBrushOtherExtent(e);else{var l=t._zr;i=[0,[l.getWidth(),l.getHeight()][1-e]]}var s=[r,i];e&&s.reverse(),MW(t,n,s,a)},updateCommon:Vx,contain:Hx}}function DW(e){return e=rC(e),function(t){return FH(t,e)}}function LW(e,t){return e=rC(e),function(n){var r=t??n,a=r?e.width:e.height,i=r?e.x:e.y;return[i,i+(a||0)]}}function PW(e,t,n){var r=rC(e);return function(a,i){return r.contain(i[0],i[1])&&!x3(a,t,n)}}function rC(e){return qt.create(e)}var t$e=["axisLine","axisTickLabel","axisName"],n$e=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){e.prototype.init.apply(this,arguments),(this._brushController=new Z8(r.getZr())).on("brush",lt(this._onBrush,this))},t.prototype.render=function(n,r,a,i){if(!r$e(n,r,i)){this.axisModel=n,this.api=a,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new At,this.group.add(this._axisGroup),!!n.get("show")){var l=i$e(n,r),s=l.coordinateSystem,u=n.getAreaSelectStyle(),c=u.width,f=n.axis.dim,d=s.getAxisLayout(f),h=$e({strokeContainThreshold:c},d),v=new ca(n,h);K(t$e,v.add,v),this._axisGroup.add(v.getGroup()),this._refreshBrushController(h,u,n,l,c,a),Dp(o,this._axisGroup,n)}}},t.prototype._refreshBrushController=function(n,r,a,i,o,l){var s=a.axis.getExtent(),u=s[1]-s[0],c=Math.min(30,Math.abs(u)*.1),f=qt.create({x:s[0],y:-o/2,width:u,height:o});f.x-=c,f.width+=2*c,this._brushController.mount({enableGlobalPan:!0,rotation:n.rotation,x:n.position[0],y:n.position[1]}).setPanels([{panelId:"pl",clipPath:DW(f),isTargetByCursor:PW(f,l,i),getLinearBrushOtherExtent:LW(f,0)}]).enableBrush({brushType:"lineX",brushStyle:r,removeOnClick:!0}).updateCovers(a$e(a))},t.prototype._onBrush=function(n){var r=n.areas,a=this.axisModel,i=a.axis,o=Ge(r,function(l){return[i.coordToData(l.range[0],!0),i.coordToData(l.range[1],!0)]});(!a.option.realtime===n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:a.id,intervals:o})},t.prototype.dispose=function(){this._brushController.dispose()},t.type="parallelAxis",t}(Hn);function r$e(e,t,n){return n&&n.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function a$e(e){var t=e.axis;return Ge(e.activeIntervals,function(n){return{brushType:"lineX",panelId:"pl",range:[t.dataToCoord(n[0],!0),t.dataToCoord(n[1],!0)]}})}function i$e(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var o$e={type:"axisAreaSelect",event:"axisAreaSelected"};function l$e(e){e.registerAction(o$e,function(t,n){n.eachComponent({mainType:"parallelAxis",query:t},function(r){r.axis.model.setActiveIntervals(t.intervals)})}),e.registerAction("parallelAxisExpand",function(t,n){n.eachComponent({mainType:"parallel",query:t},function(r){r.setAxisExpand(t)})})}var s$e={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function RW(e){e.registerComponentView(ANe),e.registerComponentModel(INe),e.registerCoordinateSystem("parallel",VNe),e.registerPreprocessor(TNe),e.registerComponentModel(Nx),e.registerComponentView(n$e),Hd(e,"parallel",Nx,s$e),l$e(e)}function u$e(e){Kt(RW),e.registerChartView(mNe),e.registerSeriesModel(_Ne),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,CNe)}var c$e=function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return e}(),f$e=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new c$e},t.prototype.buildPath=function(n,r){var a=r.extent;n.moveTo(r.x1,r.y1),n.bezierCurveTo(r.cpx1,r.cpy1,r.cpx2,r.cpy2,r.x2,r.y2),r.orient==="vertical"?(n.lineTo(r.x2+a,r.y2),n.bezierCurveTo(r.cpx2+a,r.cpy2,r.cpx1+a,r.cpy1,r.x1+a,r.y1)):(n.lineTo(r.x2,r.y2+a),n.bezierCurveTo(r.cpx2,r.cpy2+a,r.cpx1,r.cpy1+a,r.x1,r.y1+a)),n.closePath()},t.prototype.highlight=function(){kl(this)},t.prototype.downplay=function(){zl(this)},t}(Zt),d$e=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._focusAdjacencyDisabled=!1,n}return t.prototype.render=function(n,r,a){var i=this,o=n.getGraph(),l=this.group,s=n.layoutInfo,u=s.width,c=s.height,f=n.getData(),d=n.getData("edge"),h=n.get("orient");this._model=n,l.removeAll(),l.x=s.x,l.y=s.y,o.eachEdge(function(v){var p=new f$e,g=Dt(p);g.dataIndex=v.dataIndex,g.seriesIndex=n.seriesIndex,g.dataType="edge";var m=v.getModel(),b=m.getModel("lineStyle"),_=b.get("curveness"),w=v.node1.getLayout(),x=v.node1.getModel(),S=x.get("localX"),C=x.get("localY"),T=v.node2.getLayout(),z=v.node2.getModel(),A=z.get("localX"),E=z.get("localY"),D=v.getLayout(),$,O,R,N,B,V,P,W;p.shape.extent=Math.max(1,D.dy),p.shape.orient=h,h==="vertical"?($=(S!=null?S*u:w.x)+D.sy,O=(C!=null?C*c:w.y)+w.dy,R=(A!=null?A*u:T.x)+D.ty,N=E!=null?E*c:T.y,B=$,V=O*(1-_)+N*_,P=R,W=O*_+N*(1-_)):($=(S!=null?S*u:w.x)+w.dx,O=(C!=null?C*c:w.y)+D.sy,R=A!=null?A*u:T.x,N=(E!=null?E*c:T.y)+D.ty,B=$*(1-_)+R*_,V=O,P=$*_+R*(1-_),W=N),p.setShape({x1:$,y1:O,x2:R,y2:N,cpx1:B,cpy1:V,cpx2:P,cpy2:W}),p.useStyle(b.getItemStyle()),hD(p.style,h,v);var Z=""+m.get("value"),ee=Sr(m,"edgeLabel");Fr(p,ee,{labelFetcher:{getFormattedLabel:function(ye,le,ae,ie,ve,ce){return n.getFormattedLabel(ye,le,"edge",ie,Eo(ve,ee.normal&&ee.normal.get("formatter"),Z),ce)}},labelDataIndex:v.dataIndex,defaultText:Z}),p.setTextConfig({position:"inside"});var re=m.getModel("emphasis");Br(p,m,"lineStyle",function(ye){var le=ye.getItemStyle();return hD(le,h,v),le}),l.add(p),d.setItemGraphicEl(v.dataIndex,p);var ue=re.get("focus");Kn(p,ue==="adjacency"?v.getAdjacentDataIndices():ue==="trajectory"?v.getTrajectoryDataIndices():ue,re.get("blurScope"),re.get("disabled"))}),o.eachNode(function(v){var p=v.getLayout(),g=v.getModel(),m=g.get("localX"),b=g.get("localY"),_=g.getModel("emphasis"),w=g.get(["itemStyle","borderRadius"])||0,x=new rn({shape:{x:m!=null?m*u:p.x,y:b!=null?b*c:p.y,width:p.dx,height:p.dy,r:w},style:g.getModel("itemStyle").getItemStyle(),z2:10});Fr(x,Sr(g),{labelFetcher:{getFormattedLabel:function(C,T){return n.getFormattedLabel(C,T,"node")}},labelDataIndex:v.dataIndex,defaultText:v.id}),x.disableLabelAnimation=!0,x.setStyle("fill",v.getVisual("color")),x.setStyle("decal",v.getVisual("style").decal),Br(x,g),l.add(x),f.setItemGraphicEl(v.dataIndex,x),Dt(x).dataType="node";var S=_.get("focus");Kn(x,S==="adjacency"?v.getAdjacentDataIndices():S==="trajectory"?v.getTrajectoryDataIndices():S,_.get("blurScope"),_.get("disabled"))}),f.eachItemGraphicEl(function(v,p){var g=f.getItemModel(p);g.get("draggable")&&(v.drift=function(m,b){i._focusAdjacencyDisabled=!0,this.shape.x+=m,this.shape.y+=b,this.dirty(),a.dispatchAction({type:"dragNode",seriesId:n.id,dataIndex:f.getRawIndex(p),localX:this.shape.x/u,localY:this.shape.y/c})},v.ondragend=function(){i._focusAdjacencyDisabled=!1},v.draggable=!0,v.cursor="move")}),!this._data&&n.isAnimationEnabled()&&l.setClipPath(h$e(l.getBoundingRect(),n,function(){l.removeClipPath()})),this._data=n.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(zn);function hD(e,t,n){switch(e.fill){case"source":e.fill=n.node1.getVisual("color"),e.decal=n.node1.getVisual("style").decal;break;case"target":e.fill=n.node2.getVisual("color"),e.decal=n.node2.getVisual("style").decal;break;case"gradient":var r=n.node1.getVisual("color"),a=n.node2.getVisual("color");it(r)&&it(a)&&(e.fill=new Ip(0,0,+(t==="horizontal"),+(t==="vertical"),[{color:r,offset:0},{color:a,offset:1}]))}}function h$e(e,t,n){var r=new rn({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Nn(r,{shape:{width:e.width+20}},t,n),r}var v$e=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){var a=n.edges||n.links,i=n.data||n.nodes,o=n.levels;this.levelModels=[];for(var l=this.levelModels,s=0;s<o.length;s++)o[s].depth!=null&&o[s].depth>=0&&(l[o[s].depth]=new yn(o[s],this,r));if(i&&a){var u=mW(i,a,this,!0,c);return u.data}function c(f,d){f.wrapMethod("getItemModel",function(h,v){var p=h.parentModel,g=p.getData().getItemLayout(v);if(g){var m=g.depth,b=p.levelModels[m];b&&(h.parentModel=b)}return h}),d.wrapMethod("getItemModel",function(h,v){var p=h.parentModel,g=p.getGraph().getEdgeByIndex(v),m=g.node1.getLayout();if(m){var b=m.depth,_=p.levelModels[b];_&&(h.parentModel=_)}return h})}},t.prototype.setNodePosition=function(n,r){var a=this.option.data||this.option.nodes,i=a[n];i.localX=r[0],i.localY=r[1]},t.prototype.getGraph=function(){return this.getData().graph},t.prototype.getEdgeData=function(){return this.getGraph().edgeData},t.prototype.formatTooltip=function(n,r,a){function i(h){return isNaN(h)||h==null}if(a==="edge"){var o=this.getDataParams(n,a),l=o.data,s=o.value,u=l.source+" -- "+l.target;return Cr("nameValue",{name:u,value:s,noValue:i(s)})}else{var c=this.getGraph().getNodeByIndex(n),f=c.getLayout().value,d=this.getDataParams(n,a).data.name;return Cr("nameValue",{name:d!=null?d+"":null,value:f,noValue:i(f)})}},t.prototype.optionUpdated=function(){},t.prototype.getDataParams=function(n,r){var a=e.prototype.getDataParams.call(this,n,r);if(a.value==null&&r==="node"){var i=this.getGraph().getNodeByIndex(n),o=i.getLayout().value;a.value=o}return a},t.type="series.sankey",t.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},t}(Ln);function p$e(e,t){e.eachSeriesByType("sankey",function(n){var r=n.get("nodeWidth"),a=n.get("nodeGap"),i=g$e(n,t);n.layoutInfo=i;var o=i.width,l=i.height,s=n.getGraph(),u=s.nodes,c=s.edges;y$e(u);var f=_n(u,function(p){return p.getLayout().value===0}),d=f.length!==0?0:n.get("layoutIterations"),h=n.get("orient"),v=n.get("nodeAlign");m$e(u,c,r,a,o,l,d,h,v)})}function g$e(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function m$e(e,t,n,r,a,i,o,l,s){b$e(e,t,n,a,i,l,s),S$e(e,t,i,a,r,o,l),D$e(e,l)}function y$e(e){K(e,function(t){var n=Os(t.outEdges,Vm),r=Os(t.inEdges,Vm),a=t.getValue()||0,i=Math.max(n,r,a);t.setLayout({value:i},!0)})}function b$e(e,t,n,r,a,i,o){for(var l=[],s=[],u=[],c=[],f=0,d=0;d<t.length;d++)l[d]=1;for(var d=0;d<e.length;d++)s[d]=e[d].inEdges.length,s[d]===0&&u.push(e[d]);for(var h=-1;u.length;){for(var v=0;v<u.length;v++){var p=u[v],g=p.hostGraph.data.getRawDataItem(p.dataIndex),m=g.depth!=null&&g.depth>=0;m&&g.depth>h&&(h=g.depth),p.setLayout({depth:m?g.depth:f},!0),i==="vertical"?p.setLayout({dy:n},!0):p.setLayout({dx:n},!0);for(var b=0;b<p.outEdges.length;b++){var _=p.outEdges[b],w=t.indexOf(_);l[w]=0;var x=_.node2,S=e.indexOf(x);--s[S]===0&&c.indexOf(x)<0&&c.push(x)}}++f,u=c,c=[]}for(var d=0;d<l.length;d++)if(l[d]===1)throw new Error("Sankey is a DAG, the original data has cycle!");var C=h>f-1?h:f-1;o&&o!=="left"&&_$e(e,o,i,C);var T=i==="vertical"?(a-n)/C:(r-n)/C;x$e(e,T,i)}function OW(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return t.depth!=null&&t.depth>=0}function _$e(e,t,n,r){if(t==="right"){for(var a=[],i=e,o=0;i.length;){for(var l=0;l<i.length;l++){var s=i[l];s.setLayout({skNodeHeight:o},!0);for(var u=0;u<s.inEdges.length;u++){var c=s.inEdges[u];a.indexOf(c.node1)<0&&a.push(c.node1)}}i=a,a=[],++o}K(e,function(f){OW(f)||f.setLayout({depth:Math.max(0,r-f.getLayout().skNodeHeight)},!0)})}else t==="justify"&&w$e(e,r)}function w$e(e,t){K(e,function(n){!OW(n)&&!n.outEdges.length&&n.setLayout({depth:t},!0)})}function x$e(e,t,n){K(e,function(r){var a=r.getLayout().depth*t;n==="vertical"?r.setLayout({y:a},!0):r.setLayout({x:a},!0)})}function S$e(e,t,n,r,a,i,o){var l=C$e(e,o);T$e(l,t,n,r,a,o),y9(l,a,n,r,o);for(var s=1;i>0;i--)s*=.99,k$e(l,s,o),y9(l,a,n,r,o),I$e(l,s,o),y9(l,a,n,r,o)}function C$e(e,t){var n=[],r=t==="vertical"?"y":"x",a=jw(e,function(i){return i.getLayout()[r]});return a.keys.sort(function(i,o){return i-o}),K(a.keys,function(i){n.push(a.buckets.get(i))}),n}function T$e(e,t,n,r,a,i){var o=1/0;K(e,function(l){var s=l.length,u=0;K(l,function(f){u+=f.getLayout().value});var c=i==="vertical"?(r-(s-1)*a)/u:(n-(s-1)*a)/u;c<o&&(o=c)}),K(e,function(l){K(l,function(s,u){var c=s.getLayout().value*o;i==="vertical"?(s.setLayout({x:u},!0),s.setLayout({dx:c},!0)):(s.setLayout({y:u},!0),s.setLayout({dy:c},!0))})}),K(t,function(l){var s=+l.getValue()*o;l.setLayout({dy:s},!0)})}function y9(e,t,n,r,a){var i=a==="vertical"?"x":"y";K(e,function(o){o.sort(function(p,g){return p.getLayout()[i]-g.getLayout()[i]});for(var l,s,u,c=0,f=o.length,d=a==="vertical"?"dx":"dy",h=0;h<f;h++)s=o[h],u=c-s.getLayout()[i],u>0&&(l=s.getLayout()[i]+u,a==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0)),c=s.getLayout()[i]+s.getLayout()[d]+t;var v=a==="vertical"?r:n;if(u=c-t-v,u>0){l=s.getLayout()[i]-u,a==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0),c=l;for(var h=f-2;h>=0;--h)s=o[h],u=s.getLayout()[i]+s.getLayout()[d]+t-c,u>0&&(l=s.getLayout()[i]-u,a==="vertical"?s.setLayout({x:l},!0):s.setLayout({y:l},!0)),c=s.getLayout()[i]}})}function k$e(e,t,n){K(e.slice().reverse(),function(r){K(r,function(a){if(a.outEdges.length){var i=Os(a.outEdges,z$e,n)/Os(a.outEdges,Vm);if(isNaN(i)){var o=a.outEdges.length;i=o?Os(a.outEdges,M$e,n)/o:0}if(n==="vertical"){var l=a.getLayout().x+(i-Js(a,n))*t;a.setLayout({x:l},!0)}else{var s=a.getLayout().y+(i-Js(a,n))*t;a.setLayout({y:s},!0)}}})})}function z$e(e,t){return Js(e.node2,t)*e.getValue()}function M$e(e,t){return Js(e.node2,t)}function A$e(e,t){return Js(e.node1,t)*e.getValue()}function E$e(e,t){return Js(e.node1,t)}function Js(e,t){return t==="vertical"?e.getLayout().x+e.getLayout().dx/2:e.getLayout().y+e.getLayout().dy/2}function Vm(e){return e.getValue()}function Os(e,t,n){for(var r=0,a=e.length,i=-1;++i<a;){var o=+t(e[i],n);isNaN(o)||(r+=o)}return r}function I$e(e,t,n){K(e,function(r){K(r,function(a){if(a.inEdges.length){var i=Os(a.inEdges,A$e,n)/Os(a.inEdges,Vm);if(isNaN(i)){var o=a.inEdges.length;i=o?Os(a.inEdges,E$e,n)/o:0}if(n==="vertical"){var l=a.getLayout().x+(i-Js(a,n))*t;a.setLayout({x:l},!0)}else{var s=a.getLayout().y+(i-Js(a,n))*t;a.setLayout({y:s},!0)}}})})}function D$e(e,t){var n=t==="vertical"?"x":"y";K(e,function(r){r.outEdges.sort(function(a,i){return a.node2.getLayout()[n]-i.node2.getLayout()[n]}),r.inEdges.sort(function(a,i){return a.node1.getLayout()[n]-i.node1.getLayout()[n]})}),K(e,function(r){var a=0,i=0;K(r.outEdges,function(o){o.setLayout({sy:a},!0),a+=o.getLayout().dy}),K(r.inEdges,function(o){o.setLayout({ty:i},!0),i+=o.getLayout().dy})})}function L$e(e){e.eachSeriesByType("sankey",function(t){var n=t.getGraph(),r=n.nodes,a=n.edges;if(r.length){var i=1/0,o=-1/0;K(r,function(l){var s=l.getLayout().value;s<i&&(i=s),s>o&&(o=s)}),K(r,function(l){var s=new wr({type:"color",mappingMethod:"linear",dataExtent:[i,o],visual:t.get("color")}),u=s.mapValueToVisual(l.getLayout().value),c=l.getModel().get(["itemStyle","color"]);c!=null?(l.setVisual("color",c),l.setVisual("style",{fill:c})):(l.setVisual("color",u),l.setVisual("style",{fill:u}))})}a.length&&K(a,function(l){var s=l.getModel().get("lineStyle");l.setVisual("style",s)})})}function P$e(e){e.registerChartView(d$e),e.registerSeriesModel(v$e),e.registerLayout(p$e),e.registerVisual(L$e),e.registerAction({type:"dragNode",event:"dragnode",update:"update"},function(t,n){n.eachComponent({mainType:"series",subType:"sankey",query:t},function(r){r.setNodePosition(t.dataIndex,[t.localX,t.localY])})})}var NW=function(){function e(){}return e.prototype.getInitialData=function(t,n){var r,a=n.getComponent("xAxis",this.get("xAxisIndex")),i=n.getComponent("yAxis",this.get("yAxisIndex")),o=a.get("type"),l=i.get("type"),s;o==="category"?(t.layout="horizontal",r=a.getOrdinalMeta(),s=!0):l==="category"?(t.layout="vertical",r=i.getOrdinalMeta(),s=!0):t.layout=t.layout||"horizontal";var u=["x","y"],c=t.layout==="horizontal"?0:1,f=this._baseAxisDim=u[c],d=u[1-c],h=[a,i],v=h[c].get("type"),p=h[1-c].get("type"),g=t.data;if(g&&s){var m=[];K(g,function(w,x){var S;He(w)?(S=w.slice(),w.unshift(x)):He(w.value)?(S=$e({},w),S.value=S.value.slice(),w.value.unshift(x)):S=w,m.push(S)}),t.data=m}var b=this.defaultValueDimensions,_=[{name:f,type:Mm(v),ordinalMeta:r,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:d,type:Mm(p),dimsDef:b.slice()}];return wh(this,{coordDimensions:_,dimensionsCount:b.length+1,encodeDefaulter:$t(hj,_,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e}(),$W=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return t.type="series.boxplot",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},t}(Ln);sr($W,NW,!0);var R$e=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=n.getData(),o=this.group,l=this._data;this._data||o.removeAll();var s=n.get("layout")==="horizontal"?1:0;i.diff(l).add(function(u){if(i.hasValue(u)){var c=i.getItemLayout(u),f=vD(c,i,u,s,!0);i.setItemGraphicEl(u,f),o.add(f)}}).update(function(u,c){var f=l.getItemGraphicEl(c);if(!i.hasValue(u)){o.remove(f);return}var d=i.getItemLayout(u);f?(Qi(f),VW(d,f,i,u)):f=vD(d,i,u,s),o.add(f),i.setItemGraphicEl(u,f)}).remove(function(u){var c=l.getItemGraphicEl(u);c&&o.remove(c)}).execute(),this._data=i},t.prototype.remove=function(n){var r=this.group,a=this._data;this._data=null,a&&a.eachItemGraphicEl(function(i){i&&r.remove(i)})},t.type="boxplot",t}(zn),O$e=function(){function e(){}return e}(),N$e=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="boxplotBoxPath",r}return t.prototype.getDefaultShape=function(){return new O$e},t.prototype.buildPath=function(n,r){var a=r.points,i=0;for(n.moveTo(a[i][0],a[i][1]),i++;i<4;i++)n.lineTo(a[i][0],a[i][1]);for(n.closePath();i<a.length;i++)n.moveTo(a[i][0],a[i][1]),i++,n.lineTo(a[i][0],a[i][1])},t}(Zt);function vD(e,t,n,r,a){var i=e.ends,o=new N$e({shape:{points:a?$$e(i,r,e):i}});return VW(e,o,t,n,a),o}function VW(e,t,n,r,a){var i=n.hostModel,o=Qc[a?"initProps":"updateProps"];o(t,{shape:{points:e.ends}},i,r),t.useStyle(n.getItemVisual(r,"style")),t.style.strokeNoScale=!0,t.z2=100;var l=n.getItemModel(r),s=l.getModel("emphasis");Br(t,l),Kn(t,s.get("focus"),s.get("blurScope"),s.get("disabled"))}function $$e(e,t,n){return Ge(e,function(r){return r=r.slice(),r[t]=n.initBaseline,r})}var t1=K;function V$e(e){var t=B$e(e);t1(t,function(n){var r=n.seriesModels;r.length&&(F$e(n),t1(r,function(a,i){H$e(a,n.boxOffsetList[i],n.boxWidthList[i])}))})}function B$e(e){var t=[],n=[];return e.eachSeriesByType("boxplot",function(r){var a=r.getBaseAxis(),i=Yt(n,a);i<0&&(i=n.length,n[i]=a,t[i]={axis:a,seriesModels:[]}),t[i].seriesModels.push(r)}),t}function F$e(e){var t=e.axis,n=e.seriesModels,r=n.length,a=e.boxWidthList=[],i=e.boxOffsetList=[],o=[],l;if(t.type==="category")l=t.getBandWidth();else{var s=0;t1(n,function(v){s=Math.max(s,v.getData().count())});var u=t.getExtent();l=Math.abs(u[1]-u[0])/s}t1(n,function(v){var p=v.get("boxWidth");He(p)||(p=[p,p]),o.push([et(p[0],l)||0,et(p[1],l)||0])});var c=l*.8-2,f=c/r*.3,d=(c-f*(r-1))/r,h=d/2-c/2;t1(n,function(v,p){i.push(h),h+=f+d,a.push(Math.min(Math.max(d,o[p][0]),o[p][1]))})}function H$e(e,t,n){var r=e.coordinateSystem,a=e.getData(),i=n/2,o=e.get("layout")==="horizontal"?0:1,l=1-o,s=["x","y"],u=a.mapDimension(s[o]),c=a.mapDimensionsAll(s[l]);if(u==null||c.length<5)return;for(var f=0;f<a.count();f++){var d=a.get(u,f),h=_(d,c[2],f),v=_(d,c[0],f),p=_(d,c[1],f),g=_(d,c[3],f),m=_(d,c[4],f),b=[];w(b,p,!1),w(b,g,!0),b.push(v,p,m,g),x(b,v),x(b,m),x(b,h),a.setItemLayout(f,{initBaseline:h[l],ends:b})}function _(S,C,T){var z=a.get(C,T),A=[];A[o]=S,A[l]=z;var E;return isNaN(S)||isNaN(z)?E=[NaN,NaN]:(E=r.dataToPoint(A),E[o]+=t),E}function w(S,C,T){var z=C.slice(),A=C.slice();z[o]+=i,A[o]-=i,T?S.push(z,A):S.push(A,z)}function x(S,C){var T=C.slice(),z=C.slice();T[o]-=i,z[o]+=i,S.push(T,z)}}function j$e(e,t){t=t||{};for(var n=[],r=[],a=t.boundIQR,i=a==="none"||a===0,o=0;o<e.length;o++){var l=gi(e[o].slice()),s=Ub(l,.25),u=Ub(l,.5),c=Ub(l,.75),f=l[0],d=l[l.length-1],h=(a??1.5)*(c-s),v=i?f:Math.max(f,s-h),p=i?d:Math.min(d,c+h),g=t.itemNameFormatter,m=yt(g)?g({value:o}):it(g)?g.replace("{value}",o+""):o+"";n.push([m,v,s,u,c,p]);for(var b=0;b<l.length;b++){var _=l[b];if(_<v||_>p){var w=[m,_];r.push(w)}}}return{boxData:n,outliers:r}}var q$e={type:"echarts:boxplot",transform:function(t){var n=t.upstream;if(n.sourceFormat!==Jr){var r="";pn(r)}var a=j$e(n.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:a.boxData},{data:a.outliers}]}};function G$e(e){e.registerSeriesModel($W),e.registerChartView(R$e),e.registerLayout(V$e),e.registerTransform(q$e)}var W$e=["color","borderColor"],U$e=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(n),this._isLargeDraw?this._renderLarge(n):this._renderNormal(n)},t.prototype.incrementalPrepareRender=function(n,r,a){this._clear(),this._updateDrawMode(n)},t.prototype.incrementalRender=function(n,r,a,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(n,r):this._incrementalRenderNormal(n,r)},t.prototype.eachRendered=function(n){lu(this._progressiveEls||this.group,n)},t.prototype._updateDrawMode=function(n){var r=n.pipelineContext.large;(this._isLargeDraw==null||r!==this._isLargeDraw)&&(this._isLargeDraw=r,this._clear())},t.prototype._renderNormal=function(n){var r=n.getData(),a=this._data,i=this.group,o=r.getLayout("isSimpleBox"),l=n.get("clip",!0),s=n.coordinateSystem,u=s.getArea&&s.getArea();this._data||i.removeAll(),r.diff(a).add(function(c){if(r.hasValue(c)){var f=r.getItemLayout(c);if(l&&pD(u,f))return;var d=b9(f,c,!0);Nn(d,{shape:{points:f.ends}},n,c),_9(d,r,c,o),i.add(d),r.setItemGraphicEl(c,d)}}).update(function(c,f){var d=a.getItemGraphicEl(f);if(!r.hasValue(c)){i.remove(d);return}var h=r.getItemLayout(c);if(l&&pD(u,h)){i.remove(d);return}d?(un(d,{shape:{points:h.ends}},n,c),Qi(d)):d=b9(h),_9(d,r,c,o),i.add(d),r.setItemGraphicEl(c,d)}).remove(function(c){var f=a.getItemGraphicEl(c);f&&i.remove(f)}).execute(),this._data=r},t.prototype._renderLarge=function(n){this._clear(),gD(n,this.group);var r=n.get("clip",!0)?Bp(n.coordinateSystem,!1,n):null;r?this.group.setClipPath(r):this.group.removeClipPath()},t.prototype._incrementalRenderNormal=function(n,r){for(var a=r.getData(),i=a.getLayout("isSimpleBox"),o;(o=n.next())!=null;){var l=a.getItemLayout(o),s=b9(l);_9(s,a,o,i),s.incremental=!0,this.group.add(s),this._progressiveEls.push(s)}},t.prototype._incrementalRenderLarge=function(n,r){gD(r,this.group,this._progressiveEls,!0)},t.prototype.remove=function(n){this._clear()},t.prototype._clear=function(){this.group.removeAll(),this._data=null},t.type="candlestick",t}(zn),Y$e=function(){function e(){}return e}(),K$e=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="normalCandlestickBox",r}return t.prototype.getDefaultShape=function(){return new Y$e},t.prototype.buildPath=function(n,r){var a=r.points;this.__simpleBox?(n.moveTo(a[4][0],a[4][1]),n.lineTo(a[6][0],a[6][1])):(n.moveTo(a[0][0],a[0][1]),n.lineTo(a[1][0],a[1][1]),n.lineTo(a[2][0],a[2][1]),n.lineTo(a[3][0],a[3][1]),n.closePath(),n.moveTo(a[4][0],a[4][1]),n.lineTo(a[5][0],a[5][1]),n.moveTo(a[6][0],a[6][1]),n.lineTo(a[7][0],a[7][1]))},t}(Zt);function b9(e,t,n){var r=e.ends;return new K$e({shape:{points:n?X$e(r,e):r},z2:100})}function pD(e,t){for(var n=!0,r=0;r<t.ends.length;r++)if(e.contain(t.ends[r][0],t.ends[r][1])){n=!1;break}return n}function _9(e,t,n,r){var a=t.getItemModel(n);e.useStyle(t.getItemVisual(n,"style")),e.style.strokeNoScale=!0,e.__simpleBox=r,Br(e,a)}function X$e(e,t){return Ge(e,function(n){return n=n.slice(),n[1]=t.initBaseline,n})}var Z$e=function(){function e(){}return e}(),w9=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r.type="largeCandlestickBox",r}return t.prototype.getDefaultShape=function(){return new Z$e},t.prototype.buildPath=function(n,r){for(var a=r.points,i=0;i<a.length;)if(this.__sign===a[i++]){var o=a[i++];n.moveTo(o,a[i++]),n.lineTo(o,a[i++])}else i+=3},t}(Zt);function gD(e,t,n,r){var a=e.getData(),i=a.getLayout("largePoints"),o=new w9({shape:{points:i},__sign:1,ignoreCoarsePointer:!0});t.add(o);var l=new w9({shape:{points:i},__sign:-1,ignoreCoarsePointer:!0});t.add(l);var s=new w9({shape:{points:i},__sign:0,ignoreCoarsePointer:!0});t.add(s),x9(1,o,e),x9(-1,l,e),x9(0,s,e),r&&(o.incremental=!0,l.incremental=!0),n&&n.push(o,l)}function x9(e,t,n,r){var a=n.get(["itemStyle",e>0?"borderColor":"borderColor0"])||n.get(["itemStyle",e>0?"color":"color0"]);e===0&&(a=n.get(["itemStyle","borderColorDoji"]));var i=n.getModel("itemStyle").getItemStyle(W$e);t.useStyle(i),t.style.fill=null,t.style.stroke=a}var BW=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return t.prototype.getShadowDim=function(){return"open"},t.prototype.brushSelector=function(n,r,a){var i=r.getItemLayout(n);return i&&a.rect(i.brushRect)},t.type="series.candlestick",t.dependencies=["xAxis","yAxis","grid"],t.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},t}(Ln);sr(BW,NW,!0);function J$e(e){!e||!He(e.series)||K(e.series,function(t){wt(t)&&t.type==="k"&&(t.type="candlestick")})}var Q$e=["itemStyle","borderColor"],eVe=["itemStyle","borderColor0"],tVe=["itemStyle","borderColorDoji"],nVe=["itemStyle","color"],rVe=["itemStyle","color0"],aVe={seriesType:"candlestick",plan:mh(),performRawSeries:!0,reset:function(e,t){function n(i,o){return o.get(i>0?nVe:rVe)}function r(i,o){return o.get(i===0?tVe:i>0?Q$e:eVe)}if(!t.isSeriesFiltered(e)){var a=e.pipelineContext.large;return!a&&{progress:function(i,o){for(var l;(l=i.next())!=null;){var s=o.getItemModel(l),u=o.getItemLayout(l).sign,c=s.getItemStyle();c.fill=n(u,s),c.stroke=r(u,s)||c.fill;var f=o.ensureUniqueItemVisual(l,"style");$e(f,c)}}}}}},iVe={seriesType:"candlestick",plan:mh(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=oVe(e,n),a=0,i=1,o=["x","y"],l=n.getDimensionIndex(n.mapDimension(o[a])),s=Ge(n.mapDimensionsAll(o[i]),n.getDimensionIndex,n),u=s[0],c=s[1],f=s[2],d=s[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),l<0||s.length<4)return;return{progress:e.pipelineContext.large?v:h};function h(p,g){for(var m,b=g.getStore();(m=p.next())!=null;){var _=b.get(l,m),w=b.get(u,m),x=b.get(c,m),S=b.get(f,m),C=b.get(d,m),T=Math.min(w,x),z=Math.max(w,x),A=B(T,_),E=B(z,_),D=B(S,_),$=B(C,_),O=[];V(O,E,0),V(O,A,1),O.push(W($),W(E),W(D),W(A));var R=g.getItemModel(m),N=!!R.get(["itemStyle","borderColorDoji"]);g.setItemLayout(m,{sign:mD(b,m,w,x,c,N),initBaseline:w>x?E[i]:A[i],ends:O,brushRect:P(S,C,_)})}function B(Z,ee){var re=[];return re[a]=ee,re[i]=Z,isNaN(ee)||isNaN(Z)?[NaN,NaN]:t.dataToPoint(re)}function V(Z,ee,re){var ue=ee.slice(),ye=ee.slice();ue[a]=v2(ue[a]+r/2,1,!1),ye[a]=v2(ye[a]-r/2,1,!0),re?Z.push(ue,ye):Z.push(ye,ue)}function P(Z,ee,re){var ue=B(Z,re),ye=B(ee,re);return ue[a]-=r/2,ye[a]-=r/2,{x:ue[0],y:ue[1],width:r,height:ye[1]-ue[1]}}function W(Z){return Z[a]=v2(Z[a],1),Z}}function v(p,g){for(var m=zo(p.count*4),b=0,_,w=[],x=[],S,C=g.getStore(),T=!!e.get(["itemStyle","borderColorDoji"]);(S=p.next())!=null;){var z=C.get(l,S),A=C.get(u,S),E=C.get(c,S),D=C.get(f,S),$=C.get(d,S);if(isNaN(z)||isNaN(D)||isNaN($)){m[b++]=NaN,b+=3;continue}m[b++]=mD(C,S,A,E,c,T),w[a]=z,w[i]=D,_=t.dataToPoint(w,null,x),m[b++]=_?_[0]:NaN,m[b++]=_?_[1]:NaN,w[i]=$,_=t.dataToPoint(w,null,x),m[b++]=_?_[1]:NaN}g.setLayout("largePoints",m)}}};function mD(e,t,n,r,a,i){var o;return n>r?o=-1:n<r?o=1:o=i?0:t>0?e.get(a,t-1)<=r?1:-1:1,o}function oVe(e,t){var n=e.getBaseAxis(),r,a=n.type==="category"?n.getBandWidth():(r=n.getExtent(),Math.abs(r[1]-r[0])/t.count()),i=et(Ot(e.get("barMaxWidth"),a),a),o=et(Ot(e.get("barMinWidth"),1),a),l=e.get("barWidth");return l!=null?et(l,a):Math.max(Math.min(a/2,i),o)}function lVe(e){e.registerChartView(U$e),e.registerSeriesModel(BW),e.registerPreprocessor(J$e),e.registerVisual(aVe),e.registerLayout(iVe)}function yD(e,t){var n=t.rippleEffectColor||t.color;e.eachChild(function(r){r.attr({z:t.z,zlevel:t.zlevel,style:{stroke:t.brushType==="stroke"?n:null,fill:t.brushType==="fill"?n:null}})})}var sVe=function(e){Se(t,e);function t(n,r){var a=e.call(this)||this,i=new $p(n,r),o=new At;return a.add(i),a.add(o),a.updateData(n,r),a}return t.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},t.prototype.startEffectAnimation=function(n){for(var r=n.symbolType,a=n.color,i=n.rippleNumber,o=this.childAt(1),l=0;l<i;l++){var s=lr(r,-1,-1,2,2,a);s.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var u=-l/i*n.period+n.effectOffset;s.animate("",!0).when(n.period,{scaleX:n.rippleScale/2,scaleY:n.rippleScale/2}).delay(u).start(),s.animateStyle(!0).when(n.period,{opacity:0}).delay(u).start(),o.add(s)}yD(o,n)},t.prototype.updateEffectAnimation=function(n){for(var r=this._effectCfg,a=this.childAt(1),i=["symbolType","period","rippleScale","rippleNumber"],o=0;o<i.length;o++){var l=i[o];if(r[l]!==n[l]){this.stopEffectAnimation(),this.startEffectAnimation(n);return}}yD(a,n)},t.prototype.highlight=function(){kl(this)},t.prototype.downplay=function(){zl(this)},t.prototype.getSymbolType=function(){var n=this.childAt(0);return n&&n.getSymbolType()},t.prototype.updateData=function(n,r){var a=this,i=n.hostModel;this.childAt(0).updateData(n,r);var o=this.childAt(1),l=n.getItemModel(r),s=n.getItemVisual(r,"symbol"),u=bh(n.getItemVisual(r,"symbolSize")),c=n.getItemVisual(r,"style"),f=c&&c.fill,d=l.getModel("emphasis");o.setScale(u),o.traverse(function(g){g.setStyle("fill",f)});var h=ef(n.getItemVisual(r,"symbolOffset"),u);h&&(o.x=h[0],o.y=h[1]);var v=n.getItemVisual(r,"symbolRotate");o.rotation=(v||0)*Math.PI/180||0;var p={};p.showEffectOn=i.get("showEffectOn"),p.rippleScale=l.get(["rippleEffect","scale"]),p.brushType=l.get(["rippleEffect","brushType"]),p.period=l.get(["rippleEffect","period"])*1e3,p.effectOffset=r/n.count(),p.z=i.getShallow("z")||0,p.zlevel=i.getShallow("zlevel")||0,p.symbolType=s,p.color=f,p.rippleEffectColor=l.get(["rippleEffect","color"]),p.rippleNumber=l.get(["rippleEffect","number"]),p.showEffectOn==="render"?(this._effectCfg?this.updateEffectAnimation(p):this.startEffectAnimation(p),this._effectCfg=p):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(g){g==="emphasis"?p.showEffectOn!=="render"&&a.startEffectAnimation(p):g==="normal"&&p.showEffectOn!=="render"&&a.stopEffectAnimation()}),this._effectCfg=p,Kn(this,d.get("focus"),d.get("blurScope"),d.get("disabled"))},t.prototype.fadeOut=function(n){n&&n()},t}(At),uVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){this._symbolDraw=new Vp(sVe)},t.prototype.render=function(n,r,a){var i=n.getData(),o=this._symbolDraw;o.updateData(i,{clipShape:this._getClipShape(n)}),this.group.add(o.group)},t.prototype._getClipShape=function(n){var r=n.coordinateSystem,a=r&&r.getArea&&r.getArea();return n.get("clip",!0)?a:null},t.prototype.updateTransform=function(n,r,a){var i=n.getData();this.group.dirty();var o=Fp("").reset(n,r,a);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout()},t.prototype._updateGroupTransform=function(n){var r=n.coordinateSystem;r&&r.getRoamTransform&&(this.group.transform=I7e(r.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(zn),cVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n}return t.prototype.getInitialData=function(n,r){return jl(null,this,{useEncodeDefaulter:!0})},t.prototype.brushSelector=function(n,r,a){return a.point(r.getItemLayout(n))},t.type="series.effectScatter",t.dependencies=["grid","polar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},t}(Ln);function fVe(e){e.registerChartView(uVe),e.registerSeriesModel(cVe),e.registerLayout(Fp("effectScatter"))}var FW=function(e){Se(t,e);function t(n,r,a){var i=e.call(this)||this;return i.add(i.createLine(n,r,a)),i._updateEffectSymbol(n,r),i}return t.prototype.createLine=function(n,r,a){return new K8(n,r,a)},t.prototype._updateEffectSymbol=function(n,r){var a=n.getItemModel(r),i=a.getModel("effect"),o=i.get("symbolSize"),l=i.get("symbol");He(o)||(o=[o,o]);var s=n.getItemVisual(r,"style"),u=i.get("color")||s&&s.stroke,c=this.childAt(1);this._symbolType!==l&&(this.remove(c),c=lr(l,-.5,-.5,1,1,u),c.z2=100,c.culling=!0,this.add(c)),c&&(c.setStyle("shadowColor",u),c.setStyle(i.getItemStyle(["color"])),c.scaleX=o[0],c.scaleY=o[1],c.setColor(u),this._symbolType=l,this._symbolScale=o,this._updateEffectAnimation(n,i,r))},t.prototype._updateEffectAnimation=function(n,r,a){var i=this.childAt(1);if(i){var o=n.getItemLayout(a),l=r.get("period")*1e3,s=r.get("loop"),u=r.get("roundTrip"),c=r.get("constantSpeed"),f=Mr(r.get("delay"),function(h){return h/n.count()*l/3});if(i.ignore=!0,this._updateAnimationPoints(i,o),c>0&&(l=this._getLineLength(i)/c*1e3),l!==this._period||s!==this._loop||u!==this._roundTrip){i.stopAnimation();var d=void 0;yt(f)?d=f(a):d=f,i.__t>0&&(d=-l*i.__t),this._animateSymbol(i,l,d,s,u)}this._period=l,this._loop=s,this._roundTrip=u}},t.prototype._animateSymbol=function(n,r,a,i,o){if(r>0){n.__t=0;var l=this,s=n.animate("",i).when(o?r*2:r,{__t:o?2:1}).delay(a).during(function(){l._updateSymbolPosition(n)});i||s.done(function(){l.remove(n)}),s.start()}},t.prototype._getLineLength=function(n){return _s(n.__p1,n.__cp1)+_s(n.__cp1,n.__p2)},t.prototype._updateAnimationPoints=function(n,r){n.__p1=r[0],n.__p2=r[1],n.__cp1=r[2]||[(r[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2]},t.prototype.updateData=function(n,r,a){this.childAt(0).updateData(n,r,a),this._updateEffectSymbol(n,r)},t.prototype._updateSymbolPosition=function(n){var r=n.__p1,a=n.__p2,i=n.__cp1,o=n.__t<1?n.__t:2-n.__t,l=[n.x,n.y],s=l.slice(),u=kr,c=Mw;l[0]=u(r[0],i[0],a[0],o),l[1]=u(r[1],i[1],a[1],o);var f=n.__t<1?c(r[0],i[0],a[0],o):c(a[0],i[0],r[0],1-o),d=n.__t<1?c(r[1],i[1],a[1],o):c(a[1],i[1],r[1],1-o);n.rotation=-Math.atan2(d,f)-Math.PI/2,(this._symbolType==="line"||this._symbolType==="rect"||this._symbolType==="roundRect")&&(n.__lastT!==void 0&&n.__lastT<n.__t?(n.scaleY=_s(s,l)*1.05,o===1&&(l[0]=s[0]+(l[0]-s[0])/2,l[1]=s[1]+(l[1]-s[1])/2)):n.__lastT===1?n.scaleY=2*_s(r,l):n.scaleY=this._symbolScale[1]),n.__lastT=n.__t,n.ignore=!1,n.x=l[0],n.y=l[1]},t.prototype.updateLayout=function(n,r){this.childAt(0).updateLayout(n,r);var a=n.getItemModel(r).getModel("effect");this._updateEffectAnimation(n,a,r)},t}(At),HW=function(e){Se(t,e);function t(n,r,a){var i=e.call(this)||this;return i._createPolyline(n,r,a),i}return t.prototype._createPolyline=function(n,r,a){var i=n.getItemLayout(r),o=new ya({shape:{points:i}});this.add(o),this._updateCommonStl(n,r,a)},t.prototype.updateData=function(n,r,a){var i=n.hostModel,o=this.childAt(0),l={shape:{points:n.getItemLayout(r)}};un(o,l,i,r),this._updateCommonStl(n,r,a)},t.prototype._updateCommonStl=function(n,r,a){var i=this.childAt(0),o=n.getItemModel(r),l=a&&a.emphasisLineStyle,s=a&&a.focus,u=a&&a.blurScope,c=a&&a.emphasisDisabled;if(!a||n.hasItemOption){var f=o.getModel("emphasis");l=f.getModel("lineStyle").getLineStyle(),c=f.get("disabled"),s=f.get("focus"),u=f.get("blurScope")}i.useStyle(n.getItemVisual(r,"style")),i.style.fill=null,i.style.strokeNoScale=!0;var d=i.ensureState("emphasis");d.style=l,Kn(this,s,u,c)},t.prototype.updateLayout=function(n,r){var a=this.childAt(0);a.setShape("points",n.getItemLayout(r))},t}(At),dVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n._lastFrame=0,n._lastFramePercent=0,n}return t.prototype.createLine=function(n,r,a){return new HW(n,r,a)},t.prototype._updateAnimationPoints=function(n,r){this._points=r;for(var a=[0],i=0,o=1;o<r.length;o++){var l=r[o-1],s=r[o];i+=_s(l,s),a.push(i)}if(i===0){this._length=0;return}for(var o=0;o<a.length;o++)a[o]/=i;this._offsets=a,this._length=i},t.prototype._getLineLength=function(){return this._length},t.prototype._updateSymbolPosition=function(n){var r=n.__t<1?n.__t:2-n.__t,a=this._points,i=this._offsets,o=a.length;if(i){var l=this._lastFrame,s;if(r<this._lastFramePercent){var u=Math.min(l+1,o-1);for(s=u;s>=0&&!(i[s]<=r);s--);s=Math.min(s,o-2)}else{for(s=l;s<o&&!(i[s]>r);s++);s=Math.min(s-1,o-2)}var c=(r-i[s])/(i[s+1]-i[s]),f=a[s],d=a[s+1];n.x=f[0]*(1-c)+c*d[0],n.y=f[1]*(1-c)+c*d[1];var h=n.__t<1?d[0]-f[0]:f[0]-d[0],v=n.__t<1?d[1]-f[1]:f[1]-d[1];n.rotation=-Math.atan2(v,h)-Math.PI/2,this._lastFrame=s,this._lastFramePercent=r,n.ignore=!1}},t}(FW),hVe=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),vVe=function(e){Se(t,e);function t(n){var r=e.call(this,n)||this;return r._off=0,r.hoverDataIdx=-1,r}return t.prototype.reset=function(){this.notClear=!1,this._off=0},t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new hVe},t.prototype.buildPath=function(n,r){var a=r.segs,i=r.curveness,o;if(r.polyline)for(o=this._off;o<a.length;){var l=a[o++];if(l>0){n.moveTo(a[o++],a[o++]);for(var s=1;s<l;s++)n.lineTo(a[o++],a[o++])}}else for(o=this._off;o<a.length;){var u=a[o++],c=a[o++],f=a[o++],d=a[o++];if(n.moveTo(u,c),i>0){var h=(u+f)/2-(c-d)*i,v=(c+d)/2-(f-u)*i;n.quadraticCurveTo(h,v,f,d)}else n.lineTo(f,d)}this.incremental&&(this._off=o,this.notClear=!0)},t.prototype.findDataIndex=function(n,r){var a=this.shape,i=a.segs,o=a.curveness,l=this.style.lineWidth;if(a.polyline)for(var s=0,u=0;u<i.length;){var c=i[u++];if(c>0)for(var f=i[u++],d=i[u++],h=1;h<c;h++){var v=i[u++],p=i[u++];if(hs(f,d,v,p,l,n,r))return s}s++}else for(var s=0,u=0;u<i.length;){var f=i[u++],d=i[u++],v=i[u++],p=i[u++];if(o>0){var g=(f+v)/2-(d-p)*o,m=(d+p)/2-(v-f)*o;if(fH(f,d,g,m,v,p,l,n,r))return s}else if(hs(f,d,v,p,l,n,r))return s;s++}return-1},t.prototype.contain=function(n,r){var a=this.transformCoordToLocal(n,r),i=this.getBoundingRect();if(n=a[0],r=a[1],i.contain(n,r)){var o=this.hoverDataIdx=this.findDataIndex(n,r);return o>=0}return this.hoverDataIdx=-1,!1},t.prototype.getBoundingRect=function(){var n=this._rect;if(!n){for(var r=this.shape,a=r.segs,i=1/0,o=1/0,l=-1/0,s=-1/0,u=0;u<a.length;){var c=a[u++],f=a[u++];i=Math.min(c,i),l=Math.max(c,l),o=Math.min(f,o),s=Math.max(f,s)}n=this._rect=new qt(i,o,l,s)}return n},t}(Zt),pVe=function(){function e(){this.group=new At}return e.prototype.updateData=function(t){this._clear();var n=this._create();n.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(n,t)},e.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},e.prototype.incrementalUpdate=function(t,n){var r=this._newAdded[0],a=n.getLayout("linesPoints"),i=r&&r.shape.segs;if(i&&i.length<2e4){var o=i.length,l=new Float32Array(o+a.length);l.set(i),l.set(a,o),r.setShape({segs:l})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:a}),this._setCommon(s,n),s.__startIndex=t.start}},e.prototype.remove=function(){this._clear()},e.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},e.prototype._create=function(){var t=new vVe({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},e.prototype._setCommon=function(t,n,r){var a=n.hostModel;t.setShape({polyline:a.get("polyline"),curveness:a.get(["lineStyle","curveness"])}),t.useStyle(a.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=n.getVisual("style");i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null);var o=Dt(t);o.seriesIndex=a.seriesIndex,t.on("mousemove",function(l){o.dataIndex=null;var s=t.hoverDataIdx;s>0&&(o.dataIndex=s+t.__startIndex)})},e.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},e}(),jW={seriesType:"lines",plan:mh(),reset:function(e){var t=e.coordinateSystem;if(t){var n=e.get("polyline"),r=e.pipelineContext.large;return{progress:function(a,i){var o=[];if(r){var l=void 0,s=a.end-a.start;if(n){for(var u=0,c=a.start;c<a.end;c++)u+=e.getLineCoordsCount(c);l=new Float32Array(s+u*2)}else l=new Float32Array(s*4);for(var f=0,d=[],c=a.start;c<a.end;c++){var h=e.getLineCoords(c,o);n&&(l[f++]=h);for(var v=0;v<h;v++)d=t.dataToPoint(o[v],!1,d),l[f++]=d[0],l[f++]=d[1]}i.setLayout("linesPoints",l)}else for(var c=a.start;c<a.end;c++){var p=i.getItemModel(c),h=e.getLineCoords(c,o),g=[];if(n)for(var m=0;m<h;m++)g.push(t.dataToPoint(o[m]));else{g[0]=t.dataToPoint(o[0]),g[1]=t.dataToPoint(o[1]);var b=p.get(["lineStyle","curveness"]);+b&&(g[2]=[(g[0][0]+g[1][0])/2-(g[0][1]-g[1][1])*b,(g[0][1]+g[1][1])/2-(g[1][0]-g[0][0])*b])}i.setItemLayout(c,g)}}}}}},gVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=n.getData(),o=this._updateLineDraw(i,n),l=n.get("zlevel"),s=n.get(["effect","trailLength"]),u=a.getZr(),c=u.painter.getType()==="svg";c||u.painter.getLayer(l).clear(!0),this._lastZlevel!=null&&!c&&u.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(n)&&s>0&&(c||u.configLayer(l,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(s/10+.9,1),0)})),o.updateData(i);var f=n.get("clip",!0)&&Bp(n.coordinateSystem,!1,n);f?this.group.setClipPath(f):this.group.removeClipPath(),this._lastZlevel=l,this._finished=!0},t.prototype.incrementalPrepareRender=function(n,r,a){var i=n.getData(),o=this._updateLineDraw(i,n);o.incrementalPrepareUpdate(i),this._clearLayer(a),this._finished=!1},t.prototype.incrementalRender=function(n,r,a){this._lineDraw.incrementalUpdate(n,r.getData()),this._finished=n.end===r.getData().count()},t.prototype.eachRendered=function(n){this._lineDraw&&this._lineDraw.eachRendered(n)},t.prototype.updateTransform=function(n,r,a){var i=n.getData(),o=n.pipelineContext;if(!this._finished||o.large||o.progressiveRender)return{update:!0};var l=jW.reset(n,r,a);l.progress&&l.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(a)},t.prototype._updateLineDraw=function(n,r){var a=this._lineDraw,i=this._showEffect(r),o=!!r.get("polyline"),l=r.pipelineContext,s=l.large;return(!a||i!==this._hasEffet||o!==this._isPolyline||s!==this._isLargeDraw)&&(a&&a.remove(),a=this._lineDraw=s?new pVe:new X8(o?i?dVe:HW:i?FW:K8),this._hasEffet=i,this._isPolyline=o,this._isLargeDraw=s),this.group.add(a.group),a},t.prototype._showEffect=function(n){return!!n.get(["effect","show"])},t.prototype._clearLayer=function(n){var r=n.getZr(),a=r.painter.getType()==="svg";!a&&this._lastZlevel!=null&&r.painter.getLayer(this._lastZlevel).clear(!0)},t.prototype.remove=function(n,r){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(r)},t.prototype.dispose=function(n,r){this.remove(n,r)},t.type="lines",t}(zn),mVe=typeof Uint32Array>"u"?Array:Uint32Array,yVe=typeof Float64Array>"u"?Array:Float64Array;function bD(e){var t=e.data;t&&t[0]&&t[0][0]&&t[0][0].coord&&(e.data=Ge(t,function(n){var r=[n[0].coord,n[1].coord],a={coords:r};return n[0].name&&(a.fromName=n[0].name),n[1].name&&(a.toName=n[1].name),z6([a,n[0],n[1]])}))}var bVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return t.prototype.init=function(n){n.data=n.data||[],bD(n);var r=this._processFlatCoordsArray(n.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(n.data=new Float32Array(r.count)),e.prototype.init.apply(this,arguments)},t.prototype.mergeOption=function(n){if(bD(n),n.data){var r=this._processFlatCoordsArray(n.data);this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset,r.flatCoords&&(n.data=new Float32Array(r.count))}e.prototype.mergeOption.apply(this,arguments)},t.prototype.appendData=function(n){var r=this._processFlatCoordsArray(n.data);r.flatCoords&&(this._flatCoords?(this._flatCoords=am(this._flatCoords,r.flatCoords),this._flatCoordsOffset=am(this._flatCoordsOffset,r.flatCoordsOffset)):(this._flatCoords=r.flatCoords,this._flatCoordsOffset=r.flatCoordsOffset),n.data=new Float32Array(r.count)),this.getRawData().appendData(n.data)},t.prototype._getCoordsFromItemModel=function(n){var r=this.getData().getItemModel(n),a=r.option instanceof Array?r.option:r.getShallow("coords");return a},t.prototype.getLineCoordsCount=function(n){return this._flatCoordsOffset?this._flatCoordsOffset[n*2+1]:this._getCoordsFromItemModel(n).length},t.prototype.getLineCoords=function(n,r){if(this._flatCoordsOffset){for(var a=this._flatCoordsOffset[n*2],i=this._flatCoordsOffset[n*2+1],o=0;o<i;o++)r[o]=r[o]||[],r[o][0]=this._flatCoords[a+o*2],r[o][1]=this._flatCoords[a+o*2+1];return i}else{for(var l=this._getCoordsFromItemModel(n),o=0;o<l.length;o++)r[o]=r[o]||[],r[o][0]=l[o][0],r[o][1]=l[o][1];return l.length}},t.prototype._processFlatCoordsArray=function(n){var r=0;if(this._flatCoords&&(r=this._flatCoords.length),ln(n[0])){for(var a=n.length,i=new mVe(a),o=new yVe(a),l=0,s=0,u=0,c=0;c<a;){u++;var f=n[c++];i[s++]=l+r,i[s++]=f;for(var d=0;d<f;d++){var h=n[c++],v=n[c++];o[l++]=h,o[l++]=v}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,s),flatCoords:o,count:u}}return{flatCoordsOffset:null,flatCoords:null,count:n.length}},t.prototype.getInitialData=function(n,r){var a=new ua(["value"],this);return a.hasItemOption=!1,a.initData(n.data,[],function(i,o,l,s){if(i instanceof Array)return NaN;a.hasItemOption=!0;var u=i.value;if(u!=null)return u instanceof Array?u[s]:u}),a},t.prototype.formatTooltip=function(n,r,a){var i=this.getData(),o=i.getItemModel(n),l=o.get("name");if(l)return l;var s=o.get("fromName"),u=o.get("toName"),c=[];return s!=null&&c.push(s),u!=null&&c.push(u),Cr("nameValue",{name:c.join(" > ")})},t.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},t.prototype.getProgressive=function(){var n=this.option.progressive;return n??(this.option.large?1e4:this.get("progressive"))},t.prototype.getProgressiveThreshold=function(){var n=this.option.progressiveThreshold;return n??(this.option.large?2e4:this.get("progressiveThreshold"))},t.prototype.getZLevelKey=function(){var n=this.getModel("effect"),r=n.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:n.get("show")&&r>0?r+"":""},t.type="series.lines",t.dependencies=["grid","polar","geo","calendar"],t.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},t}(Ln);function m0(e){return e instanceof Array||(e=[e,e]),e}var _Ve={seriesType:"lines",reset:function(e){var t=m0(e.get("symbol")),n=m0(e.get("symbolSize")),r=e.getData();r.setVisual("fromSymbol",t&&t[0]),r.setVisual("toSymbol",t&&t[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]);function a(i,o){var l=i.getItemModel(o),s=m0(l.getShallow("symbol",!0)),u=m0(l.getShallow("symbolSize",!0));s[0]&&i.setItemVisual(o,"fromSymbol",s[0]),s[1]&&i.setItemVisual(o,"toSymbol",s[1]),u[0]&&i.setItemVisual(o,"fromSymbolSize",u[0]),u[1]&&i.setItemVisual(o,"toSymbolSize",u[1])}return{dataEach:r.hasItemOption?a:null}}};function wVe(e){e.registerChartView(gVe),e.registerSeriesModel(bVe),e.registerLayout(jW),e.registerVisual(_Ve)}var xVe=256,SVe=function(){function e(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Us.createCanvas();this.canvas=t}return e.prototype.update=function(t,n,r,a,i,o){var l=this._getBrush(),s=this._getGradient(i,"inRange"),u=this._getGradient(i,"outOfRange"),c=this.pointSize+this.blurSize,f=this.canvas,d=f.getContext("2d"),h=t.length;f.width=n,f.height=r;for(var v=0;v<h;++v){var p=t[v],g=p[0],m=p[1],b=p[2],_=a(b);d.globalAlpha=_,d.drawImage(l,g-c,m-c)}if(!f.width||!f.height)return f;for(var w=d.getImageData(0,0,f.width,f.height),x=w.data,S=0,C=x.length,T=this.minOpacity,z=this.maxOpacity,A=z-T;S<C;){var _=x[S+3]/256,E=Math.floor(_*(xVe-1))*4;if(_>0){var D=o(_)?s:u;_>0&&(_=_*A+T),x[S++]=D[E],x[S++]=D[E+1],x[S++]=D[E+2],x[S++]=D[E+3]*_*256}else S+=4}return d.putImageData(w,0,0),f},e.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Us.createCanvas()),n=this.pointSize+this.blurSize,r=n*2;t.width=r,t.height=r;var a=t.getContext("2d");return a.clearRect(0,0,r,r),a.shadowOffsetX=r,a.shadowBlur=this.blurSize,a.shadowColor="#000",a.beginPath(),a.arc(-n,n,this.pointSize,0,Math.PI*2,!0),a.closePath(),a.fill(),t},e.prototype._getGradient=function(t,n){for(var r=this._gradientPixels,a=r[n]||(r[n]=new Uint8ClampedArray(256*4)),i=[0,0,0,0],o=0,l=0;l<256;l++)t[n](l/255,!0,i),a[o++]=i[0],a[o++]=i[1],a[o++]=i[2],a[o++]=i[3];return a},e}();function CVe(e,t,n){var r=e[1]-e[0];t=Ge(t,function(o){return{interval:[(o.interval[0]-e[0])/r,(o.interval[1]-e[0])/r]}});var a=t.length,i=0;return function(o){var l;for(l=i;l<a;l++){var s=t[l].interval;if(s[0]<=o&&o<=s[1]){i=l;break}}if(l===a)for(l=i-1;l>=0;l--){var s=t[l].interval;if(s[0]<=o&&o<=s[1]){i=l;break}}return l>=0&&l<a&&n[l]}}function TVe(e,t){var n=e[1]-e[0];return t=[(t[0]-e[0])/n,(t[1]-e[0])/n],function(r){return r>=t[0]&&r<=t[1]}}function _D(e){var t=e.dimensions;return t[0]==="lng"&&t[1]==="lat"}var kVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i;r.eachComponent("visualMap",function(l){l.eachTargetSeries(function(s){s===n&&(i=l)})}),this._progressiveEls=null,this.group.removeAll();var o=n.coordinateSystem;o.type==="cartesian2d"||o.type==="calendar"?this._renderOnCartesianAndCalendar(n,a,0,n.getData().count()):_D(o)&&this._renderOnGeo(o,n,i,a)},t.prototype.incrementalPrepareRender=function(n,r,a){this.group.removeAll()},t.prototype.incrementalRender=function(n,r,a,i){var o=r.coordinateSystem;o&&(_D(o)?this.render(r,a,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(r,i,n.start,n.end,!0)))},t.prototype.eachRendered=function(n){lu(this._progressiveEls||this.group,n)},t.prototype._renderOnCartesianAndCalendar=function(n,r,a,i,o){var l=n.coordinateSystem,s=nf(l,"cartesian2d"),u,c,f,d;if(s){var h=l.getAxis("x"),v=l.getAxis("y");u=h.getBandWidth()+.5,c=v.getBandWidth()+.5,f=h.scale.getExtent(),d=v.scale.getExtent()}for(var p=this.group,g=n.getData(),m=n.getModel(["emphasis","itemStyle"]).getItemStyle(),b=n.getModel(["blur","itemStyle"]).getItemStyle(),_=n.getModel(["select","itemStyle"]).getItemStyle(),w=n.get(["itemStyle","borderRadius"]),x=Sr(n),S=n.getModel("emphasis"),C=S.get("focus"),T=S.get("blurScope"),z=S.get("disabled"),A=s?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],E=a;E<i;E++){var D=void 0,$=g.getItemVisual(E,"style");if(s){var O=g.get(A[0],E),R=g.get(A[1],E);if(isNaN(g.get(A[2],E))||isNaN(O)||isNaN(R)||O<f[0]||O>f[1]||R<d[0]||R>d[1])continue;var N=l.dataToPoint([O,R]);D=new rn({shape:{x:N[0]-u/2,y:N[1]-c/2,width:u,height:c},style:$})}else{if(isNaN(g.get(A[1],E)))continue;D=new rn({z2:1,shape:l.dataToRect([g.get(A[0],E)]).contentShape,style:$})}if(g.hasItemOption){var B=g.getItemModel(E),V=B.getModel("emphasis");m=V.getModel("itemStyle").getItemStyle(),b=B.getModel(["blur","itemStyle"]).getItemStyle(),_=B.getModel(["select","itemStyle"]).getItemStyle(),w=B.get(["itemStyle","borderRadius"]),C=V.get("focus"),T=V.get("blurScope"),z=V.get("disabled"),x=Sr(B)}D.shape.r=w;var P=n.getRawValue(E),W="-";P&&P[2]!=null&&(W=P[2]+""),Fr(D,x,{labelFetcher:n,labelDataIndex:E,defaultOpacity:$.opacity,defaultText:W}),D.ensureState("emphasis").style=m,D.ensureState("blur").style=b,D.ensureState("select").style=_,Kn(D,C,T,z),D.incremental=o,o&&(D.states.emphasis.hoverLayer=!0),p.add(D),g.setItemGraphicEl(E,D),this._progressiveEls&&this._progressiveEls.push(D)}},t.prototype._renderOnGeo=function(n,r,a,i){var o=a.targetVisuals.inRange,l=a.targetVisuals.outOfRange,s=r.getData(),u=this._hmLayer||this._hmLayer||new SVe;u.blurSize=r.get("blurSize"),u.pointSize=r.get("pointSize"),u.minOpacity=r.get("minOpacity"),u.maxOpacity=r.get("maxOpacity");var c=n.getViewRect().clone(),f=n.getRoamTransform();c.applyTransform(f);var d=Math.max(c.x,0),h=Math.max(c.y,0),v=Math.min(c.width+c.x,i.getWidth()),p=Math.min(c.height+c.y,i.getHeight()),g=v-d,m=p-h,b=[s.mapDimension("lng"),s.mapDimension("lat"),s.mapDimension("value")],_=s.mapArray(b,function(C,T,z){var A=n.dataToPoint([C,T]);return A[0]-=d,A[1]-=h,A.push(z),A}),w=a.getExtent(),x=a.type==="visualMap.continuous"?TVe(w,a.option.range):CVe(w,a.getPieceList(),a.option.selected);u.update(_,g,m,o.color.getNormalizer(),{inRange:o.color.getColorMapper(),outOfRange:l.color.getColorMapper()},x);var S=new Ir({style:{width:g,height:m,x:d,y:h,image:u.canvas},silent:!0});this.group.add(S)},t.type="heatmap",t}(zn),zVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getInitialData=function(n,r){return jl(null,this,{generateCoord:"value"})},t.prototype.preventIncremental=function(){var n=Pp.get(this.get("coordinateSystem"));if(n&&n.dimensions)return n.dimensions[0]==="lng"&&n.dimensions[1]==="lat"},t.type="series.heatmap",t.dependencies=["grid","geo","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},t}(Ln);function MVe(e){e.registerChartView(kVe),e.registerSeriesModel(zVe)}var AVe=["itemStyle","borderWidth"],wD=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],S9=new Hl,EVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=this.group,o=n.getData(),l=this._data,s=n.coordinateSystem,u=s.getBaseAxis(),c=u.isHorizontal(),f=s.master.getRect(),d={ecSize:{width:a.getWidth(),height:a.getHeight()},seriesModel:n,coordSys:s,coordSysExtent:[[f.x,f.x+f.width],[f.y,f.y+f.height]],isHorizontal:c,valueDim:wD[+c],categoryDim:wD[1-+c]};o.diff(l).add(function(v){if(o.hasValue(v)){var p=SD(o,v),g=xD(o,v,p,d),m=CD(o,d,g);o.setItemGraphicEl(v,m),i.add(m),kD(m,d,g)}}).update(function(v,p){var g=l.getItemGraphicEl(p);if(!o.hasValue(v)){i.remove(g);return}var m=SD(o,v),b=xD(o,v,m,d),_=KW(o,b);g&&_!==g.__pictorialShapeStr&&(i.remove(g),o.setItemGraphicEl(v,null),g=null),g?NVe(g,d,b):g=CD(o,d,b,!0),o.setItemGraphicEl(v,g),g.__pictorialSymbolMeta=b,i.add(g),kD(g,d,b)}).remove(function(v){var p=l.getItemGraphicEl(v);p&&TD(l,v,p.__pictorialSymbolMeta.animationModel,p)}).execute();var h=n.get("clip",!0)?Bp(n.coordinateSystem,!1,n):null;return h?i.setClipPath(h):i.removeClipPath(),this._data=o,this.group},t.prototype.remove=function(n,r){var a=this.group,i=this._data;n.get("animation")?i&&i.eachItemGraphicEl(function(o){TD(i,Dt(o).dataIndex,n,o)}):a.removeAll()},t.type="pictorialBar",t}(zn);function xD(e,t,n,r){var a=e.getItemLayout(t),i=n.get("symbolRepeat"),o=n.get("symbolClip"),l=n.get("symbolPosition")||"start",s=n.get("symbolRotate"),u=(s||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,f=n.isAnimationEnabled(),d={dataIndex:t,layout:a,itemModel:n,symbolType:e.getItemVisual(t,"symbol")||"circle",style:e.getItemVisual(t,"style"),symbolClip:o,symbolRepeat:i,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:f?n:null,hoverScale:f&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};IVe(n,i,a,r,d),DVe(e,t,a,i,o,d.boundingLength,d.pxSign,c,r,d),LVe(n,d.symbolScale,u,r,d);var h=d.symbolSize,v=ef(n.get("symbolOffset"),h);return PVe(n,h,a,i,o,v,l,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function IVe(e,t,n,r,a){var i=r.valueDim,o=e.get("symbolBoundingData"),l=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),s=l.toGlobalCoord(l.dataToCoord(0)),u=1-+(n[i.wh]<=0),c;if(He(o)){var f=[C9(l,o[0])-s,C9(l,o[1])-s];f[1]<f[0]&&f.reverse(),c=f[u]}else o!=null?c=C9(l,o)-s:t?c=r.coordSysExtent[i.index][u]-s:c=n[i.wh];a.boundingLength=c,t&&(a.repeatCutLength=n[i.wh]),a.pxSign=c>0?1:-1}function C9(e,t){return e.toGlobalCoord(e.dataToCoord(e.scale.parse(t)))}function DVe(e,t,n,r,a,i,o,l,s,u){var c=s.valueDim,f=s.categoryDim,d=Math.abs(n[f.wh]),h=e.getItemVisual(t,"symbolSize"),v;He(h)?v=h.slice():h==null?v=["100%","100%"]:v=[h,h],v[f.index]=et(v[f.index],d),v[c.index]=et(v[c.index],r?d:Math.abs(i)),u.symbolSize=v;var p=u.symbolScale=[v[0]/l,v[1]/l];p[c.index]*=(s.isHorizontal?-1:1)*o}function LVe(e,t,n,r,a){var i=e.get(AVe)||0;i&&(S9.attr({scaleX:t[0],scaleY:t[1],rotation:n}),S9.updateTransform(),i/=S9.getLineScale(),i*=t[r.valueDim.index]),a.valueLineWidth=i||0}function PVe(e,t,n,r,a,i,o,l,s,u,c,f){var d=c.categoryDim,h=c.valueDim,v=f.pxSign,p=Math.max(t[h.index]+l,0),g=p;if(r){var m=Math.abs(s),b=Mr(e.get("symbolMargin"),"15%")+"",_=!1;b.lastIndexOf("!")===b.length-1&&(_=!0,b=b.slice(0,b.length-1));var w=et(b,t[h.index]),x=Math.max(p+w*2,0),S=_?0:w*2,C=ZF(r),T=C?r:zD((m+S)/x),z=m-T*p;w=z/2/(_?T:Math.max(T-1,1)),x=p+w*2,S=_?0:w*2,!C&&r!=="fixed"&&(T=u?zD((Math.abs(u)+S)/x):0),g=T*x-S,f.repeatTimes=T,f.symbolMargin=w}var A=v*(g/2),E=f.pathPosition=[];E[d.index]=n[d.wh]/2,E[h.index]=o==="start"?A:o==="end"?s-A:s/2,i&&(E[0]+=i[0],E[1]+=i[1]);var D=f.bundlePosition=[];D[d.index]=n[d.xy],D[h.index]=n[h.xy];var $=f.barRectShape=$e({},n);$[h.wh]=v*Math.max(Math.abs(n[h.wh]),Math.abs(E[h.index]+A)),$[d.wh]=n[d.wh];var O=f.clipShape={};O[d.xy]=-n[d.xy],O[d.wh]=c.ecSize[d.wh],O[h.xy]=0,O[h.wh]=n[h.wh]}function qW(e){var t=e.symbolPatternSize,n=lr(e.symbolType,-t/2,-t/2,t,t);return n.attr({culling:!0}),n.type!=="image"&&n.setStyle({strokeNoScale:!0}),n}function GW(e,t,n,r){var a=e.__pictorialBundle,i=n.symbolSize,o=n.valueLineWidth,l=n.pathPosition,s=t.valueDim,u=n.repeatTimes||0,c=0,f=i[t.valueDim.index]+o+n.symbolMargin*2;for(aC(e,function(p){p.__pictorialAnimationIndex=c,p.__pictorialRepeatTimes=u,c<u?fd(p,null,v(c),n,r):fd(p,null,{scaleX:0,scaleY:0},n,r,function(){a.remove(p)}),c++});c<u;c++){var d=qW(n);d.__pictorialAnimationIndex=c,d.__pictorialRepeatTimes=u,a.add(d);var h=v(c);fd(d,{x:h.x,y:h.y,scaleX:0,scaleY:0},{scaleX:h.scaleX,scaleY:h.scaleY,rotation:h.rotation},n,r)}function v(p){var g=l.slice(),m=n.pxSign,b=p;return(n.symbolRepeatDirection==="start"?m>0:m<0)&&(b=u-1-p),g[s.index]=f*(b-u/2+.5)+l[s.index],{x:g[0],y:g[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function WW(e,t,n,r){var a=e.__pictorialBundle,i=e.__pictorialMainPath;i?fd(i,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(i=e.__pictorialMainPath=qW(n),a.add(i),fd(i,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function UW(e,t,n){var r=$e({},t.barRectShape),a=e.__pictorialBarRect;a?fd(a,null,{shape:r},t,n):(a=e.__pictorialBarRect=new rn({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),a.disableMorphing=!0,e.add(a))}function YW(e,t,n,r){if(n.symbolClip){var a=e.__pictorialClipPath,i=$e({},n.clipShape),o=t.valueDim,l=n.animationModel,s=n.dataIndex;if(a)un(a,{shape:i},l,s);else{i[o.wh]=0,a=new rn({shape:i}),e.__pictorialBundle.setClipPath(a),e.__pictorialClipPath=a;var u={};u[o.wh]=n.clipShape[o.wh],Qc[r?"updateProps":"initProps"](a,{shape:u},l,s)}}}function SD(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=RVe,n.isAnimationEnabled=OVe,n}function RVe(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function OVe(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function CD(e,t,n,r){var a=new At,i=new At;return a.add(i),a.__pictorialBundle=i,i.x=n.bundlePosition[0],i.y=n.bundlePosition[1],n.symbolRepeat?GW(a,t,n):WW(a,t,n),UW(a,n,r),YW(a,t,n,r),a.__pictorialShapeStr=KW(e,n),a.__pictorialSymbolMeta=n,a}function NVe(e,t,n){var r=n.animationModel,a=n.dataIndex,i=e.__pictorialBundle;un(i,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,a),n.symbolRepeat?GW(e,t,n,!0):WW(e,t,n,!0),UW(e,n,!0),YW(e,t,n,!0)}function TD(e,t,n,r){var a=r.__pictorialBarRect;a&&a.removeTextContent();var i=[];aC(r,function(o){i.push(o)}),r.__pictorialMainPath&&i.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),K(i,function(o){Ks(o,{scaleX:0,scaleY:0},n,t,function(){r.parent&&r.parent.remove(r)})}),e.setItemGraphicEl(t,null)}function KW(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function aC(e,t,n){K(e.__pictorialBundle.children(),function(r){r!==e.__pictorialBarRect&&t.call(n,r)})}function fd(e,t,n,r,a,i){t&&e.attr(t),r.symbolClip&&!a?n&&e.attr(n):n&&Qc[a?"updateProps":"initProps"](e,n,r.animationModel,r.dataIndex,i)}function kD(e,t,n){var r=n.dataIndex,a=n.itemModel,i=a.getModel("emphasis"),o=i.getModel("itemStyle").getItemStyle(),l=a.getModel(["blur","itemStyle"]).getItemStyle(),s=a.getModel(["select","itemStyle"]).getItemStyle(),u=a.getShallow("cursor"),c=i.get("focus"),f=i.get("blurScope"),d=i.get("scale");aC(e,function(p){if(p instanceof Ir){var g=p.style;p.useStyle($e({image:g.image,x:g.x,y:g.y,width:g.width,height:g.height},n.style))}else p.useStyle(n.style);var m=p.ensureState("emphasis");m.style=o,d&&(m.scaleX=p.scaleX*1.1,m.scaleY=p.scaleY*1.1),p.ensureState("blur").style=l,p.ensureState("select").style=s,u&&(p.cursor=u),p.z2=n.z2});var h=t.valueDim.posDesc[+(n.boundingLength>0)],v=e.__pictorialBarRect;v.ignoreClip=!0,Fr(v,Sr(a),{labelFetcher:t.seriesModel,labelDataIndex:r,defaultText:Fd(t.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:h}),Kn(e,c,f,i.get("disabled"))}function zD(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var $Ve=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return t.prototype.getInitialData=function(n){return n.stack=null,e.prototype.getInitialData.apply(this,arguments)},t.type="series.pictorialBar",t.dependencies=["grid"],t.defaultOption=su(X1.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),t}(X1);function VVe(e){e.registerChartView(EVe),e.registerSeriesModel($Ve),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,$t(Iq,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Dq("pictorialBar"))}var BVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._layers=[],n}return t.prototype.render=function(n,r,a){var i=n.getData(),o=this,l=this.group,s=n.getLayerSeries(),u=i.getLayout("layoutInfo"),c=u.rect,f=u.boundaryGap;l.x=0,l.y=c.y+f[0];function d(g){return g.name}var h=new Ml(this._layersSeries||[],s,d,d),v=[];h.add(lt(p,this,"add")).update(lt(p,this,"update")).remove(lt(p,this,"remove")).execute();function p(g,m,b){var _=o._layers;if(g==="remove"){l.remove(_[m]);return}for(var w=[],x=[],S,C=s[m].indices,T=0;T<C.length;T++){var z=i.getItemLayout(C[T]),A=z.x,E=z.y0,D=z.y;w.push(A,E),x.push(A,E+D),S=i.getItemVisual(C[T],"style")}var $,O=i.getItemLayout(C[0]),R=n.getModel("label"),N=R.get("margin"),B=n.getModel("emphasis");if(g==="add"){var V=v[m]=new At;$=new _G({shape:{points:w,stackedOnPoints:x,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),V.add($),l.add(V),n.isAnimationEnabled()&&$.setClipPath(FVe($.getBoundingRect(),n,function(){$.removeClipPath()}))}else{var V=_[b];$=V.childAt(0),l.add(V),v[m]=V,un($,{shape:{points:w,stackedOnPoints:x}},n),Qi($)}Fr($,Sr(n),{labelDataIndex:C[T-1],defaultText:i.getName(C[T-1]),inheritColor:S.fill},{normal:{verticalAlign:"middle"}}),$.setTextConfig({position:null,local:!0});var P=$.getTextContent();P&&(P.x=O.x-N,P.y=O.y0+O.y/2),$.useStyle(S),i.setItemGraphicEl(m,$),Br($,n),Kn($,B.get("focus"),B.get("blurScope"),B.get("disabled"))}this._layersSeries=s,this._layers=v},t.type="themeRiver",t}(zn);function FVe(e,t,n){var r=new rn({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return Nn(r,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),r}var T9=2,HVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n){e.prototype.init.apply(this,arguments),this.legendVisualProvider=new jp(lt(this.getData,this),lt(this.getRawData,this))},t.prototype.fixData=function(n){var r=n.length,a={},i=jw(n,function(d){return a.hasOwnProperty(d[0]+"")||(a[d[0]+""]=-1),d[2]}),o=[];i.buckets.each(function(d,h){o.push({name:h,dataList:d})});for(var l=o.length,s=0;s<l;++s){for(var u=o[s].name,c=0;c<o[s].dataList.length;++c){var f=o[s].dataList[c][0]+"";a[f]=s}for(var f in a)a.hasOwnProperty(f)&&a[f]!==s&&(a[f]=s,n[r]=[f,0,u],r++)}return n},t.prototype.getInitialData=function(n,r){for(var a=this.getReferringComponents("singleAxis",rr).models[0],i=a.get("type"),o=_n(n.data,function(v){return v[2]!==void 0}),l=this.fixData(o||[]),s=[],u=this.nameMap=pt(),c=0,f=0;f<l.length;++f)s.push(l[f][T9]),u.get(l[f][T9])||(u.set(l[f][T9],c),c++);var d=Op(l,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:Mm(i)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,h=new ua(d,this);return h.initData(l),h},t.prototype.getLayerSeries=function(){for(var n=this.getData(),r=n.count(),a=[],i=0;i<r;++i)a[i]=i;var o=n.mapDimension("single"),l=jw(a,function(u){return n.get("name",u)}),s=[];return l.buckets.each(function(u,c){u.sort(function(f,d){return n.get(o,f)-n.get(o,d)}),s.push({name:c,indices:u})}),s},t.prototype.getAxisTooltipData=function(n,r,a){He(n)||(n=n?[n]:[]);for(var i=this.getData(),o=this.getLayerSeries(),l=[],s=o.length,u,c=0;c<s;++c){for(var f=Number.MAX_VALUE,d=-1,h=o[c].indices.length,v=0;v<h;++v){var p=i.get(n[0],o[c].indices[v]),g=Math.abs(p-r);g<=f&&(u=p,f=g,d=o[c].indices[v])}l.push(d)}return{dataIndices:l,nestestValue:u}},t.prototype.formatTooltip=function(n,r,a){var i=this.getData(),o=i.getName(n),l=i.get(i.mapDimension("value"),n);return Cr("nameValue",{name:o,value:l})},t.type="series.themeRiver",t.dependencies=["singleAxis"],t.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},t}(Ln);function jVe(e,t){e.eachSeriesByType("themeRiver",function(n){var r=n.getData(),a=n.coordinateSystem,i={},o=a.getRect();i.rect=o;var l=n.get("boundaryGap"),s=a.getAxis();if(i.boundaryGap=l,s.orient==="horizontal"){l[0]=et(l[0],o.height),l[1]=et(l[1],o.height);var u=o.height-l[0]-l[1];MD(r,n,u)}else{l[0]=et(l[0],o.width),l[1]=et(l[1],o.width);var c=o.width-l[0]-l[1];MD(r,n,c)}r.setLayout("layoutInfo",i)})}function MD(e,t,n){if(e.count())for(var r=t.coordinateSystem,a=t.getLayerSeries(),i=e.mapDimension("single"),o=e.mapDimension("value"),l=Ge(a,function(g){return Ge(g.indices,function(m){var b=r.dataToPoint(e.get(i,m));return b[1]=e.get(o,m),b})}),s=qVe(l),u=s.y0,c=n/s.max,f=a.length,d=a[0].indices.length,h,v=0;v<d;++v){h=u[v]*c,e.setItemLayout(a[0].indices[v],{layerIndex:0,x:l[0][v][0],y0:h,y:l[0][v][1]*c});for(var p=1;p<f;++p)h+=l[p-1][v][1]*c,e.setItemLayout(a[p].indices[v],{layerIndex:p,x:l[p][v][0],y0:h,y:l[p][v][1]*c})}}function qVe(e){for(var t=e.length,n=e[0].length,r=[],a=[],i=0,o=0;o<n;++o){for(var l=0,s=0;s<t;++s)l+=e[s][o][1];l>i&&(i=l),r.push(l)}for(var u=0;u<n;++u)a[u]=(i-r[u])/2;i=0;for(var c=0;c<n;++c){var f=r[c]+a[c];f>i&&(i=f)}return{y0:a,max:i}}function GVe(e){e.registerChartView(BVe),e.registerSeriesModel(HVe),e.registerLayout(jVe),e.registerProcessor(Hp("themeRiver"))}var WVe=2,UVe=4,AD=function(e){Se(t,e);function t(n,r,a,i){var o=e.call(this)||this;o.z2=WVe,o.textConfig={inside:!0},Dt(o).seriesIndex=r.seriesIndex;var l=new on({z2:UVe,silent:n.getModel().get(["label","silent"])});return o.setTextContent(l),o.updateData(!0,n,r,a,i),o}return t.prototype.updateData=function(n,r,a,i,o){this.node=r,r.piece=this,a=a||this._seriesModel,i=i||this._ecModel;var l=this;Dt(l).dataIndex=r.dataIndex;var s=r.getModel(),u=s.getModel("emphasis"),c=r.getLayout(),f=$e({},c);f.label=null;var d=r.getVisual("style");d.lineJoin="bevel";var h=r.getVisual("decal");h&&(d.decal=Vd(h,o));var v=dc(s.getModel("itemStyle"),f,!0);$e(f,v),K(va,function(b){var _=l.ensureState(b),w=s.getModel([b,"itemStyle"]);_.style=w.getItemStyle();var x=dc(w,f);x&&(_.shape=x)}),n?(l.setShape(f),l.shape.r=c.r0,Nn(l,{shape:{r:c.r}},a,r.dataIndex)):(un(l,{shape:f},a),Qi(l)),l.useStyle(d),this._updateLabel(a);var p=s.getShallow("cursor");p&&l.attr("cursor",p),this._seriesModel=a||this._seriesModel,this._ecModel=i||this._ecModel;var g=u.get("focus"),m=g==="ancestor"?r.getAncestorsIndices():g==="descendant"?r.getDescendantIndices():g;Kn(this,m,u.get("blurScope"),u.get("disabled"))},t.prototype._updateLabel=function(n){var r=this,a=this.node.getModel(),i=a.getModel("label"),o=this.node.getLayout(),l=o.endAngle-o.startAngle,s=(o.startAngle+o.endAngle)/2,u=Math.cos(s),c=Math.sin(s),f=this,d=f.getTextContent(),h=this.node.dataIndex,v=i.get("minAngle")/180*Math.PI,p=i.get("show")&&!(v!=null&&Math.abs(l)<v);d.ignore=!p,K($1,function(m){var b=m==="normal"?a.getModel("label"):a.getModel([m,"label"]),_=m==="normal",w=_?d:d.ensureState(m),x=n.getFormattedLabel(h,m);_&&(x=x||r.node.name),w.style=In(b,{},null,m!=="normal",!0),x&&(w.style.text=x);var S=b.get("show");S!=null&&!_&&(w.ignore=!S);var C=g(b,"position"),T=_?f:f.states[m],z=T.style.fill;T.textConfig={outsideFill:b.get("color")==="inherit"?z:null,inside:C!=="outside"};var A,E=g(b,"distance")||0,D=g(b,"align"),$=g(b,"rotate"),O=Math.PI*.5,R=Math.PI*1.5,N=Fa($==="tangential"?Math.PI/2-s:s),B=N>O&&!O1(N-O)&&N<R;C==="outside"?(A=o.r+E,D=B?"right":"left"):!D||D==="center"?(l===2*Math.PI&&o.r0===0?A=0:A=(o.r+o.r0)/2,D="center"):D==="left"?(A=o.r0+E,D=B?"right":"left"):D==="right"&&(A=o.r-E,D=B?"left":"right"),w.style.align=D,w.style.verticalAlign=g(b,"verticalAlign")||"middle",w.x=A*u+o.cx,w.y=A*c+o.cy;var V=0;$==="radial"?V=Fa(-s)+(B?Math.PI:0):$==="tangential"?V=Fa(Math.PI/2-s)+(B?Math.PI:0):ln($)&&(V=$*Math.PI/180),w.rotation=Fa(V)});function g(m,b){var _=m.get(b);return _??i.get(b)}d.dirtyStyle()},t}(pa),jx="sunburstRootToNode",ED="sunburstHighlight",YVe="sunburstUnhighlight";function KVe(e){e.registerAction({type:jx,update:"updateView"},function(t,n){n.eachComponent({mainType:"series",subType:"sunburst",query:t},r);function r(a,i){var o=J1(t,[jx],a);if(o){var l=a.getViewRoot();l&&(t.direction=q8(l,o.node)?"rollUp":"drillDown"),a.resetViewRoot(o.node)}}}),e.registerAction({type:ED,update:"none"},function(t,n,r){t=$e({},t),n.eachComponent({mainType:"series",subType:"sunburst",query:t},a);function a(i){var o=J1(t,[ED],i);o&&(t.dataIndex=o.node.dataIndex)}r.dispatchAction($e(t,{type:"highlight"}))}),e.registerAction({type:YVe,update:"updateView"},function(t,n,r){t=$e({},t),r.dispatchAction($e(t,{type:"downplay"}))})}var XVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a,i){var o=this;this.seriesModel=n,this.api=a,this.ecModel=r;var l=n.getData(),s=l.tree.root,u=n.getViewRoot(),c=this.group,f=n.get("renderLabelForZeroData"),d=[];u.eachNode(function(b){d.push(b)});var h=this._oldChildren||[];v(d,h),m(s,u),this._initEvents(),this._oldChildren=d;function v(b,_){if(b.length===0&&_.length===0)return;new Ml(_,b,w,w).add(x).update(x).remove($t(x,null)).execute();function w(S){return S.getId()}function x(S,C){var T=S==null?null:b[S],z=C==null?null:_[C];p(T,z)}}function p(b,_){if(!f&&b&&!b.getValue()&&(b=null),b!==s&&_!==s){if(_&&_.piece)b?(_.piece.updateData(!1,b,n,r,a),l.setItemGraphicEl(b.dataIndex,_.piece)):g(_);else if(b){var w=new AD(b,n,r,a);c.add(w),l.setItemGraphicEl(b.dataIndex,w)}}}function g(b){b&&b.piece&&(c.remove(b.piece),b.piece=null)}function m(b,_){_.depth>0?(o.virtualPiece?o.virtualPiece.updateData(!1,b,n,r,a):(o.virtualPiece=new AD(b,n,r,a),c.add(o.virtualPiece)),_.piece.off("click"),o.virtualPiece.on("click",function(w){o._rootToNode(_.parentNode)})):o.virtualPiece&&(c.remove(o.virtualPiece),o.virtualPiece=null)}},t.prototype._initEvents=function(){var n=this;this.group.off("click"),this.group.on("click",function(r){var a=!1,i=n.seriesModel.getViewRoot();i.eachNode(function(o){if(!a&&o.piece&&o.piece===r.target){var l=o.getModel().get("nodeClick");if(l==="rootToNode")n._rootToNode(o);else if(l==="link"){var s=o.getModel(),u=s.get("link");if(u){var c=s.get("target",!0)||"_blank";_m(u,c)}}a=!0}})})},t.prototype._rootToNode=function(n){n!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:jx,from:this.uid,seriesId:this.seriesModel.id,targetNode:n})},t.prototype.containPoint=function(n,r){var a=r.getData(),i=a.getItemLayout(0);if(i){var o=n[0]-i.cx,l=n[1]-i.cy,s=Math.sqrt(o*o+l*l);return s<=i.r&&s>=i.r0}},t.type="sunburst",t}(zn),ZVe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.ignoreStyleOnData=!0,n}return t.prototype.getInitialData=function(n,r){var a={name:n.name,children:n.data};XW(a);var i=this._levelModels=Ge(n.levels||[],function(s){return new yn(s,this,r)},this),o=j8.createTree(a,this,l);function l(s){s.wrapMethod("getItemModel",function(u,c){var f=o.getNodeByDataIndex(c),d=i[f.depth];return d&&(u.parentModel=d),u})}return o.data},t.prototype.optionUpdated=function(){this.resetViewRoot()},t.prototype.getDataParams=function(n){var r=e.prototype.getDataParams.apply(this,arguments),a=this.getData().tree.getNodeByDataIndex(n);return r.treePathInfo=C3(a,this),r},t.prototype.getLevelModel=function(n){return this._levelModels&&this._levelModels[n.depth]},t.prototype.getViewRoot=function(){return this._viewRoot},t.prototype.resetViewRoot=function(n){n?this._viewRoot=n:n=this._viewRoot;var r=this.getRawData().tree.root;(!n||n!==r&&!r.contains(n))&&(this._viewRoot=r)},t.prototype.enableAriaDecal=function(){tW(this)},t.type="series.sunburst",t.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},t}(Ln);function XW(e){var t=0;K(e.children,function(r){XW(r);var a=r.value;He(a)&&(a=a[0]),t+=a});var n=e.value;He(n)&&(n=n[0]),(n==null||isNaN(n))&&(n=t),n<0&&(n=0),He(e.value)?e.value[0]=n:e.value=n}var ID=Math.PI/180;function JVe(e,t,n){t.eachSeriesByType(e,function(r){var a=r.get("center"),i=r.get("radius");He(i)||(i=[0,i]),He(a)||(a=[a,a]);var o=n.getWidth(),l=n.getHeight(),s=Math.min(o,l),u=et(a[0],o),c=et(a[1],l),f=et(i[0],s/2),d=et(i[1],s/2),h=-r.get("startAngle")*ID,v=r.get("minAngle")*ID,p=r.getData().tree.root,g=r.getViewRoot(),m=g.depth,b=r.get("sort");b!=null&&ZW(g,b);var _=0;K(g.children,function(N){!isNaN(N.getValue())&&_++});var w=g.getValue(),x=Math.PI/(w||_)*2,S=g.depth>0,C=g.height-(S?-1:1),T=(d-f)/(C||1),z=r.get("clockwise"),A=r.get("stillShowZeroSum"),E=z?1:-1,D=function(N,B){if(N){var V=B;if(N!==p){var P=N.getValue(),W=w===0&&A?x:P*x;W<v&&(W=v),V=B+E*W;var Z=N.depth-m-(S?-1:1),ee=f+T*Z,re=f+T*(Z+1),ue=r.getLevelModel(N);if(ue){var ye=ue.get("r0",!0),le=ue.get("r",!0),ae=ue.get("radius",!0);ae!=null&&(ye=ae[0],le=ae[1]),ye!=null&&(ee=et(ye,s/2)),le!=null&&(re=et(le,s/2))}N.setLayout({angle:W,startAngle:B,endAngle:V,clockwise:z,cx:u,cy:c,r0:ee,r:re})}if(N.children&&N.children.length){var ie=0;K(N.children,function(ve){ie+=D(ve,B+ie)})}return V-B}};if(S){var $=f,O=f+T,R=Math.PI*2;p.setLayout({angle:R,startAngle:h,endAngle:h+R,clockwise:z,cx:u,cy:c,r0:$,r:O})}D(g,h)})}function ZW(e,t){var n=e.children||[];e.children=QVe(n,t),n.length&&K(e.children,function(r){ZW(r,t)})}function QVe(e,t){if(yt(t)){var n=Ge(e,function(a,i){var o=a.getValue();return{params:{depth:a.depth,height:a.height,dataIndex:a.dataIndex,getValue:function(){return o}},index:i}});return n.sort(function(a,i){return t(a.params,i.params)}),Ge(n,function(a){return e[a.index]})}else{var r=t==="asc";return e.sort(function(a,i){var o=(a.getValue()-i.getValue())*(r?1:-1);return o===0?(a.dataIndex-i.dataIndex)*(r?-1:1):o})}}function eBe(e){var t={};function n(r,a,i){for(var o=r;o&&o.depth>1;)o=o.parentNode;var l=a.getColorFromPalette(o.name||o.dataIndex+"",t);return r.depth>1&&it(l)&&(l=Iw(l,(r.depth-1)/(i-1)*.5)),l}e.eachSeriesByType("sunburst",function(r){var a=r.getData(),i=a.tree;i.eachNode(function(o){var l=o.getModel(),s=l.getModel("itemStyle").getItemStyle();s.fill||(s.fill=n(o,r,i.root.height));var u=a.ensureUniqueItemVisual(o.dataIndex,"style");$e(u,s)})})}function tBe(e){e.registerChartView(XVe),e.registerSeriesModel(ZVe),e.registerLayout($t(JVe,"sunburst")),e.registerProcessor($t(Hp,"sunburst")),e.registerVisual(eBe),KVe(e)}var DD={color:"fill",borderColor:"stroke"},nBe={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},ml=an(),rBe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},t.prototype.getInitialData=function(n,r){return jl(null,this)},t.prototype.getDataParams=function(n,r,a){var i=e.prototype.getDataParams.call(this,n,r);return a&&(i.info=ml(a).info),i},t.type="series.custom",t.dependencies=["grid","polar","geo","singleAxis","calendar"],t.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},t}(Ln);function aBe(e,t){return t=t||[0,0],Ge(["x","y"],function(n,r){var a=this.getAxis(n),i=t[r],o=e[r]/2;return a.type==="category"?a.getBandWidth():Math.abs(a.dataToCoord(i-o)-a.dataToCoord(i+o))},this)}function iBe(e){var t=e.master.getRect();return{coordSys:{type:"cartesian2d",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(n){return e.dataToPoint(n)},size:lt(aBe,e)}}}function oBe(e,t){return t=t||[0,0],Ge([0,1],function(n){var r=t[n],a=e[n]/2,i=[],o=[];return i[n]=r-a,o[n]=r+a,i[1-n]=o[1-n]=t[1-n],Math.abs(this.dataToPoint(i)[n]-this.dataToPoint(o)[n])},this)}function lBe(e){var t=e.getBoundingRect();return{coordSys:{type:"geo",x:t.x,y:t.y,width:t.width,height:t.height,zoom:e.getZoom()},api:{coord:function(n){return e.dataToPoint(n)},size:lt(oBe,e)}}}function sBe(e,t){var n=this.getAxis(),r=t instanceof Array?t[0]:t,a=(e instanceof Array?e[0]:e)/2;return n.type==="category"?n.getBandWidth():Math.abs(n.dataToCoord(r-a)-n.dataToCoord(r+a))}function uBe(e){var t=e.getRect();return{coordSys:{type:"singleAxis",x:t.x,y:t.y,width:t.width,height:t.height},api:{coord:function(n){return e.dataToPoint(n)},size:lt(sBe,e)}}}function cBe(e,t){return t=t||[0,0],Ge(["Radius","Angle"],function(n,r){var a="get"+n+"Axis",i=this[a](),o=t[r],l=e[r]/2,s=i.type==="category"?i.getBandWidth():Math.abs(i.dataToCoord(o-l)-i.dataToCoord(o+l));return n==="Angle"&&(s=s*Math.PI/180),s},this)}function fBe(e){var t=e.getRadiusAxis(),n=e.getAngleAxis(),r=t.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:e.cx,cy:e.cy,r:r[1],r0:r[0]},api:{coord:function(a){var i=t.dataToRadius(a[0]),o=n.dataToAngle(a[1]),l=e.coordToPoint([i,o]);return l.push(i,o*Math.PI/180),l},size:lt(cBe,e)}}}function dBe(e){var t=e.getRect(),n=e.getRangeInfo();return{coordSys:{type:"calendar",x:t.x,y:t.y,width:t.width,height:t.height,cellWidth:e.getCellWidth(),cellHeight:e.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(r,a){return e.dataToPoint(r,a)}}}}function JW(e,t,n,r){return e&&(e.legacy||e.legacy!==!1&&!n&&!r&&t!=="tspan"&&(t==="text"||ht(e,"text")))}function QW(e,t,n){var r=e,a,i,o;if(t==="text")o=r;else{o={},ht(r,"text")&&(o.text=r.text),ht(r,"rich")&&(o.rich=r.rich),ht(r,"textFill")&&(o.fill=r.textFill),ht(r,"textStroke")&&(o.stroke=r.textStroke),ht(r,"fontFamily")&&(o.fontFamily=r.fontFamily),ht(r,"fontSize")&&(o.fontSize=r.fontSize),ht(r,"fontStyle")&&(o.fontStyle=r.fontStyle),ht(r,"fontWeight")&&(o.fontWeight=r.fontWeight),i={type:"text",style:o,silent:!0},a={};var l=ht(r,"textPosition");n?a.position=l?r.textPosition:"inside":l&&(a.position=r.textPosition),ht(r,"textPosition")&&(a.position=r.textPosition),ht(r,"textOffset")&&(a.offset=r.textOffset),ht(r,"textRotation")&&(a.rotation=r.textRotation),ht(r,"textDistance")&&(a.distance=r.textDistance)}return LD(o,e),K(o.rich,function(s){LD(s,s)}),{textConfig:a,textContent:i}}function LD(e,t){t&&(t.font=t.textFont||t.font,ht(t,"textStrokeWidth")&&(e.lineWidth=t.textStrokeWidth),ht(t,"textAlign")&&(e.align=t.textAlign),ht(t,"textVerticalAlign")&&(e.verticalAlign=t.textVerticalAlign),ht(t,"textLineHeight")&&(e.lineHeight=t.textLineHeight),ht(t,"textWidth")&&(e.width=t.textWidth),ht(t,"textHeight")&&(e.height=t.textHeight),ht(t,"textBackgroundColor")&&(e.backgroundColor=t.textBackgroundColor),ht(t,"textPadding")&&(e.padding=t.textPadding),ht(t,"textBorderColor")&&(e.borderColor=t.textBorderColor),ht(t,"textBorderWidth")&&(e.borderWidth=t.textBorderWidth),ht(t,"textBorderRadius")&&(e.borderRadius=t.textBorderRadius),ht(t,"textBoxShadowColor")&&(e.shadowColor=t.textBoxShadowColor),ht(t,"textBoxShadowBlur")&&(e.shadowBlur=t.textBoxShadowBlur),ht(t,"textBoxShadowOffsetX")&&(e.shadowOffsetX=t.textBoxShadowOffsetX),ht(t,"textBoxShadowOffsetY")&&(e.shadowOffsetY=t.textBoxShadowOffsetY))}function PD(e,t,n){var r=e;r.textPosition=r.textPosition||n.position||"inside",n.offset!=null&&(r.textOffset=n.offset),n.rotation!=null&&(r.textRotation=n.rotation),n.distance!=null&&(r.textDistance=n.distance);var a=r.textPosition.indexOf("inside")>=0,i=e.fill||"#000";RD(r,t);var o=r.textFill==null;return a?o&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=i),r.textStrokeWidth==null&&(r.textStrokeWidth=2)):(o&&(r.textFill=e.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=t.text,r.rich=t.rich,K(t.rich,function(l){RD(l,l)}),r}function RD(e,t){t&&(ht(t,"fill")&&(e.textFill=t.fill),ht(t,"stroke")&&(e.textStroke=t.fill),ht(t,"lineWidth")&&(e.textStrokeWidth=t.lineWidth),ht(t,"font")&&(e.font=t.font),ht(t,"fontStyle")&&(e.fontStyle=t.fontStyle),ht(t,"fontWeight")&&(e.fontWeight=t.fontWeight),ht(t,"fontSize")&&(e.fontSize=t.fontSize),ht(t,"fontFamily")&&(e.fontFamily=t.fontFamily),ht(t,"align")&&(e.textAlign=t.align),ht(t,"verticalAlign")&&(e.textVerticalAlign=t.verticalAlign),ht(t,"lineHeight")&&(e.textLineHeight=t.lineHeight),ht(t,"width")&&(e.textWidth=t.width),ht(t,"height")&&(e.textHeight=t.height),ht(t,"backgroundColor")&&(e.textBackgroundColor=t.backgroundColor),ht(t,"padding")&&(e.textPadding=t.padding),ht(t,"borderColor")&&(e.textBorderColor=t.borderColor),ht(t,"borderWidth")&&(e.textBorderWidth=t.borderWidth),ht(t,"borderRadius")&&(e.textBorderRadius=t.borderRadius),ht(t,"shadowColor")&&(e.textBoxShadowColor=t.shadowColor),ht(t,"shadowBlur")&&(e.textBoxShadowBlur=t.shadowBlur),ht(t,"shadowOffsetX")&&(e.textBoxShadowOffsetX=t.shadowOffsetX),ht(t,"shadowOffsetY")&&(e.textBoxShadowOffsetY=t.shadowOffsetY),ht(t,"textShadowColor")&&(e.textShadowColor=t.textShadowColor),ht(t,"textShadowBlur")&&(e.textShadowBlur=t.textShadowBlur),ht(t,"textShadowOffsetX")&&(e.textShadowOffsetX=t.textShadowOffsetX),ht(t,"textShadowOffsetY")&&(e.textShadowOffsetY=t.textShadowOffsetY))}var eU={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},OD=tn(eU);No(Vo,function(e,t){return e[t]=1,e},{});Vo.join(", ");var Bm=["","style","shape","extra"],qd=an();function iC(e,t,n,r,a){var i=e+"Animation",o=ch(e,r,a)||{},l=qd(t).userDuring;return o.duration>0&&(o.during=l?lt(mBe,{el:t,userDuring:l}):null,o.setToFinal=!0,o.scope=e),$e(o,n[i]),o}function _2(e,t,n,r){r=r||{};var a=r.dataIndex,i=r.isInit,o=r.clearStyle,l=n.isAnimationEnabled(),s=qd(e),u=t.style;s.userDuring=t.during;var c={},f={};if(bBe(e,t,f),$D("shape",t,f),$D("extra",t,f),!i&&l&&(yBe(e,t,c),ND("shape",e,t,c),ND("extra",e,t,c),_Be(e,t,u,c)),f.style=u,hBe(e,f,o),pBe(e,t),l)if(i){var d={};K(Bm,function(v){var p=v?t[v]:t;p&&p.enterFrom&&(v&&(d[v]=d[v]||{}),$e(v?d[v]:d,p.enterFrom))});var h=iC("enter",e,t,n,a);h.duration>0&&e.animateFrom(d,h)}else vBe(e,t,a||0,n,c);tU(e,t),u?e.dirty():e.markRedraw()}function tU(e,t){for(var n=qd(e).leaveToProps,r=0;r<Bm.length;r++){var a=Bm[r],i=a?t[a]:t;i&&i.leaveTo&&(n||(n=qd(e).leaveToProps={}),a&&(n[a]=n[a]||{}),$e(a?n[a]:n,i.leaveTo))}}function z3(e,t,n,r){if(e){var a=e.parent,i=qd(e).leaveToProps;if(i){var o=iC("update",e,t,n,0);o.done=function(){a.remove(e)},e.animateTo(i,o)}else a.remove(e)}}function zc(e){return e==="all"}function hBe(e,t,n){var r=t.style;if(!e.isGroup&&r){if(n){e.useStyle({});for(var a=e.animators,i=0;i<a.length;i++){var o=a[i];o.targetName==="style"&&o.changeTarget(e.style)}}e.setStyle(r)}t&&(t.style=null,t&&e.attr(t),t.style=r)}function vBe(e,t,n,r,a){if(a){var i=iC("update",e,t,r,n);i.duration>0&&e.animateFrom(a,i)}}function pBe(e,t){ht(t,"silent")&&(e.silent=t.silent),ht(t,"ignore")&&(e.ignore=t.ignore),e instanceof zi&&ht(t,"invisible")&&(e.invisible=t.invisible),e instanceof Zt&&ht(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var vo={},gBe={setTransform:function(e,t){return vo.el[e]=t,this},getTransform:function(e){return vo.el[e]},setShape:function(e,t){var n=vo.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=vo.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=vo.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=vo.el.style;if(t)return t[e]},setExtra:function(e,t){var n=vo.el.extra||(vo.el.extra={});return n[e]=t,this},getExtra:function(e){var t=vo.el.extra;if(t)return t[e]}};function mBe(){var e=this,t=e.el;if(t){var n=qd(t).userDuring,r=e.userDuring;if(n!==r){e.el=e.userDuring=null;return}vo.el=t,r(gBe)}}function ND(e,t,n,r){var a=n[e];if(a){var i=t[e],o;if(i){var l=n.transition,s=a.transition;if(s)if(!o&&(o=r[e]={}),zc(s))$e(o,i);else for(var u=Cn(s),c=0;c<u.length;c++){var f=u[c],d=i[f];o[f]=d}else if(zc(l)||Yt(l,e)>=0){!o&&(o=r[e]={});for(var h=tn(i),c=0;c<h.length;c++){var f=h[c],d=i[f];wBe(a[f],d)&&(o[f]=d)}}}}}function $D(e,t,n){var r=t[e];if(r)for(var a=n[e]={},i=tn(r),o=0;o<i.length;o++){var l=i[o];a[l]=qv(r[l])}}function yBe(e,t,n){for(var r=t.transition,a=zc(r)?Vo:Cn(r||[]),i=0;i<a.length;i++){var o=a[i];if(!(o==="style"||o==="shape"||o==="extra")){var l=e[o];n[o]=l}}}function bBe(e,t,n){for(var r=0;r<OD.length;r++){var a=OD[r],i=eU[a],o=t[a];o&&(n[i[0]]=o[0],n[i[1]]=o[1])}for(var r=0;r<Vo.length;r++){var l=Vo[r];t[l]!=null&&(n[l]=t[l])}}function _Be(e,t,n,r){if(n){var a=e.style,i;if(a){var o=n.transition,l=t.transition;if(o&&!zc(o)){var s=Cn(o);!i&&(i=r.style={});for(var u=0;u<s.length;u++){var c=s[u],f=a[c];i[c]=f}}else if(e.getAnimationStyleProps&&(zc(l)||zc(o)||Yt(l,"style")>=0)){var d=e.getAnimationStyleProps(),h=d?d.style:null;if(h){!i&&(i=r.style={});for(var v=tn(n),u=0;u<v.length;u++){var c=v[u];if(h[c]){var f=a[c];i[c]=f}}}}}}}function wBe(e,t){return Zr(e)?e!==t:e!=null&&isFinite(e)}var nU=an(),xBe=["percent","easing","shape","style","extra"];function rU(e){e.stopAnimation("keyframe"),e.attr(nU(e))}function Fm(e,t,n){if(!(!n.isAnimationEnabled()||!t)){if(He(t)){K(t,function(l){Fm(e,l,n)});return}var r=t.keyframes,a=t.duration;if(n&&a==null){var i=ch("enter",n,0);a=i&&i.duration}if(!(!r||!a)){var o=nU(e);K(Bm,function(l){if(!(l&&!e[l])){var s;r.sort(function(u,c){return u.percent-c.percent}),K(r,function(u){var c=e.animators,f=l?u[l]:u;if(f){var d=tn(f);if(l||(d=_n(d,function(p){return Yt(xBe,p)<0})),!!d.length){s||(s=e.animate(l,t.loop,!0),s.scope="keyframe");for(var h=0;h<c.length;h++)c[h]!==s&&c[h].targetName===s.targetName&&c[h].stopTracks(d);l&&(o[l]=o[l]||{});var v=l?o[l]:o;K(d,function(p){v[p]=((l?e[l]:e)||{})[p]}),s.whenWithKeys(a*u.percent,f,d,u.easing)}}}),s&&s.delay(t.delay||0).duration(a).start(t.easing)}})}}}var yl="emphasis",zs="normal",oC="blur",lC="select",Qs=[zs,yl,oC,lC],k9={normal:["itemStyle"],emphasis:[yl,"itemStyle"],blur:[oC,"itemStyle"],select:[lC,"itemStyle"]},z9={normal:["label"],emphasis:[yl,"label"],blur:[oC,"label"],select:[lC,"label"]},SBe=["x","y"],CBe="e\0\0",ei={normal:{},emphasis:{},blur:{},select:{}},TBe={cartesian2d:iBe,geo:lBe,single:uBe,polar:fBe,calendar:dBe};function qx(e){return e instanceof Zt}function Gx(e){return e instanceof zi}function kBe(e,t){t.copyTransform(e),Gx(t)&&Gx(e)&&(t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel,t.invisible=e.invisible,t.ignore=e.ignore,qx(t)&&qx(e)&&t.setShape(e.shape))}var zBe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a,i){this._progressiveEls=null;var o=this._data,l=n.getData(),s=this.group,u=VD(n,l,r,a);o||s.removeAll(),l.diff(o).add(function(f){M9(a,null,f,u(f,i),n,s,l)}).remove(function(f){var d=o.getItemGraphicEl(f);d&&z3(d,ml(d).option,n)}).update(function(f,d){var h=o.getItemGraphicEl(d);M9(a,h,f,u(f,i),n,s,l)}).execute();var c=n.get("clip",!0)?Bp(n.coordinateSystem,!1,n):null;c?s.setClipPath(c):s.removeClipPath(),this._data=l},t.prototype.incrementalPrepareRender=function(n,r,a){this.group.removeAll(),this._data=null},t.prototype.incrementalRender=function(n,r,a,i,o){var l=r.getData(),s=VD(r,l,a,i),u=this._progressiveEls=[];function c(h){h.isGroup||(h.incremental=!0,h.ensureState("emphasis").hoverLayer=!0)}for(var f=n.start;f<n.end;f++){var d=M9(null,null,f,s(f,o),r,this.group,l);d&&(d.traverse(c),u.push(d))}},t.prototype.eachRendered=function(n){lu(this._progressiveEls||this.group,n)},t.prototype.filterForExposedEvent=function(n,r,a,i){var o=r.element;if(o==null||a.name===o)return!0;for(;(a=a.__hostTarget||a.parent)&&a!==this.group;)if(a.name===o)return!0;return!1},t.type="custom",t}(zn);function sC(e){var t=e.type,n;if(t==="path"){var r=e.shape,a=r.width!=null&&r.height!=null?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,i=oU(r);n=r3(i,null,a,r.layout||"center"),ml(n).customPathData=i}else if(t==="image")n=new Ir({}),ml(n).customImagePath=e.style.image;else if(t==="text")n=new on({});else if(t==="group")n=new At;else{if(t==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var o=Z6(t);if(!o){var l="";pn(l)}n=new o}return ml(n).customGraphicType=t,n.name=e.name,n.z2EmphasisLift=1,n.z2SelectLift=1,n}function uC(e,t,n,r,a,i,o){rU(t);var l=a&&a.normal.cfg;l&&t.setTextConfig(l),r&&r.transition==null&&(r.transition=SBe);var s=r&&r.style;if(s){if(t.type==="text"){var u=s;ht(u,"textFill")&&(u.fill=u.textFill),ht(u,"textStroke")&&(u.stroke=u.textStroke)}var c=void 0,f=qx(t)?s.decal:null;e&&f&&(f.dirty=!0,c=Vd(f,e)),s.__decalPattern=c}if(Gx(t)&&s){var c=s.__decalPattern;c&&(s.decal=c)}_2(t,r,i,{dataIndex:n,isInit:o,clearStyle:!0}),Fm(t,r.keyframeAnimation,i)}function aU(e,t,n,r,a){var i=t.isGroup?null:t,o=a&&a[e].cfg;if(i){var l=i.ensureState(e);if(r===!1){var s=i.getState(e);s&&(s.style=null)}else l.style=r||null;o&&(l.textConfig=o),Bc(i)}}function MBe(e,t,n){if(!e.isGroup){var r=e,a=n.currentZ,i=n.currentZLevel;r.z=a,r.zlevel=i;var o=t.z2;o!=null&&(r.z2=o||0);for(var l=0;l<Qs.length;l++)ABe(r,t,Qs[l])}}function ABe(e,t,n){var r=n===zs,a=r?t:Hm(t,n),i=a?a.z2:null,o;i!=null&&(o=r?e:e.ensureState(n),o.z2=i||0)}function VD(e,t,n,r){var a=e.get("renderItem"),i=e.coordinateSystem,o={};i&&(o=i.prepareCustoms?i.prepareCustoms(i):TBe[i.type](i));for(var l=_t({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:w,style:S,ordinalRawValue:x,styleEmphasis:C,visual:A,barLayout:E,currentSeriesIndices:D,font:$},o.api||{}),s={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:o.coordSys,dataInsideLength:t.count(),encode:EBe(e.getData())},u,c,f={},d={},h={},v={},p=0;p<Qs.length;p++){var g=Qs[p];h[g]=e.getModel(k9[g]),v[g]=e.getModel(z9[g])}function m(O){return O===u?c||(c=t.getItemModel(O)):t.getItemModel(O)}function b(O,R){return t.hasItemOption?O===u?f[R]||(f[R]=m(O).getModel(k9[R])):m(O).getModel(k9[R]):h[R]}function _(O,R){return t.hasItemOption?O===u?d[R]||(d[R]=m(O).getModel(z9[R])):m(O).getModel(z9[R]):v[R]}return function(O,R){return u=O,c=null,f={},d={},a&&a(_t({dataIndexInside:O,dataIndex:t.getRawIndex(O),actionType:R?R.type:null},s),l)};function w(O,R){return R==null&&(R=u),t.getStore().get(t.getDimensionIndex(O||0),R)}function x(O,R){R==null&&(R=u),O=O||0;var N=t.getDimensionInfo(O);if(!N){var B=t.getDimensionIndex(O);return B>=0?t.getStore().get(B,R):void 0}var V=t.get(N.name,R),P=N&&N.ordinalMeta;return P?P.categories[V]:V}function S(O,R){R==null&&(R=u);var N=t.getItemVisual(R,"style"),B=N&&N.fill,V=N&&N.opacity,P=b(R,zs).getItemStyle();B!=null&&(P.fill=B),V!=null&&(P.opacity=V);var W={inheritColor:it(B)?B:"#000"},Z=_(R,zs),ee=In(Z,null,W,!1,!0);ee.text=Z.getShallow("show")?Ot(e.getFormattedLabel(R,zs),Fd(t,R)):null;var re=ym(Z,W,!1);return z(O,P),P=PD(P,ee,re),O&&T(P,O),P.legacy=!0,P}function C(O,R){R==null&&(R=u);var N=b(R,yl).getItemStyle(),B=_(R,yl),V=In(B,null,null,!0,!0);V.text=B.getShallow("show")?Eo(e.getFormattedLabel(R,yl),e.getFormattedLabel(R,zs),Fd(t,R)):null;var P=ym(B,null,!0);return z(O,N),N=PD(N,V,P),O&&T(N,O),N.legacy=!0,N}function T(O,R){for(var N in R)ht(R,N)&&(O[N]=R[N])}function z(O,R){O&&(O.textFill&&(R.textFill=O.textFill),O.textPosition&&(R.textPosition=O.textPosition))}function A(O,R){if(R==null&&(R=u),ht(DD,O)){var N=t.getItemVisual(R,"style");return N?N[DD[O]]:null}if(ht(nBe,O))return t.getItemVisual(R,O)}function E(O){if(i.type==="cartesian2d"){var R=i.getBaseAxis();return bIe(_t({axis:R},O))}}function D(){return n.getCurrentSeriesIndices()}function $(O){return J6(O,n)}}function EBe(e){var t={};return K(e.dimensions,function(n){var r=e.getDimensionInfo(n);if(!r.isExtraCoord){var a=r.coordDim,i=t[a]=t[a]||[];i[r.coordDimIndex]=e.getDimensionIndex(n)}}),t}function M9(e,t,n,r,a,i,o){if(!r){i.remove(t);return}var l=cC(e,t,n,r,a,i);return l&&o.setItemGraphicEl(n,l),l&&Kn(l,r.focus,r.blurScope,r.emphasisDisabled),l}function cC(e,t,n,r,a,i){var o=-1,l=t;t&&iU(t,r,a)&&(o=Yt(i.childrenRef(),t),t=null);var s=!t,u=t;u?u.clearStates():(u=sC(r),l&&kBe(l,u)),r.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),ei.normal.cfg=ei.normal.conOpt=ei.emphasis.cfg=ei.emphasis.conOpt=ei.blur.cfg=ei.blur.conOpt=ei.select.cfg=ei.select.conOpt=null,ei.isLegacy=!1,DBe(u,n,r,a,s,ei),IBe(u,n,r,a,s),uC(e,u,n,r,ei,a,s),ht(r,"info")&&(ml(u).info=r.info);for(var c=0;c<Qs.length;c++){var f=Qs[c];if(f!==zs){var d=Hm(r,f),h=fC(r,d,f);aU(f,u,d,h,ei)}}return MBe(u,r,a),r.type==="group"&&LBe(e,u,n,r,a),o>=0?i.replaceAt(u,o):i.add(u),u}function iU(e,t,n){var r=ml(e),a=t.type,i=t.shape,o=t.style;return n.isUniversalTransitionEnabled()||a!=null&&a!==r.customGraphicType||a==="path"&&NBe(i)&&oU(i)!==r.customPathData||a==="image"&&ht(o,"image")&&o.image!==r.customImagePath}function IBe(e,t,n,r,a){var i=n.clipPath;if(i===!1)e&&e.getClipPath()&&e.removeClipPath();else if(i){var o=e.getClipPath();o&&iU(o,i,r)&&(o=null),o||(o=sC(i),e.setClipPath(o)),uC(null,o,t,i,null,r,a)}}function DBe(e,t,n,r,a,i){if(!e.isGroup){BD(n,null,i),BD(n,yl,i);var o=i.normal.conOpt,l=i.emphasis.conOpt,s=i.blur.conOpt,u=i.select.conOpt;if(o!=null||l!=null||u!=null||s!=null){var c=e.getTextContent();if(o===!1)c&&e.removeTextContent();else{o=i.normal.conOpt=o||{type:"text"},c?c.clearStates():(c=sC(o),e.setTextContent(c)),uC(null,c,t,o,null,r,a);for(var f=o&&o.style,d=0;d<Qs.length;d++){var h=Qs[d];if(h!==zs){var v=i[h].conOpt;aU(h,c,v,fC(o,v,h),null)}}f?c.dirty():c.markRedraw()}}}}function BD(e,t,n){var r=t?Hm(e,t):e,a=t?fC(e,r,yl):e.style,i=e.type,o=r?r.textConfig:null,l=e.textContent,s=l?t?Hm(l,t):l:null;if(a&&(n.isLegacy||JW(a,i,!!o,!!s))){n.isLegacy=!0;var u=QW(a,i,!t);!o&&u.textConfig&&(o=u.textConfig),!s&&u.textContent&&(s=u.textContent)}if(!t&&s){var c=s;!c.type&&(c.type="text")}var f=t?n[t]:n.normal;f.cfg=o,f.conOpt=s}function Hm(e,t){return t?e?e[t]:null:e}function fC(e,t,n){var r=t&&t.style;return r==null&&n===yl&&e&&(r=e.styleEmphasis),r}function LBe(e,t,n,r,a){var i=r.children,o=i?i.length:0,l=r.$mergeChildren,s=l==="byName"||r.diffChildrenByName,u=l===!1;if(!(!o&&!s&&!u)){if(s){RBe({api:e,oldChildren:t.children()||[],newChildren:i||[],dataIndex:n,seriesModel:a,group:t});return}u&&t.removeAll();for(var c=0;c<o;c++){var f=i[c],d=t.childAt(c);f?(f.ignore==null&&(f.ignore=!1),cC(e,d,n,f,a,t)):d.ignore=!0}for(var h=t.childCount()-1;h>=c;h--){var v=t.childAt(h);PBe(t,v,a)}}}function PBe(e,t,n){t&&z3(t,ml(e).option,n)}function RBe(e){new Ml(e.oldChildren,e.newChildren,FD,FD,e).add(HD).update(HD).remove(OBe).execute()}function FD(e,t){var n=e&&e.name;return n??CBe+t}function HD(e,t){var n=this.context,r=e!=null?n.newChildren[e]:null,a=t!=null?n.oldChildren[t]:null;cC(n.api,a,n.dataIndex,r,n.seriesModel,n.group)}function OBe(e){var t=this.context,n=t.oldChildren[e];n&&z3(n,ml(n).option,t.seriesModel)}function oU(e){return e&&(e.pathData||e.d)}function NBe(e){return e&&(ht(e,"pathData")||ht(e,"d"))}function $Be(e){e.registerChartView(zBe),e.registerSeriesModel(rBe)}var Zu=an(),jD=kt,A9=lt,dC=function(){function e(){this._dragging=!1,this.animationThreshold=15}return e.prototype.render=function(t,n,r,a){var i=n.get("value"),o=n.get("status");if(this._axisModel=t,this._axisPointerModel=n,this._api=r,!(!a&&this._lastValue===i&&this._lastStatus===o)){this._lastValue=i,this._lastStatus=o;var l=this._group,s=this._handle;if(!o||o==="hide"){l&&l.hide(),s&&s.hide();return}l&&l.show(),s&&s.show();var u={};this.makeElOption(u,i,t,n,r);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(r),this._lastGraphicKey=c;var f=this._moveAnimation=this.determineAnimation(t,n);if(!l)l=this._group=new At,this.createPointerEl(l,u,t,n),this.createLabelEl(l,u,t,n),r.getZr().add(l);else{var d=$t(qD,n,f);this.updatePointerEl(l,u,d),this.updateLabelEl(l,u,d,n)}WD(l,n,!0),this._renderHandle(i)}},e.prototype.remove=function(t){this.clear(t)},e.prototype.dispose=function(t){this.clear(t)},e.prototype.determineAnimation=function(t,n){var r=n.get("animation"),a=t.axis,i=a.type==="category",o=n.get("snap");if(!o&&!i)return!1;if(r==="auto"||r==null){var l=this.animationThreshold;if(i&&a.getBandWidth()>l)return!0;if(o){var s=O8(t).seriesDataCount,u=a.getExtent();return Math.abs(u[0]-u[1])/s>l}return!1}return r===!0},e.prototype.makeElOption=function(t,n,r,a,i){},e.prototype.createPointerEl=function(t,n,r,a){var i=n.pointer;if(i){var o=Zu(t).pointerEl=new Qc[i.type](jD(n.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,n,r,a){if(n.label){var i=Zu(t).labelEl=new on(jD(n.label));t.add(i),GD(i,a)}},e.prototype.updatePointerEl=function(t,n,r){var a=Zu(t).pointerEl;a&&n.pointer&&(a.setStyle(n.pointer.style),r(a,{shape:n.pointer.shape}))},e.prototype.updateLabelEl=function(t,n,r,a){var i=Zu(t).labelEl;i&&(i.setStyle(n.label.style),r(i,{x:n.label.x,y:n.label.y}),GD(i,a))},e.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var n=this._axisPointerModel,r=this._api.getZr(),a=this._handle,i=n.getModel("handle"),o=n.get("status");if(!i.get("show")||!o||o==="hide"){a&&r.remove(a),this._handle=null;return}var l;this._handle||(l=!0,a=this._handle=Lp(i.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(u){Cl(u.event)},onmousedown:A9(this._onHandleDragMove,this,0,0),drift:A9(this._onHandleDragMove,this),ondragend:A9(this._onHandleDragEnd,this)}),r.add(a)),WD(a,n,!1),a.setStyle(i.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=i.get("size");He(s)||(s=[s,s]),a.scaleX=s[0]/2,a.scaleY=s[1]/2,yh(this,"_doDispatchAxisPointer",i.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,l)}},e.prototype._moveHandleToValue=function(t,n){qD(this._axisPointerModel,!n&&this._moveAnimation,this._handle,E9(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},e.prototype._onHandleDragMove=function(t,n){var r=this._handle;if(r){this._dragging=!0;var a=this.updateHandleTransform(E9(r),[t,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(E9(a)),Zu(r).lastProp=null,this._doDispatchAxisPointer()}},e.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var n=this._payloadInfo,r=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:n.cursorPoint[0],y:n.cursorPoint[1],tooltipOption:n.tooltipOption,axesInfo:[{axisDim:r.axis.dim,axisIndex:r.componentIndex}]})}},e.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var n=this._axisPointerModel.get("value");this._moveHandleToValue(n),this._api.dispatchAction({type:"hideTip"})}},e.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var n=t.getZr(),r=this._group,a=this._handle;n&&r&&(this._lastGraphicKey=null,r&&n.remove(r),a&&n.remove(a),this._group=null,this._handle=null,this._payloadInfo=null),q1(this,"_doDispatchAxisPointer")},e.prototype.doClear=function(){},e.prototype.buildLabel=function(t,n,r){return r=r||0,{x:t[r],y:t[1-r],width:n[r],height:n[1-r]}},e}();function qD(e,t,n,r){lU(Zu(n).lastProp,r)||(Zu(n).lastProp=r,t?un(n,r,e):(n.stopAnimation(),n.attr(r)))}function lU(e,t){if(wt(e)&&wt(t)){var n=!0;return K(t,function(r,a){n=n&&lU(e[a],r)}),!!n}else return e===t}function GD(e,t){e[t.get(["label","show"])?"show":"hide"]()}function E9(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function WD(e,t,n){var r=t.get("z"),a=t.get("zlevel");e&&e.traverse(function(i){i.type!=="group"&&(r!=null&&(i.z=r),a!=null&&(i.zlevel=a),i.silent=n)})}function hC(e){var t=e.get("type"),n=e.getModel(t+"Style"),r;return t==="line"?(r=n.getLineStyle(),r.fill=null):t==="shadow"&&(r=n.getAreaStyle(),r.stroke=null),r}function sU(e,t,n,r,a){var i=n.get("value"),o=uU(i,t.axis,t.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),l=n.getModel("label"),s=vh(l.get("padding")||0),u=l.getFont(),c=zp(o,u),f=a.position,d=c.width+s[1]+s[3],h=c.height+s[0]+s[2],v=a.align;v==="right"&&(f[0]-=d),v==="center"&&(f[0]-=d/2);var p=a.verticalAlign;p==="bottom"&&(f[1]-=h),p==="middle"&&(f[1]-=h/2),VBe(f,d,h,r);var g=l.get("backgroundColor");(!g||g==="auto")&&(g=t.get(["axisLine","lineStyle","color"])),e.label={x:f[0],y:f[1],style:In(l,{text:o,font:u,fill:l.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function VBe(e,t,n,r){var a=r.getWidth(),i=r.getHeight();e[0]=Math.min(e[0]+t,a)-t,e[1]=Math.min(e[1]+n,i)-n,e[0]=Math.max(e[0],0),e[1]=Math.max(e[1],0)}function uU(e,t,n,r,a){e=t.scale.parse(e);var i=t.scale.getLabel({value:e},{precision:a.precision}),o=a.formatter;if(o){var l={value:T8(t,{value:e}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};K(r,function(s){var u=n.getSeriesByIndex(s.seriesIndex),c=s.dataIndexInside,f=u&&u.getDataParams(c);f&&l.seriesData.push(f)}),it(o)?i=o.replace("{value}",i):yt(o)&&(i=o(l))}return i}function vC(e,t,n){var r=Ga();return Jc(r,r,n.rotation),$o(r,r,n.position),Yi([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function cU(e,t,n,r,a,i){var o=ca.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),sU(t,r,a,i,{position:vC(r.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function pC(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function fU(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function UD(e,t,n,r,a,i){return{cx:e,cy:t,r0:n,r,startAngle:a,endAngle:i,clockwise:!0}}var BBe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,a,i,o){var l=a.axis,s=l.grid,u=i.get("type"),c=YD(s,l).getOtherAxis(l).getGlobalExtent(),f=l.toGlobalCoord(l.dataToCoord(r,!0));if(u&&u!=="none"){var d=hC(i),h=FBe[u](l,f,c);h.style=d,n.graphicKey=h.type,n.pointer=h}var v=kx(s.model,a);cU(r,n,v,a,i,o)},t.prototype.getHandleTransform=function(n,r,a){var i=kx(r.axis.grid.model,r,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=vC(r.axis,n,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,a,i){var o=a.axis,l=o.grid,s=o.getGlobalExtent(!0),u=YD(l,o).getOtherAxis(o).getGlobalExtent(),c=o.dim==="x"?0:1,f=[n.x,n.y];f[c]+=r[c],f[c]=Math.min(s[1],f[c]),f[c]=Math.max(s[0],f[c]);var d=(u[1]+u[0])/2,h=[d,d];h[c]=f[c];var v=[{verticalAlign:"middle"},{align:"center"}];return{x:f[0],y:f[1],rotation:n.rotation,cursorPoint:h,tooltipOption:v[c]}},t}(dC);function YD(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var FBe={line:function(e,t,n){var r=pC([t,n[0]],[t,n[1]],KD(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=Math.max(1,e.getBandWidth()),a=n[1]-n[0];return{type:"Rect",shape:fU([t-r/2,n[0]],[r,a],KD(e))}}};function KD(e){return e.dim==="x"?0:1}var HBe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="axisPointer",t.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},t}(Qt),fl=an(),jBe=K;function dU(e,t,n){if(!Jt.node){var r=t.getZr();fl(r).records||(fl(r).records={}),qBe(r,t);var a=fl(r).records[e]||(fl(r).records[e]={});a.handler=n}}function qBe(e,t){if(fl(e).initialized)return;fl(e).initialized=!0,n("click",$t(XD,"click")),n("mousemove",$t(XD,"mousemove")),n("globalout",WBe);function n(r,a){e.on(r,function(i){var o=UBe(t);jBe(fl(e).records,function(l){l&&a(l,i,o.dispatchAction)}),GBe(o.pendings,t)})}}function GBe(e,t){var n=e.showTip.length,r=e.hideTip.length,a;n?a=e.showTip[n-1]:r&&(a=e.hideTip[r-1]),a&&(a.dispatchAction=null,t.dispatchAction(a))}function WBe(e,t,n){e.handler("leave",null,n)}function XD(e,t,n,r){t.handler(e,n,r)}function UBe(e){var t={showTip:[],hideTip:[]},n=function(r){var a=t[r.type];a?a.push(r):(r.dispatchAction=n,e.dispatchAction(r))};return{dispatchAction:n,pendings:t}}function Wx(e,t){if(!Jt.node){var n=t.getZr(),r=(fl(n).records||{})[e];r&&(fl(n).records[e]=null)}}var YBe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=r.getComponent("tooltip"),o=n.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";dU("axisPointer",a,function(l,s,u){o!=="none"&&(l==="leave"||o.indexOf(l)>=0)&&u({type:"updateAxisPointer",currTrigger:l,x:s&&s.offsetX,y:s&&s.offsetY})})},t.prototype.remove=function(n,r){Wx("axisPointer",r)},t.prototype.dispose=function(n,r){Wx("axisPointer",r)},t.type="axisPointer",t}(Hn);function hU(e,t){var n=[],r=e.seriesIndex,a;if(r==null||!(a=t.getSeriesByIndex(r)))return{point:[]};var i=a.getData(),o=$c(i,e);if(o==null||o<0||He(o))return{point:[]};var l=i.getItemGraphicEl(o),s=a.coordinateSystem;if(a.getTooltipPosition)n=a.getTooltipPosition(o)||[];else if(s&&s.dataToPoint)if(e.isStacked){var u=s.getBaseAxis(),c=s.getOtherAxis(u),f=c.dim,d=u.dim,h=f==="x"||f==="radius"?1:0,v=i.mapDimension(d),p=[];p[h]=i.get(v,o),p[1-h]=i.get(i.getCalculationInfo("stackResultDimension"),o),n=s.dataToPoint(p)||[]}else n=s.dataToPoint(i.getValues(Ge(s.dimensions,function(m){return i.mapDimension(m)}),o))||[];else if(l){var g=l.getBoundingRect().clone();g.applyTransform(l.transform),n=[g.x+g.width/2,g.y+g.height/2]}return{point:n,el:l}}var ZD=an();function KBe(e,t,n){var r=e.currTrigger,a=[e.x,e.y],i=e,o=e.dispatchAction||lt(n.dispatchAction,n),l=t.getComponent("axisPointer").coordSysAxesInfo;if(l){w2(a)&&(a=hU({seriesIndex:i.seriesIndex,dataIndex:i.dataIndex},t).point);var s=w2(a),u=i.axesInfo,c=l.axesInfo,f=r==="leave"||w2(a),d={},h={},v={list:[],map:{}},p={showPointer:$t(ZBe,h),showTooltip:$t(JBe,v)};K(l.coordSysMap,function(m,b){var _=s||m.containPoint(a);K(l.coordSysAxesInfo[b],function(w,x){var S=w.axis,C=nFe(u,w);if(!f&&_&&(!u||C)){var T=C&&C.value;T==null&&!s&&(T=S.pointToData(a)),T!=null&&JD(w,T,p,!1,d)}})});var g={};return K(c,function(m,b){var _=m.linkGroup;_&&!h[b]&&K(_.axesInfo,function(w,x){var S=h[x];if(w!==m&&S){var C=S.value;_.mapper&&(C=m.axis.scale.parse(_.mapper(C,QD(w),QD(m)))),g[m.key]=C}})}),K(g,function(m,b){JD(c[b],m,p,!0,d)}),QBe(h,c,d),eFe(v,a,e,o),tFe(c,o,n),d}}function JD(e,t,n,r,a){var i=e.axis;if(!(i.scale.isBlank()||!i.containData(t))){if(!e.involveSeries){n.showPointer(e,t);return}var o=XBe(t,e),l=o.payloadBatch,s=o.snapToValue;l[0]&&a.seriesIndex==null&&$e(a,l[0]),!r&&e.snap&&i.containData(s)&&s!=null&&(t=s),n.showPointer(e,t,l),n.showTooltip(e,o,s)}}function XBe(e,t){var n=t.axis,r=n.dim,a=e,i=[],o=Number.MAX_VALUE,l=-1;return K(t.seriesModels,function(s,u){var c=s.getData().mapDimensionsAll(r),f,d;if(s.getAxisTooltipData){var h=s.getAxisTooltipData(c,e,n);d=h.dataIndices,f=h.nestestValue}else{if(d=s.getData().indicesOfNearest(c[0],e,n.type==="category"?.5:null),!d.length)return;f=s.getData().get(c[0],d[0])}if(!(f==null||!isFinite(f))){var v=e-f,p=Math.abs(v);p<=o&&((p<o||v>=0&&l<0)&&(o=p,l=v,a=f,i.length=0),K(d,function(g){i.push({seriesIndex:s.seriesIndex,dataIndexInside:g,dataIndex:s.getData().getRawIndex(g)})}))}}),{payloadBatch:i,snapToValue:a}}function ZBe(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function JBe(e,t,n,r){var a=n.payloadBatch,i=t.axis,o=i.model,l=t.axisPointerModel;if(!(!t.triggerTooltip||!a.length)){var s=t.coordSys.model,u=Z1(s),c=e.map[u];c||(c=e.map[u]={coordSysId:s.id,coordSysIndex:s.componentIndex,coordSysType:s.type,coordSysMainType:s.mainType,dataByAxis:[]},e.list.push(c)),c.dataByAxis.push({axisDim:i.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:r,valueLabelOpt:{precision:l.get(["label","precision"]),formatter:l.get(["label","formatter"])},seriesDataIndices:a.slice()})}}function QBe(e,t,n){var r=n.axesInfo=[];K(t,function(a,i){var o=a.axisPointerModel.option,l=e[i];l?(!a.useHandle&&(o.status="show"),o.value=l.value,o.seriesDataIndices=(l.payloadBatch||[]).slice()):!a.useHandle&&(o.status="hide"),o.status==="show"&&r.push({axisDim:a.axis.dim,axisIndex:a.axis.model.componentIndex,value:o.value})})}function eFe(e,t,n,r){if(w2(t)||!e.list.length){r({type:"hideTip"});return}var a=((e.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:a.dataIndexInside,dataIndex:a.dataIndex,seriesIndex:a.seriesIndex,dataByCoordSys:e.list})}function tFe(e,t,n){var r=n.getZr(),a="axisPointerLastHighlights",i=ZD(r)[a]||{},o=ZD(r)[a]={};K(e,function(u,c){var f=u.axisPointerModel.option;f.status==="show"&&u.triggerEmphasis&&K(f.seriesDataIndices,function(d){var h=d.seriesIndex+" | "+d.dataIndex;o[h]=d})});var l=[],s=[];K(i,function(u,c){!o[c]&&s.push(u)}),K(o,function(u,c){!i[c]&&l.push(u)}),s.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:s}),l.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:l})}function nFe(e,t){for(var n=0;n<(e||[]).length;n++){var r=e[n];if(t.axis.dim===r.axisDim&&t.axis.model.componentIndex===r.axisIndex)return r}}function QD(e){var t=e.axis.model,n={},r=n.axisDim=e.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=t.componentIndex,n.axisName=n[r+"AxisName"]=t.name,n.axisId=n[r+"AxisId"]=t.id,n}function w2(e){return!e||e[0]==null||isNaN(e[0])||e[1]==null||isNaN(e[1])}function Wp(e){rf.registerAxisPointerClass("CartesianAxisPointer",BBe),e.registerComponentModel(HBe),e.registerComponentView(YBe),e.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var n=t.axisPointer.link;n&&!He(n)&&(t.axisPointer.link=[n])}}),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,function(t,n){t.getComponent("axisPointer").coordSysAxesInfo=dPe(t,n)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},KBe)}function rFe(e){Kt(BG),Kt(Wp)}var aFe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,a,i,o){var l=a.axis;l.dim==="angle"&&(this.animationThreshold=Math.PI/18);var s=l.polar,u=s.getOtherAxis(l),c=u.getExtent(),f=l.dataToCoord(r),d=i.get("type");if(d&&d!=="none"){var h=hC(i),v=oFe[d](l,s,f,c);v.style=h,n.graphicKey=v.type,n.pointer=v}var p=i.get(["label","margin"]),g=iFe(r,a,i,s,p);sU(n,a,i,o,g)},t}(dC);function iFe(e,t,n,r,a){var i=t.axis,o=i.dataToCoord(e),l=r.getAngleAxis().getExtent()[0];l=l/180*Math.PI;var s=r.getRadiusAxis().getExtent(),u,c,f;if(i.dim==="radius"){var d=Ga();Jc(d,d,l),$o(d,d,[r.cx,r.cy]),u=Yi([o,-a],d);var h=t.getModel("axisLabel").get("rotate")||0,v=ca.innerTextLayout(l,h*Math.PI/180,-1);c=v.textAlign,f=v.textVerticalAlign}else{var p=s[1];u=r.coordToPoint([p+a,o]);var g=r.cx,m=r.cy;c=Math.abs(u[0]-g)/p<.3?"center":u[0]>g?"left":"right",f=Math.abs(u[1]-m)/p<.3?"middle":u[1]>m?"top":"bottom"}return{position:u,align:c,verticalAlign:f}}var oFe={line:function(e,t,n,r){return e.dim==="angle"?{type:"Line",shape:pC(t.coordToPoint([r[0],n]),t.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:t.cx,cy:t.cy,r:n}}},shadow:function(e,t,n,r){var a=Math.max(1,e.getBandWidth()),i=Math.PI/180;return e.dim==="angle"?{type:"Sector",shape:UD(t.cx,t.cy,r[0],r[1],(-n-a/2)*i,(-n+a/2)*i)}:{type:"Sector",shape:UD(t.cx,t.cy,n-a/2,n+a/2,0,Math.PI*2)}}},lFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.findAxisModel=function(n){var r,a=this.ecModel;return a.eachComponent(n,function(i){i.getCoordSysModel()===this&&(r=i)},this),r},t.type="polar",t.dependencies=["radiusAxis","angleAxis"],t.defaultOption={z:0,center:["50%","50%"],radius:"80%"},t}(Qt),gC=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",rr).models[0]},t.type="polarAxis",t}(Qt);sr(gC,Np);var sFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="angleAxis",t}(gC),uFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="radiusAxis",t}(gC),mC=function(e){Se(t,e);function t(n,r){return e.call(this,"radius",n,r)||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t}(io);mC.prototype.dataToRadius=io.prototype.dataToCoord;mC.prototype.radiusToData=io.prototype.coordToData;var cFe=an(),yC=function(e){Se(t,e);function t(n,r){return e.call(this,"angle",n,r||[0,360])||this}return t.prototype.pointToData=function(n,r){return this.polar.pointToData(n,r)[this.dim==="radius"?0:1]},t.prototype.calculateCategoryInterval=function(){var n=this,r=n.getLabelModel(),a=n.scale,i=a.getExtent(),o=a.count();if(i[1]-i[0]<1)return 0;var l=i[0],s=n.dataToCoord(l+1)-n.dataToCoord(l),u=Math.abs(s),c=zp(l==null?"":l+"",r.getFont(),"center","top"),f=Math.max(c.height,7),d=f/u;isNaN(d)&&(d=1/0);var h=Math.max(0,Math.floor(d)),v=cFe(n.model),p=v.lastAutoInterval,g=v.lastTickCount;return p!=null&&g!=null&&Math.abs(p-h)<=1&&Math.abs(g-o)<=1&&p>h?h=p:(v.lastTickCount=o,v.lastAutoInterval=h),h},t}(io);yC.prototype.dataToAngle=io.prototype.dataToCoord;yC.prototype.angleToData=io.prototype.coordToData;var vU=["radius","angle"],fFe=function(){function e(t){this.dimensions=vU,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new mC,this._angleAxis=new yC,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return e.prototype.containPoint=function(t){var n=this.pointToCoord(t);return this._radiusAxis.contain(n[0])&&this._angleAxis.contain(n[1])},e.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},e.prototype.getAxis=function(t){var n="_"+t+"Axis";return this[n]},e.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},e.prototype.getAxesByScale=function(t){var n=[],r=this._angleAxis,a=this._radiusAxis;return r.scale.type===t&&n.push(r),a.scale.type===t&&n.push(a),n},e.prototype.getAngleAxis=function(){return this._angleAxis},e.prototype.getRadiusAxis=function(){return this._radiusAxis},e.prototype.getOtherAxis=function(t){var n=this._angleAxis;return t===n?this._radiusAxis:n},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},e.prototype.getTooltipAxes=function(t){var n=t!=null&&t!=="auto"?this.getAxis(t):this.getBaseAxis();return{baseAxes:[n],otherAxes:[this.getOtherAxis(n)]}},e.prototype.dataToPoint=function(t,n){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],n),this._angleAxis.dataToAngle(t[1],n)])},e.prototype.pointToData=function(t,n){var r=this.pointToCoord(t);return[this._radiusAxis.radiusToData(r[0],n),this._angleAxis.angleToData(r[1],n)]},e.prototype.pointToCoord=function(t){var n=t[0]-this.cx,r=t[1]-this.cy,a=this.getAngleAxis(),i=a.getExtent(),o=Math.min(i[0],i[1]),l=Math.max(i[0],i[1]);a.inverse?o=l-360:l=o+360;var s=Math.sqrt(n*n+r*r);n/=s,r/=s;for(var u=Math.atan2(-r,n)/Math.PI*180,c=u<o?1:-1;u<o||u>l;)u+=c*360;return[s,u]},e.prototype.coordToPoint=function(t){var n=t[0],r=t[1]/180*Math.PI,a=Math.cos(r)*n+this.cx,i=-Math.sin(r)*n+this.cy;return[a,i]},e.prototype.getArea=function(){var t=this.getAngleAxis(),n=this.getRadiusAxis(),r=n.getExtent().slice();r[0]>r[1]&&r.reverse();var a=t.getExtent(),i=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:r[0],r:r[1],startAngle:-a[0]*i,endAngle:-a[1]*i,clockwise:t.inverse,contain:function(o,l){var s=o-this.cx,u=l-this.cy,c=s*s+u*u-1e-4,f=this.r,d=this.r0;return c<=f*f&&c>=d*d}}},e.prototype.convertToPixel=function(t,n,r){var a=eL(n);return a===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var a=eL(n);return a===this?this.pointToData(r):null},e}();function eL(e){var t=e.seriesModel,n=e.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const dFe=fFe;function hFe(e,t,n){var r=t.get("center"),a=n.getWidth(),i=n.getHeight();e.cx=et(r[0],a),e.cy=et(r[1],i);var o=e.getRadiusAxis(),l=Math.min(a,i)/2,s=t.get("radius");s==null?s=[0,"100%"]:He(s)||(s=[0,s]);var u=[et(s[0],l),et(s[1],l)];o.inverse?o.setExtent(u[1],u[0]):o.setExtent(u[0],u[1])}function vFe(e,t){var n=this,r=n.getAngleAxis(),a=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),a.scale.setExtent(1/0,-1/0),e.eachSeries(function(l){if(l.coordinateSystem===n){var s=l.getData();K(Am(s,"radius"),function(u){a.scale.unionExtentFromData(s,u)}),K(Am(s,"angle"),function(u){r.scale.unionExtentFromData(s,u)})}}),Bd(r.scale,r.model),Bd(a.scale,a.model),r.type==="category"&&!r.onBand){var i=r.getExtent(),o=360/r.scale.count();r.inverse?i[1]+=o:i[1]-=o,r.setExtent(i[0],i[1])}}function pFe(e){return e.mainType==="angleAxis"}function tL(e,t){var n;if(e.type=t.get("type"),e.scale=_3(t),e.onBand=t.get("boundaryGap")&&e.type==="category",e.inverse=t.get("inverse"),pFe(t)){e.inverse=e.inverse!==t.get("clockwise");var r=t.get("startAngle"),a=(n=t.get("endAngle"))!==null&&n!==void 0?n:r+(e.inverse?-360:360);e.setExtent(r,a)}t.axis=e,e.model=t}var gFe={dimensions:vU,create:function(e,t){var n=[];return e.eachComponent("polar",function(r,a){var i=new dFe(a+"");i.update=vFe;var o=i.getRadiusAxis(),l=i.getAngleAxis(),s=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");tL(o,s),tL(l,u),hFe(i,r,t),n.push(i),r.coordinateSystem=i,i.model=r}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="polar"){var a=r.getReferringComponents("polar",rr).models[0];r.coordinateSystem=a.coordinateSystem}}),n}},mFe=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function y0(e,t,n){t[1]>t[0]&&(t=t.slice().reverse());var r=e.coordToPoint([t[0],n]),a=e.coordToPoint([t[1],n]);return{x1:r[0],y1:r[1],x2:a[0],y2:a[1]}}function b0(e){var t=e.getRadiusAxis();return t.inverse?0:1}function nL(e){var t=e[0],n=e[e.length-1];t&&n&&Math.abs(Math.abs(t.coord-n.coord)-360)<1e-4&&e.pop()}var yFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return t.prototype.render=function(n,r){if(this.group.removeAll(),!!n.get("show")){var a=n.axis,i=a.polar,o=i.getRadiusAxis().getExtent(),l=a.getTicksCoords(),s=a.getMinorTicksCoords(),u=Ge(a.getViewLabels(),function(c){c=kt(c);var f=a.scale,d=f.type==="ordinal"?f.getRawOrdinalNumber(c.tickValue):c.tickValue;return c.coord=a.dataToCoord(d),c});nL(u),nL(l),K(mFe,function(c){n.get([c,"show"])&&(!a.scale.isBlank()||c==="axisLine")&&bFe[c](this.group,n,i,l,s,o,u)},this)}},t.type="angleAxis",t}(rf),bFe={axisLine:function(e,t,n,r,a,i){var o=t.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),s=Math.PI/180,u=l.getExtent(),c=b0(n),f=c?0:1,d,h=Math.abs(u[1]-u[0])===360?"Circle":"Arc";i[f]===0?d=new Qc[h]({shape:{cx:n.cx,cy:n.cy,r:i[c],startAngle:-u[0]*s,endAngle:-u[1]*s,clockwise:l.inverse},style:o.getLineStyle(),z2:1,silent:!0}):d=new t3({shape:{cx:n.cx,cy:n.cy,r:i[c],r0:i[f]},style:o.getLineStyle(),z2:1,silent:!0}),d.style.fill=null,e.add(d)},axisTick:function(e,t,n,r,a,i){var o=t.getModel("axisTick"),l=(o.get("inside")?-1:1)*o.get("length"),s=i[b0(n)],u=Ge(r,function(c){return new mr({shape:y0(n,[s,s+l],c.coord)})});e.add(di(u,{style:_t(o.getModel("lineStyle").getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])})}))},minorTick:function(e,t,n,r,a,i){if(a.length){for(var o=t.getModel("axisTick"),l=t.getModel("minorTick"),s=(o.get("inside")?-1:1)*l.get("length"),u=i[b0(n)],c=[],f=0;f<a.length;f++)for(var d=0;d<a[f].length;d++)c.push(new mr({shape:y0(n,[u,u+s],a[f][d].coord)}));e.add(di(c,{style:_t(l.getModel("lineStyle").getLineStyle(),_t(o.getLineStyle(),{stroke:t.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(e,t,n,r,a,i,o){var l=t.getCategories(!0),s=t.getModel("axisLabel"),u=s.get("margin"),c=t.get("triggerEvent");K(o,function(f,d){var h=s,v=f.tickValue,p=i[b0(n)],g=n.coordToPoint([p+u,f.coord]),m=n.cx,b=n.cy,_=Math.abs(g[0]-m)/p<.3?"center":g[0]>m?"left":"right",w=Math.abs(g[1]-b)/p<.3?"middle":g[1]>b?"top":"bottom";if(l&&l[v]){var x=l[v];wt(x)&&x.textStyle&&(h=new yn(x.textStyle,s,s.ecModel))}var S=new on({silent:ca.isLabelSilent(t),style:In(h,{x:g[0],y:g[1],fill:h.getTextColor()||t.get(["axisLine","lineStyle","color"]),text:f.formattedLabel,align:_,verticalAlign:w})});if(e.add(S),c){var C=ca.makeAxisEventDataBase(t);C.targetType="axisLabel",C.value=f.rawLabel,Dt(S).eventData=C}},this)},splitLine:function(e,t,n,r,a,i){var o=t.getModel("splitLine"),l=o.getModel("lineStyle"),s=l.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],f=0;f<r.length;f++){var d=u++%s.length;c[d]=c[d]||[],c[d].push(new mr({shape:y0(n,i,r[f].coord)}))}for(var f=0;f<c.length;f++)e.add(di(c[f],{style:_t({stroke:s[f%s.length]},l.getLineStyle()),silent:!0,z:t.get("z")}))},minorSplitLine:function(e,t,n,r,a,i){if(a.length){for(var o=t.getModel("minorSplitLine"),l=o.getModel("lineStyle"),s=[],u=0;u<a.length;u++)for(var c=0;c<a[u].length;c++)s.push(new mr({shape:y0(n,i,a[u][c].coord)}));e.add(di(s,{style:l.getLineStyle(),silent:!0,z:t.get("z")}))}},splitArea:function(e,t,n,r,a,i){if(r.length){var o=t.getModel("splitArea"),l=o.getModel("areaStyle"),s=l.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],f=Math.PI/180,d=-r[0].coord*f,h=Math.min(i[0],i[1]),v=Math.max(i[0],i[1]),p=t.get("clockwise"),g=1,m=r.length;g<=m;g++){var b=g===m?r[0].coord:r[g].coord,_=u++%s.length;c[_]=c[_]||[],c[_].push(new pa({shape:{cx:n.cx,cy:n.cy,r0:h,r:v,startAngle:d,endAngle:-b*f,clockwise:p},silent:!0})),d=-b*f}for(var g=0;g<c.length;g++)e.add(di(c[g],{style:_t({fill:s[g%s.length]},l.getAreaStyle()),silent:!0}))}}},_Fe=["axisLine","axisTickLabel","axisName"],wFe=["splitLine","splitArea","minorSplitLine"],xFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="PolarAxisPointer",n}return t.prototype.render=function(n,r){if(this.group.removeAll(),!!n.get("show")){var a=this._axisGroup,i=this._axisGroup=new At;this.group.add(i);var o=n.axis,l=o.polar,s=l.getAngleAxis(),u=o.getTicksCoords(),c=o.getMinorTicksCoords(),f=s.getExtent()[0],d=o.getExtent(),h=CFe(l,n,f),v=new ca(n,h);K(_Fe,v.add,v),i.add(v.getGroup()),Dp(a,i,n),K(wFe,function(p){n.get([p,"show"])&&!o.scale.isBlank()&&SFe[p](this.group,n,l,f,d,u,c)},this)}},t.type="radiusAxis",t}(rf),SFe={splitLine:function(e,t,n,r,a,i){var o=t.getModel("splitLine"),l=o.getModel("lineStyle"),s=l.get("color"),u=0,c=n.getAngleAxis(),f=Math.PI/180,d=c.getExtent(),h=Math.abs(d[1]-d[0])===360?"Circle":"Arc";s=s instanceof Array?s:[s];for(var v=[],p=0;p<i.length;p++){var g=u++%s.length;v[g]=v[g]||[],v[g].push(new Qc[h]({shape:{cx:n.cx,cy:n.cy,r:Math.max(i[p].coord,0),startAngle:-d[0]*f,endAngle:-d[1]*f,clockwise:c.inverse}}))}for(var p=0;p<v.length;p++)e.add(di(v[p],{style:_t({stroke:s[p%s.length],fill:null},l.getLineStyle()),silent:!0}))},minorSplitLine:function(e,t,n,r,a,i,o){if(o.length){for(var l=t.getModel("minorSplitLine"),s=l.getModel("lineStyle"),u=[],c=0;c<o.length;c++)for(var f=0;f<o[c].length;f++)u.push(new Hl({shape:{cx:n.cx,cy:n.cy,r:o[c][f].coord}}));e.add(di(u,{style:_t({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(e,t,n,r,a,i){if(i.length){var o=t.getModel("splitArea"),l=o.getModel("areaStyle"),s=l.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],f=i[0].coord,d=1;d<i.length;d++){var h=u++%s.length;c[h]=c[h]||[],c[h].push(new pa({shape:{cx:n.cx,cy:n.cy,r0:f,r:i[d].coord,startAngle:0,endAngle:Math.PI*2},silent:!0})),f=i[d].coord}for(var d=0;d<c.length;d++)e.add(di(c[d],{style:_t({fill:s[d%s.length]},l.getAreaStyle()),silent:!0}))}}};function CFe(e,t,n){return{position:[e.cx,e.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:t.getModel("axisLabel").get("rotate"),z2:1}}function pU(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function gU(e,t){return t.dim+e.model.componentIndex}function TFe(e,t,n){var r={},a=kFe(_n(t.getSeriesByType(e),function(i){return!t.isSeriesFiltered(i)&&i.coordinateSystem&&i.coordinateSystem.type==="polar"}));t.eachSeriesByType(e,function(i){if(i.coordinateSystem.type==="polar"){var o=i.getData(),l=i.coordinateSystem,s=l.getBaseAxis(),u=gU(l,s),c=pU(i),f=a[u][c],d=f.offset,h=f.width,v=l.getOtherAxis(s),p=i.coordinateSystem.cx,g=i.coordinateSystem.cy,m=i.get("barMinHeight")||0,b=i.get("barMinAngle")||0;r[c]=r[c]||[];for(var _=o.mapDimension(v.dim),w=o.mapDimension(s.dim),x=Zs(o,_),S=s.dim!=="radius"||!i.get("roundCap",!0),C=v.model,T=C.get("startValue"),z=v.dataToCoord(T||0),A=0,E=o.count();A<E;A++){var D=o.get(_,A),$=o.get(w,A),O=D>=0?"p":"n",R=z;x&&(r[c][$]||(r[c][$]={p:z,n:z}),R=r[c][$][O]);var N=void 0,B=void 0,V=void 0,P=void 0;if(v.dim==="radius"){var W=v.dataToCoord(D)-z,Z=s.dataToCoord($);Math.abs(W)<m&&(W=(W<0?-1:1)*m),N=R,B=R+W,V=Z-d,P=V-h,x&&(r[c][$][O]=B)}else{var ee=v.dataToCoord(D,S)-z,re=s.dataToCoord($);Math.abs(ee)<b&&(ee=(ee<0?-1:1)*b),N=re+d,B=N+h,V=R,P=R+ee,x&&(r[c][$][O]=P)}o.setItemLayout(A,{cx:p,cy:g,r0:N,r:B,startAngle:-V*Math.PI/180,endAngle:-P*Math.PI/180,clockwise:V>=P})}}})}function kFe(e){var t={};K(e,function(r,a){var i=r.getData(),o=r.coordinateSystem,l=o.getBaseAxis(),s=gU(o,l),u=l.getExtent(),c=l.type==="category"?l.getBandWidth():Math.abs(u[1]-u[0])/i.count(),f=t[s]||{bandWidth:c,remainedWidth:c,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},d=f.stacks;t[s]=f;var h=pU(r);d[h]||f.autoWidthCount++,d[h]=d[h]||{width:0,maxWidth:0};var v=et(r.get("barWidth"),c),p=et(r.get("barMaxWidth"),c),g=r.get("barGap"),m=r.get("barCategoryGap");v&&!d[h].width&&(v=Math.min(f.remainedWidth,v),d[h].width=v,f.remainedWidth-=v),p&&(d[h].maxWidth=p),g!=null&&(f.gap=g),m!=null&&(f.categoryGap=m)});var n={};return K(t,function(r,a){n[a]={};var i=r.stacks,o=r.bandWidth,l=et(r.categoryGap,o),s=et(r.gap,1),u=r.remainedWidth,c=r.autoWidthCount,f=(u-l)/(c+(c-1)*s);f=Math.max(f,0),K(i,function(p,g){var m=p.maxWidth;m&&m<f&&(m=Math.min(m,u),p.width&&(m=Math.min(m,p.width)),u-=m,p.width=m,c--)}),f=(u-l)/(c+(c-1)*s),f=Math.max(f,0);var d=0,h;K(i,function(p,g){p.width||(p.width=f),h=p,d+=p.width*(1+s)}),h&&(d-=h.width*s);var v=-d/2;K(i,function(p,g){n[a][g]=n[a][g]||{offset:v,width:p.width},v+=p.width*(1+s)})}),n}var zFe={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},MFe={splitNumber:5},AFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="polar",t}(Hn);function EFe(e){Kt(Wp),rf.registerAxisPointerClass("PolarAxisPointer",aFe),e.registerCoordinateSystem("polar",gFe),e.registerComponentModel(lFe),e.registerComponentView(AFe),Hd(e,"angle",sFe,zFe),Hd(e,"radius",uFe,MFe),e.registerComponentView(yFe),e.registerComponentView(xFe),e.registerLayout($t(TFe,"bar"))}function Ux(e,t){t=t||{};var n=e.coordinateSystem,r=e.axis,a={},i=r.position,o=r.orient,l=n.getRect(),s=[l.x,l.x+l.width,l.y,l.y+l.height],u={horizontal:{top:s[2],bottom:s[3]},vertical:{left:s[0],right:s[1]}};a.position=[o==="vertical"?u.vertical[i]:s[0],o==="horizontal"?u.horizontal[i]:s[3]];var c={horizontal:0,vertical:1};a.rotation=Math.PI/2*c[o];var f={top:-1,bottom:1,right:1,left:-1};a.labelDirection=a.tickDirection=a.nameDirection=f[i],e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),Mr(t.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var d=t.rotate;return d==null&&(d=e.get(["axisLabel","rotate"])),a.labelRotation=i==="top"?-d:d,a.z2=1,a}var IFe=["axisLine","axisTickLabel","axisName"],DFe=["splitArea","splitLine"],LFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.axisPointerClass="SingleAxisPointer",n}return t.prototype.render=function(n,r,a,i){var o=this.group;o.removeAll();var l=this._axisGroup;this._axisGroup=new At;var s=Ux(n),u=new ca(n,s);K(IFe,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),K(DFe,function(c){n.get([c,"show"])&&PFe[c](this,this.group,this._axisGroup,n)},this),Dp(l,this._axisGroup,n),e.prototype.render.call(this,n,r,a,i)},t.prototype.remove=function(){NG(this)},t.type="singleAxis",t}(rf),PFe={splitLine:function(e,t,n,r){var a=r.axis;if(!a.scale.isBlank()){var i=r.getModel("splitLine"),o=i.getModel("lineStyle"),l=o.get("color");l=l instanceof Array?l:[l];for(var s=o.get("width"),u=r.coordinateSystem.getRect(),c=a.isHorizontal(),f=[],d=0,h=a.getTicksCoords({tickModel:i}),v=[],p=[],g=0;g<h.length;++g){var m=a.toGlobalCoord(h[g].coord);c?(v[0]=m,v[1]=u.y,p[0]=m,p[1]=u.y+u.height):(v[0]=u.x,v[1]=m,p[0]=u.x+u.width,p[1]=m);var b=new mr({shape:{x1:v[0],y1:v[1],x2:p[0],y2:p[1]},silent:!0});Nd(b.shape,s);var _=d++%l.length;f[_]=f[_]||[],f[_].push(b)}for(var w=o.getLineStyle(["color"]),g=0;g<f.length;++g)t.add(di(f[g],{style:_t({stroke:l[g%l.length]},w),silent:!0}))}},splitArea:function(e,t,n,r){OG(e,n,r,r)}},x2=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.getCoordSysModel=function(){return this},t.type="singleAxis",t.layoutMode="box",t.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},t}(Qt);sr(x2,Np.prototype);var RFe=function(e){Se(t,e);function t(n,r,a,i,o){var l=e.call(this,n,r,a)||this;return l.type=i||"value",l.position=o||"bottom",l}return t.prototype.isHorizontal=function(){var n=this.position;return n==="top"||n==="bottom"},t.prototype.pointToData=function(n,r){return this.coordinateSystem.pointToData(n)[0]},t}(io),mU=["single"],OFe=function(){function e(t,n,r){this.type="single",this.dimension="single",this.dimensions=mU,this.axisPointerEnabled=!0,this.model=t,this._init(t,n,r)}return e.prototype._init=function(t,n,r){var a=this.dimension,i=new RFe(a,_3(t),[0,0],t.get("type"),t.get("position")),o=i.type==="category";i.onBand=o&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},e.prototype.update=function(t,n){t.eachSeries(function(r){if(r.coordinateSystem===this){var a=r.getData();K(a.mapDimensionsAll(this.dimension),function(i){this._axis.scale.unionExtentFromData(a,i)},this),Bd(this._axis.scale,this._axis.model)}},this)},e.prototype.resize=function(t,n){this._rect=fr({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:n.getWidth(),height:n.getHeight()}),this._adjustAxis()},e.prototype.getRect=function(){return this._rect},e.prototype._adjustAxis=function(){var t=this._rect,n=this._axis,r=n.isHorizontal(),a=r?[0,t.width]:[0,t.height],i=n.inverse?1:0;n.setExtent(a[i],a[1-i]),this._updateAxisTransform(n,r?t.x:t.y)},e.prototype._updateAxisTransform=function(t,n){var r=t.getExtent(),a=r[0]+r[1],i=t.isHorizontal();t.toGlobalCoord=i?function(o){return o+n}:function(o){return a-o+n},t.toLocalCoord=i?function(o){return o-n}:function(o){return a-o+n}},e.prototype.getAxis=function(){return this._axis},e.prototype.getBaseAxis=function(){return this._axis},e.prototype.getAxes=function(){return[this._axis]},e.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},e.prototype.containPoint=function(t){var n=this.getRect(),r=this.getAxis(),a=r.orient;return a==="horizontal"?r.contain(r.toLocalCoord(t[0]))&&t[1]>=n.y&&t[1]<=n.y+n.height:r.contain(r.toLocalCoord(t[1]))&&t[0]>=n.y&&t[0]<=n.y+n.height},e.prototype.pointToData=function(t){var n=this.getAxis();return[n.coordToData(n.toLocalCoord(t[n.orient==="horizontal"?0:1]))]},e.prototype.dataToPoint=function(t){var n=this.getAxis(),r=this.getRect(),a=[],i=n.orient==="horizontal"?0:1;return t instanceof Array&&(t=t[0]),a[i]=n.toGlobalCoord(n.dataToCoord(+t)),a[1-i]=i===0?r.y+r.height/2:r.x+r.width/2,a},e.prototype.convertToPixel=function(t,n,r){var a=rL(n);return a===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var a=rL(n);return a===this?this.pointToData(r):null},e}();function rL(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function NFe(e,t){var n=[];return e.eachComponent("singleAxis",function(r,a){var i=new OFe(r,e,t);i.name="single_"+a,i.resize(r,t),r.coordinateSystem=i,n.push(i)}),e.eachSeries(function(r){if(r.get("coordinateSystem")==="singleAxis"){var a=r.getReferringComponents("singleAxis",rr).models[0];r.coordinateSystem=a&&a.coordinateSystem}}),n}var $Fe={create:NFe,dimensions:mU},aL=["x","y"],VFe=["width","height"],BFe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.makeElOption=function(n,r,a,i,o){var l=a.axis,s=l.coordinateSystem,u=I9(s,1-jm(l)),c=s.dataToPoint(r)[0],f=i.get("type");if(f&&f!=="none"){var d=hC(i),h=FFe[f](l,c,u);h.style=d,n.graphicKey=h.type,n.pointer=h}var v=Ux(a);cU(r,n,v,a,i,o)},t.prototype.getHandleTransform=function(n,r,a){var i=Ux(r,{labelInside:!1});i.labelMargin=a.get(["handle","margin"]);var o=vC(r.axis,n,i);return{x:o[0],y:o[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(n,r,a,i){var o=a.axis,l=o.coordinateSystem,s=jm(o),u=I9(l,s),c=[n.x,n.y];c[s]+=r[s],c[s]=Math.min(u[1],c[s]),c[s]=Math.max(u[0],c[s]);var f=I9(l,1-s),d=(f[1]+f[0])/2,h=[d,d];return h[s]=c[s],{x:c[0],y:c[1],rotation:n.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},t}(dC),FFe={line:function(e,t,n){var r=pC([t,n[0]],[t,n[1]],jm(e));return{type:"Line",subPixelOptimize:!0,shape:r}},shadow:function(e,t,n){var r=e.getBandWidth(),a=n[1]-n[0];return{type:"Rect",shape:fU([t-r/2,n[0]],[r,a],jm(e))}}};function jm(e){return e.isHorizontal()?0:1}function I9(e,t){var n=e.getRect();return[n[aL[t]],n[aL[t]]+n[VFe[t]]]}var HFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="single",t}(Hn);function jFe(e){Kt(Wp),rf.registerAxisPointerClass("SingleAxisPointer",BFe),e.registerComponentView(HFe),e.registerComponentView(LFe),e.registerComponentModel(x2),Hd(e,"single",x2,x2.defaultOption),e.registerCoordinateSystem("single",$Fe)}var qFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r,a){var i=ph(n);e.prototype.init.apply(this,arguments),iL(n,i)},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),iL(this.option,n)},t.prototype.getCellSize=function(){return this.option.cellSize},t.type="calendar",t.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},t}(Qt);function iL(e,t){var n=e.cellSize,r;He(n)?r=n:r=e.cellSize=[n,n],r.length===1&&(r[1]=r[0]);var a=Ge([0,1],function(i){return fMe(t,i)&&(r[i]="auto"),r[i]!=null&&r[i]!=="auto"});Xs(e,t,{type:"box",ignoreSize:a})}var GFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){var i=this.group;i.removeAll();var o=n.coordinateSystem,l=o.getRangeInfo(),s=o.getOrient(),u=r.getLocaleModel();this._renderDayRect(n,l,i),this._renderLines(n,l,s,i),this._renderYearText(n,l,s,i),this._renderMonthText(n,u,s,i),this._renderWeekText(n,u,l,s,i)},t.prototype._renderDayRect=function(n,r,a){for(var i=n.coordinateSystem,o=n.getModel("itemStyle").getItemStyle(),l=i.getCellWidth(),s=i.getCellHeight(),u=r.start.time;u<=r.end.time;u=i.getNextNDay(u,1).time){var c=i.dataToRect([u],!1).tl,f=new rn({shape:{x:c[0],y:c[1],width:l,height:s},cursor:"default",style:o});a.add(f)}},t.prototype._renderLines=function(n,r,a,i){var o=this,l=n.coordinateSystem,s=n.getModel(["splitLine","lineStyle"]).getLineStyle(),u=n.get(["splitLine","show"]),c=s.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var f=r.start,d=0;f.time<=r.end.time;d++){v(f.formatedDate),d===0&&(f=l.getDateInfo(r.start.y+"-"+r.start.m));var h=f.date;h.setMonth(h.getMonth()+1),f=l.getDateInfo(h)}v(l.getNextNDay(r.end.time,1).formatedDate);function v(p){o._firstDayOfMonth.push(l.getDateInfo(p)),o._firstDayPoints.push(l.dataToRect([p],!1).tl);var g=o._getLinePointsOfOneWeek(n,p,a);o._tlpoints.push(g[0]),o._blpoints.push(g[g.length-1]),u&&o._drawSplitline(g,s,i)}u&&this._drawSplitline(o._getEdgesPoints(o._tlpoints,c,a),s,i),u&&this._drawSplitline(o._getEdgesPoints(o._blpoints,c,a),s,i)},t.prototype._getEdgesPoints=function(n,r,a){var i=[n[0].slice(),n[n.length-1].slice()],o=a==="horizontal"?0:1;return i[0][o]=i[0][o]-r/2,i[1][o]=i[1][o]+r/2,i},t.prototype._drawSplitline=function(n,r,a){var i=new ya({z2:20,shape:{points:n},style:r});a.add(i)},t.prototype._getLinePointsOfOneWeek=function(n,r,a){for(var i=n.coordinateSystem,o=i.getDateInfo(r),l=[],s=0;s<7;s++){var u=i.getNextNDay(o.time,s),c=i.dataToRect([u.time],!1);l[2*u.day]=c.tl,l[2*u.day+1]=c[a==="horizontal"?"bl":"tr"]}return l},t.prototype._formatterLabel=function(n,r){return it(n)&&n?sMe(n,r):yt(n)?n(r):r.nameMap},t.prototype._yearTextPositionControl=function(n,r,a,i,o){var l=r[0],s=r[1],u=["center","bottom"];i==="bottom"?(s+=o,u=["center","top"]):i==="left"?l-=o:i==="right"?(l+=o,u=["center","top"]):s-=o;var c=0;return(i==="left"||i==="right")&&(c=Math.PI/2),{rotation:c,x:l,y:s,style:{align:u[0],verticalAlign:u[1]}}},t.prototype._renderYearText=function(n,r,a,i){var o=n.getModel("yearLabel");if(o.get("show")){var l=o.get("margin"),s=o.get("position");s||(s=a!=="horizontal"?"top":"left");var u=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],c=(u[0][0]+u[1][0])/2,f=(u[0][1]+u[1][1])/2,d=a==="horizontal"?0:1,h={top:[c,u[d][1]],bottom:[c,u[1-d][1]],left:[u[1-d][0],f],right:[u[d][0],f]},v=r.start.y;+r.end.y>+r.start.y&&(v=v+"-"+r.end.y);var p=o.get("formatter"),g={start:r.start.y,end:r.end.y,nameMap:v},m=this._formatterLabel(p,g),b=new on({z2:30,style:In(o,{text:m})});b.attr(this._yearTextPositionControl(b,h[s],a,s,l)),i.add(b)}},t.prototype._monthTextPositionControl=function(n,r,a,i,o){var l="left",s="top",u=n[0],c=n[1];return a==="horizontal"?(c=c+o,r&&(l="center"),i==="start"&&(s="bottom")):(u=u+o,r&&(s="middle"),i==="start"&&(l="right")),{x:u,y:c,align:l,verticalAlign:s}},t.prototype._renderMonthText=function(n,r,a,i){var o=n.getModel("monthLabel");if(o.get("show")){var l=o.get("nameMap"),s=o.get("margin"),u=o.get("position"),c=o.get("align"),f=[this._tlpoints,this._blpoints];(!l||it(l))&&(l&&(r=tx(l)||r),l=r.get(["time","monthAbbr"])||[]);var d=u==="start"?0:1,h=a==="horizontal"?0:1;s=u==="start"?-s:s;for(var v=c==="center",p=0;p<f[d].length-1;p++){var g=f[d][p].slice(),m=this._firstDayOfMonth[p];if(v){var b=this._firstDayPoints[p];g[h]=(b[h]+f[0][p+1][h])/2}var _=o.get("formatter"),w=l[+m.m-1],x={yyyy:m.y,yy:(m.y+"").slice(2),MM:m.m,M:+m.m,nameMap:w},S=this._formatterLabel(_,x),C=new on({z2:30,style:$e(In(o,{text:S}),this._monthTextPositionControl(g,v,a,u,s))});i.add(C)}}},t.prototype._weekTextPositionControl=function(n,r,a,i,o){var l="center",s="middle",u=n[0],c=n[1],f=a==="start";return r==="horizontal"?(u=u+i+(f?1:-1)*o[0]/2,l=f?"right":"left"):(c=c+i+(f?1:-1)*o[1]/2,s=f?"bottom":"top"),{x:u,y:c,align:l,verticalAlign:s}},t.prototype._renderWeekText=function(n,r,a,i,o){var l=n.getModel("dayLabel");if(l.get("show")){var s=n.coordinateSystem,u=l.get("position"),c=l.get("nameMap"),f=l.get("margin"),d=s.getFirstDayOfWeek();if(!c||it(c)){c&&(r=tx(c)||r);var h=r.get(["time","dayOfWeekShort"]);c=h||Ge(r.get(["time","dayOfWeekAbbr"]),function(x){return x[0]})}var v=s.getNextNDay(a.end.time,7-a.lweek).time,p=[s.getCellWidth(),s.getCellHeight()];f=et(f,Math.min(p[1],p[0])),u==="start"&&(v=s.getNextNDay(a.start.time,-(7+a.fweek)).time,f=-f);for(var g=0;g<7;g++){var m=s.getNextNDay(v,g),b=s.dataToRect([m.time],!1).center,_=g;_=Math.abs((g+d)%7);var w=new on({z2:30,style:$e(In(l,{text:c[_]}),this._weekTextPositionControl(b,i,u,f,p))});o.add(w)}}},t.type="calendar",t}(Hn),D9=864e5,WFe=function(){function e(t,n,r){this.type="calendar",this.dimensions=e.dimensions,this.getDimensionsInfo=e.getDimensionsInfo,this._model=t}return e.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},e.prototype.getRangeInfo=function(){return this._rangeInfo},e.prototype.getModel=function(){return this._model},e.prototype.getRect=function(){return this._rect},e.prototype.getCellWidth=function(){return this._sw},e.prototype.getCellHeight=function(){return this._sh},e.prototype.getOrient=function(){return this._orient},e.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},e.prototype.getDateInfo=function(t){t=Bo(t);var n=t.getFullYear(),r=t.getMonth()+1,a=r<10?"0"+r:""+r,i=t.getDate(),o=i<10?"0"+i:""+i,l=t.getDay();return l=Math.abs((l+7-this.getFirstDayOfWeek())%7),{y:n+"",m:a,d:o,day:l,time:t.getTime(),formatedDate:n+"-"+a+"-"+o,date:t}},e.prototype.getNextNDay=function(t,n){return n=n||0,n===0?this.getDateInfo(t):(t=new Date(this.getDateInfo(t).time),t.setDate(t.getDate()+n),this.getDateInfo(t))},e.prototype.update=function(t,n){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var r=this._rangeInfo.weeks||1,a=["width","height"],i=this._model.getCellSize().slice(),o=this._model.getBoxLayoutParams(),l=this._orient==="horizontal"?[r,7]:[7,r];K([0,1],function(f){c(i,f)&&(o[a[f]]=i[f]*l[f])});var s={width:n.getWidth(),height:n.getHeight()},u=this._rect=fr(o,s);K([0,1],function(f){c(i,f)||(i[f]=u[a[f]]/l[f])});function c(f,d){return f[d]!=null&&f[d]!=="auto"}this._sw=i[0],this._sh=i[1]},e.prototype.dataToPoint=function(t,n){He(t)&&(t=t[0]),n==null&&(n=!0);var r=this.getDateInfo(t),a=this._rangeInfo,i=r.formatedDate;if(n&&!(r.time>=a.start.time&&r.time<a.end.time+D9))return[NaN,NaN];var o=r.day,l=this._getRangeInfo([a.start.time,i]).nthWeek;return this._orient==="vertical"?[this._rect.x+o*this._sw+this._sw/2,this._rect.y+l*this._sh+this._sh/2]:[this._rect.x+l*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]},e.prototype.pointToData=function(t){var n=this.pointToDate(t);return n&&n.time},e.prototype.dataToRect=function(t,n){var r=this.dataToPoint(t,n);return{contentShape:{x:r[0]-(this._sw-this._lineWidth)/2,y:r[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:r,tl:[r[0]-this._sw/2,r[1]-this._sh/2],tr:[r[0]+this._sw/2,r[1]-this._sh/2],br:[r[0]+this._sw/2,r[1]+this._sh/2],bl:[r[0]-this._sw/2,r[1]+this._sh/2]}},e.prototype.pointToDate=function(t){var n=Math.floor((t[0]-this._rect.x)/this._sw)+1,r=Math.floor((t[1]-this._rect.y)/this._sh)+1,a=this._rangeInfo.range;return this._orient==="vertical"?this._getDateByWeeksAndDay(r,n-1,a):this._getDateByWeeksAndDay(n,r-1,a)},e.prototype.convertToPixel=function(t,n,r){var a=oL(n);return a===this?a.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var a=oL(n);return a===this?a.pointToData(r):null},e.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},e.prototype._initRangeOption=function(){var t=this._model.get("range"),n;if(He(t)&&t.length===1&&(t=t[0]),He(t))n=t;else{var r=t.toString();if(/^\d{4}$/.test(r)&&(n=[r+"-01-01",r+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(r)){var a=this.getDateInfo(r),i=a.date;i.setMonth(i.getMonth()+1);var o=this.getNextNDay(i,-1);n=[a.formatedDate,o.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(r)&&(n=[r,r])}if(!n)return t;var l=this._getRangeInfo(n);return l.start.time>l.end.time&&n.reverse(),n},e.prototype._getRangeInfo=function(t){var n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])],r;n[0].time>n[1].time&&(r=!0,n.reverse());var a=Math.floor(n[1].time/D9)-Math.floor(n[0].time/D9)+1,i=new Date(n[0].time),o=i.getDate(),l=n[1].date.getDate();i.setDate(o+a-1);var s=i.getDate();if(s!==l)for(var u=i.getTime()-n[1].time>0?1:-1;(s=i.getDate())!==l&&(i.getTime()-n[1].time)*u>0;)a-=u,i.setDate(s-u);var c=Math.floor((a+n[0].day+6)/7),f=r?-c+1:c-1;return r&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:a,weeks:c,nthWeek:f,fweek:n[0].day,lweek:n[1].day}},e.prototype._getDateByWeeksAndDay=function(t,n,r){var a=this._getRangeInfo(r);if(t>a.weeks||t===0&&n<a.fweek||t===a.weeks&&n>a.lweek)return null;var i=(t-1)*7-a.fweek+n,o=new Date(a.start.time);return o.setDate(+a.start.d+i),this.getDateInfo(o)},e.create=function(t,n){var r=[];return t.eachComponent("calendar",function(a){var i=new e(a);r.push(i),a.coordinateSystem=i}),t.eachSeries(function(a){a.get("coordinateSystem")==="calendar"&&(a.coordinateSystem=r[a.get("calendarIndex")||0])}),r},e.dimensions=["time","value"],e}();function oL(e){var t=e.calendarModel,n=e.seriesModel,r=t?t.coordinateSystem:n?n.coordinateSystem:null;return r}function UFe(e){e.registerComponentModel(qFe),e.registerComponentView(GFe),e.registerCoordinateSystem("calendar",WFe)}function YFe(e,t){var n=e.existing;if(t.id=e.keyInfo.id,!t.type&&n&&(t.type=n.type),t.parentId==null){var r=t.parentOption;r?t.parentId=r.id:n&&(t.parentId=n.parentId)}t.parentOption=null}function lL(e,t){var n;return K(t,function(r){e[r]!=null&&e[r]!=="auto"&&(n=!0)}),n}function KFe(e,t,n){var r=$e({},n),a=e[t],i=n.$action||"merge";i==="merge"?a?(jt(a,r,!0),Xs(a,r,{ignoreSize:!0}),sj(n,a),_0(n,a),_0(n,a,"shape"),_0(n,a,"style"),_0(n,a,"extra"),n.clipPath=a.clipPath):e[t]=r:i==="replace"?e[t]=r:i==="remove"&&a&&(e[t]=null)}var yU=["transition","enterFrom","leaveTo"],XFe=yU.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function _0(e,t,n){if(n&&(!e[n]&&t[n]&&(e[n]={}),e=e[n],t=t[n]),!(!e||!t))for(var r=n?yU:XFe,a=0;a<r.length;a++){var i=r[a];e[i]==null&&t[i]!=null&&(e[i]=t[i])}}function ZFe(e,t){if(e&&(e.hv=t.hv=[lL(t,["left","right"]),lL(t,["top","bottom"])],e.type==="group")){var n=e,r=t;n.width==null&&(n.width=r.width=0),n.height==null&&(n.height=r.height=0)}}var JFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.preventAutoZ=!0,n}return t.prototype.mergeOption=function(n,r){var a=this.option.elements;this.option.elements=null,e.prototype.mergeOption.call(this,n,r),this.option.elements=a},t.prototype.optionUpdated=function(n,r){var a=this.option,i=(r?a:n).elements,o=a.elements=r?[]:a.elements,l=[];this._flatten(i,l,null);var s=nH(o,l,"normalMerge"),u=this._elOptionsToUpdate=[];K(s,function(c,f){var d=c.newOption;d&&(u.push(d),YFe(c,d),KFe(o,f,d),ZFe(o[f],d))},this),a.elements=_n(o,function(c){return c&&delete c.$action,c!=null})},t.prototype._flatten=function(n,r,a){K(n,function(i){if(i){a&&(i.parentOption=a),r.push(i);var o=i.children;o&&o.length&&this._flatten(o,r,i),delete i.children}},this)},t.prototype.useElOptionsToUpdate=function(){var n=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,n},t.type="graphic",t.defaultOption={elements:[]},t}(Qt),sL={path:null,compoundPath:null,group:At,image:Ir,text:on},li=an(),QFe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){this._elMap=pt()},t.prototype.render=function(n,r,a){n!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=n,this._updateElements(n),this._relocate(n,a)},t.prototype._updateElements=function(n){var r=n.useElOptionsToUpdate();if(r){var a=this._elMap,i=this.group,o=n.get("z"),l=n.get("zlevel");K(r,function(s){var u=ur(s.id,null),c=u!=null?a.get(u):null,f=ur(s.parentId,null),d=f!=null?a.get(f):i,h=s.type,v=s.style;h==="text"&&v&&s.hv&&s.hv[1]&&(v.textVerticalAlign=v.textBaseline=v.verticalAlign=v.align=null);var p=s.textContent,g=s.textConfig;if(v&&JW(v,h,!!g,!!p)){var m=QW(v,h,!0);!g&&m.textConfig&&(g=s.textConfig=m.textConfig),!p&&m.textContent&&(p=m.textContent)}var b=eHe(s),_=s.$action||"merge",w=_==="merge",x=_==="replace";if(w){var S=!c,C=c;S?C=uL(u,d,s.type,a):(C&&(li(C).isNew=!1),rU(C)),C&&(_2(C,b,n,{isInit:S}),cL(C,s,o,l))}else if(x){S2(c,s,a,n);var T=uL(u,d,s.type,a);T&&(_2(T,b,n,{isInit:!0}),cL(T,s,o,l))}else _==="remove"&&(tU(c,s),S2(c,s,a,n));var z=a.get(u);if(z&&p)if(w){var A=z.getTextContent();A?A.attr(p):z.setTextContent(new on(p))}else x&&z.setTextContent(new on(p));if(z){var E=s.clipPath;if(E){var D=E.type,$=void 0,S=!1;if(w){var O=z.getClipPath();S=!O||li(O).type!==D,$=S?Yx(D):O}else x&&(S=!0,$=Yx(D));z.setClipPath($),_2($,E,n,{isInit:S}),Fm($,E.keyframeAnimation,n)}var R=li(z);z.setTextConfig(g),R.option=s,tHe(z,n,s),fh({el:z,componentModel:n,itemName:z.name,itemTooltipOption:s.tooltip}),Fm(z,s.keyframeAnimation,n)}})}},t.prototype._relocate=function(n,r){for(var a=n.option.elements,i=this.group,o=this._elMap,l=r.getWidth(),s=r.getHeight(),u=["x","y"],c=0;c<a.length;c++){var f=a[c],d=ur(f.id,null),h=d!=null?o.get(d):null;if(!(!h||!h.isGroup)){var v=h.parent,p=v===i,g=li(h),m=li(v);g.width=et(g.option.width,p?l:m.width)||0,g.height=et(g.option.height,p?s:m.height)||0}}for(var c=a.length-1;c>=0;c--){var f=a[c],d=ur(f.id,null),h=d!=null?o.get(d):null;if(h){var v=h.parent,m=li(v),b=v===i?{width:l,height:s}:{width:m.width,height:m.height},_={},w=f3(h,f,b,null,{hv:f.hv,boundingMode:f.bounding},_);if(!li(h).isNew&&w){for(var x=f.transition,S={},C=0;C<u.length;C++){var T=u[C],z=_[T];x&&(zc(x)||Yt(x,T)>=0)?S[T]=z:h[T]=z}un(h,S,n,0)}else h.attr(_)}}},t.prototype._clear=function(){var n=this,r=this._elMap;r.each(function(a){S2(a,li(a).option,r,n._lastGraphicModel)}),this._elMap=pt()},t.prototype.dispose=function(){this._clear()},t.type="graphic",t}(Hn);function Yx(e){var t=ht(sL,e)?sL[e]:Z6(e),n=new t({});return li(n).type=e,n}function uL(e,t,n,r){var a=Yx(n);return t.add(a),r.set(e,a),li(a).id=e,li(a).isNew=!0,a}function S2(e,t,n,r){var a=e&&e.parent;a&&(e.type==="group"&&e.traverse(function(i){S2(i,t,n,r)}),z3(e,t,r),n.removeKey(li(e).id))}function cL(e,t,n,r){e.isGroup||K([["cursor",zi.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(a){var i=a[0];ht(t,i)?e[i]=Ot(t[i],a[1]):e[i]==null&&(e[i]=a[1])}),K(tn(t),function(a){if(a.indexOf("on")===0){var i=t[a];e[a]=yt(i)?i:null}}),ht(t,"draggable")&&(e.draggable=t.draggable),t.name!=null&&(e.name=t.name),t.id!=null&&(e.id=t.id)}function eHe(e){return e=$e({},e),K(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(lj),function(t){delete e[t]}),e}function tHe(e,t,n){var r=Dt(e).eventData;!e.silent&&!e.ignore&&!r&&(r=Dt(e).eventData={componentType:"graphic",componentIndex:t.componentIndex,name:e.name}),r&&(r.info=n.info)}function nHe(e){e.registerComponentModel(JFe),e.registerComponentView(QFe),e.registerPreprocessor(function(t){var n=t.graphic;He(n)?!n[0]||!n[0].elements?t.graphic=[{elements:n}]:t.graphic=[t.graphic[0]]:n&&!n.elements&&(t.graphic=[{elements:[n]}])})}var fL=["x","y","radius","angle","single"],rHe=["cartesian2d","polar","singleAxis"];function aHe(e){var t=e.get("coordinateSystem");return Yt(rHe,t)>=0}function Ms(e){return e+"Axis"}function iHe(e,t){var n=pt(),r=[],a=pt();e.eachComponent({mainType:"dataZoom",query:t},function(c){a.get(c.uid)||l(c)});var i;do i=!1,e.eachComponent("dataZoom",o);while(i);function o(c){!a.get(c.uid)&&s(c)&&(l(c),i=!0)}function l(c){a.set(c.uid,!0),r.push(c),u(c)}function s(c){var f=!1;return c.eachTargetAxis(function(d,h){var v=n.get(d);v&&v[h]&&(f=!0)}),f}function u(c){c.eachTargetAxis(function(f,d){(n.get(f)||n.set(f,[]))[d]=!0})}return r}function bU(e){var t=e.ecModel,n={infoList:[],infoMap:pt()};return e.eachTargetAxis(function(r,a){var i=t.getComponent(Ms(r),a);if(i){var o=i.getCoordSysModel();if(o){var l=o.uid,s=n.infoMap.get(l);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(l,s)),s.axisModels.push(i)}}}),n}var L9=function(){function e(){this.indexList=[],this.indexMap=[]}return e.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},e}(),rp=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return t.prototype.init=function(n,r,a){var i=dL(n);this.settledOption=i,this.mergeDefaultAndTheme(n,a),this._doInit(i)},t.prototype.mergeOption=function(n){var r=dL(n);jt(this.option,n,!0),jt(this.settledOption,r,!0),this._doInit(r)},t.prototype._doInit=function(n){var r=this.option;this._setDefaultThrottle(n),this._updateRangeUse(n);var a=this.settledOption;K([["start","startValue"],["end","endValue"]],function(i,o){this._rangePropMode[o]==="value"&&(r[i[0]]=a[i[0]]=null)},this),this._resetTarget()},t.prototype._resetTarget=function(){var n=this.get("orient",!0),r=this._targetAxisInfoMap=pt(),a=this._fillSpecifiedTargetAxis(r);a?this._orient=n||this._makeAutoOrientByTargetAxis():(this._orient=n||"horizontal",this._fillAutoTargetAxisByOrient(r,this._orient)),this._noTarget=!0,r.each(function(i){i.indexList.length&&(this._noTarget=!1)},this)},t.prototype._fillSpecifiedTargetAxis=function(n){var r=!1;return K(fL,function(a){var i=this.getReferringComponents(Ms(a),UTe);if(i.specified){r=!0;var o=new L9;K(i.models,function(l){o.add(l.componentIndex)}),n.set(a,o)}},this),r},t.prototype._fillAutoTargetAxisByOrient=function(n,r){var a=this.ecModel,i=!0;if(i){var o=r==="vertical"?"y":"x",l=a.findComponents({mainType:o+"Axis"});s(l,o)}if(i){var l=a.findComponents({mainType:"singleAxis",filter:function(c){return c.get("orient",!0)===r}});s(l,"single")}function s(u,c){var f=u[0];if(f){var d=new L9;if(d.add(f.componentIndex),n.set(c,d),i=!1,c==="x"||c==="y"){var h=f.getReferringComponents("grid",rr).models[0];h&&K(u,function(v){f.componentIndex!==v.componentIndex&&h===v.getReferringComponents("grid",rr).models[0]&&d.add(v.componentIndex)})}}}i&&K(fL,function(u){if(i){var c=a.findComponents({mainType:Ms(u),filter:function(d){return d.get("type",!0)==="category"}});if(c[0]){var f=new L9;f.add(c[0].componentIndex),n.set(u,f),i=!1}}},this)},t.prototype._makeAutoOrientByTargetAxis=function(){var n;return this.eachTargetAxis(function(r){!n&&(n=r)},this),n==="y"?"vertical":"horizontal"},t.prototype._setDefaultThrottle=function(n){if(n.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var r=this.ecModel.option;this.option.throttle=r.animation&&r.animationDurationUpdate>0?100:20}},t.prototype._updateRangeUse=function(n){var r=this._rangePropMode,a=this.get("rangeMode");K([["start","startValue"],["end","endValue"]],function(i,o){var l=n[i[0]]!=null,s=n[i[1]]!=null;l&&!s?r[o]="percent":!l&&s?r[o]="value":a?r[o]=a[o]:l&&(r[o]="percent")})},t.prototype.noTarget=function(){return this._noTarget},t.prototype.getFirstTargetAxisModel=function(){var n;return this.eachTargetAxis(function(r,a){n==null&&(n=this.ecModel.getComponent(Ms(r),a))},this),n},t.prototype.eachTargetAxis=function(n,r){this._targetAxisInfoMap.each(function(a,i){K(a.indexList,function(o){n.call(r,i,o)})})},t.prototype.getAxisProxy=function(n,r){var a=this.getAxisModel(n,r);if(a)return a.__dzAxisProxy},t.prototype.getAxisModel=function(n,r){var a=this._targetAxisInfoMap.get(n);if(a&&a.indexMap[r])return this.ecModel.getComponent(Ms(n),r)},t.prototype.setRawRange=function(n){var r=this.option,a=this.settledOption;K([["start","startValue"],["end","endValue"]],function(i){(n[i[0]]!=null||n[i[1]]!=null)&&(r[i[0]]=a[i[0]]=n[i[0]],r[i[1]]=a[i[1]]=n[i[1]])},this),this._updateRangeUse(n)},t.prototype.setCalculatedRange=function(n){var r=this.option;K(["start","startValue","end","endValue"],function(a){r[a]=n[a]})},t.prototype.getPercentRange=function(){var n=this.findRepresentativeAxisProxy();if(n)return n.getDataPercentWindow()},t.prototype.getValueRange=function(n,r){if(n==null&&r==null){var a=this.findRepresentativeAxisProxy();if(a)return a.getDataValueWindow()}else return this.getAxisProxy(n,r).getDataValueWindow()},t.prototype.findRepresentativeAxisProxy=function(n){if(n)return n.__dzAxisProxy;for(var r,a=this._targetAxisInfoMap.keys(),i=0;i<a.length;i++)for(var o=a[i],l=this._targetAxisInfoMap.get(o),s=0;s<l.indexList.length;s++){var u=this.getAxisProxy(o,l.indexList[s]);if(u.hostedBy(this))return u;r||(r=u)}return r},t.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},t.prototype.getOrient=function(){return this._orient},t.type="dataZoom",t.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],t.defaultOption={z:4,filterMode:"filter",start:0,end:100},t}(Qt);function dL(e){var t={};return K(["start","end","startValue","endValue","throttle"],function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var oHe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.select",t}(rp),bC=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a,i){this.dataZoomModel=n,this.ecModel=r,this.api=a},t.type="dataZoom",t}(Hn),lHe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.select",t}(bC),Ff=K,hL=gi,sHe=function(){function e(t,n,r,a){this._dimName=t,this._axisIndex=n,this.ecModel=a,this._dataZoomModel=r}return e.prototype.hostedBy=function(t){return this._dataZoomModel===t},e.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},e.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},e.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries(function(n){if(aHe(n)){var r=Ms(this._dimName),a=n.getReferringComponents(r,rr).models[0];a&&this._axisIndex===a.componentIndex&&t.push(n)}},this),t},e.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},e.prototype.getMinMaxSpan=function(){return kt(this._minMaxSpan)},e.prototype.calculateDataWindow=function(t){var n=this._dataExtent,r=this.getAxisModel(),a=r.axis.scale,i=this._dataZoomModel.getRangePropMode(),o=[0,100],l=[],s=[],u;Ff(["start","end"],function(d,h){var v=t[d],p=t[d+"Value"];i[h]==="percent"?(v==null&&(v=o[h]),p=a.parse(bn(v,o,n))):(u=!0,p=p==null?n[h]:a.parse(p),v=bn(p,n,o)),s[h]=p==null||isNaN(p)?n[h]:p,l[h]=v==null||isNaN(v)?o[h]:v}),hL(s),hL(l);var c=this._minMaxSpan;u?f(s,l,n,o,!1):f(l,s,o,n,!0);function f(d,h,v,p,g){var m=g?"Span":"ValueSpan";af(0,d,v,"all",c["min"+m],c["max"+m]);for(var b=0;b<2;b++)h[b]=bn(d[b],v,p,!0),g&&(h[b]=a.parse(h[b]))}return{valueWindow:s,percentWindow:l}},e.prototype.reset=function(t){if(t===this._dataZoomModel){var n=this.getTargetSeriesModels();this._dataExtent=uHe(this,this._dimName,n),this._updateMinMaxSpan();var r=this.calculateDataWindow(t.settledOption);this._valueWindow=r.valueWindow,this._percentWindow=r.percentWindow,this._setAxisModel()}},e.prototype.filterData=function(t,n){if(t!==this._dataZoomModel)return;var r=this._dimName,a=this.getTargetSeriesModels(),i=t.get("filterMode"),o=this._valueWindow;if(i==="none")return;Ff(a,function(s){var u=s.getData(),c=u.mapDimensionsAll(r);if(c.length){if(i==="weakFilter"){var f=u.getStore(),d=Ge(c,function(h){return u.getDimensionIndex(h)},u);u.filterSelf(function(h){for(var v,p,g,m=0;m<c.length;m++){var b=f.get(d[m],h),_=!isNaN(b),w=b<o[0],x=b>o[1];if(_&&!w&&!x)return!0;_&&(g=!0),w&&(v=!0),x&&(p=!0)}return g&&v&&p})}else Ff(c,function(h){if(i==="empty")s.setData(u=u.map(h,function(p){return l(p)?p:NaN}));else{var v={};v[h]=o,u.selectRange(v)}});Ff(c,function(h){u.setApproximateExtent(o,h)})}});function l(s){return s>=o[0]&&s<=o[1]}},e.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},n=this._dataZoomModel,r=this._dataExtent;Ff(["min","max"],function(a){var i=n.get(a+"Span"),o=n.get(a+"ValueSpan");o!=null&&(o=this.getAxisModel().axis.scale.parse(o)),o!=null?i=bn(r[0]+o,r,[0,100],!0):i!=null&&(o=bn(i,[0,100],r,!0)-r[0]),t[a+"Span"]=i,t[a+"ValueSpan"]=o},this)},e.prototype._setAxisModel=function(){var t=this.getAxisModel(),n=this._percentWindow,r=this._valueWindow;if(n){var a=YF(r,[0,500]);a=Math.min(a,20);var i=t.axis.scale.rawExtentInfo;n[0]!==0&&i.setDeterminedMinMax("min",+r[0].toFixed(a)),n[1]!==100&&i.setDeterminedMinMax("max",+r[1].toFixed(a)),i.freeze()}},e}();function uHe(e,t,n){var r=[1/0,-1/0];Ff(n,function(o){FIe(r,o.getData(),t)});var a=e.getAxisModel(),i=Oq(a.axis.scale,a,r).calculate();return[i.min,i.max]}var cHe={getTargetSeries:function(e){function t(a){e.eachComponent("dataZoom",function(i){i.eachTargetAxis(function(o,l){var s=e.getComponent(Ms(o),l);a(o,l,s,i)})})}t(function(a,i,o,l){o.__dzAxisProxy=null});var n=[];t(function(a,i,o,l){o.__dzAxisProxy||(o.__dzAxisProxy=new sHe(a,i,l,e),n.push(o.__dzAxisProxy))});var r=pt();return K(n,function(a){K(a.getTargetSeriesModels(),function(i){r.set(i.uid,i)})}),r},overallReset:function(e,t){e.eachComponent("dataZoom",function(n){n.eachTargetAxis(function(r,a){n.getAxisProxy(r,a).reset(n)}),n.eachTargetAxis(function(r,a){n.getAxisProxy(r,a).filterData(n,t)})}),e.eachComponent("dataZoom",function(n){var r=n.findRepresentativeAxisProxy();if(r){var a=r.getDataPercentWindow(),i=r.getDataValueWindow();n.setCalculatedRange({start:a[0],end:a[1],startValue:i[0],endValue:i[1]})}})}};function fHe(e){e.registerAction("dataZoom",function(t,n){var r=iHe(n,t);K(r,function(a){a.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var vL=!1;function _C(e){vL||(vL=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,cHe),fHe(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function dHe(e){e.registerComponentModel(oHe),e.registerComponentView(lHe),_C(e)}var ci=function(){function e(){}return e}(),_U={};function Hf(e,t){_U[e]=t}function wU(e){return _U[e]}var hHe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(){e.prototype.optionUpdated.apply(this,arguments);var n=this.ecModel;K(this.option.feature,function(r,a){var i=wU(a);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(n)),jt(r,i.defaultOption))})},t.type="toolbox",t.layoutMode={type:"box",ignoreSize:!0},t.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},t}(Qt);function vHe(e,t,n){var r=t.getBoxLayoutParams(),a=t.get("padding"),i={width:n.getWidth(),height:n.getHeight()},o=fr(r,i,a);Tc(t.get("orient"),e,t.get("itemGap"),o.width,o.height),f3(e,r,i,a)}function xU(e,t){var n=vh(t.get("padding")),r=t.getItemStyle(["color","opacity"]);return r.fill=t.get("backgroundColor"),e=new rn({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:r,silent:!0,z2:-1}),e}var pHe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,a,i){var o=this.group;if(o.removeAll(),!n.get("show"))return;var l=+n.get("itemSize"),s=n.get("orient")==="vertical",u=n.get("feature")||{},c=this._features||(this._features={}),f=[];K(u,function(v,p){f.push(p)}),new Ml(this._featureNames||[],f).add(d).update(d).remove($t(d,null)).execute(),this._featureNames=f;function d(v,p){var g=f[v],m=f[p],b=u[g],_=new yn(b,n,n.ecModel),w;if(i&&i.newTitle!=null&&i.featureName===g&&(b.title=i.newTitle),g&&!m){if(gHe(g))w={onclick:_.option.onclick,featureName:g};else{var x=wU(g);if(!x)return;w=new x}c[g]=w}else if(w=c[m],!w)return;w.uid=hh("toolbox-feature"),w.model=_,w.ecModel=r,w.api=a;var S=w instanceof ci;if(!g&&m){S&&w.dispose&&w.dispose(r,a);return}if(!_.get("show")||S&&w.unusable){S&&w.remove&&w.remove(r,a);return}h(_,w,g),_.setIconStatus=function(C,T){var z=this.option,A=this.iconPaths;z.iconStatus=z.iconStatus||{},z.iconStatus[C]=T,A[C]&&(T==="emphasis"?kl:zl)(A[C])},w instanceof ci&&w.render&&w.render(_,r,a,i)}function h(v,p,g){var m=v.getModel("iconStyle"),b=v.getModel(["emphasis","iconStyle"]),_=p instanceof ci&&p.getIcons?p.getIcons():v.get("icon"),w=v.get("title")||{},x,S;it(_)?(x={},x[g]=_):x=_,it(w)?(S={},S[g]=w):S=w;var C=v.iconPaths={};K(x,function(T,z){var A=Lp(T,{},{x:-l/2,y:-l/2,width:l,height:l});A.setStyle(m.getItemStyle());var E=A.ensureState("emphasis");E.style=b.getItemStyle();var D=new on({style:{text:S[z],align:b.get("textAlign"),borderRadius:b.get("textBorderRadius"),padding:b.get("textPadding"),fill:null,font:J6({fontStyle:b.get("textFontStyle"),fontFamily:b.get("textFontFamily"),fontSize:b.get("textFontSize"),fontWeight:b.get("textFontWeight")},r)},ignore:!0});A.setTextContent(D),fh({el:A,componentModel:n,itemName:z,formatterParamsExtra:{title:S[z]}}),A.__title=S[z],A.on("mouseover",function(){var $=b.getItemStyle(),O=s?n.get("right")==null&&n.get("left")!=="right"?"right":"left":n.get("bottom")==null&&n.get("top")!=="bottom"?"bottom":"top";D.setStyle({fill:b.get("textFill")||$.fill||$.stroke||"#000",backgroundColor:b.get("textBackgroundColor")}),A.setTextConfig({position:b.get("textPosition")||O}),D.ignore=!n.get("showTitle"),a.enterEmphasis(this)}).on("mouseout",function(){v.get(["iconStatus",z])!=="emphasis"&&a.leaveEmphasis(this),D.hide()}),(v.get(["iconStatus",z])==="emphasis"?kl:zl)(A),o.add(A),A.on("click",lt(p.onclick,p,r,a,z)),C[z]=A})}vHe(o,n,a),o.add(xU(o.getBoundingRect(),n)),s||o.eachChild(function(v){var p=v.__title,g=v.ensureState("emphasis"),m=g.textConfig||(g.textConfig={}),b=v.getTextContent(),_=b&&b.ensureState("emphasis");if(_&&!yt(_)&&p){var w=_.style||(_.style={}),x=zp(p,on.makeFont(w)),S=v.x+o.x,C=v.y+o.y+l,T=!1;C+x.height>a.getHeight()&&(m.position="top",T=!0);var z=T?-5-x.height:l+10;S+x.width/2>a.getWidth()?(m.position=["100%",z],w.align="right"):S-x.width/2<0&&(m.position=[0,z],w.align="left")}})},t.prototype.updateView=function(n,r,a,i){K(this._features,function(o){o instanceof ci&&o.updateView&&o.updateView(o.model,r,a,i)})},t.prototype.remove=function(n,r){K(this._features,function(a){a instanceof ci&&a.remove&&a.remove(n,r)}),this.group.removeAll()},t.prototype.dispose=function(n,r){K(this._features,function(a){a instanceof ci&&a.dispose&&a.dispose(n,r)})},t.type="toolbox",t}(Hn);function gHe(e){return e.indexOf("my")===0}var mHe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){var a=this.model,i=a.get("name")||n.get("title.0.text")||"echarts",o=r.getZr().painter.getType()==="svg",l=o?"svg":a.get("type",!0)||"png",s=r.getConnectedDataURL({type:l,backgroundColor:a.get("backgroundColor",!0)||n.get("backgroundColor")||"#fff",connectedBackgroundColor:a.get("connectedBackgroundColor"),excludeComponents:a.get("excludeComponents"),pixelRatio:a.get("pixelRatio")}),u=Jt.browser;if(typeof MouseEvent=="function"&&(u.newEdge||!u.ie&&!u.edge)){var c=document.createElement("a");c.download=i+"."+l,c.target="_blank",c.href=s;var f=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});c.dispatchEvent(f)}else if(window.navigator.msSaveOrOpenBlob||o){var d=s.split(","),h=d[0].indexOf("base64")>-1,v=o?decodeURIComponent(d[1]):d[1];h&&(v=window.atob(v));var p=i+"."+l;if(window.navigator.msSaveOrOpenBlob){for(var g=v.length,m=new Uint8Array(g);g--;)m[g]=v.charCodeAt(g);var b=new Blob([m]);window.navigator.msSaveOrOpenBlob(b,p)}else{var _=document.createElement("iframe");document.body.appendChild(_);var w=_.contentWindow,x=w.document;x.open("image/svg+xml","replace"),x.write(v),x.close(),w.focus(),x.execCommand("SaveAs",!0,p),document.body.removeChild(_)}}else{var S=a.get("lang"),C='<body style="margin:0;"><img src="'+s+'" style="max-width:100%;" title="'+(S&&S[0]||"")+'" /></body>',T=window.open();T.document.write(C),T.document.title=i}},t.getDefaultOption=function(n){var r={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:n.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:n.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return r},t}(ci),pL="__ec_magicType_stack__",yHe=[["line","bar"],["stack"]],bHe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.getIcons=function(){var n=this.model,r=n.get("icon"),a={};return K(n.get("type"),function(i){r[i]&&(a[i]=r[i])}),a},t.getDefaultOption=function(n){var r={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:n.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return r},t.prototype.onclick=function(n,r,a){var i=this.model,o=i.get(["seriesIndex",a]);if(gL[a]){var l={series:[]},s=function(f){var d=f.subType,h=f.id,v=gL[a](d,h,f,i);v&&(_t(v,f.option),l.series.push(v));var p=f.coordinateSystem;if(p&&p.type==="cartesian2d"&&(a==="line"||a==="bar")){var g=p.getAxesByScale("ordinal")[0];if(g){var m=g.dim,b=m+"Axis",_=f.getReferringComponents(b,rr).models[0],w=_.componentIndex;l[b]=l[b]||[];for(var x=0;x<=w;x++)l[b][w]=l[b][w]||{};l[b][w].boundaryGap=a==="bar"}}};K(yHe,function(f){Yt(f,a)>=0&&K(f,function(d){i.setIconStatus(d,"normal")})}),i.setIconStatus(a,"emphasis"),n.eachComponent({mainType:"series",query:o==null?null:{seriesIndex:o}},s);var u,c=a;a==="stack"&&(u=jt({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),i.get(["iconStatus",a])!=="emphasis"&&(c="tiled")),r.dispatchAction({type:"changeMagicType",currentType:c,newOption:l,newTitle:u,featureName:"magicType"})}},t}(ci),gL={line:function(e,t,n,r){if(e==="bar")return jt({id:t,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(e,t,n,r){if(e==="line")return jt({id:t,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(e,t,n,r){var a=n.get("stack")===pL;if(e==="line"||e==="bar")return r.setIconStatus("stack",a?"normal":"emphasis"),jt({id:t,stack:a?"":pL},r.get(["option","stack"])||{},!0)}};Wo({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},function(e,t){t.mergeOption(e.newOption)});var M3=new Array(60).join("-"),Gd=" ";function _He(e){var t={},n=[],r=[];return e.eachRawSeries(function(a){var i=a.coordinateSystem;if(i&&(i.type==="cartesian2d"||i.type==="polar")){var o=i.getBaseAxis();if(o.type==="category"){var l=o.dim+"_"+o.index;t[l]||(t[l]={categoryAxis:o,valueAxis:i.getOtherAxis(o),series:[]},r.push({axisDim:o.dim,axisIndex:o.index})),t[l].series.push(a)}else n.push(a)}else n.push(a)}),{seriesGroupByCategoryAxis:t,other:n,meta:r}}function wHe(e){var t=[];return K(e,function(n,r){var a=n.categoryAxis,i=n.valueAxis,o=i.dim,l=[" "].concat(Ge(n.series,function(h){return h.name})),s=[a.model.getCategories()];K(n.series,function(h){var v=h.getRawData();s.push(h.getRawData().mapArray(v.mapDimension(o),function(p){return p}))});for(var u=[l.join(Gd)],c=0;c<s[0].length;c++){for(var f=[],d=0;d<s.length;d++)f.push(s[d][c]);u.push(f.join(Gd))}t.push(u.join(`
  114. `))}),t.join(`
  115. `+M3+`
  116. `)}function xHe(e){return Ge(e,function(t){var n=t.getRawData(),r=[t.name],a=[];return n.each(n.dimensions,function(){for(var i=arguments.length,o=arguments[i-1],l=n.getName(o),s=0;s<i-1;s++)a[s]=arguments[s];r.push((l?l+Gd:"")+a.join(Gd))}),r.join(`
  117. `)}).join(`
  118. `+M3+`
  119. `)}function SHe(e){var t=_He(e);return{value:_n([wHe(t.seriesGroupByCategoryAxis),xHe(t.other)],function(n){return!!n.replace(/[\n\t\s]/g,"")}).join(`
  120. `+M3+`
  121. `),meta:t.meta}}function qm(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function CHe(e){var t=e.slice(0,e.indexOf(`
  122. `));if(t.indexOf(Gd)>=0)return!0}var Kx=new RegExp("["+Gd+"]+","g");function THe(e){for(var t=e.split(/\n+/g),n=qm(t.shift()).split(Kx),r=[],a=Ge(n,function(s){return{name:s,data:[]}}),i=0;i<t.length;i++){var o=qm(t[i]).split(Kx);r.push(o.shift());for(var l=0;l<o.length;l++)a[l]&&(a[l].data[i]=o[l])}return{series:a,categories:r}}function kHe(e){for(var t=e.split(/\n+/g),n=qm(t.shift()),r=[],a=0;a<t.length;a++){var i=qm(t[a]);if(i){var o=i.split(Kx),l="",s=void 0,u=!1;isNaN(o[0])?(u=!0,l=o[0],o=o.slice(1),r[a]={name:l,value:[]},s=r[a].value):s=r[a]=[];for(var c=0;c<o.length;c++)s.push(+o[c]);s.length===1&&(u?r[a].value=s[0]:r[a]=s[0])}}return{name:n,data:r}}function zHe(e,t){var n=e.split(new RegExp(`
  123. *`+M3+`
  124. *`,"g")),r={series:[]};return K(n,function(a,i){if(CHe(a)){var o=THe(a),l=t[i],s=l.axisDim+"Axis";l&&(r[s]=r[s]||[],r[s][l.axisIndex]={data:o.categories},r.series=r.series.concat(o.series))}else{var o=kHe(a);r.series.push(o)}}),r}var MHe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){setTimeout(function(){r.dispatchAction({type:"hideTip"})});var a=r.getDom(),i=this.model;this._dom&&a.removeChild(this._dom);var o=document.createElement("div");o.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",o.style.backgroundColor=i.get("backgroundColor")||"#fff";var l=document.createElement("h4"),s=i.get("lang")||[];l.innerHTML=s[0]||i.get("title"),l.style.cssText="margin:10px 20px",l.style.color=i.get("textColor");var u=document.createElement("div"),c=document.createElement("textarea");u.style.cssText="overflow:auto";var f=i.get("optionToContent"),d=i.get("contentToOption"),h=SHe(n);if(yt(f)){var v=f(r.getOption());it(v)?u.innerHTML=v:Rd(v)&&u.appendChild(v)}else{c.readOnly=i.get("readOnly");var p=c.style;p.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",p.color=i.get("textColor"),p.borderColor=i.get("textareaBorderColor"),p.backgroundColor=i.get("textareaColor"),c.value=h.value,u.appendChild(c)}var g=h.meta,m=document.createElement("div");m.style.cssText="position:absolute;bottom:5px;left:0;right:0";var b="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",_=document.createElement("div"),w=document.createElement("div");b+=";background-color:"+i.get("buttonColor"),b+=";color:"+i.get("buttonTextColor");var x=this;function S(){a.removeChild(o),x._dom=null}zw(_,"click",S),zw(w,"click",function(){if(d==null&&f!=null||d!=null&&f==null){S();return}var C;try{yt(d)?C=d(u,r.getOption()):C=zHe(c.value,g)}catch(T){throw S(),new Error("Data view format error "+T)}C&&r.dispatchAction({type:"changeDataView",newOption:C}),S()}),_.innerHTML=s[1],w.innerHTML=s[2],w.style.cssText=_.style.cssText=b,!i.get("readOnly")&&m.appendChild(w),m.appendChild(_),o.appendChild(l),o.appendChild(u),o.appendChild(m),u.style.height=a.clientHeight-80+"px",a.appendChild(o),this._dom=o},t.prototype.remove=function(n,r){this._dom&&r.getDom().removeChild(this._dom)},t.prototype.dispose=function(n,r){this.remove(n,r)},t.getDefaultOption=function(n){var r={show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:n.getLocaleModel().get(["toolbox","dataView","title"]),lang:n.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"};return r},t}(ci);function AHe(e,t){return Ge(e,function(n,r){var a=t&&t[r];if(wt(a)&&!He(a)){var i=wt(n)&&!He(n);i||(n={value:n});var o=a.name!=null&&n.name==null;return n=_t(n,a),o&&delete n.name,n}else return n})}Wo({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},function(e,t){var n=[];K(e.newOption.series,function(r){var a=t.getSeriesByName(r.name)[0];if(!a)n.push($e({type:"scatter"},r));else{var i=a.get("data");n.push({name:r.name,data:AHe(r.data,i)})}}),t.mergeOption(_t({series:n},e.newOption))});var SU=K,CU=an();function EHe(e,t){var n=wC(e);SU(t,function(r,a){for(var i=n.length-1;i>=0;i--){var o=n[i];if(o[a])break}if(i<0){var l=e.queryComponents({mainType:"dataZoom",subType:"select",id:a})[0];if(l){var s=l.getPercentRange();n[0][a]={dataZoomId:a,start:s[0],end:s[1]}}}}),n.push(t)}function IHe(e){var t=wC(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return SU(n,function(a,i){for(var o=t.length-1;o>=0;o--)if(a=t[o][i],a){r[i]=a;break}}),r}function DHe(e){CU(e).snapshots=null}function LHe(e){return wC(e).length}function wC(e){var t=CU(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var PHe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){DHe(n),r.dispatchAction({type:"restore",from:this.uid})},t.getDefaultOption=function(n){var r={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:n.getLocaleModel().get(["toolbox","restore","title"])};return r},t}(ci);Wo({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var RHe=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],xC=function(){function e(t,n,r){var a=this;this._targetInfoList=[];var i=mL(n,t);K(OHe,function(o,l){(!r||!r.include||Yt(r.include,l)>=0)&&o(i,a._targetInfoList)})}return e.prototype.setOutputRanges=function(t,n){return this.matchOutputRanges(t,n,function(r,a,i){if((r.coordRanges||(r.coordRanges=[])).push(a),!r.coordRange){r.coordRange=a;var o=P9[r.brushType](0,i,a);r.__rangeOffset={offset:wL[r.brushType](o.values,r.range,[1,1]),xyMinMax:o.xyMinMax}}}),t},e.prototype.matchOutputRanges=function(t,n,r){K(t,function(a){var i=this.findTargetInfo(a,n);i&&i!==!0&&K(i.coordSyses,function(o){var l=P9[a.brushType](1,o,a.range,!0);r(a,l.values,o,n)})},this)},e.prototype.setInputRanges=function(t,n){K(t,function(r){var a=this.findTargetInfo(r,n);if(r.range=r.range||[],a&&a!==!0){r.panelId=a.panelId;var i=P9[r.brushType](0,a.coordSys,r.coordRange),o=r.__rangeOffset;r.range=o?wL[r.brushType](i.values,o.offset,NHe(i.xyMinMax,o.xyMinMax)):i.values}},this)},e.prototype.makePanelOpts=function(t,n){return Ge(this._targetInfoList,function(r){var a=r.getPanelRect();return{panelId:r.panelId,defaultBrushType:n?n(r):null,clipPath:DW(a),isTargetByCursor:PW(a,t,r.coordSysModel),getLinearBrushOtherExtent:LW(a)}})},e.prototype.controlSeries=function(t,n,r){var a=this.findTargetInfo(t,r);return a===!0||a&&Yt(a.coordSyses,n.coordinateSystem)>=0},e.prototype.findTargetInfo=function(t,n){for(var r=this._targetInfoList,a=mL(n,t),i=0;i<r.length;i++){var o=r[i],l=t.panelId;if(l){if(o.panelId===l)return o}else for(var s=0;s<yL.length;s++)if(yL[s](a,o))return o}return!0},e}();function Xx(e){return e[0]>e[1]&&e.reverse(),e}function mL(e,t){return Wv(e,t,{includeMainTypes:RHe})}var OHe={grid:function(e,t){var n=e.xAxisModels,r=e.yAxisModels,a=e.gridModels,i=pt(),o={},l={};!n&&!r&&!a||(K(n,function(s){var u=s.axis.grid.model;i.set(u.id,u),o[u.id]=!0}),K(r,function(s){var u=s.axis.grid.model;i.set(u.id,u),l[u.id]=!0}),K(a,function(s){i.set(s.id,s),o[s.id]=!0,l[s.id]=!0}),i.each(function(s){var u=s.coordinateSystem,c=[];K(u.getCartesians(),function(f,d){(Yt(n,f.getAxis("x").model)>=0||Yt(r,f.getAxis("y").model)>=0)&&c.push(f)}),t.push({panelId:"grid--"+s.id,gridModel:s,coordSysModel:s,coordSys:c[0],coordSyses:c,getPanelRect:bL.grid,xAxisDeclared:o[s.id],yAxisDeclared:l[s.id]})}))},geo:function(e,t){K(e.geoModels,function(n){var r=n.coordinateSystem;t.push({panelId:"geo--"+n.id,geoModel:n,coordSysModel:n,coordSys:r,coordSyses:[r],getPanelRect:bL.geo})})}},yL=[function(e,t){var n=e.xAxisModel,r=e.yAxisModel,a=e.gridModel;return!a&&n&&(a=n.axis.grid.model),!a&&r&&(a=r.axis.grid.model),a&&a===t.gridModel},function(e,t){var n=e.geoModel;return n&&n===t.geoModel}],bL={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var e=this.coordSys,t=e.getBoundingRect().clone();return t.applyTransform(Cc(e)),t}},P9={lineX:$t(_L,0),lineY:$t(_L,1),rect:function(e,t,n,r){var a=e?t.pointToData([n[0][0],n[1][0]],r):t.dataToPoint([n[0][0],n[1][0]],r),i=e?t.pointToData([n[0][1],n[1][1]],r):t.dataToPoint([n[0][1],n[1][1]],r),o=[Xx([a[0],i[0]]),Xx([a[1],i[1]])];return{values:o,xyMinMax:o}},polygon:function(e,t,n,r){var a=[[1/0,-1/0],[1/0,-1/0]],i=Ge(n,function(o){var l=e?t.pointToData(o,r):t.dataToPoint(o,r);return a[0][0]=Math.min(a[0][0],l[0]),a[1][0]=Math.min(a[1][0],l[1]),a[0][1]=Math.max(a[0][1],l[0]),a[1][1]=Math.max(a[1][1],l[1]),l});return{values:i,xyMinMax:a}}};function _L(e,t,n,r){var a=n.getAxis(["x","y"][e]),i=Xx(Ge([0,1],function(l){return t?a.coordToData(a.toLocalCoord(r[l]),!0):a.toGlobalCoord(a.dataToCoord(r[l]))})),o=[];return o[e]=i,o[1-e]=[NaN,NaN],{values:i,xyMinMax:o}}var wL={lineX:$t(xL,0),lineY:$t(xL,1),rect:function(e,t,n){return[[e[0][0]-n[0]*t[0][0],e[0][1]-n[0]*t[0][1]],[e[1][0]-n[1]*t[1][0],e[1][1]-n[1]*t[1][1]]]},polygon:function(e,t,n){return Ge(e,function(r,a){return[r[0]-n[0]*t[a][0],r[1]-n[1]*t[a][1]]})}};function xL(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function NHe(e,t){var n=SL(e),r=SL(t),a=[n[0]/r[0],n[1]/r[1]];return isNaN(a[0])&&(a[0]=1),isNaN(a[1])&&(a[1]=1),a}function SL(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var Zx=K,$He=HTe("toolbox-dataZoom_"),VHe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,a,i){this._brushController||(this._brushController=new Z8(a.getZr()),this._brushController.on("brush",lt(this._onBrush,this)).mount()),HHe(n,r,this,i,a),FHe(n,r)},t.prototype.onclick=function(n,r,a){BHe[a].call(this)},t.prototype.remove=function(n,r){this._brushController&&this._brushController.unmount()},t.prototype.dispose=function(n,r){this._brushController&&this._brushController.dispose()},t.prototype._onBrush=function(n){var r=n.areas;if(!n.isEnd||!r.length)return;var a={},i=this.ecModel;this._brushController.updateCovers([]);var o=new xC(SC(this.model),i,{include:["grid"]});o.matchOutputRanges(r,i,function(u,c,f){if(f.type==="cartesian2d"){var d=u.brushType;d==="rect"?(l("x",f,c[0]),l("y",f,c[1])):l({lineX:"x",lineY:"y"}[d],f,c)}}),EHe(i,a),this._dispatchZoomAction(a);function l(u,c,f){var d=c.getAxis(u),h=d.model,v=s(u,h,i),p=v.findRepresentativeAxisProxy(h).getMinMaxSpan();(p.minValueSpan!=null||p.maxValueSpan!=null)&&(f=af(0,f.slice(),d.scale.getExtent(),0,p.minValueSpan,p.maxValueSpan)),v&&(a[v.id]={dataZoomId:v.id,startValue:f[0],endValue:f[1]})}function s(u,c,f){var d;return f.eachComponent({mainType:"dataZoom",subType:"select"},function(h){var v=h.getAxisModel(u,c.componentIndex);v&&(d=h)}),d}},t.prototype._dispatchZoomAction=function(n){var r=[];Zx(n,function(a,i){r.push(kt(a))}),r.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:r})},t.getDefaultOption=function(n){var r={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:n.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return r},t}(ci),BHe={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(IHe(this.ecModel))}};function SC(e){var t={xAxisIndex:e.get("xAxisIndex",!0),yAxisIndex:e.get("yAxisIndex",!0),xAxisId:e.get("xAxisId",!0),yAxisId:e.get("yAxisId",!0)};return t.xAxisIndex==null&&t.xAxisId==null&&(t.xAxisIndex="all"),t.yAxisIndex==null&&t.yAxisId==null&&(t.yAxisIndex="all"),t}function FHe(e,t){e.setIconStatus("back",LHe(t)>1?"emphasis":"normal")}function HHe(e,t,n,r,a){var i=n._isZoomActive;r&&r.type==="takeGlobalCursor"&&(i=r.key==="dataZoomSelect"?r.dataZoomSelectActive:!1),n._isZoomActive=i,e.setIconStatus("zoom",i?"emphasis":"normal");var o=new xC(SC(e),t,{include:["grid"]}),l=o.makePanelOpts(a,function(s){return s.xAxisDeclared&&!s.yAxisDeclared?"lineX":!s.xAxisDeclared&&s.yAxisDeclared?"lineY":"rect"});n._brushController.setPanels(l).enableBrush(i&&l.length?{brushType:"auto",brushStyle:e.getModel("brushStyle").getItemStyle()}:!1)}mMe("dataZoom",function(e){var t=e.getComponent("toolbox",0),n=["feature","dataZoom"];if(!t||t.get(n)==null)return;var r=t.getModel(n),a=[],i=SC(r),o=Wv(e,i);Zx(o.xAxisModels,function(s){return l(s,"xAxis","xAxisIndex")}),Zx(o.yAxisModels,function(s){return l(s,"yAxis","yAxisIndex")});function l(s,u,c){var f=s.componentIndex,d={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:$He+u+f};d[c]=f,a.push(d)}return a});function jHe(e){e.registerComponentModel(hHe),e.registerComponentView(pHe),Hf("saveAsImage",mHe),Hf("magicType",bHe),Hf("dataView",MHe),Hf("dataZoom",VHe),Hf("restore",PHe),Kt(dHe)}var qHe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="tooltip",t.dependencies=["axisPointer"],t.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},t}(Qt);function TU(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function kU(e){if(Jt.domSupported){for(var t=document.documentElement.style,n=0,r=e.length;n<r;n++)if(e[n]in t)return e[n]}}var zU=kU(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),GHe=kU(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function MU(e,t){if(!e)return t;t=ij(t,!0);var n=e.indexOf(t);return e=n===-1?t:"-"+e.slice(0,n)+"-"+t,e.toLowerCase()}function WHe(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?n[t]:null}var UHe=MU(GHe,"transition"),CC=MU(zU,"transform"),YHe="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Jt.transform3dSupported?"will-change:transform;":"");function KHe(e){return e=e==="left"?"right":e==="right"?"left":e==="top"?"bottom":"top",e}function XHe(e,t,n){if(!it(n)||n==="inside")return"";var r=e.get("backgroundColor"),a=e.get("borderWidth");t=Fc(t);var i=KHe(n),o=Math.max(Math.round(a)*1.5,6),l="",s=CC+":",u;Yt(["left","right"],i)>-1?(l+="top:50%",s+="translateY(-50%) rotate("+(u=i==="left"?-225:-45)+"deg)"):(l+="left:50%",s+="translateX(-50%) rotate("+(u=i==="top"?225:45)+"deg)");var c=u*Math.PI/180,f=o+a,d=f*Math.abs(Math.cos(c))+f*Math.abs(Math.sin(c)),h=Math.round(((d-Math.SQRT2*a)/2+Math.SQRT2*a-(d-f)/2)*100)/100;l+=";"+i+":-"+h+"px";var v=t+" solid "+a+"px;",p=["position:absolute;width:"+o+"px;height:"+o+"px;z-index:-1;",l+";"+s+";","border-bottom:"+v,"border-right:"+v,"background-color:"+r+";"];return'<div style="'+p.join("")+'"></div>'}function ZHe(e,t){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+e/2+"s "+n,a="opacity"+r+",visibility"+r;return t||(r=" "+e+"s "+n,a+=Jt.transformSupported?","+CC+r:",left"+r+",top"+r),UHe+":"+a}function CL(e,t,n){var r=e.toFixed(0)+"px",a=t.toFixed(0)+"px";if(!Jt.transformSupported)return n?"top:"+a+";left:"+r+";":[["top",a],["left",r]];var i=Jt.transform3dSupported,o="translate"+(i?"3d":"")+"("+r+","+a+(i?",0":"")+")";return n?"top:0;left:0;"+CC+":"+o+";":[["top",0],["left",0],[zU,o]]}function JHe(e){var t=[],n=e.get("fontSize"),r=e.getTextColor();r&&t.push("color:"+r),t.push("font:"+e.getFont()),n&&t.push("line-height:"+Math.round(n*3/2)+"px");var a=e.get("textShadowColor"),i=e.get("textShadowBlur")||0,o=e.get("textShadowOffsetX")||0,l=e.get("textShadowOffsetY")||0;return a&&i&&t.push("text-shadow:"+o+"px "+l+"px "+i+"px "+a),K(["decoration","align"],function(s){var u=e.get(s);u&&t.push("text-"+s+":"+u)}),t.join(";")}function QHe(e,t,n){var r=[],a=e.get("transitionDuration"),i=e.get("backgroundColor"),o=e.get("shadowBlur"),l=e.get("shadowColor"),s=e.get("shadowOffsetX"),u=e.get("shadowOffsetY"),c=e.getModel("textStyle"),f=Vj(e,"html"),d=s+"px "+u+"px "+o+"px "+l;return r.push("box-shadow:"+d),t&&a&&r.push(ZHe(a,n)),i&&r.push("background-color:"+i),K(["width","color","radius"],function(h){var v="border-"+h,p=ij(v),g=e.get(p);g!=null&&r.push(v+":"+g+(h==="color"?"":"px"))}),r.push(JHe(c)),f!=null&&r.push("padding:"+vh(f).join("px ")+"px"),r.join(";")+";"}function TL(e,t,n,r,a){var i=t&&t.painter;if(n){var o=i&&i.getViewportRoot();o&&_7e(e,o,n,r,a)}else{e[0]=r,e[1]=a;var l=i&&i.getViewportRootOffset();l&&(e[0]+=l.offsetLeft,e[1]+=l.offsetTop)}e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var eje=function(){function e(t,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Jt.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var a=this._zr=t.getZr(),i=n.appendTo,o=i&&(it(i)?document.querySelector(i):Rd(i)?i:yt(i)&&i(t.getDom()));TL(this._styleCoord,a,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(r),this._api=t,this._container=o;var l=this;r.onmouseenter=function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0},r.onmousemove=function(s){if(s=s||window.event,!l._enterable){var u=a.handler,c=a.painter.getViewportRoot();ri(c,s,!0),u.dispatch("mousemove",s)}},r.onmouseleave=function(){l._inContent=!1,l._enterable&&l._show&&l.hideLater(l._hideDelay)}}return e.prototype.update=function(t){if(!this._container){var n=this._api.getDom(),r=WHe(n,"position"),a=n.style;a.position!=="absolute"&&r!=="absolute"&&(a.position="relative")}var i=t.get("alwaysShowContent");i&&this._moveIfResized(),this._alwaysShowContent=i,this.el.className=t.get("className")||""},e.prototype.show=function(t,n){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var r=this.el,a=r.style,i=this._styleCoord;r.innerHTML?a.cssText=YHe+QHe(t,!this._firstShow,this._longHide)+CL(i[0],i[1],!0)+("border-color:"+Fc(n)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):a.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},e.prototype.setContent=function(t,n,r,a,i){var o=this.el;if(t==null){o.innerHTML="";return}var l="";if(it(i)&&r.get("trigger")==="item"&&!TU(r)&&(l=XHe(r,a,i)),it(t))o.innerHTML=t+l;else if(t){o.innerHTML="",He(t)||(t=[t]);for(var s=0;s<t.length;s++)Rd(t[s])&&t[s].parentNode!==o&&o.appendChild(t[s]);if(l&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=l,o.appendChild(u)}}},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},e.prototype.moveTo=function(t,n){var r=this._styleCoord;if(TL(r,this._zr,this._container,t,n),r[0]!=null&&r[1]!=null){var a=this.el.style,i=CL(r[0],r[1]);K(i,function(o){a[o[0]]=o[1]})}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),n*this._zr.getHeight())},e.prototype.hide=function(){var t=this,n=this.el.style;n.visibility="hidden",n.opacity="0",Jt.transform3dSupported&&(n.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(lt(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},e}(),tje=function(){function e(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),zL(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return e.prototype.update=function(t){var n=t.get("alwaysShowContent");n&&this._moveIfResized(),this._alwaysShowContent=n},e.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},e.prototype.setContent=function(t,n,r,a,i){var o=this;wt(t)&&pn(""),this.el&&this._zr.remove(this.el);var l=r.getModel("textStyle");this.el=new on({style:{rich:n.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:a,textShadowColor:l.get("textShadowColor"),fill:r.get(["textStyle","color"]),padding:Vj(r,"richText"),verticalAlign:"top",align:"left"},z:r.get("z")}),K(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(u){o.el.style[u]=r.get(u)}),K(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(u){o.el.style[u]=l.get(u)||0}),this._zr.add(this.el);var s=this;this.el.on("mouseover",function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0}),this.el.on("mouseout",function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1})},e.prototype.setEnterable=function(t){this._enterable=t},e.prototype.getSize=function(){var t=this.el,n=this.el.getBoundingRect(),r=kL(t.style);return[n.width+r.left+r.right,n.height+r.top+r.bottom]},e.prototype.moveTo=function(t,n){var r=this.el;if(r){var a=this._styleCoord;zL(a,this._zr,t,n),t=a[0],n=a[1];var i=r.style,o=ss(i.borderWidth||0),l=kL(i);r.x=t+o+l.left,r.y=n+o+l.top,r.markRedraw()}},e.prototype._moveIfResized=function(){var t=this._styleCoord[2],n=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),n*this._zr.getHeight())},e.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},e.prototype.hideLater=function(t){this._show&&!(this._inContent&&this._enterable)&&!this._alwaysShowContent&&(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(lt(this.hide,this),t)):this.hide())},e.prototype.isShow=function(){return this._show},e.prototype.dispose=function(){this._zr.remove(this.el)},e}();function ss(e){return Math.max(0,e)}function kL(e){var t=ss(e.shadowBlur||0),n=ss(e.shadowOffsetX||0),r=ss(e.shadowOffsetY||0);return{left:ss(t-n),right:ss(t+n),top:ss(t-r),bottom:ss(t+r)}}function zL(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var nje=new rn({shape:{x:-1,y:-1,width:2,height:2}}),rje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){if(!(Jt.node||!r.getDom())){var a=n.getComponent("tooltip"),i=this._renderMode=KTe(a.get("renderMode"));this._tooltipContent=i==="richText"?new tje(r):new eje(r,{appendTo:a.get("appendToBody",!0)?"body":a.get("appendTo",!0)})}},t.prototype.render=function(n,r,a){if(!(Jt.node||!a.getDom())){this.group.removeAll(),this._tooltipModel=n,this._ecModel=r,this._api=a;var i=this._tooltipContent;i.update(n),i.setEnterable(n.get("enterable")),this._initGlobalListener(),this._keepShow(),this._renderMode!=="richText"&&n.get("transitionDuration")?yh(this,"_updatePosition",50,"fixRate"):q1(this,"_updatePosition")}},t.prototype._initGlobalListener=function(){var n=this._tooltipModel,r=n.get("triggerOn");dU("itemTooltip",this._api,lt(function(a,i,o){r!=="none"&&(r.indexOf(a)>=0?this._tryShow(i,o):a==="leave"&&this._hide(o))},this))},t.prototype._keepShow=function(){var n=this._tooltipModel,r=this._ecModel,a=this._api,i=n.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&i!=="none"&&i!=="click"){var o=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!a.isDisposed()&&o.manuallyShowTip(n,r,a,{x:o._lastX,y:o._lastY,dataByCoordSys:o._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(n,r,a,i){if(!(i.from===this.uid||Jt.node||!a.getDom())){var o=ML(i,a);this._ticket="";var l=i.dataByCoordSys,s=lje(i,r,a);if(s){var u=s.el.getBoundingRect().clone();u.applyTransform(s.el.transform),this._tryShow({offsetX:u.x+u.width/2,offsetY:u.y+u.height/2,target:s.el,position:i.position,positionDefault:"bottom"},o)}else if(i.tooltip&&i.x!=null&&i.y!=null){var c=nje;c.x=i.x,c.y=i.y,c.update(),Dt(c).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:c},o)}else if(l)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:l,tooltipOption:i.tooltipOption},o);else if(i.seriesIndex!=null){if(this._manuallyAxisShowTip(n,r,a,i))return;var f=hU(i,r),d=f.point[0],h=f.point[1];d!=null&&h!=null&&this._tryShow({offsetX:d,offsetY:h,target:f.el,position:i.position,positionDefault:"bottom"},o)}else i.x!=null&&i.y!=null&&(a.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:a.getZr().findHover(i.x,i.y).target},o))}},t.prototype.manuallyHideTip=function(n,r,a,i){var o=this._tooltipContent;this._tooltipModel&&o.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(ML(i,a))},t.prototype._manuallyAxisShowTip=function(n,r,a,i){var o=i.seriesIndex,l=i.dataIndex,s=r.getComponent("axisPointer").coordSysAxesInfo;if(!(o==null||l==null||s==null)){var u=r.getSeriesByIndex(o);if(u){var c=u.getData(),f=nv([c.getItemModel(l),u,(u.coordinateSystem||{}).model],this._tooltipModel);if(f.get("trigger")==="axis")return a.dispatchAction({type:"updateAxisPointer",seriesIndex:o,dataIndex:l,position:i.position}),!0}}},t.prototype._tryShow=function(n,r){var a=n.target,i=this._tooltipModel;if(i){this._lastX=n.offsetX,this._lastY=n.offsetY;var o=n.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,n);else if(a){var l=Dt(a);if(l.ssrType==="legend")return;this._lastDataByCoordSys=null;var s,u;uc(a,function(c){if(Dt(c).dataIndex!=null)return s=c,!0;if(Dt(c).tooltipConfig!=null)return u=c,!0},!0),s?this._showSeriesItemTooltip(n,s,r):u?this._showComponentItemTooltip(n,u,r):this._hide(r)}else this._lastDataByCoordSys=null,this._hide(r)}},t.prototype._showOrMove=function(n,r){var a=n.get("showDelay");r=lt(r,this),clearTimeout(this._showTimout),a>0?this._showTimout=setTimeout(r,a):r()},t.prototype._showAxisTooltip=function(n,r){var a=this._ecModel,i=this._tooltipModel,o=[r.offsetX,r.offsetY],l=nv([r.tooltipOption],i),s=this._renderMode,u=[],c=Cr("section",{blocks:[],noHeader:!0}),f=[],d=new b_;K(n,function(b){K(b.dataByAxis,function(_){var w=a.getComponent(_.axisDim+"Axis",_.axisIndex),x=_.value;if(!(!w||x==null)){var S=uU(x,w.axis,a,_.seriesDataIndices,_.valueLabelOpt),C=Cr("section",{header:S,noHeader:!qi(S),sortBlocks:!0,blocks:[]});c.blocks.push(C),K(_.seriesDataIndices,function(T){var z=a.getSeriesByIndex(T.seriesIndex),A=T.dataIndexInside,E=z.getDataParams(A);if(!(E.dataIndex<0)){E.axisDim=_.axisDim,E.axisIndex=_.axisIndex,E.axisType=_.axisType,E.axisId=_.axisId,E.axisValue=T8(w.axis,{value:x}),E.axisValueLabel=S,E.marker=d.makeTooltipMarker("item",Fc(E.color),s);var D=hA(z.formatTooltip(A,!0,null)),$=D.frag;if($){var O=nv([z],i).get("valueFormatter");C.blocks.push(O?$e({valueFormatter:O},$):$)}D.text&&f.push(D.text),u.push(E)}})}})}),c.blocks.reverse(),f.reverse();var h=r.position,v=l.get("order"),p=bA(c,d,s,v,a.get("useUTC"),l.get("textStyle"));p&&f.unshift(p);var g=s==="richText"?`
  125. `:"<br/>",m=f.join(g);this._showOrMove(l,function(){this._updateContentNotChangedOnAxis(n,u)?this._updatePosition(l,h,o[0],o[1],this._tooltipContent,u):this._showTooltipContent(l,m,u,Math.random()+"",o[0],o[1],h,null,d)})},t.prototype._showSeriesItemTooltip=function(n,r,a){var i=this._ecModel,o=Dt(r),l=o.seriesIndex,s=i.getSeriesByIndex(l),u=o.dataModel||s,c=o.dataIndex,f=o.dataType,d=u.getData(f),h=this._renderMode,v=n.positionDefault,p=nv([d.getItemModel(c),u,s&&(s.coordinateSystem||{}).model],this._tooltipModel,v?{position:v}:null),g=p.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,f),b=new b_;m.marker=b.makeTooltipMarker("item",Fc(m.color),h);var _=hA(u.formatTooltip(c,!1,f)),w=p.get("order"),x=p.get("valueFormatter"),S=_.frag,C=S?bA(x?$e({valueFormatter:x},S):S,b,h,w,i.get("useUTC"),p.get("textStyle")):_.text,T="item_"+u.name+"_"+c;this._showOrMove(p,function(){this._showTooltipContent(p,C,m,T,n.offsetX,n.offsetY,n.position,n.target,b)}),a({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:l,from:this.uid})}},t.prototype._showComponentItemTooltip=function(n,r,a){var i=this._renderMode==="html",o=Dt(r),l=o.tooltipConfig,s=l.option||{},u=s.encodeHTMLContent;if(it(s)){var c=s;s={content:c,formatter:c},u=!0}u&&i&&s.content&&(s=kt(s),s.content=Ta(s.content));var f=[s],d=this._ecModel.getComponent(o.componentMainType,o.componentIndex);d&&f.push(d),f.push({formatter:s.content});var h=n.positionDefault,v=nv(f,this._tooltipModel,h?{position:h}:null),p=v.get("content"),g=Math.random()+"",m=new b_;this._showOrMove(v,function(){var b=kt(v.get("formatterParams")||{});this._showTooltipContent(v,p,b,g,n.offsetX,n.offsetY,n.position,r,m)}),a({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(n,r,a,i,o,l,s,u,c){if(this._ticket="",!(!n.get("showContent")||!n.get("show"))){var f=this._tooltipContent;f.setEnterable(n.get("enterable"));var d=n.get("formatter");s=s||n.get("position");var h=r,v=this._getNearestPoint([o,l],a,n.get("trigger"),n.get("borderColor")),p=v.color;if(d)if(it(d)){var g=n.ecModel.get("useUTC"),m=He(a)?a[0]:a,b=m&&m.axisType&&m.axisType.indexOf("time")>=0;h=d,b&&(h=o3(m.axisValue,h,g)),h=oj(h,a,!0)}else if(yt(d)){var _=lt(function(w,x){w===this._ticket&&(f.setContent(x,c,n,p,s),this._updatePosition(n,s,o,l,f,a,u))},this);this._ticket=i,h=d(a,i,_)}else h=d;f.setContent(h,c,n,p,s),f.show(n,p),this._updatePosition(n,s,o,l,f,a,u)}},t.prototype._getNearestPoint=function(n,r,a,i){if(a==="axis"||He(r))return{color:i||(this._renderMode==="html"?"#fff":"none")};if(!He(r))return{color:i||r.color||r.borderColor}},t.prototype._updatePosition=function(n,r,a,i,o,l,s){var u=this._api.getWidth(),c=this._api.getHeight();r=r||n.get("position");var f=o.getSize(),d=n.get("align"),h=n.get("verticalAlign"),v=s&&s.getBoundingRect().clone();if(s&&v.applyTransform(s.transform),yt(r)&&(r=r([a,i],l,o.el,v,{viewSize:[u,c],contentSize:f.slice()})),He(r))a=et(r[0],u),i=et(r[1],c);else if(wt(r)){var p=r;p.width=f[0],p.height=f[1];var g=fr(p,{width:u,height:c});a=g.x,i=g.y,d=null,h=null}else if(it(r)&&s){var m=oje(r,v,f,n.get("borderWidth"));a=m[0],i=m[1]}else{var m=aje(a,i,o,u,c,d?null:20,h?null:20);a=m[0],i=m[1]}if(d&&(a-=AL(d)?f[0]/2:d==="right"?f[0]:0),h&&(i-=AL(h)?f[1]/2:h==="bottom"?f[1]:0),TU(n)){var m=ije(a,i,o,u,c);a=m[0],i=m[1]}o.moveTo(a,i)},t.prototype._updateContentNotChangedOnAxis=function(n,r){var a=this._lastDataByCoordSys,i=this._cbParamsList,o=!!a&&a.length===n.length;return o&&K(a,function(l,s){var u=l.dataByAxis||[],c=n[s]||{},f=c.dataByAxis||[];o=o&&u.length===f.length,o&&K(u,function(d,h){var v=f[h]||{},p=d.seriesDataIndices||[],g=v.seriesDataIndices||[];o=o&&d.value===v.value&&d.axisType===v.axisType&&d.axisId===v.axisId&&p.length===g.length,o&&K(p,function(m,b){var _=g[b];o=o&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),i&&K(d.seriesDataIndices,function(m){var b=m.seriesIndex,_=r[b],w=i[b];_&&w&&w.data!==_.data&&(o=!1)})})}),this._lastDataByCoordSys=n,this._cbParamsList=r,!!o},t.prototype._hide=function(n){this._lastDataByCoordSys=null,n({type:"hideTip",from:this.uid})},t.prototype.dispose=function(n,r){Jt.node||!r.getDom()||(q1(this,"_updatePosition"),this._tooltipContent.dispose(),Wx("itemTooltip",r))},t.type="tooltip",t}(Hn);function nv(e,t,n){var r=t.ecModel,a;n?(a=new yn(n,r,r),a=new yn(t.option,a,r)):a=t;for(var i=e.length-1;i>=0;i--){var o=e[i];o&&(o instanceof yn&&(o=o.get("tooltip",!0)),it(o)&&(o={formatter:o}),o&&(a=new yn(o,a,r)))}return a}function ML(e,t){return e.dispatchAction||lt(t.dispatchAction,t)}function aje(e,t,n,r,a,i,o){var l=n.getSize(),s=l[0],u=l[1];return i!=null&&(e+s+i+2>r?e-=s+i:e+=i),o!=null&&(t+u+o>a?t-=u+o:t+=o),[e,t]}function ije(e,t,n,r,a){var i=n.getSize(),o=i[0],l=i[1];return e=Math.min(e+o,r)-o,t=Math.min(t+l,a)-l,e=Math.max(e,0),t=Math.max(t,0),[e,t]}function oje(e,t,n,r){var a=n[0],i=n[1],o=Math.ceil(Math.SQRT2*r)+8,l=0,s=0,u=t.width,c=t.height;switch(e){case"inside":l=t.x+u/2-a/2,s=t.y+c/2-i/2;break;case"top":l=t.x+u/2-a/2,s=t.y-i-o;break;case"bottom":l=t.x+u/2-a/2,s=t.y+c+o;break;case"left":l=t.x-a-o,s=t.y+c/2-i/2;break;case"right":l=t.x+u+o,s=t.y+c/2-i/2}return[l,s]}function AL(e){return e==="center"||e==="middle"}function lje(e,t,n){var r=$6(e).queryOptionMap,a=r.keys()[0];if(!(!a||a==="series")){var i=Mp(t,a,r.get(a),{useDefault:!1,enableAll:!1,enableNone:!1}),o=i.models[0];if(o){var l=n.getViewOfComponentModel(o),s;if(l.group.traverse(function(u){var c=Dt(u).tooltipConfig;if(c&&c.name===e.name)return s=u,!0}),s)return{componentMainType:a,componentIndex:o.componentIndex,el:s}}}}function sje(e){Kt(Wp),e.registerComponentModel(qHe),e.registerComponentView(rje),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},er),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},er)}var uje=["rect","polygon","keep","clear"];function cje(e,t){var n=Cn(e?e.brush:[]);if(n.length){var r=[];K(n,function(s){var u=s.hasOwnProperty("toolbox")?s.toolbox:[];u instanceof Array&&(r=r.concat(u))});var a=e&&e.toolbox;He(a)&&(a=a[0]),a||(a={feature:{}},e.toolbox=[a]);var i=a.feature||(a.feature={}),o=i.brush||(i.brush={}),l=o.type||(o.type=[]);l.push.apply(l,r),fje(l),t&&!l.length&&l.push.apply(l,uje)}}function fje(e){var t={};K(e,function(n){t[n]=1}),e.length=0,K(t,function(n,r){e.push(r)})}var EL=K;function IL(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function Jx(e,t,n){var r={};return EL(t,function(i){var o=r[i]=a();EL(e[i],function(l,s){if(wr.isValidType(s)){var u={type:s,visual:l};n&&n(u,i),o[s]=new wr(u),s==="opacity"&&(u=kt(u),u.type="colorAlpha",o.__hidden.__alphaForOpacity=new wr(u))}})}),r;function a(){var i=function(){};i.prototype.__hidden=i.prototype;var o=new i;return o}}function AU(e,t,n){var r;K(n,function(a){t.hasOwnProperty(a)&&IL(t[a])&&(r=!0)}),r&&K(n,function(a){t.hasOwnProperty(a)&&IL(t[a])?e[a]=kt(t[a]):delete e[a]})}function dje(e,t,n,r,a,i){var o={};K(e,function(f){var d=wr.prepareVisualTypes(t[f]);o[f]=d});var l;function s(f){return v8(n,l,f)}function u(f,d){Kj(n,l,f,d)}n.each(c);function c(f,d){l=f;var h=n.getRawDataItem(l);if(!(h&&h.visualMap===!1))for(var v=r.call(a,f),p=t[v],g=o[v],m=0,b=g.length;m<b;m++){var _=g[m];p[_]&&p[_].applyVisual(f,s,u)}}}function hje(e,t,n,r){var a={};return K(e,function(i){var o=wr.prepareVisualTypes(t[i]);a[i]=o}),{progress:function(o,l){var s;r!=null&&(s=l.getDimensionIndex(r));function u(x){return v8(l,f,x)}function c(x,S){Kj(l,f,x,S)}for(var f,d=l.getStore();(f=o.next())!=null;){var h=l.getRawDataItem(f);if(!(h&&h.visualMap===!1))for(var v=r!=null?d.get(s,f):f,p=n(v),g=t[p],m=a[p],b=0,_=m.length;b<_;b++){var w=m[b];g[w]&&g[w].applyVisual(v,u,c)}}}}}function vje(e){var t=e.brushType,n={point:function(r){return DL[t].point(r,n,e)},rect:function(r){return DL[t].rect(r,n,e)}};return n}var DL={lineX:LL(0),lineY:LL(1),rect:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])},rect:function(e,t,n){return e&&n.boundingRect.intersect(e)}},polygon:{point:function(e,t,n){return e&&n.boundingRect.contain(e[0],e[1])&&Ku(n.range,e[0],e[1])},rect:function(e,t,n){var r=n.range;if(!e||r.length<=1)return!1;var a=e.x,i=e.y,o=e.width,l=e.height,s=r[0];if(Ku(r,a,i)||Ku(r,a+o,i)||Ku(r,a,i+l)||Ku(r,a+o,i+l)||qt.create(e).contain(s[0],s[1])||pv(a,i,a+o,i,r)||pv(a,i,a,i+l,r)||pv(a+o,i,a+o,i+l,r)||pv(a,i+l,a+o,i+l,r))return!0}}};function LL(e){var t=["x","y"],n=["width","height"];return{point:function(r,a,i){if(r){var o=i.range,l=r[e];return rv(l,o)}},rect:function(r,a,i){if(r){var o=i.range,l=[r[t[e]],r[t[e]]+r[n[e]]];return l[1]<l[0]&&l.reverse(),rv(l[0],o)||rv(l[1],o)||rv(o[0],l)||rv(o[1],l)}}}}function rv(e,t){return t[0]<=e&&e<=t[1]}var PL=["inBrush","outOfBrush"],R9="__ecBrushSelect",Qx="__ecInBrushSelectEvent";function EU(e){e.eachComponent({mainType:"brush"},function(t){var n=t.brushTargetManager=new xC(t.option,e);n.setInputRanges(t.areas,e)})}function pje(e,t,n){var r=[],a,i;e.eachComponent({mainType:"brush"},function(o){n&&n.type==="takeGlobalCursor"&&o.setBrushOption(n.key==="brush"?n.brushOption:{brushType:!1})}),EU(e),e.eachComponent({mainType:"brush"},function(o,l){var s={brushId:o.id,brushIndex:l,brushName:o.name,areas:kt(o.areas),selected:[]};r.push(s);var u=o.option,c=u.brushLink,f=[],d=[],h=[],v=!1;l||(a=u.throttleType,i=u.throttleDelay);var p=Ge(o.areas,function(x){var S=bje[x.brushType],C=_t({boundingRect:S?S(x):void 0},x);return C.selectors=vje(C),C}),g=Jx(o.option,PL,function(x){x.mappingMethod="fixed"});He(c)&&K(c,function(x){f[x]=1});function m(x){return c==="all"||!!f[x]}function b(x){return!!x.length}e.eachSeries(function(x,S){var C=h[S]=[];x.subType==="parallel"?_(x,S):w(x,S,C)});function _(x,S){var C=x.coordinateSystem;v=v||C.hasAxisBrushed(),m(S)&&C.eachActiveState(x.getData(),function(T,z){T==="active"&&(d[z]=1)})}function w(x,S,C){if(!(!x.brushSelector||yje(o,S))&&(K(p,function(z){o.brushTargetManager.controlSeries(z,x,e)&&C.push(z),v=v||b(C)}),m(S)&&b(C))){var T=x.getData();T.each(function(z){RL(x,C,T,z)&&(d[z]=1)})}}e.eachSeries(function(x,S){var C={seriesId:x.id,seriesIndex:S,seriesName:x.name,dataIndex:[]};s.selected.push(C);var T=h[S],z=x.getData(),A=m(S)?function(E){return d[E]?(C.dataIndex.push(z.getRawIndex(E)),"inBrush"):"outOfBrush"}:function(E){return RL(x,T,z,E)?(C.dataIndex.push(z.getRawIndex(E)),"inBrush"):"outOfBrush"};(m(S)?v:b(T))&&dje(PL,g,z,A)})}),gje(t,a,i,r,n)}function gje(e,t,n,r,a){if(a){var i=e.getZr();if(!i[Qx]){i[R9]||(i[R9]=mje);var o=yh(i,R9,n,t);o(e,r)}}}function mje(e,t){if(!e.isDisposed()){var n=e.getZr();n[Qx]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[Qx]=!1}}function RL(e,t,n,r){for(var a=0,i=t.length;a<i;a++){var o=t[a];if(e.brushSelector(r,n,o.selectors,o))return!0}}function yje(e,t){var n=e.option.seriesIndex;return n!=null&&n!=="all"&&(He(n)?Yt(n,t)<0:t!==n)}var bje={rect:function(e){return OL(e.range)},polygon:function(e){for(var t,n=e.range,r=0,a=n.length;r<a;r++){t=t||[[1/0,-1/0],[1/0,-1/0]];var i=n[r];i[0]<t[0][0]&&(t[0][0]=i[0]),i[0]>t[0][1]&&(t[0][1]=i[0]),i[1]<t[1][0]&&(t[1][0]=i[1]),i[1]>t[1][1]&&(t[1][1]=i[1])}return t&&OL(t)}};function OL(e){return new qt(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var _je=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){this.ecModel=n,this.api=r,this.model,(this._brushController=new Z8(r.getZr())).on("brush",lt(this._onBrush,this)).mount()},t.prototype.render=function(n,r,a,i){this.model=n,this._updateController(n,r,a,i)},t.prototype.updateTransform=function(n,r,a,i){EU(r),this._updateController(n,r,a,i)},t.prototype.updateVisual=function(n,r,a,i){this.updateTransform(n,r,a,i)},t.prototype.updateView=function(n,r,a,i){this._updateController(n,r,a,i)},t.prototype._updateController=function(n,r,a,i){(!i||i.$from!==n.id)&&this._brushController.setPanels(n.brushTargetManager.makePanelOpts(a)).enableBrush(n.brushOption).updateCovers(n.areas.slice())},t.prototype.dispose=function(){this._brushController.dispose()},t.prototype._onBrush=function(n){var r=this.model.id,a=this.model.brushTargetManager.setOutputRanges(n.areas,this.ecModel);(!n.isEnd||n.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:r,areas:kt(a),$from:r}),n.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:r,areas:kt(a),$from:r})},t.type="brush",t}(Hn),wje="#ddd",xje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.areas=[],n.brushOption={},n}return t.prototype.optionUpdated=function(n,r){var a=this.option;!r&&AU(a,n,["inBrush","outOfBrush"]);var i=a.inBrush=a.inBrush||{};a.outOfBrush=a.outOfBrush||{color:wje},i.hasOwnProperty("liftZ")||(i.liftZ=5)},t.prototype.setAreas=function(n){n&&(this.areas=Ge(n,function(r){return NL(this.option,r)},this))},t.prototype.setBrushOption=function(n){this.brushOption=NL(this.option,n),this.brushType=this.brushOption.brushType},t.type="brush",t.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],t.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},t}(Qt);function NL(e,t){return jt({brushType:e.brushType,brushMode:e.brushMode,transformable:e.transformable,brushStyle:new yn(e.brushStyle).getItemStyle(),removeOnClick:e.removeOnClick,z:e.z},t,!0)}var Sje=["rect","polygon","lineX","lineY","keep","clear"],Cje=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.render=function(n,r,a){var i,o,l;r.eachComponent({mainType:"brush"},function(s){i=s.brushType,o=s.brushOption.brushMode||"single",l=l||!!s.areas.length}),this._brushType=i,this._brushMode=o,K(n.get("type",!0),function(s){n.setIconStatus(s,(s==="keep"?o==="multiple":s==="clear"?l:s===i)?"emphasis":"normal")})},t.prototype.updateView=function(n,r,a){this.render(n,r,a)},t.prototype.getIcons=function(){var n=this.model,r=n.get("icon",!0),a={};return K(n.get("type",!0),function(i){r[i]&&(a[i]=r[i])}),a},t.prototype.onclick=function(n,r,a){var i=this._brushType,o=this._brushMode;a==="clear"?(r.dispatchAction({type:"axisAreaSelect",intervals:[]}),r.dispatchAction({type:"brush",command:"clear",areas:[]})):r.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:a==="keep"?i:i===a?!1:a,brushMode:a==="keep"?o==="multiple"?"single":"multiple":o}})},t.getDefaultOption=function(n){var r={show:!0,type:Sje.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:n.getLocaleModel().get(["toolbox","brush","title"])};return r},t}(ci);function Tje(e){e.registerComponentView(_je),e.registerComponentModel(xje),e.registerPreprocessor(cje),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,pje),e.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(t,n){n.eachComponent({mainType:"brush",query:t},function(r){r.setAreas(t.areas)})}),e.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},er),e.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},er),Hf("brush",Cje)}var kje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.type="title",t.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},t}(Qt),zje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.render=function(n,r,a){if(this.group.removeAll(),!!n.get("show")){var i=this.group,o=n.getModel("textStyle"),l=n.getModel("subtextStyle"),s=n.get("textAlign"),u=Ot(n.get("textBaseline"),n.get("textVerticalAlign")),c=new on({style:In(o,{text:n.get("text"),fill:o.getTextColor()},{disableBox:!0}),z2:10}),f=c.getBoundingRect(),d=n.get("subtext"),h=new on({style:In(l,{text:d,fill:l.getTextColor(),y:f.height+n.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),v=n.get("link"),p=n.get("sublink"),g=n.get("triggerEvent",!0);c.silent=!v&&!g,h.silent=!p&&!g,v&&c.on("click",function(){_m(v,"_"+n.get("target"))}),p&&h.on("click",function(){_m(p,"_"+n.get("subtarget"))}),Dt(c).eventData=Dt(h).eventData=g?{componentType:"title",componentIndex:n.componentIndex}:null,i.add(c),d&&i.add(h);var m=i.getBoundingRect(),b=n.getBoxLayoutParams();b.width=m.width,b.height=m.height;var _=fr(b,{width:a.getWidth(),height:a.getHeight()},n.get("padding"));s||(s=n.get("left")||n.get("right"),s==="middle"&&(s="center"),s==="right"?_.x+=_.width:s==="center"&&(_.x+=_.width/2)),u||(u=n.get("top")||n.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),i.x=_.x,i.y=_.y,i.markRedraw();var w={align:s,verticalAlign:u};c.setStyle(w),h.setStyle(w),m=i.getBoundingRect();var x=_.margin,S=n.getItemStyle(["color","opacity"]);S.fill=n.get("backgroundColor");var C=new rn({shape:{x:m.x-x[3],y:m.y-x[0],width:m.width+x[1]+x[3],height:m.height+x[0]+x[2],r:n.get("borderRadius")},style:S,subPixelOptimize:!0,silent:!0});i.add(C)}},t.type="title",t}(Hn);function Mje(e){e.registerComponentModel(kje),e.registerComponentView(zje)}var $L=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode="box",n}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a),this._initData()},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),this._initData()},t.prototype.setCurrentIndex=function(n){n==null&&(n=this.option.currentIndex);var r=this._data.count();this.option.loop?n=(n%r+r)%r:(n>=r&&(n=r-1),n<0&&(n=0)),this.option.currentIndex=n},t.prototype.getCurrentIndex=function(){return this.option.currentIndex},t.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},t.prototype.setPlayState=function(n){this.option.autoPlay=!!n},t.prototype.getPlayState=function(){return!!this.option.autoPlay},t.prototype._initData=function(){var n=this.option,r=n.data||[],a=n.axisType,i=this._names=[],o;a==="category"?(o=[],K(r,function(u,c){var f=ur(sh(u),""),d;wt(u)?(d=kt(u),d.value=c):d=c,o.push(d),i.push(f)})):o=r;var l={category:"ordinal",time:"time",value:"number"}[a]||"number",s=this._data=new ua([{name:"value",type:l}],this);s.initData(o,i)},t.prototype.getData=function(){return this._data},t.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},t.type="timeline",t.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},t}(Qt),IU=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="timeline.slider",t.defaultOption=su($L.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),t}($L);sr(IU,h3.prototype);var Aje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="timeline",t}(Hn),Eje=function(e){Se(t,e);function t(n,r,a,i){var o=e.call(this,n,r,a)||this;return o.type=i||"value",o}return t.prototype.getLabelModel=function(){return this.model.getModel("label")},t.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},t}(io),O9=Math.PI,VL=an(),Ije=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(n,r){this.api=r},t.prototype.render=function(n,r,a){if(this.model=n,this.api=a,this.ecModel=r,this.group.removeAll(),n.get("show",!0)){var i=this._layout(n,a),o=this._createGroup("_mainGroup"),l=this._createGroup("_labelGroup"),s=this._axis=this._createAxis(i,n);n.formatTooltip=function(u){var c=s.scale.getLabel({value:u});return Cr("nameValue",{noName:!0,value:c})},K(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](i,o,s,n)},this),this._renderAxisLabel(i,l,s,n),this._position(i,n)}this._doPlayStop(),this._updateTicksStatus()},t.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},t.prototype.dispose=function(){this._clearTimer()},t.prototype._layout=function(n,r){var a=n.get(["label","position"]),i=n.get("orient"),o=Lje(n,r),l;a==null||a==="auto"?l=i==="horizontal"?o.y+o.height/2<r.getHeight()/2?"-":"+":o.x+o.width/2<r.getWidth()/2?"+":"-":it(a)?l={horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[i][a]:l=a;var s={horizontal:"center",vertical:l>=0||l==="+"?"left":"right"},u={horizontal:l>=0||l==="+"?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:O9/2},f=i==="vertical"?o.height:o.width,d=n.getModel("controlStyle"),h=d.get("show",!0),v=h?d.get("itemSize"):0,p=h?d.get("itemGap"):0,g=v+p,m=n.get(["label","rotate"])||0;m=m*O9/180;var b,_,w,x=d.get("position",!0),S=h&&d.get("showPlayBtn",!0),C=h&&d.get("showPrevBtn",!0),T=h&&d.get("showNextBtn",!0),z=0,A=f;x==="left"||x==="bottom"?(S&&(b=[0,0],z+=g),C&&(_=[z,0],z+=g),T&&(w=[A-v,0],A-=g)):(S&&(b=[A-v,0],A-=g),C&&(_=[0,0],z+=g),T&&(w=[A-v,0],A-=g));var E=[z,A];return n.get("inverse")&&E.reverse(),{viewRect:o,mainLength:f,orient:i,rotation:c[i],labelRotation:m,labelPosOpt:l,labelAlign:n.get(["label","align"])||s[i],labelBaseline:n.get(["label","verticalAlign"])||n.get(["label","baseline"])||u[i],playPosition:b,prevBtnPosition:_,nextBtnPosition:w,axisExtent:E,controlSize:v,controlGap:p}},t.prototype._position=function(n,r){var a=this._mainGroup,i=this._labelGroup,o=n.viewRect;if(n.orient==="vertical"){var l=Ga(),s=o.x,u=o.y+o.height;$o(l,l,[-s,-u]),Jc(l,l,-O9/2),$o(l,l,[s,u]),o=o.clone(),o.applyTransform(l)}var c=b(o),f=b(a.getBoundingRect()),d=b(i.getBoundingRect()),h=[a.x,a.y],v=[i.x,i.y];v[0]=h[0]=c[0][0];var p=n.labelPosOpt;if(p==null||it(p)){var g=p==="+"?0:1;_(h,f,c,1,g),_(v,d,c,1,1-g)}else{var g=p>=0?0:1;_(h,f,c,1,g),v[1]=h[1]+p}a.setPosition(h),i.setPosition(v),a.rotation=i.rotation=n.rotation,m(a),m(i);function m(w){w.originX=c[0][0]-w.x,w.originY=c[1][0]-w.y}function b(w){return[[w.x,w.x+w.width],[w.y,w.y+w.height]]}function _(w,x,S,C,T){w[C]+=S[C][T]-x[C][T]}},t.prototype._createAxis=function(n,r){var a=r.getData(),i=r.get("axisType"),o=Dje(r,i);o.getTicks=function(){return a.mapArray(["value"],function(u){return{value:u}})};var l=a.getDataExtent("value");o.setExtent(l[0],l[1]),o.calcNiceTicks();var s=new Eje("value",o,n.axisExtent,i);return s.model=r,s},t.prototype._createGroup=function(n){var r=this[n]=new At;return this.group.add(r),r},t.prototype._renderAxisLine=function(n,r,a,i){var o=a.getExtent();if(i.get(["lineStyle","show"])){var l=new mr({shape:{x1:o[0],y1:0,x2:o[1],y2:0},style:$e({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});r.add(l);var s=this._progressLine=new mr({shape:{x1:o[0],x2:this._currentPointer?this._currentPointer.x:o[0],y1:0,y2:0},style:_t({lineCap:"round",lineWidth:l.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});r.add(s)}},t.prototype._renderAxisTick=function(n,r,a,i){var o=this,l=i.getData(),s=a.scale.getTicks();this._tickSymbols=[],K(s,function(u){var c=a.dataToCoord(u.value),f=l.getItemModel(u.value),d=f.getModel("itemStyle"),h=f.getModel(["emphasis","itemStyle"]),v=f.getModel(["progress","itemStyle"]),p={x:c,y:0,onclick:lt(o._changeTimeline,o,u.value)},g=BL(f,d,r,p);g.ensureState("emphasis").style=h.getItemStyle(),g.ensureState("progress").style=v.getItemStyle(),Sc(g);var m=Dt(g);f.get("tooltip")?(m.dataIndex=u.value,m.dataModel=i):m.dataIndex=m.dataModel=null,o._tickSymbols.push(g)})},t.prototype._renderAxisLabel=function(n,r,a,i){var o=this,l=a.getLabelModel();if(l.get("show")){var s=i.getData(),u=a.getViewLabels();this._tickLabels=[],K(u,function(c){var f=c.tickValue,d=s.getItemModel(f),h=d.getModel("label"),v=d.getModel(["emphasis","label"]),p=d.getModel(["progress","label"]),g=a.dataToCoord(c.tickValue),m=new on({x:g,y:0,rotation:n.labelRotation-n.rotation,onclick:lt(o._changeTimeline,o,f),silent:!1,style:In(h,{text:c.formattedLabel,align:n.labelAlign,verticalAlign:n.labelBaseline})});m.ensureState("emphasis").style=In(v),m.ensureState("progress").style=In(p),r.add(m),Sc(m),VL(m).dataIndex=f,o._tickLabels.push(m)})}},t.prototype._renderControl=function(n,r,a,i){var o=n.controlSize,l=n.rotation,s=i.getModel("controlStyle").getItemStyle(),u=i.getModel(["emphasis","controlStyle"]).getItemStyle(),c=i.getPlayState(),f=i.get("inverse",!0);d(n.nextBtnPosition,"next",lt(this._changeTimeline,this,f?"-":"+")),d(n.prevBtnPosition,"prev",lt(this._changeTimeline,this,f?"+":"-")),d(n.playPosition,c?"stop":"play",lt(this._handlePlayClick,this,!c),!0);function d(h,v,p,g){if(h){var m=Ji(Ot(i.get(["controlStyle",v+"BtnSize"]),o),o),b=[0,-m/2,m,m],_=Pje(i,v+"Icon",b,{x:h[0],y:h[1],originX:o/2,originY:0,rotation:g?-l:0,rectHover:!0,style:s,onclick:p});_.ensureState("emphasis").style=u,r.add(_),Sc(_)}}},t.prototype._renderCurrentPointer=function(n,r,a,i){var o=i.getData(),l=i.getCurrentIndex(),s=o.getItemModel(l).getModel("checkpointStyle"),u=this,c={onCreate:function(f){f.draggable=!0,f.drift=lt(u._handlePointerDrag,u),f.ondragend=lt(u._handlePointerDragend,u),FL(f,u._progressLine,l,a,i,!0)},onUpdate:function(f){FL(f,u._progressLine,l,a,i)}};this._currentPointer=BL(s,s,this._mainGroup,{},this._currentPointer,c)},t.prototype._handlePlayClick=function(n){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:n,from:this.uid})},t.prototype._handlePointerDrag=function(n,r,a){this._clearTimer(),this._pointerChangeTimeline([a.offsetX,a.offsetY])},t.prototype._handlePointerDragend=function(n){this._pointerChangeTimeline([n.offsetX,n.offsetY],!0)},t.prototype._pointerChangeTimeline=function(n,r){var a=this._toAxisCoord(n)[0],i=this._axis,o=gi(i.getExtent().slice());a>o[1]&&(a=o[1]),a<o[0]&&(a=o[0]),this._currentPointer.x=a,this._currentPointer.markRedraw();var l=this._progressLine;l&&(l.shape.x2=a,l.dirty());var s=this._findNearestTick(a),u=this.model;(r||s!==u.getCurrentIndex()&&u.get("realtime"))&&this._changeTimeline(s)},t.prototype._doPlayStop=function(){var n=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout(function(){var r=n.model;n._changeTimeline(r.getCurrentIndex()+(r.get("rewind",!0)?-1:1))},this.model.get("playInterval")))},t.prototype._toAxisCoord=function(n){var r=this._mainGroup.getLocalTransform();return Yi(n,r,!0)},t.prototype._findNearestTick=function(n){var r=this.model.getData(),a=1/0,i,o=this._axis;return r.each(["value"],function(l,s){var u=o.dataToCoord(l),c=Math.abs(u-n);c<a&&(a=c,i=s)}),i},t.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},t.prototype._changeTimeline=function(n){var r=this.model.getCurrentIndex();n==="+"?n=r+1:n==="-"&&(n=r-1),this.api.dispatchAction({type:"timelineChange",currentIndex:n,from:this.uid})},t.prototype._updateTicksStatus=function(){var n=this.model.getCurrentIndex(),r=this._tickSymbols,a=this._tickLabels;if(r)for(var i=0;i<r.length;i++)r&&r[i]&&r[i].toggleState("progress",i<n);if(a)for(var i=0;i<a.length;i++)a&&a[i]&&a[i].toggleState("progress",VL(a[i]).dataIndex<=n)},t.type="timeline.slider",t}(Aje);function Dje(e,t){if(t=t||e.get("type"),t)switch(t){case"category":return new b3({ordinalMeta:e.getCategories(),extent:[1/0,-1/0]});case"time":return new S8({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new Al}}function Lje(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function Pje(e,t,n,r){var a=r.style,i=Lp(e.get(["controlStyle",t]),r||{},new qt(n[0],n[1],n[2],n[3]));return a&&i.setStyle(a),i}function BL(e,t,n,r,a,i){var o=t.get("color");if(a)a.setColor(o),n.add(a),i&&i.onUpdate(a);else{var l=e.get("symbol");a=lr(l,-1,-1,2,2,o),a.setStyle("strokeNoScale",!0),n.add(a),i&&i.onCreate(a)}var s=t.getItemStyle(["color"]);a.setStyle(s),r=jt({rectHover:!0,z2:100},r,!0);var u=bh(e.get("symbolSize"));r.scaleX=u[0]/2,r.scaleY=u[1]/2;var c=ef(e.get("symbolOffset"),u);c&&(r.x=(r.x||0)+c[0],r.y=(r.y||0)+c[1]);var f=e.get("symbolRotate");return r.rotation=(f||0)*Math.PI/180||0,a.attr(r),a.updateTransform(),a}function FL(e,t,n,r,a,i){if(!e.dragging){var o=a.getModel("checkpointStyle"),l=r.dataToCoord(a.getData().get("value",n));if(i||!o.get("animation",!0))e.attr({x:l,y:0}),t&&t.attr({shape:{x2:l}});else{var s={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};e.stopAnimation(null,!0),e.animateTo({x:l,y:0},s),t&&t.animateTo({shape:{x2:l}},s)}}}function Rje(e){e.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},function(t,n,r){var a=n.getComponent("timeline");return a&&t.currentIndex!=null&&(a.setCurrentIndex(t.currentIndex),!a.get("loop",!0)&&a.isIndexMax()&&a.getPlayState()&&(a.setPlayState(!1),r.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),n.resetOption("timeline",{replaceMerge:a.get("replaceMerge",!0)}),_t({currentIndex:a.option.currentIndex},t)}),e.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},function(t,n){var r=n.getComponent("timeline");r&&t.playState!=null&&r.setPlayState(t.playState)})}function Oje(e){var t=e&&e.timeline;He(t)||(t=t?[t]:[]),K(t,function(n){n&&Nje(n)})}function Nje(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),HL(e),Ju(e,"controlPosition")){var r=e.controlStyle||(e.controlStyle={});Ju(r,"position")||(r.position=e.controlPosition),r.position==="none"&&!Ju(r,"show")&&(r.show=!1,delete r.position),delete e.controlPosition}K(e.data||[],function(a){wt(a)&&!He(a)&&(!Ju(a,"value")&&Ju(a,"name")&&(a.value=a.name),HL(a))})}function HL(e){var t=e.itemStyle||(e.itemStyle={}),n=t.emphasis||(t.emphasis={}),r=e.label||e.label||{},a=r.normal||(r.normal={}),i={normal:1,emphasis:1};K(r,function(o,l){!i[l]&&!Ju(a,l)&&(a[l]=o)}),n.label&&!Ju(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function Ju(e,t){return e.hasOwnProperty(t)}function $je(e){e.registerComponentModel(IU),e.registerComponentView(Ije),e.registerSubTypeDefaulter("timeline",function(){return"slider"}),Rje(e),e.registerPreprocessor(Oje)}function TC(e,t){if(!e)return!1;for(var n=He(e)?e:[e],r=0;r<n.length;r++)if(n[r]&&n[r][t])return!0;return!1}function w0(e){Nc(e,"label",["show"])}var x0=an(),Il=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.createdBySelf=!1,n}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a),this._mergeOption(n,a,!1,!0)},t.prototype.isAnimationEnabled=function(){if(Jt.node)return!1;var n=this.__hostSeries;return this.getShallow("animation")&&n&&n.isAnimationEnabled()},t.prototype.mergeOption=function(n,r){this._mergeOption(n,r,!1,!1)},t.prototype._mergeOption=function(n,r,a,i){var o=this.mainType;a||r.eachSeries(function(l){var s=l.get(this.mainType,!0),u=x0(l)[o];if(!s||!s.data){x0(l)[o]=null;return}u?u._mergeOption(s,r,!0):(i&&w0(s),K(s.data,function(c){c instanceof Array?(w0(c[0]),w0(c[1])):w0(c)}),u=this.createMarkerModelFromSeries(s,this,r),$e(u,{mainType:this.mainType,seriesIndex:l.seriesIndex,name:l.name,createdBySelf:!0}),u.__hostSeries=l),x0(l)[o]=u},this)},t.prototype.formatTooltip=function(n,r,a){var i=this.getData(),o=this.getRawValue(n),l=i.getName(n);return Cr("section",{header:this.name,blocks:[Cr("nameValue",{name:l,value:o,noName:!l,noValue:o==null})]})},t.prototype.getData=function(){return this._data},t.prototype.setData=function(n){this._data=n},t.prototype.getDataParams=function(n,r){var a=h3.prototype.getDataParams.call(this,n,r),i=this.__hostSeries;return i&&(a.seriesId=i.id,a.seriesName=i.name,a.seriesType=i.subType),a},t.getMarkerModelFromSeries=function(n,r){return x0(n)[r]},t.type="marker",t.dependencies=["series","grid","polar","geo"],t}(Qt);sr(Il,h3.prototype);var Vje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(n,r,a){return new t(n,r,a)},t.type="markPoint",t.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},t}(Il);function e5(e){return!(isNaN(parseFloat(e.x))&&isNaN(parseFloat(e.y)))}function Bje(e){return!isNaN(parseFloat(e.x))&&!isNaN(parseFloat(e.y))}function S0(e,t,n,r,a,i){var o=[],l=Zs(t,r),s=l?t.getCalculationInfo("stackResultDimension"):r,u=kC(t,s,e),c=t.indicesOfNearest(s,u)[0];o[a]=t.get(n,c),o[i]=t.get(s,c);var f=t.get(r,c),d=To(t.get(r,c));return d=Math.min(d,20),d>=0&&(o[i]=+o[i].toFixed(d)),[o,f]}var N9={min:$t(S0,"min"),max:$t(S0,"max"),average:$t(S0,"average"),median:$t(S0,"median")};function ap(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,a=r&&r.dimensions;if(!Bje(t)&&!He(t.coord)&&He(a)){var i=DU(t,n,r,e);if(t=kt(t),t.type&&N9[t.type]&&i.baseAxis&&i.valueAxis){var o=Yt(a,i.baseAxis.dim),l=Yt(a,i.valueAxis.dim),s=N9[t.type](n,i.baseDataDim,i.valueDataDim,o,l);t.coord=s[0],t.value=s[1]}else t.coord=[t.xAxis!=null?t.xAxis:t.radiusAxis,t.yAxis!=null?t.yAxis:t.angleAxis]}if(t.coord==null||!He(a))t.coord=[];else for(var u=t.coord,c=0;c<2;c++)N9[u[c]]&&(u[c]=kC(n,n.mapDimension(a[c]),u[c]));return t}}function DU(e,t,n,r){var a={};return e.valueIndex!=null||e.valueDim!=null?(a.valueDataDim=e.valueIndex!=null?t.getDimension(e.valueIndex):e.valueDim,a.valueAxis=n.getAxis(Fje(r,a.valueDataDim)),a.baseAxis=n.getOtherAxis(a.valueAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim)):(a.baseAxis=r.getBaseAxis(),a.valueAxis=n.getOtherAxis(a.baseAxis),a.baseDataDim=t.mapDimension(a.baseAxis.dim),a.valueDataDim=t.mapDimension(a.valueAxis.dim)),a}function Fje(e,t){var n=e.getData().getDimensionInfo(t);return n&&n.coordDim}function ip(e,t){return e&&e.containData&&t.coord&&!e5(t)?e.containData(t.coord):!0}function Hje(e,t,n){return e&&e.containZone&&t.coord&&n.coord&&!e5(t)&&!e5(n)?e.containZone(t.coord,n.coord):!0}function LU(e,t){return e?function(n,r,a,i){var o=i<2?n.coord&&n.coord[i]:n.value;return Rs(o,t[i])}:function(n,r,a,i){return Rs(n.value,t[i])}}function kC(e,t,n){if(n==="average"){var r=0,a=0;return e.each(t,function(i,o){isNaN(i)||(r+=i,a++)}),r/a}else return n==="median"?e.getMedian(t):e.getDataExtent(t)[n==="max"?1:0]}var $9=an(),zC=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.init=function(){this.markerGroupMap=pt()},t.prototype.render=function(n,r,a){var i=this,o=this.markerGroupMap;o.each(function(l){$9(l).keep=!1}),r.eachSeries(function(l){var s=Il.getMarkerModelFromSeries(l,i.type);s&&i.renderSeries(l,s,r,a)}),o.each(function(l){!$9(l).keep&&i.group.remove(l.group)})},t.prototype.markKeep=function(n){$9(n).keep=!0},t.prototype.toggleBlurSeries=function(n,r){var a=this;K(n,function(i){var o=Il.getMarkerModelFromSeries(i,a.type);if(o){var l=o.getData();l.eachItemGraphicEl(function(s){s&&(r?wH(s):G6(s))})}})},t.type="marker",t}(Hn);function jL(e,t,n){var r=t.coordinateSystem;e.each(function(a){var i=e.getItemModel(a),o,l=et(i.get("x"),n.getWidth()),s=et(i.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(s))o=[l,s];else if(t.getMarkerPosition)o=t.getMarkerPosition(e.getValues(e.dimensions,a));else if(r){var u=e.get(r.dimensions[0],a),c=e.get(r.dimensions[1],a);o=r.dataToPoint([u,c])}isNaN(l)||(o[0]=l),isNaN(s)||(o[1]=s),e.setItemLayout(a,o)})}var jje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,a){r.eachSeries(function(i){var o=Il.getMarkerModelFromSeries(i,"markPoint");o&&(jL(o.getData(),i,a),this.markerGroupMap.get(i.id).updateLayout())},this)},t.prototype.renderSeries=function(n,r,a,i){var o=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,new Vp),f=qje(o,n,r);r.setData(f),jL(r.getData(),n,i),f.each(function(d){var h=f.getItemModel(d),v=h.getShallow("symbol"),p=h.getShallow("symbolSize"),g=h.getShallow("symbolRotate"),m=h.getShallow("symbolOffset"),b=h.getShallow("symbolKeepAspect");if(yt(v)||yt(p)||yt(g)||yt(m)){var _=r.getRawValue(d),w=r.getDataParams(d);yt(v)&&(v=v(_,w)),yt(p)&&(p=p(_,w)),yt(g)&&(g=g(_,w)),yt(m)&&(m=m(_,w))}var x=h.getModel("itemStyle").getItemStyle(),S=Rp(s,"color");x.fill||(x.fill=S),f.setItemVisual(d,{symbol:v,symbolSize:p,symbolRotate:g,symbolOffset:m,symbolKeepAspect:b,style:x})}),c.updateData(f),this.group.add(c.group),f.eachItemGraphicEl(function(d){d.traverse(function(h){Dt(h).dataModel=r})}),this.markKeep(c),c.group.silent=r.get("silent")||n.get("silent")},t.type="markPoint",t}(zC);function qje(e,t,n){var r;e?r=Ge(e&&e.dimensions,function(l){var s=t.getData().getDimensionInfo(t.getData().mapDimension(l))||{};return $e($e({},s),{name:l,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var a=new ua(r,n),i=Ge(n.get("data"),$t(ap,t));e&&(i=_n(i,$t(ip,e)));var o=LU(!!e,r);return a.initData(i,null,o),a}function Gje(e){e.registerComponentModel(Vje),e.registerComponentView(jje),e.registerPreprocessor(function(t){TC(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var Wje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(n,r,a){return new t(n,r,a)},t.type="markLine",t.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},t}(Il),C0=an(),Uje=function(e,t,n,r){var a=e.getData(),i;if(He(r))i=r;else{var o=r.type;if(o==="min"||o==="max"||o==="average"||o==="median"||r.xAxis!=null||r.yAxis!=null){var l=void 0,s=void 0;if(r.yAxis!=null||r.xAxis!=null)l=t.getAxis(r.yAxis!=null?"y":"x"),s=Mr(r.yAxis,r.xAxis);else{var u=DU(r,a,t,e);l=u.valueAxis;var c=Tq(a,u.valueDataDim);s=kC(a,c,o)}var f=l.dim==="x"?0:1,d=1-f,h=kt(r),v={coord:[]};h.type=null,h.coord=[],h.coord[d]=-1/0,v.coord[d]=1/0;var p=n.get("precision");p>=0&&ln(s)&&(s=+s.toFixed(Math.min(p,20))),h.coord[f]=v.coord[f]=s,i=[h,v,{type:o,valueIndex:r.valueIndex,value:s}]}else i=[]}var g=[ap(e,i[0]),ap(e,i[1]),$e({},i[2])];return g[2].type=g[2].type||null,jt(g[2],g[0]),jt(g[2],g[1]),g};function Gm(e){return!isNaN(e)&&!isFinite(e)}function qL(e,t,n,r){var a=1-e,i=r.dimensions[e];return Gm(t[a])&&Gm(n[a])&&t[e]===n[e]&&r.getAxis(i).containData(t[e])}function Yje(e,t){if(e.type==="cartesian2d"){var n=t[0].coord,r=t[1].coord;if(n&&r&&(qL(1,n,r,e)||qL(0,n,r,e)))return!0}return ip(e,t[0])&&ip(e,t[1])}function V9(e,t,n,r,a){var i=r.coordinateSystem,o=e.getItemModel(t),l,s=et(o.get("x"),a.getWidth()),u=et(o.get("y"),a.getHeight());if(!isNaN(s)&&!isNaN(u))l=[s,u];else{if(r.getMarkerPosition)l=r.getMarkerPosition(e.getValues(e.dimensions,t));else{var c=i.dimensions,f=e.get(c[0],t),d=e.get(c[1],t);l=i.dataToPoint([f,d])}if(nf(i,"cartesian2d")){var h=i.getAxis("x"),v=i.getAxis("y"),c=i.dimensions;Gm(e.get(c[0],t))?l[0]=h.toGlobalCoord(h.getExtent()[n?0:1]):Gm(e.get(c[1],t))&&(l[1]=v.toGlobalCoord(v.getExtent()[n?0:1]))}isNaN(s)||(l[0]=s),isNaN(u)||(l[1]=u)}e.setItemLayout(t,l)}var Kje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,a){r.eachSeries(function(i){var o=Il.getMarkerModelFromSeries(i,"markLine");if(o){var l=o.getData(),s=C0(o).from,u=C0(o).to;s.each(function(c){V9(s,c,!0,i,a),V9(u,c,!1,i,a)}),l.each(function(c){l.setItemLayout(c,[s.getItemLayout(c),u.getItemLayout(c)])}),this.markerGroupMap.get(i.id).updateLayout()}},this)},t.prototype.renderSeries=function(n,r,a,i){var o=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,new X8);this.group.add(c.group);var f=Xje(o,n,r),d=f.from,h=f.to,v=f.line;C0(r).from=d,C0(r).to=h,r.setData(v);var p=r.get("symbol"),g=r.get("symbolSize"),m=r.get("symbolRotate"),b=r.get("symbolOffset");He(p)||(p=[p,p]),He(g)||(g=[g,g]),He(m)||(m=[m,m]),He(b)||(b=[b,b]),f.from.each(function(w){_(d,w,!0),_(h,w,!1)}),v.each(function(w){var x=v.getItemModel(w).getModel("lineStyle").getLineStyle();v.setItemLayout(w,[d.getItemLayout(w),h.getItemLayout(w)]),x.stroke==null&&(x.stroke=d.getItemVisual(w,"style").fill),v.setItemVisual(w,{fromSymbolKeepAspect:d.getItemVisual(w,"symbolKeepAspect"),fromSymbolOffset:d.getItemVisual(w,"symbolOffset"),fromSymbolRotate:d.getItemVisual(w,"symbolRotate"),fromSymbolSize:d.getItemVisual(w,"symbolSize"),fromSymbol:d.getItemVisual(w,"symbol"),toSymbolKeepAspect:h.getItemVisual(w,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(w,"symbolOffset"),toSymbolRotate:h.getItemVisual(w,"symbolRotate"),toSymbolSize:h.getItemVisual(w,"symbolSize"),toSymbol:h.getItemVisual(w,"symbol"),style:x})}),c.updateData(v),f.line.eachItemGraphicEl(function(w){Dt(w).dataModel=r,w.traverse(function(x){Dt(x).dataModel=r})});function _(w,x,S){var C=w.getItemModel(x);V9(w,x,S,n,i);var T=C.getModel("itemStyle").getItemStyle();T.fill==null&&(T.fill=Rp(s,"color")),w.setItemVisual(x,{symbolKeepAspect:C.get("symbolKeepAspect"),symbolOffset:Ot(C.get("symbolOffset",!0),b[S?0:1]),symbolRotate:Ot(C.get("symbolRotate",!0),m[S?0:1]),symbolSize:Ot(C.get("symbolSize"),g[S?0:1]),symbol:Ot(C.get("symbol",!0),p[S?0:1]),style:T})}this.markKeep(c),c.group.silent=r.get("silent")||n.get("silent")},t.type="markLine",t}(zC);function Xje(e,t,n){var r;e?r=Ge(e&&e.dimensions,function(u){var c=t.getData().getDimensionInfo(t.getData().mapDimension(u))||{};return $e($e({},c),{name:u,ordinalMeta:null})}):r=[{name:"value",type:"float"}];var a=new ua(r,n),i=new ua(r,n),o=new ua([],n),l=Ge(n.get("data"),$t(Uje,t,e,n));e&&(l=_n(l,$t(Yje,e)));var s=LU(!!e,r);return a.initData(Ge(l,function(u){return u[0]}),null,s),i.initData(Ge(l,function(u){return u[1]}),null,s),o.initData(Ge(l,function(u){return u[2]})),o.hasItemOption=!0,{from:a,to:i,line:o}}function Zje(e){e.registerComponentModel(Wje),e.registerComponentView(Kje),e.registerPreprocessor(function(t){TC(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var Jje=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.createMarkerModelFromSeries=function(n,r,a){return new t(n,r,a)},t.type="markArea",t.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},t}(Il),T0=an(),Qje=function(e,t,n,r){var a=r[0],i=r[1];if(!(!a||!i)){var o=ap(e,a),l=ap(e,i),s=o.coord,u=l.coord;s[0]=Mr(s[0],-1/0),s[1]=Mr(s[1],-1/0),u[0]=Mr(u[0],1/0),u[1]=Mr(u[1],1/0);var c=z6([{},o,l]);return c.coord=[o.coord,l.coord],c.x0=o.x,c.y0=o.y,c.x1=l.x,c.y1=l.y,c}};function Wm(e){return!isNaN(e)&&!isFinite(e)}function GL(e,t,n,r){var a=1-e;return Wm(t[a])&&Wm(n[a])}function eqe(e,t){var n=t.coord[0],r=t.coord[1],a={coord:n,x:t.x0,y:t.y0},i={coord:r,x:t.x1,y:t.y1};return nf(e,"cartesian2d")?n&&r&&(GL(1,n,r)||GL(0,n,r))?!0:Hje(e,a,i):ip(e,a)||ip(e,i)}function WL(e,t,n,r,a){var i=r.coordinateSystem,o=e.getItemModel(t),l,s=et(o.get(n[0]),a.getWidth()),u=et(o.get(n[1]),a.getHeight());if(!isNaN(s)&&!isNaN(u))l=[s,u];else{if(r.getMarkerPosition){var c=e.getValues(["x0","y0"],t),f=e.getValues(["x1","y1"],t),d=i.clampData(c),h=i.clampData(f),v=[];n[0]==="x0"?v[0]=d[0]>h[0]?f[0]:c[0]:v[0]=d[0]>h[0]?c[0]:f[0],n[1]==="y0"?v[1]=d[1]>h[1]?f[1]:c[1]:v[1]=d[1]>h[1]?c[1]:f[1],l=r.getMarkerPosition(v,n,!0)}else{var p=e.get(n[0],t),g=e.get(n[1],t),m=[p,g];i.clampData&&i.clampData(m,m),l=i.dataToPoint(m,!0)}if(nf(i,"cartesian2d")){var b=i.getAxis("x"),_=i.getAxis("y"),p=e.get(n[0],t),g=e.get(n[1],t);Wm(p)?l[0]=b.toGlobalCoord(b.getExtent()[n[0]==="x0"?0:1]):Wm(g)&&(l[1]=_.toGlobalCoord(_.getExtent()[n[1]==="y0"?0:1]))}isNaN(s)||(l[0]=s),isNaN(u)||(l[1]=u)}return l}var UL=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],tqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.updateTransform=function(n,r,a){r.eachSeries(function(i){var o=Il.getMarkerModelFromSeries(i,"markArea");if(o){var l=o.getData();l.each(function(s){var u=Ge(UL,function(f){return WL(l,s,f,i,a)});l.setItemLayout(s,u);var c=l.getItemGraphicEl(s);c.setShape("points",u)})}},this)},t.prototype.renderSeries=function(n,r,a,i){var o=n.coordinateSystem,l=n.id,s=n.getData(),u=this.markerGroupMap,c=u.get(l)||u.set(l,{group:new At});this.group.add(c.group),this.markKeep(c);var f=nqe(o,n,r);r.setData(f),f.each(function(d){var h=Ge(UL,function(T){return WL(f,d,T,n,i)}),v=o.getAxis("x").scale,p=o.getAxis("y").scale,g=v.getExtent(),m=p.getExtent(),b=[v.parse(f.get("x0",d)),v.parse(f.get("x1",d))],_=[p.parse(f.get("y0",d)),p.parse(f.get("y1",d))];gi(b),gi(_);var w=!(g[0]>b[1]||g[1]<b[0]||m[0]>_[1]||m[1]<_[0]),x=!w;f.setItemLayout(d,{points:h,allClipped:x});var S=f.getItemModel(d).getModel("itemStyle").getItemStyle(),C=Rp(s,"color");S.fill||(S.fill=C,it(S.fill)&&(S.fill=sm(S.fill,.4))),S.stroke||(S.stroke=C),f.setItemVisual(d,"style",S)}),f.diff(T0(c).data).add(function(d){var h=f.getItemLayout(d);if(!h.allClipped){var v=new ga({shape:{points:h.points}});f.setItemGraphicEl(d,v),c.group.add(v)}}).update(function(d,h){var v=T0(c).data.getItemGraphicEl(h),p=f.getItemLayout(d);p.allClipped?v&&c.group.remove(v):(v?un(v,{shape:{points:p.points}},r,d):v=new ga({shape:{points:p.points}}),f.setItemGraphicEl(d,v),c.group.add(v))}).remove(function(d){var h=T0(c).data.getItemGraphicEl(d);c.group.remove(h)}).execute(),f.eachItemGraphicEl(function(d,h){var v=f.getItemModel(h),p=f.getItemVisual(h,"style");d.useStyle(f.getItemVisual(h,"style")),Fr(d,Sr(v),{labelFetcher:r,labelDataIndex:h,defaultText:f.getName(h)||"",inheritColor:it(p.fill)?sm(p.fill,1):"#000"}),Br(d,v),Kn(d,null,null,v.get(["emphasis","disabled"])),Dt(d).dataModel=r}),T0(c).data=f,c.group.silent=r.get("silent")||n.get("silent")},t.type="markArea",t}(zC);function nqe(e,t,n){var r,a,i=["x0","y0","x1","y1"];if(e){var o=Ge(e&&e.dimensions,function(u){var c=t.getData(),f=c.getDimensionInfo(c.mapDimension(u))||{};return $e($e({},f),{name:u,ordinalMeta:null})});a=Ge(i,function(u,c){return{name:u,type:o[c%2].type}}),r=new ua(a,n)}else a=[{name:"value",type:"float"}],r=new ua(a,n);var l=Ge(n.get("data"),$t(Qje,t,e,n));e&&(l=_n(l,$t(eqe,e)));var s=e?function(u,c,f,d){var h=u.coord[Math.floor(d/2)][d%2];return Rs(h,a[d])}:function(u,c,f,d){return Rs(u.value,a[d])};return r.initData(l,null,s),r.hasItemOption=!0,r}function rqe(e){e.registerComponentModel(Jje),e.registerComponentView(tqe),e.registerPreprocessor(function(t){TC(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var aqe=function(e,t){if(t==="all")return{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}},t5=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a),n.selected=n.selected||{},this._updateSelector(n)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),this._updateSelector(n)},t.prototype._updateSelector=function(n){var r=n.selector,a=this.ecModel;r===!0&&(r=n.selector=["all","inverse"]),He(r)&&K(r,function(i,o){it(i)&&(i={type:i}),r[o]=jt(i,aqe(a,i.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var n=this._data;if(n[0]&&this.get("selectedMode")==="single"){for(var r=!1,a=0;a<n.length;a++){var i=n[a].get("name");if(this.isSelected(i)){this.select(i),r=!0;break}}!r&&this.select(n[0].get("name"))}},t.prototype._updateData=function(n){var r=[],a=[];n.eachRawSeries(function(s){var u=s.name;a.push(u);var c;if(s.legendVisualProvider){var f=s.legendVisualProvider,d=f.getAllNames();n.isSeriesFiltered(s)||(a=a.concat(d)),d.length?r=r.concat(d):c=!0}else c=!0;c&&N6(s)&&r.push(s.name)}),this._availableNames=a;var i=this.get("data")||r,o=pt(),l=Ge(i,function(s){return(it(s)||ln(s))&&(s={name:s}),o.get(s.name)?null:(o.set(s.name,!0),new yn(s,this,this.ecModel))},this);this._data=_n(l,function(s){return!!s})},t.prototype.getData=function(){return this._data},t.prototype.select=function(n){var r=this.option.selected,a=this.get("selectedMode");if(a==="single"){var i=this._data;K(i,function(o){r[o.get("name")]=!1})}r[n]=!0},t.prototype.unSelect=function(n){this.get("selectedMode")!=="single"&&(this.option.selected[n]=!1)},t.prototype.toggleSelected=function(n){var r=this.option.selected;r.hasOwnProperty(n)||(r[n]=!0),this[r[n]?"unSelect":"select"](n)},t.prototype.allSelect=function(){var n=this._data,r=this.option.selected;K(n,function(a){r[a.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var n=this._data,r=this.option.selected;K(n,function(a){var i=a.get("name",!0);r.hasOwnProperty(i)||(r[i]=!0),r[i]=!r[i]})},t.prototype.isSelected=function(n){var r=this.option.selected;return!(r.hasOwnProperty(n)&&!r[n])&&Yt(this._availableNames,n)>=0},t.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},t}(Qt),Af=$t,n5=K,k0=At,PU=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return t.prototype.init=function(){this.group.add(this._contentGroup=new k0),this.group.add(this._selectorGroup=new k0),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(n,r,a){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!n.get("show",!0)){var o=n.get("align"),l=n.get("orient");(!o||o==="auto")&&(o=n.get("left")==="right"&&l==="vertical"?"right":"left");var s=n.get("selector",!0),u=n.get("selectorPosition",!0);s&&(!u||u==="auto")&&(u=l==="horizontal"?"end":"start"),this.renderInner(o,n,r,a,s,l,u);var c=n.getBoxLayoutParams(),f={width:a.getWidth(),height:a.getHeight()},d=n.get("padding"),h=fr(c,f,d),v=this.layoutInner(n,o,h,i,s,u),p=fr(_t({width:v.width,height:v.height},c),f,d);this.group.x=p.x-v.x,this.group.y=p.y-v.y,this.group.markRedraw(),this.group.add(this._backgroundEl=xU(v,n))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(n,r,a,i,o,l,s){var u=this.getContentGroup(),c=pt(),f=r.get("selectedMode"),d=[];a.eachRawSeries(function(h){!h.get("legendHoverLink")&&d.push(h.id)}),n5(r.getData(),function(h,v){var p=h.get("name");if(!this.newlineDisabled&&(p===""||p===`
  126. `)){var g=new k0;g.newline=!0,u.add(g);return}var m=a.getSeriesByName(p)[0];if(!c.get(p))if(m){var b=m.getData(),_=b.getVisual("legendLineStyle")||{},w=b.getVisual("legendIcon"),x=b.getVisual("style"),S=this._createItem(m,p,v,h,r,n,_,x,w,f,i);S.on("click",Af(YL,p,null,i,d)).on("mouseover",Af(r5,m.name,null,i,d)).on("mouseout",Af(a5,m.name,null,i,d)),a.ssr&&S.eachChild(function(C){var T=Dt(C);T.seriesIndex=m.seriesIndex,T.dataIndex=v,T.ssrType="legend"}),c.set(p,!0)}else a.eachRawSeries(function(C){if(!c.get(p)&&C.legendVisualProvider){var T=C.legendVisualProvider;if(!T.containName(p))return;var z=T.indexOfName(p),A=T.getItemVisual(z,"style"),E=T.getItemVisual(z,"legendIcon"),D=Wa(A.fill);D&&D[3]===0&&(D[3]=.2,A=$e($e({},A),{fill:gl(D,"rgba")}));var $=this._createItem(C,p,v,h,r,n,{},A,E,f,i);$.on("click",Af(YL,null,p,i,d)).on("mouseover",Af(r5,null,p,i,d)).on("mouseout",Af(a5,null,p,i,d)),a.ssr&&$.eachChild(function(O){var R=Dt(O);R.seriesIndex=C.seriesIndex,R.dataIndex=v,R.ssrType="legend"}),c.set(p,!0)}},this)},this),o&&this._createSelector(o,r,i,l,s)},t.prototype._createSelector=function(n,r,a,i,o){var l=this.getSelectorGroup();n5(n,function(u){var c=u.type,f=new on({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){a.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});l.add(f);var d=r.getModel("selectorLabel"),h=r.getModel(["emphasis","selectorLabel"]);Fr(f,{normal:d,emphasis:h},{defaultText:u.title}),Sc(f)})},t.prototype._createItem=function(n,r,a,i,o,l,s,u,c,f,d){var h=n.visualDrawType,v=o.get("itemWidth"),p=o.get("itemHeight"),g=o.isSelected(r),m=i.get("symbolRotate"),b=i.get("symbolKeepAspect"),_=i.get("icon");c=_||c||"roundRect";var w=iqe(c,i,s,u,h,g,d),x=new k0,S=i.getModel("textStyle");if(yt(n.getLegendIcon)&&(!_||_==="inherit"))x.add(n.getLegendIcon({itemWidth:v,itemHeight:p,icon:c,iconRotate:m,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:b}));else{var C=_==="inherit"&&n.getData().getVisual("symbol")?m==="inherit"?n.getData().getVisual("symbolRotate"):m:0;x.add(oqe({itemWidth:v,itemHeight:p,icon:c,iconRotate:C,itemStyle:w.itemStyle,lineStyle:w.lineStyle,symbolKeepAspect:b}))}var T=l==="left"?v+5:-5,z=l,A=o.get("formatter"),E=r;it(A)&&A?E=A.replace("{name}",r??""):yt(A)&&(E=A(r));var D=g?S.getTextColor():i.get("inactiveColor");x.add(new on({style:In(S,{text:E,x:T,y:p/2,fill:D,align:z,verticalAlign:"middle"},{inheritColor:D})}));var $=new rn({shape:x.getBoundingRect(),style:{fill:"transparent"}}),O=i.getModel("tooltip");return O.get("show")&&fh({el:$,componentModel:o,itemName:r,itemTooltipOption:O.option}),x.add($),x.eachChild(function(R){R.silent=!0}),$.silent=!f,this.getContentGroup().add(x),Sc(x),x.__legendDataIndex=a,x},t.prototype.layoutInner=function(n,r,a,i,o,l){var s=this.getContentGroup(),u=this.getSelectorGroup();Tc(n.get("orient"),s,n.get("itemGap"),a.width,a.height);var c=s.getBoundingRect(),f=[-c.x,-c.y];if(u.markRedraw(),s.markRedraw(),o){Tc("horizontal",u,n.get("selectorItemGap",!0));var d=u.getBoundingRect(),h=[-d.x,-d.y],v=n.get("selectorButtonGap",!0),p=n.getOrient().index,g=p===0?"width":"height",m=p===0?"height":"width",b=p===0?"y":"x";l==="end"?h[p]+=c[g]+v:f[p]+=d[g]+v,h[1-p]+=c[m]/2-d[m]/2,u.x=h[0],u.y=h[1],s.x=f[0],s.y=f[1];var _={x:0,y:0};return _[g]=c[g]+v+d[g],_[m]=Math.max(c[m],d[m]),_[b]=Math.min(0,d[b]+h[1-p]),_}else return s.x=f[0],s.y=f[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(Hn);function iqe(e,t,n,r,a,i,o){function l(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),n5(g,function(b,_){g[_]==="inherit"&&(g[_]=m[_])})}var s=t.getModel("itemStyle"),u=s.getItemStyle(),c=e.lastIndexOf("empty",0)===0?"fill":"stroke",f=s.getShallow("decal");u.decal=!f||f==="inherit"?r.decal:Vd(f,o),u.fill==="inherit"&&(u.fill=r[a]),u.stroke==="inherit"&&(u.stroke=r[c]),u.opacity==="inherit"&&(u.opacity=(a==="fill"?r:n).opacity),l(u,r);var d=t.getModel("lineStyle"),h=d.getLineStyle();if(l(h,n),u.fill==="auto"&&(u.fill=r.fill),u.stroke==="auto"&&(u.stroke=r.fill),h.stroke==="auto"&&(h.stroke=r.fill),!i){var v=t.get("inactiveBorderWidth"),p=u[c];u.lineWidth=v==="auto"?r.lineWidth>0&&p?2:0:u.lineWidth,u.fill=t.get("inactiveColor"),u.stroke=t.get("inactiveBorderColor"),h.stroke=d.get("inactiveColor"),h.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:h}}function oqe(e){var t=e.icon||"roundRect",n=lr(t,0,0,e.itemWidth,e.itemHeight,e.itemStyle.fill,e.symbolKeepAspect);return n.setStyle(e.itemStyle),n.rotation=(e.iconRotate||0)*Math.PI/180,n.setOrigin([e.itemWidth/2,e.itemHeight/2]),t.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function YL(e,t,n,r){a5(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e??t}),r5(e,t,n,r)}function RU(e){for(var t=e.getZr().storage.getDisplayList(),n,r=0,a=t.length;r<a&&!(n=t[r].states.emphasis);)r++;return n&&n.hoverLayer}function r5(e,t,n,r){RU(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function a5(e,t,n,r){RU(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}function lqe(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(n){for(var r=0;r<t.length;r++)if(!t[r].isSelected(n.name))return!1;return!0})}function av(e,t,n){var r={},a=e==="toggleSelected",i;return n.eachComponent("legend",function(o){a&&i!=null?o[i?"select":"unSelect"](t.name):e==="allSelect"||e==="inverseSelect"?o[e]():(o[e](t.name),i=o.isSelected(t.name));var l=o.getData();K(l,function(s){var u=s.get("name");if(!(u===`
  127. `||u==="")){var c=o.isSelected(u);r.hasOwnProperty(u)?r[u]=r[u]&&c:r[u]=c}})}),e==="allSelect"||e==="inverseSelect"?{selected:r}:{name:t.name,selected:r}}function sqe(e){e.registerAction("legendToggleSelect","legendselectchanged",$t(av,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",$t(av,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",$t(av,"inverseSelect")),e.registerAction("legendSelect","legendselected",$t(av,"select")),e.registerAction("legendUnSelect","legendunselected",$t(av,"unSelect"))}function OU(e){e.registerComponentModel(t5),e.registerComponentView(PU),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,lqe),e.registerSubTypeDefaulter("legend",function(){return"plain"}),sqe(e)}var uqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.setScrollDataIndex=function(n){this.option.scrollDataIndex=n},t.prototype.init=function(n,r,a){var i=ph(n);e.prototype.init.call(this,n,r,a),KL(this,n,i)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),KL(this,this.option,n)},t.type="legend.scroll",t.defaultOption=su(t5.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),t}(t5);function KL(e,t,n){var r=e.getOrient(),a=[1,1];a[r.index]=0,Xs(t,n,{type:"box",ignoreSize:!!a})}var XL=At,B9=["width","height"],F9=["x","y"],cqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new XL),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new XL)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(n,r,a,i,o,l,s){var u=this;e.prototype.renderInner.call(this,n,r,a,i,o,l,s);var c=this._controllerGroup,f=r.get("pageIconSize",!0),d=He(f)?f:[f,f];v("pagePrev",0);var h=r.getModel("pageTextStyle");c.add(new on({name:"pageText",style:{text:"xx/xx",fill:h.getTextColor(),font:h.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),v("pageNext",1);function v(p,g){var m=p+"DataIndex",b=Lp(r.get("pageIcons",!0)[r.getOrient().name][g],{onclick:lt(u._pageGo,u,m,r,i)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});b.name=p,c.add(b)}},t.prototype.layoutInner=function(n,r,a,i,o,l){var s=this.getSelectorGroup(),u=n.getOrient().index,c=B9[u],f=F9[u],d=B9[1-u],h=F9[1-u];o&&Tc("horizontal",s,n.get("selectorItemGap",!0));var v=n.get("selectorButtonGap",!0),p=s.getBoundingRect(),g=[-p.x,-p.y],m=kt(a);o&&(m[c]=a[c]-p[c]-v);var b=this._layoutContentAndController(n,i,m,u,c,d,h,f);if(o){if(l==="end")g[u]+=b[c]+v;else{var _=p[c]+v;g[u]-=_,b[f]-=_}b[c]+=p[c]+v,g[1-u]+=b[h]+b[d]/2-p[d]/2,b[d]=Math.max(b[d],p[d]),b[h]=Math.min(b[h],p[h]+g[1-u]),s.x=g[0],s.y=g[1],s.markRedraw()}return b},t.prototype._layoutContentAndController=function(n,r,a,i,o,l,s,u){var c=this.getContentGroup(),f=this._containerGroup,d=this._controllerGroup;Tc(n.get("orient"),c,n.get("itemGap"),i?a.width:null,i?null:a.height),Tc("horizontal",d,n.get("pageButtonItemGap",!0));var h=c.getBoundingRect(),v=d.getBoundingRect(),p=this._showController=h[o]>a[o],g=[-h.x,-h.y];r||(g[i]=c[u]);var m=[0,0],b=[-v.x,-v.y],_=Ot(n.get("pageButtonGap",!0),n.get("itemGap",!0));if(p){var w=n.get("pageButtonPosition",!0);w==="end"?b[i]+=a[o]-v[o]:m[i]+=v[o]+_}b[1-i]+=h[l]/2-v[l]/2,c.setPosition(g),f.setPosition(m),d.setPosition(b);var x={x:0,y:0};if(x[o]=p?a[o]:h[o],x[l]=Math.max(h[l],v[l]),x[s]=Math.min(0,v[s]+b[1-i]),f.__rectSize=a[o],p){var S={x:0,y:0};S[o]=Math.max(a[o]-v[o]-_,0),S[l]=x[l],f.setClipPath(new rn({shape:S})),f.__rectSize=S[o]}else d.eachChild(function(T){T.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(n);return C.pageIndex!=null&&un(c,{x:C.contentPosition[0],y:C.contentPosition[1]},p?n:null),this._updatePageInfoView(n,C),x},t.prototype._pageGo=function(n,r,a){var i=this._getPageInfo(r)[n];i!=null&&a.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:r.id})},t.prototype._updatePageInfoView=function(n,r){var a=this._controllerGroup;K(["pagePrev","pageNext"],function(c){var f=c+"DataIndex",d=r[f]!=null,h=a.childOfName(c);h&&(h.setStyle("fill",d?n.get("pageIconColor",!0):n.get("pageIconInactiveColor",!0)),h.cursor=d?"pointer":"default")});var i=a.childOfName("pageText"),o=n.get("pageFormatter"),l=r.pageIndex,s=l!=null?l+1:0,u=r.pageCount;i&&o&&i.setStyle("text",it(o)?o.replace("{current}",s==null?"":s+"").replace("{total}",u==null?"":u+""):o({current:s,total:u}))},t.prototype._getPageInfo=function(n){var r=n.get("scrollDataIndex",!0),a=this.getContentGroup(),i=this._containerGroup.__rectSize,o=n.getOrient().index,l=B9[o],s=F9[o],u=this._findTargetItemIndex(r),c=a.children(),f=c[u],d=c.length,h=d?1:0,v={contentPosition:[a.x,a.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!f)return v;var p=w(f);v.contentPosition[o]=-p.s;for(var g=u+1,m=p,b=p,_=null;g<=d;++g)_=w(c[g]),(!_&&b.e>m.s+i||_&&!x(_,m.s))&&(b.i>m.i?m=b:m=_,m&&(v.pageNextDataIndex==null&&(v.pageNextDataIndex=m.i),++v.pageCount)),b=_;for(var g=u-1,m=p,b=p,_=null;g>=-1;--g)_=w(c[g]),(!_||!x(b,_.s))&&m.i<b.i&&(b=m,v.pagePrevDataIndex==null&&(v.pagePrevDataIndex=m.i),++v.pageCount,++v.pageIndex),m=_;return v;function w(S){if(S){var C=S.getBoundingRect(),T=C[s]+S[s];return{s:T,e:T+C[l],i:S.__legendDataIndex}}}function x(S,C){return S.e>=C&&S.s<=C+i}},t.prototype._findTargetItemIndex=function(n){if(!this._showController)return 0;var r,a=this.getContentGroup(),i;return a.eachChild(function(o,l){var s=o.__legendDataIndex;i==null&&s!=null&&(i=l),s===n&&(r=l)}),r??i},t.type="legend.scroll",t}(PU);function fqe(e){e.registerAction("legendScroll","legendscroll",function(t,n){var r=t.scrollDataIndex;r!=null&&n.eachComponent({mainType:"legend",subType:"scroll",query:t},function(a){a.setScrollDataIndex(r)})})}function dqe(e){Kt(OU),e.registerComponentModel(uqe),e.registerComponentView(cqe),fqe(e)}function hqe(e){Kt(OU),Kt(dqe)}var vqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.inside",t.defaultOption=su(rp.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),t}(rp),MC=an();function pqe(e,t,n){MC(e).coordSysRecordMap.each(function(r){var a=r.dataZoomInfoMap.get(t.uid);a&&(a.getRange=n)})}function gqe(e,t){for(var n=MC(e).coordSysRecordMap,r=n.keys(),a=0;a<r.length;a++){var i=r[a],o=n.get(i),l=o.dataZoomInfoMap;if(l){var s=t.uid,u=l.get(s);u&&(l.removeKey(s),l.keys().length||NU(n,o))}}}function NU(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function mqe(e,t){var n={model:t,containsPoint:$t(bqe,t),dispatchAction:$t(yqe,e),dataZoomInfoMap:null,controller:null},r=n.controller=new qp(e.getZr());return K(["pan","zoom","scrollMove"],function(a){r.on(a,function(i){var o=[];n.dataZoomInfoMap.each(function(l){if(i.isAvailableBehavior(l.model.option)){var s=(l.getRange||{})[a],u=s&&s(l.dzReferCoordSysInfo,n.model.mainType,n.controller,i);!l.model.get("disabled",!0)&&u&&o.push({dataZoomId:l.model.id,start:u[0],end:u[1]})}}),o.length&&n.dispatchAction(o)})}),n}function yqe(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function bqe(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function _qe(e){var t,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},a=!0;return e.each(function(i){var o=i.model,l=o.get("disabled",!0)?!1:o.get("zoomLock",!0)?"move":!0;r[n+l]>r[n+t]&&(t=l),a=a&&o.get("preventDefaultMouseMove",!0)}),{controlType:t,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!a}}}function wqe(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,n){var r=MC(n),a=r.coordSysRecordMap||(r.coordSysRecordMap=pt());a.each(function(i){i.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=bU(i);K(o.infoList,function(l){var s=l.model.uid,u=a.get(s)||a.set(s,mqe(n,l.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=pt());c.set(i.uid,{dzReferCoordSysInfo:l,model:i,getRange:null})})}),a.each(function(i){var o=i.controller,l,s=i.dataZoomInfoMap;if(s){var u=s.keys()[0];u!=null&&(l=s.get(u))}if(!l){NU(a,i);return}var c=_qe(s);o.enable(c.controlType,c.opt),o.setPointerChecker(i.containsPoint),yh(i,"dispatchAction",l.model.get("throttle",!0),"fixRate")})})}var xqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataZoom.inside",n}return t.prototype.render=function(n,r,a){if(e.prototype.render.apply(this,arguments),n.noTarget()){this._clear();return}this.range=n.getPercentRange(),pqe(a,n,{pan:lt(H9.pan,this),zoom:lt(H9.zoom,this),scrollMove:lt(H9.scrollMove,this)})},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){gqe(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(bC),H9={zoom:function(e,t,n,r){var a=this.range,i=a.slice(),o=e.axisModels[0];if(o){var l=j9[t](null,[r.originX,r.originY],o,n,e),s=(l.signal>0?l.pixelStart+l.pixelLength-l.pixel:l.pixel-l.pixelStart)/l.pixelLength*(i[1]-i[0])+i[0],u=Math.max(1/r.scale,0);i[0]=(i[0]-s)*u+s,i[1]=(i[1]-s)*u+s;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(af(0,i,[0,100],0,c.minSpan,c.maxSpan),this.range=i,a[0]!==i[0]||a[1]!==i[1])return i}},pan:ZL(function(e,t,n,r,a,i){var o=j9[r]([i.oldX,i.oldY],[i.newX,i.newY],t,a,n);return o.signal*(e[1]-e[0])*o.pixel/o.pixelLength}),scrollMove:ZL(function(e,t,n,r,a,i){var o=j9[r]([0,0],[i.scrollDelta,i.scrollDelta],t,a,n);return o.signal*(e[1]-e[0])*i.scrollDelta})};function ZL(e){return function(t,n,r,a){var i=this.range,o=i.slice(),l=t.axisModels[0];if(l){var s=e(o,l,t,n,r,a);if(af(s,o,[0,100],"all"),this.range=o,i[0]!==o[0]||i[1]!==o[1])return o}}}var j9={grid:function(e,t,n,r,a){var i=n.axis,o={},l=a.model.coordinateSystem.getRect();return e=e||[0,0],i.dim==="x"?(o.pixel=t[0]-e[0],o.pixelLength=l.width,o.pixelStart=l.x,o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=l.height,o.pixelStart=l.y,o.signal=i.inverse?-1:1),o},polar:function(e,t,n,r,a){var i=n.axis,o={},l=a.model.coordinateSystem,s=l.getRadiusAxis().getExtent(),u=l.getAngleAxis().getExtent();return e=e?l.pointToCoord(e):[0,0],t=l.pointToCoord(t),n.mainType==="radiusAxis"?(o.pixel=t[0]-e[0],o.pixelLength=s[1]-s[0],o.pixelStart=s[0],o.signal=i.inverse?1:-1):(o.pixel=t[1]-e[1],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=i.inverse?-1:1),o},singleAxis:function(e,t,n,r,a){var i=n.axis,o=a.model.coordinateSystem.getRect(),l={};return e=e||[0,0],i.orient==="horizontal"?(l.pixel=t[0]-e[0],l.pixelLength=o.width,l.pixelStart=o.x,l.signal=i.inverse?1:-1):(l.pixel=t[1]-e[1],l.pixelLength=o.height,l.pixelStart=o.y,l.signal=i.inverse?-1:1),l}};function $U(e){_C(e),e.registerComponentModel(vqe),e.registerComponentView(xqe),wqe(e)}var Sqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.type="dataZoom.slider",t.layoutMode="box",t.defaultOption=su(rp.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),t}(rp),iv=rn,JL=7,Cqe=1,q9=30,Tqe=7,ov="horizontal",QL="vertical",kqe=5,zqe=["line","bar","candlestick","scatter"],Mqe={easing:"cubicOut",duration:100,delay:0},Aqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._displayables={},n}return t.prototype.init=function(n,r){this.api=r,this._onBrush=lt(this._onBrush,this),this._onBrushEnd=lt(this._onBrushEnd,this)},t.prototype.render=function(n,r,a,i){if(e.prototype.render.apply(this,arguments),yh(this,"_dispatchZoomAction",n.get("throttle"),"fixRate"),this._orient=n.getOrient(),n.get("show")===!1){this.group.removeAll();return}if(n.noTarget()){this._clear(),this.group.removeAll();return}(!i||i.type!=="dataZoom"||i.from!==this.uid)&&this._buildView(),this._updateView()},t.prototype.dispose=function(){this._clear(),e.prototype.dispose.apply(this,arguments)},t.prototype._clear=function(){q1(this,"_dispatchZoomAction");var n=this.api.getZr();n.off("mousemove",this._onBrush),n.off("mouseup",this._onBrushEnd)},t.prototype._buildView=function(){var n=this.group;n.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var r=this._displayables.sliderGroup=new At;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),n.add(r),this._positionGroup()},t.prototype._resetLocation=function(){var n=this.dataZoomModel,r=this.api,a=n.get("brushSelect"),i=a?Tqe:0,o=this._findCoordRect(),l={width:r.getWidth(),height:r.getHeight()},s=this._orient===ov?{right:l.width-o.x-o.width,top:l.height-q9-JL-i,width:o.width,height:q9}:{right:JL,top:o.y,width:q9,height:o.height},u=ph(n.option);K(["right","top","width","height"],function(f){u[f]==="ph"&&(u[f]=s[f])});var c=fr(u,l);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===QL&&this._size.reverse()},t.prototype._positionGroup=function(){var n=this.group,r=this._location,a=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),o=i&&i.get("inverse"),l=this._displayables.sliderGroup,s=(this._dataShadowInfo||{}).otherAxisInverse;l.attr(a===ov&&!o?{scaleY:s?1:-1,scaleX:1}:a===ov&&o?{scaleY:s?1:-1,scaleX:-1}:a===QL&&!o?{scaleY:s?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:s?-1:1,scaleX:-1,rotation:Math.PI/2});var u=n.getBoundingRect([l]);n.x=r.x-u.x,n.y=r.y-u.y,n.markRedraw()},t.prototype._getViewExtent=function(){return[0,this._size[0]]},t.prototype._renderBackground=function(){var n=this.dataZoomModel,r=this._size,a=this._displayables.sliderGroup,i=n.get("brushSelect");a.add(new iv({silent:!0,shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:n.get("backgroundColor")},z2:-40}));var o=new iv({shape:{x:0,y:0,width:r[0],height:r[1]},style:{fill:"transparent"},z2:0,onclick:lt(this._onClickPanel,this)}),l=this.api.getZr();i?(o.on("mousedown",this._onBrushStart,this),o.cursor="crosshair",l.on("mousemove",this._onBrush),l.on("mouseup",this._onBrushEnd)):(l.off("mousemove",this._onBrush),l.off("mouseup",this._onBrushEnd)),a.add(o)},t.prototype._renderDataShadow=function(){var n=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!n)return;var r=this._size,a=this._shadowSize||[],i=n.series,o=i.getRawData(),l=i.getShadowDim&&i.getShadowDim(),s=l&&o.getDimensionInfo(l)?i.getShadowDim():n.otherDim;if(s==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(o!==this._shadowData||s!==this._shadowDim||r[0]!==a[0]||r[1]!==a[1]){var f=o.getDataExtent(s),d=(f[1]-f[0])*.3;f=[f[0]-d,f[1]+d];var h=[0,r[1]],v=[0,r[0]],p=[[r[0],0],[0,0]],g=[],m=v[1]/(o.count()-1),b=0,_=Math.round(o.count()/r[0]),w;o.each([s],function(z,A){if(_>0&&A%_){b+=m;return}var E=z==null||isNaN(z)||z==="",D=E?0:bn(z,f,h,!0);E&&!w&&A?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!E&&w&&(p.push([b,0]),g.push([b,0])),p.push([b,D]),g.push([b,D]),b+=m,w=E}),u=this._shadowPolygonPts=p,c=this._shadowPolylinePts=g}this._shadowData=o,this._shadowDim=s,this._shadowSize=[r[0],r[1]];var x=this.dataZoomModel;function S(z){var A=x.getModel(z?"selectedDataBackground":"dataBackground"),E=new At,D=new ga({shape:{points:u},segmentIgnoreThreshold:1,style:A.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),$=new ya({shape:{points:c},segmentIgnoreThreshold:1,style:A.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return E.add(D),E.add($),E}for(var C=0;C<3;C++){var T=S(C===1);this._displayables.sliderGroup.add(T),this._displayables.dataShadowSegs.push(T)}},t.prototype._prepareDataShadowInfo=function(){var n=this.dataZoomModel,r=n.get("showDataShadow");if(r!==!1){var a,i=this.ecModel;return n.eachTargetAxis(function(o,l){var s=n.getAxisProxy(o,l).getTargetSeriesModels();K(s,function(u){if(!a&&!(r!==!0&&Yt(zqe,u.get("type"))<0)){var c=i.getComponent(Ms(o),l).axis,f=Eqe(o),d,h=u.coordinateSystem;f!=null&&h.getOtherAxis&&(d=h.getOtherAxis(c).inverse),f=u.getData().mapDimension(f),a={thisAxis:c,series:u,thisDim:o,otherDim:f,otherAxisInverse:d}}},this)},this),a}},t.prototype._renderHandle=function(){var n=this.group,r=this._displayables,a=r.handles=[null,null],i=r.handleLabels=[null,null],o=this._displayables.sliderGroup,l=this._size,s=this.dataZoomModel,u=this.api,c=s.get("borderRadius")||0,f=s.get("brushSelect"),d=r.filler=new iv({silent:f,style:{fill:s.get("fillerColor")},textConfig:{position:"inside"}});o.add(d),o.add(new iv({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:l[0],height:l[1],r:c},style:{stroke:s.get("dataBackgroundColor")||s.get("borderColor"),lineWidth:Cqe,fill:"rgba(0,0,0,0)"}})),K([0,1],function(_){var w=s.get("handleIcon");!Sm[w]&&w.indexOf("path://")<0&&w.indexOf("image://")<0&&(w="path://"+w);var x=lr(w,-1,0,2,2,null,!0);x.attr({cursor:eP(this._orient),draggable:!0,drift:lt(this._onDragMove,this,_),ondragend:lt(this._onDragEnd,this),onmouseover:lt(this._showDataInfo,this,!0),onmouseout:lt(this._showDataInfo,this,!1),z2:5});var S=x.getBoundingRect(),C=s.get("handleSize");this._handleHeight=et(C,this._size[1]),this._handleWidth=S.width/S.height*this._handleHeight,x.setStyle(s.getModel("handleStyle").getItemStyle()),x.style.strokeNoScale=!0,x.rectHover=!0,x.ensureState("emphasis").style=s.getModel(["emphasis","handleStyle"]).getItemStyle(),Sc(x);var T=s.get("handleColor");T!=null&&(x.style.fill=T),o.add(a[_]=x);var z=s.getModel("textStyle");n.add(i[_]=new on({silent:!0,invisible:!0,style:In(z,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:z.getTextColor(),font:z.getFont()}),z2:10}))},this);var h=d;if(f){var v=et(s.get("moveHandleSize"),l[1]),p=r.moveHandle=new rn({style:s.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:l[1]-.5,height:v}}),g=v*.8,m=r.moveHandleIcon=lr(s.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=l[1]+v/2-.5,p.ensureState("emphasis").style=s.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var b=Math.min(l[1]/2,Math.max(v,10));h=r.moveZone=new rn({invisible:!0,shape:{y:l[1]-b,height:v+b}}),h.on("mouseover",function(){u.enterEmphasis(p)}).on("mouseout",function(){u.leaveEmphasis(p)}),o.add(p),o.add(m),o.add(h)}h.attr({draggable:!0,cursor:eP(this._orient),drift:lt(this._onDragMove,this,"all"),ondragstart:lt(this._showDataInfo,this,!0),ondragend:lt(this._onDragEnd,this),onmouseover:lt(this._showDataInfo,this,!0),onmouseout:lt(this._showDataInfo,this,!1)})},t.prototype._resetInterval=function(){var n=this._range=this.dataZoomModel.getPercentRange(),r=this._getViewExtent();this._handleEnds=[bn(n[0],[0,100],r,!0),bn(n[1],[0,100],r,!0)]},t.prototype._updateInterval=function(n,r){var a=this.dataZoomModel,i=this._handleEnds,o=this._getViewExtent(),l=a.findRepresentativeAxisProxy().getMinMaxSpan(),s=[0,100];af(r,i,o,a.get("zoomLock")?"all":n,l.minSpan!=null?bn(l.minSpan,s,o,!0):null,l.maxSpan!=null?bn(l.maxSpan,s,o,!0):null);var u=this._range,c=this._range=gi([bn(i[0],o,s,!0),bn(i[1],o,s,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},t.prototype._updateView=function(n){var r=this._displayables,a=this._handleEnds,i=gi(a.slice()),o=this._size;K([0,1],function(h){var v=r.handles[h],p=this._handleHeight;v.attr({scaleX:p/2,scaleY:p/2,x:a[h]+(h?-1:1),y:o[1]/2-p/2})},this),r.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:o[1]});var l={x:i[0],width:i[1]-i[0]};r.moveHandle&&(r.moveHandle.setShape(l),r.moveZone.setShape(l),r.moveZone.getBoundingRect(),r.moveHandleIcon&&r.moveHandleIcon.attr("x",l.x+l.width/2));for(var s=r.dataShadowSegs,u=[0,i[0],i[1],o[0]],c=0;c<s.length;c++){var f=s[c],d=f.getClipPath();d||(d=new rn,f.setClipPath(d)),d.setShape({x:u[c],y:0,width:u[c+1]-u[c],height:o[1]})}this._updateDataInfo(n)},t.prototype._updateDataInfo=function(n){var r=this.dataZoomModel,a=this._displayables,i=a.handleLabels,o=this._orient,l=["",""];if(r.get("showDetail")){var s=r.findRepresentativeAxisProxy();if(s){var u=s.getAxisModel().axis,c=this._range,f=n?s.calculateDataWindow({start:c[0],end:c[1]}).valueWindow:s.getDataValueWindow();l=[this._formatLabel(f[0],u),this._formatLabel(f[1],u)]}}var d=gi(this._handleEnds.slice());h.call(this,0),h.call(this,1);function h(v){var p=Cc(a.handles[v].parent,this.group),g=a3(v===0?"right":"left",p),m=this._handleWidth/2+kqe,b=Yi([d[v]+(v===0?-m:m),this._size[1]/2],p);i[v].setStyle({x:b[0],y:b[1],verticalAlign:o===ov?"middle":g,align:o===ov?g:"center",text:l[v]})}},t.prototype._formatLabel=function(n,r){var a=this.dataZoomModel,i=a.get("labelFormatter"),o=a.get("labelPrecision");(o==null||o==="auto")&&(o=r.getPixelPrecision());var l=n==null||isNaN(n)?"":r.type==="category"||r.type==="time"?r.scale.getLabel({value:Math.round(n)}):n.toFixed(Math.min(o,20));return yt(i)?i(n,l):it(i)?i.replace("{value}",l):l},t.prototype._showDataInfo=function(n){n=this._dragging||n;var r=this._displayables,a=r.handleLabels;a[0].attr("invisible",!n),a[1].attr("invisible",!n),r.moveHandle&&this.api[n?"enterEmphasis":"leaveEmphasis"](r.moveHandle,1)},t.prototype._onDragMove=function(n,r,a,i){this._dragging=!0,Cl(i.event);var o=this._displayables.sliderGroup.getLocalTransform(),l=Yi([r,a],o,!0),s=this._updateInterval(n,l[0]),u=this.dataZoomModel.get("realtime");this._updateView(!u),s&&u&&this._dispatchZoomAction(!0)},t.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1);var n=this.dataZoomModel.get("realtime");!n&&this._dispatchZoomAction(!1)},t.prototype._onClickPanel=function(n){var r=this._size,a=this._displayables.sliderGroup.transformCoordToLocal(n.offsetX,n.offsetY);if(!(a[0]<0||a[0]>r[0]||a[1]<0||a[1]>r[1])){var i=this._handleEnds,o=(i[0]+i[1])/2,l=this._updateInterval("all",a[0]-o);this._updateView(),l&&this._dispatchZoomAction(!1)}},t.prototype._onBrushStart=function(n){var r=n.offsetX,a=n.offsetY;this._brushStart=new Ft(r,a),this._brushing=!0,this._brushStartTime=+new Date},t.prototype._onBrushEnd=function(n){if(this._brushing){var r=this._displayables.brushRect;if(this._brushing=!1,!!r){r.attr("ignore",!0);var a=r.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(a.width)<5)){var o=this._getViewExtent(),l=[0,100];this._range=gi([bn(a.x,o,l,!0),bn(a.x+a.width,o,l,!0)]),this._handleEnds=[a.x,a.x+a.width],this._updateView(),this._dispatchZoomAction(!1)}}}},t.prototype._onBrush=function(n){this._brushing&&(Cl(n.event),this._updateBrushRect(n.offsetX,n.offsetY))},t.prototype._updateBrushRect=function(n,r){var a=this._displayables,i=this.dataZoomModel,o=a.brushRect;o||(o=a.brushRect=new iv({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),a.sliderGroup.add(o)),o.attr("ignore",!1);var l=this._brushStart,s=this._displayables.sliderGroup,u=s.transformCoordToLocal(n,r),c=s.transformCoordToLocal(l.x,l.y),f=this._size;u[0]=Math.max(Math.min(f[0],u[0]),0),o.setShape({x:c[0],y:0,width:u[0]-c[0],height:f[1]})},t.prototype._dispatchZoomAction=function(n){var r=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:n?Mqe:null,start:r[0],end:r[1]})},t.prototype._findCoordRect=function(){var n,r=bU(this.dataZoomModel).infoList;if(!n&&r.length){var a=r[0].model.coordinateSystem;n=a.getRect&&a.getRect()}if(!n){var i=this.api.getWidth(),o=this.api.getHeight();n={x:i*.2,y:o*.2,width:i*.6,height:o*.6}}return n},t.type="dataZoom.slider",t}(bC);function Eqe(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function eP(e){return e==="vertical"?"ns-resize":"ew-resize"}function VU(e){e.registerComponentModel(Sqe),e.registerComponentView(Aqe),_C(e)}function Iqe(e){Kt($U),Kt(VU)}var BU={get:function(e,t,n){var r=kt((Dqe[e]||{})[t]);return n&&He(r)?r[r.length-1]:r}},Dqe={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},tP=wr.mapVisual,Lqe=wr.eachVisual,Pqe=He,nP=K,Rqe=gi,Oqe=bn,Um=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return t.prototype.init=function(n,r,a){this.mergeDefaultAndTheme(n,a)},t.prototype.optionUpdated=function(n,r){var a=this.option;!r&&AU(a,n,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},t.prototype.resetVisual=function(n){var r=this.stateList;n=lt(n,this),this.controllerVisuals=Jx(this.option.controller,r,n),this.targetVisuals=Jx(this.option.target,r,n)},t.prototype.getItemSymbol=function(){return null},t.prototype.getTargetSeriesIndices=function(){var n=this.option.seriesIndex,r=[];return n==null||n==="all"?this.ecModel.eachSeries(function(a,i){r.push(i)}):r=Cn(n),r},t.prototype.eachTargetSeries=function(n,r){K(this.getTargetSeriesIndices(),function(a){var i=this.ecModel.getSeriesByIndex(a);i&&n.call(r,i)},this)},t.prototype.isTargetSeries=function(n){var r=!1;return this.eachTargetSeries(function(a){a===n&&(r=!0)}),r},t.prototype.formatValueText=function(n,r,a){var i=this.option,o=i.precision,l=this.dataBound,s=i.formatter,u;a=a||["<",">"],He(n)&&(n=n.slice(),u=!0);var c=r?n:u?[f(n[0]),f(n[1])]:f(n);if(it(s))return s.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(yt(s))return u?s(n[0],n[1]):s(n);if(u)return n[0]===l[0]?a[0]+" "+c[1]:n[1]===l[1]?a[1]+" "+c[0]:c[0]+" - "+c[1];return c;function f(d){return d===l[0]?"min":d===l[1]?"max":(+d).toFixed(Math.min(o,20))}},t.prototype.resetExtent=function(){var n=this.option,r=Rqe([n.min,n.max]);this._dataExtent=r},t.prototype.getDataDimensionIndex=function(n){var r=this.option.dimension;if(r!=null)return n.getDimensionIndex(r);for(var a=n.dimensions,i=a.length-1;i>=0;i--){var o=a[i],l=n.getDimensionInfo(o);if(!l.isCalculationCoord)return l.storeDimIndex}},t.prototype.getExtent=function(){return this._dataExtent.slice()},t.prototype.completeVisualOption=function(){var n=this.ecModel,r=this.option,a={inRange:r.inRange,outOfRange:r.outOfRange},i=r.target||(r.target={}),o=r.controller||(r.controller={});jt(i,a),jt(o,a);var l=this.isCategory();s.call(this,i),s.call(this,o),u.call(this,i,"inRange","outOfRange"),c.call(this,o);function s(f){Pqe(r.color)&&!f.inRange&&(f.inRange={color:r.color.slice().reverse()}),f.inRange=f.inRange||{color:n.get("gradientColor")}}function u(f,d,h){var v=f[d],p=f[h];v&&!p&&(p=f[h]={},nP(v,function(g,m){if(wr.isValidType(m)){var b=BU.get(m,"inactive",l);b!=null&&(p[m]=b,m==="color"&&!p.hasOwnProperty("opacity")&&!p.hasOwnProperty("colorAlpha")&&(p.opacity=[0,0]))}}))}function c(f){var d=(f.inRange||{}).symbol||(f.outOfRange||{}).symbol,h=(f.inRange||{}).symbolSize||(f.outOfRange||{}).symbolSize,v=this.get("inactiveColor"),p=this.getItemSymbol(),g=p||"roundRect";nP(this.stateList,function(m){var b=this.itemSize,_=f[m];_||(_=f[m]={color:l?v:[v]}),_.symbol==null&&(_.symbol=d&&kt(d)||(l?g:[g])),_.symbolSize==null&&(_.symbolSize=h&&kt(h)||(l?b[0]:[b[0],b[0]])),_.symbol=tP(_.symbol,function(S){return S==="none"?g:S});var w=_.symbolSize;if(w!=null){var x=-1/0;Lqe(w,function(S){S>x&&(x=S)}),_.symbolSize=tP(w,function(S){return Oqe(S,[0,x],[0,b[0]],!0)})}},this)}},t.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},t.prototype.isCategory=function(){return!!this.option.categories},t.prototype.setSelected=function(n){},t.prototype.getSelected=function(){return null},t.prototype.getValueState=function(n){return null},t.prototype.getVisualMeta=function(n){return null},t.type="visualMap",t.dependencies=["series"],t.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},t}(Qt),rP=[20,140],Nqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(a){a.mappingMethod="linear",a.dataExtent=this.getExtent()}),this._resetRange()},t.prototype.resetItemSize=function(){e.prototype.resetItemSize.apply(this,arguments);var n=this.itemSize;(n[0]==null||isNaN(n[0]))&&(n[0]=rP[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=rP[1])},t.prototype._resetRange=function(){var n=this.getExtent(),r=this.option.range;!r||r.auto?(n.auto=1,this.option.range=n):He(r)&&(r[0]>r[1]&&r.reverse(),r[0]=Math.max(r[0],n[0]),r[1]=Math.min(r[1],n[1]))},t.prototype.completeVisualOption=function(){e.prototype.completeVisualOption.apply(this,arguments),K(this.stateList,function(n){var r=this.option.controller[n].symbolSize;r&&r[0]!==r[1]&&(r[0]=r[1]/3)},this)},t.prototype.setSelected=function(n){this.option.range=n.slice(),this._resetRange()},t.prototype.getSelected=function(){var n=this.getExtent(),r=gi((this.get("range")||[]).slice());return r[0]>n[1]&&(r[0]=n[1]),r[1]>n[1]&&(r[1]=n[1]),r[0]<n[0]&&(r[0]=n[0]),r[1]<n[0]&&(r[1]=n[0]),r},t.prototype.getValueState=function(n){var r=this.option.range,a=this.getExtent();return(r[0]<=a[0]||r[0]<=n)&&(r[1]>=a[1]||n<=r[1])?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[];return this.eachTargetSeries(function(a){var i=[],o=a.getData();o.each(this.getDataDimensionIndex(o),function(l,s){n[0]<=l&&l<=n[1]&&i.push(s)},this),r.push({seriesId:a.id,dataIndex:i})},this),r},t.prototype.getVisualMeta=function(n){var r=aP(this,"outOfRange",this.getExtent()),a=aP(this,"inRange",this.option.range.slice()),i=[];function o(h,v){i.push({value:h,color:n(h,v)})}for(var l=0,s=0,u=a.length,c=r.length;s<c&&(!a.length||r[s]<=a[0]);s++)r[s]<a[l]&&o(r[s],"outOfRange");for(var f=1;l<u;l++,f=0)f&&i.length&&o(a[l],"outOfRange"),o(a[l],"inRange");for(var f=1;s<c;s++)(!a.length||a[a.length-1]<r[s])&&(f&&(i.length&&o(i[i.length-1].value,"outOfRange"),f=0),o(r[s],"outOfRange"));var d=i.length;return{stops:i,outerColors:[d?i[0].color:"transparent",d?i[d-1].color:"transparent"]}},t.type="visualMap.continuous",t.defaultOption=su(Um.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),t}(Um);function aP(e,t,n){if(n[0]===n[1])return n.slice();for(var r=200,a=(n[1]-n[0])/r,i=n[0],o=[],l=0;l<=r&&i<n[1];l++)o.push(i),i+=a;return o.push(n[1]),o}var FU=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return t.prototype.init=function(n,r){this.ecModel=n,this.api=r},t.prototype.render=function(n,r,a,i){if(this.visualMapModel=n,n.get("show")===!1){this.group.removeAll();return}this.doRender(n,r,a,i)},t.prototype.renderBackground=function(n){var r=this.visualMapModel,a=vh(r.get("padding")||0),i=n.getBoundingRect();n.add(new rn({z2:-1,silent:!0,shape:{x:i.x-a[3],y:i.y-a[0],width:i.width+a[3]+a[1],height:i.height+a[0]+a[2]},style:{fill:r.get("backgroundColor"),stroke:r.get("borderColor"),lineWidth:r.get("borderWidth")}}))},t.prototype.getControllerVisual=function(n,r,a){a=a||{};var i=a.forceState,o=this.visualMapModel,l={};if(r==="color"){var s=o.get("contentColor");l.color=s}function u(h){return l[h]}function c(h,v){l[h]=v}var f=o.controllerVisuals[i||o.getValueState(n)],d=wr.prepareVisualTypes(f);return K(d,function(h){var v=f[h];a.convertOpacityToAlpha&&h==="opacity"&&(h="colorAlpha",v=f.__alphaForOpacity),wr.dependsOn(h,r)&&v&&v.applyVisual(n,u,c)}),l[r]},t.prototype.positionGroup=function(n){var r=this.visualMapModel,a=this.api;f3(n,r.getBoxLayoutParams(),{width:a.getWidth(),height:a.getHeight()})},t.prototype.doRender=function(n,r,a,i){},t.type="visualMap",t}(Hn),iP=[["left","right","width"],["top","bottom","height"]];function HU(e,t,n){var r=e.option,a=r.align;if(a!=null&&a!=="auto")return a;for(var i={width:t.getWidth(),height:t.getHeight()},o=r.orient==="horizontal"?1:0,l=iP[o],s=[0,null,10],u={},c=0;c<3;c++)u[iP[1-o][c]]=s[c],u[l[c]]=c===2?n[0]:r[l[c]];var f=[["x","width",3],["y","height",0]][o],d=fr(u,i,r.padding);return l[(d.margin[f[2]]||0)+d[f[0]]+d[f[1]]*.5<i[f[1]]*.5?0:1]}function C2(e,t){return K(e||[],function(n){n.dataIndex!=null&&(n.dataIndexInside=n.dataIndex,n.dataIndex=null),n.highlightKey="visualMap"+(t?t.componentIndex:"")}),e}var po=bn,$qe=K,oP=Math.min,G9=Math.max,Vqe=12,Bqe=6,Fqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return t.prototype.init=function(n,r){e.prototype.init.call(this,n,r),this._hoverLinkFromSeriesMouseOver=lt(this._hoverLinkFromSeriesMouseOver,this),this._hideIndicator=lt(this._hideIndicator,this)},t.prototype.doRender=function(n,r,a,i){(!i||i.type!=="selectDataRange"||i.from!==this.uid)&&this._buildView()},t.prototype._buildView=function(){this.group.removeAll();var n=this.visualMapModel,r=this.group;this._orient=n.get("orient"),this._useHandle=n.get("calculable"),this._resetInterval(),this._renderBar(r);var a=n.get("text");this._renderEndsText(r,a,0),this._renderEndsText(r,a,1),this._updateView(!0),this.renderBackground(r),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(r)},t.prototype._renderEndsText=function(n,r,a){if(r){var i=r[1-a];i=i!=null?i+"":"";var o=this.visualMapModel,l=o.get("textGap"),s=o.itemSize,u=this._shapes.mainGroup,c=this._applyTransform([s[0]/2,a===0?-l:s[1]+l],u),f=this._applyTransform(a===0?"bottom":"top",u),d=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new on({style:In(h,{x:c[0],y:c[1],verticalAlign:d==="horizontal"?"middle":f,align:d==="horizontal"?f:"center",text:i})}))}},t.prototype._renderBar=function(n){var r=this.visualMapModel,a=this._shapes,i=r.itemSize,o=this._orient,l=this._useHandle,s=HU(r,this.api,i),u=a.mainGroup=this._createBarGroup(s),c=new At;u.add(c),c.add(a.outOfRange=lP()),c.add(a.inRange=lP(null,l?uP(this._orient):null,lt(this._dragHandle,this,"all",!1),lt(this._dragHandle,this,"all",!0))),c.setClipPath(new rn({shape:{x:0,y:0,width:i[0],height:i[1],r:3}}));var f=r.textStyleModel.getTextRect("国"),d=G9(f.width,f.height);l&&(a.handleThumbs=[],a.handleLabels=[],a.handleLabelPoints=[],this._createHandle(r,u,0,i,d,o),this._createHandle(r,u,1,i,d,o)),this._createIndicator(r,u,i,d,o),n.add(u)},t.prototype._createHandle=function(n,r,a,i,o,l){var s=lt(this._dragHandle,this,a,!1),u=lt(this._dragHandle,this,a,!0),c=Ji(n.get("handleSize"),i[0]),f=lr(n.get("handleIcon"),-c/2,-c/2,c,c,null,!0),d=uP(this._orient);f.attr({cursor:d,draggable:!0,drift:s,ondragend:u,onmousemove:function(m){Cl(m.event)}}),f.x=i[0]/2,f.useStyle(n.getModel("handleStyle").getItemStyle()),f.setStyle({strokeNoScale:!0,strokeFirst:!0}),f.style.lineWidth*=2,f.ensureState("emphasis").style=n.getModel(["emphasis","handleStyle"]).getItemStyle(),lc(f,!0),r.add(f);var h=this.visualMapModel.textStyleModel,v=new on({cursor:d,draggable:!0,drift:s,onmousemove:function(m){Cl(m.event)},ondragend:u,style:In(h,{x:0,y:0,text:""})});v.ensureState("blur").style={opacity:.1},v.stateTransition={duration:200},this.group.add(v);var p=[c,0],g=this._shapes;g.handleThumbs[a]=f,g.handleLabelPoints[a]=p,g.handleLabels[a]=v},t.prototype._createIndicator=function(n,r,a,i,o){var l=Ji(n.get("indicatorSize"),a[0]),s=lr(n.get("indicatorIcon"),-l/2,-l/2,l,l,null,!0);s.attr({cursor:"move",invisible:!0,silent:!0,x:a[0]/2});var u=n.getModel("indicatorStyle").getItemStyle();if(s instanceof Ir){var c=s.style;s.useStyle($e({image:c.image,x:c.x,y:c.y,width:c.width,height:c.height},u))}else s.useStyle(u);r.add(s);var f=this.visualMapModel.textStyleModel,d=new on({silent:!0,invisible:!0,style:In(f,{x:0,y:0,text:""})});this.group.add(d);var h=[(o==="horizontal"?i/2:Bqe)+a[0]/2,0],v=this._shapes;v.indicator=s,v.indicatorLabel=d,v.indicatorLabelPoint=h,this._firstShowIndicator=!0},t.prototype._dragHandle=function(n,r,a,i){if(this._useHandle){if(this._dragging=!r,!r){var o=this._applyTransform([a,i],this._shapes.mainGroup,!0);this._updateInterval(n,o[1]),this._hideIndicator(),this._updateView()}r===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),r?!this._hovering&&this._clearHoverLinkToSeries():sP(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[n],!1)}},t.prototype._resetInterval=function(){var n=this.visualMapModel,r=this._dataInterval=n.getSelected(),a=n.getExtent(),i=[0,n.itemSize[1]];this._handleEnds=[po(r[0],a,i,!0),po(r[1],a,i,!0)]},t.prototype._updateInterval=function(n,r){r=r||0;var a=this.visualMapModel,i=this._handleEnds,o=[0,a.itemSize[1]];af(r,i,o,n,0);var l=a.getExtent();this._dataInterval=[po(i[0],o,l,!0),po(i[1],o,l,!0)]},t.prototype._updateView=function(n){var r=this.visualMapModel,a=r.getExtent(),i=this._shapes,o=[0,r.itemSize[1]],l=n?o:this._handleEnds,s=this._createBarVisual(this._dataInterval,a,l,"inRange"),u=this._createBarVisual(a,a,o,"outOfRange");i.inRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),i.outOfRange.setStyle({fill:u.barColor}).setShape("points",u.barPoints),this._updateHandle(l,s)},t.prototype._createBarVisual=function(n,r,a,i){var o={forceState:i,convertOpacityToAlpha:!0},l=this._makeColorGradient(n,o),s=[this.getControllerVisual(n[0],"symbolSize",o),this.getControllerVisual(n[1],"symbolSize",o)],u=this._createBarPoints(a,s);return{barColor:new Ip(0,0,0,1,l),barPoints:u,handlesColor:[l[0].color,l[l.length-1].color]}},t.prototype._makeColorGradient=function(n,r){var a=100,i=[],o=(n[1]-n[0])/a;i.push({color:this.getControllerVisual(n[0],"color",r),offset:0});for(var l=1;l<a;l++){var s=n[0]+o*l;if(s>n[1])break;i.push({color:this.getControllerVisual(s,"color",r),offset:l/a})}return i.push({color:this.getControllerVisual(n[1],"color",r),offset:1}),i},t.prototype._createBarPoints=function(n,r){var a=this.visualMapModel.itemSize;return[[a[0]-r[0],n[0]],[a[0],n[0]],[a[0],n[1]],[a[0]-r[1],n[1]]]},t.prototype._createBarGroup=function(n){var r=this._orient,a=this.visualMapModel.get("inverse");return new At(r==="horizontal"&&!a?{scaleX:n==="bottom"?1:-1,rotation:Math.PI/2}:r==="horizontal"&&a?{scaleX:n==="bottom"?-1:1,rotation:-Math.PI/2}:r==="vertical"&&!a?{scaleX:n==="left"?1:-1,scaleY:-1}:{scaleX:n==="left"?1:-1})},t.prototype._updateHandle=function(n,r){if(this._useHandle){var a=this._shapes,i=this.visualMapModel,o=a.handleThumbs,l=a.handleLabels,s=i.itemSize,u=i.getExtent();$qe([0,1],function(c){var f=o[c];f.setStyle("fill",r.handlesColor[c]),f.y=n[c];var d=po(n[c],[0,s[1]],u,!0),h=this.getControllerVisual(d,"symbolSize");f.scaleX=f.scaleY=h/s[0],f.x=s[0]-h/2;var v=Yi(a.handleLabelPoints[c],Cc(f,this.group));l[c].setStyle({x:v[0],y:v[1],text:i.formatValueText(this._dataInterval[c]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",a.mainGroup):"center"})},this)}},t.prototype._showIndicator=function(n,r,a,i){var o=this.visualMapModel,l=o.getExtent(),s=o.itemSize,u=[0,s[1]],c=this._shapes,f=c.indicator;if(f){f.attr("invisible",!1);var d={convertOpacityToAlpha:!0},h=this.getControllerVisual(n,"color",d),v=this.getControllerVisual(n,"symbolSize"),p=po(n,l,u,!0),g=s[0]-v/2,m={x:f.x,y:f.y};f.y=p,f.x=g;var b=Yi(c.indicatorLabelPoint,Cc(f,this.group)),_=c.indicatorLabel;_.attr("invisible",!1);var w=this._applyTransform("left",c.mainGroup),x=this._orient,S=x==="horizontal";_.setStyle({text:(a||"")+o.formatValueText(r),verticalAlign:S?w:"middle",align:S?"center":w});var C={x:g,y:p,style:{fill:h}},T={style:{x:b[0],y:b[1]}};if(o.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var z={duration:100,easing:"cubicInOut",additive:!0};f.x=m.x,f.y=m.y,f.animateTo(C,z),_.animateTo(T,z)}else f.attr(C),_.attr(T);this._firstShowIndicator=!1;var A=this._shapes.handleLabels;if(A)for(var E=0;E<A.length;E++)this.api.enterBlur(A[E])}},t.prototype._enableHoverLinkToSeries=function(){var n=this;this._shapes.mainGroup.on("mousemove",function(r){if(n._hovering=!0,!n._dragging){var a=n.visualMapModel.itemSize,i=n._applyTransform([r.offsetX,r.offsetY],n._shapes.mainGroup,!0,!0);i[1]=oP(G9(0,i[1]),a[1]),n._doHoverLinkToSeries(i[1],0<=i[0]&&i[0]<=a[0])}}).on("mouseout",function(){n._hovering=!1,!n._dragging&&n._clearHoverLinkToSeries()})},t.prototype._enableHoverLinkFromSeries=function(){var n=this.api.getZr();this.visualMapModel.option.hoverLink?(n.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),n.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},t.prototype._doHoverLinkToSeries=function(n,r){var a=this.visualMapModel,i=a.itemSize;if(a.option.hoverLink){var o=[0,i[1]],l=a.getExtent();n=oP(G9(o[0],n),o[1]);var s=Hqe(a,l,o),u=[n-s,n+s],c=po(n,o,l,!0),f=[po(u[0],o,l,!0),po(u[1],o,l,!0)];u[0]<o[0]&&(f[0]=-1/0),u[1]>o[1]&&(f[1]=1/0),r&&(f[0]===-1/0?this._showIndicator(c,f[1],"< ",s):f[1]===1/0?this._showIndicator(c,f[0],"> ",s):this._showIndicator(c,c,"≈ ",s));var d=this._hoverLinkDataIndices,h=[];(r||sP(a))&&(h=this._hoverLinkDataIndices=a.findTargetDataIndices(f));var v=GTe(d,h);this._dispatchHighDown("downplay",C2(v[0],a)),this._dispatchHighDown("highlight",C2(v[1],a))}},t.prototype._hoverLinkFromSeriesMouseOver=function(n){var r;if(uc(n.target,function(s){var u=Dt(s);if(u.dataIndex!=null)return r=u,!0},!0),!!r){var a=this.ecModel.getSeriesByIndex(r.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(a)){var o=a.getData(r.dataType),l=o.getStore().get(i.getDataDimensionIndex(o),r.dataIndex);isNaN(l)||this._showIndicator(l,l)}}},t.prototype._hideIndicator=function(){var n=this._shapes;n.indicator&&n.indicator.attr("invisible",!0),n.indicatorLabel&&n.indicatorLabel.attr("invisible",!0);var r=this._shapes.handleLabels;if(r)for(var a=0;a<r.length;a++)this.api.leaveBlur(r[a])},t.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var n=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",C2(n,this.visualMapModel)),n.length=0},t.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var n=this.api.getZr();n.off("mouseover",this._hoverLinkFromSeriesMouseOver),n.off("mouseout",this._hideIndicator)},t.prototype._applyTransform=function(n,r,a,i){var o=Cc(r,i?null:this.group);return He(n)?Yi(n,o,a):a3(n,o,a)},t.prototype._dispatchHighDown=function(n,r){r&&r.length&&this.api.dispatchAction({type:n,batch:r})},t.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},t.type="visualMap.continuous",t}(FU);function lP(e,t,n,r){return new ga({shape:{points:e},draggable:!!n,cursor:t,drift:n,onmousemove:function(a){Cl(a.event)},ondragend:r})}function Hqe(e,t,n){var r=Vqe/2,a=e.get("hoverLinkDataSize");return a&&(r=po(a,t,n,!0)/2),r}function sP(e){var t=e.get("hoverLinkOnHandle");return!!(t??e.get("realtime"))}function uP(e){return e==="vertical"?"ns-resize":"ew-resize"}var jqe={type:"selectDataRange",event:"dataRangeSelected",update:"update"},qqe=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(n){n.setSelected(e.selected)})},Gqe=[{createOnAllSeries:!0,reset:function(e,t){var n=[];return t.eachComponent("visualMap",function(r){var a=e.pipelineContext;!r.isTargetSeries(e)||a&&a.large||n.push(hje(r.stateList,r.targetVisuals,lt(r.getValueState,r),r.getDataDimensionIndex(e.getData())))}),n}},{createOnAllSeries:!0,reset:function(e,t){var n=e.getData(),r=[];t.eachComponent("visualMap",function(a){if(a.isTargetSeries(e)){var i=a.getVisualMeta(lt(Wqe,null,e,a))||{stops:[],outerColors:[]},o=a.getDataDimensionIndex(n);o>=0&&(i.dimension=o,r.push(i))}}),e.getData().setVisual("visualMeta",r)}}];function Wqe(e,t,n,r){for(var a=t.targetVisuals[r],i=wr.prepareVisualTypes(a),o={color:Rp(e.getData(),"color")},l=0,s=i.length;l<s;l++){var u=i[l],c=a[u==="opacity"?"__alphaForOpacity":u];c&&c.applyVisual(n,f,d)}return o.color;function f(h){return o[h]}function d(h,v){o[h]=v}}var cP=K;function Uqe(e){var t=e&&e.visualMap;He(t)||(t=t?[t]:[]),cP(t,function(n){if(n){Ef(n,"splitList")&&!Ef(n,"pieces")&&(n.pieces=n.splitList,delete n.splitList);var r=n.pieces;r&&He(r)&&cP(r,function(a){wt(a)&&(Ef(a,"start")&&!Ef(a,"min")&&(a.min=a.start),Ef(a,"end")&&!Ef(a,"max")&&(a.max=a.end))})}})}function Ef(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var fP=!1;function jU(e){fP||(fP=!0,e.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(jqe,qqe),K(Gqe,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(Uqe))}function qU(e){e.registerComponentModel(Nqe),e.registerComponentView(Fqe),jU(e)}var Yqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._pieceList=[],n}return t.prototype.optionUpdated=function(n,r){e.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var a=this._mode=this._determineMode();this._pieceList=[],Kqe[this._mode].call(this,this._pieceList),this._resetSelected(n,r);var i=this.option.categories;this.resetVisual(function(o,l){a==="categories"?(o.mappingMethod="category",o.categories=kt(i)):(o.dataExtent=this.getExtent(),o.mappingMethod="piecewise",o.pieceList=Ge(this._pieceList,function(s){return s=kt(s),l!=="inRange"&&(s.visual=null),s}))})},t.prototype.completeVisualOption=function(){var n=this.option,r={},a=wr.listVisualTypes(),i=this.isCategory();K(n.pieces,function(l){K(a,function(s){l.hasOwnProperty(s)&&(r[s]=1)})}),K(r,function(l,s){var u=!1;K(this.stateList,function(c){u=u||o(n,c,s)||o(n.target,c,s)},this),!u&&K(this.stateList,function(c){(n[c]||(n[c]={}))[s]=BU.get(s,c==="inRange"?"active":"inactive",i)})},this);function o(l,s,u){return l&&l[s]&&l[s].hasOwnProperty(u)}e.prototype.completeVisualOption.apply(this,arguments)},t.prototype._resetSelected=function(n,r){var a=this.option,i=this._pieceList,o=(r?a:n).selected||{};if(a.selected=o,K(i,function(s,u){var c=this.getSelectedMapKey(s);o.hasOwnProperty(c)||(o[c]=!0)},this),a.selectedMode==="single"){var l=!1;K(i,function(s,u){var c=this.getSelectedMapKey(s);o[c]&&(l?o[c]=!1:l=!0)},this)}},t.prototype.getItemSymbol=function(){return this.get("itemSymbol")},t.prototype.getSelectedMapKey=function(n){return this._mode==="categories"?n.value+"":n.index+""},t.prototype.getPieceList=function(){return this._pieceList},t.prototype._determineMode=function(){var n=this.option;return n.pieces&&n.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},t.prototype.setSelected=function(n){this.option.selected=kt(n)},t.prototype.getValueState=function(n){var r=wr.findPieceIndex(n,this._pieceList);return r!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[r])]?"inRange":"outOfRange"},t.prototype.findTargetDataIndices=function(n){var r=[],a=this._pieceList;return this.eachTargetSeries(function(i){var o=[],l=i.getData();l.each(this.getDataDimensionIndex(l),function(s,u){var c=wr.findPieceIndex(s,a);c===n&&o.push(u)},this),r.push({seriesId:i.id,dataIndex:o})},this),r},t.prototype.getRepresentValue=function(n){var r;if(this.isCategory())r=n.value;else if(n.value!=null)r=n.value;else{var a=n.interval||[];r=a[0]===-1/0&&a[1]===1/0?0:(a[0]+a[1])/2}return r},t.prototype.getVisualMeta=function(n){if(this.isCategory())return;var r=[],a=["",""],i=this;function o(c,f){var d=i.getRepresentValue({interval:c});f||(f=i.getValueState(d));var h=n(d,f);c[0]===-1/0?a[0]=h:c[1]===1/0?a[1]=h:r.push({value:c[0],color:h},{value:c[1],color:h})}var l=this._pieceList.slice();if(!l.length)l.push({interval:[-1/0,1/0]});else{var s=l[0].interval[0];s!==-1/0&&l.unshift({interval:[-1/0,s]}),s=l[l.length-1].interval[1],s!==1/0&&l.push({interval:[s,1/0]})}var u=-1/0;return K(l,function(c){var f=c.interval;f&&(f[0]>u&&o([u,f[0]],"outOfRange"),o(f.slice()),u=f[1])},this),{stops:r,outerColors:a}},t.type="visualMap.piecewise",t.defaultOption=su(Um.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),t}(Um),Kqe={splitNumber:function(e){var t=this.option,n=Math.min(t.precision,20),r=this.getExtent(),a=t.splitNumber;a=Math.max(parseInt(a,10),1),t.splitNumber=a;for(var i=(r[1]-r[0])/a;+i.toFixed(n)!==i&&n<5;)n++;t.precision=n,i=+i.toFixed(n),t.minOpen&&e.push({interval:[-1/0,r[0]],close:[0,0]});for(var o=0,l=r[0];o<a;l+=i,o++){var s=o===a-1?r[1]:l+i;e.push({interval:[l,s],close:[1,1]})}t.maxOpen&&e.push({interval:[r[1],1/0],close:[0,0]}),iM(e),K(e,function(u,c){u.index=c,u.text=this.formatValueText(u.interval)},this)},categories:function(e){var t=this.option;K(t.categories,function(n){e.push({text:this.formatValueText(n,!0),value:n})},this),dP(t,e)},pieces:function(e){var t=this.option;K(t.pieces,function(n,r){wt(n)||(n={value:n});var a={text:"",index:r};if(n.label!=null&&(a.text=n.label),n.hasOwnProperty("value")){var i=a.value=n.value;a.interval=[i,i],a.close=[1,1]}else{for(var o=a.interval=[],l=a.close=[0,0],s=[1,0,1],u=[-1/0,1/0],c=[],f=0;f<2;f++){for(var d=[["gte","gt","min"],["lte","lt","max"]][f],h=0;h<3&&o[f]==null;h++)o[f]=n[d[h]],l[f]=s[h],c[f]=h===2;o[f]==null&&(o[f]=u[f])}c[0]&&o[1]===1/0&&(l[0]=0),c[1]&&o[0]===-1/0&&(l[1]=0),o[0]===o[1]&&l[0]&&l[1]&&(a.value=o[0])}a.visual=wr.retrieveVisuals(n),e.push(a)},this),dP(t,e),iM(e),K(e,function(n){var r=n.close,a=[["<","≤"][r[1]],[">","≥"][r[0]]];n.text=n.text||this.formatValueText(n.value!=null?n.value:n.interval,!1,a)},this)}};function dP(e,t){var n=e.inverse;(e.orient==="vertical"?!n:n)&&t.reverse()}var Xqe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n}return t.prototype.doRender=function(){var n=this.group;n.removeAll();var r=this.visualMapModel,a=r.get("textGap"),i=r.textStyleModel,o=i.getFont(),l=i.getTextColor(),s=this._getItemAlign(),u=r.itemSize,c=this._getViewData(),f=c.endsText,d=Mr(r.get("showLabel",!0),!f);f&&this._renderEndsText(n,f[0],u,d,s),K(c.viewPieceList,function(h){var v=h.piece,p=new At;p.onclick=lt(this._onItemClick,this,v),this._enableHoverLink(p,h.indexInModelPieceList);var g=r.getRepresentValue(v);if(this._createItemSymbol(p,g,[0,0,u[0],u[1]]),d){var m=this.visualMapModel.getValueState(g);p.add(new on({style:{x:s==="right"?-a:u[0]+a,y:u[1]/2,text:v.text,verticalAlign:"middle",align:s,font:o,fill:l,opacity:m==="outOfRange"?.5:1}}))}n.add(p)},this),f&&this._renderEndsText(n,f[1],u,d,s),Tc(r.get("orient"),n,r.get("itemGap")),this.renderBackground(n),this.positionGroup(n)},t.prototype._enableHoverLink=function(n,r){var a=this;n.on("mouseover",function(){return i("highlight")}).on("mouseout",function(){return i("downplay")});var i=function(o){var l=a.visualMapModel;l.option.hoverLink&&a.api.dispatchAction({type:o,batch:C2(l.findTargetDataIndices(r),l)})}},t.prototype._getItemAlign=function(){var n=this.visualMapModel,r=n.option;if(r.orient==="vertical")return HU(n,this.api,n.itemSize);var a=r.align;return(!a||a==="auto")&&(a="left"),a},t.prototype._renderEndsText=function(n,r,a,i,o){if(r){var l=new At,s=this.visualMapModel.textStyleModel;l.add(new on({style:In(s,{x:i?o==="right"?a[0]:0:a[0]/2,y:a[1]/2,verticalAlign:"middle",align:i?o:"center",text:r})})),n.add(l)}},t.prototype._getViewData=function(){var n=this.visualMapModel,r=Ge(n.getPieceList(),function(l,s){return{piece:l,indexInModelPieceList:s}}),a=n.get("text"),i=n.get("orient"),o=n.get("inverse");return(i==="horizontal"?o:!o)?r.reverse():a&&(a=a.slice().reverse()),{viewPieceList:r,endsText:a}},t.prototype._createItemSymbol=function(n,r,a){n.add(lr(this.getControllerVisual(r,"symbol"),a[0],a[1],a[2],a[3],this.getControllerVisual(r,"color")))},t.prototype._onItemClick=function(n){var r=this.visualMapModel,a=r.option,i=a.selectedMode;if(i){var o=kt(a.selected),l=r.getSelectedMapKey(n);i==="single"||i===!0?(o[l]=!0,K(o,function(s,u){o[u]=u===l})):o[l]=!o[l],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:o})}},t.type="visualMap.piecewise",t}(FU);function GU(e){e.registerComponentModel(Yqe),e.registerComponentView(Xqe),jU(e)}function Zqe(e){Kt(qU),Kt(GU)}var Jqe={label:{enabled:!0},decal:{show:!1}},hP=an(),Qqe={};function eGe(e,t){var n=e.getModel("aria");if(!n.get("enabled"))return;var r=kt(Jqe);jt(r.label,e.getLocaleModel().get("aria"),!1),jt(n.option,r,!1),a(),i();function a(){var u=n.getModel("decal"),c=u.get("show");if(c){var f=pt();e.eachSeries(function(d){if(!d.isColorBySeries()){var h=f.get(d.type);h||(h={},f.set(d.type,h)),hP(d).scope=h}}),e.eachRawSeries(function(d){if(e.isSeriesFiltered(d))return;if(yt(d.enableAriaDecal)){d.enableAriaDecal();return}var h=d.getData();if(d.isColorBySeries()){var b=ax(d.ecModel,d.name,Qqe,e.getSeriesCount()),_=h.getVisual("decal");h.setVisual("decal",w(_,b))}else{var v=d.getRawData(),p={},g=hP(d).scope;h.each(function(x){var S=h.getRawIndex(x);p[S]=x});var m=v.count();v.each(function(x){var S=p[x],C=v.getName(x)||x+"",T=ax(d.ecModel,C,g,m),z=h.getItemVisual(S,"decal");h.setItemVisual(S,"decal",w(z,T))})}function w(x,S){var C=x?$e($e({},S),x):S;return C.dirty=!0,C}})}}function i(){var u=t.getZr().dom;if(u){var c=e.getLocaleModel().get("aria"),f=n.getModel("label");if(f.option=_t(f.option,c),!!f.get("enabled")){if(f.get("description")){u.setAttribute("aria-label",f.get("description"));return}var d=e.getSeriesCount(),h=f.get(["data","maxCount"])||10,v=f.get(["series","maxCount"])||10,p=Math.min(d,v),g;if(!(d<1)){var m=l();if(m){var b=f.get(["general","withTitle"]);g=o(b,{title:m})}else g=f.get(["general","withoutTitle"]);var _=[],w=d>1?f.get(["series","multiple","prefix"]):f.get(["series","single","prefix"]);g+=o(w,{seriesCount:d}),e.eachSeries(function(T,z){if(z<p){var A=void 0,E=T.get("name"),D=E?"withName":"withoutName";A=d>1?f.get(["series","multiple",D]):f.get(["series","single",D]),A=o(A,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:s(T.subType)});var $=T.getData();if($.count()>h){var O=f.get(["data","partialData"]);A+=o(O,{displayCnt:h})}else A+=f.get(["data","allData"]);for(var R=f.get(["data","separator","middle"]),N=f.get(["data","separator","end"]),B=[],V=0;V<$.count();V++)if(V<h){var P=$.getName(V),W=$.getValues(V),Z=f.get(["data",P?"withName":"withoutName"]);B.push(o(Z,{name:P,value:W.join(R)}))}A+=B.join(R)+N,_.push(A)}});var x=f.getModel(["series","multiple","separator"]),S=x.get("middle"),C=x.get("end");g+=_.join(S)+C,u.setAttribute("aria-label",g)}}}}function o(u,c){if(!it(u))return u;var f=u;return K(c,function(d,h){f=f.replace(new RegExp("\\{\\s*"+h+"\\s*\\}","g"),d)}),f}function l(){var u=e.get("title");return u&&u.length&&(u=u[0]),u&&u.text}function s(u){var c=e.getLocaleModel().get(["series","typeNames"]);return c[u]||c.chart}}function tGe(e){if(!(!e||!e.aria)){var t=e.aria;t.show!=null&&(t.enabled=t.show),t.label=t.label||{},K(["description","general","series","data"],function(n){t[n]!=null&&(t.label[n]=t[n])})}}function nGe(e){e.registerPreprocessor(tGe),e.registerVisual(e.PRIORITY.VISUAL.ARIA,eGe)}var vP={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},rGe=function(){function e(t){var n=this._condVal=it(t)?new RegExp(t):f7e(t)?t:null;if(n==null){var r="";pn(r)}}return e.prototype.evaluate=function(t){var n=typeof t;return it(n)?this._condVal.test(t):ln(n)?this._condVal.test(t+""):!1},e}(),aGe=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),iGe=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,n=0;n<t.length;n++)if(!t[n].evaluate())return!1;return!0},e}(),oGe=function(){function e(){}return e.prototype.evaluate=function(){for(var t=this.children,n=0;n<t.length;n++)if(t[n].evaluate())return!0;return!1},e}(),lGe=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),sGe=function(){function e(){}return e.prototype.evaluate=function(){for(var t=!!this.valueParser,n=this.getValue,r=n(this.valueGetterParam),a=t?this.valueParser(r):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?a:r))return!1;return!0},e}();function AC(e,t){if(e===!0||e===!1){var n=new aGe;return n.value=e,n}var r="";return WU(e)||pn(r),e.and?pP("and",e,t):e.or?pP("or",e,t):e.not?uGe(e,t):cGe(e,t)}function pP(e,t,n){var r=t[e],a="";He(r)||pn(a),r.length||pn(a);var i=e==="and"?new iGe:new oGe;return i.children=Ge(r,function(o){return AC(o,n)}),i.children.length||pn(a),i}function uGe(e,t){var n=e.not,r="";WU(n)||pn(r);var a=new lGe;return a.child=AC(n,t),a.child||pn(r),a}function cGe(e,t){for(var n="",r=t.prepareGetValue(e),a=[],i=tn(e),o=e.parser,l=o?kj(o):null,s=0;s<i.length;s++){var u=i[s];if(!(u==="parser"||t.valueGetterAttrMap.get(u))){var c=ht(vP,u)?vP[u]:u,f=e[u],d=l?l(f):f,h=JMe(c,d)||c==="reg"&&new rGe(d);h||pn(n),a.push(h)}}a.length||pn(n);var v=new sGe;return v.valueGetterParam=r,v.valueParser=l,v.getValue=t.getValue,v.subCondList=a,v}function WU(e){return wt(e)&&!Zr(e)}var fGe=function(){function e(t,n){this._cond=AC(t,n)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function dGe(e,t){return new fGe(e,t)}var hGe={type:"echarts:filter",transform:function(e){for(var t=e.upstream,n,r=dGe(e.config,{valueGetterAttrMap:pt({dimension:!0}),prepareGetValue:function(l){var s="",u=l.dimension;ht(l,"dimension")||pn(s);var c=t.getDimensionInfo(u);return c||pn(s),{dimIdx:c.index}},getValue:function(l){return t.retrieveValueFromItem(n,l.dimIdx)}}),a=[],i=0,o=t.count();i<o;i++)n=t.getRawDataItem(i),r.evaluate()&&a.push(n);return{data:a}}},vGe={type:"echarts:sort",transform:function(e){var t=e.upstream,n=e.config,r="",a=Cn(n);a.length||pn(r);var i=[];K(a,function(c){var f=c.dimension,d=c.order,h=c.parser,v=c.incomparable;if(f==null&&pn(r),d!=="asc"&&d!=="desc"&&pn(r),v&&v!=="min"&&v!=="max"){var p="";pn(p)}if(d!=="asc"&&d!=="desc"){var g="";pn(g)}var m=t.getDimensionInfo(f);m||pn(r);var b=h?kj(h):null;h&&!b&&pn(r),i.push({dimIdx:m.index,parser:b,comparator:new Mj(d,v)})});var o=t.sourceFormat;o!==Jr&&o!==Di&&pn(r);for(var l=[],s=0,u=t.count();s<u;s++)l.push(t.getRawDataItem(s));return l.sort(function(c,f){for(var d=0;d<i.length;d++){var h=i[d],v=t.retrieveValueFromItem(c,h.dimIdx),p=t.retrieveValueFromItem(f,h.dimIdx);h.parser&&(v=h.parser(v),p=h.parser(p));var g=h.comparator.evaluate(v,p);if(g!==0)return g}return 0}),{data:l}}};function pGe(e){e.registerTransform(hGe),e.registerTransform(vGe)}var gGe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataset",n}return t.prototype.init=function(n,r,a){e.prototype.init.call(this,n,r,a),this._sourceManager=new Dj(this),mA(this)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),mA(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:Io},t}(Qt),mGe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type="dataset",n}return t.type="dataset",t}(Hn);function yGe(e){e.registerComponentModel(gGe),e.registerComponentView(mGe)}var ho=Fo.CMD;function Kf(e,t){return Math.abs(e-t)<1e-5}function i5(e){var t=e.data,n=e.len(),r=[],a,i=0,o=0,l=0,s=0;function u($,O){a&&a.length>2&&r.push(a),a=[$,O]}function c($,O,R,N){Kf($,R)&&Kf(O,N)||a.push($,O,R,N,R,N)}function f($,O,R,N,B,V){var P=Math.abs(O-$),W=Math.tan(P/4)*4/3,Z=O<$?-1:1,ee=Math.cos($),re=Math.sin($),ue=Math.cos(O),ye=Math.sin(O),le=ee*B+R,ae=re*V+N,ie=ue*B+R,ve=ye*V+N,ce=B*W*Z,fe=V*W*Z;a.push(le-ce*re,ae+fe*ee,ie+ce*ye,ve-fe*ue,ie,ve)}for(var d,h,v,p,g=0;g<n;){var m=t[g++],b=g===1;switch(b&&(i=t[g],o=t[g+1],l=i,s=o,(m===ho.L||m===ho.C||m===ho.Q)&&(a=[l,s])),m){case ho.M:i=l=t[g++],o=s=t[g++],u(l,s);break;case ho.L:d=t[g++],h=t[g++],c(i,o,d,h),i=d,o=h;break;case ho.C:a.push(t[g++],t[g++],t[g++],t[g++],i=t[g++],o=t[g++]);break;case ho.Q:d=t[g++],h=t[g++],v=t[g++],p=t[g++],a.push(i+2/3*(d-i),o+2/3*(h-o),v+2/3*(d-v),p+2/3*(h-p),v,p),i=v,o=p;break;case ho.A:var _=t[g++],w=t[g++],x=t[g++],S=t[g++],C=t[g++],T=t[g++]+C;g+=1;var z=!t[g++];d=Math.cos(C)*x+_,h=Math.sin(C)*S+w,b?(l=d,s=h,u(l,s)):c(i,o,d,h),i=Math.cos(T)*x+_,o=Math.sin(T)*S+w;for(var A=(z?-1:1)*Math.PI/2,E=C;z?E>T:E<T;E+=A){var D=z?Math.max(E+A,T):Math.min(E+A,T);f(E,D,_,w,x,S)}break;case ho.R:l=i=t[g++],s=o=t[g++],d=l+t[g++],h=s+t[g++],u(d,s),c(d,s,d,h),c(d,h,l,h),c(l,h,l,s),c(l,s,d,s);break;case ho.Z:a&&c(i,o,l,s),i=l,o=s;break}}return a&&a.length>2&&r.push(a),r}function o5(e,t,n,r,a,i,o,l,s,u){if(Kf(e,n)&&Kf(t,r)&&Kf(a,o)&&Kf(i,l)){s.push(o,l);return}var c=2/u,f=c*c,d=o-e,h=l-t,v=Math.sqrt(d*d+h*h);d/=v,h/=v;var p=n-e,g=r-t,m=a-o,b=i-l,_=p*p+g*g,w=m*m+b*b;if(_<f&&w<f){s.push(o,l);return}var x=d*p+h*g,S=-d*m-h*b,C=_-x*x,T=w-S*S;if(C<f&&x>=0&&T<f&&S>=0){s.push(o,l);return}var z=[],A=[];Ys(e,n,a,o,.5,z),Ys(t,r,i,l,.5,A),o5(z[0],A[0],z[1],A[1],z[2],A[2],z[3],A[3],s,u),o5(z[4],A[4],z[5],A[5],z[6],A[6],z[7],A[7],s,u)}function bGe(e,t){var n=i5(e),r=[];t=t||1;for(var a=0;a<n.length;a++){var i=n[a],o=[],l=i[0],s=i[1];o.push(l,s);for(var u=2;u<i.length;){var c=i[u++],f=i[u++],d=i[u++],h=i[u++],v=i[u++],p=i[u++];o5(l,s,c,f,d,h,v,p,o,t),l=v,s=p}r.push(o)}return r}function UU(e,t,n){var r=e[t],a=e[1-t],i=Math.abs(r/a),o=Math.ceil(Math.sqrt(i*n)),l=Math.floor(n/o);l===0&&(l=1,o=n);for(var s=[],u=0;u<o;u++)s.push(l);var c=o*l,f=n-c;if(f>0)for(var u=0;u<f;u++)s[u%o]+=1;return s}function gP(e,t,n){for(var r=e.r0,a=e.r,i=e.startAngle,o=e.endAngle,l=Math.abs(o-i),s=l*a,u=a-r,c=s>Math.abs(u),f=UU([s,u],c?0:1,t),d=(c?l:u)/f.length,h=0;h<f.length;h++)for(var v=(c?u:l)/f[h],p=0;p<f[h];p++){var g={};c?(g.startAngle=i+d*h,g.endAngle=i+d*(h+1),g.r0=r+v*p,g.r=r+v*(p+1)):(g.startAngle=i+v*p,g.endAngle=i+v*(p+1),g.r0=r+d*h,g.r=r+d*(h+1)),g.clockwise=e.clockwise,g.cx=e.cx,g.cy=e.cy,n.push(g)}}function _Ge(e,t,n){for(var r=e.width,a=e.height,i=r>a,o=UU([r,a],i?0:1,t),l=i?"width":"height",s=i?"height":"width",u=i?"x":"y",c=i?"y":"x",f=e[l]/o.length,d=0;d<o.length;d++)for(var h=e[s]/o[d],v=0;v<o[d];v++){var p={};p[u]=d*f,p[c]=v*h,p[l]=f,p[s]=h,p.x+=e.x,p.y+=e.y,n.push(p)}}function mP(e,t,n,r){return e*r-n*t}function wGe(e,t,n,r,a,i,o,l){var s=n-e,u=r-t,c=o-a,f=l-i,d=mP(c,f,s,u);if(Math.abs(d)<1e-6)return null;var h=e-a,v=t-i,p=mP(h,v,c,f)/d;return p<0||p>1?null:new Ft(p*s+e,p*u+t)}function xGe(e,t,n){var r=new Ft;Ft.sub(r,n,t),r.normalize();var a=new Ft;Ft.sub(a,e,t);var i=a.dot(r);return i}function If(e,t){var n=e[e.length-1];n&&n[0]===t[0]&&n[1]===t[1]||e.push(t)}function SGe(e,t,n){for(var r=e.length,a=[],i=0;i<r;i++){var o=e[i],l=e[(i+1)%r],s=wGe(o[0],o[1],l[0],l[1],t.x,t.y,n.x,n.y);s&&a.push({projPt:xGe(s,t,n),pt:s,idx:i})}if(a.length<2)return[{points:e},{points:e}];a.sort(function(g,m){return g.projPt-m.projPt});var u=a[0],c=a[a.length-1];if(c.idx<u.idx){var f=u;u=c,c=f}for(var d=[u.pt.x,u.pt.y],h=[c.pt.x,c.pt.y],v=[d],p=[h],i=u.idx+1;i<=c.idx;i++)If(v,e[i].slice());If(v,h),If(v,d);for(var i=c.idx+1;i<=u.idx+r;i++)If(p,e[i%r].slice());return If(p,d),If(p,h),[{points:v},{points:p}]}function yP(e){var t=e.points,n=[],r=[];Jy(t,n,r);var a=new qt(n[0],n[1],r[0]-n[0],r[1]-n[1]),i=a.width,o=a.height,l=a.x,s=a.y,u=new Ft,c=new Ft;return i>o?(u.x=c.x=l+i/2,u.y=s,c.y=s+o):(u.y=c.y=s+o/2,u.x=l,c.x=l+i),SGe(t,u,c)}function Ym(e,t,n,r){if(n===1)r.push(t);else{var a=Math.floor(n/2),i=e(t);Ym(e,i[0],a,r),Ym(e,i[1],n-a,r)}return r}function CGe(e,t){for(var n=[],r=0;r<t;r++)n.push(U6(e));return n}function TGe(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function kGe(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}function zGe(e,t){var n=[],r=e.shape,a;switch(e.type){case"rect":_Ge(r,t,n),a=rn;break;case"sector":gP(r,t,n),a=pa;break;case"circle":gP({r0:0,r:r.r,startAngle:0,endAngle:Math.PI*2,cx:r.cx,cy:r.cy},t,n),a=pa;break;default:var i=e.getComputedTransform(),o=i?Math.sqrt(Math.max(i[0]*i[0]+i[1]*i[1],i[2]*i[2]+i[3]*i[3])):1,l=Ge(bGe(e.getUpdatedPathProxy(),o),function(m){return kGe(m)}),s=l.length;if(s===0)Ym(yP,{points:l[0]},t,n);else if(s===t)for(var u=0;u<s;u++)n.push({points:l[u]});else{var c=0,f=Ge(l,function(m){var b=[],_=[];Jy(m,b,_);var w=(_[1]-b[1])*(_[0]-b[0]);return c+=w,{poly:m,area:w}});f.sort(function(m,b){return b.area-m.area});for(var d=t,u=0;u<s;u++){var h=f[u];if(d<=0)break;var v=u===s-1?d:Math.ceil(h.area/c*t);v<0||(Ym(yP,{points:h.poly},v,n),d-=v)}}a=ga;break}if(!a)return CGe(e,t);for(var p=[],u=0;u<n.length;u++){var g=new a;g.setShape(n[u]),TGe(e,g),p.push(g)}return p}function MGe(e,t){var n=e.length,r=t.length;if(n===r)return[e,t];for(var a=[],i=[],o=n<r?e:t,l=Math.min(n,r),s=Math.abs(r-n)/6,u=(l-2)/6,c=Math.ceil(s/u)+1,f=[o[0],o[1]],d=s,h=2;h<l;){var v=o[h-2],p=o[h-1],g=o[h++],m=o[h++],b=o[h++],_=o[h++],w=o[h++],x=o[h++];if(d<=0){f.push(g,m,b,_,w,x);continue}for(var S=Math.min(d,c-1)+1,C=1;C<=S;C++){var T=C/S;Ys(v,g,b,w,T,a),Ys(p,m,_,x,T,i),v=a[3],p=i[3],f.push(a[1],i[1],a[2],i[2],v,p),g=a[5],m=i[5],b=a[6],_=i[6]}d-=S-1}return o===e?[f,t]:[e,f]}function bP(e,t){for(var n=e.length,r=e[n-2],a=e[n-1],i=[],o=0;o<t.length;)i[o++]=r,i[o++]=a;return i}function AGe(e,t){for(var n,r,a,i=[],o=[],l=0;l<Math.max(e.length,t.length);l++){var s=e[l],u=t[l],c=void 0,f=void 0;s?u?(n=MGe(s,u),c=n[0],f=n[1],r=c,a=f):(f=bP(a||s,s),c=s):(c=bP(r||u,u),f=u),i.push(c),o.push(f)}return[i,o]}function _P(e){for(var t=0,n=0,r=0,a=e.length,i=0,o=a-2;i<a;o=i,i+=2){var l=e[o],s=e[o+1],u=e[i],c=e[i+1],f=l*c-u*s;t+=f,n+=(l+u)*f,r+=(s+c)*f}return t===0?[e[0]||0,e[1]||0]:[n/t/3,r/t/3,t]}function EGe(e,t,n,r){for(var a=(e.length-2)/6,i=1/0,o=0,l=e.length,s=l-2,u=0;u<a;u++){for(var c=u*6,f=0,d=0;d<l;d+=2){var h=d===0?c:(c+d-2)%s+2,v=e[h]-n[0],p=e[h+1]-n[1],g=t[d]-r[0],m=t[d+1]-r[1],b=g-v,_=m-p;f+=b*b+_*_}f<i&&(i=f,o=u)}return o}function IGe(e){for(var t=[],n=e.length,r=0;r<n;r+=2)t[r]=e[n-r-2],t[r+1]=e[n-r-1];return t}function DGe(e,t,n,r){for(var a=[],i,o=0;o<e.length;o++){var l=e[o],s=t[o],u=_P(l),c=_P(s);i==null&&(i=u[2]<0!=c[2]<0);var f=[],d=[],h=0,v=1/0,p=[],g=l.length;i&&(l=IGe(l));for(var m=EGe(l,s,u,c)*6,b=g-2,_=0;_<b;_+=2){var w=(m+_)%b+2;f[_+2]=l[w]-u[0],f[_+3]=l[w+1]-u[1]}f[0]=l[m]-u[0],f[1]=l[m+1]-u[1];for(var x=r/n,S=-r/2;S<=r/2;S+=x){for(var C=Math.sin(S),T=Math.cos(S),z=0,_=0;_<l.length;_+=2){var A=f[_],E=f[_+1],D=s[_]-c[0],$=s[_+1]-c[1],O=D*T-$*C,R=D*C+$*T;p[_]=O,p[_+1]=R;var N=O-A,B=R-E;z+=N*N+B*B}if(z<v){v=z,h=S;for(var V=0;V<p.length;V++)d[V]=p[V]}}a.push({from:f,to:d,fromCp:u,toCp:c,rotation:-h})}return a}function Km(e){return e.__isCombineMorphing}var YU="__mOriginal_";function Xm(e,t,n){var r=YU+t,a=e[r]||e[t];e[r]||(e[r]=e[t]);var i=n.replace,o=n.after,l=n.before;e[t]=function(){var s=arguments,u;return l&&l.apply(this,s),i?u=i.apply(this,s):u=a.apply(this,s),o&&o.apply(this,s),u}}function n1(e,t){var n=YU+t;e[n]&&(e[t]=e[n],e[n]=null)}function wP(e,t){for(var n=0;n<e.length;n++)for(var r=e[n],a=0;a<r.length;){var i=r[a],o=r[a+1];r[a++]=t[0]*i+t[2]*o+t[4],r[a++]=t[1]*i+t[3]*o+t[5]}}function KU(e,t){var n=e.getUpdatedPathProxy(),r=t.getUpdatedPathProxy(),a=AGe(i5(n),i5(r)),i=a[0],o=a[1],l=e.getComputedTransform(),s=t.getComputedTransform();function u(){this.transform=null}l&&wP(i,l),s&&wP(o,s),Xm(t,"updateTransform",{replace:u}),t.transform=null;var c=DGe(i,o,10,Math.PI),f=[];Xm(t,"buildPath",{replace:function(d){for(var h=t.__morphT,v=1-h,p=[],g=0;g<c.length;g++){var m=c[g],b=m.from,_=m.to,w=m.rotation*h,x=m.fromCp,S=m.toCp,C=Math.sin(w),T=Math.cos(w);o2(p,x,S,h);for(var z=0;z<b.length;z+=2){var A=b[z],E=b[z+1],D=_[z],$=_[z+1],O=A*v+D*h,R=E*v+$*h;f[z]=O*T-R*C+p[0],f[z+1]=O*C+R*T+p[1]}var N=f[0],B=f[1];d.moveTo(N,B);for(var z=2;z<b.length;){var D=f[z++],$=f[z++],V=f[z++],P=f[z++],W=f[z++],Z=f[z++];N===D&&B===$&&V===W&&P===Z?d.lineTo(W,Z):d.bezierCurveTo(D,$,V,P,W,Z),N=W,B=Z}}}})}function EC(e,t,n){if(!e||!t)return t;var r=n.done,a=n.during;KU(e,t),t.__morphT=0;function i(){n1(t,"buildPath"),n1(t,"updateTransform"),t.__morphT=-1,t.createPathProxy(),t.dirtyShape()}return t.animateTo({__morphT:1},_t({during:function(o){t.dirtyShape(),a&&a(o)},done:function(){i(),r&&r()}},n)),t}function LGe(e,t,n,r,a,i){var o=16;e=a===n?0:Math.round(32767*(e-n)/(a-n)),t=i===r?0:Math.round(32767*(t-r)/(i-r));for(var l=0,s,u=(1<<o)/2;u>0;u/=2){var c=0,f=0;(e&u)>0&&(c=1),(t&u)>0&&(f=1),l+=u*u*(3*c^f),f===0&&(c===1&&(e=u-1-e,t=u-1-t),s=e,e=t,t=s)}return l}function Zm(e){var t=1/0,n=1/0,r=-1/0,a=-1/0,i=Ge(e,function(l){var s=l.getBoundingRect(),u=l.getComputedTransform(),c=s.x+s.width/2+(u?u[4]:0),f=s.y+s.height/2+(u?u[5]:0);return t=Math.min(c,t),n=Math.min(f,n),r=Math.max(c,r),a=Math.max(f,a),[c,f]}),o=Ge(i,function(l,s){return{cp:l,z:LGe(l[0],l[1],t,n,r,a),path:e[s]}});return o.sort(function(l,s){return l.z-s.z}).map(function(l){return l.path})}function XU(e){return zGe(e.path,e.count)}function l5(){return{fromIndividuals:[],toIndividuals:[],count:0}}function PGe(e,t,n){var r=[];function a(x){for(var S=0;S<x.length;S++){var C=x[S];Km(C)?a(C.childrenRef()):C instanceof Zt&&r.push(C)}}a(e);var i=r.length;if(!i)return l5();var o=n.dividePath||XU,l=o({path:t,count:i});if(l.length!==i)return console.error("Invalid morphing: unmatched splitted path"),l5();r=Zm(r),l=Zm(l);for(var s=n.done,u=n.during,c=n.individualDelay,f=new cl,d=0;d<i;d++){var h=r[d],v=l[d];v.parent=t,v.copyTransform(f),c||KU(h,v)}t.__isCombineMorphing=!0,t.childrenRef=function(){return l};function p(x){for(var S=0;S<l.length;S++)l[S].addSelfToZr(x)}Xm(t,"addSelfToZr",{after:function(x){p(x)}}),Xm(t,"removeSelfFromZr",{after:function(x){for(var S=0;S<l.length;S++)l[S].removeSelfFromZr(x)}});function g(){t.__isCombineMorphing=!1,t.__morphT=-1,t.childrenRef=null,n1(t,"addSelfToZr"),n1(t,"removeSelfFromZr")}var m=l.length;if(c)for(var b=m,_=function(){b--,b===0&&(g(),s&&s())},d=0;d<m;d++){var w=c?_t({delay:(n.delay||0)+c(d,m,r[d],l[d]),done:_},n):n;EC(r[d],l[d],w)}else t.__morphT=0,t.animateTo({__morphT:1},_t({during:function(x){for(var S=0;S<m;S++){var C=l[S];C.__morphT=t.__morphT,C.dirtyShape()}u&&u(x)},done:function(){g();for(var x=0;x<e.length;x++)n1(e[x],"updateTransform");s&&s()}},n));return t.__zr&&p(t.__zr),{fromIndividuals:r,toIndividuals:l,count:m}}function RGe(e,t,n){var r=t.length,a=[],i=n.dividePath||XU;function o(h){for(var v=0;v<h.length;v++){var p=h[v];Km(p)?o(p.childrenRef()):p instanceof Zt&&a.push(p)}}if(Km(e)){o(e.childrenRef());var l=a.length;if(l<r)for(var s=0,u=l;u<r;u++)a.push(U6(a[s++%l]));a.length=r}else{a=i({path:e,count:r});for(var c=e.getComputedTransform(),u=0;u<a.length;u++)a[u].setLocalTransform(c);if(a.length!==r)return console.error("Invalid morphing: unmatched splitted path"),l5()}a=Zm(a),t=Zm(t);for(var f=n.individualDelay,u=0;u<r;u++){var d=f?_t({delay:(n.delay||0)+f(u,r,a[u],t[u])},n):n;EC(a[u],t[u],d)}return{fromIndividuals:a,toIndividuals:t,count:t.length}}function xP(e){return He(e[0])}function SP(e,t){for(var n=[],r=e.length,a=0;a<r;a++)n.push({one:e[a],many:[]});for(var a=0;a<t.length;a++){var i=t[a].length,o=void 0;for(o=0;o<i;o++)n[o%r].many.push(t[a][o])}for(var l=0,a=r-1;a>=0;a--)if(!n[a].many.length){var s=n[l].many;if(s.length<=1)if(l)l=0;else return n;var i=s.length,u=Math.ceil(i/2);n[a].many=s.slice(u,i),n[l].many=s.slice(0,u),l++}return n}var OGe={clone:function(e){for(var t=[],n=1-Math.pow(1-e.path.style.opacity,1/e.count),r=0;r<e.count;r++){var a=U6(e.path);a.setStyle("opacity",n),t.push(a)}return t},split:null};function W9(e,t,n,r,a,i){if(!e.length||!t.length)return;var o=ch("update",r,a);if(!(o&&o.duration>0))return;var l=r.getModel("universalTransition").get("delay"),s=Object.assign({setToFinal:!0},o),u,c;xP(e)&&(u=e,c=t),xP(t)&&(u=t,c=e);function f(m,b,_,w,x){var S=m.many,C=m.one;if(S.length===1&&!x){var T=b?S[0]:C,z=b?C:S[0];if(Km(T))f({many:[T],one:z},!0,_,w,!0);else{var A=l?_t({delay:l(_,w)},s):s;EC(T,z,A),i(T,z,T,z,A)}}else for(var E=_t({dividePath:OGe[n],individualDelay:l&&function(B,V,P,W){return l(B+_,w)}},s),D=b?PGe(S,C,E):RGe(C,S,E),$=D.fromIndividuals,O=D.toIndividuals,R=$.length,N=0;N<R;N++){var A=l?_t({delay:l(N,R)},s):s;i($[N],O[N],b?S[N]:m.one,b?m.one:S[N],A)}}for(var d=u?u===e:e.length>t.length,h=u?SP(c,u):SP(d?t:e,[d?e:t]),v=0,p=0;p<h.length;p++)v+=h[p].many.length;for(var g=0,p=0;p<h.length;p++)f(h[p],d,g,v),g+=h[p].many.length}function qu(e){if(!e)return[];if(He(e)){for(var t=[],n=0;n<e.length;n++)t.push(qu(e[n]));return t}var r=[];return e.traverse(function(a){a instanceof Zt&&!a.disableMorphing&&!a.invisible&&!a.ignore&&r.push(a)}),r}var ZU=1e4,NGe=0,CP=1,TP=2,$Ge=an();function VGe(e,t){for(var n=e.dimensions,r=0;r<n.length;r++){var a=e.getDimensionInfo(n[r]);if(a&&a.otherDims[t]===0)return n[r]}}function BGe(e,t,n){var r=e.getDimensionInfo(n),a=r&&r.ordinalMeta;if(r){var i=e.get(r.name,t);return a&&a.categories[i]||i+""}}function kP(e,t,n,r){var a=r?"itemChildGroupId":"itemGroupId",i=VGe(e,a);if(i){var o=BGe(e,t,i);return o}var l=e.getRawDataItem(t),s=r?"childGroupId":"groupId";if(l&&l[s])return l[s]+"";if(!r)return n||e.getId(t)}function zP(e){var t=[];return K(e,function(n){var r=n.data,a=n.dataGroupId;if(!(r.count()>ZU))for(var i=r.getIndices(),o=0;o<i.length;o++)t.push({data:r,groupId:kP(r,o,a,!1),childGroupId:kP(r,o,a,!0),divide:n.divide,dataIndex:o})}),t}function U9(e,t,n){e.traverse(function(r){r instanceof Zt&&Nn(r,{style:{opacity:0}},t,{dataIndex:n,isFrom:!0})})}function Y9(e){if(e.parent){var t=e.getComputedTransform();e.setLocalTransform(t),e.parent.remove(e)}}function Df(e){e.stopAnimation(),e.isGroup&&e.traverse(function(t){t.stopAnimation()})}function FGe(e,t,n){var r=ch("update",n,t);r&&e.traverse(function(a){if(a instanceof zi){var i=Rze(a);i&&a.animateFrom({style:i},r)}})}function HGe(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++){var a=e[r],i=t[r];if(a.data.getId(a.dataIndex)!==i.data.getId(i.dataIndex))return!1}return!0}function JU(e,t,n){var r=zP(e),a=zP(t);function i(_,w,x,S,C){(x||_)&&w.animateFrom({style:x&&x!==_?$e($e({},x.style),_.style):_.style},C)}var o=!1,l=NGe,s=pt(),u=pt();r.forEach(function(_){_.groupId&&s.set(_.groupId,!0),_.childGroupId&&u.set(_.childGroupId,!0)});for(var c=0;c<a.length;c++){var f=a[c].groupId;if(u.get(f)){l=CP;break}var d=a[c].childGroupId;if(d&&s.get(d)){l=TP;break}}function h(_,w){return function(x){var S=x.data,C=x.dataIndex;return w?S.getId(C):_?l===CP?x.childGroupId:x.groupId:l===TP?x.childGroupId:x.groupId}}var v=HGe(r,a),p={};if(!v)for(var c=0;c<a.length;c++){var g=a[c],m=g.data.getItemGraphicEl(g.dataIndex);m&&(p[m.id]=!0)}function b(_,w){var x=r[w],S=a[_],C=S.data.hostModel,T=x.data.getItemGraphicEl(x.dataIndex),z=S.data.getItemGraphicEl(S.dataIndex);if(T===z){z&&FGe(z,S.dataIndex,C);return}T&&p[T.id]||z&&(Df(z),T?(Df(T),Y9(T),o=!0,W9(qu(T),qu(z),S.divide,C,_,i)):U9(z,C,_))}new Ml(r,a,h(!0,v),h(!1,v),null,"multiple").update(b).updateManyToOne(function(_,w){var x=a[_],S=x.data,C=S.hostModel,T=S.getItemGraphicEl(x.dataIndex),z=_n(Ge(w,function(A){return r[A].data.getItemGraphicEl(r[A].dataIndex)}),function(A){return A&&A!==T&&!p[A.id]});T&&(Df(T),z.length?(K(z,function(A){Df(A),Y9(A)}),o=!0,W9(qu(z),qu(T),x.divide,C,_,i)):U9(T,C,x.dataIndex))}).updateOneToMany(function(_,w){var x=r[w],S=x.data.getItemGraphicEl(x.dataIndex);if(!(S&&p[S.id])){var C=_n(Ge(_,function(z){return a[z].data.getItemGraphicEl(a[z].dataIndex)}),function(z){return z&&z!==S}),T=a[_[0]].data.hostModel;C.length&&(K(C,function(z){return Df(z)}),S?(Df(S),Y9(S),o=!0,W9(qu(S),qu(C),x.divide,T,_[0],i)):K(C,function(z){return U9(z,T,_[0])}))}}).updateManyToMany(function(_,w){new Ml(w,_,function(x){return r[x].data.getId(r[x].dataIndex)},function(x){return a[x].data.getId(a[x].dataIndex)}).update(function(x,S){b(_[x],w[S])}).execute()}).execute(),o&&K(t,function(_){var w=_.data,x=w.hostModel,S=x&&n.getViewOfSeriesModel(x),C=ch("update",x,0);S&&x.isAnimationEnabled()&&C&&C.duration>0&&S.group.traverse(function(T){T instanceof Zt&&!T.animators.length&&T.animateFrom({style:{opacity:0}},C)})})}function MP(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function AP(e){return He(e)?e.sort().join(","):e}function vs(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function jGe(e,t){var n=pt(),r=pt(),a=pt();return K(e.oldSeries,function(i,o){var l=e.oldDataGroupIds[o],s=e.oldData[o],u=MP(i),c=AP(u);r.set(c,{dataGroupId:l,data:s}),He(u)&&K(u,function(f){a.set(f,{key:c,dataGroupId:l,data:s})})}),K(t.updatedSeries,function(i){if(i.isUniversalTransitionEnabled()&&i.isAnimationEnabled()){var o=i.get("dataGroupId"),l=i.getData(),s=MP(i),u=AP(s),c=r.get(u);if(c)n.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:vs(c.data),data:c.data}],newSeries:[{dataGroupId:o,divide:vs(l),data:l}]});else if(He(s)){var f=[];K(s,function(v){var p=r.get(v);p.data&&f.push({dataGroupId:p.dataGroupId,divide:vs(p.data),data:p.data})}),f.length&&n.set(u,{oldSeries:f,newSeries:[{dataGroupId:o,data:l,divide:vs(l)}]})}else{var d=a.get(s);if(d){var h=n.get(d.key);h||(h={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:vs(d.data)}],newSeries:[]},n.set(d.key,h)),h.newSeries.push({dataGroupId:o,data:l,divide:vs(l)})}}}}),n}function EP(e,t){for(var n=0;n<e.length;n++){var r=t.seriesIndex!=null&&t.seriesIndex===e[n].seriesIndex||t.seriesId!=null&&t.seriesId===e[n].id;if(r)return n}}function qGe(e,t,n,r){var a=[],i=[];K(Cn(e.from),function(o){var l=EP(t.oldSeries,o);l>=0&&a.push({dataGroupId:t.oldDataGroupIds[l],data:t.oldData[l],divide:vs(t.oldData[l]),groupIdDim:o.dimension})}),K(Cn(e.to),function(o){var l=EP(n.updatedSeries,o);if(l>=0){var s=n.updatedSeries[l].getData();i.push({dataGroupId:t.oldDataGroupIds[l],data:s,divide:vs(s),groupIdDim:o.dimension})}}),a.length>0&&i.length>0&&JU(a,i,r)}function GGe(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,n,r){K(Cn(r.seriesTransition),function(a){K(Cn(a.to),function(i){for(var o=r.updatedSeries,l=0;l<o.length;l++)(i.seriesIndex!=null&&i.seriesIndex===o[l].seriesIndex||i.seriesId!=null&&i.seriesId===o[l].id)&&(o[l][m2]=!0)})})}),e.registerUpdateLifecycle("series:transition",function(t,n,r){var a=$Ge(n);if(a.oldSeries&&r.updatedSeries&&r.optionChanged){var i=r.seriesTransition;if(i)K(Cn(i),function(h){qGe(h,a,r,n)});else{var o=jGe(a,r);K(o.keys(),function(h){var v=o.get(h);JU(v.oldSeries,v.newSeries,n)})}K(r.updatedSeries,function(h){h[m2]&&(h[m2]=!1)})}for(var l=t.getSeries(),s=a.oldSeries=[],u=a.oldDataGroupIds=[],c=a.oldData=[],f=0;f<l.length;f++){var d=l[f].getData();d.count()<ZU&&(s.push(l[f]),u.push(l[f].get("dataGroupId")),c.push(d))}})}Kt([eLe]);Kt([KDe]);Kt([_Le,RLe,GLe,CPe,RPe,wRe,KRe,DOe,eNe,oNe,pNe,u$e,P$e,G$e,lVe,fVe,wVe,MVe,VVe,GVe,tBe,$Be]);Kt(rFe);Kt(EFe);Kt(XG);Kt(jFe);Kt(RW);Kt(UFe);Kt(nHe);Kt(jHe);Kt(sje);Kt(Wp);Kt(Tje);Kt(Mje);Kt($je);Kt(Gje);Kt(Zje);Kt(rqe);Kt(hqe);Kt(Iqe);Kt($U);Kt(VU);Kt(Zqe);Kt(qU);Kt(GU);Kt(nGe);Kt(pGe);Kt(yGe);Kt(GGe);Kt(pDe);const WGe={align:"left"},UGe={align:"left",style:{"margin-top":"20px"}},YGe={style:{position:"relative"}},KGe={style:{position:"absolute",right:"0px",top:"0px","margin-top":"-50px"}},XGe=1,ZGe=te({__name:"QuShi",setup(e){let t=j(null),n=["官","杀","财","才","印","枭","食","伤","比","劫"],r=["#8b8d47","#458860","#ee9512","#9a4e9f","#e35215","#9098b4","#e705c9","#4155da","#18b7e1","#ef0341"],a=j(0),i=j(["官","杀"]),o=j(),l=null,s=j(""),u=j([]);function c(){let C=[];for(let T=1;T<=12;T++)C.push(T.toString()+"月");return a.value=C.length,C}function f(C,T,z){for(let A=0;A<n.length;A++){let E=n[A];if(i.value.indexOf(E)==-1)continue;let D=[],$={name:E,type:"line",data:D,itemStyle:{color:r[A]},lineStyle:{type:T}};for(let O=1;O<=12;O++){let R=E+"_"+O.toString();D.push(C.total.get(R))}z.push($)}}function d(){let C=[];if(H.bazi.value!=null&&H.bazi.value.qushiInfo.length>0){let T=H.bazi.value.qushiInfo[o.value];if(f(T,"solid",C),u.value.length>0)for(let z=0;z<u.value.length;z++){let A=u.value[z],E=H.historyBaZi.value[A],D=E==null?void 0:E.qushiInfo[o.value];f(D,"dashed",C)}}return C}function h(){return{title:{},tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:T=>{let z="";for(let A=0;A<T.length;A+=1){let E=T[A].value.toString();z+=T[A].marker+T[A].seriesName+" : "+E+"<br>"}return z="<div align='left'>"+z+"</div>",z}},xAxis:{type:"category",data:c()},yAxis:{type:"value"},series:d()}}function v(){if(H.bazi.value==null)return;if(i.value.length==0){Ve.showMessage("请至少勾选一组数据");return}o.value==null&&(o.value=0),l==null&&(l=pq(t.value),l.getZr().on("click",T=>{const z=[T.offsetX,T.offsetY];if(l.containPixel("grid",z)){const A=l.convertFromPixel({seriesIndex:0},[T.offsetX,T.offsetY])[0];try{let E=l.getOption().xAxis[0].data[A];s.value=E}catch(E){console.error(E)}}}));let C=h();l.clear(),l.setOption(C),s.value=""}Ho(function(){l!=null&&l.dispose()});function p(){v()}function g(){let C=[];if(H.bazi.value!=null){let T=H.bazi.value.qushiInfo[o.value];for(let z=0;z<n.length;z++){let A=n[z];if(i.value.indexOf(A)==-1)continue;let E=T.detailsYun.get(A);E!=null&&E.forEach(function(D){C.push(A+" : "+D)})}}return C}function m(){let C=[];if(H.bazi.value!=null){let T=H.bazi.value.qushiInfo[o.value];for(let z=0;z<n.length;z++){let A=n[z];if(i.value.indexOf(A)==-1)continue;let E=T.detailsNian.get(A);E!=null&&E.forEach(function(D){C.push(A+" : "+D)})}}return C}function b(){let C=[];if(H.bazi.value!=null){let T=parseInt(s.value.toString().replace("月","")),z=H.bazi.value.qushiInfo[o.value];for(let A=0;A<n.length;A++){let E=n[A];if(i.value.indexOf(E)==-1)continue;let D=z.detailsYue.get(E+"_"+T.toString());D!=null&&D.forEach(function($){C.push(E+" : "+$)})}}return C}function _(C){var T;C==1?i.value=["财","才","印"]:C==2?i.value=["杀","伤","食"]:C==4?i.value=["官","伤"]:C==3?i.value=["枭","食"]:C==5?i.value=["劫","杀"]:C==6?i.value=["食","印","比"]:C==7?i.value=["财","才","劫"]:C==8?i.value=["官","杀","比"]:C==0?i.value=["官","杀","财","才","印","枭","食","伤","比","劫"]:C==9&&((T=H.bazi.value)!=null&&T.is_man?i.value=["财","比","食"]:i.value=["官","比","食"]),v()}function w(C){let T=n.indexOf(C);return{color:r[T]}}function x(C){var z;let T="";return T=C.name+" "+(C.isMan?"男":"女")+" "+((z=C.year)==null?void 0:z.toString()),T}function S(){u.value.length>XGe&&u.value.splice(0,1)}return(C,T)=>{const z=se("el-checkbox-button"),A=se("el-button"),E=se("el-checkbox-group"),D=se("el-button-group"),$=se("el-radio-button"),O=se("el-radio-group"),R=se("el-col"),N=se("el-option"),B=se("el-select"),V=se("el-row"),P=se("el-text"),W=se("el-space"),Z=se("el-scrollbar"),ee=se("el-card");return k(),Y(ee,null,{header:M(()=>[X("div",WGe,[I(E,{modelValue:y(i),"onUpdate:modelValue":T[1]||(T[1]=re=>ct(i)?i.value=re:i=re)},{default:M(()=>[(k(!0),F(de,null,we(y(n),re=>(k(),Y(z,{value:re},{default:M(()=>[G(U(re),1)]),_:2},1032,["value"]))),256)),I(A,{style:{"margin-left":"20px"},onClick:T[0]||(T[0]=re=>v())},{default:M(()=>[G("重绘趋势图")]),_:1})]),_:1},8,["modelValue"])]),X("div",UGe,[I(D,null,{default:M(()=>[I(A,{onClick:T[2]||(T[2]=re=>_(0))},{default:M(()=>[G("全选")]),_:1}),I(A,{onClick:T[3]||(T[3]=re=>_(1))},{default:M(()=>[G("事业")]),_:1}),I(A,{onClick:T[4]||(T[4]=re=>_(7))},{default:M(()=>[G("财富")]),_:1}),I(A,{onClick:T[5]||(T[5]=re=>_(8))},{default:M(()=>[G("地位")]),_:1}),I(A,{onClick:T[6]||(T[6]=re=>_(9))},{default:M(()=>[G("家庭")]),_:1}),I(A,{onClick:T[7]||(T[7]=re=>_(2))},{default:M(()=>[G("健康")]),_:1}),I(A,{onClick:T[8]||(T[8]=re=>_(5))},{default:M(()=>[G("人脉")]),_:1}),I(A,{onClick:T[9]||(T[9]=re=>_(4))},{default:M(()=>[G("是非")]),_:1}),I(A,{onClick:T[10]||(T[10]=re=>_(6))},{default:M(()=>[G("学习")]),_:1}),I(A,{onClick:T[11]||(T[11]=re=>_(3))},{default:M(()=>[G("探索")]),_:1})]),_:1})])]),default:M(()=>[I(V,{style:{"margin-top":"10px"},align:"middle"},{default:M(()=>[I(R,{span:8,align:"left"},{default:M(()=>[I(O,{modelValue:y(o),"onUpdate:modelValue":T[12]||(T[12]=re=>ct(o)?o.value=re:o=re)},{default:M(()=>{var re;return[(k(!0),F(de,null,we((re=y(H).bazi.value)==null?void 0:re.qushiInfo,(ue,ye)=>(k(),Y($,{onChange:p,value:ye,label:ue.year},null,8,["value","label"]))),256))]}),_:1},8,["modelValue"])]),_:1}),I(R,{span:12,align:"left"},{default:M(()=>[I(B,{onChange:S,modelValue:y(u),"onUpdate:modelValue":T[13]||(T[13]=re=>ct(u)?u.value=re:u=re),multiple:"",clearable:""},{default:M(()=>[(k(!0),F(de,null,we(y(H).historyUser.value,(re,ue)=>(k(),Y(N,{value:ue,label:x(re)},{default:M(()=>[G(U(x(re)),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),X("div",YGe,[X("div",KGe,[I(W,{direction:"vertical",size:0},{default:M(()=>[y(i).indexOf("官")!=-1?(k(),Y(P,{key:0,style:Be(w("官"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("正官")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("杀")!=-1?(k(),Y(P,{key:1,style:Be(w("杀"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("七杀")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("财")!=-1?(k(),Y(P,{key:2,style:Be(w("财"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("正财")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("才")!=-1?(k(),Y(P,{key:3,style:Be(w("才"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("偏财")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("印")!=-1?(k(),Y(P,{key:4,style:Be(w("印"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("正印")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("枭")!=-1?(k(),Y(P,{key:5,style:Be(w("枭"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("偏印")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("食")!=-1?(k(),Y(P,{key:6,style:Be(w("食"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("食神")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("伤")!=-1?(k(),Y(P,{key:7,style:Be(w("伤"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("伤官")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("比")!=-1?(k(),Y(P,{key:8,style:Be(w("比"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("比肩")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("劫")!=-1?(k(),Y(P,{key:9,style:Be(w("劫"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I(P,null,{default:M(()=>[G("劫财")]),_:1})]),_:1},8,["style"])):Q("",!0)]),_:1})])]),I(Z,{style:{width:"100%"}},{default:M(()=>[X("div",{ref_key:"chartCompt",ref:t,style:{width:"100%",height:"400px"}},null,512)]),_:1}),y(s).length>0?(k(),Y(V,{key:0,style:{width:"100%"}},{default:M(()=>[I(R,{span:4},{default:M(()=>[I(P,null,{default:M(()=>[G(U(y(s))+" :",1)]),_:1})]),_:1}),I(R,{span:20,align:"left"},{default:M(()=>[I(W,{style:{width:"100%"},direction:"vertical",fill:"",size:0},{default:M(()=>[(k(!0),F(de,null,we(g(),re=>(k(),Y(P,null,{default:M(()=>[G(U(re),1)]),_:2},1024))),256))]),_:1}),I(W,{style:{width:"100%","margin-top":"10px"},direction:"vertical",fill:"",size:0},{default:M(()=>[(k(!0),F(de,null,we(m(),re=>(k(),Y(P,null,{default:M(()=>[G(U(re),1)]),_:2},1024))),256))]),_:1}),I(W,{style:{width:"100%","margin-top":"10px"},direction:"vertical",fill:"",size:0},{default:M(()=>[(k(!0),F(de,null,we(b(),re=>(k(),Y(P,null,{default:M(()=>[G(U(re),1)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):Q("",!0)]),_:1})}}}),JGe={align:"left"},QGe={align:"left",style:{"margin-top":"20px"}},eWe={style:{"margin-top":"10px"},align:"left"},tWe={style:{position:"relative"}},nWe={style:{position:"absolute",right:"0px",top:"0px","margin-top":"-50px"}},rWe=te({__name:"RiYunShi",setup(e){let t=j(null),n=["官","杀","财","才","印","枭","食","伤","比","劫"],r=["#8b8d47","#458860","#ee9512","#9a4e9f","#e35215","#9098b4","#e705c9","#4155da","#18b7e1","#ef0341"],a=j(0),i=j(["官","杀"]),o=null,l=j("甲"),s=j(""),u=j(""),c=j(0);function f(){let x=[];for(let S=9;S<=21;S+=2)x.push(S.toString()+"点");return a.value=x.length,x}function d(){let x=[];if(H.bazi.value!=null&&H.bazi.value.dailyQuShi.length>0){let S=H.bazi.value.dailyQuShi[c.value].get(l.value);for(let C=0;C<n.length;C++){let T=n[C];if(i.value.indexOf(T)==-1)continue;let z=[],A={name:T,type:"line",data:z,itemStyle:{color:r[C]},lineStyle:{type:"solid"}};for(let E=9;E<=21;E+=2){let D=T+"_"+E.toString();z.push(S.total.get(D))}x.push(A)}}return x}function h(){return{title:{text:u.value},tooltip:{trigger:"axis",axisPointer:{type:"shadow"},formatter:S=>{let C="";for(let T=0;T<S.length;T+=1){let z=S[T].value.toString();C+=S[T].marker+S[T].seriesName+" : "+z+"<br>"}return C="<div align='left'>"+C+"</div>",C}},xAxis:{type:"category",data:f()},yAxis:{type:"value"},series:d()}}function v(){if(H.bazi.value==null)return;if(i.value.length==0){Ve.showMessage("请至少勾选一组数据");return}l.value==null&&(l.value="甲"),o==null&&(o=pq(t.value),o.getZr().on("click",S=>{const C=[S.offsetX,S.offsetY];if(o.containPixel("grid",C)){const T=o.convertFromPixel({seriesIndex:0},[S.offsetX,S.offsetY])[0];try{let z=o.getOption().xAxis[0].data[T];s.value=z}catch(z){console.error(z)}}}));let x=h();o.clear(),o.setOption(x),s.value=""}Ho(function(){o!=null&&o.dispose()});function p(){v()}function g(){let x=[];if(H.bazi.value!=null&&H.bazi.value.dailyQuShi.length>0){let S=H.bazi.value.dailyQuShi[c.value].get(l.value);for(let C=0;C<n.length;C++){let T=n[C];if(i.value.indexOf(T)==-1)continue;let z=S.detailsRi.get(T);z!=null&&z.forEach(function(A){x.push(T+" : "+A)})}}return x}function m(){let x=[];if(H.bazi.value!=null){let S=parseInt(s.value.toString().replace("点","")),C=H.bazi.value.dailyQuShi[c.value].get(l.value);for(let T=0;T<n.length;T++){let z=n[T];if(i.value.indexOf(z)==-1)continue;let A=C.detailsShi.get(z+"_"+S.toString());A!=null&&A.forEach(function(E){x.push(z+" : "+E)})}}return x}function b(x){x==5?(i.value=["杀","伤","劫"],u.value="事务繁重程度"):x==6?(i.value=["财","才","比"],u.value="突发情况"):x==7?(i.value=["印","枭","比","劫","官"],u.value="助力来源"):x==8?(i.value=["食","伤","杀"],u.value="自身承接能力"):x==9?(i.value=["官","伤","劫"],u.value="人际关系冲突"):x==10&&(i.value=["食","伤","劫"],u.value="社交及人脉"),v()}function _(x){let S=n.indexOf(x);return{color:r[S]}}function w(){var S;let x=null;return H.bazi.value!=null&&(x=(S=H.bazi.value)==null?void 0:S.dailyQuShiDate[c.value]),x}return(x,S)=>{const C=se("el-checkbox-button"),T=se("el-button"),z=se("el-checkbox-group"),A=se("el-button-group"),E=se("el-radio-button"),D=se("el-radio-group"),$=se("el-text"),O=se("el-row"),R=se("el-space"),N=se("el-scrollbar"),B=se("el-col"),V=se("el-card");return k(),Y(V,null,{header:M(()=>[X("div",JGe,[I(z,{modelValue:y(i),"onUpdate:modelValue":S[1]||(S[1]=P=>ct(i)?i.value=P:i=P)},{default:M(()=>[(k(!0),F(de,null,we(y(n),P=>(k(),Y(C,{value:P},{default:M(()=>[G(U(P),1)]),_:2},1032,["value"]))),256)),I(T,{style:{"margin-left":"20px"},onClick:S[0]||(S[0]=P=>v())},{default:M(()=>[G("重绘趋势图")]),_:1})]),_:1},8,["modelValue"])]),X("div",QGe,[I(A,null,{default:M(()=>[I(T,{onClick:S[2]||(S[2]=P=>b(5))},{default:M(()=>[G("事务")]),_:1}),I(T,{onClick:S[3]||(S[3]=P=>b(6))},{default:M(()=>[G("波动")]),_:1}),I(T,{onClick:S[4]||(S[4]=P=>b(7))},{default:M(()=>[G("助力")]),_:1}),I(T,{onClick:S[5]||(S[5]=P=>b(8))},{default:M(()=>[G("承接")]),_:1}),I(T,{onClick:S[6]||(S[6]=P=>b(9))},{default:M(()=>[G("冲突")]),_:1}),I(T,{onClick:S[7]||(S[7]=P=>b(10))},{default:M(()=>[G("社交")]),_:1})]),_:1})])]),default:M(()=>[X("div",eWe,[I(O,{align:"middle"},{default:M(()=>[I(D,{modelValue:y(c),"onUpdate:modelValue":S[8]||(S[8]=P=>ct(c)?c.value=P:c=P)},{default:M(()=>[I(E,{onChange:p,value:0},{default:M(()=>[G("今")]),_:1}),I(E,{onChange:p,value:1},{default:M(()=>[G("明")]),_:1})]),_:1},8,["modelValue"]),I($,{style:{"margin-left":"20px"}},{default:M(()=>[G(U(w()),1)]),_:1})]),_:1}),I(D,{modelValue:y(l),"onUpdate:modelValue":S[9]||(S[9]=P=>ct(l)?l.value=P:l=P),style:{"margin-top":"20px"}},{default:M(()=>[(k(!0),F(de,null,we(y(Ht).tianganAry,P=>(k(),Y(E,{onChange:p,value:P,label:P},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),X("div",tWe,[X("div",nWe,[I(R,{direction:"vertical",size:0},{default:M(()=>[y(i).indexOf("官")!=-1?(k(),Y($,{key:0,style:Be(_("官"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("正官")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("杀")!=-1?(k(),Y($,{key:1,style:Be(_("杀"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("七杀")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("财")!=-1?(k(),Y($,{key:2,style:Be(_("财"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("正财")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("才")!=-1?(k(),Y($,{key:3,style:Be(_("才"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("偏财")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("印")!=-1?(k(),Y($,{key:4,style:Be(_("印"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("正印")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("枭")!=-1?(k(),Y($,{key:5,style:Be(_("枭"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("偏印")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("食")!=-1?(k(),Y($,{key:6,style:Be(_("食"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("食神")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("伤")!=-1?(k(),Y($,{key:7,style:Be(_("伤"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("伤官")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("比")!=-1?(k(),Y($,{key:8,style:Be(_("比"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("比肩")]),_:1})]),_:1},8,["style"])):Q("",!0),y(i).indexOf("劫")!=-1?(k(),Y($,{key:9,style:Be(_("劫"))},{default:M(()=>[G("◼︎◼︎◼︎ "),I($,null,{default:M(()=>[G("劫财")]),_:1})]),_:1},8,["style"])):Q("",!0)]),_:1})])]),I(N,{style:{width:"100%","margin-top":"20px"}},{default:M(()=>[X("div",{ref_key:"chartCompt",ref:t,style:{width:"100%",height:"400px"}},null,512)]),_:1}),y(s).length>0?(k(),Y(O,{key:0,style:{width:"100%"}},{default:M(()=>[I(B,{span:4},{default:M(()=>[I($,null,{default:M(()=>[G(U(y(s))+" :",1)]),_:1})]),_:1}),I(B,{span:20,align:"left"},{default:M(()=>[I(R,{style:{width:"100%"},direction:"vertical",fill:"",size:0},{default:M(()=>[(k(!0),F(de,null,we(g(),P=>(k(),Y($,null,{default:M(()=>[G(U(P),1)]),_:2},1024))),256))]),_:1}),I(R,{style:{width:"100%","margin-top":"10px"},direction:"vertical",fill:"",size:0},{default:M(()=>[(k(!0),F(de,null,we(m(),P=>(k(),Y($,null,{default:M(()=>[G(U(P),1)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):Q("",!0)]),_:1})}}}),aWe=te({__name:"Controller",setup(e){let t=j("sizhu"),n=j();function r(a){n.value.setUserData(a)}return(a,i)=>{const o=se("el-tab-pane"),l=se("el-tabs");return k(),F(de,null,[I(O6e,{style:{width:"750px"},ref_key:"baseInfoCompt",ref:n},null,512),I(l,{style:{width:"760px","margin-top":"10px"},modelValue:y(t),"onUpdate:modelValue":i[0]||(i[0]=s=>ct(t)?t.value=s:t=s),type:"card"},{default:M(()=>[I(o,{label:"四柱",name:"sizhu"},{default:M(()=>[I(U6e,{style:{width:"750px"}})]),_:1}),I(o,{label:"五行",name:"wuxing"},{default:M(()=>[I(X6e,{style:{width:"750px"}})]),_:1}),I(o,{label:"格局",name:"geju"},{default:M(()=>[I(M8e,{style:{width:"750px"}})]),_:1}),I(o,{label:"大运",name:"dayun"},{default:M(()=>[I(SCe,{style:{width:"750px"}})]),_:1}),I(o,{label:"诊断",name:"zhenduan"},{default:M(()=>[I(WCe)]),_:1}),I(o,{label:"趋势",name:"qushi"},{default:M(()=>[I(ZGe)]),_:1}),I(o,{label:"日运势",name:"riyunshi"},{default:M(()=>[I(rWe)]),_:1}),I(o,{label:"用户",name:"user"},{default:M(()=>[I(YCe,{"on-read-user":r})]),_:1})]),_:1},8,["modelValue"])],64)}}}),iWe=X("h3",null,"易 观 v2.0 ",-1),oWe={style:{width:"100%"},align:"middle"},lWe={style:{width:"50%"}},sWe={style:{width:"50%","margin-top":"10px"}},uWe={style:{width:"50%","margin-top":"20px"},align:"left"},cWe={style:{width:"50%","margin-top":"10px"},align:"left"},fWe={style:{width:"50%","margin-top":"10px"},align:"left"},dWe=te({__name:"Login",setup(e){let t=j(""),n=j(""),r=j("");function a(){let i=t.value.trim(),o=n.value.trim();i.length==0||o.length==0||Co.login(i,o,function(l){l==null||l.code==-1?r.value="登录失败":l.code==-100?r.value="更换了设备登录,请联系管理员或换回之前的设备登录。":(r.value="",IC.push({name:"controller"}))})}return(i,o)=>{const l=se("el-input"),s=se("el-button"),u=se("el-text"),c=se("el-card");return k(),Y(c,{style:{width:"750px",height:"400px"}},{header:M(()=>[iWe]),default:M(()=>[X("div",oWe,[X("div",lWe,[I(l,{modelValue:y(t),"onUpdate:modelValue":o[0]||(o[0]=f=>ct(t)?t.value=f:t=f),placeholder:"用户名",clearable:""},null,8,["modelValue"])]),X("div",sWe,[I(l,{onKeydown:fn(a,["enter"]),modelValue:y(n),"onUpdate:modelValue":o[1]||(o[1]=f=>ct(n)?n.value=f:n=f),type:"password",placeholder:"密码",clearable:""},null,8,["modelValue"])]),X("div",uWe,[I(s,{style:{width:"100%"},onClick:a,type:"primary"},{default:M(()=>[G("登录")]),_:1})]),X("div",cWe,[y(Co).debugMode?(k(),Y(u,{key:0,tag:"b",type:"success"},{default:M(()=>[G("测试模式")]),_:1})):Q("",!0)]),X("div",fWe,[I(u,{tag:"b",type:"danger"},{default:M(()=>[G(U(y(r)),1)]),_:1})])])]),_:1})}}}),hWe=[{path:"/",name:"login",component:dWe},{path:"/home",name:"controller",component:aWe}],IC=EZ({history:aZ(),routes:hWe});var s5;(e=>{e.areas=`省,市,区,北纬,东经,时,分,秒,市拼音,区拼音
  128. 未知地区,-,-,39,120,0,0,0,wz,wz
  129. 北京,北京,东城区,39.9288,116.416,23,42,31,bj,dc
  130. 北京,北京,西城区,39.9123,116.367,23,42,19,bj,xc
  131. 北京,北京,崇文区,39.8951,116.42,23,42,31,bj,cw
  132. 北京,北京,宣武区,39.8965,116.389,23,42,24,bj,xw
  133. 北京,北京,朝阳区,39.9217,116.443,23,42,36,bj,cy
  134. 北京,北京,丰台区,39.8581,116.287,23,42,0,bj,ft
  135. 北京,北京,石景山区,39.9058,116.223,23,41,43,bj,sjs
  136. 北京,北京,海淀区,39.9592,116.299,23,42,3,bj,hd
  137. 北京,北京,门头沟区,39.941,116.102,23,41,15,bj,mtg
  138. 北京,北京,房山区,39.7493,116.145,23,41,27,bj,fs
  139. 北京,北京,通州区,39.9063,116.664,23,43,29,bj,tz
  140. 北京,北京,顺义区,40.1295,116.655,23,43,29,bj,sy
  141. 北京,北京,昌平区,40.2202,116.232,23,41,46,bj,cp
  142. 北京,北京,大兴区,39.7276,116.343,23,42,12,bj,dx
  143. 北京,北京,怀柔区,40.3162,116.633,23,43,22,bj,hr
  144. 北京,北京,平谷区,40.1407,117.123,23,45,19,bj,pg
  145. 北京,北京,密云区,40.3766,116.415,23,42,31,bj,my
  146. 北京,北京,延庆区,40.3766,116.415,23,42,31,bj,yq
  147. 上海,上海,黄浦区,31.2326,121.486,0,2,48,sh,hp
  148. 上海,上海,卢湾区,31.2074,121.475,0,2,46,sh,lw
  149. 上海,上海,徐汇区,31.1853,121.437,0,2,36,sh,xh
  150. 上海,上海,长宁区,31.2212,121.423,0,2,31,sh,cn
  151. 上海,上海,静安区,31.2265,121.456,0,2,41,sh,ja
  152. 上海,上海,普陀区,31.2487,121.397,0,2,27,sh,pt
  153. 上海,上海,闸北区,31.2472,121.46,0,2,41,sh,zb
  154. 上海,上海,虹口区,31.2645,121.505,0,2,53,sh,hk
  155. 上海,上海,杨浦区,31.2601,121.526,0,2,58,sh,yp
  156. 上海,上海,闵行区,31.1134,121.382,0,2,22,sh,mh
  157. 上海,上海,宝山区,31.4052,121.489,0,2,48,sh,bs
  158. 上海,上海,嘉定区,31.3746,121.266,0,1,55,sh,jd
  159. 上海,上海,浦东新区,31.2208,121.544,0,3,0,sh,pdxq
  160. 上海,上海,金山区,30.7418,121.343,0,2,12,sh,js
  161. 上海,上海,松江区,31.0325,121.227,0,1,46,sh,sj
  162. 上海,上海,青浦区,31.1499,121.124,0,1,19,sh,pq
  163. 上海,上海,南汇区,31.0594,121.736,0,3,48,sh,nh
  164. 上海,上海,奉贤区,30.9189,121.475,0,2,46,sh,fx
  165. 上海,上海,崇明区,30.9189,121.475,0,2,46,sh,cm
  166. 天津,天津,和平区,39.1165,117.217,23,45,43,tj,hp
  167. 天津,天津,河东区,39.1276,117.254,23,45,51,tj,hd
  168. 天津,天津,河西区,39.1074,117.225,23,45,46,tj,hx
  169. 天津,天津,南开区,39.1371,117.151,23,45,27,tj,nk
  170. 天津,天津,河北区,39.1479,117.197,23,45,39,tj,kb
  171. 天津,天津,红桥区,39.1683,117.152,23,45,27,tj,hq
  172. 天津,天津,塘沽区,39.0368,117.672,23,47,31,tj,tg
  173. 天津,天津,汉沽区,39.2497,117.807,23,48,5,tj,hg
  174. 天津,天津,大港区,38.8466,117.467,23,46,43,tj,dg
  175. 天津,天津,东丽区,39.0822,117.319,23,46,7,tj,dl
  176. 天津,天津,西青区,39.1391,117.01,23,44,53,tj,xq
  177. 天津,天津,津南区,38.9346,117.361,23,46,17,tj,jn
  178. 天津,天津,北辰区,39.2224,117.14,23,45,24,tj,bc
  179. 天津,天津,武清区,39.381,117.049,23,45,3,tj,wq
  180. 天津,天津,宝坻区,39.7211,117.309,23,46,5,tj,bd
  181. 天津,天津,宁河区,39.3816,117.6894,23,47,36,tj,nh
  182. 天津,天津,静海区,38.8613,116.9728,23,44,43,tj,jh
  183. 天津,天津,蓟州区,39.099,117.204,23,45,39,tj,jz
  184. 重庆,重庆,万州区,30.8084,108.41,23,10,29,qc,wz
  185. 重庆,重庆,涪陵区,29.7037,107.389,23,6,24,qc,fl
  186. 重庆,重庆,渝中区,29.5529,106.569,23,3,7,qc,yz
  187. 重庆,重庆,大渡口区,29.4841,106.483,23,2,46,qc,ddk
  188. 重庆,重庆,江北区,29.6065,106.574,23,3,7,qc,jb
  189. 重庆,重庆,沙坪坝区,29.5406,106.46,23,2,41,qc,spb
  190. 重庆,重庆,九龙坡区,29.5019,106.512,23,2,53,qc,jlp
  191. 重庆,重庆,南岸区,29.5216,106.563,23,3,5,qc,na
  192. 重庆,重庆,北碚区,29.8058,106.398,23,2,27,qc,bf
  193. 重庆,重庆,万盛区,28.9098,106.918,23,4,31,qc,ws
  194. 重庆,重庆,双桥区,29.4971,105.787,23,0,0,qc,sq
  195. 重庆,重庆,渝北区,29.724,106.626,23,3,22,qc,yb
  196. 重庆,重庆,巴南区,29.4035,106.542,23,3,0,qc,bn
  197. 重庆,重庆,黔江区,29.5335,108.772,23,11,55,qc,qj
  198. 重庆,重庆,长寿区,29.8581,107.082,23,5,10,qc,cs
  199. 重庆,县,綦江县,28.9622,106.928,23,4,34,x,qj
  200. 重庆,县,潼南县,30.1903,105.841,23,0,12,x,tn
  201. 重庆,县,铜梁县,29.8446,106.059,23,1,5,x,tl
  202. 重庆,县,大足县,29.4832,105.773,22,59,55,x,dz
  203. 重庆,县,荣昌县,29.4048,105.597,22,59,15,x,rc
  204. 重庆,县,璧山县,29.5923,106.229,23,1,46,x,bs
  205. 重庆,县,梁平县,30.6746,107.805,23,8,5,x,lp
  206. 重庆,县,城口县,31.948,108.666,23,11,31,x,ck
  207. 重庆,县,丰都县,29.8629,107.733,23,7,46,x,fd
  208. 重庆,县,垫江县,30.3265,107.335,23,6,12,x,dj
  209. 重庆,县,武隆县,29.3271,107.76,23,7,53,x,wl
  210. 重庆,县,忠县,30.3002,108.036,23,9,0,x,zx
  211. 重庆,县,开县,31.1613,108.395,23,10,27,x,kx
  212. 重庆,县,云阳县,30.9307,108.699,23,11,39,x,yy
  213. 重庆,县,奉节县,31.0184,109.465,23,14,43,x,fj
  214. 重庆,县,巫山县,31.0748,109.881,23,16,22,x,ws
  215. 重庆,县,巫溪县,31.3987,109.571,23,15,7,x,wx
  216. 重庆,县,石柱土家族自治县,29.9986,108.115,23,9,19,x,sz
  217. 重庆,县,秀山土家苗族自治县,28.4476,109.007,23,12,53,x,xs
  218. 重庆,县,酉阳土家苗族自治县,28.8412,108.768,23,11,55,x,yy
  219. 重庆,县,彭水苗族土家自治县,29.2941,108.164,23,9,29,x,ps
  220. 重庆,两江新区,江津区,29.2903,106.262,23,1,53,lj,jj
  221. 重庆,两江新区,合川区,29.9725,106.278,23,1,58,lj,hc
  222. 重庆,两江新区,永川区,29.3561,105.929,23,0,34,lj,yc
  223. 重庆,两江新区,南川区,29.1578,107.101,23,5,15,lj,nc
  224. 香港,九龙半岛,油尖旺区,22.39,114.18,23,33,34,jl,yjw
  225. 香港,九龙半岛,观塘区,22.39,114.18,23,33,34,jl,gt
  226. 香港,九龙半岛,九龙城区,22.39,114.18,23,33,34,jl,jlc
  227. 香港,九龙半岛,黄大仙区,22.39,114.18,23,33,34,jl,hdx
  228. 香港,九龙半岛,深水埗区,22.39,114.18,23,33,34,jl,ssb
  229. 香港,香港岛,湾仔区,22.39,114.18,23,33,34,xgd,wz
  230. 香港,香港岛,北区,22.39,114.18,23,33,34,xgd,bq
  231. 香港,香港岛,南区,22.39,114.18,23,33,34,xgd,nq
  232. 香港,香港岛,中西区,22.39,114.18,23,33,34,xgd,zx
  233. 香港,新界,北区,22.39,114.18,23,33,34,xj,bq
  234. 香港,新界,大埔区,22.39,114.18,23,33,34,xj,dp
  235. 香港,新界,荃湾区,22.39,114.18,23,33,34,xj,qw
  236. 香港,新界,屯门区,22.39,114.18,23,33,34,xj,tm
  237. 香港,新界,元朗区,22.39,114.18,23,33,34,xj,yl
  238. 香港,新界,葵青区,22.39,114.18,23,33,34,xj,kq
  239. 香港,新界,离岛区,22.39,114.18,23,33,34,xj,ld
  240. 香港,新界,沙田区,22.39,114.18,23,33,34,xj,st
  241. 香港,新界,西贡区,22.39,114.18,23,33,34,xj,xg
  242. 澳门,路环,圣方济各堂区,22.149,113.568,23,31,7,lh,sfjgt
  243. 澳门,氹仔,嘉模堂区,22.149,113.568,23,31,7,dz,jmt
  244. 澳门,澳门半岛,风顺堂区,22.149,113.568,23,31,7,ambd,fst
  245. 澳门,澳门半岛,望德堂区,22.149,113.568,23,31,7,ambd,wdt
  246. 澳门,澳门半岛,大堂区,22.149,113.568,23,31,7,ambd,dt
  247. 澳门,澳门半岛,圣安多尼堂区,22.149,113.568,23,31,7,ambd,sadnt
  248. 澳门,澳门半岛,花地玛堂区,22.149,113.568,23,31,7,ambd,hdmt
  249. 台湾省,新北市,板桥区,25.019,121.478,0,2,46,xb,bq
  250. 台湾省,新北市,汐止区,25.019,121.478,0,2,46,xb,xz
  251. 台湾省,新北市,新店区,25.019,121.478,0,2,46,xb,xd
  252. 台湾省,新北市,永和区,25.019,121.478,0,2,46,xb,yh
  253. 台湾省,新北市,中和区,25.019,121.478,0,2,46,xb,zh
  254. 台湾省,新北市,土城区,25.019,121.478,0,2,46,xb,tc
  255. 台湾省,新北市,树林区,25.019,121.478,0,2,46,xb,sl
  256. 台湾省,新北市,三重区,25.019,121.478,0,2,46,xb,sc
  257. 台湾省,新北市,新庄区,25.019,121.478,0,2,46,xb,zx
  258. 台湾省,新北市,芦洲区,25.019,121.478,0,2,46,xb,lz
  259. 台湾省,新北市,瑞芳区,25.019,121.478,0,2,46,xb,rf
  260. 台湾省,新北市,三峡区,25.019,121.478,0,2,46,xb,sx
  261. 台湾省,新北市,莺歌区,25.019,121.478,0,2,46,xb,yg
  262. 台湾省,新北市,淡水区,25.019,121.478,0,2,46,xb,ds
  263. 台湾省,新北市,万里区,25.019,121.478,0,2,46,xb,wl
  264. 台湾省,新北市,金山区,25.019,121.478,0,2,46,xb,js
  265. 台湾省,新北市,深坑区,25.019,121.478,0,2,46,xb,sk
  266. 台湾省,新北市,石碇区,25.019,121.478,0,2,46,xb,sd
  267. 台湾省,新北市,平溪区,25.019,121.478,0,2,46,xb,px
  268. 台湾省,新北市,双溪区,25.019,121.478,0,2,46,xb,sx
  269. 台湾省,新北市,贡寮区,25.019,121.478,0,2,46,xb,gl
  270. 台湾省,新北市,坪林区,25.019,121.478,0,2,46,xb,pl
  271. 台湾省,新北市,乌来区,25.019,121.478,0,2,46,xb,wl
  272. 台湾省,新北市,泰山区,25.019,121.478,0,2,46,xb,ts
  273. 台湾省,新北市,林口区,25.019,121.478,0,2,46,xb,lk
  274. 台湾省,新北市,五股区,25.019,121.478,0,2,46,xb,wg
  275. 台湾省,新北市,八里区,25.019,121.478,0,2,46,xb,bl
  276. 台湾省,新北市,三芝区,25.019,121.478,0,2,46,xb,sz
  277. 台湾省,新北市,石门区,25.019,121.478,0,2,46,xb,sm
  278. 台湾省,桃园市,桃园区,24.998,121.308,0,2,5,ty,ty
  279. 台湾省,桃园市,中坜区,24.998,121.308,0,2,5,ty,zl
  280. 台湾省,桃园市,平镇区,24.998,121.308,0,2,5,ty,pz
  281. 台湾省,桃园市,八德区,24.998,121.308,0,2,5,ty,bd
  282. 台湾省,桃园市,杨梅区,24.998,121.308,0,2,5,ty,ym
  283. 台湾省,桃园市,大溪区,24.998,121.308,0,2,5,ty,dx
  284. 台湾省,桃园市,芦竹区,24.998,121.308,0,2,5,ty,lz
  285. 台湾省,桃园市,龙潭区,24.998,121.308,0,2,5,ty,lt
  286. 台湾省,桃园市,龟山区,24.998,121.308,0,2,5,ty,gs
  287. 台湾省,桃园市,大园区,24.998,121.308,0,2,5,ty,dy
  288. 台湾省,桃园市,观音区,24.998,121.308,0,2,5,ty,gy
  289. 台湾省,桃园市,新屋区,24.998,121.308,0,2,5,ty,xw
  290. 台湾省,桃园市,复兴区,24.998,121.308,0,2,5,ty,fx
  291. 台湾省,台中市,中区,24.166,120.655,23,59,29,tz,zq
  292. 台湾省,台中市,东区,24.166,120.655,23,59,29,tz,dq
  293. 台湾省,台中市,南区,24.166,120.655,23,59,29,tz,nq
  294. 台湾省,台中市,西区,24.166,120.655,23,59,29,tz,xq
  295. 台湾省,台中市,北区,24.166,120.655,23,59,29,tz,bq
  296. 台湾省,台中市,北屯区,24.166,120.655,23,59,29,tz,bt
  297. 台湾省,台中市,西屯区,24.166,120.655,23,59,29,tz,xt
  298. 台湾省,台中市,南屯区,24.166,120.655,23,59,29,tz,nt
  299. 台湾省,台中市,太平区,24.166,120.655,23,59,29,tz,tp
  300. 台湾省,台中市,大里区,24.166,120.655,23,59,29,tz,dl
  301. 台湾省,台中市,雾峰区,24.166,120.655,23,59,29,tz,wf
  302. 台湾省,台中市,乌日区,24.166,120.655,23,59,29,tz,wr
  303. 台湾省,台中市,丰原区,24.166,120.655,23,59,29,tz,fy
  304. 台湾省,台中市,后里区,24.166,120.655,23,59,29,tz,hl
  305. 台湾省,台中市,潭子区,24.166,120.655,23,59,29,tz,tz
  306. 台湾省,台中市,大雅区,24.166,120.655,23,59,29,tz,dy
  307. 台湾省,台中市,神冈区,24.166,120.655,23,59,29,tz,sg
  308. 台湾省,台中市,石冈区,24.166,120.655,23,59,29,tz,sg
  309. 台湾省,台中市,东势区,24.166,120.655,23,59,29,tz,ds
  310. 台湾省,台中市,新社区,24.166,120.655,23,59,29,tz,xs
  311. 台湾省,台中市,和平区,24.166,120.655,23,59,29,tz,hp
  312. 台湾省,台中市,大肚区,24.166,120.655,23,59,29,tz,dd
  313. 台湾省,台中市,沙鹿区,24.166,120.655,23,59,29,tz,sl
  314. 台湾省,台中市,龙井区,24.166,120.655,23,59,29,tz,lj
  315. 台湾省,台中市,梧栖区,24.166,120.655,23,59,29,tz,wq
  316. 台湾省,台中市,清水区,24.166,120.655,23,59,29,tz,qs
  317. 台湾省,台中市,大甲区,24.166,120.655,23,59,29,tz,dj
  318. 台湾省,台中市,外埔区,24.166,120.655,23,59,29,tz,wp
  319. 台湾省,台中市,大安区,24.166,120.655,23,59,29,tz,da
  320. 台湾省,台南市,中西区,23,120.2,23,57,39,tn,zx
  321. 台湾省,台南市,南区,23,120.2,23,57,39,tn,nq
  322. 台湾省,台南市,东区,23,120.2,23,57,39,tn,dq
  323. 台湾省,台南市,北区,23,120.2,23,57,39,tn,bq
  324. 台湾省,台南市,安平区,23,120.2,23,57,39,tn,ap
  325. 台湾省,台南市,安南区,23,120.2,23,57,39,tn,an
  326. 台湾省,台南市,永康区,23,120.2,23,57,39,tn,yk
  327. 台湾省,台南市,归仁区,23,120.2,23,57,39,tn,gr
  328. 台湾省,台南市,新化区,23,120.2,23,57,39,tn,xh
  329. 台湾省,台南市,左镇区,23,120.2,23,57,39,tn,zz
  330. 台湾省,台南市,玉井区,23,120.2,23,57,39,tn,yj
  331. 台湾省,台南市,楠西区,23,120.2,23,57,39,tn,nx
  332. 台湾省,台南市,南化区,23,120.2,23,57,39,tn,nh
  333. 台湾省,台南市,仁德区,23,120.2,23,57,39,tn,rd
  334. 台湾省,台南市,关庙区,23,120.2,23,57,39,tn,gm
  335. 台湾省,台南市,龙崎区,23,120.2,23,57,39,tn,lq
  336. 台湾省,台南市,官田区,23,120.2,23,57,39,tn,gt
  337. 台湾省,台南市,麻豆区,23,120.2,23,57,39,tn,md
  338. 台湾省,台南市,佳里区,23,120.2,23,57,39,tn,jl
  339. 台湾省,台南市,西港区,23,120.2,23,57,39,tn,xg
  340. 台湾省,台南市,七股区,23,120.2,23,57,39,tn,qg
  341. 台湾省,台南市,将军区,23,120.2,23,57,39,tn,jj
  342. 台湾省,台南市,学甲区,23,120.2,23,57,39,tn,xj
  343. 台湾省,台南市,北门区,23,120.2,23,57,39,tn,bm
  344. 台湾省,台南市,新营区,23,120.2,23,57,39,tn,xy
  345. 台湾省,台南市,后壁区,23,120.2,23,57,39,tn,hb
  346. 台湾省,台南市,白河区,23,120.2,23,57,39,tn,bh
  347. 台湾省,台南市,东山区,23,120.2,23,57,39,tn,ds
  348. 台湾省,台南市,六甲区,23,120.2,23,57,39,tn,lj
  349. 台湾省,台南市,下营区,23,120.2,23,57,39,tn,xy
  350. 台湾省,台南市,柳营区,23,120.2,23,57,39,tn,ly
  351. 台湾省,台南市,盐水区,23,120.2,23,57,39,tn,ys
  352. 台湾省,台南市,善化区,23,120.2,23,57,39,tn,sh
  353. 台湾省,台南市,大内区区,23,120.2,23,57,39,tn,dn
  354. 台湾省,台南市,山上区,23,120.2,23,57,39,tn,ss
  355. 台湾省,台南市,新市区,23,120.2,23,57,39,tn,xs
  356. 台湾省,台南市,安定区,23,120.2,23,57,39,tn,ad
  357. 台湾省,高雄市,旧高雄区,22.62,120.28,23,57,58,gx,jgx
  358. 台湾省,高雄市,凤山地区,22.62,120.28,23,57,58,gx,fs
  359. 台湾省,高雄市,冈山地区,22.62,120.28,23,57,58,gx,gs
  360. 台湾省,高雄市,旗山地区,22.62,120.28,23,57,58,gx,qs
  361. 安徽省,合肥,市辖区,31.8203,117.23,23,45,46,hf,sxq
  362. 安徽省,合肥,瑶海区,31.8582,117.31,23,46,5,hf,yh
  363. 安徽省,合肥,庐阳区,31.8781,117.265,23,45,55,hf,ly
  364. 安徽省,合肥,蜀山区,31.8518,117.262,23,45,53,hf,ss
  365. 安徽省,合肥,包河区,31.794,117.311,23,46,5,hf,bh
  366. 安徽省,合肥,长丰县,32.4765,117.169,23,45,31,hf,cf
  367. 安徽省,合肥,肥东县,31.8883,117.471,23,46,43,hf,fd
  368. 安徽省,合肥,肥西县,31.7065,117.159,23,45,29,hf,fx
  369. 安徽省,芜湖,市辖区,31.3526,118.434,23,50,34,wh,sxq
  370. 安徽省,芜湖,镜湖区,31.3407,118.385,23,50,24,wh,jh
  371. 安徽省,芜湖,戈江区,31.3119,118.373,23,50,19,wh,gj
  372. 安徽省,芜湖,新芜区,31.3497,118.365,23,50,19,wh,jw
  373. 安徽省,芜湖,鸠江区,31.3697,118.393,23,50,24,wh,jj
  374. 安徽省,芜湖,芜湖县,31.1341,118.576,23,51,10,wh,wh
  375. 安徽省,芜湖,繁昌县,31.0831,118.199,23,49,39,wh,fc
  376. 安徽省,芜湖,南陵县,30.9148,118.335,23,50,12,wh,nl
  377. 安徽省,芜湖,无为县,39.8951,116.42,23,42,31,wh,ww
  378. 安徽省,蚌埠,市辖区,32.9149,117.389,23,46,24,bb,sxq
  379. 安徽省,蚌埠,龙子湖区,32.9422,117.395,23,46,27,bb,lzh
  380. 安徽省,蚌埠,蚌山区,32.9442,117.368,23,46,19,bb,bs
  381. 安徽省,蚌埠,禹会区,32.9293,117.342,23,46,12,bb,yh
  382. 安徽省,蚌埠,淮上区,32.9643,117.36,23,46,17,bb,hs
  383. 安徽省,蚌埠,怀远县,32.9703,117.206,23,45,41,bb,hy
  384. 安徽省,蚌埠,五河县,33.1451,117.885,23,48,24,bb,wh
  385. 安徽省,蚌埠,固镇县,33.3172,117.316,23,46,7,bb,gz
  386. 安徽省,淮南,市辖区,32.6254,117,23,44,51,hn,sxq
  387. 安徽省,淮南,大通区,32.6305,117.053,23,45,3,hn,dt
  388. 安徽省,淮南,田家庵区,32.6468,117.018,23,44,55,hn,tja
  389. 安徽省,淮南,谢家集区,32.599,116.859,23,44,17,hn,xjj
  390. 安徽省,淮南,八公山区,32.6295,116.834,23,44,10,hn,bgs
  391. 安徽省,淮南,潘集区,32.7719,116.836,23,44,12,hn,pj
  392. 安徽省,淮南,凤台县,32.709,116.71,23,43,41,hn,ft
  393. 安徽省,马鞍山,市辖区,31.6695,118.505,23,50,53,mas,sxq
  394. 安徽省,马鞍山,金家庄区,31.7386,118.519,23,50,55,mas,jjz
  395. 安徽省,马鞍山,花山区,31.6995,118.511,23,50,53,mas,hs
  396. 安徽省,马鞍山,雨山区,31.6807,118.498,23,50,51,mas,ys
  397. 安徽省,马鞍山,当涂县,31.5699,118.498,23,50,51,mas,dt
  398. 安徽省,淮北,市辖区,33.9574,116.793,23,44,0,hb,sxq
  399. 安徽省,淮北,杜集区,33.9904,116.828,23,44,10,hb,dj
  400. 安徽省,淮北,相山区,33.9592,116.795,23,44,3,hb,xs
  401. 安徽省,淮北,烈山区,33.8948,116.813,23,44,5,hb,ls
  402. 安徽省,淮北,濉溪县,33.9151,116.766,23,43,55,hb,sx
  403. 安徽省,铜陵,市辖区,30.945,117.812,23,48,5,tl,sxq
  404. 安徽省,铜陵,铜官山区,30.9339,117.815,23,48,7,tl,tgs
  405. 安徽省,铜陵,狮子山区,30.9555,117.874,23,48,19,tl,szs
  406. 安徽省,铜陵,郊区,30.9045,117.801,23,48,3,tl,jq
  407. 安徽省,铜陵,铜陵县,30.9534,117.791,23,48,0,tl,tl
  408. 安徽省,安庆,市辖区,30.511,117.091,23,45,12,aq,sxq
  409. 安徽省,安庆,迎江区,30.511,117.091,23,45,12,aq,yj
  410. 安徽省,安庆,大观区,30.5123,117.034,23,44,58,aq,dg
  411. 安徽省,安庆,郊区,30.9045,117.801,23,48,3,aq,jq
  412. 安徽省,安庆,怀宁县,30.7326,116.829,23,44,10,aq,hn
  413. 安徽省,安庆,枞阳县,30.6996,117.22,23,45,43,aq,zy
  414. 安徽省,安庆,潜山县,30.6296,116.583,23,43,10,aq,qs
  415. 安徽省,安庆,太湖县,30.454,116.309,23,42,5,aq,th
  416. 安徽省,安庆,宿松县,30.1513,116.129,23,41,22,aq,ss
  417. 安徽省,安庆,望江县,30.1238,116.694,23,43,36,aq,wj
  418. 安徽省,安庆,岳西县,30.8481,116.361,23,42,17,aq,yx
  419. 安徽省,安庆,桐城,31.0352,116.974,23,44,43,aq,tc
  420. 安徽省,黄山,市辖区,30.1284,118.168,23,49,31,hs,sxq
  421. 安徽省,黄山,屯溪区,29.6964,118.315,23,50,7,hs,tx
  422. 安徽省,黄山,黄山区,30.273,118.141,23,49,24,hs,hs
  423. 安徽省,黄山,徽州区,29.828,118.337,23,50,12,hs,hz
  424. 安徽省,黄山,歙县,29.8606,118.414,23,50,29,hs,sx
  425. 安徽省,黄山,休宁县,29.786,118.183,23,49,34,hs,xnx
  426. 安徽省,黄山,黟县,29.924,117.939,23,48,36,hs,yx
  427. 安徽省,黄山,祁门县,29.8544,117.717,23,47,43,hs,qm
  428. 安徽省,滁州,市辖区,32.3017,118.317,23,50,7,cz,sxq
  429. 安徽省,滁州,琅琊区,32.2937,118.306,23,50,5,cz,ly
  430. 安徽省,滁州,南谯区,32.3529,118.171,23,49,31,cz,nj
  431. 安徽省,滁州,来安县,32.4513,118.437,23,50,36,cz,la
  432. 安徽省,滁州,全椒县,32.0842,118.273,23,49,55,cz,qj
  433. 安徽省,滁州,定远县,32.5295,117.699,23,47,39,cz,dy
  434. 安徽省,滁州,凤阳县,32.8663,117.562,23,47,5,cz,fy
  435. 安徽省,滁州,天长,32.6893,119.004,23,52,51,cz,tc
  436. 安徽省,滁州,明光,32.7776,117.991,23,48,48,cz,mg
  437. 安徽省,阜阳,市辖区,32.89,115.82,23,40,7,fy,sxq
  438. 安徽省,阜阳,颍州区,32.88,115.81,23,40,5,fy,yz
  439. 安徽省,阜阳,颍东区,32.91,115.86,23,40,17,fy,yd
  440. 安徽省,阜阳,颍泉区,32.92,115.81,23,40,5,fy,yq
  441. 安徽省,阜阳,临泉县,33.07,115.27,23,37,55,fy,lq
  442. 安徽省,阜阳,太和县,33.16,115.62,23,39,19,fy,th
  443. 安徽省,阜阳,阜南县,32.66,115.6,23,39,15,fy,fn
  444. 安徽省,阜阳,颍上县,32.63,116.26,23,41,53,fy,ys
  445. 安徽省,阜阳,界首,32.63,116.26,23,38,22,fy,js
  446. 安徽省,宿州,市辖区,33.65,116.97,23,44,43,sz,sxq
  447. 安徽省,宿州,墉桥区,33.64,116.98,23,44,46,sz,yq
  448. 安徽省,宿州,砀山县,34.44,116.37,23,42,19,sz,ds
  449. 安徽省,宿州,萧县,34.41,116.49,23,42,48,sz,xx
  450. 安徽省,宿州,灵璧县,33.54,117.56,23,47,5,sz,lb
  451. 安徽省,宿州,泗县,33.54,117.56,23,48,17,sz,sx
  452. 安徽省,巢湖,市辖区,31.6,117.87,23,48,19,ch,sxq
  453. 安徽省,巢湖,居巢区,31.6,117.87,23,47,43,ch,jc
  454. 安徽省,巢湖,庐江县,31.27,117.33,23,46,10,ch,lj
  455. 安徽省,巢湖,无为县,31.25,117.86,23,48,17,ch,ww
  456. 安徽省,巢湖,含山县,31.66,118.05,23,49,3,ch,hs
  457. 安徽省,巢湖,和县,31.66,118.05,23,50,0,ch,hx
  458. 安徽省,六安,市辖区,31.73,116.52,23,42,55,la,sxq
  459. 安徽省,六安,金安区,31.75,116.54,23,43,0,la,ja
  460. 安徽省,六安,裕安区,31.74,116.48,23,42,46,la,ya
  461. 安徽省,六安,寿县,32.57,116.78,23,43,58,la,sx
  462. 安徽省,六安,霍邱县,32.35,116.28,23,41,58,la,hq
  463. 安徽省,六安,舒城县,31.46,116.95,23,44,39,la,sc
  464. 安徽省,六安,金寨县,31.73,115.93,23,40,34,la,jz
  465. 安徽省,六安,霍山县,31.39,116.33,23,42,10,la,hs
  466. 安徽省,毫州,市辖区,33.84,115.78,23,39,58,hz,sxq
  467. 安徽省,毫州,谯城区,33.88,115.78,23,39,58,hz,qc
  468. 安徽省,毫州,涡阳县,33.49,116.22,23,41,43,hz,wy
  469. 安徽省,毫州,蒙城县,33.27,116.56,23,43,5,hz,mc
  470. 安徽省,毫州,利辛县,33.14,116.21,23,41,41,hz,lx
  471. 安徽省,池州,市辖区,30.66,117.49,23,46,48,cz,sxq
  472. 安徽省,池州,贵池县,30.69,117.57,23,47,7,cz,gc
  473. 安徽省,池州,东至县,30.1,117.03,23,44,58,cz,dz
  474. 安徽省,池州,石台县,30.21,117.49,23,46,48,cz,st
  475. 安徽省,池州,青阳县,30.64,117.85,23,48,15,cz,qy
  476. 安徽省,宣城,市辖区,30.94,118.76,23,51,53,xc,sxq
  477. 安徽省,宣城,宣州区,30.95,118.76,23,51,53,xc,xz
  478. 安徽省,宣城,郎溪县,31.13,119.18,23,53,34,xc,lx
  479. 安徽省,宣城,广德县,30.89,119.42,23,54,31,xc,gd
  480. 安徽省,宣城,泾县,30.69,118.42,23,50,31,xc,jx
  481. 安徽省,宣城,绩溪县,30.07,118.58,23,51,10,xc,jx
  482. 安徽省,宣城,旌德县,30.29,118.54,23,51,0,xc,jd
  483. 安徽省,宣城,宁国,30.29,118.54,23,52,46,xc,ng
  484. 福建省,福州,市辖区,26.07,119.3,23,54,3,fz,sxq
  485. 福建省,福州,鼓楼区,26.08,119.31,23,54,5,fz,gl
  486. 福建省,福州,台江区,26.05,119.31,23,54,5,fz,tj
  487. 福建省,福州,仓山区,26.05,119.27,23,53,55,fz,cs
  488. 福建省,福州,马尾区,25.99,119.46,23,54,41,fz,mw
  489. 福建省,福州,晋安区,26.08,119.33,23,54,10,fz,ja
  490. 福建省,福州,闽侯县,26.15,119.13,23,53,22,fz,mh
  491. 福建省,福州,连江县,26.2,119.54,23,55,0,fz,lj
  492. 福建省,福州,罗源县,26.49,119.55,23,55,3,fz,ly
  493. 福建省,福州,闽清县,26.22,118.86,23,52,17,fz,mq
  494. 福建省,福州,永泰县,25.87,118.93,23,52,34,fz,yt
  495. 福建省,福州,平潭县,25.5,119.79,23,56,0,fz,pt
  496. 福建省,福州,福清,25.72,119.38,23,54,22,fz,fq
  497. 福建省,福州,长乐,25.96,119.52,23,54,55,fz,cl
  498. 福建省,厦门,市辖区,24.48,118.09,23,49,12,xm,sxq
  499. 福建省,厦门,思明区,24.45,118.08,23,49,10,xm,sm
  500. 福建省,厦门,海沧区,24.48,118.03,23,48,58,xm,hc
  501. 福建省,厦门,湖里区,24.51,118.15,23,49,27,xm,hl
  502. 福建省,厦门,集美区,24.58,118.1,23,49,15,xm,jm
  503. 福建省,厦门,同安区,24.72,116.16,23,49,29,xm,ta
  504. 福建省,厦门,翔安区,24.62,118.25,23,49,51,xm,xa
  505. 福建省,莆田,市辖区,25.45,119.01,23,52,53,pt,sxq
  506. 福建省,莆田,城厢区,25.42,119,23,52,51,pt,cx
  507. 福建省,莆田,涵江区,25.46,119.12,23,53,19,pt,hj
  508. 福建省,莆田,荔城区,25.43,119.02,23,52,55,pt,lc
  509. 福建省,莆田,秀屿区,25.43,119.02,23,52,55,pt,xy
  510. 福建省,莆田,仙游区,25.36,118.69,23,51,36,pt,xy
  511. 福建省,三明,市辖区,26.26,117.64,23,47,24,sm,sxq
  512. 福建省,三明,梅列区,26.27,117.65,23,47,27,sm,ml
  513. 福建省,三明,三元区,26.23,117.61,23,47,17,sm,sy
  514. 福建省,三明,明溪县,26.36,117.2,23,45,39,sm,mx
  515. 福建省,三明,清流县,26.18,116.82,23,44,7,sm,ql
  516. 福建省,三明,宁化县,26.26,116.65,23,43,27,sm,nh
  517. 福建省,三明,大田县,25.69,117.85,23,48,15,sm,dt
  518. 福建省,三明,尤溪县,26.17,118.19,23,49,36,sm,yx
  519. 福建省,三明,沙县,26.4,117.79,23,48,0,sm,sx
  520. 福建省,三明,将乐县,26.73,117.47,23,46,43,sm,jl
  521. 福建省,三明,泰宁县,26.9,117.18,23,45,34,sm,tn
  522. 福建省,三明,建宁县,26.83,116.85,23,44,15,sm,jn
  523. 福建省,三明,永安,25.94,117.37,23,46,19,sm,ya
  524. 福建省,泉州,市辖区,24.87,118.68,23,51,34,qz,sxq
  525. 福建省,泉州,鲤城区,24.91,118.59,23,51,12,qz,lc
  526. 福建省,泉州,丰泽区,24.89,118.61,23,51,17,qz,fz
  527. 福建省,泉州,洛江区,24.94,118.67,23,51,31,qz,lj
  528. 福建省,泉州,泉港区,25.12,118.92,23,52,31,qz,qg
  529. 福建省,泉州,惠安县,25.03,118.8,23,52,3,qz,ha
  530. 福建省,泉州,安溪县,25.05,118.19,23,49,36,qz,ax
  531. 福建省,泉州,永春县,25.32,118.29,23,50,0,qz,yc
  532. 福建省,泉州,德化县,25.49,118.24,23,49,48,qz,dh
  533. 福建省,泉州,金门县,24.42,118.23,23,49,46,qz,jm
  534. 福建省,泉州,石狮,24.73,118.65,23,51,27,qz,ss
  535. 福建省,泉州,晋江,24.78,118.55,23,51,3,qz,jj
  536. 福建省,泉州,南安,24.96,118.39,23,50,24,qz,na
  537. 福建省,漳州,市辖区,24.51,117.65,23,47,27,zz,sxq
  538. 福建省,漳州,芗城区,24.51,117.65,23,47,27,zz,xc
  539. 福建省,漳州,龙文区,24.5,117.71,23,47,41,zz,lw
  540. 福建省,漳州,云霄县,23.96,117.34,23,46,12,zz,yx
  541. 福建省,漳州,漳浦县,24.12,117.62,23,47,19,zz,zp
  542. 福建省,漳州,诏安县,23.71,117.17,23,45,31,zz,za
  543. 福建省,漳州,长泰县,24.63,117.76,23,47,53,zz,ct
  544. 福建省,漳州,东山县,23.7,117.43,23,46,34,zz,ds
  545. 福建省,漳州,南靖县,24.51,117.36,23,46,17,zz,nj
  546. 福建省,漳州,平和县,24.36,117.32,23,46,7,zz,ph
  547. 福建省,漳州,华安县,25,117.54,23,47,0,zz,ha
  548. 福建省,漳州,龙海,24.45,117.82,23,48,7,zz,lh
  549. 福建省,南平,市辖区,26.64,118.18,23,49,34,np,sxq
  550. 福建省,南平,延平区,26.64,118.18,23,49,34,np,yp
  551. 福建省,南平,顺昌县,26.79,117.81,23,48,5,np,sc
  552. 福建省,南平,浦城县,27.92,118.54,23,51,0,np,pc
  553. 福建省,南平,光泽县,27.54,117.34,23,46,12,np,gz
  554. 福建省,南平,松溪县,27.53,118.79,23,52,0,np,sx
  555. 福建省,南平,政和县,27.37,118.86,23,52,17,np,zh
  556. 福建省,南平,邵武,27.34,117.49,23,46,48,np,sw
  557. 福建省,南平,武夷山,27.76,118.04,23,49,0,np,wys
  558. 福建省,南平,建瓯,27.02,118.31,23,50,5,np,jo
  559. 福建省,南平,建阳,27.33,118.12,23,49,19,np,jy
  560. 福建省,龙岩,市辖区,25.08,117.02,23,44,55,ly,sxq
  561. 福建省,龙岩,新罗区,25.1,117.04,23,45,0,ly,xl
  562. 福建省,龙岩,长汀县,25.83,116.36,23,42,17,ly,ct
  563. 福建省,龙岩,永定县,24.76,116.82,23,44,7,ly,yd
  564. 福建省,龙岩,上杭县,25.05,116.42,23,42,31,ly,sh
  565. 福建省,龙岩,武平县,25.09,116.1,23,41,15,ly,wp
  566. 福建省,龙岩,连城县,25.71,116.76,23,43,53,ly,lc
  567. 福建省,龙岩,漳平,25.29,117.42,23,46,31,ly,zp
  568. 福建省,宁德,市辖区,26.67,119.55,23,55,3,nd,sxq
  569. 福建省,宁德,蕉城区,26.66,119.53,23,54,58,nd,jc
  570. 福建省,宁德,霞浦县,26.88,120.01,23,56,53,nd,xp
  571. 福建省,宁德,古田县,26.58,118.75,23,51,51,nd,gt
  572. 福建省,宁德,屏南县,26.91,118.99,23,52,48,nd,pn
  573. 福建省,宁德,寿宁县,27.46,119.51,23,54,53,nd,sn
  574. 福建省,宁德,周宁县,27.1,119.34,23,54,12,nd,zn
  575. 福建省,宁德,柘荣县,27.23,119.9,23,56,27,nd,tr
  576. 福建省,宁德,福安,27.09,119.65,23,55,27,nd,fa
  577. 福建省,宁德,福鼎,27.32,120.22,23,57,43,nd,fd
  578. 甘肃省,兰州,市辖区,36.06,103.84,22,52,12,lz,sxq
  579. 甘肃省,兰州,城关区,36.06,103.83,22,52,10,lz,cg
  580. 甘肃省,兰州,七里河区,36.07,103.79,22,52,0,lz,qlh
  581. 甘肃省,兰州,西固区,36.09,103.63,22,51,22,lz,xg
  582. 甘肃省,兰州,安宁区,36.1,103.72,22,51,43,lz,an
  583. 甘肃省,兰州,红古区,36.35,102.86,22,48,17,lz,hg
  584. 甘肃省,兰州,永登县,36.74,103.26,22,49,53,lz,yd
  585. 甘肃省,兰州,皋兰县,36.33,103.95,22,52,39,lz,gl
  586. 甘肃省,兰州,榆中县,35.84,104.11,22,53,17,lz,yz
  587. 甘肃省,嘉峪关,嘉峪关,39.77,98.29,22,30,0,jyg,jyg
  588. 甘肃省,金昌,市辖区,38.52,102.19,22,45,36,jc,sxq
  589. 甘肃省,金昌,金川区,38.52,102.19,22,45,36,jc,jc
  590. 甘肃省,金昌,永昌县,38.52,102.19,22,44,43,jc,yc
  591. 甘肃省,白银,市辖区,36.54,104.14,22,53,24,by,sxq
  592. 甘肃省,白银,白银区,36.53,104.17,22,53,31,by,by
  593. 甘肃省,白银,平川区,36.73,104.83,22,56,10,by,pc
  594. 甘肃省,白银,靖远区,36.57,104.69,22,55,36,by,jy
  595. 甘肃省,白银,会宁区,35.69,105.05,22,57,3,by,hn
  596. 甘肃省,白银,景泰县,37.18,104.07,22,53,7,by,jt
  597. 甘肃省,天水,市辖区,34.58,105.73,22,59,46,ts,sxq
  598. 甘肃省,天水,秦城区,34.58,105.69,22,59,36,ts,qc
  599. 甘肃省,天水,北道区,34.56,105.98,23,0,46,ts,bd
  600. 甘肃省,天水,清水县,34.75,106.14,23,1,24,ts,qs
  601. 甘肃省,天水,泰安县,34.86,105.68,22,59,34,ts,ta
  602. 甘肃省,天水,甘谷县,34.73,105.34,22,58,12,ts,gg
  603. 甘肃省,天水,武山县,34.72,104.89,22,56,24,ts,ws
  604. 甘肃省,天水,张家川回族自治县,34.99,106.21,23,1,41,ts,zjchz
  605. 甘肃省,武威,市辖区,37.93,102.64,22,47,24,ww,sxq
  606. 甘肃省,武威,凉州区,37.93,102.64,22,47,24,ww,lz
  607. 甘肃省,武威,民勤县,38.62,103.09,22,49,12,ww,mq
  608. 甘肃省,武威,古浪县,37.47,102.9,22,48,27,ww,gl
  609. 甘肃省,武威,天祝藏族自治县,36.97,103.14,22,49,24,ww,tzzz
  610. 甘肃省,张掖,市辖区,38.93,100.45,22,38,39,zy,sxq
  611. 甘肃省,张掖,甘州区,38.93,100.48,22,38,46,zy,gz
  612. 甘肃省,张掖,肃南裕固族自治县,38.84,99.62,22,35,19,zy,snygz
  613. 甘肃省,张掖,民乐县,38.43,100.82,22,40,7,zy,ml
  614. 甘肃省,张掖,临泽县,39.15,100.17,22,37,31,zy,lz
  615. 甘肃省,张掖,高台县,39.38,99.82,22,36,7,zy,gt
  616. 甘肃省,张掖,山丹县,38.78,101.09,22,41,12,zy,sd
  617. 甘肃省,平凉,市辖区,35.54,106.67,23,3,31,pl,sxq
  618. 甘肃省,平凉,崆峒区,35.54,106.68,23,3,34,pl,kt
  619. 甘肃省,平凉,泾川县,35.33,107.37,23,6,19,pl,jc
  620. 甘肃省,平凉,灵台县,35.07,107.62,23,7,19,pl,lt
  621. 甘肃省,平凉,崇信县,35.3,107.04,23,5,0,pl,cx
  622. 甘肃省,平凉,华亭县,35.22,106.65,23,3,27,pl,ht
  623. 甘肃省,平凉,庄浪县,35.2,106.04,23,1,0,pl,zl
  624. 甘肃省,平凉,静宁县,35.52,105.73,22,59,46,pl,jn
  625. 甘肃省,酒泉,市辖区,39.72,98.5,22,30,51,jq,sxq
  626. 甘肃省,酒泉,肃州区,39.75,98.51,22,30,53,jq,sz
  627. 甘肃省,酒泉,金塔县,39.99,98.9,22,32,27,jq,jt
  628. 甘肃省,酒泉,安西县,40.51,95.78,22,19,58,jq,ax
  629. 甘肃省,酒泉,肃北蒙古族自治区,39.51,94.88,22,16,22,jq,sbmgz
  630. 甘肃省,酒泉,阿克塞哈萨克族自治区,39.63,94.34,22,14,12,jq,akshskz
  631. 甘肃省,酒泉,玉门,40.29,97.05,22,25,3,jq,ym
  632. 甘肃省,酒泉,敦煌,40.14,94.66,22,15,29,jq,dh
  633. 甘肃省,庆阳,市辖区,35.71,107.64,23,7,24,qy,sxq
  634. 甘肃省,庆阳,西峰区,35.73,107.65,23,7,27,qy,xf
  635. 甘肃省,庆阳,庆城县,36.02,107.88,23,8,22,qy,qc
  636. 甘肃省,庆阳,环县,36.57,107.31,23,6,5,qy,hx
  637. 甘肃省,庆阳,华池县,36.46,107.99,23,8,48,qy,hc
  638. 甘肃省,庆阳,合水县,35.82,108.02,23,8,55,qy,hs
  639. 甘肃省,庆阳,正宁县,35.49,108.36,23,10,17,qy,zn
  640. 甘肃省,庆阳,宁县,35.5,107.93,23,8,34,qy,nx
  641. 甘肃省,庆阳,镇原县,35.68,107.2,23,5,39,qy,zy
  642. 甘肃省,定西,市辖区,35.58,104.63,22,55,22,dx,sxq
  643. 甘肃省,定西,安定区,35.58,104.61,22,55,17,dx,ad
  644. 甘肃省,定西,通渭县,35.21,105.24,22,57,48,dx,tw
  645. 甘肃省,定西,陇西县,35,104.63,22,55,22,dx,lx
  646. 甘肃省,定西,渭源县,35.14,104.22,22,53,43,dx,wy
  647. 甘肃省,定西,临洮县,35.4,103.86,22,52,17,dx,ly
  648. 甘肃省,定西,漳县,34.85,104.47,22,54,43,dx,zx
  649. 甘肃省,定西,岷县,34.44,104.04,22,53,0,dx,mx
  650. 甘肃省,陇南,市辖区,33.4,104.92,22,56,31,ln,sxq
  651. 甘肃省,陇南,武都区,33.4,104.92,22,56,34,ln,wd
  652. 甘肃省,陇南,成县,33.75,105.74,22,59,48,ln,cx
  653. 甘肃省,陇南,文县,32.94,104.68,22,55,34,ln,wx
  654. 甘肃省,陇南,宕昌县,34.05,104.4,22,54,27,ln,dc
  655. 甘肃省,陇南,康县,33.33,105.61,22,59,17,ln,kx
  656. 甘肃省,陇南,西和县,34.01,105.3,22,58,3,ln,xh
  657. 甘肃省,陇南,礼县,34.19,105.18,22,57,34,ln,lx
  658. 甘肃省,陇南,徽县,33.77,106.09,23,1,12,ln,hx
  659. 甘肃省,陇南,两当县,33.77,106.09,23,2,5,ln,ld
  660. 甘肃省,临夏回族自治州,临夏,35.49,103,22,48,51,lxhz,lx
  661. 甘肃省,临夏回族自治州,临夏县,35.49,103,22,48,51,lxhz,lx
  662. 甘肃省,临夏回族自治州,康乐县,35.37,103.71,22,51,41,lxhz,kl
  663. 甘肃省,临夏回族自治州,永靖县,35.94,103.32,22,50,7,lxhz,yj
  664. 甘肃省,临夏回族自治州,广河县,35.48,103.57,22,51,7,lxhz,gh
  665. 甘肃省,临夏回族自治州,和政县,35.42,103.35,22,50,15,lxhz,hz
  666. 甘肃省,临夏回族自治州,东乡族自治县,35.66,103.39,22,50,24,lxhz,dx
  667. 甘肃省,临夏回族自治州,积石山保安族东乡族撒拉族自治县,35.72,102.88,22,48,22,lxhz,jssbazdxzslz
  668. 甘肃省,甘南藏族自治州,合作,35,102.91,22,48,29,gnzz,hz
  669. 甘肃省,甘南藏族自治州,临潭县,34.69,103.36,22,50,17,gnzz,lt
  670. 甘肃省,甘南藏族自治州,卓尼县,34.59,103.51,22,50,53,gnzz,zn
  671. 甘肃省,甘南藏族自治州,舟曲县,33.78,104.37,22,54,19,gnzz,zq
  672. 甘肃省,甘南藏族自治州,迭部县,34.06,103.22,22,49,43,gnzz,db
  673. 甘肃省,甘南藏族自治州,玛曲县,34,102.07,22,45,7,gnzz,mq
  674. 甘肃省,甘南藏族自治州,碌曲县,34.59,102.49,22,46,48,gnzz,lq
  675. 甘肃省,甘南藏族自治州,夏河县,35.2,102.52,22,46,55,gnzz,xh
  676. 广东省,广州,市辖区,23.13,113.27,23,29,55,gz,sxq
  677. 广东省,广州,东山区,23.13,113.27,23,29,55,gz,ds
  678. 广东省,广州,荔湾区,23.13,113.24,23,29,48,gz,lw
  679. 广东省,广州,越秀区,23.13,113.27,23,29,55,gz,yx
  680. 广东省,广州,海珠区,23.08,113.32,23,30,7,gz,hz
  681. 广东省,广州,天河区,23.13,113.36,23,30,17,gz,th
  682. 广东省,广州,芳村区,23.07,113.18,23,29,34,gz,fc
  683. 广东省,广州,白云区,23.16,113.27,23,29,55,gz,by
  684. 广东省,广州,黄浦区,23.18,113.49,23,30,48,gz,hp
  685. 广东省,广州,番禺区,22.93,113.39,23,30,24,gz,fy
  686. 广东省,广州,花都区,23.4,113.22,23,29,43,gz,hd
  687. 广东省,广州,南沙区,22.78,113.43,23,30,34,gz,ns
  688. 广东省,广州,萝岗区,23.2,113.49,23,30,48,gz,lg
  689. 广东省,广州,从化区,23.2,113.49,23,30,48,gz,ch
  690. 广东省,广州,增城,23.2,113.49,23,31,53,gz,zc
  691. 广东省,韶光,市辖区,24.81,113.6,23,31,15,sg,sxq
  692. 广东省,韶光,武江区,24.79,113.59,23,31,12,sg,wj
  693. 广东省,韶光,浈江区,24.8,113.61,23,31,17,sg,zj
  694. 广东省,韶光,曲江区,24.68,113.6,23,31,15,sg,qj
  695. 广东省,韶光,始兴县,24.95,114.06,23,33,5,sg,sx
  696. 广东省,韶光,仁化县,25.09,113.75,23,31,51,sg,rh
  697. 广东省,韶光,翁源县,24.35,114.13,23,33,22,sg,wy
  698. 广东省,韶光,乳源瑶族自治区,24.94,113.43,23,30,34,sg,ryyz
  699. 广东省,韶光,新丰县,24.06,114.21,23,33,41,sg,xf
  700. 广东省,韶光,乐昌,24.06,114.21,23,33,41,sg,lc
  701. 广东省,韶光,南雄,25.12,114.31,23,34,5,sg,nx
  702. 广东省,深圳,市辖区,22.54,114.06,23,33,5,ss,sxq
  703. 广东省,深圳,罗湖区,22.55,114.13,23,33,22,ss,lh
  704. 广东省,深圳,福田区,22.52,114.05,23,33,3,ss,ft
  705. 广东省,深圳,南山区,22.53,113.93,23,32,34,ss,ns
  706. 广东省,深圳,宝安区,22.55,113.88,23,32,22,ss,ba
  707. 广东省,深圳,龙岗区,22.72,114.25,23,33,51,ss,lg
  708. 广东省,深圳,盐田区,22.55,114.24,23,33,48,ss,yt
  709. 广东省,珠海,市辖区,22.27,113.58,23,31,10,zh,sxq
  710. 广东省,珠海,香洲区,22.27,113.54,23,31,0,zh,xz
  711. 广东省,珠海,斗门区,22.21,113.3,23,30,3,zh,dm
  712. 广东省,珠海,金湾区,22.15,113.36,23,30,17,zh,jw
  713. 广东省,汕头,市辖区,23.35,116.68,23,43,34,st,sxq
  714. 广东省,汕头,龙湖区,23.37,116.72,23,43,43,st,lh
  715. 广东省,汕头,金平区,23.36,116.7,23,43,39,st,jp
  716. 广东省,汕头,濠江区,23.29,116.73,23,43,46,st,hj
  717. 广东省,汕头,潮阳区,23.26,116.6,23,43,15,st,cy
  718. 广东省,汕头,潮南区,23.25,116.43,23,42,34,st,cn
  719. 广东省,汕头,澄海区,23.47,116.76,23,43,53,st,ch
  720. 广东省,汕头,南澳县,23.42,117.02,23,44,55,st,na
  721. 广东省,佛山,市辖区,23.02,113.12,23,29,19,fs,sxq
  722. 广东省,佛山,禅城区,23.01,113.12,23,29,19,fs,cc
  723. 广东省,佛山,南海区,23.03,113.14,23,29,24,fs,nh
  724. 广东省,佛山,顺德区,22.8,113.29,23,30,0,fs,sd
  725. 广东省,佛山,三水区,23.16,112.9,23,28,27,fs,ss
  726. 广东省,佛山,高明区,22.9,112.89,23,28,24,fs,gm
  727. 广东省,江门,市辖区,22.58,113.08,23,29,10,jm,sxq
  728. 广东省,江门,蓬江区,22.59,113.08,23,29,10,jm,pj
  729. 广东省,江门,江海区,22.56,113.11,23,29,17,jm,jh
  730. 广东省,江门,新会区,22.46,113.03,23,28,58,jm,xh
  731. 广东省,江门,台山,22.25,112.79,23,28,0,jm,ts
  732. 广东省,江门,开平,22.38,112.7,23,27,39,jm,kp
  733. 广东省,江门,鹤山,22.76,112.97,23,28,43,jm,hs
  734. 广东省,江门,恩平,22.18,112.31,23,26,5,jm,ep
  735. 广东省,湛江,市辖区,21.27,110.36,23,18,17,zj,sxq
  736. 广东省,湛江,赤坎区,21.27,110.37,23,18,19,zj,ck
  737. 广东省,湛江,霞山区,21.19,110.4,23,18,27,zj,xs
  738. 广东省,湛江,坡头区,21.24,110.46,23,18,41,zj,pt
  739. 广东省,湛江,麻章区,21.26,110.33,23,18,10,zj,mz
  740. 广东省,湛江,遂溪县,21.38,110.25,23,17,51,zj,sx
  741. 广东省,湛江,徐闻县,20.33,110.18,23,17,34,zj,xw
  742. 广东省,湛江,廉江,21.61,110.29,23,18,0,zj,lj
  743. 广东省,湛江,雷州,20.91,110.1,23,17,15,zj,lz
  744. 广东省,湛江,吴川,21.44,110.78,23,19,58,zj,wc
  745. 广东省,茂名,市辖区,21.66,110.93,23,20,34,mm,sxq
  746. 广东省,茂名,茂南区,21.64,110.92,23,20,31,mm,mn
  747. 广东省,茂名,茂港区,21.57,110.98,23,20,46,mm,mg
  748. 广东省,茂名,电白县,21.68,111.23,23,21,46,mm,db
  749. 广东省,茂名,高州,21.92,110.85,23,20,15,mm,gz
  750. 广东省,茂名,化州,21.66,110.64,23,19,24,mm,hz
  751. 广东省,茂名,信宜,22.35,110.95,23,20,39,mm,xy
  752. 广东省,肇庆,市辖区,23.05,112.47,23,26,43,zq,sxq
  753. 广东省,肇庆,端州区,23.05,112.48,23,26,46,zq,dz
  754. 广东省,肇庆,鼎湖区,23.16,112.57,23,27,7,zq,dh
  755. 广东省,肇庆,广宁区,23.63,112.44,23,26,36,zq,gn
  756. 广东省,肇庆,怀集区,23.91,112.19,23,25,36,zq,hj
  757. 广东省,肇庆,封开县,23.42,111.51,23,22,53,zq,fk
  758. 广东省,肇庆,德庆县,23.14,111.79,23,24,0,zq,dq
  759. 广东省,肇庆,高要,23.02,112.46,23,26,41,zq,gy
  760. 广东省,肇庆,四会,23.33,112.73,23,27,46,zq,sh
  761. 广东省,惠州,市辖区,23.11,114.42,23,34,31,hz,sxq
  762. 广东省,惠州,惠城区,23.08,114.38,23,34,22,hz,hc
  763. 广东省,惠州,惠阳区,22.79,114.46,23,34,41,hz,hy
  764. 广东省,惠州,博罗县,23.17,114.29,23,34,0,hz,bl
  765. 广东省,惠州,惠东县,22.98,114.72,23,35,43,hz,hd
  766. 广东省,惠州,龙门县,23.73,114.26,23,33,53,hz,lm
  767. 广东省,梅州,市辖区,24.29,116.12,23,41,19,mz,sxq
  768. 广东省,梅州,梅江区,24.31,116.12,23,41,19,mz,mj
  769. 广东省,梅州,梅县,24.37,116.19,23,41,36,mz,mx
  770. 广东省,梅州,大埔县,24.35,116.7,23,43,39,mz,dp
  771. 广东省,梅州,丰顺县,23.74,116.18,23,41,34,mz,fs
  772. 广东省,梅州,五华县,23.93,115.78,23,39,58,mz,wh
  773. 广东省,梅州,平远县,24.57,115.89,23,40,24,mz,py
  774. 广东省,梅州,蕉岭县,24.66,116.17,23,41,31,mz,jl
  775. 广东省,梅州,兴宁,24.14,115.73,23,39,46,mz,xn
  776. 广东省,汕尾,市辖区,22.79,115.38,23,38,22,sw,sxq
  777. 广东省,汕尾,城区,22.78,115.37,23,38,19,sw,cq
  778. 广东省,汕尾,海丰县,22.97,115.32,23,38,7,sw,hf
  779. 广东省,汕尾,陆河县,23.3,115.66,23,39,29,sw,lh
  780. 广东省,汕尾,陆丰,22.95,115.65,23,39,27,sw,lf
  781. 广东省,河源,市辖区,23.74,114.7,23,35,39,hy,sxq
  782. 广东省,河源,源城区,23.73,114.7,23,35,39,hy,yc
  783. 广东省,河源,紫金县,23.63,115.18,23,37,34,hy,zj
  784. 广东省,河源,龙川县,24.1,115.26,23,37,53,hy,lc
  785. 广东省,河源,连平县,24.37,114.49,23,34,48,hy,lp
  786. 广东省,河源,和平县,24.44,114.94,23,36,36,hy,hp
  787. 广东省,河源,东源县,23.79,114.75,23,35,51,hy,dy
  788. 广东省,阳江,市辖区,21.86,111.98,23,24,46,yj,sxq
  789. 广东省,阳江,江城区,21.86,111.96,23,24,41,yj,jc
  790. 广东省,阳江,阳西县,21.75,111.62,23,23,19,yj,yx
  791. 广东省,阳江,阳东县,21.96,112.06,23,25,5,yj,yd
  792. 广东省,阳江,阳春,22.17,111.79,23,24,0,yj,yc
  793. 广东省,清远,市辖区,23.68,113.06,23,29,5,qy,sxq
  794. 广东省,清远,清城区,23.7,113.06,23,29,5,qy,qc
  795. 广东省,清远,佛冈县,23.88,113.53,23,30,58,qy,fg
  796. 广东省,清远,阳山县,24.46,112.64,23,27,24,qy,ys
  797. 广东省,清远,连山壮族瑶族自治县,24.57,112.09,23,25,12,qy,lszzyz
  798. 广东省,清远,连南瑶族自治县,24.73,112.29,23,26,0,qy,lnyz
  799. 广东省,清远,清新县,23.89,112.88,23,28,22,qy,qx
  800. 广东省,清远,英德,24.19,113.42,23,30,31,qy,yd
  801. 广东省,清远,连州,24.78,112.38,23,26,22,qy,lz
  802. 广东省,东莞,东莞,23.02,113.75,23,31,51,qy,dg
  803. 广东省,中山,中山,22.52,113.39,23,30,24,zs,zs
  804. 广东省,潮州,市辖区,23.66,116.62,23,43,19,cz,sxq
  805. 广东省,潮州,湘桥区,23.67,116.63,23,43,22,cz,xq
  806. 广东省,潮州,潮安县,23.72,116.63,23,43,22,cz,ca
  807. 广东省,潮州,饶平县,23.66,117,23,44,51,cz,rp
  808. 广东省,揭阳,市辖区,23.55,116.37,23,42,19,jy,sxq
  809. 广东省,揭阳,榕城区,23.52,116.37,23,42,19,jy,lc
  810. 广东省,揭阳,揭东县,23.6,116.36,23,42,17,jy,jd
  811. 广东省,揭阳,揭西县,23.43,115.84,23,40,12,jy,jx
  812. 广东省,揭阳,惠来县,23.03,116.3,23,42,3,jy,hl
  813. 广东省,揭阳,普宁,23.3,116.17,23,41,31,jy,pn
  814. 广东省,云浮,市辖区,22.91,112.05,23,25,3,yf,sxq
  815. 广东省,云浮,云城区,22.93,112.05,23,25,3,yf,yc
  816. 广东省,云浮,新兴县,22.7,112.23,23,25,46,yf,xx
  817. 广东省,云浮,郁南县,23.23,111.54,23,23,0,yf,yn
  818. 广东省,云浮,云安县,22.84,111.96,23,24,41,yf,ya
  819. 广东省,云浮,罗定,22.84,111.96,23,24,41,yf,ld
  820. 广西省,南宁,市辖区,22.82,108.37,23,10,19,nn,sxq
  821. 广西省,南宁,兴宁区,22.85,108.37,23,10,19,nn,xn
  822. 广西省,南宁,青秀区,22.79,108.5,23,10,51,nn,qx
  823. 广西省,南宁,江南区,22.78,108.28,23,9,58,nn,jn
  824. 广西省,南宁,西乡塘区,22.83,108.31,23,10,5,nn,xxt
  825. 广西省,南宁,良庆区,22.76,108.32,23,10,7,nn,lq
  826. 广西省,南宁,邕宁区,22.76,108.49,23,10,48,nn,yn
  827. 广西省,南宁,武鸣县,23.16,108.28,23,9,58,nn,wm
  828. 广西省,南宁,隆安县,23.17,107.7,23,7,39,nn,la
  829. 广西省,南宁,马山县,23.71,108.18,23,9,34,nn,ms
  830. 广西省,南宁,上林县,23.43,108.6,23,11,15,nn,sl
  831. 广西省,南宁,宾阳县,23.21,108.81,23,12,5,nn,by
  832. 广西省,南宁,横县,22.69,109.26,23,13,53,nn,hx
  833. 广西省,柳州,市辖区,24.33,109.42,23,14,31,lz,sxq
  834. 广西省,柳州,城中区,23.34,109.45,23,14,39,lz,cz
  835. 广西省,柳州,鱼峰区,24.28,109.45,23,14,39,lz,yf
  836. 广西省,柳州,柳南区,24.33,109.39,23,14,24,lz,lnyz
  837. 广西省,柳州,柳北区,24.36,109.4,23,14,27,lz,lb
  838. 广西省,柳州,柳江县,24.25,109.33,23,14,10,lz,lj
  839. 广西省,柳州,柳城县,24.65,109.25,23,13,51,lz,lc
  840. 广西省,柳州,鹿寨县,24.47,109.75,23,15,51,lz,lz
  841. 广西省,柳州,融安县,25.22,109.4,23,14,27,lz,ra
  842. 广西省,柳州,融水苗族自治县,25.07,109.25,23,13,51,lz,rsmz
  843. 广西省,柳州,三江侗族自治县,25.78,109.61,23,15,17,lz,sjdz
  844. 广西省,桂林,市辖区,25.28,110.3,23,18,3,gl,sxq
  845. 广西省,桂林,秀峰区,25.28,110.29,23,18,0,gl,xf
  846. 广西省,桂林,叠彩区,25.31,110.3,23,18,3,gl,dc
  847. 广西省,桂林,象山区,25.26,110.28,23,17,58,gl,xs
  848. 广西省,桂林,七星区,25.25,110.32,23,18,7,gl,qx
  849. 广西省,桂林,雁山区,25.06,110.31,23,18,5,gl,ys
  850. 广西省,桂林,阳朔县,24.78,110.5,23,18,51,gl,ys
  851. 广西省,桂林,临桂县,25.24,110.21,23,17,41,gl,lg
  852. 广西省,桂林,灵川县,25.41,110.32,23,18,7,gl,lc
  853. 广西省,桂林,全州县,25.93,111.07,23,21,7,gl,qz
  854. 广西省,桂林,兴安县,25.61,110.67,23,19,31,gl,xa
  855. 广西省,桂林,永福县,24.98,109.98,23,16,46,gl,yf
  856. 广西省,桂林,灌阳县,25.49,111.16,23,21,29,gl,gy
  857. 广西省,桂林,龙胜各族自治区,25.8,110.01,23,16,53,gl,lsgz
  858. 广西省,桂林,资源县,26.04,110.65,23,19,27,gl,zy
  859. 广西省,桂林,平乐县,24.63,110.64,23,19,24,gl,pl
  860. 广西省,桂林,荔浦县,24.49,110.4,23,18,27,gl,lp
  861. 广西省,桂林,恭城瑶族自治县,24.83,110.83,23,20,10,gl,gcyz
  862. 广西省,梧州,市辖区,23.48,111.28,23,21,58,wz,sxq
  863. 广西省,梧州,万秀区,23.47,111.32,23,22,7,wz,wx
  864. 广西省,梧州,蝶山区,23.54,111.31,23,22,5,wz,ds
  865. 广西省,梧州,长洲区,23.49,111.27,23,21,55,wz,cc
  866. 广西省,梧州,苍梧县,23.42,111.25,23,21,51,wz,cw
  867. 广西省,梧州,藤县,23.37,110.91,23,20,29,wz,tx
  868. 广西省,梧州,蒙山县,24.19,110.52,23,18,55,wz,ms
  869. 广西省,梧州,岑溪,22.92,111,23,20,51,wz,cx
  870. 广西省,北海,市辖区,21.48,109.12,23,13,19,bh,sxq
  871. 广西省,北海,海城区,21.48,109.12,23,13,19,bh,hc
  872. 广西省,北海,银海区,21.45,109.14,23,13,24,bh,yh
  873. 广西省,北海,铁山港区,21.53,109.42,23,14,31,bh,tsg
  874. 广西省,北海,合浦县,21.66,109.21,23,13,41,bh,hp
  875. 广西省,防城港,市辖区,21.69,108.36,23,10,17,fcg,sxq
  876. 广西省,防城港,港口区,21.64,108.38,23,10,22,fcg,gk
  877. 广西省,防城港,防城区,21.77,108.35,23,10,15,fcg,fc
  878. 广西省,防城港,上思县,22.15,107.98,23,8,46,fcg,ss
  879. 广西省,防城港,东兴,21.55,107.97,23,8,43,fcg,dx
  880. 广西省,钦州,市辖区,21.98,108.66,23,11,29,qz,sxq
  881. 广西省,钦州,钦南区,21.94,108.66,23,11,29,qz,qn
  882. 广西省,钦州,钦北区,22.17,108.58,23,11,10,qz,qb
  883. 广西省,钦州,灵山县,22.42,109.29,23,14,0,qz,lsgz
  884. 广西省,钦州,浦北县,22.27,109.56,23,15,5,qz,pb
  885. 广西省,贵港,市辖区,23.11,109.6,23,15,15,gg,sxq
  886. 广西省,贵港,港北区,23.11,109.57,23,15,7,gg,gb
  887. 广西省,贵港,港南区,23.07,109.6,23,15,15,gg,gn
  888. 广西省,贵港,覃塘区,23.13,109.45,23,14,39,gg,tt
  889. 广西省,贵港,平南县,23.54,110.39,23,18,24,gg,pn
  890. 广西省,贵港,桂平,23.39,110.08,23,17,10,gg,gp
  891. 广西省,玉林,市辖区,22.65,110.18,23,17,34,yl,sxq
  892. 广西省,玉林,玉州区,22.63,110.15,23,17,27,yl,yz
  893. 广西省,玉林,容县,22.86,110.55,23,19,3,yl,rx
  894. 广西省,玉林,陆川县,22.32,110.27,23,17,55,yl,lc
  895. 广西省,玉林,博白县,22.27,109.98,23,16,46,yl,bb
  896. 广西省,玉林,兴业县,22.74,109.88,23,16,22,yl,xy
  897. 广西省,玉林,北流,22.71,110.35,23,18,15,yl,bl
  898. 广西省,百色,市辖区,23.9,106.62,23,3,19,bs,sxq
  899. 广西省,百色,右江区,23.9,106.62,23,3,19,bs,yj
  900. 广西省,百色,田阳县,23.74,106.92,23,4,31,bs,ty
  901. 广西省,百色,田东县,23.6,107.13,23,5,22,bs,td
  902. 广西省,百色,平果县,23.33,107.59,23,7,12,bs,pg
  903. 广西省,百色,德保县,23.32,106.62,23,3,19,bs,db
  904. 广西省,百色,靖西县,23.13,106.42,23,2,31,bs,jx
  905. 广西省,百色,那坡县,23.39,105.84,23,0,12,bs,np
  906. 广西省,百色,凌云县,24.35,106.56,23,3,5,bs,ly
  907. 广西省,百色,乐业县,24.79,106.56,23,3,5,bs,ly
  908. 广西省,百色,田林县,24.29,106.23,23,1,46,bs,tl
  909. 广西省,百色,西林县,24.49,105.09,22,57,12,bs,xl
  910. 广西省,百色,隆林各族自治县,24.77,105.34,22,58,12,bs,llgz
  911. 广西省,贺州,市辖区,24.4,111.57,23,23,7,hz,sxq
  912. 广西省,贺州,八步区,24.41,111.55,23,23,3,hz,bb
  913. 广西省,贺州,昭平县,24.17,110.81,23,20,5,hz,zp
  914. 广西省,贺州,钟山县,24.53,111.3,23,22,3,hz,zs
  915. 广西省,贺州,富川瑶族自治县,24.81,111.28,23,21,58,hz,fcyz
  916. 广西省,河池,市辖区,24.69,108.09,23,9,12,hc,sxq
  917. 广西省,河池,金城江区,24.69,108.04,23,9,0,hc,jcj
  918. 广西省,河池,南丹县,24.98,107.54,23,7,0,hc,nd
  919. 广西省,河池,天峨县,25,107.17,23,5,31,hc,te
  920. 广西省,河池,凤山县,24.55,107.04,23,5,0,hc,fs
  921. 广西省,河池,东兰县,24.51,107.37,23,6,19,hc,dl
  922. 广西省,河池,罗城仫佬族自治县,24.78,108.91,23,12,29,hc,lcmlz
  923. 广西省,河池,环江毛南族自治县,24.82,108.26,23,9,53,hc,hjmmz
  924. 广西省,河池,巴马瑶族自治县,24.14,107.26,23,5,53,hc,bmyz
  925. 广西省,河池,都安瑶族自治县,23.93,108.11,23,9,17,hc,dayz
  926. 广西省,河池,大化瑶族自治县,23.74,108,23,8,51,hc,dhyz
  927. 广西省,河池,宜州,24.48,108.64,23,11,24,hc,yz
  928. 广西省,来宾,市辖区,23.75,109.22,23,13,43,lb,sxq
  929. 广西省,来宾,兴宾区,23.73,109.24,23,13,48,lb,xb
  930. 广西省,来宾,忻城县,24.07,108.67,23,11,31,lb,xc
  931. 广西省,来宾,象州县,23.97,109.71,23,15,41,lb,xz
  932. 广西省,来宾,武宣县,23.59,109.66,23,15,29,lb,wx
  933. 广西省,来宾,金秀瑶族自治县,24.13,110.19,23,17,36,lb,jxyz
  934. 广西省,来宾,合山,23.81,108.89,23,12,24,lb,hs
  935. 广西省,崇左,市辖区,22.38,107.37,23,6,19,cz,sxq
  936. 广西省,崇左,江洲区,22.41,107.35,23,6,15,cz,jz
  937. 广西省,崇左,扶绥县,22.63,107.9,23,8,27,cz,fs
  938. 广西省,崇左,宁明县,22.14,107.08,23,5,10,cz,nm
  939. 广西省,崇左,龙州县,22.34,106.85,23,4,15,cz,lz
  940. 广西省,崇左,大新县,22.83,107.2,23,5,39,cz,dx
  941. 广西省,崇左,天等县,23.08,107.14,23,5,24,cz,td
  942. 广西省,崇左,凭祥,22.09,106.77,23,3,55,cz,px
  943. 贵州省,贵阳,市辖区,26.64,106.62,23,3,19,gy,sxq
  944. 贵州省,贵阳,南明区,26.57,106.71,23,3,41,gy,nm
  945. 贵州省,贵阳,云岩区,26.6,106.73,23,3,46,gy,yy
  946. 贵州省,贵阳,花溪区,26.45,106.64,23,3,24,gy,hx
  947. 贵州省,贵阳,乌当区,26.63,106.75,23,3,51,gy,wd
  948. 贵州省,贵阳,白云区,26.68,106.62,23,3,19,gy,by
  949. 贵州省,贵阳,小河区,26.49,106.7,23,3,39,gy,xh
  950. 贵州省,贵阳,开阳县,27.06,106.97,23,4,43,gy,ky
  951. 贵州省,贵阳,息烽县,27.09,106.74,23,3,48,gy,xf
  952. 贵州省,贵阳,修文县,26.84,106.59,23,3,12,gy,xw
  953. 贵州省,贵阳,清镇,26.56,106.47,23,2,43,gy,qz
  954. 贵州省,六盘水,钟山区,26.58,104.85,22,56,15,lps,zs
  955. 贵州省,六盘水,六枝特区,26.21,105.48,22,58,46,lps,lz
  956. 贵州省,六盘水,水城县,26.55,104.96,22,56,41,lps,sc
  957. 贵州省,六盘水,盘县,25.71,104.47,22,54,43,lps,px
  958. 贵州省,遵义,市辖区,27.72,106.93,23,4,34,zy,sxq
  959. 贵州省,遵义,红花岗区,27.64,106.89,23,4,24,zy,hhg
  960. 贵州省,遵义,汇川区,27.75,106.93,23,4,34,zy,hc
  961. 贵州省,遵义,遵义县,27.53,106.83,23,4,10,zy,zy
  962. 贵州省,遵义,桐梓县,28.13,106.83,23,4,10,zy,tz
  963. 贵州省,遵义,绥阳县,27.95,107.19,23,5,36,zy,sy
  964. 贵州省,遵义,正安县,28.55,107.44,23,6,36,zy,za
  965. 贵州省,遵义,道真仡佬族苗族自治县,28.87,107.61,23,7,17,zy,dzglzmz
  966. 贵州省,遵义,务川仡佬族苗族自治县,28.56,107.9,23,8,27,zy,wcglzmz
  967. 贵州省,遵义,凤冈县,27.95,107.72,23,7,43,zy,fg
  968. 贵州省,遵义,湄潭县,27.75,107.47,23,6,43,zy,mt
  969. 贵州省,遵义,余庆县,27.23,107.89,23,8,24,zy,yq
  970. 贵州省,遵义,习水县,28.33,106.2,23,1,39,zy,xs
  971. 贵州省,遵义,赤水,28.59,105.7,22,59,39,zy,cs
  972. 贵州省,遵义,仁怀,27.79,106.4,23,2,27,zy,rh
  973. 贵州省,安顺,市辖区,26.25,105.95,23,0,39,as,sxq
  974. 贵州省,安顺,西秀区,26.24,105.97,23,0,43,as,xx
  975. 贵州省,安顺,平坝县,26.41,106.26,23,1,43,as,pb
  976. 贵州省,安顺,普定县,26.3,105.74,22,59,48,as,pd
  977. 贵州省,安顺,镇宁布依族苗族自治县,26.06,105.77,22,59,55,as,znbyzmz
  978. 贵州省,安顺,关岭布依族苗族自治县,25.94,105.62,22,59,19,as,glbyzmz
  979. 贵州省,安顺,紫云苗族布依族自治县,25.75,106.08,23,1,10,as,zymzbyz
  980. 贵州省,铜仁地区,铜仁,27.69,109.18,23,13,34,tr,tr
  981. 贵州省,铜仁地区,江口县,27.7,108.84,23,12,12,tr,jk
  982. 贵州省,铜仁地区,玉屏侗族自治县,27.24,108.92,23,12,31,tr,ypdz
  983. 贵州省,铜仁地区,石阡县,27.51,108.22,23,9,43,tr,sq
  984. 贵州省,铜仁地区,思南县,27.94,108.26,23,9,53,tr,sn
  985. 贵州省,铜仁地区,印江土家族苗族自治县,27.99,108.41,23,10,29,tr,yjtjzmz
  986. 贵州省,铜仁地区,德江县,28.26,108.12,23,9,19,tr,dj
  987. 贵州省,铜仁地区,沿河土家族自治县,28.56,108.5,23,10,51,tr,yhtjz
  988. 贵州省,铜仁地区,松桃苗族自治县,28.17,109.21,23,13,41,tr,stmz
  989. 贵州省,铜仁地区,万山特区,27.52,109.21,23,13,41,tr,ws
  990. 贵州省,黔西南布依族苗族自治州,兴义,25.09,104.9,22,56,27,qxnbyzmz,xy
  991. 贵州省,黔西南布依族苗族自治州,兴仁县,25.44,105.19,22,57,36,qxnbyzmz,xr
  992. 贵州省,黔西南布依族苗族自治州,普安县,25.78,104.95,22,56,39,qxnbyzmz,pa
  993. 贵州省,黔西南布依族苗族自治州,晴隆县,25.83,105.22,22,57,43,qxnbyzmz,ql
  994. 贵州省,黔西南布依族苗族自治州,贞丰县,25.39,105.65,22,59,27,qxnbyzmz,zf
  995. 贵州省,黔西南布依族苗族自治州,望谟县,25.17,106.09,23,1,12,qxnbyzmz,wm
  996. 贵州省,黔西南布依族苗族自治州,册亨县,24.98,105.81,23,0,5,qxnbyzmz,ch
  997. 贵州省,黔西南布依族苗族自治州,安龙县,25.1,105.45,22,58,39,qxnbyzmz,al
  998. 贵州省,毕节地区,毕节,27.29,105.3,22,58,3,bj,bj
  999. 贵州省,毕节地区,大方县,27.14,105.61,22,59,17,bj,df
  1000. 贵州省,毕节地区,黔西县,27.01,106.03,23,0,58,bj,qx
  1001. 贵州省,毕节地区,金沙县,27.46,106.22,23,1,43,bj,js
  1002. 贵州省,毕节地区,织金县,26.66,105.77,22,59,55,bj,zj
  1003. 贵州省,毕节地区,纳雍县,26.78,105.39,22,58,24,bj,ny
  1004. 贵州省,毕节地区,威宁彝族回族苗族自治县,26.86,104.29,22,54,0,bj,wnyzhzmz
  1005. 贵州省,毕节地区,赫章县,27.12,104.73,22,55,46,bj,hz
  1006. 贵州省,黔东南苗族侗族自治州,凯里,26.57,107.98,23,8,46,qdnmzdz,kl
  1007. 贵州省,黔东南苗族侗族自治州,黄平县,26.9,107.92,23,8,31,qdnmzdz,hp
  1008. 贵州省,黔东南苗族侗族自治州,施秉县,27.03,108.13,23,9,22,qdnmzdz,sb
  1009. 贵州省,黔东南苗族侗族自治州,三穗县,26.96,108.68,23,11,34,qdnmzdz,sh
  1010. 贵州省,黔东南苗族侗族自治州,镇远县,27.05,108.43,23,10,34,qdnmzdz,zy
  1011. 贵州省,黔东南苗族侗族自治州,岑巩县,27.17,108.82,23,12,7,qdnmzdz,cg
  1012. 贵州省,黔东南苗族侗族自治州,天柱县,26.91,109.21,23,13,41,qdnmzdz,tz
  1013. 贵州省,黔东南苗族侗族自治州,锦屏县,26.67,109.19,23,13,36,qdnmzdz,jp
  1014. 贵州省,黔东南苗族侗族自治州,剑河县,26.73,108.44,23,10,36,qdnmzdz,jh
  1015. 贵州省,黔东南苗族侗族自治州,台江县,26.67,108.32,23,10,7,qdnmzdz,tj
  1016. 贵州省,黔东南苗族侗族自治州,黎平县,25.93,108.52,23,10,55,qdnmzdz,lp
  1017. 贵州省,黔东南苗族侗族自治州,榕江县,25.93,108.52,23,10,55,qdnmzdz,lj
  1018. 贵州省,黔东南苗族侗族自治州,从江县,25.76,108.9,23,12,27,qdnmzdz,cj
  1019. 贵州省,黔东南苗族侗族自治州,雷山县,26.38,108.08,23,9,10,qdnmzdz,ls
  1020. 贵州省,黔东南苗族侗族自治州,麻江县,26.49,107.59,23,7,12,qdnmzdz,mj
  1021. 贵州省,黔东南苗族侗族自治州,丹寨县,26.2,107.79,23,8,0,qdnmzdz,dz
  1022. 贵州省,黔南布依族苗族自治州,都匀,26.26,107.52,23,6,55,qdnmzdz,dy
  1023. 贵州省,黔南布依族苗族自治州,福泉,26.69,107.52,23,6,55,qdnmzdz,fq
  1024. 贵州省,黔南布依族苗族自治州,荔波县,26.58,107.24,23,5,48,qdnmzdz,lb
  1025. 贵州省,黔南布依族苗族自治州,贵定县,26.58,107.24,23,5,48,qdnmzdz,gd
  1026. 贵州省,黔南布依族苗族自治州,瓮安县,27.08,107.47,23,6,43,qdnmzdz,wa
  1027. 贵州省,黔南布依族苗族自治州,独山县,25.82,107.55,23,7,3,qdnmzdz,ds
  1028. 贵州省,黔南布依族苗族自治州,平塘县,25.82,107.32,23,6,7,qdnmzdz,pt
  1029. 贵州省,黔南布依族苗族自治州,罗甸县,25.43,106.75,23,3,51,qdnmzdz,ld
  1030. 贵州省,黔南布依族苗族自治州,长顺县,26.02,106.45,23,2,39,qdnmzdz,cs
  1031. 贵州省,黔南布依族苗族自治州,龙里县,26.45,106.98,23,4,46,qdnmzdz,ll
  1032. 贵州省,黔南布依族苗族自治州,惠水县,26.13,106.66,23,3,29,qdnmzdz,hs
  1033. 贵州省,黔南布依族苗族自治州,三都水族自治县,25.99,107.88,23,8,22,qdnmzdz,sdsz
  1034. 海南省,海口,市辖区,20.04,110.2,23,17,39,hk,sxq
  1035. 海南省,海口,秀英区,20.01,110.29,23,18,0,hk,xy
  1036. 海南省,海口,龙华区,20.03,110.33,23,18,10,hk,lh
  1037. 海南省,海口,琼山区,20,110.35,23,18,15,hk,qs
  1038. 海南省,海口,美兰区,20.03,110.37,23,18,19,hk,ml
  1039. 海南省,三亚,市辖区,18.25,109.51,23,14,53,sy,sxq
  1040. 海南省,三亚,海棠区,18.25,109.51,23,14,53,sy,ht
  1041. 海南省,三亚,吉阳区,18.25,109.51,23,14,53,sy,jy
  1042. 海南省,三亚,天涯区,18.25,109.51,23,14,53,sy,ty
  1043. 海南省,三亚,崖州区,18.25,109.51,23,14,53,sy,yz
  1044. 海南省,省直辖县级行政单位,五指山,18.78,109.52,23,14,55,szx,wzs
  1045. 海南省,省直辖县级行政单位,琼海,19.21,110.41,23,18,29,szx,qh
  1046. 海南省,省直辖县级行政单位,儋州,19.52,109.58,23,15,10,szx,dz
  1047. 海南省,省直辖县级行政单位,文昌,19.54,110.8,23,20,3,szx,wc
  1048. 海南省,省直辖县级行政单位,万宁,20.01,110.34,23,18,12,szx,wn
  1049. 海南省,省直辖县级行政单位,东方,19.11,108.67,23,11,31,szx,df
  1050. 海南省,省直辖县级行政单位,定安县,19.68,110.36,23,18,17,szx,ad
  1051. 海南省,省直辖县级行政单位,屯昌县,19.35,110.11,23,17,17,szx,tc
  1052. 海南省,省直辖县级行政单位,澄迈县,19.74,110.01,23,16,53,szx,cm
  1053. 海南省,省直辖县级行政单位,临高县,19.91,109.69,23,15,36,szx,lg
  1054. 海南省,省直辖县级行政单位,白沙黎族自治县,19.23,109.45,23,14,39,szx,bslz
  1055. 海南省,省直辖县级行政单位,昌江黎族自治县,19.3,109.06,23,13,5,szx,cjlz
  1056. 海南省,省直辖县级行政单位,乐东黎族自治县,18.75,109.17,23,13,31,szx,ldlz
  1057. 海南省,省直辖县级行政单位,陵水黎族自治县,18.5,110.04,23,17,0,szx,lslz
  1058. 海南省,省直辖县级行政单位,保亭黎族苗族自治县,18.64,109.7,23,15,39,szx,btlzmz
  1059. 海南省,省直辖县级行政单位,琼中黎族苗族自治县,19.03,109.84,23,16,12,szx,qzlzmz
  1060. 海南省,省直辖县级行政单位,西沙群岛,16.37,111.7,23,23,39,szx,xsqd
  1061. 海南省,省直辖县级行政单位,南沙群岛,10.65,114.84,23,36,12,szx,nsqd
  1062. 海南省,省直辖县级行政单位,中沙群岛岛礁及其海域,15.87,114.36,23,34,17,szx,zsqd
  1063. 河北省,石家庄,市辖区,38.26,114.19,23,33,36,sjz,sxq
  1064. 河北省,石家庄,长安区,34.16,108.91,23,12,29,sjz,cn
  1065. 河北省,石家庄,桥东区,38.06,114.51,23,34,53,sjz,qd
  1066. 河北省,石家庄,桥西区,38,114.46,23,34,41,sjz,qx
  1067. 河北省,石家庄,新华区,38.05,114.46,23,34,41,sjz,xh
  1068. 河北省,石家庄,井陉矿区,38.07,114.07,23,33,7,sjz,jxkq
  1069. 河北省,石家庄,裕华区,38.01,114.54,23,35,0,sjz,yh
  1070. 河北省,石家庄,井陉县,38.03,114.15,23,33,27,sjz,jx
  1071. 河北省,石家庄,正定县,38.15,114.57,23,35,7,sjz,zd
  1072. 河北省,石家庄,栾城县,37.9,114.63,23,35,22,sjz,lc
  1073. 河北省,石家庄,行唐县,38.44,114.55,23,35,3,sjz,xt
  1074. 河北省,石家庄,灵寿县,38.31,114.38,23,34,22,sjz,ls
  1075. 河北省,石家庄,高邑县,37.61,114.61,23,35,17,sjz,gy
  1076. 河北省,石家庄,深泽县,38.18,115.21,23,37,41,sjz,sz
  1077. 河北省,石家庄,赞皇县,37.67,114.39,23,34,24,sjz,zh
  1078. 河北省,石家庄,无极县,38.18,114.98,23,36,46,sjz,wj
  1079. 河北省,石家庄,平山县,38.26,114.19,23,33,36,sjz,ps
  1080. 河北省,石家庄,元氏县,37.77,114.53,23,34,58,sjz,ys
  1081. 河北省,石家庄,赵县,37.76,114.78,23,35,58,sjz,zx
  1082. 河北省,石家庄,辛集,37.92,115.29,23,38,0,sjz,xj
  1083. 河北省,石家庄,藁城,38.02,114.85,23,36,15,sjz,gc
  1084. 河北省,石家庄,晋州,38.03,115.05,23,37,3,sjz,jz
  1085. 河北省,石家庄,新乐,38.34,114.68,23,35,34,sjz,xl
  1086. 河北省,石家庄,鹿泉,38.09,114.32,23,34,7,sjz,lq
  1087. 河北省,唐山,市辖区,39.63,118.18,23,49,34,ts,sxq
  1088. 河北省,唐山,路南区,39.63,118.15,23,49,27,ts,ln
  1089. 河北省,唐山,路北区,39.62,118.2,23,49,39,ts,lb
  1090. 河北省,唐山,古治区,39.72,118.46,23,50,41,ts,gz
  1091. 河北省,唐山,开平区,39.67,118.26,23,49,53,ts,kp
  1092. 河北省,唐山,丰南区,39.58,118.09,23,49,12,ts,fn
  1093. 河北省,唐山,丰润区,39.83,118.16,23,49,29,ts,fr
  1094. 河北省,唐山,滦县,40.36,118.31,23,50,5,ts,lx
  1095. 河北省,唐山,滦南县,39.5,118.67,23,51,31,ts,ln
  1096. 河北省,唐山,乐亭县,39.43,118.91,23,52,29,ts,lt
  1097. 河北省,唐山,迁西县,40.14,118.32,23,50,7,ts,qx
  1098. 河北省,唐山,玉田县,39.9,117.74,23,47,48,ts,yt
  1099. 河北省,唐山,唐海县,39.27,118.42,23,50,31,ts,th
  1100. 河北省,唐山,遵化,39.27,118.42,23,50,31,ts,zh
  1101. 河北省,唐山,迁安,40,118.7,23,51,39,ts,qa
  1102. 河北省,秦皇岛,市辖区,39.93,119.6,23,55,15,qhd,sxq
  1103. 河北省,秦皇岛,海港区,39.93,119.61,23,55,17,qhd,hg
  1104. 河北省,秦皇岛,山海关区,39.98,119.78,23,55,58,qhd,shg
  1105. 河北省,秦皇岛,北戴河区,39.84,119.49,23,54,48,qhd,bdh
  1106. 河北省,秦皇岛,青龙满族自治县,40.41,118.95,23,52,39,qhd,qlmz
  1107. 河北省,秦皇岛,昌黎县,39.71,119.16,23,53,29,qhd,lc
  1108. 河北省,秦皇岛,抚宁县,39.88,119.24,23,53,48,qhd,fn
  1109. 河北省,秦皇岛,卢龙县,39.89,118.89,23,52,24,qhd,ll
  1110. 河北省,邯郸,市辖区,36.63,114.54,23,35,0,hd,sxq
  1111. 河北省,邯郸,邯山区,36.6,114.49,23,34,48,hd,hs
  1112. 河北省,邯郸,丛台区,36.62,114.5,23,34,51,hd,ct
  1113. 河北省,邯郸,复兴区,36.62,114.47,23,34,43,hd,fx
  1114. 河北省,邯郸,峰峰矿区,36.42,114.21,23,33,41,hd,ffkq
  1115. 河北省,邯郸,邯郸县,36.59,114.53,23,34,58,hd,hd
  1116. 河北省,邯郸,临漳县,36.33,114.62,23,35,19,hd,lz
  1117. 河北省,邯郸,成安县,36.44,114.67,23,35,31,hd,ca
  1118. 河北省,邯郸,大名县,36.29,115.15,23,37,27,hd,dm
  1119. 河北省,邯郸,涉县,36.78,114.95,23,36,39,hd,sx
  1120. 河北省,邯郸,磁县,36.38,114.39,23,34,24,hd,cx
  1121. 河北省,邯郸,肥乡县,36.55,114.8,23,36,3,hd,fx
  1122. 河北省,邯郸,永年县,36.78,114.49,23,34,48,hd,yn
  1123. 河北省,邯郸,邱县,36.29,114.59,23,35,12,hd,qx
  1124. 河北省,邯郸,鸡泽县,36.92,114.88,23,36,22,hd,jz
  1125. 河北省,邯郸,广平县,36.48,114.95,23,36,39,hd,gp
  1126. 河北省,邯郸,馆陶县,36.54,115.31,23,38,5,hd,gt
  1127. 河北省,邯郸,魏县,36.35,114.94,23,36,36,hd,wx
  1128. 河北省,邯郸,曲周县,36.78,114.95,23,36,39,hd,qz
  1129. 河北省,邯郸,武安,36.7,114.21,23,33,41,hd,wa
  1130. 河北省,邢台,市辖区,37.07,114.51,23,34,53,xt,sxq
  1131. 河北省,邢台,桥东区,37.07,114.51,23,34,53,xt,qd
  1132. 河北省,邢台,桥西区,37.06,114.47,23,34,43,xt,qx
  1133. 河北省,邢台,邢台县,37.09,114.55,23,35,3,xt,xt
  1134. 河北省,邢台,临城县,37.44,114.5,23,34,51,xt,lc
  1135. 河北省,邢台,内丘县,37.29,114.51,23,34,53,xt,nq
  1136. 河北省,邢台,柏乡县,37.48,114.69,23,35,36,xt,bx
  1137. 河北省,邢台,隆尧县,37.35,114.77,23,35,55,xt,ly
  1138. 河北省,邢台,任县,37.12,114.67,23,35,31,xt,rx
  1139. 河北省,邢台,南和县,37.12,114.67,23,35,31,xt,nh
  1140. 河北省,邢台,宁普县,37.62,114.92,23,36,31,xt,np
  1141. 河北省,邢台,巨鹿县,37.62,114.92,23,36,31,xt,jl
  1142. 河北省,邢台,新河县,37.53,115.24,23,37,48,xt,xh
  1143. 河北省,邢台,广宗县,37.07,115.14,23,37,24,xt,gz
  1144. 河北省,邢台,平乡县,37.06,115.03,23,36,58,xt,px
  1145. 河北省,邢台,威县,36.98,115.27,23,37,55,xt,wx
  1146. 河北省,邢台,清河县,37.04,115.67,23,39,31,xt,qh
  1147. 河北省,邢台,临西县,37.04,115.67,23,39,31,xt,lx
  1148. 河北省,邢台,南宫,37.36,115.41,23,38,29,xt,ng
  1149. 河北省,邢台,沙河,36.86,114.5,23,34,51,xt,sh
  1150. 河北省,保定,市辖区,38.88,115.47,23,38,43,bd,sxq
  1151. 河北省,保定,新市区,38.88,115.46,23,38,41,bd,xs
  1152. 河北省,保定,北市区,38.88,115.5,23,38,51,bd,bs
  1153. 河北省,保定,南市区,38.86,115.53,23,38,58,bd,ns
  1154. 河北省,保定,满城县,38.95,115.32,23,38,7,bd,mc
  1155. 河北省,保定,清苑县,38.76,115.49,23,38,48,bd,qy
  1156. 河北省,保定,涞水县,39.39,115.71,23,39,41,bd,ls
  1157. 河北省,保定,阜平县,38.85,114.2,23,33,39,bd,fp
  1158. 河北省,保定,徐水县,39.02,115.66,23,39,29,bd,xs
  1159. 河北省,保定,定兴县,39.26,115.81,23,40,5,bd,dx
  1160. 河北省,保定,唐县,38.75,114.98,23,36,46,bd,tx
  1161. 河北省,保定,高阳县,38.7,115.78,23,39,58,bd,gy
  1162. 河北省,保定,容城县,39.04,115.86,23,40,17,bd,rc
  1163. 河北省,保定,涞源县,39.36,114.7,23,35,39,bd,ly
  1164. 河北省,保定,望都县,38.71,115.16,23,37,29,bd,wd
  1165. 河北省,保定,安新县,38.94,115.94,23,40,36,bd,ax
  1166. 河北省,保定,易县,39.35,115.5,23,38,51,bd,yx
  1167. 河北省,保定,曲阳县,38.62,114.75,23,35,51,bd,qy
  1168. 河北省,保定,蠡县,38.49,115.58,23,39,10,bd,lx
  1169. 河北省,保定,顺平县,38.49,115.58,23,39,10,bd,sp
  1170. 河北省,保定,博野县,38.46,115.46,23,38,41,bd,by
  1171. 河北省,保定,雄县,38.99,116.11,23,41,17,bd,xx
  1172. 河北省,保定,涿州,39.49,115.97,23,40,43,bd,zz
  1173. 河北省,保定,定州,38.46,115.05,23,37,3,bd,dz
  1174. 河北省,保定,安国,38.42,115.33,23,38,10,bd,ag
  1175. 河北省,保定,高碑店,39.91,116.53,23,42,58,bd,gbd
  1176. 河北省,张家口,市辖区,40.82,114.89,23,36,24,zjk,sxq
  1177. 河北省,张家口,桥东区,40.79,114.89,23,36,24,zjk,qd
  1178. 河北省,张家口,桥西区,40.82,114.87,23,36,19,zjk,qx
  1179. 河北省,张家口,宣化区,40.61,115.1,23,37,15,zjk,xh
  1180. 河北省,张家口,下花园区,40.5,115.29,23,38,0,zjk,xhy
  1181. 河北省,张家口,宣化县,40.58,115,23,36,51,zjk,xh
  1182. 河北省,张家口,张北县,41.16,114.72,23,35,43,zjk,zb
  1183. 河北省,张家口,康保县,41.85,114.6,23,35,15,zjk,kb
  1184. 河北省,张家口,沽源县,41.67,115.69,23,39,36,zjk,gy
  1185. 河北省,张家口,尚义县,41.08,113.97,23,32,43,zjk,sy
  1186. 河北省,张家口,蔚县,39.84,114.59,23,35,12,zjk,wx
  1187. 河北省,张家口,阳原县,40.1,114.15,23,33,27,zjk,yy
  1188. 河北省,张家口,怀安县,40.67,114.39,23,34,24,zjk,ha
  1189. 河北省,张家口,万全县,40.77,114.74,23,35,48,zjk,wq
  1190. 河北省,张家口,怀来县,40.41,115.52,23,38,55,zjk,hl
  1191. 河北省,张家口,涿鹿县,40.38,115.22,23,37,43,zjk,zl
  1192. 河北省,张家口,赤城县,40.91,115.83,23,40,10,zjk,cc
  1193. 河北省,张家口,崇礼县,40.97,115.28,23,37,58,zjk,cl
  1194. 河北省,承德,市辖区,40.95,117.96,23,48,41,cd,sxq
  1195. 河北省,承德,双桥区,40.97,117.94,23,48,36,cd,sq
  1196. 河北省,承德,双滦区,40.96,117.8,23,48,3,cd,sl
  1197. 河北省,承德,鹰手营子矿区,40.55,117.66,23,47,29,cd,ysyzkq
  1198. 河北省,承德,承德县,40.77,118.17,23,49,31,cd,cd
  1199. 河北省,承德,兴隆县,40.42,117.5,23,46,51,cd,xl
  1200. 河北省,承德,平泉县,41.02,118.7,23,51,39,cd,pq
  1201. 河北省,承德,滦平县,41.02,118.7,23,51,39,cd,lp
  1202. 河北省,承德,隆化县,41.31,117.74,23,47,48,cd,lh
  1203. 河北省,承德,丰宁满族自治县,41.21,116.65,23,43,27,cd,fnmz
  1204. 河北省,承德,宽城满族自治县,40.61,118.49,23,50,48,cd,kcmz
  1205. 河北省,承德,围场满族自治县,41.94,117.76,23,47,53,cd,wcmz
  1206. 河北省,沧州,市辖区,38.3,116.84,23,44,12,cz,sxq
  1207. 河北省,沧州,新华区,38.31,116.87,23,44,19,cz,xh
  1208. 河北省,沧州,运河区,38.31,116.83,23,44,10,cz,yh
  1209. 河北省,沧州,沧县,38.32,116.61,23,43,17,cz,cx
  1210. 河北省,沧州,青县,38.05,116.74,23,43,48,cz,qx
  1211. 河北省,沧州,东光县,37.89,116.54,23,43,0,cz,dg
  1212. 河北省,沧州,海兴县,38.14,117.5,23,46,51,cz,hx
  1213. 河北省,沧州,盐山县,38.06,117.23,23,45,46,cz,ys
  1214. 河北省,沧州,肃宁县,38.42,115.83,23,40,10,cz,sn
  1215. 河北省,沧州,南皮县,38.04,116.71,23,43,41,cz,np
  1216. 河北省,沧州,吴桥县,37.63,116.39,23,42,24,cz,wq
  1217. 河北省,沧州,献县,38.19,116.12,23,41,19,cz,xx
  1218. 河北省,沧州,孟村回族自治县,38.05,117.1,23,45,15,cz,mchz
  1219. 河北省,沧州,泊头,38.08,116.58,23,43,10,cz,bt
  1220. 河北省,沧州,任丘,38.71,116.1,23,41,15,cz,rq
  1221. 河北省,沧州,黄骅,38.37,117.33,23,46,10,cz,hh
  1222. 河北省,沧州,河间,38.45,116.1,23,41,15,cz,hj
  1223. 河北省,廊坊,市辖区,22.57,113.1,23,29,15,lf,sxq
  1224. 河北省,廊坊,安次县,39.5,116.69,23,43,36,lf,ac
  1225. 河北省,廊坊,广阳区,38.06,117.23,23,45,46,lf,gy
  1226. 河北省,廊坊,固安县,39.44,116.3,23,42,3,lf,ga
  1227. 河北省,廊坊,永清县,39.32,116.5,23,42,51,lf,yq
  1228. 河北省,廊坊,香河县,39.76,117.01,23,44,53,lf,xh
  1229. 河北省,廊坊,大城县,38.7,116.65,23,43,27,lf,dc
  1230. 河北省,廊坊,文安县,38.87,116.46,23,42,41,lf,wa
  1231. 河北省,廊坊,大厂回族自治县,39.89,116.95,23,44,39,lf,dchz
  1232. 河北省,廊坊,霸州,39.13,116.39,23,42,24,lf,bz
  1233. 河北省,廊坊,三河,39.98,117.08,23,45,10,lf,sh
  1234. 河北省,衡水,市辖区,37.74,115.67,23,39,31,hs,sxq
  1235. 河北省,衡水,桃城区,37.73,115.68,23,39,34,hs,tc
  1236. 河北省,衡水,枣强县,37.51,115.72,23,39,43,hs,zq
  1237. 河北省,衡水,武邑县,37.8,115.89,23,40,24,hs,wy
  1238. 河北省,衡水,武强县,38.04,115.98,23,40,46,hs,wq
  1239. 河北省,衡水,饶阳县,38.24,115.73,23,39,46,hs,ry
  1240. 河北省,衡水,安平县,38.23,115.52,23,38,55,hs,ap
  1241. 河北省,衡水,故城县,37.35,115.97,23,40,43,hs,gc
  1242. 河北省,衡水,景县,37.58,115.7,23,39,39,hs,jx
  1243. 河北省,衡水,阜城县,37.87,116.14,23,41,24,hs,fc
  1244. 河北省,衡水,冀州,37.55,115.58,23,39,10,hs,jz
  1245. 河北省,衡水,深州,38,115.56,23,39,5,hs,sz
  1246. 河南省,郑州,市辖区,34.75,113.63,23,31,22,zz,sxq
  1247. 河南省,郑州,中原区,34.75,113.61,23,31,17,zz,zy
  1248. 河南省,郑州,二七区,34.72,113.64,23,31,24,zz,eq
  1249. 河南省,郑州,管城回族区,34.75,113.68,23,31,34,zz,gchz
  1250. 河南省,郑州,金水区,34.8,113.66,23,31,29,zz,js
  1251. 河南省,郑州,上街区,34.8,113.31,23,30,5,zz,sj
  1252. 河南省,郑州,邙山区,34.87,113.65,23,31,27,zz,ms
  1253. 河南省,郑州,中牟县,34.72,113.98,23,32,46,zz,zm
  1254. 河南省,郑州,巩义,34.75,113.02,23,28,55,zz,gy
  1255. 河南省,郑州,荥阳,34.79,113.38,23,30,22,zz,xy
  1256. 河南省,郑州,新密,34.54,113.39,23,30,24,zz,xm
  1257. 河南省,郑州,新郑,34.4,113.74,23,31,48,zz,xz
  1258. 河南省,郑州,登封,34.45,113.05,23,29,3,zz,df
  1259. 河南省,开封,市辖区,34.8,114.31,23,34,5,kf,sxq
  1260. 河南省,开封,龙亭区,34.8,114.36,23,34,17,kf,lt
  1261. 河南省,开封,顺河回族区,34.8,114.36,23,34,17,kf,shhz
  1262. 河南省,开封,鼓楼区,34.79,114.35,23,34,15,kf,gl
  1263. 河南省,开封,南关区,34.8,114.33,23,34,10,kf,ng
  1264. 河南省,开封,郊区,36.22,113.11,23,29,17,kf,jq
  1265. 河南省,开封,杞县,34.55,114.78,23,35,58,kf,qx
  1266. 河南省,开封,通许县,34.48,114.47,23,34,43,kf,tx
  1267. 河南省,开封,尉氏县,34.41,114.2,23,33,39,kf,ws
  1268. 河南省,开封,开封县,34.72,114.45,23,34,39,kf,kf
  1269. 河南省,开封,兰考县,34.82,114.82,23,36,7,kf,lk
  1270. 河南省,洛阳,市辖区,34.62,112.45,23,26,39,ly,sxq
  1271. 河南省,洛阳,老城区,34.68,112.47,23,26,43,ly,lc
  1272. 河南省,洛阳,西工区,34.66,112.43,23,26,34,ly,xg
  1273. 河南省,洛阳,廛河回族区,34.69,112.54,23,27,0,ly,chhz
  1274. 河南省,洛阳,涧西区,34.66,112.4,23,26,27,ly,jx
  1275. 河南省,洛阳,吉利区,34.9,112.59,23,27,12,ly,jl
  1276. 河南省,洛阳,洛龙区,34.62,112.47,23,26,43,ly,ll
  1277. 河南省,洛阳,孟津县,34.82,112.45,23,26,39,ly,mj
  1278. 河南省,洛阳,新安县,34.73,112.13,23,25,22,ly,xa
  1279. 河南省,洛阳,栾川县,33.78,111.62,23,23,19,ly,lc
  1280. 河南省,洛阳,嵩县,34.13,112.09,23,25,12,ly,sx
  1281. 河南省,洛阳,汝阳县,34.15,112.47,23,26,43,ly,ly
  1282. 河南省,洛阳,宜阳县,34.51,112.18,23,25,34,ly,yy
  1283. 河南省,洛阳,洛宁县,34.39,111.65,23,23,27,ly,ln
  1284. 河南省,洛阳,伊川县,34.42,112.42,23,26,31,ly,yc
  1285. 河南省,洛阳,偃师,34.73,112.79,23,28,0,ly,ys
  1286. 河南省,平顶山,市辖区,33.76,113.19,23,29,36,pds,sxq
  1287. 河南省,平顶山,新华区,33.74,113.29,23,30,0,pds,xh
  1288. 河南省,平顶山,卫东区,33.73,113.34,23,30,12,pds,wd
  1289. 河南省,平顶山,石龙区,33.9,112.9,23,28,27,pds,sl
  1290. 河南省,平顶山,湛河区,33.7,113.28,23,29,58,pds,zh
  1291. 河南省,平顶山,宝丰县,33.87,113.06,23,29,5,pds,bf
  1292. 河南省,平顶山,叶县,33.63,113.36,23,30,17,pds,yx
  1293. 河南省,平顶山,鲁山县,33.74,112.91,23,28,29,pds,ls
  1294. 河南省,平顶山,郏县,33.97,113.21,23,29,41,pds,jx
  1295. 河南省,平顶山,舞钢,33.29,113.53,23,30,58,pds,wg
  1296. 河南省,平顶山,汝州,34.17,112.85,23,28,15,pds,rz
  1297. 河南省,安阳,市辖区,36.1,114.4,23,34,27,ay,sxq
  1298. 河南省,安阳,文峰区,36.09,114.36,23,34,17,ay,wf
  1299. 河南省,安阳,北关区,36.11,114.36,23,34,17,ay,bg
  1300. 河南省,安阳,殷都区,36.11,114.3,23,34,3,ay,yd
  1301. 河南省,安阳,龙安区,36.08,114.3,23,34,3,ay,la
  1302. 河南省,安阳,安阳县,36.21,114.23,23,33,46,ay,ay
  1303. 河南省,安阳,汤阴县,35.92,114.36,23,34,17,ay,ty
  1304. 河南省,安阳,滑县,35.57,114.52,23,34,55,ay,hx
  1305. 河南省,安阳,内黄县,35.95,114.9,23,36,27,ay,hh
  1306. 河南省,安阳,林州,36.08,113.82,23,32,7,ay,lz
  1307. 河南省,鹤壁,市辖区,35.75,114.3,23,34,3,hb,sxq
  1308. 河南省,鹤壁,鹤山区,35.95,114.16,23,33,29,hb,hs
  1309. 河南省,鹤壁,山城区,35.9,114.19,23,33,36,hb,sc
  1310. 河南省,鹤壁,淇滨区,35.74,114.3,23,34,3,hb,qb
  1311. 河南省,鹤壁,浚县,35.68,114.55,23,35,3,hb,jx
  1312. 河南省,鹤壁,淇县,35.61,114.2,23,33,39,hb,qx
  1313. 河南省,新乡,市辖区,35.3,113.93,23,32,34,xx,sxq
  1314. 河南省,新乡,红旗区,35.3,113.88,23,32,22,xx,hq
  1315. 河南省,新乡,卫滨区,35.3,113.87,23,32,19,xx,wb
  1316. 河南省,新乡,凤泉区,35.37,113.91,23,32,29,xx,fq
  1317. 河南省,新乡,牧野区,35.31,113.91,23,32,29,xx,my
  1318. 河南省,新乡,新乡县,35.19,113.81,23,32,5,xx,xx
  1319. 河南省,新乡,获嘉县,35.26,113.66,23,31,29,xx,hj
  1320. 河南省,新乡,原阳县,35.07,113.94,23,32,36,xx,yy
  1321. 河南省,新乡,延津县,35.14,114.21,23,33,41,xx,yj
  1322. 河南省,新乡,封丘县,35.04,114.42,23,34,31,xx,fq
  1323. 河南省,新乡,长垣县,35.2,114.67,23,35,31,xx,cy
  1324. 河南省,新乡,卫辉,35.4,114.07,23,33,7,xx,wh
  1325. 河南省,新乡,辉县,35.46,113.81,23,32,5,xx,hx
  1326. 河南省,焦作,市辖区,35.21,113.24,23,29,48,jz,sxq
  1327. 河南省,焦作,解放区,35.24,113.23,23,29,46,jz,jf
  1328. 河南省,焦作,中站区,35.24,113.18,23,29,34,jz,zz
  1329. 河南省,焦作,马村区,35.26,113.32,23,30,7,jz,mc
  1330. 河南省,焦作,山阳区,35.21,113.25,23,29,51,jz,sy
  1331. 河南省,焦作,修武县,35.22,113.45,23,30,39,jz,xw
  1332. 河南省,焦作,博爱县,35.17,113.07,23,29,7,jz,ba
  1333. 河南省,焦作,武陟县,35.1,113.4,23,30,27,jz,wz
  1334. 河南省,焦作,温县,34.94,113.08,23,29,10,jz,wx
  1335. 河南省,焦作,济源,35.07,112.6,23,27,15,jz,jy
  1336. 河南省,焦作,沁阳,35.09,112.95,23,28,39,jz,qy
  1337. 河南省,焦作,孟州,34.91,112.79,23,28,0,jz,mz
  1338. 河南省,濮阳,市辖区,35.76,115.03,23,36,58,py,sxq
  1339. 河南省,濮阳,华龙区,35.78,115.08,23,37,10,py,lh
  1340. 河南省,濮阳,清丰县,35.88,115.11,23,37,17,py,qf
  1341. 河南省,濮阳,南乐县,36.07,115.21,23,37,41,py,nl
  1342. 河南省,濮阳,范县,35.85,115.5,23,38,51,py,fx
  1343. 河南省,濮阳,台前县,35.97,115.87,23,40,19,py,tq
  1344. 河南省,濮阳,濮阳县,35.71,115.03,23,36,58,py,py
  1345. 河南省,许昌,市辖区,34.04,113.85,23,32,15,xc,sxq
  1346. 河南省,许昌,魏都区,34.05,113.83,23,32,10,xc,wd
  1347. 河南省,许昌,许昌县,34.13,113.82,23,32,7,xc,xc
  1348. 河南省,许昌,鄢陵县,34.1,114.18,23,33,34,xc,yl
  1349. 河南省,许昌,襄城县,33.85,113.51,23,30,53,xc,xc
  1350. 河南省,许昌,禹州,34.14,113.49,23,30,48,xc,yz
  1351. 河南省,许昌,长葛,34.22,113.77,23,31,55,xc,cg
  1352. 河南省,漯河,市辖区,33.58,114.02,23,32,55,lh,sxq
  1353. 河南省,漯河,源汇区,33.55,113.92,23,32,31,lh,yh
  1354. 河南省,漯河,郾城区,33.59,114.01,23,32,53,lh,yc
  1355. 河南省,漯河,召陵区,33.59,114.09,23,33,12,lh,zl
  1356. 河南省,漯河,舞阳县,33.44,113.61,23,31,17,lh,wy
  1357. 河南省,漯河,临颍县,33.81,113.93,23,32,34,lh,ly
  1358. 河南省,三门峡,市辖区,34.77,111.2,23,21,39,smx,sxq
  1359. 河南省,三门峡,湖滨区,34.77,111.19,23,21,36,smx,hb
  1360. 河南省,三门峡,渑池县,34.77,111.76,23,23,53,smx,mc
  1361. 河南省,三门峡,陕县,34.72,111.11,23,21,17,smx,sx
  1362. 河南省,三门峡,卢氏县,34.05,111.05,23,21,3,smx,ls
  1363. 河南省,三门峡,义马,34.75,111.88,23,24,22,smx,ym
  1364. 河南省,三门峡,灵宝,34.51,110.89,23,20,24,smx,lb
  1365. 河南省,南阳,市辖区,32.99,112.53,23,26,58,ny,sxq
  1366. 河南省,南阳,宛城区,33,112.54,23,27,0,ny,wc
  1367. 河南省,南阳,卧龙区,32.99,112.54,23,27,0,ny,wl
  1368. 河南省,南阳, 南召县,33.49,112.43,23,26,34,ny,nz
  1369. 河南省,南阳,方城县,33.25,113.02,23,28,55,ny,fc
  1370. 河南省,南阳,西峡县,33.3,111.47,23,22,43,ny,xx
  1371. 河南省,南阳,镇平县,33.03,112.24,23,25,48,ny,zp
  1372. 河南省,南阳,内乡县,33.04,111.85,23,24,15,ny,nx
  1373. 河南省,南阳,淅川县,33.14,111.49,23,22,48,ny,zc
  1374. 河南省,南阳,社旗县,33.05,112.95,23,28,39,ny,sq
  1375. 河南省,南阳,唐河县,32.68,112.81,23,28,5,ny,th
  1376. 河南省,南阳,新野县,32.52,112.36,23,26,17,ny,xy
  1377. 河南省,南阳,桐柏县,32.38,113.43,23,30,34,ny,tb
  1378. 河南省,南阳,邓州,32.69,112.09,23,25,12,ny,dz
  1379. 河南省,商丘,市辖区,34.41,115.66,23,39,29,sq,sxq
  1380. 河南省,商丘,梁园区,34.44,115.62,23,39,19,sq,ly
  1381. 河南省,商丘,睢阳区,34.39,115.65,23,39,27,sq,sy
  1382. 河南省,商丘,民权县,34.65,115.15,23,37,27,sq,mq
  1383. 河南省,商丘,睢县,34.44,115.07,23,37,7,sq,sx
  1384. 河南省,商丘,宁陵县,34.45,115.31,23,38,5,sq,nl
  1385. 河南省,商丘,柘城县,34.09,115.31,23,38,5,sq,zc
  1386. 河南省,商丘,虞城县,34.4,115.87,23,40,19,sq,yc
  1387. 河南省,商丘,夏邑县,34.24,116.13,23,41,22,sq,xy
  1388. 河南省,商丘,永城,33.93,116.45,23,42,39,sq,yc
  1389. 河南省,信阳,市辖区,32.15,114.09,23,33,12,xy,sxq
  1390. 河南省,信阳,师河区,32.12,114.06,23,33,5,xy,sh
  1391. 河南省,信阳,平桥区,32.1,114.13,23,33,22,xy,pq
  1392. 河南省,信阳,罗山县,32.2,114.52,23,34,55,xy,ls
  1393. 河南省,信阳,光山县,32.01,114.92,23,36,31,xy,gs
  1394. 河南省,信阳,新县,31.64,114.88,23,36,22,xy,xx
  1395. 河南省,信阳,商城县,31.8,115.41,23,38,29,xy,sc
  1396. 河南省,信阳,固始县,32.17,115.66,23,39,29,xy,gs
  1397. 河南省,信阳,潢川县,32.13,115.06,23,37,5,xy,hc
  1398. 河南省,信阳,淮滨县,32.47,115.42,23,38,31,xy,hb
  1399. 河南省,信阳,息县,32.34,114.74,23,35,48,xy,xx
  1400. 河南省,周口,市辖区,33.63,114.7,23,35,39,zk,sxq
  1401. 河南省,周口,川汇区,33.64,114.65,23,35,27,zk,ch
  1402. 河南省,周口,扶沟县,34.06,114.4,23,34,27,zk,fg
  1403. 河南省,周口,西华县,33.77,114.53,23,34,58,zk,xh
  1404. 河南省,周口,商水县,33.54,114.61,23,35,17,zk,ss
  1405. 河南省,周口,沈丘县,33.41,115.1,23,37,15,zk,sq
  1406. 河南省,周口,郸城县,33.64,115.18,23,37,34,zk,dc
  1407. 河南省,周口,淮阳县,33.73,114.89,23,36,24,zk,hy
  1408. 河南省,周口,太康县,34.06,114.84,23,36,12,zk,tk
  1409. 河南省,周口,鹿邑县,33.86,115.49,23,38,48,zk,ly
  1410. 河南省,周口,项城,33.47,114.88,23,36,22,zk,xc
  1411. 河南省,驻马店,市辖区,33.01,114.02,23,32,55,zmd,sxq
  1412. 河南省,驻马店,驿城区,32.97,113.99,23,32,48,zmd,yc
  1413. 河南省,驻马店,西平县,33.39,114.02,23,32,55,zmd,xp
  1414. 河南省,驻马店,上蔡县,33.26,114.26,23,33,53,zmd,sc
  1415. 河南省,驻马店,平舆县,32.96,114.62,23,35,19,zmd,py
  1416. 河南省,驻马店,正阳县,32.6,114.39,23,34,24,zmd,zy
  1417. 河南省,驻马店,确山县,32.8,114.03,23,32,58,zmd,qs
  1418. 河南省,驻马店,泌阳县,32.72,113.33,23,30,10,zmd,qy
  1419. 河南省,驻马店,汝南县,33.01,114.36,23,34,17,zmd,rn
  1420. 河南省,驻马店,遂平县,33.15,114.01,23,32,53,zmd,sp
  1421. 河南省,驻马店,新蔡县,32.75,114.99,23,36,48,zmd,xc
  1422. 黑龙江省,哈尔滨,市辖区,45.8,126.54,0,23,0,heb,sxq
  1423. 黑龙江省,哈尔滨,道里区,45.76,126.62,0,23,19,heb,dl
  1424. 黑龙江省,哈尔滨,南岗区,45.76,126.65,0,23,27,heb,ng
  1425. 黑龙江省,哈尔滨,道外区,45.79,126.65,0,23,27,heb,dw
  1426. 黑龙江省,哈尔滨,香坊区,45.71,126.66,0,23,29,heb,xf
  1427. 黑龙江省,哈尔滨,动力区,45.72,126.65,0,23,27,heb,dl
  1428. 黑龙江省,哈尔滨,平房区,45.6,126.64,0,23,24,heb,pf
  1429. 黑龙江省,哈尔滨,松北区,45.81,126.56,0,23,5,heb,sb
  1430. 黑龙江省,哈尔滨,呼兰区,45.81,126.57,0,23,7,heb,hl
  1431. 黑龙江省,哈尔滨,依兰县,46.32,129.57,0,35,7,heb,yl
  1432. 黑龙江省,哈尔滨,方正县,45.85,128.83,0,32,10,heb,fz
  1433. 黑龙江省,哈尔滨,宾县,45.76,127.49,0,26,48,heb,bx
  1434. 黑龙江省,哈尔滨,巴彦县,46.08,127.41,0,26,29,heb,by
  1435. 黑龙江省,哈尔滨,木兰县,45.95,128.04,0,29,0,heb,ml
  1436. 黑龙江省,哈尔滨,通河县,45.99,128.75,0,31,51,heb,th
  1437. 黑龙江省,哈尔滨,延寿县,45.45,128.33,0,30,10,heb,ys
  1438. 黑龙江省,哈尔滨,阿城,45.54,126.98,0,24,46,heb,ac
  1439. 黑龙江省,哈尔滨,双城,45.38,126.31,0,22,5,heb,sc
  1440. 黑龙江省,哈尔滨,尚志,45.21,127.96,0,28,41,heb,sz
  1441. 黑龙江省,哈尔滨,五常,44.93,127.17,0,25,31,heb,wc
  1442. 黑龙江省,齐齐哈尔,市辖区,47.35,123.92,0,12,31,qqhe,sxq
  1443. 黑龙江省,齐齐哈尔,龙沙区,47.32,123.96,0,12,41,qqhe,ls
  1444. 黑龙江省,齐齐哈尔,建华区,47.35,123.96,0,12,41,qqhe,jh
  1445. 黑龙江省,齐齐哈尔,铁锋区,47.34,123.98,0,12,46,qqhe,tf
  1446. 黑龙江省,齐齐哈尔,昂昂溪区,47.15,123.82,0,12,7,qqhe,aaxq
  1447. 黑龙江省,齐齐哈尔,富拉尔基区,47.21,123.63,0,11,22,qqhe,flej
  1448. 黑龙江省,齐齐哈尔,碾子山区,47.52,122.89,0,8,24,qqhe,nzs
  1449. 黑龙江省,齐齐哈尔,梅里斯达翰尔族区,47.31,123.75,0,11,51,qqhe,mlsdhez
  1450. 黑龙江省,齐齐哈尔,龙江县,47.34,123.21,0,9,41,qqhe,lj
  1451. 黑龙江省,齐齐哈尔,依安县,47.89,125.31,0,18,5,qqhe,ya
  1452. 黑龙江省,齐齐哈尔,泰来县,46.39,123.42,0,10,31,qqhe,tl
  1453. 黑龙江省,齐齐哈尔,甘南县,47.92,123.51,0,10,53,qqhe,gn
  1454. 黑龙江省,齐齐哈尔,富裕县,47.77,124.48,0,14,46,qqhe,fy
  1455. 黑龙江省,齐齐哈尔,克山县,48.04,125.88,0,20,22,qqhe,ks
  1456. 黑龙江省,齐齐哈尔,克东县,48.04,126.25,0,21,51,qqhe,kd
  1457. 黑龙江省,齐齐哈尔,拜泉县,47.6,126.1,0,21,15,qqhe,bq
  1458. 黑龙江省,齐齐哈尔,讷河,47.6,126.1,0,21,15,qqhe,nh
  1459. 黑龙江省,鸡西,市辖区,45.3,130.97,0,40,43,jx,sxq
  1460. 黑龙江省,鸡西,鸡冠区,45.3,130.98,0,40,46,jx,jg
  1461. 黑龙江省,鸡西,恒山区,45.21,130.91,0,40,29,jx,hs
  1462. 黑龙江省,鸡西,滴道区,45.35,130.84,0,40,12,jx,dd
  1463. 黑龙江省,鸡西,梨树区,45.09,130.7,0,39,39,jx,ls
  1464. 黑龙江省,鸡西,城子河区,45.34,131.01,0,40,53,jx,czh
  1465. 黑龙江省,鸡西,麻山区,45.21,130.48,0,38,46,jx,ms
  1466. 黑龙江省,鸡西,鸡东县,45.26,131.13,0,41,22,jx,jd
  1467. 黑龙江省,鸡西,虎林,45.76,132.94,0,48,36,jx,hl
  1468. 黑龙江省,鸡西,密山,45.76,132.94,0,48,36,jx,ms
  1469. 黑龙江省,鹤岗,市辖区,47.35,130.3,0,38,3,hg,sxq
  1470. 黑龙江省,鹤岗,向阳区,47.34,130.29,0,38,0,hg,xy
  1471. 黑龙江省,鹤岗,工农区,47.32,130.28,0,37,58,hg,gn
  1472. 黑龙江省,鹤岗,南山区,47.31,130.29,0,38,0,hg,ns
  1473. 黑龙江省,鹤岗,兴安区,47.25,130.24,0,37,48,hg,xa
  1474. 黑龙江省,鹤岗,东山区,47.34,130.32,0,38,7,hg,ds
  1475. 黑龙江省,鹤岗,兴山区,47.38,130.33,0,38,10,hg,xs
  1476. 黑龙江省,鹤岗,萝北区,47.58,130.83,0,40,10,hg,lb
  1477. 黑龙江省,鹤岗,绥滨区,47.29,131.85,0,44,15,hg,sb
  1478. 黑龙江省,双鸭山,市辖区,45.2,128.37,0,30,19,sys,sxq
  1479. 黑龙江省,双鸭山,尖山区,46.65,131.16,0,41,29,sys,js
  1480. 黑龙江省,双鸭山,岭东区,46.54,131.15,0,41,27,sys,ld
  1481. 黑龙江省,双鸭山,四方台区,46.59,131.34,0,42,12,sys,sft
  1482. 黑龙江省,双鸭山,宝山区,46.58,131.4,0,42,27,sys,bs
  1483. 黑龙江省,双鸭山,集贤县,46.73,131.14,0,41,24,sys,jx
  1484. 黑龙江省,双鸭山,友谊县,46.77,131.81,0,44,5,sys,yy
  1485. 黑龙江省,双鸭山,宝清县,46.33,132.2,0,45,39,sys,bq
  1486. 黑龙江省,双鸭山,饶河县,46.8,134.01,0,52,53,sys,rh
  1487. 黑龙江省,大庆,市辖区,46.59,125.1,0,17,15,dq,sxq
  1488. 黑龙江省,大庆,萨尔图区,46.6,125.05,0,17,3,dq,set
  1489. 黑龙江省,大庆,龙凤区,46.56,125.14,0,17,24,dq,lf
  1490. 黑龙江省,大庆,让胡路区,46.65,124.87,0,16,19,dq,lhl
  1491. 黑龙江省,大庆,红岗区,46.4,124.89,0,16,24,dq,hg
  1492. 黑龙江省,大庆,大同区,46.04,124.81,0,16,5,dq,dt
  1493. 黑龙江省,大庆,肇州县,45.7,125.27,0,17,55,dq,zz
  1494. 黑龙江省,大庆,肇源县,45.52,125.08,0,17,10,dq,zy
  1495. 黑龙江省,大庆,林甸县,47.18,124.88,0,16,22,dq,ld
  1496. 黑龙江省,大庆,杜尔伯特蒙古族自治县,46.86,124.44,0,14,36,dq,debtmgz
  1497. 黑龙江省,伊春,市辖区,47.73,128.84,0,32,12,yc,sxq
  1498. 黑龙江省,伊春,伊春区,47.73,128.91,0,32,29,yc,yc
  1499. 黑龙江省,伊春,南岔区,47.14,129.28,0,33,58,yc,nc
  1500. 黑龙江省,伊春,友好区,47.85,128.84,0,32,12,yc,yh
  1501. 黑龙江省,伊春,西林区,47.48,129.31,0,34,5,yc,xl
  1502. 黑龙江省,伊春,翠峦区,47.73,128.67,0,31,31,yc,cl
  1503. 黑龙江省,伊春,新青区,48.29,129.53,0,34,58,yc,xq
  1504. 黑龙江省,伊春,美溪区,47.63,129.13,0,33,22,yc,mx
  1505. 黑龙江省,伊春,金山屯区,47.41,129.43,0,34,34,yc,jst
  1506. 黑龙江省,伊春,五营区,48.11,129.25,0,33,51,yc,wy
  1507. 黑龙江省,伊春,乌马河区,47.73,128.8,0,32,3,yc,wmh
  1508. 黑龙江省,伊春,汤旺河区,48.45,129.57,0,35,7,yc,twh
  1509. 黑龙江省,伊春,带岭区,47.03,129.02,0,32,55,yc,dl
  1510. 黑龙江省,伊春,乌伊岭区,48.59,129.44,0,34,36,yc,wyl
  1511. 黑龙江省,伊春,红星区,48.24,129.39,0,34,24,yc,hx
  1512. 黑龙江省,伊春,上甘岭区,47.97,129.03,0,32,58,yc,sgl
  1513. 黑龙江省,伊春,嘉荫区,48.89,130.4,0,38,27,yc,jy
  1514. 黑龙江省,伊春,铁力,46.99,128.03,0,28,58,yc,tl
  1515. 黑龙江省,佳木斯,市辖区,46.8,130.32,0,38,7,jms,sxq
  1516. 黑龙江省,佳木斯,永红区,46.8,130.34,0,38,12,jms,yh
  1517. 黑龙江省,佳木斯,向阳区,47.34,130.3,0,38,3,jms,xy
  1518. 黑龙江省,佳木斯,前进区,46.81,130.38,0,38,22,jms,qj
  1519. 黑龙江省,佳木斯,东风区,46.82,130.4,0,38,27,jms,df
  1520. 黑龙江省,佳木斯,郊区,36.22,113.11,23,29,17,jms,jq
  1521. 黑龙江省,佳木斯,桦南县,46.24,130.56,0,39,5,jms,hn
  1522. 黑龙江省,佳木斯,桦川县,47.02,130.72,0,39,43,jms,hc
  1523. 黑龙江省,佳木斯,汤原县,46.73,129.91,0,36,29,jms,ty
  1524. 黑龙江省,佳木斯,抚远县,48.36,134.31,0,54,5,jms,fy
  1525. 黑龙江省,佳木斯,同江,47.64,132.51,0,46,53,jms,tj
  1526. 黑龙江省,佳木斯,富锦,47.25,132.04,0,45,0,jms,fj
  1527. 黑龙江省,七台河,市辖区,45.77,131,0,40,51,qth,sxq
  1528. 黑龙江省,七台河,新兴区,45.82,130.93,0,40,34,qth,xx
  1529. 黑龙江省,七台河,桃山区,45.77,131.02,0,40,55,qth,ts
  1530. 黑龙江省,七台河,茄子河区,45.78,131.07,0,41,7,qth,qzh
  1531. 黑龙江省,七台河,勃利县,45.76,130.59,0,39,12,qth,bl
  1532. 黑龙江省,牡丹江,市辖区,44.55,129.63,0,35,22,mdj,sxq
  1533. 黑龙江省,牡丹江,东安区,44.58,129.63,0,35,22,mdj,da
  1534. 黑龙江省,牡丹江,阳明区,44.6,129.64,0,35,24,mdj,ym
  1535. 黑龙江省,牡丹江,爱民区,44.59,129.59,0,35,12,mdj,am
  1536. 黑龙江省,牡丹江,西安区,44.58,129.62,0,35,19,mdj,xa
  1537. 黑龙江省,牡丹江,东宁县,44.09,131.13,0,41,22,mdj,dn
  1538. 黑龙江省,牡丹江,林口县,45.28,130.29,0,38,0,mdj,lk
  1539. 黑龙江省,牡丹江,绥芬河,44.41,131.15,0,41,27,mdj,sf
  1540. 黑龙江省,牡丹江,海林,44.59,129.38,0,34,22,mdj,hl
  1541. 黑龙江省,牡丹江,宁安,44.34,129.48,0,34,46,mdj,na
  1542. 黑龙江省,牡丹江,穆棱,44.92,130.53,0,38,58,mdj,ml
  1543. 黑龙江省,黑河,市辖区,50.24,127.53,0,26,58,hh,sxq
  1544. 黑龙江省,黑河,爱辉区,50.25,127.5,0,26,51,hh,ah
  1545. 黑龙江省,黑河,嫩江县,49.19,125.22,0,17,43,hh,nj
  1546. 黑龙江省,黑河,逊克县,49.56,128.48,0,30,46,hh,xk
  1547. 黑龙江省,黑河,孙吴县,49.43,127.34,0,26,12,hh,sw
  1548. 黑龙江省,黑河,北安,48.24,126.49,0,22,48,hh,ba
  1549. 黑龙江省,黑河,五大连池,48.65,126.16,0,21,29,hh,wdlc
  1550. 黑龙江省,绥化,市辖区,46.65,126.97,0,24,43,sh,sxq
  1551. 黑龙江省,绥化,北林区,46.65,126.97,0,24,43,sh,bl
  1552. 黑龙江省,绥化,望奎县,46.83,126.49,0,22,48,sh,wk
  1553. 黑龙江省,绥化,兰西县,46.25,126.29,0,22,0,sh,lx
  1554. 黑龙江省,绥化,青冈县,46.69,126.12,0,21,19,sh,qg
  1555. 黑龙江省,绥化,庆安县,46.88,127.51,0,26,53,sh,qa
  1556. 黑龙江省,绥化,明水县,47.17,125.91,0,20,29,sh,ms
  1557. 黑龙江省,绥化,绥棱县,47.24,127.11,0,25,17,sh,sl
  1558. 黑龙江省,绥化,安达,46.42,125.35,0,18,15,sh,ad
  1559. 黑龙江省,绥化,肇东,46.05,125.96,0,20,41,sh,zd
  1560. 黑龙江省,绥化,海伦,47.46,126.97,0,24,43,sh,hl
  1561. 黑龙江省,大兴安岭地区,呼玛县,51.73,126.65,0,23,27,dxal,hm
  1562. 黑龙江省,大兴安岭地区,塔河县,52.33,124.71,0,15,41,dxal,th
  1563. 黑龙江省,大兴安岭地区,漠河县,52.97,122.54,0,7,0,dxal,mh
  1564. 湖北省,武汉,市辖区,30.59,114.31,23,34,5,wh,sxq
  1565. 湖北省,武汉,江岸区,30.6,114.31,23,34,5,wh,ja
  1566. 湖北省,武汉,江汉区,30.6,114.27,23,33,55,wh,jh
  1567. 湖北省,武汉,乔口区,30.58,114.22,23,33,43,wh,qk
  1568. 湖北省,武汉,汉阳区,30.56,114.22,23,33,43,wh,hy
  1569. 湖北省,武汉,武昌区,30.55,114.32,23,34,7,wh,wc
  1570. 湖北省,武汉,青山区,30.64,114.39,23,34,24,wh,qs
  1571. 湖北省,武汉,洪山区,30.5,114.34,23,34,12,wh,hs
  1572. 湖北省,武汉,东西湖区,30.62,114.14,23,33,24,wh,dxh
  1573. 湖北省,武汉,汉南区,30.31,114.09,23,33,12,wh,hn
  1574. 湖北省,武汉,蔡甸区,30.58,114.03,23,32,58,wh,cd
  1575. 湖北省,武汉,江夏区,30.58,114.32,23,34,7,wh,jx
  1576. 湖北省,武汉,黄陂区,30.88,114.38,23,34,22,wh,hp
  1577. 湖北省,武汉,新洲区,30.84,114.8,23,36,3,wh,xz
  1578. 湖北省,黄石,市辖区,30.2,115.04,23,37,0,hs,sxq
  1579. 湖北省,黄石,黄石港区,30.22,115.07,23,37,7,hs,hsg
  1580. 湖北省,黄石,西塞山区,30.2,115.11,23,37,17,hs,xss
  1581. 湖北省,黄石,下陆区,30.17,114.96,23,36,41,hs,xl
  1582. 湖北省,黄石,铁山区,30.21,114.9,23,36,27,hs,ts
  1583. 湖北省,黄石,阳新县,29.83,115.21,23,37,41,hs,yx
  1584. 湖北省,黄石,大治,30.09,114.98,23,36,46,hs,dz
  1585. 湖北省,十堰,市辖区,32.63,110.8,23,20,3,sy,sxq
  1586. 湖北省,十堰,茅箭区,32.59,110.81,23,20,5,sy,mj
  1587. 湖北省,十堰,张湾区,32.65,110.77,23,19,55,sy,zw
  1588. 湖北省,十堰,郧县,32.86,110.73,23,19,46,sy,yx
  1589. 湖北省,十堰,郧西县,32.99,110.43,23,18,34,sy,yx
  1590. 湖北省,十堰,竹山县,32.22,110.23,23,17,46,sy,zs
  1591. 湖北省,十堰,竹溪县,32.32,109.71,23,15,41,sy,zx
  1592. 湖北省,十堰,房县,32.06,110.74,23,19,48,sy,fx
  1593. 湖北省,十堰,丹江口,32.54,111.51,23,22,53,sy,djk
  1594. 湖北省,宜昌,市辖区,30.69,111.29,23,22,0,yc,sxq
  1595. 湖北省,宜昌,西陵区,30.71,111.29,23,22,0,yc,xl
  1596. 湖北省,宜昌,伍家岗区,30.64,111.36,23,22,17,yc,wjg
  1597. 湖北省,宜昌,点军区,30.69,111.27,23,21,55,yc,djk
  1598. 湖北省,宜昌,猇亭区,30.53,111.44,23,22,36,yc,xt
  1599. 湖北省,宜昌,夷陵区,30.77,111.33,23,22,10,yc,yl
  1600. 湖北省,宜昌,远安县,31.06,111.64,23,23,24,yc,ya
  1601. 湖北省,宜昌,兴山县,31.35,110.75,23,19,51,yc,xs
  1602. 湖北省,宜昌,秭归县,30.83,110.98,23,20,46,yc,zg
  1603. 湖北省,宜昌,长阳土家族自治县,30.47,111.21,23,21,41,yc,cytjz
  1604. 湖北省,宜昌,五峰土家族自治县,30.2,110.68,23,19,34,yc,wftjz
  1605. 湖北省,宜昌,宜都,30.38,111.45,23,22,39,yc,yd
  1606. 湖北省,宜昌,当阳,30.82,111.79,23,24,0,yc,dy
  1607. 湖北省,宜昌,枝江,30.42,111.76,23,23,53,yc,zj
  1608. 湖北省,襄樊,市辖区,32.01,112.12,23,25,19,xf,sxq
  1609. 湖北省,襄樊,襄城区,32.01,112.13,23,25,22,xf,xc
  1610. 湖北省,襄樊,樊城区,32.04,112.14,23,25,24,xf,fc
  1611. 湖北省,襄樊,襄阳区,32.22,112.24,23,25,48,xf,xy
  1612. 湖北省,襄樊,南漳县,31.77,111.84,23,24,12,xf,nz
  1613. 湖北省,襄樊,谷城县,32.26,111.66,23,23,29,xf,gc
  1614. 湖北省,襄樊,保康县,31.87,111.26,23,21,53,xf,bk
  1615. 湖北省,襄樊,老河口,32.39,111.68,23,23,34,xf,lhk
  1616. 湖北省,襄樊,枣阳,32.13,112.77,23,27,55,xf,zy
  1617. 湖北省,襄樊,宜城,31.72,112.26,23,25,53,xf,yc
  1618. 湖北省,鄂州,市辖区,30.39,114.9,23,36,27,ez,sxq
  1619. 湖北省,鄂州,梁子湖区,30.1,114.69,23,35,36,ez,lzh
  1620. 湖北省,鄂州,华容区,30.53,114.73,23,35,46,ez,hr
  1621. 湖北省,鄂州,鄂城区,30.4,114.89,23,36,24,ez,ec
  1622. 湖北省,荆门,市辖区,31.03,112.2,23,25,39,jm,sxq
  1623. 湖北省,荆门,东宝区,31.05,112.2,23,25,39,jm,db
  1624. 湖北省,荆门,掇刀区,30.97,112.21,23,25,41,jm,dd
  1625. 湖北省,荆门,京山县,31.02,113.12,23,29,19,jm,js
  1626. 湖北省,荆门,沙洋县,30.71,112.59,23,27,12,jm,sy
  1627. 湖北省,荆门,钟祥,31.17,112.59,23,27,12,jm,zx
  1628. 湖北省,孝感,市辖区,30.92,113.92,23,32,31,xg,sxq
  1629. 湖北省,孝感,孝南区,30.92,113.91,23,32,29,xg,xn
  1630. 湖北省,孝感,孝昌县,31.26,114,23,32,51,xg,xc
  1631. 湖北省,孝感,大悟县,31.56,114.13,23,33,22,xg,dw
  1632. 湖北省,孝感,云梦县,31.02,113.75,23,31,51,xg,ym
  1633. 湖北省,孝感,应城,30.92,113.57,23,31,7,xg,yc
  1634. 湖北省,孝感,安陆,31.26,113.69,23,31,36,xg,al
  1635. 湖北省,孝感,汉川,30.66,113.84,23,32,12,xg,hc
  1636. 湖北省,荆州,市辖区,30.33,112.24,23,25,48,jz,sxq
  1637. 湖北省,荆州,沙市区,30.31,112.26,23,25,53,jz,ss
  1638. 湖北省,荆州,荆州区,30.35,112.19,23,25,36,jz,jz
  1639. 湖北省,荆州,公安县,30.06,112.23,23,25,46,jz,ga
  1640. 湖北省,荆州,监利县,29.84,112.91,23,28,29,jz,jl
  1641. 湖北省,荆州,江陵县,30.04,112.42,23,26,31,jz,jl
  1642. 湖北省,荆州,石首,29.72,112.43,23,26,34,jz,ss
  1643. 湖北省,荆州,洪湖,29.83,113.48,23,30,46,jz,hh
  1644. 湖北省,荆州,松滋,30.17,111.77,23,23,55,jz,sz
  1645. 湖北省,黄冈,市辖区,30.45,114.87,23,36,19,hg,sxq
  1646. 湖北省,黄冈,黄州区,30.43,114.88,23,36,22,hg,hz
  1647. 湖北省,黄冈,团风县,30.64,114.87,23,36,19,hg,tf
  1648. 湖北省,黄冈,红安县,31.29,114.62,23,35,19,hg,ha
  1649. 湖北省,黄冈,罗田县,30.78,115.4,23,38,27,hg,lt
  1650. 湖北省,黄冈,英山县,30.73,115.68,23,39,34,hg,ys
  1651. 湖北省,黄冈,浠水县,30.45,115.27,23,37,55,hg,xs
  1652. 湖北省,黄冈,蕲春县,30.23,115.44,23,38,36,hg,qc
  1653. 湖北省,黄冈,黄梅县,30.07,115.94,23,40,36,hg,hm
  1654. 湖北省,黄冈,麻城,31.17,115.01,23,36,53,hg,mc
  1655. 湖北省,黄冈,武穴,29.84,115.56,23,39,5,hg,wx
  1656. 湖北省,咸宁,市辖区,29.84,114.32,23,34,7,xn,sxq
  1657. 湖北省,咸宁,咸安区,29.85,114.3,23,34,3,xn,xa
  1658. 湖北省,咸宁,嘉鱼县,29.97,113.94,23,32,36,xn,jy
  1659. 湖北省,咸宁,通城县,29.24,113.82,23,32,7,xn,tc
  1660. 湖北省,咸宁,崇阳县,29.56,114.04,23,33,0,xn,cytjz
  1661. 湖北省,咸宁,通山县,29.61,114.48,23,34,46,xn,ts
  1662. 湖北省,咸宁,赤壁,29.72,113.9,23,32,27,xn,cb
  1663. 湖北省,随州,市辖区,31.69,113.38,23,30,22,sz,sxq
  1664. 湖北省,随州,曾都区,31.72,113.37,23,30,19,sz,zd
  1665. 湖北省,随州,广水,31.62,113.83,23,32,10,sz,gs
  1666. 湖北省,恩施土家族苗族自治州,恩施,30.29,109.48,23,14,46,estjzmz,es
  1667. 湖北省,恩施土家族苗族自治州,利川,30.29,108.94,23,12,36,estjzmz,lc
  1668. 湖北省,恩施土家族苗族自治州,建始县,30.6,109.72,23,15,43,estjzmz,js
  1669. 湖北省,恩施土家族苗族自治州,巴东县,31.04,110.34,23,18,12,estjzmz,bd
  1670. 湖北省,恩施土家族苗族自治州,宣恩县,29.99,109.49,23,14,48,estjzmz,ye
  1671. 湖北省,恩施土家族苗族自治州,咸丰县,29.66,109.14,23,13,24,estjzmz,xf
  1672. 湖北省,恩施土家族苗族自治州,来凤县,29.49,109.41,23,14,29,estjzmz,lf
  1673. 湖北省,恩施土家族苗族自治州,鹤峰县,29.89,110.04,23,17,0,estjzmz,hf
  1674. 湖北省,省直辖行政单位,仙桃,30.36,113.45,23,30,39,szx,xt
  1675. 湖北省,省直辖行政单位,潜江,30.4,112.9,23,28,27,szx,qj
  1676. 湖北省,省直辖行政单位,天门,30.64,113.13,23,29,22,szx,tm
  1677. 湖北省,省直辖行政单位,神农架区,31.62,110.74,23,19,48,szx,snj
  1678. 湖南省,长沙,市辖区,28.23,112.94,23,28,36,cs,sxq
  1679. 湖南省,长沙,芙蓉区,28.2,113.04,23,29,0,cs,fr
  1680. 湖南省,长沙,天心区,28.11,112.99,23,28,48,cs,tx
  1681. 湖南省,长沙,岳麓区,28.23,112.93,23,28,34,cs,yl
  1682. 湖南省,长沙,开福区,28.25,112.99,23,28,48,cs,kf
  1683. 湖南省,长沙,雨花区,28.14,113.04,23,29,0,cs,yh
  1684. 湖南省,长沙,长沙县,28.24,113.08,23,29,10,cs,cs
  1685. 湖南省,长沙,望城县,28.29,112.82,23,28,7,cs,wc
  1686. 湖南省,长沙,宁乡县,28.28,112.55,23,27,3,cs,nx
  1687. 湖南省,长沙,浏阳,28.16,113.65,23,31,27,cs,ly
  1688. 湖南省,株洲,市辖区,27.83,113.13,23,29,22,zz,sxq
  1689. 湖南省,株洲,荷塘区,27.86,113.17,23,29,31,zz,ht
  1690. 湖南省,株洲,芦淞区,27.79,113.15,23,29,27,zz,ls
  1691. 湖南省,株洲,石峰区,27.87,113.12,23,29,19,zz,sf
  1692. 湖南省,株洲,天元区,27.83,113.08,23,29,10,zz,ty
  1693. 湖南省,株洲,株洲县,27.7,113.15,23,29,27,zz,zz
  1694. 湖南省,株洲,攸县,27,113.35,23,30,15,zz,yx
  1695. 湖南省,株洲,茶陵县,26.78,113.54,23,31,0,zz,cl
  1696. 湖南省,株洲,炎陵县,26.49,113.77,23,31,55,zz,yl
  1697. 湖南省,株洲,醴陵,27.65,113.5,23,30,51,zz,ll
  1698. 湖南省,湘潭,市辖区,27.83,112.94,23,28,36,xt,sxq
  1699. 湖南省,湘潭,雨湖区,27.85,112.91,23,28,29,xt,yh
  1700. 湖南省,湘潭,岳塘区,27.87,112.97,23,28,43,xt,yt
  1701. 湖南省,湘潭,湘潭县,27.78,112.95,23,28,39,xt,xt
  1702. 湖南省,湘潭,湘乡,27.73,112.53,23,26,58,xt,xx
  1703. 湖南省,湘潭,韶山,27.91,112.53,23,26,58,xt,ss
  1704. 湖南省,衡阳,市辖区,26.89,112.57,23,27,7,hy,sxq
  1705. 湖南省,衡阳,珠晖区,26.89,112.62,23,27,19,hy,zh
  1706. 湖南省,衡阳,雁峰区,26.89,112.62,23,27,19,hy,yf
  1707. 湖南省,衡阳,石鼓区,26.94,112.6,23,27,15,hy,sg
  1708. 湖南省,衡阳,蒸湘区,26.89,112.57,23,27,7,hy,zx
  1709. 湖南省,衡阳,南岳区,27.23,112.74,23,27,48,hy,ny
  1710. 湖南省,衡阳,衡阳县,26.97,112.37,23,26,19,hy,hy
  1711. 湖南省,衡阳,衡南县,26.74,112.68,23,27,34,hy,hn
  1712. 湖南省,衡阳,衡山县,27.23,112.87,23,28,19,hy,ns
  1713. 湖南省,衡阳,衡东县,27.08,112.96,23,28,41,hy,hd
  1714. 湖南省,衡阳,祁东县,26.8,112.09,23,25,12,hy,qd
  1715. 湖南省,衡阳,耒阳,26.42,112.86,23,28,17,hy,ly
  1716. 湖南省,衡阳,常宁,26.42,112.4,23,26,27,hy,cn
  1717. 湖南省,邵阳,市辖区,27.24,111.47,23,22,43,sy,sxq
  1718. 湖南省,邵阳,双清区,27.23,111.5,23,22,51,sy,sq
  1719. 湖南省,邵阳,大祥区,27.22,111.44,23,22,36,sy,dx
  1720. 湖南省,邵阳,北塔区,27.24,111.45,23,22,39,sy,bt
  1721. 湖南省,邵阳,邵东县,27.26,111.74,23,23,48,sy,sd
  1722. 湖南省,邵阳,新邵县,27.32,111.46,23,22,41,sy,xs
  1723. 湖南省,邵阳,邵阳县,26.99,111.27,23,21,55,sy,sy
  1724. 湖南省,邵阳,隆回县,27.11,111.03,23,20,58,sy,lh
  1725. 湖南省,邵阳,洞口县,27.06,110.58,23,19,10,sy,dk
  1726. 湖南省,邵阳,绥宁县,26.58,110.16,23,17,29,sy,snj
  1727. 湖南省,邵阳,新宁县,26.43,110.86,23,20,17,sy,xn
  1728. 湖南省,邵阳,城步苗族自治县,26.39,110.32,23,18,7,sy,cbmz
  1729. 湖南省,邵阳,武冈,26.72,110.63,23,19,22,sy,wg
  1730. 湖南省,岳阳,市辖区,29.36,113.13,23,29,22,yy,sxq
  1731. 湖南省,岳阳,岳阳楼区,29.37,113.13,23,29,22,yy,yyl
  1732. 湖南省,岳阳,云溪区,29.47,113.27,23,29,55,yy,yx
  1733. 湖南省,岳阳,君山区,29.46,113.01,23,28,53,yy,js
  1734. 湖南省,岳阳,岳阳县,29.14,113.12,23,29,19,yy,yy
  1735. 湖南省,岳阳,华容县,29.53,112.54,23,27,0,yy,hr
  1736. 湖南省,岳阳,湘阴县,28.69,112.91,23,28,29,yy,xy
  1737. 湖南省,岳阳,平江县,28.7,113.58,23,31,10,yy,pj
  1738. 湖南省,岳阳,汩罗,28.81,113.07,23,29,7,yy,ml
  1739. 湖南省,岳阳,临湘,29.51,113.45,23,30,39,yy,lx
  1740. 湖南省,常德,市辖区,29.03,111.7,23,23,39,cd,sxq
  1741. 湖南省,常德,武陵区,29.05,111.68,23,23,34,cd,wl
  1742. 湖南省,常德,鼎城区,29.02,111.68,23,23,34,cd,dc
  1743. 湖南省,常德,安乡县,29.41,112.17,23,25,31,cd,ax
  1744. 湖南省,常德,汉寿县,28.9,111.97,23,24,43,cd,hs
  1745. 湖南省,常德,澧县,29.63,111.76,23,23,53,cd,lx
  1746. 湖南省,常德,临澧县,29.44,111.65,23,23,27,cd,ll
  1747. 湖南省,常德,桃源县,28.9,111.49,23,22,48,cd,ty
  1748. 湖南省,常德,石门县,29.58,111.38,23,22,22,cd,sm
  1749. 湖南省,常德,津,29.6,111.88,23,24,22,cd,j
  1750. 湖南省,张家界,市辖区,29.12,110.48,23,18,46,zjj,sxq
  1751. 湖南省,张家界,永定区,29.12,110.54,23,19,0,zjj,yd
  1752. 湖南省,张家界,武陵源区,29.34,110.55,23,19,3,zjj,wly
  1753. 湖南省,张家界,慈利县,29.43,111.14,23,21,24,zjj,cl
  1754. 湖南省,张家界,桑植县,29.4,110.16,23,17,29,zjj,sz
  1755. 湖南省,益阳,市辖区,28.55,112.36,23,26,17,yy,sxq
  1756. 湖南省,益阳,资阳区,28.59,112.33,23,26,10,yy,zy
  1757. 湖南省,益阳,赫山区,28.58,112.38,23,26,22,yy,hs
  1758. 湖南省,益阳,南县,29.36,112.4,23,26,27,yy,nx
  1759. 湖南省,益阳,桃江县,28.52,112.16,23,25,29,yy,tj
  1760. 湖南省,益阳,安化县,28.37,111.21,23,21,41,yy,ah
  1761. 湖南省,益阳,沅江,28.84,112.36,23,26,17,yy,yj
  1762. 湖南省,郴州,市辖区,25.77,113.02,23,28,55,bz,sxq
  1763. 湖南省,郴州,北湖区,25.78,113.01,23,28,53,bz,bh
  1764. 湖南省,郴州,苏仙区,25.8,113.04,23,29,0,bz,sx
  1765. 湖南省,郴州,桂阳县,25.75,112.73,23,27,46,bz,gy
  1766. 湖南省,郴州,宜章县,25.4,112.95,23,28,39,bz,yz
  1767. 湖南省,郴州,永兴县,26.13,113.12,23,29,19,bz,yx
  1768. 湖南省,郴州,嘉禾县,25.59,112.37,23,26,19,bz,jh
  1769. 湖南省,郴州,临武县,25.28,112.56,23,27,5,bz,lw
  1770. 湖南省,郴州,汝城县,25.55,113.69,23,31,36,bz,rc
  1771. 湖南省,郴州,桂东县,26.08,113.94,23,32,36,bz,gd
  1772. 湖南省,郴州,安仁县,26.71,113.27,23,29,55,bz,ar
  1773. 湖南省,郴州,资兴,25.97,113.24,23,29,48,bz,zx
  1774. 湖南省,永州,市辖区,26.42,111.61,23,23,17,yz,sxq
  1775. 湖南省,永州,芝山区,26.23,111.62,23,23,19,yz,zs
  1776. 湖南省,永州,冷水滩区,26.46,111.6,23,23,15,yz,lst
  1777. 湖南省,永州,祁阳县,26.58,111.84,23,24,12,yz,qy
  1778. 湖南省,永州,东安县,26.39,111.32,23,22,7,yz,da
  1779. 湖南省,永州,双牌县,25.96,111.66,23,23,29,yz,sp
  1780. 湖南省,永州,道县,25.52,111.6,23,23,15,yz,dx
  1781. 湖南省,永州,江永县,25.27,111.35,23,22,15,yz,jy
  1782. 湖南省,永州,宁远县,25.57,111.95,23,24,39,yz,ny
  1783. 湖南省,永州,蓝山县,25.37,112.2,23,25,39,yz,ls
  1784. 湖南省,永州,新田县,25.9,112.21,23,25,41,yz,xt
  1785. 湖南省,永州,江华瑶族自治县,25.18,111.58,23,23,10,yz,jhyz
  1786. 湖南省,怀化,市辖区,27.57,110,23,16,51,hh,sxq
  1787. 湖南省,怀化,鹤城区,27.58,110.04,23,17,0,hh,hc
  1788. 湖南省,怀化,中方县,27.44,109.95,23,16,39,hh,zf
  1789. 湖南省,怀化,沅陵县,28.45,110.39,23,18,24,hh,yl
  1790. 湖南省,怀化,辰溪县,28.01,110.18,23,17,34,hh,cx
  1791. 湖南省,怀化,溆浦县,27.91,110.6,23,19,15,hh,xp
  1792. 湖南省,怀化,会同县,26.89,109.74,23,15,48,hh,ht
  1793. 湖南省,怀化,麻阳苗族自治县,27.86,109.8,23,16,3,hh,mymz
  1794. 湖南省,怀化,新晃侗族自治县,27.35,109.18,23,13,34,hh,xhdz
  1795. 湖南省,怀化,芷江侗族自治县,27.44,109.69,23,15,36,hh,zjdz
  1796. 湖南省,怀化,靖州苗族侗族自治县,26.57,109.7,23,15,39,hh,jzmzdz
  1797. 湖南省,怀化,通道侗族自治县,26.16,109.79,23,16,0,hh,tddz
  1798. 湖南省,怀化,洪江,27.21,109.84,23,16,12,hh,hj
  1799. 湖南省,娄底,市辖区,27.7,111.99,23,24,48,ld,sxq
  1800. 湖南省,娄底,娄星区,27.73,112,23,24,51,ld,lx
  1801. 湖南省,娄底,双峰区,27.46,112.19,23,25,36,ld,sf
  1802. 湖南省,娄底,新化县,27.73,111.33,23,22,10,ld,xh
  1803. 湖南省,娄底,冷水江,27.69,111.44,23,22,36,ld,lsj
  1804. 湖南省,娄底,涟源,27.69,111.66,23,23,29,ld,ly
  1805. 湖南省,湘西土家族苗族自治州,吉首,28.26,109.7,23,15,39,xxtjzmz,js
  1806. 湖南省,湘西土家族苗族自治州,泸西县,28.22,110.22,23,17,43,xxtjzmz,lx
  1807. 湖南省,湘西土家族苗族自治州,凤凰县,27.95,109.6,23,15,15,xxtjzmz,fh
  1808. 湖南省,湘西土家族苗族自治州,花垣县,28.57,109.48,23,14,46,xxtjzmz,hy
  1809. 湖南省,湘西土家族苗族自治州,保靖县,28.7,109.66,23,15,29,xxtjzmz,bj
  1810. 湖南省,湘西土家族苗族自治州,古丈县,28.62,109.95,23,16,39,xxtjzmz,gz
  1811. 湖南省,湘西土家族苗族自治州,永顺县,29,109.85,23,16,15,xxtjzmz,ys
  1812. 湖南省,湘西土家族苗族自治州,龙山县,29.46,109.44,23,14,36,xxtjzmz,ls
  1813. 吉林省,长春,市辖区,43.82,125.32,0,18,7,cc,sxq
  1814. 吉林省,长春,南关区,43.86,125.35,0,18,15,cc,ng
  1815. 吉林省,长春,宽城区,43.94,125.33,0,18,10,cc,kc
  1816. 吉林省,长春,朝阳区,43.83,125.29,0,18,0,cc,cy
  1817. 吉林省,长春,二道区,43.86,125.37,0,18,19,cc,ed
  1818. 吉林省,长春,绿园区,43.88,125.26,0,17,53,cc,ly
  1819. 吉林省,长春,双阳区,43.53,125.66,0,19,29,cc,sy
  1820. 吉林省,长春,农安县,44.43,125.19,0,17,36,cc,na
  1821. 吉林省,长春,九台,44.2,125.98,0,20,46,cc,jt
  1822. 吉林省,长春,榆树,44.84,126.53,0,22,58,cc,ys
  1823. 吉林省,长春,德惠,44.54,125.71,0,19,41,cc,dh
  1824. 吉林省,吉林,市辖区,43.84,126.55,0,23,3,jl,sxq
  1825. 吉林省,吉林,昌邑区,43.88,126.57,0,23,7,jl,cy
  1826. 吉林省,吉林,龙潭区,43.91,126.56,0,23,5,jl,lt
  1827. 吉林省,吉林,船营区,43.83,126.54,0,23,0,jl,cy
  1828. 吉林省,吉林,丰满区,43.82,126.56,0,23,5,jl,fm
  1829. 吉林省,吉林,永吉县,43.67,126.5,0,22,51,jl,yj
  1830. 吉林省,吉林,蛟河,43.72,127.35,0,26,15,jl,jh
  1831. 吉林省,吉林,桦甸,42.97,126.75,0,23,51,jl,hd
  1832. 吉林省,吉林,舒兰,42.97,126.75,0,23,51,jl,sl
  1833. 吉林省,吉林,磐石,42.95,126.06,0,21,5,jl,ps
  1834. 吉林省,四平,市辖区,42.95,126.06,0,21,5,sp,sxq
  1835. 吉林省,四平,铁西区,43.15,124.35,0,14,15,sp,tx
  1836. 吉林省,四平,铁东区,43.16,124.41,0,14,29,sp,td
  1837. 吉林省,四平,梨树县,43.31,124.34,0,14,12,sp,ls
  1838. 吉林省,四平,伊通满族自治县,43.34,125.31,0,18,5,sp,ytmz
  1839. 吉林省,四平,公主岭,43.51,124.82,0,16,7,sp,gzl
  1840. 吉林省,四平,双辽,43.52,123.5,0,10,51,sp,sl
  1841. 吉林省,辽源,市辖区,42.89,125.14,0,17,24,ly,sxq
  1842. 吉林省,辽源,龙山区,42.9,125.14,0,17,24,ly,ls
  1843. 吉林省,辽源,西安区,42.93,125.15,0,17,27,ly,xa
  1844. 吉林省,辽源,东丰县,42.68,125.53,0,18,58,ly,df
  1845. 吉林省,辽源,东辽县,42.93,124.99,0,16,48,ly,dl
  1846. 吉林省,通化,市辖区,41.73,125.94,0,20,36,th,sxq
  1847. 吉林省,通化,东昌区,41.73,125.96,0,20,41,th,dc
  1848. 吉林省,通化,二道江区,41.77,126.04,0,21,0,th,edj
  1849. 吉林省,通化,通化县,41.68,125.76,0,19,53,th,th
  1850. 吉林省,通化,辉南县,42.68,126.05,0,21,3,th,hn
  1851. 吉林省,通化,柳河县,42.28,125.75,0,19,51,th,lh
  1852. 吉林省,通化,梅河口,42.54,125.71,0,19,41,th,mhk
  1853. 吉林省,通化,集安,41.13,126.19,0,21,36,th,ja
  1854. 吉林省,白山,市辖区,41.94,126.42,0,22,31,bs,sxq
  1855. 吉林省,白山,八道江区,41.88,126.37,0,22,19,bs,bdj
  1856. 吉林省,白山,抚松县,42.34,127.28,0,25,58,bs,fs
  1857. 吉林省,白山,靖宇县,42.39,126.81,0,24,5,bs,jy
  1858. 吉林省,白山,长白朝鲜自治县,41.42,128.2,0,29,39,bs,cbcx
  1859. 吉林省,白山,江源县,42.09,126.6,0,23,15,bs,jy
  1860. 吉林省,白山,临江,41.81,126.92,0,24,31,bs,lj
  1861. 吉林省,松原,市辖区,45.14,124.83,0,16,10,sy,sxq
  1862. 吉林省,松原,宁江区,45.17,124.82,0,16,7,sy,nj
  1863. 吉林省,松原,前郭尔罗斯蒙古自治县,45.12,124.82,0,16,7,sy,qgelsmg
  1864. 吉林省,松原,长岭县,44.28,123.97,0,12,43,sy,cl
  1865. 吉林省,松原,乾安县,45,124.03,0,12,58,sy,qa
  1866. 吉林省,松原,扶余县,45.12,125.56,0,19,5,sy,fy
  1867. 吉林省,白城,市辖区,45.62,122.84,0,8,12,bc,sxq
  1868. 吉林省,白城,洮北区,45.62,122.85,0,8,15,bc,yb
  1869. 吉林省,白城,镇赉县,45.85,123.2,0,9,39,bc,zl
  1870. 吉林省,白城,通榆县,44.81,123.09,0,9,12,bc,ty
  1871. 吉林省,白城,洮南,45.34,122.79,0,8,0,bc,yn
  1872. 吉林省,白城,大安,45.51,124.29,0,14,0,bc,da
  1873. 吉林省,延边朝鲜族自治州,延吉,42.89,129.51,0,34,53,ybccz,yj
  1874. 吉林省,延边朝鲜族自治州,图们,42.97,129.84,0,36,12,ybccz,tm
  1875. 吉林省,延边朝鲜族自治州,敦化,43.37,128.23,0,29,46,ybccz,dh
  1876. 吉林省,延边朝鲜族自治州,珲春,42.86,130.37,0,38,19,ybccz,hc
  1877. 吉林省,延边朝鲜族自治州,龙井,42.77,129.43,0,34,34,ybccz,lj
  1878. 吉林省,延边朝鲜族自治州,和龙,42.55,129.01,0,32,53,ybccz,hl
  1879. 吉林省,延边朝鲜族自治州,汪清县,43.31,129.77,0,35,55,ybccz,wq
  1880. 吉林省,延边朝鲜族自治州,安图县,43.11,128.9,0,32,27,ybccz,at
  1881. 江苏省,南京,市辖区,32.06,118.8,23,52,3,nj,sxq
  1882. 江苏省,南京,玄武区,32.05,118.8,23,52,3,nj,xw
  1883. 江苏省,南京,白下区,32.02,118.82,23,52,7,nj,bx
  1884. 江苏省,南京,秦淮区,32.04,118.8,23,52,3,nj,qh
  1885. 江苏省,南京,建邺区,32,118.73,23,51,46,nj,jy
  1886. 江苏省,南京,鼓楼区,32.07,118.77,23,51,55,nj,gl
  1887. 江苏省,南京,下关区,32.1,118.77,23,51,55,nj,xg
  1888. 江苏省,南京,浦口区,32.06,118.63,23,51,22,nj,pk
  1889. 江苏省,南京,栖霞区,32.1,118.91,23,52,29,nj,qx
  1890. 江苏省,南京,雨花台区,31.99,118.78,23,51,58,nj,yht
  1891. 江苏省,南京,江宁区,31.95,118.84,23,52,12,nj,jn
  1892. 江苏省,南京,六合区,32.32,118.82,23,52,7,nj,lh
  1893. 江苏省,南京,溧水区,31.59,119.04,23,53,0,nj,ls
  1894. 江苏省,南京,高淳区,31.33,118.97,23,52,43,nj,gc
  1895. 江苏省,无锡,市辖区,31.49,120.31,23,58,5,wx,sxq
  1896. 江苏省,无锡,崇安区,31.57,120.3,23,58,3,wx,ca
  1897. 江苏省,无锡,南长区,31.56,120.31,23,58,5,wx,nc
  1898. 江苏省,无锡,北塘区,31.61,120.29,23,58,0,wx,bt
  1899. 江苏省,无锡,锡山区,31.59,120.36,23,58,17,wx,xs
  1900. 江苏省,无锡,惠山区,31.68,120.3,23,58,3,wx,hs
  1901. 江苏省,无锡,滨湖区,31.53,120.29,23,58,0,wx,bh
  1902. 江苏省,无锡,江阴,31.93,120.29,23,58,0,wx,jy
  1903. 江苏省,无锡,宜兴,31.34,119.82,23,56,7,wx,yx
  1904. 江苏省,徐州,市辖区,34.21,117.28,23,45,58,xz,sxq
  1905. 江苏省,徐州,鼓楼区,34.29,117.19,23,45,36,xz,gl
  1906. 江苏省,徐州,云龙区,34.25,117.23,23,45,46,xz,yl
  1907. 江苏省,徐州,九里区,34.32,117.12,23,45,19,xz,jl
  1908. 江苏省,徐州,贾汪区,34.44,117.45,23,46,39,xz,jw
  1909. 江苏省,徐州,泉山区,34.24,117.19,23,45,36,xz,qs
  1910. 江苏省,徐州,丰县,34.69,116.59,23,43,12,xz,fx
  1911. 江苏省,徐州,沛县,34.72,116.94,23,44,36,xz,px
  1912. 江苏省,徐州,铜山县,34.28,117.29,23,46,0,xz,ts
  1913. 江苏省,徐州,睢宁县,33.91,117.94,23,48,36,xz,sn
  1914. 江苏省,徐州,新沂,34.37,118.36,23,50,17,xz,xy
  1915. 江苏省,徐州,邳州,34.33,118.01,23,48,53,xz,pz
  1916. 江苏省,常州,市辖区,31.78,119.96,23,56,41,cz,sxq
  1917. 江苏省,常州,天宁区,31.78,119.98,23,56,46,cz,tn
  1918. 江苏省,常州,钟楼区,31.8,119.9,23,56,27,cz,zl
  1919. 江苏省,常州,戚墅堰区,31.76,120.05,23,57,3,cz,qsy
  1920. 江苏省,常州,新北区,31.83,119.97,23,56,43,cz,xb
  1921. 江苏省,常州,武进区,31.7,119.94,23,56,36,cz,wj
  1922. 江苏省,常州,溧阳,31.41,119.49,23,54,48,cz,ly
  1923. 江苏省,常州,金坛,31.72,119.6,23,55,15,cz,jt
  1924. 江苏省,苏州,市辖区,31.3,120.58,23,59,10,sz,sxq
  1925. 江苏省,苏州,沧浪区,31.29,120.61,23,59,17,sz,cl
  1926. 江苏省,苏州,平江区,31.33,120.63,23,59,22,sz,pj
  1927. 江苏省,苏州,金阊区,31.34,120.58,23,59,10,sz,jc
  1928. 江苏省,苏州,虎丘区,31.3,120.57,23,59,7,sz,hq
  1929. 江苏省,苏州,吴中区,31.26,120.63,23,59,22,sz,wz
  1930. 江苏省,苏州,相城区,31.37,120.64,23,59,24,sz,xc
  1931. 江苏省,苏州,常熟,31.65,120.75,23,59,51,sz,cs
  1932. 江苏省,苏州,张家港,31.88,120.56,23,59,5,sz,zjg
  1933. 江苏省,苏州,昆山,31.39,120.98,0,0,46,sz,ks
  1934. 江苏省,苏州,吴江,31.01,120.63,23,59,22,sz,wj
  1935. 江苏省,苏州,太仓,31.46,121.13,0,1,22,sz,tc
  1936. 江苏省,苏州,吴县,31.33,120.54,23,59,1,sz,wx
  1937. 江苏省,南通,市辖区,31.98,120.89,0,0,24,nt,sxq
  1938. 江苏省,南通,崇川区,32.01,120.86,0,0,17,nt,cc
  1939. 江苏省,南通,港闸区,32.03,120.82,0,0,7,nt,gz
  1940. 江苏省,南通,海安县,32.54,120.47,23,58,43,nt,ha
  1941. 江苏省,南通,如东县,32.33,121.19,0,1,36,nt,rd
  1942. 江苏省,南通,启东,31.81,121.66,0,3,29,nt,qd
  1943. 江苏省,南通,如皋,32.37,120.57,23,59,7,nt,rg
  1944. 江苏省,南通,通州,32.07,121.07,0,1,7,nt,tz
  1945. 江苏省,南通,海门,31.87,121.18,0,1,34,nt,hm
  1946. 江苏省,连云港,市辖区,34.6,119.22,23,53,43,lyg,sxq
  1947. 江苏省,连云港,连云区,34.76,119.34,23,54,12,lyg,ly
  1948. 江苏省,连云港,新浦区,34.65,119.25,23,53,51,lyg,xp
  1949. 江苏省,连云港,海州区,34.57,119.16,23,53,29,lyg,hz
  1950. 江苏省,连云港,赣榆区,34.88,119.04,23,53,0,lyg,gy
  1951. 江苏省,连云港,东海县,34.54,118.77,23,51,55,lyg,dh
  1952. 江苏省,连云港,灌云县,34.28,119.24,23,53,48,lyg,gy
  1953. 江苏省,连云港,灌南县,34.09,119.32,23,54,7,lyg,gn
  1954. 江苏省,淮安,市辖区,33.61,119.02,23,52,55,ha,sxq
  1955. 江苏省,淮安,清河区,33.6,119.01,23,52,53,ha,qh
  1956. 江苏省,淮安,楚州区,33.5,119.3,23,54,3,ha,cz
  1957. 江苏省,淮安,淮阴区,33.63,119.04,23,53,0,ha,hy
  1958. 江苏省,淮安,清浦区,33.55,119.03,23,52,58,ha,qp
  1959. 江苏省,淮安,涟水县,33.78,119.26,23,53,53,ha,ls
  1960. 江苏省,淮安,洪泽县,33.29,118.87,23,52,19,ha,hz
  1961. 江苏省,淮安,盱眙县,33.01,118.54,23,51,0,ha,xy
  1962. 江苏省,淮安,金湖县,33.02,119.02,23,52,55,ha,jh
  1963. 江苏省,盐城,市辖区,33.35,120.16,23,57,29,yc,sxq
  1964. 江苏省,盐城,亭湖区,33.39,120.2,23,57,39,yc,th
  1965. 江苏省,盐城,盐都区,33.34,120.15,23,57,27,yc,yd
  1966. 江苏省,盐城,响水县,34.2,119.58,23,55,10,yc,xs
  1967. 江苏省,盐城,滨海县,33.99,119.82,23,56,7,yc,bh
  1968. 江苏省,盐城,阜宁县,33.76,119.8,23,56,3,yc,fn
  1969. 江苏省,盐城,射阳县,33.77,120.26,23,57,53,yc,sy
  1970. 江苏省,盐城,建湖县,33.46,119.8,23,56,3,yc,jh
  1971. 江苏省,盐城,东台,32.87,120.32,23,58,7,yc,dt
  1972. 江苏省,盐城,大丰,33.2,120.5,23,58,51,yc,df
  1973. 江苏省,扬州,市辖区,32.39,119.41,23,54,29,yz,sxq
  1974. 江苏省,扬州,广陵区,32.39,119.43,23,54,34,yz,gl
  1975. 江苏省,扬州,邗江区,32.38,119.4,23,54,27,yz,hj
  1976. 江苏省,扬州,郊区,30.9,117.8,23,48,3,yz,jq
  1977. 江苏省,扬州,宝应县,33.24,119.36,23,54,17,yz,by
  1978. 江苏省,扬州,仪征,32.27,119.18,23,53,34,yz,yz
  1979. 江苏省,扬州,高邮,32.78,119.46,23,54,41,yz,gy
  1980. 江苏省,扬州,江都,32.43,119.57,23,55,7,yz,jd
  1981. 江苏省,镇江,市辖区,32.19,119.43,23,54,34,zj,sxq
  1982. 江苏省,镇江,京口区,32.2,119.47,23,54,43,zj,jk
  1983. 江苏省,镇江,润州区,32.2,119.41,23,54,29,zj,rz
  1984. 江苏省,镇江,丹徒区,32.13,119.44,23,54,36,zj,dt
  1985. 江苏省,镇江,丹阳,32.01,119.61,23,55,17,zj,dy
  1986. 江苏省,镇江,扬中,32.24,119.8,23,56,3,zj,yz
  1987. 江苏省,镇江,句容,31.95,119.17,23,53,31,zj,jr
  1988. 江苏省,镇江,新区,31.95,119.17,23,53,31,zj,xq
  1989. 江苏省,泰州,市辖区,32.46,119.93,23,56,34,tz,sxq
  1990. 江苏省,泰州,海陵区,32.49,119.92,23,56,31,tz,hl
  1991. 江苏省,泰州,高港区,32.32,119.88,23,56,22,tz,gg
  1992. 江苏省,泰州,兴化,32.91,119.85,23,56,15,tz,xh
  1993. 江苏省,泰州,靖江,32.01,120.28,23,57,58,tz,jj
  1994. 江苏省,泰州,泰兴,32.17,120.05,23,57,3,tz,tx
  1995. 江苏省,泰州,姜堰,32.52,120.09,23,57,12,tz,jy
  1996. 江苏省,宿迁,市辖区,33.96,118.28,23,49,58,sq,sxq
  1997. 江苏省,宿迁,宿城区,33.96,118.24,23,49,48,sq,sc
  1998. 江苏省,宿迁,宿豫区,33.95,118.33,23,50,10,sq,sy
  1999. 江苏省,宿迁,沭阳县,34.11,118.8,23,52,3,sq,sy
  2000. 江苏省,宿迁,泗阳县,33.72,118.71,23,51,41,sq,sy
  2001. 江苏省,宿迁,泗洪县,33.46,118.22,23,49,43,sq,sh
  2002. 江西省,南昌,市辖区,28.68,115.86,23,40,17,nc,sxq
  2003. 江西省,南昌,东湖区,28.68,115.9,23,40,27,nc,dh
  2004. 江西省,南昌,西湖区,28.66,115.88,23,40,22,nc,xh
  2005. 江西省,南昌,青云谱区,28.62,115.93,23,40,34,nc,qyp
  2006. 江西省,南昌,湾里区,28.71,115.73,23,39,46,nc,wl
  2007. 江西省,南昌,青山湖区,28.68,115.96,23,40,41,nc,qsh
  2008. 江西省,南昌,南昌县,28.54,115.94,23,40,36,nc,nc
  2009. 江西省,南昌,新建县,28.69,115.82,23,40,7,nc,xj
  2010. 江西省,南昌,定义县,28.84,115.55,23,39,3,nc,dy
  2011. 江西省,南昌,进贤县,28.38,116.24,23,41,48,nc,jx
  2012. 江西省,景德镇,市辖区,29.27,117.18,23,45,34,jdz,sxq
  2013. 江西省,景德镇,昌江区,29.27,117.19,23,45,36,jdz,cj
  2014. 江西省,景德镇,珠山区,29.3,117.2,23,45,39,jdz,zs
  2015. 江西省,景德镇,浮梁县,29.35,117.22,23,45,43,jdz,fl
  2016. 江西省,景德镇,乐平,28.96,117.13,23,45,22,jdz,lp
  2017. 江西省,萍乡,市辖区,27.62,113.86,23,32,17,px,sxq
  2018. 江西省,萍乡,安源区,27.61,113.87,23,32,19,px,ay
  2019. 江西省,萍乡,湘东区,27.64,113.74,23,31,48,px,xd
  2020. 江西省,萍乡,莲花县,27.13,113.96,23,32,41,px,lh
  2021. 江西省,萍乡,上栗县,27.88,113.8,23,32,3,px,sl
  2022. 江西省,萍乡,芦溪县,27.63,114.03,23,32,58,px,lx
  2023. 江西省,九江,市辖区,29.71,116,23,40,51,jj,sxq
  2024. 江西省,九江,庐山区,29.67,115.99,23,40,48,jj,ls
  2025. 江西省,九江,浔阳区,29.73,115.99,23,40,48,jj,xy
  2026. 江西省,九江,九江县,29.61,115.91,23,40,29,jj,jj
  2027. 江西省,九江,武宁县,29.26,115.1,23,37,15,jj,wn
  2028. 江西省,九江,修水县,29.03,114.55,23,35,3,jj,xs
  2029. 江西省,九江,永修县,29.02,115.81,23,40,5,jj,yx
  2030. 江西省,九江,德安县,29.31,115.76,23,39,53,jj,da
  2031. 江西省,九江,星子县,29.45,116.05,23,41,3,jj,xz
  2032. 江西省,九江,都昌县,29.27,116.21,23,41,1,jj,dc
  2033. 江西省,九江,湖口县,29.74,116.22,23,41,43,jj,hk
  2034. 江西省,九江,彭泽县,29.9,116.55,23,43,3,jj,pz
  2035. 江西省,九江,瑞昌,29.68,115.68,23,39,34,jj,rc
  2036. 江西省,新余,市辖区,27.82,114.92,23,36,31,xy,sxq
  2037. 江西省,新余,渝水区,27.8,114.95,23,36,39,xy,ys
  2038. 江西省,新余,分宜县,27.81,114.69,23,35,36,xy,fy
  2039. 江西省,鹰潭,市辖区,28.26,117.07,23,45,7,yt,sxq
  2040. 江西省,鹰潭,月湖区,28.24,117.04,23,45,0,yt,yh
  2041. 江西省,鹰潭,余江县,28.21,116.82,23,44,7,yt,yj
  2042. 江西省,鹰潭,贵溪,28.29,117.25,23,45,51,yt,gx
  2043. 江西省,赣州,市辖区,25.82,114.92,23,36,31,gz,sxq
  2044. 江西省,赣州,章贡区,25.82,114.92,23,36,31,gz,zg
  2045. 江西省,赣州,赣县,26.46,116.03,23,40,58,gz,gx
  2046. 江西省,赣州,信丰县,25.38,114.92,23,36,31,gz,xf
  2047. 江西省,赣州,大余县,25.4,114.36,23,34,17,gz,dy
  2048. 江西省,赣州,上犹县,25.79,114.54,23,35,0,gz,sy
  2049. 江西省,赣州,崇义县,25.68,114.31,23,34,5,gz,cy
  2050. 江西省,赣州,安远县,25.14,115.4,23,38,27,gz,ay
  2051. 江西省,赣州,龙南县,24.91,114.79,23,36,0,gz,ln
  2052. 江西省,赣州,定南县,24.78,115.03,23,36,58,gz,dn
  2053. 江西省,赣州,全南县,24.74,114.53,23,34,58,gz,qn
  2054. 江西省,赣州,宁都县,26.47,116.01,23,40,53,gz,nd
  2055. 江西省,赣州,于都县,25.95,115.42,23,38,31,gz,yd
  2056. 江西省,赣州,兴国县,26.34,115.36,23,38,17,gz,xg
  2057. 江西省,赣州,会昌县,25.6,115.79,23,40,0,gz,hc
  2058. 江西省,赣州,寻乌县,24.96,115.65,23,39,27,gz,xw
  2059. 江西省,赣州,石城县,26.33,116.36,23,42,17,gz,sc
  2060. 江西省,赣州,瑞金,25.88,116.03,23,40,58,gz,rj
  2061. 江西省,赣州,南康,25.83,114.71,23,35,41,gz,nk
  2062. 江西省,吉安,市辖区,27.11,114.99,23,36,48,ja,sxq
  2063. 江西省,吉安,吉州区,27.14,115,23,36,51,ja,jz
  2064. 江西省,吉安,青原区,27.08,115.02,23,36,55,ja,qyp
  2065. 江西省,吉安,吉安县,27.04,114.91,23,36,29,ja,ja
  2066. 江西省,吉安,吉水县,27.23,115.14,23,37,24,ja,js
  2067. 江西省,吉安,峡江县,27.58,115.32,23,38,7,ja,sj
  2068. 江西省,吉安,新干县,27.74,115.39,23,38,24,ja,xg
  2069. 江西省,吉安,永丰县,27.32,115.44,23,38,36,ja,yf
  2070. 江西省,吉安,泰和县,26.79,114.91,23,36,29,ja,th
  2071. 江西省,吉安,遂川县,26.31,114.52,23,34,55,ja,sc
  2072. 江西省,吉安,万安县,26.46,114.79,23,36,0,ja,wa
  2073. 江西省,吉安,安福县,27.39,114.62,23,35,19,ja,af
  2074. 江西省,吉安,永新县,26.94,114.24,23,33,48,ja,yx
  2075. 江西省,吉安,井冈山,26.53,114.15,23,33,27,ja,jgs
  2076. 江西省,宜春,市辖区,27.81,114.42,23,34,31,yc,sxq
  2077. 江西省,宜春,袁州区,27.79,114.43,23,34,34,yc,yz
  2078. 江西省,宜春,奉新县,28.69,115.4,23,38,27,yc,fx
  2079. 江西省,宜春,万载县,28.11,114.45,23,34,39,yc,wz
  2080. 江西省,宜春,上高县,28.23,114.93,23,36,34,yc,sg
  2081. 江西省,宜春,宜丰县,28.39,114.81,23,36,5,yc,yf
  2082. 江西省,宜春,靖安县,28.86,115.36,23,38,17,yc,ja
  2083. 江西省,宜春,铜鼓县,28.52,114.37,23,34,19,yc,tg
  2084. 江西省,宜春,丰城,28.16,115.77,23,39,55,yc,fc
  2085. 江西省,宜春,樟树,28.05,115.55,23,39,3,yc,zs
  2086. 江西省,宜春,高安,28.42,115.38,23,38,22,yc,ga
  2087. 江西省,抚州,市辖区,27.95,116.36,23,42,17,fz,sxq
  2088. 江西省,抚州,临川区,27.93,116.31,23,42,5,fz,lc
  2089. 江西省,抚州,南城县,27.57,116.64,23,43,24,fz,nc
  2090. 江西省,抚州,黎川县,27.28,116.91,23,44,29,fz,lc
  2091. 江西省,抚州,南丰县,27.22,116.53,23,42,58,fz,nf
  2092. 江西省,抚州,崇仁县,27.76,116.06,23,41,5,fz,cr
  2093. 江西省,抚州,乐安县,27.43,115.83,23,40,10,fz,la
  2094. 江西省,抚州,宜黄县,27.55,116.24,23,41,48,fz,yh
  2095. 江西省,抚州,金溪县,27.92,116.76,23,43,53,fz,jx
  2096. 江西省,抚州,资溪县,27.7,117.06,23,45,5,fz,zx
  2097. 江西省,抚州,东乡县,28.25,116.6,23,43,15,fz,dx
  2098. 江西省,抚州,广昌县,26.84,116.33,23,42,10,fz,gc
  2099. 江西省,上饶,市辖区,28.45,117.94,23,48,36,sr,sxq
  2100. 江西省,上饶,信州区,28.43,117.97,23,48,43,sr,xz
  2101. 江西省,上饶,上饶县,28.45,117.91,23,48,29,sr,sr
  2102. 江西省,上饶,广丰县,28.43,118.19,23,49,36,sr,gf
  2103. 江西省,上饶,玉山县,28.68,118.25,23,49,51,sr,ys
  2104. 江西省,上饶,铅山县,28.31,117.71,23,47,41,sr,qs
  2105. 江西省,上饶,横峰县,28.41,117.6,23,47,15,sr,hf
  2106. 江西省,上饶,戈阳县,28.38,117.45,23,46,39,sr,gy
  2107. 江西省,上饶,余干县,28.7,116.7,23,43,39,sr,yg
  2108. 江西省,上饶,鄱阳县,29,116.71,23,43,41,sr,py
  2109. 江西省,上饶,万年县,28.69,117.06,23,45,5,sr,wn
  2110. 江西省,上饶,婺源县,29.25,117.86,23,48,17,sr,wy
  2111. 江西省,上饶,德兴,28.95,117.58,23,47,10,sr,dx
  2112. 辽宁省,沈阳,市辖区,41.8,123.43,0,10,34,sy,sxq
  2113. 辽宁省,沈阳,和平区,41.79,123.42,0,10,31,sy,hp
  2114. 辽宁省,沈阳,沈河区,41.8,123.46,0,10,41,sy,sh
  2115. 辽宁省,沈阳,大东区,41.8,123.47,0,10,43,sy,dd
  2116. 辽宁省,沈阳,皇姑区,41.82,123.42,0,10,31,sy,hg
  2117. 辽宁省,沈阳,铁西区,41.8,123.38,0,10,22,sy,tx
  2118. 辽宁省,沈阳,苏家屯区,41.66,123.35,0,10,15,sy,sjt
  2119. 辽宁省,沈阳,东陵区,41.76,123.59,0,11,12,sy,dl
  2120. 辽宁省,沈阳,新城子区,42.05,123.53,0,10,58,sy,xcz
  2121. 辽宁省,沈阳,于洪区,41.79,123.31,0,10,5,sy,yh
  2122. 辽宁省,沈阳,辽中县,41.51,122.73,0,7,46,sy,lz
  2123. 辽宁省,沈阳,康平县,42.75,123.35,0,10,15,sy,kp
  2124. 辽宁省,沈阳,法库县,42.5,123.41,0,10,29,sy,fk
  2125. 辽宁省,沈阳,新民,42,122.83,0,8,10,sy,xm
  2126. 辽宁省,大连,市辖区,38.91,121.61,0,3,17,dl,sxq
  2127. 辽宁省,大连,中山区,38.92,121.64,0,3,24,dl,zs
  2128. 辽宁省,大连,西岗区,38.91,121.61,0,3,17,dl,xg
  2129. 辽宁省,大连,沙河口区,38.9,121.6,0,3,15,dl,shk
  2130. 辽宁省,大连,甘井子区,38.95,121.53,0,2,58,dl,gjz
  2131. 辽宁省,大连,旅顺口区,38.85,121.26,0,1,53,dl,lsk
  2132. 辽宁省,大连,金州区,39.05,121.78,0,3,58,dl,jz
  2133. 辽宁省,大连,长海县,39.27,122.59,0,7,12,dl,ch
  2134. 辽宁省,大连,瓦房店,39.63,121.98,0,4,46,dl,wf
  2135. 辽宁省,大连,普兰店,39.39,121.96,0,4,41,dl,pl
  2136. 辽宁省,大连,庄河,39.68,122.97,0,8,43,dl,zh
  2137. 辽宁省,鞍山,市辖区,41.11,122.99,0,8,48,as,sxq
  2138. 辽宁省,鞍山,铁东区,41.09,122.99,0,8,48,as,td
  2139. 辽宁省,鞍山,铁西区,41.12,122.97,0,8,43,as,tx
  2140. 辽宁省,鞍山,立山区,41.15,123.03,0,8,58,as,lsk
  2141. 辽宁省,鞍山,千山区,41.07,122.96,0,8,41,as,qs
  2142. 辽宁省,鞍山,台安县,41.41,122.44,0,6,36,as,ta
  2143. 辽宁省,鞍山,岫岩满族自治县,40.29,123.28,0,9,58,as,xymz
  2144. 辽宁省,鞍山,海城,40.88,122.69,0,7,36,as,hc
  2145. 辽宁省,抚顺,市辖区,41.88,123.96,0,12,41,fs,sxq
  2146. 辽宁省,抚顺,新抚区,41.86,123.87,0,12,19,fs,xf
  2147. 辽宁省,抚顺,东洲区,41.85,124.04,0,13,0,fs,dz
  2148. 辽宁省,抚顺,望花区,41.85,123.79,0,12,0,fs,wh
  2149. 辽宁省,抚顺,顺城区,41.88,123.95,0,12,39,fs,sc
  2150. 辽宁省,抚顺,抚顺县,41.79,124.2,0,13,39,fs,fs
  2151. 辽宁省,抚顺,新宾满族自治县,41.73,125.04,0,17,0,fs,xbmz
  2152. 辽宁省,抚顺,清原满族自治县,42.1,124.92,0,16,31,fs,qymz
  2153. 辽宁省,本溪,市辖区,41.28,123.76,0,11,53,bx,sxq
  2154. 辽宁省,本溪,平山区,41.22,123.68,0,11,34,bx,ps
  2155. 辽宁省,本溪,溪湖区,41.33,123.77,0,11,55,bx,xh
  2156. 辽宁省,本溪,明山区,41.31,123.82,0,12,7,bx,ms
  2157. 辽宁省,本溪,南芬区,41.1,123.75,0,11,51,bx,nf
  2158. 辽宁省,本溪,本溪满族自治县,41.3,124.12,0,13,19,bx,bxmz
  2159. 辽宁省,本溪,桓仁满族自治县,41.27,125.36,0,18,17,bx,hrmz
  2160. 辽宁省,丹东,市辖区,40,124.36,0,14,17,dd,sxq
  2161. 辽宁省,丹东,元宝区,40.14,124.4,0,14,27,dd,yb
  2162. 辽宁省,丹东,振兴区,40.11,124.36,0,14,17,dd,zx
  2163. 辽宁省,丹东,振安区,40.16,124.43,0,14,34,dd,za
  2164. 辽宁省,丹东,宽甸满族自治县,40.73,124.78,0,15,58,dd,kdmz
  2165. 辽宁省,丹东,东港,39.86,124.15,0,13,27,dd,dg
  2166. 辽宁省,丹东,凤城,40.45,124.07,0,13,7,dd,fc
  2167. 辽宁省,锦州,市辖区,41.1,121.13,0,1,22,jz,sxq
  2168. 辽宁省,锦州,古塔区,41.12,121.13,0,1,22,jz,gt
  2169. 辽宁省,锦州,凌河区,41.11,121.15,0,1,27,jz,lh
  2170. 辽宁省,锦州,太和区,41.11,121.1,0,1,15,jz,th
  2171. 辽宁省,锦州,黑山县,41.69,122.12,0,5,19,jz,hs
  2172. 辽宁省,锦州,义县,41.53,121.24,0,1,48,jz,yx
  2173. 辽宁省,锦州,凌海,41.17,121.36,0,2,17,jz,lh
  2174. 辽宁省,锦州,北宁,41.59,121.8,0,4,3,jz,bn
  2175. 辽宁省,营口,市辖区,40.67,122.24,0,5,48,yk,sxq
  2176. 辽宁省,营口,站前区,40.67,122.26,0,5,53,yk,zq
  2177. 辽宁省,营口,西市区,40.67,122.21,0,5,41,yk,xs
  2178. 辽宁省,营口,鲅鱼圈区,40.23,122.12,0,5,19,yk,byq
  2179. 辽宁省,营口,老边区,40.68,122.38,0,6,22,yk,lb
  2180. 辽宁省,营口,盖州,40.4,122.35,0,6,15,yk,gz
  2181. 辽宁省,营口,大石桥,40.61,122.5,0,6,51,yk,dsq
  2182. 辽宁省,阜新,市辖区,42.02,121.67,0,3,31,fx,sxq
  2183. 辽宁省,阜新,海州区,42.01,121.66,0,3,29,fx,hz
  2184. 辽宁省,阜新,新邱区,42.09,121.79,0,4,0,fx,xq
  2185. 辽宁省,阜新,太平区,42.01,121.68,0,3,34,fx,tp
  2186. 辽宁省,阜新,清河门区,41.78,121.42,0,2,31,fx,qhm
  2187. 辽宁省,阜新,细河区,42.02,121.68,0,3,34,fx,xh
  2188. 辽宁省,阜新,阜新蒙古族自治县,42.06,121.76,0,3,53,fx,fxmgz
  2189. 辽宁省,阜新,彰武县,42.39,122.54,0,7,0,fx,zw
  2190. 辽宁省,辽阳,市辖区,41.27,123.24,0,9,48,ly,sxq
  2191. 辽宁省,辽阳,白塔区,41.27,123.17,0,9,31,ly,bt
  2192. 辽宁省,辽阳,文圣区,41.26,123.18,0,9,34,ly,ws
  2193. 辽宁省,辽阳,宏伟区,41.22,123.2,0,9,39,ly,hw
  2194. 辽宁省,辽阳,弓长岭区,41.15,123.42,0,10,31,ly,gcl
  2195. 辽宁省,辽阳,太子河区,41.25,123.18,0,9,34,ly,tzh
  2196. 辽宁省,辽阳,辽阳县,41.21,123.11,0,9,17,ly,ly
  2197. 辽宁省,辽阳,灯塔,41.43,123.34,0,10,12,ly,dt
  2198. 辽宁省,盘锦,市辖区,41.12,122.07,0,5,7,pj,sxq
  2199. 辽宁省,盘锦,双台子区,41.19,122.06,0,5,5,pj,stz
  2200. 辽宁省,盘锦,兴隆台区,41.14,122.11,0,5,17,pj,xlt
  2201. 辽宁省,盘锦,大洼县,41,122.08,0,5,10,pj,dw
  2202. 辽宁省,盘锦,盘山县,41.24,122,0,4,51,pj,ps
  2203. 辽宁省,铁岭,市辖区,42.29,123.84,0,12,12,tl,sxq
  2204. 辽宁省,铁岭,银州区,42.29,123.84,0,12,12,tl,yz
  2205. 辽宁省,铁岭,清河区,42.55,124.16,0,13,29,tl,qh
  2206. 辽宁省,铁岭,铁岭县,42.22,123.73,0,11,46,tl,tl
  2207. 辽宁省,铁岭,西丰县,42.74,124.73,0,15,46,tl,xf
  2208. 辽宁省,铁岭,昌图县,42.79,124.11,0,13,17,tl,ct
  2209. 辽宁省,铁岭,调兵山,42.46,123.57,0,11,7,tl,dbs
  2210. 辽宁省,铁岭,开原,42.55,124.04,0,13,0,tl,ky
  2211. 辽宁省,朝阳,市辖区,41.57,120.45,23,58,39,cy,sxq
  2212. 辽宁省,朝阳,双塔区,41.57,120.46,23,58,41,cy,st
  2213. 辽宁省,朝阳,龙城区,41.6,120.42,23,58,31,cy,lc
  2214. 辽宁省,朝阳,朝阳县,41.37,120.3,23,58,3,cy,cy
  2215. 辽宁省,朝阳,建平县,41.4,119.64,23,55,24,cy,jp
  2216. 辽宁省,朝阳,喀喇沁左翼蒙古族自治县,41.12,119.74,23,55,48,cy,klqzymgz
  2217. 辽宁省,朝阳,北票,41.8,120.77,23,59,55,cy,bp
  2218. 辽宁省,朝阳,凌源,41.25,119.4,23,54,27,cy,ly
  2219. 辽宁省,葫芦岛,市辖区,40.71,120.84,0,0,12,hld,sxq
  2220. 辽宁省,葫芦岛,连山区,40.77,120.87,0,0,19,hld,ls
  2221. 辽宁省,葫芦岛,龙港区,40.74,120.9,0,0,27,hld,lg
  2222. 辽宁省,葫芦岛,南票区,41.11,120.75,23,59,51,hld,np
  2223. 辽宁省,葫芦岛,绥中县,40.33,120.34,23,58,12,hld,sz
  2224. 辽宁省,葫芦岛,建昌县,40.82,119.84,23,56,12,hld,jc
  2225. 辽宁省,葫芦岛,兴城,40.61,120.76,23,59,53,hld,xc
  2226. 内蒙古,呼和浩特,市辖区,40.84,111.75,23,23,51,heht,sxq
  2227. 内蒙古,呼和浩特,新城区,40.86,111.66,23,23,29,heht,xc
  2228. 内蒙古,呼和浩特,回民区,40.81,111.62,23,23,19,heht,hm
  2229. 内蒙古,呼和浩特,玉泉区,40.75,111.68,23,23,34,heht,yq
  2230. 内蒙古,呼和浩特,赛罕区,40.79,111.7,23,23,39,heht,sh
  2231. 内蒙古,呼和浩特,土默特左旗,40.73,111.16,23,21,29,heht,tmtzq
  2232. 内蒙古,呼和浩特,托克托县,40.28,111.2,23,21,39,heht,tktx
  2233. 内蒙古,呼和浩特,和林格尔县,40.38,111.82,23,24,7,heht,hlge
  2234. 内蒙古,呼和浩特,清水河县,39.91,111.69,23,23,36,heht,qsh
  2235. 内蒙古,呼和浩特,武川县,41.1,111.45,23,22,39,heht,wc
  2236. 内蒙古,包头,市辖区,40.66,109.84,23,16,12,bt,sxq
  2237. 内蒙古,包头,东河区,40.57,110.04,23,17,0,bt,dh
  2238. 内蒙古,包头,昆都仑区,40.64,109.84,23,16,12,bt,kdl
  2239. 内蒙古,包头,青山区,40.65,109.9,23,16,27,bt,qsh
  2240. 内蒙古,包头,石拐区,40.67,110.27,23,17,55,bt,sg
  2241. 内蒙古,包头,白云矿区,41.77,109.97,23,16,43,bt,byk
  2242. 内蒙古,包头,九原区,40.61,109.97,23,16,43,bt,jy
  2243. 内蒙古,包头,土默特右旗,40.57,110.53,23,18,58,bt,tmtyq
  2244. 内蒙古,包头,固阳县,41.03,110.06,23,17,5,bt,gy
  2245. 内蒙古,包头,达尔罕茂明安联合旗,41.7,110.43,23,18,34,bt,dehmma
  2246. 内蒙古,乌海,市辖区,39.65,106.8,23,4,3,wh,sxq
  2247. 内蒙古,乌海,海勃湾区,39.69,106.82,23,4,7,wh,hbw
  2248. 内蒙古,乌海,海南区,39.44,106.89,23,4,24,wh,hn
  2249. 内蒙古,乌海,乌达区,39.5,106.73,23,3,46,wh,wd
  2250. 内蒙古,赤峰,市辖区,42.26,118.89,23,52,24,cf,sxq
  2251. 内蒙古,赤峰,红山区,42.27,118.96,23,52,41,cf,hs
  2252. 内蒙古,赤峰,元宝山区,42.04,119.29,23,54,0,cf,ybs
  2253. 内蒙古,赤峰,松山区,42.29,118.93,23,52,34,cf,ss
  2254. 内蒙古,赤峰,阿鲁科尔沁旗,43.87,120.06,23,57,5,cf,alkeq
  2255. 内蒙古,赤峰,巴林左旗,43.97,119.38,23,54,22,cf,bazq
  2256. 内蒙古,赤峰,巴林右旗,43.53,118.67,23,51,31,cf,blyq
  2257. 内蒙古,赤峰,林西县,43.62,118.06,23,49,5,cf,lx
  2258. 内蒙古,赤峰,克什克腾旗,43.26,117.55,23,47,3,cf,ksktq
  2259. 内蒙古,赤峰,翁牛特旗,42.93,119.01,23,52,53,cf,wntq
  2260. 内蒙古,赤峰,喀喇沁旗,41.93,118.7,23,51,39,cf,klqq
  2261. 内蒙古,赤峰,宁城县,41.59,119.34,23,54,12,cf,nc
  2262. 内蒙古,赤峰,敖汉旗,42.29,119.92,23,56,31,cf,ah
  2263. 内蒙古,通辽,市辖区,43.65,122.25,0,5,51,tl,sxq
  2264. 内蒙古,通辽,科尔沁区,43.62,122.26,0,5,53,tl,keq
  2265. 内蒙古,通辽,科尔沁左翼中旗,44.05,122.5,0,6,51,tl,keqzyzq
  2266. 内蒙古,通辽,科尔沁左翼后旗,43.19,122.7,0,7,39,tl,keqzyhq
  2267. 内蒙古,通辽,开鲁县,43.6,121.32,0,2,7,tl,kl
  2268. 内蒙古,通辽,库伦旗,42.73,121.81,0,4,5,tl,klq
  2269. 内蒙古,通辽,奈曼旗,42.87,120.66,23,59,29,tl,nmq
  2270. 内蒙古,通辽,扎鲁特旗,44.56,120.91,0,0,29,tl,zltq
  2271. 内蒙古,通辽,霍林郭勒,45.53,119.66,23,55,29,tl,hlgl
  2272. 内蒙古,鄂尔多斯,东胜区,39.82,109.96,23,16,41,eeds,ds
  2273. 内蒙古,鄂尔多斯,达拉特旗,40.4,110.04,23,17,0,eeds,dltq
  2274. 内蒙古,鄂尔多斯,准格尔旗,39.86,111.24,23,21,48,eeds,zgeq
  2275. 内蒙古,鄂尔多斯,鄂托克前旗,38.18,107.48,23,6,46,eeds,etkqq
  2276. 内蒙古,鄂尔多斯,鄂托克旗,39.09,107.98,23,8,46,eeds,etkq
  2277. 内蒙古,鄂尔多斯,杭锦旗,39.83,108.73,23,11,46,eeds,hjq
  2278. 内蒙古,鄂尔多斯,乌审旗,38.6,108.82,23,12,7,eeds,wsq
  2279. 内蒙古,鄂尔多斯,伊金霍洛旗,39.56,109.75,23,15,51,eeds,yjhlq
  2280. 内蒙古,呼伦贝尔,市辖区,49.21,119.77,23,55,55,hlbe,sxq
  2281. 内蒙古,呼伦贝尔,海拉尔区,49.21,119.74,23,55,48,hlbe,hle
  2282. 内蒙古,呼伦贝尔,阿荣旗,48.13,123.46,0,10,41,hlbe,arq
  2283. 内蒙古,呼伦贝尔,莫力达瓦达斡尔族自治旗,49.1,124.47,0,14,43,hlbe,mldwdhez
  2284. 内蒙古,呼伦贝尔,鄂伦春自治旗,50.59,123.73,0,11,46,hlbe,elc
  2285. 内蒙古,呼伦贝尔,鄂温克族自治旗,49.15,119.76,23,55,53,hlbe,ewkz
  2286. 内蒙古,呼伦贝尔,陈巴尔虎旗,49.33,119.43,23,54,34,hlbe,cbehq
  2287. 内蒙古,呼伦贝尔,新巴尔虎左旗,48.22,118.27,23,49,55,hlbe,xbehzq
  2288. 内蒙古,呼伦贝尔,新巴尔虎右旗,48.67,116.82,23,44,7,hlbe,xbegyq
  2289. 内蒙古,呼伦贝尔,满洲里,49.6,117.38,23,46,22,hlbe,mzl
  2290. 内蒙古,呼伦贝尔,牙克石,49.29,120.71,23,59,41,hlbe,yks
  2291. 内蒙古,呼伦贝尔,扎兰屯,48.01,122.74,0,7,48,hlbe,zlt
  2292. 内蒙古,呼伦贝尔,额尔古纳,50.24,120.18,23,57,34,hlbe,eegn
  2293. 内蒙古,呼伦贝尔,根河,50.78,121.52,0,2,55,hlbe,gh
  2294. 内蒙古,巴彦淖尔,市辖区,40.74,107.39,23,6,24,byze,sxq
  2295. 内蒙古,巴彦淖尔,临河区,40.77,107.39,23,6,24,byze,lh
  2296. 内蒙古,巴彦淖尔,五原县,41.09,108.27,23,9,55,byze,wy
  2297. 内蒙古,巴彦淖尔,磴口县,40.33,107.01,23,4,53,byze,dk
  2298. 内蒙古,巴彦淖尔,乌拉特前旗,40.74,108.65,23,11,27,byze,wltqq
  2299. 内蒙古,巴彦淖尔,乌拉特中旗,41.57,108.53,23,10,58,byze,wltzq
  2300. 内蒙古,巴彦淖尔,乌拉特后旗,41.08,107.08,23,5,10,byze,wlthq
  2301. 内蒙古,巴彦淖尔,杭锦后旗,40.89,107.15,23,5,27,byze,hjhq
  2302. 内蒙古,乌兰察布,市辖区,40.99,113.13,23,29,22,wlcb,sxq
  2303. 内蒙古,乌兰察布,集宁区,40.99,113.12,23,29,19,wlcb,jn
  2304. 内蒙古,乌兰察布,卓资县,40.89,112.58,23,27,10,wlcb,zz
  2305. 内蒙古,乌兰察布,化德县,41.9,114.01,23,32,53,wlcb,hd
  2306. 内蒙古,乌兰察布,商都县,41.56,113.58,23,31,10,wlcb,sd
  2307. 内蒙古,乌兰察布,兴和县,40.87,113.83,23,32,10,wlcb,xh
  2308. 内蒙古,乌兰察布,凉城县,40.53,112.5,23,26,51,wlcb,lc
  2309. 内蒙古,乌兰察布,察哈尔右翼前旗,41.02,113.32,23,30,7,wlcb,cheyyqq
  2310. 内蒙古,乌兰察布,察哈尔右翼中旗,41.27,112.64,23,27,24,wlcb,cheyyzq
  2311. 内蒙古,乌兰察布,察哈尔右翼后旗,41.43,113.19,23,29,36,wlcb,cheyyhq
  2312. 内蒙古,乌兰察布,四子王旗,41.53,111.71,23,23,41,wlcb,szwq
  2313. 内蒙古,乌兰察布,丰镇,40.43,113.11,23,29,17,wlcb,fz
  2314. 内蒙古,兴安盟,乌兰浩特,46.07,122.09,0,5,12,xam,wlht
  2315. 内蒙古,兴安盟,阿尔山,47.18,119.94,23,56,36,xam,aes
  2316. 内蒙古,兴安盟,科尔沁右翼前旗,46.33,121.22,0,1,43,xam,eeqyyqq
  2317. 内蒙古,兴安盟,科尔沁右翼中旗,45.06,121.48,0,2,46,xam,keqyyzq
  2318. 内蒙古,兴安盟,扎赉特旗,46.72,122.9,0,8,27,xam,zltq
  2319. 内蒙古,兴安盟,突泉县,45.38,121.6,0,3,15,xam,tq
  2320. 内蒙古,锡林郭勒盟,二连浩特,43.64,111.95,23,24,39,xlglm,elht
  2321. 内蒙古,锡林郭勒盟,锡林浩特,43.93,116.09,23,41,12,xlglm,xlht
  2322. 内蒙古,锡林郭勒盟,阿巴嘎旗,44.02,114.95,23,36,39,xlglm,abgq
  2323. 内蒙古,锡林郭勒盟,苏尼特左旗,43.86,113.67,23,31,31,xlglm,sntzq
  2324. 内蒙古,锡林郭勒盟,苏尼特右旗,42.75,112.66,23,27,29,xlglm,sntyq
  2325. 内蒙古,锡林郭勒盟,东乌珠穆沁旗,45.51,116.97,23,44,43,xlglm,dwzmqq
  2326. 内蒙古,锡林郭勒盟,西乌珠穆沁旗,44.59,117.61,23,47,17,xlglm,xwzmqq
  2327. 内蒙古,锡林郭勒盟,太仆寺旗,41.88,115.28,23,37,58,xlglm,tpsq
  2328. 内蒙古,锡林郭勒盟,镶黄旗,42.23,113.85,23,32,15,xlglm,xhq
  2329. 内蒙古,锡林郭勒盟,正镶白旗,42.29,115.03,23,36,58,xlglm,zxbq
  2330. 内蒙古,锡林郭勒盟,正蓝旗,42.24,115.99,23,40,48,xlglm,zlq
  2331. 内蒙古,锡林郭勒盟,多伦县,42.2,116.49,23,42,48,xlglm,dl
  2332. 内蒙古,阿拉善盟,阿拉善左旗,38.83,105.67,22,59,31,alsm,alszq
  2333. 内蒙古,阿拉善盟,阿拉善右旗,39.22,101.67,22,43,31,alsm,alsyq
  2334. 内蒙古,阿拉善盟,额济纳旗,41.95,101.06,22,41,5,alsm,ejnq
  2335. 宁夏省,银川,市辖区,38.47,106.29,23,2,0,yc,sxq
  2336. 宁夏省,银川,兴庆区,38.46,106.28,23,1,58,yc,xq
  2337. 宁夏省,银川,西夏区,38.49,106.15,23,1,27,yc,xx
  2338. 宁夏省,银川,金凤区,38.49,106.25,23,1,51,yc,jf
  2339. 宁夏省,银川,永宁县,38.27,106.25,23,1,51,yc,yn
  2340. 宁夏省,银川,贺兰县,38.56,106.33,23,2,10,yc,hl
  2341. 宁夏省,银川,灵武,38.1,106.34,23,2,12,yc,lw
  2342. 宁夏省,石嘴山,市辖区,38.98,106.39,23,2,24,szs,xsq
  2343. 宁夏省,石嘴山,大武口区,39.02,106.37,23,2,19,szs,dwk
  2344. 宁夏省,石嘴山,惠农区,39.23,106.78,23,3,58,szs,hn
  2345. 宁夏省,石嘴山,平罗县,38.91,106.52,23,2,55,szs,pl
  2346. 宁夏省,吴忠,市辖区,38,106.2,23,1,39,wz,sxq
  2347. 宁夏省,吴忠,利通区,37.98,106.21,23,1,41,wz,lt
  2348. 宁夏省,吴忠,盐池县,37.78,107.41,23,6,29,wz,yc
  2349. 宁夏省,吴忠,同心县,36.98,105.91,23,0,29,wz,tx
  2350. 宁夏省,吴忠,青铜峡,38.02,106.08,23,1,10,wz,qtx
  2351. 宁夏省,固原,市辖区,36.02,106.24,23,1,48,gy,sxq
  2352. 宁夏省,固原,原州区,36,106.29,23,2,0,gy,yz
  2353. 宁夏省,固原,西吉县,35.96,105.73,22,59,46,gy,xj
  2354. 宁夏省,固原,隆德县,35.62,106.12,23,1,19,gy,ld
  2355. 宁夏省,固原,泾源县,35.5,106.33,23,2,10,gy,jy
  2356. 宁夏省,固原,彭阳县,35.85,106.64,23,3,24,gy,py
  2357. 宁夏省,中卫,市辖区,37.5,105.2,22,57,39,zw,sxq
  2358. 宁夏省,中卫,沙坡头区,37.52,105.19,22,57,36,zw,spt
  2359. 宁夏省,中卫,中宁县,37.49,105.68,22,59,34,zw,zn
  2360. 宁夏省,中卫,海原县,36.57,105.64,22,59,24,zw,hy
  2361. 青海省,西宁,市辖区,36.62,101.78,22,43,58,xn,sxq
  2362. 青海省,西宁,城东区,36.6,101.8,22,44,3,xn,cd
  2363. 青海省,西宁,城中区,36.59,101.77,22,43,55,xn,cz
  2364. 青海省,西宁,城西区,36.63,101.77,22,43,55,xn,cx
  2365. 青海省,西宁,城北区,36.65,101.77,22,43,55,xn,cb
  2366. 青海省,西宁,大通回族自治县,36.93,101.69,22,43,36,xn,dthz
  2367. 青海省,西宁,湟中县,36.5,101.57,22,43,7,xn,hz
  2368. 青海省,西宁,湟源县,36.68,101.26,22,41,53,xn,hy
  2369. 青海省,海东地区,平安县,36.4,102,22,44,51,hd,pa
  2370. 青海省,海东地区,民和回族土族自治县,36.32,102.83,22,48,10,hd,mhhztz
  2371. 青海省,海东地区,乐都县,36.5,102.42,22,46,31,hd,ld
  2372. 青海省,海东地区,互助土族自治县,36.84,101.96,22,44,41,hd,hztz
  2373. 青海省,海东地区,化隆回族自治县,36.09,102.26,22,45,53,hd,hlhz
  2374. 青海省,海东地区,循化撒拉族自治县,35.85,102.49,22,46,48,hd,xhslz
  2375. 青海省,海北藏族自治州,门源回族自治县,37.38,101.62,22,43,19,hbzz,myhz
  2376. 青海省,海北藏族自治州,祁连县,38.18,100.26,22,37,53,hbzz,ql
  2377. 青海省,海北藏族自治州,海晏县,36.9,101,22,40,51,hbzz,hy
  2378. 青海省,海北藏族自治州,刚察县,37.32,100.15,22,37,27,hbzz,gc
  2379. 青海省,黄南藏族自治州,同仁县,35.52,102.02,22,44,55,hnzz,tr
  2380. 青海省,黄南藏族自治州,尖扎县,35.94,102.03,22,44,58,hnzz,jz
  2381. 青海省,黄南藏族自治州,泽库县,35.04,101.47,22,42,43,hnzz,zk
  2382. 青海省,黄南藏族自治州,河南蒙古族自治县,34.73,101.62,22,43,19,hnzz,hnmgz
  2383. 青海省,海南藏族自治州,共和县,36.28,100.62,22,39,19,hnzz,gh
  2384. 青海省,海南藏族自治州,同德县,35.25,100.58,22,39,10,hnzz,td
  2385. 青海省,海南藏族自治州,贵德县,36.04,101.44,22,42,36,hnzz,gd
  2386. 青海省,海南藏族自治州,兴海县,35.59,99.99,22,36,48,hnzz,xh
  2387. 青海省,海南藏族自治州,贵南县,35.59,100.75,22,39,51,hnzz,gn
  2388. 青海省,果洛藏族自治州,玛沁县,34.48,100.24,22,37,48,glzz,mq
  2389. 青海省,果洛藏族自治州,班玛县,32.93,100.74,22,39,48,glzz,bm
  2390. 青海省,果洛藏族自治州,甘德县,33.97,99.9,22,36,27,glzz,gd
  2391. 青海省,果洛藏族自治州,达日县,33.75,99.65,22,35,27,glzz,dr
  2392. 青海省,果洛藏族自治州,久治县,33.43,101.48,22,42,46,glzz,jz
  2393. 青海省,果洛藏族自治州,玛多县,34.92,98.21,22,29,41,glzz,md
  2394. 青海省,玉树藏族自治州,玉树县,32.92,96.67,22,23,31,yszz,ys
  2395. 青海省,玉树藏族自治州,杂多县,32.89,95.3,22,18,3,yszz,zd
  2396. 青海省,玉树藏族自治州,称多县,33.37,97.11,22,25,17,yszz,cd
  2397. 青海省,玉树藏族自治州,治多县,33.85,95.61,22,19,17,yszz,zd
  2398. 青海省,玉树藏族自治州,囊谦县,32.2,96.48,22,22,46,yszz,nq
  2399. 青海省,玉树藏族自治州,曲麻菜县,34.13,95.8,22,20,3,yszz,qml
  2400. 青海省,海西蒙古族藏族自治州,格尔木,36.4,94.9,22,16,27,hxmgz,gem
  2401. 青海省,海西蒙古族藏族自治州,德令哈,37.37,97.36,22,26,17,hxmgz,dlh
  2402. 青海省,海西蒙古族藏族自治州,乌兰县,36.93,98.48,22,30,46,hxmgz,wl
  2403. 青海省,海西蒙古族藏族自治州,都兰县,36.3,98.1,22,29,15,hxmgz,dl
  2404. 青海省,海西蒙古族藏族自治州,天峻县,37.3,99.02,22,32,55,hxmgz,tj
  2405. 山东省,济南,市辖区,36.67,117,23,44,51,jn,sxq
  2406. 山东省,济南,历下区,36.67,117.08,23,45,10,jn,lx
  2407. 山东省,济南,市中区,36.65,117,23,44,51,jn,sz
  2408. 山东省,济南,槐荫区,36.65,116.9,23,44,27,jn,hy
  2409. 山东省,济南,天桥区,36.68,116.99,23,44,48,jn,tq
  2410. 山东省,济南,历城区,36.68,117.07,23,45,7,jn,lc
  2411. 山东省,济南,长清区,36.55,116.75,23,43,51,jn,qc
  2412. 山东省,济南,平阴县,36.29,116.46,23,42,41,jn,py
  2413. 山东省,济南,济阳县,36.98,117.18,23,45,34,jn,jy
  2414. 山东省,济南,商河县,37.31,117.16,23,45,29,jn,sh
  2415. 山东省,济南,章丘,36.68,117.53,23,46,58,jn,zq
  2416. 山东省,青岛,市辖区,36.07,120.38,23,58,22,qd,sxq
  2417. 山东省,青岛,市南区,36.07,120.41,23,58,29,qd,sn
  2418. 山东省,青岛,市北区,36.09,120.38,23,58,22,qd,sb
  2419. 山东省,青岛,四方区,36.12,120.37,23,58,19,qd,sf
  2420. 山东省,青岛,黄岛区,35.96,120.2,23,57,39,qd,hd
  2421. 山东省,青岛,崂山区,36.11,120.47,23,58,43,qd,ls
  2422. 山东省,青岛,李沧区,36.14,120.43,23,58,34,qd,lc
  2423. 山东省,青岛,城阳区,36.31,120.4,23,58,27,qd,cy
  2424. 山东省,青岛,胶州,36.26,120.04,23,57,0,qd,jz
  2425. 山东省,青岛,即墨,36.39,120.45,23,58,39,qd,jm
  2426. 山东省,青岛,平度,36.79,119.96,23,56,41,qd,pd
  2427. 山东省,青岛,胶南,35.85,119.85,23,56,15,qd,jn
  2428. 山东省,青岛,莱西,36.89,120.52,23,58,55,qd,lx
  2429. 山东省,淄博,市辖区,36.81,118.05,23,49,3,zb,sxq
  2430. 山东省,淄博,淄川区,36.64,117.97,23,48,43,zb,zc
  2431. 山东省,淄博,张店区,36.81,118.02,23,48,55,zb,zd
  2432. 山东省,淄博,博山区,36.49,117.86,23,48,17,zb,bs
  2433. 山东省,淄博,临淄区,36.83,118.31,23,50,5,zb,lz
  2434. 山东省,淄博,周村区,36.8,117.87,23,48,19,zb,zc
  2435. 山东省,淄博,桓台区,36.96,118.1,23,49,15,zb,ht
  2436. 山东省,淄博,高青县,37.17,117.83,23,48,10,zb,gq
  2437. 山东省,淄博,沂源县,36.18,118.17,23,49,31,zb,yy
  2438. 山东省,枣庄,市辖区,34.81,117.32,23,46,7,zz,sxq
  2439. 山东省,枣庄,市中区,34.86,117.56,23,47,5,zz,sz
  2440. 山东省,枣庄,薛城区,34.79,117.26,23,45,53,zz,xc
  2441. 山东省,枣庄,峄城区,34.77,117.59,23,47,12,zz,yc
  2442. 山东省,枣庄,台儿庄区,34.56,117.73,23,47,46,zz,tez
  2443. 山东省,枣庄,山亭区,35.1,117.46,23,46,41,zz,st
  2444. 山东省,枣庄,滕州,35.11,117.17,23,45,31,zz,tz
  2445. 山东省,东营,市辖区,37.43,118.68,23,51,34,dy,sxq
  2446. 山东省,东营,东营区,37.45,118.58,23,51,10,dy,dy
  2447. 山东省,东营,河口区,37.89,118.53,23,50,58,dy,hk
  2448. 山东省,东营,垦利县,37.59,118.55,23,51,3,dy,kl
  2449. 山东省,东营,利津县,37.49,118.26,23,49,53,dy,lj
  2450. 山东省,东营,广饶县,37.05,118.41,23,50,29,dy,gr
  2451. 山东省,烟台,市辖区,37.46,121.45,0,2,39,yt,sxq
  2452. 山东省,烟台,芝罘区,37.54,121.4,0,2,27,yt,zf
  2453. 山东省,烟台,福山区,37.5,121.27,0,1,55,yt,fs
  2454. 山东省,烟台,牟平区,37.39,121.6,0,3,15,yt,mp
  2455. 山东省,烟台,莱山区,37.51,121.45,0,2,39,yt,ls
  2456. 山东省,烟台,长岛县,37.92,120.74,23,59,48,yt,cd
  2457. 山东省,烟台,龙口,37.64,120.48,23,58,46,yt,lk
  2458. 山东省,烟台,莱阳,36.98,120.71,23,59,41,yt,ly
  2459. 山东省,烟台,莱州,37.18,119.94,23,56,36,yt,lz
  2460. 山东省,烟台,蓬莱,37.81,120.76,23,59,53,yt,pl
  2461. 山东省,烟台,招远,37.35,120.43,23,58,34,yt,zy
  2462. 山东省,烟台,栖霞,37.33,120.85,0,0,15,yt,qx
  2463. 山东省,烟台,海阳,36.78,121.16,0,1,29,yt,hy
  2464. 山东省,潍坊,市辖区,36.71,119.16,23,53,29,wf,sxq
  2465. 山东省,潍坊,潍城区,36.73,119.03,23,52,58,wf,wc
  2466. 山东省,潍坊,寒亭区,36.77,119.22,23,53,43,wf,ht
  2467. 山东省,潍坊,坊子区,36.65,119.17,23,53,31,wf,fz
  2468. 山东省,潍坊,奎文区,36.71,119.13,23,53,22,wf,kw
  2469. 山东省,潍坊,临朐县,36.51,118.54,23,51,0,wf,lq
  2470. 山东省,潍坊,昌乐县,36.71,118.83,23,52,10,wf,cl
  2471. 山东省,潍坊,青州,36.68,118.48,23,50,46,wf,qz
  2472. 山东省,潍坊,诸城,35.99,119.41,23,54,29,wf,zc
  2473. 山东省,潍坊,寿光,36.85,118.79,23,52,0,wf,sg
  2474. 山东省,潍坊,安丘,36.48,119.22,23,53,43,wf,aq
  2475. 山东省,潍坊,高密,36.38,119.76,23,55,53,wf,gm
  2476. 山东省,潍坊,昌邑,36.86,119.4,23,54,27,wf,cy
  2477. 山东省,济宁,市辖区,35.41,116.59,23,43,12,jn,sxq
  2478. 山东省,济宁,市中区,35.4,116.59,23,43,12,jn,sz
  2479. 山东省,济宁,任城区,35.41,116.6,23,43,15,jn,rc
  2480. 山东省,济宁,微山县,34.81,117.13,23,45,22,jn,ws
  2481. 山东省,济宁,鱼台县,35.01,116.65,23,43,27,jn,yt
  2482. 山东省,济宁,金乡县,35.07,116.31,23,42,5,jn,jx
  2483. 山东省,济宁,嘉祥县,35.41,116.34,23,42,12,jn,jx
  2484. 山东省,济宁,汶上县,35.73,116.49,23,42,48,jn,ws
  2485. 山东省,济宁,泗水县,35.66,117.25,23,45,51,jn,ss
  2486. 山东省,济宁,梁山县,35.8,116.1,23,41,15,jn,ls
  2487. 山东省,济宁,曲阜,35.58,116.99,23,44,48,jn,qf
  2488. 山东省,济宁,兖州,35.57,116.75,23,43,51,jn,yz
  2489. 山东省,济宁,邹城,35.41,117,23,44,51,jn,zc
  2490. 山东省,泰安,市辖区,36.2,117.09,23,45,12,ta,sxq
  2491. 山东省,泰安,泰山区,36.19,117.14,23,45,24,ta,ts
  2492. 山东省,泰安,岱岳区,36.19,117.04,23,45,0,ta,dy
  2493. 山东省,泰安,宁阳县,35.76,116.81,23,44,5,ta,ny
  2494. 山东省,泰安,东平县,35.94,116.47,23,42,43,ta,dp
  2495. 山东省,泰安,新泰,35.91,117.77,23,47,55,ta,xt
  2496. 山东省,泰安,肥城,36.18,116.77,23,43,55,ta,fc
  2497. 山东省,威海,市辖区,37.51,122.12,0,5,19,wh,sxq
  2498. 山东省,威海,环翠区,37.5,122.12,0,5,19,wh,hc
  2499. 山东省,威海,文登,37.15,122,0,4,51,wh,wd
  2500. 山东省,威海,荣成,37.16,122.49,0,6,48,wh,rc
  2501. 山东省,威海,乳山,36.92,121.54,0,3,0,wh,rs
  2502. 山东省,日照,市辖区,35.42,119.53,23,54,58,rz,sxq
  2503. 山东省,日照,东港区,35.42,119.46,23,54,41,rz,dg
  2504. 山东省,日照,岚山区,35.12,119.32,23,54,7,rz,ls
  2505. 山东省,日照,五莲县,35.75,119.21,23,53,41,rz,wl
  2506. 山东省,日照,莒县,35.58,118.84,23,52,12,rz,jx
  2507. 山东省,莱芜,市辖区,36.21,117.68,23,47,34,lw,sqx
  2508. 山东省,莱芜,莱城区,36.2,117.66,23,47,29,lw,lc
  2509. 山东省,莱芜,钢城区,36.06,117.81,23,48,5,lw,gc
  2510. 山东省,临沂,市辖区,35.1,118.36,23,50,17,ly,sxq
  2511. 山东省,临沂,兰山区,35.05,118.35,23,50,15,ly,ls
  2512. 山东省,临沂,罗庄区,34.99,118.28,23,49,58,ly,lz
  2513. 山东省,临沂,河东区,35.08,118.4,23,50,27,ly,hd
  2514. 山东省,临沂,沂南县,35.55,118.47,23,50,43,ly,yn
  2515. 山东省,临沂,郯城县,34.61,118.37,23,50,19,ly,tc
  2516. 山东省,临沂,沂水县,35.79,118.63,23,51,22,ly,ys
  2517. 山东省,临沂,苍山县,34.86,117.99,23,48,48,ly,cs
  2518. 山东省,临沂,费县,35.26,117.98,23,48,46,ly,fx
  2519. 山东省,临沂,平邑县,35.51,117.64,23,47,24,ly,py
  2520. 山东省,临沂,莒南县,35.17,118.84,23,52,12,ly,jn
  2521. 山东省,临沂,蒙阴县,35.71,117.95,23,48,39,ly,my
  2522. 山东省,临沂,临沭县,34.92,118.65,23,51,27,ly,ls
  2523. 山东省,德州,市辖区,37.43,116.36,23,42,17,dz,sxq
  2524. 山东省,德州,德城区,37.45,116.3,23,42,3,dz,dc
  2525. 山东省,德州,陵县,37.41,116.66,23,43,29,dz,lx
  2526. 山东省,德州,宁津县,37.65,116.8,23,44,3,dz,nj
  2527. 山东省,德州,庆云县,37.77,117.39,23,46,24,dz,qy
  2528. 山东省,德州,临邑县,37.19,116.87,23,44,19,dz,ly
  2529. 山东省,德州,齐河县,36.79,116.76,23,43,53,dz,qh
  2530. 山东省,德州,平原县,37.16,116.43,23,42,34,dz,py
  2531. 山东省,德州,夏津县,36.95,116,23,40,51,dz,xj
  2532. 山东省,德州,武城县,37.21,116.07,23,41,7,dz,wc
  2533. 山东省,德州,乐陵,37.73,117.23,23,45,46,dz,ll
  2534. 山东省,德州,禹城,36.93,116.64,23,43,24,dz,yc
  2535. 山东省,聊城,市辖区,36.46,115.99,23,40,48,lc,sxq
  2536. 山东省,聊城,东昌府区,36.43,115.99,23,40,48,lc,dcf
  2537. 山东省,聊城,阳谷县,36.11,115.79,23,40,0,lc,yg
  2538. 山东省,聊城,莘县,36.23,115.67,23,39,31,lc,xx
  2539. 山东省,聊城,茌平县,36.58,116.26,23,41,53,lc,cp
  2540. 山东省,聊城,东阿县,36.33,116.25,23,41,51,lc,da
  2541. 山东省,聊城,冠县,36.48,115.44,23,38,36,lc,gx
  2542. 山东省,聊城,高唐县,36.87,116.23,23,41,46,lc,gt
  2543. 山东省,聊城,临清,36.84,115.71,23,39,41,lc,lq
  2544. 山东省,滨州,市辖区,37.38,117.97,23,48,43,bz,sxq
  2545. 山东省,滨州,滨城区,37.43,118.02,23,48,55,bz,bc
  2546. 山东省,滨州,惠民县,37.49,117.51,23,46,53,bz,hm
  2547. 山东省,滨州,阳信县,37.64,117.58,23,47,10,bz,yx
  2548. 山东省,滨州,无棣县,37.77,117.63,23,47,22,bz,wd
  2549. 山东省,滨州,沾化县,37.78,118.08,23,49,10,bz,zh
  2550. 山东省,滨州,博兴县,37.15,118.11,23,49,17,bz,bx
  2551. 山东省,滨州,邹平县,36.86,117.74,23,47,48,bz,zp
  2552. 山东省,菏泽,市辖区,35.23,115.48,23,38,46,hz,sxq
  2553. 山东省,菏泽,牡丹区,35.25,115.42,23,38,31,hz,md
  2554. 山东省,菏泽,曹县,34.82,115.54,23,39,0,hz,cx
  2555. 山东省,菏泽,单县,34.79,116.09,23,41,12,hz,sx
  2556. 山东省,菏泽,成武县,34.95,115.89,23,40,24,hz,cw
  2557. 山东省,菏泽,巨野县,35.4,116.1,23,41,15,hz,jy
  2558. 山东省,菏泽,郓城县,35.6,115.95,23,40,39,hz,yc
  2559. 山东省,菏泽,鄄城县,35.56,115.51,23,38,53,hz,jc
  2560. 山东省,菏泽,定陶县,35.07,115.57,23,39,7,hz,dt
  2561. 山东省,菏泽,东明县,35.29,115.09,23,37,12,hz,dm
  2562. 山西省,太原,市辖区,37.87,112.55,23,27,3,ty,sxq
  2563. 山西省,太原,小店区,37.74,112.57,23,27,7,ty,xd
  2564. 山西省,太原,迎泽区,37.86,112.56,23,27,5,ty,yz
  2565. 山西省,太原,杏花岭区,37.89,112.57,23,27,7,ty,xhl
  2566. 山西省,太原,尖草坪区,37.94,112.49,23,26,48,ty,jcp
  2567. 山西省,太原,万柏林区,37.86,112.52,23,26,55,ty,wbl
  2568. 山西省,太原,晋源区,37.71,112.48,23,26,46,ty,jy
  2569. 山西省,太原,清徐县,37.61,112.36,23,26,17,ty,qx
  2570. 山西省,太原,阳曲县,38.06,112.67,23,27,31,ty,yq
  2571. 山西省,太原,娄烦县,38.07,111.8,23,24,3,ty,lf
  2572. 山西省,太原,古交,37.91,112.18,23,25,34,ty,gj
  2573. 山西省,大同,市辖区,40.08,113.3,23,30,3,dt,sxq
  2574. 山西省,大同,城区,37.85,113.6,23,31,15,dt,cq
  2575. 山西省,大同,矿区,37.87,113.56,23,31,5,dt,kq
  2576. 山西省,大同,南郊区,40,113.15,23,29,27,dt,nj
  2577. 山西省,大同,新荣区,40.26,113.14,23,29,24,dt,xr
  2578. 山西省,大同,阳高县,40.37,113.75,23,31,51,dt,yg
  2579. 山西省,大同,天镇县,40.42,114.09,23,33,12,dt,tz
  2580. 山西省,大同,广灵县,39.76,114.28,23,33,58,dt,gl
  2581. 山西省,大同,灵丘县,39.44,114.23,23,33,46,dt,lq
  2582. 山西省,大同,浑源县,39.7,113.69,23,31,36,dt,hy
  2583. 山西省,大同,左云县,40.01,112.7,23,27,39,dt,zy
  2584. 山西省,大同,大同县,40.04,113.61,23,31,17,dt,dt
  2585. 山西省,阳泉,市辖区,37.86,113.58,23,31,10,yq,sxq
  2586. 山西省,阳泉,城区,37.85,113.6,23,31,15,yq,cq
  2587. 山西省,阳泉,矿区,37.87,113.55,23,31,3,yq,kq
  2588. 山西省,阳泉,郊区,37.94,113.59,23,31,12,yq,jq
  2589. 山西省,阳泉,平定县,37.79,113.66,23,31,29,yq,pd
  2590. 山西省,阳泉,盂县,38.09,113.41,23,30,29,yq,yx
  2591. 山西省,长治,市辖区,36.2,113.12,23,29,19,cz,sxq
  2592. 山西省,长治,城区,36.2,113.12,23,29,19,cz,cq
  2593. 山西省,长治,郊区,36.22,113.11,23,29,17,cz,jq
  2594. 山西省,长治,长治县,36.05,113.05,23,29,3,cz,cz
  2595. 山西省,长治,襄垣县,36.54,113.05,23,29,3,cz,xy
  2596. 山西省,长治,屯留县,36.32,112.89,23,28,24,cz,tl
  2597. 山西省,长治,平顺县,36.2,113.44,23,30,36,cz,ps
  2598. 山西省,长治,黎城县,36.5,113.39,23,30,24,cz,lc
  2599. 山西省,长治,壶关县,36.11,113.21,23,29,41,cz,hg
  2600. 山西省,长治,长子县,36.12,112.88,23,28,22,cz,cz
  2601. 山西省,长治,武乡县,36.84,112.86,23,28,17,cz,wx
  2602. 山西省,长治,沁县,36.76,112.7,23,27,39,cz,qx
  2603. 山西省,长治,沁源县,36.5,112.34,23,26,12,cz,qy
  2604. 山西省,长治,潞城,36.33,113.23,23,29,46,cz,lc
  2605. 山西省,晋城,市辖区,35.49,112.85,23,28,15,jc,sxq
  2606. 山西省,晋城,城区,35.5,112.86,23,28,17,jc,cq
  2607. 山西省,晋城,沁水县,35.69,112.19,23,25,36,jc,qsx
  2608. 山西省,晋城,阳城县,35.49,112.42,23,26,31,jc,yc
  2609. 山西省,晋城,陵川县,35.78,113.28,23,29,58,jc,lc
  2610. 山西省,晋城,泽州县,35.5,112.94,23,28,36,jc,zz
  2611. 山西省,晋城,高平,35.8,112.92,23,28,31,jc,gp
  2612. 山西省,朔州,市辖区,39.33,112.43,23,26,34,sz,sxq
  2613. 山西省,朔州,朔城区,39.32,112.43,23,26,34,sz,sc
  2614. 山西省,朔州,平鲁区,39.51,112.29,23,26,0,sz,pl
  2615. 山西省,朔州,山阴县,39.53,112.82,23,28,7,sz,sy
  2616. 山西省,朔州,应县,39.55,113.19,23,29,36,sz,yx
  2617. 山西省,朔州,右玉县,39.99,112.47,23,26,43,sz,yy
  2618. 山西省,朔州,怀仁县,39.83,113.1,23,29,15,sz,hr
  2619. 山西省,晋中,市辖区,37.69,112.75,23,27,51,jz,sxq
  2620. 山西省,晋中,榆次区,37.7,112.71,23,27,41,jz,yc
  2621. 山西省,晋中,榆社县,37.07,112.98,23,28,46,jz,ys
  2622. 山西省,晋中,左权县,37.08,113.38,23,30,22,jz,zq
  2623. 山西省,晋中,和顺县,37.33,113.57,23,31,7,jz,hs
  2624. 山西省,晋中,昔阳县,37.61,113.71,23,31,41,jz,xy
  2625. 山西省,晋中,寿阳县,37.89,113.18,23,29,34,jz,sy
  2626. 山西省,晋中,太谷县,37.42,112.55,23,27,3,jz,tg
  2627. 山西省,晋中,祁县,37.36,112.34,23,26,12,jz,qx
  2628. 山西省,晋中,平遥县,37.19,112.18,23,25,34,jz,py
  2629. 山西省,晋中,灵石县,36.85,111.78,23,23,58,jz,ls
  2630. 山西省,晋中,介休,37.03,111.92,23,24,31,jz,jx
  2631. 山西省,运城,市辖区,35.02,111.01,23,20,53,yc,sxq
  2632. 山西省,运城,盐湖区,35.01,111,23,20,51,yc,yh
  2633. 山西省,运城,临猗县,35.14,110.77,23,19,55,yc,ly
  2634. 山西省,运城,万荣县,35.41,110.84,23,20,12,yc,wr
  2635. 山西省,运城,闻喜县,35.36,111.23,23,21,46,yc,wx
  2636. 山西省,运城,稷山县,35.6,110.98,23,20,46,yc,js
  2637. 山西省,运城,新绛县,35.62,111.22,23,21,43,yc,xj
  2638. 山西省,运城,绛县,35.49,111.57,23,23,7,yc,jx
  2639. 山西省,运城,垣曲县,35.3,111.67,23,23,31,yc,yq
  2640. 山西省,运城,夏县,35.14,111.22,23,21,43,yc,xx
  2641. 山西省,运城,平陆县,34.84,111.19,23,21,36,yc,pl
  2642. 山西省,运城,芮城县,34.69,110.7,23,19,39,yc,rc
  2643. 山西省,运城,永济,34.87,110.45,23,18,39,yc,yj
  2644. 山西省,运城,河津,35.6,110.71,23,19,41,yc,hj
  2645. 山西省,忻州,市辖区,38.42,112.73,23,27,46,xz,sxq
  2646. 山西省,忻州,忻府区,38.4,112.75,23,27,51,xz,xf
  2647. 山西省,忻州,定襄县,38.47,112.96,23,28,41,xz,dx
  2648. 山西省,忻州,五台县,38.73,113.26,23,29,53,xz,wt
  2649. 山西省,忻州,代县,39.07,112.96,23,28,41,xz,dx
  2650. 山西省,忻州,繁峙县,39.19,113.27,23,29,55,xz,fz
  2651. 山西省,忻州,宁武县,39,112.3,23,26,3,xz,nw
  2652. 山西省,忻州,静乐县,38.36,111.94,23,24,36,xz,jl
  2653. 山西省,忻州,神池县,39.09,112.21,23,25,41,xz,sc
  2654. 山西省,忻州,五寨县,38.91,111.85,23,24,15,xz,wz
  2655. 山西省,忻州,岢岚县,38.7,111.58,23,23,10,xz,kl
  2656. 山西省,忻州,河曲县,39.38,111.14,23,21,24,xz,hq
  2657. 山西省,忻州,保德县,39.02,111.09,23,21,12,xz,bd
  2658. 山西省,忻州,偏关县,39.44,111.51,23,22,53,xz,pg
  2659. 山西省,忻州,原平,38.73,112.71,23,27,41,xz,yp
  2660. 山西省,临汾,市辖区,36.09,111.52,23,22,55,lf,sxq
  2661. 山西省,临汾,尧都区,36.08,111.58,23,23,10,lf,yd
  2662. 山西省,临汾,曲沃县,35.64,111.48,23,22,46,lf,qw
  2663. 山西省,临汾,翼城县,35.74,111.72,23,23,43,lf,yc
  2664. 山西省,临汾,襄汾县,35.88,111.44,23,22,36,lf,xf
  2665. 山西省,临汾,洪洞县,36.25,111.68,23,23,34,lf,hd
  2666. 山西省,临汾,古县,36.27,111.92,23,24,31,lf,gx
  2667. 山西省,临汾,安泽县,36.15,112.25,23,25,51,lf,az
  2668. 山西省,临汾,浮山县,35.97,111.85,23,24,15,lf,fs
  2669. 山西省,临汾,吉县,36.1,110.68,23,19,34,lf,jx
  2670. 山西省,临汾,乡宁县,35.97,110.85,23,20,15,lf,xn
  2671. 山西省,临汾,大宁县,36.46,110.75,23,19,51,lf,dn
  2672. 山西省,临汾,隰县,36.69,110.94,23,20,36,lf,xx
  2673. 山西省,临汾,永和县,36.76,110.63,23,19,22,lf,yh
  2674. 山西省,临汾,蒲县,36.41,111.1,23,21,15,lf,px
  2675. 山西省,临汾,汾西县,36.65,111.56,23,23,5,lf,fx
  2676. 山西省,临汾,侯马,35.62,111.37,23,22,19,lf,hm
  2677. 山西省,临汾,霍州,36.57,111.76,23,23,53,lf,hz
  2678. 山西省,吕梁,市辖区,37.52,111.14,23,21,24,ll,sxq
  2679. 山西省,吕梁,离石区,37.52,111.15,23,21,27,ll,ls
  2680. 山西省,吕梁,文水县,37.44,112.03,23,24,58,ll,ws
  2681. 山西省,吕梁,交城县,37.55,112.16,23,25,29,ll,jc
  2682. 山西省,吕梁,兴县,38.46,111.13,23,21,22,ll,xx
  2683. 山西省,吕梁,临县,37.95,110.99,23,20,48,ll,lx
  2684. 山西省,吕梁,柳林县,37.43,110.89,23,20,24,ll,ll
  2685. 山西省,吕梁,石楼县,37,110.84,23,20,12,ll,sl
  2686. 山西省,吕梁,岚县,38.28,111.67,23,23,31,ll,lx
  2687. 山西省,吕梁,方山县,37.89,111.25,23,21,51,ll,fs
  2688. 山西省,吕梁,中阳县,37.36,111.18,23,21,34,ll,zy
  2689. 山西省,吕梁,交口县,36.98,111.18,23,21,34,ll,jk
  2690. 山西省,吕梁,孝义,37.15,111.78,23,23,58,ll,xy
  2691. 山西省,吕梁,汾阳,37.27,111.79,23,24,0,ll,fy
  2692. 陕西省,西安,市辖区,34.34,108.94,23,12,36,xa,sxq
  2693. 陕西省,西安,新城区,34.27,108.96,23,12,41,xa,xc
  2694. 陕西省,西安,碑林区,34.23,108.94,23,12,36,xa,bl
  2695. 陕西省,西安,莲湖区,34.27,108.94,23,12,36,xa,lh
  2696. 陕西省,西安,灞桥区,34.27,109.07,23,13,7,xa,bq
  2697. 陕西省,西安,未央区,34.29,108.95,23,12,39,xa,wy
  2698. 陕西省,西安,雁塔区,34.22,108.95,23,12,39,xa,yt
  2699. 陕西省,西安,阎良区,34.66,109.23,23,13,46,xa,yl
  2700. 陕西省,西安,临潼区,34.37,109.22,23,13,43,xa,lt
  2701. 陕西省,西安,长安区,34.16,108.91,23,12,29,xa,ca
  2702. 陕西省,西安,蓝田县,34.15,109.32,23,14,7,xa,lt
  2703. 陕西省,西安,周至县,34.16,108.22,23,9,43,xa,zz
  2704. 陕西省,西安,户县,34.11,108.6,23,11,15,xa,hx
  2705. 陕西省,西安,高陵县,34.51,109.07,23,13,7,xa,gl
  2706. 陕西省,铜川,市辖区,34.9,108.95,23,12,39,tc,sxq
  2707. 陕西省,铜川,王益区,35.07,109.08,23,13,10,tc,wy
  2708. 陕西省,铜川,印台区,35.12,109.1,23,13,15,tc,yt
  2709. 陕西省,铜川,耀州区,34.91,108.98,23,12,46,tc,yz
  2710. 陕西省,铜川,宜君县,35.4,109.12,23,13,19,tc,yj
  2711. 陕西省,宝鸡,市辖区,34.36,107.24,23,5,48,bj,sxq
  2712. 陕西省,宝鸡,渭滨区,34.37,107.15,23,5,27,bj,wb
  2713. 陕西省,宝鸡,金台区,34.39,107.13,23,5,22,bj,jt
  2714. 陕西省,宝鸡,陈仓区,34.36,107.39,23,6,24,bj,cc
  2715. 陕西省,宝鸡,凤翔县,34.52,107.4,23,6,27,bj,fx
  2716. 陕西省,宝鸡,岐山县,34.44,107.62,23,7,19,bj,qs
  2717. 陕西省,宝鸡,扶风县,34.38,107.9,23,8,27,bj,ff
  2718. 陕西省,宝鸡,眉县,34.27,107.75,23,7,51,bj,mx
  2719. 陕西省,宝鸡,陇县,34.89,106.87,23,4,19,bj,lx
  2720. 陕西省,宝鸡,千阳县,34.64,107.13,23,5,22,bj,qy
  2721. 陕西省,宝鸡,麟游县,34.68,107.79,23,8,0,bj,ly
  2722. 陕西省,宝鸡,凤县,33.91,106.52,23,2,55,bj,fx
  2723. 陕西省,宝鸡,太白县,34.06,107.32,23,6,7,bj,tb
  2724. 陕西省,咸阳,市辖区,34.33,108.71,23,11,41,xy,sxq
  2725. 陕西省,咸阳,秦都区,34.33,108.71,23,11,41,xy,qd
  2726. 陕西省,咸阳,杨陵区,34.27,108.09,23,9,12,xy,yl
  2727. 陕西省,咸阳,渭城区,34.36,108.74,23,11,48,xy,wc
  2728. 陕西省,咸阳,三原县,34.62,108.94,23,12,36,xy,sy
  2729. 陕西省,咸阳,泾阳县,34.53,108.84,23,12,12,xy,jy
  2730. 陕西省,咸阳,乾县,34.53,108.24,23,9,48,xy,qx
  2731. 陕西省,咸阳,礼泉县,34.48,108.43,23,10,34,xy,lq
  2732. 陕西省,咸阳,永寿县,34.69,108.14,23,9,24,xy,ys
  2733. 陕西省,咸阳,彬县,35.04,108.08,23,9,10,xy,bx
  2734. 陕西省,咸阳,长武县,35.21,107.8,23,8,3,xy,cw
  2735. 陕西省,咸阳,旬邑县,35.11,108.34,23,10,12,xy,xy
  2736. 陕西省,咸阳,淳化县,34.8,108.58,23,11,10,xy,ch
  2737. 陕西省,咸阳,武功县,34.26,108.2,23,9,39,xy,wg
  2738. 陕西省,咸阳,兴平,34.3,108.49,23,10,48,xy,xp
  2739. 陕西省,渭南,市辖区,34.5,109.51,23,14,53,wn,sxq
  2740. 陕西省,渭南,临渭区,34.5,109.49,23,14,48,wn,lw
  2741. 陕西省,渭南,华县,34.51,109.77,23,15,55,wn,hx
  2742. 陕西省,渭南,潼关县,34.54,110.25,23,17,51,wn,tg
  2743. 陕西省,渭南,大荔县,34.8,109.94,23,16,36,wn,dl
  2744. 陕西省,渭南,合阳县,35.24,110.15,23,17,27,wn,hy
  2745. 陕西省,渭南,澄城县,35.19,109.93,23,16,34,wn,cc
  2746. 陕西省,渭南,蒲城县,34.96,109.59,23,15,12,wn,pc
  2747. 陕西省,渭南,白水县,35.18,109.59,23,15,12,wn,bs
  2748. 陕西省,渭南,富平县,34.75,109.18,23,13,34,wn,fp
  2749. 陕西省,渭南,韩城,35.48,110.44,23,18,36,wn,hc
  2750. 陕西省,渭南,华阴,34.57,110.09,23,17,12,wn,hy
  2751. 陕西省,延安,市辖区,36.62,109.53,23,14,58,ya,sxq
  2752. 陕西省,延安,宝塔区,36.59,109.49,23,14,48,ya,bt
  2753. 陕西省,延安,延长县,36.58,110.01,23,16,53,ya,yc
  2754. 陕西省,延安,延川县,36.88,110.19,23,17,36,ya,yc
  2755. 陕西省,延安,子长县,37.14,109.68,23,15,34,ya,zc
  2756. 陕西省,延安,安塞县,36.86,109.33,23,14,10,ya,as
  2757. 陕西省,延安,志丹县,36.82,108.77,23,11,55,ya,zd
  2758. 陕西省,延安,吴旗县,36.92,108.18,23,9,34,ya,wq
  2759. 陕西省,延安,甘泉县,36.28,109.35,23,14,15,ya,gq
  2760. 陕西省,延安,富县,35.99,109.38,23,14,22,ya,fx
  2761. 陕西省,延安,洛川县,35.76,109.43,23,14,34,ya,lc
  2762. 陕西省,延安,宜川县,36.05,110.17,23,17,31,ya,yc
  2763. 陕西省,延安,黄龙县,35.58,109.84,23,16,12,ya,hl
  2764. 陕西省,延安,黄陵县,35.58,109.26,23,13,53,ya,hl
  2765. 陕西省,汉中,市辖区,33.07,107.02,23,4,55,hz,sxq
  2766. 陕西省,汉中,汉台区,33.07,107.03,23,4,58,hz,ht
  2767. 陕西省,汉中,南郑县,33,106.94,23,4,36,hz,nz
  2768. 陕西省,汉中,城固县,33.16,107.33,23,6,10,hz,cg
  2769. 陕西省,汉中,洋县,33.22,107.55,23,7,3,hz,yx
  2770. 陕西省,汉中,西乡县,32.98,107.77,23,7,55,hz,xx
  2771. 陕西省,汉中,勉县,33.15,106.67,23,3,31,hz,mx
  2772. 陕西省,汉中,宁强县,32.83,106.26,23,1,53,hz,nq
  2773. 陕西省,汉中,略阳县,33.33,106.16,23,1,29,hz,ly
  2774. 陕西省,汉中,镇巴县,32.54,107.9,23,8,27,hz,zb
  2775. 陕西省,汉中,留坝县,33.62,106.92,23,4,31,hz,lb
  2776. 陕西省,汉中,佛坪县,33.52,107.99,23,8,48,hz,fp
  2777. 陕西省,榆林,市辖区,38.29,109.74,23,15,48,yl,sxq
  2778. 陕西省,榆林,榆阳区,38.28,109.72,23,15,43,yl,yy
  2779. 陕西省,榆林,神木县,38.84,110.5,23,18,51,yl,sm
  2780. 陕西省,榆林,府谷县,39.03,111.07,23,21,7,yl,fg
  2781. 陕西省,榆林,横山县,37.96,109.29,23,14,0,yl,hs
  2782. 陕西省,榆林,靖边县,37.6,108.8,23,12,3,yl,jb
  2783. 陕西省,榆林,定边县,37.59,107.6,23,7,15,yl,db
  2784. 陕西省,榆林,绥德县,37.5,110.27,23,17,55,yl,sd
  2785. 陕西省,榆林,米脂县,37.76,110.19,23,17,36,yl,mz
  2786. 陕西省,榆林,佳县,38.02,110.49,23,18,48,yl,jx
  2787. 陕西省,榆林,吴堡县,37.45,110.74,23,19,48,yl,wb
  2788. 陕西省,榆林,清涧县,37.09,110.12,23,17,19,yl,qj
  2789. 陕西省,榆林,子洲县,37.61,110.03,23,16,58,yl,zz
  2790. 陕西省,安康,市辖区,32.69,109.03,23,12,58,ak,sxq
  2791. 陕西省,安康,汉滨区,32.7,109.03,23,12,58,ak,hb
  2792. 陕西省,安康,汉阴县,32.89,108.51,23,10,53,ak,hy
  2793. 陕西省,安康,石泉县,33.04,108.25,23,9,51,ak,sq
  2794. 陕西省,安康,宁陕县,33.31,108.31,23,10,5,ak,ns
  2795. 陕西省,安康,紫阳县,32.52,108.54,23,11,0,ak,zy
  2796. 陕西省,安康,岚皋县,32.31,108.9,23,12,27,ak,lg
  2797. 陕西省,安康,平利县,32.39,109.36,23,14,17,ak,pl
  2798. 陕西省,安康,镇坪县,31.88,109.53,23,14,58,ak,zp
  2799. 陕西省,安康,旬阳县,32.83,109.37,23,14,19,ak,xy
  2800. 陕西省,安康,白河县,32.81,110.11,23,17,17,ak,bh
  2801. 陕西省,商洛,市辖区,33.87,109.94,23,16,36,sl,sxq
  2802. 陕西省,商洛,商州区,33.86,109.94,23,16,36,sl,sz
  2803. 陕西省,商洛,洛南县,34.09,110.15,23,17,27,sl,ln
  2804. 陕西省,商洛,丹凤县,33.7,110.33,23,18,10,sl,df
  2805. 陕西省,商洛,商南县,33.53,110.88,23,20,22,sl,sn
  2806. 陕西省,商洛,山阳县,33.53,109.88,23,16,22,sl,sy
  2807. 陕西省,商洛,镇安县,33.42,109.15,23,13,27,sl,za
  2808. 陕西省,商洛,柞水县,33.69,109.11,23,13,17,sl,zs
  2809. 新疆,乌鲁木齐,市辖区,43.84,87.59,21,47,12,wlmq,sxq
  2810. 新疆,乌鲁木齐,天山区,43.79,87.63,21,47,22,wlmq,ts
  2811. 新疆,乌鲁木齐,沙依巴克区,43.8,87.6,21,47,15,wlmq,sybk
  2812. 新疆,乌鲁木齐,新市区,43.84,87.58,21,47,10,wlmq,xs
  2813. 新疆,乌鲁木齐,水磨沟区,43.83,87.64,21,47,24,wlmq,smg
  2814. 新疆,乌鲁木齐,头屯河区,43.88,87.43,21,46,34,wlmq,tth
  2815. 新疆,乌鲁木齐,达坂城区,43.36,88.31,21,50,5,wlmq,dbc
  2816. 新疆,乌鲁木齐,东山区,43.97,87.66,21,47,29,wlmq,ds
  2817. 新疆,乌鲁木齐,乌鲁木齐县,43.47,87.41,21,46,29,wlmq,wlmq
  2818. 新疆,克拉玛依,市辖区,45.6,84.87,21,36,19,klmy,sxq
  2819. 新疆,克拉玛依,独山子区,44.33,84.89,21,36,24,klmy,dsz
  2820. 新疆,克拉玛依,克拉玛依区,45.6,84.87,21,36,19,klmy,klmy
  2821. 新疆,克拉玛依,白碱滩区,45.69,85.13,21,37,22,klmy,bjt
  2822. 新疆,克拉玛依,乌尔禾区,46.09,85.7,21,39,39,klmy,weh
  2823. 新疆,吐鲁番地区,吐鲁番,42.79,88.66,21,51,29,tlf,tlf
  2824. 新疆,吐鲁番地区,鄯善县,42.87,90.22,21,57,43,tlf,ss
  2825. 新疆,吐鲁番地区,托克逊县,42.79,88.66,21,51,29,tlf,tkx
  2826. 新疆,哈密地区,哈密,43.25,94.7,22,15,39,hm,hm
  2827. 新疆,哈密地区,巴里坤哈萨克自治县,43.6,93.01,22,8,53,hm,blkhsk
  2828. 新疆,哈密地区,伊吾县,43.25,94.7,22,15,39,hm,yw
  2829. 新疆,昌吉回族自治州,昌吉,44.01,87.31,21,46,5,cj,cj
  2830. 新疆,昌吉回族自治州,阜康,44.16,87.99,21,48,48,cj,fk
  2831. 新疆,昌吉回族自治州,米泉,43.96,87.65,21,47,27,cj,mq
  2832. 新疆,昌吉回族自治州,呼图壁县,44.19,86.9,21,44,27,cj,htb
  2833. 新疆,昌吉回族自治州,玛纳斯县,44.3,86.21,21,41,41,cj,mns
  2834. 新疆,昌吉回族自治州,奇台县,44.02,89.6,21,55,15,cj,qt
  2835. 新疆,昌吉回族自治州,吉木萨尔县,44,89.18,21,53,34,cj,jmse
  2836. 新疆,昌吉回族自治州,木垒哈萨克自治县,43.83,90.28,21,57,58,cj,mlhsk
  2837. 新疆,博尔塔拉蒙古自治州,博乐,44.85,82.05,21,25,3,betl,bl
  2838. 新疆,博尔塔拉蒙古自治州,精河县,44.6,82.9,21,28,27,betl,jh
  2839. 新疆,博尔塔拉蒙古自治州,温泉县,44.97,81.02,21,20,55,betl,wq
  2840. 新疆,巴音郭楞蒙古自治州,库尔勒,41.73,86.18,21,41,34,bygl,kel
  2841. 新疆,巴音郭楞蒙古自治州,轮台县,41.78,84.25,21,33,51,bygl,lt
  2842. 新疆,巴音郭楞蒙古自治州,尉犁县,41.34,86.26,21,41,53,bygl,wl
  2843. 新疆,巴音郭楞蒙古自治州,若羌县,39.02,88.17,21,49,31,bygl,rq
  2844. 新疆,巴音郭楞蒙古自治州,且末县,38.15,85.53,21,38,58,bygl,qm
  2845. 新疆,巴音郭楞蒙古自治州,焉耆回族自治县,42.06,86.57,21,43,7,bygl,yq
  2846. 新疆,巴音郭楞蒙古自治州,和静县,42.32,86.39,21,42,24,bygl,hj
  2847. 新疆,巴音郭楞蒙古自治州,和硕县,42.27,86.86,21,44,17,bygl,hs
  2848. 新疆,巴音郭楞蒙古自治州,博湖县,42.27,86.86,21,44,17,bygl,bh
  2849. 新疆,阿克苏地区,阿克苏,41.17,80.27,21,17,55,aks,aks
  2850. 新疆,阿克苏地区,温宿县,41.28,80.24,21,17,48,aks,ws
  2851. 新疆,阿克苏地区,库车县,41.72,82.96,21,28,41,aks,kc
  2852. 新疆,阿克苏地区,沙雅县,41.22,82.78,21,27,58,aks,sy
  2853. 新疆,阿克苏地区,新和县,41.55,82.61,21,27,17,aks,xh
  2854. 新疆,阿克苏地区,拜城县,41.8,81.87,21,24,19,aks,bc
  2855. 新疆,阿克苏地区,乌什县,41.21,79.23,21,13,46,aks,ws
  2856. 新疆,阿克苏地区,阿瓦提县,40.64,80.37,21,18,19,aks,awt
  2857. 新疆,阿克苏地区,柯坪县,40.51,79.05,21,13,3,aks,kp
  2858. 新疆,克孜勒苏柯尔克孜自治州,阿图什,40.94,78.45,21,10,39,kzlskekz,ats
  2859. 新疆,克孜勒苏柯尔克孜自治州,阿克陶县,39.15,75.95,21,0,39,kzlskekz,akt
  2860. 新疆,克孜勒苏柯尔克孜自治州,阿合奇县,40.94,78.45,21,10,39,kzlskekz,ahq
  2861. 新疆,克孜勒苏柯尔克孜自治州,乌恰县,39.72,75.26,20,57,53,kzlskekz,wq
  2862. 新疆,喀什地区,喀什,39.47,76,21,0,51,ks,ks
  2863. 新疆,喀什地区,疏附县,39.38,75.87,21,0,19,ks,sf
  2864. 新疆,喀什地区,疏勒县,39.4,76.05,21,1,3,ks,sl
  2865. 新疆,喀什地区,英吉沙县,38.93,76.18,21,1,34,ks,yjs
  2866. 新疆,喀什地区,泽普县,38.19,77.27,21,5,55,ks,zp
  2867. 新疆,喀什地区,莎车县,38.41,77.25,21,5,51,ks,sc
  2868. 新疆,喀什地区,叶城县,37.88,77.41,21,6,29,ks,yc
  2869. 新疆,喀什地区,麦盖提县,38.9,77.65,21,7,27,ks,mgt
  2870. 新疆,喀什地区,岳普湖县,39.23,76.78,21,3,58,ks,yph
  2871. 新疆,喀什地区,伽师县,39.49,76.72,21,3,43,ks,gs
  2872. 新疆,喀什地区,巴楚县,39.78,78.55,21,11,3,ks,bc
  2873. 新疆,喀什地区,塔什库尔干塔吉克自治县,37.77,75.22,20,57,43,ks,tskegtjk
  2874. 新疆,和田地区,和田,36.57,79.9,21,16,27,ht,ht
  2875. 新疆,和田地区,和田县,36.57,79.91,21,16,29,ht,ht
  2876. 新疆,和田地区,墨玉县,37.28,79.73,21,15,46,ht,my
  2877. 新疆,和田地区,皮山县,37.62,78.28,21,9,58,ht,ps
  2878. 新疆,和田地区,洛浦县,37.07,80.19,21,17,36,ht,lp
  2879. 新疆,和田地区,策勒县,37,80.81,21,20,5,ht,cl
  2880. 新疆,和田地区,于田县,36.86,81.68,21,23,34,ht,yt
  2881. 新疆,和田地区,民丰县,37.06,82.7,21,27,39,ht,mf
  2882. 新疆,伊犁哈萨克自治州,伊宁,43.98,81.52,21,22,55,ylhsk,yn
  2883. 新疆,伊犁哈萨克自治州,奎屯,44.43,84.9,21,36,27,ylhsk,kt
  2884. 新疆,伊犁哈萨克自治州,伊宁县,43.98,81.53,21,22,58,ylhsk,yn
  2885. 新疆,伊犁哈萨克自治州,察布查尔锡伯自治县,43.84,81.15,21,21,27,ylhsk,cbcexb
  2886. 新疆,伊犁哈萨克自治州,霍城县,44.06,80.88,21,20,22,ylhsk,hc
  2887. 新疆,伊犁哈萨克自治州,巩留县,43.48,82.23,21,25,46,ylhsk,gl
  2888. 新疆,伊犁哈萨克自治州,新源县,43.43,83.26,21,29,53,ylhsk,xy
  2889. 新疆,伊犁哈萨克自治州,昭苏县,43.16,81.13,21,21,22,ylhsk,zs
  2890. 新疆,伊犁哈萨克自治州,特克斯县,43.22,81.84,21,24,12,ylhsk,tks
  2891. 新疆,伊犁哈萨克自治州,尼勒克县,43.8,82.51,21,26,53,ylhsk,nlk
  2892. 新疆,塔城地区,塔城,46.75,82.99,21,28,48,tc,tc
  2893. 新疆,塔城地区,乌苏,44.44,84.68,21,35,34,tc,ws
  2894. 新疆,塔城地区,额敏县,46.52,83.63,21,31,22,tc,em
  2895. 新疆,塔城地区,沙湾县,44.33,85.62,21,39,19,tc,sw
  2896. 新疆,塔城地区,托里县,45.94,83.61,21,31,17,tc,tl
  2897. 新疆,塔城地区,裕民县,46.2,82.98,21,28,46,tc,ym
  2898. 新疆,塔城地区,和布克塞尔蒙古自治县,46.79,85.73,21,39,46,tc,hbkse
  2899. 新疆,阿勒泰地区,阿勒泰,47.83,88.13,21,49,22,alt,alt
  2900. 新疆,阿勒泰地区,布尔津县,47.7,86.86,21,44,17,alt,bej
  2901. 新疆,阿勒泰地区,富蕴县,46.99,89.53,21,54,58,alt,fy
  2902. 新疆,阿勒泰地区,福海县,47.11,87.49,21,46,48,alt,fh
  2903. 新疆,阿勒泰地区,哈巴河县,48.06,86.42,21,42,31,alt,hbh
  2904. 新疆,阿勒泰地区,青河县,46.68,90.38,21,58,22,alt,qh
  2905. 新疆,阿勒泰地区,吉木乃县,47.44,85.88,21,40,22,alt,jmn
  2906. 新疆,省直辖行政单位,石河子,44.31,86.07,21,41,7,szx,shz
  2907. 新疆,省直辖行政单位,阿拉尔,40.55,81.3,21,22,3,szx,ale
  2908. 新疆,省直辖行政单位,图木舒克,39.87,79.07,21,13,7,szx,tmsk
  2909. 新疆,省直辖行政单位,五家渠,44.36,87.56,21,47,5,szx,wjq
  2910. 西藏,拉萨,市辖区,29.64,91.11,22,1,17,ls,sxq
  2911. 西藏,拉萨,城关区,29.65,91.14,22,1,24,ls,cg
  2912. 西藏,拉萨,林周县,29.9,91.26,22,1,53,ls,lz
  2913. 西藏,拉萨,当雄县,30.47,91.1,22,1,15,ls,dx
  2914. 西藏,拉萨,尼木县,29.43,90.17,21,57,31,ls,mm
  2915. 西藏,拉萨,曲水县,29.35,90.75,21,59,51,ls,qs
  2916. 西藏,拉萨,堆龙德庆县,29.65,91.01,22,0,53,ls,dldq
  2917. 西藏,拉萨,达孜县,29.67,91.35,22,2,15,ls,dz
  2918. 西藏,拉萨,墨竹工卡县,29.83,91.73,22,3,46,ls,mzgk
  2919. 西藏,昌都地区,昌都县,31.44,97.24,22,25,48,cd,cd
  2920. 西藏,昌都地区,江达县,31.81,98.03,22,28,58,cd,jd
  2921. 西藏,昌都地区,贡觉县,30.74,98.49,22,30,48,cd,gj
  2922. 西藏,昌都地区,类乌齐县,31.43,96.4,22,22,27,cd,lwq
  2923. 西藏,昌都地区,丁青县,31.68,95.31,22,18,5,cd,dq
  2924. 西藏,昌都地区,察雅县,30.58,97.84,22,28,12,cd,cy
  2925. 西藏,昌都地区,八宿县,30.16,96.88,22,24,22,cd,bs
  2926. 西藏,昌都地区,左贡县,29.56,97.8,22,28,3,cd,zg
  2927. 西藏,昌都地区,芒康县,29.61,98.61,22,31,17,cd,mk
  2928. 西藏,昌都地区,洛隆县,30.73,95.91,22,20,29,cd,ll
  2929. 西藏,昌都地区,边坝县,30.89,94.59,22,15,12,cd,bb
  2930. 西藏,山南地区,乃东县,29.23,91.76,22,3,53,sn,nd
  2931. 西藏,山南地区,扎囊县,29.25,91.34,22,2,12,sn,zn
  2932. 西藏,山南地区,贡嘎县,29.29,90.98,22,0,46,sn,gg
  2933. 西藏,山南地区,桑日县,29.26,92.02,22,4,55,sn,sr
  2934. 西藏,山南地区,琼结县,29.03,91.69,22,3,36,sn,qj
  2935. 西藏,山南地区,曲松县,29.06,92.2,22,5,39,sn,qs
  2936. 西藏,山南地区,措美县,28.44,91.43,22,2,34,sn,cm
  2937. 西藏,山南地区,洛扎县,28.39,90.86,22,0,17,sn,lz
  2938. 西藏,山南地区,加查县,29.14,92.6,22,7,15,sn,jc
  2939. 西藏,山南地区,隆子县,28.41,92.46,22,6,41,sn,lz
  2940. 西藏,山南地区,错那县,27.99,91.96,22,4,41,sn,cn
  2941. 西藏,山南地区,浪卡子县,28.97,90.4,21,58,27,sn,lkz
  2942. 西藏,日喀则地区,日喀则,29.26,88.95,21,52,39,rkz,rkz
  2943. 西藏,日喀则地区,南木林县,29.81,89.37,21,54,19,rkz,nml
  2944. 西藏,日喀则地区,江孜县,28.9,89.66,21,55,29,rkz,jz
  2945. 西藏,日喀则地区,定日县,28.47,86.99,21,44,48,rkz,db
  2946. 西藏,日喀则地区,萨迦县,28.85,88.34,21,50,12,rkz,sj
  2947. 西藏,日喀则地区,拉孜县,29.17,87.85,21,48,15,rkz,lz
  2948. 西藏,日喀则地区,昂仁县,29.95,86.62,21,43,19,rkz,ar
  2949. 西藏,日喀则地区,谢通门县,29.91,88.08,21,49,10,rkz,xtm
  2950. 西藏,日喀则地区,白朗县,28.81,89.1,21,53,15,rkz,bl
  2951. 西藏,日喀则地区,仁布县,29.22,89.97,21,56,43,rkz,rb
  2952. 西藏,日喀则地区,康马县,28.44,89.65,21,55,27,rkz,km
  2953. 西藏,日喀则地区,定结县,28.23,87.91,21,48,29,rkz,dj
  2954. 西藏,日喀则地区,仲巴县,30.48,83.66,21,31,29,rkz,zb
  2955. 西藏,日喀则地区,亚东县,27.81,89.08,21,53,10,rkz,yd
  2956. 西藏,日喀则地区,吉隆县,28.85,85.3,21,38,3,rkz,jl
  2957. 西藏,日喀则地区,聂拉木县,28.59,86.06,21,41,5,rkz,nlm
  2958. 西藏,日喀则地区,萨嘎县,29.4,85.08,21,37,10,rkz,sg
  2959. 西藏,日喀则地区,岗巴县,28.28,88.52,21,50,55,rkz,gb
  2960. 西藏,那曲地区,那曲县,31.47,92.05,22,5,3,nq,nq
  2961. 西藏,那曲地区,嘉黎县,30.64,93.23,22,9,46,nq,jl
  2962. 西藏,那曲地区,比如县,31.48,93.68,22,11,34,nq,br
  2963. 西藏,那曲地区,聂荣县,32.11,92.3,22,6,3,nq,nr
  2964. 西藏,那曲地区,安多县,32.26,91.68,22,3,34,nq,ad
  2965. 西藏,那曲地区,申扎县,30.93,88.71,21,51,41,nq,sz
  2966. 西藏,那曲地区,索县,31.89,93.78,22,11,58,nq,sx
  2967. 西藏,那曲地区,班戈县,31.39,90.01,21,56,53,nq,bg
  2968. 西藏,那曲地区,巴青县,31.92,94.05,22,13,3,nq,bq
  2969. 西藏,那曲地区,尼玛县,31.78,87.24,21,45,48,nq,nm
  2970. 西藏,阿里地区,普兰县,30.29,81.18,21,21,34,al,pl
  2971. 西藏,阿里地区,札达县,31.48,79.8,21,16,3,al,zd
  2972. 西藏,阿里地区,噶尔县,32.5,80.1,21,17,15,al,ge
  2973. 西藏,阿里地区,日土县,33.39,79.71,21,15,41,al,rt
  2974. 西藏,阿里地区,革吉县,32.39,81.15,21,21,27,al,gj
  2975. 西藏,阿里地区,改则县,32.3,84.06,21,33,5,al,gz
  2976. 西藏,阿里地区,措勤县,31.02,85.15,21,37,27,al,cq
  2977. 西藏,林芝地区,林芝县,29.64,94.36,22,14,17,lz,lz
  2978. 西藏,林芝地区,工布江达县,29.89,93.25,22,9,51,lz,gbjd
  2979. 西藏,林芝地区,米林县,29.22,94.21,22,13,41,lz,ml
  2980. 西藏,林芝地区,墨脱县,29.32,95.33,22,18,10,lz,mt
  2981. 西藏,林芝地区,波密县,29.86,95.77,22,19,55,lz,bm
  2982. 西藏,林芝地区,察隅县,28.66,97.47,22,26,43,lz,cy
  2983. 西藏,林芝地区,朗县,29.05,93.08,22,9,10,lz,lx
  2984. 四川省,成都,市辖区,30.66,104.07,22,53,7,cd,sxq
  2985. 四川省,成都,锦江区,30.66,104.08,22,53,10,cd,jj
  2986. 四川省,成都,青羊区,30.67,104.06,22,53,5,cd,qy
  2987. 四川省,成都,金牛区,30.69,104.06,22,53,5,cd,jn
  2988. 四川省,成都,武侯区,30.64,104.04,22,53,0,cd,wh
  2989. 四川省,成都,成华区,30.66,104.1,22,53,15,cd,ch
  2990. 四川省,成都,龙泉驿区,30.56,104.28,22,53,58,cd,lqy
  2991. 四川省,成都,青白江区,30.88,104.25,22,53,51,cd,qbj
  2992. 四川省,成都,新都区,30.82,104.16,22,53,29,cd,xd
  2993. 四川省,成都,温江区,30.68,103.86,22,52,17,cd,wj
  2994. 四川省,成都,金堂县,30.86,104.41,22,54,29,cd,jt
  2995. 四川省,成都,双流县,30.57,103.93,22,52,34,cd,sl
  2996. 四川省,成都,郫县,30.8,103.9,22,52,27,cd,px
  2997. 四川省,成都,大邑县,30.59,103.52,22,50,55,cd,dy
  2998. 四川省,成都,浦江县,30.2,103.51,22,50,53,cd,pj
  2999. 四川省,成都,新津县,30.41,103.81,22,52,5,cd,xj
  3000. 四川省,成都,都江堰,30.99,103.65,22,51,27,cd,djy
  3001. 四川省,成都,彭州,30.99,103.96,22,52,41,cd,pz
  3002. 四川省,成都,邛崃,30.41,103.47,22,50,43,cd,ql
  3003. 四川省,成都,崇州,30.63,103.67,22,51,31,cd,cz
  3004. 四川省,自贡,市辖区,29.34,104.78,22,55,58,zg,sxq
  3005. 四川省,自贡,自流井区,29.34,104.78,22,55,58,zg,zlj
  3006. 四川省,自贡,贡井区,29.35,104.72,22,55,43,zg,gj
  3007. 四川省,自贡,大安区,29.36,104.77,22,55,55,zg,da
  3008. 四川省,自贡,沿滩区,29.27,104.88,22,56,22,zg,yt
  3009. 四川省,自贡,荣县,29.44,104.42,22,54,31,zg,rx
  3010. 四川省,自贡,富顺县,29.18,104.98,22,56,46,zg,fs
  3011. 四川省,攀枝花,市辖区,26.58,101.72,22,43,43,pzh,sxq
  3012. 四川省,攀枝花,东区,26.55,101.71,22,43,41,pzh,dq
  3013. 四川省,攀枝花,西区,26.6,101.63,22,43,22,pzh,xq
  3014. 四川省,攀枝花,仁和区,26.5,101.74,22,43,48,pzh,rh
  3015. 四川省,攀枝花,米易县,26.89,102.11,22,45,17,pzh,my
  3016. 四川省,攀枝花,盐边县,26.68,101.86,22,44,17,pzh,yb
  3017. 四川省,泸州,市辖区,28.87,105.44,22,58,36,lz,sxq
  3018. 四川省,泸州,江阳区,28.88,105.44,22,58,36,lz,jy
  3019. 四川省,泸州,纳溪区,28.77,105.37,22,58,19,lz,nx
  3020. 四川省,泸州,龙马潭区,28.91,105.44,22,58,36,lz,lmt
  3021. 四川省,泸州,泸县,29.15,105.38,22,58,22,lz,lx
  3022. 四川省,泸州,合江县,28.81,105.83,23,0,10,lz,hj
  3023. 四川省,泸州,叙永县,28.16,105.45,22,58,39,lz,xy
  3024. 四川省,泸州,古蔺县,28.04,105.81,23,0,5,lz,gl
  3025. 四川省,德阳,市辖区,31.13,104.4,22,54,27,dy,sxq
  3026. 四川省,德阳,旌阳区,31.14,104.42,22,54,31,dy,jy
  3027. 四川省,德阳,中江县,31.03,104.68,22,55,34,dy,zj
  3028. 四川省,德阳,罗江县,31.32,104.51,22,54,53,dy,lj
  3029. 四川省,德阳,广汉,30.98,104.28,22,53,58,dy,gh
  3030. 四川省,德阳,什邡,31.13,104.17,22,53,31,dy,sf
  3031. 四川省,德阳,绵竹,31.34,104.22,22,53,43,dy,mz
  3032. 四川省,绵阳,市辖区,31.47,104.68,22,55,34,my,sxq
  3033. 四川省,绵阳,涪城区,31.46,104.76,22,55,53,my,fc
  3034. 四川省,绵阳,游仙区,31.47,104.77,22,55,55,my,yx
  3035. 四川省,绵阳,三台县,31.1,105.1,22,57,15,my,st
  3036. 四川省,绵阳,盐亭县,31.21,105.39,22,58,24,my,yt
  3037. 四川省,绵阳,安县,31.53,104.57,22,55,7,my,ax
  3038. 四川省,绵阳,梓潼县,31.64,105.16,22,57,29,my,zt
  3039. 四川省,绵阳,北川羌族自治县,31.83,104.47,22,54,43,my,bcqz
  3040. 四川省,绵阳,平武县,32.41,104.53,22,54,58,my,pw
  3041. 四川省,绵阳,江油,31.76,104.73,22,55,46,my,jy
  3042. 四川省,广元,市辖区,32.44,105.84,23,0,12,gy,sxq
  3043. 四川省,广元,市中区,29.56,103.76,22,51,53,gy,sz
  3044. 四川省,广元,元坝区,32.14,105.88,23,0,22,gy,yb
  3045. 四川省,广元,朝天区,32.64,105.89,23,0,24,gy,ct
  3046. 四川省,广元,旺苍县,32.23,106.29,23,2,0,gy,wc
  3047. 四川省,广元,青川县,32.59,105.24,22,57,48,gy,qc
  3048. 四川省,广元,剑阁县,32.29,105.53,22,58,58,gy,jg
  3049. 四川省,广元,苍溪县,31.73,105.94,23,0,36,gy,cx
  3050. 四川省,遂宁,市辖区,30.53,105.59,22,59,12,sn,sxq
  3051. 四川省,遂宁,船山区,30.53,105.57,22,59,7,sn,cs
  3052. 四川省,遂宁,安居区,30.35,105.46,22,58,41,sn,aj
  3053. 四川省,遂宁,蓬溪县,30.76,105.71,22,59,41,sn,px
  3054. 四川省,遂宁,射洪县,30.87,105.39,22,58,24,sn,sh
  3055. 四川省,遂宁,大英县,30.59,105.24,22,57,48,sn,dy
  3056. 四川省,内江,市辖区,29.58,105.06,22,57,5,nj,sxq
  3057. 四川省,内江,市中区,29.59,105.07,22,57,7,nj,sz
  3058. 四川省,内江,东兴区,29.59,105.07,22,57,7,nj,dx
  3059. 四川省,内江,威远县,29.53,104.67,22,55,31,nj,wy
  3060. 四川省,内江,资中县,29.76,104.85,22,56,15,nj,zz
  3061. 四川省,内江,隆昌县,29.34,105.29,22,58,0,nj,lc
  3062. 四川省,乐山,市辖区,29.55,103.77,22,51,55,ls,sxq
  3063. 四川省,乐山,市中区,29.56,103.76,22,51,53,ls,sz
  3064. 四川省,乐山,沙湾区,29.41,103.55,22,51,3,ls,sw
  3065. 四川省,乐山,五通桥区,29.41,103.82,22,52,7,ls,wtq
  3066. 四川省,乐山,金口河区,29.24,103.08,22,49,10,ls,jkh
  3067. 四川省,乐山,犍为县,29.21,103.95,22,52,39,ls,jw
  3068. 四川省,乐山,井研县,29.65,104.07,22,53,7,ls,jy
  3069. 四川省,乐山,夹江县,29.74,103.57,22,51,7,ls,jj
  3070. 四川省,乐山,沐川县,28.96,103.9,22,52,27,ls,mc
  3071. 四川省,乐山,峨边彝族自治县,29.23,103.26,22,49,53,ls,ebyz
  3072. 四川省,乐山,马边彝族自治县,28.84,103.55,22,51,3,ls,mbyz
  3073. 四川省,乐山,峨眉山,29.57,103.45,22,50,39,ls,ems
  3074. 四川省,南充,市辖区,30.84,106.11,23,1,17,nc,sxq
  3075. 四川省,南充,顺庆区,30.8,106.09,23,1,12,nc,sq
  3076. 四川省,南充,高坪区,30.78,106.12,23,1,19,nc,gp
  3077. 四川省,南充,嘉陵区,30.76,106.07,23,1,7,nc,jl
  3078. 四川省,南充,南部县,31.35,106.07,23,1,7,nc,nb
  3079. 四川省,南充,营山县,31.08,106.57,23,3,7,nc,ys
  3080. 四川省,南充,蓬安县,31.03,106.41,23,2,29,nc,pa
  3081. 四川省,南充,仪陇县,31.27,106.3,23,2,3,nc,yl
  3082. 四川省,南充,西充县,30.99,105.9,23,0,27,nc,xc
  3083. 四川省,南充,阆中,31.56,106.01,23,0,53,nc,lz
  3084. 四川省,眉山,市辖区,30.07,103.85,22,52,15,ms,sxq
  3085. 四川省,眉山,东坡区,30.04,103.83,22,52,10,ms,dp
  3086. 四川省,眉山,仁寿县,29.99,104.14,22,53,24,ms,rs
  3087. 四川省,眉山,彭山县,30.19,103.87,22,52,19,ms,ps
  3088. 四川省,眉山,洪雅县,29.9,103.37,22,50,19,ms,hy
  3089. 四川省,眉山,丹棱县,30.01,103.51,22,50,53,ms,dl
  3090. 四川省,眉山,青神县,29.83,103.85,22,52,15,ms,qs
  3091. 四川省,宜宾,市辖区,28.75,104.64,22,55,24,yb,sxq
  3092. 四川省,宜宾,翠屏区,28.77,104.62,22,55,19,yb,cp
  3093. 四川省,宜宾,宜宾县,28.69,104.53,22,54,58,yb,yb
  3094. 四川省,宜宾,南溪县,28.85,104.97,22,56,43,yb,nx
  3095. 四川省,宜宾,江安县,28.72,105.07,22,57,7,yb,ja
  3096. 四川省,宜宾,长宁县,28.58,104.92,22,56,31,yb,cn
  3097. 四川省,宜宾,高县,28.43,104.52,22,54,55,yb,gx
  3098. 四川省,宜宾,珙县,28.44,104.71,22,55,41,yb,gx
  3099. 四川省,宜宾,筠连县,28.16,104.51,22,54,53,yb,jl
  3100. 四川省,宜宾,兴文县,28.3,105.24,22,57,48,yb,xw
  3101. 四川省,宜宾,屏山县,28.65,104.15,22,53,27,yb,ps
  3102. 四川省,广安,市辖区,28.65,104.15,22,53,27,ga,sxq
  3103. 四川省,广安,广安区,30.47,106.64,23,3,24,ga,ga
  3104. 四川省,广安,岳池县,30.54,106.44,23,2,36,ga,yc
  3105. 四川省,广安,武胜县,30.35,106.3,23,2,3,ga,ws
  3106. 四川省,广安,邻水县,30.33,106.93,23,4,34,ga,ls
  3107. 四川省,广安,华莹,30.39,106.78,23,3,58,ga,hy
  3108. 四川省,达州,市辖区,31.21,107.47,23,6,43,dz,sxq
  3109. 四川省,达州,通川区,31.22,107.51,23,6,53,dz,tc
  3110. 四川省,达州,达川区,31.18,107.42,23,6,31,dz,dc
  3111. 四川省,达州,达县,31.18,107.42,23,6,31,dz,dx
  3112. 四川省,达州,宣汉县,31.35,107.73,23,7,46,dz,xh
  3113. 四川省,达州,开江县,31.08,107.87,23,8,19,dz,kj
  3114. 四川省,达州,大竹县,30.74,107.21,23,5,41,dz,dz
  3115. 四川省,达州,渠县,30.84,106.97,23,4,43,dz,qx
  3116. 四川省,达州,万源,32.08,108.03,23,8,58,dz,wy
  3117. 四川省,雅安,市辖区,30.01,103.05,22,49,3,ya,sxq
  3118. 四川省,雅安,雨城区,30,103.03,22,48,58,ya,yc
  3119. 四川省,雅安,名山县,30.13,103.22,22,49,43,ya,ms
  3120. 四川省,雅安,荥经县,29.79,102.85,22,48,15,ya,xj
  3121. 四川省,雅安,汉源县,29.34,102.65,22,47,27,ya,hy
  3122. 四川省,雅安,石棉县,29.23,102.36,22,46,17,ya,sm
  3123. 四川省,雅安,天全县,30.07,102.76,22,47,53,ya,tq
  3124. 四川省,雅安,芦山县,30.14,102.93,22,48,34,ya,ls
  3125. 四川省,雅安,宝兴县,30.37,102.82,22,48,7,ya,bx
  3126. 四川省,巴中,市辖区,31.87,106.75,23,3,51,bz,sxq
  3127. 四川省,巴中,巴州区,31.85,106.77,23,3,55,bz,bz
  3128. 四川省,巴中,通江县,31.91,107.25,23,5,51,bz,tj
  3129. 四川省,巴中,南江县,32.35,106.83,23,4,10,bz,nj
  3130. 四川省,巴中,平昌县,31.56,107.1,23,5,15,bz,pc
  3131. 四川省,资阳,市辖区,30.13,104.63,22,55,22,zy,sxq
  3132. 四川省,资阳,雁江区,30.12,104.65,22,55,27,zy,yj
  3133. 四川省,资阳,安岳县,30.1,105.34,22,58,12,zy,ay
  3134. 四川省,资阳,乐至县,30.28,105.02,22,56,55,zy,lz
  3135. 四川省,资阳,简阳,30.41,104.55,22,55,3,zy,jy
  3136. 四川省,阿坝藏族羌族自治州,汶川县,31.48,103.59,22,51,12,abzzqz,wc
  3137. 四川省,阿坝藏族羌族自治州,理县,31.43,103.17,22,49,31,abzzqz,lx
  3138. 四川省,阿坝藏族羌族自治州,茂县,31.68,103.86,22,52,17,abzzqz,mx
  3139. 四川省,阿坝藏族羌族自治州,松潘县,32.64,103.6,22,51,15,abzzqz,sp
  3140. 四川省,阿坝藏族羌族自治州,九寨沟县,33.26,104.24,22,53,48,abzzqz,jzg
  3141. 四川省,阿坝藏族羌族自治州,金川县,31.48,102.06,22,45,5,abzzqz,jc
  3142. 四川省,阿坝藏族羌族自治州,小金县,31,102.36,22,46,17,abzzqz,xj
  3143. 四川省,阿坝藏族羌族自治州,黑水县,32.06,102.99,22,48,48,abzzqz,hs
  3144. 四川省,阿坝藏族羌族自治州,马尔康县,31.91,102.21,22,45,41,abzzqz,mek
  3145. 四川省,阿坝藏族羌族自治州,壤塘县,32.27,100.98,22,40,46,abzzqz,rt
  3146. 四川省,阿坝藏族羌族自治州,阿坝县,32.9,101.71,22,43,41,abzzqz,ab
  3147. 四川省,阿坝藏族羌族自治州,若尔盖县,33.58,102.96,22,48,41,abzzqz,reg
  3148. 四川省,阿坝藏族羌族自治州,红原县,32.79,102.55,22,47,3,abzzqz,hy
  3149. 四川省,甘孜藏族自治州,康定县,30,101.96,22,44,41,gzzz,kd
  3150. 四川省,甘孜藏族自治州,泸定县,29.91,102.24,22,45,48,gzzz,ld
  3151. 四川省,甘孜藏族自治州,丹巴县,30.88,101.89,22,44,24,gzzz,db
  3152. 四川省,甘孜藏族自治州,九龙县,29,101.51,22,42,53,gzzz,jl
  3153. 四川省,甘孜藏族自治州,雅江县,30.03,101.02,22,40,55,gzzz,yj
  3154. 四川省,甘孜藏族自治州,道孚县,30.98,101.13,22,41,22,gzzz,df
  3155. 四川省,甘孜藏族自治州,炉霍县,31.39,100.68,22,39,34,gzzz,lh
  3156. 四川省,甘孜藏族自治州,甘孜县,31.62,99.99,22,36,48,gzzz,gz
  3157. 四川省,甘孜藏族自治州,新龙县,30.94,100.31,22,38,5,gzzz,xl
  3158. 四川省,甘孜藏族自治州,德格县,31.81,98.58,22,31,10,gzzz,dg
  3159. 四川省,甘孜藏族自治州,白玉县,31.21,98.83,22,32,10,gzzz,by
  3160. 四川省,甘孜藏族自治州,石渠县,32.98,98.11,22,29,17,gzzz,sq
  3161. 四川省,甘孜藏族自治州,色达县,32.27,100.34,22,38,12,gzzz,sd
  3162. 四川省,甘孜藏族自治州,理塘县,30,100.27,22,37,55,gzzz,lt
  3163. 四川省,甘孜藏族自治州,巴塘县,30,99.11,22,33,17,gzzz,bt
  3164. 四川省,甘孜藏族自治州,乡城县,28.93,99.8,22,36,3,gzzz,xc
  3165. 四川省,甘孜藏族自治州,稻城县,29.04,100.3,22,38,3,gzzz,dc
  3166. 四川省,甘孜藏族自治州,得荣县,28.71,99.29,22,34,0,gzzz,dr
  3167. 四川省,凉山彝族自治州,西昌,27.89,102.26,22,45,53,lsyz,xc
  3168. 四川省,凉山彝族自治州,木里藏族自治县,27.93,101.28,22,41,58,lsyz,mlzz
  3169. 四川省,凉山彝族自治州,盐源县,27.42,101.51,22,42,53,lsyz,yy
  3170. 四川省,凉山彝族自治州,德昌县,27.4,102.18,22,45,34,lsyz,dc
  3171. 四川省,凉山彝族自治州,会理县,26.66,102.25,22,45,51,lsyz,hl
  3172. 四川省,凉山彝族自治州,会东县,26.63,102.58,22,47,10,lsyz,hd
  3173. 四川省,凉山彝族自治州,宁南县,27.07,102.76,22,47,53,lsyz,nn
  3174. 四川省,凉山彝族自治州,普格县,27.38,102.54,22,47,0,lsyz,pg
  3175. 四川省,凉山彝族自治州,布拖县,27.71,102.81,22,48,5,lsyz,bt
  3176. 四川省,凉山彝族自治州,金阳县,28.01,102.84,22,48,12,lsyz,jy
  3177. 四川省,凉山彝族自治州,昭觉县,28.01,102.84,22,48,12,lsyz,zj
  3178. 四川省,凉山彝族自治州,喜德县,28.31,102.41,22,46,29,lsyz,xd
  3179. 四川省,凉山彝族自治州,冕宁县,28.55,102.18,22,45,34,lsyz,mn
  3180. 四川省,凉山彝族自治州,越西县,28.64,102.51,22,46,53,lsyz,yx
  3181. 四川省,凉山彝族自治州,甘洛县,28.96,102.77,22,47,55,lsyz,gl
  3182. 四川省,凉山彝族自治州,美姑县,28.33,103.13,22,49,22,lsyz,mg
  3183. 四川省,凉山彝族自治州,雷波县,28.26,103.57,22,51,7,lsyz,lb
  3184. 云南省,昆明,市辖区,24.88,102.84,22,48,12,km,sxq
  3185. 云南省,昆明,五华区,25.04,102.71,22,47,41,km,wh
  3186. 云南省,昆明,盘龙区,25.12,102.75,22,47,51,km,pl
  3187. 云南省,昆明,官渡区,25.01,102.74,22,47,48,km,gd
  3188. 云南省,昆明,西山区,25.04,102.67,22,47,31,km,xs
  3189. 云南省,昆明,东川区,26.08,103.19,22,49,36,km,dc
  3190. 云南省,昆明,呈贡县,24.87,102.87,22,48,19,km,cg
  3191. 云南省,昆明,普宁县,24.67,102.6,22,47,15,km,pn
  3192. 云南省,昆明,富民县,25.22,102.5,22,46,51,km,fm
  3193. 云南省,昆明,宜良县,24.92,103.14,22,49,24,km,yl
  3194. 云南省,昆明,石林彝族自治县,24.77,103.29,22,50,0,km,slyz
  3195. 云南省,昆明,嵩明县,25.34,103.04,22,49,0,km,sm
  3196. 云南省,昆明,禄劝彝族苗族自治县,25.55,102.47,22,46,43,km,lqyzmz
  3197. 云南省,昆明,寻甸回族彝族自治县,25.56,103.26,22,49,53,km,xdhzyz
  3198. 云南省,昆明,安宁,24.92,102.48,22,46,46,km,an
  3199. 云南省,曲靖,市辖区,25.49,103.8,22,52,3,qj,sxq
  3200. 云南省,曲靖,麒麟区,25.5,103.81,22,52,5,qj,ql
  3201. 云南省,曲靖,马龙县,25.43,103.58,22,51,10,qj,ml
  3202. 云南省,曲靖,陆良县,25.03,103.67,22,51,31,qj,ll
  3203. 云南省,曲靖,师宗县,24.83,103.99,22,52,48,qj,sz
  3204. 云南省,曲靖,罗平县,24.88,104.31,22,54,5,qj,lp
  3205. 云南省,曲靖,富源县,25.67,104.26,22,53,53,qj,fy
  3206. 云南省,曲靖,会泽县,26.42,103.3,22,50,3,qj,hz
  3207. 云南省,曲靖,沾益县,25.6,103.82,22,52,7,qj,zy
  3208. 云南省,曲靖,宣威,26.22,104.11,22,53,17,qj,xw
  3209. 云南省,玉溪,市辖区,24.35,102.55,22,47,3,yx,sxq
  3210. 云南省,玉溪,红塔区,24.35,102.55,22,47,3,yx,ht
  3211. 云南省,玉溪,江川县,24.29,102.75,22,47,51,yx,jc
  3212. 云南省,玉溪,澄江县,24.67,102.91,22,48,29,yx,cj
  3213. 云南省,玉溪,通海县,24.11,102.77,22,47,55,yx,th
  3214. 云南省,玉溪,华宁县,24.19,102.93,22,48,34,yx,hn
  3215. 云南省,玉溪,易门县,24.67,102.16,22,45,29,yx,ym
  3216. 云南省,玉溪,峨山彝族自治县,24.17,102.41,22,46,29,yx,esyz
  3217. 云南省,玉溪,新平彝族傣族自治县,24.07,101.99,22,44,48,yx,xpyzdz
  3218. 云南省,玉溪,元江哈尼族彝族自治县,23.6,102.01,22,44,53,yx,yjhnzyz
  3219. 云南省,保山,市辖区,25.11,99.16,22,33,29,bs,sxq
  3220. 云南省,保山,隆阳区,25.12,99.17,22,33,31,bs,ly
  3221. 云南省,保山,施甸县,24.72,99.19,22,33,36,bs,sd
  3222. 云南省,保山,腾冲县,25.02,98.49,22,30,48,bs,tc
  3223. 云南省,保山,龙陵县,24.59,98.69,22,31,36,bs,ll
  3224. 云南省,保山,昌宁县,24.83,99.61,22,35,17,bs,cn
  3225. 云南省,昭通,市辖区,27.34,103.72,22,51,43,zt,sxq
  3226. 云南省,昭通,昭阳区,27.32,103.71,22,51,41,zt,zy
  3227. 云南省,昭通,鲁甸县,27.19,103.56,22,51,5,zt,ld
  3228. 云南省,昭通,巧家县,26.91,102.93,22,48,34,zt,qj
  3229. 云南省,昭通,盐津县,28.11,104.24,22,53,48,zt,yj
  3230. 云南省,昭通,大关县,27.75,103.89,22,52,24,zt,dg
  3231. 云南省,昭通,永善县,28.23,103.64,22,51,24,zt,ys
  3232. 云南省,昭通,绥江县,28.6,103.96,22,52,41,zt,sj
  3233. 云南省,昭通,镇雄县,27.44,104.88,22,56,22,zt,zx
  3234. 云南省,昭通,彝良县,27.62,104.05,22,53,3,zt,yl
  3235. 云南省,昭通,威信县,27.85,105.05,22,57,3,zt,wx
  3236. 云南省,昭通,水富县,28.63,104.42,22,54,31,zt,sf
  3237. 云南省,丽江,市辖区,26.86,100.23,22,37,46,lj,sxq
  3238. 云南省,丽江,古城区,26.88,100.23,22,37,46,lj,gc
  3239. 云南省,丽江,玉龙纳西族自治县,26.82,100.24,22,37,48,lj,ylnxz
  3240. 云南省,丽江,永胜县,26.68,100.75,22,39,51,lj,ys
  3241. 云南省,丽江,华坪县,26.63,101.27,22,41,55,lj,hp
  3242. 云南省,丽江,宁蒗彝族自治县,27.28,100.85,22,40,15,lj,nlyz
  3243. 云南省,思茅,市辖区,22.79,100.98,22,40,46,sm,sxq
  3244. 云南省,思茅,翠云区,23.06,101.05,22,41,3,sm,cy
  3245. 云南省,思茅,普洱哈尼族彝族自治县,23.06,101.05,22,41,3,sm,pehnzyz
  3246. 云南省,思茅,墨江哈尼族自治县,23.43,101.69,22,43,36,sm,mjhnz
  3247. 云南省,思茅,景东彝族自治县,24.45,100.84,22,40,12,sm,jdyz
  3248. 云南省,思茅,景谷傣族彝族自治县,23.5,100.7,22,39,39,sm,jgdzyz
  3249. 云南省,思茅,镇沅彝族哈尼族自治县,24.01,101.11,22,41,17,sm,zyyzhnz
  3250. 云南省,思茅,江城哈尼族彝族自治县,22.58,101.86,22,44,17,sm,jchnzyz
  3251. 云南省,思茅,孟连傣族拉祜族自治县,22.33,99.59,22,35,12,sm,mldzlhz
  3252. 云南省,思茅,澜沧拉祜族自治县,22.56,99.93,22,36,34,sm,lclhz
  3253. 云南省,思茅,西盟佤族自治县,22.64,99.59,22,35,12,sm,xmwz
  3254. 云南省,临沧,市辖区,23.89,100.09,22,37,12,lc,sxq
  3255. 云南省,临沧,临翔区,23.9,100.08,22,37,10,lc,lx
  3256. 云南省,临沧,凤庆县,24.58,99.93,22,36,34,lc,fq
  3257. 云南省,临沧,云县,24.44,100.13,22,37,22,lc,yx
  3258. 云南省,临沧,永德县,24.02,99.26,22,33,53,lc,yd
  3259. 云南省,临沧,镇康县,23.76,98.83,22,32,10,lc,zk
  3260. 云南省,临沧,双江拉祜族佤族布朗族傣族自治县,23.47,99.83,22,36,10,lc,sjlhzwzblzdz
  3261. 云南省,临沧,耿马傣族佤族自治县,23.54,99.4,22,34,27,lc,gmdzwz
  3262. 云南省,临沧,沧源佤族自治县,23.15,99.25,22,33,51,lc,cywz
  3263. 云南省,楚雄彝族自治州,楚雄,23.05,101.55,22,43,3,cxyz,cx
  3264. 云南省,楚雄彝族自治州,双柏县,24.69,101.64,22,43,24,cxyz,sb
  3265. 云南省,楚雄彝族自治州,牟定县,25.31,101.55,22,43,3,cxyz,md
  3266. 云南省,楚雄彝族自治州,南华县,25.19,101.27,22,41,55,cxyz,nh
  3267. 云南省,楚雄彝族自治州,姚安县,25.5,101.24,22,41,48,cxyz,ya
  3268. 云南省,楚雄彝族自治州,大姚县,25.72,101.32,22,42,7,cxyz,dy
  3269. 云南省,楚雄彝族自治州,永仁县,26.05,101.67,22,43,31,cxyz,yr
  3270. 云南省,楚雄彝族自治州,元谋县,25.7,101.88,22,44,22,cxyz,ym
  3271. 云南省,楚雄彝族自治州,武定县,25.53,102.41,22,46,29,cxyz,wd
  3272. 云南省,楚雄彝族自治州,禄丰县,25.15,102.08,22,45,10,cxyz,lf
  3273. 云南省,红河哈尼族彝族自治州,个旧,23.35,103.16,22,49,29,hhhnzyz,gj
  3274. 云南省,红河哈尼族彝族自治州,开远,23.71,103.27,22,49,55,hhhnzyz,ky
  3275. 云南省,红河哈尼族彝族自治州,蒙自县,23.34,103.49,22,50,48,hhhnzyz,mz
  3276. 云南省,红河哈尼族彝族自治州,屏边苗族自治县,22.98,103.69,22,51,36,hhhnzyz,pbmz
  3277. 云南省,红河哈尼族彝族自治州,建水县,23.71,102.5,22,46,51,hhhnzyz,js
  3278. 云南省,红河哈尼族彝族自治州,石屏县,23.71,102.5,22,46,51,hhhnzyz,sp
  3279. 云南省,红河哈尼族彝族自治州,弥勒县,24.22,103.38,22,50,22,hhhnzyz,ml
  3280. 云南省,红河哈尼族彝族自治州,泸西县,24.53,103.77,22,51,55,hhhnzyz,lx
  3281. 云南省,红河哈尼族彝族自治州,元阳县,23.22,102.84,22,48,12,hhhnzyz,yy
  3282. 云南省,红河哈尼族彝族自治州,红河县,23.37,102.42,22,46,31,hhhnzyz,hh
  3283. 云南省,红河哈尼族彝族自治州,金平苗族瑶族傣族自治县,22.78,103.23,22,49,46,hhhnzyz,jpmzyzdz
  3284. 云南省,红河哈尼族彝族自治州,绿春县,22.99,102.39,22,46,24,hhhnzyz,lc
  3285. 云南省,红河哈尼族彝族自治州,河口瑶族自治县,22.53,103.94,22,52,36,hhhnzyz,hkyz
  3286. 云南省,文山壮族苗族自治州,文山县,23.4,104.08,22,53,10,wszzmz,ws
  3287. 云南省,文山壮族苗族自治州,砚山县,23.61,104.34,22,54,12,wszzmz,ys
  3288. 云南省,文山壮族苗族自治州,西畴县,23.44,104.67,22,55,31,wszzmz,xc
  3289. 云南省,文山壮族苗族自治州,麻栗坡县,23.13,104.7,22,55,39,wszzmz,mlp
  3290. 云南省,文山壮族苗族自治州,马关县,23.01,104.4,22,54,27,wszzmz,mg
  3291. 云南省,文山壮族苗族自治州,丘北县,24.04,104.2,22,53,39,wszzmz,qb
  3292. 云南省,文山壮族苗族自治州,广南县,24.05,105.06,22,57,5,wszzmz,gn
  3293. 云南省,文山壮族苗族自治州,富宁县,23.63,105.63,22,59,22,wszzmz,fn
  3294. 云南省,西双版纳傣族自治州,景洪,22,100.77,22,39,55,xsbndz,jh
  3295. 云南省,西双版纳傣族自治州,勐海县,21.96,100.45,22,38,39,xsbndz,mh
  3296. 云南省,西双版纳傣族自治州,勐腊县,21.45,101.57,22,43,7,xsbndz,ml
  3297. 云南省,大理白族自治州,大理,25.59,100.23,22,37,46,dlbz,dl
  3298. 云南省,大理白族自治州,漾濞彝族自治县,25.67,99.96,22,36,41,dlbz,ybyz
  3299. 云南省,大理白族自治州,祥云县,25.48,100.55,22,39,3,dlbz,yx
  3300. 云南省,大理白族自治州,宾川县,25.83,100.57,22,39,7,dlbz,bc
  3301. 云南省,大理白族自治州,弥渡县,25.34,100.49,22,38,48,dlbz,md
  3302. 云南省,大理白族自治州,南涧彝族自治县,25.04,100.52,22,38,55,dlbz,njyz
  3303. 云南省,大理白族自治州,巍山彝族回族自治县,25.23,100.31,22,38,5,dlbz,wsyzhz
  3304. 云南省,大理白族自治州,永平县,25.46,99.54,22,35,0,dlbz,yp
  3305. 云南省,大理白族自治州,云龙县,25.89,99.37,22,34,19,dlbz,yl
  3306. 云南省,大理白族自治州,洱源县,26.11,99.95,22,36,39,dlbz,ey
  3307. 云南省,大理白族自治州,剑川县,26.54,99.9,22,36,27,dlbz,jc
  3308. 云南省,大理白族自治州,鹤庆县,26.56,100.18,22,37,34,dlbz,hq
  3309. 云南省,德宏傣族景颇族自治州,瑞丽,24.01,97.85,22,28,15,dhdzjpz,rl
  3310. 云南省,德宏傣族景颇族自治州,潞西,24.32,98.42,22,30,31,dhdzjpz,lx
  3311. 云南省,德宏傣族景颇族自治州,梁河县,24.8,98.3,22,30,3,dhdzjpz,lh
  3312. 云南省,德宏傣族景颇族自治州,盈江县,24.7,97.93,22,28,34,dhdzjpz,yj
  3313. 云南省,德宏傣族景颇族自治州,陇川县,24.18,97.79,22,28,0,dhdzjpz,lc
  3314. 云南省,怒江傈傈族自治州,泸水县,25.82,98.86,22,32,17,njllz,ls
  3315. 云南省,怒江傈傈族自治州,福贡县,26.9,98.87,22,32,19,njllz,fg
  3316. 云南省,怒江傈傈族自治州,贡山独龙族怒族自治县,27.74,98.67,22,31,31,njllz,gsdlznz
  3317. 云南省,怒江傈傈族自治州,兰坪白族普米族自治县,26.45,99.42,22,34,31,njllz,lpbzpmz
  3318. 云南省,迪庆藏族自治州,香格里拉县,27.9,99.83,22,36,10,dqzz,xgll
  3319. 云南省,迪庆藏族自治州,德钦县,28.46,98.92,22,32,31,dqzz,dq
  3320. 云南省,迪庆藏族自治州,维西傈傈族自治县,27.18,99.29,22,34,0,dqzz,wxllz
  3321. 浙江省,杭州,市辖区,30.27,120.16,23,57,29,hz,sxq
  3322. 浙江省,杭州,上城区,30.24,120.17,23,57,31,hz,sc
  3323. 浙江省,杭州,下城区,30.28,120.18,23,57,34,hz,xc
  3324. 浙江省,杭州,江干区,30.26,120.21,23,57,41,hz,jg
  3325. 浙江省,杭州,拱墅区,30.32,120.14,23,57,24,hz,gs
  3326. 浙江省,杭州,西湖区,30.26,120.13,23,57,22,hz,xh
  3327. 浙江省,杭州,滨江区,30.21,120.21,23,57,41,hz,bj
  3328. 浙江省,杭州,萧山区,30.19,120.27,23,57,55,hz,xs
  3329. 浙江省,杭州,余杭区,30.42,120.3,23,58,3,hz,yh
  3330. 浙江省,杭州,桐庐县,29.79,119.69,23,55,36,hz,tl
  3331. 浙江省,杭州,淳安县,29.61,119.04,23,53,0,hz,ca
  3332. 浙江省,杭州,建德,29.47,119.28,23,53,58,hz,jd
  3333. 浙江省,杭州,富阳,29.99,119.84,23,56,12,hz,fy
  3334. 浙江省,杭州,临安,30.23,119.73,23,55,46,hz,la
  3335. 浙江省,宁波,市辖区,29.87,121.55,0,3,3,nb,sxq
  3336. 浙江省,宁波,海曙区,29.86,121.55,0,3,3,nb,hs
  3337. 浙江省,宁波,江东区,29.87,121.57,0,3,7,nb,jd
  3338. 浙江省,宁波,江北区,29.89,121.56,0,3,5,nb,jb
  3339. 浙江省,宁波,北仓区,29.9,121.84,0,4,12,nb,bc
  3340. 浙江省,宁波,镇海区,29.95,121.72,0,3,43,nb,zh
  3341. 浙江省,宁波,鄞州区,29.82,121.55,0,3,3,nb,yz
  3342. 浙江省,宁波,象山县,29.82,121.55,0,3,3,nb,xs
  3343. 浙江省,宁波,宁海县,29.29,121.43,0,2,34,nb,nh
  3344. 浙江省,宁波,余姚,30.04,121.15,0,1,27,nb,yy
  3345. 浙江省,宁波,慈溪,30.17,121.27,0,1,55,nb,cx
  3346. 浙江省,宁波,奉化,29.66,121.41,0,2,29,nb,fh
  3347. 浙江省,温州,市辖区,28.01,120.64,23,59,24,wz,sxq
  3348. 浙江省,温州,鹿城区,28.01,120.64,23,59,24,wz,lc
  3349. 浙江省,温州,龙湾区,28.01,120.64,23,59,24,wz,lw
  3350. 浙江省,温州,瓯海区,28.01,120.64,23,59,24,wz,oh
  3351. 浙江省,温州,洞头县,27.84,121.16,0,1,29,wz,dt
  3352. 浙江省,温州,永嘉县,28.15,120.69,23,59,36,wz,yj
  3353. 浙江省,温州,平阳县,27.66,120.57,23,59,7,wz,py
  3354. 浙江省,温州,苍南县,27.52,120.43,23,58,34,wz,cn
  3355. 浙江省,温州,文成县,27.79,120.09,23,57,12,wz,wc
  3356. 浙江省,温州,泰顺县,27.56,119.72,23,55,43,wz,ts
  3357. 浙江省,温州,瑞安,27.78,120.66,23,59,29,wz,ra
  3358. 浙江省,温州,乐清,28.11,120.98,0,0,46,wz,lq
  3359. 浙江省,嘉兴,市辖区,30.75,120.76,23,59,53,jx,sxq
  3360. 浙江省,嘉兴,秀城区,30.71,120.93,0,0,34,jx,xc
  3361. 浙江省,嘉兴,秀洲区,30.76,120.71,23,59,41,jx,xz
  3362. 浙江省,嘉兴,嘉善县,30.83,120.93,0,0,34,jx,js
  3363. 浙江省,嘉兴,海盐县,30.53,120.95,0,0,39,jx,hy
  3364. 浙江省,嘉兴,海宁,30.51,120.68,23,59,34,jx,hn
  3365. 浙江省,嘉兴,平湖,30.68,121.02,0,0,55,jx,ph
  3366. 浙江省,嘉兴,桐乡,30.63,120.56,23,59,5,jx,tx
  3367. 浙江省,湖州,市辖区,30.89,120.09,23,57,12,hz,sxq
  3368. 浙江省,湖州,吴兴区,30.86,120.19,23,57,36,hz,wx
  3369. 浙江省,湖州,南浔区,30.85,120.42,23,58,31,hz,nx
  3370. 浙江省,湖州,德清县,30.85,120.42,23,58,31,hz,dq
  3371. 浙江省,湖州,长兴县,31.03,119.91,23,56,29,hz,cx
  3372. 浙江省,湖州,安吉县,30.64,119.68,23,55,34,hz,aj
  3373. 浙江省,绍兴,市辖区,30.03,120.58,23,59,10,sx,sxq
  3374. 浙江省,绍兴,越城区,29.99,120.58,23,59,10,sx,yc
  3375. 浙江省,绍兴,绍兴县,29.96,120.57,23,59,7,sx,sx
  3376. 浙江省,绍兴,新昌县,29.5,120.91,0,0,29,sx,xc
  3377. 浙江省,绍兴,诸暨,29.71,120.24,23,57,48,sx,zj
  3378. 浙江省,绍兴,上虞,29.97,120.88,0,0,22,sx,sy
  3379. 浙江省,绍兴,嵊州,29.59,120.82,0,0,7,sx,sz
  3380. 浙江省,金华,市辖区,29.08,119.65,23,55,27,jh,sxq
  3381. 浙江省,金华,婺城区,29.09,119.57,23,55,7,jh,wc
  3382. 浙江省,金华,金东区,29.1,119.69,23,55,36,jh,jd
  3383. 浙江省,金华,武义县,28.89,119.82,23,56,7,jh,wy
  3384. 浙江省,金华,浦江县,29.45,119.89,23,56,24,jh,pj
  3385. 浙江省,金华,磐安县,29.05,120.45,23,58,39,jh,pa
  3386. 浙江省,金华,兰溪,29.21,119.46,23,54,41,jh,lx
  3387. 浙江省,金华,义乌,29.31,120.08,23,57,10,jh,yw
  3388. 浙江省,金华,东阳,29.29,120.24,23,57,48,jh,dy
  3389. 浙江省,金华,永康,28.89,120.05,23,57,3,jh,yk
  3390. 浙江省,衢州,市辖区,28.94,118.88,23,52,22,qz,sxq
  3391. 浙江省,衢州,柯城区,28.97,118.87,23,52,19,qz,kc
  3392. 浙江省,衢州,衢江区,28.98,118.96,23,52,41,qz,qj
  3393. 浙江省,衢州,常山县,28.9,118.51,23,50,53,qz,cs
  3394. 浙江省,衢州,开化县,29.14,118.41,23,50,29,qz,kh
  3395. 浙江省,衢州,龙游县,29.03,119.17,23,53,31,qz,ly
  3396. 浙江省,衢州,江山,28.74,118.63,23,51,22,qz,js
  3397. 浙江省,舟山,市辖区,29.98,122.21,0,5,41,zs,sxq
  3398. 浙江省,舟山,定海区,30.02,122.11,0,5,17,zs,dh
  3399. 浙江省,舟山,普陀区,29.95,122.3,0,6,3,zs,pt
  3400. 浙江省,舟山,岱山县,30.24,122.21,0,5,41,zs,ds
  3401. 浙江省,舟山,嵊泗县,30.73,122.45,0,6,39,zs,ss
  3402. 浙江省,台州,市辖区,28.66,121.42,0,2,31,tz,sxq
  3403. 浙江省,台州,椒江区,28.67,121.44,0,2,36,tz,jj
  3404. 浙江省,台州,黄岩区,28.65,121.26,0,1,53,tz,hy
  3405. 浙江省,台州,路桥区,28.58,121.37,0,2,19,tz,lq
  3406. 浙江省,台州,玉环县,28.14,121.23,0,1,46,tz,yh
  3407. 浙江省,台州,三门县,29.1,121.4,0,2,27,tz,sm
  3408. 浙江省,台州,天台县,29.14,121.01,0,0,53,tz,tt
  3409. 浙江省,台州,仙居县,28.85,120.73,23,59,46,tz,xj
  3410. 浙江省,台州,温岭,28.37,121.39,0,2,24,tz,wl
  3411. 浙江省,台州,临海,28.86,121.15,0,1,27,tz,lh
  3412. 浙江省,丽水,市辖区,28.47,119.92,23,56,31,ls,sxq
  3413. 浙江省,丽水,莲都区,28.45,119.91,23,56,29,ls,ld
  3414. 浙江省,丽水,青田县,28.14,120.29,23,58,0,ls,qt
  3415. 浙江省,丽水,缙云县,28.66,120.09,23,57,12,ls,jy
  3416. 浙江省,丽水,遂昌县,28.59,119.28,23,53,58,ls,sc
  3417. 浙江省,丽水,松阳县,28.45,119.48,23,54,46,ls,sy
  3418. 浙江省,丽水,云和县,28.12,119.57,23,55,7,ls,yh
  3419. 浙江省,丽水,庆元县,27.62,119.06,23,53,5,ls,qy
  3420. 浙江省,丽水,景宁畲族自治县,27.97,119.64,23,55,24,ls,jnsz
  3421. 浙江省,丽水,龙泉,28.07,119.14,23,53,24,ls,lq`})(s5||(s5={}));var Jm;(e=>{function t(l){let s={};return Object.keys(l).forEach(function(u){s[u]=l[u]}),s}class n{constructor(){ne(this,"sheng");ne(this,"shi");ne(this,"qu");ne(this,"weidu");ne(this,"jingdu");ne(this,"hour");ne(this,"minute");ne(this,"second");ne(this,"shiPinYin");ne(this,"quPinYin")}}e.Area=n;class r{constructor(){ne(this,"date");ne(this,"month");ne(this,"day");ne(this,"year")}}e.NongLi=r;class a{constructor(){ne(this,"code");ne(this,"msg")}isSuccess(){return this.code==0}isError(){return this.code<0}isLargeError(){return this.code==-100}static build(s){let u=new a;try{let c=JSON.parse(s);u.code=c.code,u.msg=c.msg}catch{u.code=-1,u.msg="解析错误"}return u}}e.BaseResponse=a;class i{toData(){return t(this)}}e.BaseRequest=i;class o extends i{constructor(){super(...arguments);ne(this,"user_name","");ne(this,"is_man",!1);ne(this,"date_mode",0);ne(this,"born_year",0);ne(this,"born_month",0);ne(this,"born_day",0);ne(this,"know_time",0);ne(this,"born_hour",0);ne(this,"born_minute",0);ne(this,"born_sheng","");ne(this,"born_shi","");ne(this,"born_qu","");ne(this,"open_id","")}}e.UserRequest=o})(Jm||(Jm={}));var u5;(e=>{e.nongli=`1900/1/1,腊月,初一,1900
  3422. 1900/1/30,腊月,三十,1900
  3423. 1900/1/31,正月,初一,1900
  3424. 1900/2/28,正月,廿九,1900
  3425. 1900/3/1,二月,初一,1900
  3426. 1900/3/30,二月,三十,1900
  3427. 1900/3/31,三月,初一,1900
  3428. 1900/4/28,三月,廿九,1900
  3429. 1900/4/29,四月,初一,1900
  3430. 1900/5/27,四月,廿九,1900
  3431. 1900/5/28,五月,初一,1900
  3432. 1900/6/26,五月,三十,1900
  3433. 1900/6/27,六月,初一,1900
  3434. 1900/7/25,六月,廿九,1900
  3435. 1900/7/26,七月,初一,1900
  3436. 1900/8/24,七月,三十,1900
  3437. 1900/8/25,八月,初一,1900
  3438. 1900/9/23,八月,三十,1900
  3439. 1900/9/24,闰八月,初一,1900
  3440. 1900/10/22,闰八月,廿九,1900
  3441. 1900/10/23,九月,初一,1900
  3442. 1900/11/21,九月,三十,1900
  3443. 1900/11/22,十月,初一,1900
  3444. 1900/12/21,十月,三十,1900
  3445. 1900/12/22,冬月,初一,1900
  3446. 1901/1/19,冬月,廿九,1900
  3447. 1901/1/20,腊月,初一,1901
  3448. 1901/2/18,腊月,三十,1901
  3449. 1901/2/19,正月,初一,1901
  3450. 1901/3/19,正月,廿九,1901
  3451. 1901/3/20,二月,初一,1901
  3452. 1901/4/18,二月,三十,1901
  3453. 1901/4/19,三月,初一,1901
  3454. 1901/5/17,三月,廿九,1901
  3455. 1901/5/18,四月,初一,1901
  3456. 1901/6/15,四月,廿九,1901
  3457. 1901/6/16,五月,初一,1901
  3458. 1901/7/15,五月,三十,1901
  3459. 1901/7/16,六月,初一,1901
  3460. 1901/8/13,六月,廿九,1901
  3461. 1901/8/14,七月,初一,1901
  3462. 1901/9/12,七月,三十,1901
  3463. 1901/9/13,八月,初一,1901
  3464. 1901/10/11,八月,廿九,1901
  3465. 1901/10/12,九月,初一,1901
  3466. 1901/11/10,九月,三十,1901
  3467. 1901/11/11,十月,初一,1901
  3468. 1901/12/10,十月,三十,1901
  3469. 1901/12/11,冬月,初一,1901
  3470. 1902/1/9,冬月,三十,1901
  3471. 1902/1/10,腊月,初一,1902
  3472. 1902/2/7,腊月,廿九,1902
  3473. 1902/2/8,正月,初一,1902
  3474. 1902/3/9,正月,三十,1902
  3475. 1902/3/10,二月,初一,1902
  3476. 1902/4/7,二月,廿九,1902
  3477. 1902/4/8,三月,初一,1902
  3478. 1902/5/7,三月,三十,1902
  3479. 1902/5/8,四月,初一,1902
  3480. 1902/6/5,四月,廿九,1902
  3481. 1902/6/6,五月,初一,1902
  3482. 1902/7/4,五月,廿九,1902
  3483. 1902/7/5,六月,初一,1902
  3484. 1902/8/3,六月,三十,1902
  3485. 1902/8/4,七月,初一,1902
  3486. 1902/9/1,七月,廿九,1902
  3487. 1902/9/2,八月,初一,1902
  3488. 1902/10/1,八月,三十,1902
  3489. 1902/10/2,九月,初一,1902
  3490. 1902/10/30,九月,廿九,1902
  3491. 1902/10/31,十月,初一,1902
  3492. 1902/11/29,十月,三十,1902
  3493. 1902/11/30,冬月,初一,1902
  3494. 1902/12/29,冬月,三十,1902
  3495. 1902/12/30,腊月,初一,1903
  3496. 1903/1/28,腊月,三十,1903
  3497. 1903/1/29,正月,初一,1903
  3498. 1903/2/26,正月,廿九,1903
  3499. 1903/2/27,二月,初一,1903
  3500. 1903/3/28,二月,三十,1903
  3501. 1903/3/29,三月,初一,1903
  3502. 1903/4/26,三月,廿九,1903
  3503. 1903/4/27,四月,初一,1903
  3504. 1903/5/26,四月,三十,1903
  3505. 1903/5/27,五月,初一,1903
  3506. 1903/6/24,五月,廿九,1903
  3507. 1903/6/25,闰五月,初一,1903
  3508. 1903/7/23,闰五月,廿九,1903
  3509. 1903/7/24,六月,初一,1903
  3510. 1903/8/22,六月,三十,1903
  3511. 1903/8/23,七月,初一,1903
  3512. 1903/9/20,七月,廿九,1903
  3513. 1903/9/21,八月,初一,1903
  3514. 1903/10/19,八月,廿九,1903
  3515. 1903/10/20,九月,初一,1903
  3516. 1903/11/18,九月,三十,1903
  3517. 1903/11/19,十月,初一,1903
  3518. 1903/12/18,十月,三十,1903
  3519. 1903/12/19,冬月,初一,1903
  3520. 1904/1/16,冬月,廿九,1903
  3521. 1904/1/17,腊月,初一,1904
  3522. 1904/2/15,腊月,三十,1904
  3523. 1904/2/16,正月,初一,1904
  3524. 1904/3/16,正月,三十,1904
  3525. 1904/3/17,二月,初一,1904
  3526. 1904/4/15,二月,三十,1904
  3527. 1904/4/16,三月,初一,1904
  3528. 1904/5/14,三月,廿九,1904
  3529. 1904/5/15,四月,初一,1904
  3530. 1904/6/13,四月,三十,1904
  3531. 1904/6/14,五月,初一,1904
  3532. 1904/7/12,五月,廿九,1904
  3533. 1904/7/13,六月,初一,1904
  3534. 1904/8/10,六月,廿九,1904
  3535. 1904/8/11,七月,初一,1904
  3536. 1904/9/9,七月,三十,1904
  3537. 1904/9/10,八月,初一,1904
  3538. 1904/10/8,八月,廿九,1904
  3539. 1904/10/9,九月,初一,1904
  3540. 1904/11/6,九月,廿九,1904
  3541. 1904/11/7,十月,初一,1904
  3542. 1904/12/6,十月,三十,1904
  3543. 1904/12/7,冬月,初一,1904
  3544. 1905/1/5,冬月,三十,1904
  3545. 1905/1/6,腊月,初一,1905
  3546. 1905/2/3,腊月,廿九,1905
  3547. 1905/2/4,正月,初一,1905
  3548. 1905/3/5,正月,三十,1905
  3549. 1905/3/6,二月,初一,1905
  3550. 1905/4/4,二月,三十,1905
  3551. 1905/4/5,三月,初一,1905
  3552. 1905/5/3,三月,廿九,1905
  3553. 1905/5/4,四月,初一,1905
  3554. 1905/6/2,四月,三十,1905
  3555. 1905/6/3,五月,初一,1905
  3556. 1905/7/2,五月,三十,1905
  3557. 1905/7/3,六月,初一,1905
  3558. 1905/7/31,六月,廿九,1905
  3559. 1905/8/1,七月,初一,1905
  3560. 1905/8/29,七月,廿九,1905
  3561. 1905/8/30,八月,初一,1905
  3562. 1905/9/28,八月,三十,1905
  3563. 1905/9/29,九月,初一,1905
  3564. 1905/10/27,九月,廿九,1905
  3565. 1905/10/28,十月,初一,1905
  3566. 1905/11/26,十月,三十,1905
  3567. 1905/11/27,冬月,初一,1905
  3568. 1905/12/25,冬月,廿九,1905
  3569. 1905/12/26,腊月,初一,1906
  3570. 1906/1/24,腊月,三十,1906
  3571. 1906/1/25,正月,初一,1906
  3572. 1906/2/22,正月,廿九,1906
  3573. 1906/2/23,二月,初一,1906
  3574. 1906/3/24,二月,三十,1906
  3575. 1906/3/25,三月,初一,1906
  3576. 1906/4/23,三月,三十,1906
  3577. 1906/4/24,四月,初一,1906
  3578. 1906/5/22,四月,廿九,1906
  3579. 1906/5/23,闰四月,初一,1906
  3580. 1906/6/21,闰四月,三十,1906
  3581. 1906/6/22,五月,初一,1906
  3582. 1906/7/20,五月,廿九,1906
  3583. 1906/7/21,六月,初一,1906
  3584. 1906/8/19,六月,三十,1906
  3585. 1906/8/20,七月,初一,1906
  3586. 1906/9/17,七月,廿九,1906
  3587. 1906/9/18,八月,初一,1906
  3588. 1906/10/17,八月,三十,1906
  3589. 1906/10/18,九月,初一,1906
  3590. 1906/11/15,九月,廿九,1906
  3591. 1906/11/16,十月,初一,1906
  3592. 1906/12/15,十月,三十,1906
  3593. 1906/12/16,冬月,初一,1906
  3594. 1907/1/13,冬月,廿九,1906
  3595. 1907/1/14,腊月,初一,1907
  3596. 1907/2/12,腊月,三十,1907
  3597. 1907/2/13,正月,初一,1907
  3598. 1907/3/13,正月,廿九,1907
  3599. 1907/3/14,二月,初一,1907
  3600. 1907/4/12,二月,三十,1907
  3601. 1907/4/13,三月,初一,1907
  3602. 1907/5/11,三月,廿九,1907
  3603. 1907/5/12,四月,初一,1907
  3604. 1907/6/10,四月,三十,1907
  3605. 1907/6/11,五月,初一,1907
  3606. 1907/7/9,五月,廿九,1907
  3607. 1907/7/10,六月,初一,1907
  3608. 1907/8/8,六月,三十,1907
  3609. 1907/8/9,七月,初一,1907
  3610. 1907/9/7,七月,三十,1907
  3611. 1907/9/8,八月,初一,1907
  3612. 1907/10/6,八月,廿九,1907
  3613. 1907/10/7,九月,初一,1907
  3614. 1907/11/5,九月,三十,1907
  3615. 1907/11/6,十月,初一,1907
  3616. 1907/12/4,十月,廿九,1907
  3617. 1907/12/5,冬月,初一,1907
  3618. 1908/1/3,冬月,三十,1907
  3619. 1908/1/4,腊月,初一,1908
  3620. 1908/2/1,腊月,廿九,1908
  3621. 1908/2/2,正月,初一,1908
  3622. 1908/3/2,正月,三十,1908
  3623. 1908/3/3,二月,初一,1908
  3624. 1908/3/31,二月,廿九,1908
  3625. 1908/4/1,三月,初一,1908
  3626. 1908/4/29,三月,廿九,1908
  3627. 1908/4/30,四月,初一,1908
  3628. 1908/5/29,四月,三十,1908
  3629. 1908/5/30,五月,初一,1908
  3630. 1908/6/28,五月,三十,1908
  3631. 1908/6/29,六月,初一,1908
  3632. 1908/7/27,六月,廿九,1908
  3633. 1908/7/28,七月,初一,1908
  3634. 1908/8/26,七月,三十,1908
  3635. 1908/8/27,八月,初一,1908
  3636. 1908/9/24,八月,廿九,1908
  3637. 1908/9/25,九月,初一,1908
  3638. 1908/10/24,九月,三十,1908
  3639. 1908/10/25,十月,初一,1908
  3640. 1908/11/23,十月,三十,1908
  3641. 1908/11/24,冬月,初一,1908
  3642. 1908/12/22,冬月,廿九,1908
  3643. 1908/12/23,腊月,初一,1909
  3644. 1909/1/21,腊月,三十,1909
  3645. 1909/1/22,正月,初一,1909
  3646. 1909/2/19,正月,廿九,1909
  3647. 1909/2/20,二月,初一,1909
  3648. 1909/3/21,二月,三十,1909
  3649. 1909/3/22,闰二月,初一,1909
  3650. 1909/4/19,闰二月,廿九,1909
  3651. 1909/4/20,三月,初一,1909
  3652. 1909/5/18,三月,廿九,1909
  3653. 1909/5/19,四月,初一,1909
  3654. 1909/6/17,四月,三十,1909
  3655. 1909/6/18,五月,初一,1909
  3656. 1909/7/16,五月,廿九,1909
  3657. 1909/7/17,六月,初一,1909
  3658. 1909/8/15,六月,三十,1909
  3659. 1909/8/16,七月,初一,1909
  3660. 1909/9/13,七月,廿九,1909
  3661. 1909/9/14,八月,初一,1909
  3662. 1909/10/13,八月,三十,1909
  3663. 1909/10/14,九月,初一,1909
  3664. 1909/11/12,九月,三十,1909
  3665. 1909/11/13,十月,初一,1909
  3666. 1909/12/12,十月,三十,1909
  3667. 1909/12/13,冬月,初一,1909
  3668. 1910/1/10,冬月,廿九,1909
  3669. 1910/1/11,腊月,初一,1910
  3670. 1910/2/9,腊月,三十,1910
  3671. 1910/2/10,正月,初一,1910
  3672. 1910/3/10,正月,廿九,1910
  3673. 1910/3/11,二月,初一,1910
  3674. 1910/4/9,二月,三十,1910
  3675. 1910/4/10,三月,初一,1910
  3676. 1910/5/8,三月,廿九,1910
  3677. 1910/5/9,四月,初一,1910
  3678. 1910/6/6,四月,廿九,1910
  3679. 1910/6/7,五月,初一,1910
  3680. 1910/7/6,五月,三十,1910
  3681. 1910/7/7,六月,初一,1910
  3682. 1910/8/4,六月,廿九,1910
  3683. 1910/8/5,七月,初一,1910
  3684. 1910/9/3,七月,三十,1910
  3685. 1910/9/4,八月,初一,1910
  3686. 1910/10/2,八月,廿九,1910
  3687. 1910/10/3,九月,初一,1910
  3688. 1910/11/1,九月,三十,1910
  3689. 1910/11/2,十月,初一,1910
  3690. 1910/12/1,十月,三十,1910
  3691. 1910/12/2,冬月,初一,1910
  3692. 1910/12/31,冬月,三十,1910
  3693. 1911/1/1,腊月,初一,1911
  3694. 1911/1/29,腊月,廿九,1911
  3695. 1911/1/30,正月,初一,1911
  3696. 1911/2/28,正月,三十,1911
  3697. 1911/3/1,二月,初一,1911
  3698. 1911/3/29,二月,廿九,1911
  3699. 1911/3/30,三月,初一,1911
  3700. 1911/4/28,三月,三十,1911
  3701. 1911/4/29,四月,初一,1911
  3702. 1911/5/27,四月,廿九,1911
  3703. 1911/5/28,五月,初一,1911
  3704. 1911/6/25,五月,廿九,1911
  3705. 1911/6/26,六月,初一,1911
  3706. 1911/7/25,六月,三十,1911
  3707. 1911/7/26,闰六月,初一,1911
  3708. 1911/8/23,闰六月,廿九,1911
  3709. 1911/8/24,七月,初一,1911
  3710. 1911/9/21,七月,廿九,1911
  3711. 1911/9/22,八月,初一,1911
  3712. 1911/10/21,八月,三十,1911
  3713. 1911/10/22,九月,初一,1911
  3714. 1911/11/20,九月,三十,1911
  3715. 1911/11/21,十月,初一,1911
  3716. 1911/12/19,十月,廿九,1911
  3717. 1911/12/20,冬月,初一,1911
  3718. 1912/1/18,冬月,三十,1911
  3719. 1912/1/19,腊月,初一,1912
  3720. 1912/2/17,腊月,三十,1912
  3721. 1912/2/18,正月,初一,1912
  3722. 1912/3/18,正月,三十,1912
  3723. 1912/3/19,二月,初一,1912
  3724. 1912/4/16,二月,廿九,1912
  3725. 1912/4/17,三月,初一,1912
  3726. 1912/5/16,三月,三十,1912
  3727. 1912/5/17,四月,初一,1912
  3728. 1912/6/14,四月,廿九,1912
  3729. 1912/6/15,五月,初一,1912
  3730. 1912/7/13,五月,廿九,1912
  3731. 1912/7/14,六月,初一,1912
  3732. 1912/8/12,六月,三十,1912
  3733. 1912/8/13,七月,初一,1912
  3734. 1912/9/10,七月,廿九,1912
  3735. 1912/9/11,八月,初一,1912
  3736. 1912/10/9,八月,廿九,1912
  3737. 1912/10/10,九月,初一,1912
  3738. 1912/11/8,九月,三十,1912
  3739. 1912/11/9,十月,初一,1912
  3740. 1912/12/8,十月,三十,1912
  3741. 1912/12/9,冬月,初一,1912
  3742. 1913/1/6,冬月,廿九,1912
  3743. 1913/1/7,腊月,初一,1913
  3744. 1913/2/5,腊月,三十,1913
  3745. 1913/2/6,正月,初一,1913
  3746. 1913/3/7,正月,三十,1913
  3747. 1913/3/8,二月,初一,1913
  3748. 1913/4/6,二月,三十,1913
  3749. 1913/4/7,三月,初一,1913
  3750. 1913/5/5,三月,廿九,1913
  3751. 1913/5/6,四月,初一,1913
  3752. 1913/6/4,四月,三十,1913
  3753. 1913/6/5,五月,初一,1913
  3754. 1913/7/3,五月,廿九,1913
  3755. 1913/7/4,六月,初一,1913
  3756. 1913/8/1,六月,廿九,1913
  3757. 1913/8/2,七月,初一,1913
  3758. 1913/8/31,七月,三十,1913
  3759. 1913/9/1,八月,初一,1913
  3760. 1913/9/29,八月,廿九,1913
  3761. 1913/9/30,九月,初一,1913
  3762. 1913/10/28,九月,廿九,1913
  3763. 1913/10/29,十月,初一,1913
  3764. 1913/11/27,十月,三十,1913
  3765. 1913/11/28,冬月,初一,1913
  3766. 1913/12/26,冬月,廿九,1913
  3767. 1913/12/27,腊月,初一,1914
  3768. 1914/1/25,腊月,三十,1914
  3769. 1914/1/26,正月,初一,1914
  3770. 1914/2/24,正月,三十,1914
  3771. 1914/2/25,二月,初一,1914
  3772. 1914/3/26,二月,三十,1914
  3773. 1914/3/27,三月,初一,1914
  3774. 1914/4/24,三月,廿九,1914
  3775. 1914/4/25,四月,初一,1914
  3776. 1914/5/24,四月,三十,1914
  3777. 1914/5/25,五月,初一,1914
  3778. 1914/6/22,五月,廿九,1914
  3779. 1914/6/23,闰五月,初一,1914
  3780. 1914/7/22,闰五月,三十,1914
  3781. 1914/7/23,六月,初一,1914
  3782. 1914/8/20,六月,廿九,1914
  3783. 1914/8/21,七月,初一,1914
  3784. 1914/9/19,七月,三十,1914
  3785. 1914/9/20,八月,初一,1914
  3786. 1914/10/18,八月,廿九,1914
  3787. 1914/10/19,九月,初一,1914
  3788. 1914/11/16,九月,廿九,1914
  3789. 1914/11/17,十月,初一,1914
  3790. 1914/12/16,十月,三十,1914
  3791. 1914/12/17,冬月,初一,1914
  3792. 1915/1/14,冬月,廿九,1914
  3793. 1915/1/15,腊月,初一,1915
  3794. 1915/2/13,腊月,三十,1915
  3795. 1915/2/14,正月,初一,1915
  3796. 1915/3/15,正月,三十,1915
  3797. 1915/3/16,二月,初一,1915
  3798. 1915/4/13,二月,廿九,1915
  3799. 1915/4/14,三月,初一,1915
  3800. 1915/5/13,三月,三十,1915
  3801. 1915/5/14,四月,初一,1915
  3802. 1915/6/12,四月,三十,1915
  3803. 1915/6/13,五月,初一,1915
  3804. 1915/7/11,五月,廿九,1915
  3805. 1915/7/12,六月,初一,1915
  3806. 1915/8/10,六月,三十,1915
  3807. 1915/8/11,七月,初一,1915
  3808. 1915/9/8,七月,廿九,1915
  3809. 1915/9/9,八月,初一,1915
  3810. 1915/10/8,八月,三十,1915
  3811. 1915/10/9,九月,初一,1915
  3812. 1915/11/6,九月,廿九,1915
  3813. 1915/11/7,十月,初一,1915
  3814. 1915/12/6,十月,三十,1915
  3815. 1915/12/7,冬月,初一,1915
  3816. 1916/1/4,冬月,廿九,1915
  3817. 1916/1/5,腊月,初一,1916
  3818. 1916/2/2,腊月,廿九,1916
  3819. 1916/2/3,正月,初一,1916
  3820. 1916/3/3,正月,三十,1916
  3821. 1916/3/4,二月,初一,1916
  3822. 1916/4/2,二月,三十,1916
  3823. 1916/4/3,三月,初一,1916
  3824. 1916/5/1,三月,廿九,1916
  3825. 1916/5/2,四月,初一,1916
  3826. 1916/5/31,四月,三十,1916
  3827. 1916/6/1,五月,初一,1916
  3828. 1916/6/29,五月,廿九,1916
  3829. 1916/6/30,六月,初一,1916
  3830. 1916/7/29,六月,三十,1916
  3831. 1916/7/30,七月,初一,1916
  3832. 1916/8/28,七月,三十,1916
  3833. 1916/8/29,八月,初一,1916
  3834. 1916/9/26,八月,廿九,1916
  3835. 1916/9/27,九月,初一,1916
  3836. 1916/10/26,九月,三十,1916
  3837. 1916/10/27,十月,初一,1916
  3838. 1916/11/24,十月,廿九,1916
  3839. 1916/11/25,冬月,初一,1916
  3840. 1916/12/24,冬月,三十,1916
  3841. 1916/12/25,腊月,初一,1917
  3842. 1917/1/22,腊月,廿九,1917
  3843. 1917/1/23,正月,初一,1917
  3844. 1917/2/21,正月,三十,1917
  3845. 1917/2/22,二月,初一,1917
  3846. 1917/3/22,二月,廿九,1917
  3847. 1917/3/23,闰二月,初一,1917
  3848. 1917/4/20,闰二月,廿九,1917
  3849. 1917/4/21,三月,初一,1917
  3850. 1917/5/20,三月,三十,1917
  3851. 1917/5/21,四月,初一,1917
  3852. 1917/6/18,四月,廿九,1917
  3853. 1917/6/19,五月,初一,1917
  3854. 1917/7/18,五月,三十,1917
  3855. 1917/7/19,六月,初一,1917
  3856. 1917/8/17,六月,三十,1917
  3857. 1917/8/18,七月,初一,1917
  3858. 1917/9/15,七月,廿九,1917
  3859. 1917/9/16,八月,初一,1917
  3860. 1917/10/15,八月,三十,1917
  3861. 1917/10/16,九月,初一,1917
  3862. 1917/11/14,九月,三十,1917
  3863. 1917/11/15,十月,初一,1917
  3864. 1917/12/13,十月,廿九,1917
  3865. 1917/12/14,冬月,初一,1917
  3866. 1918/1/12,冬月,三十,1917
  3867. 1918/1/13,腊月,初一,1917
  3868. 1918/2/10,腊月,廿九,1917
  3869. 1918/2/11,正月,初一,1918
  3870. 1918/3/12,正月,三十,1918
  3871. 1918/3/13,二月,初一,1918
  3872. 1918/4/10,二月,廿九,1918
  3873. 1918/4/11,三月,初一,1918
  3874. 1918/5/9,三月,廿九,1918
  3875. 1918/5/10,四月,初一,1918
  3876. 1918/6/8,四月,三十,1918
  3877. 1918/6/9,五月,初一,1918
  3878. 1918/7/7,五月,廿九,1918
  3879. 1918/7/8,六月,初一,1918
  3880. 1918/8/6,六月,三十,1918
  3881. 1918/8/7,七月,初一,1918
  3882. 1918/9/4,七月,廿九,1918
  3883. 1918/9/5,八月,初一,1918
  3884. 1918/10/4,八月,三十,1918
  3885. 1918/10/5,九月,初一,1918
  3886. 1918/11/3,九月,三十,1918
  3887. 1918/11/4,十月,初一,1918
  3888. 1918/12/2,十月,廿九,1918
  3889. 1918/12/3,冬月,初一,1918
  3890. 1919/1/1,冬月,三十,1918
  3891. 1919/1/2,腊月,初一,1918
  3892. 1919/1/31,腊月,三十,1918
  3893. 1919/2/1,正月,初一,1919
  3894. 1919/3/1,正月,廿九,1919
  3895. 1919/3/2,二月,初一,1919
  3896. 1919/3/31,二月,三十,1919
  3897. 1919/4/1,三月,初一,1919
  3898. 1919/4/29,三月,廿九,1919
  3899. 1919/4/30,四月,初一,1919
  3900. 1919/5/28,四月,廿九,1919
  3901. 1919/5/29,五月,初一,1919
  3902. 1919/6/27,五月,三十,1919
  3903. 1919/6/28,六月,初一,1919
  3904. 1919/7/26,六月,廿九,1919
  3905. 1919/7/27,七月,初一,1919
  3906. 1919/8/24,七月,廿九,1919
  3907. 1919/8/25,闰七月,初一,1919
  3908. 1919/9/23,闰七月,三十,1919
  3909. 1919/9/24,八月,初一,1919
  3910. 1919/10/23,八月,三十,1919
  3911. 1919/10/24,九月,初一,1919
  3912. 1919/11/21,九月,廿九,1919
  3913. 1919/11/22,十月,初一,1919
  3914. 1919/12/21,十月,三十,1919
  3915. 1919/12/22,冬月,初一,1919
  3916. 1920/1/20,冬月,三十,1919
  3917. 1920/1/21,腊月,初一,1919
  3918. 1920/2/19,腊月,三十,1919
  3919. 1920/2/20,正月,初一,1920
  3920. 1920/3/19,正月,廿九,1920
  3921. 1920/3/20,二月,初一,1920
  3922. 1920/4/18,二月,三十,1920
  3923. 1920/4/19,三月,初一,1920
  3924. 1920/5/17,三月,廿九,1920
  3925. 1920/5/18,四月,初一,1920
  3926. 1920/6/15,四月,廿九,1920
  3927. 1920/6/16,五月,初一,1920
  3928. 1920/7/15,五月,三十,1920
  3929. 1920/7/16,六月,初一,1920
  3930. 1920/8/13,六月,廿九,1920
  3931. 1920/8/14,七月,初一,1920
  3932. 1920/9/11,七月,廿九,1920
  3933. 1920/9/12,八月,初一,1920
  3934. 1920/10/11,八月,三十,1920
  3935. 1920/10/12,九月,初一,1920
  3936. 1920/11/9,九月,廿九,1920
  3937. 1920/11/10,十月,初一,1920
  3938. 1920/12/9,十月,三十,1920
  3939. 1920/12/10,冬月,初一,1920
  3940. 1921/1/8,冬月,三十,1920
  3941. 1921/1/9,腊月,初一,1920
  3942. 1921/2/7,腊月,三十,1920
  3943. 1921/2/8,正月,初一,1921
  3944. 1921/3/9,正月,三十,1921
  3945. 1921/3/10,二月,初一,1921
  3946. 1921/4/7,二月,廿九,1921
  3947. 1921/4/8,三月,初一,1921
  3948. 1921/5/7,三月,三十,1921
  3949. 1921/5/8,四月,初一,1921
  3950. 1921/6/5,四月,廿九,1921
  3951. 1921/6/6,五月,初一,1921
  3952. 1921/7/4,五月,廿九,1921
  3953. 1921/7/5,六月,初一,1921
  3954. 1921/8/3,六月,三十,1921
  3955. 1921/8/4,七月,初一,1921
  3956. 1921/9/1,七月,廿九,1921
  3957. 1921/9/2,八月,初一,1921
  3958. 1921/9/30,八月,廿九,1921
  3959. 1921/10/1,九月,初一,1921
  3960. 1921/10/30,九月,三十,1921
  3961. 1921/10/31,十月,初一,1921
  3962. 1921/11/28,十月,廿九,1921
  3963. 1921/11/29,冬月,初一,1921
  3964. 1921/12/28,冬月,三十,1921
  3965. 1921/12/29,腊月,初一,1921
  3966. 1922/1/27,腊月,三十,1921
  3967. 1922/1/28,正月,初一,1922
  3968. 1922/2/26,正月,三十,1922
  3969. 1922/2/27,二月,初一,1922
  3970. 1922/3/27,二月,廿九,1922
  3971. 1922/3/28,三月,初一,1922
  3972. 1922/4/26,三月,三十,1922
  3973. 1922/4/27,四月,初一,1922
  3974. 1922/5/26,四月,三十,1922
  3975. 1922/5/27,五月,初一,1922
  3976. 1922/6/24,五月,廿九,1922
  3977. 1922/6/25,闰五月,初一,1922
  3978. 1922/7/23,闰五月,廿九,1922
  3979. 1922/7/24,六月,初一,1922
  3980. 1922/8/22,六月,三十,1922
  3981. 1922/8/23,七月,初一,1922
  3982. 1922/9/20,七月,廿九,1922
  3983. 1922/9/21,八月,初一,1922
  3984. 1922/10/19,八月,廿九,1922
  3985. 1922/10/20,九月,初一,1922
  3986. 1922/11/18,九月,三十,1922
  3987. 1922/11/19,十月,初一,1922
  3988. 1922/12/17,十月,廿九,1922
  3989. 1922/12/18,冬月,初一,1922
  3990. 1923/1/16,冬月,三十,1922
  3991. 1923/1/17,腊月,初一,1922
  3992. 1923/2/15,腊月,三十,1922
  3993. 1923/2/16,正月,初一,1923
  3994. 1923/3/16,正月,廿九,1923
  3995. 1923/3/17,二月,初一,1923
  3996. 1923/4/15,二月,三十,1923
  3997. 1923/4/16,三月,初一,1923
  3998. 1923/5/15,三月,三十,1923
  3999. 1923/5/16,四月,初一,1923
  4000. 1923/6/13,四月,廿九,1923
  4001. 1923/6/14,五月,初一,1923
  4002. 1923/7/13,五月,三十,1923
  4003. 1923/7/14,六月,初一,1923
  4004. 1923/8/11,六月,廿九,1923
  4005. 1923/8/12,七月,初一,1923
  4006. 1923/9/10,七月,三十,1923
  4007. 1923/9/11,八月,初一,1923
  4008. 1923/10/9,八月,廿九,1923
  4009. 1923/10/10,九月,初一,1923
  4010. 1923/11/7,九月,廿九,1923
  4011. 1923/11/8,十月,初一,1923
  4012. 1923/12/7,十月,三十,1923
  4013. 1923/12/8,冬月,初一,1923
  4014. 1924/1/5,冬月,廿九,1923
  4015. 1924/1/6,腊月,初一,1923
  4016. 1924/2/4,腊月,三十,1923
  4017. 1924/2/5,正月,初一,1924
  4018. 1924/3/4,正月,廿九,1924
  4019. 1924/3/5,二月,初一,1924
  4020. 1924/4/3,二月,三十,1924
  4021. 1924/4/4,三月,初一,1924
  4022. 1924/5/3,三月,三十,1924
  4023. 1924/5/4,四月,初一,1924
  4024. 1924/6/1,四月,廿九,1924
  4025. 1924/6/2,五月,初一,1924
  4026. 1924/7/1,五月,三十,1924
  4027. 1924/7/2,六月,初一,1924
  4028. 1924/7/31,六月,三十,1924
  4029. 1924/8/1,七月,初一,1924
  4030. 1924/8/29,七月,廿九,1924
  4031. 1924/8/30,八月,初一,1924
  4032. 1924/9/28,八月,三十,1924
  4033. 1924/9/29,九月,初一,1924
  4034. 1924/10/27,九月,廿九,1924
  4035. 1924/10/28,十月,初一,1924
  4036. 1924/11/26,十月,三十,1924
  4037. 1924/11/27,冬月,初一,1924
  4038. 1924/12/25,冬月,廿九,1924
  4039. 1924/12/26,腊月,初一,1924
  4040. 1925/1/23,腊月,廿九,1924
  4041. 1925/1/24,正月,初一,1925
  4042. 1925/2/22,正月,三十,1925
  4043. 1925/2/23,二月,初一,1925
  4044. 1925/3/23,二月,廿九,1925
  4045. 1925/3/24,三月,初一,1925
  4046. 1925/4/22,三月,三十,1925
  4047. 1925/4/23,四月,初一,1925
  4048. 1925/5/21,四月,廿九,1925
  4049. 1925/5/22,闰四月,初一,1925
  4050. 1925/6/20,闰四月,三十,1925
  4051. 1925/6/21,五月,初一,1925
  4052. 1925/7/20,五月,三十,1925
  4053. 1925/7/21,六月,初一,1925
  4054. 1925/8/18,六月,廿九,1925
  4055. 1925/8/19,七月,初一,1925
  4056. 1925/9/17,七月,三十,1925
  4057. 1925/9/18,八月,初一,1925
  4058. 1925/10/17,八月,三十,1925
  4059. 1925/10/18,九月,初一,1925
  4060. 1925/11/15,九月,廿九,1925
  4061. 1925/11/16,十月,初一,1925
  4062. 1925/12/15,十月,三十,1925
  4063. 1925/12/16,冬月,初一,1925
  4064. 1926/1/13,冬月,廿九,1925
  4065. 1926/1/14,腊月,初一,1925
  4066. 1926/2/12,腊月,三十,1925
  4067. 1926/2/13,正月,初一,1926
  4068. 1926/3/13,正月,廿九,1926
  4069. 1926/3/14,二月,初一,1926
  4070. 1926/4/11,二月,廿九,1926
  4071. 1926/4/12,三月,初一,1926
  4072. 1926/5/11,三月,三十,1926
  4073. 1926/5/12,四月,初一,1926
  4074. 1926/6/9,四月,廿九,1926
  4075. 1926/6/10,五月,初一,1926
  4076. 1926/7/9,五月,三十,1926
  4077. 1926/7/10,六月,初一,1926
  4078. 1926/8/7,六月,廿九,1926
  4079. 1926/8/8,七月,初一,1926
  4080. 1926/9/6,七月,三十,1926
  4081. 1926/9/7,八月,初一,1926
  4082. 1926/10/6,八月,三十,1926
  4083. 1926/10/7,九月,初一,1926
  4084. 1926/11/4,九月,廿九,1926
  4085. 1926/11/5,十月,初一,1926
  4086. 1926/12/4,十月,三十,1926
  4087. 1926/12/5,冬月,初一,1926
  4088. 1927/1/3,冬月,三十,1926
  4089. 1927/1/4,腊月,初一,1926
  4090. 1927/2/1,腊月,廿九,1926
  4091. 1927/2/2,正月,初一,1927
  4092. 1927/3/3,正月,三十,1927
  4093. 1927/3/4,二月,初一,1927
  4094. 1927/4/1,二月,廿九,1927
  4095. 1927/4/2,三月,初一,1927
  4096. 1927/4/30,三月,廿九,1927
  4097. 1927/5/1,四月,初一,1927
  4098. 1927/5/30,四月,三十,1927
  4099. 1927/5/31,五月,初一,1927
  4100. 1927/6/28,五月,廿九,1927
  4101. 1927/6/29,六月,初一,1927
  4102. 1927/7/28,六月,三十,1927
  4103. 1927/7/29,七月,初一,1927
  4104. 1927/8/26,七月,廿九,1927
  4105. 1927/8/27,八月,初一,1927
  4106. 1927/9/25,八月,三十,1927
  4107. 1927/9/26,九月,初一,1927
  4108. 1927/10/24,九月,廿九,1927
  4109. 1927/10/25,十月,初一,1927
  4110. 1927/11/23,十月,三十,1927
  4111. 1927/11/24,冬月,初一,1927
  4112. 1927/12/23,冬月,三十,1927
  4113. 1927/12/24,腊月,初一,1927
  4114. 1928/1/22,腊月,三十,1927
  4115. 1928/1/23,正月,初一,1928
  4116. 1928/2/20,正月,廿九,1928
  4117. 1928/2/21,二月,初一,1928
  4118. 1928/3/21,二月,三十,1928
  4119. 1928/3/22,闰二月,初一,1928
  4120. 1928/4/19,闰二月,廿九,1928
  4121. 1928/4/20,三月,初一,1928
  4122. 1928/5/18,三月,廿九,1928
  4123. 1928/5/19,四月,初一,1928
  4124. 1928/6/17,四月,三十,1928
  4125. 1928/6/18,五月,初一,1928
  4126. 1928/7/16,五月,廿九,1928
  4127. 1928/7/17,六月,初一,1928
  4128. 1928/8/14,六月,廿九,1928
  4129. 1928/8/15,七月,初一,1928
  4130. 1928/9/13,七月,三十,1928
  4131. 1928/9/14,八月,初一,1928
  4132. 1928/10/12,八月,廿九,1928
  4133. 1928/10/13,九月,初一,1928
  4134. 1928/11/11,九月,三十,1928
  4135. 1928/11/12,十月,初一,1928
  4136. 1928/12/11,十月,三十,1928
  4137. 1928/12/12,冬月,初一,1928
  4138. 1929/1/10,冬月,三十,1928
  4139. 1929/1/11,腊月,初一,1928
  4140. 1929/2/9,腊月,三十,1928
  4141. 1929/2/10,正月,初一,1929
  4142. 1929/3/10,正月,廿九,1929
  4143. 1929/3/11,二月,初一,1929
  4144. 1929/4/9,二月,三十,1929
  4145. 1929/4/10,三月,初一,1929
  4146. 1929/5/8,三月,廿九,1929
  4147. 1929/5/9,四月,初一,1929
  4148. 1929/6/6,四月,廿九,1929
  4149. 1929/6/7,五月,初一,1929
  4150. 1929/7/6,五月,三十,1929
  4151. 1929/7/7,六月,初一,1929
  4152. 1929/8/4,六月,廿九,1929
  4153. 1929/8/5,七月,初一,1929
  4154. 1929/9/2,七月,廿九,1929
  4155. 1929/9/3,八月,初一,1929
  4156. 1929/10/2,八月,三十,1929
  4157. 1929/10/3,九月,初一,1929
  4158. 1929/10/31,九月,廿九,1929
  4159. 1929/11/1,十月,初一,1929
  4160. 1929/11/30,十月,三十,1929
  4161. 1929/12/1,冬月,初一,1929
  4162. 1929/12/30,冬月,三十,1929
  4163. 1929/12/31,腊月,初一,1929
  4164. 1930/1/29,腊月,三十,1929
  4165. 1930/1/30,正月,初一,1930
  4166. 1930/2/27,正月,廿九,1930
  4167. 1930/2/28,二月,初一,1930
  4168. 1930/3/29,二月,三十,1930
  4169. 1930/3/30,三月,初一,1930
  4170. 1930/4/28,三月,三十,1930
  4171. 1930/4/29,四月,初一,1930
  4172. 1930/5/27,四月,廿九,1930
  4173. 1930/5/28,五月,初一,1930
  4174. 1930/6/25,五月,廿九,1930
  4175. 1930/6/26,六月,初一,1930
  4176. 1930/7/25,六月,三十,1930
  4177. 1930/7/26,闰六月,初一,1930
  4178. 1930/8/23,闰六月,廿九,1930
  4179. 1930/8/24,七月,初一,1930
  4180. 1930/9/21,七月,廿九,1930
  4181. 1930/9/22,八月,初一,1930
  4182. 1930/10/21,八月,三十,1930
  4183. 1930/10/22,九月,初一,1930
  4184. 1930/11/19,九月,廿九,1930
  4185. 1930/11/20,十月,初一,1930
  4186. 1930/12/19,十月,三十,1930
  4187. 1930/12/20,冬月,初一,1930
  4188. 1931/1/18,冬月,三十,1930
  4189. 1931/1/19,腊月,初一,1930
  4190. 1931/2/16,腊月,廿九,1930
  4191. 1931/2/17,正月,初一,1931
  4192. 1931/3/18,正月,三十,1931
  4193. 1931/3/19,二月,初一,1931
  4194. 1931/4/17,二月,三十,1931
  4195. 1931/4/18,三月,初一,1931
  4196. 1931/5/16,三月,廿九,1931
  4197. 1931/5/17,四月,初一,1931
  4198. 1931/6/15,四月,三十,1931
  4199. 1931/6/16,五月,初一,1931
  4200. 1931/7/14,五月,廿九,1931
  4201. 1931/7/15,六月,初一,1931
  4202. 1931/8/13,六月,三十,1931
  4203. 1931/8/14,七月,初一,1931
  4204. 1931/9/11,七月,廿九,1931
  4205. 1931/9/12,八月,初一,1931
  4206. 1931/10/10,八月,廿九,1931
  4207. 1931/10/11,九月,初一,1931
  4208. 1931/11/9,九月,三十,1931
  4209. 1931/11/10,十月,初一,1931
  4210. 1931/12/8,十月,廿九,1931
  4211. 1931/12/9,冬月,初一,1931
  4212. 1932/1/7,冬月,三十,1931
  4213. 1932/1/8,腊月,初一,1931
  4214. 1932/2/5,腊月,廿九,1931
  4215. 1932/2/6,正月,初一,1932
  4216. 1932/3/6,正月,三十,1932
  4217. 1932/3/7,二月,初一,1932
  4218. 1932/4/5,二月,三十,1932
  4219. 1932/4/6,三月,初一,1932
  4220. 1932/5/5,三月,三十,1932
  4221. 1932/5/6,四月,初一,1932
  4222. 1932/6/3,四月,廿九,1932
  4223. 1932/6/4,五月,初一,1932
  4224. 1932/7/3,五月,三十,1932
  4225. 1932/7/4,六月,初一,1932
  4226. 1932/8/1,六月,廿九,1932
  4227. 1932/8/2,七月,初一,1932
  4228. 1932/8/31,七月,三十,1932
  4229. 1932/9/1,八月,初一,1932
  4230. 1932/9/29,八月,廿九,1932
  4231. 1932/9/30,九月,初一,1932
  4232. 1932/10/28,九月,廿九,1932
  4233. 1932/10/29,十月,初一,1932
  4234. 1932/11/27,十月,三十,1932
  4235. 1932/11/28,冬月,初一,1932
  4236. 1932/12/26,冬月,廿九,1932
  4237. 1932/12/27,腊月,初一,1932
  4238. 1933/1/25,腊月,三十,1932
  4239. 1933/1/26,正月,初一,1933
  4240. 1933/2/23,正月,廿九,1933
  4241. 1933/2/24,二月,初一,1933
  4242. 1933/3/25,二月,三十,1933
  4243. 1933/3/26,三月,初一,1933
  4244. 1933/4/24,三月,三十,1933
  4245. 1933/4/25,四月,初一,1933
  4246. 1933/5/23,四月,廿九,1933
  4247. 1933/5/24,五月,初一,1933
  4248. 1933/6/22,五月,三十,1933
  4249. 1933/6/23,闰五月,初一,1933
  4250. 1933/7/22,闰五月,三十,1933
  4251. 1933/7/23,六月,初一,1933
  4252. 1933/8/20,六月,廿九,1933
  4253. 1933/8/21,七月,初一,1933
  4254. 1933/9/19,七月,三十,1933
  4255. 1933/9/20,八月,初一,1933
  4256. 1933/10/18,八月,廿九,1933
  4257. 1933/10/19,九月,初一,1933
  4258. 1933/11/17,九月,三十,1933
  4259. 1933/11/18,十月,初一,1933
  4260. 1933/12/16,十月,廿九,1933
  4261. 1933/12/17,冬月,初一,1933
  4262. 1934/1/14,冬月,廿九,1933
  4263. 1934/1/15,腊月,初一,1933
  4264. 1934/2/13,腊月,三十,1933
  4265. 1934/2/14,正月,初一,1934
  4266. 1934/3/14,正月,廿九,1934
  4267. 1934/3/15,二月,初一,1934
  4268. 1934/4/13,二月,三十,1934
  4269. 1934/4/14,三月,初一,1934
  4270. 1934/5/12,三月,廿九,1934
  4271. 1934/5/13,四月,初一,1934
  4272. 1934/6/11,四月,三十,1934
  4273. 1934/6/12,五月,初一,1934
  4274. 1934/7/11,五月,三十,1934
  4275. 1934/7/12,六月,初一,1934
  4276. 1934/8/9,六月,廿九,1934
  4277. 1934/8/10,七月,初一,1934
  4278. 1934/9/8,七月,三十,1934
  4279. 1934/9/9,八月,初一,1934
  4280. 1934/10/7,八月,廿九,1934
  4281. 1934/10/8,九月,初一,1934
  4282. 1934/11/6,九月,三十,1934
  4283. 1934/11/7,十月,初一,1934
  4284. 1934/12/6,十月,三十,1934
  4285. 1934/12/7,冬月,初一,1934
  4286. 1935/1/4,冬月,廿九,1934
  4287. 1935/1/5,腊月,初一,1934
  4288. 1935/2/3,腊月,三十,1934
  4289. 1935/2/4,正月,初一,1935
  4290. 1935/3/4,正月,廿九,1935
  4291. 1935/3/5,二月,初一,1935
  4292. 1935/4/2,二月,廿九,1935
  4293. 1935/4/3,三月,初一,1935
  4294. 1935/5/2,三月,三十,1935
  4295. 1935/5/3,四月,初一,1935
  4296. 1935/5/31,四月,廿九,1935
  4297. 1935/6/1,五月,初一,1935
  4298. 1935/6/30,五月,三十,1935
  4299. 1935/7/1,六月,初一,1935
  4300. 1935/7/29,六月,廿九,1935
  4301. 1935/7/30,七月,初一,1935
  4302. 1935/8/28,七月,三十,1935
  4303. 1935/8/29,八月,初一,1935
  4304. 1935/9/27,八月,三十,1935
  4305. 1935/9/28,九月,初一,1935
  4306. 1935/10/26,九月,廿九,1935
  4307. 1935/10/27,十月,初一,1935
  4308. 1935/11/25,十月,三十,1935
  4309. 1935/11/26,冬月,初一,1935
  4310. 1935/12/25,冬月,三十,1935
  4311. 1935/12/26,腊月,初一,1935
  4312. 1936/1/23,腊月,廿九,1935
  4313. 1936/1/24,正月,初一,1936
  4314. 1936/2/22,正月,三十,1936
  4315. 1936/2/23,二月,初一,1936
  4316. 1936/3/22,二月,廿九,1936
  4317. 1936/3/23,三月,初一,1936
  4318. 1936/4/20,三月,廿九,1936
  4319. 1936/4/21,闰三月,初一,1936
  4320. 1936/5/20,闰三月,三十,1936
  4321. 1936/5/21,四月,初一,1936
  4322. 1936/6/18,四月,廿九,1936
  4323. 1936/6/19,五月,初一,1936
  4324. 1936/7/17,五月,廿九,1936
  4325. 1936/7/18,六月,初一,1936
  4326. 1936/8/16,六月,三十,1936
  4327. 1936/8/17,七月,初一,1936
  4328. 1936/9/15,七月,三十,1936
  4329. 1936/9/16,八月,初一,1936
  4330. 1936/10/14,八月,廿九,1936
  4331. 1936/10/15,九月,初一,1936
  4332. 1936/11/13,九月,三十,1936
  4333. 1936/11/14,十月,初一,1936
  4334. 1936/12/13,十月,三十,1936
  4335. 1936/12/14,冬月,初一,1936
  4336. 1937/1/12,冬月,三十,1936
  4337. 1937/1/13,腊月,初一,1936
  4338. 1937/2/10,腊月,廿九,1936
  4339. 1937/2/11,正月,初一,1937
  4340. 1937/3/12,正月,三十,1937
  4341. 1937/3/13,二月,初一,1937
  4342. 1937/4/10,二月,廿九,1937
  4343. 1937/4/11,三月,初一,1937
  4344. 1937/5/9,三月,廿九,1937
  4345. 1937/5/10,四月,初一,1937
  4346. 1937/6/8,四月,三十,1937
  4347. 1937/6/9,五月,初一,1937
  4348. 1937/7/7,五月,廿九,1937
  4349. 1937/7/8,六月,初一,1937
  4350. 1937/8/5,六月,廿九,1937
  4351. 1937/8/6,七月,初一,1937
  4352. 1937/9/4,七月,三十,1937
  4353. 1937/9/5,八月,初一,1937
  4354. 1937/10/3,八月,廿九,1937
  4355. 1937/10/4,九月,初一,1937
  4356. 1937/11/2,九月,三十,1937
  4357. 1937/11/3,十月,初一,1937
  4358. 1937/12/2,十月,三十,1937
  4359. 1937/12/3,冬月,初一,1937
  4360. 1938/1/1,冬月,三十,1937
  4361. 1938/1/2,腊月,初一,1937
  4362. 1938/1/30,腊月,廿九,1937
  4363. 1938/1/31,正月,初一,1938
  4364. 1938/3/1,正月,三十,1938
  4365. 1938/3/2,二月,初一,1938
  4366. 1938/3/31,二月,三十,1938
  4367. 1938/4/1,三月,初一,1938
  4368. 1938/4/29,三月,廿九,1938
  4369. 1938/4/30,四月,初一,1938
  4370. 1938/5/28,四月,廿九,1938
  4371. 1938/5/29,五月,初一,1938
  4372. 1938/6/27,五月,三十,1938
  4373. 1938/6/28,六月,初一,1938
  4374. 1938/7/26,六月,廿九,1938
  4375. 1938/7/27,七月,初一,1938
  4376. 1938/8/24,七月,廿九,1938
  4377. 1938/8/25,闰七月,初一,1938
  4378. 1938/9/23,闰七月,三十,1938
  4379. 1938/9/24,八月,初一,1938
  4380. 1938/10/22,八月,廿九,1938
  4381. 1938/10/23,九月,初一,1938
  4382. 1938/11/21,九月,三十,1938
  4383. 1938/11/22,十月,初一,1938
  4384. 1938/12/21,十月,三十,1938
  4385. 1938/12/22,冬月,初一,1938
  4386. 1939/1/19,冬月,廿九,1938
  4387. 1939/1/20,腊月,初一,1938
  4388. 1939/2/18,腊月,三十,1938
  4389. 1939/2/19,正月,初一,1939
  4390. 1939/3/20,正月,三十,1939
  4391. 1939/3/21,二月,初一,1939
  4392. 1939/4/19,二月,三十,1939
  4393. 1939/4/20,三月,初一,1939
  4394. 1939/5/18,三月,廿九,1939
  4395. 1939/5/19,四月,初一,1939
  4396. 1939/6/16,四月,廿九,1939
  4397. 1939/6/17,五月,初一,1939
  4398. 1939/7/16,五月,三十,1939
  4399. 1939/7/17,六月,初一,1939
  4400. 1939/8/14,六月,廿九,1939
  4401. 1939/8/15,七月,初一,1939
  4402. 1939/9/12,七月,廿九,1939
  4403. 1939/9/13,八月,初一,1939
  4404. 1939/10/12,八月,三十,1939
  4405. 1939/10/13,九月,初一,1939
  4406. 1939/11/10,九月,廿九,1939
  4407. 1939/11/11,十月,初一,1939
  4408. 1939/12/10,十月,三十,1939
  4409. 1939/12/11,冬月,初一,1939
  4410. 1940/1/8,冬月,廿九,1939
  4411. 1940/1/9,腊月,初一,1939
  4412. 1940/2/7,腊月,三十,1939
  4413. 1940/2/8,正月,初一,1940
  4414. 1940/3/8,正月,三十,1940
  4415. 1940/3/9,二月,初一,1940
  4416. 1940/4/7,二月,三十,1940
  4417. 1940/4/8,三月,初一,1940
  4418. 1940/5/6,三月,廿九,1940
  4419. 1940/5/7,四月,初一,1940
  4420. 1940/6/5,四月,三十,1940
  4421. 1940/6/6,五月,初一,1940
  4422. 1940/7/4,五月,廿九,1940
  4423. 1940/7/5,六月,初一,1940
  4424. 1940/8/3,六月,三十,1940
  4425. 1940/8/4,七月,初一,1940
  4426. 1940/9/1,七月,廿九,1940
  4427. 1940/9/2,八月,初一,1940
  4428. 1940/9/30,八月,廿九,1940
  4429. 1940/10/1,九月,初一,1940
  4430. 1940/10/30,九月,三十,1940
  4431. 1940/10/31,十月,初一,1940
  4432. 1940/11/28,十月,廿九,1940
  4433. 1940/11/29,冬月,初一,1940
  4434. 1940/12/28,冬月,三十,1940
  4435. 1940/12/29,腊月,初一,1940
  4436. 1941/1/26,腊月,廿九,1940
  4437. 1941/1/27,正月,初一,1941
  4438. 1941/2/25,正月,三十,1941
  4439. 1941/2/26,二月,初一,1941
  4440. 1941/3/27,二月,三十,1941
  4441. 1941/3/28,三月,初一,1941
  4442. 1941/4/25,三月,廿九,1941
  4443. 1941/4/26,四月,初一,1941
  4444. 1941/5/25,四月,三十,1941
  4445. 1941/5/26,五月,初一,1941
  4446. 1941/6/24,五月,三十,1941
  4447. 1941/6/25,六月,初一,1941
  4448. 1941/7/23,六月,廿九,1941
  4449. 1941/7/24,闰六月,初一,1941
  4450. 1941/8/22,闰六月,三十,1941
  4451. 1941/8/23,七月,初一,1941
  4452. 1941/9/20,七月,廿九,1941
  4453. 1941/9/21,八月,初一,1941
  4454. 1941/10/19,八月,廿九,1941
  4455. 1941/10/20,九月,初一,1941
  4456. 1941/11/18,九月,三十,1941
  4457. 1941/11/19,十月,初一,1941
  4458. 1941/12/17,十月,廿九,1941
  4459. 1941/12/18,冬月,初一,1941
  4460. 1942/1/16,冬月,三十,1941
  4461. 1942/1/17,腊月,初一,1941
  4462. 1942/2/14,腊月,廿九,1941
  4463. 1942/2/15,正月,初一,1942
  4464. 1942/3/16,正月,三十,1942
  4465. 1942/3/17,二月,初一,1942
  4466. 1942/4/14,二月,廿九,1942
  4467. 1942/4/15,三月,初一,1942
  4468. 1942/5/14,三月,三十,1942
  4469. 1942/5/15,四月,初一,1942
  4470. 1942/6/13,四月,三十,1942
  4471. 1942/6/14,五月,初一,1942
  4472. 1942/7/12,五月,廿九,1942
  4473. 1942/7/13,六月,初一,1942
  4474. 1942/8/11,六月,三十,1942
  4475. 1942/8/12,七月,初一,1942
  4476. 1942/9/9,七月,廿九,1942
  4477. 1942/9/10,八月,初一,1942
  4478. 1942/10/9,八月,三十,1942
  4479. 1942/10/10,九月,初一,1942
  4480. 1942/11/7,九月,廿九,1942
  4481. 1942/11/8,十月,初一,1942
  4482. 1942/12/7,十月,三十,1942
  4483. 1942/12/8,冬月,初一,1942
  4484. 1943/1/5,冬月,廿九,1942
  4485. 1943/1/6,腊月,初一,1942
  4486. 1943/2/4,腊月,三十,1942
  4487. 1943/2/5,正月,初一,1943
  4488. 1943/3/5,正月,廿九,1943
  4489. 1943/3/6,二月,初一,1943
  4490. 1943/4/4,二月,三十,1943
  4491. 1943/4/5,三月,初一,1943
  4492. 1943/5/3,三月,廿九,1943
  4493. 1943/5/4,四月,初一,1943
  4494. 1943/6/2,四月,三十,1943
  4495. 1943/6/3,五月,初一,1943
  4496. 1943/7/1,五月,廿九,1943
  4497. 1943/7/2,六月,初一,1943
  4498. 1943/7/31,六月,三十,1943
  4499. 1943/8/1,七月,初一,1943
  4500. 1943/8/30,七月,三十,1943
  4501. 1943/8/31,八月,初一,1943
  4502. 1943/9/28,八月,廿九,1943
  4503. 1943/9/29,九月,初一,1943
  4504. 1943/10/28,九月,三十,1943
  4505. 1943/10/29,十月,初一,1943
  4506. 1943/11/26,十月,廿九,1943
  4507. 1943/11/27,冬月,初一,1943
  4508. 1943/12/26,冬月,三十,1943
  4509. 1943/12/27,腊月,初一,1943
  4510. 1944/1/24,腊月,廿九,1943
  4511. 1944/1/25,正月,初一,1944
  4512. 1944/2/23,正月,三十,1944
  4513. 1944/2/24,二月,初一,1944
  4514. 1944/3/23,二月,廿九,1944
  4515. 1944/3/24,三月,初一,1944
  4516. 1944/4/22,三月,三十,1944
  4517. 1944/4/23,四月,初一,1944
  4518. 1944/5/21,四月,廿九,1944
  4519. 1944/5/22,闰四月,初一,1944
  4520. 1944/6/20,闰四月,三十,1944
  4521. 1944/6/21,五月,初一,1944
  4522. 1944/7/19,五月,廿九,1944
  4523. 1944/7/20,六月,初一,1944
  4524. 1944/8/18,六月,三十,1944
  4525. 1944/8/19,七月,初一,1944
  4526. 1944/9/16,七月,廿九,1944
  4527. 1944/9/17,八月,初一,1944
  4528. 1944/10/16,八月,三十,1944
  4529. 1944/10/17,九月,初一,1944
  4530. 1944/11/15,九月,三十,1944
  4531. 1944/11/16,十月,初一,1944
  4532. 1944/12/14,十月,廿九,1944
  4533. 1944/12/15,冬月,初一,1944
  4534. 1945/1/13,冬月,三十,1944
  4535. 1945/1/14,腊月,初一,1944
  4536. 1945/2/12,腊月,三十,1944
  4537. 1945/2/13,正月,初一,1945
  4538. 1945/3/13,正月,廿九,1945
  4539. 1945/3/14,二月,初一,1945
  4540. 1945/4/11,二月,廿九,1945
  4541. 1945/4/12,三月,初一,1945
  4542. 1945/5/11,三月,三十,1945
  4543. 1945/5/12,四月,初一,1945
  4544. 1945/6/9,四月,廿九,1945
  4545. 1945/6/10,五月,初一,1945
  4546. 1945/7/8,五月,廿九,1945
  4547. 1945/7/9,六月,初一,1945
  4548. 1945/8/7,六月,三十,1945
  4549. 1945/8/8,七月,初一,1945
  4550. 1945/9/5,七月,廿九,1945
  4551. 1945/9/6,八月,初一,1945
  4552. 1945/10/5,八月,三十,1945
  4553. 1945/10/6,九月,初一,1945
  4554. 1945/11/4,九月,三十,1945
  4555. 1945/11/5,十月,初一,1945
  4556. 1945/12/4,十月,三十,1945
  4557. 1945/12/5,冬月,初一,1945
  4558. 1946/1/2,冬月,廿九,1945
  4559. 1946/1/3,腊月,初一,1945
  4560. 1946/2/1,腊月,三十,1945
  4561. 1946/2/2,正月,初一,1946
  4562. 1946/3/3,正月,三十,1946
  4563. 1946/3/4,二月,初一,1946
  4564. 1946/4/1,二月,廿九,1946
  4565. 1946/4/2,三月,初一,1946
  4566. 1946/4/30,三月,廿九,1946
  4567. 1946/5/1,四月,初一,1946
  4568. 1946/5/30,四月,三十,1946
  4569. 1946/5/31,五月,初一,1946
  4570. 1946/6/28,五月,廿九,1946
  4571. 1946/6/29,六月,初一,1946
  4572. 1946/7/27,六月,廿九,1946
  4573. 1946/7/28,七月,初一,1946
  4574. 1946/8/26,七月,三十,1946
  4575. 1946/8/27,八月,初一,1946
  4576. 1946/9/24,八月,廿九,1946
  4577. 1946/9/25,九月,初一,1946
  4578. 1946/10/24,九月,三十,1946
  4579. 1946/10/25,十月,初一,1946
  4580. 1946/11/23,十月,三十,1946
  4581. 1946/11/24,冬月,初一,1946
  4582. 1946/12/22,冬月,廿九,1946
  4583. 1946/12/23,腊月,初一,1946
  4584. 1947/1/21,腊月,三十,1946
  4585. 1947/1/22,正月,初一,1947
  4586. 1947/2/20,正月,三十,1947
  4587. 1947/2/21,二月,初一,1947
  4588. 1947/3/22,二月,三十,1947
  4589. 1947/3/23,闰二月,初一,1947
  4590. 1947/4/20,闰二月,廿九,1947
  4591. 1947/4/21,三月,初一,1947
  4592. 1947/5/19,三月,廿九,1947
  4593. 1947/5/20,四月,初一,1947
  4594. 1947/6/18,四月,三十,1947
  4595. 1947/6/19,五月,初一,1947
  4596. 1947/7/17,五月,廿九,1947
  4597. 1947/7/18,六月,初一,1947
  4598. 1947/8/15,六月,廿九,1947
  4599. 1947/8/16,七月,初一,1947
  4600. 1947/9/14,七月,三十,1947
  4601. 1947/9/15,八月,初一,1947
  4602. 1947/10/13,八月,廿九,1947
  4603. 1947/10/14,九月,初一,1947
  4604. 1947/11/12,九月,三十,1947
  4605. 1947/11/13,十月,初一,1947
  4606. 1947/12/11,十月,廿九,1947
  4607. 1947/12/12,冬月,初一,1947
  4608. 1948/1/10,冬月,三十,1947
  4609. 1948/1/11,腊月,初一,1947
  4610. 1948/2/9,腊月,三十,1947
  4611. 1948/2/10,正月,初一,1948
  4612. 1948/3/10,正月,三十,1948
  4613. 1948/3/11,二月,初一,1948
  4614. 1948/4/8,二月,廿九,1948
  4615. 1948/4/9,三月,初一,1948
  4616. 1948/5/8,三月,三十,1948
  4617. 1948/5/9,四月,初一,1948
  4618. 1948/6/6,四月,廿九,1948
  4619. 1948/6/7,五月,初一,1948
  4620. 1948/7/6,五月,三十,1948
  4621. 1948/7/7,六月,初一,1948
  4622. 1948/8/4,六月,廿九,1948
  4623. 1948/8/5,七月,初一,1948
  4624. 1948/9/2,七月,廿九,1948
  4625. 1948/9/3,八月,初一,1948
  4626. 1948/10/2,八月,三十,1948
  4627. 1948/10/3,九月,初一,1948
  4628. 1948/10/31,九月,廿九,1948
  4629. 1948/11/1,十月,初一,1948
  4630. 1948/11/30,十月,三十,1948
  4631. 1948/12/1,冬月,初一,1948
  4632. 1948/12/29,冬月,廿九,1948
  4633. 1948/12/30,腊月,初一,1948
  4634. 1949/1/28,腊月,三十,1948
  4635. 1949/1/29,正月,初一,1949
  4636. 1949/2/27,正月,三十,1949
  4637. 1949/2/28,二月,初一,1949
  4638. 1949/3/28,二月,廿九,1949
  4639. 1949/3/29,三月,初一,1949
  4640. 1949/4/27,三月,三十,1949
  4641. 1949/4/28,四月,初一,1949
  4642. 1949/5/27,四月,三十,1949
  4643. 1949/5/28,五月,初一,1949
  4644. 1949/6/25,五月,廿九,1949
  4645. 1949/6/26,六月,初一,1949
  4646. 1949/7/25,六月,三十,1949
  4647. 1949/7/26,七月,初一,1949
  4648. 1949/8/23,七月,廿九,1949
  4649. 1949/8/24,闰七月,初一,1949
  4650. 1949/9/21,闰七月,廿九,1949
  4651. 1949/9/22,八月,初一,1949
  4652. 1949/10/21,八月,三十,1949
  4653. 1949/10/22,九月,初一,1949
  4654. 1949/11/19,九月,廿九,1949
  4655. 1949/11/20,十月,初一,1949
  4656. 1949/12/19,十月,三十,1949
  4657. 1949/12/20,冬月,初一,1949
  4658. 1950/1/17,冬月,廿九,1949
  4659. 1950/1/18,腊月,初一,1949
  4660. 1950/2/16,腊月,三十,1949
  4661. 1950/2/17,正月,初一,1950
  4662. 1950/3/17,正月,廿九,1950
  4663. 1950/3/18,二月,初一,1950
  4664. 1950/4/16,二月,三十,1950
  4665. 1950/4/17,三月,初一,1950
  4666. 1950/5/16,三月,三十,1950
  4667. 1950/5/17,四月,初一,1950
  4668. 1950/6/14,四月,廿九,1950
  4669. 1950/6/15,五月,初一,1950
  4670. 1950/7/14,五月,三十,1950
  4671. 1950/7/15,六月,初一,1950
  4672. 1950/8/13,六月,三十,1950
  4673. 1950/8/14,七月,初一,1950
  4674. 1950/9/11,七月,廿九,1950
  4675. 1950/9/12,八月,初一,1950
  4676. 1950/10/10,八月,廿九,1950
  4677. 1950/10/11,九月,初一,1950
  4678. 1950/11/9,九月,三十,1950
  4679. 1950/11/10,十月,初一,1950
  4680. 1950/12/8,十月,廿九,1950
  4681. 1950/12/9,冬月,初一,1950
  4682. 1951/1/7,冬月,三十,1950
  4683. 1951/1/8,腊月,初一,1950
  4684. 1951/2/5,腊月,廿九,1950
  4685. 1951/2/6,正月,初一,1951
  4686. 1951/3/7,正月,三十,1951
  4687. 1951/3/8,二月,初一,1951
  4688. 1951/4/5,二月,廿九,1951
  4689. 1951/4/6,三月,初一,1951
  4690. 1951/5/5,三月,三十,1951
  4691. 1951/5/6,四月,初一,1951
  4692. 1951/6/4,四月,三十,1951
  4693. 1951/6/5,五月,初一,1951
  4694. 1951/7/3,五月,廿九,1951
  4695. 1951/7/4,六月,初一,1951
  4696. 1951/8/2,六月,三十,1951
  4697. 1951/8/3,七月,初一,1951
  4698. 1951/8/31,七月,廿九,1951
  4699. 1951/9/1,八月,初一,1951
  4700. 1951/9/30,八月,三十,1951
  4701. 1951/10/1,九月,初一,1951
  4702. 1951/10/29,九月,廿九,1951
  4703. 1951/10/30,十月,初一,1951
  4704. 1951/11/28,十月,三十,1951
  4705. 1951/11/29,冬月,初一,1951
  4706. 1951/12/27,冬月,廿九,1951
  4707. 1951/12/28,腊月,初一,1951
  4708. 1952/1/26,腊月,三十,1951
  4709. 1952/1/27,正月,初一,1952
  4710. 1952/2/24,正月,廿九,1952
  4711. 1952/2/25,二月,初一,1952
  4712. 1952/3/25,二月,三十,1952
  4713. 1952/3/26,三月,初一,1952
  4714. 1952/4/23,三月,廿九,1952
  4715. 1952/4/24,四月,初一,1952
  4716. 1952/5/23,四月,三十,1952
  4717. 1952/5/24,五月,初一,1952
  4718. 1952/6/21,五月,廿九,1952
  4719. 1952/6/22,闰五月,初一,1952
  4720. 1952/7/21,闰五月,三十,1952
  4721. 1952/7/22,六月,初一,1952
  4722. 1952/8/19,六月,廿九,1952
  4723. 1952/8/20,七月,初一,1952
  4724. 1952/9/18,七月,三十,1952
  4725. 1952/9/19,八月,初一,1952
  4726. 1952/10/18,八月,三十,1952
  4727. 1952/10/19,九月,初一,1952
  4728. 1952/11/16,九月,廿九,1952
  4729. 1952/11/17,十月,初一,1952
  4730. 1952/12/16,十月,三十,1952
  4731. 1952/12/17,冬月,初一,1952
  4732. 1953/1/14,冬月,廿九,1952
  4733. 1953/1/15,腊月,初一,1952
  4734. 1953/2/13,腊月,三十,1952
  4735. 1953/2/14,正月,初一,1953
  4736. 1953/3/14,正月,廿九,1953
  4737. 1953/3/15,二月,初一,1953
  4738. 1953/4/13,二月,三十,1953
  4739. 1953/4/14,三月,初一,1953
  4740. 1953/5/12,三月,廿九,1953
  4741. 1953/5/13,四月,初一,1953
  4742. 1953/6/10,四月,廿九,1953
  4743. 1953/6/11,五月,初一,1953
  4744. 1953/7/10,五月,三十,1953
  4745. 1953/7/11,六月,初一,1953
  4746. 1953/8/9,六月,三十,1953
  4747. 1953/8/10,七月,初一,1953
  4748. 1953/9/7,七月,廿九,1953
  4749. 1953/9/8,八月,初一,1953
  4750. 1953/10/7,八月,三十,1953
  4751. 1953/10/8,九月,初一,1953
  4752. 1953/11/6,九月,三十,1953
  4753. 1953/11/7,十月,初一,1953
  4754. 1953/12/5,十月,廿九,1953
  4755. 1953/12/6,冬月,初一,1953
  4756. 1954/1/4,冬月,三十,1953
  4757. 1954/1/5,腊月,初一,1953
  4758. 1954/2/2,腊月,廿九,1953
  4759. 1954/2/3,正月,初一,1954
  4760. 1954/3/4,正月,三十,1954
  4761. 1954/3/5,二月,初一,1954
  4762. 1954/4/2,二月,廿九,1954
  4763. 1954/4/3,三月,初一,1954
  4764. 1954/5/2,三月,三十,1954
  4765. 1954/5/3,四月,初一,1954
  4766. 1954/5/31,四月,廿九,1954
  4767. 1954/6/1,五月,初一,1954
  4768. 1954/6/29,五月,廿九,1954
  4769. 1954/6/30,六月,初一,1954
  4770. 1954/7/29,六月,三十,1954
  4771. 1954/7/30,七月,初一,1954
  4772. 1954/8/27,七月,廿九,1954
  4773. 1954/8/28,八月,初一,1954
  4774. 1954/9/26,八月,三十,1954
  4775. 1954/9/27,九月,初一,1954
  4776. 1954/10/26,九月,三十,1954
  4777. 1954/10/27,十月,初一,1954
  4778. 1954/11/24,十月,廿九,1954
  4779. 1954/11/25,冬月,初一,1954
  4780. 1954/12/24,冬月,三十,1954
  4781. 1954/12/25,腊月,初一,1954
  4782. 1955/1/23,腊月,三十,1954
  4783. 1955/1/24,正月,初一,1955
  4784. 1955/2/21,正月,廿九,1955
  4785. 1955/2/22,二月,初一,1955
  4786. 1955/3/23,二月,三十,1955
  4787. 1955/3/24,三月,初一,1955
  4788. 1955/4/21,三月,廿九,1955
  4789. 1955/4/22,闰三月,初一,1955
  4790. 1955/5/21,闰三月,三十,1955
  4791. 1955/5/22,四月,初一,1955
  4792. 1955/6/19,四月,廿九,1955
  4793. 1955/6/20,五月,初一,1955
  4794. 1955/7/18,五月,廿九,1955
  4795. 1955/7/19,六月,初一,1955
  4796. 1955/8/17,六月,三十,1955
  4797. 1955/8/18,七月,初一,1955
  4798. 1955/9/15,七月,廿九,1955
  4799. 1955/9/16,八月,初一,1955
  4800. 1955/10/15,八月,三十,1955
  4801. 1955/10/16,九月,初一,1955
  4802. 1955/11/13,九月,廿九,1955
  4803. 1955/11/14,十月,初一,1955
  4804. 1955/12/13,十月,三十,1955
  4805. 1955/12/14,冬月,初一,1955
  4806. 1956/1/12,冬月,三十,1955
  4807. 1956/1/13,腊月,初一,1955
  4808. 1956/2/11,腊月,三十,1955
  4809. 1956/2/12,正月,初一,1956
  4810. 1956/3/11,正月,廿九,1956
  4811. 1956/3/12,二月,初一,1956
  4812. 1956/4/10,二月,三十,1956
  4813. 1956/4/11,三月,初一,1956
  4814. 1956/5/9,三月,廿九,1956
  4815. 1956/5/10,四月,初一,1956
  4816. 1956/6/8,四月,三十,1956
  4817. 1956/6/9,五月,初一,1956
  4818. 1956/7/7,五月,廿九,1956
  4819. 1956/7/8,六月,初一,1956
  4820. 1956/8/5,六月,廿九,1956
  4821. 1956/8/6,七月,初一,1956
  4822. 1956/9/4,七月,三十,1956
  4823. 1956/9/5,八月,初一,1956
  4824. 1956/10/3,八月,廿九,1956
  4825. 1956/10/4,九月,初一,1956
  4826. 1956/11/2,九月,三十,1956
  4827. 1956/11/3,十月,初一,1956
  4828. 1956/12/1,十月,廿九,1956
  4829. 1956/12/2,冬月,初一,1956
  4830. 1956/12/31,冬月,三十,1956
  4831. 1957/1/1,腊月,初一,1956
  4832. 1957/1/30,腊月,三十,1956
  4833. 1957/1/31,正月,初一,1957
  4834. 1957/3/1,正月,三十,1957
  4835. 1957/3/2,二月,初一,1957
  4836. 1957/3/30,二月,廿九,1957
  4837. 1957/3/31,三月,初一,1957
  4838. 1957/4/29,三月,三十,1957
  4839. 1957/4/30,四月,初一,1957
  4840. 1957/5/28,四月,廿九,1957
  4841. 1957/5/29,五月,初一,1957
  4842. 1957/6/27,五月,三十,1957
  4843. 1957/6/28,六月,初一,1957
  4844. 1957/7/26,六月,廿九,1957
  4845. 1957/7/27,七月,初一,1957
  4846. 1957/8/24,七月,廿九,1957
  4847. 1957/8/25,八月,初一,1957
  4848. 1957/9/23,八月,三十,1957
  4849. 1957/9/24,闰八月,初一,1957
  4850. 1957/10/22,闰八月,廿九,1957
  4851. 1957/10/23,九月,初一,1957
  4852. 1957/11/21,九月,三十,1957
  4853. 1957/11/22,十月,初一,1957
  4854. 1957/12/20,十月,廿九,1957
  4855. 1957/12/21,冬月,初一,1957
  4856. 1958/1/19,冬月,三十,1957
  4857. 1958/1/20,腊月,初一,1957
  4858. 1958/2/17,腊月,廿九,1957
  4859. 1958/2/18,正月,初一,1958
  4860. 1958/3/19,正月,三十,1958
  4861. 1958/3/20,二月,初一,1958
  4862. 1958/4/18,二月,三十,1958
  4863. 1958/4/19,三月,初一,1958
  4864. 1958/5/18,三月,三十,1958
  4865. 1958/5/19,四月,初一,1958
  4866. 1958/6/16,四月,廿九,1958
  4867. 1958/6/17,五月,初一,1958
  4868. 1958/7/16,五月,三十,1958
  4869. 1958/7/17,六月,初一,1958
  4870. 1958/8/14,六月,廿九,1958
  4871. 1958/8/15,七月,初一,1958
  4872. 1958/9/12,七月,廿九,1958
  4873. 1958/9/13,八月,初一,1958
  4874. 1958/10/12,八月,三十,1958
  4875. 1958/10/13,九月,初一,1958
  4876. 1958/11/10,九月,廿九,1958
  4877. 1958/11/11,十月,初一,1958
  4878. 1958/12/10,十月,三十,1958
  4879. 1958/12/11,冬月,初一,1958
  4880. 1959/1/8,冬月,廿九,1958
  4881. 1959/1/9,腊月,初一,1958
  4882. 1959/2/7,腊月,三十,1958
  4883. 1959/2/8,正月,初一,1959
  4884. 1959/3/8,正月,廿九,1959
  4885. 1959/3/9,二月,初一,1959
  4886. 1959/4/7,二月,三十,1959
  4887. 1959/4/8,三月,初一,1959
  4888. 1959/5/7,三月,三十,1959
  4889. 1959/5/8,四月,初一,1959
  4890. 1959/6/5,四月,廿九,1959
  4891. 1959/6/6,五月,初一,1959
  4892. 1959/7/5,五月,三十,1959
  4893. 1959/7/6,六月,初一,1959
  4894. 1959/8/3,六月,廿九,1959
  4895. 1959/8/4,七月,初一,1959
  4896. 1959/9/2,七月,三十,1959
  4897. 1959/9/3,八月,初一,1959
  4898. 1959/10/1,八月,廿九,1959
  4899. 1959/10/2,九月,初一,1959
  4900. 1959/10/31,九月,三十,1959
  4901. 1959/11/1,十月,初一,1959
  4902. 1959/11/29,十月,廿九,1959
  4903. 1959/11/30,冬月,初一,1959
  4904. 1959/12/29,冬月,三十,1959
  4905. 1959/12/30,腊月,初一,1959
  4906. 1960/1/27,腊月,廿九,1959
  4907. 1960/1/28,正月,初一,1960
  4908. 1960/2/26,正月,三十,1960
  4909. 1960/2/27,二月,初一,1960
  4910. 1960/3/26,二月,廿九,1960
  4911. 1960/3/27,三月,初一,1960
  4912. 1960/4/25,三月,三十,1960
  4913. 1960/4/26,四月,初一,1960
  4914. 1960/5/24,四月,廿九,1960
  4915. 1960/5/25,五月,初一,1960
  4916. 1960/6/23,五月,三十,1960
  4917. 1960/6/24,六月,初一,1960
  4918. 1960/7/23,六月,三十,1960
  4919. 1960/7/24,闰六月,初一,1960
  4920. 1960/8/21,闰六月,廿九,1960
  4921. 1960/8/22,七月,初一,1960
  4922. 1960/9/20,七月,三十,1960
  4923. 1960/9/21,八月,初一,1960
  4924. 1960/10/19,八月,廿九,1960
  4925. 1960/10/20,九月,初一,1960
  4926. 1960/11/18,九月,三十,1960
  4927. 1960/11/19,十月,初一,1960
  4928. 1960/12/17,十月,廿九,1960
  4929. 1960/12/18,冬月,初一,1960
  4930. 1961/1/16,冬月,三十,1960
  4931. 1961/1/17,腊月,初一,1960
  4932. 1961/2/14,腊月,廿九,1960
  4933. 1961/2/15,正月,初一,1961
  4934. 1961/3/16,正月,三十,1961
  4935. 1961/3/17,二月,初一,1961
  4936. 1961/4/14,二月,廿九,1961
  4937. 1961/4/15,三月,初一,1961
  4938. 1961/5/14,三月,三十,1961
  4939. 1961/5/15,四月,初一,1961
  4940. 1961/6/12,四月,廿九,1961
  4941. 1961/6/13,五月,初一,1961
  4942. 1961/7/12,五月,三十,1961
  4943. 1961/7/13,六月,初一,1961
  4944. 1961/8/10,六月,廿九,1961
  4945. 1961/8/11,七月,初一,1961
  4946. 1961/9/9,七月,三十,1961
  4947. 1961/9/10,八月,初一,1961
  4948. 1961/10/9,八月,三十,1961
  4949. 1961/10/10,九月,初一,1961
  4950. 1961/11/7,九月,廿九,1961
  4951. 1961/11/8,十月,初一,1961
  4952. 1961/12/7,十月,三十,1961
  4953. 1961/12/8,冬月,初一,1961
  4954. 1962/1/5,冬月,廿九,1961
  4955. 1962/1/6,腊月,初一,1961
  4956. 1962/2/4,腊月,三十,1961
  4957. 1962/2/5,正月,初一,1961
  4958. 1962/3/5,正月,廿九,1962
  4959. 1962/3/6,二月,初一,1962
  4960. 1962/4/4,二月,三十,1962
  4961. 1962/4/5,三月,初一,1962
  4962. 1962/5/3,三月,廿九,1962
  4963. 1962/5/4,四月,初一,1962
  4964. 1962/6/1,四月,廿九,1962
  4965. 1962/6/2,五月,初一,1962
  4966. 1962/7/1,五月,三十,1962
  4967. 1962/7/2,六月,初一,1962
  4968. 1962/7/30,六月,廿九,1962
  4969. 1962/7/31,七月,初一,1962
  4970. 1962/8/29,七月,三十,1962
  4971. 1962/8/30,八月,初一,1962
  4972. 1962/9/28,八月,三十,1962
  4973. 1962/9/29,九月,初一,1962
  4974. 1962/10/27,九月,廿九,1962
  4975. 1962/10/28,十月,初一,1962
  4976. 1962/11/26,十月,三十,1962
  4977. 1962/11/27,冬月,初一,1962
  4978. 1962/12/26,冬月,三十,1962
  4979. 1962/12/27,腊月,初一,1962
  4980. 1963/1/24,腊月,廿九,1962
  4981. 1963/1/25,正月,初一,1963
  4982. 1963/2/23,正月,三十,1963
  4983. 1963/2/24,二月,初一,1963
  4984. 1963/3/24,二月,廿九,1963
  4985. 1963/3/25,三月,初一,1963
  4986. 1963/4/23,三月,三十,1963
  4987. 1963/4/24,四月,初一,1963
  4988. 1963/5/22,四月,廿九,1963
  4989. 1963/5/23,闰四月,初一,1963
  4990. 1963/6/20,闰四月,廿九,1963
  4991. 1963/6/21,五月,初一,1963
  4992. 1963/7/20,五月,三十,1963
  4993. 1963/7/21,六月,初一,1963
  4994. 1963/8/18,六月,廿九,1963
  4995. 1963/8/19,七月,初一,1963
  4996. 1963/9/17,七月,三十,1963
  4997. 1963/9/18,八月,初一,1963
  4998. 1963/10/16,八月,廿九,1963
  4999. 1963/10/17,九月,初一,1963
  5000. 1963/11/15,九月,三十,1963
  5001. 1963/11/16,十月,初一,1963
  5002. 1963/12/15,十月,三十,1963
  5003. 1963/12/16,冬月,初一,1963
  5004. 1964/1/14,冬月,三十,1963
  5005. 1964/1/15,腊月,初一,1963
  5006. 1964/2/12,腊月,廿九,1963
  5007. 1964/2/13,正月,初一,1964
  5008. 1964/3/13,正月,三十,1964
  5009. 1964/3/14,二月,初一,1964
  5010. 1964/4/11,二月,廿九,1964
  5011. 1964/4/12,三月,初一,1964
  5012. 1964/5/11,三月,三十,1964
  5013. 1964/5/12,四月,初一,1964
  5014. 1964/6/9,四月,廿九,1964
  5015. 1964/6/10,五月,初一,1964
  5016. 1964/7/8,五月,廿九,1964
  5017. 1964/7/9,六月,初一,1964
  5018. 1964/8/7,六月,三十,1964
  5019. 1964/8/8,七月,初一,1964
  5020. 1964/9/5,七月,廿九,1964
  5021. 1964/9/6,八月,初一,1964
  5022. 1964/10/5,八月,三十,1964
  5023. 1964/10/6,九月,初一,1964
  5024. 1964/11/3,九月,廿九,1964
  5025. 1964/11/4,十月,初一,1964
  5026. 1964/12/3,十月,三十,1964
  5027. 1964/12/4,冬月,初一,1964
  5028. 1965/1/2,冬月,三十,1964
  5029. 1965/1/3,腊月,初一,1964
  5030. 1965/2/1,腊月,三十,1964
  5031. 1965/2/2,正月,初一,1965
  5032. 1965/3/2,正月,廿九,1965
  5033. 1965/3/3,二月,初一,1965
  5034. 1965/4/1,二月,三十,1965
  5035. 1965/4/2,三月,初一,1965
  5036. 1965/4/30,三月,廿九,1965
  5037. 1965/5/1,四月,初一,1965
  5038. 1965/5/30,四月,三十,1965
  5039. 1965/5/31,五月,初一,1965
  5040. 1965/6/28,五月,廿九,1965
  5041. 1965/6/29,六月,初一,1965
  5042. 1965/7/27,六月,廿九,1965
  5043. 1965/7/28,七月,初一,1965
  5044. 1965/8/26,七月,三十,1965
  5045. 1965/8/27,八月,初一,1965
  5046. 1965/9/24,八月,廿九,1965
  5047. 1965/9/25,九月,初一,1965
  5048. 1965/10/23,九月,廿九,1965
  5049. 1965/10/24,十月,初一,1965
  5050. 1965/11/22,十月,三十,1965
  5051. 1965/11/23,冬月,初一,1965
  5052. 1965/12/22,冬月,三十,1965
  5053. 1965/12/23,腊月,初一,1965
  5054. 1966/1/20,腊月,廿九,1965
  5055. 1966/1/21,正月,初一,1966
  5056. 1966/2/19,正月,三十,1966
  5057. 1966/2/20,二月,初一,1966
  5058. 1966/3/21,二月,三十,1966
  5059. 1966/3/22,三月,初一,1966
  5060. 1966/4/20,三月,三十,1966
  5061. 1966/4/21,闰三月,初一,1966
  5062. 1966/5/19,闰三月,廿九,1966
  5063. 1966/5/20,四月,初一,1966
  5064. 1966/6/18,四月,三十,1966
  5065. 1966/6/19,五月,初一,1966
  5066. 1966/7/17,五月,廿九,1966
  5067. 1966/7/18,六月,初一,1966
  5068. 1966/8/15,六月,廿九,1966
  5069. 1966/8/16,七月,初一,1966
  5070. 1966/9/14,七月,三十,1966
  5071. 1966/9/15,八月,初一,1966
  5072. 1966/10/13,八月,廿九,1966
  5073. 1966/10/14,九月,初一,1966
  5074. 1966/11/11,九月,廿九,1966
  5075. 1966/11/12,十月,初一,1966
  5076. 1966/12/11,十月,三十,1966
  5077. 1966/12/12,冬月,初一,1966
  5078. 1967/1/10,冬月,三十,1966
  5079. 1967/1/11,腊月,初一,1966
  5080. 1967/2/8,腊月,廿九,1966
  5081. 1967/2/9,正月,初一,1967
  5082. 1967/3/10,正月,三十,1967
  5083. 1967/3/11,二月,初一,1967
  5084. 1967/4/9,二月,三十,1967
  5085. 1967/4/10,三月,初一,1967
  5086. 1967/5/8,三月,廿九,1967
  5087. 1967/5/9,四月,初一,1967
  5088. 1967/6/7,四月,三十,1967
  5089. 1967/6/8,五月,初一,1967
  5090. 1967/7/7,五月,三十,1967
  5091. 1967/7/8,六月,初一,1967
  5092. 1967/8/5,六月,廿九,1967
  5093. 1967/8/6,七月,初一,1967
  5094. 1967/9/3,七月,廿九,1967
  5095. 1967/9/4,八月,初一,1967
  5096. 1967/10/3,八月,三十,1967
  5097. 1967/10/4,九月,初一,1967
  5098. 1967/11/1,九月,廿九,1967
  5099. 1967/11/2,十月,初一,1967
  5100. 1967/12/1,十月,三十,1967
  5101. 1967/12/2,冬月,初一,1967
  5102. 1967/12/30,冬月,廿九,1967
  5103. 1967/12/31,腊月,初一,1967
  5104. 1968/1/29,腊月,三十,1967
  5105. 1968/1/30,正月,初一,1968
  5106. 1968/2/27,正月,廿九,1968
  5107. 1968/2/28,二月,初一,1968
  5108. 1968/3/28,二月,三十,1968
  5109. 1968/3/29,三月,初一,1968
  5110. 1968/4/26,三月,廿九,1968
  5111. 1968/4/27,四月,初一,1968
  5112. 1968/5/26,四月,三十,1968
  5113. 1968/5/27,五月,初一,1968
  5114. 1968/6/25,五月,三十,1968
  5115. 1968/6/26,六月,初一,1968
  5116. 1968/7/24,六月,廿九,1968
  5117. 1968/7/25,七月,初一,1968
  5118. 1968/8/23,七月,三十,1968
  5119. 1968/8/24,闰七月,初一,1968
  5120. 1968/9/21,闰七月,廿九,1968
  5121. 1968/9/22,八月,初一,1968
  5122. 1968/10/21,八月,三十,1968
  5123. 1968/10/22,九月,初一,1968
  5124. 1968/11/19,九月,廿九,1968
  5125. 1968/11/20,十月,初一,1968
  5126. 1968/12/19,十月,三十,1968
  5127. 1968/12/20,冬月,初一,1968
  5128. 1969/1/17,冬月,廿九,1968
  5129. 1969/1/18,腊月,初一,1968
  5130. 1969/2/16,腊月,三十,1968
  5131. 1969/2/17,正月,初一,1969
  5132. 1969/3/17,正月,廿九,1969
  5133. 1969/3/18,二月,初一,1969
  5134. 1969/4/16,二月,三十,1969
  5135. 1969/4/17,三月,初一,1969
  5136. 1969/5/15,三月,廿九,1969
  5137. 1969/5/16,四月,初一,1969
  5138. 1969/6/14,四月,三十,1969
  5139. 1969/6/15,五月,初一,1969
  5140. 1969/7/13,五月,廿九,1969
  5141. 1969/7/14,六月,初一,1969
  5142. 1969/8/12,六月,三十,1969
  5143. 1969/8/13,七月,初一,1969
  5144. 1969/9/11,七月,三十,1969
  5145. 1969/9/12,八月,初一,1969
  5146. 1969/10/10,八月,廿九,1969
  5147. 1969/10/11,九月,初一,1969
  5148. 1969/11/9,九月,三十,1969
  5149. 1969/11/10,十月,初一,1969
  5150. 1969/12/8,十月,廿九,1969
  5151. 1969/12/9,冬月,初一,1969
  5152. 1970/1/7,冬月,三十,1969
  5153. 1970/1/8,腊月,初一,1969
  5154. 1970/2/5,腊月,廿九,1969
  5155. 1970/2/6,正月,初一,1970
  5156. 1970/3/7,正月,三十,1970
  5157. 1970/3/8,二月,初一,1970
  5158. 1970/4/5,二月,廿九,1970
  5159. 1970/4/6,三月,初一,1970
  5160. 1970/5/4,三月,廿九,1970
  5161. 1970/5/5,四月,初一,1970
  5162. 1970/6/3,四月,三十,1970
  5163. 1970/6/4,五月,初一,1970
  5164. 1970/7/2,五月,廿九,1970
  5165. 1970/7/3,六月,初一,1970
  5166. 1970/8/1,六月,三十,1970
  5167. 1970/8/2,七月,初一,1970
  5168. 1970/8/31,七月,三十,1970
  5169. 1970/9/1,八月,初一,1970
  5170. 1970/9/29,八月,廿九,1970
  5171. 1970/9/30,九月,初一,1970
  5172. 1970/10/29,九月,三十,1970
  5173. 1970/10/30,十月,初一,1970
  5174. 1970/11/28,十月,三十,1970
  5175. 1970/11/29,冬月,初一,1970
  5176. 1970/12/27,冬月,廿九,1970
  5177. 1970/12/28,腊月,初一,1970
  5178. 1971/1/26,腊月,三十,1970
  5179. 1971/1/27,正月,初一,1971
  5180. 1971/2/24,正月,廿九,1971
  5181. 1971/2/25,二月,初一,1971
  5182. 1971/3/26,二月,三十,1971
  5183. 1971/3/27,三月,初一,1971
  5184. 1971/4/24,三月,廿九,1971
  5185. 1971/4/25,四月,初一,1971
  5186. 1971/5/23,四月,廿九,1971
  5187. 1971/5/24,五月,初一,1971
  5188. 1971/6/22,五月,三十,1971
  5189. 1971/6/23,闰五月,初一,1971
  5190. 1971/7/21,闰五月,廿九,1971
  5191. 1971/7/22,六月,初一,1971
  5192. 1971/8/20,六月,三十,1971
  5193. 1971/8/21,七月,初一,1971
  5194. 1971/9/18,七月,廿九,1971
  5195. 1971/9/19,八月,初一,1971
  5196. 1971/10/18,八月,三十,1971
  5197. 1971/10/19,九月,初一,1971
  5198. 1971/11/17,九月,三十,1971
  5199. 1971/11/18,十月,初一,1971
  5200. 1971/12/17,十月,三十,1971
  5201. 1971/12/18,冬月,初一,1971
  5202. 1972/1/15,冬月,廿九,1971
  5203. 1972/1/16,腊月,初一,1971
  5204. 1972/2/14,腊月,三十,1971
  5205. 1972/2/15,正月,初一,1972
  5206. 1972/3/14,正月,廿九,1972
  5207. 1972/3/15,二月,初一,1972
  5208. 1972/4/13,二月,三十,1972
  5209. 1972/4/14,三月,初一,1972
  5210. 1972/5/12,三月,廿九,1972
  5211. 1972/5/13,四月,初一,1972
  5212. 1972/6/10,四月,廿九,1972
  5213. 1972/6/11,五月,初一,1972
  5214. 1972/7/10,五月,三十,1972
  5215. 1972/7/11,六月,初一,1972
  5216. 1972/8/8,六月,廿九,1972
  5217. 1972/8/9,七月,初一,1972
  5218. 1972/9/7,七月,三十,1972
  5219. 1972/9/8,八月,初一,1972
  5220. 1972/10/6,八月,廿九,1972
  5221. 1972/10/7,九月,初一,1972
  5222. 1972/11/5,九月,三十,1972
  5223. 1972/11/6,十月,初一,1972
  5224. 1972/12/5,十月,三十,1972
  5225. 1972/12/6,冬月,初一,1972
  5226. 1973/1/3,冬月,廿九,1972
  5227. 1973/1/4,腊月,初一,1972
  5228. 1973/2/2,腊月,三十,1972
  5229. 1973/2/3,正月,初一,1973
  5230. 1973/3/4,正月,三十,1973
  5231. 1973/3/5,二月,初一,1973
  5232. 1973/4/2,二月,廿九,1973
  5233. 1973/4/3,三月,初一,1973
  5234. 1973/5/2,三月,三十,1973
  5235. 1973/5/3,四月,初一,1973
  5236. 1973/5/31,四月,廿九,1973
  5237. 1973/6/1,五月,初一,1973
  5238. 1973/6/29,五月,廿九,1973
  5239. 1973/6/30,六月,初一,1973
  5240. 1973/7/29,六月,三十,1973
  5241. 1973/7/30,七月,初一,1973
  5242. 1973/8/27,七月,廿九,1973
  5243. 1973/8/28,八月,初一,1973
  5244. 1973/9/25,八月,廿九,1973
  5245. 1973/9/26,九月,初一,1973
  5246. 1973/10/25,九月,三十,1973
  5247. 1973/10/26,十月,初一,1973
  5248. 1973/11/24,十月,三十,1973
  5249. 1973/11/25,冬月,初一,1973
  5250. 1973/12/23,冬月,廿九,1973
  5251. 1973/12/24,腊月,初一,1973
  5252. 1974/1/22,腊月,三十,1973
  5253. 1974/1/23,正月,初一,1974
  5254. 1974/2/21,正月,三十,1974
  5255. 1974/2/22,二月,初一,1974
  5256. 1974/3/23,二月,三十,1974
  5257. 1974/3/24,三月,初一,1974
  5258. 1974/4/21,三月,廿九,1974
  5259. 1974/4/22,四月,初一,1974
  5260. 1974/5/21,四月,三十,1974
  5261. 1974/5/22,闰四月,初一,1974
  5262. 1974/6/19,闰四月,廿九,1974
  5263. 1974/6/20,五月,初一,1974
  5264. 1974/7/18,五月,廿九,1974
  5265. 1974/7/19,六月,初一,1974
  5266. 1974/8/17,六月,三十,1974
  5267. 1974/8/18,七月,初一,1974
  5268. 1974/9/15,七月,廿九,1974
  5269. 1974/9/16,八月,初一,1974
  5270. 1974/10/14,八月,廿九,1974
  5271. 1974/10/15,九月,初一,1974
  5272. 1974/11/13,九月,三十,1974
  5273. 1974/11/14,十月,初一,1974
  5274. 1974/12/13,十月,三十,1974
  5275. 1974/12/14,冬月,初一,1974
  5276. 1975/1/11,冬月,廿九,1974
  5277. 1975/1/12,腊月,初一,1974
  5278. 1975/2/10,腊月,三十,1974
  5279. 1975/2/11,正月,初一,1975
  5280. 1975/3/12,正月,三十,1975
  5281. 1975/3/13,二月,初一,1975
  5282. 1975/4/11,二月,三十,1975
  5283. 1975/4/12,三月,初一,1975
  5284. 1975/5/10,三月,廿九,1975
  5285. 1975/5/11,四月,初一,1975
  5286. 1975/6/9,四月,三十,1975
  5287. 1975/6/10,五月,初一,1975
  5288. 1975/7/8,五月,廿九,1975
  5289. 1975/7/9,六月,初一,1975
  5290. 1975/8/6,六月,廿九,1975
  5291. 1975/8/7,七月,初一,1975
  5292. 1975/9/5,七月,三十,1975
  5293. 1975/9/6,八月,初一,1975
  5294. 1975/10/4,八月,廿九,1975
  5295. 1975/10/5,九月,初一,1975
  5296. 1975/11/2,九月,廿九,1975
  5297. 1975/11/3,十月,初一,1975
  5298. 1975/12/2,十月,三十,1975
  5299. 1975/12/3,冬月,初一,1975
  5300. 1975/12/31,冬月,廿九,1975
  5301. 1976/1/1,腊月,初一,1975
  5302. 1976/1/30,腊月,三十,1975
  5303. 1976/1/31,正月,初一,1976
  5304. 1976/2/29,正月,三十,1976
  5305. 1976/3/1,二月,初一,1976
  5306. 1976/3/30,二月,三十,1976
  5307. 1976/3/31,三月,初一,1976
  5308. 1976/4/28,三月,廿九,1976
  5309. 1976/4/29,四月,初一,1976
  5310. 1976/5/28,四月,三十,1976
  5311. 1976/5/29,五月,初一,1976
  5312. 1976/6/26,五月,廿九,1976
  5313. 1976/6/27,六月,初一,1976
  5314. 1976/7/26,六月,三十,1976
  5315. 1976/7/27,七月,初一,1976
  5316. 1976/8/24,七月,廿九,1976
  5317. 1976/8/25,八月,初一,1976
  5318. 1976/9/23,八月,三十,1976
  5319. 1976/9/24,闰八月,初一,1976
  5320. 1976/10/22,闰八月,廿九,1976
  5321. 1976/10/23,九月,初一,1976
  5322. 1976/11/20,九月,廿九,1976
  5323. 1976/11/21,十月,初一,1976
  5324. 1976/12/20,十月,三十,1976
  5325. 1976/12/21,冬月,初一,1976
  5326. 1977/1/18,冬月,廿九,1976
  5327. 1977/1/19,腊月,初一,1976
  5328. 1977/2/17,腊月,三十,1976
  5329. 1977/2/18,正月,初一,1977
  5330. 1977/3/19,正月,三十,1977
  5331. 1977/3/20,二月,初一,1977
  5332. 1977/4/17,二月,廿九,1977
  5333. 1977/4/18,三月,初一,1977
  5334. 1977/5/17,三月,三十,1977
  5335. 1977/5/18,四月,初一,1977
  5336. 1977/6/16,四月,三十,1977
  5337. 1977/6/17,五月,初一,1977
  5338. 1977/7/15,五月,廿九,1977
  5339. 1977/7/16,六月,初一,1977
  5340. 1977/8/14,六月,三十,1977
  5341. 1977/8/15,七月,初一,1977
  5342. 1977/9/12,七月,廿九,1977
  5343. 1977/9/13,八月,初一,1977
  5344. 1977/10/12,八月,三十,1977
  5345. 1977/10/13,九月,初一,1977
  5346. 1977/11/10,九月,廿九,1977
  5347. 1977/11/11,十月,初一,1977
  5348. 1977/12/10,十月,三十,1977
  5349. 1977/12/11,冬月,初一,1977
  5350. 1978/1/8,冬月,廿九,1977
  5351. 1978/1/9,腊月,初一,1977
  5352. 1978/2/6,腊月,廿九,1977
  5353. 1978/2/7,正月,初一,1978
  5354. 1978/3/8,正月,三十,1978
  5355. 1978/3/9,二月,初一,1978
  5356. 1978/4/6,二月,廿九,1978
  5357. 1978/4/7,三月,初一,1978
  5358. 1978/5/6,三月,三十,1978
  5359. 1978/5/7,四月,初一,1978
  5360. 1978/6/5,四月,三十,1978
  5361. 1978/6/6,五月,初一,1978
  5362. 1978/7/4,五月,廿九,1978
  5363. 1978/7/5,六月,初一,1978
  5364. 1978/8/3,六月,三十,1978
  5365. 1978/8/4,七月,初一,1978
  5366. 1978/9/2,七月,三十,1978
  5367. 1978/9/3,八月,初一,1978
  5368. 1978/10/1,八月,廿九,1978
  5369. 1978/10/2,九月,初一,1978
  5370. 1978/10/31,九月,三十,1978
  5371. 1978/11/1,十月,初一,1978
  5372. 1978/11/29,十月,廿九,1978
  5373. 1978/11/30,冬月,初一,1978
  5374. 1978/12/29,冬月,三十,1978
  5375. 1978/12/30,腊月,初一,1978
  5376. 1979/1/27,腊月,廿九,1978
  5377. 1979/1/28,正月,初一,1979
  5378. 1979/2/26,正月,三十,1979
  5379. 1979/2/27,二月,初一,1979
  5380. 1979/3/27,二月,廿九,1979
  5381. 1979/3/28,三月,初一,1979
  5382. 1979/4/25,三月,廿九,1979
  5383. 1979/4/26,四月,初一,1979
  5384. 1979/5/25,四月,三十,1979
  5385. 1979/5/26,五月,初一,1979
  5386. 1979/6/23,五月,廿九,1979
  5387. 1979/6/24,六月,初一,1979
  5388. 1979/7/23,六月,三十,1979
  5389. 1979/7/24,闰六月,初一,1979
  5390. 1979/8/22,闰六月,三十,1979
  5391. 1979/8/23,七月,初一,1979
  5392. 1979/9/20,七月,廿九,1979
  5393. 1979/9/21,八月,初一,1979
  5394. 1979/10/20,八月,三十,1979
  5395. 1979/10/21,九月,初一,1979
  5396. 1979/11/19,九月,三十,1979
  5397. 1979/11/20,十月,初一,1979
  5398. 1979/12/18,十月,廿九,1979
  5399. 1979/12/19,冬月,初一,1979
  5400. 1980/1/17,冬月,三十,1979
  5401. 1980/1/18,腊月,初一,1979
  5402. 1980/2/15,腊月,廿九,1979
  5403. 1980/2/16,正月,初一,1980
  5404. 1980/3/16,正月,三十,1980
  5405. 1980/3/17,二月,初一,1980
  5406. 1980/4/14,二月,廿九,1980
  5407. 1980/4/15,三月,初一,1980
  5408. 1980/5/13,三月,廿九,1980
  5409. 1980/5/14,四月,初一,1980
  5410. 1980/6/12,四月,三十,1980
  5411. 1980/6/13,五月,初一,1980
  5412. 1980/7/11,五月,廿九,1980
  5413. 1980/7/12,六月,初一,1980
  5414. 1980/8/10,六月,三十,1980
  5415. 1980/8/11,七月,初一,1980
  5416. 1980/9/8,七月,廿九,1980
  5417. 1980/9/9,八月,初一,1980
  5418. 1980/10/8,八月,三十,1980
  5419. 1980/10/9,九月,初一,1980
  5420. 1980/11/7,九月,三十,1980
  5421. 1980/11/8,十月,初一,1980
  5422. 1980/12/6,十月,廿九,1980
  5423. 1980/12/7,冬月,初一,1980
  5424. 1981/1/5,冬月,三十,1980
  5425. 1981/1/6,腊月,初一,1980
  5426. 1981/2/4,腊月,三十,1980
  5427. 1981/2/5,正月,初一,1981
  5428. 1981/3/5,正月,廿九,1981
  5429. 1981/3/6,二月,初一,1981
  5430. 1981/4/4,二月,三十,1981
  5431. 1981/4/5,三月,初一,1981
  5432. 1981/5/3,三月,廿九,1981
  5433. 1981/5/4,四月,初一,1981
  5434. 1981/6/1,四月,廿九,1981
  5435. 1981/6/2,五月,初一,1981
  5436. 1981/7/1,五月,三十,1981
  5437. 1981/7/2,六月,初一,1981
  5438. 1981/7/30,六月,廿九,1981
  5439. 1981/7/31,七月,初一,1981
  5440. 1981/8/28,七月,廿九,1981
  5441. 1981/8/29,八月,初一,1981
  5442. 1981/9/27,八月,三十,1981
  5443. 1981/9/28,九月,初一,1981
  5444. 1981/10/27,九月,三十,1981
  5445. 1981/10/28,十月,初一,1981
  5446. 1981/11/25,十月,廿九,1981
  5447. 1981/11/26,冬月,初一,1981
  5448. 1981/12/25,冬月,三十,1981
  5449. 1981/12/26,腊月,初一,1981
  5450. 1982/1/24,腊月,三十,1981
  5451. 1982/1/25,正月,初一,1982
  5452. 1982/2/23,正月,三十,1982
  5453. 1982/2/24,二月,初一,1982
  5454. 1982/3/24,二月,廿九,1982
  5455. 1982/3/25,三月,初一,1982
  5456. 1982/4/23,三月,三十,1982
  5457. 1982/4/24,四月,初一,1982
  5458. 1982/5/22,四月,廿九,1982
  5459. 1982/5/23,闰四月,初一,1982
  5460. 1982/6/20,闰四月,廿九,1982
  5461. 1982/6/21,五月,初一,1982
  5462. 1982/7/20,五月,三十,1982
  5463. 1982/7/21,六月,初一,1982
  5464. 1982/8/18,六月,廿九,1982
  5465. 1982/8/19,七月,初一,1982
  5466. 1982/9/16,七月,廿九,1982
  5467. 1982/9/17,八月,初一,1982
  5468. 1982/10/16,八月,三十,1982
  5469. 1982/10/17,九月,初一,1982
  5470. 1982/11/14,九月,廿九,1982
  5471. 1982/11/15,十月,初一,1982
  5472. 1982/12/14,十月,三十,1982
  5473. 1982/12/15,冬月,初一,1982
  5474. 1983/1/13,冬月,三十,1982
  5475. 1983/1/14,腊月,初一,1982
  5476. 1983/2/12,腊月,三十,1982
  5477. 1983/2/13,正月,初一,1983
  5478. 1983/3/14,正月,三十,1983
  5479. 1983/3/15,二月,初一,1983
  5480. 1983/4/12,二月,廿九,1983
  5481. 1983/4/13,三月,初一,1983
  5482. 1983/5/12,三月,三十,1983
  5483. 1983/5/13,四月,初一,1983
  5484. 1983/6/10,四月,廿九,1983
  5485. 1983/6/11,五月,初一,1983
  5486. 1983/7/9,五月,廿九,1983
  5487. 1983/7/10,六月,初一,1983
  5488. 1983/8/8,六月,三十,1983
  5489. 1983/8/9,七月,初一,1983
  5490. 1983/9/6,七月,廿九,1983
  5491. 1983/9/7,八月,初一,1983
  5492. 1983/10/5,八月,廿九,1983
  5493. 1983/10/6,九月,初一,1983
  5494. 1983/11/4,九月,三十,1983
  5495. 1983/11/5,十月,初一,1983
  5496. 1983/12/3,十月,廿九,1983
  5497. 1983/12/4,冬月,初一,1983
  5498. 1984/1/2,冬月,三十,1983
  5499. 1984/1/3,腊月,初一,1983
  5500. 1984/2/1,腊月,三十,1983
  5501. 1984/2/2,正月,初一,1984
  5502. 1984/3/2,正月,三十,1984
  5503. 1984/3/3,二月,初一,1984
  5504. 1984/3/31,二月,廿九,1984
  5505. 1984/4/1,三月,初一,1984
  5506. 1984/4/30,三月,三十,1984
  5507. 1984/5/1,四月,初一,1984
  5508. 1984/5/30,四月,三十,1984
  5509. 1984/5/31,五月,初一,1984
  5510. 1984/6/28,五月,廿九,1984
  5511. 1984/6/29,六月,初一,1984
  5512. 1984/7/27,六月,廿九,1984
  5513. 1984/7/28,七月,初一,1984
  5514. 1984/8/26,七月,三十,1984
  5515. 1984/8/27,八月,初一,1984
  5516. 1984/9/24,八月,廿九,1984
  5517. 1984/9/25,九月,初一,1984
  5518. 1984/10/23,九月,廿九,1984
  5519. 1984/10/24,十月,初一,1984
  5520. 1984/11/22,十月,三十,1984
  5521. 1984/11/23,闰十月,初一,1984
  5522. 1984/12/21,闰十月,廿九,1984
  5523. 1984/12/22,冬月,初一,1984
  5524. 1985/1/20,冬月,三十,1984
  5525. 1985/1/21,腊月,初一,1984
  5526. 1985/2/19,腊月,三十,1984
  5527. 1985/2/20,正月,初一,1985
  5528. 1985/3/20,正月,廿九,1985
  5529. 1985/3/21,二月,初一,1985
  5530. 1985/4/19,二月,三十,1985
  5531. 1985/4/20,三月,初一,1985
  5532. 1985/5/19,三月,三十,1985
  5533. 1985/5/20,四月,初一,1985
  5534. 1985/6/17,四月,廿九,1985
  5535. 1985/6/18,五月,初一,1985
  5536. 1985/7/17,五月,三十,1985
  5537. 1985/7/18,六月,初一,1985
  5538. 1985/8/15,六月,廿九,1985
  5539. 1985/8/16,七月,初一,1985
  5540. 1985/9/14,七月,三十,1985
  5541. 1985/9/15,八月,初一,1985
  5542. 1985/10/13,八月,廿九,1985
  5543. 1985/10/14,九月,初一,1985
  5544. 1985/11/11,九月,廿九,1985
  5545. 1985/11/12,十月,初一,1985
  5546. 1985/12/11,十月,三十,1985
  5547. 1985/12/12,冬月,初一,1985
  5548. 1986/1/9,冬月,廿九,1985
  5549. 1986/1/10,腊月,初一,1985
  5550. 1986/2/8,腊月,三十,1985
  5551. 1986/2/9,正月,初一,1986
  5552. 1986/3/9,正月,廿九,1986
  5553. 1986/3/10,二月,初一,1986
  5554. 1986/4/8,二月,三十,1986
  5555. 1986/4/9,三月,初一,1986
  5556. 1986/5/8,三月,三十,1986
  5557. 1986/5/9,四月,初一,1986
  5558. 1986/6/6,四月,廿九,1986
  5559. 1986/6/7,五月,初一,1986
  5560. 1986/7/6,五月,三十,1986
  5561. 1986/7/7,六月,初一,1986
  5562. 1986/8/5,六月,三十,1986
  5563. 1986/8/6,七月,初一,1986
  5564. 1986/9/3,七月,廿九,1986
  5565. 1986/9/4,八月,初一,1986
  5566. 1986/10/3,八月,三十,1986
  5567. 1986/10/4,九月,初一,1986
  5568. 1986/11/1,九月,廿九,1986
  5569. 1986/11/2,十月,初一,1986
  5570. 1986/12/1,十月,三十,1986
  5571. 1986/12/2,冬月,初一,1986
  5572. 1986/12/30,冬月,廿九,1986
  5573. 1986/12/31,腊月,初一,1986
  5574. 1987/1/28,腊月,廿九,1986
  5575. 1987/1/29,正月,初一,1987
  5576. 1987/2/27,正月,三十,1987
  5577. 1987/2/28,二月,初一,1987
  5578. 1987/3/28,二月,廿九,1987
  5579. 1987/3/29,三月,初一,1987
  5580. 1987/4/27,三月,三十,1987
  5581. 1987/4/28,四月,初一,1987
  5582. 1987/5/26,四月,廿九,1987
  5583. 1987/5/27,五月,初一,1987
  5584. 1987/6/25,五月,三十,1987
  5585. 1987/6/26,六月,初一,1987
  5586. 1987/7/25,六月,三十,1987
  5587. 1987/7/26,闰六月,初一,1987
  5588. 1987/8/23,闰六月,廿九,1987
  5589. 1987/8/24,七月,初一,1987
  5590. 1987/9/22,七月,三十,1987
  5591. 1987/9/23,八月,初一,1987
  5592. 1987/10/22,八月,三十,1987
  5593. 1987/10/23,九月,初一,1987
  5594. 1987/11/20,九月,廿九,1987
  5595. 1987/11/21,十月,初一,1987
  5596. 1987/12/20,十月,三十,1987
  5597. 1987/12/21,冬月,初一,1987
  5598. 1988/1/18,冬月,廿九,1987
  5599. 1988/1/19,腊月,初一,1987
  5600. 1988/2/16,腊月,廿九,1987
  5601. 1988/2/17,正月,初一,1988
  5602. 1988/3/17,正月,三十,1988
  5603. 1988/3/18,二月,初一,1988
  5604. 1988/4/15,二月,廿九,1988
  5605. 1988/4/16,三月,初一,1988
  5606. 1988/5/15,三月,三十,1988
  5607. 1988/5/16,四月,初一,1988
  5608. 1988/6/13,四月,廿九,1988
  5609. 1988/6/14,五月,初一,1988
  5610. 1988/7/13,五月,三十,1988
  5611. 1988/7/14,六月,初一,1988
  5612. 1988/8/11,六月,廿九,1988
  5613. 1988/8/12,七月,初一,1988
  5614. 1988/9/10,七月,三十,1988
  5615. 1988/9/11,八月,初一,1988
  5616. 1988/10/10,八月,三十,1988
  5617. 1988/10/11,九月,初一,1988
  5618. 1988/11/8,九月,廿九,1988
  5619. 1988/11/9,十月,初一,1988
  5620. 1988/12/8,十月,三十,1988
  5621. 1988/12/9,冬月,初一,1988
  5622. 1989/1/7,冬月,三十,1988
  5623. 1989/1/8,腊月,初一,1988
  5624. 1989/2/5,腊月,廿九,1988
  5625. 1989/2/6,正月,初一,1989
  5626. 1989/3/7,正月,三十,1989
  5627. 1989/3/8,二月,初一,1989
  5628. 1989/4/5,二月,廿九,1989
  5629. 1989/4/6,三月,初一,1989
  5630. 1989/5/4,三月,廿九,1989
  5631. 1989/5/5,四月,初一,1989
  5632. 1989/6/3,四月,三十,1989
  5633. 1989/6/4,五月,初一,1989
  5634. 1989/7/2,五月,廿九,1989
  5635. 1989/7/3,六月,初一,1989
  5636. 1989/8/1,六月,三十,1989
  5637. 1989/8/2,七月,初一,1989
  5638. 1989/8/30,七月,廿九,1989
  5639. 1989/8/31,八月,初一,1989
  5640. 1989/9/29,八月,三十,1989
  5641. 1989/9/30,九月,初一,1989
  5642. 1989/10/28,九月,廿九,1989
  5643. 1989/10/29,十月,初一,1989
  5644. 1989/11/27,十月,三十,1989
  5645. 1989/11/28,冬月,初一,1989
  5646. 1989/12/27,冬月,三十,1989
  5647. 1989/12/28,腊月,初一,1989
  5648. 1990/1/26,腊月,三十,1989
  5649. 1990/1/27,正月,初一,1990
  5650. 1990/2/24,正月,廿九,1990
  5651. 1990/2/25,二月,初一,1990
  5652. 1990/3/26,二月,三十,1990
  5653. 1990/3/27,三月,初一,1990
  5654. 1990/4/24,三月,廿九,1990
  5655. 1990/4/25,四月,初一,1990
  5656. 1990/5/23,四月,廿九,1990
  5657. 1990/5/24,五月,初一,1990
  5658. 1990/6/22,五月,三十,1990
  5659. 1990/6/23,闰五月,初一,1990
  5660. 1990/7/21,闰五月,廿九,1990
  5661. 1990/7/22,六月,初一,1990
  5662. 1990/8/19,六月,廿九,1990
  5663. 1990/8/20,七月,初一,1990
  5664. 1990/9/18,七月,三十,1990
  5665. 1990/9/19,八月,初一,1990
  5666. 1990/10/17,八月,廿九,1990
  5667. 1990/10/18,九月,初一,1990
  5668. 1990/11/16,九月,三十,1990
  5669. 1990/11/17,十月,初一,1990
  5670. 1990/12/16,十月,三十,1990
  5671. 1990/12/17,冬月,初一,1990
  5672. 1991/1/15,冬月,三十,1990
  5673. 1991/1/16,腊月,初一,1990
  5674. 1991/2/14,腊月,三十,1990
  5675. 1991/2/15,正月,初一,1991
  5676. 1991/3/15,正月,廿九,1991
  5677. 1991/3/16,二月,初一,1991
  5678. 1991/4/14,二月,三十,1991
  5679. 1991/4/15,三月,初一,1991
  5680. 1991/5/13,三月,廿九,1991
  5681. 1991/5/14,四月,初一,1991
  5682. 1991/6/11,四月,廿九,1991
  5683. 1991/6/12,五月,初一,1991
  5684. 1991/7/11,五月,三十,1991
  5685. 1991/7/12,六月,初一,1991
  5686. 1991/8/9,六月,廿九,1991
  5687. 1991/8/10,七月,初一,1991
  5688. 1991/9/7,七月,廿九,1991
  5689. 1991/9/8,八月,初一,1991
  5690. 1991/10/7,八月,三十,1991
  5691. 1991/10/8,九月,初一,1991
  5692. 1991/11/5,九月,廿九,1991
  5693. 1991/11/6,十月,初一,1991
  5694. 1991/12/5,十月,三十,1991
  5695. 1991/12/6,冬月,初一,1991
  5696. 1992/1/4,冬月,三十,1991
  5697. 1992/1/5,腊月,初一,1991
  5698. 1992/2/3,腊月,三十,1991
  5699. 1992/2/4,正月,初一,1992
  5700. 1992/3/3,正月,廿九,1992
  5701. 1992/3/4,二月,初一,1992
  5702. 1992/4/2,二月,三十,1992
  5703. 1992/4/3,三月,初一,1992
  5704. 1992/5/2,三月,三十,1992
  5705. 1992/5/3,四月,初一,1992
  5706. 1992/5/31,四月,廿九,1992
  5707. 1992/6/1,五月,初一,1992
  5708. 1992/6/29,五月,廿九,1992
  5709. 1992/6/30,六月,初一,1992
  5710. 1992/7/29,六月,三十,1992
  5711. 1992/7/30,七月,初一,1992
  5712. 1992/8/27,七月,廿九,1992
  5713. 1992/8/28,八月,初一,1992
  5714. 1992/9/25,八月,廿九,1992
  5715. 1992/9/26,九月,初一,1992
  5716. 1992/10/25,九月,三十,1992
  5717. 1992/10/26,十月,初一,1992
  5718. 1992/11/23,十月,廿九,1992
  5719. 1992/11/24,冬月,初一,1992
  5720. 1992/12/23,冬月,三十,1992
  5721. 1992/12/24,腊月,初一,1992
  5722. 1993/1/22,腊月,三十,1992
  5723. 1993/1/23,正月,初一,1993
  5724. 1993/2/20,正月,廿九,1993
  5725. 1993/2/21,二月,初一,1993
  5726. 1993/3/22,二月,三十,1993
  5727. 1993/3/23,三月,初一,1993
  5728. 1993/4/21,三月,三十,1993
  5729. 1993/4/22,闰三月,初一,1993
  5730. 1993/5/20,闰三月,廿九,1993
  5731. 1993/5/21,四月,初一,1993
  5732. 1993/6/19,四月,三十,1993
  5733. 1993/6/20,五月,初一,1993
  5734. 1993/7/18,五月,廿九,1993
  5735. 1993/7/19,六月,初一,1993
  5736. 1993/8/17,六月,三十,1993
  5737. 1993/8/18,七月,初一,1993
  5738. 1993/9/15,七月,廿九,1993
  5739. 1993/9/16,八月,初一,1993
  5740. 1993/10/14,八月,廿九,1993
  5741. 1993/10/15,九月,初一,1993
  5742. 1993/11/13,九月,三十,1993
  5743. 1993/11/14,十月,初一,1993
  5744. 1993/12/12,十月,廿九,1993
  5745. 1993/12/13,冬月,初一,1993
  5746. 1994/1/11,冬月,三十,1993
  5747. 1994/1/12,腊月,初一,1993
  5748. 1994/2/9,腊月,廿九,1993
  5749. 1994/2/10,正月,初一,1994
  5750. 1994/3/11,正月,三十,1994
  5751. 1994/3/12,二月,初一,1994
  5752. 1994/4/10,二月,三十,1994
  5753. 1994/4/11,三月,初一,1994
  5754. 1994/5/10,三月,三十,1994
  5755. 1994/5/11,四月,初一,1994
  5756. 1994/6/8,四月,廿九,1994
  5757. 1994/6/9,五月,初一,1994
  5758. 1994/7/8,五月,三十,1994
  5759. 1994/7/9,六月,初一,1994
  5760. 1994/8/6,六月,廿九,1994
  5761. 1994/8/7,七月,初一,1994
  5762. 1994/9/5,七月,三十,1994
  5763. 1994/9/6,八月,初一,1994
  5764. 1994/10/4,八月,廿九,1994
  5765. 1994/10/5,九月,初一,1994
  5766. 1994/11/2,九月,廿九,1994
  5767. 1994/11/3,十月,初一,1994
  5768. 1994/12/2,十月,三十,1994
  5769. 1994/12/3,冬月,初一,1994
  5770. 1994/12/31,冬月,廿九,1994
  5771. 1995/1/1,腊月,初一,1994
  5772. 1995/1/30,腊月,三十,1994
  5773. 1995/1/31,正月,初一,1995
  5774. 1995/2/28,正月,廿九,1995
  5775. 1995/3/1,二月,初一,1995
  5776. 1995/3/30,二月,三十,1995
  5777. 1995/3/31,三月,初一,1995
  5778. 1995/4/29,三月,三十,1995
  5779. 1995/4/30,四月,初一,1995
  5780. 1995/5/28,四月,廿九,1995
  5781. 1995/5/29,五月,初一,1995
  5782. 1995/6/27,五月,三十,1995
  5783. 1995/6/28,六月,初一,1995
  5784. 1995/7/26,六月,廿九,1995
  5785. 1995/7/27,七月,初一,1995
  5786. 1995/8/25,七月,三十,1995
  5787. 1995/8/26,八月,初一,1995
  5788. 1995/9/24,八月,三十,1995
  5789. 1995/9/25,闰八月,初一,1995
  5790. 1995/10/23,闰八月,廿九,1995
  5791. 1995/10/24,九月,初一,1995
  5792. 1995/11/21,九月,廿九,1995
  5793. 1995/11/22,十月,初一,1995
  5794. 1995/12/21,十月,三十,1995
  5795. 1995/12/22,冬月,初一,1995
  5796. 1996/1/19,冬月,廿九,1995
  5797. 1996/1/20,腊月,初一,1995
  5798. 1996/2/18,腊月,三十,1995
  5799. 1996/2/19,正月,初一,1996
  5800. 1996/3/18,正月,廿九,1996
  5801. 1996/3/19,二月,初一,1996
  5802. 1996/4/17,二月,三十,1996
  5803. 1996/4/18,三月,初一,1996
  5804. 1996/5/16,三月,廿九,1996
  5805. 1996/5/17,四月,初一,1996
  5806. 1996/6/15,四月,三十,1996
  5807. 1996/6/16,五月,初一,1996
  5808. 1996/7/15,五月,三十,1996
  5809. 1996/7/16,六月,初一,1996
  5810. 1996/8/13,六月,廿九,1996
  5811. 1996/8/14,七月,初一,1996
  5812. 1996/9/12,七月,三十,1996
  5813. 1996/9/13,八月,初一,1996
  5814. 1996/10/11,八月,廿九,1996
  5815. 1996/10/12,九月,初一,1996
  5816. 1996/11/10,九月,三十,1996
  5817. 1996/11/11,十月,初一,1996
  5818. 1996/12/10,十月,三十,1996
  5819. 1996/12/11,冬月,初一,1996
  5820. 1997/1/8,冬月,廿九,1996
  5821. 1997/1/9,腊月,初一,1996
  5822. 1997/2/6,腊月,廿九,1996
  5823. 1997/2/7,正月,初一,1997
  5824. 1997/3/8,正月,三十,1997
  5825. 1997/3/9,二月,初一,1997
  5826. 1997/4/6,二月,廿九,1997
  5827. 1997/4/7,三月,初一,1997
  5828. 1997/5/6,三月,三十,1997
  5829. 1997/5/7,四月,初一,1997
  5830. 1997/6/4,四月,廿九,1997
  5831. 1997/6/5,五月,初一,1997
  5832. 1997/7/4,五月,三十,1997
  5833. 1997/7/5,六月,初一,1997
  5834. 1997/8/2,六月,廿九,1997
  5835. 1997/8/3,七月,初一,1997
  5836. 1997/9/1,七月,三十,1997
  5837. 1997/9/2,八月,初一,1997
  5838. 1997/10/1,八月,三十,1997
  5839. 1997/10/2,九月,初一,1997
  5840. 1997/10/30,九月,廿九,1997
  5841. 1997/10/31,十月,初一,1997
  5842. 1997/11/29,十月,三十,1997
  5843. 1997/11/30,冬月,初一,1997
  5844. 1997/12/29,冬月,三十,1997
  5845. 1997/12/30,腊月,初一,1997
  5846. 1998/1/27,腊月,廿九,1997
  5847. 1998/1/28,正月,初一,1998
  5848. 1998/2/26,正月,三十,1998
  5849. 1998/2/27,二月,初一,1998
  5850. 1998/3/27,二月,廿九,1998
  5851. 1998/3/28,三月,初一,1998
  5852. 1998/4/25,三月,廿九,1998
  5853. 1998/4/26,四月,初一,1998
  5854. 1998/5/25,四月,三十,1998
  5855. 1998/5/26,五月,初一,1998
  5856. 1998/6/23,五月,廿九,1998
  5857. 1998/6/24,闰五月,初一,1998
  5858. 1998/7/22,闰五月,廿九,1998
  5859. 1998/7/23,六月,初一,1998
  5860. 1998/8/21,六月,三十,1998
  5861. 1998/8/22,七月,初一,1998
  5862. 1998/9/20,七月,三十,1998
  5863. 1998/9/21,八月,初一,1998
  5864. 1998/10/19,八月,廿九,1998
  5865. 1998/10/20,九月,初一,1998
  5866. 1998/11/18,九月,三十,1998
  5867. 1998/11/19,十月,初一,1998
  5868. 1998/12/18,十月,三十,1998
  5869. 1998/12/19,冬月,初一,1998
  5870. 1999/1/16,冬月,廿九,1998
  5871. 1999/1/17,腊月,初一,1998
  5872. 1999/2/15,腊月,三十,1998
  5873. 1999/2/16,正月,初一,1999
  5874. 1999/3/17,正月,三十,1999
  5875. 1999/3/18,二月,初一,1999
  5876. 1999/4/15,二月,廿九,1999
  5877. 1999/4/16,三月,初一,1999
  5878. 1999/5/14,三月,廿九,1999
  5879. 1999/5/15,四月,初一,1999
  5880. 1999/6/13,四月,三十,1999
  5881. 1999/6/14,五月,初一,1999
  5882. 1999/7/12,五月,廿九,1999
  5883. 1999/7/13,六月,初一,1999
  5884. 1999/8/10,六月,廿九,1999
  5885. 1999/8/11,七月,初一,1999
  5886. 1999/9/9,七月,三十,1999
  5887. 1999/9/10,八月,初一,1999
  5888. 1999/10/8,八月,廿九,1999
  5889. 1999/10/9,九月,初一,1999
  5890. 1999/11/7,九月,三十,1999
  5891. 1999/11/8,十月,初一,1999
  5892. 1999/12/7,十月,三十,1999
  5893. 1999/12/8,冬月,初一,1999
  5894. 2000/1/6,冬月,三十,1999
  5895. 2000/1/7,腊月,初一,1999
  5896. 2000/2/4,腊月,廿九,1999
  5897. 2000/2/5,正月,初一,2000
  5898. 2000/3/5,正月,三十,2000
  5899. 2000/3/6,二月,初一,2000
  5900. 2000/4/4,二月,三十,2000
  5901. 2000/4/5,三月,初一,2000
  5902. 2000/5/3,三月,廿九,2000
  5903. 2000/5/4,四月,初一,2000
  5904. 2000/6/1,四月,廿九,2000
  5905. 2000/6/2,五月,初一,2000
  5906. 2000/7/1,五月,三十,2000
  5907. 2000/7/2,六月,初一,2000
  5908. 2000/7/30,六月,廿九,2000
  5909. 2000/7/31,七月,初一,2000
  5910. 2000/8/28,七月,廿九,2000
  5911. 2000/8/29,八月,初一,2000
  5912. 2000/9/27,八月,三十,2000
  5913. 2000/9/28,九月,初一,2000
  5914. 2000/10/26,九月,廿九,2000
  5915. 2000/10/27,十月,初一,2000
  5916. 2000/11/25,十月,三十,2000
  5917. 2000/11/26,冬月,初一,2000
  5918. 2000/12/25,冬月,三十,2000
  5919. 2000/12/26,腊月,初一,2000
  5920. 2001/1/23,腊月,廿九,2000
  5921. 2001/1/24,正月,初一,2001
  5922. 2001/2/22,正月,三十,2001
  5923. 2001/2/23,二月,初一,2001
  5924. 2001/3/24,二月,三十,2001
  5925. 2001/3/25,三月,初一,2001
  5926. 2001/4/22,三月,廿九,2001
  5927. 2001/4/23,四月,初一,2001
  5928. 2001/5/22,四月,三十,2001
  5929. 2001/5/23,闰四月,初一,2001
  5930. 2001/6/20,闰四月,廿九,2001
  5931. 2001/6/21,五月,初一,2001
  5932. 2001/7/20,五月,三十,2001
  5933. 2001/7/21,六月,初一,2001
  5934. 2001/8/18,六月,廿九,2001
  5935. 2001/8/19,七月,初一,2001
  5936. 2001/9/16,七月,廿九,2001
  5937. 2001/9/17,八月,初一,2001
  5938. 2001/10/16,八月,三十,2001
  5939. 2001/10/17,九月,初一,2001
  5940. 2001/11/14,九月,廿九,2001
  5941. 2001/11/15,十月,初一,2001
  5942. 2001/12/14,十月,三十,2001
  5943. 2001/12/15,冬月,初一,2001
  5944. 2002/1/12,冬月,廿九,2001
  5945. 2002/1/13,腊月,初一,2001
  5946. 2002/2/11,腊月,三十,2001
  5947. 2002/2/12,正月,初一,2002
  5948. 2002/3/13,正月,三十,2002
  5949. 2002/3/14,二月,初一,2002
  5950. 2002/4/12,二月,三十,2002
  5951. 2002/4/13,三月,初一,2002
  5952. 2002/5/11,三月,廿九,2002
  5953. 2002/5/12,四月,初一,2002
  5954. 2002/6/10,四月,三十,2002
  5955. 2002/6/11,五月,初一,2002
  5956. 2002/7/9,五月,廿九,2002
  5957. 2002/7/10,六月,初一,2002
  5958. 2002/8/8,六月,三十,2002
  5959. 2002/8/9,七月,初一,2002
  5960. 2002/9/6,七月,廿九,2002
  5961. 2002/9/7,八月,初一,2002
  5962. 2002/10/5,八月,廿九,2002
  5963. 2002/10/6,九月,初一,2002
  5964. 2002/11/4,九月,三十,2002
  5965. 2002/11/5,十月,初一,2002
  5966. 2002/12/3,十月,廿九,2002
  5967. 2002/12/4,冬月,初一,2002
  5968. 2003/1/2,冬月,三十,2002
  5969. 2003/1/3,腊月,初一,2002
  5970. 2003/1/31,腊月,廿九,2002
  5971. 2003/2/1,正月,初一,2003
  5972. 2003/3/2,正月,三十,2003
  5973. 2003/3/3,二月,初一,2003
  5974. 2003/4/1,二月,三十,2003
  5975. 2003/4/2,三月,初一,2003
  5976. 2003/4/30,三月,廿九,2003
  5977. 2003/5/1,四月,初一,2003
  5978. 2003/5/30,四月,三十,2003
  5979. 2003/5/31,五月,初一,2003
  5980. 2003/6/29,五月,三十,2003
  5981. 2003/6/30,六月,初一,2003
  5982. 2003/7/28,六月,廿九,2003
  5983. 2003/7/29,七月,初一,2003
  5984. 2003/8/27,七月,三十,2003
  5985. 2003/8/28,八月,初一,2003
  5986. 2003/9/25,八月,廿九,2003
  5987. 2003/9/26,九月,初一,2003
  5988. 2003/10/24,九月,廿九,2003
  5989. 2003/10/25,十月,初一,2003
  5990. 2003/11/23,十月,三十,2003
  5991. 2003/11/24,冬月,初一,2003
  5992. 2003/12/22,冬月,廿九,2003
  5993. 2003/12/23,腊月,初一,2003
  5994. 2004/1/21,腊月,三十,2003
  5995. 2004/1/22,正月,初一,2004
  5996. 2004/2/19,正月,廿九,2004
  5997. 2004/2/20,二月,初一,2004
  5998. 2004/3/20,二月,三十,2004
  5999. 2004/3/21,闰二月,初一,2004
  6000. 2004/4/18,闰二月,廿九,2004
  6001. 2004/4/19,三月,初一,2004
  6002. 2004/5/18,三月,三十,2004
  6003. 2004/5/19,四月,初一,2004
  6004. 2004/6/17,四月,三十,2004
  6005. 2004/6/18,五月,初一,2004
  6006. 2004/7/16,五月,廿九,2004
  6007. 2004/7/17,六月,初一,2004
  6008. 2004/8/15,六月,三十,2004
  6009. 2004/8/16,七月,初一,2004
  6010. 2004/9/13,七月,廿九,2004
  6011. 2004/9/14,八月,初一,2004
  6012. 2004/10/13,八月,三十,2004
  6013. 2004/10/14,九月,初一,2004
  6014. 2004/11/11,九月,廿九,2004
  6015. 2004/11/12,十月,初一,2004
  6016. 2004/12/11,十月,三十,2004
  6017. 2004/12/12,冬月,初一,2004
  6018. 2005/1/9,冬月,廿九,2004
  6019. 2005/1/10,腊月,初一,2004
  6020. 2005/2/8,腊月,三十,2004
  6021. 2005/2/9,正月,初一,2005
  6022. 2005/3/9,正月,廿九,2005
  6023. 2005/3/10,二月,初一,2005
  6024. 2005/4/8,二月,三十,2005
  6025. 2005/4/9,三月,初一,2005
  6026. 2005/5/7,三月,廿九,2005
  6027. 2005/5/8,四月,初一,2005
  6028. 2005/6/6,四月,三十,2005
  6029. 2005/6/7,五月,初一,2005
  6030. 2005/7/5,五月,廿九,2005
  6031. 2005/7/6,六月,初一,2005
  6032. 2005/8/4,六月,三十,2005
  6033. 2005/8/5,七月,初一,2005
  6034. 2005/9/3,七月,三十,2005
  6035. 2005/9/4,八月,初一,2005
  6036. 2005/10/2,八月,廿九,2005
  6037. 2005/10/3,九月,初一,2005
  6038. 2005/11/1,九月,三十,2005
  6039. 2005/11/2,十月,初一,2005
  6040. 2005/11/30,十月,廿九,2005
  6041. 2005/12/1,冬月,初一,2005
  6042. 2005/12/30,冬月,三十,2005
  6043. 2005/12/31,腊月,初一,2005
  6044. 2006/1/28,腊月,廿九,2005
  6045. 2006/1/29,正月,初一,2006
  6046. 2006/2/27,正月,三十,2006
  6047. 2006/2/28,二月,初一,2006
  6048. 2006/3/28,二月,廿九,2006
  6049. 2006/3/29,三月,初一,2006
  6050. 2006/4/27,三月,三十,2006
  6051. 2006/4/28,四月,初一,2006
  6052. 2006/5/26,四月,廿九,2006
  6053. 2006/5/27,五月,初一,2006
  6054. 2006/6/25,五月,三十,2006
  6055. 2006/6/26,六月,初一,2006
  6056. 2006/7/24,六月,廿九,2006
  6057. 2006/7/25,七月,初一,2006
  6058. 2006/8/23,七月,三十,2006
  6059. 2006/8/24,闰七月,初一,2006
  6060. 2006/9/21,闰七月,廿九,2006
  6061. 2006/9/22,八月,初一,2006
  6062. 2006/10/21,八月,三十,2006
  6063. 2006/10/22,九月,初一,2006
  6064. 2006/11/20,九月,三十,2006
  6065. 2006/11/21,十月,初一,2006
  6066. 2006/12/19,十月,廿九,2006
  6067. 2006/12/20,冬月,初一,2006
  6068. 2007/1/18,冬月,三十,2006
  6069. 2007/1/19,腊月,初一,2006
  6070. 2007/2/17,腊月,三十,2006
  6071. 2007/2/18,正月,初一,2007
  6072. 2007/3/18,正月,廿九,2007
  6073. 2007/3/19,二月,初一,2007
  6074. 2007/4/16,二月,廿九,2007
  6075. 2007/4/17,三月,初一,2007
  6076. 2007/5/16,三月,三十,2007
  6077. 2007/5/17,四月,初一,2007
  6078. 2007/6/14,四月,廿九,2007
  6079. 2007/6/15,五月,初一,2007
  6080. 2007/7/13,五月,廿九,2007
  6081. 2007/7/14,六月,初一,2007
  6082. 2007/8/12,六月,三十,2007
  6083. 2007/8/13,七月,初一,2007
  6084. 2007/9/10,七月,廿九,2007
  6085. 2007/9/11,八月,初一,2007
  6086. 2007/10/10,八月,三十,2007
  6087. 2007/10/11,九月,初一,2007
  6088. 2007/11/9,九月,三十,2007
  6089. 2007/11/10,十月,初一,2007
  6090. 2007/12/9,十月,三十,2007
  6091. 2007/12/10,冬月,初一,2007
  6092. 2008/1/7,冬月,廿九,2007
  6093. 2008/1/8,腊月,初一,2007
  6094. 2008/2/6,腊月,三十,2007
  6095. 2008/2/7,正月,初一,2008
  6096. 2008/3/7,正月,三十,2008
  6097. 2008/3/8,二月,初一,2008
  6098. 2008/4/5,二月,廿九,2008
  6099. 2008/4/6,三月,初一,2008
  6100. 2008/5/4,三月,廿九,2008
  6101. 2008/5/5,四月,初一,2008
  6102. 2008/6/3,四月,三十,2008
  6103. 2008/6/4,五月,初一,2008
  6104. 2008/7/2,五月,廿九,2008
  6105. 2008/7/3,六月,初一,2008
  6106. 2008/7/31,六月,廿九,2008
  6107. 2008/8/1,七月,初一,2008
  6108. 2008/8/30,七月,三十,2008
  6109. 2008/8/31,八月,初一,2008
  6110. 2008/9/28,八月,廿九,2008
  6111. 2008/9/29,九月,初一,2008
  6112. 2008/10/28,九月,三十,2008
  6113. 2008/10/29,十月,初一,2008
  6114. 2008/11/27,十月,三十,2008
  6115. 2008/11/28,冬月,初一,2008
  6116. 2008/12/26,冬月,廿九,2008
  6117. 2008/12/27,腊月,初一,2008
  6118. 2009/1/25,腊月,三十,2008
  6119. 2009/1/26,正月,初一,2009
  6120. 2009/2/24,正月,三十,2009
  6121. 2009/2/25,二月,初一,2009
  6122. 2009/3/26,二月,三十,2009
  6123. 2009/3/27,三月,初一,2009
  6124. 2009/4/24,三月,廿九,2009
  6125. 2009/4/25,四月,初一,2009
  6126. 2009/5/23,四月,廿九,2009
  6127. 2009/5/24,五月,初一,2009
  6128. 2009/6/22,五月,三十,2009
  6129. 2009/6/23,闰五月,初一,2009
  6130. 2009/7/21,闰五月,廿九,2009
  6131. 2009/7/22,六月,初一,2009
  6132. 2009/8/19,六月,廿九,2009
  6133. 2009/8/20,七月,初一,2009
  6134. 2009/9/18,七月,三十,2009
  6135. 2009/9/19,八月,初一,2009
  6136. 2009/10/17,八月,廿九,2009
  6137. 2009/10/18,九月,初一,2009
  6138. 2009/11/16,九月,三十,2009
  6139. 2009/11/17,十月,初一,2009
  6140. 2009/12/15,十月,廿九,2009
  6141. 2009/12/16,冬月,初一,2009
  6142. 2010/1/14,冬月,三十,2009
  6143. 2010/1/15,腊月,初一,2009
  6144. 2010/2/13,腊月,三十,2009
  6145. 2010/2/14,正月,初一,2010
  6146. 2010/3/15,正月,三十,2010
  6147. 2010/3/16,二月,初一,2010
  6148. 2010/4/13,二月,廿九,2010
  6149. 2010/4/14,三月,初一,2010
  6150. 2010/5/13,三月,三十,2010
  6151. 2010/5/14,四月,初一,2010
  6152. 2010/6/11,四月,廿九,2010
  6153. 2010/6/12,五月,初一,2010
  6154. 2010/7/11,五月,三十,2010
  6155. 2010/7/12,六月,初一,2010
  6156. 2010/8/9,六月,廿九,2010
  6157. 2010/8/10,七月,初一,2010
  6158. 2010/9/7,七月,廿九,2010
  6159. 2010/9/8,八月,初一,2010
  6160. 2010/10/7,八月,三十,2010
  6161. 2010/10/8,九月,初一,2010
  6162. 2010/11/5,九月,廿九,2010
  6163. 2010/11/6,十月,初一,2010
  6164. 2010/12/5,十月,三十,2010
  6165. 2010/12/6,冬月,初一,2010
  6166. 2011/1/3,冬月,廿九,2010
  6167. 2011/1/4,腊月,初一,2010
  6168. 2011/2/2,腊月,三十,2010
  6169. 2011/2/3,正月,初一,2011
  6170. 2011/3/4,正月,三十,2011
  6171. 2011/3/5,二月,初一,2011
  6172. 2011/4/2,二月,廿九,2011
  6173. 2011/4/3,三月,初一,2011
  6174. 2011/5/2,三月,三十,2011
  6175. 2011/5/3,四月,初一,2011
  6176. 2011/6/1,四月,三十,2011
  6177. 2011/6/2,五月,初一,2011
  6178. 2011/6/30,五月,廿九,2011
  6179. 2011/7/1,六月,初一,2011
  6180. 2011/7/30,六月,三十,2011
  6181. 2011/7/31,七月,初一,2011
  6182. 2011/8/28,七月,廿九,2011
  6183. 2011/8/29,八月,初一,2011
  6184. 2011/9/26,八月,廿九,2011
  6185. 2011/9/27,九月,初一,2011
  6186. 2011/10/26,九月,三十,2011
  6187. 2011/10/27,十月,初一,2011
  6188. 2011/11/24,十月,廿九,2011
  6189. 2011/11/25,冬月,初一,2011
  6190. 2011/12/24,冬月,三十,2011
  6191. 2011/12/25,腊月,初一,2011
  6192. 2012/1/22,腊月,廿九,2011
  6193. 2012/1/23,正月,初一,2012
  6194. 2012/2/21,正月,三十,2012
  6195. 2012/2/22,二月,初一,2012
  6196. 2012/3/21,二月,廿九,2012
  6197. 2012/3/22,三月,初一,2012
  6198. 2012/4/20,三月,三十,2012
  6199. 2012/4/21,四月,初一,2012
  6200. 2012/5/20,四月,三十,2012
  6201. 2012/5/21,闰四月,初一,2012
  6202. 2012/6/18,闰四月,廿九,2012
  6203. 2012/6/19,五月,初一,2012
  6204. 2012/7/18,五月,三十,2012
  6205. 2012/7/19,六月,初一,2012
  6206. 2012/8/16,六月,廿九,2012
  6207. 2012/8/17,七月,初一,2012
  6208. 2012/9/15,七月,三十,2012
  6209. 2012/9/16,八月,初一,2012
  6210. 2012/10/14,八月,廿九,2012
  6211. 2012/10/15,九月,初一,2012
  6212. 2012/11/13,九月,三十,2012
  6213. 2012/11/14,十月,初一,2012
  6214. 2012/12/12,十月,廿九,2012
  6215. 2012/12/13,冬月,初一,2012
  6216. 2013/1/11,冬月,三十,2012
  6217. 2013/1/12,腊月,初一,2012
  6218. 2013/2/9,腊月,廿九,2012
  6219. 2013/2/10,正月,初一,2013
  6220. 2013/3/11,正月,三十,2013
  6221. 2013/3/12,二月,初一,2013
  6222. 2013/4/9,二月,廿九,2013
  6223. 2013/4/10,三月,初一,2013
  6224. 2013/5/9,三月,三十,2013
  6225. 2013/5/10,四月,初一,2013
  6226. 2013/6/7,四月,廿九,2013
  6227. 2013/6/8,五月,初一,2013
  6228. 2013/7/7,五月,三十,2013
  6229. 2013/7/8,六月,初一,2013
  6230. 2013/8/6,六月,三十,2013
  6231. 2013/8/7,七月,初一,2013
  6232. 2013/9/4,七月,廿九,2013
  6233. 2013/9/5,八月,初一,2013
  6234. 2013/10/4,八月,三十,2013
  6235. 2013/10/5,九月,初一,2013
  6236. 2013/11/2,九月,廿九,2013
  6237. 2013/11/3,十月,初一,2013
  6238. 2013/12/2,十月,三十,2013
  6239. 2013/12/3,冬月,初一,2013
  6240. 2013/12/31,冬月,廿九,2013
  6241. 2014/1/1,腊月,初一,2013
  6242. 2014/1/30,腊月,三十,2013
  6243. 2014/1/31,正月,初一,2014
  6244. 2014/2/28,正月,廿九,2014
  6245. 2014/3/1,二月,初一,2014
  6246. 2014/3/30,二月,三十,2014
  6247. 2014/3/31,三月,初一,2014
  6248. 2014/4/28,三月,廿九,2014
  6249. 2014/4/29,四月,初一,2014
  6250. 2014/5/28,四月,三十,2014
  6251. 2014/5/29,五月,初一,2014
  6252. 2014/6/26,五月,廿九,2014
  6253. 2014/6/27,六月,初一,2014
  6254. 2014/7/26,六月,三十,2014
  6255. 2014/7/27,七月,初一,2014
  6256. 2014/8/24,七月,廿九,2014
  6257. 2014/8/25,八月,初一,2014
  6258. 2014/9/23,八月,三十,2014
  6259. 2014/9/24,九月,初一,2014
  6260. 2014/10/23,九月,三十,2014
  6261. 2014/10/24,闰九月,初一,2014
  6262. 2014/11/21,闰九月,廿九,2014
  6263. 2014/11/22,十月,初一,2014
  6264. 2014/12/21,十月,三十,2014
  6265. 2014/12/22,冬月,初一,2014
  6266. 2015/1/19,冬月,廿九,2014
  6267. 2015/1/20,腊月,初一,2014
  6268. 2015/2/18,腊月,三十,2014
  6269. 2015/2/19,正月,初一,2015
  6270. 2015/3/19,正月,廿九,2015
  6271. 2015/3/20,二月,初一,2015
  6272. 2015/4/18,二月,三十,2015
  6273. 2015/4/19,三月,初一,2015
  6274. 2015/5/17,三月,廿九,2015
  6275. 2015/5/18,四月,初一,2015
  6276. 2015/6/15,四月,廿九,2015
  6277. 2015/6/16,五月,初一,2015
  6278. 2015/7/15,五月,三十,2015
  6279. 2015/7/16,六月,初一,2015
  6280. 2015/8/13,六月,廿九,2015
  6281. 2015/8/14,七月,初一,2015
  6282. 2015/9/12,七月,三十,2015
  6283. 2015/9/13,八月,初一,2015
  6284. 2015/10/12,八月,三十,2015
  6285. 2015/10/13,九月,初一,2015
  6286. 2015/11/11,九月,三十,2015
  6287. 2015/11/12,十月,初一,2015
  6288. 2015/12/10,十月,廿九,2015
  6289. 2015/12/11,冬月,初一,2015
  6290. 2016/1/9,冬月,三十,2015
  6291. 2016/1/10,腊月,初一,2015
  6292. 2016/2/7,腊月,廿九,2015
  6293. 2016/2/8,正月,初一,2016
  6294. 2016/3/8,正月,三十,2016
  6295. 2016/3/9,二月,初一,2016
  6296. 2016/4/6,二月,廿九,2016
  6297. 2016/4/7,三月,初一,2016
  6298. 2016/5/6,三月,三十,2016
  6299. 2016/5/7,四月,初一,2016
  6300. 2016/6/4,四月,廿九,2016
  6301. 2016/6/5,五月,初一,2016
  6302. 2016/7/3,五月,廿九,2016
  6303. 2016/7/4,六月,初一,2016
  6304. 2016/8/2,六月,三十,2016
  6305. 2016/8/3,七月,初一,2016
  6306. 2016/8/31,七月,廿九,2016
  6307. 2016/9/1,八月,初一,2016
  6308. 2016/9/30,八月,三十,2016
  6309. 2016/10/1,九月,初一,2016
  6310. 2016/10/30,九月,三十,2016
  6311. 2016/10/31,十月,初一,2016
  6312. 2016/11/28,十月,廿九,2016
  6313. 2016/11/29,冬月,初一,2016
  6314. 2016/12/28,冬月,三十,2016
  6315. 2016/12/29,腊月,初一,2016
  6316. 2017/1/27,腊月,三十,2016
  6317. 2017/1/28,正月,初一,2017
  6318. 2017/2/25,正月,廿九,2017
  6319. 2017/2/26,二月,初一,2017
  6320. 2017/3/27,二月,三十,2017
  6321. 2017/3/28,三月,初一,2017
  6322. 2017/4/25,三月,廿九,2017
  6323. 2017/4/26,四月,初一,2017
  6324. 2017/5/25,四月,三十,2017
  6325. 2017/5/26,五月,初一,2017
  6326. 2017/6/23,五月,廿九,2017
  6327. 2017/6/24,六月,初一,2017
  6328. 2017/7/22,六月,廿九,2017
  6329. 2017/7/23,闰六月,初一,2017
  6330. 2017/8/21,闰六月,三十,2017
  6331. 2017/8/22,七月,初一,2017
  6332. 2017/9/19,七月,廿九,2017
  6333. 2017/9/20,八月,初一,2017
  6334. 2017/10/19,八月,三十,2017
  6335. 2017/10/20,九月,初一,2017
  6336. 2017/11/17,九月,廿九,2017
  6337. 2017/11/18,十月,初一,2017
  6338. 2017/12/17,十月,三十,2017
  6339. 2017/12/18,冬月,初一,2017
  6340. 2018/1/16,冬月,三十,2017
  6341. 2018/1/17,腊月,初一,2017
  6342. 2018/2/15,腊月,三十,2017
  6343. 2018/2/16,正月,初一,2018
  6344. 2018/3/16,正月,廿九,2018
  6345. 2018/3/17,二月,初一,2018
  6346. 2018/4/15,二月,三十,2018
  6347. 2018/4/16,三月,初一,2018
  6348. 2018/5/14,三月,廿九,2018
  6349. 2018/5/15,四月,初一,2018
  6350. 2018/6/13,四月,三十,2018
  6351. 2018/6/14,五月,初一,2018
  6352. 2018/7/12,五月,廿九,2018
  6353. 2018/7/13,六月,初一,2018
  6354. 2018/8/10,六月,廿九,2018
  6355. 2018/8/11,七月,初一,2018
  6356. 2018/9/9,七月,三十,2018
  6357. 2018/9/10,八月,初一,2018
  6358. 2018/10/8,八月,廿九,2018
  6359. 2018/10/9,九月,初一,2018
  6360. 2018/11/7,九月,三十,2018
  6361. 2018/11/8,十月,初一,2018
  6362. 2018/12/6,十月,廿九,2018
  6363. 2018/12/7,冬月,初一,2018
  6364. 2019/1/5,冬月,三十,2018
  6365. 2019/1/6,腊月,初一,2018
  6366. 2019/2/4,腊月,三十,2018
  6367. 2019/2/5,正月,初一,2019
  6368. 2019/3/6,正月,三十,2019
  6369. 2019/3/7,二月,初一,2019
  6370. 2019/4/4,二月,廿九,2019
  6371. 2019/4/5,三月,初一,2019
  6372. 2019/5/4,三月,三十,2019
  6373. 2019/5/5,四月,初一,2019
  6374. 2019/6/2,四月,廿九,2019
  6375. 2019/6/3,五月,初一,2019
  6376. 2019/7/2,五月,三十,2019
  6377. 2019/7/3,六月,初一,2019
  6378. 2019/7/31,六月,廿九,2019
  6379. 2019/8/1,七月,初一,2019
  6380. 2019/8/29,七月,廿九,2019
  6381. 2019/8/30,八月,初一,2019
  6382. 2019/9/28,八月,三十,2019
  6383. 2019/9/29,九月,初一,2019
  6384. 2019/10/27,九月,廿九,2019
  6385. 2019/10/28,十月,初一,2019
  6386. 2019/11/25,十月,廿九,2019
  6387. 2019/11/26,冬月,初一,2019
  6388. 2019/12/25,冬月,三十,2019
  6389. 2019/12/26,腊月,初一,2019
  6390. 2020/1/24,腊月,三十,2019
  6391. 2020/1/25,正月,初一,2020
  6392. 2020/2/22,正月,廿九,2020
  6393. 2020/2/23,二月,初一,2020
  6394. 2020/3/23,二月,三十,2020
  6395. 2020/3/24,三月,初一,2020
  6396. 2020/4/22,三月,三十,2020
  6397. 2020/4/23,四月,初一,2020
  6398. 2020/5/22,四月,三十,2020
  6399. 2020/5/23,闰四月,初一,2020
  6400. 2020/6/20,闰四月,廿九,2020
  6401. 2020/6/21,五月,初一,2020
  6402. 2020/7/20,五月,三十,2020
  6403. 2020/7/21,六月,初一,2020
  6404. 2020/8/18,六月,廿九,2020
  6405. 2020/8/19,七月,初一,2020
  6406. 2020/9/16,七月,廿九,2020
  6407. 2020/9/17,八月,初一,2020
  6408. 2020/10/16,八月,三十,2020
  6409. 2020/10/17,九月,初一,2020
  6410. 2020/11/14,九月,廿九,2020
  6411. 2020/11/15,十月,初一,2020
  6412. 2020/12/14,十月,三十,2020
  6413. 2020/12/15,冬月,初一,2020
  6414. 2021/1/12,冬月,廿九,2020
  6415. 2021/1/13,腊月,初一,2020
  6416. 2021/2/11,腊月,三十,2020
  6417. 2021/2/12,正月,初一,2021
  6418. 2021/3/12,正月,廿九,2021
  6419. 2021/3/13,二月,初一,2021
  6420. 2021/4/11,二月,三十,2021
  6421. 2021/4/12,三月,初一,2021
  6422. 2021/5/11,三月,三十,2021
  6423. 2021/5/12,四月,初一,2021
  6424. 2021/6/9,四月,廿九,2021
  6425. 2021/6/10,五月,初一,2021
  6426. 2021/7/9,五月,三十,2021
  6427. 2021/7/10,六月,初一,2021
  6428. 2021/8/7,六月,廿九,2021
  6429. 2021/8/8,七月,初一,2021
  6430. 2021/9/6,七月,三十,2021
  6431. 2021/9/7,八月,初一,2021
  6432. 2021/10/5,八月,廿九,2021
  6433. 2021/10/6,九月,初一,2021
  6434. 2021/11/4,九月,三十,2021
  6435. 2021/11/5,十月,初一,2021
  6436. 2021/12/3,十月,廿九,2021
  6437. 2021/12/4,冬月,初一,2021
  6438. 2022/1/2,冬月,三十,2021
  6439. 2022/1/3,腊月,初一,2021
  6440. 2022/1/31,腊月,廿九,2021
  6441. 2022/2/1,正月,初一,2022
  6442. 2022/3/2,正月,三十,2022
  6443. 2022/3/3,二月,初一,2022
  6444. 2022/3/31,二月,廿九,2022
  6445. 2022/4/1,三月,初一,2022
  6446. 2022/4/30,三月,三十,2022
  6447. 2022/5/1,四月,初一,2022
  6448. 2022/5/29,四月,廿九,2022
  6449. 2022/5/30,五月,初一,2022
  6450. 2022/6/28,五月,三十,2022
  6451. 2022/6/29,六月,初一,2022
  6452. 2022/7/28,六月,三十,2022
  6453. 2022/7/29,七月,初一,2022
  6454. 2022/8/26,七月,廿九,2022
  6455. 2022/8/27,八月,初一,2022
  6456. 2022/9/25,八月,三十,2022
  6457. 2022/9/26,九月,初一,2022
  6458. 2022/10/24,九月,廿九,2022
  6459. 2022/10/25,十月,初一,2022
  6460. 2022/11/23,十月,三十,2022
  6461. 2022/11/24,冬月,初一,2022
  6462. 2022/12/22,冬月,廿九,2022
  6463. 2022/12/23,腊月,初一,2022
  6464. 2023/1/21,腊月,三十,2022
  6465. 2023/1/22,正月,初一,2023
  6466. 2023/2/19,正月,廿九,2023
  6467. 2023/2/20,二月,初一,2023
  6468. 2023/3/21,二月,三十,2023
  6469. 2023/3/22,闰二月,初一,2023
  6470. 2023/4/19,闰二月,廿九,2023
  6471. 2023/4/20,三月,初一,2023
  6472. 2023/5/18,三月,廿九,2023
  6473. 2023/5/19,四月,初一,2023
  6474. 2023/6/17,四月,三十,2023
  6475. 2023/6/18,五月,初一,2023
  6476. 2023/7/17,五月,三十,2023
  6477. 2023/7/18,六月,初一,2023
  6478. 2023/8/15,六月,廿九,2023
  6479. 2023/8/16,七月,初一,2023
  6480. 2023/9/14,七月,三十,2023
  6481. 2023/9/15,八月,初一,2023
  6482. 2023/10/14,八月,三十,2023
  6483. 2023/10/15,九月,初一,2023
  6484. 2023/11/12,九月,廿九,2023
  6485. 2023/11/13,十月,初一,2023
  6486. 2023/12/12,十月,三十,2023
  6487. 2023/12/13,冬月,初一,2023
  6488. 2024/1/10,冬月,廿九,2023
  6489. 2024/1/11,腊月,初一,2023
  6490. 2024/2/9,腊月,三十,2023
  6491. 2024/2/10,正月,初一,2024
  6492. 2024/3/9,正月,廿九,2024
  6493. 2024/3/10,二月,初一,2024
  6494. 2024/4/8,二月,三十,2024
  6495. 2024/4/9,三月,初一,2024
  6496. 2024/5/7,三月,廿九,2024
  6497. 2024/5/8,四月,初一,2024
  6498. 2024/6/5,四月,廿九,2024
  6499. 2024/6/6,五月,初一,2024
  6500. 2024/7/5,五月,三十,2024
  6501. 2024/7/6,六月,初一,2024
  6502. 2024/8/3,六月,廿九,2024
  6503. 2024/8/4,七月,初一,2024
  6504. 2024/9/2,七月,三十,2024
  6505. 2024/9/3,八月,初一,2024
  6506. 2024/10/2,八月,三十,2024
  6507. 2024/10/3,九月,初一,2024
  6508. 2024/10/31,九月,廿九,2024
  6509. 2024/11/1,十月,初一,2024
  6510. 2024/11/30,十月,三十,2024
  6511. 2024/12/1,冬月,初一,2024
  6512. 2024/12/30,冬月,三十,2024
  6513. 2024/12/31,腊月,初一,2024
  6514. 2025/1/28,腊月,廿九,2024
  6515. 2025/1/29,正月,初一,2025
  6516. 2025/2/27,正月,三十,2025
  6517. 2025/2/28,二月,初一,2025
  6518. 2025/3/28,二月,廿九,2025
  6519. 2025/3/29,三月,初一,2025
  6520. 2025/4/27,三月,三十,2025
  6521. 2025/4/28,四月,初一,2025
  6522. 2025/5/26,四月,廿九,2025
  6523. 2025/5/27,五月,初一,2025
  6524. 2025/6/24,五月,廿九,2025
  6525. 2025/6/25,六月,初一,2025
  6526. 2025/7/24,六月,三十,2025
  6527. 2025/7/25,闰六月,初一,2025
  6528. 2025/8/22,闰六月,廿九,2025
  6529. 2025/8/23,七月,初一,2025
  6530. 2025/9/21,七月,三十,2025
  6531. 2025/9/22,八月,初一,2025
  6532. 2025/10/20,八月,廿九,2025
  6533. 2025/10/21,九月,初一,2025
  6534. 2025/11/19,九月,三十,2025
  6535. 2025/11/20,十月,初一,2025
  6536. 2025/12/19,十月,三十,2025
  6537. 2025/12/20,冬月,初一,2025
  6538. 2026/1/18,冬月,三十,2025
  6539. 2026/1/19,腊月,初一,2025
  6540. 2026/2/16,腊月,廿九,2025
  6541. 2026/2/17,正月,初一,2026
  6542. 2026/3/18,正月,三十,2026
  6543. 2026/3/19,二月,初一,2026
  6544. 2026/4/16,二月,廿九,2026
  6545. 2026/4/17,三月,初一,2026
  6546. 2026/5/16,三月,三十,2026
  6547. 2026/5/17,四月,初一,2026
  6548. 2026/6/14,四月,廿九,2026
  6549. 2026/6/15,五月,初一,2026
  6550. 2026/7/13,五月,廿九,2026
  6551. 2026/7/14,六月,初一,2026
  6552. 2026/8/12,六月,三十,2026
  6553. 2026/8/13,七月,初一,2026
  6554. 2026/9/10,七月,廿九,2026
  6555. 2026/9/11,八月,初一,2026
  6556. 2026/10/9,八月,廿九,2026
  6557. 2026/10/10,九月,初一,2026
  6558. 2026/11/8,九月,三十,2026
  6559. 2026/11/9,十月,初一,2026
  6560. 2026/12/8,十月,三十,2026
  6561. 2026/12/9,冬月,初一,2026
  6562. 2027/1/7,冬月,三十,2026
  6563. 2027/1/8,腊月,初一,2026
  6564. 2027/2/5,腊月,廿九,2026
  6565. 2027/2/6,正月,初一,2027
  6566. 2027/3/7,正月,三十,2027
  6567. 2027/3/8,二月,初一,2027
  6568. 2027/4/6,二月,三十,2027
  6569. 2027/4/7,三月,初一,2027
  6570. 2027/5/5,三月,廿九,2027
  6571. 2027/5/6,四月,初一,2027
  6572. 2027/6/4,四月,三十,2027
  6573. 2027/6/5,五月,初一,2027
  6574. 2027/7/3,五月,廿九,2027
  6575. 2027/7/4,六月,初一,2027
  6576. 2027/8/1,六月,廿九,2027
  6577. 2027/8/2,七月,初一,2027
  6578. 2027/8/31,七月,三十,2027
  6579. 2027/9/1,八月,初一,2027
  6580. 2027/9/29,八月,廿九,2027
  6581. 2027/9/30,九月,初一,2027
  6582. 2027/10/28,九月,廿九,2027
  6583. 2027/10/29,十月,初一,2027
  6584. 2027/11/27,十月,三十,2027
  6585. 2027/11/28,冬月,初一,2027
  6586. 2027/12/27,冬月,三十,2027
  6587. 2027/12/28,腊月,初一,2027
  6588. 2028/1/25,腊月,廿九,2027
  6589. 2028/1/26,正月,初一,2028
  6590. 2028/2/24,正月,三十,2028
  6591. 2028/2/25,二月,初一,2028
  6592. 2028/3/25,二月,三十,2028
  6593. 2028/3/26,三月,初一,2028
  6594. 2028/4/24,三月,三十,2028
  6595. 2028/4/25,四月,初一,2028
  6596. 2028/5/23,四月,廿九,2028
  6597. 2028/5/24,五月,初一,2028
  6598. 2028/6/22,五月,三十,2028
  6599. 2028/6/23,闰五月,初一,2028
  6600. 2028/7/21,闰五月,廿九,2028
  6601. 2028/7/22,六月,初一,2028
  6602. 2028/8/19,六月,廿九,2028
  6603. 2028/8/20,七月,初一,2028
  6604. 2028/9/18,七月,三十,2028
  6605. 2028/9/19,八月,初一,2028
  6606. 2028/10/17,八月,廿九,2028
  6607. 2028/10/18,九月,初一,2028
  6608. 2028/11/15,九月,廿九,2028
  6609. 2028/11/16,十月,初一,2028
  6610. 2028/12/15,十月,三十,2028
  6611. 2028/12/16,冬月,初一,2028
  6612. 2029/1/14,冬月,三十,2028
  6613. 2029/1/15,腊月,初一,2028
  6614. 2029/2/12,腊月,廿九,2028
  6615. 2029/2/13,正月,初一,2029
  6616. 2029/3/14,正月,三十,2029
  6617. 2029/3/15,二月,初一,2029
  6618. 2029/4/13,二月,三十,2029
  6619. 2029/4/14,三月,初一,2029
  6620. 2029/5/12,三月,廿九,2029
  6621. 2029/5/13,四月,初一,2029
  6622. 2029/6/11,四月,三十,2029
  6623. 2029/6/12,五月,初一,2029
  6624. 2029/7/10,五月,廿九,2029
  6625. 2029/7/11,六月,初一,2029
  6626. 2029/8/9,六月,三十,2029
  6627. 2029/8/10,七月,初一,2029
  6628. 2029/9/7,七月,廿九,2029
  6629. 2029/9/8,八月,初一,2029
  6630. 2029/10/7,八月,三十,2029
  6631. 2029/10/8,九月,初一,2029
  6632. 2029/11/5,九月,廿九,2029
  6633. 2029/11/6,十月,初一,2029
  6634. 2029/12/4,十月,廿九,2029
  6635. 2029/12/5,冬月,初一,2029
  6636. 2030/1/3,冬月,三十,2029
  6637. 2030/1/4,腊月,初一,2029
  6638. 2030/2/2,腊月,三十,2029
  6639. 2030/2/3,正月,初一,2030
  6640. 2030/3/3,正月,廿九,2030
  6641. 2030/3/4,二月,初一,2030
  6642. 2030/4/2,二月,三十,2030
  6643. 2030/4/3,三月,初一,2030
  6644. 2030/5/1,三月,廿九,2030
  6645. 2030/5/2,四月,初一,2030
  6646. 2030/5/31,四月,三十,2030
  6647. 2030/6/1,五月,初一,2030
  6648. 2030/6/30,五月,三十,2030
  6649. 2030/7/1,六月,初一,2030
  6650. 2030/7/29,六月,廿九,2030
  6651. 2030/7/30,七月,初一,2030
  6652. 2030/8/28,七月,三十,2030
  6653. 2030/8/29,八月,初一,2030
  6654. 2030/9/26,八月,廿九,2030
  6655. 2030/9/27,九月,初一,2030
  6656. 2030/10/26,九月,三十,2030
  6657. 2030/10/27,十月,初一,2030
  6658. 2030/11/24,十月,廿九,2030
  6659. 2030/11/25,冬月,初一,2030
  6660. 2030/12/24,冬月,三十,2030
  6661. 2030/12/25,腊月,初一,2030
  6662. 2031/1/22,腊月,廿九,2030`})(u5||(u5={}));let DC=XR(zX);DC.use(f6e);DC.use(IC);DC.mount("#app");let vWe=s5.areas.split(`
  6663. `);vWe.forEach(function(e,t){if(e.length>0&&t>0){let n=e.split(","),r=new Jm.Area;r.sheng=n[0],r.shi=n[1],r.qu=n[2],r.weidu=parseFloat(n[3]),r.jingdu=parseFloat(n[4]),r.hour=parseInt(n[5]),r.minute=parseInt(n[6]),r.second=parseInt(n[7]),r.shiPinYin=n[8],r.quPinYin=n[9],H.addAreaData(r)}});let pWe=u5.nongli.split(`
  6664. `);pWe.forEach(function(e,t){if(t%2==1&&e.length>0){let n=e.split(","),r=new Jm.NongLi;r.date=n[0],r.month=n[1],r.day=n[2],r.year=parseInt(n[3]),H.addNongLi(r)}})});export default gWe();