12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704 |
- var eY=Object.defineProperty;var tY=(e,t,n)=>t in e?eY(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var nY=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var ne=(e,t,n)=>tY(e,typeof t!="symbol"?t+"":t,n);var SWe=nY((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)}})();/**
- * @vue/shared v3.4.29
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **//*! #__NO_SIDE_EFFECTS__ */function c5(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const Wn={},Xf=[],sn=()=>{},rY=()=>!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)},aY=Object.prototype.hasOwnProperty,Ut=(e,t)=>aY.call(e,t),We=Array.isArray,Zf=e=>op(e)==="[object Map]",ey=e=>op(e)==="[object Set]",Mc=e=>op(e)==="[object Date]",ut=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)||ut(e))&&ut(e.then)&&ut(e.catch),PP=Object.prototype.toString,op=e=>PP.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))},iY=/-(\w)/g,xi=ty(e=>e.replace(iY,(t,n)=>n?n.toUpperCase():"")),oY=/\B([A-Z])/g,eu=ty(e=>e.replace(oY,"-$1").toLowerCase()),lp=ty(e=>e.charAt(0).toUpperCase()+e.slice(1)),M0=ty(e=>e?`on${lp(e)}`:""),Os=(e,t)=>!Object.is(e,t),E0=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},RP=(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},lY=e=>{const t=vt(e)?Number(e):NaN;return isNaN(t)?e:t};let NC;const NP=()=>NC||(NC=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)?fY(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 sY=/;(?![^(]*\))/g,uY=/:([^]+)/,cY=/\/\*[^]*?\*\//g;function fY(e){const t={};return e.replace(cY,"").split(sY).forEach(n=>{if(n){const r=n.split(uY);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 dY="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hY=c5(dY);function OP(e){return!!e||e===""}function vY(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?vY(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 $P(e,t){return e.findIndex(n=>dd(n,t))}const U=e=>vt(e)?e:e==null?"":We(e)||zt(e)&&(e.toString===PP||!ut(e.toString))?JSON.stringify(e,VP,2):String(e),VP=(e,t)=>t&&t.__v_isRef?VP(e,t.value):Zf(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,a],i)=>(n[N3(r,i)+" =>"]=a,n),{})}:ey(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>N3(n))}:bl(t)?N3(t):zt(t)&&!We(t)&&!T2(t)?String(t):t,N3=(e,t="")=>{var n;return bl(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
- * @vue/reactivity v3.4.29
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let Oa;class BP{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oa,!t&&Oa&&(this.index=(Oa.scopes||(Oa.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Oa;try{return Oa=this,t()}finally{Oa=n}}}on(){Oa=this}off(){Oa=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 pY(e){return new BP(e)}function gY(e,t=Oa){t&&t.active&&t.effects.push(e)}function FP(){return Oa}function HP(e){Oa&&Oa.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,gY(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(mY(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=Es,n=hc;try{return Es=!0,hc=this,this._runnings++,OC(this),this.fn()}finally{$C(this),this._runnings--,hc=n,Es=t}}stop(){this.active&&(OC(this),$C(this),this.onStop&&this.onStop(),this.active=!1)}}function mY(e){return e.value}function OC(e){e._trackId++,e._depsLength=0}function $C(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)jP(e.deps[t],e);e.deps.length=e._depsLength}}function jP(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Es=!0,X9=0;const qP=[];function tu(){qP.push(Es),Es=!1}function nu(){const e=qP.pop();Es=e===void 0?!0:e}function p5(){X9++}function g5(){for(X9--;!X9&&Z9.length;)Z9.shift()()}function GP(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&jP(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Z9=[];function WP(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 UP=(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(Es&&hc){let r=k2.get(e);r||k2.set(e,r=new Map);let a=r.get(n);a||r.set(n,a=UP(()=>r.delete(n))),GP(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&&WP(s,5);g5()}function yY(e,t){const n=k2.get(e);return n&&n.get(t)}const bY=c5("__proto__,__v_isRef,__isVue"),YP=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(bl)),VC=_Y();function _Y(){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 wY(e){bl(e)||(e=String(e));const t=dn(this);return Da(t,"has",e),t.hasOwnProperty(e)}class KP{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?PY:QP:i?JP:ZP).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=We(t);if(!a){if(o&&Ut(VC,n))return Reflect.get(VC,n,r);if(n==="hasOwnProperty")return wY}const l=Reflect.get(t,n,r);return(bl(n)?YP.has(n):bY(n))||(a||Da(t,"get",n),i)?l:st(l)?o&&h5(n)?l:l.value:zt(l)?a?Wd(l):nn(l):l}}class XP extends KP{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)&&st(i)&&!st(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?Os(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)||!YP.has(n))&&Da(t,"has",n),r}ownKeys(t){return Da(t,"iterate",We(t)?"length":vc),Reflect.ownKeys(t)}}class xY extends KP{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const SY=new XP,CY=new xY,TY=new XP(!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||(Os(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||(Os(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 BC(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 FC(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?Os(t,o)&&dl(n,"set",e,t):dl(n,"add",e,t),this}function HC(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 jC(){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 kY(){const e={get(i){return Zp(this,i)},get size(){return Qp(this)},has:Jp,add:BC,set:FC,delete:HC,clear:jC,forEach:eg(!1,!1)},t={get(i){return Zp(this,i,!1,!0)},get size(){return Qp(this)},has:Jp,add:BC,set:FC,delete:HC,clear:jC,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[zY,MY,EY,AY]=kY();function y5(e,t){const n=t?e?AY:EY:e?MY:zY;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 IY={get:y5(!1,!1)},DY={get:y5(!1,!0)},LY={get:y5(!0,!1)},ZP=new WeakMap,JP=new WeakMap,QP=new WeakMap,PY=new WeakMap;function RY(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function NY(e){return e.__v_skip||!Object.isExtensible(e)?0:RY(z0(e))}function nn(e){return a1(e)?e:_5(e,!1,SY,IY,ZP)}function b5(e){return _5(e,!1,TY,DY,JP)}function Wd(e){return _5(e,!0,CY,LY,QP)}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=NY(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 eR(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)&&RP(e,"__v_skip",!0),e}const i1=e=>zt(e)?nn(e):e,w5=e=>zt(e)?Wd(e):e;class tR{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)&&Os(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=ut(e);return i?(r=e,a=sn):(r=e.get,a=e.set),new tR(r,a,i||!a,n)}function x5(e){var t;Es&&hc&&(e=dn(e),GP(hc,(t=e.dep)!=null?t:e.dep=UP(()=>e.dep=void 0,e instanceof tR?e:void 0)))}function Tv(e,t=5,n,r){e=dn(e);const a=e.dep;a&&WP(a,t)}function st(e){return!!(e&&e.__v_isRef===!0)}function j(e){return nR(e,!1)}function xn(e){return nR(e,!0)}function nR(e,t){return st(e)?e:new $Y(e,t)}class $Y{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),Os(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:i1(t),Tv(this,5))}}function y(e){return st(e)?e.value:e}const VY={get:(e,t,n)=>y(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return st(a)&&!st(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function rR(e){return Cv(e)?e:new Proxy(e,VY)}class BY{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 FY(e){return new BY(e)}function Er(e){const t=We(e)?new Array(e.length):{};for(const n in e)t[n]=aR(e,n);return t}class HY{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 yY(dn(this._object),this._key)}}class jY{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mn(e,t,n){return st(e)?e:ut(e)?new jY(e):zt(e)&&arguments.length>1?aR(e,t,n):j(e)}function aR(e,t,n){const r=e[t];return st(r)?r:new HY(e,t,n)}/**
- * @vue/runtime-core v3.4.29
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function As(e,t,n,r){try{return r?e(...r):e()}catch(a){ry(a,t,n)}}function yi(e,t,n,r){if(ut(e)){const a=As(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(yi(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(),As(s,null,10,[e,o,l]),nu();return}}qY(e,n,a,r)}function qY(e,t,n,r=!0){console.error(e)}let o1=!1,Q9=!1;const Wr=[];let bo=0;const Qf=[];let us=null,Gu=0;const iR=Promise.resolve();let S5=null;function nt(e){const t=S5||iR;return e?t.then(this?e.bind(this):e):t}function GY(e){let t=bo+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?bo+1:bo))&&(e.id==null?Wr.push(e):Wr.splice(GY(e.id),0,e),oR())}function oR(){!o1&&!Q9&&(Q9=!0,S5=iR.then(sR))}function WY(e){const t=Wr.indexOf(e);t>bo&&Wr.splice(t,1)}function UY(e){We(e)?Qf.push(...e):(!us||!us.includes(e,e.allowRecurse?Gu+1:Gu))&&Qf.push(e),oR()}function qC(e,t,n=o1?bo+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 lR(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,YY=(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 sR(e){Q9=!1,o1=!0,Wr.sort(YY);try{for(bo=0;bo<Wr.length;bo++){const t=Wr[bo];t&&t.active!==!1&&As(t,null,14)}}finally{bo=0,Wr.length=0,lR(),o1=!1,S5=null,(Wr.length||Qf.length)&&sR()}}function KY(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Wn;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]||Wn;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(xi(t))];!s&&i&&(s=r[l=M0(eu(t))]),s&&yi(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,yi(u,e,6,a)}}function uR(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(!ut(e)){const s=u=>{const c=uR(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 T5(e){iy=e}function k5(){iy=null}function M(e,t=zr,n){if(!t||e._n)return e;const r=(...a)=>{r._d&&iT(-1);const i=M2(t);let o;try{o=e(...a)}finally{M2(i),r._d&&iT(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function O3(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=yo(u.call(x,w,c,f,h,d,v)),b=l}else{const w=t;m=yo(w.length>1?w(f,{attrs:l,slots:o,emit:s}):w(f,null)),b=t.props?l:XY(l)}}catch(w){Av.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=ZY(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 XY=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qm(n))&&((t||(t={}))[n]=e[n]);return t},ZY=(e,t)=>{const n={};for(const r in e)(!f5(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function JY(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?GC(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?GC(r,o,u):!0:!!o;return!1}function GC(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 QY({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 z5="components",eK="directives";function se(e,t){return M5(z5,e,!0,t)||e}const cR=Symbol.for("v-ndc");function It(e){return vt(e)?M5(z5,e,!1)||e:e||cR}function oy(e){return M5(eK,e)}function M5(e,t,n=!0,r=!1){const a=zr||Pr;if(a){const i=a.type;if(e===z5){const l=jK(i,!1);if(l&&(l===t||l===xi(t)||l===lp(xi(t))))return i}const o=WC(a[e]||i[e],t)||WC(a.appContext[e],t);return!o&&r?i:o}}function WC(e,t){return e&&(e[t]||e[xi(t)]||e[lp(xi(t))])}const tK=e=>e.__isSuspense;function nK(e,t){t&&t.pendingBranch?We(e)?t.effects.push(...e):t.effects.push(e):UY(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=yi(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"),fR=Dl("bu"),Ll=Dl("u"),wn=Dl("bum"),Ho=Dl("um"),rK=Dl("sp"),aK=Dl("rtg"),iK=Dl("rtc");function oK(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=Wn]=t[a];i&&(ut(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(),yi(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 ut(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&&dR(i(n)),l=Y(fe,{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 dR(e){return e.some(t=>Dn(t)?!(t.type===Lr||t.type===fe&&!dR(t.children)):!0)?e:null}function lK(e,t){const n={};for(const r in e)n[M0(r)]=e[r];return n}const e4=e=>e?RR(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=>E5(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=>zK.bind(e)}),$3=(e,t)=>e!==Wn&&!e.__isScriptSetup&&Ut(e,t),sK={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!==Wn&&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!==Wn&&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!==Wn&&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!==Wn&&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!==Wn&&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 hR().slots}function qc(){return hR().attrs}function hR(){const e=xt();return e.setupContext||(e.setupContext=OR(e))}function UC(e){return We(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let t4=!0;function uK(e){const t=E5(e),n=e.proxy,r=e.ctx;t4=!1,t.beforeCreate&&YC(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:E,inheritAttrs:A,components:D,directives:$,filters:N}=t;if(u&&cK(u,r,null),o)for(const B in o){const V=o[B];ut(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=ut(V)?V.bind(n,n):ut(V.get)?V.get.bind(n,n):sn,W=!ut(V)&&ut(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)vR(l[B],r,n,B);if(s){const B=ut(s)?s.call(n):s;Reflect.ownKeys(B).forEach(V=>{Rt(V,B[V])})}c&&YC(c,e,"c");function O(B,V){We(V)?V.forEach(P=>B(P.bind(n))):V&&B(V.bind(n))}if(O(sy,f),O(bt,d),O(fR,h),O(Ll,v),O(MK,p),O(kR,g),O(oK,T),O(iK,S),O(aK,C),O(wn,b),O(Ho,w),O(rK,z),We(E))if(E.length){const B=e.exposed||(e.exposed={});E.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),A!=null&&(e.inheritAttrs=A),D&&(e.components=D),$&&(e.directives=$)}function cK(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),st(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function YC(e,t,n){yi(We(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function vR(e,t,n,r){const a=r.includes(".")?TR(n,r):()=>n[r];if(vt(e)){const i=t[e];ut(i)&&ke(a,i)}else if(ut(e))ke(a,e.bind(n));else if(zt(e))if(We(e))e.forEach(i=>vR(i,t,n,r));else{const i=ut(e.handler)?e.handler.bind(n):t[e.handler];ut(i)&&ke(a,i,e)}}function E5(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=>E2(s,u,o,!0)),E2(s,t,o)),zt(t)&&i.set(t,s),s}function E2(e,t,n,r=!1){const{mixins:a,extends:i}=t;i&&E2(e,i,n,!0),a&&a.forEach(o=>E2(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=fK[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const fK={data:KC,props:XC,emits:XC,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:hK,provide:KC,inject:dK};function KC(e,t){return t?e?function(){return ar(ut(e)?e.call(this,this):e,ut(t)?t.call(this,this):t)}:t:e}function dK(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 XC(e,t){return e?We(e)&&We(t)?[...new Set([...e,...t])]:ar(Object.create(null),UC(e),UC(t??{})):t}function hK(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 pR(){return{app:null,config:{isNativeTag:rY,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 vK=0;function pK(e,t){return function(r,a=null){ut(r)||(r=ar({},r)),a!=null&&!zt(a)&&(a=null);const i=pR(),o=new WeakSet;let l=!1;const s=i.app={_uid:vK++,_component:r,_props:a,_container:null,_context:i,_instance:null,version:GK,get config(){return i.config},set config(u){},use(u,...c){return o.has(u)||(u&&ut(u.install)?(o.add(u),u.install(s,...c)):ut(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&&ut(t)?t.call(r&&r.proxy):t}}const gR={},mR=()=>Object.create(gR),yR=e=>Object.getPrototypeOf(e)===gR;function gK(e,t,n,r=!1){const a={},i=mR();e.propsDefaults=Object.create(null),bR(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 mK(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=xi(d);a[v]=r4(s,l,v,h,e,!1)}else h!==i[d]&&(i[d]=h,u=!0)}}}else{bR(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 bR(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=xi(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||Wn;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&&ut(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 _R(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(!ut(e)){const c=f=>{s=!0;const[d,h]=_R(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=xi(i[c]);ZC(f)&&(o[f]=Wn)}else if(i)for(const c in i){const f=xi(c);if(ZC(f)){const d=i[c],h=o[f]=We(d)||ut(d)?{type:d}:ar({},d);if(h){const v=eT(Boolean,h.type),p=eT(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 ZC(e){return e[0]!=="$"&&!Sv(e)}function JC(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function QC(e,t){return JC(e)===JC(t)}function eT(e,t){return We(t)?t.findIndex(n=>QC(n,e)):ut(t)&&QC(t,e)?0:-1}const wR=e=>e[0]==="_"||e==="$stable",A5=e=>We(e)?e.map(yo):[yo(e)],yK=(e,t,n)=>{if(t._n)return t;const r=M((...a)=>A5(t(...a)),n);return r._c=!1,r},xR=(e,t,n)=>{const r=e._ctx;for(const a in e){if(wR(a))continue;const i=e[a];if(ut(i))t[a]=yK(a,i,r);else if(i!=null){const o=A5(i);t[a]=()=>o}}},SR=(e,t)=>{const n=A5(t);e.slots.default=()=>n},bK=(e,t)=>{const n=e.slots=mR();if(e.vnode.shapeFlag&32){const r=t._;r?(ar(n,t),RP(n,"_",r,!0)):xR(t,n)}else t&&SR(e,t)},_K=(e,t,n)=>{const{vnode:r,slots:a}=e;let i=!0,o=Wn;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(ar(a,t),!n&&l===1&&delete a._):(i=!t.$stable,xR(t,a)),o=t}else t&&(SR(e,t),o={default:1});if(i)for(const l in a)!wR(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===Wn?l.refs={}:l.refs,f=l.setupState;if(u!=null&&u!==s&&(vt(u)?(c[u]=null,Ut(f,u)&&(f[u]=null)):st(u)&&(u.value=null)),ut(s))As(s,l,12,[o,c]);else{const d=vt(s),h=st(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=nK;function wK(e){return xK(e)}function xK(e,t){const n=NP();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,Ee=null,De=void 0,Pe=null,Re=!!oe.dynamicChildren)=>{if(J===oe)return;J&&!Wu(J,oe)&&(Te=ae(J),ee(J,ge,Ee,!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 fe:D(J,oe,pe,Te,ge,Ee,De,Pe,Re);break;default:Je&1?x(J,oe,pe,Te,ge,Ee,De,Pe,Re):Je&6?$(J,oe,pe,Te,ge,Ee,De,Pe,Re):(Je&64||Je&128)&&Ce.process(J,oe,pe,Te,ge,Ee,De,Pe,Re,ce)}Ue!=null&&ge&&a4(Ue,J&&J.ref,Ee,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,Ee,De,Pe,Re)=>{oe.type==="svg"?De="svg":oe.type==="math"&&(De="mathml"),J==null?S(oe,pe,Te,ge,Ee,De,Pe,Re):z(J,oe,ge,Ee,De,Pe,Re)},S=(J,oe,pe,Te,ge,Ee,De,Pe)=>{let Re,Ce;const{props:Ue,shapeFlag:Je,transition:ze,dirs:Ke}=J;if(Re=J.el=o(J.type,Ee,Ue&&Ue.is,Ue),Je&8?c(Re,J.children):Je&16&&T(J.children,Re,null,Te,ge,V3(J,Ee),De,Pe),Ke&&cu(J,null,Te,"created"),C(Re,J,J.scopeId,De,Te),Ue){for(const At in Ue)At!=="value"&&!Sv(At)&&i(Re,At,null,Ue[At],Ee,J.children,Te,ge,le);"value"in Ue&&i(Re,"value",null,Ue.value,Ee),(Ce=Ue.onVnodeBeforeMount)&&so(Ce,Te,J)}Ke&&cu(J,null,Te,"beforeMount");const ct=SK(ge,ze);ct&&ze.beforeEnter(Re),r(Re,oe,pe),((Ce=Ue&&Ue.onVnodeMounted)||ct||Ke)&&Sa(()=>{Ce&&so(Ce,Te,J),ct&&ze.enter(Re),Ke&&cu(J,null,Te,"mounted")},ge)},C=(J,oe,pe,Te,ge)=>{if(pe&&h(J,pe),Te)for(let Ee=0;Ee<Te.length;Ee++)h(J,Te[Ee]);if(ge){let Ee=ge.subTree;if(oe===Ee){const De=ge.vnode;C(J,De,De.scopeId,De.slotScopeIds,ge.parent)}}},T=(J,oe,pe,Te,ge,Ee,De,Pe,Re=0)=>{for(let Ce=Re;Ce<J.length;Ce++){const Ue=J[Ce]=Pe?fs(J[Ce]):yo(J[Ce]);p(null,Ue,oe,pe,Te,ge,Ee,De,Pe)}},z=(J,oe,pe,Te,ge,Ee,De)=>{const Pe=oe.el=J.el;let{patchFlag:Re,dynamicChildren:Ce,dirs:Ue}=oe;Re|=J.patchFlag&16;const Je=J.props||Wn,ze=oe.props||Wn;let Ke;if(pe&&fu(pe,!1),(Ke=ze.onVnodeBeforeUpdate)&&so(Ke,pe,oe,J),Ue&&cu(oe,J,pe,"beforeUpdate"),pe&&fu(pe,!0),Ce?E(J.dynamicChildren,Ce,Pe,pe,Te,V3(oe,ge),Ee):De||V(J,oe,Pe,null,pe,Te,V3(oe,ge),Ee,!1),Re>0){if(Re&16)A(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 ct=oe.dynamicProps;for(let At=0;At<ct.length;At++){const Ct=ct[At],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&&A(Pe,oe,Je,ze,pe,Te,ge);((Ke=ze.onVnodeUpdated)||Ue)&&Sa(()=>{Ke&&so(Ke,pe,oe,J),Ue&&cu(oe,J,pe,"updated")},Te)},E=(J,oe,pe,Te,ge,Ee,De)=>{for(let Pe=0;Pe<oe.length;Pe++){const Re=J[Pe],Ce=oe[Pe],Ue=Re.el&&(Re.type===fe||!Wu(Re,Ce)||Re.shapeFlag&70)?f(Re.el):pe;p(Re,Ce,Ue,null,Te,ge,Ee,De,!0)}},A=(J,oe,pe,Te,ge,Ee,De)=>{if(pe!==Te){if(pe!==Wn)for(const Pe in pe)!Sv(Pe)&&!(Pe in Te)&&i(J,Pe,pe[Pe],null,De,oe.children,ge,Ee,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,Ee,le)}"value"in Te&&i(J,"value",pe.value,Te.value,De)}},D=(J,oe,pe,Te,ge,Ee,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,Ee,De,Pe,Re)):Je>0&&Je&64&&ze&&J.dynamicChildren?(E(J.dynamicChildren,ze,pe,ge,Ee,De,Pe),(oe.key!=null||ge&&oe===ge.subTree)&&I5(J,oe,!0)):V(J,oe,pe,Ue,ge,Ee,De,Pe,Re)},$=(J,oe,pe,Te,ge,Ee,De,Pe,Re)=>{oe.slotScopeIds=Pe,J==null?oe.shapeFlag&512?ge.ctx.activate(oe,pe,Te,De,Re):N(oe,pe,Te,ge,Ee,De,Re):R(J,oe,Re)},N=(J,oe,pe,Te,ge,Ee,De)=>{const Pe=J.component=VK(J,Te,ge);if(uy(J)&&(Pe.ctx.renderer=ce),BK(Pe),Pe.asyncDep){if(ge&&ge.registerDep(Pe,O,De),!J.el){const Re=Pe.subTree=I(Lr);m(null,Re,oe,pe)}}else O(Pe,J,oe,pe,ge,Ee,De)},R=(J,oe,pe)=>{const Te=oe.component=J.component;if(JY(J,oe,pe))if(Te.asyncDep&&!Te.asyncResolved){B(Te,oe,pe);return}else Te.next=oe,WY(Te.update),Te.effect.dirty=!0,Te.update();else oe.el=J.el,Te.vnode=oe},O=(J,oe,pe,Te,ge,Ee,De)=>{const Pe=()=>{if(J.isMounted){let{next:Ue,bu:Je,u:ze,parent:Ke,vnode:ct}=J;{const qe=CR(J);if(qe){Ue&&(Ue.el=ct.el,B(J,Ue,De)),qe.asyncDep.then(()=>{J.isUnmounted||Pe()});return}}let At=Ue,Ct;fu(J,!1),Ue?(Ue.el=ct.el,B(J,Ue,De)):Ue=ct,Je&&E0(Je),(Ct=Ue.props&&Ue.props.onVnodeBeforeUpdate)&&so(Ct,Ke,Ue,ct),fu(J,!0);const rt=O3(J),Me=J.subTree;J.subTree=rt,p(Me,rt,f(Me.el),ae(Me),J,ge,Ee),Ue.el=rt.el,At===null&&QY(J,rt.el),ze&&Sa(ze,ge),(Ct=Ue.props&&Ue.props.onVnodeUpdated)&&Sa(()=>so(Ct,Ke,Ue,ct),ge)}else{let Ue;const{el:Je,props:ze}=oe,{bm:Ke,m:ct,parent:At}=J,Ct=kv(oe);if(fu(J,!1),Ke&&E0(Ke),!Ct&&(Ue=ze&&ze.onVnodeBeforeMount)&&so(Ue,At,oe),fu(J,!0),Je&&xe){const rt=()=>{J.subTree=O3(J),xe(Je,J.subTree,J,ge,null)};Ct?oe.type.__asyncLoader().then(()=>!J.isUnmounted&&rt()):rt()}else{const rt=J.subTree=O3(J);p(null,rt,pe,Te,J,ge,Ee),oe.el=rt.el}if(ct&&Sa(ct,ge),!Ct&&(Ue=ze&&ze.onVnodeMounted)){const rt=oe;Sa(()=>so(Ue,At,rt),ge)}(oe.shapeFlag&256||At&&kv(At.vnode)&&At.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,mK(J,oe.props,Te,pe),_K(J,oe.children,pe),tu(),qC(J),nu()},V=(J,oe,pe,Te,ge,Ee,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,Ee,De,Pe,Re);return}else if(ze&256){P(Ce,Je,pe,Te,ge,Ee,De,Pe,Re);return}}Ke&8?(Ue&16&&le(Ce,ge,Ee),Je!==Ce&&c(pe,Je)):Ue&16?Ke&16?W(Ce,Je,pe,Te,ge,Ee,De,Pe,Re):le(Ce,ge,Ee,!0):(Ue&8&&c(pe,""),Ke&16&&T(Je,pe,Te,ge,Ee,De,Pe,Re))},P=(J,oe,pe,Te,ge,Ee,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]):yo(oe[ze]);p(J[ze],Ke,pe,null,ge,Ee,De,Pe,Re)}Ce>Ue?le(J,ge,Ee,!0,!1,Je):T(oe,pe,Te,ge,Ee,De,Pe,Re,Je)},W=(J,oe,pe,Te,ge,Ee,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],ct=oe[Ce]=Re?fs(oe[Ce]):yo(oe[Ce]);if(Wu(Ke,ct))p(Ke,ct,pe,null,ge,Ee,De,Pe,Re);else break;Ce++}for(;Ce<=Je&&Ce<=ze;){const Ke=J[Je],ct=oe[ze]=Re?fs(oe[ze]):yo(oe[ze]);if(Wu(Ke,ct))p(Ke,ct,pe,null,ge,Ee,De,Pe,Re);else break;Je--,ze--}if(Ce>Je){if(Ce<=ze){const Ke=ze+1,ct=Ke<Ue?oe[Ke].el:Te;for(;Ce<=ze;)p(null,oe[Ce]=Re?fs(oe[Ce]):yo(oe[Ce]),pe,ct,ge,Ee,De,Pe,Re),Ce++}}else if(Ce>ze)for(;Ce<=Je;)ee(J[Ce],ge,Ee,!0),Ce++;else{const Ke=Ce,ct=Ce,At=new Map;for(Ce=ct;Ce<=ze;Ce++){const Xe=oe[Ce]=Re?fs(oe[Ce]):yo(oe[Ce]);Xe.key!=null&&At.set(Xe.key,Ce)}let Ct,rt=0;const Me=ze-ct+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,Ee,!0);continue}let be;if(Xe.key!=null)be=At.get(Xe.key);else for(Ct=ct;Ct<=ze;Ct++)if(_e[Ct-ct]===0&&Wu(Xe,oe[Ct])){be=Ct;break}be===void 0?ee(Xe,ge,Ee,!0):(_e[be-ct]=Ce+1,be>=Le?Le=be:qe=!0,p(Xe,oe[be],pe,null,ge,Ee,De,Pe,Re),rt++)}const Ie=qe?CK(_e):Xf;for(Ct=Ie.length-1,Ce=Me-1;Ce>=0;Ce--){const Xe=ct+Ce,be=oe[Xe],Qe=Xe+1<Ue?oe[Xe+1].el:Te;_e[Ce]===0?p(null,be,pe,Qe,ge,Ee,De,Pe,Re):qe&&(Ct<0||Ce!==Ie[Ct]?Z(be,pe,Qe,2):Ct--)}}},Z=(J,oe,pe,Te,ge=null)=>{const{el:Ee,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===fe){r(Ee,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(Ee),r(Ee,oe,pe),Sa(()=>Pe.enter(Ee),ge);else{const{leave:Je,delayLeave:ze,afterLeave:Ke}=Pe,ct=()=>r(Ee,oe,pe),At=()=>{Je(Ee,()=>{ct(),Ke&&Ke()})};ze?ze(Ee,ct,At):At()}else r(Ee,oe,pe)},ee=(J,oe,pe,Te=!1,ge=!1)=>{const{type:Ee,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 ct=Ue&1&&ze,At=!kv(J);let Ct;if(At&&(Ct=De&&De.onVnodeBeforeUnmount)&&so(Ct,oe,J),Ue&6)ye(J.component,pe,Te);else{if(Ue&128){J.suspense.unmount(pe,Te);return}ct&&cu(J,null,oe,"beforeUnmount"),Ue&64?J.type.remove(J,oe,pe,ge,ce,Te):Ce&&(Ee!==fe||Je>0&&Je&64)?le(Ce,oe,pe,!1,!0):(Ee===fe&&Je&384||!ge&&Ue&16)&&le(Re,oe,pe),Te&&re(J)}(At&&(Ct=De&&De.onVnodeUnmounted)||ct)&&Sa(()=>{Ct&&so(Ct,oe,J),ct&&cu(J,null,oe,"unmounted")},pe)},re=J=>{const{type:oe,el:pe,anchor:Te,transition:ge}=J;if(oe===fe){ue(pe,Te);return}if(oe===F3){w(J);return}const Ee=()=>{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,Ee);Pe?Pe(J.el,Ee,Re):Re()}else Ee()},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:Ee,subTree:De,um:Pe,m:Re,a:Ce}=J;tT(Re),tT(Ce),Te&&E0(Te),ge.stop(),Ee&&(Ee.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,Ee=0)=>{for(let De=Ee;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,qC(),lR(),ie=!1),oe._vnode=J},ce={p,um:ee,m:Z,r:re,mt:N,mc:T,pc:V,pbc:E,n:ae,o:e};let de,xe;return{render:ve,hydrate:de,createApp:pK(ve,de)}}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 SK(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function I5(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&&I5(o,l)),l.type===Yd&&(l.el=o.el)}}function CK(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 CR(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:CR(t)}function tT(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const TK=Symbol.for("v-scx"),kK=()=>Ye(TK);function Nr(e,t){return D5(e,null,t)}const ng={};function ke(e,t,n){return D5(e,t,n)}function D5(e,t,{immediate:n,deep:r,flush:a,once:i,onTrack:o,onTrigger:l}=Wn){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(st(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(st(S))return S.value;if(Cv(S))return u(S);if(ut(S))return As(S,s,2)})):ut(e)?t?c=()=>As(e,s,2):c=()=>(h&&h(),yi(e,s,3,[v])):c=sn,t&&r){const S=c;c=()=>ps(S())}let h,v=S=>{h=_.onStop=()=>{As(S,s,4),h=_.onStop=void 0}},p;if(cy)if(v=sn,t?n&&yi(t,s,3,[c(),d?[]:void 0,v]):c(),a==="sync"){const S=kK();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)=>Os(C,g[T])):Os(S,g)))&&(h&&h(),yi(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=FP(),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 zK(e,t,n){const r=this.proxy,a=vt(e)?e.includes(".")?TR(r,e):()=>r[e]:e.bind(r,r);let i;ut(t)?i=t:(i=t.handler,n=t);const o=sp(this),l=D5(a,i.bind(r),n);return o(),l}function TR(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--,st(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 MK(e,t){zR(e,"a",t)}function kR(e,t){zR(e,"da",t)}function zR(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)&&EK(r,t,n,a),a=a.parent}}function EK(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 MR(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bt(()=>{e.isMounted=!0}),wn(()=>{e.isUnmounting=!0}),e}const Za=[Function,Array],ER={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Za,onEnter:Za,onAfterEnter:Za,onEnterCancelled:Za,onBeforeLeave:Za,onLeave:Za,onAfterLeave:Za,onLeaveCancelled:Za,onBeforeAppear:Za,onAppear:Za,onAfterAppear:Za,onAppearCancelled:Za},AR=e=>{const t=e.subTree;return t.component?AR(t.component):t},AK={name:"BaseTransition",props:ER,setup(e,{slots:t}){const n=xt(),r=MR();return()=>{const a=t.default&&L5(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=nT(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&&nT(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=IR(r,f);g[String(f.key)]=f,h[cs]=()=>{v(),h[cs]=void 0,delete u.delayedLeave},u.delayedLeave=p})}return i}}},IK=AK;function IR(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=IR(n,e),S=(z,E)=>{z&&yi(z,r,9,E)},C=(z,E)=>{const A=E[1];S(z,E),We(z)?z.every(D=>D.length<=1)&&A():z.length<=1&&A()},T={mode:o,persisted:l,beforeEnter(z){let E=s;if(!n.isMounted)if(i)E=g||s;else return;z[cs]&&z[cs](!0);const A=x[w];A&&Wu(e,A)&&A.el[cs]&&A.el[cs](),S(E,[z])},enter(z){let E=u,A=c,D=f;if(!n.isMounted)if(i)E=m||u,A=b||c,D=_||f;else return;let $=!1;const N=z[rg]=R=>{$||($=!0,R?S(D,[z]):S(A,[z]),T.delayedLeave&&T.delayedLeave(),z[rg]=void 0)};E?C(E,[z,N]):N()},leave(z,E){const A=String(e.key);if(z[rg]&&z[rg](!0),n.isUnmounting)return E();S(d,[z]);let D=!1;const $=z[cs]=N=>{D||(D=!0,E(),N?S(p,[z]):S(v,[z]),z[cs]=void 0,x[A]===e&&delete x[A])};x[A]=e,h?C(h,[z,$]):$()},clone(z){const E=s1(z,t,n,r,a);return a&&a(E),E}};return T}function B3(e){if(uy(e))return e=wl(e),e.children=null,e}function nT(e){if(!uy(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ut(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 L5(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===fe?(o.patchFlag&128&&a++,r=r.concat(L5(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 DK=e=>e.__isTeleport,Ev=e=>e&&(e.disabled||e.disabled===""),rT=e=>typeof SVGElement<"u"&&e instanceof SVGElement,aT=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,i4=(e,t)=>{const n=e&&e.to;return vt(n)?t?t(n):null:n},LK={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=Ev(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"||rT(C)?o="svg":(o==="mathml"||aT(C))&&(o="mathml"));const z=(E,A)=>{b&16&&c(_,E,A,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=Ev(e.props),z=T?n:S,E=T?x:C;if(o==="svg"||rT(S)?o="svg":(o==="mathml"||aT(S))&&(o="mathml"),w?(d(e.dynamicChildren,w,z,a,i,o,l),I5(e,t,!0)):s||f(e,t,z,E,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 A=t.target=i4(t.props,v);A&&ag(t,A,null,u,0)}else T&&ag(t,S,C,u,1)}DR(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||!Ev(d);for(let v=0;v<s.length;v++){const p=s[v];a(p,t,n,h,!!p.dynamicChildren)}}},move:ag,hydrate:PK};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||Ev(c))&&s&16)for(let d=0;d<u.length;d++)a(u[d],t,n,2);f&&r(l,t,n)}function PK(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(Ev(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)}DR(t)}return t.anchor&&o(t.anchor)}const Ud=LK;function DR(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 fe=Symbol.for("v-fgt"),Yd=Symbol.for("v-txt"),Lr=Symbol.for("v-cmt"),F3=Symbol.for("v-stc"),Av=[];let Hi=null;function k(e=!1){Av.push(Hi=e?null:[])}function RK(){Av.pop(),Hi=Av[Av.length-1]||null}let u1=1;function iT(e){u1+=e}function LR(e){return e.dynamicChildren=u1>0?Hi||Xf:null,RK(),u1>0&&Hi&&Hi.push(e),e}function H(e,t,n,r,a,i){return LR(X(e,t,n,r,a,i,!0))}function Y(e,t,n,r,a){return LR(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 PR=({key:e})=>e??null,A0=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?vt(e)||st(e)||ut(e)?{i:zr,r:e,k:t,f:!!n}:e:null);function X(e,t=null,n=null,r=0,a=null,i=e===fe?0:1,o=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&PR(t),ref:t&&A0(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?(P5(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=NK;function NK(e,t=null,n=null,r=0,a=null,i=!1){if((!e||e===cR)&&(e=Lr),Dn(e)){const l=wl(e,t,!0);return n&&P5(l,n),u1>0&&!i&&Hi&&(l.shapeFlag&6?Hi[Hi.indexOf(e)]=l:Hi.push(l)),l.patchFlag=-2,l}if(qK(e)&&(e=e.__vccOpts),t){t=vd(t);let{class:l,style:s}=t;l&&!vt(l)&&(t.class=q(l)),zt(s)&&(eR(s)&&!We(s)&&(s=ar({},s)),t.style=Be(s))}const o=vt(e)?1:tK(e)?128:DK(e)?64:zt(e)?4:ut(e)?2:0;return X(e,t,n,r,a,o,i,!0)}function vd(e){return e?eR(e)||yR(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&&PR(u),ref:t&&t.ref?n&&i?We(i)?i.concat(A0(t)):[i,A0(t)]:A0(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!==fe?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 yo(e){return e==null||typeof e=="boolean"?I(Lr):We(e)?I(fe,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 P5(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),P5(e,a()),a._c&&(a._d=!0));return}else{n=32;const a=t._;!a&&!yR(t)?t._ctx=zr:a===3&&zr&&(zr.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ut(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 so(e,t,n,r=null){yi(e,t,7,[n,r])}const OK=pR();let $K=0;function VK(e,t,n){const r=e.type,a=(t?t.appContext:e.appContext)||OK,i={uid:$K++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new BP(!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:_R(r,a),emitsOptions:uR(r,a),emit:null,emitted:null,propsDefaults:Wn,inheritAttrs:r.inheritAttrs,ctx:Wn,data:Wn,props:Wn,attrs:Wn,slots:Wn,refs:Wn,setupState:Wn,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=KY.bind(null,i),e.ce&&e.ce(i),i}let Pr=null;const xt=()=>Pr||zr;let A2,o4;{const e=NP(),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)}};A2=t("__VUE_INSTANCE_SETTERS__",n=>Pr=n),o4=t("__VUE_SSR_SETTERS__",n=>cy=n)}const sp=e=>{const t=Pr;return A2(e),e.scope.on(),()=>{e.scope.off(),A2(t)}},oT=()=>{Pr&&Pr.scope.off(),A2(null)};function RR(e){return e.vnode.shapeFlag&4}let cy=!1;function BK(e,t=!1){t&&o4(t);const{props:n,children:r}=e.vnode,a=RR(e);gK(e,n,a,t),bK(e,r);const i=a?FK(e,t):void 0;return t&&o4(!1),i}function FK(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,sK);const{setup:r}=n;if(r){const a=e.setupContext=r.length>1?OR(e):null,i=sp(e);tu();const o=As(r,e,0,[e.props,a]);if(nu(),i(),r1(o)){if(o.then(oT,oT),t)return o.then(l=>{lT(e,l,t)}).catch(l=>{ry(l,e,0)});e.asyncDep=o}else lT(e,o,t)}else NR(e,t)}function lT(e,t,n){ut(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:zt(t)&&(e.setupState=rR(t)),NR(e,n)}let sT;function NR(e,t,n){const r=e.type;if(!e.render){if(!t&&sT&&!r.render){const a=r.template||E5(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=sT(a,u)}}e.render=r.render||sn}{const a=sp(e);tu();try{uK(e)}finally{nu(),a()}}}const HK={get(e,t){return Da(e,"get",""),e[t]}};function OR(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,HK),slots:e.slots,emit:e.emit,expose:t}}function fy(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(rR(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 jK(e,t=!0){return ut(e)?e.displayName||e.name:e.name||t&&e.__name}function qK(e){return ut(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 GK="3.4.29",WK=sn;/**
- * @vue/runtime-dom v3.4.29
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/const UK="http://www.w3.org/2000/svg",YK="http://www.w3.org/1998/Math/MathML",al=typeof document<"u"?document:null,uT=al&&al.createElement("template"),KK={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(UK,e):t==="mathml"?al.createElementNS(YK,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{uT.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=uT.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(IK,VR(e),t);ir.displayName="Transition";const $R={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},XK=ir.props=ar({},ER,$R),du=(e,t=[])=>{We(e)?e.forEach(n=>n(...t)):e&&e(...t)},cT=e=>e?We(e)?e.some(t=>t.length>1):e.length>1:!1;function VR(e){const t={};for(const D in e)D in $R||(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=ZK(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,$,N)=>{rs(D,$?c:l),rs(D,$?u:o),N&&N()},E=(D,$)=>{D._isLeaving=!1,rs(D,f),rs(D,h),rs(D,d),$&&$()},A=D=>($,N)=>{const R=D?C:b,O=()=>z($,D,N);du(R,[$,O]),fT(()=>{rs($,D?s:i),rl($,D?c:l),cT(R)||dT($,r,p,O)})};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:A(!1),onAppear:A(!0),onLeave(D,$){D._isLeaving=!0;const N=()=>E(D,$);rl(D,f),rl(D,d),FR(),fT(()=>{D._isLeaving&&(rs(D,f),rl(D,h),cT(w)||dT(D,r,g,N))}),du(w,[D,N])},onEnterCancelled(D){z(D,!1),du(_,[D])},onAppearCancelled(D){z(D,!0),du(T,[D])},onLeaveCancelled(D){E(D),du(x,[D])}})}function ZK(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 lY(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 fT(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let JK=0;function dT(e,t,n,r){const a=e._endId=++JK,i=()=>{a===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:l,propCount:s}=BR(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 BR(e,t){const n=window.getComputedStyle(e),r=v=>(n[v]||"").split(", "),a=r(`${Gl}Delay`),i=r(`${Gl}Duration`),o=hT(a,i),l=r(`${Sh}Delay`),s=r(`${Sh}Duration`),u=hT(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 hT(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>vT(n)+vT(e[r])))}function vT(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function FR(){return document.body.offsetHeight}function QK(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"),HR=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[HR]=!t}const eX=Symbol(""),tX=/(^|;)\s*display\s*:/;function nX(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[eX];o&&(n+=";"+o),r.cssText=n,i=tX.test(n)}}else t&&e.removeAttribute("style");I2 in e&&(e[I2]=i?r.display:"",e[HR]&&(r.display="none"))}const pT=/\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=rX(e,t);pT.test(n)?e.setProperty(eu(r),n.replace(pT,""),"important"):e[r]=n}}const gT=["Webkit","Moz","ms"],j3={};function rX(e,t){const n=j3[t];if(n)return n;let r=xi(t);if(r!=="filter"&&r in e)return j3[t]=r;r=lp(r);for(let a=0;a<gT.length;a++){const i=gT[a]+r;if(i in e)return j3[t]=i}return t}const mT="http://www.w3.org/1999/xlink";function yT(e,t,n,r,a,i=hY(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(mT,t.slice(6,t.length)):e.setAttributeNS(mT,t,n):n==null||i&&!OP(n)?e.removeAttribute(t):e.setAttribute(t,i?"":String(n))}function aX(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=OP(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 iX(e,t,n,r){e.removeEventListener(t,n,r)}const bT=Symbol("_vei");function oX(e,t,n,r,a=null){const i=e[bT]||(e[bT]={}),o=i[t];if(r&&o)o.value=r;else{const[l,s]=lX(t);if(r){const u=i[t]=cX(r,a);gs(e,l,u,s)}else o&&(iX(e,l,o,s),i[t]=void 0)}}const _T=/(?:Once|Passive|Capture)$/;function lX(e){let t;if(_T.test(e)){t={};let r;for(;r=e.match(_T);)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 sX=Promise.resolve(),uX=()=>q3||(sX.then(()=>q3=0),q3=Date.now());function cX(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yi(fX(r,n.value),t,5,[r])};return n.value=e,n.attached=uX(),n}function fX(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 wT=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,dX=(e,t,n,r,a,i,o,l,s)=>{const u=a==="svg";t==="class"?QK(e,r,u):t==="style"?nX(e,n,r):Qm(t)?f5(t)||oX(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):hX(e,t,r,u))?(aX(e,t,r,i,o,l,s),(t==="value"||t==="checked"||t==="selected")&&yT(e,t,r,u,o,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),yT(e,t,r,u))};function hX(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&wT(t)&&ut(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 wT(t)&&vt(n)?!1:t in e}const jR=new WeakMap,qR=new WeakMap,D2=Symbol("_moveCb"),xT=Symbol("_enterCb"),GR={name:"TransitionGroup",props:ar({},XK,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xt(),r=MR();let a,i;return Ll(()=>{if(!a.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!yX(a[0].el,n.vnode.el,o))return;a.forEach(pX),a.forEach(gX);const l=a.filter(mX);FR(),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=VR(o);let s=o.tag||fe;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)),jR.set(c,c.el.getBoundingClientRect()))}i=t.default?L5(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)}}},vX=e=>delete e.mode;GR.props;const WR=GR;function pX(e){const t=e.el;t[D2]&&t[D2](),t[xT]&&t[xT]()}function gX(e){qR.set(e,e.el.getBoundingClientRect())}function mX(e){const t=jR.get(e),n=qR.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 yX(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}=BR(r);return i.removeChild(r),o}const gd=e=>{const t=e.props["onUpdate:modelValue"]||!1;return We(t)?n=>E0(t,n):t};function bX(e){e.target.composing=!0}function ST(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hl=Symbol("_assign"),R5={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",bX),gs(e,"compositionend",ST),gs(e,"change",ST))},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=YR(e),i=e.checked,o=e[hl];if(We(r)){const l=$P(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(KR(e,i))})},mounted:CT,beforeUpdate(e,t,n){e[hl]=gd(n),CT(e,t,n)}};function CT(e,{value:t,oldValue:n},r){e._modelValue=t,We(t)?e.checked=$P(t,r.props.value)>-1:ey(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=dd(t,KR(e,!0)))}const UR={created(e,{value:t},n){e.checked=dd(t,n.props.value),e[hl]=gd(n),gs(e,"change",()=>{e[hl](YR(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[hl]=gd(r),t!==n&&(e.checked=dd(t,r.props.value))}};function YR(e){return"_value"in e?e._value:e.value}function KR(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const _X=["ctrl","shift","alt","meta"],wX={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)=>_X.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=wX[t[o]];if(l&&l(a,t))return}return e(a,...i)})},xX={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||xX[o]===i))return e(a)})},SX=ar({patchProp:dX},KK);let TT;function XR(){return TT||(TT=wK(SX))}const $s=(...e)=>{XR().render(...e)},ZR=(...e)=>{const t=XR().createApp(...e),{mount:n}=t;return t.mount=r=>{const a=TX(r);if(!a)return;const i=t._component;!ut(i)&&!i.render&&!i.template&&(i.template=a.innerHTML),a.innerHTML="";const o=n(a,!1,CX(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),o},t};function CX(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function TX(e){return vt(e)?document.querySelector(e):e}const Ya=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n},kX={};function zX(e,t){const n=se("router-view");return k(),Y(n)}const MX=Ya(kX,[["render",zX],["__scopeId","data-v-5b8d51d3"]]);/*!
- * vue-router v4.3.3
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */const Lf=typeof document<"u";function EX(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const En=Object.assign;function G3(e,t){const n={};for(const r in t){const a=t[r];n[r]=Xi(a)?a.map(e):e(a)}return n}const Iv=()=>{},Xi=Array.isArray,JR=/#/g,AX=/&/g,IX=/\//g,DX=/=/g,LX=/\?/g,QR=/\+/g,PX=/%5B/g,RX=/%5D/g,eN=/%5E/g,NX=/%60/g,tN=/%7B/g,OX=/%7C/g,nN=/%7D/g,$X=/%20/g;function N5(e){return encodeURI(""+e).replace(OX,"|").replace(PX,"[").replace(RX,"]")}function VX(e){return N5(e).replace(tN,"{").replace(nN,"}").replace(eN,"^")}function l4(e){return N5(e).replace(QR,"%2B").replace($X,"+").replace(JR,"%23").replace(AX,"%26").replace(NX,"`").replace(tN,"{").replace(nN,"}").replace(eN,"^")}function BX(e){return l4(e).replace(DX,"%3D")}function FX(e){return N5(e).replace(JR,"%23").replace(LX,"%3F")}function HX(e){return e==null?"":FX(e).replace(IX,"%2F")}function c1(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const jX=/\/$/,qX=e=>e.replace(jX,"");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=YX(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:a,hash:c1(o)}}function GX(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function kT(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function WX(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])&&rN(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 rN(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!UX(e[n],t[n]))return!1;return!0}function UX(e,t){return Xi(e)?zT(e,t):Xi(t)?zT(t,e):e===t}function zT(e,t){return Xi(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function YX(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 KX(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),qX(e)}const XX=/^[^#]+#/;function ZX(e,t){return e.replace(XX,"#")+t}function JX(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 QX(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=JX(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 MT(e,t){return(history.state?history.state.position-t:-1)+e}const s4=new Map;function eZ(e,t){s4.set(e,t)}function tZ(e){const t=s4.get(e);return s4.delete(e),t}let nZ=()=>location.protocol+"//"+location.host;function aN(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),kT(s,"")}return kT(n,e)+r+a}function rZ(e,t,n,r){let a=[],i=[],o=null;const l=({state:d})=>{const h=aN(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(En({},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 ET(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 aZ(e){const{history:t,location:n}=window,r={value:aN(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:nZ()+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=En({},t.state,ET(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=En({},a.value,t.state,{forward:s,scroll:dy()});i(c.current,c,!0);const f=En({},ET(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 iZ(e){e=KX(e);const t=aZ(e),n=rZ(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const a=En({location:"",base:e,go:r,createHref:ZX.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 oZ(e){return typeof e=="string"||e&&typeof e=="object"}function iN(e){return typeof e=="string"||typeof e=="symbol"}const Wl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},oN=Symbol("");var AT;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(AT||(AT={}));function yd(e,t){return En(new Error,{type:e,[oN]:!0},t)}function Jo(e,t){return e instanceof Error&&oN in e&&(t==null||!!(e.type&t))}const IT="[^/]+?",lZ={sensitive:!1,strict:!1,start:!0,end:!0},sZ=/[.+*?^${}()[\]/\\]/g;function uZ(e,t){const n=En({},lZ,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(sZ,"\\$&"),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||IT;if(b!==IT){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(Xi(m)&&!p)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const b=Xi(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 cZ(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 lN(e,t){let n=0;const r=e.score,a=t.score;for(;n<r.length&&n<a.length;){const i=cZ(r[n],a[n]);if(i)return i;n++}if(Math.abs(a.length-r.length)===1){if(DT(r))return 1;if(DT(a))return-1}return a.length-r.length}function DT(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const fZ={type:0,value:""},dZ=/[a-zA-Z0-9_]/;function hZ(e){if(!e)return[[]];if(e==="/")return[[fZ]];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:dZ.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 vZ(e,t,n){const r=uZ(hZ(e.path),n),a=En(r,{record:e,parent:t,children:[],alias:[]});return t&&!a.record.aliasOf==!t.record.aliasOf&&t.children.push(a),a}function pZ(e,t){const n=[],r=new Map;t=RT({strict:!1,end:!0,sensitive:!1},t);function a(c){return r.get(c)}function i(c,f,d){const h=!d,v=gZ(c);v.aliasOf=d&&d.record;const p=RT(t,c),g=[v];if("alias"in c){const _=typeof c.alias=="string"?[c.alias]:c.alias;for(const w of _)g.push(En({},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=vZ(_,f,p),d?d.alias.push(m):(b=b||m,b!==m&&b.alias.push(m),h&&c.name&&!PT(m)&&o(c.name)),sN(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(iN(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=bZ(c,n);n.splice(f,0,c),c.record.name&&!PT(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=En(LT(f.params,d.keys.filter(b=>!b.optional).concat(d.parent?d.parent.keys.filter(b=>b.optional):[]).map(b=>b.name)),c.params&<(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=En({},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:yZ(g)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:l,getRecordMatcher:a}}function LT(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function gZ(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:mZ(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 mZ(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 PT(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yZ(e){return e.reduce((t,n)=>En(t,n.meta),{})}function RT(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function bZ(e,t){let n=0,r=t.length;for(;n!==r;){const i=n+r>>1;lN(e,t[i])<0?r=i:n=i+1}const a=_Z(e);return a&&(r=t.lastIndexOf(a,r-1)),r}function _Z(e){let t=e;for(;t=t.parent;)if(sN(t)&&lN(e,t)===0)return t}function sN({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function wZ(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(QR," "),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];Xi(u)||(u=t[l]=[u]),u.push(s)}else t[l]=s}return t}function NT(e){let t="";for(let n in e){const r=e[n];if(n=BX(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Xi(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 xZ(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Xi(r)?r.map(a=>a==null?null:""+a):r==null?r:""+r)}return t}const SZ=Symbol(""),OT=Symbol(""),O5=Symbol(""),uN=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):oZ(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(CZ(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=EX(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 CZ(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $T(e){const t=Ye(O5),n=Ye(uN),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=VT(s[u-2]);return u>1&&VT(c)===h&&f[f.length-1].path!==h?f.findIndex(md.bind(null,s[u-2])):d}),i=L(()=>a.value>-1&&MZ(n.params,r.value.params)),o=L(()=>a.value>-1&&a.value===n.matched.length-1&&rN(n.params,r.value.params));function l(s={}){return zZ(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 TZ=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:$T,setup(e,{slots:t}){const n=nn($T(e)),{options:r}=Ye(O5),a=L(()=>({[BT(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[BT(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)}}}),kZ=TZ;function zZ(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 MZ(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(!Xi(a)||a.length!==r.length||r.some((i,o)=>i!==a[o]))return!1}return!0}function VT(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const BT=(e,t,n)=>e??t??n,EZ=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(OT,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(OT,L(()=>o.value+1)),Rt(SZ,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 FT(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,En({},v,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[c]=null)},ref:s}));return FT(n.default,{Component:g,route:u})||g}}});function FT(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const AZ=EZ;function IZ(e){const t=pZ(e.routes,e),n=e.parseQuery||wZ,r=e.stringifyQuery||NT,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,HX),d=G3.bind(null,c1);function h(ae,ie){let ve,ce;return iN(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=En({},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 En(oe,pe,{params:d(pe.params),hash:c1(oe.hash),redirectedFrom:void 0,href:Te})}let ve;if(ae.path!=null)ve=En({},ae,{path:W3(n,ae.path,ie.path).path});else{const oe=En({},ae.params);for(const pe in oe)oe[pe]==null&&delete oe[pe];ve=En({},ae,{params:f(oe)}),ie.params=f(ie.params)}const ce=t.resolve(ve,ie),de=ae.hash||"";ce.params=c(d(ce.params));const xe=GX(r,En({},ae,{hash:VX(de),path:ce.path})),J=a.createHref(xe);return En({fullPath:xe,hash:de,query:r===NT?xZ(ae.query):ae.query||{}},ce,{redirectedFrom:void 0,href:J})}function b(ae){return typeof ae=="string"?W3(n,ae,s.value.path):En({},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(En(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={}),En({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,de=ae.state,xe=ae.force,J=ae.replace===!0,oe=S(ve);if(oe)return C(En(b(oe),{state:typeof oe=="object"?En({},de,oe.state):de,force:xe,replace:J}),ie||ve);const pe=ve;pe.redirectedFrom=ie;let Te;return!xe&&WX(r,ce,ve)&&(Te=yd(16,{to:pe,from:ce}),Z(ce,ce,!0,!1)),(Te?Promise.resolve(Te):E(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(En({replace:J},b(ge.to),{state:typeof ge.to=="object"?En({},de,ge.to.state):de,force:xe}),ie||pe)}else ge=D(pe,ce,!0,J,de);return A(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 E(ae,ie){let ve;const[ce,de,xe]=DZ(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(de,"beforeRouteUpdate",ae,ie);for(const oe of de)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(Xi(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 A(ae,ie,ve){l.list().forEach(ce=>z(()=>ce(ae,ie,ve)))}function D(ae,ie,ve,ce,de){const xe=_(ae,ie);if(xe)return xe;const J=ie===Wl,oe=Lf?history.state:{};ve&&(ce||J?a.replace(ae.fullPath,En({scroll:J&&oe&&oe.scroll},de)):a.push(ae.fullPath,de)),s.value=ae,Z(ae,ie,ve,J),W()}let $;function N(){$||($=a.listen((ae,ie,ve)=>{if(!ye.listening)return;const ce=m(ae),de=S(ce);if(de){C(En(de,{replace:!0}),ce).catch(Iv);return}u=ce;const xe=s.value;Lf&&eZ(MT(xe.fullPath,ve.delta),dy()),E(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)),A(ce,xe,J)}).catch(Iv)}))}let R=Th(),O=Th(),B;function V(ae,ie,ve){W(ae);const ce=O.list();return ce.length?ce.forEach(de=>de(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,N(),R.list().forEach(([ie,ve])=>ae?ve(ae):ie()),R.reset()),ae}function Z(ae,ie,ve,ce){const{scrollBehavior:de}=e;if(!Lf||!de)return Promise.resolve();const xe=!ve&&tZ(MT(ae.fullPath,0))||(ce||!ve)&&history.state&&history.state.scroll||null;return nt().then(()=>de(ae,ie,xe)).then(J=>J&&QX(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:O.add,isReady:P,install(ae){const ie=this;ae.component("RouterLink",kZ),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(de=>{}));const ve={};for(const de in Wl)Object.defineProperty(ve,de,{get:()=>s.value[de],enumerable:!0});ae.provide(O5,ie),ae.provide(uN,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 DZ(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 Ft;(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},e.mbti_results={ISTJ:{性格:["严谨和责任感:ISTJ性格的人通常非常注重责任感和义务感。他们做事有条理,喜欢按计划行事,确保每个细节都被仔细考虑。","现实和务实:他们倾向于关注现实和可行的解决方案,更依赖事实和过去的经验,而不是抽象的概念或未来的可能性。","逻辑和分析能力:ISTJ类型的人善于分析和逻辑推理,做决策时更倾向于基于事实和理性。","独立和内向:他们喜欢独立工作,通常更喜欢独自思考和处理问题,而不是在社交场合中表现自己","保守和传统:ISTJ人往往尊重传统和规则,喜欢稳定和可预测的环境。"],工作:["可靠性:ISTJ员工通常是团队中最可靠的人。他们能够按时完成任务,并且工作质量高。","细节导向:他们擅长处理需要高度注意细节的任务,通常在项目管理、财务、会计、法律等领域表现出色。","责任感强:他们对自己的职责非常负责,会努力确保工作按计划进行。","倾向于独立工作:ISTJ人更喜欢有清晰界限和目标的任务,能够独立完成,而不需要太多的团队互动。"],生活:["有条理的生活:ISTJ倾向于将生活安排得井井有条,喜欢计划日常活动并遵守时间表。","节俭和谨慎:他们在生活中通常很节俭,喜欢控制开支,确保财务的稳定性。","尊重传统:他们在日常生活中往往遵循传统习惯,喜欢保持生活的稳定和秩序。"],情感:["忠诚和可靠:在情感关系中,ISTJ通常是非常忠诚的伴侣,他们对伴侣充满责任感,会努力维持关系的稳定。","务实的爱:他们的表达爱意的方式可能不太浪漫或富有创意,但通常表现为对伴侣的可靠和实际的支持。","倾向于内向表达:ISTJ人可能不善于表达感情,倾向于通过行动而不是言语来表达对对方的关心。"],社交:["稳重的朋友:ISTJ是非常可靠和忠诚的朋友,他们重视长久的友谊,通常会为朋友提供实际的帮助。","谨慎选择社交圈:他们更喜欢有质量的深度关系,而不是广泛的社交网络,因此可能朋友不多,但关系很深。","倾向于理性互动:在社交场合,ISTJ人通常会保持理性,不会表现得过于情感化。"],财富:["谨慎理财:ISTJ人通常会小心管理自己的财务,喜欢制定预算和计划,以确保财务的安全和稳定。","长期投资:他们倾向于选择安全且有保障的投资方式,注重长期的财务增长,而不是冒险追求高回报。","储蓄倾向:他们有很强的储蓄习惯,喜欢为未来做打算,确保财务上的稳定性。"]},ISFJ:{性格:["忠诚和责任感:ISFJ性格的人非常忠诚,重视承诺,并且对家庭、朋友和工作都表现出高度的责任感。","关怀和共情:他们对他人的感受非常敏感,善于理解和支持他人,常常表现出极大的同情心和共情能力。","细心和务实:ISFJ人非常注重细节,喜欢按照既定的规则和程序行事,务实且有条不紊。","传统和稳定:他们尊重传统,喜欢稳定和可预见的生活方式,不喜欢突如其来的变化。","内向且温和:虽然他们内向,但他们非常关心他人,往往通过实际行动来表达对他人的关心和支持。"],工作:["细致入微:ISFJ在工作中非常注重细节,特别擅长那些需要细心和耐心的任务,如护理、教育、行政支持等。","团队合作:他们是优秀的团队成员,喜欢在稳定和有序的环境中工作,愿意为团队的成功做出贡献。","可靠和守时:他们以高效和准时完成任务而闻名,通常是最可靠的员工之一。","关注他人的需求:ISFJ在工作中也很关注同事的感受,通常能够很好地协调团队关系,促进和谐的工作环境。"],生活:["家庭导向:ISFJ非常重视家庭关系,喜欢照顾家人和朋友,通常在家庭中扮演“守护者”的角色。","有条理的生活:他们喜欢把生活安排得井井有条,注重保持家居环境的整洁和有序。","节俭和务实:他们在生活中非常节俭,注重储蓄和财务管理,以确保生活的稳定和安全。"],情感:["忠诚和深情:在情感关系中,ISFJ是非常忠诚和深情的伴侣,他们愿意为伴侣付出,并且非常注重对方的需求和感受。","实际的爱:他们通过实际行动来表达爱意,如照顾对方的生活细节,而不太倾向于通过语言表达感情。","情感敏感:ISFJ很敏感,容易受到他人情感的影响,因此在关系中他们非常重视情感上的支持和理解。"],社交:["忠诚的朋友:ISFJ是非常忠诚的朋友,他们珍视长久的友谊,并愿意为朋友提供无条件的支持和帮助。","倾向于深度关系:他们更喜欢与少数几个人建立深厚的关系,而不是广泛社交,因此他们的朋友可能不多,但关系非常牢固。","温和且包容:他们在人际交往中表现得温和且包容,善于倾听并给予支持。"],财富:["保守理财:ISFJ在财富管理上比较保守,喜欢安全且有保障的理财方式,注重长期的财务稳定。","节俭和储蓄:他们有很强的储蓄习惯,倾向于精打细算,确保未来有充足的财务保障。","关注家庭财务:他们通常非常重视家庭的财务健康,愿意为家人的未来财务安全做出长期规划。"]},INFJ:{性格:["理想主义和远见:INFJ性格的人通常有很强的理想主义倾向,喜欢思考宏大的理念和未来的可能性。他们往往拥有远见卓识,能够看到大局,并为理想而努力。","深刻的洞察力:他们具有很强的洞察力,能够敏锐地理解他人的情感和动机,常常对人性和社会有深刻的理解。","同情心和关怀:INFJ非常关注他人的情感和需求,具有强烈的同情心,愿意为他人提供情感上的支持和帮助。","独立和内向:尽管他们关心他人,但INFJ通常是内向的,喜欢独处以思考和反省。他们需要独处的时间来充电和保持内心的平衡。","组织性和决断力:INFJ虽然内向,但在需要时可以表现出强大的组织能力和决断力,特别是在推动他们深信不疑的事业或目标时。"],工作:["使命感驱动:INFJ通常在那些能够与他们的价值观和使命感一致的工作中表现出色,如心理咨询、教育、社会工作等领域。","创造性和战略性:他们善于提出独特的见解和解决方案,能够在复杂的情境中找到创新的出路。","倾向于帮助他人:INFJ喜欢帮助他人实现潜力,因此他们常常在能够支持和指导他人的角色中感到满足。","完美主义倾向:他们对自己的工作有很高的要求,往往追求完美,希望自己的工作能够真正带来积极的影响。"],生活:["深思熟虑的生活:INFJ倾向于深思熟虑地安排生活,注重内心的成长和精神的充实,喜欢探索哲学、心理学等领域。","有意义的生活方式:他们寻求在生活中实现更高的目标,常常参与志愿者活动或其他能够为社会带来正面影响的活动。","注重隐私和独处:尽管他们关心他人,但也非常重视个人的隐私和独处时间,喜欢在安静的环境中沉思和创作。"],情感:["深情和忠诚:INFJ在情感关系中非常深情,他们渴望建立深刻的情感连接,并对伴侣表现出极大的忠诚和支持。","高标准:他们对情感关系有很高的标准,渴望找到能够与他们分享内心世界并理解他们的伴侣。","理想化的爱:他们往往会理想化爱情,希望在关系中实现他们内心的理想和梦想,因此可能会对关系的现实性产生挑战。"],社交:["少而精的友谊:INFJ通常不会有很多朋友,但他们与朋友之间的关系往往非常深厚且持久。他们倾向于选择那些能够理解他们并与他们在精神层面有共鸣的人作为朋友。","关怀和支持:他们在友谊中非常关心和支持朋友,常常扮演倾听者和顾问的角色,提供深刻的洞见和帮助。","社交选择性:他们在社交场合中往往比较选择性,喜欢与少数几个志同道合的人互动,而不是参加大型社交活动。"],财富:["价值导向的理财:INFJ在理财上更注重与个人价值观一致的选择,他们可能会选择社会责任投资或慈善捐款等方式来管理财富。","节制的消费:他们通常不会挥霍,倾向于将资金用于那些对他们来说有深远意义的事物上,而不是短暂的享乐。","长远规划:INFJ喜欢为未来做长期规划,确保他们的财务状况能够支持他们的理想和目标。"]},INTJ:{性格:["战略性思维:INTJ性格的人具有极强的战略思维能力,擅长长远规划,能够预见未来的发展趋势,并制定切实可行的计划。","独立和自主:他们非常独立,喜欢自主工作,通常不依赖他人的帮助。他们信任自己的判断,并且倾向于按照自己的方式行事。","逻辑和理性:INTJ重视逻辑和理性,做决定时更倾向于客观分析,而不是感情用事。他们擅长解决复杂问题,能够迅速找到有效的解决方案。","创新和创造力:他们有很强的创造力,喜欢挑战现状,追求创新的方式来实现目标。INTJ经常提出独特的见解和解决方案。","内向且沉稳:尽管他们有强烈的目标感,但INTJ通常是内向的,喜欢独立思考和行动,不太喜欢社交活动。"],工作:["高效和果断:INTJ在工作中通常表现出极高的效率和果断的决策能力,擅长在复杂的环境中做出明智的决策。","领导能力:虽然他们是内向型,但在需要时,INTJ可以成为非常有效的领导者。他们能够设定清晰的目标,并激励团队朝着这些目标努力。","持续改进:他们不断寻求改进和优化工作流程,喜欢寻找更有效的工作方式,推动组织的发展。","挑战现状:INTJ不喜欢墨守成规,常常挑战现有的系统和流程,以找到更好的解决方案。"],生活:["目标导向的生活:INTJ倾向于设定明确的生活目标,并努力实现这些目标。他们喜欢规划未来,并按照计划逐步实现目标。","高标准的自我要求:他们对自己有很高的要求,追求卓越,并不断努力提升自我。他们通常会精心选择如何分配时间和精力,以最大化效率。","独立性强:INTJ喜欢独立处理生活中的各种事务,通常不依赖他人帮助,喜欢自主决定生活中的重要事项。"],情感:["理性与深情并存:虽然INTJ更倾向于理性分析,但他们在情感关系中也是深情且忠诚的伴侣。他们会仔细选择伴侣,并倾向于建立基于共同目标和价值观的关系。","独立的情感表达:他们不太善于表达情感,但会通过实际行动来表达对伴侣的关心。他们尊重伴侣的独立性,也希望伴侣能够理解和支持他们的目标。","高标准的伴侣选择:INTJ通常对伴侣有较高的标准,期待找到能够与他们在智力和价值观上匹配的人。"],社交:["选择性社交:INTJ在社交上比较谨慎,喜欢与少数几个志同道合的人建立深厚的关系,而不是广泛社交。他们在社交场合中通常显得冷静且沉稳。","深思熟虑的朋友:他们选择朋友时非常谨慎,通常会选择那些能够理解和支持他们的目标和理想的人作为朋友。","理性互动:INTJ在人际关系中通常保持理性和客观,他们尊重他人的独立性,但也希望他人能够尊重他们的观点和决策。"],财富:["长期投资者:INTJ在财富管理上表现得非常理性和谨慎,倾向于做出长期的财务规划和投资决策,以实现他们的财务目标。","注重效率:他们在理财时注重效率,喜欢寻找回报最大化的投资方式,并精心管理财务资源。","风险管理:虽然他们愿意投资,但通常会仔细分析风险并制定应对策略,以确保财务的安全性和稳定性。"]},ISTP:{性格:["独立和实用:ISTP性格的人非常独立,喜欢亲自动手解决问题。他们擅长处理实际问题,喜欢通过实践来理解事物,常常展现出极强的动手能力。","适应性强:他们非常灵活和适应性强,能够迅速应对变化,喜欢挑战和探索新的体验,而不喜欢被严格的计划束缚。","逻辑性和分析力:ISTP人善于分析问题,他们以逻辑和事实为导向,能够快速识别问题的核心,并找到解决方法。","冷静和沉着:在压力或紧急情况下,ISTP能够保持冷静,迅速做出决策和行动,展现出沉着的态度。","冒险精神:他们喜欢探索新事物和冒险,往往对极限运动、机械、工具和技术有浓厚的兴趣。"],工作:["动手能力强:ISTP擅长动手实践,通常在需要操作技能和实际解决问题的工作中表现出色,如工程、机械、维修、技术支持等领域。","独立工作:他们更喜欢独立完成任务,通常不喜欢过多的监督或团队合作,更倾向于按自己的节奏工作。","快速决策:ISTP能够在短时间内做出有效的决策,特别是在需要迅速应对的工作环境中表现得尤为出色。","追求新挑战:他们喜欢变化和新鲜感,因此在工作中也常常寻求新的挑战和不同的任务。"],生活:["灵活的生活方式:ISTP在生活中非常灵活,不喜欢被严格的时间表或计划束缚,更喜欢随心所欲地安排生活。","实用主义:他们在日常生活中表现出实用主义倾向,更关注实际效果,而不太注重理论或抽象的理念。","享受自由:ISTP非常重视个人自由,喜欢有自己的空间和时间,能够自由地探索和体验新事物。"],情感:["现实主义者:在情感关系中,ISTP通常是务实的伴侣,他们不太倾向于浪漫或感情用事,而是更关注关系中的实际问题和解决方案。","尊重独立性:他们尊重伴侣的独立性,同时也希望伴侣能够尊重他们的自由和个人空间。","低调的情感表达:ISTP可能不会通过言语频繁表达情感,但会通过实际行动来表现对伴侣的关心和支持。"],社交:["直率和诚实:ISTP通常是直率和诚实的,他们不喜欢拐弯抹角,在人际关系中更喜欢开诚布公。","随和但保留:他们在人际交往中表现得随和,但通常不主动寻求社交活动,更倾向于在熟悉的圈子里保持少量深厚的关系。","重视个人空间:ISTP非常重视自己的个人空间,不喜欢被他人干涉或打扰,因此他们的社交互动往往是简洁而有效的。"],财富:["实用理财:ISTP在财富管理上表现得非常实用和现实,他们倾向于对具体的财务目标进行规划,而不是长远的财务战略。","灵活性强:他们在理财上也展现出极强的适应性,能够根据实际情况迅速调整策略,以确保财务状况的灵活性。","谨慎投资:虽然喜欢冒险,但在涉及金钱时,ISTP通常会保持谨慎,倾向于选择他们能够完全理解并直接控制的投资方式。"]},ISFP:{性格:["艺术感和创造力:ISFP性格的人往往具有很强的艺术感和创造力。他们擅长表达自己内在的情感和感受,通常通过艺术、音乐、手工艺等方式展现自己。","温柔和敏感:他们非常敏感,关注他人的情感和感受,表现出温柔和关怀的一面。ISFP往往是善良、体贴的人,愿意帮助他人。","追求自由和灵活性:ISFP喜欢自由和灵活的生活方式,不喜欢受到限制或被严格的计划束缚。他们喜欢随心所欲地体验生活。","内向且注重个人体验:虽然他们内向,但ISFP非常注重个人的体验和感受,喜欢独处以思考和感受世界,往往对自然和美有深刻的感知。","实用主义:他们虽然有艺术倾向,但也非常实用,喜欢把美和功能结合在一起,追求实际的解决方案。"],工作:["创造性和艺术性:ISFP在需要创造力和艺术感的工作中表现出色,如设计、艺术、音乐、摄影等领域。他们喜欢通过工作表达个人的感受和情感。","注重细节:他们在工作中非常注重细节,尤其是在需要手工艺或精细工作的领域,常常表现得非常精致和细腻。","追求灵活性:ISFP喜欢灵活的工作环境,通常不喜欢被严格的规定和计划束缚,倾向于在自由度较高的工作中表现最佳。","实践导向:他们更喜欢实际的工作,而不是过多的理论或抽象思考,喜欢亲自动手完成任务。"],生活:["随和的生活方式:ISFP在生活中非常随和,喜欢随遇而安的生活方式,不太喜欢规划,喜欢根据当下的心情和感觉做决定。","重视个人空间:他们非常重视个人空间和独处的时间,喜欢在安静的环境中思考和感受生活。","热爱自然:ISFP通常对大自然有深厚的感情,喜欢户外活动,如徒步、露营或其他与自然接触的活动。"],情感:["深情和温柔:ISFP在情感关系中表现出极大的深情和温柔,他们愿意为伴侣付出,并以温和和体贴的方式表达爱意。","感性的爱:他们通过感性和细腻的方式来表达爱意,喜欢通过小礼物、音乐或艺术作品来展现对伴侣的关心。","尊重伴侣的自由:他们尊重伴侣的独立性和自由,喜欢与伴侣一起探索生活的美好,但也需要一定的个人空间。"],社交:["友好和体贴:ISFP通常是友好且体贴的朋友,他们非常关注朋友的感受,并愿意为朋友提供支持和帮助。","低调和内敛:他们在人际交往中比较低调,不喜欢成为关注的焦点,往往喜欢在小圈子里与亲近的人互动。","倾听者:ISFP是出色的倾听者,他们能够认真倾听他人的烦恼和需求,并提供温和的建议。"],财富:["随性理财:ISFP在财富管理上通常比较随性,他们更倾向于花钱在能带来即时满足和快乐的事情上,而不是长远的财务规划。","重视体验:他们更愿意将钱花在能够带来愉快体验的事情上,如旅行、艺术品或美食,而不是物质上的积累。","不喜欢冒险投资:虽然他们喜欢自由和灵活,但在财务上,ISFP通常不喜欢高风险的投资,更倾向于稳定和安全的理财方式。"]},INFP:{性格:["理想主义和价值驱动:INFP性格的人非常注重内在价值和信仰,他们通常是理想主义者,追求一种更美好的世界和生活方式。他们愿意为自己的理想奋斗,并且往往在道德和伦理问题上有明确的立场。","富有同情心和共情能力:INFP对他人的情感和痛苦非常敏感,能够深刻地理解和感受他人的处境。他们往往是善良且同情心强的人,愿意帮助他人,并为他人的福祉而努力。","创造力和想象力:他们具有丰富的创造力和想象力,喜欢沉浸在自己的思想和幻想中。INFP往往对艺术、文学、音乐等领域有浓厚的兴趣,并通过这些方式表达内心的感受和想法。","内向且独立:INFP通常是内向的,喜欢独处,以便反思和内省。他们需要时间来处理自己的情感和思想,倾向于通过独立的方式来探索和理解世界。","开放和适应性:尽管他们有坚定的价值观,但INFP对新观点和新体验持开放态度,愿意探索未知和不同的事物。他们喜欢保持生活的灵活性和自由度,不喜欢被严格的规则束缚。"],工作:["意义导向:INFP在工作中更倾向于寻找能与个人价值观一致的工作,喜欢从事那些能带来社会或个人意义的职业,如心理咨询、教育、创意写作、艺术等。","创造性强:他们在需要创造力和想象力的工作中表现出色,擅长提出独特的想法和解决方案,喜欢参与能够表达个人感受和思想的项目。","独立工作:INFP喜欢有自主性和创造性的工作环境,通常不喜欢被过多的监督,更喜欢按照自己的节奏和方式完成任务。","坚持信念:他们会坚定地追求符合自己价值观的事业,愿意为自己的理想和目标付出努力,尽管有时可能显得不太实际。"],生活:["深思熟虑的生活:INFP倾向于过一种深思熟虑的生活,他们喜欢探索人生的意义和目的,常常沉思和反省,以寻找内心的平静和满足。","重视个性表达:他们非常重视通过艺术、写作、音乐等方式表达个人的感受和思想,常常参与能够让他们展示内心世界的活动。","追求自由和灵活性:INFP在生活中追求自由和灵活性,不喜欢被固定的日程和计划束缚,喜欢根据心情和感觉做决定。"],情感:["深情和理想化:INFP在情感关系中非常深情,他们倾向于理想化伴侣和爱情,希望找到能与自己内心深度共鸣的人。他们愿意为爱付出,并追求真挚和深刻的情感连接。","敏感和共情:他们对伴侣的情感非常敏感,能够深刻理解对方的感受,并以同情和关怀的态度支持伴侣。","需要理解和支持:由于他们的情感世界非常丰富,INFP需要一个能够理解和支持他们内心深处情感的伴侣,他们渴望一种深刻且有意义的关系。"],社交:["少而精的友谊:INFP通常不会有很多朋友,但他们会珍惜与少数几个人的深厚友谊。他们倾向于选择那些能够理解并分享他们价值观的人作为朋友。","倾听者和支持者:他们是出色的倾听者,能够提供情感支持和理解,常常扮演朋友和家人中情感支持者的角色。","内向且低调:INFP在人际关系中通常表现得内向且低调,他们不喜欢成为社交场合的焦点,更倾向于在安静且信任的环境中与人交往。"],财富:["非物质主义者:INFP往往对物质财富不太感兴趣,他们更看重精神和情感上的满足,可能会选择为支持慈善或追求艺术而花钱,而不是积累财富。","注重价值投资:他们在财富管理上可能会倾向于投资那些符合自己价值观的项目或企业,而不是仅仅追求高回报。","随性理财:由于他们更注重当下的生活体验,INFP可能不会严格遵守预算或长期理财计划,喜欢随心所欲地使用金钱。"]},INTP:{性格:["强大的逻辑和分析能力:INTP性格的人具有极强的逻辑思维能力和分析技巧。他们喜欢解构复杂的问题,擅长从多个角度深入探讨,并寻找创新的解决方案。","好奇心和探索精神:他们对知识有强烈的渴望,喜欢探索新概念、新理论和新事物。INTP通常对哲学、科学、技术等领域有浓厚的兴趣。","独立性和自主性:他们非常独立,喜欢自主思考和解决问题,通常不喜欢受外界影响或被他人干涉。","内向和沉思:INTP通常是内向的,喜欢独处以思考和探索思想的深度。他们往往沉浸在自己的思维世界中,对外界的社交活动兴趣不大。","开放和灵活:尽管他们有坚定的逻辑基础,但INTP对新思想和不同观点持开放态度,愿意探索并接受新的可能性。"],工作:["擅长解决复杂问题:INTP在需要分析、解决复杂问题或创造性思维的工作中表现出色,如科学研究、编程、工程、理论物理等领域。他们喜欢挑战性工作,并在解决难题时表现得非常专注和高效。","创新和创意:他们具有极强的创新能力,喜欢提出新颖的想法和方案,并能打破常规,提出不寻常的解决办法。","独立工作:INTP喜欢有自主性和创造性的工作环境,通常不喜欢过多的监督,更倾向于独立完成任务。","非传统的思维方式:他们通常会从不同的角度思考问题,提出独特的见解,常常在团队中扮演“想法提出者”或“问题解决者”的角色。"],生活:["探索性和理论性:INTP在生活中倾向于探索各种理论和概念,他们喜欢阅读、研究和讨论哲学、科学、数学等领域的话题。","简单而独立的生活方式:他们通常不追求物质上的享受,更喜欢简单而独立的生活,专注于自己的兴趣和研究。","低调和内向:INTP通常保持低调,不喜欢成为关注的焦点,喜欢在安静的环境中思考和学习。"],情感:["理性与情感的平衡:在情感关系中,INTP倾向于理性分析,但他们也会努力理解和支持伴侣的情感需求。他们通常以一种理智而温和的方式表达爱意。","独立的伴侣:他们需要一定的独立空间,同时也尊重伴侣的独立性。INTP希望伴侣能够理解并接受他们的思维方式和生活习惯。","深度情感连接:尽管他们不善于情感表达,但当他们找到能够理解并与他们在智力和情感上共鸣的伴侣时,INTP可以形成深厚且持久的关系。"],社交:["深度思考者:INTP在社交上通常保持低调,更喜欢与少数几个志同道合的人进行深度讨论和交流,而不是参加广泛的社交活动。","直率和诚实:他们在人际关系中非常直率和诚实,不喜欢表面化的社交,更倾向于直截了当地表达自己的观点。","独立的社交方式:他们在社交中更喜欢保留个人空间和独立性,通常不会过多依赖他人或追求广泛的社交圈。"],财富:["理性和谨慎:INTP在财富管理上表现得非常理性和谨慎,他们喜欢研究和分析投资选项,以找到最合适的理财方式。","长远规划:他们可能会制定长期的财务计划,但通常不会过于关注短期收益,更倾向于稳健的投资方式。","简单的生活需求:由于他们对物质享受要求不高,INTP通常不会过度消费,更倾向于将资金用于知识、研究或个人兴趣领域。"]},ESTP:{性格:["实际和务实:ESTP性格的人非常注重现实,喜欢直接行动。他们擅长在实际情境中解决问题,通常会迅速分析情况并采取行动。","精力充沛和外向:他们充满活力,喜欢与人互动,享受社交和冒险活动。ESTP往往是社交场合的中心,能够轻松吸引注意力并带动气氛。","适应性强:ESTP非常适应环境的变化,能够在快速变化的情况下保持冷静并做出有效的决策。他们喜欢面对挑战和意外,能够迅速调整策略。","直率和坦诚:他们喜欢开诚布公地表达自己的想法,不会拐弯抹角,往往以直接和清晰的方式进行沟通。","冒险精神:ESTP喜欢冒险和新体验,他们热衷于尝试新事物,并在不确定的环境中感到兴奋。"],工作:["行动导向:ESTP喜欢立即付诸行动,不喜欢长时间的计划和讨论,更倾向于“边做边学”的方式。适合他们的职业包括销售、市场推广、创业、应急管理等需要快速反应和决策的领域。","问题解决者:他们在紧急或需要即时决策的情况下表现得尤为出色,擅长迅速解决问题,并在压力下表现良好。","人际交往能力强:ESTP在工作中能够轻松地与人建立联系,并利用自己的社交技巧促进合作和达成目标。他们擅长谈判、推销和客户关系管理。","灵活应变:他们在面对变化时能够迅速调整策略,喜欢在动态和多变的环境中工作。"],生活:["活力四射的生活方式:ESTP倾向于过一种充满活力和刺激的生活,喜欢参与各种社交活动、体育运动和冒险活动。他们常常是活动的组织者或参与者,喜欢与朋友和家人一起度过时光。","享受当下:他们注重当下的体验和乐趣,不太喜欢规划未来,更喜欢随心所欲地生活。","动手能力强:ESTP在生活中喜欢亲自动手解决问题,不论是修理家电、进行DIY项目,还是参与户外活动,他们都能表现出色。"],情感:["热情和直接:ESTP在情感关系中非常热情,喜欢直接表达自己的感情和需求。他们愿意为伴侣带来新鲜感和刺激,喜欢一起享受生活中的乐趣。","享受伴侣的陪伴:他们喜欢与伴侣一起体验新事物,并且希望伴侣能与他们分享生活中的冒险和活动。","独立但需要互动:虽然他们重视个人独立性,但也需要与伴侣保持互动和交流,不能忍受冷淡和无聊的关系。"],社交:["外向和社交性强:ESTP是非常外向的人,喜欢社交和互动,容易与各种类型的人建立关系。他们通常有广泛的社交网络,并且在人群中表现得非常自信和自然。","直率的沟通者:他们在与人交往时非常直率,不喜欢绕圈子,倾向于直接表达自己的看法和意见。","喜欢团队合作:ESTP在团队合作中表现得非常出色,他们能够调动团队的积极性,并在团队中迅速找到自己的角色。"],财富:["重视即时回报:ESTP在理财上倾向于寻求即时的满足和回报,喜欢投资于那些能迅速见效的项目或资产。","冒险投资:由于他们喜欢冒险,ESTP可能会选择高风险高回报的投资方式,但也可能因此面临较大的财务波动。","灵活的消费习惯:他们通常不会过于拘泥于预算,而是根据当下的需求和欲望来决定消费,喜欢享受生活中的奢华体验。"]},ESFP:{性格:["外向和活力四射:ESFP性格的人非常外向,充满活力,喜欢成为人群中的焦点。他们享受与人互动,并且能用自己的热情感染周围的人。","享受当下:ESFP非常注重当下的体验和乐趣,他们喜欢沉浸在当前的时刻,而不太关注长远的规划或未来的不确定性。","感性和富有同情心:他们对他人的感受非常敏感,富有同情心,愿意倾听并帮助他人。ESFP通常是非常温暖和友善的人,能够轻松地与他人建立情感联系。","灵活和适应性强:ESFP善于适应环境的变化,他们喜欢即兴发挥,并能够灵活地应对突发情况。他们不喜欢被束缚,更倾向于保持生活的自由和灵活性。","富有表现力:他们往往擅长表达自己,喜欢通过艺术、表演或其他创造性的方式来展示自己的个性和情感。"],工作:["人际交往能力强:ESFP在需要与人打交道的工作中表现出色,如销售、客户服务、公共关系、演艺等领域。他们能够迅速与他人建立联系,并用他们的热情激励他人。","团队合作的推动者:他们是出色的团队成员,能够通过他们的积极态度和能量激励团队,推动项目向前发展。","实践导向:ESFP喜欢实际操作和体验,不太喜欢长时间的理论研究或规划,更喜欢在实践中学习和发展。","创造性和表达力:他们擅长在需要创造力和表现力的工作中发挥自己的才能,如表演艺术、娱乐行业、设计等。"],生活:["享受社交和娱乐:ESFP在生活中非常享受社交活动和娱乐,他们喜欢参加聚会、旅行、体育活动等,喜欢和朋友和家人一起度过愉快的时光。","随遇而安:他们通常不喜欢被严格的日程表束缚,更喜欢随遇而安,根据心情和当下的情况决定如何安排生活。","热爱美好体验:ESFP喜欢体验生活中的美好事物,如美食、时尚、音乐和艺术。他们倾向于在生活中寻找乐趣和享受。"],情感:["热情和充满爱意:在情感关系中,ESFP非常热情和浪漫,他们喜欢通过各种方式表达对伴侣的爱意,并期待对方的回应。","享受共同体验:他们喜欢和伴侣一起体验新事物,如旅行、探险或其他有趣的活动。ESFP希望与伴侣共同创造美好的回忆。","重视情感交流:他们在情感上非常开放,喜欢表达自己的感受,也希望伴侣能够理解并分享他们的情感需求。"],社交:["友好和社交性强:ESFP非常社交,喜欢与各种类型的人交往,并且通常能够迅速与他人建立友谊。他们在社交场合中表现得非常自信和自然,能够轻松成为人群的焦点。","善于倾听和共情:他们是非常好的倾听者,能够理解并关心朋友和家人的需求和感受。他们的共情能力使他们成为很好的朋友和支持者。","喜欢热闹的社交生活:ESFP通常有广泛的社交圈子,喜欢参加社交活动和聚会,享受与人互动带来的快乐。"],财富:["重视即时满足:ESFP在财富管理上倾向于追求即时的满足和乐趣,他们喜欢花钱在能够立即带来快乐的事物上,如购物、旅行或娱乐。","消费型理财观:他们可能不太关注长期的财务规划,而是更注重如何利用现有的资源享受生活。他们可能需要一些外界的帮助来平衡支出和储蓄。","享受生活的财务观:ESFP倾向于把钱花在能够提升生活质量的事物上,而不是积累财富。他们喜欢为自己和他人创造愉快的体验。"]},ENFP:{性格:["热情和乐观:ENFP性格的人充满热情和乐观精神,他们总是能够看到生活中的积极面,并以积极的态度面对挑战和困难。他们的能量和热情常常感染周围的人。","创造力和好奇心:ENFP拥有丰富的创造力和强烈的好奇心。他们喜欢探索新事物、新想法和新体验,通常对各种各样的主题都有兴趣,尤其是那些能激发他们的想象力和创新思维的事物。","同情心和共情能力:他们非常关注他人的情感和需求,拥有强烈的同情心和共情能力。ENFP善于理解他人的感受,并以温暖和支持的方式回应。","灵活和适应性强:ENFP不喜欢受到严格的规则和限制,他们喜欢保持生活和工作的灵活性,能够迅速适应变化,并且往往乐于尝试新事物。","社交和外向:ENFP是社交的中心,他们喜欢与人互动,享受社交带来的乐趣,并通过与他人的交流和合作获得能量。"],工作:["创造性和创新能力:ENFP在需要创造力和创新的工作中表现出色,如广告、市场营销、公共关系、创意写作等领域。他们喜欢提出新颖的想法,并且擅长从不同角度看待问题。","激励和鼓舞他人:ENFP是天然的鼓舞者,他们能够通过自己的热情和积极性激励团队,推动项目向前发展。他们擅长与他人合作,并能为团队带来积极的影响。","灵活性和适应力:他们在变化多端的环境中表现得尤为出色,喜欢处理多样化的任务和挑战,并能够快速调整策略。","人际关系管理:ENFP在与人打交道的工作中表现得非常出色,他们能够轻松与同事、客户建立良好的关系,并善于在团队中协调不同的意见和需求。"],生活:["享受生活的多样性:ENFP在生活中非常享受多样性和新鲜感,喜欢参与各种不同的活动和体验,如旅行、社交、艺术等。他们常常追求新的体验和刺激。","追求个人成长:他们对自我探索和个人成长非常感兴趣,常常通过阅读、学习和体验来丰富自己的内心世界,并提升自己的能力。","热爱社交活动:ENFP喜欢参加社交活动和聚会,他们在这样的环境中感到非常舒适,并且能够轻松成为人群的焦点。"],情感:["浪漫和充满爱意:ENFP在情感关系中非常浪漫,他们喜欢通过各种方式表达对伴侣的爱意,并且非常重视关系中的情感交流和理解。","深情和共鸣:他们渴望与伴侣建立深刻的情感联系,希望在关系中找到能够理解并分享他们内心世界的人。ENFP在关系中非常关注伴侣的感受,并希望通过情感的共鸣来加深彼此的联系。","重视自由和独立性:尽管他们对感情非常投入,但ENFP也非常重视个人的自由和独立性,希望伴侣能够理解并尊重他们的这一需求。"],社交:["友好和社交性强:ENFP非常外向,喜欢结交新朋友,并且能够轻松与各种类型的人建立联系。他们的社交圈通常很广泛,并且在与人互动时充满热情和活力。","倾听和支持:他们是出色的倾听者,能够理解并支持朋友和家人的需求和感受。ENFP愿意花时间帮助他人,并常常成为朋友和家人的情感支柱。","喜欢合作和互动:他们在团队合作中表现得非常出色,喜欢通过合作和互动来达到共同的目标,并且能够在团队中发挥自己的社交和领导能力。"],财富:["随性消费:ENFP在财富管理上通常比较随性,可能会倾向于在即时满足和享受生活的体验上花费较多,而不是过多关注长期的财务规划。","乐于分享:他们喜欢与他人分享自己的财富,可能会花钱在朋友、家庭或公益活动上,以满足自己助人为乐的心愿。","重视体验:他们倾向于将钱花在能够带来愉快体验和新鲜感的事物上,如旅行、文化体验或教育,而不是积累财富。"]},ENTP:{性格:["创新和好奇心:ENTP性格的人充满好奇心,喜欢探索新想法、新技术和新方法。他们通常对复杂问题充满兴趣,喜欢通过创新和创造性思维来解决问题。","辩论和挑战:他们喜欢辩论,享受通过挑战现有观点和规则来推动思维的边界。ENTP喜欢讨论各种各样的主题,并通过辩论来测试和完善自己的想法。","灵活和适应性强:ENTP非常灵活,能够迅速适应新的环境和情况。他们喜欢变化和不确定性,并在多变的环境中感到兴奋。","社交和外向:他们是非常外向的人,喜欢与人互动,并通过社交和合作获得能量。ENTP通常能够轻松与各种类型的人建立联系,并善于在社交场合中表现自己。","直率和自信:ENTP通常直率而自信,喜欢开诚布公地表达自己的观点。他们不怕冒险,并且愿意尝试新的想法和项目,即使存在失败的风险。"],工作:["问题解决者:ENTP在工作中擅长解决复杂问题,尤其是在需要创新和创造力的领域。他们能够迅速找到问题的核心,并提出独特的解决方案。","推动变革:他们喜欢挑战现状,推动变革,并在组织或团队中引入新理念。ENTP常常是改革的推动者,喜欢带领团队走出舒适区,探索新的可能性。","多任务处理:他们喜欢处理多样化的任务,擅长在快节奏的环境中工作,能够同时处理多个项目而不感到压力。","领导能力:ENTP通常具备强大的领导能力,能够激励和引导团队向前发展。他们的领导风格通常是鼓励创新和自主性,同时推动团队实现共同目标。"],生活:["追求新体验:ENTP在生活中非常喜欢探索新事物,追求刺激和新鲜感。他们可能会不断尝试新的爱好、旅行到新地方或学习新的技能。","充满活力的生活方式:他们的生活通常充满活力和变化,喜欢参与各种社交活动、冒险和探索。他们不喜欢单调或重复的生活,更倾向于保持生活的多样性。","灵活的生活态度:ENTP倾向于随心所欲地安排生活,不喜欢被固定的日程或规则束缚,更喜欢根据当下的情境和需求做出决定。"],情感:["充满激情和活力:在情感关系中,ENTP充满激情,他们喜欢通过不断的互动和交流来保持关系的活力。他们会与伴侣一起探索新事物,并保持关系中的新鲜感。","直率和坦诚:他们在情感上非常直率,不喜欢隐瞒或回避问题,喜欢开诚布公地讨论关系中的问题和需求。","渴望刺激和挑战:ENTP在情感关系中喜欢挑战和刺激,希望伴侣能够与他们一起面对各种新的体验和挑战。他们不喜欢单调或无趣的关系。"],社交:["社交能力强:ENTP非常擅长社交,能够轻松结交新朋友,并在社交场合中感到自在。他们喜欢与各种类型的人交流,享受通过互动获得新的观点和想法。","辩论爱好者:他们喜欢通过辩论来挑战他人的观点,并测试自己的思想。ENTP常常在社交场合中带动讨论,并喜欢参与智力上的对抗。","支持和鼓励:尽管他们喜欢辩论,但ENTP也非常乐于支持和鼓励朋友和家人。他们愿意帮助他人找到解决问题的新方法,并在需要时提供建议和支持。"],财富:["风险偏好者:ENTP在财富管理上通常偏好高风险高回报的投资方式。他们喜欢探索新的投资机会,愿意冒险以追求更高的回报。","灵活理财:他们在理财上通常表现出灵活性,愿意根据市场的变化和新的机会调整策略。他们不太喜欢被固定的财务计划束缚,更倾向于根据当下的情况做出决策。","即时满足:ENTP可能会倾向于在体验和探索上花费较多,而不总是严格遵循长期的储蓄计划。他们喜欢享受生活的乐趣,同时也愿意为未来投资。"]},ESTJ:{性格:["务实和现实导向:ESTJ性格的人非常务实,注重现实和事实。他们喜欢基于现实情况做出决定,倾向于依赖经验和常识,而不是抽象的理论或想象。","果断和高效:他们在做决定时非常果断,喜欢快速采取行动,并确保事情按照计划进行。ESTJ通常非常高效,善于管理时间和资源,以达到最佳效果。","领导能力和组织能力:ESTJ天生具备领导才能,喜欢组织和管理。他们擅长制定计划、分配任务,并监督其执行,确保团队或项目能够顺利进行。","外向和社交:他们是外向型的人,喜欢与人互动,并通过社交和合作获得能量。ESTJ通常能够轻松地与他人建立联系,并在社交场合中表现得非常自信。","注重传统和秩序:ESTJ尊重传统,喜欢维持秩序和结构。他们相信规则和程序的重要性,倾向于维护既定的系统和惯例。"],工作:["自然的领导者:ESTJ在工作中表现为出色的领导者,他们能够设定明确的目标,并带领团队实现这些目标。他们喜欢掌控局面,并确保工作能够按时完成。","高效管理者:他们擅长组织和管理资源,能够有效地分配任务,并监督工作进度。ESTJ在需要严密计划和执行的工作环境中表现得尤为出色,如项目管理、行政管理、运营管理等领域。","注重结果:ESTJ注重实效,喜欢看到明确的结果和成就。他们倾向于以目标为导向,致力于确保工作任务能够按时完成,并达到预期的质量标准。","按部就班:他们更喜欢遵循既定的程序和规则,确保工作流程顺畅且符合标准。他们通常在维持组织内部的秩序和效率方面表现出色。"],生活:["有条不紊的生活方式:ESTJ倾向于将生活安排得井井有条,喜欢制定计划并按计划行事。他们注重生活的稳定性和可预测性,不喜欢意外和混乱。","家庭和社区责任感强:他们通常非常重视家庭和社区,愿意承担责任,并为家庭和社区的福祉做出贡献。ESTJ往往在家庭和社区活动中担任领导角色,喜欢确保事情有条不紊地进行。","传统价值观:ESTJ尊重传统和习俗,倾向于维持家庭和社会中的传统价值观。他们重视诚信、责任感和纪律,并努力将这些价值观传递给下一代。"],情感:["稳定和可靠的伴侣:在情感关系中,ESTJ是非常可靠和稳定的伴侣,他们注重承诺和责任,愿意为伴侣和家庭付出。他们会确保家庭生活的稳定和安全。","直接的情感表达:他们在表达感情时通常是直接而明确的,不喜欢拐弯抹角。他们倾向于通过实际行动而不是浪漫的言辞来表达对伴侣的关心和爱意。","重视传统的关系模式:ESTJ在情感关系中通常遵循传统的模式,喜欢按照既定的社会和家庭角色行事,期望伴侣能够与他们在价值观和生活方式上保持一致。"],社交:["社交性强且组织能力强:ESTJ喜欢参与社交活动,并在社交场合中表现得非常自信和主动。他们通常是社交团体中的组织者,喜欢协调和安排活动,确保每个人都能参与其中。","重视可靠性和责任感:他们在友谊和人际关系中非常重视可靠性和责任感,期望朋友和同事能够按时履行承诺,并对他们的行为负责。","直接的沟通风格:ESTJ在与他人沟通时非常直接和明确,不喜欢绕弯子或模棱两可。他们倾向于直截了当地表达自己的观点和期望,并希望他人也能如此。"],财富:["保守和稳健:ESTJ在财富管理上通常表现得非常保守和稳健,他们倾向于选择安全可靠的投资方式,如储蓄、房地产或蓝筹股投资。他们更关注长期的财务稳定性,而不是短期的高风险高回报。","注重规划:他们喜欢制定详细的财务计划,并严格按照计划执行。ESTJ通常会设定明确的财务目标,如储蓄、退休计划或子女教育基金,并为实现这些目标而努力。","谨慎消费:他们在消费上非常谨慎,不喜欢冲动消费,通常会优先考虑实际需要和长远的财务安全。"]},ESFJ:{性格:["关怀和共情:ESFJ性格的人非常关心他人,富有同情心。他们能够敏锐地感知他人的情感和需求,愿意提供帮助和支持,通常在社交场合中扮演着协调和照顾他人的角色。","外向和社交性强:他们是社交的中心,喜欢与人互动,享受与朋友、家人和同事的交流。ESFJ善于建立并维持广泛的人际网络,并在与他人的关系中感到满足。","传统和责任感:ESFJ尊重传统和社会规范,注重履行自己的责任和义务。他们喜欢维持秩序和稳定,通常会遵循既定的规则和程序。","注重和谐和团队合作:他们重视和谐的人际关系,喜欢在团队中合作。ESFJ倾向于避免冲突,努力通过沟通和妥协来维持和平与合作。","实际和现实导向:ESFJ注重现实,喜欢基于具体事实和实际情况做出决策。他们更倾向于务实地解决问题,而不是沉迷于理论或抽象的想法。"],工作:["出色的团队成员:ESFJ在团队中表现出色,他们善于合作,能够调动团队成员的积极性,并通过协调和支持他人来推动团队目标的实现。","擅长组织和管理:他们有很强的组织能力,喜欢规划和安排工作,并确保所有任务都按时完成。ESFJ在需要关注细节和维护秩序的工作中表现尤为出色,如行政管理、教育、护理等领域。","重视人际关系:他们在工作中非常重视与同事、客户和上级的关系,努力通过良好的沟通和合作来创造一个和谐的工作环境。","责任心强:ESFJ非常注重责任感,喜欢按照既定的计划和程序完成任务,通常在工作中表现得非常可靠和有条理。"],生活:["注重家庭和社交生活:ESFJ非常重视家庭和朋友,他们喜欢花时间与亲人和朋友相处,参与各种社交活动和家庭聚会。他们通常是家庭和社交圈中的核心人物,负责协调和组织各种活动。","护传统和秩序:他们倾向于维护家庭和社会中的传统,喜欢遵循常规,确保生活中的秩序和稳定。他们通常会努力维持一个和谐、有序的家庭环境。","关注他人需求:ESFJ喜欢为他人提供帮助和支持,常常通过实际行动表达对他人的关心,如为家人和朋友准备食物、组织活动或提供情感支持。"],情感:["忠诚和关怀的伴侣:在情感关系中,ESFJ是非常忠诚和关怀的伴侣,他们愿意为伴侣付出,关注伴侣的需求和感受,并努力通过实际行动表达爱意。","注重关系的和谐:他们非常重视关系中的和谐,倾向于通过沟通和妥协来解决冲突。他们希望伴侣能够理解并分享他们的价值观和生活方式。","表达爱意:ESFJ喜欢通过具体的行为来表达对伴侣的关心,如照顾对方的日常生活、安排浪漫的约会或提供情感上的支持。"],社交:["社交能力强:ESFJ在社交场合中表现得非常自然和自信,他们喜欢结交新朋友,并且擅长维持长期的友谊。他们通常会主动联系朋友和家人,并通过社交活动维系关系。","支持和鼓励他人:他们是非常好的朋友和同事,善于倾听并提供帮助。ESFJ常常扮演倾听者和支持者的角色,能够在他人需要时提供实际的建议和情感支持。","维护团队和谐:在团队和群体中,ESFJ努力通过协调和沟通来维持和谐的关系,避免冲突,确保每个人都感到被尊重和重视。"],财富:["谨慎和有条理:ESFJ在财富管理上通常表现得非常谨慎和有条理,他们喜欢制定详细的财务计划,并确保按计划进行储蓄和投资。","重视安全和稳定:他们倾向于选择安全且稳定的投资方式,如储蓄、保险和低风险投资。ESFJ更注重长期的财务安全,而不是短期的高回报。","为家庭做规划:他们通常会为家庭的未来做出详细的财务规划,如子女教育基金、退休储蓄和家庭保险。他们希望确保家庭成员的财务安全和生活稳定。"]},ENFJ:{性格:["充满同理心和关怀:ENFJ性格的人非常关注他人的情感和需求,具备强大的同理心和关怀。他们善于理解和感受他人的情绪,并愿意通过实际行动提供帮助和支持。","天生的领导能力:ENFJ天生具备领导才能,他们喜欢激励和引导他人,通常能够通过鼓励和支持他人来实现共同目标。他们在团队中通常担任领导者的角色,擅长调动集体的力量。","社交性强和外向:他们非常外向,喜欢与人互动,并通过社交和合作获得能量。ENFJ在社交场合中表现得非常自信,能够轻松与他人建立联系,并且非常擅长处理人际关系。","理想主义和价值驱动:他们是理想主义者,常常追求更美好的世界和社会。他们的行动通常受到内在价值观的驱动,努力实现自己和他人心中的理想。","有条理和规划性:ENFJ喜欢制定计划,并按计划行事。他们在生活和工作中都注重结构和秩序,喜欢通过组织和安排来确保一切顺利进行。"],工作:["卓越的领导者:ENFJ在团队中常常担任领导角色,他们通过鼓励和支持他人,激发团队成员的潜力,并带领团队实现共同目标。他们擅长激励他人,帮助团队成员发现并发挥他们的长处。","出色的沟通者:他们具备出色的沟通能力,能够清晰地表达自己的想法,并善于倾听他人的意见。ENFJ在需要协调和管理人际关系的工作中表现得尤为出色,如教育、公共关系、社工等领域。","注重团队合作:他们非常重视团队合作,喜欢在协作中实现目标。ENFJ通常会通过组织和协调来确保团队的每一个成员都能积极参与并贡献力量。","使命感强:ENFJ倾向于选择与他们的价值观一致的职业,喜欢从事能够对社会产生积极影响的工作,如教育、心理咨询、非营利组织等。"],生活:["积极参与社区和家庭生活:ENFJ在生活中非常重视社区和家庭,他们喜欢参与家庭和社区活动,通常在这些环境中担任领导或协调的角色。他们努力通过自己的行动来改善周围的环境和关系。","注重关系和和谐:他们在生活中非常重视与他人的关系,努力维护和谐和互相支持的环境。ENFJ喜欢通过与他人互动来增进感情,并确保每个人都感到被重视和理解。","规划性强:他们倾向于将生活安排得井井有条,喜欢制定短期和长期的计划,并努力按计划行事。ENFJ注重生活的有序性和稳定性,喜欢通过规划来实现个人和家庭的目标。"],情感:["深情和关怀:在情感关系中,ENFJ是非常深情和关怀的伴侣,他们关注伴侣的情感需求,并愿意为对方付出。他们通过实际行动和情感支持来表达爱意,努力维护关系中的和谐与稳定。","忠诚和可靠:他们对伴侣非常忠诚,并注重在关系中履行承诺。ENFJ通常会通过细致的关注和关心来维持关系,并确保伴侣感到被理解和支持。","重视沟通:ENFJ非常重视情感上的沟通,他们喜欢与伴侣讨论感受和想法,以增进彼此的理解和联系。他们希望通过开放的交流来解决问题,并保持关系的健康和积极。"],社交:["社交和领导的中心:ENFJ在人际关系中常常是社交和领导的中心人物,他们通过积极的沟通和关怀来连接周围的人。他们的友好和热情使他们很容易结交朋友,并维持长期的友谊。","支持和鼓励他人:他们是非常好的朋友和同事,愿意花时间支持和鼓励他人。ENFJ常常扮演倾听者和顾问的角色,能够帮助他人找到解决问题的方法,并给予他们情感上的支持。","促进和谐的关系:他们在团队和群体中努力通过协调和沟通来促进和谐的关系,避免冲突,确保每个人都感到被尊重和重视。"],财富:["责任感和规划性:ENFJ在财富管理上通常表现得非常有责任感和规划性,他们喜欢制定详细的财务计划,并努力按计划进行储蓄和投资。","关注长期目标:他们倾向于选择能够支持他们长期目标的投资方式,如退休储蓄、子女教育基金等。ENFJ通常会为家庭的未来做出详细的财务规划,以确保家庭的财务安全和稳定。","愿意分享:他们重视人际关系,愿意为他人花费金钱,如帮助朋友、支持家人或捐助慈善机构。ENFJ倾向于将财富视为实现个人和社会目标的工具,而不仅仅是积累财富本身。"]},ENTJ:{性格:["领导力和决断力:ENTJ天生具备强大的领导能力,他们喜欢掌控局面,擅长制定战略计划并带领团队执行。他们能够迅速做出决策,并且通常非常自信且果断。","目标导向和结果驱动:他们高度目标导向,注重结果和效率。ENTJ倾向于设定远大的目标,并全力以赴地追求这些目标,不断寻求进步和成功。","战略性思维:ENTJ具有出色的战略性思维,能够从全局的角度分析问题,并制定长远的计划。他们擅长在复杂的环境中发现机会,并利用这些机会实现自己的愿景。","外向和自信:他们非常外向,自信且充满活力。ENTJ喜欢与人互动,并通过交流和合作获得能量。他们通常在社交场合中表现得非常自信,能够轻松影响他人。","逻辑性和理性:ENTJ在处理问题时倾向于依赖逻辑和理性分析,他们注重事实和数据,能够迅速识别问题的核心并提出有效的解决方案。"],工作:["卓越的领导者:ENTJ在工作中常常担任领导角色,他们擅长制定战略目标,并带领团队实现这些目标。ENTJ喜欢挑战高难度的任务,并通过激励和指导团队成员来推动项目向前发展。","高效的管理者:他们在管理上非常高效,能够有效地分配资源和任务,确保工作能够按时完成并达到预期的质量标准。ENTJ在需要决策和执行的工作环境中表现得尤为出色,如企业管理、项目管理、战略规划等领域。","追求卓越和创新:ENTJ不断寻求改进和创新,他们喜欢通过引入新技术、新理念来推动组织的进步。ENTJ在面对复杂和快速变化的环境时表现得尤为出色,能够迅速调整策略并采取行动。","强大的执行力:他们注重实际行动,喜欢将想法付诸实践。ENTJ通常不会拖延,喜欢立即着手执行计划,并通过高效的行动达成目标。"],生活:["有条理和规划性强:ENTJ在生活中倾向于制定详细的计划,并按计划行事。他们注重生活的结构和秩序,喜欢通过组织和安排来确保一切顺利进行。","积极参与和领导活动:他们喜欢参与并领导各种活动,无论是在家庭、社交圈还是社区中,ENTJ通常会担任领导或组织者的角色,推动活动的进展。","追求个人成长:ENTJ注重个人成长和发展,他们会不断寻求新的学习机会和挑战,努力提升自己的能力和知识,以实现更高的成就。"],情感:["坚定和可靠的伴侣:在情感关系中,ENTJ是非常坚定和可靠的伴侣,他们注重承诺和责任,并愿意为关系付出。他们通常会通过实际行动来表达对伴侣的关心和支持。","直接的沟通风格:ENTJ在情感上非常直接,他们喜欢开诚布公地讨论问题和需求,倾向于通过理性和逻辑来解决关系中的冲突。","期望高标准:他们对情感关系有较高的期望,期望伴侣能够与他们在智力、目标和价值观上匹配。他们希望与伴侣共同成长,并一起追求共同的目标。"],社交:["领导和影响力:ENTJ在人际关系中通常是领导者和影响者,他们通过自信和决断力来影响他人,并推动集体向前发展。ENTJ能够通过强有力的沟通和行动来引导他人,激励团队实现目标。","广泛的社交网络:他们通常拥有广泛的社交网络,能够轻松结交新朋友,并在社交圈中保持活跃。ENTJ喜欢与志同道合的人互动,并通过社交活动拓展自己的人际圈。","直率和诚实:ENTJ在与他人沟通时非常直率和诚实,他们不喜欢拐弯抹角,更倾向于直接表达自己的观点和期望。他们希望他人也能如此,以便更有效地沟通和合作。"],财富:["战略性理财:ENTJ在财富管理上表现得非常战略性,他们喜欢制定长期的财务计划,并通过高效的投资和管理来实现财务目标。ENTJ倾向于选择能够提供长期收益和增长潜力的投资方式,如房地产、股票市场等。","注重积累和增长:他们注重财富的积累和增长,喜欢通过精明的理财和投资来增加自己的财富。他们通常会研究市场趋势,并利用这些趋势来优化自己的投资组合。","高风险高回报:ENTJ可能会选择高风险高回报的投资方式,但通常会经过详细的分析和规划,以确保风险在可控范围内。他们愿意冒险,但会在充分准备的基础上做出决策。"]}}})(Ft||(Ft={}));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=Ft.config_gaoneng_score[u.guanxi][u.shi_shen1][u.shi_shen2]),c}function r(u){let c=Ft.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(Ft.config_gaoneng_lushen_score[h.guanxi]!=null){g=Ft.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+")("+Ft.nameOfZhu[_.wei_zhi1]+"+"+Ft.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 E=c.getValue(T,v);E+=S,c.setValue(T,E,v),c.addDetail(T,C,v);let A=c.getValue(z,v);A+=S,c.setValue(z,A,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+")("+Ft.nameOfZhu[b.wei_zhi1]+"+"+Ft.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 E=c.getValue(T,v);E+=x,c.setValue(T,E,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 Ft.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(Ft.tianganAry,f,d)}function s(f,d,h){for(let v=0;v<d.length;v++)F.fixGaoNengByZhu(f,d[v],h[v],null)}function u(f,d,h){let v=F.bazi.value.shishen_guanxi.get("禄神")[0],p=F.bazi.value.shishen_guanxi.get("半禄"),g=new Map;return t.forEach(function(m){let b=new f6e,_=c(m,m,Ft.weizhi_ri_gan),w=c(f.gan_text,m,Ft.weizhi_liunian_gan),x=c(f.zhi_text,m,Ft.weizhi_liunian_zhi),S=c(d.gan_text,m,Ft.weizhi_liuyue_gan),C=c(d.zhi_text,m,Ft.weizhi_liuyue_zhi),T=c(h.gan_text,m,Ft.weizhi_liuri_gan),z=c(h.zhi_text,m,Ft.weizhi_liuri_zhi),E=[9,11,13,15,17,19,21],A=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]),E.forEach(function($){let N=D+" "+$.toString()+"点",R=a($),O=l(A,R),B=i($),V=c(O,m,Ft.weizhi_liushi_gan),P=c(B,m,Ft.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,N,1,$,[]),Ca.calcSiZhuScore(P,b,v,p,N,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=Ft.config_wuxing[f],v.shi_shen=Ft.config_shishen[d][f],v.wei_zhi=h,v.gaonengs=[],v}})(R2||(R2={}));const LZ='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',PZ=e=>getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,HT=e=>Array.from(e.querySelectorAll(LZ)).filter(t=>RZ(t)&&PZ(t)),RZ=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}},D0=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},cN=e=>!e.getAttribute("aria-owns"),fN=(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},L0=e=>{e&&(e.focus(),!cN(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)},jT=e=>t=>t.pointerType==="mouse"?e(t):void 0;var NZ=Object.defineProperty,OZ=Object.defineProperties,$Z=Object.getOwnPropertyDescriptors,qT=Object.getOwnPropertySymbols,VZ=Object.prototype.hasOwnProperty,BZ=Object.prototype.propertyIsEnumerable,GT=(e,t,n)=>t in e?NZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,FZ=(e,t)=>{for(var n in t||(t={}))VZ.call(t,n)&>(e,n,t[n]);if(qT)for(var n of qT(t))BZ.call(t,n)&>(e,n,t[n]);return e},HZ=(e,t)=>OZ(e,$Z(t));function WT(e,t){var n;const r=xn();return Nr(()=>{r.value=e()},HZ(FZ({},t),{flush:(n=void 0)!=null?n:"sync"})),Wd(r)}var UT;const Wt=typeof window<"u",jZ=e=>typeof e<"u",c4=e=>typeof e=="function",qZ=e=>typeof e=="string",bd=()=>{},GZ=Wt&&((UT=window==null?void 0:window.navigator)==null?void 0:UT.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Vs(e){return typeof e=="function"?e():y(e)}function dN(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 WZ(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 UZ(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 YZ(e){return e}function KZ(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=FY((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 up(e){return FP()?(HP(e),!0):!1}function XZ(e,t=200,n={}){return dN(WZ(t,n),e)}function ZZ(e,t=200,n={}){const r=j(e.value),a=XZ(()=>{r.value=e.value},t,n);return ke(e,()=>a()),r}function hN(e,t=200,n=!1,r=!0,a=!1){return dN(UZ(t,n,r,a),e)}function $5(e,t=!0){xt()?bt(e):t?e():nt(e)}function Ec(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()),up(l),{isPending:Wd(a),start:s,stop:l}}function Ea(e){var t;const n=Vs(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ru=Wt?window:void 0,JZ=Wt?window.document:void 0;function Sn(...e){let t,n,r,a;if(qZ(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(()=>[Ea(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 up(u),u}let YT=!1;function V5(e,t,n={}){const{window:r=ru,ignore:a=[],capture:i=!0,detectIframe:o=!1}=n;if(!r)return;GZ&&!YT&&(YT=!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=Ea(h);return v&&(d.target===v||d.composedPath().includes(v))}}),c=[Sn(r,"click",d=>{const h=Ea(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=Ea(e);h&&(l=!d.composedPath().includes(h)&&!s(d))},{passive:!0}),o&&Sn(r,"blur",d=>{var h;const v=Ea(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 QZ(e={}){var t;const{window:n=ru}=e,r=(t=e.document)!=null?t:n==null?void 0:n.document,a=KZ(()=>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 vN(e,t=!1){const n=j(),r=()=>n.value=!!e();return r(),$5(r,t),n}function eJ(e){return JSON.parse(JSON.stringify(e))}const KT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},XT="__vueuse_ssr_handlers__";KT[XT]=KT[XT]||{};function tJ(e,t,{window:n=ru,initialValue:r=""}={}){const a=j(r),i=L(()=>{var o;return Ea(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 nJ({document:e=JZ}={}){if(!e)return j("visible");const t=j(e.visibilityState);return Sn(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var ZT=Object.getOwnPropertySymbols,rJ=Object.prototype.hasOwnProperty,aJ=Object.prototype.propertyIsEnumerable,iJ=(e,t)=>{var n={};for(var r in e)rJ.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ZT)for(var r of ZT(e))t.indexOf(r)<0&&aJ.call(e,r)&&(n[r]=e[r]);return n};function Pn(e,t,n={}){const r=n,{window:a=ru}=r,i=iJ(r,["window"]);let o;const l=vN(()=>a&&"ResizeObserver"in a),s=()=>{o&&(o.disconnect(),o=void 0)},u=ke(()=>Ea(e),f=>{s(),l.value&&a&&f&&(o=new ResizeObserver(t),o.observe(f,i))},{immediate:!0,flush:"post"}),c=()=>{s(),u()};return up(c),{isSupported:l,stop:c}}function JT(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=Ea(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(()=>Ea(e),p=>!p&&v()),a&&Sn("scroll",v,{capture:!0,passive:!0}),r&&Sn("resize",v,{passive:!0}),$5(()=>{i&&v()}),{height:o,bottom:l,left:s,right:u,top:c,width:f,x:d,y:h,update:v}}var QT=Object.getOwnPropertySymbols,oJ=Object.prototype.hasOwnProperty,lJ=Object.prototype.propertyIsEnumerable,sJ=(e,t)=>{var n={};for(var r in e)oJ.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&QT)for(var r of QT(e))t.indexOf(r)<0&&lJ.call(e,r)&&(n[r]=e[r]);return n};function pN(e,t,n={}){const r=n,{window:a=ru}=r,i=sJ(r,["window"]);let o;const l=vN(()=>a&&"MutationObserver"in a),s=()=>{o&&(o.disconnect(),o=void 0)},u=ke(()=>Ea(e),f=>{s(),l.value&&a&&f&&(o=new MutationObserver(t),o.observe(f,i))},{immediate:!0}),c=()=>{s(),u()};return up(c),{isSupported:l,stop:c}}var e7;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(e7||(e7={}));var uJ=Object.defineProperty,t7=Object.getOwnPropertySymbols,cJ=Object.prototype.hasOwnProperty,fJ=Object.prototype.propertyIsEnumerable,n7=(e,t,n)=>t in e?uJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dJ=(e,t)=>{for(var n in t||(t={}))cJ.call(t,n)&&n7(e,n,t[n]);if(t7)for(var n of t7(t))fJ.call(t,n)&&n7(e,n,t[n]);return e};const hJ={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]};dJ({linear:YZ},hJ);function gN(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):eJ(m):m,g=()=>jZ(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 vJ({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 pJ(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(),$5(s),Sn("resize",s,{passive:!0}),a&&Sn("orientationchange",s,{passive:!0}),{width:o,height:l}}const mN=()=>Wt&&/firefox/i.test(window.navigator.userAgent),gJ=(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},r7=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t},f4=(e,t)=>Math.abs(r7(e)-r7(t)),B5=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 mJ(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 yN=typeof global=="object"&&global&&global.Object===Object&&global,yJ=typeof self=="object"&&self&&self.Object===Object&&self,to=yN||yJ||Function("return this")(),Si=to.Symbol,bN=Object.prototype,bJ=bN.hasOwnProperty,_J=bN.toString,kh=Si?Si.toStringTag:void 0;function wJ(e){var t=bJ.call(e,kh),n=e[kh];try{e[kh]=void 0;var r=!0}catch{}var a=_J.call(e);return r&&(t?e[kh]=n:delete e[kh]),a}var xJ=Object.prototype,SJ=xJ.toString;function CJ(e){return SJ.call(e)}var TJ="[object Null]",kJ="[object Undefined]",a7=Si?Si.toStringTag:void 0;function Gc(e){return e==null?e===void 0?kJ:TJ:a7&&a7 in Object(e)?wJ(e):CJ(e)}function Do(e){return e!=null&&typeof e=="object"}var zJ="[object Symbol]";function hy(e){return typeof e=="symbol"||Do(e)&&Gc(e)==zJ}function F5(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,MJ=1/0,i7=Si?Si.prototype:void 0,o7=i7?i7.toString:void 0;function _N(e){if(typeof e=="string")return e;if(fa(e))return F5(e,_N)+"";if(hy(e))return o7?o7.call(e):"";var t=e+"";return t=="0"&&1/e==-MJ?"-0":t}var EJ=/\s/;function AJ(e){for(var t=e.length;t--&&EJ.test(e.charAt(t)););return t}var IJ=/^\s+/;function DJ(e){return e&&e.slice(0,AJ(e)+1).replace(IJ,"")}function da(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var l7=NaN,LJ=/^[-+]0x[0-9a-f]+$/i,PJ=/^0b[01]+$/i,RJ=/^0o[0-7]+$/i,NJ=parseInt;function s7(e){if(typeof e=="number")return e;if(hy(e))return l7;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=DJ(e);var n=PJ.test(e);return n||RJ.test(e)?NJ(e.slice(2),n?2:8):LJ.test(e)?l7:+e}function H5(e){return e}var OJ="[object AsyncFunction]",$J="[object Function]",VJ="[object GeneratorFunction]",BJ="[object Proxy]";function j5(e){if(!da(e))return!1;var t=Gc(e);return t==$J||t==VJ||t==OJ||t==BJ}var Y3=to["__core-js_shared__"],u7=function(){var e=/[^.]+$/.exec(Y3&&Y3.keys&&Y3.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function FJ(e){return!!u7&&u7 in e}var HJ=Function.prototype,jJ=HJ.toString;function Wc(e){if(e!=null){try{return jJ.call(e)}catch{}try{return e+""}catch{}}return""}var qJ=/[\\^$.*+?()[\]{}|]/g,GJ=/^\[object .+?Constructor\]$/,WJ=Function.prototype,UJ=Object.prototype,YJ=WJ.toString,KJ=UJ.hasOwnProperty,XJ=RegExp("^"+YJ.call(KJ).replace(qJ,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ZJ(e){if(!da(e)||FJ(e))return!1;var t=j5(e)?XJ:GJ;return t.test(Wc(e))}function JJ(e,t){return e==null?void 0:e[t]}function Uc(e,t){var n=JJ(e,t);return ZJ(n)?n:void 0}var d4=Uc(to,"WeakMap"),c7=Object.create,QJ=function(){function e(){}return function(t){if(!da(t))return{};if(c7)return c7(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function eQ(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 tQ(){}function wN(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var nQ=800,rQ=16,aQ=Date.now;function iQ(e){var t=0,n=0;return function(){var r=aQ(),a=rQ-(r-n);if(n=r,a>0){if(++t>=nQ)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function oQ(e){return function(){return e}}var N2=function(){try{var e=Uc(Object,"defineProperty");return e({},"",{}),e}catch{}}(),lQ=N2?function(e,t){return N2(e,"toString",{configurable:!0,enumerable:!1,value:oQ(t),writable:!0})}:H5,xN=iQ(lQ);function sQ(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function SN(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 uQ(e){return e!==e}function cQ(e,t,n){for(var r=n-1,a=e.length;++r<a;)if(e[r]===t)return r;return-1}function fQ(e,t,n){return t===t?cQ(e,t,n):SN(e,uQ,n)}function dQ(e,t){var n=e==null?0:e.length;return!!n&&fQ(e,t,0)>-1}var hQ=9007199254740991,vQ=/^(?:0|[1-9]\d*)$/;function vy(e,t){var n=typeof e;return t=t??hQ,!!t&&(n=="number"||n!="symbol"&&vQ.test(e))&&e>-1&&e%1==0&&e<t}function q5(e,t,n){t=="__proto__"&&N2?N2(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function cp(e,t){return e===t||e!==e&&t!==t}var pQ=Object.prototype,gQ=pQ.hasOwnProperty;function G5(e,t,n){var r=e[t];(!(gQ.call(e,t)&&cp(r,n))||n===void 0&&!(t in e))&&q5(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?q5(n,l,s):G5(n,l,s)}return n}var f7=Math.max;function CN(e,t,n){return t=f7(t===void 0?e.length-1:t,0),function(){for(var r=arguments,a=-1,i=f7(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),eQ(e,this,l)}}function TN(e,t){return xN(CN(e,t,H5),e+"")}var mQ=9007199254740991;function W5(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=mQ}function Xd(e){return e!=null&&W5(e.length)&&!j5(e)}function yQ(e,t,n){if(!da(n))return!1;var r=typeof t;return(r=="number"?Xd(n)&&vy(t,n.length):r=="string"&&t in n)?cp(n[t],e):!1}function bQ(e){return TN(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&&yQ(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 _Q=Object.prototype;function U5(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||_Q;return e===n}function wQ(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var xQ="[object Arguments]";function d7(e){return Do(e)&&Gc(e)==xQ}var kN=Object.prototype,SQ=kN.hasOwnProperty,CQ=kN.propertyIsEnumerable,d1=d7(function(){return arguments}())?d7:function(e){return Do(e)&&SQ.call(e,"callee")&&!CQ.call(e,"callee")};function TQ(){return!1}var zN=typeof Ha=="object"&&Ha&&!Ha.nodeType&&Ha,h7=zN&&typeof ja=="object"&&ja&&!ja.nodeType&&ja,kQ=h7&&h7.exports===zN,v7=kQ?to.Buffer:void 0,zQ=v7?v7.isBuffer:void 0,h1=zQ||TQ,MQ="[object Arguments]",EQ="[object Array]",AQ="[object Boolean]",IQ="[object Date]",DQ="[object Error]",LQ="[object Function]",PQ="[object Map]",RQ="[object Number]",NQ="[object Object]",OQ="[object RegExp]",$Q="[object Set]",VQ="[object String]",BQ="[object WeakMap]",FQ="[object ArrayBuffer]",HQ="[object DataView]",jQ="[object Float32Array]",qQ="[object Float64Array]",GQ="[object Int8Array]",WQ="[object Int16Array]",UQ="[object Int32Array]",YQ="[object Uint8Array]",KQ="[object Uint8ClampedArray]",XQ="[object Uint16Array]",ZQ="[object Uint32Array]",Gn={};Gn[jQ]=Gn[qQ]=Gn[GQ]=Gn[WQ]=Gn[UQ]=Gn[YQ]=Gn[KQ]=Gn[XQ]=Gn[ZQ]=!0;Gn[MQ]=Gn[EQ]=Gn[FQ]=Gn[AQ]=Gn[HQ]=Gn[IQ]=Gn[DQ]=Gn[LQ]=Gn[PQ]=Gn[RQ]=Gn[NQ]=Gn[OQ]=Gn[$Q]=Gn[VQ]=Gn[BQ]=!1;function JQ(e){return Do(e)&&W5(e.length)&&!!Gn[Gc(e)]}function Y5(e){return function(t){return e(t)}}var MN=typeof Ha=="object"&&Ha&&!Ha.nodeType&&Ha,Lv=MN&&typeof ja=="object"&&ja&&!ja.nodeType&&ja,QQ=Lv&&Lv.exports===MN,K3=QQ&&yN.process,_d=function(){try{var e=Lv&&Lv.require&&Lv.require("util").types;return e||K3&&K3.binding&&K3.binding("util")}catch{}}(),p7=_d&&_d.isTypedArray,K5=p7?Y5(p7):JQ,eee=Object.prototype,tee=eee.hasOwnProperty;function EN(e,t){var n=fa(e),r=!n&&d1(e),a=!n&&!r&&h1(e),i=!n&&!r&&!a&&K5(e),o=n||r||a||i,l=o?wQ(e.length,String):[],s=l.length;for(var u in e)(t||tee.call(e,u))&&!(o&&(u=="length"||a&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||vy(u,s)))&&l.push(u);return l}function AN(e,t){return function(n){return e(t(n))}}var nee=AN(Object.keys,Object),ree=Object.prototype,aee=ree.hasOwnProperty;function iee(e){if(!U5(e))return nee(e);var t=[];for(var n in Object(e))aee.call(e,n)&&n!="constructor"&&t.push(n);return t}function fp(e){return Xd(e)?EN(e):iee(e)}function oee(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var lee=Object.prototype,see=lee.hasOwnProperty;function uee(e){if(!da(e))return oee(e);var t=U5(e),n=[];for(var r in e)r=="constructor"&&(t||!see.call(e,r))||n.push(r);return n}function dp(e){return Xd(e)?EN(e,!0):uee(e)}var cee=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,fee=/^\w*$/;function X5(e,t){if(fa(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||hy(e)?!0:fee.test(e)||!cee.test(e)||t!=null&&e in Object(t)}var v1=Uc(Object,"create");function dee(){this.__data__=v1?v1(null):{},this.size=0}function hee(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var vee="__lodash_hash_undefined__",pee=Object.prototype,gee=pee.hasOwnProperty;function mee(e){var t=this.__data__;if(v1){var n=t[e];return n===vee?void 0:n}return gee.call(t,e)?t[e]:void 0}var yee=Object.prototype,bee=yee.hasOwnProperty;function _ee(e){var t=this.__data__;return v1?t[e]!==void 0:bee.call(t,e)}var wee="__lodash_hash_undefined__";function xee(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=v1&&t===void 0?wee:t,this}function Ac(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])}}Ac.prototype.clear=dee;Ac.prototype.delete=hee;Ac.prototype.get=mee;Ac.prototype.has=_ee;Ac.prototype.set=xee;function See(){this.__data__=[],this.size=0}function py(e,t){for(var n=e.length;n--;)if(cp(e[n][0],t))return n;return-1}var Cee=Array.prototype,Tee=Cee.splice;function kee(e){var t=this.__data__,n=py(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Tee.call(t,n,1),--this.size,!0}function zee(e){var t=this.__data__,n=py(t,e);return n<0?void 0:t[n][1]}function Mee(e){return py(this.__data__,e)>-1}function Eee(e,t){var n=this.__data__,r=py(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=See;Pl.prototype.delete=kee;Pl.prototype.get=zee;Pl.prototype.has=Mee;Pl.prototype.set=Eee;var p1=Uc(to,"Map");function Aee(){this.size=0,this.__data__={hash:new Ac,map:new(p1||Pl),string:new Ac}}function Iee(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function gy(e,t){var n=e.__data__;return Iee(t)?n[typeof t=="string"?"string":"hash"]:n.map}function Dee(e){var t=gy(this,e).delete(e);return this.size-=t?1:0,t}function Lee(e){return gy(this,e).get(e)}function Pee(e){return gy(this,e).has(e)}function Ree(e,t){var n=gy(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=Aee;Rl.prototype.delete=Dee;Rl.prototype.get=Lee;Rl.prototype.has=Pee;Rl.prototype.set=Ree;var Nee="Expected a function";function my(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Nee);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(my.Cache||Rl),n}my.Cache=Rl;var Oee=500;function $ee(e){var t=my(e,function(r){return n.size===Oee&&n.clear(),r}),n=t.cache;return t}var Vee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bee=/\\(\\)?/g,Fee=$ee(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Vee,function(n,r,a,i){t.push(a?i.replace(Bee,"$1"):r||n)}),t});function Hee(e){return e==null?"":_N(e)}function Zd(e,t){return fa(e)?e:X5(e,t)?[e]:Fee(Hee(e))}var jee=1/0;function Jd(e){if(typeof e=="string"||hy(e))return e;var t=e+"";return t=="0"&&1/e==-jee?"-0":t}function yy(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 Un(e,t,n){var r=e==null?void 0:yy(e,t);return r===void 0?n:r}function Z5(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}var g7=Si?Si.isConcatSpreadable:void 0;function qee(e){return fa(e)||d1(e)||!!(g7&&e&&e[g7])}function hp(e,t,n,r,a){var i=-1,o=e.length;for(n||(n=qee),a||(a=[]);++i<o;){var l=e[i];t>0&&n(l)?t>1?hp(l,t-1,n,r,a):Z5(a,l):r||(a[a.length]=l)}return a}function IN(e){var t=e==null?0:e.length;return t?hp(e,1):[]}function DN(e){return xN(CN(e,void 0,IN),e+"")}var J5=AN(Object.getPrototypeOf,Object),Gee="[object Object]",Wee=Function.prototype,Uee=Object.prototype,LN=Wee.toString,Yee=Uee.hasOwnProperty,Kee=LN.call(Object);function PN(e){if(!Do(e)||Gc(e)!=Gee)return!1;var t=J5(e);if(t===null)return!0;var n=Yee.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&LN.call(n)==Kee}function Xee(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 Zee(){this.__data__=new Pl,this.size=0}function Jee(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Qee(e){return this.__data__.get(e)}function ete(e){return this.__data__.has(e)}var tte=200;function nte(e,t){var n=this.__data__;if(n instanceof Pl){var r=n.__data__;if(!p1||r.length<tte-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 Ui(e){var t=this.__data__=new Pl(e);this.size=t.size}Ui.prototype.clear=Zee;Ui.prototype.delete=Jee;Ui.prototype.get=Qee;Ui.prototype.has=ete;Ui.prototype.set=nte;function rte(e,t){return e&&Kd(t,fp(t),e)}function ate(e,t){return e&&Kd(t,dp(t),e)}var RN=typeof Ha=="object"&&Ha&&!Ha.nodeType&&Ha,m7=RN&&typeof ja=="object"&&ja&&!ja.nodeType&&ja,ite=m7&&m7.exports===RN,y7=ite?to.Buffer:void 0,b7=y7?y7.allocUnsafe:void 0;function NN(e,t){if(t)return e.slice();var n=e.length,r=b7?b7(n):new e.constructor(n);return e.copy(r),r}function ote(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 ON(){return[]}var lte=Object.prototype,ste=lte.propertyIsEnumerable,_7=Object.getOwnPropertySymbols,Q5=_7?function(e){return e==null?[]:(e=Object(e),ote(_7(e),function(t){return ste.call(e,t)}))}:ON;function ute(e,t){return Kd(e,Q5(e),t)}var cte=Object.getOwnPropertySymbols,$N=cte?function(e){for(var t=[];e;)Z5(t,Q5(e)),e=J5(e);return t}:ON;function fte(e,t){return Kd(e,$N(e),t)}function VN(e,t,n){var r=t(e);return fa(e)?r:Z5(r,n(e))}function h4(e){return VN(e,fp,Q5)}function BN(e){return VN(e,dp,$N)}var v4=Uc(to,"DataView"),p4=Uc(to,"Promise"),ed=Uc(to,"Set"),w7="[object Map]",dte="[object Object]",x7="[object Promise]",S7="[object Set]",C7="[object WeakMap]",T7="[object DataView]",hte=Wc(v4),vte=Wc(p1),pte=Wc(p4),gte=Wc(ed),mte=Wc(d4),Fi=Gc;(v4&&Fi(new v4(new ArrayBuffer(1)))!=T7||p1&&Fi(new p1)!=w7||p4&&Fi(p4.resolve())!=x7||ed&&Fi(new ed)!=S7||d4&&Fi(new d4)!=C7)&&(Fi=function(e){var t=Gc(e),n=t==dte?e.constructor:void 0,r=n?Wc(n):"";if(r)switch(r){case hte:return T7;case vte:return w7;case pte:return x7;case gte:return S7;case mte:return C7}return t});var yte=Object.prototype,bte=yte.hasOwnProperty;function _te(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&bte.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var O2=to.Uint8Array;function eS(e){var t=new e.constructor(e.byteLength);return new O2(t).set(new O2(e)),t}function wte(e,t){var n=t?eS(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var xte=/\w*$/;function Ste(e){var t=new e.constructor(e.source,xte.exec(e));return t.lastIndex=e.lastIndex,t}var k7=Si?Si.prototype:void 0,z7=k7?k7.valueOf:void 0;function Cte(e){return z7?Object(z7.call(e)):{}}function FN(e,t){var n=t?eS(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Tte="[object Boolean]",kte="[object Date]",zte="[object Map]",Mte="[object Number]",Ete="[object RegExp]",Ate="[object Set]",Ite="[object String]",Dte="[object Symbol]",Lte="[object ArrayBuffer]",Pte="[object DataView]",Rte="[object Float32Array]",Nte="[object Float64Array]",Ote="[object Int8Array]",$te="[object Int16Array]",Vte="[object Int32Array]",Bte="[object Uint8Array]",Fte="[object Uint8ClampedArray]",Hte="[object Uint16Array]",jte="[object Uint32Array]";function qte(e,t,n){var r=e.constructor;switch(t){case Lte:return eS(e);case Tte:case kte:return new r(+e);case Pte:return wte(e,n);case Rte:case Nte:case Ote:case $te:case Vte:case Bte:case Fte:case Hte:case jte:return FN(e,n);case zte:return new r;case Mte:case Ite:return new r(e);case Ete:return Ste(e);case Ate:return new r;case Dte:return Cte(e)}}function HN(e){return typeof e.constructor=="function"&&!U5(e)?QJ(J5(e)):{}}var Gte="[object Map]";function Wte(e){return Do(e)&&Fi(e)==Gte}var M7=_d&&_d.isMap,Ute=M7?Y5(M7):Wte,Yte="[object Set]";function Kte(e){return Do(e)&&Fi(e)==Yte}var E7=_d&&_d.isSet,Xte=E7?Y5(E7):Kte,Zte=1,Jte=2,Qte=4,jN="[object Arguments]",ene="[object Array]",tne="[object Boolean]",nne="[object Date]",rne="[object Error]",qN="[object Function]",ane="[object GeneratorFunction]",ine="[object Map]",one="[object Number]",GN="[object Object]",lne="[object RegExp]",sne="[object Set]",une="[object String]",cne="[object Symbol]",fne="[object WeakMap]",dne="[object ArrayBuffer]",hne="[object DataView]",vne="[object Float32Array]",pne="[object Float64Array]",gne="[object Int8Array]",mne="[object Int16Array]",yne="[object Int32Array]",bne="[object Uint8Array]",_ne="[object Uint8ClampedArray]",wne="[object Uint16Array]",xne="[object Uint32Array]",Vn={};Vn[jN]=Vn[ene]=Vn[dne]=Vn[hne]=Vn[tne]=Vn[nne]=Vn[vne]=Vn[pne]=Vn[gne]=Vn[mne]=Vn[yne]=Vn[ine]=Vn[one]=Vn[GN]=Vn[lne]=Vn[sne]=Vn[une]=Vn[cne]=Vn[bne]=Vn[_ne]=Vn[wne]=Vn[xne]=!0;Vn[rne]=Vn[qN]=Vn[fne]=!1;function td(e,t,n,r,a,i){var o,l=t&Zte,s=t&Jte,u=t&Qte;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=_te(e),!l)return wN(e,o)}else{var f=Fi(e),d=f==qN||f==ane;if(h1(e))return NN(e,l);if(f==GN||f==jN||d&&!a){if(o=s||d?{}:HN(e),!l)return s?fte(e,ate(o,e)):ute(e,rte(o,e))}else{if(!Vn[f])return a?e:{};o=qte(e,f,l)}}i||(i=new Ui);var h=i.get(e);if(h)return h;i.set(e,o),Xte(e)?e.forEach(function(g){o.add(td(g,t,n,g,e,i))}):Ute(e)&&e.forEach(function(g,m){o.set(m,td(g,t,n,m,e,i))});var v=u?s?BN:h4:s?dp:fp,p=c?void 0:v(e);return sQ(p||e,function(g,m){p&&(m=g,g=e[m]),G5(o,m,td(g,t,n,m,e,i))}),o}var Sne=4;function A7(e){return td(e,Sne)}var Cne=1,Tne=4;function $2(e){return td(e,Cne|Tne)}var kne="__lodash_hash_undefined__";function zne(e){return this.__data__.set(e,kne),this}function Mne(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=zne;g1.prototype.has=Mne;function Ene(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 WN(e,t){return e.has(t)}var Ane=1,Ine=2;function UN(e,t,n,r,a,i){var o=n&Ane,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&Ine?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(!Ene(t,function(m,b){if(!WN(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 Dne(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}function tS(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Lne=1,Pne=2,Rne="[object Boolean]",Nne="[object Date]",One="[object Error]",$ne="[object Map]",Vne="[object Number]",Bne="[object RegExp]",Fne="[object Set]",Hne="[object String]",jne="[object Symbol]",qne="[object ArrayBuffer]",Gne="[object DataView]",I7=Si?Si.prototype:void 0,X3=I7?I7.valueOf:void 0;function Wne(e,t,n,r,a,i,o){switch(n){case Gne:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case qne:return!(e.byteLength!=t.byteLength||!i(new O2(e),new O2(t)));case Rne:case Nne:case Vne:return cp(+e,+t);case One:return e.name==t.name&&e.message==t.message;case Bne:case Hne:return e==t+"";case $ne:var l=Dne;case Fne:var s=r&Lne;if(l||(l=tS),e.size!=t.size&&!s)return!1;var u=o.get(e);if(u)return u==t;r|=Pne,o.set(e,t);var c=UN(l(e),l(t),r,a,i,o);return o.delete(e),c;case jne:if(X3)return X3.call(e)==X3.call(t)}return!1}var Une=1,Yne=Object.prototype,Kne=Yne.hasOwnProperty;function Xne(e,t,n,r,a,i){var o=n&Une,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:Kne.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 Zne=1,D7="[object Arguments]",L7="[object Array]",ig="[object Object]",Jne=Object.prototype,P7=Jne.hasOwnProperty;function Qne(e,t,n,r,a,i){var o=fa(e),l=fa(t),s=o?L7:Fi(e),u=l?L7:Fi(t);s=s==D7?ig:s,u=u==D7?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 Ui),o||K5(e)?UN(e,t,n,r,a,i):Wne(e,t,s,n,r,a,i);if(!(n&Zne)){var h=c&&P7.call(e,"__wrapped__"),v=f&&P7.call(t,"__wrapped__");if(h||v){var p=h?e.value():e,g=v?t.value():t;return i||(i=new Ui),a(p,g,n,r,i)}}return d?(i||(i=new Ui),Xne(e,t,n,r,a,i)):!1}function by(e,t,n,r,a){return e===t?!0:e==null||t==null||!Do(e)&&!Do(t)?e!==e&&t!==t:Qne(e,t,n,r,by,a)}var ere=1,tre=2;function nre(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 Ui,f;if(!(f===void 0?by(u,s,ere|tre,r,c):f))return!1}}return!0}function YN(e){return e===e&&!da(e)}function rre(e){for(var t=fp(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,YN(a)]}return t}function KN(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function are(e){var t=rre(e);return t.length==1&&t[0][2]?KN(t[0][0],t[0][1]):function(n){return n===e||nre(n,e,t)}}function ire(e,t){return e!=null&&t in Object(e)}function ore(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&&W5(a)&&vy(o,a)&&(fa(e)||d1(e)))}function XN(e,t){return e!=null&&ore(e,t,ire)}var lre=1,sre=2;function ure(e,t){return X5(e)&&YN(t)?KN(Jd(e),t):function(n){var r=Un(n,e);return r===void 0&&r===t?XN(n,e):by(t,r,lre|sre)}}function cre(e){return function(t){return t==null?void 0:t[e]}}function fre(e){return function(t){return yy(t,e)}}function dre(e){return X5(e)?cre(Jd(e)):fre(e)}function ZN(e){return typeof e=="function"?e:e==null?H5:typeof e=="object"?fa(e)?ure(e[0],e[1]):are(e):dre(e)}function hre(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 JN=hre();function vre(e,t){return e&&JN(e,t,fp)}function pre(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 gre=pre(vre),Z3=function(){return to.Date.now()},mre="Expected a function",yre=Math.max,bre=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(mre);t=s7(t)||0,da(n)&&(c=!!n.leading,f="maxWait"in n,i=f?yre(s7(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?bre(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&&!cp(e[t],n)||n===void 0&&!(t in e))&&q5(e,t,n)}function QN(e){return Do(e)&&Xd(e)}function m4(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function _re(e){return Kd(e,dp(e))}function wre(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&&K5(s);c=s,d||h||v?fa(l)?c=l:QN(l)?c=wN(l):h?(f=!1,c=NN(s,!0)):v?(f=!1,c=FN(s,!0)):c=[]:PN(s)||d1(s)?(c=l,d1(l)?c=_re(l):(!da(l)||j5(l))&&(c=HN(s))):f=!1}f&&(o.set(s,c),a(c,s,r,i,o),o.delete(s)),g4(e,n,c)}function eO(e,t,n,r,a){e!==t&&JN(t,function(i,o){if(a||(a=new Ui),da(i))wre(e,t,o,n,eO,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)}},dp)}function xre(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function tO(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var a=r-1;return SN(e,ZN(t),a,!0)}function Sre(e,t){var n=-1,r=Xd(e)?Array(e.length):[];return gre(e,function(a,i,o){r[++n]=t(a,i,o)}),r}function Cre(e,t){var n=fa(e)?F5:Sre;return n(e,ZN(t))}function Tre(e,t){return hp(Cre(e,t),1)}var kre=1/0;function zre(e){var t=e==null?0:e.length;return t?hp(e,kre):[]}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 Mre(e,t){return t.length<2?e:yy(e,Xee(t,0,-1))}function Yr(e,t){return by(e,t)}function br(e){return e==null}function nO(e){return e===void 0}var Ere=bQ(function(e,t,n){eO(e,t,n)});function Are(e,t){return t=Zd(t,e),e=Mre(e,t),e==null||delete e[Jd(xre(t))]}function Ire(e){return PN(e)?void 0:e}var Dre=1,Lre=2,Pre=4,Rre=DN(function(e,t){var n={};if(e==null)return n;var r=!1;t=F5(t,function(i){return i=Zd(i,e),r||(r=i.length>1),i}),Kd(e,BN(e),n),r&&(n=td(n,Dre|Lre|Pre,Ire));for(var a=t.length;a--;)Are(n,t[a]);return n});function rO(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:vy(t[a+1])?[]:{})}G5(l,s,u),l=l[s]}return e}function Nre(e,t,n){for(var r=-1,a=t.length,i={};++r<a;){var o=t[r],l=yy(e,o);n(l,o)&&rO(i,Zd(o,e),l)}return i}function Ore(e,t){return Nre(e,t,function(n,r){return XN(e,r)})}var So=DN(function(e,t){return e==null?{}:Ore(e,t)});function $re(e,t,n){return e==null?e:rO(e,t,n)}var Vre="Expected a function";function pc(e,t,n){var r=!0,a=!0;if(typeof e!="function")throw new TypeError(Vre);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 Bre=1/0,Fre=ed&&1/tS(new ed([,-0]))[1]==Bre?function(e){return new ed(e)}:tQ,Hre=200;function jre(e,t,n){var r=-1,a=dQ,i=e.length,o=!0,l=[],s=l;if(i>=Hre){var u=Fre(e);if(u)return tS(u);o=!1,a=WN,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=TN(function(e){return jre(hp(e,1,QN,!0))});const Xn=e=>e===void 0,Jn=e=>typeof e=="boolean",ot=e=>typeof e=="number",di=e=>!e&&e!==0||We(e)&&e.length===0||zt(e)&&!Object.keys(e).length,Ci=e=>typeof Element>"u"?!1:e instanceof Element,Ic=e=>br(e),qre=e=>vt(e)?!Number.isNaN(Number(e)):!1,_y=e=>e===window,Fs=e=>Wt?window.requestAnimationFrame(e):setTimeout(e,16),Dc=e=>Wt?window.cancelAnimationFrame(e):clearTimeout(e),nS=(e="")=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),_o=e=>lp(e),wd=e=>Object.keys(e),Gre=e=>Object.entries(e),P0=(e,t,n)=>({get value(){return Un(e,t,n)},set value(r){$re(e,t,r)}});class Wre extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function or(e,t){throw new Wre(`[${e}] ${t}`)}const aO=(e="")=>e.split(" ").filter(t=>!!t.trim()),bi=(e,t)=>{if(!e||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return e.classList.contains(t)},pi=(e,t)=>{!e||!t.trim()||e.classList.add(...aO(t))},Kr=(e,t)=>{!e||!t.trim()||e.classList.remove(...aO(t))},ms=(e,t)=>{var n;if(!Wt||!e||!t)return"";let r=xi(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)||qre(e))return`${e}${t}`;if(vt(e))return e}const Ure=(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))},rS=(e,t)=>{if(!Wt)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(Ure(n,t))return n;n=n.parentNode}return n};let og;const iO=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 oO(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 Yre(e,t,n,r,a){const i=Date.now();let o;const l=()=>{const u=Date.now()-i,c=mJ(u>r?r:u,t,n,r);_y(e)?e.scrollTo(window.pageXOffset,c):e.scrollTop=c,u<r?o=Fs(l):typeof a=="function"&&a()};return l(),()=>{o&&Dc(o)}}const R7=(e,t)=>_y(t)?e.ownerDocument.documentElement:t,N7=e=>_y(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 Kre=te({name:"ArrowDown",__name:"arrow-down",setup(e){return(t,n)=>(k(),H("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"})]))}}),Nl=Kre,Xre=te({name:"ArrowLeft",__name:"arrow-left",setup(e){return(t,n)=>(k(),H("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=Xre,Zre=te({name:"ArrowRight",__name:"arrow-right",setup(e){return(t,n)=>(k(),H("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=Zre,Jre=te({name:"ArrowUp",__name:"arrow-up",setup(e){return(t,n)=>(k(),H("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"})]))}}),aS=Jre,Qre=te({name:"Back",__name:"back",setup(e){return(t,n)=>(k(),H("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"})]))}}),eae=Qre,tae=te({name:"Calendar",__name:"calendar",setup(e){return(t,n)=>(k(),H("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"})]))}}),nae=tae,rae=te({name:"CaretRight",__name:"caret-right",setup(e){return(t,n)=>(k(),H("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),lO=rae,aae=te({name:"CaretTop",__name:"caret-top",setup(e){return(t,n)=>(k(),H("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[X("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),iae=aae,oae=te({name:"Check",__name:"check",setup(e){return(t,n)=>(k(),H("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"})]))}}),vp=oae,lae=te({name:"CircleCheckFilled",__name:"circle-check-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),sae=lae,uae=te({name:"CircleCheck",__name:"circle-check",setup(e){return(t,n)=>(k(),H("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"})]))}}),iS=uae,cae=te({name:"CircleCloseFilled",__name:"circle-close-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),oS=cae,fae=te({name:"CircleClose",__name:"circle-close",setup(e){return(t,n)=>(k(),H("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=fae,dae=te({name:"Clock",__name:"clock",setup(e){return(t,n)=>(k(),H("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"})]))}}),sO=dae,hae=te({name:"Close",__name:"close",setup(e){return(t,n)=>(k(),H("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"})]))}}),Zi=hae,vae=te({name:"DArrowLeft",__name:"d-arrow-left",setup(e){return(t,n)=>(k(),H("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=vae,pae=te({name:"DArrowRight",__name:"d-arrow-right",setup(e){return(t,n)=>(k(),H("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=pae,gae=te({name:"Delete",__name:"delete",setup(e){return(t,n)=>(k(),H("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"})]))}}),mae=gae,yae=te({name:"Document",__name:"document",setup(e){return(t,n)=>(k(),H("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"})]))}}),bae=yae,_ae=te({name:"FullScreen",__name:"full-screen",setup(e){return(t,n)=>(k(),H("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"})]))}}),wae=_ae,xae=te({name:"Hide",__name:"hide",setup(e){return(t,n)=>(k(),H("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"})]))}}),Sae=xae,Cae=te({name:"InfoFilled",__name:"info-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),lS=Cae,Tae=te({name:"Loading",__name:"loading",setup(e){return(t,n)=>(k(),H("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=Tae,kae=te({name:"Minus",__name:"minus",setup(e){return(t,n)=>(k(),H("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"})]))}}),zae=kae,Mae=te({name:"MoreFilled",__name:"more-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),O7=Mae,Eae=te({name:"More",__name:"more",setup(e){return(t,n)=>(k(),H("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"})]))}}),Aae=Eae,Iae=te({name:"PictureFilled",__name:"picture-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),Dae=Iae,Lae=te({name:"Plus",__name:"plus",setup(e){return(t,n)=>(k(),H("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"})]))}}),uO=Lae,Pae=te({name:"QuestionFilled",__name:"question-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),Rae=Pae,Nae=te({name:"RefreshLeft",__name:"refresh-left",setup(e){return(t,n)=>(k(),H("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"})]))}}),Oae=Nae,$ae=te({name:"RefreshRight",__name:"refresh-right",setup(e){return(t,n)=>(k(),H("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"})]))}}),Vae=$ae,Bae=te({name:"ScaleToOriginal",__name:"scale-to-original",setup(e){return(t,n)=>(k(),H("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"})]))}}),Fae=Bae,Hae=te({name:"Search",__name:"search",setup(e){return(t,n)=>(k(),H("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"})]))}}),jae=Hae,qae=te({name:"SortDown",__name:"sort-down",setup(e){return(t,n)=>(k(),H("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"})]))}}),Gae=qae,Wae=te({name:"SortUp",__name:"sort-up",setup(e){return(t,n)=>(k(),H("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"})]))}}),Uae=Wae,Yae=te({name:"StarFilled",__name:"star-filled",setup(e){return(t,n)=>(k(),H("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=Yae,Kae=te({name:"Star",__name:"star",setup(e){return(t,n)=>(k(),H("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"})]))}}),Xae=Kae,Zae=te({name:"SuccessFilled",__name:"success-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),cO=Zae,Jae=te({name:"View",__name:"view",setup(e){return(t,n)=>(k(),H("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"})]))}}),Qae=Jae,eie=te({name:"WarningFilled",__name:"warning-filled",setup(e){return(t,n)=>(k(),H("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"})]))}}),wy=eie,tie=te({name:"ZoomIn",__name:"zoom-in",setup(e){return(t,n)=>(k(),H("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"})]))}}),fO=tie,nie=te({name:"ZoomOut",__name:"zoom-out",setup(e){return(t,n)=>(k(),H("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"})]))}}),rie=nie;const dO="__epPropKey",he=e=>e,aie=e=>zt(e)&&!!e[dO],no=(e,t)=>{if(!zt(e)||aie(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(", ");WK(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${d}], got value ${JSON.stringify(u)}.`)}return c}:void 0,[dO]:!0};return Ut(e,"default")&&(s.default=a),s},Ne=e=>V2(Object.entries(e).map(([t,n])=>[t,no(n,t)])),hn=he([String,Object,Function]),sS={Close:Zi},uS={Close:Zi,SuccessFilled:cO,InfoFilled:lS,WarningFilled:wy,CircleCloseFilled:oS},js={success:cO,warning:wy,error:oS,info:lS},cS={validating:iu,success:iS,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},hO=(e,t)=>(e.install=n=>{e._context=n._context,n.config.globalProperties[t]=e},e),iie=(e,t)=>(e.install=n=>{n.directive(t,e)},e),Nn=e=>(e.install=sn,e),xy=(...e)=>t=>{e.forEach(n=>{ut(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"},oie=["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",$7=Symbol("INSTALLED_KEY"),jo=["","default","small","large"],vO=e=>["",...jo].includes(e);var oi=(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))(oi||{});function y4(e){return Dn(e)&&e.type===fe}function lie(e){return Dn(e)&&e.type===Lr}function sie(e){return Dn(e)&&!y4(e)&&!lie(e)}const uie=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[xi(a)]=t[a]}),r},cie=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},V7=e=>[...new Set(e)],$a=e=>!e&&e!==0?[]:Array.isArray(e)?e:[e],fS=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Rn=e=>e;function fie(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 die=["class","style"],hie=/^on[A-Z]/,dS=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=L(()=>((n==null?void 0:n.value)||[]).concat(die)),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&&hie.test(o))))}:()=>({}))},gr=({from:e,replacement:t,scope:n,version:r,ref:a,type:i="API"},o)=>{ke(()=>y(o),l=>{},{immediate:!0})},pO=(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=E=>{let A=f+E.clientX-u,D=d+E.clientY-c;r!=null&&r.value||(A=Math.min(Math.max(A,w),S),D=Math.min(Math.max(D,x),C)),a={offsetX:A,offsetY:D},e.value&&(e.value.style.transform=`translate(${Fn(A)}, ${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(()=>{Nr(()=>{n.value?o():l()})}),wn(()=>{l()})};var vie={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 pie=e=>(t,n)=>gie(t,n,y(e)),gie=(e,t,n)=>Un(n,e,e).replace(/\{(\w+)\}/g,(r,a)=>{var i;return`${(i=t==null?void 0:t[a])!=null?i:`{${a}}`}`}),mie=e=>{const t=L(()=>y(e).name),n=st(e)?e:j(e);return{lang:t,locale:n,t:pie(e)}},gO=Symbol("localeContextKey"),Xt=e=>{const t=e||Ye(gO,j());return mie(L(()=>t.value||vie))},Pv="el",yie="is-",hu=(e,t,n,r,a)=>{let i=`${e}-${t}`;return n&&(i+=`-${n}`),r&&(i+=`__${r}`),a&&(i+=`--${a}`),i},mO=Symbol("namespaceContextKey"),hS=e=>{const t=e||(xt()?Ye(mO,j(Pv)):j(Pv));return L(()=>y(t)||Pv)},Ae=(e,t)=>{const n=hS(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?`${yie}${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}`}},vS=(e,t={})=>{st(e)||or("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||Ae("popup"),r=L(()=>n.bm("parent","hidden"));if(!Wt||bi(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=!bi(document.body,r.value),i&&(o=document.body.style.width),a=iO(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)`),pi(document.body,r.value)}),HP(()=>l())},bie=no({type:he(Boolean),default:null}),_ie=no({type:he(Function)}),yO=e=>{const t=`update:${e}`,n=`onUpdate:${e}`,r=[t],a={[e]:bie,[n]:_ie};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(()=>ut(v[n])),g=L(()=>v[e]===null),m=C=>{o.value!==!0&&(o.value=!0,l&&(l.value=C),ut(c)&&c(C))},b=C=>{o.value!==!1&&(o.value=!1,l&&(l.value=C),ut(f)&&f(C))},_=C=>{if(v.disabled===!0||ut(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}};yO("modelValue");const bO=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 Aa="top",Ti="bottom",ki="right",Ia="left",pS="auto",pp=[Aa,Ti,ki,Ia],Cd="start",m1="end",wie="clippingParents",_O="viewport",zh="popper",xie="reference",B7=pp.reduce(function(e,t){return e.concat([t+"-"+Cd,t+"-"+m1])},[]),Yc=[].concat(pp,[pS]).reduce(function(e,t){return e.concat([t,t+"-"+Cd,t+"-"+m1])},[]),Sie="beforeRead",Cie="read",Tie="afterRead",kie="beforeMain",zie="main",Mie="afterMain",Eie="beforeWrite",Aie="write",Iie="afterWrite",Die=[Sie,Cie,Tie,kie,zie,Mie,Eie,Aie,Iie];function Lo(e){return e?(e.nodeName||"").toLowerCase():null}function ro(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=ro(e).Element;return e instanceof t||e instanceof Element}function _i(e){var t=ro(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function gS(e){if(typeof ShadowRoot>"u")return!1;var t=ro(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Lie(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];!_i(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 Pie(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},{});!_i(a)||!Lo(a)||(Object.assign(a.style,l),Object.keys(i).forEach(function(s){a.removeAttribute(s)}))})}}var wO={name:"applyStyles",enabled:!0,phase:"write",fn:Lie,effect:Pie,requires:["computeStyles"]};function Eo(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(_i(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 mS(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 xO(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&gS(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 ro(e).getComputedStyle(e)}function Rie(e){return["table","td","th"].indexOf(Lo(e))>=0}function ou(e){return((Td(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sy(e){return Lo(e)==="html"?e:e.assignedSlot||e.parentNode||(gS(e)?e.host:null)||ou(e)}function F7(e){return!_i(e)||xl(e).position==="fixed"?null:e.offsetParent}function Nie(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&_i(e)){var r=xl(e);if(r.position==="fixed")return null}var a=Sy(e);for(gS(a)&&(a=a.host);_i(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 gp(e){for(var t=ro(e),n=F7(e);n&&Rie(n)&&xl(n).position==="static";)n=F7(n);return n&&(Lo(n)==="html"||Lo(n)==="body"&&xl(n).position==="static")?t:n||Nie(e)||t}function yS(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Rv(e,t,n){return gc(e,B2(t,n))}function Oie(e,t,n){var r=Rv(e,t,n);return r>n?n:r}function SO(){return{top:0,right:0,bottom:0,left:0}}function CO(e){return Object.assign({},SO(),e)}function TO(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var $ie=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,CO(typeof e!="number"?e:TO(e,pp))};function Vie(e){var t,n=e.state,r=e.name,a=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,l=Eo(n.placement),s=yS(l),u=[Ia,ki].indexOf(l)>=0,c=u?"height":"width";if(!(!i||!o)){var f=$ie(a.padding,n),d=mS(i),h=s==="y"?Aa:Ia,v=s==="y"?Ti:ki,p=n.rects.reference[c]+n.rects.reference[s]-o[s]-n.rects.popper[c],g=o[s]-n.rects.reference[s],m=gp(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 Bie(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)||!xO(t.elements.popper,a)||(t.elements.arrow=a))}var Fie={name:"arrow",enabled:!0,phase:"main",fn:Vie,effect:Bie,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Md(e){return e.split("-")[1]}var Hie={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jie(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 H7(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=Aa,x=window;if(u){var S=gp(n),C="clientHeight",T="clientWidth";if(S===ro(n)&&(S=ou(n),xl(S).position!=="static"&&l==="absolute"&&(C="scrollHeight",T="scrollWidth")),S=S,a===Aa||(a===Ia||a===ki)&&i===m1){w=Ti;var z=f&&S===x&&x.visualViewport?x.visualViewport.height:S[C];p-=z-r.height,p*=s?1:-1}if(a===Ia||(a===Aa||a===Ti)&&i===m1){_=ki;var E=f&&S===x&&x.visualViewport?x.visualViewport.width:S[T];h-=E-r.width,h*=s?1:-1}}var A=Object.assign({position:l},u&&Hie),D=c===!0?jie({x:h,y:p}):{x:h,y:p};if(h=D.x,p=D.y,s){var $;return Object.assign({},A,($={},$[w]=b?"0":"",$[_]=m?"0":"",$.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",$))}return Object.assign({},A,(t={},t[w]=b?p+"px":"",t[_]=m?h+"px":"",t.transform="",t))}function qie(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:Eo(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,H7(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,H7(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 kO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:qie,data:{}},ug={passive:!0};function Gie(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=ro(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 zO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Gie,data:{}},Wie={left:"right",right:"left",bottom:"top",top:"bottom"};function R0(e){return e.replace(/left|right|bottom|top/g,function(t){return Wie[t]})}var Uie={start:"end",end:"start"};function j7(e){return e.replace(/start|end/g,function(t){return Uie[t]})}function bS(e){var t=ro(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function _S(e){return zd(ou(e)).left+bS(e).scrollLeft}function Yie(e){var t=ro(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+_S(e),y:l}}function Kie(e){var t,n=ou(e),r=bS(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+_S(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 wS(e){var t=xl(e),n=t.overflow,r=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+r)}function MO(e){return["html","body","#document"].indexOf(Lo(e))>=0?e.ownerDocument.body:_i(e)&&wS(e)?e:MO(Sy(e))}function Nv(e,t){var n;t===void 0&&(t=[]);var r=MO(e),a=r===((n=e.ownerDocument)==null?void 0:n.body),i=ro(r),o=a?[i].concat(i.visualViewport||[],wS(r)?r:[]):r,l=t.concat(o);return a?l:l.concat(Nv(Sy(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 Xie(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 q7(e,t){return t===_O?b4(Yie(e)):Td(t)?Xie(t):b4(Kie(ou(e)))}function Zie(e){var t=Nv(Sy(e)),n=["absolute","fixed"].indexOf(xl(e).position)>=0,r=n&&_i(e)?gp(e):e;return Td(r)?t.filter(function(a){return Td(a)&&xO(a,r)&&Lo(a)!=="body"}):[]}function Jie(e,t,n){var r=t==="clippingParents"?Zie(e):[].concat(t),a=[].concat(r,[n]),i=a[0],o=a.reduce(function(l,s){var u=q7(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},q7(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 EO(e){var t=e.reference,n=e.element,r=e.placement,a=r?Eo(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 Aa:s={x:o,y:t.y-n.height};break;case Ti:s={x:o,y:t.y+t.height};break;case ki: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?yS(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?wie:i,l=n.rootBoundary,s=l===void 0?_O: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=CO(typeof v!="number"?v:TO(v,pp)),g=c===zh?xie:zh,m=e.rects.popper,b=e.elements[d?g:c],_=Jie(Td(b)?b:b.contextElement||ou(e.elements.popper),o,s),w=zd(e.elements.reference),x=EO({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 E=z[a];Object.keys(T).forEach(function(A){var D=[ki,Ti].indexOf(A)>=0?1:-1,$=[Aa,Ti].indexOf(A)>=0?"y":"x";T[A]+=E[$]*D})}return T}function Qie(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?Yc:s,c=Md(r),f=c?l?B7:B7.filter(function(v){return Md(v)===c}):pp,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})[Eo(p)],v},{});return Object.keys(h).sort(function(v,p){return h[v]-h[p]})}function eoe(e){if(Eo(e)===pS)return[];var t=R0(e);return[j7(e),t,j7(t)]}function toe(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=Eo(g),b=m===g,_=s||(b||!v?[R0(g)]:eoe(g)),w=[g].concat(_).reduce(function(ue,ye){return ue.concat(Eo(ye)===pS?Qie(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],E=0;E<w.length;E++){var A=w[E],D=Eo(A),$=Md(A)===Cd,N=[Aa,Ti].indexOf(D)>=0,R=N?"width":"height",O=y1(t,{placement:A,boundary:c,rootBoundary:f,altBoundary:d,padding:u}),B=N?$?ki:Ia:$?Ti:Aa;x[R]>S[R]&&(B=R0(B));var V=R0(B),P=[];if(i&&P.push(O[D]<=0),l&&P.push(O[B]<=0,O[V]<=0),P.every(function(ue){return ue})){z=A,T=!1;break}C.set(A,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 noe={name:"flip",enabled:!0,phase:"main",fn:toe,requiresIfExists:["offset"],data:{_skip:!1}};function G7(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 W7(e){return[Aa,ki,Ti,Ia].some(function(t){return e[t]>=0})}function roe(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=G7(o,r),u=G7(l,a,i),c=W7(s),f=W7(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 aoe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:roe};function ioe(e,t,n){var r=Eo(e),a=[Ia,Aa].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,ki].indexOf(r)>=0?{x:l,y:o}:{x:o,y:l}}function ooe(e){var t=e.state,n=e.options,r=e.name,a=n.offset,i=a===void 0?[0,0]:a,o=Yc.reduce(function(c,f){return c[f]=ioe(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 loe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:ooe};function soe(e){var t=e.state,n=e.name;t.modifiersData[n]=EO({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var AO={name:"popperOffsets",enabled:!0,phase:"read",fn:soe,data:{}};function uoe(e){return e==="x"?"y":"x"}function coe(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=Eo(t.placement),b=Md(t.placement),_=!b,w=yS(m),x=uoe(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,E=typeof z=="number"?{mainAxis:z,altAxis:z}:Object.assign({mainAxis:0,altAxis:0},z),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(S){if(i){var $,N=w==="y"?Aa:Ia,R=w==="y"?Ti:ki,O=w==="y"?"height":"width",B=S[w],V=B+g[N],P=B-g[R],W=h?-T[O]/2:0,Z=b===Cd?C[O]:T[O],ee=b===Cd?-T[O]:-C[O],re=t.elements.arrow,ue=h&&re?mS(re):{width:0,height:0},ye=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:SO(),le=ye[N],ae=ye[R],ie=Rv(0,C[O],ue[O]),ve=_?C[O]/2-W-ie-le-E.mainAxis:Z-ie-le-E.mainAxis,ce=_?-C[O]/2+W+ie+ae+E.mainAxis:ee+ie+ae+E.mainAxis,de=t.elements.arrow&&gp(t.elements.arrow),xe=de?w==="y"?de.clientTop||0:de.clientLeft||0:0,J=($=A==null?void 0:A[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,Ee=w==="x"?Aa:Ia,De=w==="x"?Ti:ki,Pe=S[x],Re=x==="y"?"height":"width",Ce=Pe+g[Ee],Ue=Pe-g[De],Je=[Aa,Ia].indexOf(m)!==-1,ze=(ge=A==null?void 0:A[x])!=null?ge:0,Ke=Je?Ce:Pe-C[Re]-T[Re]-ze+E.altAxis,ct=Je?Pe+C[Re]+T[Re]-ze-E.altAxis:Ue,At=h&&Je?Oie(Ke,Pe,ct):Rv(h?Ke:Ce,Pe,h?ct:Ue);S[x]=At,D[x]=At-Pe}t.modifiersData[r]=D}}var foe={name:"preventOverflow",enabled:!0,phase:"main",fn:coe,requiresIfExists:["offset"]};function doe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function hoe(e){return e===ro(e)||!_i(e)?bS(e):doe(e)}function voe(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 poe(e,t,n){n===void 0&&(n=!1);var r=_i(t),a=_i(t)&&voe(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"||wS(i))&&(l=hoe(t)),_i(t)?(s=zd(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=_S(i))),{x:o.left+l.scrollLeft-s.x,y:o.top+l.scrollTop-s.y,width:o.width,height:o.height}}function goe(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 moe(e){var t=goe(e);return Die.reduce(function(n,r){return n.concat(t.filter(function(a){return a.phase===r}))},[])}function yoe(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function boe(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 U7={placement:"bottom",modifiers:[],strategy:"absolute"};function Y7(){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 xS(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,a=t.defaultOptions,i=a===void 0?U7:a;return function(o,l,s){s===void 0&&(s=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},U7,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)?Nv(o):o.contextElement?Nv(o.contextElement):[],popper:Nv(l)};var m=moe(boe([].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(Y7(g,m)){u.rects={reference:poe(g,gp(m),u.options.strategy==="fixed"),popper:mS(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:yoe(function(){return new Promise(function(p){d.forceUpdate(),p(u)})}),destroy:function(){v(),f=!0}};if(!Y7(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}}xS();var _oe=[zO,AO,kO,wO];xS({defaultModifiers:_oe});var woe=[zO,AO,kO,wO,loe,noe,foe,Fie,aoe],xoe=xS({defaultModifiers:woe});const Soe=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:s})=>{const u=Coe(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=xoe(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 Coe(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 SS=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}}},Toe=(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 K7(){let e;const t=(r,a)=>{n(),e=window.setTimeout(r,a)},n=()=>window.clearTimeout(e);return up(()=>n()),{registerTimeout:t,cancelTimeout:n}}const X7={prefix:Math.floor(Math.random()*1e4),current:0},koe=Symbol("elIdInjection"),CS=()=>xt()?Ye(koe,X7):X7,Vr=e=>{const t=CS(),n=hS();return L(()=>y(e)||`${n.value}-id-${t.prefix}-${t.current++}`)};let Pf=[];const Z7=e=>{const t=e;t.key===at.esc&&Pf.forEach(n=>n(t))},zoe=e=>{bt(()=>{Pf.length===0&&document.addEventListener("keydown",Z7),Wt&&Pf.push(e)}),wn(()=>{Pf=Pf.filter(t=>t!==e),Pf.length===0&&Wt&&document.removeEventListener("keydown",Z7)})};let J7;const IO=()=>{const e=hS(),t=CS(),n=L(()=>`${e.value}-popper-container-${t.prefix}`),r=L(()=>`#${n.value}`);return{id:n,selector:r}},Moe=e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t},Eoe=()=>{const{id:e,selector:t}=IO();return sy(()=>{Wt&&!J7&&!document.body.querySelector(t.value)&&(J7=Moe(e.value))}),{id:e,selector:t}},Aoe=Ne({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Ioe=({showAfter:e,hideAfter:t,autoClose:n,open:r,close:a})=>{const{registerTimeout:i}=K7(),{registerTimeout:o,cancelTimeout:l}=K7();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))}}},DO=Symbol("elForwardRef"),Doe=e=>{Rt(DO,{setForwardRef:n=>{e.value=n}})},Loe=e=>({mounted(t){e(t)},updated(t){e(t)},unmounted(){e(null)}}),Q7={current:0},ek=j(0),LO=2e3,tk=Symbol("elZIndexContextKey"),PO=Symbol("zIndexContextKey"),Qd=e=>{const t=xt()?Ye(tk,Q7):Q7,n=e||(xt()?Ye(PO,void 0):void 0),r=L(()=>{const o=y(n);return ot(o)?o:LO}),a=L(()=>r.value+ek.value),i=()=>(t.current++,ek.value=t.current,a.value);return!Wt&&Ye(tk),{initialZIndex:r,currentZIndex:a,nextZIndex:i}},Ed=Math.min,mc=Math.max,F2=Math.round,cg=Math.floor,qs=e=>({x:e,y:e}),Poe={left:"right",right:"left",bottom:"top",top:"bottom"},Roe={start:"end",end:"start"};function _4(e,t,n){return mc(e,Ed(t,n))}function mp(e,t){return typeof e=="function"?e(t):e}function Lc(e){return e.split("-")[0]}function yp(e){return e.split("-")[1]}function RO(e){return e==="x"?"y":"x"}function TS(e){return e==="y"?"height":"width"}function Cy(e){return["top","bottom"].includes(Lc(e))?"y":"x"}function kS(e){return RO(Cy(e))}function Noe(e,t,n){n===void 0&&(n=!1);const r=yp(e),a=kS(e),i=TS(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 Ooe(e){const t=H2(e);return[w4(e),t,w4(t)]}function w4(e){return e.replace(/start|end/g,t=>Roe[t])}function $oe(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 Voe(e,t,n,r){const a=yp(e);let i=$oe(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=>Poe[t])}function Boe(e){return{top:0,right:0,bottom:0,left:0,...e}}function NO(e){return typeof e!="number"?Boe(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 nk(e,t,n){let{reference:r,floating:a}=e;const i=Cy(t),o=kS(t),l=TS(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(yp(t)){case"start":h[o]-=d*(n&&u?-1:1);break;case"end":h[o]+=d*(n&&u?-1:1);break}return h}const Foe=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}=nk(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}=nk(u,d,s)),p=-1)}return{x:c,y:f,placement:d,strategy:a,middlewareData:h}};async function zS(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}=mp(t,e),v=NO(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 Hoe=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}=mp(e,t)||{};if(u==null)return{};const f=NO(c),d={x:n,y:r},h=kS(a),v=TS(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,E=Ed(f[m],z),A=Ed(f[b],z),D=E,$=C-p[v]-A,N=C/2-p[v]/2+T,R=_4(D,N,$),O=!s.arrow&&yp(a)!=null&&N!==R&&i.reference[v]/2-(N<D?E:A)-p[v]/2<0,B=O?N<D?N-D:N-$:0;return{[h]:d[h]+B,data:{[h]:R,centerOffset:N-R-B,...O&&{alignmentOffset:B}},reset:O}}}),joe=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}=mp(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)]:Ooe(l));!d&&v!=="none"&&w.push(...Voe(l,p,v,_));const x=[l,...w],S=await zS(t,g),C=[];let T=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&C.push(S[m]),f){const D=Noe(a,o,_);C.push(S[D[0]],S[D[1]])}if(T=[...T,{placement:a,overflows:C}],!C.every(D=>D<=0)){var z,E;const D=(((z=i.flip)==null?void 0:z.index)||0)+1,$=x[D];if($)return{data:{index:D,overflows:T},reset:{placement:$}};let N=(E=T.filter(R=>R.overflows[0]<=0).sort((R,O)=>R.overflows[1]-O.overflows[1])[0])==null?void 0:E.placement;if(!N)switch(h){case"bestFit":{var A;const R=(A=T.map(O=>[O.placement,O.overflows.filter(B=>B>0).reduce((B,V)=>B+V,0)]).sort((O,B)=>O[1]-B[1])[0])==null?void 0:A[0];R&&(N=R);break}case"initialPlacement":N=l;break}if(a!==N)return{reset:{placement:N}}}return{}}}};async function qoe(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=yp(n),s=Cy(n)==="y",u=["left","top"].includes(o)?-1:1,c=i&&s?-1:1,f=mp(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 Goe=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 qoe(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}}}}},Woe=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}=mp(e,t),u={x:n,y:r},c=await zS(t,s),f=Cy(Lc(a)),d=RO(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 OO(e)?(e.nodeName||"").toLowerCase():"#document"}function qa(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ol(e){var t;return(t=(OO(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function OO(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 rk(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof qa(e).ShadowRoot}function bp(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Ji(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(a)}function Uoe(e){return["table","td","th"].includes(eh(e))}function MS(e){const t=ES(),n=Ji(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 Yoe(e){let t=Gs(e);for(;Ro(t)&&!Ad(t);){if(MS(t))return t;t=Gs(t)}return null}function ES(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ad(e){return["html","body","#document"].includes(eh(e))}function Ji(e){return qa(e).getComputedStyle(e)}function Ty(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||rk(e)&&e.host||Ol(e);return rk(t)?t.host:t}function $O(e){const t=Gs(e);return Ad(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ro(t)&&bp(t)?t:$O(t)}function b1(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=$O(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=qa(a);return i?t.concat(o,o.visualViewport||[],bp(a)?a:[],o.frameElement&&n?b1(o.frameElement):[]):t.concat(a,b1(a,[],n))}function VO(e){const t=Ji(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 AS(e){return Po(e)?e:e.contextElement}function nd(e){const t=AS(e);if(!Ro(t))return qs(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=VO(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 Koe=qs(0);function BO(e){const t=qa(e);return!ES()||!t.visualViewport?Koe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Xoe(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=AS(e);let o=qs(1);t&&(r?Po(r)&&(o=nd(r)):o=nd(e));const l=Xoe(i,n,r)?BO(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=Ji(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 Zoe=[":popover-open",":modal"];function IS(e){return Zoe.some(t=>{try{return e.matches(t)}catch{return!1}})}function Joe(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const i=a==="fixed",o=Ol(r),l=t?IS(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"||bp(o))&&(s=Ty(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 Qoe(e){return Array.from(e.getClientRects())}function FO(e){return Pc(Ol(e)).left+Ty(e).scrollLeft}function ele(e){const t=Ol(e),n=Ty(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+FO(e);const l=-n.scrollTop;return Ji(r).direction==="rtl"&&(o+=mc(t.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:l}}function tle(e,t){const n=qa(e),r=Ol(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=ES();(!u||u&&t==="fixed")&&(l=a.offsetLeft,s=a.offsetTop)}return{width:i,height:o,x:l,y:s}}function nle(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 ak(e,t,n){let r;if(t==="viewport")r=tle(e,n);else if(t==="document")r=ele(Ol(e));else if(Po(t))r=nle(t,n);else{const a=BO(e);r={...t,x:t.x-a.x,y:t.y-a.y}}return j2(r)}function HO(e,t){const n=Gs(e);return n===t||!Po(n)||Ad(n)?!1:Ji(n).position==="fixed"||HO(n,t)}function rle(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=Ji(e).position==="fixed";let o=i?Gs(e):e;for(;Po(o)&&!Ad(o);){const l=Ji(o),s=MS(o);!s&&l.position==="fixed"&&(a=null),(i?!s&&!a:!s&&l.position==="static"&&!!a&&["absolute","fixed"].includes(a.position)||bp(o)&&!s&&HO(e,o))?r=r.filter(c=>c!==o):a=l,o=Gs(o)}return t.set(e,r),r}function ale(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?IS(t)?[]:rle(t,this._c):[].concat(n),r],l=o[0],s=o.reduce((u,c)=>{const f=ak(t,c,a);return u.top=mc(f.top,u.top),u.right=Ed(f.right,u.right),u.bottom=Ed(f.bottom,u.bottom),u.left=mc(f.left,u.left),u},ak(t,l,a));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function ile(e){const{width:t,height:n}=VO(e);return{width:t,height:n}}function ole(e,t,n){const r=Ro(t),a=Ol(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"||bp(a))&&(l=Ty(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=FO(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 Ji(e).position==="static"}function ik(e,t){return!Ro(e)||Ji(e).position==="fixed"?null:t?t(e):e.offsetParent}function jO(e,t){const n=qa(e);if(IS(e))return n;if(!Ro(e)){let a=Gs(e);for(;a&&!Ad(a);){if(Po(a)&&!eb(a))return a;a=Gs(a)}return n}let r=ik(e,t);for(;r&&Uoe(r)&&eb(r);)r=ik(r,t);return r&&Ad(r)&&eb(r)&&!MS(r)?n:r||Yoe(e)||n}const lle=async function(e){const t=this.getOffsetParent||jO,n=this.getDimensions,r=await n(e.floating);return{reference:ole(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function sle(e){return Ji(e).direction==="rtl"}const ule={convertOffsetParentRelativeRectToViewportRelativeRect:Joe,getDocumentElement:Ol,getClippingRect:ale,getOffsetParent:jO,getElementRects:lle,getClientRects:Qoe,getDimensions:ile,getScale:nd,isElement:Po,isRTL:sle};function cle(e,t){let n=null,r;const a=Ol(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,Ed(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 fle(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=AS(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?cle(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 dle=zS,qO=Goe,hle=Woe,vle=joe,GO=Hoe,WO=(e,t,n)=>{const r=new Map,a={platform:ule,...n},i={...a.platform,_c:r};return Foe(e,t,{...a,platform:i})};Ne({});const ple=e=>{if(!Wt)return;if(!e)return e;const t=Ea(e);return t||(st(e)?t:e)},gle=({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=ple(r),f=Ea(a);if(!c||!f)return;const d=await WO(c,f,{placement:y(t),strategy:y(n),middleware:y(e)});wd(s).forEach(h=>{s[h].value=d[h]})};return bt(()=>{Nr(()=>{u()})}),{...s,update:u,referenceRef:r,contentRef:a}},mle=({arrowRef:e,padding:t})=>({name:"arrow",options:{element:e,padding:t},fn(n){const r=y(e);return r?GO({element:r,padding:t}).fn(n):{}}});function yle(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 ble=(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),DS=(e,t)=>{const n={},r=xn([]);return{children:r,addChild:o=>{n[o.uid]=o,r.value=ble(e,t,n)},removeChild:o=>{delete n[o],r.value=r.value.filter(l=>l.uid!==o)}}},cr=no({type:String,values:jo,required:!1}),UO=Symbol("size"),_le=()=>{const e=Ye(UO,{});return L(()=>y(e.size)||"")};function ky(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;ut(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 wle=["",void 0,null],xle=void 0,th=Ne({emptyValues:Array,valueOnClear:{type:[String,Number,Boolean,Function],default:void 0,validator:e=>ut(e)?!e():!e}}),zy=(e,t)=>{let n=_p();n.value||(n=j({}));const r=L(()=>e.emptyValues||n.value.emptyValues||wle),a=L(()=>ut(e.valueOnClear)?e.valueOnClear():e.valueOnClear!==void 0?e.valueOnClear:ut(n.value.valueOnClear)?n.value.valueOnClear():n.value.valueOnClear!==void 0?n.value.valueOnClear:t!==void 0?t:xle),i=o=>r.value.includes(o);return r.value.includes(a.value),{emptyValues:r,valueOnClear:a,isEmptyValue:i}},Sle=Ne({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),Ar=e=>So(Sle,e),YO=Symbol(),q2=j();function _p(e,t=void 0){const n=xt()?Ye(YO,q2):q2;return e?L(()=>{var r,a;return(a=(r=n.value)==null?void 0:r[e])!=null?a:t}):n}function My(e,t){const n=_p(),r=Ae(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)||LO})),o=L(()=>{var l;return y(t)||((l=n.value)==null?void 0:l.size)||""});return LS(L(()=>y(n)||{})),{ns:r,locale:a,zIndex:i,size:o}}const LS=(e,t,n=!1)=>{var r;const a=!!xt(),i=a?_p():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?Cle(i.value,s):s});return o(YO,l),o(gO,L(()=>l.value.locale)),o(mO,L(()=>l.value.namespace)),o(PO,L(()=>l.value.zIndex)),o(UO,{size:L(()=>l.value.size||"")}),(n||!q2.value)&&(q2.value=l.value),l},Cle=(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},Tle=Ne({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={},kle=te({name:"ElConfigProvider",props:Tle,setup(e,{slots:t}){ke(()=>e.message,r=>{Object.assign(x4,r??{})},{immediate:!0,deep:!0});const n=LS(e);return()=>me(t,"default",{config:n==null?void 0:n.value})}}),zle=St(kle),Mle="2.7.5",Ele=(e=[])=>({version:Mle,install:(n,r)=>{n[$7]||(n[$7]=!0,e.forEach(a=>n.use(a)),r&&LS(r,n,!0))}}),Ale=Ne({zIndex:{type:he([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"}}),Ile={scroll:({scrollTop:e,fixed:t})=>ot(e)&&Jn(t),[Tn]:e=>Jn(e)};var Oe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,a]of t)n[r]=a;return n};const KO="ElAffix",Dle=te({name:KO}),Lle=te({...Dle,props:Ale,emits:Ile,setup(e,{expose:t,emit:n}){const r=e,a=Ae("affix"),i=xn(),o=xn(),l=xn(),{height:s}=pJ(),{height:u,width:c,top:f,bottom:d,update:h}=JT(o,{windowScroll:!1}),v=JT(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(KO,`Target does not exist: ${r.target}`)):i.value=document.documentElement,l.value=rS(o.value,!0),h()}),Sn(l,"scroll",x),Nr(w),t({update:w,updateRoot:h}),(S,C)=>(k(),H("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 Ple=Oe(Lle,[["__file","affix.vue"]]);const Rle=St(Ple),Nle=Ne({size:{type:he([Number,String])},color:{type:String}}),Ole=te({name:"ElIcon",inheritAttrs:!1}),$le=te({...Ole,props:Nle,setup(e){const t=e,n=Ae("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(),H("i",Pt({class:y(n).b(),style:y(r)},a.$attrs),[me(a.$slots,"default")],16))}});var Vle=Oe($le,[["__file","icon.vue"]]);const Ze=St(Vle),Ble=["light","dark"],Fle=Ne({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:Ble,default:"light"}}),Hle={close:e=>e instanceof MouseEvent},jle=te({name:"ElAlert"}),qle=te({...jle,props:Fle,emits:Hle,setup(e,{emit:t}){const n=e,{Close:r}=uS,a=Tr(),i=Ae("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(),H("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(),H("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(),H(fe,{key:2},[f.closeText?(k(),H("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 Gle=Oe(qle,[["__file","alert.vue"]]);const Wle=St(Gle),Kc=Symbol("formContextKey"),No=Symbol("formItemContextKey"),tr=(e,t={})=>{const n=j(void 0),r=t.prop?n:bO("size"),a=t.global?n:_le(),i=t.form?{size:void 0}:Ye(Kc,void 0),o=t.formItem?{size:void 0}:Ye(No,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=bO("disabled"),n=Ye(Kc,void 0);return L(()=>t.value||y(e)||(n==null?void 0:n.disabled)||!1)},Qr=()=>{const e=Ye(Kc,void 0),t=Ye(No,void 0);return{form:e,formItem:t}},ao=(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}},Ule=Ne({size:{type:String,values:jo},disabled:Boolean}),Yle=Ne({...Ule,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]}}),Kle={validate:(e,t,n)=>(We(e)||vt(e))&&Jn(t)&&vt(n)};function Xle(){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},Zle="ElForm",Jle=te({name:Zle}),Qle=te({...Jle,props:Yle,emits:Kle,setup(e,{expose:t,emit:n}){const r=e,a=[],i=tr(),o=Ae("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=!ut(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(Kc,nn({...Er(r),emit:n,resetFields:f,clearValidate:d,validateField:m,getField:s,addField:u,removeField:c,...Xle()})),t({validate:p,validateField:m,resetFields:f,clearValidate:d,scrollToField:b,fields:a}),(_,w)=>(k(),H("form",{class:q(y(l))},[me(_.$slots,"default")],2))}});var ese=Oe(Qle,[["__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 tse(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 nse(){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 nse()?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 rse(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||!rse(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 ase=/%[sdj%]/g,ise=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(ase,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 ose(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||ose(t)&&typeof e=="string"&&!e)}function lse(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 ok(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 sse(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var lk=function(e){tse(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 use(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 lk(m,T4(m))):d(a)},p=sse(e);ok(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 lk(c,T4(c))):d(a)};l.length||(r(c),d(a)),l.forEach(function(p){var g=e[p];o.indexOf(p)!==-1?ok(g,n,v):lse(g,n,v)})});return f.catch(function(d){return d}),f}function cse(e){return!!(e&&e.message!==void 0)}function fse(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function sk(e,t){return function(n){var r;return e.fullFields?r=fse(t,e.fullFields):r=t[n.field||e.fullField],cse(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 uk(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 XO=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))},dse=function(t,n,r,a,i){(/^\s+$/.test(n)||n==="")&&a.push(Ba(i.messages.whitespace,t.fullField))},dg,hse=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=(`
- (?:
- (?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
- (?:`+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
- (?:`+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
- (?:`+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
- (?:`+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
- (?:`+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
- (?:`+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
- (?::(?:(?::`+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
- )(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
- `).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},ck={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(ck.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(hse())},hex:function(t){return typeof t=="string"&&!!t.match(ck.hex)}},vse=function(t,n,r,a,i){if(t.required&&n===void 0){XO(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))},pse=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",gse=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(", ")))},mse=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:XO,whitespace:dse,type:vse,range:pse,enum:gse,pattern:mse},yse=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)},bse=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)},_se=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)},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)},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),xr(n)||gn.type(t,n,a,o,i)}r(o)},Sse=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)},Cse=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)},Tse=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)},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),n!==void 0&&gn.type(t,n,a,o,i)}r(o)},zse="enum",Mse=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[zse](t,n,a,o,i)}r(o)},Ese=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)},Ase=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)},Ise=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)},Dse=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)},Ov={string:yse,method:bse,number:_se,boolean:wse,regexp:xse,integer:Sse,float:Cse,array:Tse,object:kse,enum:Mse,pattern:Ese,date:Ase,url:tb,hex:tb,email:tb,required:Ise,any:Dse};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(),wp=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=uk(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()),uk(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 use(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(sk(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(sk(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 E={};Object.keys(z).forEach(function(D){var $=z[D],N=Array.isArray($)?$:[$];E[D]=N.map(_.bind(null,D))});var A=new e(E);A.messages(s.messages),p.rule.options&&(p.rule.options.messages=s.messages,p.rule.options.error=s.error),A.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&&!Ov.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"?Ov.required:Ov[this.getType(r)]||void 0},e}();wp.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ov[t]=n};wp.warning=ise;wp.messages=z4;wp.validators=Ov;const Lse=["","error","validating","success"],Pse=Ne({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:Lse},for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:{type:String,values:jo}}),fk="ElLabelWrap";var Rse=te({name:fk,props:{isAutoWidth:Boolean,updateAll:Boolean},setup(e,{slots:t}){const n=Ye(Kc,void 0),r=Ye(No);r||or(fk,"usage: <el-form-item><label-wrap /></el-form-item>");const a=Ae("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(fe,{ref:i},[(f=t.default)==null?void 0:f.call(t)])}}});const Nse=["role","aria-labelledby"],Ose=te({name:"ElFormItem"}),$se=te({...Ose,props:Pse,setup(e,{expose:t}){const n=e,r=Tr(),a=Ye(Kc,void 0),i=Ye(No,void 0),o=tr(void 0,{formItem:!1}),l=Ae("form-item"),s=Vr().value,u=j([]),c=j(""),f=ZZ(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",N.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,E=L(()=>{const ae=a==null?void 0:a.model;if(!(!ae||!n.prop))return P0(ae,n.prop).value}),A=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=P0(ve,n.prop).value;ce&&ie.push(...Bs(ce))}if(ae!==void 0){const ce=ie.map((de,xe)=>[de,xe]).filter(([de])=>Object.keys(de).includes("required"));if(ce.length>0)for(const[de,xe]of ce)de.required!==ae&&(ie[xe]={...de,required:ae});else ie.push({required:ae})}return ie}),D=L(()=>A.value.length>0),$=ae=>A.value.filter(ve=>!ve.trigger||!ae?!0:Array.isArray(ve.trigger)?ve.trigger.includes(ae):ve.trigger===ae).map(({trigger:ve,...ce})=>ce),N=L(()=>A.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)}),O=L(()=>`${n.label||""}${(a==null?void 0:a.labelSuffix)||""}`),B=ae=>{c.value=ae},V=ae=>{var ie,ve;const{errors:ce,fields:de}=ae;(!ce||!de)&&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 wp({[ie]:ae}).validate({[ie]:E.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=ut(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(de=>{const{fields:xe}=de;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=P0(ae,n.prop);p=!0,ie.value=A7(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({...Er(n),$el:h,size:o,validateState:c,labelId:s,inputIds:u,isGroup:T,hasLabel:S,fieldValue:E,addInputId:ue,removeInputId:ye,resetField:re,clearValidate:ee,validate:Z});return Rt(No,le),bt(()=>{n.prop&&(a==null||a.addField(le),v=A7(E.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(),H("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(Rse),{"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(O)},()=>[G(U(y(O)),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(WR,{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,Nse)}}});var ZO=Oe($se,[["__file","form-item.vue"]]);const Vse=St(ese,{FormItem:ZO}),Bse=Nn(ZO);let Li;const Fse=`
- height:0 !important;
- visibility:hidden !important;
- ${mN()?"":"overflow:hidden !important;"}
- position:absolute !important;
- z-index:-1000 !important;
- top:0 !important;
- right:0 !important;
- `,Hse=["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 jse(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:Hse.map(o=>`${o}:${t.getPropertyValue(o)}`).join(";"),paddingSize:r,borderSize:a,boxSizing:n}}function dk(e,t=1,n){var r;Li||(Li=document.createElement("textarea"),document.body.appendChild(Li));const{paddingSize:a,borderSize:i,boxSizing:o,contextStyle:l}=jse(e);Li.setAttribute("style",`${l};${Fse}`),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 qse=Ne({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},...Ar(["ariaLabel"])}),Gse={[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},Wse=["role"],Use=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],Yse=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"],Kse=te({name:"ElInput",inheritAttrs:!1}),Xse=te({...Kse,props:qse,emits:Gse,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",E.value)]),u=dS({excludeKeys:L(()=>Object.keys(o.value))}),{form:c,formItem:f}=Qr(),{inputId:d}=ao(r,{formItemContext:f}),h=tr(),v=ma(),p=Ae("input"),g=Ae("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:E,handleFocus:A,handleBlur:D}=ky(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}),N=L(()=>(f==null?void 0:f.validateState)||""),R=L(()=>N.value&&cS[N.value]),O=L(()=>x.value?Qae:Sae),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&&(E.value||_.value)),Z=L(()=>r.showPassword&&!v.value&&!r.readonly&&!!P.value&&(!!P.value||E.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||!!N.value&&$.value),[le,ae]=yle(m);Pn(b,ze=>{if(ce(),!ee.value||r.resize!=="both")return;const Ke=ze[0],{width:ct}=Ke.contentRect;S.value={right:`calc(100% - ${ct+15+6}px)`}});const ie=()=>{const{type:ze,autosize:Ke}=r;if(!(!Wt||ze!=="textarea"||!b.value))if(Ke){const ct=zt(Ke)?Ke.minRows:void 0,At=zt(Ke)?Ke.maxRows:void 0,Ct=dk(b.value,ct,At);C.value={overflowY:"hidden",...Ct},nt(()=>{b.value.offsetHeight,C.value=Ct})}else C.value={minHeight:dk(b.value).minHeight}},ce=(ze=>{let Ke=!1;return()=>{var ct;if(Ke||!r.autosize)return;((ct=b.value)==null?void 0:ct.offsetParent)===null||(ze(),Ke=!0)}})(ie),de=()=>{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){de();return}n(Mt,Ke),n("input",Ke),await nt(),de(),ae()}},J=ze=>{n("change",ze.target.value)},oe=ze=>{n("compositionstart",ze),w.value=!0},pe=ze=>{var Ke;n("compositionupdate",ze);const ct=(Ke=ze.target)==null?void 0:Ke.value,At=ct[ct.length-1]||"";w.value=!fS(At)},Te=ze=>{n("compositionend",ze),w.value&&(w.value=!1,xe(ze))},ge=()=>{x.value=!x.value,Ee()},Ee=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,()=>de()),ke(()=>r.type,async()=>{await nt(),de(),ie()}),bt(()=>{!r.formatter&&r.parser,de(),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:Ee,blur:De,select:Ue,clear:Je,resizeTextarea:ie}),(ze,Ke)=>(k(),H("div",Pt(y(o),{class:y(l),style:y(B),role:ze.containerRole,onMouseenter:Re,onMouseleave:Pe}),[Q(" input "),ze.type!=="textarea"?(k(),H(fe,{key:0},[Q(" prepend slot "),ze.$slots.prepend?(k(),H("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(),H("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]=(...ct)=>y(A)&&y(A)(...ct)),onBlur:Ke[1]||(Ke[1]=(...ct)=>y(D)&&y(D)(...ct)),onChange:J,onKeydown:Ce}),null,16,Use),Q(" suffix slot "),y(ye)?(k(),H("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(),H(fe,{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(O))))]),_:1},8,["class"])):Q("v-if",!0),y(ee)?(k(),H("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(N)&&y(R)&&y($)?(k(),Y(y(Ze),{key:4,class:q([y(p).e("icon"),y(p).e("validateIcon"),y(p).is("loading",y(N)==="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(),H("div",{key:1,class:q(y(p).be("group","append"))},[me(ze.$slots,"append")],2)):Q("v-if",!0)],64)):(k(),H(fe,{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(E))]},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]=(...ct)=>y(A)&&y(A)(...ct)),onBlur:Ke[3]||(Ke[3]=(...ct)=>y(D)&&y(D)(...ct)),onChange:J,onKeydown:Ce}),null,16,Yse),y(ee)?(k(),H("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,Wse))}});var Zse=Oe(Xse,[["__file","input.vue"]]);const Ur=St(Zse),sf=4,JO={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"}},Jse=({move:e,size:t,bar:n})=>({[n.size]:t,transform:`translate${n.axis}(${e}%)`}),PS=Symbol("scrollbarContextKey"),Qse=Ne({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),eue="Thumb",tue=te({__name:"thumb",props:Qse,setup(e){const t=e,n=Ye(PS),r=Ae("scrollbar");n||or(eue,"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(()=>JO[t.vertical?"vertical":"horizontal"]),d=L(()=>Jse({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,E=(T-z)*100*h.value/a.value[f.value.offset];n.wrapElement[f.value.scroll]=E*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 hk=Oe(tue,[["__file","thumb.vue"]]);const nue=Ne({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),rue=te({__name:"bar",props:nue,setup(e,{expose:t}){const n=e,r=Ye(PS),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(),H(fe,null,[I(hk,{move:a.value,ratio:u.value,size:o.value,always:d.always},null,8,["move","ratio","size","always"]),I(hk,{move:i.value,ratio:s.value,size:l.value,vertical:"",always:d.always},null,8,["move","ratio","size","always"])],64))}});var aue=Oe(rue,[["__file","bar.vue"]]);const iue=Ne({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,...Ar(["ariaLabel","ariaOrientation"])}),oue={scroll:({scrollTop:e,scrollLeft:t})=>[e,t].every(ot)},lue="ElScrollbar",sue=te({name:lue}),uue=te({...sue,props:iue,emits:oue,setup(e,{expose:t,emit:n}){const r=e,a=Ae("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(PS,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(),H("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(aue,{key:0,ref_key:"barRef",ref:c,always:_.always,"min-size":_.minSize},null,8,["always","min-size"]))],2))}});var cue=Oe(uue,[["__file","scrollbar.vue"]]);const $l=St(cue),RS=Symbol("popper"),QO=Symbol("popperContent"),fue=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],e$=Ne({role:{type:String,values:fue,default:"tooltip"}}),due=te({name:"ElPopper",inheritAttrs:!1}),hue=te({...due,props:e$,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(RS,s),(u,c)=>me(u.$slots,"default")}});var vue=Oe(hue,[["__file","popper.vue"]]);const t$=Ne({arrowOffset:{type:Number,default:5}}),pue=te({name:"ElPopperArrow",inheritAttrs:!1}),gue=te({...pue,props:t$,setup(e,{expose:t}){const n=e,r=Ae("popper"),{arrowOffset:a,arrowRef:i,arrowStyle:o}=Ye(QO,void 0);return ke(()=>n.arrowOffset,l=>{a.value=l}),wn(()=>{i.value=void 0}),t({arrowRef:i}),(l,s)=>(k(),H("span",{ref_key:"arrowRef",ref:i,class:q(y(r).e("arrow")),style:Be(y(o)),"data-popper-arrow":""},null,6))}});var mue=Oe(gue,[["__file","arrow.vue"]]);const yue="ElOnlyChild",n$=te({name:yue,setup(e,{slots:t,attrs:n}){var r;const a=Ye(DO),i=Loe((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=r$(l);return s?mt(wl(s,n),[[i]]):null}}});function r$(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 vk(n);case fe:return r$(n.children);default:return n}return vk(n)}return null}function vk(e){const t=Ae("only-child");return I("span",{class:t.e("content")},[e])}const a$=Ne({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}),bue=te({name:"ElPopperTrigger",inheritAttrs:!1}),_ue=te({...bue,props:a$,setup(e,{expose:t}){const n=e,{role:r,triggerRef:a}=Ye(RS,void 0);Doe(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=Ea(c))},{immediate:!0}),ke(a,(c,f)=>{u==null||u(),u=void 0,Ci(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})),Ci(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(n$),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 wue=Oe(_ue,[["__file","trigger.vue"]]);const nb="focus-trap.focus-after-trapped",rb="focus-trap.focus-after-released",xue="focus-trap.focusout-prevented",pk={cancelable:!0,bubbles:!1},Sue={cancelable:!0,bubbles:!1},gk="focusAfterTrapped",mk="focusAfterReleased",NS=Symbol("elFocusTrap"),OS=j(),Ey=j(0),$S=j(0);let hg=0;const i$=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},yk=(e,t)=>{for(const n of e)if(!Cue(n,t))return n},Cue=(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},Tue=e=>{const t=i$(e),n=yk(t,e),r=yk(t.reverse(),e);return[n,r]},kue=e=>e instanceof HTMLInputElement&&"select"in e,as=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),$S.value=window.performance.now(),e!==n&&kue(e)&&t&&e.select()}};function bk(e,t){const n=[...e],r=e.indexOf(t);return r!==-1&&n.splice(r,1),n}const zue=()=>{let e=[];return{push:r=>{const a=e[0];a&&r!==a&&a.pause(),e=bk(e,r),e.unshift(r)},remove:r=>{var a,i;e=bk(e,r),(i=(a=e[0])==null?void 0:a.resume)==null||i.call(a)}}},Mue=(e,t=!1)=>{const n=document.activeElement;for(const r of e)if(as(r,t),document.activeElement!==n)return},_k=zue(),Eue=()=>Ey.value>$S.value,vg=()=>{OS.value="pointer",Ey.value=window.performance.now()},wk=()=>{OS.value="keyboard",Ey.value=window.performance.now()},Aue=()=>(bt(()=>{hg===0&&(document.addEventListener("mousedown",vg),document.addEventListener("touchstart",vg),document.addEventListener("keydown",wk)),hg++}),wn(()=>{hg--,hg<=0&&(document.removeEventListener("mousedown",vg),document.removeEventListener("touchstart",vg),document.removeEventListener("keydown",wk))}),{focusReason:OS,lastUserFocusTimestamp:Ey,lastAutomatedFocusTimestamp:$S}),pg=e=>new CustomEvent(xue,{...Sue,detail:e}),Iue=te({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[gk,mk,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=j();let r,a;const{focusReason:i}=Aue();zoe(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,E]=Tue(T);if(z&&E){if(!w&&C===E){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(E,!0))}}else if(C===T){const D=pg({focusReason:i.value});t("focusout-prevented",D),D.defaultPrevented||v.preventDefault()}}};Rt(NS,{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(gk,v)},u=v=>t(mk,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){_k.push(o);const p=v.contains(document.activeElement)?r:document.activeElement;if(r=p,!v.contains(p)){const m=new Event(nb,pk);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"&&Mue(i$(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,{...pk,detail:{focusReason:i.value}});v.addEventListener(rb,u),v.dispatchEvent(p),!p.defaultPrevented&&(i.value=="keyboard"||!Eue()||v.contains(document.activeElement))&&as(r??document.body),v.removeEventListener(rb,u),_k.remove(o)}}return bt(()=>{e.trapped&&d(),ke(()=>e.trapped,v=>{v?d():h()})}),wn(()=>{e.trapped&&h()}),{onKeydown:l}}});function Due(e,t,n,r,a,i){return me(e.$slots,"default",{handleKeydown:e.onKeydown})}var xp=Oe(Iue,[["render",Due],["__file","focus-trap.vue"]]);const Lue=["fixed","absolute"],Pue=Ne({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:Yc,default:"bottom"},popperOptions:{type:he(Object),default:()=>({})},strategy:{type:String,values:Lue,default:"absolute"}}),o$=Ne({...Pue,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,...Ar(["ariaLabel"])}),Rue={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},Nue=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:a}=e,i={placement:n,strategy:r,...a,modifiers:[...$ue(e),...t]};return Vue(i,a==null?void 0:a.modifiers),i},Oue=e=>{if(Wt)return Ea(e)};function $ue(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 Vue(e,t){t&&(e.modifiers=[...e.modifiers,...t??[]])}const Bue=0,Fue=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:a}=Ye(RS,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:Bue;return{name:"arrow",enabled:!nO(b),options:{element:b,padding:_}}}),u=L(()=>({onFirstUpdate:()=>{v()},...Nue(e,[y(s),y(l)])})),c=L(()=>Oue(e.referenceEl)||y(r)),{attributes:f,state:d,styles:h,update:v,forceUpdate:p,instanceRef:g}=Soe(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}},Hue=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:a}=Qd(),i=Ae("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()}}},jue=(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")}}},que=te({name:"ElPopperContent"}),Gue=te({...que,props:o$,emits:Rue,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:a,trapped:i,onFocusAfterReleased:o,onFocusAfterTrapped:l,onFocusInTrap:s,onFocusoutPrevented:u,onReleaseRequested:c}=jue(r,n),{attributes:f,arrowRef:d,contentRef:h,styles:v,instanceRef:p,role:g,update:m}=Fue(r),{ariaModal:b,arrowStyle:_,contentAttrs:w,contentClass:x,contentStyle:S,updateZIndex:C}=Hue(r,{styles:v,attributes:f,role:g}),T=Ye(No,void 0),z=j();Rt(QO,{arrowStyle:_,arrowRef:d,arrowOffset:z}),T&&Rt(No,{...T,addInputId:sn,removeInputId:sn});let E;const A=($=!0)=>{m(),$&&C()},D=()=>{A(!1),r.visible&&r.focusOnShow?i.value=!0:r.visible===!1&&(i.value=!1)};return bt(()=>{ke(()=>r.triggerTargetEl,($,N)=>{E==null||E(),E=void 0;const R=y($||h.value),O=y(N||h.value);Ci(R)&&(E=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})),O!==R&&Ci(O)&&["role","aria-label","aria-modal","id"].forEach(B=>{O.removeAttribute(B)})},{immediate:!0}),ke(()=>r.visible,D,{immediate:!0})}),wn(()=>{E==null||E(),E=void 0}),t({popperContentRef:h,popperInstanceRef:p,updatePopper:A,contentStyle:S}),($,N)=>(k(),H("div",Pt({ref_key:"contentRef",ref:h},y(w),{style:y(S),class:y(x),tabindex:"-1",onMouseenter:N[0]||(N[0]=R=>$.$emit("mouseenter",R)),onMouseleave:N[1]||(N[1]=R=>$.$emit("mouseleave",R))}),[I(y(xp),{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 Wue=Oe(Gue,[["__file","content.vue"]]);const l$=St(vue),Ay=Symbol("elTooltip"),vr=Ne({...Aoe,...o$,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,...Ar(["ariaLabel"])}),w1=Ne({...a$,disabled:Boolean,trigger:{type:he([String,Array]),default:"hover"},triggerKeys:{type:he(Array),default:()=>[at.enter,at.space]}}),{useModelToggleProps:Uue,useModelToggleEmits:Yue,useModelToggle:Kue}=yO("visible"),Xue=Ne({...e$,...Uue,...vr,...w1,...t$,showArrow:{type:Boolean,default:!0}}),Zue=[...Yue,"before-show","before-hide","show","hide","open","close"],Jue=(e,t)=>We(e)?e.includes(t):e===t,uf=(e,t,n)=>r=>{Jue(y(e),t)&&n(r)},Que=te({name:"ElTooltipTrigger"}),ece=te({...Que,props:w1,setup(e,{expose:t}){const n=e,r=Ae("tooltip"),{controlled:a,id:i,open:o,onOpen:l,onClose:s,onToggle:u}=Ye(Ay,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(wue),{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 tce=Oe(ece,[["__file","trigger.vue"]]);const nce=te({name:"ElTooltipContent",inheritAttrs:!1}),rce=te({...nce,props:vr,setup(e,{expose:t}){const n=e,{selector:r}=IO(),a=Ae("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(Ay,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},E=Bn(z,()=>{n.enterable&&y(c)==="hover"&&d()}),A=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()},N=()=>{h(),O=V5(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 O;return ke(()=>y(u),B=>{B||O==null||O()},{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:N,onBeforeLeave:$},{default:M(()=>[y(_)?mt((k(),Y(y(Wue),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(E),onMouseleave:y(A),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 ace=Oe(rce,[["__file","content.vue"]]);const ice=["innerHTML"],oce={key:1},lce=te({name:"ElTooltip"}),sce=te({...lce,props:Xue,emits:Zue,setup(e,{expose:t,emit:n}){const r=e;Eoe();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}=Kue({indicator:s,toggleReason:u}),{onOpen:h,onClose:v}=Ioe({showAfter:mn(r,"showAfter"),hideAfter:mn(r,"hideAfter"),autoClose:mn(r,"autoClose"),open:c,close:f}),p=L(()=>Jn(r.visible)&&!d.value);Rt(Ay,{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 kR(()=>s.value&&f()),t({popperRef:i,contentRef:o,isFocusInsideContent:g,updatePopper:l,onOpen:h,onClose:v,hide:f}),(m,b)=>(k(),Y(y(l$),{ref_key:"popperRef",ref:i,role:m.role},{default:M(()=>[I(tce,{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(ace,{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(),H("span",{key:0,innerHTML:m.content},null,8,ice)):(k(),H("span",oce,U(m.content),1))]),m.showArrow?(k(),Y(y(mue),{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 uce=Oe(sce,[["__file","tooltip.vue"]]);const Xr=St(uce),cce=Ne({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,...Ar(["ariaLabel"])}),fce={[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)},dce=["aria-expanded","aria-owns"],hce={key:0},vce=["id","aria-selected","onClick"],s$="ElAutocomplete",pce=te({name:s$,inheritAttrs:!1}),gce=te({...pce,props:cce,emits:fce,setup(e,{expose:t,emit:n}){const r=e,a=dS(),i=qc(),o=ma(),l=Ae("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`)},E=()=>{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(s$,"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)},N=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)},O=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:de,scrollHeight:xe}=ve;de+xe>ce+ae.clientHeight&&(ae.scrollTop+=xe),de<ce&&(ae.scrollTop-=xe),p.value=le,s.value.ref.setAttribute("aria-activedescendant",`${w.value}-item-${p.value}`)};return V5(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:E},{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(),H("li",hce,[me(le.$slots,"loading",{},()=>[I(y(Ze),{class:q(y(l).is("loading"))},{default:M(()=>[I(y(iu))]),_:1},8,["class"])])])):(k(!0),H(fe,{key:1},we(v.value,(ie,ve)=>(k(),H("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,vce))),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:O,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:N}),_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,dce)]),_:3},8,["visible","placement","popper-class","teleported","transition"]))}});var mce=Oe(gce,[["__file","autocomplete.vue"]]);const yce=St(mce),bce=Ne({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"}}),_ce={error:e=>e instanceof Event},wce=["src","alt","srcset"],xce=te({name:"ElAvatar"}),Sce=te({...xce,props:bce,emits:_ce,setup(e,{emit:t}){const n=e,r=Ae("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(),H("span",{class:q(y(i)),style:Be(y(o))},[(u.src||u.srcSet)&&!a.value?(k(),H("img",{key:0,src:u.src,alt:u.alt,srcset:u.srcSet,style:Be(y(l)),onError:s},null,44,wce)):u.icon?(k(),Y(y(Ze),{key:1},{default:M(()=>[(k(),Y(It(u.icon)))]),_:1})):me(u.$slots,"default",{key:2})],6))}});var Cce=Oe(Sce,[["__file","avatar.vue"]]);const Tce=St(Cce),kce={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},zce={click:e=>e instanceof MouseEvent},Mce=(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=hN(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}},u$="ElBacktop",Ece=te({name:u$}),Ace=te({...Ece,props:kce,emits:zce,setup(e,{emit:t}){const n=e,r=Ae("backtop"),{handleClick:a,visible:i}=Mce(n,t,u$),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(),H("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(iae))]),_:1},8,["class"])])],6)):Q("v-if",!0)]),_:3},8,["name"]))}});var Ice=Oe(Ace,[["__file","backtop.vue"]]);const Dce=St(Ice),Lce=Ne({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}}),Pce=["textContent"],Rce=te({name:"ElBadge"}),Nce=te({...Rce,props:Lce,setup(e,{expose:t}){const n=e,r=Ae("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(),H("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,Pce),[[en,!o.hidden&&(y(a)||o.isDot)]])]),_:1},8,["name"])],2))}});var Oce=Oe(Nce,[["__file","badge.vue"]]);const c$=St(Oce),f$=Symbol("breadcrumbKey"),$ce=Ne({separator:{type:String,default:"/"},separatorIcon:{type:hn}}),Vce=["aria-label"],Bce=te({name:"ElBreadcrumb"}),Fce=te({...Bce,props:$ce,setup(e){const t=e,{t:n}=Xt(),r=Ae("breadcrumb"),a=j();return Rt(f$,t),bt(()=>{const i=a.value.querySelectorAll(`.${r.e("item")}`);i.length&&i[i.length-1].setAttribute("aria-current","page")}),(i,o)=>(k(),H("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,Vce))}});var Hce=Oe(Fce,[["__file","breadcrumb.vue"]]);const jce=Ne({to:{type:he([String,Object]),default:""},replace:{type:Boolean,default:!1}}),qce=te({name:"ElBreadcrumbItem"}),Gce=te({...qce,props:jce,setup(e){const t=e,n=xt(),r=Ye(f$,void 0),a=Ae("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(),H("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(),H("span",{key:1,class:q(y(a).e("separator")),role:"presentation"},U((f=y(r))==null?void 0:f.separator),3))],2)}}});var d$=Oe(Gce,[["__file","breadcrumb-item.vue"]]);const Wce=St(Hce,{BreadcrumbItem:d$}),Uce=Nn(d$),h$=Symbol("buttonGroupContextKey"),Yce=(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(h$,void 0),r=_p("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",""],Kce=["button","submit","reset"],E4=Ne({size:cr,disabled:Boolean,type:{type:String,values:M4,default:""},icon:{type:hn},nativeType:{type:String,values:Kce,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"}}),Xce={click:e=>e instanceof MouseEvent};function Or(e,t){Zce(e)&&(e="100%");var n=Jce(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 Zce(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function Jce(e){return typeof e=="string"&&e.indexOf("%")!==-1}function v$(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 Qce(e,t,n){return{r:Or(e,255)*255,g:Or(t,255)*255,b:Or(n,255)*255}}function xk(e,t,n){e=Or(e,255),t=Or(t,255),n=Or(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 efe(e,t,n){var r,a,i;if(e=Or(e,360),t=Or(t,100),n=Or(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 Sk(e,t,n){e=Or(e,255),t=Or(t,255),n=Or(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 tfe(e,t,n){e=Or(e,360)*6,t=Or(t,100),n=Or(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 Ck(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 nfe(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(rfe(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 rfe(e){return Math.round(parseFloat(e)*255).toString(16)}function Tk(e){return Na(e)/255}function Na(e){return parseInt(e,16)}function afe(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var A4={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 ife(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=sfe(e)),typeof e=="object"&&(Qo(e.r)&&Qo(e.g)&&Qo(e.b)?(t=Qce(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=tfe(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=efe(e.h,r,i),o=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=v$(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 ofe="[-\\+]?\\d+%?",lfe="[-\\+]?\\d*\\.\\d+%?",ys="(?:".concat(lfe,")|(?:").concat(ofe,")"),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*\\)?"),Ni={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 sfe(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(A4[e])e=A4[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ni.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ni.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ni.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ni.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ni.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ni.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ni.hex8.exec(e),n?{r:Na(n[1]),g:Na(n[2]),b:Na(n[3]),a:Tk(n[4]),format:t?"name":"hex8"}:(n=Ni.hex6.exec(e),n?{r:Na(n[1]),g:Na(n[2]),b:Na(n[3]),format:t?"name":"hex"}:(n=Ni.hex4.exec(e),n?{r:Na(n[1]+n[1]),g:Na(n[2]+n[2]),b:Na(n[3]+n[3]),a:Tk(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ni.hex3.exec(e),n?{r:Na(n[1]+n[1]),g:Na(n[2]+n[2]),b:Na(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Qo(e){return!!Ni.CSS_UNIT.exec(String(e))}var p$=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=afe(t)),this.originalInput=t;var a=ife(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=v$(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=Sk(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=Sk(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=xk(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=xk(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),Ck(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),nfe(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(Or(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(Or(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="#"+Ck(this.r,this.g,this.b,!1),n=0,r=Object.entries(A4);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 ufe(e){const t=ma(),n=Ae("button");return L(()=>{let r={};const a=e.color;if(a){const i=new p$(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 cfe=te({name:"ElButton"}),ffe=te({...cfe,props:E4,emits:Xce,setup(e,{expose:t,emit:n}){const r=e,a=ufe(r),i=Ae("button"),{_ref:o,_size:l,_type:s,_disabled:u,_props:c,shouldAddSpace:f,handleClick:d}=Yce(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(),H(fe,{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(),H("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 dfe=Oe(ffe,[["__file","button.vue"]]);const hfe={size:E4.size,type:E4.type},vfe=te({name:"ElButtonGroup"}),pfe=te({...vfe,props:hfe,setup(e){const t=e;Rt(h$,nn({size:mn(t,"size"),type:mn(t,"type")}));const n=Ae("button");return(r,a)=>(k(),H("div",{class:q(`${y(n).b("group")}`)},[me(r.$slots,"default")],2))}});var g$=Oe(pfe,[["__file","button-group.vue"]]);const _r=St(dfe,{ButtonGroup:g$}),m$=Nn(g$);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 y$={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(N){var R=["th","st","nd","rd"],O=N%100;return"["+N+(R[(O-20)%10]||R[O]||R[0])+"]"}},_=function(N,R,O){var B=String(N);return!B||B.length>=R?N:""+Array(R+1-B.length).join(O)+N},w={s:_,z:function(N){var R=-N.utcOffset(),O=Math.abs(R),B=Math.floor(O/60),V=O%60;return(R<=0?"+":"-")+_(B,2,"0")+":"+_(V,2,"0")},m:function N(R,O){if(R.date()<O.date())return-N(O,R);var B=12*(O.year()-R.year())+(O.month()-R.month()),V=R.clone().add(B,f),P=O-V<0,W=R.clone().add(B+(P?-1:1),f);return+(-(B+(O-V)/(P?V-W:W-V))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:f,y:h,w:c,d:u,D:v,h:s,m:l,s:o,ms:i,Q:d}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},x="en",S={};S[x]=b;var C="$isDayjsObject",T=function(N){return N instanceof D||!(!N||!N[C])},z=function N(R,O,B){var V;if(!R)return x;if(typeof R=="string"){var P=R.toLowerCase();S[P]&&(V=P),O&&(S[P]=O,V=P);var W=R.split("-");if(!V&&W.length>1)return N(W[0])}else{var Z=R.name;S[Z]=R,V=Z}return!B&&V&&(x=V),V||!B&&x},E=function(N,R){if(T(N))return N.clone();var O=typeof R=="object"?R:{};return O.date=N,O.args=arguments,new D(O)},A=w;A.l=z,A.i=T,A.w=function(N,R){return E(N,{locale:R.$L,utc:R.$u,x:R.$x,$offset:R.$offset})};var D=function(){function N(O){this.$L=z(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[C]=!0}var R=N.prototype;return R.parse=function(O){this.$d=function(B){var V=B.date,P=B.utc;if(V===null)return new Date(NaN);if(A.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)}(O),this.init()},R.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},R.$utils=function(){return A},R.isValid=function(){return this.$d.toString()!==p},R.isSame=function(O,B){var V=E(O);return this.startOf(B)<=V&&V<=this.endOf(B)},R.isAfter=function(O,B){return E(O)<this.startOf(B)},R.isBefore=function(O,B){return this.endOf(B)<E(O)},R.$g=function(O,B,V){return A.u(O)?this[B]:this.set(V,O)},R.unix=function(){return Math.floor(this.valueOf()/1e3)},R.valueOf=function(){return this.$d.getTime()},R.startOf=function(O,B){var V=this,P=!!A.u(B)||B,W=A.p(O),Z=function(ve,ce){var de=A.w(V.$u?Date.UTC(V.$y,ce,ve):new Date(V.$y,ce,ve),V);return P?de:de.endOf(u)},ee=function(ve,ce){return A.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(O){return this.startOf(O,!1)},R.$set=function(O,B){var V,P=A.p(O),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(O,B){return this.clone().$set(O,B)},R.get=function(O){return this[A.p(O)]()},R.add=function(O,B){var V,P=this;O=Number(O);var W=A.p(B),Z=function(ue){var ye=E(P);return A.w(ye.date(ye.date()+Math.round(ue*O)),P)};if(W===f)return this.set(f,this.$M+O);if(W===h)return this.set(h,this.$y+O);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()+O*ee;return A.w(re,this)},R.subtract=function(O,B){return this.add(-1*O,B)},R.format=function(O){var B=this,V=this.$locale();if(!this.isValid())return V.invalidDate||p;var P=O||"YYYY-MM-DDTHH:mm:ssZ",W=A.z(this),Z=this.$H,ee=this.$m,re=this.$M,ue=V.weekdays,ye=V.months,le=V.meridiem,ae=function(ce,de,xe,J){return ce&&(ce[de]||ce(B,P))||xe[de].slice(0,J)},ie=function(ce){return A.s(Z%12||12,ce,"0")},ve=le||function(ce,de,xe){var J=ce<12?"AM":"PM";return xe?J.toLowerCase():J};return P.replace(m,function(ce,de){return de||function(xe){switch(xe){case"YY":return String(B.$y).slice(-2);case"YYYY":return A.s(B.$y,4,"0");case"M":return re+1;case"MM":return A.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 A.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 A.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 A.s(ee,2,"0");case"s":return String(B.$s);case"ss":return A.s(B.$s,2,"0");case"SSS":return A.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(O,B,V){var P,W=this,Z=A.p(B),ee=E(O),re=(ee.utcOffset()-this.utcOffset())*r,ue=this-ee,ye=function(){return A.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:A.a(P)},R.daysInMonth=function(){return this.endOf(f).$D},R.$locale=function(){return S[this.$L]},R.locale=function(O,B){if(!O)return this.$L;var V=this.clone(),P=z(O,B,!0);return P&&(V.$L=P),V},R.clone=function(){return A.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()},N}(),$=D.prototype;return E.prototype=$,[["$ms",i],["$s",o],["$m",l],["$H",s],["$W",u],["$M",f],["$y",h],["$D",v]].forEach(function(N){$[N[1]]=function(R){return this.$g(R,N[0],N[1])}}),E.extend=function(N,R){return N.$i||(N(R,D,E),N.$i=!0),E},E.locale=z,E.isDayjs=T,E.unix=function(N){return E(1e3*N)},E.en=S[x],E.Ls=S,E.p={},E})})(y$);var gfe=y$.exports;const Tt=Bl(gfe);var b$={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,E,A){var D=A&&A.toUpperCase();return E||m[A]||n[A]||m[D].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function($,N,R){return N||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 E={},A=0,D=0;A<_;A+=1){var $=b[A];if(typeof $=="string")D+=$.length;else{var N=$.regex,R=$.parser,O=z.slice(D),B=N.exec(O)[0];R.call(E,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}}(E),E}}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,E=C[3]===!0,A=z||E,D=C[2];E&&(D=C[2]),l=this.$locale(),!z&&D&&(l=m.Ls[D]),this.$d=function(O,B,V){try{if(["x","X"].indexOf(B)>-1)return new Date((B==="X"?1e3:1)*O);var P=v(B)(O),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(),de=0;W&&!Z||(de=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,de,ve,xe,J,oe,pe+60*ae.offset*1e3)):V?new Date(Date.UTC(ce,de,ve,xe,J,oe,pe)):new Date(ce,de,ve,xe,J,oe,pe)}catch{return new Date("")}}(x,T,S),this.init(),D&&D!==!0&&(this.$L=this.locale(D).$L),A&&x!=this.format(T)&&(this.$d=new Date("")),l={}}else if(T instanceof Array)for(var $=T.length,N=1;N<=$;N+=1){C[1]=T[N-1];var R=m.apply(this,C);if(R.isValid()){this.$d=R.$d,this.$L=R.$L,this.init();break}N===$&&(this.$d=new Date(""))}else _.call(this,w)}}})})(b$);var mfe=b$.exports;const VS=Bl(mfe),kk=["hours","minutes","seconds"],I4="HH:mm:ss",Rf="YYYY-MM-DD",yfe={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()),_$=e=>e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),w$=e=>e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),zk=function(e,t){const n=Mc(e),r=Mc(t);return n&&r?e.getTime()===t.getTime():!n&&!r?e===t:!1},Mk=function(e,t){const n=We(e),r=We(t);return n&&r?e.length!==t.length?!1:e.every((a,i)=>zk(a,t[i])):!n&&!r?zk(e,t):!1},Ek=function(e,t,n){const r=di(t)||t==="x"?Tt(e).locale(n):Tt(e,t).locale(n);return r.isValid()?r:void 0},Ak=function(e,t,n){return di(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},x$=Ne({disabledHours:{type:he(Function)},disabledMinutes:{type:he(Function)},disabledSeconds:{type:he(Function)}}),S$=Ne({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),BS=Ne({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,...x$,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,...Ar(["ariaLabel"])}),bfe=["id","name","placeholder","value","disabled","readonly"],_fe=["id","name","placeholder","value","disabled","readonly"],wfe=te({name:"Picker"}),xfe=te({...wfe,props:BS,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=Ae("date"),l=Ae("input"),s=Ae("range"),{form:u,formItem:c}=Qr(),f=Ye("ElPopperOptions",{}),{valueOnClear:d}=zy(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"),de.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||!Mk(be,m.value))&&(n("change",be),r.validateEvent&&(c==null||c.validate("change").catch(Lt=>void 0)))},C=be=>{if(!Mk(r.modelValue,be)){let Qe;We(be)?Qe=be.map(Lt=>Ak(Lt,r.valueFormat,i.value)):be&&(Qe=Ak(be,r.valueFormat,i.value)),n("update:modelValue",be&&Qe,i.value)}},T=be=>{n("keydown",be)},z=L(()=>{if(v.value){const be=Ee.value?v.value:v.value.$el;return Array.from(be.querySelectorAll("input"))}return[]}),E=(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()))},A=()=>{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},N=()=>{n("visible-change",!0)},R=be=>{(be==null?void 0:be.key)===at.esc&&P(!0,!0)},O=()=>{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&&Ee.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=>Ek(Qe,r.valueFormat,i.value)):be=Ek(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?sO:nae)),de=j(!1),xe=be=>{r.readonly||re.value||de.value&&(be.stopPropagation(),A(),C(d.value),S(d.value,!0),de.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&&(de.value=!0)},Te=()=>{de.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)},Ee=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(Ee)?y(v):(be=y(v))==null?void 0:be.$el});V5(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),ct=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)},At=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:N,onHide:O}),{default:M(()=>[y(Ee)?(k(),H("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:ct},[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,bfe),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,_fe),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:At,onFocus:W,onBlur:ee,onKeydown:ct,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(()=>[de.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:E,onSetPickerOption:_e,onCalendarChange:Ie,onPanelChange:Xe,onKeydown:R,onMousedown:Qe[1]||(Qe[1]=ft(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-options"]))}});var C$=Oe(xfe,[["__file","picker.vue"]]);const Sfe=Ne({...S$,datetimeRole:String,parsedValue:{type:he(Object)}}),T$=({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)},k$=(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)))}),z$=(e,t,n)=>{const{getHoursList:r,getMinutesList:a,getSecondsList:i}=k$(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))}},M$=e=>{const t=j(e.parsedValue);return ke(()=>e.visible,n=>{n||(t.value=e.parsedValue)}),t},is=new Map;let Ik;Wt&&(document.addEventListener("mousedown",e=>Ik=e),document.addEventListener("mouseup",e=>{for(const t of is.values())for(const{documentHandler:n}of t)n(e,Ik)}));function Dk(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:Ci(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:Dk(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:Dk(e,t),bindingFn:t.value};r>=0?n.splice(r,1,a):n.push(a)},unmounted(e){is.delete(e)}},Cfe=100,Tfe=600,G2={beforeMount(e,t){const n=t.value,{interval:r=Cfe,delay:a=Tfe}=ut(n)?{}:n;let i,o;const l=()=>ut(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=[],Lk=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())}},kfe={beforeMount(e){e[D4]=HT(e),tc.push(e),tc.length<=1&&document.addEventListener("keydown",Lk)},updated(e){nt(()=>{e[D4]=HT(e)})},unmounted(){tc.shift(),tc.length===0&&document.removeEventListener("keydown",Lk)}};var Pk=!1,Uu,L4,P4,O0,$0,E$,V0,R4,N4,O4,A$,$4,V4,I$,D$;function _a(){if(!Pk){Pk=!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),O4=/Android/i.exec(e),I$=/FBAN\/\w+;/i.exec(e),D$=/Mobile/i.exec(e),A$=!!/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);E$=r?parseFloat(r[1])+4:Uu,L4=t[2]?parseFloat(t[2]):NaN,P4=t[3]?parseFloat(t[3]):NaN,O0=t[4]?parseFloat(t[4]):NaN,O0?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),$0=t&&t[1]?parseFloat(t[1]):NaN):$0=NaN}else Uu=L4=P4=$0=O0=NaN;if(n){if(n[1]){var a=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);V0=a?parseFloat(a[1].replace("_",".")):!0}else V0=!1;R4=!!n[2],N4=!!n[3]}else V0=R4=N4=!1}}var B4={ie:function(){return _a()||Uu},ieCompatibilityMode:function(){return _a()||E$>Uu},ie64:function(){return B4.ie()&&A$},firefox:function(){return _a()||L4},opera:function(){return _a()||P4},webkit:function(){return _a()||O0},safari:function(){return B4.webkit()},chrome:function(){return _a()||$0},windows:function(){return _a()||R4},osx:function(){return _a()||V0},linux:function(){return _a()||N4},iphone:function(){return _a()||$4},mobile:function(){return _a()||$4||V4||O4||D$},nativeApp:function(){return _a()||I$},android:function(){return _a()||O4},ipad:function(){return _a()||V4}},zfe=B4,yg=!!(typeof window<"u"&&window.document&&window.document.createElement),Mfe={canUseDOM:yg,canUseWorkers:typeof Worker<"u",canUseEventListeners:yg&&!!(window.addEventListener||window.attachEvent),canUseViewport:yg&&!!window.screen,isInWorker:!yg},L$=Mfe,P$;L$.canUseDOM&&(P$=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function Efe(e,t){if(!L$.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&&P$&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var Afe=Efe,Rk=10,Nk=40,Ok=800;function R$(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*Rk,a=n*Rk,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||a)&&e.deltaMode&&(e.deltaMode==1?(r*=Nk,a*=Nk):(r*=Ok,a*=Ok)),r&&!t&&(t=r<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:a}}R$.getEventType=function(){return zfe.firefox()?"DOMMouseScroll":Afe("wheel")?"wheel":"mousewheel"};var Ife=R$;/**
- * Checks if an event is supported in the current execution environment.
- *
- * NOTE: This will not work correctly for non-generic events such as `change`,
- * `reset`, `load`, `error`, and `select`.
- *
- * Borrows from Modernizr.
- *
- * @param {string} eventNameSuffix Event name, e.g. "click".
- * @param {?boolean} capture Check if the capture phase is supported.
- * @return {boolean} True if the event is supported.
- * @internal
- * @license Modernizr 3.0.0pre (Custom Build) | MIT
- */const Dfe=function(e,t){if(e&&e.addEventListener){const n=function(r){const a=Ife(r);t&&Reflect.apply(t,this,[r,a])};e.addEventListener("wheel",n,{passive:!0})}},Lfe={beforeMount(e,t){Dfe(e,t.value)}},Pfe=Ne({role:{type:String,required:!0},spinnerDate:{type:he(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:he(String),default:""},...x$}),Rfe=["onClick"],Nfe=["onMouseenter"],Ofe=te({__name:"basic-time-spinner",props:Pfe,emits:["change","select-range","set-option"],setup(e,{emit:t}){const n=e,r=Ae("time"),{getHoursList:a,getMinutesList:i,getSecondsList:o}=k$(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?kk:kk.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=()=>{A(1)},E=()=>{A(-1)},A=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)},N=(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-(O(P)*.5-10)/T(P)+3)/T(P)),P==="hours"?23:59);$(P,W)},O=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`,A]),t("set-option",[`${n.role}_emitSelectRange`,_]),ke(()=>n.spinnerDate,()=>{l||x()}),(P,W)=>(k(),H("div",{class:q([y(r).b("spinner"),{"has-seconds":P.showSeconds}])},[P.arrowControl?Q("v-if",!0):(k(!0),H(fe,{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),H(fe,null,we(y(p)[Z],(ee,re)=>(k(),H("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=>N(Z,{value:re,disabled:ee})},[Z==="hours"?(k(),H(fe,{key:0},[G(U(("0"+(P.amPmMode?re%12||12:re)).slice(-2))+U(b(re)),1)],64)):(k(),H(fe,{key:1},[G(U(("0"+re).slice(-2)),1)],64))],10,Rfe))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),P.arrowControl?(k(!0),H(fe,{key:1},we(y(h),Z=>(k(),H("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(aS))]),_:1},8,["class"])),[[y(G2),E]]),mt((k(),Y(y(Ze),{class:q(["arrow-down",y(r).be("spinner","arrow")])},{default:M(()=>[I(y(Nl))]),_:1},8,["class"])),[[y(G2),z]]),X("ul",{class:q(y(r).be("spinner","list"))},[(k(!0),H(fe,null,we(y(g)[Z],(ee,re)=>(k(),H("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(),H(fe,{key:0},[Z==="hours"?(k(),H(fe,{key:0},[G(U(("0"+(P.amPmMode?ee%12||12:ee)).slice(-2))+U(b(ee)),1)],64)):(k(),H(fe,{key:1},[G(U(("0"+ee).slice(-2)),1)],64))],64)):Q("v-if",!0)],2))),128))],2)],42,Nfe))),128)):Q("v-if",!0)],2))}});var F4=Oe(Ofe,[["__file","basic-time-spinner.vue"]]);const $fe=te({__name:"panel-time-pick",props:Sfe,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}=z$(i,o,l),d=Ae("time"),{t:h,lang:v}=Xt(),p=j([0,2]),g=M$(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=N(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=N(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;A.start_emitSelectRange(W[ee])},E=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;A.start_scrollDown(ue),V.preventDefault();return}},{timePickerOptions:A,onSetOption:D,getAvailableTime:$}=T$({getAvailableHours:u,getAvailableMinutes:c,getAvailableSeconds:f}),N=V=>$(V,n.datetimeRole||"",!0),R=V=>V?Tt(V,n.format).locale(v.value):null,O=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",O]),t("set-picker-option",["parseUserInput",R]),t("set-picker-option",["handleKeydownInput",E]),t("set-picker-option",["getRangeAvailableTime",N]),t("set-picker-option",["getDefaultValue",B]),(V,P)=>(k(),Y(ir,{name:y(m)},{default:M(()=>[V.actualVisible||V.visible?(k(),H("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=Oe($fe,[["__file","panel-time-pick.vue"]]);const Vfe=Ne({...S$,parsedValue:{type:he(Array)}}),Bfe=["disabled"],Ffe=te({__name:"panel-time-range",props:Vfe,emits:["pick","select-range","set-picker-option"],setup(e,{emit:t}){const n=e,r=(de,xe)=>{const J=[];for(let oe=de;oe<=xe;oe++)J.push(oe);return J},{t:a,lang:i}=Xt(),o=Ae("time"),l=Ae("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=M$(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=(de=!1)=>{t("pick",[g.value,m.value],de)},C=de=>{E(de.millisecond(0),m.value)},T=de=>{E(g.value,de.millisecond(0))},z=de=>{const xe=de.map(oe=>Tt(oe).locale(i.value)),J=Z(xe);return xe[0].isSame(J[0])&&xe[1].isSame(J[1])},E=(de,xe)=>{t("pick",[de,xe],!0)},A=L(()=>g.value>m.value),D=j([0,2]),$=(de,xe)=>{t("select-range",de,xe,"min"),D.value=[de,xe]},N=L(()=>w.value?11:8),R=(de,xe)=>{t("select-range",de,xe,"max");const J=y(N);D.value=[de+J,xe+J]},O=de=>{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])+de+xe.length)%xe.length,Te=xe.length/2;pe<Te?ye.start_emitSelectRange(J[pe]):ye.end_emitSelectRange(J[pe-Te])},B=de=>{const xe=de.code,{left:J,right:oe,up:pe,down:Te}=at;if([J,oe].includes(xe)){O(xe===J?-1:1),de.preventDefault();return}if([pe,Te].includes(xe)){const ge=xe===pe?-1:1,Ee=D.value[0]<N.value?"start":"end";ye[`${Ee}_scrollDown`](ge),de.preventDefault();return}},V=(de,xe)=>{const J=c?c(de):[],oe=de==="start",Te=(xe||(oe?m.value:g.value)).hour(),ge=oe?r(Te+1,23):r(0,Te-1);return J3(J,ge)},P=(de,xe,J)=>{const oe=f?f(de,xe):[],pe=xe==="start",Te=J||(pe?m.value:g.value),ge=Te.hour();if(de!==ge)return oe;const Ee=Te.minute(),De=pe?r(Ee+1,59):r(0,Ee-1);return J3(oe,De)},W=(de,xe,J,oe)=>{const pe=d?d(de,xe,J):[],Te=J==="start",ge=oe||(Te?m.value:g.value),Ee=ge.hour(),De=ge.minute();if(de!==Ee||xe!==De)return pe;const Pe=ge.second(),Re=Te?r(Pe+1,59):r(0,Pe-1);return J3(pe,Re)},Z=([de,xe])=>[le(de,"start",!0,xe),le(xe,"end",!1,de)],{getAvailableHours:ee,getAvailableMinutes:re,getAvailableSeconds:ue}=z$(V,P,W),{timePickerOptions:ye,getAvailableTime:le,onSetOption:ae}=T$({getAvailableHours:ee,getAvailableMinutes:re,getAvailableSeconds:ue}),ie=de=>de?We(de)?de.map(xe=>Tt(xe,n.format).locale(i.value)):Tt(de,n.format).locale(i.value):null,ve=de=>de?We(de)?de.map(xe=>xe.format(n.format)):de.format(n.format):null,ce=()=>{if(We(h))return h.map(xe=>Tt(xe).locale(i.value));const de=Tt(h).locale(i.value);return[de,de.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]),(de,xe)=>de.actualVisible?(k(),H("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(A),onClick:xe[1]||(xe[1]=J=>S())},U(y(a)("el.datepicker.confirm")),11,Bfe)],2)],2)):Q("v-if",!0)}});var Hfe=Oe(Ffe,[["__file","panel-time-range.vue"]]);Tt.extend(VS);var jfe=te({name:"ElTimePicker",install:null,props:{...BS,isRange:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,t){const n=j(),[r,a]=e.isRange?["timerange",Hfe]:["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(C$,Pt(e,{ref:n,type:r,format:l,"onUpdate:modelValue":i}),{default:s=>I(a,s,null)})}}});const B0=jfe;B0.install=e=>{e.component(B0.name,B0)};const qfe=B0,Gfe=(e,t)=>{const n=e.subtract(1,"month").endOf("month").date();return Ds(t).map((r,a)=>n-(t-a-1))},Wfe=e=>{const t=e.daysInMonth();return Ds(t).map((n,r)=>r+1)},Ufe=e=>Ds(e.length/7).map(t=>{const n=t*7;return e.slice(n,n+7)}),Yfe=Ne({selectedDay:{type:he(Object)},range:{type:he(Array)},date:{type:he(Object),required:!0},hideHeader:{type:Boolean}}),Kfe={pick:e=>zt(e)};var N$={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)}}})})(N$);var Xfe=N$.exports;const O$=Bl(Xfe),Zfe=(e,t)=>{Tt.extend(O$);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=Gfe(e.date,(h-n+7)%7).map(b=>({text:b,type:"prev"})),p=Wfe(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 Ufe(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()}}}},Jfe={key:0},Qfe=["onClick"],ede=te({name:"DateTable"}),tde=te({...ede,props:Yfe,emits:Kfe,setup(e,{expose:t,emit:n}){const r=e,{isInRange:a,now:i,rows:o,weekDays:l,getFormattedDate:s,handlePickDay:u,getSlotData:c}=Zfe(r,n),f=Ae("calendar-table"),d=Ae("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(),H("table",{class:q([y(f).b(),y(f).is("range",y(a))]),cellspacing:"0",cellpadding:"0"},[v.hideHeader?Q("v-if",!0):(k(),H("thead",Jfe,[(k(!0),H(fe,null,we(y(l),g=>(k(),H("th",{key:g},U(g),1))),128))])),X("tbody",null,[(k(!0),H(fe,null,we(y(o),(g,m)=>(k(),H("tr",{key:m,class:q({[y(f).e("row")]:!0,[y(f).em("row","hide-border")]:m===0&&v.hideHeader})},[(k(!0),H(fe,null,we(g,(b,_)=>(k(),H("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,Qfe))),128))],2))),128))])],2))}});var $k=Oe(tde,[["__file","date-table.vue"]]);const nde=(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]]},rde=(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]]},ade=(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?nde(b,_):w+2===x||(w+1)%11===x?rde(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}},ide=e=>We(e)&&e.length===2&&e.every(t=>Mc(t)),ode=Ne({modelValue:{type:Date},range:{type:he(Array),validator:ide}}),lde={[Mt]:e=>Mc(e),[sa]:e=>Mc(e)},sde="ElCalendar",ude=te({name:sde}),cde=te({...ude,props:ode,emits:lde,setup(e,{expose:t,emit:n}){const r=e,a=Ae("calendar"),{calculateValidatedDateRange:i,date:o,pickDay:l,realSelectedDay:s,selectDate:u,validatedRange:c}=ade(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(),H("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(),H("div",{key:0,class:q(y(a).e("button-group"))},[I(y(m$),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(),H("div",{key:0,class:q(y(a).e("body"))},[I($k,{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(),H("div",{key:1,class:q(y(a).e("body"))},[(k(!0),H(fe,null,we(y(c),(p,g)=>(k(),Y($k,{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 fde=Oe(cde,[["__file","calendar.vue"]]);const dde=St(fde),hde=Ne({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"}}),vde=te({name:"ElCard"}),pde=te({...vde,props:hde,setup(e){const t=Ae("card");return(n,r)=>(k(),H("div",{class:q([y(t).b(),y(t).is(`${n.shadow}-shadow`)])},[n.$slots.header||n.header?(k(),H("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(),H("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 gde=Oe(pde,[["__file","card.vue"]]);const mde=St(gde),yde=Ne({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}}),bde={change:(e,t)=>[e,t].every(ot)},$$=Symbol("carouselContextKey"),Vk=300,_de=(e,t,n)=>{const{children:r,addChild:a,removeChild:i}=DS(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=>{E(le)},Vk,{trailing:!0}),x=pc(le=>{P(le)},Vk),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 E(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&&A(ie),ee()}function A(le){r.value.forEach((ae,ie)=>{ae.translateItem(ie,l.value,le)})}function D(le,ae){var ie,ve,ce,de;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,Ee=xe[0].states.active,De=(ve=(ie=xe[oe])==null?void 0:ie.states)==null?void 0:ve.active,Pe=(de=(ce=xe[pe])==null?void 0:ce.states)==null?void 0:de.active;return ae===Te&&Ee||De?"left":ae===0&&ge||Pe?"right":!1}function $(){u.value=!0,e.pauseOnHover&&C()}function N(){u.value=!1,T()}function R(){v.value=!1}function O(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(){E(l.value-1)}function Z(){E(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(de=>Dn(de)&&de.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)=>{A(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,()=>{E(l.value)}),ke(()=>e.interval,()=>{ee()});const ye=xn();return bt(()=>{ke(()=>r.value,()=>{r.value.length>0&&E(e.initialIndex)},{immediate:!0}),ye.value=Pn(c.value,()=>{A()}),T()}),wn(()=>{C(),c.value&&ye.value&&ye.value.stop()}),Rt($$,{root:c,isCardType:m,isVertical:b,items:r,loop:e.loop,addItem:a,removeItem:i,setActiveItem:E,setContainerHeight:re}),{root:c,activeIndex:l,arrowDisplay:p,hasLabel:g,hover:u,isCardType:m,isTransitioning:v,items:r,isVertical:b,containerStyle:_,isItemsTwoLength:d,handleButtonEnter:O,handleTransitionEnd:R,handleButtonLeave:B,handleIndicatorClick:V,handleMouseEnter:$,handleMouseLeave:N,setActiveItem:E,prev:W,next:Z,PlaceholderItem:ue,isTwoLengthShow:S,throttledArrowClick:w,throttledIndicatorHover:x}},wde=["aria-label"],xde=["aria-label"],Sde=["onMouseenter","onClick"],Cde=["aria-label"],Tde={key:0},kde={key:3,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},zde=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),Mde=[zde],Ede="ElCarousel",Ade=te({name:Ede}),Ide=te({...Ade,props:yde,emits:bde,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:E}=_de(r,n),A=Ae("carousel"),{t:D}=Xt(),$=L(()=>{const O=[A.b(),A.m(r.direction)];return y(u)&&O.push(A.m("card")),O}),N=L(()=>{const O=[A.e("container")];return r.motionBlur&&y(p)&&O.push(y(f)?`${A.namespace.value}-transitioning-vertical`:`${A.namespace.value}-transitioning`),O}),R=L(()=>{const O=[A.e("indicators"),A.em("indicators",r.direction)];return y(l)&&O.push(A.em("indicators","labels")),r.indicatorPosition==="outside"&&O.push(A.em("indicators","outside")),y(f)&&O.push(A.em("indicators","right")),O});return t({setActiveItem:w,prev:x,next:S}),(O,B)=>(k(),H("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(A).e("arrow"),y(A).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,wde),[[en,(O.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(A).e("arrow"),y(A).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,xde),[[en,(O.arrow==="always"||y(s))&&(r.loop||y(i)<y(c).length-1)]])]),_:1})):Q("v-if",!0),X("div",{class:q(y(N)),style:Be(y(d)),onTransitionend:B[6]||(B[6]=(...V)=>y(_)&&y(_)(...V))},[I(y(C)),me(O.$slots,"default")],38),O.indicatorPosition!=="none"?(k(),H("ul",{key:2,class:q(y(R))},[(k(!0),H(fe,null,we(y(c),(V,P)=>mt((k(),H("li",{key:P,class:q([y(A).e("indicator"),y(A).em("indicator",O.direction),y(A).is("active",P===y(i))]),onMouseenter:W=>y(E)(P),onClick:ft(W=>y(g)(P),["stop"])},[X("button",{class:q(y(A).e("button")),"aria-label":y(D)("el.carousel.indicator",{index:P+1})},[y(l)?(k(),H("span",Tde,U(V.props.label),1)):Q("v-if",!0)],10,Cde)],42,Sde)),[[en,y(T)(P)]])),128))],2)):Q("v-if",!0),r.motionBlur?(k(),H("svg",kde,Mde)):Q("v-if",!0)],34))}});var Dde=Oe(Ide,[["__file","carousel.vue"]]);const Lde=Ne({name:{type:String,default:""},label:{type:[String,Number],default:""}}),Pde=(e,t)=>{const n=Ye($$),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,E=S/2;return x===0&&w===C?-1:x===C&&w===0?S:w<T&&x-w>=E?S+1:w>z&&w-x>=E?-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,E=w===x;!T&&!Xn(S)&&(d.value=E||w===S),!E&&z>2&&n.loop&&(w=p(w,x,z));const A=y(v);u.value=E,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,A),c.value=!0,E&&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:_}},Rde=te({name:"ElCarouselItem"}),Nde=te({...Rde,props:Lde,setup(e){const t=e,n=Ae("carousel"),{carouselItemRef:r,active:a,animating:i,hover:o,inStage:l,isVertical:s,translate:u,isCardType:c,scale:f,ready:d,handleItemClick:h}=Pde(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(),H("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(),H("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 V$=Oe(Nde,[["__file","carousel-item.vue"]]);const Ode=St(Dde,{CarouselItem:V$}),$de=Nn(V$),B$={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},...Ar(["ariaControls"])},F$={[Mt]:e=>vt(e)||ot(e)||Jn(e),change:e=>vt(e)||ot(e)||Jn(e)},nh=Symbol("checkboxGroupContextKey"),Vde=({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}},Bde=(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}},Fde=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}},Hde=(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}},H$=(e,t)=>{const{formItem:n}=Qr(),{model:r,isGroup:a,isLimitExceeded:i}=Fde(e),{isFocused:o,isChecked:l,checkboxButtonSize:s,checkboxSize:u,hasOwnLabel:c,actualValue:f}=Hde(e,t,{model:r}),{isDisabled:d}=Vde({model:r,isChecked:l}),{inputId:h,isLabeledByFormItem:v}=ao(e,{formItemContext:n,disableIdGeneration:c,disableIdManagement:a}),{handleChange:p,onClickRoot:g}=Bde(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}},jde=["id","indeterminate","name","tabindex","disabled","true-value","false-value"],qde=["id","indeterminate","disabled","value","name","tabindex"],Gde=te({name:"ElCheckbox"}),Wde=te({...Gde,props:B$,emits:F$,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}=H$(t,n),v=Ae("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(),H("input",{key:0,id:y(r),"onUpdate:modelValue":b[0]||(b[0]=x=>st(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,jde)),[[L2,y(c)]]):mt((k(),H("input",{key:1,id:y(r),"onUpdate:modelValue":b[5]||(b[5]=x=>st(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,qde)),[[L2,y(c)]]),X("span",{class:q(y(v).e("inner"))},null,2)],2),y(u)?(k(),H("span",{key:0,class:q(y(v).e("label"))},[me(m.$slots,"default"),m.$slots.default?Q("v-if",!0):(k(),H(fe,{key:0},[G(U(m.label),1)],64))],2)):Q("v-if",!0)]}),_:3},8,["class","aria-controls","onClick"]))}});var Ude=Oe(Wde,[["__file","checkbox.vue"]]);const Yde=["name","tabindex","disabled","true-value","false-value"],Kde=["name","tabindex","disabled","value"],Xde=te({name:"ElCheckboxButton"}),Zde=te({...Xde,props:B$,emits:F$,setup(e){const t=e,n=Tr(),{isFocused:r,isChecked:a,isDisabled:i,checkboxButtonSize:o,model:l,actualValue:s,handleChange:u}=H$(t,n),c=Ye(nh,void 0),f=Ae("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(),H("label",{class:q(y(h))},[v.trueValue||v.falseValue||v.trueLabel||v.falseLabel?mt((k(),H("input",{key:0,"onUpdate:modelValue":p[0]||(p[0]=b=>st(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,Yde)),[[L2,y(l)]]):mt((k(),H("input",{key:1,"onUpdate:modelValue":p[5]||(p[5]=b=>st(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,Kde)),[[L2,y(l)]]),v.$slots.default||v.label?(k(),H("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 j$=Oe(Zde,[["__file","checkbox-button.vue"]]);const Jde=Ne({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},...Ar(["ariaLabel"])}),Qde={[Mt]:e=>We(e),change:e=>We(e)},ehe=te({name:"ElCheckboxGroup"}),the=te({...ehe,props:Jde,emits:Qde,setup(e,{emit:t}){const n=e,r=Ae("checkbox"),{formItem:a}=Qr(),{inputId:i,isLabeledByFormItem:o}=ao(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,{...So(Er(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 q$=Oe(the,[["__file","checkbox-group.vue"]]);const zi=St(Ude,{CheckboxButton:j$,CheckboxGroup:q$}),nhe=Nn(j$),G$=Nn(q$),W$=Ne({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}}),rhe=Ne({...W$,border:Boolean}),U$={[Mt]:e=>vt(e)||ot(e)||Jn(e),[Tn]:e=>vt(e)||ot(e)||Jn(e)},Y$=Symbol("radioGroupKey"),K$=(e,t)=>{const n=j(),r=Ye(Y$,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}},ahe=["value","name","disabled"],ihe=te({name:"ElRadio"}),ohe=te({...ihe,props:rhe,emits:U$,setup(e,{emit:t}){const n=e,r=Ae("radio"),{radioRef:a,radioGroup:i,focus:o,size:l,disabled:s,modelValue:u,actualValue:c}=K$(n,t);function f(){nt(()=>t("change",u.value))}return(d,h)=>{var v;return k(),H("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=>st(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,ahe),[[UR,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 lhe=Oe(ohe,[["__file","radio.vue"]]);const she=Ne({...W$}),uhe=["value","name","disabled"],che=te({name:"ElRadioButton"}),fhe=te({...che,props:she,setup(e){const t=e,n=Ae("radio"),{radioRef:r,focus:a,size:i,disabled:o,modelValue:l,radioGroup:s,actualValue:u}=K$(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(),H("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=>st(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,uhe),[[UR,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 X$=Oe(fhe,[["__file","radio-button.vue"]]);const dhe=Ne({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},...Ar(["ariaLabel"])}),hhe=U$,vhe=["id","aria-label","aria-labelledby"],phe=te({name:"ElRadioGroup"}),ghe=te({...phe,props:dhe,emits:hhe,setup(e,{emit:t}){const n=e,r=Ae("radio"),a=Vr(),i=j(),{formItem:o}=Qr(),{inputId:l,isLabeledByFormItem:s}=ao(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(Y$,nn({...Er(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(),H("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,vhe))}});var Z$=Oe(ghe,[["__file","radio-group.vue"]]);const J$=St(lhe,{RadioButton:X$,RadioGroup:Z$}),mhe=Nn(Z$),yhe=Nn(X$);var bhe=te({name:"NodeContent",setup(){return{ns:Ae("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 FS=Symbol(),_he=te({name:"ElCascaderNode",components:{ElCheckbox:zi,ElRadio:J$,NodeContent:bhe,ElIcon:Ze,Check:vp,Loading:iu,ArrowRight:la},props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(e,{emit:t}){const n=Ye(FS),r=Ae("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}}}),whe=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],xhe=X("span",null,null,-1);function She(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(),H("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(`
- Add an empty element to avoid render label,
- do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485
- `),xhe]),_: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(),H(fe,{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,whe)}var Che=Oe(_he,[["render",She],["__file","node.vue"]]);const The=te({name:"ElCascaderMenu",components:{Loading:iu,ElIcon:Ze,ElScrollbar:$l,ElCascaderNode:Che},props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(e){const t=xt(),n=Ae("cascader-menu"),{t:r}=Xt(),a=Vr();let i=null,o=null;const l=Ye(FS),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=`
- <path style="pointer-events: auto;" fill="transparent" d="M${x} ${S} L${_} 0 V${S} Z" />
- <path style="pointer-events: auto;" fill="transparent" d="M${x} ${C} L${_} ${w} V${C} Z" />
- `}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 khe(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),H(fe,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(),H("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(),H("div",{key:1,class:q(e.ns.e("empty-text"))},U(e.t("el.cascader.noData")),3)):(c=e.panel)!=null&&c.isHoverMenu?(k(),H("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 zhe=Oe(The,[["render",khe],["__file","menu.vue"]]);let Mhe=0;const Ehe=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=Mhe++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:i,label:o,children:l}=n,s=t[l],u=Ehe(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||!di(s)}get isDisabled(){const{data:t,parent:n,config:r}=this,{disabled:a,checkStrictly:i}=r;return(ut(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=ut(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${_o(t)}`;this.children.forEach(a=>{a&&(a.broadcast(t,...n),a[r]&&a[r](...n))})}emit(t,...n){const{parent:r}=this,a=`onChild${_o(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 Bk{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 Q$=Ne({modelValue:{type:he([Number,String,Array])},options:{type:he(Array),default:()=>[]},props:{type:he(Object),default:()=>({})}}),Ahe={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:sn,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},Ihe=e=>L(()=>({...Ahe,...e.props})),Fk=e=>{if(!e)return 0;const t=e.id.split("-");return Number(t[t.length-2])},Dhe=e=>{if(!e)return;const t=e.querySelector("input");t?t.click():cN(e)&&e.click()},Lhe=(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},Phe=te({name:"ElCascaderPanel",components:{ElCascaderMenu:zhe},props:{...Q$,border:{type:Boolean,default:!0},renderLabel:Function},emits:[Mt,Tn,"close","expand-change"],setup(e,{emit:t,slots:n}){let r=!1;const a=Ae("cascader"),i=Ihe(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 Bk(D,$),c.value=[o.getNodes()],$.lazy&&di(e.options)?(l.value=!1,g(void 0,N=>{N&&(o=new Bk(N,$),c.value=[o.getNodes()]),l.value=!0,T(!1,!0)})):T(!1,!0)},g=(D,$)=>{const N=i.value;D=D||new H4({},N,void 0,!0),D.loading=!0;const R=O=>{const B=D,V=B.root?null:B;O&&(o==null||o.appendNodes(O,V)),B.loading=!1,B.loaded=!0,B.childrenData=B.childrenData||[],$&&$(O)};N.lazyLoad(D,R)},m=(D,$)=>{var N;const{level:R}=D,O=c.value.slice(0,R);let B;D.isLeaf?B=D.pathNodes[R-2]:(B=D,O.push(D.children)),((N=f.value)==null?void 0:N.uid)!==(B==null?void 0:B.uid)&&(f.value=D,c.value=O,!$&&t("expand-change",(D==null?void 0:D.pathValues)||[]))},b=(D,$,N=!0)=>{const{checkStrictly:R,multiple:O}=i.value,B=d.value[0];r=!0,!O&&(B==null||B.doCheck(!1)),D.doCheck($),C(),N&&!O&&!R&&t("close"),!N&&!O&&!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(N=>N.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:N}=i.value,R=d.value,O=x(!$),B=Lhe(R,O),V=B.map(P=>P.valueByOption);d.value=B,u.value=N?V:(D=V[0])!=null?D:null},T=(D=!1,$=!1)=>{const{modelValue:N}=e,{lazy:R,multiple:O,checkStrictly:B}=i.value,V=!B;if(!(!l.value||r||!$&&Yr(N,u.value)))if(R&&!D){const W=V7(zre($a(N))).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=O?$a(N):[N],W=V7(P.map(Z=>o==null?void 0:o.getNodeByValue(Z,V)));z(W,$),u.value=$2(N)}},z=(D,$=!0)=>{const{checkStrictly:N}=i.value,R=d.value,O=D.filter(P=>!!P&&(N||P.isLeaf)),B=o==null?void 0:o.getSameNode(f.value),V=$&&B||O[0];V?V.pathNodes.forEach(P=>m(P,!0)):f.value=null,R.forEach(P=>P.doCheck(!1)),nn(O).forEach(P=>P.doCheck(!0)),d.value=O,nt(E)},E=()=>{Wt&&s.value.forEach(D=>{const $=D==null?void 0:D.$el;if($){const N=$.querySelector(`.${a.namespace.value}-scrollbar__wrap`),R=$.querySelector(`.${a.b("node")}.${a.is("active")}`)||$.querySelector(`.${a.b("node")}.in-active-path`);oO(N,R)}})},A=D=>{const $=D.target,{code:N}=D;switch(N){case at.up:case at.down:{D.preventDefault();const R=N===at.up?-1:1;L0(fN($,R,`.${a.b("node")}[tabindex="-1"]`));break}case at.left:{D.preventDefault();const R=s.value[Fk($)-1],O=R==null?void 0:R.$el.querySelector(`.${a.b("node")}[aria-expanded="true"]`);L0(O);break}case at.right:{D.preventDefault();const R=s.value[Fk($)+1],O=R==null?void 0:R.$el.querySelector(`.${a.b("node")}[tabindex="-1"]`);L0(O);break}case at.enter:Dhe($);break}};return Rt(FS,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))}),fR(()=>s.value=[]),bt(()=>!di(e.modelValue)&&T()),{ns:a,menuList:s,menus:c,checkedNodes:d,handleKeyDown:A,handleCheckChange:b,getFlattedNodes:w,getCheckedNodes:x,clearCheckedNodes:S,calculateCheckedValue:C,scrollToExpandingNode:E}}});function Rhe(e,t,n,r,a,i){const o=se("el-cascader-menu");return k(),H("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),H(fe,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 F0=Oe(Phe,[["render",Rhe],["__file","index.vue"]]);F0.install=e=>{e.component(F0.name,F0)};const eV=F0,Nhe=eV,Iy=Ne({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}),Ohe={close:e=>e instanceof MouseEvent,click:e=>e instanceof MouseEvent},$he=te({name:"ElTag"}),Vhe=te({...$he,props:Iy,emits:Ohe,setup(e,{emit:t}){const n=e,r=tr(),a=Ae("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(),H("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(Zi))]),_: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(Zi))]),_:1},8,["class","onClick"])):Q("v-if",!0)],6)]),_:3},8,["name"]))}});var Bhe=Oe(Vhe,[["__file","tag.vue"]]);const x1=St(Bhe),Fhe=Ne({...Q$,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:{...Iy.type,default:"info"},validateEvent:{type:Boolean,default:!0},...th}),Hhe={[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},jhe={key:0},qhe=["placeholder","onKeydown"],Ghe=["onClick"],Whe="ElCascader",Uhe=te({name:Whe}),Yhe=te({...Uhe,props:Fhe,emits:Hhe,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=Ae("cascader"),u=Ae("input"),{t:c}=Xt(),{form:f,formItem:d}=Qr(),{valueOnClear:h}=zy(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([]),E=j([]),A=j([]),D=j(!1),$=L(()=>i.style),N=L(()=>r.disabled||(f==null?void 0:f.disabled)),R=L(()=>r.placeholder||c("el.cascader.placeholder")),O=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||N.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",N.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}),de=_e=>{var Ie,Xe,be;N.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:!N.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))),E.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}),E.value.forEach(cn=>{cn.hitState=!1})),x.value=!0,A.value=Lt,xe()},Ee=()=>{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=!fS(be)}},Ue=_e=>{if(!D.value)switch(_e.code){case at.enter:de();break;case at.down:de(!0),nt(Ee),_e.preventDefault();break;case at.esc:_.value===!0&&(_e.preventDefault(),_e.stopPropagation(),de(!1));break;case at.tab:de(!1);break}},Je=()=>{var _e;(_e=m.value)==null||_e.clearCheckedNodes(),!_.value&&r.filterable&&ze(),de(!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)),de(!1))},ct=_e=>{const Ie=_e.target,{code:Xe}=_e;switch(Xe){case at.up:case at.down:{const be=Xe===at.up?-1:1;L0(fN(Ie,be,`.${s.e("suggestion-item")}[tabindex="-1"]`));break}case at.enter:Ie.click();break}},At=()=>{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&&de(!0),!(Ie!=null&&Ie.isComposing)&&(_e?Me():J())},Le=_e=>Number.parseFloat(tJ(u.cssVarName("input-height"),_e).value)-2;return ke(x,xe),ke([ee,N],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:de,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(),H("div",{class:q(y(ae)),style:Be(y($)),onClick:Ie[5]||(Ie[5]=()=>de(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(O),readonly:y(W),disabled:y(N),"validate-event":!1,size:y(B),class:q(y(ve)),tabindex:y(P)&&_e.filterable&&!y(N)?-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=>de(),["stop"]))},{default:M(()=>[I(y(Nl))]),_:1},8,["class"]))]),_:1},8,["modelValue","placeholder","readonly","disabled","size","class","tabindex"]),y(P)?(k(),H("div",{key:0,ref_key:"tagWrapper",ref:g,class:q([y(s).e("tags"),y(s).is("validate",!!y(ye))])},[(k(!0),H(fe,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(),H("span",jhe,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),H(fe,null,we(E.value.slice(_e.maxCollapseTags),(be,Qe)=>(k(),H("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(N)?mt((k(),H("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=>de(!0),["stop"])),onKeydown:fn(At,["delete"]),onCompositionstart:Ce,onCompositionupdate:Ce,onCompositionend:Ce,onFocus:Ct,onBlur:rt},null,42,qhe)),[[R5,T.value]]):Q("v-if",!0)],2)):Q("v-if",!0)],38)),[[y(Sl),()=>de(!1),y(ce)]])]),content:M(()=>[mt(I(y(eV),{ref_key:"cascaderPanelRef",ref:m,modelValue:y(le),"onUpdate:modelValue":Ie[8]||(Ie[8]=Xe=>st(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(()=>de(!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:ct},{default:M(()=>[A.value.length?(k(!0),H(fe,{key:0},we(A.value,Xe=>(k(),H("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(vp))]),_:1})):Q("v-if",!0)],10,Ghe))),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 H0=Oe(Yhe,[["__file","cascader.vue"]]);H0.install=e=>{e.component(H0.name,H0)};const Khe=H0,Xhe=Khe,Zhe=Ne({checked:{type:Boolean,default:!1},type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),Jhe={"update:checked":e=>Jn(e),[Tn]:e=>Jn(e)},Qhe=te({name:"ElCheckTag"}),eve=te({...Qhe,props:Zhe,emits:Jhe,setup(e,{emit:t}){const n=e,r=Ae("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(),H("span",{class:q(y(a)),onClick:i},[me(o.$slots,"default")],2))}});var tve=Oe(eve,[["__file","check-tag.vue"]]);const nve=St(tve),tV=Symbol("rowContextKey"),rve=["start","center","end","space-around","space-between","space-evenly"],ave=["top","middle","bottom"],ive=Ne({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:rve,default:"start"},align:{type:String,values:ave}}),ove=te({name:"ElRow"}),lve=te({...ove,props:ive,setup(e){const t=e,n=Ae("row"),r=L(()=>t.gutter);Rt(tV,{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 sve=Oe(lve,[["__file","row.vue"]]);const uve=St(sve),cve=Ne({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({})}}),fve=te({name:"ElCol"}),dve=te({...fve,props:cve,setup(e){const t=e,{gutter:n}=Ye(tV,{gutter:L(()=>0)}),r=Ae("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 hve=Oe(dve,[["__file","col.vue"]]);const vve=St(hve),Hk=e=>ot(e)||vt(e)||We(e),pve=Ne({accordion:Boolean,modelValue:{type:he([Array,String,Number]),default:()=>Rn([])}}),gve={[Mt]:Hk,[Tn]:Hk},nV=Symbol("collapseContextKey"),mve=(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(nV,{activeNames:n,handleItemClick:a}),{activeNames:n,setActiveNames:r}},yve=()=>{const e=Ae("collapse");return{rootKls:L(()=>e.b())}},bve=te({name:"ElCollapse"}),_ve=te({...bve,props:pve,emits:gve,setup(e,{expose:t,emit:n}){const r=e,{activeNames:a,setActiveNames:i}=mve(r,n),{rootKls:o}=yve();return t({activeNames:a,setActiveNames:i}),(l,s)=>(k(),H("div",{class:q(y(o))},[me(l.$slots,"default")],2))}});var wve=Oe(_ve,[["__file","collapse.vue"]]);const xve=te({name:"ElCollapseTransition"}),Sve=te({...xve,setup(e){const t=Ae("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()},lK(r)),{default:M(()=>[me(a.$slots,"default")]),_:3},16,["name"]))}});var j0=Oe(Sve,[["__file","collapse-transition.vue"]]);j0.install=e=>{e.component(j0.name,j0)};const Dy=j0,Cve=Dy,Tve=Ne({title:{type:String,default:""},name:{type:he([String,Number]),default:void 0},disabled:Boolean}),kve=e=>{const t=Ye(nV),{namespace:n}=Ae("collapse"),r=j(!1),a=j(!1),i=CS(),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))}}},zve=(e,{focusing:t,isActive:n,id:r})=>{const a=Ae("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}},Mve=["id","aria-expanded","aria-controls","aria-describedby","tabindex"],Eve=["id","aria-hidden","aria-labelledby"],Ave=te({name:"ElCollapseItem"}),Ive=te({...Ave,props:Tve,setup(e,{expose:t}){const n=e,{focusing:r,id:a,isActive:i,handleFocus:o,handleHeaderClick:l,handleEnterClick:s}=kve(n),{arrowKls:u,headKls:c,rootKls:f,itemWrapperKls:d,itemContentKls:h,scopedContentId:v,scopedHeadId:p}=zve(n,{focusing:r,isActive:i,id:a});return t({isActive:i}),(g,m)=>(k(),H("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,Mve),I(y(Dy),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,Eve),[[en,y(i)]])]),_:3})],2))}});var rV=Oe(Ive,[["__file","collapse-item.vue"]]);const Dve=St(wve,{CollapseItem:rV}),Lve=Nn(rV),Pve=Ne({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 Rve=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}=B5(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}},Nve=(e,{bar:t,thumb:n,handleDrag:r})=>{const a=xt(),i=Ae("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}},Ove="ElColorAlphaSlider",$ve=te({name:Ove}),Vve=te({...$ve,props:Pve,setup(e,{expose:t}){const n=e,{bar:r,thumb:a,handleDrag:i,handleClick:o}=Rve(n),{rootKls:l,barKls:s,barStyle:u,thumbKls:c,thumbStyle:f,update:d}=Nve(n,{bar:r,thumb:a,handleDrag:i});return t({update:d,bar:r,thumb:a}),(h,v)=>(k(),H("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 Bve=Oe(Vve,[["__file","alpha-slider.vue"]]);const Fve=te({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=Ae("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}=B5(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 Hve(e,t,n,r,a,i){return k(),H("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 jve=Oe(Fve,[["render",Hve],["__file","hue-slider.vue"]]);const qve=Ne({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},...Ar(["ariaLabel"])}),Gve={[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},aV=Symbol("colorPickerContextKey"),jk=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},Wve=function(e){return typeof e=="string"&&e.includes(".")&&Number.parseFloat(e)===1},Uve=function(e){return typeof e=="string"&&e.includes("%")},rd=function(e,t){Wve(e)&&(e="100%");const n=Uve(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)},qk={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},q0=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return`${qk[t]||t}${qk[n]||n}`},Gk=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${q0(e)}${q0(t)}${q0(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]},Yve=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}},Wk=(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}=Yve(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}=Wk(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}=Wk(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=jk(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=`${Gk(Mh(t,n,r))}${q0(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=jk(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=Gk(Mh(t,n,r))}}}const Kve=te({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const t=Ae("color-predefine"),{currentColor:n}=Ye(aV),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)})}),Nr(()=>{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}}}),Xve=["onClick"];function Zve(e,t,n,r,a,i){return k(),H("div",{class:q(e.ns.b())},[X("div",{class:q(e.ns.e("colors"))},[(k(!0),H(fe,null,we(e.rgbaColors,(o,l)=>(k(),H("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,Xve))),128))],2)],2)}var Jve=Oe(Kve,[["render",Zve],["__file","predefine.vue"]]);const Qve=te({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=Ae("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}=B5(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}}}),e1e=X("div",null,null,-1),t1e=[e1e];function n1e(e,t,n,r,a,i){return k(),H("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"})},t1e,6)],6)}var r1e=Oe(Qve,[["render",n1e],["__file","sv-panel.vue"]]);const a1e=["onKeydown"],i1e=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],o1e=te({name:"ElColorPicker"}),l1e=te({...o1e,props:qve,emits:Gve,setup(e,{expose:t,emit:n}){const r=e,{t:a}=Xt(),i=Ae("color"),{formItem:o}=Qr(),l=tr(),s=ma(),{inputId:u,isLabeledByFormItem:c}=ao(r,{formItemContext:o}),f=j(),d=j(),h=j(),v=j(),p=j(),g=j(),{isFocused:m,handleFocus:b,handleBlur:_}=ky(p,{beforeBlur(ce){var de;return(de=v.value)==null?void 0:de.isFocusInsideContent(ce)},afterBlur(){O(!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(""),E=L(()=>!r.modelValue&&!T.value?"transparent":R(S,r.showAlpha)),A=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),N=L(()=>[i.b("picker"),i.is("disabled",s.value),i.bm("picker",l.value),i.is("focused",m.value)]);function R(ce,de){if(!(ce instanceof $v))throw new TypeError("color should be instance of _color Class");const{r:xe,g:J,b:oe}=ce.toRgb();return de?`rgba(${xe}, ${J}, ${oe}, ${ce.get("alpha")/100})`:`rgb(${xe}, ${J}, ${oe})`}function O(ce){C.value=ce}const B=La(O,100,{leading:!0});function V(){s.value||O(!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(de=>void 0)),B(!1),nt(()=>{const de=new $v({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});S.compare(de)||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 de=new FocusEvent("focus",ce);_(de)}}function le(ce){ce.preventDefault(),ce.stopPropagation(),O(!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=A.value)}),ke(()=>r.modelValue,ce=>{ce?ce&&ce!==S.value&&(x=!1,S.fromString(ce)):T.value=!1}),ke(()=>A.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,de,xe;(ce=f.value)==null||ce.update(),(de=d.value)==null||de.update(),(xe=h.value)==null||xe.update()})}),Rt(aV,{currentColor:A}),t({color:S,show:V,hide:P,focus:ie,blur:ve}),(ce,de)=>(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:de[2]||(de[2]=xe=>O(!1))},{content:M(()=>[mt((k(),H("div",{onKeydown:fn(le,["esc"])},[X("div",{class:q(y(i).be("dropdown","main-wrapper"))},[I(jve,{ref_key:"hue",ref:f,class:"hue-slider",color:y(S),vertical:""},null,8,["color"]),I(r1e,{ref_key:"sv",ref:d,color:y(S)},null,8,["color"])],2),ce.showAlpha?(k(),Y(Bve,{key:0,ref_key:"alpha",ref:h,color:y(S)},null,8,["color"])):Q("v-if",!0),ce.predefine?(k(),Y(Jve,{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":de[0]||(de[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,a1e)),[[y(Sl),ye]])]),default:M(()=>[X("div",Pt({id:y(u),ref_key:"triggerRef",ref:p},ce.$attrs,{class:y(N),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:de[1]||(de[1]=(...xe)=>y(_)&&y(_)(...xe))}),[y(s)?(k(),H("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(E)})},[mt(I(y(Ze),{class:q([y(i).be("picker","icon"),y(i).is("icon-arrow-down")])},{default:M(()=>[I(y(Nl))]),_: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(Zi))]),_:1},8,["class"]),[[en,!ce.modelValue&&!T.value]])],6)],2)],2)],16,i1e)]),_:1},8,["visible","popper-class","teleported","transition"]))}});var s1e=Oe(l1e,[["__file","color-picker.vue"]]);const u1e=St(s1e),c1e=te({name:"ElContainer"}),f1e=te({...c1e,props:{direction:{type:String}},setup(e){const t=e,n=Tr(),r=Ae("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(),H("section",{class:q([y(r).b(),y(r).is("vertical",y(a))])},[me(i.$slots,"default")],2))}});var d1e=Oe(f1e,[["__file","container.vue"]]);const h1e=te({name:"ElAside"}),v1e=te({...h1e,props:{width:{type:String,default:null}},setup(e){const t=e,n=Ae("aside"),r=L(()=>t.width?n.cssVarBlock({width:t.width}):{});return(a,i)=>(k(),H("aside",{class:q(y(n).b()),style:Be(y(r))},[me(a.$slots,"default")],6))}});var iV=Oe(v1e,[["__file","aside.vue"]]);const p1e=te({name:"ElFooter"}),g1e=te({...p1e,props:{height:{type:String,default:null}},setup(e){const t=e,n=Ae("footer"),r=L(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,i)=>(k(),H("footer",{class:q(y(n).b()),style:Be(y(r))},[me(a.$slots,"default")],6))}});var oV=Oe(g1e,[["__file","footer.vue"]]);const m1e=te({name:"ElHeader"}),y1e=te({...m1e,props:{height:{type:String,default:null}},setup(e){const t=e,n=Ae("header"),r=L(()=>t.height?n.cssVarBlock({height:t.height}):{});return(a,i)=>(k(),H("header",{class:q(y(n).b()),style:Be(y(r))},[me(a.$slots,"default")],6))}});var lV=Oe(y1e,[["__file","header.vue"]]);const b1e=te({name:"ElMain"}),_1e=te({...b1e,setup(e){const t=Ae("main");return(n,r)=>(k(),H("main",{class:q(y(t).b())},[me(n.$slots,"default")],2))}});var sV=Oe(_1e,[["__file","main.vue"]]);const w1e=St(d1e,{Aside:iV,Footer:oV,Header:lV,Main:sV}),x1e=Nn(iV),S1e=Nn(oV),C1e=Nn(lV),T1e=Nn(sV);var uV={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)}}})})(uV);var k1e=uV.exports;const z1e=Bl(k1e);var cV={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)}}})})(cV);var M1e=cV.exports;const E1e=Bl(M1e);var fV={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}}})})(fV);var A1e=fV.exports;const I1e=Bl(A1e);var dV={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")}}})})(dV);var D1e=dV.exports;const L1e=Bl(D1e);var hV={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)}}})})(hV);var P1e=hV.exports;const R1e=Bl(P1e);var vV={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)}}})})(vV);var N1e=vV.exports;const O1e=Bl(N1e),HS=Symbol(),$1e=Ne({...BS,type:{type:he(String),default:"date"}}),V1e=["date","dates","year","years","month","week","range"],jS=Ne({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})}}),pV=Ne({type:{type:he(String),required:!0,values:oie},dateFormat:String,timeFormat:String}),gV=Ne({unlinkPanels:Boolean,parsedValue:{type:he(Array)}}),qS=e=>({type:String,values:V1e,default:e}),B1e=Ne({...pV,parsedValue:{type:he([Object,Array])},visible:{type:Boolean},format:{type:String,default:""}}),F1e=Ne({...jS,cellClassName:{type:he(Function)},showWeekNumber:Boolean,selectionMode:qS("date")}),H1e=["changerange","pick","select"],G4=e=>{if(!We(e))return!1;const[t,n]=e;return Tt.isDayjs(t)&&Tt.isDayjs(n)&&t.isSameOrBefore(n)},mV=(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)]},j1e=(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),q1e=(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(()=>IN(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 j1e({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)}))},E=P=>!y(v)&&(P==null?void 0:P.text)===1&&P.type==="normal"||P.isCurrent,A=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)},N=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")})},O=(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":{N(ye);break}case"date":{t("pick",ye,W);break}case"week":{R(ye);break}case"dates":{O(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:E,handlePickDate:B,handleMouseUp:$,handleMouseDown:D,handleMouseMove:z,handleFocus:A}},G1e=(e,{isCurrent:t,isWeekActive:n})=>{const r=Ae("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}},W1e=Ne({cell:{type:he(Object)}});var U1e=te({name:"ElDatePickerCell",props:W1e,setup(e){const t=Ae("date-table-cell"),{slots:n}=Ye(HS);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 Y1e=["aria-label"],K1e={key:0,scope:"col"},X1e=["aria-label"],Z1e=["aria-current","aria-selected","tabindex"],J1e=te({__name:"basic-date-table",props:F1e,emits:H1e,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}=q1e(r,n),{tableLabel:m,tableKls:b,weekLabel:_,getCellClasses:w,getRowKls:x,t:S}=G1e(r,{isCurrent:u,isWeekActive:c});return t({focus:s}),(C,T)=>(k(),H("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(),H("th",K1e,U(y(_)),1)):Q("v-if",!0),(k(!0),H(fe,null,we(y(a),(z,E)=>(k(),H("th",{key:E,"aria-label":y(S)("el.datepicker.weeksFull."+z),scope:"col"},U(y(S)("el.datepicker.weeks."+z)),9,X1e))),128))]),(k(!0),H(fe,null,we(y(i),(z,E)=>(k(),H("tr",{key:E,class:q(y(x)(z[1]))},[(k(!0),H(fe,null,we(z,(A,D)=>(k(),H("td",{key:`${E}.${D}`,ref_for:!0,ref:$=>y(f)(A)&&(l.value=$),class:q(y(w)(A)),"aria-current":A.isCurrent?"date":void 0,"aria-selected":A.isCurrent,tabindex:y(f)(A)?0:-1,onFocus:T[0]||(T[0]=(...$)=>y(g)&&y(g)(...$))},[I(y(U1e),{cell:A},null,8,["cell"])],42,Z1e))),128))],2))),128))],512)],42,Y1e))}});var U4=Oe(J1e,[["__file","basic-date-table.vue"]]);const Q1e=Ne({...jS,selectionMode:qS("month")}),epe=["aria-label"],tpe=["aria-selected","aria-label","tabindex","onKeydown"],npe={class:"cell"},rpe=te({__name:"basic-month-table",props:Q1e,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=Ae("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 E=0;E<4;E++){const A=z[E]||(z[E]={row:T,column:E,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1});A.type="normal";const D=T*4+E,$=r.date.startOf("year").month(D),N=r.rangeState.endDate||r.maxDate||r.rangeState.selecting&&r.minDate||null;A.inRange=!!(r.minDate&&$.isSameOrAfter(r.minDate,"month")&&N&&$.isSameOrBefore(N,"month"))||!!(r.minDate&&$.isSameOrBefore(r.minDate,"month")&&N&&$.isSameOrAfter(N,"month")),(w=r.minDate)!=null&&w.isSameOrAfter(N)?(A.start=!!(N&&$.isSame(N,"month")),A.end=r.minDate&&$.isSame(r.minDate,"month")):(A.start=!!(r.minDate&&$.isSame(r.minDate,"month")),A.end=!!(N&&$.isSame(N,"month"))),C.isSame($)&&(A.type="today"),A.text=D,A.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"||bi(S,"disabled"))return;const C=S.cellIndex,z=S.parentNode.rowIndex*4+C,E=r.date.startOf("year").month(z);r.selectionMode==="range"?r.rangeState.selecting?(r.minDate&&E>=r.minDate?n("pick",{minDate:r.minDate,maxDate:E}):n("pick",{minDate:E,maxDate:r.minDate}),n("select",!1)):(n("pick",{minDate:E,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(),H("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),H(fe,null,we(y(v),(S,C)=>(k(),H("tr",{key:C},[(k(!0),H(fe,null,we(S,(T,z)=>(k(),H("td",{key:z,ref_for:!0,ref:E=>m(T)&&(u.value=E),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",npe,U(y(o)("el.datepicker.months."+c.value[T.text])),1)])],42,tpe))),128))]))),128))],512)],42,epe))}});var Y4=Oe(rpe,[["__file","basic-month-table.vue"]]);const{date:ape,disabledDate:ipe,parsedValue:ope}=jS,lpe=Ne({date:ape,disabledDate:ipe,parsedValue:ope,selectionMode:qS("year")}),spe=["aria-label"],upe=["aria-selected","tabindex","onKeydown"],cpe={class:"cell"},fpe={key:1},dpe=te({__name:"basic-year-table",props:lpe,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=Ae("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(bi(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 _=bi(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(),H("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(),H(fe,null,we(3,(m,b)=>X("tr",{key:b},[(k(),H(fe,null,we(4,(_,w)=>(k(),H(fe,{key:b+"_"+w},[b*4+w<10?(k(),H("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",cpe,U(y(c)+b*4+w),1)])],42,upe)):(k(),H("td",fpe))],64))),64))])),64))],512)],10,spe))}});var hpe=Oe(dpe,[["__file","basic-year-table.vue"]]);const vpe=["onClick"],ppe=["aria-label"],gpe=["aria-label"],mpe=["aria-label"],ype=["aria-label"],bpe=te({__name:"panel-date-pick",props:B1e,emits:["pick","set-picker-option","panel-change"],setup(e,{emit:t}){const n=e,r=(Me,qe,Le)=>!0,a=Ae("picker-panel"),i=Ae("date-picker"),o=qc(),l=Tr(),{t:s,lang:u}=Xt(),c=Ye("EP_PICKER_BASE"),f=Ye(Ay),{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),E=j(null),A=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,E.value=null,_.value=!1,w=!1},N=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;A(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(),ct())}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")},O=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=ut(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(),ct())),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(),ct())),rt("year")},ye=async Me=>{B.value=Me,await nt(),ct()},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),de=()=>{const qe=Tt().locale(u.value).toDate();_.value=!0,(!h||!h(qe))&&A(qe)&&(b.value=Tt().locale(u.value),$(b.value))},xe=L(()=>n.timeFormat||w$(n.format)),J=L(()=>n.dateFormat||_$(n.format)),oe=L(()=>{if(E.value)return E.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},Ee=()=>{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()&&A(qe)){const{year:Le,month:_e,date:Ie}=De(b.value);b.value=qe.year(Le).month(_e).date(Ie),E.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},ct=async()=>{var Me;["week","month","year","date"].includes(W.value)&&((Me=m.value)==null||Me.focus(),W.value==="week"&&Ct(at.down))},At=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&&E.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:(Vt,Yn)=>Vt.setFullYear(Vt.getFullYear()+Yn)},month:{[Le]:-4,[_e]:4,[Ie]:-1,[Xe]:1,offset:(Vt,Yn)=>Vt.setMonth(Vt.getMonth()+Yn)},week:{[Le]:-1,[_e]:1,[Ie]:-1,[Xe]:1,offset:(Vt,Yn)=>Vt.setDate(Vt.getDate()+Yn*7)},date:{[Le]:-7,[_e]:7,[Ie]:-1,[Xe]:1,[be]:Vt=>-Vt.getDay(),[Qe]:Vt=>-Vt.getDay()+6,[Lt]:Vt=>-new Date(Vt.getFullYear(),Vt.getMonth(),0).getDate(),[cn]:Vt=>new Date(Vt.getFullYear(),Vt.getMonth()+1,0).getDate(),offset:(Vt,Yn)=>Vt.setDate(Vt.getDate()+Yn)}},hr=b.value.toDate();for(;Math.abs(b.value.diff(hr,"year",!0))<1;){const Vt=$n[Z.value];if(!Vt)return;if(Vt.offset(hr,ut(Vt[Me])?Vt[Me](hr):(qe=Vt[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",ct]),(Me,qe)=>(k(),H("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(),H("div",{key:0,class:q(y(a).e("sidebar"))},[(k(!0),H(fe,null,we(y(d),(Le,_e)=>(k(),H("button",{key:_e,type:"button",class:q(y(a).e("shortcut")),onClick:Ie=>P(Le)},U(Le.text),11,vpe))),128))],2)):Q("v-if",!0),X("div",{class:q(y(a).e("body"))},[y(le)?(k(),H("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(),H("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=>E.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),Ee]])],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=>O(!1))},[I(y(Ze),null,{default:M(()=>[I(y(xd))]),_:1})],10,ppe),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,gpe),[[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,mpe),[[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=>O(!0))},[I(y(Ze),null,{default:M(()=>[I(y(Sd))]),_:1})],10,ype)],2)],2),[[en,B.value!=="time"]]),X("div",{class:q(y(a).e("content")),onKeydown:At},[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:N},null,8,["selection-mode","date","parsed-value","disabled-date","cell-class-name"])):Q("v-if",!0),B.value==="year"?(k(),Y(hpe,{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:de},{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 _pe=Oe(bpe,[["__file","panel-date-pick.vue"]]);const wpe=Ne({...pV,...gV}),xpe=e=>{const{emit:t}=xt(),n=qc(),r=Tr();return i=>{const o=ut(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})}},yV=(e,{defaultValue:t,leftDate:n,rightDate:r,unit:a,onParsedValueChanged:i})=>{const{emit:o}=xt(),{pickerNs:l}=Ye(HS),s=Ae("date-range-picker"),{t:u,lang:c}=Xt(),f=xpe(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]=mV(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}},Spe=["onClick"],Cpe=["aria-label"],Tpe=["aria-label"],kpe=["disabled","aria-label"],zpe=["disabled","aria-label"],Mpe=["disabled","aria-label"],Epe=["disabled","aria-label"],Ape=["aria-label"],Ipe=["aria-label"],bg="month",Dpe=te({__name:"panel-date-range",props:wpe,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}=yV(n,{defaultValue:c,leftDate:d,rightDate:h,unit:bg,onParsedValueChanged:qe}),T=j({min:null,max:null}),z=j({min:null,max:null}),E=L(()=>`${d.value.year()} ${C("el.datepicker.year")} ${C(`el.datepicker.month${d.value.month()+1}`)}`),A=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()),N=L(()=>h.value.year()),R=L(()=>h.value.month()),O=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||w$(o)),ee=L(()=>n.dateFormat||_$(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")},de=()=>{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(N.value,R.value)}),oe=L(()=>n.unlinkPanels&&N.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},Ee=(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)},ct=(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))},At=(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=mV(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(),H("div",{class:q([y(m).b(),y(b).b(),{"has-sidebar":Le.$slots.sidebar||y(O),"has-time":y(Te)}])},[X("div",{class:q(y(m).e("body-wrapper"))},[me(Le.$slots,"sidebar",{class:q(y(m).e("sidebar"))}),y(O)?(k(),H("div",{key:0,class:q(y(m).e("sidebar"))},[(k(!0),H(fe,null,we(y(u),(Ie,Xe)=>(k(),H("button",{key:Xe,type:"button",class:q(y(m).e("shortcut")),onClick:be=>y(x)(Ie)},U(Ie.text),11,Spe))),128))],2)):Q("v-if",!0),X("div",{class:q(y(m).e("body"))},[y(Te)?(k(),H("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(),H("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:ct},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(),H("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:At},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,Cpe),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,Tpe),Le.unlinkPanels?(k(),H("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,kpe)):Q("v-if",!0),Le.unlinkPanels?(k(),H("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,zpe)):Q("v-if",!0),X("div",null,U(y(E)),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:Ee,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(),H("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,Mpe)):Q("v-if",!0),Le.unlinkPanels?(k(),H("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:de},[I(y(Ze),null,{default:M(()=>[I(y(Hs))]),_:1})],10,Epe)):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,Ape),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,Ipe),X("div",null,U(y(A)),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:Ee,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(),H("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 Lpe=Oe(Dpe,[["__file","panel-date-range.vue"]]);const Ppe=Ne({...gV}),Rpe=["pick","set-picker-option","calendar-change"],Npe=({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}},Ope=["onClick"],$pe=["disabled"],Vpe=["disabled"],_g="year",Bpe=te({name:"DatePickerMonthRange"}),Fpe=te({...Bpe,props:Ppe,emits:Rpe,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:_}=yV(n,{defaultValue:s,leftDate:u,rightDate:c,unit:_g,onParsedValueChanged:O}),w=L(()=>!!i.length),{leftPrevYear:x,rightNextYear:S,leftNextYear:C,rightPrevYear:T,leftLabel:z,rightLabel:E,leftYear:A,rightYear:D}=Npe({unlinkPanels:mn(n,"unlinkPanels"),leftDate:u,rightDate:c}),$=L(()=>n.unlinkPanels&&D.value>A.value+1),N=(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 O(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(),H("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(),H("div",{key:0,class:q(y(v).e("sidebar"))},[(k(!0),H(fe,null,we(y(i),(P,W)=>(k(),H("button",{key:W,type:"button",class:q(y(v).e("shortcut")),onClick:Z=>y(b)(P)},U(P.text),11,Ope))),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(),H("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,$pe)):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:N,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(),H("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,Vpe)):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(E)),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:N,onSelect:y(_)},null,8,["date","min-date","max-date","range-state","disabled-date","onChangerange","onSelect"])],2)],2)],2)],2))}});var Hpe=Oe(Fpe,[["__file","panel-month-range.vue"]]);const jpe=function(e){switch(e){case"daterange":case"datetimerange":return Lpe;case"monthrange":return Hpe;default:return _pe}};Tt.extend(O$);Tt.extend(z1e);Tt.extend(VS);Tt.extend(E1e);Tt.extend(I1e);Tt.extend(L1e);Tt.extend(R1e);Tt.extend(O1e);var qpe=te({name:"ElDatePicker",install:null,props:$1e,emits:["update:modelValue"],setup(e,{expose:t,emit:n,slots:r}){const a=Ae("picker-panel");Rt("ElPopperOptions",nn(mn(e,"popperOptions"))),Rt(HS,{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:yfe[e.type]||Rf,c=jpe(e.type);return I(C$,Pt(e,{format:u,type:e.type,ref:i,"onUpdate:modelValue":l}),{default:f=>I(c,f,null),"range-separator":r["range-separator"]})}}});const G0=qpe;G0.install=e=>{e.component(G0.name,G0)};const Gpe=G0,GS=Symbol("elDescriptions");var Eh=te({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:Ye(GS,{})}},render(){var e,t,n,r,a,i,o;const l=uie(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=Ae("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 Wpe=Ne({row:{type:he(Array),default:()=>[]}}),Upe={key:1},Ype=te({name:"ElDescriptionsRow"}),Kpe=te({...Ype,props:Wpe,setup(e){const t=Ye(GS,{});return(n,r)=>y(t).direction==="vertical"?(k(),H(fe,{key:0},[X("tr",null,[(k(!0),H(fe,null,we(n.row,(a,i)=>(k(),Y(y(Eh),{key:`tr1-${i}`,cell:a,tag:"th",type:"label"},null,8,["cell"]))),128))]),X("tr",null,[(k(!0),H(fe,null,we(n.row,(a,i)=>(k(),Y(y(Eh),{key:`tr2-${i}`,cell:a,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(k(),H("tr",Upe,[(k(!0),H(fe,null,we(n.row,(a,i)=>(k(),H(fe,{key:`tr3-${i}`},[y(t).border?(k(),H(fe,{key:0},[I(y(Eh),{cell:a,tag:"td",type:"label"},null,8,["cell"]),I(y(Eh),{cell:a,tag:"td",type:"content"},null,8,["cell"])],64)):(k(),Y(y(Eh),{key:1,cell:a,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var Xpe=Oe(Kpe,[["__file","descriptions-row.vue"]]);const Zpe=Ne({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:""}}),Jpe=te({name:"ElDescriptions"}),Qpe=te({...Jpe,props:Zpe,setup(e){const t=e,n=Ae("descriptions"),r=tr(),a=Tr();Rt(GS,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(),H("div",{class:q(y(i))},[s.title||s.extra||s.$slots.title||s.$slots.extra?(k(),H("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),H(fe,null,we(l(),(c,f)=>(k(),Y(Xpe,{key:f,row:c},null,8,["row"]))),128))])],2)],2)],2))}});var ege=Oe(Qpe,[["__file","description.vue"]]);const tge=Ne({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:""}}),bV=te({name:"ElDescriptionsItem",props:tge}),nge=St(ege,{DescriptionsItem:bV}),rge=Nn(bV),age=Ne({mask:{type:Boolean,default:!0},customMaskEvent:{type:Boolean,default:!1},overlayClass:{type:he([String,Array,Object])},zIndex:{type:he([String,Number])}}),ige={click:e=>e instanceof MouseEvent},oge="overlay";var lge=te({name:"ElOverlay",props:age,emits:ige,setup(e,{slots:t,emit:n}){const r=Ae(oge),a=s=>{n("click",s)},{onClick:i,onMousedown:o,onMouseup:l}=SS(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")],oi.STYLE|oi.CLASS|oi.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 WS=lge,_V=Symbol("dialogInjectionKey"),wV=Ne({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"}}),sge={close:()=>!0},uge=["aria-level"],cge=["aria-label"],fge=["id"],dge=te({name:"ElDialogContent"}),hge=te({...dge,props:wV,emits:sge,setup(e){const t=e,{t:n}=Xt(),{Close:r}=sS,{dialogRef:a,headerRef:i,bodyId:o,ns:l,style:s}=Ye(_V),{focusTrapRef:u}=Ye(NS),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=xy(u,a),d=L(()=>t.draggable),h=L(()=>t.overflow);return pO(a,i,d,h),(v,p)=>(k(),H("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,uge)]),v.showClose?(k(),H("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,cge)):Q("v-if",!0)],2),X("div",{id:y(o),class:q(y(l).e("body"))},[me(v.$slots,"default")],10,fge),v.$slots.footer?(k(),H("footer",{key:0,class:q(y(l).e("footer"))},[me(v.$slots,"footer")],2)):Q("v-if",!0)],6))}});var vge=Oe(hge,[["__file","dialog-content.vue"]]);const xV=Ne({...wV,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"}}),SV={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[Mt]:e=>Jn(e),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},CV=(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=_p("namespace",Pv),g=L(()=>{const R={},O=`--${p.value}-dialog`;return e.fullscreen||(e.top&&(R[`${O}-margin-top`]=e.top),e.width&&(R[`${O}-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}=Ec(()=>z(),e.openDelay):z()}function S(){h==null||h(),v==null||v(),e.closeDelay&&e.closeDelay>0?{stop:v}=Ec(()=>E(),e.closeDelay):E()}function C(){function R(O){O||(c.value=!0,u.value=!1)}e.beforeClose?e.beforeClose(R):S()}function T(){e.closeOnClickModal&&C()}function z(){Wt&&(u.value=!0)}function E(){u.value=!1}function A(){a("openAutoFocus")}function D(){a("closeAutoFocus")}function $(R){var O;((O=R.detail)==null?void 0:O.focusReason)==="pointer"&&R.preventDefault()}e.lockScroll&&vS(u);function N(){e.closeOnPressEscape&&C()}return ke(()=>e.modelValue,R=>{R?(c.value=!1,x(),f.value=!0,d.value=nO(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:E,onOpenAutoFocus:A,onCloseAutoFocus:D,onCloseRequested:N,onFocusoutPrevented:$,titleId:l,bodyId:s,closed:c,style:g,overlayDialogStyle:m,rendered:f,visible:u,zIndex:d}},pge=["aria-label","aria-labelledby","aria-describedby"],gge=te({name:"ElDialog",inheritAttrs:!1}),mge=te({...gge,props:xV,emits:SV,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=Ae("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}=CV(n,i);Rt(_V,{dialogRef:i,headerRef:o,bodyId:c,ns:a,rendered:h,style:f});const T=SS(_),z=L(()=>n.draggable&&!n.fullscreen);return t({visible:s,dialogContentRef:l}),(E,A)=>(k(),Y(Ud,{to:E.appendTo,disabled:E.appendTo!=="body"?!1:!E.appendToBody},[I(ir,{name:"dialog-fade",onAfterEnter:y(p),onAfterLeave:y(g),onBeforeLeave:y(m),persisted:""},{default:M(()=>[mt(I(y(WS),{"custom-mask-event":"",mask:E.modal,"overlay-class":E.modalClass,"z-index":y(v)},{default:M(()=>[X("div",{role:"dialog","aria-modal":"true","aria-label":E.title||void 0,"aria-labelledby":E.title?void 0:y(u),"aria-describedby":y(c),class:q(`${y(a).namespace.value}-overlay-dialog`),style:Be(y(d)),onClick:A[0]||(A[0]=(...D)=>y(T).onClick&&y(T).onClick(...D)),onMousedown:A[1]||(A[1]=(...D)=>y(T).onMousedown&&y(T).onMousedown(...D)),onMouseup:A[2]||(A[2]=(...D)=>y(T).onMouseup&&y(T).onMouseup(...D))},[I(y(xp),{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(vge,Pt({key:0,ref_key:"dialogContentRef",ref:l},E.$attrs,{center:E.center,"align-center":E.alignCenter,"close-icon":E.closeIcon,draggable:y(z),overflow:E.overflow,fullscreen:E.fullscreen,"show-close":E.showClose,title:E.title,"aria-level":E.headerAriaLevel,onClose:y(b)}),_l({header:M(()=>[E.$slots.title?me(E.$slots,"title",{key:1}):me(E.$slots,"header",{key:0,close:y(b),titleId:y(u),titleClass:y(a).e("title")})]),default:M(()=>[me(E.$slots,"default")]),_:2},[E.$slots.footer?{name:"footer",fn:M(()=>[me(E.$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,pge)]),_:3},8,["mask","overlay-class","z-index"]),[[en,y(s)]])]),_:3},8,["onAfterEnter","onAfterLeave","onBeforeLeave"])],8,["to","disabled"]))}});var yge=Oe(mge,[["__file","dialog.vue"]]);const bge=St(yge),_ge=Ne({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:he(String),default:"solid"}}),wge=te({name:"ElDivider"}),xge=te({...wge,props:_ge,setup(e){const t=e,n=Ae("divider"),r=L(()=>n.cssVar({"border-style":t.borderStyle}));return(a,i)=>(k(),H("div",{class:q([y(n).b(),y(n).m(a.direction)]),style:Be(y(r)),role:"separator"},[a.$slots.default&&a.direction!=="vertical"?(k(),H("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 Sge=Oe(xge,[["__file","divider.vue"]]);const TV=St(Sge),Cge=Ne({...xV,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"}}),Tge=SV,kge=["aria-label","aria-labelledby","aria-describedby"],zge=["id","aria-level"],Mge=["aria-label"],Ege=["id"],Age=te({name:"ElDrawer",inheritAttrs:!1}),Ige=te({...Age,props:Cge,emits:Tge,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=Ae("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}=CV(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(WS),{mask:T.modal,"overlay-class":T.modalClass,"z-index":y(p),onClick:y(g)},{default:M(()=>[I(y(xp),{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(),H("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(),H("span",{key:0,id:y(h),role:"heading","aria-level":T.headerAriaLevel,class:q(y(o).e("title"))},U(T.title),11,zge))]),T.showClose?(k(),H("button",{key:2,"aria-label":y(l)("el.drawer.close"),class:q(y(o).e("close-btn")),type:"button",onClick:z[0]||(z[0]=(...E)=>y(x)&&y(x)(...E))},[I(y(Ze),{class:q(y(o).e("close"))},{default:M(()=>[I(y(Zi))]),_:1},8,["class"])],10,Mge)):Q("v-if",!0)],2)):Q("v-if",!0),y(d)?(k(),H("div",{key:1,id:y(v),class:q(y(o).e("body"))},[me(T.$slots,"default")],10,Ege)):Q("v-if",!0),T.$slots.footer?(k(),H("div",{key:2,class:q(y(o).e("footer"))},[me(T.$slots,"footer")],2)):Q("v-if",!0)],16,kge)]),_: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 Dge=Oe(Ige,[["__file","drawer.vue"]]);const Lge=St(Dge),Pge=te({inheritAttrs:!1});function Rge(e,t,n,r,a,i){return me(e.$slots,"default")}var Nge=Oe(Pge,[["render",Rge],["__file","collection.vue"]]);const Oge=te({name:"ElCollectionItem",inheritAttrs:!1});function $ge(e,t,n,r,a,i){return me(e.$slots,"default")}var Vge=Oe(Oge,[["render",$ge],["__file","collection-item.vue"]]);const kV="data-el-collection-item",zV=e=>{const t=`El${e}Collection`,n=`${t}Item`,r=Symbol(t),a=Symbol(n),i={...Nge,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(`[${kV}]`));return[...s.values()].sort((h,v)=>f.indexOf(h.ref)-f.indexOf(v.ref))},collectionRef:l})}},o={...Vge,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}},Bge=Ne({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:Fge,ElCollectionItem:Hge,COLLECTION_INJECTION_KEY:US,COLLECTION_ITEM_INJECTION_KEY:jge}=zV("RovingFocusGroup"),YS=Symbol("elRovingFocusGroup"),MV=Symbol("elRovingFocusGroupItem"),qge={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},Gge=(e,t)=>e,Wge=(e,t,n)=>{const r=Gge(e.key);return qge[r]},Uge=(e,t)=>e.map((n,r)=>e[(r+t)%e.length]),KS=e=>{const{activeElement:t}=document;for(const n of e)if(n===t||(n.focus(),t!==document.activeElement))return},Uk="currentTabIdChange",Yk="rovingFocusGroup.entryFocus",Yge={bubbles:!1,cancelable:!0},Kge=te({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:Bge,emits:[Uk,"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(US,void 0),s=L(()=>[{outline:"none"},e.style]),u=p=>{t(Uk,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(Yk,Yge);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);KS(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(YS,{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,Yk,v)}});function Xge(e,t,n,r,a,i){return me(e.$slots,"default")}var Zge=Oe(Kge,[["render",Xge],["__file","roving-focus-group-impl.vue"]]);const Jge=te({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:Fge,ElRovingFocusGroupImpl:Zge}});function Qge(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 e0e=Oe(Jge,[["render",Qge],["__file","roving-focus-group.vue"]]);const t0e=te({components:{ElRovingFocusCollectionItem:Hge},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(YS,void 0),{getItems:o}=Ye(US,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=Wge(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?Uge(w,x+1):w.slice(x+1);break}}nt(()=>{KS(w)})}}),d=L(()=>n.value===y(l));return Rt(MV,{rovingFocusGroupItemRef:s,tabIndex:L(()=>y(d)?0:-1),handleMousedown:u,handleFocus:c,handleKeydown:f}),{id:l,handleKeydown:f,handleFocus:c,handleMousedown:u}}});function n0e(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 r0e=Oe(t0e,[["render",n0e],["__file","roving-focus-item.vue"]]);const W0=Ne({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}),EV=Ne({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:hn}}),a0e=Ne({onKeydown:{type:he(Function)}}),i0e=[at.down,at.pageDown,at.home],AV=[at.up,at.pageUp,at.end],o0e=[...i0e,...AV],{ElCollection:l0e,ElCollectionItem:s0e,COLLECTION_INJECTION_KEY:u0e,COLLECTION_ITEM_INJECTION_KEY:c0e}=zV("Dropdown"),Ly=Symbol("elDropdown"),{ButtonGroup:f0e}=_r,d0e=te({name:"ElDropdown",components:{ElButton:_r,ElButtonGroup:f0e,ElScrollbar:$l,ElDropdownCollection:l0e,ElTooltip:Xr,ElRovingFocusGroup:e0e,ElOnlyChild:n$,ElIcon:Ze,ArrowDown:Nl},props:W0,emits:["visible-change","click","command"],setup(e,{emit:t}){const n=xt(),r=Ae("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 E(B){c.value=B}function A(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 N(){t("visible-change",!1)}return Rt(Ly,{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:E,handlerMainButtonClick:B=>{t("click",B)},handleEntryFocus:A,handleClose:_,handleOpen:w,handleBeforeShowTooltip:D,handleShowTooltip:$,handleBeforeHideTooltip:N,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 h0e(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(),H("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 v0e=Oe(d0e,[["render",h0e],["__file","dropdown.vue"]]);const p0e=te({name:"DropdownItemImpl",components:{ElIcon:Ze},props:EV,emits:["pointermove","pointerleave","click","clickimpl"],setup(e,{emit:t}){const n=Ae("dropdown"),{role:r}=Ye(Ly,void 0),{collectionItemRef:a}=Ye(c0e,void 0),{collectionItemRef:i}=Ye(jge,void 0),{rovingFocusGroupItemRef:o,tabIndex:l,handleFocus:s,handleKeydown:u,handleMousedown:c}=Ye(MV,void 0),f=xy(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:{[kV]:""},role:d,tabIndex:l,handleFocus:s,handleKeydown:h,handleMousedown:c}}}),g0e=["aria-disabled","tabindex","role"];function m0e(e,t,n,r,a,i){const o=se("el-icon");return k(),H(fe,null,[e.divided?(k(),H("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,g0e)],64)}var y0e=Oe(p0e,[["render",m0e],["__file","dropdown-item-impl.vue"]]);const IV=()=>{const e=Ye("elDropdown",{}),t=L(()=>e==null?void 0:e.dropdownSize);return{elDropdown:e,_elDropdownSize:t}},b0e=te({name:"ElDropdownItem",components:{ElDropdownCollectionItem:s0e,ElRovingFocusItem:r0e,ElDropdownItemImpl:y0e},inheritAttrs:!1,props:EV,emits:["pointermove","pointerleave","click"],setup(e,{emit:t,attrs:n}){const{elDropdown:r}=IV(),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(Ly,void 0),u=Bn(h=>(t("pointermove",h),h.defaultPrevented),jT(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),jT(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 _0e(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 DV=Oe(b0e,[["render",_0e],["__file","dropdown-item.vue"]]);const w0e=te({name:"ElDropdownMenu",props:a0e,setup(e){const t=Ae("dropdown"),{_elDropdownSize:n}=IV(),r=n.value,{focusTrapRef:a,onKeydown:i}=Ye(NS,void 0),{contentRef:o,role:l,triggerId:s}=Ye(Ly,void 0),{collectionRef:u,getItems:c}=Ye(u0e,void 0),{rovingFocusGroupRef:f,rovingFocusGroupRootStyle:d,tabIndex:h,onBlur:v,onFocus:p,onMousedown:g}=Ye(YS,void 0),{collectionRef:m}=Ye(US,void 0),b=L(()=>[t.b("menu"),t.bm("menu",r==null?void 0:r.value)]),_=xy(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)||!o0e.includes(T))return;const A=c().filter(D=>!D.disabled).map(D=>D.ref);AV.includes(T)&&A.reverse(),KS(A)});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}}}),x0e=["role","aria-labelledby"];function S0e(e,t,n,r,a,i){return k(),H("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,x0e)}var LV=Oe(w0e,[["render",S0e],["__file","dropdown-menu.vue"]]);const C0e=St(v0e,{DropdownItem:DV,DropdownMenu:LV}),T0e=Nn(DV),k0e=Nn(LV),z0e={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},M0e=["id"],E0e=["stop-color"],A0e=["stop-color"],I0e=["id"],D0e=["stop-color"],L0e=["stop-color"],P0e=["id"],R0e={id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},N0e={id:"B-type",transform:"translate(-1268.000000, -535.000000)"},O0e={id:"Group-2",transform:"translate(1268.000000, 535.000000)"},$0e=["fill"],V0e=["fill"],B0e={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)"},F0e=["fill"],H0e=["fill"],j0e=["fill"],q0e=["fill"],G0e=["fill"],W0e={id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"},U0e=["fill","xlink:href"],Y0e=["fill","mask"],K0e=["fill"],X0e=te({name:"ImgEmpty"}),Z0e=te({...X0e,setup(e){const t=Ae("empty"),n=Vr();return(r,a)=>(k(),H("svg",z0e,[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,E0e),X("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,A0e)],8,M0e),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,D0e),X("stop",{"stop-color":`var(${y(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,L0e)],8,I0e),X("rect",{id:`path-3-${y(n)}`,x:"0",y:"0",width:"17",height:"36"},null,8,P0e)]),X("g",R0e,[X("g",N0e,[X("g",O0e,[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,$0e),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,V0e),X("g",B0e,[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,F0e),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,H0e),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,j0e),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,q0e)]),X("rect",{id:"Rectangle-Copy-15",fill:`url(#linearGradient-2-${y(n)})`,x:"13",y:"45",width:"40",height:"36"},null,8,G0e),X("g",W0e,[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,U0e),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,Y0e)]),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,K0e)])])])]))}});var J0e=Oe(Z0e,[["__file","img-empty.vue"]]);const Q0e=Ne({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),e2e=["src"],t2e={key:1},n2e=te({name:"ElEmpty"}),r2e=te({...n2e,props:Q0e,setup(e){const t=e,{t:n}=Xt(),r=Ae("empty"),a=L(()=>t.description||n("el.table.emptyText")),i=L(()=>({width:Fn(t.imageSize)}));return(o,l)=>(k(),H("div",{class:q(y(r).b())},[X("div",{class:q(y(r).e("image")),style:Be(y(i))},[o.image?(k(),H("img",{key:0,src:o.image,ondragstart:"return false"},null,8,e2e)):me(o.$slots,"image",{key:1},()=>[I(J0e)])],6),X("div",{class:q(y(r).e("description"))},[o.$slots.description?me(o.$slots,"description",{key:0}):(k(),H("p",t2e,U(y(a)),1))],2),o.$slots.default?(k(),H("div",{key:0,class:q(y(r).e("bottom"))},[me(o.$slots,"default")],2)):Q("v-if",!0)],2))}});var a2e=Oe(r2e,[["__file","empty.vue"]]);const PV=St(a2e),i2e=Ne({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)}}),o2e={close:()=>!0,switch:e=>ot(e),rotate:e=>ot(e)},l2e=["src","crossorigin"],s2e=te({name:"ElImageViewer"}),u2e=te({...s2e,props:i2e,emits:o2e,setup(e,{expose:t,emit:n}){var r;const a=e,i={CONTAIN:{name:"contain",icon:Jf(wae)},ORIGINAL:{name:"original",icon:Jf(Fae)}},{t:o}=Xt(),l=Ae("image-viewer"),{nextZIndex:s}=Qd(),u=j(),c=j([]),f=pY(),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(){E(),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 E(){f.stop()}function A(){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 N(){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]],N()}function O(W){const Z=a.urlList.length;h.value=(W+Z)%Z}function B(){b.value&&!a.infinite||O(h.value-1)}function V(){_.value&&!a.infinite||O(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=>{N(),n("switch",W)}),bt(()=>{var W,Z;z(),(Z=(W=u.value)==null?void 0:W.focus)==null||Z.call(W)}),t({setActiveItem:O}),(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(Zi))]),_:1})],2),Q(" ARROW "),y(m)?Q("v-if",!0):(k(),H(fe,{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(rie))]),_:1}),I(y(Ze),{onClick:Z[2]||(Z[2]=ee=>P("zoomIn"))},{default:M(()=>[I(y(fO))]),_: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(Oae))]),_:1}),I(y(Ze),{onClick:Z[4]||(Z[4]=ee=>P("clockwise"))},{default:M(()=>[I(y(Vae))]),_:1})],2)],2),Q(" CANVAS "),X("div",{class:q(y(l).e("canvas"))},[(k(!0),H(fe,null,we(W.urlList,(ee,re)=>mt((k(),H("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:A,onError:D,onMousedown:$},null,46,l2e)),[[en,re===h.value]])),128))],2),me(W.$slots,"default")],6)]),_:3})],8,["disabled"]))}});var c2e=Oe(u2e,[["__file","image-viewer.vue"]]);const RV=St(c2e),f2e=Ne({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)}}),d2e={load:e=>e instanceof Event,error:e=>e instanceof Event,switch:e=>ot(e),close:()=>!0,show:()=>!0},h2e=["src","loading","crossorigin"],v2e={key:0},p2e=te({name:"ElImage",inheritAttrs:!1}),g2e=te({...p2e,props:f2e,emits:d2e,setup(e,{emit:t}){const n=e;let r="";const{t:a}=Xt(),i=Ae("image"),o=qc(),l=dS(),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 E(){gJ(d.value,h.value)&&(C(),$())}const A=hN(E,200,!0);async function D(){var V;if(!Wt)return;await nt();const{scrollContainer:P}=n;Ci(P)?h.value=P:vt(P)&&P!==""?h.value=(V=document.querySelector(P))!=null?V:void 0:d.value&&(h.value=rS(d.value)),h.value&&(p=Sn(h,"scroll",A),setTimeout(()=>E(),100))}function $(){!Wt||!h.value||!A||(p==null||p(),h.value=void 0)}function N(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",N,{passive:!1}),r=document.body.style.overflow,document.body.style.overflow="hidden",f.value=!0,t("show"))}function O(){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(),H("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(),H(fe,{key:1},[s.value!==void 0?(k(),H("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,h2e)):Q("v-if",!0),c.value?(k(),H("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(),H(fe,{key:2},[f.value?(k(),Y(y(RV),{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:O,onSwitch:B},{default:M(()=>[V.$slots.viewer?(k(),H("div",v2e,[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 m2e=Oe(g2e,[["__file","image.vue"]]);const y2e=St(m2e),b2e=Ne({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},...Ar(["ariaLabel"])}),_2e={[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)},w2e=["aria-label","onKeydown"],x2e=["aria-label","onKeydown"],S2e=te({name:"ElInputNumber"}),C2e=te({...S2e,props:b2e,emits:_2e,setup(e,{expose:t,emit:n}){const r=e,{t:a}=Xt(),i=Ae("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,O)=>{if(Xn(O)&&(O=f.value),O===0)return Math.round(R);let B=String(R);const V=B.indexOf(".");if(V===-1||!B.replace(".","").split("")[V+O])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(O))},m=R=>{if(br(R))return 0;const O=R.toString(),B=O.indexOf(".");let V=0;return B!==-1&&(V=O.length-B-1),V},b=(R,O=1)=>ot(R)?g(R+r.step*O):l.currentValue,_=()=>{if(r.readonly||v.value||c.value)return;const R=Number(p.value)||0,O=b(R);S(O),n(sa,l.currentValue),$()},w=()=>{if(r.readonly||v.value||u.value)return;const R=Number(p.value)||0,O=b(R,-1);S(O),n(sa,l.currentValue),$()},x=(R,O)=>{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,O&&n(Mt,re)),re},S=(R,O=!0)=>{var B;const V=l.currentValue,P=x(R);if(!O){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 O=R===""?null:Number(R);n(sa,O),S(O,!1)},T=R=>{const O=R!==""?Number(R):"";(ot(O)&&!Number.isNaN(O)||R==="")&&S(O),$(),l.userInput=null},z=()=>{var R,O;(O=(R=o.value)==null?void 0:R.focus)==null||O.call(R)},E=()=>{var R,O;(O=(R=o.value)==null?void 0:R.blur)==null||O.call(R)},A=R=>{n("focus",R)},D=R=>{var O;l.userInput=null,n("blur",R),r.validateEvent&&((O=s==null?void 0:s.validate)==null||O.call(s,"blur").catch(B=>void 0))},$=()=>{l.currentValue!==r.modelValue&&(l.currentValue=r.modelValue)},N=R=>{document.activeElement===R.target&&R.preventDefault()};return ke(()=>r.modelValue,(R,O)=>{const B=x(R,!0);l.userInput===null&&B!==O&&(l.currentValue=B)},{immediate:!0}),bt(()=>{var R;const{min:O,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(O)?P.setAttribute("aria-valuemin",String(O)):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",N,{passive:!1})}),Ll(()=>{var R,O;const B=(R=o.value)==null?void 0:R.input;B==null||B.setAttribute("aria-valuenow",`${(O=l.currentValue)!=null?O:""}`)}),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:E}),(R,O)=>(k(),H("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:O[0]||(O[0]=ft(()=>{},["prevent"]))},[R.controls?mt((k(),H("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(Nl),{key:0})):(k(),Y(y(zae),{key:1}))]),_:1})])],42,w2e)),[[y(G2),w]]):Q("v-if",!0),R.controls?mt((k(),H("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(aS),{key:0})):(k(),Y(y(uO),{key:1}))]),_:1})])],42,x2e)),[[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:A,onInput:C,onChange:T},null,8,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","onKeydown"])],34))}});var T2e=Oe(C2e,[["__file","input-number.vue"]]);const NV=St(T2e),k2e=Ne({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}}),z2e={click:e=>e instanceof MouseEvent},M2e=["href","target"],E2e=te({name:"ElLink"}),A2e=te({...E2e,props:k2e,emits:z2e,setup(e,{emit:t}){const n=e,r=Ae("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(),H("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(),H("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,M2e))}});var I2e=Oe(A2e,[["__file","link.vue"]]);const D2e=St(I2e);let L2e=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:{D0(t,"mouseleave");break}case at.enter:case at.space:{a=!0,r.currentTarget.click();break}}return a&&(r.preventDefault(),r.stopPropagation()),!1})})}},P2e=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 L2e(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{let n=!1;switch(t.code){case at.down:{D0(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case at.up:{D0(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case at.tab:{D0(t.currentTarget,"mouseleave");break}case at.enter:case at.space:{n=!0,t.currentTarget.click();break}}n&&t.preventDefault()})}},R2e=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 P2e(r,t)})}};const N2e=te({name:"ElMenuCollapseTransition",setup(){const e=Ae("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,r){pi(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={}),bi(n,e.m("collapse"))?(Kr(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),pi(n,e.m("collapse"))):(pi(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){pi(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function O2e(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 $2e=Oe(N2e,[["render",O2e],["__file","menu-collapse-transition.vue"]]);function OV(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 V2e(e){return L(()=>{const n=e.backgroundColor;return n?new p$(n).shade(20).toString():""})}const $V=(e,t)=>{const n=Ae("menu");return L(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":V2e(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},B2e=Ne({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 XS=te({name:db,props:B2e,setup(e,{slots:t,expose:n}){const r=xt(),{indexPath:a,parentMenu:i}=OV(r,L(()=>e.index)),o=Ae("menu"),l=Ae("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:Nl: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}),E=$V(s.props,u.level+1),A=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}),N=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()},O=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}=Ec(()=>{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}=Ec(()=>!h.value&&s.closeMenu(e.index,a.value),N.value),_.value&&W&&((Z=u.handleMouseleave)==null||Z.call(u,!0))};ke(()=>s.props.collapse,W=>O(!!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:A.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:E.value},[(re=t.default)==null?void 0:re.call(t)])])},default:()=>tt("div",{class:l.e("title"),onClick:B},Z)}):tt(fe,{},[tt("div",{class:l.e("title"),ref:v,onClick:B},Z),tt(Dy,{},{default:()=>{var re;return mt(tt("ul",{role:"menu",class:[o.b(),o.m("inline")],style:E.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 F2e=Ne({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:()=>Aae},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)),H2e={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 j2e=te({name:"ElMenu",props:F2e,emits:H2e,setup(e,{emit:t,slots:n,expose:r}){const a=xt(),i=a.appContext.config.globalProperties.$router,o=j(),l=Ae("menu"),s=Ae("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 N=f.value&&d.value[f.value];if(!N||e.mode==="horizontal"||e.collapse)return;N.indexPath.forEach(O=>{const B=h.value[O];B&&g(O,B.indexPath)})},g=(N,R)=>{c.value.includes(N)||(e.uniqueOpened&&(c.value=c.value.filter(O=>R.includes(O))),c.value.push(N),t("open",N,R))},m=N=>{const R=c.value.indexOf(N);R!==-1&&c.value.splice(R,1)},b=(N,R)=>{m(N),t("close",N,R)},_=({index:N,indexPath:R})=>{c.value.includes(N)?b(N,R):g(N,R)},w=N=>{(e.mode==="horizontal"||e.collapse)&&(c.value=[]);const{index:R,indexPath:O}=N;if(!(br(R)||br(O)))if(e.router&&i){const B=N.route||R,V=i.push(B).then(P=>(P||(f.value=R),P));t("select",R,O,{index:R,indexPath:O,route:B},V)}else f.value=R,t("select",R,O,{index:R,indexPath:O})},x=N=>{const R=d.value,O=R[N]||f.value&&R[f.value]||R[e.defaultActive];O?f.value=O.index:f.value=N},S=N=>{const R=getComputedStyle(N),O=Number.parseInt(R.marginLeft,10),B=Number.parseInt(R.marginRight,10);return N.offsetWidth+O+B||0},C=()=>{var N,R;if(!o.value)return-1;const O=Array.from((R=(N=o.value)==null?void 0:N.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 O.forEach((ue,ye)=>{ee+=S(ue),ee<=Z-B&&(re=ye+1)}),re===O.length?-1:re},T=N=>h.value[N].indexPath,z=(N,R=33.34)=>{let O;return()=>{O&&clearTimeout(O),O=setTimeout(()=>{N()},R)}};let E=!0;const A=()=>{if(u.value===C())return;const N=()=>{u.value=-1,nt(()=>{u.value=C()})};E?N():z(N)(),E=!1};ke(()=>e.defaultActive,N=>{d.value[N]||(f.value=""),x(N)}),ke(()=>e.collapse,N=>{N&&(c.value=[])}),ke(d.value,p);let D;Nr(()=>{e.mode==="horizontal"&&e.ellipsis?D=Pn(o,A).stop:D==null||D()});const $=j(!1);{const N=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:N,removeSubMenu:R,openMenu:g,closeMenu:b,handleMenuItemClick:w,handleSubMenuClick:_})),Rt(`subMenu:${a.uid}`,{addSubMenu:N,removeSubMenu:R,mouseInChild:$,level:0})}return bt(()=>{e.mode==="horizontal"&&new R2e(a.vnode.el,l.namespace.value)}),r({open:R=>{const{indexPath:O}=h.value[R];O.forEach(B=>g(B,O))},close:m,handleResize:A}),()=>{var N,R;let O=(R=(N=n.default)==null?void 0:N.call(n))!=null?R:[];const B=[];if(e.mode==="horizontal"&&o.value){const Z=Is(O),ee=u.value===-1?Z:Z.slice(0,u.value),re=u.value===-1?[]:Z.slice(u.value);re!=null&&re.length&&e.ellipsis&&(O=ee,B.push(tt(XS,{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=$V(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}},[...O,...B]),P);return e.collapseTransition&&e.mode==="vertical"?tt($2e,()=>W):W}}});const q2e=Ne({index:{type:he([String,null]),default:null},route:{type:he([String,Object])},disabled:Boolean}),G2e={click:e=>vt(e.index)&&Array.isArray(e.indexPath)},vb="ElMenuItem",W2e=te({name:vb,components:{ElTooltip:Xr},props:q2e,emits:G2e,setup(e,{emit:t}){const n=xt(),r=Ye("rootMenu"),a=Ae("menu"),i=Ae("menu-item");r||or(vb,"can not inject root menu");const{parentMenu:o,indexPath:l}=OV(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 U2e(e,t,n,r,a,i){const o=se("el-tooltip");return k(),H("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(),H(fe,{key:1},[me(e.$slots,"default"),me(e.$slots,"title")],64))],2)}var VV=Oe(W2e,[["render",U2e],["__file","menu-item.vue"]]);const Y2e={title:String},K2e="ElMenuItemGroup",X2e=te({name:K2e,props:Y2e,setup(){return{ns:Ae("menu-item-group")}}});function Z2e(e,t,n,r,a,i){return k(),H("li",{class:q(e.ns.b())},[X("div",{class:q(e.ns.e("title"))},[e.$slots.title?me(e.$slots,"title",{key:1}):(k(),H(fe,{key:0},[G(U(e.title),1)],64))],2),X("ul",null,[me(e.$slots,"default")])],2)}var BV=Oe(X2e,[["render",Z2e],["__file","menu-item-group.vue"]]);const J2e=St(j2e,{MenuItem:VV,MenuItemGroup:BV,SubMenu:XS}),Q2e=Nn(VV),eme=Nn(BV),tme=Nn(XS),nme=Ne({icon:{type:hn,default:()=>eae},title:String,content:{type:String,default:""}}),rme={back:()=>!0},ame=["aria-label"],ime=te({name:"ElPageHeader"}),ome=te({...ime,props:nme,emits:rme,setup(e,{emit:t}){const n=Tr(),{t:r}=Xt(),a=Ae("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(),H("div",{class:q(y(i))},[l.$slots.breadcrumb?(k(),H("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(),H("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,ame)):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(TV),{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(),H("div",{key:0,class:q(y(a).e("extra"))},[me(l.$slots,"extra")],2)):Q("v-if",!0)],2),l.$slots.default?(k(),H("div",{key:1,class:q(y(a).e("main"))},[me(l.$slots,"default")],2)):Q("v-if",!0)],2))}});var lme=Oe(ome,[["__file","page-header.vue"]]);const sme=St(lme),FV=Symbol("elPaginationKey"),ume=Ne({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:hn}}),cme={click:e=>e instanceof MouseEvent},fme=["disabled","aria-label","aria-disabled"],dme={key:0},hme=te({name:"ElPaginationPrev"}),vme=te({...hme,props:ume,emits:cme,setup(e){const t=e,{t:n}=Xt(),r=L(()=>t.disabled||t.currentPage<=1);return(a,i)=>(k(),H("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(),H("span",dme,U(a.prevText),1)):(k(),Y(y(Ze),{key:1},{default:M(()=>[(k(),Y(It(a.prevIcon)))]),_:1}))],8,fme))}});var pme=Oe(vme,[["__file","prev.vue"]]);const gme=Ne({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:hn}}),mme=["disabled","aria-label","aria-disabled"],yme={key:0},bme=te({name:"ElPaginationNext"}),_me=te({...bme,props:gme,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(),H("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(),H("span",yme,U(a.nextText),1)):(k(),Y(y(Ze),{key:1},{default:M(()=>[(k(),Y(It(a.nextIcon)))]),_:1}))],8,mme))}});var wme=Oe(_me,[["__file","next.vue"]]);const HV=Symbol("ElSelectGroup"),rh=Symbol("ElSelect");function xme(e,t){const n=Ye(rh),r=Ye(HV,{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(Un(g,p))===Un(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(nS(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 Sme=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=Ae("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}=xme(e,a),{visible:f,hover:d}=Er(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}}}),Cme=["id","aria-disabled","aria-selected"];function Tme(e,t,n,r,a,i){return mt((k(),H("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,Cme)),[[en,e.visible]])}var ZS=Oe(Sme,[["render",Tme],["__file","option.vue"]]);const kme=te({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=Ye(rh),t=Ae("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 zme(e,t,n,r,a,i){return k(),H("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(),H("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(),H("div",{key:1,class:q(e.ns.be("dropdown","footer"))},[me(e.$slots,"footer")],2)):Q("v-if",!0)],6)}var Mme=Oe(kme,[["render",zme],["__file","select-dropdown.vue"]]);function jV(e){const t=j(!1);return{handleCompositionStart:()=>{t.value=!0},handleCompositionUpdate:i=>{const o=i.target.value,l=o[o.length-1]||"";t.value=!fS(l)},handleCompositionEnd:i=>{t.value&&(t.value=!1,ut(e)&&e(i))}}}const Eme=11,Ame=(e,t)=>{const{t:n}=Xt(),r=Vr(),a=Ae("select"),i=Ae("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}=ky(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:E}=Qr(),{inputId:A}=ao(e,{formItemContext:E}),{valueOnClear:D,isEmptyValue:$}=zy(e),N=L(()=>e.disabled||(z==null?void 0:z.disabled)),R=L(()=>e.multiple?We(e.modelValue)&&e.modelValue.length>0:!$(e.modelValue)),O=L(()=>e.clearable&&!N.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(()=>(E==null?void 0:E.validateState)||""),W=L(()=>cS[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 qn=je.findIndex(lo=>lo.value===kn);qn>-1&&dt.push(je[qn])}),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&&ut(e.filterMethod)||e.filterable&&e.remote&&ut(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}}),de=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&&(E==null||E.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})}),Nr(()=>{o.isBeforeHide||ae()});const J=je=>{o.previousQuery!==je&&(o.previousQuery=je,e.filterable&&ut(e.filterMethod)?e.filterMethod(je):e.filterable&&e.remote&&ut(e.remoteMethod)&&e.remoteMethod(je),e.defaultFirstOption&&(e.filterable||e.remote)&&re.value?nt(oe):nt(ge))},oe=()=>{const je=ue.value.filter(qn=>qn.visible&&!qn.disabled&&!qn.states.groupDisabled),dt=je.find(qn=>qn.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",qn=z0(je).toLowerCase()==="null",lo=z0(je).toLowerCase()==="undefined";for(let Xo=o.cachedOptions.size-1;Xo>=0;Xo--){const ba=ye.value[Xo];if(kn?Un(ba.value,e.valueKey)===Un(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:!qn&&!lo?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))},Ee=()=>{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)},ct=je=>tO(je,dt=>!o.disabledOptions.has(dt)),At=je=>{if(e.multiple&&je.code!==at.delete&&je.target.value.length<=0){const dt=e.modelValue.slice(),kn=ct(dt);if(kn<0)return;const qn=dt[kn];dt.splice(kn,1),t(Mt,dt),Ke(dt),t("remove-tag",qn)}},Ct=(je,dt)=>{const kn=o.selected.indexOf(dt);if(kn>-1&&!N.value){const qn=e.modelValue.slice();qn.splice(kn,1),t(Mt,qn),Ke(qn),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 qn=-1;return je.some((lo,Ko)=>dn(Un(lo,kn))===Un(dt,kn)?(qn=Ko,!0):!1),qn},Le=je=>{var dt,kn,qn,lo,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=(lo=(qn=(kn=(dt=u.value)==null?void 0:dt.popperRef)==null?void 0:kn.contentRef)==null?void 0:qn.querySelector)==null?void 0:lo.call(qn,`.${a.be("dropdown","wrap")}`);ba&&oO(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}=jV(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()},Vt=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=()=>{N.value||(o.menuVisibleOnFocus?o.menuVisibleOnFocus=!1:C.value=!C.value)},E3=()=>{C.value?ue.value[o.hoveringIndex]&&Me(ue.value[o.hoveringIndex]):xh()},Yo=je=>zt(je.value)?Un(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:[]),A3=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,Eme)}px`}));return e.multiple&&!We(e.modelValue)&&t(Mt,[]),!e.multiple&&We(e.modelValue)&&t(Mt,""),Pn(s,Ee),Pn(d,De),Pn(p,Re),Pn(_,Re),Pn(g,Ce),Pn(m,Pe),bt(()=>{pe()}),{inputId:A,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:At,deleteTag:Ct,deleteSelected:rt,handleOptionSelect:Me,scrollToOption:Le,hasModelValue:R,shouldShowPlaceholder:de,currentPlaceholder:xe,showClose:O,iconComponent:B,iconReverse:V,validateState:P,validateIcon:W,showNewOption:le,updateOptions:ae,collapseTagSize:ve,setSelected:pe,selectDisabled:N,emptyText:ee,handleCompositionStart:Xe,handleCompositionUpdate:be,handleCompositionEnd:Qe,onOptionCreate:_e,onOptionDestroy:Ie,handleMenuEnter:cn,handleFocus:x,focus:$n,blur:hr,handleBlur:S,handleClearClick:Vt,handleClickOutside:Yn,handleEsc:Up,toggleMenu:xh,selectOption:E3,getValueKey:Yo,navigateOptions:uu,dropdownMenuVisible:ce,showTagList:Kp,collapseTagList:A3,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 Ime=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)&&ut((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 Dme=Ne({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:Nl},tagType:{...Iy.type,default:"info"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,placement:{type:he(String),values:Yc,default:"bottom-start"},fallbackPlacements:{type:he(Array),default:["bottom-start","top-start","right","left"]},...th,...Ar(["ariaLabel"])}),Kk="ElSelect",Lme=te({name:Kk,componentName:Kk,components:{ElInput:Ur,ElSelectMenu:Mme,ElOption:ZS,ElOptions:Ime,ElTag:x1,ElScrollbar:$l,ElTooltip:Xr,ElIcon:Ze},directives:{ClickOutside:Sl},props:Dme,emits:[Mt,Tn,"remove-tag","clear","visible-change","focus","blur"],setup(e,{emit:t}){const n=Ame(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}}}),Pme=["id","disabled","autocomplete","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],Rme=["textContent"],Nme={key:1};function Ome(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(),H("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(),H("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),H(fe,null,we(e.showTagList,p=>(k(),H("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),H(fe,null,we(e.collapseTagList,p=>(k(),H("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(),H("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,Pme),[[R5,e.states.inputValue]]),e.filterable?(k(),H("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:q(e.nsSelect.e("input-calculator")),textContent:U(e.states.inputValue)},null,10,Rme)):Q("v-if",!0)],2)),e.shouldShowPlaceholder?(k(),H("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(),H("span",Nme,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(),H("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(),H("div",{key:1,class:q(e.nsSelect.be("dropdown","loading"))},[me(e.$slots,"loading")],2)):e.loading||e.filteredOptionsCount===0?(k(),H("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(),H("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 $me=Oe(Lme,[["render",Ome],["__file","select.vue"]]);const Vme=te({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(e){const t=Ae("select"),n=j(null),r=xt(),a=j([]);Rt(HV,nn({...Er(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()}),pN(n,s,{attributes:!0,subtree:!0,childList:!0}),{groupRef:n,visible:i,ns:t}}});function Bme(e,t,n,r,a,i){return mt((k(),H("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 qV=Oe(Vme,[["render",Bme],["__file","option-group.vue"]]);const Rc=St($me,{Option:ZS,OptionGroup:qV}),U2=Nn(ZS),Fme=Nn(qV),JS=()=>Ye(FV,{}),Hme=Ne({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}}),jme=te({name:"ElPaginationSizes"}),qme=te({...jme,props:Hme,emits:["page-size-change"],setup(e,{emit:t}){const n=e,{t:r}=Xt(),a=Ae("pagination"),i=JS(),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(),H("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),H(fe,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 Gme=Oe(qme,[["__file","sizes.vue"]]);const Wme=Ne({size:{type:String,values:jo}}),Ume=["disabled"],Yme=te({name:"ElPaginationJumper"}),Kme=te({...Yme,props:Wme,setup(e){const{t}=Xt(),n=Ae("pagination"),{pageCount:r,disabled:a,currentPage:i,changeEvent:o}=JS(),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(),H("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,Ume))}});var Xme=Oe(Kme,[["__file","jumper.vue"]]);const Zme=Ne({total:{type:Number,default:1e3}}),Jme=["disabled"],Qme=te({name:"ElPaginationTotal"}),eye=te({...Qme,props:Zme,setup(e){const{t}=Xt(),n=Ae("pagination"),{disabled:r}=JS();return(a,i)=>(k(),H("span",{class:q(y(n).e("total")),disabled:y(r)},U(y(t)("el.pagination.total",{total:a.total})),11,Jme))}});var tye=Oe(eye,[["__file","total.vue"]]);const nye=Ne({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),rye=["onKeyup"],aye=["aria-current","aria-label","tabindex"],iye=["tabindex","aria-label"],oye=["aria-current","aria-label","tabindex"],lye=["tabindex","aria-label"],sye=["aria-current","aria-label","tabindex"],uye=te({name:"ElPaginationPager"}),cye=te({...uye,props:nye,emits:["change"],setup(e,{emit:t}){const n=e,r=Ae("pager"),a=Ae("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 E=[];if(T&&!z){const A=C-(w-2);for(let D=A;D<C;D++)E.push(D)}else if(!T&&z)for(let A=2;A<w;A++)E.push(A);else if(T&&z){const A=Math.floor(w/2)-1;for(let D=S-A;D<=S+A;D++)E.push(D)}else for(let A=2;A<C;A++)E.push(A);return E}),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);Nr(()=>{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(),H("ul",{class:q(y(r).b()),onClick:_,onKeyup:fn(b,["enter"])},[w.pageCount>0?(k(),H("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,aye)):Q("v-if",!0),o.value?(k(),H("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(O7),{key:1}))],42,iye)):Q("v-if",!0),(k(!0),H(fe,null,we(y(d),S=>(k(),H("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,oye))),128)),l.value?(k(),H("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(O7),{key:1}))],42,lye)):Q("v-if",!0),w.pageCount>1?(k(),H("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,sye)):Q("v-if",!0)],42,rye))}});var fye=Oe(cye,[["__file","pager.vue"]]);const ea=e=>typeof e!="number",dye=Ne({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}),hye={"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)},Xk="ElPagination";var vye=te({name:Xk,props:dye,emits:hye,setup(e,{emit:t,slots:n}){const{t:r}=Xt(),a=Ae("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(FV,{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(pme,{disabled:e.disabled,currentPage:h.value,prevText:e.prevText,prevIcon:e.prevIcon,onClick:g}),jumper:tt(Xme,{size:e.small?"small":"default"}),pager:tt(fye,{currentPage:h.value,pageCount:d.value,pagerCount:e.pagerCount,onChange:v,disabled:e.disabled}),next:tt(wme,{disabled:e.disabled,currentPage:h.value,pageCount:d.value,nextText:e.nextText,nextIcon:e.nextIcon,onClick:m}),sizes:tt(Gme,{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(tye,{total:ea(e.total)?0:e.total})},z=e.layout.split(",").map(A=>A.trim());let E=!1;return z.forEach(A=>{if(A==="->"){E=!0;return}E?S.push(T[A]):x.push(T[A])}),b(x[0],a.is("first")),b(x[x.length-1],a.is("last")),E&&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 pye=St(vye),gye=Ne({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:M4,default:"primary"},cancelButtonType:{type:String,values:M4,default:"text"},icon:{type:hn,default:()=>Rae},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}}),mye={confirm:e=>e instanceof MouseEvent,cancel:e=>e instanceof MouseEvent},yye=te({name:"ElPopconfirm"}),bye=te({...yye,props:gye,emits:mye,setup(e,{emit:t}){const n=e,{t:r}=Xt(),a=Ae("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 _ye=Oe(bye,[["__file","popconfirm.vue"]]);const wye=St(_ye),xye=Ne({trigger:w1.trigger,placement:W0.placement,disabled:w1.disabled,visible:vr.visible,transition:vr.transition,popperOptions:W0.popperOptions,tabindex:W0.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}}),Sye={"update:visible":e=>Jn(e),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},Cye="onUpdate:visible",Tye=te({name:"ElPopover"}),kye=te({...Tye,props:xye,emits:Sye,setup(e,{expose:t,emit:n}){const r=e,a=L(()=>r[Cye]),i=Ae("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(),H("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 zye=Oe(kye,[["__file","popover.vue"]]);const Zk=(e,t)=>{const n=t.arg||t.value,r=n==null?void 0:n.popperRef;r&&(r.triggerRef=e)};var Mye={mounted(e,t){Zk(e,t)},updated(e,t){Zk(e,t)}};const Eye="popover",GV=iie(Mye,Eye),Aye=St(zye,{directive:GV}),Iye=Ne({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}%`}}),Dye=["aria-valuenow"],Lye={viewBox:"0 0 100 100"},Pye=["d","stroke","stroke-linecap","stroke-width"],Rye=["d","stroke","opacity","stroke-linecap","stroke-width"],Nye={key:0},Oye=te({name:"ElProgress"}),$ye=te({...Oye,props:Iye,setup(e){const t=e,n={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=Ae("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`
- M 50 50
- m 0 ${w?"":"-"}${_}
- a ${_} ${_} 0 1 1 0 ${w?"-":""}${_*2}
- a ${_} ${_} 0 1 1 0 ${w?"":"-"}${_*2}
- `}),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"?wy:t.type==="line"?t.status==="success"?iS:au:t.status==="success"?vp:Zi),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(ut(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(),H("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(),H("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(),H("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(),H("div",{key:1,class:q(y(r).b("circle")),style:Be({height:`${_.width}px`,width:`${_.width}px`})},[(k(),H("svg",Lye,[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,Pye),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,Rye)]))],6)),(_.showText||_.$slots.default)&&!_.textInside?(k(),H("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(),H("span",Nye,U(y(g)),1))])],6)):Q("v-if",!0)],10,Dye))}});var Vye=Oe($ye,[["__file","progress.vue"]]);const WV=St(Vye),Bye=Ne({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:()=>Xae},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},...Ar(["ariaLabel"])}),Fye={[Tn]:e=>ot(e),[Mt]:e=>ot(e)},Hye=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],jye=["onMousemove","onClick"],qye=te({name:"ElRate"}),Gye=te({...qye,props:Bye,emits:Fye,setup(e,{expose:t,emit:n}){const r=e;function a(O,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)?O<Z:O<=Z}).sort((Z,ee)=>Z-ee),W=B[P[0]];return V(W)&&W.value||W}const i=Ye(Kc,void 0),o=Ye(No,void 0),l=tr(),s=Ae("rate"),{inputId:u,isLabeledByFormItem:c}=ao(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 O="";return r.showScore?O=r.scoreTemplate.replace(/\{\s*value\s*\}/,p.value?`${r.modelValue}`:`${f.value}`):r.showText&&(O=r.texts[Math.ceil(f.value)-1]),O}),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 O=a(f.value,_.value);return zt(O)?"":O}),x=L(()=>{let O="";return p.value?O=`${b.value}%`:r.allowHalf&&(O="50%"),{color:w.value,width:O}}),S=L(()=>{let O=We(r.icons)?[...r.icons]:{...r.icons};return O=Jf(O),We(O)?{[r.lowThreshold]:O[0],[r.highThreshold]:{value:O[1],excluded:!0},[r.max]:O[2]}:O}),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 E(O){const B=p.value&&b.value>0&&O-1<r.modelValue&&O>r.modelValue,V=r.allowHalf&&h.value&&O-.5<=f.value&&O>f.value;return B||V}function A(O){r.clearable&&O===r.modelValue&&(O=0),n(Mt,O),r.modelValue!==O&&n("change",O)}function D(O){p.value||(r.allowHalf&&h.value?A(f.value):A(O))}function $(O){if(p.value)return;let B=f.value;const V=O.code;return V===at.up||V===at.right?(r.allowHalf?B+=.5:B+=1,O.stopPropagation(),O.preventDefault()):(V===at.left||V===at.down)&&(r.allowHalf?B-=.5:B-=1,O.stopPropagation(),O.preventDefault()),B=B<0?0:B,B=B>r.max?r.max:B,n(Mt,B),n("change",B),B}function N(O,B){if(!p.value){if(r.allowHalf&&B){let V=B.target;bi(V,s.e("item"))&&(V=V.querySelector(`.${s.e("icon")}`)),(V.clientWidth===0||bi(V,s.e("decimal")))&&(V=V.parentNode),h.value=B.offsetX*2<=V.clientWidth,f.value=h.value?O-.5:O}else f.value=O;d.value=O}}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,O=>{f.value=O,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:N,resetCurrentValue:R}),(O,B)=>{var V;return k(),H("div",{id:y(u),class:q([y(v),y(s).is("disabled",y(p))]),role:"slider","aria-label":y(c)?void 0:O.label||O.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":O.max,tabindex:"0",style:Be(y(g)),onKeydown:$},[(k(!0),H(fe,null,we(O.max,(P,W)=>(k(),H("span",{key:W,class:q(y(s).e("item")),onMousemove:Z=>N(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(()=>[E(P)?Q("v-if",!0):(k(),H(fe,{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)),E(P)?(k(),H(fe,{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,jye))),128)),O.showText||O.showScore?(k(),H("span",{key:0,class:q(y(s).e("text")),style:Be({color:O.textColor})},U(y(m)),7)):Q("v-if",!0)],46,Hye)}}});var Wye=Oe(Gye,[["__file","rate.vue"]]);const Uye=St(Wye),jf={success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},Jk={[jf.success]:sae,[jf.warning]:wy,[jf.error]:oS,[jf.info]:lS},Yye=Ne({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["success","warning","info","error"],default:"info"}}),Kye=te({name:"ElResult"}),Xye=te({...Kye,props:Yye,setup(e){const t=e,n=Ae("result"),r=L(()=>{const a=t.icon,i=a&&jf[a]?jf[a]:"icon-info",o=Jk[i]||Jk["icon-info"];return{class:i,component:o}});return(a,i)=>(k(),H("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(),H("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(),H("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(),H("div",{key:2,class:q(y(n).e("extra"))},[me(a.$slots,"extra")],2)):Q("v-if",!0)],2))}});var Zye=Oe(Xye,[["__file","result.vue"]]);const Jye=St(Zye);var Qk=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Qye(e,t){return!!(e===t||Qk(e)&&Qk(t))}function e3e(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Qye(e[n],t[n]))return!1;return!0}function t3e(e,t){t===void 0&&(t=e3e);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 UV=()=>{const t=xt().proxy.$props;return L(()=>{const n=(r,a,i)=>({});return t.perfMode?my(n):t3e(n)})},K4=50,Y2="itemRendered",K2="scroll",qf="forward",X2="backward",gi="auto",Py="smart",C1="start",Co="center",T1="end",Id="horizontal",QS="vertical",n3e="ltr",ad="rtl",k1="negative",e6="positive-ascending",t6="positive-descending",r3e={[Id]:"left",[QS]:"top"},a3e=20,i3e={[Id]:"deltaX",[QS]:"deltaY"},o3e=({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[i3e[n.value]];o(i)&&o(i+u)||(i+=u,mN()||s.preventDefault(),a=Fs(()=>{r(i),i=0}))}}},X4=no({type:he([Number,Function]),required:!0}),Z4=no({type:Number}),J4=no({type:Number,default:2}),l3e=no({type:String,values:["ltr","rtl"],default:"ltr"}),Q4=no({type:Number,default:0}),Z2=no({type:Number,required:!0}),YV=no({type:String,values:["horizontal","vertical"],default:QS}),KV=Ne({className:{type:String,default:""},containerElement:{type:he([String,Object]),default:"div"},data:{type:he(Array),default:()=>Rn([])},direction:l3e,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}}),XV=Ne({cache:J4,estimatedItemSize:Z4,layout:YV,initScrollOffset:Q4,total:Z2,itemSize:X4,...KV}),ew={type:Number,default:6},ZV={type:Number,default:0},JV={type:Number,default:2},yc=Ne({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:ZV,scrollbarEndGap:JV,role:String,...KV}),QV=Ne({alwaysOn:Boolean,class:String,layout:YV,total:Z2,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize:ew,startGap:ZV,endGap:JV,visible:Boolean}),nc=(e,t)=>e<t?qf:X2,z1=e=>e===n3e||e===ad||e===Id,ez=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=t6:(t.scrollLeft=1,t.scrollLeft===0?cf=k1:cf=e6),document.body.removeChild(t),cf}return cf}function s3e({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:QV,emits:["scroll","start-move","stop-move"],setup(e,{emit:t}){const n=L(()=>e.startGap+e.endGap),r=Ae("virtual-scrollbar"),a=Ae("scrollbar"),i=j(),o=j();let l=null,s=null;const u=nn({isDragging:!1,traveled:0}),c=L(()=>JO[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`,[r3e[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,a3e),T))}),v=L(()=>{if(!Number.isFinite(h.value))return{display:"none"};const S=`${h.value}px`;return s3e({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,E=o.value[c.value.offset]-T,A=z-E;l=Fs(()=>{u.traveled=Math.max(e.startGap,Math.min(A,p.value)),t("scroll",A,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},[]))}}),eB=({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:XV,emits:[Y2,K2],setup(c,{emit:f,expose:d}){u(c);const h=xt(),v=Ae("vl"),p=j(l(c,h)),g=UV(),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,de=!ye||le===qf?Math.max(1,ue):1;return[Math.max(0,ie-ce),Math.max(0,Math.min(re-1,ve+de)),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%"}}),E=L(()=>C.value?c.width:c.height),{onWheel:A}=o3e({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-E.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)},N=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 t6:{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)?N(re):$(re),D()},O=(re,ue)=>{const ye=(S.value-E.value)/ue*re;B(Math.min(S.value-E.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=gi)=>{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)),de=y(C),xe=ue===ad,J=de?ve:0;ae[re]=ie={position:"absolute",left:xe?void 0:`${J}px`,right:xe?`${J}px`:void 0,top:de?0:`${ve}px`,height:de?"100%":`${ce}px`,width:de?`${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 e6:{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:E,estimatedTotalSize:S,windowStyle:T,windowRef:m,innerRef:b,innerStyle:z,itemsToRender:x,scrollbarRef:_,states:w,getItemStyle:P,onScroll:R,onScrollbarScroll:O,onWheel:A,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:E,useIsScrolling:A,windowStyle:D,ns:$}=c,[N,R]=_,O=It(p),B=It(b),V=[];if(S>0)for(let ee=N;ee<=R;ee++)V.push((f=d.default)==null?void 0:f.call(d,{data:g,key:ee,index:ee,isScrolling:A?E.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:E.scrollOffset/(this.estimatedTotalSize-v),total:S}),Z=tt(O,{class:[$.e("window"),h],style:D,onScroll:C,onWheel:z,ref:"windowRef",key:0},vt(O)?[P]:{default:()=>[P]});return tt("div",{key:0,class:[$.e("wrapper"),E.scrollbarAlwaysOn?"always-on":""]},[Z,W])}}),tB=eB({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===Py&&(l>=f-s&&l<=c+s?o=gi:o=Co),o){case C1:return c;case T1:return f;case Co:{const d=Math.round(f+(c-f)/2);return d<Math.ceil(s/2)?0:d>u+Math.floor(s/2)?u:d}case gi: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]},u3e=(e,t,n)=>{const{items:r,lastVisitedIndex:a}=t;return(a>0?r[a].offset:0)>=n?nB(e,t,0,a,n):c3e(e,t,Math.max(0,a),n)},nB=(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)},c3e=(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 nB(e,t,Math.floor(n/2),Math.min(n,a-1),r)},tz=({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},f3e=eB({name:"ElDynamicSizeList",getItemOffset:(e,t,n)=>Gf(e,t,n).offset,getItemSize:(e,t,{items:n})=>n[t].size,getEstimatedTotalSize:tz,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=tz(e,a),f=Math.max(0,Math.min(c-s,u.offset)),d=Math.max(0,u.offset-s+u.size);switch(n===Py&&(r>=d-s&&r<=f+s?n=gi:n=Co),n){case C1:return f;case T1:return d;case Co:return Math.round(d+(f-d)/2);case gi:default:return r>=d&&r<=f?r:r<d?d:f}},getStartIndexForOffset:(e,t,n)=>u3e(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})=>{}}),d3e=({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}))}}},rB=({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 _=Ae("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),E=j({isScrolling:!1,scrollLeft:ot(p.initScrollLeft)?p.initScrollLeft:0,scrollTop:ot(p.initScrollTop)?p.initScrollTop:0,updateRequested:!1,xAxisScrollDir:qf,yAxisScrollDir:qf}),A=UV(),D=L(()=>Number.parseInt(`${p.height}`,10)),$=L(()=>Number.parseInt(`${p.width}`,10)),N=L(()=>{const{totalColumn:ge,totalRow:Ee,columnCache:De}=p,{isScrolling:Pe,xAxisScrollDir:Re,scrollLeft:Ce}=y(E);if(ge===0||Ee===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:Ee,rowCache:De}=p,{isScrolling:Pe,yAxisScrollDir:Re,scrollTop:Ce}=y(E);if(ge===0||Ee===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(Ee-1,Je+Ke)),Ue,Je]}),O=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(O)}px`,pointerEvents:y(E).isScrolling?"none":void 0,width:ge}}),W=()=>{const{totalColumn:ge,totalRow:Ee}=p;if(ge>0&&Ee>0){const[Je,ze,Ke,ct]=y(N),[At,Ct,rt,Me]=y(R);g(Y2,{columnCacheStart:Je,columnCacheEnd:ze,rowCacheStart:At,rowCacheEnd:Ct,columnVisibleStart:Ke,columnVisibleEnd:ct,rowVisibleStart:rt,rowVisibleEnd:Me})}const{scrollLeft:De,scrollTop:Pe,updateRequested:Re,xAxisScrollDir:Ce,yAxisScrollDir:Ue}=y(E);g(K2,{xAxisScrollDir:Ce,scrollLeft:De,yAxisScrollDir:Ue,scrollTop:Pe,updateRequested:Re})},Z=ge=>{const{clientHeight:Ee,clientWidth:De,scrollHeight:Pe,scrollLeft:Re,scrollTop:Ce,scrollWidth:Ue}=ge.currentTarget,Je=y(E);if(Je.scrollTop===Ce&&Je.scrollLeft===Re)return;let ze=Re;if(ez(p.direction))switch(J2()){case k1:ze=-Re;break;case t6:ze=Ue-De-Re;break}E.value={...Je,isScrolling:!0,scrollLeft:ze,scrollTop:Math.max(0,Math.min(Ce,Pe-Ee)),updateRequested:!0,xAxisScrollDir:nc(Je.scrollLeft,ze),yAxisScrollDir:nc(Je.scrollTop,Ce)},nt(()=>ie()),ve(),W()},ee=(ge,Ee)=>{const De=y(D),Pe=(O.value-De)/Ee*ge;ye({scrollTop:Math.min(O.value-De,Pe)})},re=(ge,Ee)=>{const De=y($),Pe=(B.value-De)/Ee*ge;ye({scrollLeft:Math.min(B.value-De,Pe)})},{onWheel:ue}=d3e({atXStartEdge:L(()=>E.value.scrollLeft<=0),atXEndEdge:L(()=>E.value.scrollLeft>=B.value-y($)),atYStartEdge:L(()=>E.value.scrollTop<=0),atYEndEdge:L(()=>E.value.scrollTop>=O.value-y(D))},(ge,Ee)=>{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(E.value.scrollLeft+ge,B.value-Ue),scrollTop:Math.min(E.value.scrollTop+Ee,O.value-Je)})}),ye=({scrollLeft:ge=E.value.scrollLeft,scrollTop:Ee=E.value.scrollTop})=>{ge=Math.max(ge,0),Ee=Math.max(Ee,0);const De=y(E);Ee===De.scrollTop&&ge===De.scrollLeft||(E.value={...De,xAxisScrollDir:nc(De.scrollLeft,ge),yAxisScrollDir:nc(De.scrollTop,Ee),scrollLeft:ge,scrollTop:Ee,updateRequested:!0},nt(()=>ie()),ve(),W())},le=(ge=0,Ee=0,De=gi)=>{const Pe=y(E);Ee=Math.max(0,Math.min(Ee,p.totalColumn-1)),ge=Math.max(0,Math.min(ge,p.totalRow-1));const Re=iO(_.namespace.value),Ce=y(x),Ue=i(p,Ce),Je=o(p,Ce);ye({scrollLeft:l(p,Ee,De,Pe.scrollLeft,Ce,Je>p.width?Re:0),scrollTop:s(p,ge,De,Pe.scrollTop,Ce,Ue>p.height?Re:0)})},ae=(ge,Ee)=>{const{columnWidth:De,direction:Pe,rowHeight:Re}=p,Ce=A.value(t&&De,t&&Re,t&&Pe),Ue=`${ge},${Ee}`;if(Ut(Ce,Ue))return Ce[Ue];{const[,Je]=n(p,Ee,y(x)),ze=y(x),Ke=ez(Pe),[ct,At]=u(p,ge,ze),[Ct]=n(p,Ee,ze);return Ce[Ue]={position:"absolute",left:Ke?void 0:`${Je}px`,right:Ke?`${Je}px`:void 0,top:`${At}px`,height:`${ct}px`,width:`${Ct}px`},Ce[Ue]}},ie=()=>{E.value.isScrolling=!1,nt(()=>{A.value(-1,null,null)})};bt(()=>{if(!Wt)return;const{initScrollLeft:ge,initScrollTop:Ee}=p,De=y(S);De&&(ot(ge)&&(De.scrollLeft=ge),ot(Ee)&&(De.scrollTop=Ee)),W()});const ve=()=>{const{direction:ge}=p,{scrollLeft:Ee,scrollTop:De,updateRequested:Pe}=y(E),Re=y(S);if(Pe&&Re){if(ge===ad)switch(J2()){case k1:{Re.scrollLeft=-Ee;break}case e6:{Re.scrollLeft=Ee;break}default:{const{clientWidth:Ce,scrollWidth:Ue}=Re;Re.scrollLeft=Ue-Ce-Ee;break}}else Re.scrollLeft=Math.max(0,Ee);Re.scrollTop=Math.max(0,De)}},{resetAfterColumnIndex:ce,resetAfterRowIndex:de,resetAfter:xe}=w.proxy;m({windowRef:S,innerRef:z,getItemStyleCache:A,scrollTo:ye,scrollToItem:le,states:E,resetAfterColumnIndex:ce,resetAfterRowIndex:de,resetAfter:xe});const J=()=>{const{scrollbarAlwaysOn:ge,scrollbarStartGap:Ee,scrollbarEndGap:De,totalColumn:Pe,totalRow:Re}=p,Ce=y($),Ue=y(D),Je=y(B),ze=y(O),{scrollLeft:Ke,scrollTop:ct}=y(E),At=tt(tw,{ref:C,alwaysOn:ge,startGap:Ee,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:Ee,endGap:De,class:_.e("vertical"),clientSize:Ue,layout:"vertical",onScroll:ee,ratio:Ue*100/ze,scrollFrom:ct/(ze-Ue),total:Pe,visible:!0});return{horizontalScrollbar:At,verticalScrollbar:Ct}},oe=()=>{var ge;const[Ee,De]=y(N),[Pe,Re]=y(R),{data:Ce,totalColumn:Ue,totalRow:Je,useIsScrolling:ze,itemKey:Ke}=p,ct=[];if(Je>0&&Ue>0)for(let At=Pe;At<=Re;At++)for(let Ct=Ee;Ct<=De;Ct++)ct.push((ge=b.default)==null?void 0:ge.call(b,{columnIndex:Ct,data:Ce,key:Ke({columnIndex:Ct,data:Ce,rowIndex:At}),isScrolling:ze?y(E).isScrolling:void 0,style:ae(At,Ct),rowIndex:At}));return ct},pe=()=>{const ge=It(p.innerElement),Ee=oe();return[tt(ge,{style:y(P),ref:z},vt(ge)?Ee:{default:()=>Ee})]};return()=>{const ge=It(p.containerElement),{horizontalScrollbar:Ee,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}),Ee,De])}}}),h3e=rB({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=gi:a=Co),a){case C1:return u;case T1:return c;case Co:{const f=Math.round(c+(u-c)/2);return f<Math.ceil(n/2)?0:f>s+Math.floor(n/2)?s:f}case gi: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===Py&&(i>=c-t&&i<=u+t?a=gi:a=Co),a){case C1:return u;case T1:return c;case Co:{const f=Math.round(c+(u-c)/2);return f<Math.ceil(t/2)?0:f>s+Math.floor(t/2)?s:f}case gi: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:aB,floor:iB}=Math,v3e={column:"columnWidth",row:"rowHeight"},nw={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},ll=(e,t,n,r)=>{const[a,i,o]=[n[r],e[v3e[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]},oB=(e,t,n,r,a,i)=>{for(;n<=r;){const o=n+iB((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)},p3e=(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 oB(e,t,iB(n/2),aB(n,i-1),r,a)},nz=(e,t,n,r)=>{const[a,i]=[t[r],t[nw[r]]];return(i>0?a[i].offset:0)>=n?oB(e,t,0,i,n,r):p3e(e,t,Q2(0,i),n,r)},lB=({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},sB=({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},g3e={column:sB,row:lB},rz=(e,t,n,r,a,i,o)=>{const[l,s]=[i==="row"?e.height:e.width,g3e[i]],u=ll(e,t,a,i),c=s(e,a),f=Q2(0,aB(c-l,u.offset)),d=Q2(0,u.offset-l+o+u.size);switch(n===Py&&(r>=d-l&&r<=f+l?n=gi:n=Co),n){case C1:return f;case T1:return d;case Co:return Math.round(d+(f-d)/2);case gi:default:return r>=d&&r<=f?r:d>f||r<d?d:f}},m3e=rB({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)=>rz(e,t,n,r,a,"column",i),getRowOffset:(e,t,n,r,a,i)=>rz(e,t,n,r,a,"row",i),getColumnStartIndexForOffset:(e,t,n)=>nz(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:lB,getEstimatedTotalWidth:sB,getRowStartIndexForOffset:(e,t,n)=>nz(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})=>{}}),y3e=te({props:{item:{type:Object,required:!0},style:Object,height:Number},setup(){return{ns:Ae("select")}}});function b3e(e,t,n,r,a,i){return k(),H("div",{class:q(e.ns.be("group","title")),style:Be([e.style,{lineHeight:`${e.height}px`}])},U(e.item.label),7)}var _3e=Oe(y3e,[["render",b3e],["__file","group-item.vue"]]);function w3e(e,{emit:t}){return{hoverItem:()=>{e.disabled||t("hover",e.index)},selectOptionClick:()=>{e.disabled||t("select",e.item,e.index)}}}const uB={label:"label",value:"value",disabled:"disabled",options:"options"};function Ry(e){const t=L(()=>({...uB,...e.props}));return{aliasProps:t,getLabel:o=>Un(o,t.value.label),getValue:o=>Un(o,t.value.value),getDisabled:o=>Un(o,t.value.disabled),getOptions:o=>Un(o,t.value.options)}}const x3e=Ne({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:()=>uB},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},placement:{type:he(String),values:Yc,default:"bottom-start"},fallbackPlacements:{type:he(Array),default:["bottom-start","top-start","right","left"]},tagType:{...Iy.type,default:"info"},...th,...Ar(["ariaLabel"])}),S3e=Ne({data:Array,disabled:Boolean,hovering:Boolean,item:{type:he(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),n6=Symbol("ElSelectV2Injection"),C3e=te({props:S3e,emits:["select","hover"],setup(e,{emit:t}){const n=Ye(n6),r=Ae("select"),{hoverItem:a,selectOptionClick:i}=w3e(e,{emit:t}),{getLabel:o}=Ry(n.props);return{ns:r,hoverItem:a,selectOptionClick:i,getLabel:o}}}),T3e=["aria-selected"];function k3e(e,t,n,r,a,i){return k(),H("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,T3e)}var z3e=Oe(C3e,[["render",k3e],["__file","option-item.vue"]]),M3e=te({name:"ElSelectDropdown",props:{loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number},setup(e,{slots:t,expose:n}){const r=Ye(n6),a=Ae("select"),{getLabel:i,getValue:o,getDisabled:l}=Ry(r.props),s=j([]),u=j(),c=L(()=>e.data.length);ke(()=>c.value,()=>{var A,D;(D=(A=r.tooltipRef.value).updatePopper)==null||D.call(A)});const f=L(()=>Xn(r.props.estimatedOptionHeight)),d=L(()=>f.value?{itemSize:r.props.itemHeight}:{estimatedSize:r.props.estimatedOptionHeight,itemSize:A=>s.value[A]}),h=(A=[],D)=>{const{props:{valueKey:$}}=r;return zt(D)?A&&A.some(N=>dn(Un(N,$))===Un(D,$)):A.includes(D)},v=(A,D)=>{if(zt(D)){const{valueKey:$}=r.props;return Un(A,$)===Un(D,$)}else return A===D},p=(A,D)=>r.props.multiple?h(A,o(D)):v(A,o(D)),g=(A,D)=>{const{disabled:$,multiple:N,multipleLimit:R}=r.props;return $||!D&&(N?R>0&&A.length>=R:!1)},m=A=>e.hoveringIndex===A;n({listRef:u,isSized:f,isItemDisabled:g,isItemHovering:m,isItemSelected:p,scrollToItem:A=>{const D=u.value;D&&D.scrollToItem(A)},resetScrollTop:()=>{const A=u.value;A&&A.resetScrollTop()}});const w=A=>{const{index:D,data:$,style:N}=A,R=y(f),{itemSize:O,estimatedSize:B}=y(d),{modelValue:V}=r.props,{onSelect:P,onHover:W}=r,Z=$[D];if(Z.type==="Group")return I(_3e,{item:Z,style:N,height:R?O:B},null);const ee=p(V,Z),re=g(V,ee),ue=m(D);return I(z3e,Pt(A,{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},E=A=>{const{code:D}=A,{tab:$,esc:N,down:R,up:O,enter:B}=at;switch(D!==$&&(A.preventDefault(),A.stopPropagation()),D){case $:case N:{z();break}case R:{C();break}case O:{T();break}case B:{S();break}}};return()=>{var A,D,$,N;const{data:R,width:O}=e,{height:B,multiple:V,scrollbarAlwaysOn:P}=r.props,W=y(f)?tB:f3e;return I("div",{class:[a.b("dropdown"),a.is("multiple",V)],style:{width:`${O}px`}},[(A=t.header)==null?void 0:A.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:O,total:R.length,onKeydown:E}),{default:Z=>I(w,Z,null)}),(N=t.footer)==null?void 0:N.call(t)])}}});function E3e(e,t){const{aliasProps:n,getLabel:r,getValue:a}=Ry(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 A3e=11,I3e=(e,t)=>{const{t:n}=Xt(),r=Ae("select"),a=Ae("input"),{form:i,formItem:o}=Qr(),{inputId:l}=ao(e,{formItemContext:o}),{aliasProps:s,getLabel:u,getValue:c,getDisabled:f,getOptions:d}=Ry(e),{valueOnClear:h,isEmptyValue:v}=zy(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),E=j(null),A=j(null),{wrapperRef:D,isFocused:$,handleFocus:N,handleBlur:R}=ky(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}}),O=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?"":Nl),ue=L(()=>re.value&&r.is("reverse",V.value)),ye=L(()=>(o==null?void 0:o.validateState)||""),le=L(()=>cS[ye.value]),ae=L(()=>e.remote?300:0),ie=L(()=>e.loading?e.loadingText||n("el.select.loading"):e.remote&&!p.inputValue&&O.value.length===0?!1:e.filterable&&p.inputValue&&O.value.length>0&&B.value.length===0?e.noMatchText||n("el.select.noMatch"):O.value.length===0?e.noDataText||n("el.select.noData"):null),ve=Fe=>{const gt=Gt=>{if(e.filterable&&ut(e.filterMethod)||e.filterable&&e.remote&&ut(e.remoteMethod))return!0;const vn=new RegExp(nS(Fe),"i");return Fe?vn.test(u(Gt)||""):!0};return e.loading?[]:[...p.createdOptions,...e.options].reduce((Gt,vn)=>{const Xa=d(vn);if(We(Xa)){const Zo=Xa.filter(gt);Zo.length>0&&Gt.push({label:u(vn),type:"Group"},...Zo)}else(e.remote||gt(vn))&&Gt.push(vn);return Gt},[])},ce=()=>{O.value=ve(""),B.value=ve(p.inputValue)},de=L(()=>{const Fe=new Map;return O.value.forEach((gt,Gt)=>{Fe.set(Vt(c(gt)),{option:gt,index:Gt})}),Fe}),xe=L(()=>{const Fe=new Map;return B.value.forEach((gt,Gt)=>{Fe.set(Vt(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")},Ee=L(()=>{const Fe=ge();return{maxWidth:`${A.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,A3e)}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:[]),ct=L(()=>e.multiple?e.collapseTags?p.cachedOptions.slice(e.maxCollapseTags):[]:[]),{createNewOption:At,removeNewOption:Ct,selectNewOption:rt,clearAllNewOption:Me}=E3e(e,p),{handleCompositionStart:qe,handleCompositionUpdate:Le,handleCompositionEnd:_e}=jV(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),At(p.inputValue),Qe(p.inputValue)},be=La(Xe,ae.value),Qe=Fe=>{p.previousQuery!==Fe&&(p.previousQuery=Fe,e.filterable&&ut(e.filterMethod)?e.filterMethod(Fe):e.filterable&&e.remote&&ut(e.remoteMethod)&&e.remoteMethod(Fe),e.defaultFirstOption&&(e.filterable||e.remote)&&B.value.length?nt(Lt):nt(lo))},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((Xa,Zo)=>Un(Xa,Gt)===Un(gt,Gt)?(vn=Zo,!0):!1),vn},Vt=Fe=>zt(Fe)?Un(Fe,e.valueKey):Fe,Yn=()=>{Te()},Up=()=>{p.selectionWidth=b.value.getBoundingClientRect().width},xh=()=>{p.calculatorWidth=S.value.getBoundingClientRect().width},E3=()=>{p.collapseItemWidth=A.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()},A3=(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=>tO(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 Xa=p.cachedOptions[Gt];p.cachedOptions.splice(Gt,1),Ct(Xa),$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 Xa=Gt[vn];if(f(Xa)||Xa.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()},qn=Fe=>{p.hoveringIndex=Fe},lo=()=>{e.multiple?p.hoveringIndex=B.value.findIndex(Fe=>e.modelValue.some(gt=>Vt(gt)===Vt(Fe))):p.hoveringIndex=B.value.findIndex(Fe=>Vt(Fe)===Vt(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=Vt(Fe);if(de.value.has(gt)){const{option:Gt}=de.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=>Vt(c(Gt))===Vt(e.modelValue));~gt?p.selectedLabel=u(Fe[gt]):p.selectedLabel=Vt(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,At("")),t("visible-change",Fe)}),ke(()=>e.modelValue,(Fe,gt)=>{var Gt;(!Fe||e.multiple&&Fe.toString()!==p.previousValue||!e.multiple&&Vt(Fe)!==Vt(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)),Nr(()=>{p.isBeforeHide||ce()}),Nr(()=>{const{valueKey:Fe,options:gt}=e,Gt=new Map;for(const vn of gt){const Xa=c(vn);let Zo=Xa;if(zt(Zo)&&(Zo=Un(Xa,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(E,Yp),Pn(A,E3),{inputId:l,collapseTagSize:pe,currentPlaceholder:Ce,expanded:V,emptyText:ie,popupHeight:W,debounce:ae,allOptions:O,filteredOptions:B,iconComponent:re,iconReverse:ue,tagStyle:Ee,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:E,tooltipRef:_,tagTooltipRef:w,selectRef:m,wrapperRef:D,selectionRef:b,prefixRef:C,suffixRef:T,collapseItemRef:A,popperRef:Ue,validateState:ye,validateIcon:le,showTagList:Ke,collapseTagList:ct,debouncedOnInputChange:be,deleteTag:A3,getLabel:u,getValue:c,getDisabled:f,getValueKey:Vt,handleBlur:R,handleClear:je,handleClickOutside:of,handleDel:P3,handleEsc:D3,handleFocus:N,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:qn,handleCompositionStart:qe,handleCompositionEnd:_e,handleCompositionUpdate:Le}},D3e=te({name:"ElSelectV2",components:{ElSelectMenu:M3e,ElTag:x1,ElTooltip:Xr,ElIcon:Ze},directives:{ClickOutside:Sl},props:x3e,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=I3e(nn({...Er(e),modelValue:n}),t);return Rt(n6,{props:nn({...Er(e),height:r.popupHeight,modelValue:n}),tooltipRef:r.tooltipRef,onSelect:r.onSelect,onHover:r.onHover,onKeyboardNavigate:r.onKeyboardNavigate,onKeyboardSelect:r.onKeyboardSelect}),{...r,modelValue:n}}}),L3e=["id","autocomplete","aria-expanded","aria-label","disabled","readonly","name"],P3e=["textContent"],R3e={key:1};function N3e(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(),H("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(),H("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),H(fe,null,we(e.showTagList,f=>(k(),H("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),H(fe,null,we(e.collapseTagList,f=>(k(),H("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(),H("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,L3e),[[R5,e.states.inputValue]]),e.filterable?(k(),H("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:q(e.nsSelect.e("input-calculator")),textContent:U(e.states.inputValue)},null,10,P3e)):Q("v-if",!0)],2)),e.shouldShowPlaceholder?(k(),H("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(),H("span",R3e,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 U0=Oe(D3e,[["render",N3e],["__file","select.vue"]]);U0.install=e=>{e.component(U0.name,U0)};const O3e=U0,$3e=O3e,V3e=Ne({animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:Number}}),B3e=Ne({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),F3e=te({name:"ElSkeletonItem"}),H3e=te({...F3e,props:B3e,setup(e){const t=Ae("skeleton");return(n,r)=>(k(),H("div",{class:q([y(t).e("item"),y(t).e(n.variant)])},[n.variant==="image"?(k(),Y(y(Dae),{key:0})):Q("v-if",!0)],2))}});var em=Oe(H3e,[["__file","skeleton-item.vue"]]);const j3e=te({name:"ElSkeleton"}),q3e=te({...j3e,props:V3e,setup(e,{expose:t}){const n=e,r=Ae("skeleton"),a=Toe(mn(n,"loading"),n.throttle);return t({uiLoading:a}),(i,o)=>y(a)?(k(),H("div",Pt({key:0,class:[y(r).b(),y(r).is("animated",i.animated)]},i.$attrs),[(k(!0),H(fe,null,we(i.count,l=>(k(),H(fe,{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),H(fe,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 G3e=Oe(q3e,[["__file","skeleton.vue"]]);const W3e=St(G3e,{SkeletonItem:em}),U3e=Nn(em),cB=Symbol("sliderContextKey"),Y3e=Ne({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:Yc,default:"top"},marks:{type:he(Object)},validateEvent:{type:Boolean,default:!0},...Ar(["ariaLabel"])}),pb=e=>ot(e)||We(e)&&e.every(ot),K3e={[Mt]:pb,[sa]:pb,[Tn]:pb},X3e=(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}},Z3e=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]})):[]),J3e=(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=A=>{const D=e.min+A*(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=A=>{const D=m(A);return D.value.setPosition(A),D},_=A=>{t.firstValue=A,x(e.range?[c.value,f.value]:A)},w=A=>{t.secondValue=A,e.range&&x([c.value,f.value])},x=A=>{n(Mt,A),n(sa,A)},S=async()=>{await nt(),n(Tn,e.range?[c.value,f.value]:e.modelValue)},C=A=>{var D,$,N,R,O,B;if(u.value||t.dragging)return;g();let V=0;if(e.vertical){const P=(N=($=(D=A.touches)==null?void 0:D.item(0))==null?void 0:$.clientY)!=null?N:A.clientY;V=(i.value.getBoundingClientRect().bottom-P)/t.sliderSize*100}else{const P=(B=(O=(R=A.touches)==null?void 0:R.item(0))==null?void 0:O.clientX)!=null?B:A.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:A=>{var D,$;((D=s.firstButton.value)!=null&&D.dragging||($=s.secondButton.value)!=null&&$.dragging)&&A.preventDefault()},onSliderClick:A=>{C(A)&&S()},onSliderDown:async A=>{const D=C(A);D&&(await nt(),D.value.onButtonDown(A))},setFirstValue:_,setSecondValue:w}},{left:Q3e,down:ebe,right:tbe,up:nbe,home:rbe,end:abe,pageUp:ibe,pageDown:obe}=at,lbe=(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}},sbe=(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(cB),{tooltip:v,tooltipVisible:p,formatValue:g,displayTooltip:m,hideTooltip:b}=lbe(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())},E=()=>{z(-o.value)},A=()=>{z(o.value)},D=()=>{z(-o.value*4)},$=()=>{z(o.value*4)},N=()=>{r.value||(Z(0),f())},R=()=>{r.value||(Z(100),f())},O=ee=>{let re=!0;[Q3e,ebe].includes(ee.key)?E():[tbe,nbe].includes(ee.key)?A():ee.key===rbe?N():ee.key===abe?R():ee.key===obe?D():ee.key===ibe?$():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:O,setPosition:Z}},ube=(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}%`}}),cbe=(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()})},fbe=Ne({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Yc,default:"top"}}),dbe={[Mt]:e=>ot(e)},hbe=["tabindex"],vbe=te({name:"ElSliderButton"}),pbe=te({...vbe,props:fbe,emits:dbe,setup(e,{expose:t,emit:n}){const r=e,a=Ae("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}=sbe(r,i,n),{hovering:b,dragging:_}=Er(i);return t({onButtonDown:p,onKeyDown:g,setPosition:m,hovering:b,dragging:_}),(w,x)=>(k(),H("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,hbe))}});var az=Oe(pbe,[["__file","button.vue"]]);const gbe=Ne({mark:{type:he([String,Object]),default:void 0}});var mbe=te({name:"ElSliderMarker",props:gbe,setup(e){const t=Ae("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 ybe=["id","role","aria-label","aria-labelledby"],bbe={key:1},_be=te({name:"ElSlider"}),wbe=te({..._be,props:Y3e,emits:K3e,setup(e,{expose:t,emit:n}){const r=e,a=Ae("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}=J3e(r,o,n),{stops:C,getStopStyle:T}=ube(r,o,d,h),{inputId:z,isLabeledByFormItem:E}=ao(r,{formItemContext:l}),A=tr(),D=L(()=>r.inputSize||A.value),$=L(()=>r.label||r.ariaLabel||i("el.slider.defaultLabel",{min:r.min,max:r.max})),N=L(()=>r.range?r.rangeStartLabel||i("el.slider.defaultRangeStartLabel"):$.value),R=L(()=>r.formatValueText?r.formatValueText(ee.value):`${ee.value}`),O=L(()=>r.rangeEndLabel||i("el.slider.defaultRangeEndLabel")),B=L(()=>r.formatValueText?r.formatValueText(re.value):`${re.value}`),V=L(()=>[a.b(),a.m(A.value),a.is("vertical",r.vertical),{[a.m("with-input")]:r.showInput}]),P=Z3e(r);cbe(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}=X3e(r,o,g),{firstValue:ee,secondValue:re,sliderSize:ue}=Er(o),ye=le=>{o.dragging=le};return Rt(cB,{...Er(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(),H("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(E)?y($):void 0,"aria-labelledby":le.range&&y(E)?(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(az,{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(E)?y(N):void 0,"aria-labelledby":!le.range&&y(E)?(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(az,{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(O),"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(),H("div",bbe,[(k(!0),H(fe,null,we(y(C),(ce,de)=>(k(),H("div",{key:de,class:q(y(a).e("stop")),style:Be(y(T)(ce))},null,6))),128))])):Q("v-if",!0),y(P).length>0?(k(),H(fe,{key:2},[X("div",null,[(k(!0),H(fe,null,we(y(P),(ce,de)=>(k(),H("div",{key:de,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),H(fe,null,we(y(P),(ce,de)=>(k(),Y(y(mbe),{key:de,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(NV),{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,ybe)}}});var xbe=Oe(wbe,[["__file","slider.vue"]]);const Sbe=St(xbe),Cbe=Ne({prefixCls:{type:String}}),iz=te({name:"ElSpaceItem",props:Cbe,setup(e,{slots:t}){const n=Ae("space"),r=L(()=>`${e.prefixCls||n.b()}__item`);return()=>tt("div",{class:r.value},me(t,"default"))}}),oz={small:8,default:12,large:16};function Tbe(e){const t=Ae("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 Nr(()=>{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=oz[l||"small"]||oz.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 kbe=Ne({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)}}),zbe=te({name:"ElSpace",props:kbe,setup(e,{slots:t}){const{classes:n,containerStyle:r,itemStyle:a}=Tbe(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(iz,{style:a.value,prefixCls:u,key:`nested-${l+h}`},{default:()=>[d]},oi.PROPS|oi.STYLE,["style","prefixCls"]))}):sie(c)&&s.push(I(iz,{style:a.value,prefixCls:u,key:`LoopKey${l+f}`},{default:()=>[c]},oi.PROPS|oi.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,oi.TEXT)],oi.STYLE)),p},[])}return I("div",{class:n.value,style:r.value},c,oi.STYLE|oi.CLASS)}return u.children}}}),Mbe=St(zbe),Ebe=Ne({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])}}),Abe=te({name:"ElStatistic"}),Ibe=te({...Abe,props:Ebe,setup(e,{expose:t}){const n=e,r=Ae("statistic"),a=L(()=>{const{value:i,formatter:o,precision:l,decimalSeparator:s,groupSeparator:u}=n;if(ut(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(),H("div",{class:q(y(r).b())},[i.$slots.title||i.title?(k(),H("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(),H("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(),H("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 Dbe=Oe(Ibe,[["__file","statistic.vue"]]);const fB=St(Dbe),Lbe=Ne({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])}}),Pbe={finish:()=>!0,[Tn]:e=>ot(e)},Rbe=[["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]],lz=e=>ot(e)?new Date(e).getTime():e.valueOf(),sz=(e,t)=>{let n=e;const r=/\[([^\]]*)]/g;return Rbe.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")},Nbe=te({name:"ElCountdown"}),Obe=te({...Nbe,props:Lbe,emits:Pbe,setup(e,{expose:t,emit:n}){const r=e;let a;const i=j(lz(r.value)-Date.now()),o=L(()=>sz(i.value,r.format)),l=c=>sz(c,r.format),s=()=>{a&&(Dc(a),a=void 0)},u=()=>{const c=lz(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(fB),{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 $be=Oe(Obe,[["__file","countdown.vue"]]);const Vbe=St($be),Bbe=Ne({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"}}),Fbe={[Tn]:(e,t)=>[e,t].every(ot)},Hbe=te({name:"ElSteps"}),jbe=te({...Hbe,props:Bbe,emits:Fbe,setup(e,{emit:t}){const n=e,r=Ae("steps"),{children:a,addChild:i,removeChild:o}=DS(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(),H("div",{class:q([y(r).b(),y(r).m(l.simple?"simple":l.direction)])},[me(l.$slots,"default")],2))}});var qbe=Oe(jbe,[["__file","steps.vue"]]);const Gbe=Ne({title:{type:String,default:""},icon:{type:hn},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),Wbe=te({name:"ElStep"}),Ube=te({...Wbe,props:Gbe,setup(e){const t=e,n=Ae("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(),H("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(),H("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(vp))]),_: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(Zi))]),_:1},8,["class"])):y(d)?Q("v-if",!0):(k(),H("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(),H("div",{key:0,class:q(y(n).e("arrow"))},null,2)):(k(),H("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 dB=Oe(Ube,[["__file","item.vue"]]);const Ybe=St(qbe,{Step:dB}),Kbe=Nn(dB),Xbe=Ne({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},size:{type:String,validator:vO},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},...Ar(["ariaLabel"])}),Zbe={[Mt]:e=>Jn(e)||vt(e)||ot(e),[Tn]:e=>Jn(e)||vt(e)||ot(e),[sa]:e=>Jn(e)||vt(e)||ot(e)},Jbe=["onClick"],Qbe=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex","onKeydown"],e_e=["aria-hidden"],t_e=["aria-hidden"],n_e=["aria-hidden"],hB="ElSwitch",r_e=te({name:hB}),a_e=te({...r_e,props:Xbe,emits:Zbe,setup(e,{expose:t,emit:n}){const r=e,{formItem:a}=Qr(),i=tr(),o=Ae("switch"),{inputId:l}=ao(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(hB,"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(),H("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,Qbe),!x.inlinePrompt&&(x.inactiveIcon||x.inactiveText)?(k(),H("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(),H("span",{key:1,"aria-hidden":y(m)},U(x.inactiveText),9,e_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(),H("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(),H("span",{key:1,class:q(y(o).is("text")),"aria-hidden":!y(m)},U(y(m)?x.activeText:x.inactiveText),11,t_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(),H("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(),H("span",{key:1,"aria-hidden":!y(m)},U(x.activeText),9,n_e)):Q("v-if",!0)],2)):Q("v-if",!0)],10,Jbe))}});var i_e=Oe(a_e,[["__file","switch.vue"]]);const o_e=St(i_e),gb=function(e){var t;return(t=e.target)==null?void 0:t.closest("td")},l_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"?Un(l,u):u(l,s,e))):(t!=="$key"&&zt(l)&&"$value"in l&&(l=l.$value),[zt(l)?Un(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)},vB=function(e,t){let n=null;return e.columns.forEach(r=>{r.id===t&&(n=r)}),n},s_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},uz=function(e,t,n){const r=(t.className||"").match(new RegExp(`${n}-table_[^\\s]+`,"gm"));return r?vB(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 u_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 r6(e){return e===""||e!==void 0&&(e=Number.parseInt(e,10),Number.isNaN(e)&&(e="")),e}function pB(e){return e===""||e!==void 0&&(e=r6(e),Number.isNaN(e)&&(e=80)),e}function c_e(e){return typeof e=="number"?e:typeof e=="string"?/^\d+(?:px)?$/.test(e)?Number.parseInt(e,10):e:null}function f_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 d_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 ni=null;function h_e(e,t,n,r){if((ni==null?void 0:ni.trigger)===n)return;ni==null||ni();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:()=>{ni==null||ni()}});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`);ni=()=>{$s(null,s),u==null||u.removeEventListener("scroll",ni),ni=null},ni.trigger=n,u==null||u.addEventListener("scroll",ni)}function gB(e){return e.children?Tre(e.children,gB):[e]}function cz(e,t){return e+t.colSpan}const mB=(e,t,n,r)=>{let a=0,i=e;const o=n.states.columns.value;if(r){const s=gB(r[e]);a=o.slice(0,o.indexOf(s[0])).reduce(cz,0),i=a+s.reduce(cz,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}:{}},a6=(e,t,n,r,a,i=0)=>{const o=[],{direction:l,start:s,after:u}=mB(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 fz(e,t){return e+(t.realWidth===null||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const i6=(e,t,n,r)=>{const{direction:a,start:i=0,after:o=0}=mB(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(fz,0):l.right=u.slice(o+1).reverse().reduce(fz,0),l},Dd=(e,t)=>{e&&(Number.isNaN(e[t])||(e[t]=`${e[t]}px`))};function v_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 p_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 g_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 d_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=[],E=(D,$)=>{if(m)return t.value?b||t.value.includes($):!!(b||D!=null&&D.expanded);{const N=b||t.value&&t.value.includes($);return!!(D!=null&&D.expanded||N)}};S.forEach(D=>{const $=T[D],N={...w[D]};if(N.expanded=E($,D),N.lazy){const{loaded:R=!1,loading:O=!1}=$||{};N.loaded=!!R,N.loading=!!O,z.push(D)}C[D]=N});const A=Object.keys(x);a.value&&A.length&&z.length&&A.forEach(D=>{const $=T[D],N=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=N}else{const{loaded:R=!1,loading:O=!1}=$||{};C[D]={lazy:!0,loaded:!!R,loading:!!O,expanded:E($,D),children:N,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 m_e=(e,t)=>{const n=t.sortingColumn;return!n||typeof n.sortable=="string"?e:l_e(e,t.sortProp,t.sortOrder,n.sortMethod,n.sortBy)},Y0=e=>{const t=[];return e.forEach(n=>{n.children&&n.children.length>0?t.push.apply(t,Y0(n.children)):t.push(n)}),t};function y_e(){var e;const t=xt(),{size:n}=Er((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),E=j(null),A=j(null),D=j(null),$=j(null);ke(a,()=>t.state&&B(!1),{deep:!0});const N=()=>{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)})},O=()=>{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=Y0(rt),qe=Y0(c.value),Le=Y0(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&&O(),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],Vt=C.value&&C.value.call(null,hr,$n);if(_e(hr))Xe++;else if(!C.value||Vt){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)=>{E.value&&E.value!==rt&&(E.value.order=null),E.value=rt,A.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=vB({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=m_e(z.value,{sortingColumn:E.value,sortProp:A.value,sortOrder:D.value})},de=(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=>s_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=()=>{E.value&&(ie(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:oe,toggleRowExpansion:pe,updateExpandRows:Te,states:ge,isRowExpanded:Ee}=v_e({data:a,rowKey:r}),{updateTreeExpandKeys:De,toggleTreeExpansion:Pe,updateTreeData:Re,loadOrToggle:Ce,states:Ue}=g_e({data:a,rowKey:r}),{updateCurrentRowData:Je,updateCurrentRow:ze,setCurrentRowKey:Ke,states:ct}=p_e({data:a,rowKey:r});return{assertRowKey:N,updateColumns:O,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:de,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:Ee,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:E,sortProp:A,sortOrder:D,hoverRow:$,...ge,...Ue,...ct}}}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 b_e(){const e=xt(),t=y_e();return{ns:Ae("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 __e(e,t){if(!e)throw new Error("Table is required.");const n=b_e();return n.toggleAllSelection=La(n._toggleAllSelection,10),Object.keys(Bv).forEach(r=>{yB(bB(t,r),r,n)}),w_e(n,t),n}function w_e(e,t){Object.keys(Bv).forEach(n=>{ke(()=>bB(t,n),r=>{yB(r,n,e)})})}function yB(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 bB(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 x_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)&&(st(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=c_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:S_e}=zi,C_e=te({name:"ElTableFilterPanel",components:{ElCheckbox:zi,ElCheckboxGroup:S_e,ElScrollbar:$l,ElTooltip:Xr,ElIcon:Ze,ArrowDown:Nl,ArrowUp:aS},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=Ae("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}}}),T_e={key:0},k_e=["disabled"],z_e=["label","onClick"];function M_e(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(),H("div",T_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),H(fe,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,k_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(),H("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),H(fe,null,we(e.filters,v=>(k(),H("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,z_e))),128))],2))]),default:M(()=>[mt((k(),H("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 E_e=Oe(C_e,[["render",M_e],["__file","filter-panel.vue"]]);function _B(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 A_e(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;pi(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=E=>{const A=E.clientX-u.value.startMouseLeft,D=u.value.startLeft+A;C.style.left=`${Math.max(S,D)}px`},z=()=>{if(s.value){const{startColumnLeft:E,startLeft:A}=u.value,$=Number.parseInt(C.style.left,10)-E;g.width=g.realWidth=$,m==null||m.emit("header-dragend",g.width,A-E,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(!Ci(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",bi(b,"is-sortable")&&(b.style.cursor="col-resize"),l.value=g):s.value||(w.cursor="",bi(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&&bi(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 I_e(e){const t=Ye(qo),n=Ae("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=i6(s,c.fixed,e.store,u);return Dd(h,"left"),Dd(h,"right"),Object.assign({},d,h)},getHeaderCellClass:(l,s,u,c)=>{const f=a6(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 wB=e=>{const t=[];return e.forEach(n=>{n.children?(t.push(n),t.push.apply(t,wB(n.children))):t.push(n)}),t},D_e=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 wB(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 L_e(e){const t=Ye(qo),n=L(()=>D_e(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 P_e=te({name:"ElTableHeader",components:{ElCheckbox:zi},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=Ae("table"),i=j({}),{onColumnsChange:o,onScrollableChange:l}=_B(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}=A_e(e,t),{getHeaderRowStyle:p,getHeaderRowClass:g,getHeaderCellStyle:m,getHeaderCellClass:b}=I_e(e),{isGroup:_,toggleAllSelection:w,columnRows:x}=L_e(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(E_e,{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 R_e(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=uz({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=uz({columns:e.store.states.columns.value},_,w);_.rowSpan>1&&f(_.rowSpan,v,pi);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(!(bi(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:E,height:A}=x.getBoundingClientRect();z<.001&&(C=Math.floor(C)),T-Math.floor(T)<.001&&(T=Math.floor(T));const{top:$,left:N,right:R,bottom:O}=c(x),B=N+R,V=$+O;(mb(C+B,E)||mb(T+V,A)||mb(x.scrollWidth,E))&&h_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 N_e(e){const t=Ye(qo),n=Ae("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=i6(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=a6(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 O_e(e){const t=Ye(qo),n=Ae("table"),{handleDoubleClick:r,handleClick:a,handleContextMenu:i,handleMouseEnter:o,handleMouseLeave:l,handleCellMouseEnter:s,handleCellMouseLeave:u,tooltipContent:c,tooltipTrigger:f}=R_e(e),{getRowStyle:d,getRowClass:h,getCellStyle:v,getCellClass:p,getSpan:g,getColspanRealWidth:m}=N_e(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,E=!1)=>{const{tooltipEffect:A,tooltipOptions:D,store:$}=e,{indent:N,columns:R}=$.states,O=h(C,T);let B=!0;return z&&(O.push(n.em("row",`level-${z.level}`)),B=z.display),tt("tr",{style:[B?null:{display:"none"},d(C,T)],class:O,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:E};W===b.value&&z&&(ue.treeNode={indent:z.level*N.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&&Ere({effect:A},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:E,assertRowKey:A}=z,{treeData:D,lazyTreeNodeMap:$,childrenColumnName:N,rowKey:R}=z.states,O=z.states.columns.value;if(O.some(({type:V})=>V==="expand")){const V=E(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:O.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){A();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[N.value];re(ce,P)}})};P.display=!0;const ue=$.value[V]||C[N.value];re(ue,P)}return Z}else return w(C,T,void 0)},tooltipContent:c,tooltipTrigger:f}}const $_e={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 V_e=te({name:"ElTableBody",props:$_e,setup(e){const t=xt(),n=Ye(qo),r=Ae("table"),{wrappedRowRender:a,tooltipContent:i,tooltipTrigger:o}=O_e(e),{onColumnsChange:l,onScrollableChange:s}=_B(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){pi(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&&pi(b,"hover-row")})}),Ho(()=>{var c;(c=ni)==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 B_e(){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 F_e(e){const{columns:t}=B_e(),n=Ae("table");return{getCellClasses:(i,o)=>{const l=i[o],s=[n.e("cell"),l.id,l.align,l.labelClassName,...a6(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=i6(o,i.fixed,e.store);return Dd(l,"left"),Dd(l,"right"),l},columns:t}}var H_e=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}=F_e(e);return{ns:Ae("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 j_e(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 q_e(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);Nr(()=>{t.setHeight(e.height)}),Nr(()=>{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}),Nr(()=>{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(),E(),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")},E=()=>{r.refs.scrollBarRef&&(r.refs.scrollBarRef.wrapRef&&Sn(r.refs.scrollBarRef.wrapRef,"scroll",z,{passive:!0}),e.fit?Pn(r.vnode.el,A):Sn(window,"resize",A),Pn(r.refs.bodyWrapper,()=>{var P,W;A(),(W=(P=r.refs)==null?void 0:P.scrollBarRef)==null||W.update()}))},A=()=>{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`:""}),N=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}}),O=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:N,scrollbarViewStyle:c,tableInnerStyle:O,scrollbarStyle:B}}function G_e(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 W_e={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 xB(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))))}xB.props=["columns","tableLayout"];const U_e=()=>{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 Y_e=1;const K_e=te({name:"ElTable",directives:{Mousewheel:Lfe},components:{TableHeader:P_e,TableBody:V_e,TableFooter:H_e,ElScrollbar:$l,hColgroup:xB},props:W_e,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=Ae("table"),r=xt();Rt(qo,r);const a=__e(r,e);r.store=a;const i=new x_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}=j_e(a),{isHidden:g,renderExpanded:m,setDragVisible:b,isGroup:_,handleMouseLeave:w,handleHeaderFooterMousewheel:x,tableSize:S,emptyBlockStyle:C,handleFixedMousewheel:T,resizeProxyVisible:z,bodyWidth:E,resizeState:A,doLayout:D,tableBodyStyles:$,tableLayout:N,scrollbarViewStyle:R,tableInnerStyle:O,scrollbarStyle:B}=q_e(e,i,a,r),{scrollBarRef:V,scrollTo:P,setScrollLeft:W,setScrollTop:Z}=U_e(),ee=La(D,50),re=`${n.namespace.value}-table_${Y_e++}`;r.tableId=re,r.state={isGroup:_,resizeState:A,doLayout:D,debouncedUpdateLayout:ee};const ue=L(()=>e.sumText||t("el.table.sumText")),ye=L(()=>e.emptyText||t("el.table.emptyText"));return G_e(r),{ns:n,layout:i,store:a,handleHeaderFooterMousewheel:x,handleMouseLeave:w,tableId:re,tableSize:S,isHidden:g,isEmpty:o,renderExpanded:m,resizeProxyVisible:z,resizeState:A,isGroup:_,bodyWidth:E,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:N,scrollbarViewStyle:R,tableInnerStyle:O,scrollbarStyle:B,scrollBarRef:V,scrollTo:P,setScrollLeft:W,setScrollTop:Z}}}),X_e=["data-prefix"],Z_e={ref:"hiddenColumns",class:"hidden-columns"};function J_e(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(),H("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",Z_e,[me(e.$slots,"default")],512),e.showHeader&&e.tableLayout==="fixed"?mt((k(),H("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(),H("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(),H("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(),H("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(),H("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,X_e)}var Q_e=Oe(K_e,[["render",J_e],["__file","table.vue"]]);const e9e={selection:"table-column--selection",expand:"table__expand-column"},t9e={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:""}},n9e=e=>e9e[e]||"",r9e={selection:{renderHeader({store:e,column:t}){function n(){return e.states.data.value&&e.states.data.value.length===0}return tt(zi,{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(zi,{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 a9e({row:e,column:t,$index:n}){var r;const a=t.property,i=a&&P0(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 i9e({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 dz(e,t){return e.reduce((n,r)=>(n[r]=r,n),t)}function o9e(e,t){const n=xt();return{registerComplexWatchers:()=>{const i=["fixed"],o={realWidth:"width",realMinWidth:"minWidth"},l=dz(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=r6(c)),u==="minWidth"&&s==="realMinWidth"&&(f=pB(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=dz(i,o);Object.keys(l).forEach(s=>{const u=o[s];Ut(t,u)&&ke(()=>t[u],c=>{n.columnConfig.value[s]=c})})}}}function l9e(e,t,n){const r=xt(),a=j(""),i=j(!1),o=j(),l=j(),s=Ae("table");Nr(()=>{o.value=e.align?`is-${e.align}`:null,o.value}),Nr(()=>{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(r6(e.width)),d=j(pB(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=r9e[x]||{};Object.keys(S).forEach(T=>{const z=S[T];T!=="className"&&z!==void 0&&(w[T]=z)});const C=n9e(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||a9e,w.renderCell=S=>{let C=null;if(t.default){const $=t.default(S);C=$.some(N=>N.type!==Lr)?$:x(S)}else C=x(S);const{columns:T}=n.value.store.states,z=T.value.findIndex($=>$.type==="default"),E=c.value&&S.cellIndex===z,A=i9e(S,E),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,[A,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 s9e={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 u9e=1;var SB=te({name:"ElTableColumn",components:{ElCheckbox:zi},props:s9e,setup(e,{slots:t}){const n=xt(),r=j({}),a=L(()=>{let _=n.parent;for(;_&&!_.tableId;)_=_.parent;return _}),{registerNormalWatchers:i,registerComplexWatchers:o}=o9e(a,e),{columnId:l,isSubColumn:s,realHeaderAlign:u,columnOrTableParent:c,setColumnWidth:f,setColumnForcedProps:d,setColumnRenders:h,getPropsData:v,getColumnElIndex:p,realAlign:g,updateColumnOrder:m}=l9e(e,t,a),b=c.value;l.value=`${b.tableId||b.columnId}_column_${u9e++}`,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={...t9e[_],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 A=v(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);A=u_e(S,A),A=f_e(h,f,d)(A),r.value=A,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===fe&&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 c9e=St(Q_e,{TableColumn:SB}),f9e=Nn(SB);var M1=(e=>(e.ASC="asc",e.DESC="desc",e))(M1||{}),E1=(e=>(e.CENTER="center",e.RIGHT="right",e))(E1||{}),CB=(e=>(e.LEFT="left",e.RIGHT="right",e))(CB||{});const iw={asc:"desc",desc:"asc"},A1=Symbol("placeholder"),d9e=(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 h9e(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:A1})}),y(o).forEach(g=>{p.push(g)}),y(i).forEach(g=>{p.push({...g,placeholderSign:A1})}),p}),s=L(()=>y(a).length||y(i).length),u=L(()=>y(t).reduce((g,m)=>(g[m.key]=d9e(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 v9e=(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}},p9e=(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 _(E){var A;(A=e.onRowsRendered)==null||A.call(e,E),E.rowCacheEnd>y(f)&&(f.value=E.rowCacheEnd)}function w({hovered:E,rowKey:A}){if(o.value)return;a.vnode.el.querySelectorAll(`[rowkey=${A}]`).forEach(N=>{E?N.classList.add(i.is("hovered")):N.classList.remove(i.is("hovered"))})}function x({expanded:E,rowData:A,rowIndex:D,rowKey:$}){var N,R;const O=[...y(c)],B=O.indexOf($);E?B===-1&&O.push($):B>-1&&O.splice(B,1),c.value=O,s("update:expandedRowKeys",O),(N=e.onRowExpand)==null||N.call(e,{expanded:E,rowData:A,rowIndex:D,rowKey:$}),(R=e.onExpandedRowsChange)==null||R.call(e,O)}const S=La(()=>{var E,A,D,$;u.value=!0,h.value={...y(h),...y(v)},C(y(d),!1),v.value={},d.value=null,(E=t.value)==null||E.forceUpdate(),(A=n.value)==null||A.forceUpdate(),(D=r.value)==null||D.forceUpdate(),($=l.proxy)==null||$.$forceUpdate(),u.value=!1},0);function C(E,A=!1){y(b)&&[t,n,r].forEach(D=>{const $=y(D);$&&$.resetAfterRowIndex(E,A)})}function T(E,A,D){const $=y(d);($===null||$>D)&&(d.value=D),v.value[E]=A}function z({rowKey:E,height:A,rowIndex:D},$){$?$===CB.RIGHT?m.value[E]=A:p.value[E]=A:g.value[E]=A;const N=Math.max(...[p,m,g].map(R=>R.value[E]||0));y(h)[E]!==N&&(T(E,N,D),S())}return{expandedRowKeys:c,lastRenderedRowIndex:f,isDynamic:b,isResetting:u,rowHeights:h,resetAfterIndex:C,onRowExpanded:x,onRowHovered:w,onRowsRendered:_,onRowHeightChange:z}},g9e=(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}},m9e=(e,t)=>e+t,K0=e=>We(e)?e.reduce(m9e,0):e,Nc=(e,t,n={})=>ut(e)?e(t):e??n,bs=e=>(["width","maxWidth","minWidth","height"].forEach(t=>{e[t]=Fn(e[t])}),e),TB=e=>Dn(e)?t=>tt(e,t):e,y9e=(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),E=y(h)+C+T+S;return Math.min(E,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(()=>K0(y(r).map(c))),d=L(()=>K0(y(a).map(c))),h=L(()=>K0(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}},b9e=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 _9e(e){const t=j(),n=j(),r=j(),{columns:a,columnsStyles:i,columnsTotalWidth:o,fixedColumnsOnLeft:l,fixedColumnsOnRight:s,hasFixedColumns:u,mainColumns:c,onColumnSorted:f}=h9e(e,mn(e,"columns"),mn(e,"fixed")),{scrollTo:d,scrollToLeft:h,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:m,scrollPos:b}=v9e(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,onMaybeEndReached:J}),_=Ae("table-v2"),w=xt(),x=xn(!1),{expandedRowKeys:S,lastRenderedRowIndex:C,isDynamic:T,isResetting:z,rowHeights:E,resetAfterIndex:A,onRowExpanded:D,onRowHeightChange:$,onRowHovered:N,onRowsRendered:R}=p9e(e,{mainTableRef:t,leftTableRef:n,rightTableRef:r,tableInstance:w,ns:_,isScrolling:x}),{data:O,depthMap:B}=g9e(e,{expandedRowKeys:S,lastRenderedRowIndex:C,resetAfterIndex:A}),{bodyWidth:V,fixedTableHeight:P,mainTableHeight:W,leftTableWidth:Z,rightTableWidth:ee,headerWidth:re,rowsHeight:ue,windowHeight:ye,footerHeight:le,emptyStyle:ae,rootStyle:ie,headerHeight:ve}=y9e(e,{columnsTotalWidth:o,data:O,fixedColumnsOnLeft:l,fixedColumnsOnRight:s}),ce=j(),de=L(()=>{const oe=y(O).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(E)[y(O)[oe][ge]]||pe:Te}function J(){const{onEndReached:oe}=e;if(!oe)return;const{scrollTop:pe}=y(b),Te=y(ue),ge=y(ye),Ee=Te-(pe+ge)+e.hScrollbarSize;y(C)>=0&&Te===pe+y(W)-y(ve)&&oe(Ee)}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:O,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:de,getRowHeight:xe,onColumnSorted:f,onRowHovered:N,onRowExpanded:D,onRowsRendered:R,onRowHeightChange:$,scrollTo:d,scrollToLeft:h,scrollToTop:v,scrollToRow:p,onScroll:g,onVerticalScroll:m}}const o6=Symbol("tableV2"),kB=String,Sp={type:he(Array),required:!0},l6={type:he(Array)},zB={...l6,required:!0},w9e=String,hz={type:he(Array),default:()=>Rn([])},Yu={type:Number,required:!0},MB={type:he([String,Number,Symbol]),default:"id"},vz={type:he(Object)},ac=Ne({class:String,columns:Sp,columnsStyles:{type:he(Object),required:!0},depth:Number,expandColumnKey:w9e,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:MB,style:{type:he(Object)}}),yb={type:Number,required:!0},s6=Ne({class:String,columns:Sp,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}),X0=Ne({columns:Sp,data:zB,fixedData:l6,estimatedRowHeight:ac.estimatedRowHeight,width:Yu,height:Yu,headerWidth:Yu,headerHeight:s6.headerHeight,bodyWidth:Yu,rowHeight:Yu,cache:XV.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:yc.scrollbarAlwaysOn,scrollbarStartGap:yc.scrollbarStartGap,scrollbarEndGap:yc.scrollbarEndGap,class:kB,style:vz,containerStyle:vz,getRowHeight:{type:he(Function),required:!0},rowKey:ac.rowKey,onRowsRendered:{type:he(Function)},onScroll:{type:he(Function)}}),x9e=Ne({cache:X0.cache,estimatedRowHeight:ac.estimatedRowHeight,rowKey:MB,headerClass:{type:he([String,Function])},headerProps:{type:he([Object,Function])},headerCellProps:{type:he([Object,Function])},headerHeight:s6.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:Sp,data:zB,dataGetter:{type:he(Function)},fixedData:l6,expandColumnKey:ac.expandColumnKey,expandedRowKeys:hz,defaultExpandedRowKeys:hz,class:kB,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:QV.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:X0.onScroll,onRowsRendered:X0.onRowsRendered,rowEventHandlers:ac.rowEventHandlers}),u6=(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])};u6.displayName="ElTableV2Cell";u6.inheritAttrs=!1;const c6=(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])]});c6.displayName="ElTableV2HeaderCell";c6.inheritAttrs=!1;const S9e=Ne({class:String,columns:Sp,columnsStyles:{type:he(Object),required:!0},headerIndex:Number,style:{type:he(Object)}}),C9e=te({name:"ElTableV2HeaderRow",props:S9e,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])}}}),T9e="ElTableV2Header",k9e=te({name:T9e,props:s6,setup(e,{slots:t,expose:n}){const r=Ae("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()])])}}}),z9e=e=>{const{isScrolling:t}=Ye(o6),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)===A1;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])=>{ut(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}},M9e="ElTableV2TableRow",E9e=te({name:M9e,props:ac,setup(e,{expose:t,slots:n,attrs:r}){const{eventHandlers:a,isScrolling:i,measurable:o,measured:l,rowRef:s,onExpand:u}=z9e(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])}}}),A9e=e=>{const{sortOrder:t}=e;return I(Ze,{size:14,class:e.class},{default:()=>[t===M1.ASC?I(Uae,null,null):I(Gae,null,null)]})},I9e=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)]})},D9e="ElTableV2Grid",L9e=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(()=>K0(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}},f6=te({name:D9e,props:X0,setup(e,{slots:t,expose:n}){const{ns:r}=Ye(o6),{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}=L9e(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:E,style:A,rowHeight:D,bodyWidth:$,estimatedRowHeight:N,headerWidth:R,height:O,width:B,getRowHeight:V,onScroll:P}=e,W=ot(N),Z=W?m3e:h3e,ee=y(u);return I("div",{role:"table",class:[r.e("table"),e.class],style:A},[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:E,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(k9e,{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),O)},{dynamic:t.header,fixed:t.row})])}}});function P9e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const R9e=(e,{slots:t})=>{const{mainTableRef:n,...r}=e;return I(f6,Pt({ref:n},r),P9e(t)?t:{default:()=>[t]})};function N9e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const O9e=(e,{slots:t})=>{if(!e.columns.length)return;const{leftTableRef:n,...r}=e;return I(f6,Pt({ref:n},r),N9e(t)?t:{default:()=>[t]})};function $9e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const V9e=(e,{slots:t})=>{if(!e.columns.length)return;const{rightTableRef:n,...r}=e;return I(f6,Pt({ref:n},r),$9e(t)?t:{default:()=>[t]})};function B9e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const F9e=(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=Nc(v,{columns:n,rowData:u,rowIndex:c},""),x=Nc(h,{columns:n,rowData:u,rowIndex:c}),S=u[p],C=a[S]||0,T=!!i,z=c<0,E=[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}],A=s?b:void 0,D={...x,columns:n,columnsStyles:r,class:E,depth:C,expandColumnKey:i,estimatedRowHeight:z?void 0:l,isScrolling:d,rowIndex:c,rowData:u,rowKey:S,rowEventHandlers:g,style:f};return I(E9e,Pt(D,{onRowExpand:_,onMouseenter:R=>{A==null||A({hovered:!0,rowKey:S,event:R,rowData:u,rowIndex:c})},onMouseleave:R=>{A==null||A({hovered:!1,rowKey:S,event:R,rowData:u,rowIndex:c})},rowkey:S}),B9e(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===A1)return I("div",{class:c.em("row-cell","placeholder"),style:m},null);const{cellRenderer:b,dataKey:_,dataGetter:w}=t,x=ut(w)?w({columns:e,column:t,columnIndex:n,rowData:o,rowIndex:l}):Un(o,_??""),S=Nc(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=TB(b),z=T?T(C):me(g,"default",C,()=>[I(u6,C,null)]),E=[c.e("row-cell"),t.class,t.align===E1.CENTER&&c.is("align-center"),t.align===E1.RIGHT&&c.is("align-right")],A=l>=0&&d&&t.key===d,D=l>=0&&u.includes(o[p]);let $;const N=`margin-inline-start: ${r*h}px;`;return A&&(zt(a)?$=I(I9e,Pt(a,{class:[c.e("expand-icon"),c.is("expanded",D)],size:v,expanded:D,style:N,expandable:!0}),null):$=I("div",{style:[N,`width: ${v}px; height: ${v}px;`].join(" ")},null)),I("div",Pt({class:E,style:m},S,{role:"cell"}),[$,z])};ow.inheritAttrs=!1;function H9e(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const j9e=({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"),Nc(a,s,""),{[o.is("customized")]:!!l.header}],c={...Nc(i,s),columnsStyles:t,class:u,columns:e,headerIndex:n,style:r};return I(C9e,c,H9e(l)?l:{default:()=>[l]})},pz=(e,{slots:t})=>{const{column:n,ns:r,style:a,onColumnSorted:i}=e,o=bs(a);if(n.placeholderSign===A1)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=TB(l),d=f?f(c):me(t,"default",c,()=>[I(c6,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"),Nc(s,e,""),n.align===E1.CENTER&&r.is("align-center"),n.align===E1.RIGHT&&r.is("align-right"),u&&r.is("sortable")],_={...Nc(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(A9e,{class:[r.e("sort-icon"),g&&r.is("sorting")],sortOrder:m},null)])},EB=(e,{slots:t})=>{var n;return I("div",{class:e.class,style:e.style},[(n=t.default)==null?void 0:n.call(t)])};EB.displayName="ElTableV2Footer";const AB=(e,{slots:t})=>{const n=me(t,"default",{},()=>[I(PV,null,null)]);return I("div",{class:e.class,style:e.style},[n])};AB.displayName="ElTableV2Empty";const 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="ElTableV2Overlay";function Ah(e){return typeof e=="function"||Object.prototype.toString.call(e)==="[object Object]"&&!Dn(e)}const q9e="ElTableV2",G9e=te({name:q9e,props:x9e,setup(e,{slots:t,expose:n}){const r=Ae("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:E,showEmpty:A,scrollTo:D,scrollToLeft:$,scrollToTop:N,scrollToRow:R,getRowHeight:O,onColumnSorted:B,onRowHeightChange:V,onRowHovered:P,onRowExpanded:W,onRowsRendered:Z,onScroll:ee,onVerticalScroll:re}=_9e(e);return n({scrollTo:D,scrollToLeft:$,scrollToTop:N,scrollToRow:R}),Rt(o6,{ns:r,isResetting:w,isScrolling:x}),()=>{const{cache:ue,cellProps:ye,estimatedRowHeight:le,expandColumnKey:ae,fixedData:ie,headerHeight:ve,headerClass:ce,headerProps:de,headerCellProps:xe,sortBy:J,sortState:oe,rowHeight:pe,rowClass:Te,rowEventHandlers:ge,rowKey:Ee,rowProps:De,scrollbarAlwaysOn:Pe,indentSize:Re,iconSize:Ce,useIsScrolling:Ue,vScrollbarSize:Je,width:ze}=e,Ke=y(d),ct={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:Ee,rowHeight:pe,scrollbarAlwaysOn:Pe,scrollbarStartGap:2,scrollbarEndGap:Je,useIsScrolling:Ue,width:ze,getRowHeight:O,onRowsRendered:Z,onScroll:ee},At=y(c),Ct=y(u),rt={cache:ue,class:r.e("left"),columns:y(i),data:Ke,estimatedRowHeight:le,leftTableRef:m,rowHeight:pe,bodyWidth:At,headerWidth:At,headerHeight:ve,height:Ct,rowKey:Ee,scrollbarAlwaysOn:Pe,scrollbarStartGap:2,scrollbarEndGap:Je,useIsScrolling:Ue,width:At,getRowHeight:O,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:Ee,scrollbarAlwaysOn:Pe,scrollbarStartGap:2,scrollbarEndGap:Je,width:qe,style:`--${y(r.namespace)}-table-scrollbar-size: ${Je}px`,useIsScrolling:Ue,getRowHeight:O,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:Ee,rowEventHandlers:ge,onRowHovered:P,onRowExpanded:W,onRowHeightChange:V},Xe={cellProps:ye,expandColumnKey:ae,indentSize:Re,iconSize:Ce,rowKey:Ee,expandedRowKeys:y(v),ns:r},be={ns:r,headerClass:ce,headerProps:de,columnsStyles:_e},Qe={ns:r,sortBy:J,sortState:oe,headerCellProps:xe,onColumnSorted:B},Lt={row:hr=>I(F9e,Pt(hr,Ie),{row:t.row,cell:Vt=>{let Yn;return t.cell?I(ow,Pt(Vt,Xe,{style:_e[Vt.column.key]}),Ah(Yn=t.cell(Vt))?Yn:{default:()=>[Yn]}):I(ow,Pt(Vt,Xe,{style:_e[Vt.column.key]}),null)}}),header:hr=>I(j9e,Pt(hr,be),{header:t.header,cell:Vt=>{let Yn;return t["header-cell"]?I(pz,Pt(Vt,Qe,{style:_e[Vt.column.key]}),Ah(Yn=t["header-cell"](Vt))?Yn:{default:()=>[Yn]}):I(pz,Pt(Vt,Qe,{style:_e[Vt.column.key]}),null)}})},cn=[e.class,r.b(),r.e("root"),{[r.is("dynamic")]:y(_)}],$n={class:r.e("footer"),style:y(E)};return I("div",{class:cn,style:y(T)},[I(R9e,ct,Ah(Lt)?Lt:{default:()=>[Lt]}),I(O9e,rt,Ah(Lt)?Lt:{default:()=>[Lt]}),I(V9e,Le,Ah(Lt)?Lt:{default:()=>[Lt]}),t.footer&&I(EB,$n,{default:t.footer}),y(A)&&I(AB,{class:r.e("empty"),style:y(C)},{default:t.empty}),t.overlay&&I(IB,{class:r.e("overlay")},{default:t.overlay})])}}}),W9e=Ne({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:he(Function)}}),U9e=te({name:"ElAutoResizer",props:W9e,setup(e,{slots:t}){const n=Ae("auto-resizer"),{height:r,width:a,sizer:i}=b9e(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})])}}}),Y9e=St(G9e),K9e=St(U9e),Ny=Symbol("tabsRootContextKey"),X9e=Ne({tabs:{type:he(Array),default:()=>Rn([])}}),DB="ElTabBar",Z9e=te({name:DB}),J9e=te({...Z9e,props:X9e,setup(e,{expose:t}){const n=e,r=xt(),a=Ye(Ny);a||or(DB,"<el-tabs><el-tab-bar /></el-tabs>");const i=Ae("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${_o(v)}`],f=b[`client${_o(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${_o(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(),H("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 Q9e=Oe(J9e,[["__file","tab-bar.vue"]]);const e4e=Ne({panes:{type:he(Array),default:()=>Rn([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean}),t4e={tabClick:(e,t,n)=>n instanceof Event,tabRemove:(e,t)=>t instanceof Event},gz="ElTabNav",n4e=te({name:gz,props:e4e,emits:t4e,setup(e,{expose:t,emit:n}){const r=xt(),a=Ye(Ny);a||or(gz,"<el-tabs><tab-nav /></el-tabs>");const i=Ae("tabs"),o=nJ(),l=vJ(),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${_o(g.value)}`],E=h.value;if(!E)return;const A=E>z?E-z:0;h.value=A},_=()=>{if(!s.value||!u.value)return;const z=u.value[`offset${_o(g.value)}`],E=s.value[`offset${_o(g.value)}`],A=h.value;if(z-A<=E)return;const D=z-A>E*2?A+E:z-E;h.value=D},w=async()=>{const z=u.value;if(!d.value||!c.value||!s.value||!z)return;await nt();const E=c.value.querySelector(".is-active");if(!E)return;const A=s.value,D=["top","bottom"].includes(a.props.tabPosition),$=E.getBoundingClientRect(),N=A.getBoundingClientRect(),R=D?z.offsetWidth-N.width:z.offsetHeight-N.height,O=h.value;let B=O;D?($.left<N.left&&(B=O-(N.left-$.left)),$.right>N.right&&(B=O+$.right-N.right)):($.top<N.top&&(B=O-(N.top-$.top)),$.bottom>N.bottom&&(B=O+($.bottom-N.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 E=u.value[`offset${_o(g.value)}`],A=s.value[`offset${_o(g.value)}`],D=h.value;A<E?(d.value=d.value||{},d.value.prev=D,d.value.next=D+A<E,E-D<A&&(h.value=E-A)):(d.value=!1,D>0&&(h.value=0))},S=z=>{const E=z.code,{up:A,down:D,left:$,right:N}=at;if(![A,D,$,N].includes(E))return;const R=Array.from(z.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)")),O=R.indexOf(z.target);let B;E===$||E===A?O===0?B=R.length-1:B=O-1:O<R.length-1?B=O+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,E=e.panes.map((A,D)=>{var $,N,R,O;const B=A.uid,V=A.props.disabled,P=(N=($=A.props.name)!=null?$:A.index)!=null?N:`${D}`,W=!V&&(A.isClosable||e.editable);A.index=`${D}`;const Z=W?I(Ze,{class:"is-icon-close",onClick:ue=>n("tabRemove",A,ue)},{default:()=>[I(Zi,null,null)]}):null,ee=((O=(R=A.slots).label)==null?void 0:O.call(R))||A.props.label,re=!V&&A.active?0:-1;return I("div",{ref:`tab-${B}`,class:[i.e("item"),i.is(a.props.tabPosition),i.is("active",A.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":A.active,tabindex:re,onFocus:()=>C(),onBlur:()=>T(),onClick:ue=>{T(),n("tabClick",A,P,ue)},onKeydown:ue=>{W&&(ue.code===at.delete||ue.code===at.backspace)&&n("tabRemove",A,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(Q9e,{ref:f,tabs:[...e.panes]},null),E])])])}}}),r4e=Ne({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),a4e={[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},i4e=te({name:"ElTabs",props:r4e,emits:a4e,setup(e,{emit:t,slots:n,expose:r}){var a;const i=Ae("tabs"),{children:o,addChild:l,removeChild:s}=DS(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(Ny,{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(uO,null,null)]})]):null,m=I("div",{class:[i.e("header"),i.is(e.tabPosition)]},[g,I(n4e,{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]])}}}),o4e=Ne({label:{type:String,default:""},name:{type:[String,Number]},closable:Boolean,disabled:Boolean,lazy:Boolean}),l4e=["id","aria-hidden","aria-labelledby"],LB="ElTabPane",s4e=te({name:LB}),u4e=te({...s4e,props:o4e,setup(e){const t=e,n=xt(),r=Tr(),a=Ye(Ny);a||or(LB,"usage: <el-tabs><el-tab-pane /></el-tabs/>");const i=Ae("tab-pane"),o=j(),l=L(()=>t.closable||a.props.closable),s=WT(()=>{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=WT(()=>!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(),H("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,l4e)),[[en,y(s)]]):Q("v-if",!0)}});var PB=Oe(u4e,[["__file","tab-pane.vue"]]);const c4e=St(i4e,{TabPane:PB}),f4e=Nn(PB),d4e=Ne({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"}}),h4e=te({name:"ElText"}),v4e=te({...h4e,props:d4e,setup(e){const t=e,n=tr(),r=Ae("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 p4e=Oe(v4e,[["__file","text.vue"]]);const g4e=St(p4e),m4e=Ne({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:()=>sO},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},mz=e=>`${e}`.padStart(2,"0"),Nf=e=>`${mz(e.hours)}:${mz(e.minutes)}`,y4e=(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,Nf(a)},b4e=te({name:"ElTimeSelect"}),_4e=te({...b4e,props:m4e,emits:["change","blur","focus","update:modelValue"],setup(e,{expose:t}){const n=e;Tt.extend(VS);const{Option:r}=Rc,a=Ae("input"),i=j(),o=ma(),{lang:l}=Xt(),s=L(()=>n.modelValue),u=L(()=>{const m=sl(n.start);return m?Nf(m):null}),c=L(()=>{const m=sl(n.end);return m?Nf(m):null}),f=L(()=>{const m=sl(n.step);return m?Nf(m):null}),d=L(()=>{const m=sl(n.minTime||"");return m?Nf(m):null}),h=L(()=>{const m=sl(n.maxTime||"");return m?Nf(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=y4e(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),H(fe,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 Z0=Oe(_4e,[["__file","time-select.vue"]]);Z0.install=e=>{e.component(Z0.name,Z0)};const w4e=Z0,x4e=w4e,S4e=te({name:"ElTimeline",setup(e,{slots:t}){const n=Ae("timeline");return Rt("timeline",t),()=>tt("ul",{class:[n.b()]},[me(t,"default")])}}),C4e=Ne({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}}),T4e=te({name:"ElTimelineItem"}),k4e=te({...T4e,props:C4e,setup(e){const t=e,n=Ae("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(),H("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(),H("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(),H("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(),H("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(),H("div",{key:1,class:q([y(n).e("timestamp"),y(n).is("bottom")])},U(a.timestamp),3)):Q("v-if",!0)],2)],2))}});var RB=Oe(k4e,[["__file","timeline-item.vue"]]);const z4e=St(S4e,{TimelineItem:RB}),M4e=Nn(RB),NB=Ne({nowrap:Boolean});var OB=(e=>(e.top="top",e.bottom="bottom",e.left="left",e.right="right",e))(OB||{});const E4e=Object.values(OB),d6=Ne({width:{type:Number,default:10},height:{type:Number,default:10},style:{type:he(Object),default:null}}),A4e=Ne({side:{type:he(String),values:E4e,required:!0}}),I4e=["absolute","fixed"],D4e=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],h6=Ne({arrowPadding:{type:he(Number),default:5},effect:{type:String,default:""},contentClass:String,placement:{type:he(String),values:D4e,default:"bottom"},reference:{type:he(Object),default:null},offset:{type:Number,default:8},strategy:{type:he(String),values:I4e,default:"absolute"},showArrow:{type:Boolean,default:!1},...Ar(["ariaLabel"])}),v6=Ne({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)},p6=Ne({onBlur:ff,onClick:ff,onFocus:ff,onMouseDown:ff,onMouseEnter:ff,onMouseLeave:ff}),L4e=Ne({...v6,...d6,...p6,...h6,alwaysOn:Boolean,fullTransition:Boolean,transitionProps:{type:he(Object),default:null},teleported:Boolean,to:{type:he(String),default:"body"}}),Oy=Symbol("tooltipV2"),$B=Symbol("tooltipV2Content"),wb="tooltip_v2.open",P4e=te({name:"ElTooltipV2Root"}),R4e=te({...P4e,props:v6,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}=Ec(()=>{i.value=!0},L(()=>n.delayDuration),{immediate:!1}),u=Ae("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(Oy,{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 N4e=Oe(R4e,[["__file","root.vue"]]);const O4e=te({name:"ElTooltipV2Arrow"}),$4e=te({...O4e,props:{...d6,...A4e},setup(e){const t=e,{ns:n}=Ye(Oy),{arrowRef:r}=Ye($B),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(),H("span",{ref_key:"arrowRef",ref:r,style:Be(y(a)),class:q(y(n).e("arrow"))},null,6))}});var yz=Oe($4e,[["__file","arrow.vue"]]);const V4e=Ne({style:{type:he([String,Object,Array]),default:()=>({})}}),B4e=te({name:"ElVisuallyHidden"}),F4e=te({...B4e,props:V4e,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(),H("span",Pt(r.$attrs,{style:y(n)}),[me(r.$slots,"default")],16))}});var H4e=Oe(F4e,[["__file","visual-hidden.vue"]]);const j4e=["data-side"],q4e=te({name:"ElTooltipV2Content"}),G4e=te({...q4e,props:{...h6,...NB},setup(e){const t=e,{triggerRef:n,contentId:r}=Ye(Oy),a=j(t.placement),i=j(t.strategy),o=j(null),{referenceRef:l,contentRef:s,middlewareData:u,x:c,y:f,update:d}=gle({placement:a,strategy:i,middleware:L(()=>{const _=[qO(t.offset)];return t.showArrow&&_.push(mle({arrowRef:o})),_})}),h=Qd().nextZIndex(),v=Ae("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($B,{arrowRef:o}),(_,w)=>(k(),H("div",{ref_key:"contentRef",ref:s,style:Be(y(g)),"data-tooltip-v2-root":""},[_.nowrap?Q("v-if",!0):(k(),H("div",{key:0,"data-side":y(p),class:q(y(b))},[me(_.$slots,"default",{contentStyle:y(g),contentClass:y(b)}),I(y(H4e),{id:y(r),role:"tooltip"},{default:M(()=>[_.ariaLabel?(k(),H(fe,{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,j4e))],4))}});var bz=Oe(G4e,[["__file","content.vue"]]);const W4e=Ne({setRef:{type:he(Function),required:!0},onlyChild:Boolean});var U4e=te({props:W4e,setup(e,{slots:t}){const n=j(),r=xy(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?cie(i.children):i.children;return I(fe,{ref:r},[o])}}});const Y4e=te({name:"ElTooltipV2Trigger"}),K4e=te({...Y4e,props:{...NB,...p6},setup(e){const t=e,{onClose:n,onOpen:r,onDelayOpen:a,triggerRef:i,contentId:o}=Ye(Oy);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(U4e),{key:0,"set-ref":s,"only-child":""},{default:M(()=>[me(b.$slots,"default")]),_:3})):(k(),H("button",Pt({key:1,ref_key:"triggerRef",ref:i},b.$attrs),[me(b.$slots,"default")],16))}});var X4e=Oe(K4e,[["__file","trigger.vue"]]);const Z4e=te({name:"ElTooltipV2"}),J4e=te({...Z4e,props:L4e,setup(e){const n=Er(e),r=nn(So(n,Object.keys(d6))),a=nn(So(n,Object.keys(h6))),i=nn(So(n,Object.keys(v6))),o=nn(So(n,Object.keys(p6)));return(l,s)=>(k(),Y(N4e,ul(vd(i)),{default:M(({open:u})=>[I(X4e,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(bz,ul(Pt({key:0},a)),{arrow:M(({style:c,side:f})=>[l.showArrow?(k(),Y(yz,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(),H(fe,{key:1},[l.alwaysOn||u?(k(),Y(bz,ul(Pt({key:0},a)),{arrow:M(({style:c,side:f})=>[l.showArrow?(k(),Y(yz,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 Q4e=Oe(J4e,[["__file","tooltip.vue"]]);const ewe=St(Q4e),VB="left-check-change",BB="right-check-change",Of=Ne({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),twe={[Tn]:(e,t,n)=>[e,n].every(We)&&["left","right"].includes(t),[Mt]:e=>We(e),[VB]:lw,[BB]:lw},sw="checked-change",nwe=Ne({data:Of.data,optionRender:{type:he(Function)},placeholder:String,title:String,filterable:Boolean,format:Of.format,filterMethod:Of.filterMethod,defaultChecked:Of.leftDefaultChecked,props:Of.props}),rwe={[sw]:lw},Cp=e=>{const t={label:"label",key:"key",disabled:"disabled"};return L(()=>({...t,...e.props}))},awe=(e,t,n)=>{const r=Cp(e),a=L(()=>e.data.filter(c=>ut(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}},iwe=(e,t)=>({onSourceCheckedChange:(a,i)=>{e.leftChecked=a,i&&t(VB,a,i)},onTargetCheckedChange:(a,i)=>{e.rightChecked=a,i&&t(BB,a,i)}}),owe=e=>{const t=Cp(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}},lwe=(e,t,n)=>{const r=Cp(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)}}},swe=te({name:"ElTransferPanel"}),uwe=te({...swe,props:nwe,emits:rwe,setup(e,{expose:t,emit:n}){const r=e,a=Tr(),i=({option:_})=>_,{t:o}=Xt(),l=Ae("transfer"),s=nn({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),u=Cp(r),{filteredData:c,checkedSummary:f,isIndeterminate:d,handleAllCheckedChange:h}=awe(r,s,n),v=L(()=>!di(s.query)&&di(c.value)),p=L(()=>!di(a.default()[0].children)),{checked:g,allChecked:m,query:b}=Er(s);return t({query:b}),(_,w)=>(k(),H("div",{class:q(y(l).b("panel"))},[X("p",{class:q(y(l).be("panel","header"))},[I(y(zi),{modelValue:y(m),"onUpdate:modelValue":w[0]||(w[0]=x=>st(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=>st(b)?b.value=x:null),class:q(y(l).be("panel","filter")),size:"default",placeholder:_.placeholder,"prefix-icon":y(jae),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):Q("v-if",!0),mt(I(y(G$),{modelValue:y(g),"onUpdate:modelValue":w[2]||(w[2]=x=>st(g)?g.value=x:null),"validate-event":!1,class:q([y(l).is("filterable",_.filterable),y(l).be("panel","list")])},{default:M(()=>[(k(!0),H(fe,null,we(y(c),x=>(k(),Y(y(zi),{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(di)(_.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(di)(_.data)]])],2),y(p)?(k(),H("p",{key:0,class:q(y(l).be("panel","footer"))},[me(_.$slots,"default")],2)):Q("v-if",!0)],2))}});var _z=Oe(uwe,[["__file","transfer-panel.vue"]]);const cwe={key:0},fwe={key:0},dwe=te({name:"ElTransfer"}),hwe=te({...dwe,props:Of,emits:twe,setup(e,{expose:t,emit:n}){const r=e,a=Tr(),{t:i}=Xt(),o=Ae("transfer"),{formItem:l}=Qr(),s=nn({leftChecked:[],rightChecked:[]}),u=Cp(r),{sourceData:c,targetData:f}=owe(r),{onSourceCheckedChange:d,onTargetCheckedChange:h}=iwe(s,n),{addToLeft:v,addToRight:p}=lwe(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(),H("div",{class:q(y(o).b())},[I(_z,{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(di)(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(),H("span",cwe,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(di)(s.leftChecked),onClick:y(p)},{default:M(()=>[y(Xn)(T.buttonTexts[1])?Q("v-if",!0):(k(),H("span",fwe,U(T.buttonTexts[1]),1)),I(y(Ze),null,{default:M(()=>[I(y(la))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),I(_z,{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 vwe=Oe(hwe,[["__file","transfer.vue"]]);const pwe=St(vwe),id="$treeNodeId",wz=function(e,t){!t||t[id]||Object.defineProperty(t,id,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},g6=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 gwe=0,fw=class J0{constructor(t){this.id=gwe++,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)||wz(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)||wz(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 J0)){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 J0(t)),t instanceof J0&&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 mwe{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)?g6(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 ywe=te({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(e){const t=Ae("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 bwe=Oe(ywe,[["__file","tree-node-content.vue"]]);function FB(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 HB=Symbol("dragEvents");function _we({props:e,ctx:t,el$:n,dropIndicator$:r,store:a}){const i=Ae("tree"),o=j({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return Rt(HB,{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 E=d.$el.querySelector(`.${i.be("node","expand-icon")}`).getBoundingClientRect(),A=r.value;x==="before"?T=E.top-w.top:x==="after"&&(T=E.bottom-w.top),A.style.top=`${T}px`,A.style.left=`${E.right-w.left}px`,x==="inner"?pi(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 wwe=te({name:"ElTreeNode",components:{ElCollapseTransition:Dy,ElCheckbox:zi,NodeContent:bwe,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=Ae("tree"),{broadcastExpanded:r}=FB(e),a=Ye("RootTree"),i=j(!1),o=j(!1),l=j(null),s=j(null),u=j(null),c=Ye(HB),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=>g6(a.props.nodeKey,z.data),v=z=>{const E=e.props.class;if(!E)return{};let A;if(ut(E)){const{data:D}=z;A=E(D,z)}else A=E;return vt(A)?{[A]:!0}:A},p=(z,E)=>{(l.value!==z||s.value!==E)&&a.ctx.emit("check-change",e.node.data,z,E),l.value=z,s.value=E},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,E)=>{e.node.setChecked(E.target.checked,!a.props.checkStrictly),nt(()=>{const A=a.store.value;a.ctx.emit("check",e.node.data,{checkedNodes:A.getCheckedNodes(),checkedKeys:A.getCheckedKeys(),halfCheckedNodes:A.getHalfCheckedNodes(),halfCheckedKeys:A.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,E,A)=>{r(E),a.ctx.emit("node-expand",z,E,A)},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:lO}}}),xwe=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],Swe=["aria-expanded"];function Cwe(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(),H("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(),H("div",{key:0,class:q(e.ns.be("node","children")),role:"group","aria-expanded":e.expanded},[(k(!0),H(fe,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,Swe)),[[en,e.expanded]]):Q("v-if",!0)]),_:1})],42,xwe)),[[en,e.node.visible]])}var Twe=Oe(wwe,[["render",Cwe],["__file","tree-node.vue"]]);function kwe({el$:e},t){const n=Ae("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 zwe=te({name:"ElTree",components:{ElTreeNode:Twe},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=Ae("tree"),a=Ye(rh,null),i=j(new mwe({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}=FB(e),{dragState:f}=_we({props:e,ctx:t,el$:s,dropIndicator$:u,store:i});kwe({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=>g6(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))},E=(V,P=!0)=>{if(!e.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");uw(i,t.emit,()=>i.value.setCurrentNodeKey(V,P))},A=V=>i.value.getNode(V),D=V=>{i.value.remove(V)},$=(V,P)=>{i.value.append(V,P)},N=(V,P)=>{i.value.insertBefore(V,P)},R=(V,P)=>{i.value.insertAfter(V,P)},O=(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(No,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:E,t:n,getNode:A,remove:D,append:$,insertBefore:N,insertAfter:R,handleNodeExpand:O,updateKeyChildren:B}}});function Mwe(e,t,n,r,a,i){const o=se("el-tree-node");return k(),H("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),H(fe,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(),H("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 Q0=Oe(zwe,[["render",Mwe],["__file","tree.vue"]]);Q0.install=e=>{e.component(Q0.name,Q0)};const tm=Q0,Ewe=tm,Awe=(e,{attrs:t,emit:n},{select:r,tree:a,key:i})=>{const o=Ae("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"}),{...So(Er(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)}}},Iwe=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 m6(e){return Array.isArray(e)&&e.length}function Ih(e){return Array.isArray(e)?e:dw(e)?[e]:[]}function e2(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(m6(l)){const s=e2(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);m6(o)&&hw(o,t,n,i)}}const Dwe=(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 ut(v)?v(d,(h=i.value)==null?void 0:h.getNode(s("value",d))):d[v]},u=Ih(e.modelValue).map(f=>e2(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{...So(Er(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(Iwe,{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(nS(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 _=e2([f],S=>!m6(s("children",S))&&!s("disabled",S),S=>s("children",S)),w=_?s("value",_):void 0,x=dw(e.modelValue)&&!!e2([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 Lwe=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 Pwe=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=Awe(e,t,{select:a,tree:i,key:o}),{cacheOptions:s,...u}=Dwe(e,t,{select:a,tree:i,key:o}),c=nn({});return r(c),bt(()=>{Object.assign(c,{...So(i.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...So(a.value,["focus","blur"])})}),()=>tt(Rc,nn({...l,ref:f=>a.value=f}),{...n,default:()=>[tt(Lwe,{data:s.value}),tt(tm,nn({...u,ref:f=>i.value=f}))]})}});var t2=Oe(Pwe,[["__file","tree-select.vue"]]);t2.install=e=>{e.component(t2.name,t2)};const Rwe=t2,Nwe=Rwe,y6=Symbol(),Owe={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 jB={type:Number,default:26},$we=Ne({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:jB,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}}),Vwe=Ne({node:{type:he(Object),default:()=>Rn(Owe)},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:jB}),Bwe=Ne({node:{type:he(Object),required:!0}}),qB="node-click",GB="node-expand",WB="node-collapse",UB="current-change",YB="check",KB="check-change",XB="node-contextmenu",Fwe={[qB]:(e,t,n)=>e&&t&&n,[GB]:(e,t)=>e&&t,[WB]:(e,t)=>e&&t,[UB]:(e,t)=>e&&t,[YB]:(e,t)=>e&&t,[KB]:(e,t)=>e&&typeof t=="boolean",[XB]:(e,t,n)=>e&&t&&n},Hwe={click:(e,t)=>!!(e&&t),toggle:e=>!!e,check:(e,t)=>e&&typeof t=="boolean"};function jwe(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 E=z.children;if(E){let A=!0,D=!1;for(const $ of E){const N=$.key;if(x.has(N))D=!0;else if(S.has(N)){A=!1,D=!0;break}else A=!1}A?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 E=T.children;!e.checkStrictly&&E&&E.forEach(A=>{A.disabled||C(A,z)})};C(_,w),i(),x&&u(_,w)},u=(_,w)=>{const{checkedNodes:x,checkedKeys:S}=v(),{halfCheckedNodes:C,halfCheckedKeys:T}=p();a(YB,_.data,{checkedKeys:S,checkedNodes:x,halfCheckedKeys:T,halfCheckedNodes:C}),a(KB,_.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 qwe(e,t){const n=j(new Set([])),r=j(new Set([])),a=L(()=>ut(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 Gwe(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}=jwe(e,a),{doFilter:v,hiddenNodeKeySet:p,isForceHiddenExpandIcon:g}=qwe(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=[],de=a.value&&a.value.treeNodes||[];function xe(){const J=[];for(let oe=de.length-1;oe>=0;--oe)J.push(de[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 de=1;function xe(oe,pe=1,Te=void 0){var ge;const Ee=[];for(const De of oe){const Pe=E(De),Re={level:pe,key:Pe,data:De};Re.label=D(De),Re.parent=Te;const Ce=z(De);Re.disabled=A(De),Re.isLeaf=!Ce||Ce.length===0,Ce&&Ce.length&&(Re.children=xe(Ce,pe+1,Re)),Ee.push(Re),ve.set(Pe,Re),ce.has(pe)||ce.set(pe,[]),(ge=ce.get(pe))==null||ge.push(Re)}return pe>de&&(de=pe),Ee}const J=xe(ie);return{treeNodeMap:ve,levelTreeNodeMap:ce,maxLevel:de,treeNodes:J}}function T(ie){const ve=v(ie);ve&&(n.value=ve)}function z(ie){return ie[b.value]}function E(ie){return ie?ie[m.value]:""}function A(ie){return ie[_.value]}function D(ie){return ie[w.value]}function $(ie){n.value.has(ie.key)?P(ie):V(ie)}function N(ie){n.value=new Set(ie)}function R(ie,ve){t(qB,ie.data,ie,ve),O(ie),e.expandOnClickNode&&$(ie),e.showCheckbox&&e.checkOnClickNode&&!ie.disabled&&l(ie,!o(ie),!0)}function O(ie){ee(ie)||(r.value=ie.key,t(UB,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(de=>{const xe=ce.get(de);ie&&ie.level===(xe==null?void 0:xe.level)&&ve.delete(de)})}ve.add(ie.key),t(GB,ie.data,ie)}function P(ie){n.value.delete(ie.key),t(WB,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)?E(ie):ie;return(ve=a.value)==null?void 0:ve.treeNodeMap.get(ce)}return{tree:a,flattenTree:x,isNotEmpty:S,getKey:E,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:N}}var Wwe=te({name:"ElTreeNodeContent",props:Bwe,setup(e){const t=Ye(y6),n=Ae("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 Uwe=["aria-expanded","aria-disabled","aria-checked","data-key","onClick"],Ywe=te({name:"ElTreeNode"}),Kwe=te({...Ywe,props:Vwe,emits:Hwe,setup(e,{emit:t}){const n=e,r=Ye(y6),a=Ae("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:lO}),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(XB,f,(p=n.node)==null?void 0:p.data,n.node)};return(f,d)=>{var h,v,p;return k(),H("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(zi),{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(Wwe),{node:f.node},null,8,["node"])],6)],42,Uwe)}}});var Xwe=Oe(Kwe,[["__file","tree-node.vue"]]);const Zwe=te({name:"ElTreeV2"}),Jwe=te({...Zwe,props:$we,emits:Fwe,setup(e,{expose:t,emit:n}){const r=e,a=Tr(),i=L(()=>r.itemSize);Rt(y6,{ctx:{emit:n,slots:a},props:r,instance:xt()}),Rt(No,void 0);const{t:o}=Xt(),l=Ae("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:E,setChecked:A,setCheckedKeys:D,filter:$,setData:N,getNode:R,expandNode:O,collapseNode:B,setExpandedKeys:V}=Gwe(r,n);return t({toggleCheckbox:_,getCurrentNode:w,getCurrentKey:x,setCurrentKey:S,getCheckedKeys:C,getCheckedNodes:T,getHalfCheckedKeys:z,getHalfCheckedNodes:E,setChecked:A,setCheckedKeys:D,filter:$,setData:N,getNode:R,expandNode:O,collapseNode:B,setExpandedKeys:V}),(P,W)=>{var Z;return k(),H("div",{class:q([y(l).b(),{[y(l).m("highlight-current")]:P.highlightCurrent}]),role:"tree"},[y(u)?(k(),Y(y(tB),{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(Xwe,{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(),H("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 Qwe=Oe(Jwe,[["__file","tree.vue"]]);const exe=St(Qwe),ZB=Symbol("uploadContextKey"),txe="ElUpload";class nxe extends Error{constructor(t,n,r,a){super(t),this.name="UploadAjaxError",this.status=n,this.method=r,this.url=a}}function xz(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 nxe(r,n.status,t.method,e)}function rxe(e){const t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const axe=e=>{typeof XMLHttpRequest>"u"&&or(txe,"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(xz(n,e,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return e.onError(xz(n,e,t));e.onSuccess(rxe(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},JB=["text","picture","picture-card"];let ixe=1;const pw=()=>Date.now()+ixe++,QB=Ne({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:JB,default:"text"},httpRequest:{type:he(Function),default:axe},disabled:Boolean,limit:Number}),oxe=Ne({...QB,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)}}),lxe=Ne({files:{type:he(Array),default:()=>Rn([])},disabled:{type:Boolean,default:!1},handlePreview:{type:he(Function),default:sn},listType:{type:String,values:JB,default:"text"},crossorigin:{type:he(String)}}),sxe={remove:e=>!!e},uxe=["onKeydown"],cxe=["src","crossorigin"],fxe=["onClick"],dxe=["title"],hxe=["onClick"],vxe=["onClick"],pxe=te({name:"ElUploadList"}),gxe=te({...pxe,props:lxe,emits:sxe,setup(e,{emit:t}){const n=e,{t:r}=Xt(),a=Ae("upload"),i=Ae("icon"),o=Ae("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(WR,{tag:"ul",class:q(y(u)),name:y(o).b()},{default:M(()=>[(k(!0),H(fe,null,we(f.files,h=>(k(),H("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(),H("img",{key:0,class:q(y(a).be("list","item-thumbnail")),src:h.url,crossorigin:f.crossorigin,alt:""},null,10,cxe)):Q("v-if",!0),h.status==="uploading"||f.listType!=="picture-card"?(k(),H("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(bae))]),_:1},8,["class"]),X("span",{class:q(y(a).be("list","item-file-name")),title:h.name},U(h.name),11,dxe)],10,fxe),h.status==="uploading"?(k(),Y(y(WV),{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(iS))]),_: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(vp))]),_: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(Zi))]),_: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(),H("i",{key:3,class:q(y(i).m("close-tip"))},U(y(r)("el.upload.deleteTip")),3)),f.listType==="picture-card"?(k(),H("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(fO))]),_:1},8,["class"])],10,hxe),y(l)?Q("v-if",!0):(k(),H("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(mae))]),_:1},8,["class"])],10,vxe))],2)):Q("v-if",!0)])],42,uxe))),128)),me(f.$slots,"append")]),_:3},8,["class","name"]))}});var Sz=Oe(gxe,[["__file","upload-list.vue"]]);const mxe=Ne({disabled:{type:Boolean,default:!1}}),yxe={file:e=>We(e)},bxe=["onDrop","onDragover"],eF="ElUploadDrag",_xe=te({name:eF}),wxe=te({..._xe,props:mxe,emits:yxe,setup(e,{emit:t}){Ye(ZB)||or(eF,"usage: <el-upload><el-upload-dragger /></el-upload>");const r=Ae("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(),H("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,bxe))}});var xxe=Oe(wxe,[["__file","upload-dragger.vue"]]);const Sxe=Ne({...QB,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}}),Cxe=["onKeydown"],Txe=["name","multiple","accept"],kxe=te({name:"ElUploadContent",inheritAttrs:!1}),zxe=te({...kxe,props:Sxe,setup(e,{expose:t}){const n=e,r=Ae("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)=>ut(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:E}=n;try{g=await u(g??b,p)}catch{n.onRemove(p);return}const{uid:A}=p,D={headers:m||{},withCredentials:w,file:p,data:g,method:_,filename:x,action:S,onProgress:N=>{C(N,p)},onSuccess:N=>{T(N,p),delete i.value[A]},onError:N=>{z(N,p),delete i.value[A]}},$=E(D);i.value[A]=$,$ 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=>{Gre(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(),H("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(xxe,{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,Txe)],42,Cxe))}});var Cz=Oe(zxe,[["__file","upload-content.vue"]]);const Tz="ElUpload",kz=e=>{var t;(t=e.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(e.url)},Mxe=(e,t)=>{const n=gN(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(Tz,"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),kz(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:kz}},Exe=te({name:"ElUpload"}),Axe=te({...Exe,props:oxe,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}=Mxe(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(ZB,{accept:mn(n,"accept")}),t({abort:i,submit:o,clearFiles:l,handleStart:u,handleRemove:f}),(m,b)=>(k(),H("div",null,[y(p)&&m.showFileList?(k(),Y(Sz,{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(Cz,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(Cz,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(Sz,{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 Ixe=Oe(Axe,[["__file","upload.vue"]]);const Dxe=St(Ixe),Lxe=Ne({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 Pxe(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function Rxe(e){return Object.keys(e).map(t=>`${Pxe(t)}: ${e[t]};`).join(" ")}function Nxe(){return window.devicePixelRatio||1}const Oxe=(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},tF=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 $xe(){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,de)=>{u.fillText(ce??"",f/2,de*(ie+tF*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 E=_+m/2,A=x+m/2,D=w-_,$=S-x,N=l*r,R=s*r,O=(D+N)*2,B=$+R,[V,P]=xb(O,B);function W(Z=0,ee=0){V.drawImage(g,E,A,D,$,Z,ee,D,$)}return W(),W(D+N,-$/2-R/2),W(D+N,+$/2+R/2),[P.toDataURL(),O/r,B/r]}return e}const Vxe=te({name:"ElWatermark"}),Bxe=te({...Vxe,props:Lxe,setup(e){const t=e,n={position:"relative"},r=L(()=>{var E,A;return(A=(E=t.font)==null?void 0:E.color)!=null?A:"rgba(0,0,0,.15)"}),a=L(()=>{var E,A;return(A=(E=t.font)==null?void 0:E.fontSize)!=null?A:16}),i=L(()=>{var E,A;return(A=(E=t.font)==null?void 0:E.fontWeight)!=null?A:"normal"}),o=L(()=>{var E,A;return(A=(E=t.font)==null?void 0:E.fontStyle)!=null?A:"normal"}),l=L(()=>{var E,A;return(A=(E=t.font)==null?void 0:E.fontFamily)!=null?A:"sans-serif"}),s=L(()=>{var E,A;return(A=(E=t.font)==null?void 0:E.textAlign)!=null?A:"center"}),u=L(()=>{var E,A;return(A=(E=t.font)==null?void 0:E.textBaseline)!=null?A:"hanging"}),c=L(()=>t.gap[0]),f=L(()=>t.gap[1]),d=L(()=>c.value/2),h=L(()=>f.value/2),v=L(()=>{var E,A;return(A=(E=t.offset)==null?void 0:E[0])!=null?A:d.value}),p=L(()=>{var E,A;return(A=(E=t.offset)==null?void 0:E[1])!=null?A:h.value}),g=()=>{const E={zIndex:t.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let A=v.value-d.value,D=p.value-h.value;return A>0&&(E.left=`${A}px`,E.width=`calc(100% - ${A}px)`,A=0),D>0&&(E.top=`${D}px`,E.height=`calc(100% - ${D}px)`,D=0),E.backgroundPosition=`${A}px ${D}px`,E},m=xn(null),b=xn(),_=j(!1),w=()=>{b.value&&(b.value.remove(),b.value=void 0)},x=(E,A)=>{var D;m.value&&b.value&&(_.value=!0,b.value.setAttribute("style",Rxe({...g(),backgroundImage:`url('${E}')`,backgroundSize:`${Math.floor(A)}px`})),(D=m.value)==null||D.append(b.value),setTimeout(()=>{_.value=!1}))},S=E=>{let A=120,D=64;const $=t.image,N=t.content,R=t.width,O=t.height;if(!$&&E.measureText){E.font=`${Number(a.value)}px ${l.value}`;const B=Array.isArray(N)?N:[N],V=B.map(P=>{const W=E.measureText(P);return[W.width,W.fontBoundingBoxAscent!==void 0?W.fontBoundingBoxAscent+W.fontBoundingBoxDescent:W.actualBoundingBoxAscent+W.actualBoundingBoxDescent]});A=Math.ceil(Math.max(...V.map(P=>P[0]))),D=Math.ceil(Math.max(...V.map(P=>P[1])))*B.length+(B.length-1)*tF}return[R??A,O??D]},C=$xe(),T=()=>{const A=document.createElement("canvas").getContext("2d"),D=t.image,$=t.content,N=t.rotate;if(A){b.value||(b.value=document.createElement("div"));const R=Nxe(),[O,B]=S(A),V=P=>{const[W,Z]=C(P||"",N,R,O,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()}),pN(m,E=>{_.value||E.forEach(A=>{Oxe(A,b.value)&&(w(),T())})},{attributes:!0,subtree:!0,childList:!0}),(E,A)=>(k(),H("div",{ref_key:"containerRef",ref:m,style:Be([n])},[me(E.$slots,"default")],4))}});var Fxe=Oe(Bxe,[["__file","watermark.vue"]]);const Hxe=St(Fxe),jxe=Ne({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}}),qxe=(e,t,n,r,a)=>{const i=j(null),o=()=>{let f;return vt(e.value)?f=document.querySelector(e.value):ut(e.value)?f=e.value():f=e.value,f},l=()=>{const f=o();if(!f||!t.value){i.value=null;return}!Gxe(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}},$y=Symbol("ElTour");function Gxe(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 Wxe=(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=[qO(y(i)),vle(),hle(),Uxe()];return y(l)&&y(n)&&m.push(GO({element:y(n)})),m}),h=async()=>{if(!Wt)return;const m=y(e),b=y(t);if(!m||!b)return;const _=await WO(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=fle(m,b,h)),Nr(()=>{h()})}),wn(()=>{g&&g()}),{update:h,contentStyle:v,arrowStyle:p}},Uxe=()=>({name:"overflow",async fn(e){const t=await dle(e);let n=0;return t.left>0&&(n=t.left),t.right>0&&(n=t.right),{data:{maxWidth:e.rects.floating.width-n}}}}),Yxe={style:{width:"100%",height:"100%"}},Kxe=["d"],Xxe=te({name:"ElTourMask",inheritAttrs:!1}),Zxe=te({...Xxe,props:jxe,setup(e){const t=e,{ns:n}=Ye($y),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 vS(mn(t,"visible"),{ns:n}),(l,s)=>l.visible?(k(),H("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(),H("svg",Yxe,[X("path",{class:q(y(n).e("hollow")),style:Be(y(o)),d:y(i)},null,14,Kxe)]))],16)):Q("v-if",!0)}});var Jxe=Oe(Zxe,[["__file","mask.vue"]]);const Qxe=["absolute","fixed"],e5e=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],b6=Ne({placement:{type:he(String),values:e5e,default:"bottom"},reference:{type:he(Object),default:null},strategy:{type:he(String),values:Qxe,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),t5e={close:()=>!0},n5e=["data-side"],r5e=te({name:"ElTourContent"}),a5e=te({...r5e,props:b6,emits:t5e,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}=Wxe(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($y),f=()=>{t("close")},d=h=>{h.detail.focusReason==="pointer"&&h.preventDefault()};return(h,v)=>(k(),H("div",{ref_key:"contentRef",ref:i,style:Be(y(l)),class:q(y(c).e("content")),"data-side":y(u),tabindex:"-1"},[I(y(xp),{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(),H("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,n5e))}});var i5e=Oe(a5e,[["__file","content.vue"]]),o5e=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 l5e=Ne({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:hn},placement:b6.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}}),s5e={[Mt]:e=>Jn(e),"update:current":e=>ot(e),close:e=>ot(e),finish:()=>!0,change:e=>ot(e)},u5e=te({name:"ElTour"}),c5e=te({...u5e,props:l5e,emits:s5e,setup(e,{emit:t}){const n=e,r=Ae("tour"),a=j(0),i=j(),o=gN(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,E;return(E=(z=i.value)==null?void 0:z.contentStyle)!=null?E:n.contentStyle}),f=L(()=>{var z,E;return(E=(z=i.value)==null?void 0:z.mask)!=null?E:n.mask}),d=L(()=>!!f.value&&n.modelValue),h=L(()=>Jn(f.value)?void 0:f.value),v=L(()=>{var z,E;return!!l.value&&((E=(z=i.value)==null?void 0:z.showArrow)!=null?E:n.showArrow)}),p=L(()=>{var z,E;return(E=(z=i.value)==null?void 0:z.scrollIntoViewOptions)!=null?E:n.scrollIntoViewOptions}),g=L(()=>{var z,E;return(E=(z=i.value)==null?void 0:z.type)!=null?E:n.type}),{nextZIndex:m}=Qd(),b=m(),_=L(()=>{var z;return(z=n.zIndex)!=null?z:b}),{mergedPosInfo:w,triggerTarget:x}=qxe(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($y,{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,E)=>{var A,D;return k(),H(fe,null,[(k(),Y(Ud,{to:z.appendTo},[X("div",Pt({class:y(s)},z.$attrs),[I(Jxe,{visible:y(d),fill:(A=y(h))==null?void 0:A.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(i5e,{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(o5e),{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 f5e=Oe(c5e,[["__file","tour.vue"]]);const d5e=Ne({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:b6.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)}}),h5e={close:()=>!0},v5e=te({name:"ElTourStep"}),p5e=te({...v5e,props:d5e,emits:h5e,setup(e,{emit:t}){const n=e,{Close:r}=sS,{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($y);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 Rre(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(),H(fe,null,[y(m)?(k(),H("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),H(fe,{key:1},we(y(l),(E,A)=>(k(),H("span",{key:E,class:q([y(f).b("indicator"),A===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 E,A;return[G(U((A=(E=T.prevButtonProps)==null?void 0:E.children)!=null?A: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 E,A;return[G(U((A=(E=T.nextButtonProps)==null?void 0:E.children)!=null?A: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 nF=Oe(p5e,[["__file","step.vue"]]);const g5e=St(f5e,{TourStep:nF}),m5e=Nn(nF),y5e=Ne({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"}}),b5e={change:e=>vt(e),click:(e,t)=>e instanceof MouseEvent&&(vt(t)||Xn(t))},rF=Symbol("anchor"),_5e=te({name:"ElAnchor"}),w5e=te({..._5e,props:y5e,emits:b5e,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=Ae("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 E=R7(z,l.value),A=f4(z,E),D=E.scrollHeight-E.clientHeight,$=Math.min(A-r.offset,D);g=Yre(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=fie(()=>{l.value&&(c=N7(l.value));const T=x();u||Xn(T)||p(T)}),x=()=>{if(!l.value)return;const T=N7(l.value),z=[];for(const E of Object.keys(s)){const A=lg(E);if(!A)continue;const D=R7(A,l.value),$=f4(A,D);z.push({top:$-r.offset-r.bound,href:E})}z.sort((E,A)=>E.top-A.top);for(let E=0;E<z.length;E++){const A=z[E],D=z[E+1];if(E===0&&T===0)return"";if(A.top<=T&&(!D||D.top>T))return A.href}},S=()=>{const T=lg(r.container);!T||_y(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(),E=o.value.getBoundingClientRect(),A=T.getBoundingClientRect();return r.direction==="horizontal"?{left:`${A.left-z.left}px`,width:`${A.width}px`,opacity:1}:{top:`${A.top-z.top+(A.height-E.height)/2}px`,opacity:1}});return bt(()=>{S();const T=decodeURIComponent(window.location.hash);lg(T)?b(T):w()}),ke(()=>r.container,()=>{S()}),Rt(rF,{ns:f,direction:r.direction,currentAnchor:a,addLink:h,removeLink:v,handleClick:_}),t({scrollTo:b}),(T,z)=>(k(),H("div",{ref_key:"anchorRef",ref:i,class:q(y(d))},[T.marker?(k(),H("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 x5e=Oe(w5e,[["__file","anchor.vue"]]);const S5e=Ne({title:String,href:String}),C5e=["href"],T5e=te({name:"ElAnchorLink"}),k5e=te({...T5e,props:S5e,setup(e){const t=e,n=j(null),{ns:r,direction:a,currentAnchor:i,addLink:o,removeLink:l,handleClick:s}=Ye(rF),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(),H("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,C5e),f.$slots["sub-link"]&&y(a)==="vertical"?(k(),H("div",{key:0,class:q(y(r).e("list"))},[me(f.$slots,"sub-link")],2)):Q("v-if",!0)],2))}});var aF=Oe(k5e,[["__file","anchor-link.vue"]]);const z5e=St(x5e,{AnchorLink:aF}),M5e=Nn(aF),E5e=Ne({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,...Ar(["ariaLabel"])}),A5e={[Mt]:e=>vt(e)||ot(e),[Tn]:e=>vt(e)||ot(e)},I5e=["id","aria-label","aria-labelledby"],D5e=["name","disabled","checked","onChange"],L5e=te({name:"ElSegmented"}),P5e=te({...L5e,props:E5e,emits:A5e,setup(e,{emit:t}){const n=e,r=Ae("segmented"),a=Vr(),i=tr(),o=ma(),{formItem:l}=Qr(),{inputId:s,isLabeledByFormItem:u}=ao(n,{formItemContext:l}),c=j(null),f=QZ(),d=nn({isInit:!1,width:0,translateX:0,disabled:!1,focusVisible:!1}),h=z=>{const E=v(z);t(Mt,E),t(Tn,E)},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(E=>v(E)===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"),E=c.value.querySelector(".is-selected input");if(!z||!E){d.width=0,d.translateX=0,d.disabled=!1,d.focusVisible=!1;return}const A=z.getBoundingClientRect();d.isInit=!0,d.width=A.width,d.translateX=z.offsetLeft,d.disabled=g(b(n.modelValue));try{d.focusVisible=E.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(E=>void 0))},{flush:"post"}),(z,E)=>(k(),H("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),H(fe,null,we(z.options,(A,D)=>(k(),H("label",{key:D,class:q(_(A))},[X("input",{class:q(y(r).e("item-input")),type:"radio",name:y(T),disabled:g(A),checked:m(A),onChange:$=>h(A)},null,42,D5e),X("div",{class:q(y(r).e("item-label"))},[me(z.$slots,"default",{item:A},()=>[G(U(p(A)),1)])],2)],2))),128))],2)],10,I5e))}});var R5e=Oe(P5e,[["__file","segmented.vue"]]);const N5e=St(R5e);var O5e=[Rle,Wle,yce,K9e,Tce,Dce,c$,Wce,Uce,_r,m$,dde,mde,Ode,$de,Xhe,Nhe,nve,zi,nhe,G$,vve,Dve,Lve,Cve,u1e,zle,w1e,x1e,S1e,C1e,T1e,Gpe,nge,rge,bge,TV,Lge,C0e,T0e,k0e,PV,Vse,Bse,Ze,y2e,RV,Ur,NV,D2e,J2e,Q2e,eme,tme,sme,pye,wye,Aye,l$,WV,J$,yhe,mhe,Uye,Jye,uve,$l,Rc,U2,Fme,$3e,W3e,U3e,Sbe,Mbe,fB,Vbe,Ybe,Kbe,o_e,c9e,f9e,Y9e,c4e,f4e,x1,g4e,qfe,x4e,z4e,M4e,Xr,ewe,pwe,Ewe,Nwe,exe,Dxe,Hxe,g5e,m5e,z5e,M5e,N5e];const ui="ElInfiniteScroll",$5e=50,V5e=200,B5e=0,F5e={delay:{type:Number,default:V5e},distance:{type:Number,default:B5e},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},_6=(e,t)=>Object.entries(F5e).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},{}),iF=e=>{const{observer:t}=e[ui];t&&(t.disconnect(),delete e[ui].observer)},H5e=(e,t)=>{const{container:n,containerEl:r,instance:a,observer:i,lastScrollTop:o}=e[ui],{disabled:l,distance:s}=_6(e,a),{clientHeight:u,scrollHeight:c,scrollTop:f}=r,d=f-o;if(e[ui].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[ui],{disabled:a}=_6(e,r);a||n.clientHeight===0||(n.scrollHeight<=n.clientHeight?t.call(r):iF(e))}const j5e={async mounted(e,t){const{instance:n,value:r}=t;ut(r)||or(ui,"'v-infinite-scroll' binding value must be a function"),await nt();const{delay:a,immediate:i}=_6(e,n),o=rS(e,!0),l=o===window?document.documentElement:o,s=pc(H5e.bind(null,e,r),a);if(o){if(e[ui]={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),$5e));e[ui].observer=u,u.observe(e,{childList:!0,subtree:!0}),Sb(e,r)}o.addEventListener("scroll",s)}},unmounted(e){if(!e[ui])return;const{container:t,onScroll:n}=e[ui];t==null||t.removeEventListener("scroll",n),iF(e)},async updated(e){if(!e[ui])await nt();else{const{containerEl:t,cb:n,observer:r}=e[ui];t.clientHeight&&r&&Sb(e,n)}}},gw=j5e;gw.install=e=>{e.directive("InfiniteScroll",gw)};const q5e=gw;function G5e(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=ZR(te({name:"ElLoading",setup(d,{expose:h}){const{ns:v,zIndex:p}=My("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{...Er(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=W5e(e);if(t.fullscreen&&xg)return xg;const n=G5e({...t,closed:()=>{var a;(a=t.closed)==null||a.call(t),t.fullscreen&&(xg=void 0)}});U5e(t,t.parent,n),zz(t,t.parent,n),t.parent.vLoadingAddClassList=()=>zz(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},W5e=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}},U5e=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},zz=(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")):pi(t,r.bm("parent","relative")),e.fullscreen&&e.lock?pi(t,r.bm("parent","hidden")):Kr(t,r.bm("parent","hidden"))},n2=Symbol("ElLoading"),Mz=(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[n2]={options:f,instance:mw(f)}},Y5e=(e,t)=>{for(const n of Object.keys(t))st(t[n])&&(t[n].value=e[n])},Ez={mounted(e,t){t.value&&Mz(e,t)},updated(e,t){const n=e[n2];t.oldValue!==t.value&&(t.value&&!t.oldValue?Mz(e,t):t.value&&t.oldValue?zt(t.value)&&Y5e(t.value,n.options):n==null||n.instance.close())},unmounted(e){var t;(t=e[n2])==null||t.instance.close(),e[n2]=null}},K5e={install(e){e.directive("loading",Ez),e.config.globalProperties.$loading=mw},directive:Ez,service:mw},oF=["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}),X5e=Ne({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:oF,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}}),Z5e={destroy:()=>!0},ji=b5([]),J5e=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}},Q5e=e=>{const{prev:t}=J5e(e);return t?t.vm.exposed.bottom.value:0},eSe=(e,t)=>ji.findIndex(r=>r.id===e)>0?16:t,tSe=["id"],nSe=["innerHTML"],rSe=te({name:"ElMessage"}),aSe=te({...rSe,props:X5e,emits:Z5e,setup(e,{expose:t}){const n=e,{Close:r}=uS,{ns:a,zIndex:i}=My("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(()=>Q5e(n.id)),g=L(()=>eSe(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}=Ec(()=>{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(c$),{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(),H(fe,{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,nSe)],2112)):(k(),H("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,tSe),[[en,u.value]])]),_:3},8,["name","onBeforeLeave"]))}});var iSe=Oe(aSe,[["__file","message.vue"]]);let oSe=1;const lF=e=>{const t=!e||vt(e)||Dn(e)||ut(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);Ci(r)||(r=document.body),n.appendTo=r}return n},lSe=e=>{const t=ji.indexOf(e);if(t===-1)return;ji.splice(t,1);const{handler:n}=e;n.close()},sSe=({appendTo:e,...t},n)=>{const r=`message_${oSe++}`,a=t.onClose,i=document.createElement("div"),o={...t,id:r,onClose:()=>{a==null||a(),lSe(c)},onDestroy:()=>{$s(null,i)}},l=I(iSe,o,ut(o.message)||Dn(o.message)?{default:ut(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=lF(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=sSe(n,t);return ji.push(r),r.handler};oF.forEach(e=>{Ld[e]=(t={},n)=>{const r=lF(t);return Ld({...r,type:e},n)}});function uSe(e){for(const t of ji)(!e||e===t.props.type)&&t.handler.close()}Ld.closeAll=uSe;Ld._context=null;const sF=hO(Ld,"$message"),cSe=te({name:"ElMessageBox",directives:{TrapFocus:kfe},components:{ElButton:_r,ElFocusTrap:xp,ElInput:Ur,ElOverlay:WS,ElIcon:Ze,...uS},inheritAttrs:!1,props:{buttonSize:{type:String,validator:vO},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}=My("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 O=u.type;return{[a.bm("icon",O)]:O&&js[O]}}),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 O=>{await nt(),e.boxType==="prompt"&&O!==null&&D()},{immediate:!0}),ke(()=>s.value,O=>{var B,V;O&&(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"&&(O?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);pO(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&&A(u.distinguishCancelAndClose?"close":"cancel")},z=SS(T),E=O=>{if(u.inputType!=="textarea")return O.preventDefault(),A("confirm")},A=O=>{var B;e.boxType==="prompt"&&O==="confirm"&&!D()||(u.action=O,u.beforeClose?(B=u.beforeClose)==null||B.call(u,O,u,C):C())},D=()=>{if(e.boxType==="prompt"){const O=u.inputPattern;if(O&&!O.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 O=b.value.$refs;return O.input||O.textarea},N=()=>{A("close")},R=()=>{e.closeOnPressEscape&&N()};return e.lockScroll&&vS(s),{...Er(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:N,onCloseRequested:R,handleWrapperClick:T,handleInputEnter:E,handleAction:A,t:o}}}),fSe=["aria-label","aria-describedby"],dSe=["aria-label"],hSe=["id"];function vSe(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(),H("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(),H("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,dSe)):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(),H("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,hSe),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,fSe)]),_:3},8,["z-index","overlay-class","mask"]),[[en,e.visible]])]),_:3})}var pSe=Oe(cSe,[["render",vSe],["__file","index.vue"]]);const I1=new Map,gSe=e=>{let t=document.body;return e.appendTo&&(vt(e.appendTo)&&(t=document.querySelector(e.appendTo)),Ci(e.appendTo)&&(t=e.appendTo),Ci(t)||(t=document.body)),t},mSe=(e,t,n=null)=>{const r=I(pSe,e,ut(e.message)||Dn(e.message)?{default:ut(e.message)?e.message:()=>e.message}:null);return r.appContext=n,$s(r,t),gSe(e).appendChild(t.firstElementChild),r.component},ySe=()=>document.createElement("div"),bSe=(e,t)=>{const n=ySe();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=mSe(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=bSe(e,t??ah._context);I1.set(i,{options:e,callback:n,resolve:r,reject:a})})}const _Se=["alert","confirm","prompt"],wSe={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};_Se.forEach(e=>{ah[e]=xSe(e)});function xSe(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:"",...wSe[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 SSe=os,uF=["success","info","warning","error"],CSe=Ne({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:[...uF,""],default:""},zIndex:Number}),TSe={destroy:()=>!0},kSe=["id"],zSe=["textContent"],MSe={key:0},ESe=["innerHTML"],ASe=te({name:"ElNotification"}),ISe=te({...ASe,props:CSe,emits:TSe,setup(e,{expose:t}){const n=e,{ns:r,zIndex:a}=My("notification"),{nextZIndex:i,currentZIndex:o}=a,{Close:l}=sS,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}=Ec(()=>{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,zSe),mt(X("div",{class:q(y(r).e("content")),style:Be(_.title?void 0:{margin:0})},[me(_.$slots,"default",{},()=>[_.dangerouslyUseHTMLString?(k(),H(fe,{key:1},[Q(" Caution here, message could've been compromised, never use user's input as message "),X("p",{innerHTML:_.message},null,8,ESe)],2112)):(k(),H("p",MSe,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,kSe),[[en,s.value]])]),_:3},8,["name","onBeforeLeave"]))}});var DSe=Oe(ISe,[["__file","notification.vue"]]);const nm={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},yw=16;let LSe=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_${LSe++}`,i=e.onClose,o={...e,offset:r,id:a,onClose:()=>{PSe(a,n,i)}};let l=document.body;Ci(e.appendTo)?l=e.appendTo:vt(e.appendTo)&&(l=document.querySelector(e.appendTo)),Ci(l)||(l=document.body);const s=document.createElement("div"),u=I(DSe,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}}};uF.forEach(e=>{Pd[e]=(t={})=>((typeof t=="string"||Dn(t))&&(t={message:t}),Pd({...t,type:e}))});function PSe(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 RSe(){for(const e of Object.values(nm))e.forEach(({vm:t})=>{t.component.exposed.visible.value=!1})}Pd.closeAll=RSe;Pd._context=null;const NSe=hO(Pd,"$notify");var OSe=[q5e,K5e,sF,SSe,NSe,GV],$Se=Ele([...O5e,...OSe]);/*!
- * cookie
- * Copyright(c) 2012-2014 Roman Shtylman
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */var cF=BSe,Az=FSe,VSe=Object.prototype.toString,Sg=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function BSe(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");for(var n={},r=t||{},a=r.decode||HSe,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]=GSe(u,a)}i=l+1}return n}function FSe(e,t,n){var r=n||{},a=r.encode||jSe;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(!qSe(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 HSe(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function jSe(e){return encodeURIComponent(e)}function qSe(e){return VSe.call(e)==="[object Date]"||e instanceof Date}function GSe(e,t){try{return t(e)}catch{return e}}function WSe(){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 USe(e){return typeof e=="string"?cF(e):typeof e=="object"&&e!==null?e:{}}function Cb(e,t={}){const n=YSe(e);if(!t.doNotParse)try{return JSON.parse(n)}catch{}return e}function YSe(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=cF(document.cookie),this._checkChanges(a)};const r=typeof document>"u"?"":document.cookie;this.cookies=USe(t||r),this.defaultSetOptions=n,this.HAS_DOCUMENT_COOKIE=WSe()}_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=Az(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=Az(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){sF({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={}));var F;(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.ownerUsers=j([]),e.historyUser=j([]),e.historyBaZi=j([]);function t(){return Ve.getCookie("yx_uid")}e.getOwnerId=t;function n(p){let g=p.sheng;e.shengShi.has(g)||e.shengShi.set(g,[]);let m=e.shengShi.get(g);m.indexOf(p.shi)==-1&&m.push(p.shi);let b=p.sheng+p.shi;e.shiQu.has(b)||e.shiQu.set(b,[]);let _=e.shiQu.get(b);_.indexOf(p.qu)==-1&&_.push(p.qu);let w=p.sheng+p.shi+p.qu;e.quData.set(w,p)}e.addAreaData=n;function r(p){let g=e.nongliMonths.get(p.year);g==null&&(g=[],e.nongliMonths.set(p.year,g)),g.indexOf(p.month)==-1&&g.push(p.month);let m=p.year.toString()+p.month;e.nongliDays.set(m,p.day)}e.addNongLi=r;function a(p){return e.nongliMonths.get(p)}e.getNontLiMonths=a;function i(p,g){let m=[],b=p.toString()+g,_=e.nongliDays.get(b);for(let w=0;w<Ft.nongliAry.length;w++){let x=Ft.nongliAry[w];if(m.push(x),x==_)break}return m}e.getNongLiDays=i;function o(p){let g=[];return p.length>0&&e.quData.forEach(function(m){(m.shiPinYin+m.quPinYin).indexOf(p)!=-1&&g.push(m),(m.sheng+m.shi+m.qu).indexOf(p)!=-1&&g.push(m)}),g}e.fixPinYin=o;function l(p,g){if(["合","暗合","半合"].indexOf(p.guanxi)!=-1)if(g.text==p.fangxiang)p.sign="";else if(p.wei_zhi3==null)g.wei_zhi<p.wei_zhi2?p.sign="→":p.sign="←";else{let m=p.wei_zhi2;p.fangxiang==p.arg3&&(m=p.wei_zhi3),g.wei_zhi<m?p.sign="→":p.sign="←"}}function s(p,g,m,b,_,w=null){let x=new S6;if(x.arg1=m.text,x.arg2=b.text,x.wei_zhi1=m.wei_zhi,x.wei_zhi2=b.wei_zhi,x.wu_xing1=m.wu_xing,x.wu_xing2=b.wu_xing,x.shi_shen1=m.shi_shen,x.shi_shen2=b.shi_shen,x.text=g.name,x.guanxi=g.guanxi,x.leibie=g.leibie,x.hehua=g.hehua,x.fangxiang=g.fangxiang,["半合","拱合","三会"].indexOf(x.guanxi)!=-1&&(x.zengqiang_shishen=Ft.config_shishen[p][x.fangxiang]),x.guanxi=="刑"){let S=Ft.config_gaoneng_xing[x.text];if(S!=null){let C=S.刑出,T=S.刑冲;x.xing_chu="",x.xing_chong="",C.forEach(function(z){let E=Ft.config_shishen[p][z];x.xing_chu+=E}),T.forEach(function(z){let E=Ft.config_shishen[p][z[0]],A=Ft.config_shishen[p][z[1]];x.xing_chong+=E+A+"冲"})}}x.tip=g.tip,l(x,m),w==null?m.gaonengs.push(x):(m.trigger_gaonengs.has(w)||m.trigger_gaonengs.set(w,[]),m.trigger_gaonengs.get(w).push(x))}function u(p,g,m,b){if(g==m)return;let _=g.text+m.text,w=Ft.config_gaoneng_query[_];w!=null&&w.forEach(function(x){s(p,x,g,m,null,b),s(p,x,m,g,null,b)})}e.fixGaoNengByZhu=u;function c(p,g,m,b){m.forEach(function(_){if(g!=_){let w=g,x=_,S=w.text+x.text,C=Ft.config_gaoneng_query[S];C!=null&&C.forEach(function(T){s(p,T,w,x,null,null),s(p,T,x,w,null,b)})}})}e.fixGaoNeng=c;function f(p,g,m){if(e.bazi.value!=null&&!p.is_gaoneng_calced){let b=e.bazi.value.ri_gan.text,_=p.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],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];e.fixGaoNeng(b,p.gan_zhu,w,_),e.fixGaoNeng(b,p.zhi_zhu,x,_),p.is_gaoneng_calced=!0}}e.calcLiuYueGaoNeng=f;function d(p,g,m,b){if(e.bazi.value!=null&&!p.is_gaoneng_calced){let _=e.bazi.value.ri_gan.text,w=p.trigger,x=[e.bazi.value.nian_gan,e.bazi.value.yue_gan,e.bazi.value.ri_gan,e.bazi.value.shi_gan,m.gan_zhu,b.gan_zhu,g.gan_zhu],S=[e.bazi.value.nian_zhi,e.bazi.value.yue_zhi,e.bazi.value.ri_zhi,e.bazi.value.shi_zhi,m.zhi_zhu,b.zhi_zhu,g.zhi_zhu];e.fixGaoNeng(_,p.gan_zhu,x,w),e.fixGaoNeng(_,p.zhi_zhu,S,w),p.is_gaoneng_calced=!0}}e.calcLiuRiGaoNeng=d;function h(){if(e.bazi.value==null)return;e.bazi.value.qushiInfo=[];let p=3,g=new Date().getFullYear(),m=Ca.findDaYunLiuNian(g,e.bazi.value),b=m[0],_=m[1];if(b!=null&&_!=null){let w=e.bazi.value.shishen_guanxi.get("禄神")[0],x=e.bazi.value.shishen_guanxi.get("半禄"),S=[b],C=[_];for(;C.length<p;){let T=Ca.getNext(e.bazi.value,b,_);if(T==null)break;b=T[0],_=T[1],S.push(b),C.push(_)}for(let T=0;T<C.length;T++){let z=S[T],E=C[T],A=z.gan_text+z.zhi_text+"运",D=E.year.toString()+"年",$=new d6e;$.year=E.year,Ca.calcQuShiScore(z.gan_zhu,$,w,x,A,0),Ca.calcQuShiScore(z.zhi_zhu,$,w,x,A,0),Ca.calcQuShiScore(E.gan_zhu,$,w,x,D,1),Ca.calcQuShiScore(E.zhi_zhu,$,w,x,D,1);for(let N=0;N<E.liuyue.length;N++){let R=E.liuyue[N],O=D+R.month.toString()+"月";R.is_gaoneng_calced||f(R,z,E),Ca.calcQuShiScore(R.gan_zhu,$,w,x,O,2,R.month),Ca.calcQuShiScore(R.zhi_zhu,$,w,x,O,2,R.month)}$.calcTotal(),e.bazi.value.qushiInfo.push($)}}}e.calcQuShi=h;function v(){if(e.bazi.value!=null){e.bazi.value.dailyQuShi=[],e.bazi.value.dailyQuShiDate=[];for(let p=0;p<=1;p++){let g=new Date;g.setDate(g.getDate()+p);let m=g.getFullYear(),b=g.getMonth()+1,_=g.getDate(),w=R2.findNianYueRi(m,b,_,e.bazi.value),x=w[0],S=w[1],C=w[2];if(x!=null&&S!=null&&C!=null){let T=R2.calc(x,S,C);e.bazi.value.dailyQuShi.push(T),e.bazi.value.dailyQuShiDate.push(g.getFullYear()+"-"+(g.getMonth()+1)+"-"+g.getDate()+" "+C.gan_text+C.zhi_text+"日")}}}}e.calcRiYunShi=v})(F||(F={}));var KSe=Object.defineProperty,Nt=(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&&KSe(t,n,a),a};const XSe=P2.resolve,Ot=P2.use;class ZSe{constructor(){ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hourMode");ne(this,"hour");ne(this,"minute")}}class JSe{constructor(){ne(this,"mode");ne(this,"sheng");ne(this,"shi");ne(this,"qu")}}class QSe{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 e6e{constructor(){ne(this,"year");ne(this,"month");ne(this,"day");ne(this,"hourMode");ne(this,"hour");ne(this,"minute")}}class t6e{constructor(){ne(this,"account");ne(this,"password");ne(this,"userAgent");ne(this,"screenResolution");ne(this,"colorDepth");ne(this,"timezoneOffset");ne(this,"language")}}class n6e{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 r6e{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 a6e{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 i6e{constructor(){ne(this,"owner_id")}}class o6e{constructor(){ne(this,"owner_id");ne(this,"user_id")}}class w6{constructor(){ne(this,"code");ne(this,"name");ne(this,"token");ne(this,"uid")}static build(t){let n=new w6;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 x6{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 x6;return Object.keys(t).forEach(function(r){let a=t[r];n[r]=a}),n}}class r2{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 S6{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")}}Nt([Ot(Array,S6)],dr.prototype,"gaonengs");Nt([Ot(Array)],dr.prototype,"shenshas");Nt([Ot(Map,Array,S6)],dr.prototype,"trigger_gaonengs");class Tp{constructor(){ne(this,"power_raw");ne(this,"power_muku");ne(this,"power_gaoneng");ne(this,"power_zihe")}}Nt([Ot(Map)],Tp.prototype,"power_raw");Nt([Ot(Map)],Tp.prototype,"power_muku");Nt([Ot(Map)],Tp.prototype,"power_gaoneng");Nt([Ot(Map)],Tp.prototype,"power_zihe");class l6e{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=F.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=F.powerMode.value){let n=this.getIndexs(t);return this.getValueByIndexs(n,this.wuxingTotals,null)}getShiShenTotal(t=F.powerMode.value){let n=this.getIndexs(t);return this.getValueByIndexs(n,this.shishenTotals,null)}}class s6e{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 fF{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 Xc{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]}}Nt([Ot(Array,s6e)],Xc.prototype,"items");class u6e{constructor(){ne(this,"name");ne(this,"guanxi");ne(this,"arg1");ne(this,"arg2");ne(this,"tip");ne(this,"found")}}class C6{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")}}Nt([Ot(dr)],C6.prototype,"gan_zhu");Nt([Ot(dr)],C6.prototype,"zhi_zhu");class Vy{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}}Nt([Ot(dr)],Vy.prototype,"gan_zhu");Nt([Ot(dr)],Vy.prototype,"zhi_zhu");Nt([Ot(Array,C6)],Vy.prototype,"liuri");class By{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}}Nt([Ot(dr)],By.prototype,"gan_zhu");Nt([Ot(dr)],By.prototype,"zhi_zhu");Nt([Ot(Array,Vy)],By.prototype,"liuyue");class Fy{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}}Nt([Ot(dr)],Fy.prototype,"gan_zhu");Nt([Ot(dr)],Fy.prototype,"zhi_zhu");Nt([Ot(Array,By)],Fy.prototype,"liunian");class dF{constructor(){ne(this,"content");ne(this,"order");ne(this,"selected");ne(this,"defaultSelected");ne(this,"tip");ne(this,"key")}}class Ka{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}}Nt([Ot(Array,dF)],Ka.prototype,"jianyi");Nt([Ot(Array,dF)],Ka.prototype,"cankao");class Ei{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+`
- `);let l=this.getZhenDuanContent(this.shishen);l.length>0&&(i+=l+`
- `);let s=this.getZhenDuanContent(this.zuozhi);s.length>0&&(i+=s+`
- `);let u=this.getZhenDuanContent(this.menhu);u.length>0&&(i+=u+`
- `);let c=this.getZhenDuanContent(this.shensha);c.length>0&&(i+="神煞方面"+c+`
- `);let f=this.getZhenDuanContent(this.geju);f.length>0&&(i+="八字格局"+f+`
- `);let d="";this.gaoneng.forEach(function(v){d+=a.getZhenDuanContent(v)}),d.length>0&&(i+="八字原局"+d+`
- `);let h=this.getZhenDuanContent(this.jiankang);if(h.length>0&&(i+="健康方面"+h+`
- `),t){let v=this.getZhenDuanContent(this.qinggan);v.length>0&&(i+="情感方面"+v+`
- `)}if(n){let v=this.getZhenDuanContent(this.dayun);v.length>0&&(i+=v+`
- `)}if(r){let v=this.getZhenDuanContent(this.yinyuan);v.length>0&&(i+=v+`
- `)}return i}}Nt([Ot(Ka)],Ei.prototype,"wuxing");Nt([Ot(Ka)],Ei.prototype,"shishen");Nt([Ot(Ka)],Ei.prototype,"zuozhi");Nt([Ot(Ka)],Ei.prototype,"menhu");Nt([Ot(Ka)],Ei.prototype,"shensha");Nt([Ot(Ka)],Ei.prototype,"geju");Nt([Ot(Map,Ka)],Ei.prototype,"gaoneng");Nt([Ot(Ka)],Ei.prototype,"jiankang");Nt([Ot(Ka)],Ei.prototype,"qinggan");Nt([Ot(Ka)],Ei.prototype,"dayun");Nt([Ot(Ka)],Ei.prototype,"yinyuan");let c6e=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 f6e{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 d6e{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)}})}}class h6e{constructor(){ne(this,"key");ne(this,"desc");ne(this,"shishen");ne(this,"wuxing");ne(this,"state");ne(this,"power");ne(this,"score")}}class T6{constructor(){ne(this,"key");ne(this,"items");ne(this,"total_score");ne(this,"score_detail");ne(this,"percentage")}}Nt([Ot(Array,h6e)],T6.prototype,"items");Nt([Ot(Map)],T6.prototype,"score_detail");const jn=class hF{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,"mbti");ne(this,"powerDetail");ne(this,"qushiInfo");ne(this,"dailyQuShi");ne(this,"dailyQuShiDate")}static build(t){let n=new hF;return XSe(n,t),console.log("bazi:",n),n.powerDetail=new l6e,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]}};Nt([Ot(dr)],jn.prototype,"nian_gan");Nt([Ot(dr)],jn.prototype,"nian_zhi");Nt([Ot(dr)],jn.prototype,"yue_gan");Nt([Ot(dr)],jn.prototype,"yue_zhi");Nt([Ot(dr)],jn.prototype,"ri_gan");Nt([Ot(dr)],jn.prototype,"ri_zhi");Nt([Ot(dr)],jn.prototype,"shi_gan");Nt([Ot(dr)],jn.prototype,"shi_zhi");Nt([Ot(Map)],jn.prototype,"power_steps");Nt([Ot(Tp)],jn.prototype,"counter");Nt([Ot(Map)],jn.prototype,"shishen_guanxi");Nt([Ot(Map,Xc)],jn.prototype,"tiangan_geju");Nt([Ot(Map,Xc)],jn.prototype,"dizhi_geju");Nt([Ot(Map)],jn.prototype,"geju_score");Nt([Ot(Map,Array,u6e)],jn.prototype,"geju_xiongji");Nt([Ot(Array,Fy)],jn.prototype,"dayun");Nt([Ot(Map,Xc)],jn.prototype,"dayun_tiangan_geju");Nt([Ot(Map,Xc)],jn.prototype,"dayun_dizhi_geju");Nt([Ot(Map,Map)],jn.prototype,"dayun_geju_score");Nt([Ot(Map,Xc)],jn.prototype,"liunian_tiangan_geju");Nt([Ot(Map,Xc)],jn.prototype,"liunian_dizhi_geju");Nt([Ot(Map,Map)],jn.prototype,"liunian_geju_score");Nt([Ot(Ei)],jn.prototype,"zhenduan");Nt([Ot(c6e)],jn.prototype,"base_info");Nt([Ot(Map,T6)],jn.prototype,"mbti");let v6e=jn;const p6e={align:"left",style:{"margin-top":"10px"}},g6e={key:1,align:"left",style:{"margin-top":"10px"}},m6e=te({__name:"XinLi",setup(e,{expose:t}){t({getData:function(){let h=new ZSe;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(),H(fe,null,[I(m,null,{default:M(()=>[I(g,{modelValue:y(n),"onUpdate:modelValue":v[0]||(v[0]=x=>st(n)?n.value=x:n=x),style:{width:"100px"},onChange:f,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(r)?r.value=x:r=x),style:{width:"100px"},onChange:f,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(a)?a.value=x:a=x),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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",p6e,[I(_,{modelValue:y(o),"onUpdate:modelValue":v[3]||(v[3]=x=>st(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=>st(l)?l.value=x:l=x),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(s)?s.value=x:s=x),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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(),H("div",g6e,[I(_,{modelValue:y(u),"onUpdate:modelValue":v[6]||(v[6]=x=>st(u)?u.value=x:u=x)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).dizhiAry,(x,S)=>(k(),Y(w,{value:S},{default:M(()=>[G(U(x),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])])):Q("",!0)],64)}}}),y6e={align:"left"},b6e={key:0,align:"left"},_6e=X("br",null,null,-1),w6e=["onClick"],x6e=te({__name:"Area",setup(e,{expose:t}){t({getData:function(){let p=new JSe;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(F.shengShi.keys())});function f(p){a.value="-",i.value="-",o.value=[],l.value=[],F.shengShi.has(p)&&(o.value=F.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;F.shiQu.has(g)&&(l.value=F.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=F.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(),H(fe,null,[X("div",y6e,[I(b,{modelValue:y(n),"onUpdate:modelValue":g[0]||(g[0]=T=>st(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(),H("div",b6e,[I(S,{style:{"margin-top":"10px"}},{default:M(()=>[I(w,{modelValue:y(r),"onUpdate:modelValue":g[1]||(g[1]=T=>st(r)?r.value=T:r=T),onChange:f,style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(a)?a.value=T:a=T),onChange:d,style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(i)?i.value=T:i=T),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(s)?s.value=T:s=T),clearable:""},null,8,["modelValue"])]),_:1}),_6e,I(C,{"max-height":"400px"},{default:M(()=>[(k(!0),H(fe,null,we(y(u),T=>(k(),H("p",{onClick:z=>v(T)},U(T),9,w6e))),256))]),_:1})])):Q("",!0)],64)}}}),S6e=te({__name:"SiZhuSelector",setup(e,{expose:t}){t({getData:function(){let d=new QSe;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(),H(fe,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]=_=>st(n)?n.value=_:n=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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]=_=>st(r)?r.value=_:r=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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]=_=>st(a)?a.value=_:a=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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]=_=>st(i)?i.value=_:i=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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]=_=>st(o)?o.value=_:o=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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]=_=>st(l)?l.value=_:l=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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]=_=>st(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]=_=>st(s)?s.value=_:s=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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]=_=>st(u)?u.value=_:u=_)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).dizhiAry,_=>(k(),Y(p,{value:_,label:_},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1})):Q("",!0),Q("",!0)],64)}}}),C6e={align:"left",style:{"margin-top":"10px"}},T6e={key:1,align:"left",style:{"margin-top":"10px"}},k6e=te({__name:"NongLi",setup(e,{expose:t}){t({getData:function(){let p=new e6e;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=F.getNontLiMonths(n.value),r.value="正月",v()}function v(){o.value=F.getNongLiDays(n.value,r.value),a.value="初一"}return bt(function(){i.value=F.getNontLiMonths(n.value),o.value=F.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(),H(fe,null,[I(_,null,{default:M(()=>[I(b,{modelValue:y(n),"onUpdate:modelValue":g[0]||(g[0]=C=>st(n)?n.value=C:n=C),style:{width:"100px"},onChange:h,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(r)?r.value=C:r=C),style:{width:"100px"},onChange:v,filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(a)?a.value=C:a=C),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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",C6e,[I(x,{modelValue:y(l),"onUpdate:modelValue":g[3]||(g[3]=C=>st(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=>st(s)?s.value=C:s=C),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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=>st(u)?u.value=C:u=C),style:{width:"100px"},filterable:"","default-first-option":""},{default:M(()=>[(k(!0),H(fe,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(),H("div",T6e,[I(x,{modelValue:y(c),"onUpdate:modelValue":g[6]||(g[6]=C=>st(c)?c.value=C:c=C)},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).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 qi;(e=>{let t=new Map;e.debugMode=!1;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 t6e;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=w6.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 n6e;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 r6e;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 a6e;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=x6.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 r2;c(S,x),w.push(S)}),F.ownerUsers.value=w,console.log("共获得",F.ownerUsers.value.length,"条数据"),g&&g()}catch(b){console.error(b),g&&g()}})}e.saveUser=l;function s(p){let g=new i6e;g.owner_id=F.getOwnerId(),v(d()+"loadUser",h(g),function(m){try{let _=JSON.parse(m).data,w=[];_.forEach(function(x){let S=new r2;c(S,x),w.push(S)}),F.ownerUsers.value=w,console.log("共获得",F.ownerUsers.value.length,"条数据")}catch(b){console.error(b)}p&&p()})}e.loadUsers=s;function u(p){let g=new o6e;g.owner_id=F.getOwnerId(),g.user_id=p,v(d()+"deleteUser",h(g),function(m){try{let _=JSON.parse(m).data,w=[];_.forEach(function(x){let S=new r2;c(S,x),w.push(S)}),F.ownerUsers.value=w,console.log("共获得",F.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=v6e.build(g.data);return F.bazi.value=m,F.powerMode.value=1,F.dayunIndex.value=null,F.curDaYun.value=null,F.curLiuNianList.value=[],F.liunianIndex.value=null,F.curLiuNian.value=null,F.liuyueIndex.value=null,F.curLiuYue.value=null,F.liuriIndex.value=null,F.curLiuRi.value=null,F.includeDaYunInGeJu.value=!1,F.includeLiuNianInGeJu.value=!1,F.selectedDaYunInGeJu.value=null,F.selectedLiuNianInGeJu.value=null,F.calcQuShi(),F.calcRiYunShi(),200}function d(){return e.debugMode?"http://127.0.0.1:13008/wx/":"https://yixuedjango.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)}})(qi||(qi={}));const vF=e=>(T5("data-v-47c248d7"),e=e(),k5(),e),z6e={align:"left",style:{"margin-bottom":"15px",position:"relative"}},M6e={align:"left",style:{padding:"10px"}},E6e={align:"left"},A6e=vF(()=>X("br",null,null,-1)),I6e={key:0,align:"left"},D6e={key:1,align:"left"},L6e={key:2,align:"left"},P6e={style:{"margin-top":"10px"}},R6e=vF(()=>X("br",null,null,-1)),N6e={align:"left"},O6e=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(N){_(N)}});function _(N){c.value="info",s.value=N.name,g.value=N.extra,l.value=N.isMan,n.value=N.dateMode,Ve.delay(function(){N.dateMode==0?(r.value.setData(N),a.value.setData(N)):N.dateMode==1?(o.value.setData(N),a.value.setData(N)):N.dateMode==2&&i.value.setData(N)},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 N=r.value.getData(),R=a.value.getData();m.value=!0,c.value="",qi.requestByXinLi(s.value.trim(),l.value,N,R,function(O){O>0?(m.value=!1,x()):O==-200&&($(),Ve.showMessage("账号在别处登录,请登出后重试"))})}else if(n.value==1){let N=o.value.getData(),R=a.value.getData();m.value=!0,c.value="",qi.requestByNongLi(s.value.trim(),l.value,N,R,function(O){O>0?(m.value=!1,x()):O==-200&&($(),Ve.showMessage("账号在别处登录,请登出后重试"))})}else if(n.value==2){let N=i.value.getData();m.value=!0,qi.requestBySiZhu(s.value.trim(),l.value,N,function(R,O){if(R==null&&(c.value="",x()),O==-200){$(),Ve.showMessage("账号在别处登录,请登出后重试");return}p.value=R,m.value=!1})}}function x(){let N=5,R=E();F.historyUser.value!=null&&(F.historyUser.value.length>=N&&(F.historyUser.value.splice(N-1,1),F.historyBaZi.value.splice(N-1,1)),F.historyUser.value.unshift(R),F.historyBaZi.value.unshift(F.bazi.value))}function S(){u.value?s.value.trim().length>0&&(u.value=!1):u.value=!0}function C(){let N=1,R=d.value==!0?2:0,O=v.value==!0?4:0,B=h.value==!0?8:0;F.powerMode.value=N+R+O+B}function T(){let N="";return p.value!=null&&p.value.error&&(p.value.adv_nian.length>0?(N="年支有误,请使用:",N+=p.value.adv_nian):p.value.adv_yue.length>0?(N="月支有误,请使用:",N+=p.value.adv_yue):p.value.adv_ri.length>0?(N="日支有误,请使用:",N+=p.value.adv_ri):p.value.adv_shi.length>0&&(N="时支有误,请使用:",N+=p.value.adv_shi)),N}function z(){if(F.bazi.value==null){Ve.showMessage("请先获取用户信息后再保存!");return}let N=E();qi.saveUser(N,function(){Ve.showMessage("用户信息已保存")})}function E(){let N=new r2;return N.name=s.value.trim(),N.dateMode=n.value,N.extra=g.value.trim(),N.owner_id=F.getOwnerId(),N.fillData(F.bazi.value),N}function A(N){let R=N.name+" "+N.extra+" "+(N.isMan?"男":"女")+" ";return N.dateMode==0?(R+=N.year.toString()+"-"+N.month.toString()+"-"+N.day.toString()+" ",N.hourMode==0&&(R+=N.hour.toString()+":"+N.minute.toString()+" ")):N.dateMode==1&&(R+=N.nongli_year.toString()+" "+N.nongli_month+" "+N.nongli_day+" "),N.areaMode==0&&(R+=N.sheng+"-"+N.shi+"-"+N.qu+" "),R}function D(){if(F.historyUser.value!=null)try{let N=F.historyUser.value[b.value];_(N),F.bazi.value=F.historyBaZi.value[b.value]}catch(N){console.error(N)}}function $(){Ve.removeCookie("yx_uname"),Ve.removeCookie("yx_token"),F.bazi.value=null,F.historyBaZi.value=[],F.historyUser.value=[],F.ownerUsers.value=[],F.lastKeyInGeJu.value=null,F.selectedLiuNianInGeJu.value=null,F.selectedDaYunInGeJu.value=null,F.includeDaYunInGeJu.value=!1,F.includeLiuNianInGeJu.value=!1,F.powerMode.value=1,F.dayunIndex.value=null,F.curDaYun.value=null,F.liunianIndex.value=null,F.curLiuNianList.value=[],F.curLiuNian.value=null,F.liuyueIndex.value=null,F.curLiuYue.value=null,F.liuriIndex.value=null,F.curLiuRi.value=null,PC.push({name:"login"})}return(N,R)=>{const O=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"),de=se("el-row"),xe=se("el-card");return k(),Y(xe,null,{footer:M(()=>[X("div",N6e,[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(F).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(O,null,{default:M(()=>[G("力量计算:")]),_:1}),I(le,{modelValue:y(f),"onUpdate:modelValue":R[7]||(R[7]=J=>st(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=>st(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=>st(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(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.nian_gan.text),1)]}),_:1}),I(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.yue_gan.text),1)]}),_:1}),I(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.ri_gan.text),1)]}),_:1}),I(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.shi_gan.text),1)]}),_:1})]),_:1}),I(W,null,{default:M(()=>[I(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.nian_zhi.text),1)]}),_:1}),I(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.yue_zhi.text),1)]}),_:1}),I(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.ri_zhi.text),1)]}),_:1}),I(O,null,{default:M(()=>{var J;return[G(U((J=y(F).bazi.value)==null?void 0:J.shi_zhi.text),1)]}),_:1})]),_:1})]),_:1})]),_:1})]),I(ae),I(de,{style:{width:"100%"},align:"middle"},{default:M(()=>[I(ie,{span:4},{default:M(()=>[I(O,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=>st(b)?b.value=J:b=J)},{default:M(()=>[(k(!0),H(fe,null,we(y(F).historyUser.value,(J,oe)=>(k(),Y(ve,{value:oe,label:A(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(F).historyUser.value=[],st(b)?b.value=null:b=null})},{default:M(()=>[G("清空")]),_:1})]),_:1})]),_:1})]),default:M(()=>[X("div",z6e,[I(O,{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=>st(c)?c.value=J:c=J)},{default:M(()=>[X("div",M6e,[I(W,null,{default:M(()=>[I(V,{modelValue:y(l),"onUpdate:modelValue":R[1]||(R[1]=J=>st(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(O,{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=>st(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=>st(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(O,{tag:"b"},{default:M(()=>{var J;return[G("太阳时:"+U((J=y(F).bazi.value)==null?void 0:J.tai_yang_shi),1)]}),_:1})]),_:1})]),I(re,{name:"info"},{title:M(()=>[y(c).length==0?(k(),Y(O,{key:0,type:"primary"},{default:M(()=>[G("点击展开更多信息")]),_:1})):Q("",!0)]),default:M(()=>[X("div",E6e,[I(ee,{modelValue:y(n),"onUpdate:modelValue":R[4]||(R[4]=J=>st(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"])]),A6e,y(n)==0?(k(),H("div",I6e,[I(m6e,{ref_key:"xinliCompt",ref:r},null,512)])):Q("",!0),y(n)==1?(k(),H("div",D6e,[I(k6e,{ref_key:"nongliCompt",ref:o},null,512)])):Q("",!0),y(n)==2?(k(),H("div",L6e,[I(S6e,{ref_key:"sizhuCompt",ref:i},null,512),X("div",P6e,[I(O,{type:"danger"},{default:M(()=>[G(U(T()),1)]),_:1})])])):Q("",!0),R6e,y(n)!=2?(k(),Y(x6e,{key:3,ref_key:"areaCompt",ref:a},null,512)):Q("",!0)]),_:1})]),_:1},8,["modelValue"])]),_:1})}}}),$6e=Ya(O6e,[["__scopeId","data-v-47c248d7"]]),pF=e=>(T5("data-v-7c9192cc"),e=e(),k5(),e),V6e={class:"grid-container"},B6e={class:"grid-container"},F6e=pF(()=>X("br",null,null,-1)),H6e={class:"grid-container",style:{"margin-top":"-20px"}},j6e={class:"grid-container"},q6e=pF(()=>X("br",null,null,-1)),G6e={class:"grid-container",style:{"margin-top":"-20px"}},W6e={class:"grid-container",style:{"margin-top":"-10px"}},U6e={class:"grid-container",style:{"margin-top":"-10px"}},Y6e=te({__name:"BaZiInfo",setup(e){let t=j(["年柱","月柱","日柱","时柱"]),n=L(function(){let o=[];return F.bazi.value!=null&&(o.push(F.bazi.value.nian_gan),o.push(F.bazi.value.yue_gan),o.push(F.bazi.value.ri_gan),o.push(F.bazi.value.shi_gan)),o}),r=L(function(){let o=[];return F.bazi.value!=null&&(o.push(F.bazi.value.nian_zhi),o.push(F.bazi.value.yue_zhi),o.push(F.bazi.value.ri_zhi),o.push(F.bazi.value.shi_zhi)),o});function a(o){return["半合","拱合","三会"].indexOf(o)!=-1}function i(o){let l=0;return F.bazi.value!=null&&(l=F.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",V6e,[(k(!0),H(fe,null,we(y(t),f=>(k(),Y(s,null,{default:M(()=>[G(U(f),1)]),_:2},1024))),256))]),X("div",B6e,[(k(!0),H(fe,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),F6e,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",H6e,[(k(!0),H(fe,null,we(y(n),f=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[(k(!0),H(fe,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",j6e,[(k(!0),H(fe,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),q6e,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",G6e,[(k(!0),H(fe,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",W6e,[(k(!0),H(fe,null,we(y(r),f=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[(k(!0),H(fe,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",U6e,[(k(!0),H(fe,null,we(y(r),f=>(k(),Y(u,{direction:"vertical"},{default:M(()=>[(k(!0),H(fe,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})}}}),K6e=Ya(Y6e,[["__scopeId","data-v-7c9192cc"]]),X6e={class:"grid-container-5"},Z6e=te({__name:"PowerInfo",setup(e){let t=L(function(){let u=[];if(F.bazi.value!=null){let c=F.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 F.bazi.value!=null&&(c=F.bazi.value.powerDetail.getPower(u)),c.toFixed(0)}function a(u){let c=0;if(F.bazi.value!=null){let f=F.bazi.value.powerDetail;c=Math.round(f.getPower(u)*100/f.getWuXingTotal())}return c}function i(u){let c=0;if(F.bazi.value!=null){let f=F.bazi.value.powerDetail;c=Math.round(f.getPower(u)*100/f.getShiShenTotal())}return c}function o(u){let c=[];return F.bazi.value!=null&&(c=F.bazi.value.shishen_guanxi.get(u)),c}function l(u){let c=!1;return F.bazi.value!=null&&F.bazi.value.ri_zhi.shi_shen==u&&(c=!0),c}function s(u){let c=0;return F.bazi.value!=null?(u?c=F.bazi.value.tong_dang:c=F.bazi.value.yi_dang,Math.round(c*100/(F.bazi.value.tong_dang+F.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",X6e,[(k(!0),H(fe,null,we(y(t),g=>(k(),Y(f,{size:"large"},{default:M(()=>[G(U(g),1)]),_:2},1024))),256))]),(k(!0),H(fe,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),H(fe,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})}}}),J6e=Ya(Z6e,[["__scopeId","data-v-70fda876"]]),Q6e=te({__name:"Xiong_Ji_Tip",setup(e){let t=["官","杀","财","才","印","枭","食","伤","比","劫"];function n(r){let a=[];return F.bazi.value!=null&&(a=F.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),H(fe,null,we(y(t),c=>(k(),H("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),H(fe,null,we(n(c),f=>(k(),H("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)}}}),e8e={class:"grid-container-10"},t8e={class:"grid-container-5"},n8e=te({__name:"WuXing_Powers",setup(e){let t=["官","杀","财","才","印","枭","食","伤","比","劫"],n=["木","火","土","金","水"];function r(s,u){let c=0;if(F.bazi.value!=null)if(u){let f=Ft.config_wuxing[s];c=F.bazi.value.power_steps.get(f)}else{let f=Ft.config_shishen[F.bazi.value.ri_gan.text][s];c=F.bazi.value.power_steps.get(f)}return c}function a(s){let u=null;if(F.bazi.value!=null){let c=F.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(F.bazi.value!=null){let f=F.bazi.value.powerDetail,d=0,h=0,v=0,p=0;if(F.includeDaYunInGeJu.value==!0&&F.selectedDaYunInGeJu.value!=null){let b=F.selectedDaYunInGeJu.value.toString().replace("运",""),_=Ft.config_wuxing[b[0]],w=Ft.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),F.includeLiuNianInGeJu.value==!0&&F.selectedLiuNianInGeJu.value!=null){let C=parseInt(F.selectedLiuNianInGeJu.value.toString()),T=a(b),z=i(T,C);if(z!=null){let E=Ft.config_wuxing[z.gan_text],A=Ft.config_wuxing[z.zhi_text],D=r(z.gan_text,!0),$=r(z.zhi_text,!0);p=D+$,s==E?v=D:s==A&&(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(F.bazi.value!=null){let f=F.bazi.value.powerDetail,d=0,h=0,v=0,p=0;if(F.includeDaYunInGeJu.value==!0&&F.selectedDaYunInGeJu.value!=null){let b=F.selectedDaYunInGeJu.value.toString().replace("运",""),_=F.bazi.value.ri_gan.text,w=Ft.config_shishen[_][b[0]],x=Ft.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),F.includeLiuNianInGeJu.value==!0&&F.selectedLiuNianInGeJu.value!=null){let T=parseInt(F.selectedLiuNianInGeJu.value.toString()),z=a(b),E=i(z,T);if(E!=null){let A=Ft.config_shishen[_][E.gan_text],D=Ft.config_shishen[_][E.zhi_text],$=r(E.gan_text,!1),N=r(E.zhi_text,!1);p=$+N,s==A?v=$:s==D&&(v=N)}}}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",e8e,[(k(!0),H(fe,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",t8e,[(k(!0),H(fe,null,we(y(n),h=>(k(),Y(c,{size:"small"},{default:M(()=>[G(U(o(h,1))+"%",1)]),_:2},1024))),256))])]),_:1})]),_:1})}}}),r8e=Ya(n8e,[["__scopeId","data-v-794855c0"]]),a8e={class:"grid-container-10"},i8e={class:"grid-container-5"},o8e=te({__name:"Score_Shower",setup(e){let t=["官","杀","财","才","印","枭","食","伤","比","劫"],n=["木","火","土","金","水"];function r(o){let l=null;if(F.bazi.value!=null){let s=F.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(F.bazi.value!=null&&(l=F.bazi.value.geju_score.get(o),F.includeDaYunInGeJu.value==!0&&F.selectedDaYunInGeJu.value!=null)){let d=F.selectedDaYunInGeJu.value.toString().replace("运","");try{s=(c=F.bazi.value.dayun_geju_score.get(d))==null?void 0:c.get(o)}catch{s=0}if(F.includeLiuNianInGeJu.value==!0&&F.selectedLiuNianInGeJu.value!=null){let h=parseInt(F.selectedLiuNianInGeJu.value.toString()),v=r(d),p=a(v,h);if(p!=null)try{u=(f=F.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",a8e,[(k(!0),H(fe,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",i8e,[(k(!0),H(fe,null,we(y(n),f=>(k(),Y(s,{tag:"ins",size:"small"},{default:M(()=>[G(U(i(f)),1)]),_:2},1024))),256))])]),_:1})]),_:1})}}}),l8e=Ya(o8e,[["__scopeId","data-v-c9d32147"]]),s8e=X("br",null,null,-1),u8e=te({__name:"TianGan_List",setup(e){let t=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"];function n(i){let o=null;return F.bazi.value!=null&&(o=F.bazi.value.shishen_guanxi.get(i)),o}function r(i){let o="",l=0;if(F.bazi.value!=null){let s=n(i);return o="+",l=F.bazi.value.powerDetail.getPower(s),l==0&&(l=F.bazi.value.power_steps.get(s),l==null&&(l=0)),o+l.toFixed(0)}return o}function a(i){let o=!1;if(F.bazi.value!=null){let l=F.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),H(fe,null,we(y(t),s=>(k(),H("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),s8e,I(l,{tag:"ins",type:a(s)?"primary":"info"},{default:M(()=>[G(U(r(s)),1)]),_:2},1032,["type"])]))),256)}}}),c8e=te({__name:"TianGan_GaoNeng_GeJu",setup(e){let t=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"];function n(c){let f=null;return F.bazi.value!=null&&(f=F.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 F.bazi.value!=null&&(d=F.bazi.value.tiangan_geju.get(c)),d}function i(c){let f=n(c),d=r(c);return f==F.lastKeyInGeJu.value||d==F.lastKeyInGeJu.value?{"background-color":"#ff0000A0"}:{"background-color":"transparent"}}function o(c,f){let d=[];if(F.includeDaYunInGeJu.value==!0){let h=null,v=F.selectedDaYunInGeJu.value;v!=null&&(h=v.toString().replace("运","")),h!=null&&(d=F.bazi.value.dayun_tiangan_geju.get(c).filter(h))}return d}function l(c){let f=null;if(F.bazi.value!=null){let d=F.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(F.includeDaYunInGeJu.value==!0&&F.includeLiuNianInGeJu.value==!0){let h=null,v=F.selectedDaYunInGeJu.value;if(v!=null&&(h=v.toString().replace("运","")),h!=null){let p=0;F.selectedLiuNianInGeJu.value!=null&&(p=parseInt(F.selectedLiuNianInGeJu.value.toString()));let g=l(h),m=s(g,p);m!=null&&(d=F.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),H(fe,null,we(y(t),p=>{var g,m,b;return k(),H("div",null,[X("div",null,[I(v,{direction:"vertical",style:Be(i(p))},{default:M(()=>{var _;return[(k(!0),H(fe,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),H(fe,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),H(fe,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)}}}),f8e={class:"grid-container",style:{"margin-top":"-20px"}},d8e={class:"grid-container",style:{"margin-top":"-20px"}},h8e=te({__name:"TianGan_ShiShen_Scores",setup(e){let t=["官杀","财星","印绶","食伤","比劫"],n=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"];function r(u,c){let f=null;return F.bazi.value!=null&&(f=F.bazi.value.tiangan_geju.get(u)),f}function a(u,c){let f=[];if(F.includeDaYunInGeJu.value==!0){let d=null,h=F.selectedDaYunInGeJu.value;h!=null&&(d=h.toString().replace("运","")),d!=null&&(f=F.bazi.value.dayun_tiangan_geju.get(u).filter(d))}return f}function i(u){let c=null;if(F.bazi.value!=null){let f=F.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(F.includeDaYunInGeJu.value==!0&&F.includeLiuNianInGeJu.value==!0){let d=null,h=F.selectedDaYunInGeJu.value;if(h!=null&&(d=h.toString().replace("运","")),d!=null){let v=0;F.selectedLiuNianInGeJu.value!=null&&(v=parseInt(F.selectedLiuNianInGeJu.value.toString()));let p=i(d),g=o(p,v);g!=null&&(f=F.bazi.value.liunian_tiangan_geju.get(u).filter(g.trigger))}}return f}function s(u,c,f){let d=new fF,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),F.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()}),F.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(),H(fe,null,[(k(!0),H(fe,null,we(y(t),d=>(k(),H("div",null,[X("div",f8e,[I(f,null,{default:M(()=>[G(U(d),1)]),_:2},1024),(k(!0),H(fe,null,we(y(n),h=>(k(),H("div",null,[I(f,null,{default:M(()=>[G(U(s(h,!0,d)),1)]),_:2},1024)]))),256))])]))),256)),X("div",d8e,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G("合计")]),_:1}),(k(!0),H(fe,null,we(y(n),d=>(k(),H("div",null,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G(U(s(d,!0,"合计")),1)]),_:2},1024)]))),256))])],64)}}}),v8e=Ya(h8e,[["__scopeId","data-v-4197fadc"]]),p8e=X("br",null,null,-1),g8e=te({__name:"DiZhi_List",setup(e){let t=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"];function n(o){let l="";if(F.bazi.value!=null){if(F.bazi.value.shishen_guanxi.get("禄神")[0]==o)l="禄";else if(F.bazi.value.shishen_guanxi.get("半禄").indexOf(o)!=-1)return"半"}return l}function r(o){let l=null;return F.bazi.value!=null&&(l=F.bazi.value.shishen_guanxi.get(o)),l}function a(o){let l=!1;if(F.bazi.value!=null){let s=F.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(F.bazi.value!=null){let u=r(o);return l="+",s=F.bazi.value.powerDetail.getPower(u),s==0&&(s=F.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),H(fe,null,we(y(t),c=>(k(),H("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"]),p8e,I(s,{tag:"ins",type:a(c)?"primary":"info"},{default:M(()=>[G(U(i(c)),1)]),_:2},1032,["type"])]))),256)}}}),m8e=te({__name:"DiZhi_GaoNeng_GeJu",setup(e){let t=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"];function n(c){let f=r(c),d=a(c);return f==F.lastKeyInGeJu.value||d==F.lastKeyInGeJu.value?{"background-color":"#ff0000A0"}:{"background-color":"transparent"}}function r(c){let f=null;return F.bazi.value!=null&&(f=F.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 F.bazi.value!=null&&(d=F.bazi.value.dizhi_geju.get(c)),d}function o(c,f){let d=[];if(F.includeDaYunInGeJu.value==!0){let h=null,v=F.selectedDaYunInGeJu.value;v!=null&&(h=v.toString().replace("运","")),h!=null&&(d=F.bazi.value.dayun_dizhi_geju.get(c).filter(h))}return d}function l(c){let f=null;if(F.bazi.value!=null){let d=F.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(F.includeDaYunInGeJu.value==!0&&F.includeLiuNianInGeJu.value==!0){let h=null,v=F.selectedDaYunInGeJu.value;if(v!=null&&(h=v.toString().replace("运","")),h!=null){let p=0;F.selectedLiuNianInGeJu.value!=null&&(p=parseInt(F.selectedLiuNianInGeJu.value.toString()));let g=l(h),m=s(g,p);m!=null&&(d=F.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),H(fe,null,we(y(t),p=>{var g,m,b;return k(),H("div",null,[X("div",null,[I(v,{direction:"vertical",style:Be(n(p))},{default:M(()=>{var _;return[(k(!0),H(fe,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),H(fe,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),H(fe,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)}}}),y8e={class:"grid-container",style:{"margin-top":"-20px"}},b8e={class:"grid-container",style:{"margin-top":"-20px"}},_8e=te({__name:"DiZhi_ShiShen_Scores",setup(e){let t=["官杀","财星","印绶","食伤","比劫"],n=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"];function r(u,c){let f=null;return F.bazi.value!=null&&(f=F.bazi.value.dizhi_geju.get(u)),f}function a(u,c){let f=[];if(F.includeDaYunInGeJu.value==!0){let d=null,h=F.selectedDaYunInGeJu.value;h!=null&&(d=h.toString().replace("运","")),d!=null&&(f=F.bazi.value.dayun_dizhi_geju.get(u).filter(d))}return f}function i(u){let c=null;if(F.bazi.value!=null){let f=F.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(F.includeDaYunInGeJu.value==!0&&F.includeLiuNianInGeJu.value==!0){let d=null,h=F.selectedDaYunInGeJu.value;if(h!=null&&(d=h.toString().replace("运","")),d!=null){let v=0;F.selectedLiuNianInGeJu.value!=null&&(v=parseInt(F.selectedLiuNianInGeJu.value.toString()));let p=i(d),g=o(p,v);g!=null&&(f=F.bazi.value.liunian_dizhi_geju.get(u).filter(g.trigger))}}return f}function s(u,c,f){let d=new fF,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),F.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()}),F.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(),H(fe,null,[(k(!0),H(fe,null,we(y(t),d=>(k(),H("div",null,[X("div",y8e,[I(f,null,{default:M(()=>[G(U(d),1)]),_:2},1024),(k(!0),H(fe,null,we(y(n),h=>(k(),H("div",null,[I(f,null,{default:M(()=>[G(U(s(h,!1,d)),1)]),_:2},1024)]))),256))])]))),256)),X("div",b8e,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G("合计")]),_:1}),(k(!0),H(fe,null,we(y(n),d=>(k(),H("div",null,[I(f,{tag:"b",type:"danger"},{default:M(()=>[G(U(s(d,!1,"合计")),1)]),_:2},1024)]))),256))])],64)}}}),w8e=Ya(_8e,[["__scopeId","data-v-28fb1973"]]),x8e={class:"grid-container-10"},S8e={class:"grid-container-5"},C8e={style:{position:"absolute",right:"30px"},align:"right"},T8e={class:"grid-container"},k8e={class:"grid-container"},z8e={class:"grid-container"},M8e={class:"grid-container"},E8e=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?(F.lastKeyInGeJu.value=r.value,a.value=""):(F.lastKeyInGeJu.value=a.value,r.value="")}let l=L(function(){let m=[];return F.bazi.value!=null&&F.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(F.bazi.value!=null)for(let _=0;_<F.bazi.value.dayun.length;_++){let w=F.bazi.value.dayun[_];if(w.gan_text+w.zhi_text+"运"==((b=F.selectedDaYunInGeJu.value)==null?void 0:b.toString())){w.liunian.forEach(function(S){m.push(S.year)});break}}return m});function u(){F.selectedLiuNianInGeJu.value=""}function c(m){let b=null;if(F.bazi.value!=null){let _=F.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(F.bazi.value!=null){let m=F.selectedDaYunInGeJu.value.toString().replace("运",""),b=c(m);f(b,F.selectedLiuNianInGeJu.value)}}function h(){if(F.bazi.value==null)return;F.includeDaYunInGeJu.value=!0,F.includeLiuNianInGeJu.value=!0;let b=new Date().getFullYear();for(let _=0;_<F.bazi.value.dayun.length;_++){let w=F.bazi.value.dayun[_];if(w.start_year<=b&&b<=w.end_year){F.selectedDaYunInGeJu.value=w.gan_text+w.zhi_text+"运",setTimeout(function(){F.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(F.bazi.value!=null&&F.lastKeyInGeJu.value!=null){let b=F.bazi.value.shishen_guanxi.get(F.lastKeyInGeJu.value);m=v(b[0])}return m}function g(){let m=[];return F.bazi.value!=null&&F.lastKeyInGeJu.value!=null&&(m=F.bazi.value.shishen_guanxi.get(F.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"),E=se("el-select"),A=se("el-button"),D=se("el-space"),$=se("el-divider"),N=se("el-card");return k(),Y(N,null,{header:M(()=>[I(r8e),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=>st(r)?r.value=R:r=R)},{default:M(()=>[(k(!0),H(fe,null,we(y(t),R=>(k(),Y(_,{onChange:b[0]||(b[0]=O=>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=>st(a)?a.value=R:a=R)},{default:M(()=>[(k(!0),H(fe,null,we(y(n),R=>(k(),Y(_,{onChange:b[2]||(b[2]=O=>o(!1)),value:R},{default:M(()=>[G(U(R),1)]),_:2},1032,["value"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),I(l8e),I(S,{style:{"margin-top":"-25px"}},{default:M(()=>[I(x,{span:16},{default:M(()=>[X("div",x8e,[(k(!0),H(fe,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",S8e,[(k(!0),H(fe,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(Q6e)]),_:1}),I(x,{span:6,align:"right"},{default:M(()=>[I(D,{direction:"vertical",fill:""},{default:M(()=>[I(T,{modelValue:y(F).includeDaYunInGeJu.value,"onUpdate:modelValue":b[4]||(b[4]=R=>y(F).includeDaYunInGeJu.value=R)},{default:M(()=>[G("受大运影响")]),_:1},8,["modelValue"]),y(F).includeDaYunInGeJu.value?(k(),Y(E,{key:0,modelValue:y(F).selectedDaYunInGeJu.value,"onUpdate:modelValue":b[5]||(b[5]=R=>y(F).selectedDaYunInGeJu.value=R),onChange:u},{default:M(()=>[(k(!0),H(fe,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(F).includeDaYunInGeJu.value?(k(),Y(T,{key:1,modelValue:y(F).includeLiuNianInGeJu.value,"onUpdate:modelValue":b[6]||(b[6]=R=>y(F).includeLiuNianInGeJu.value=R)},{default:M(()=>[G(" 受流年影响 ")]),_:1},8,["modelValue"])):Q("",!0),y(F).includeLiuNianInGeJu.value&&y(F).includeDaYunInGeJu.value?(k(),Y(E,{key:2,modelValue:y(F).selectedLiuNianInGeJu.value,"onUpdate:modelValue":b[7]||(b[7]=R=>y(F).selectedLiuNianInGeJu.value=R),onChange:d},{default:M(()=>[(k(!0),H(fe,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(A,{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",C8e,[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",T8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(u8e)]),X("div",k8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(c8e)]),I(v8e),I($),X("div",z8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(g8e)]),X("div",M8e,[I(C,null,{default:M(()=>[G(" ")]),_:1}),I(m8e)]),I(w8e)]),_:1})}}}),A8e=Ya(E8e,[["__scopeId","data-v-437da798"]]),I8e={key:0,style:{width:"100%"}},D8e=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(F.bazi.value!=null&&F.bazi.value.dayun.length>0)try{i.push(F.bazi.value.dayun[a])}catch(o){console.error(o)}return i}function r(a){let i=n(a);i.length>0&&(F.curDaYun.value=i[0],F.curLiuNianList.value=[],F.curLiuNianList.value=F.curDaYun.value.liunian,F.liunianIndex.value=null,F.curLiuNian.value=null,F.liuyueIndex.value=null,F.curLiuYue.value=null,F.liuriIndex.value=null,F.curLiuRi.value=null)}return(a,i)=>{var u;const o=se("el-text"),l=se("el-space"),s=se("el-segmented");return y(F).bazi.value!=null?(k(),H("div",I8e,[((u=y(F).bazi.value)==null?void 0:u.dayun.length)>0?(k(),Y(s,{key:0,onChange:r,block:"",modelValue:y(F).dayunIndex.value,"onUpdate:modelValue":i[0]||(i[0]=c=>y(F).dayunIndex.value=c),options:t(0,10)},{default:M(({item:c})=>[(k(!0),H(fe,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)}}}),L8e=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){F.curLiuNian.value=F.curLiuNianList.value[i],F.liuyueIndex.value=null,F.curLiuYue.value=null,F.liuriIndex.value=null,F.curLiuRi.value=null}function r(i){let o=[];return F.bazi.value!=null&&F.curDaYun.value!=null&&o.push(F.curLiuNianList.value[i]),o}function a(){let i={width:"100%"};return F.bazi.value!=null&&F.curLiuNianList.value!=null&&(i={width:(F.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(F).curDaYun.value!=null?(k(),H("div",{key:0,style:Be(a())},[I(c,{onChange:n,block:"",modelValue:y(F).liunianIndex.value,"onUpdate:modelValue":o[0]||(o[0]=h=>y(F).liunianIndex.value=h),options:t(0,((d=(f=y(F))==null?void 0:f.curLiuNianList.value)==null?void 0:d.length)-1)},{default:M(({item:h})=>[(k(!0),H(fe,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)}}}),P8e=Ya(L8e,[["__scopeId","data-v-5d8c0348"]]),R8e=X("br",null,null,-1),N8e=X("br",null,null,-1),O8e=X("br",null,null,-1),$8e=X("br",null,null,-1),V8e=X("br",null,null,-1),B8e=te({__name:"SiZhu_TianGan",setup(e){let t=L(function(){let l=[];return F.bazi.value!=null&&(l.push(F.bazi.value.nian_gan),l.push(F.bazi.value.yue_gan),l.push(F.bazi.value.ri_gan),l.push(F.bazi.value.shi_gan)),l});function n(l){let s="",u=0;return F.bazi.value!=null?(s="+",u=F.bazi.value.powerDetail.getPower(l),u==0&&(u=F.bazi.value.power_steps.get(l),u==null&&(u=0)),s+u.toFixed(0)):s}function r(){let l=[];return F.bazi.value!=null&&F.curDaYun.value!=null&&l.push(F.curDaYun.value),l}function a(){let l=[];return F.bazi.value!=null&&F.curLiuNian.value!=null&&l.push(F.curLiuNian.value),l}function i(){let l=[];return F.bazi.value!=null&&F.curLiuYue.value!=null&&l.push(F.curLiuYue.value),l}function o(){let l=[];return F.bazi.value!=null&&F.curLiuRi.value!=null&&l.push(F.curLiuRi.value),l}return(l,s)=>{const u=se("el-text");return k(),H(fe,null,[(k(!0),H(fe,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),R8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),H(fe,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),N8e,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),H(fe,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),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),H(fe,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),$8e,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),H(fe,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),V8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.gan_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256))],64)}}}),F8e=te({__name:"TianGan_GaoNeng",setup(e){let t=L(function(){let f=[];return F.bazi.value!=null&&(f.push(F.bazi.value.nian_gan),f.push(F.bazi.value.yue_gan),f.push(F.bazi.value.ri_gan),f.push(F.bazi.value.shi_gan)),f});function n(f){return["半合","拱合","三会"].indexOf(f)!=-1}function r(){let f=[];return F.bazi.value!=null&&F.curDaYun.value!=null&&f.push(F.curDaYun.value),f}function a(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null){let h=F.curDaYun.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function i(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null&&F.curLiuNian.value!=null){let h=F.curLiuNian.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function o(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null&&F.curLiuNian.value!=null&&F.curLiuYue.value!=null){let h=F.curLiuYue.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function l(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null&&F.curLiuNian.value!=null&&F.curLiuYue.value!=null&&F.curLiuRi.value!=null){let h=F.curLiuRi.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function s(){let f=[];return F.bazi.value!=null&&F.curLiuNian.value!=null&&f.push(F.curLiuNian.value),f}function u(){let f=[];return F.bazi.value!=null&&F.curLiuYue.value!=null&&f.push(F.curLiuYue.value),f}function c(){let f=[];return F.bazi.value!=null&&F.curLiuRi.value!=null&&f.push(F.curLiuRi.value),f}return(f,d)=>{const h=se("el-text"),v=se("el-space");return k(),H(fe,null,[(k(!0),H(fe,null,we(y(t),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.gaonengs,g=>(k(),H("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),H(fe,null,we(a(p),g=>(k(),H("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),H(fe,null,we(i(p),g=>(k(),H("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),H(fe,null,we(o(p),g=>(k(),H("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),H(fe,null,we(l(p),g=>(k(),H("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),H(fe,null,we(r(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.gan_zhu.gaonengs,g=>(k(),H("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),H(fe,null,we(i(p.gan_zhu),g=>(k(),H("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),H(fe,null,we(o(p.gan_zhu),g=>(k(),H("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),H(fe,null,we(l(p.gan_zhu),g=>(k(),H("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),H(fe,null,we(s(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.gan_zhu.gaonengs,g=>(k(),H("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),H(fe,null,we(o(p.gan_zhu),g=>(k(),H("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),H(fe,null,we(l(p.gan_zhu),g=>(k(),H("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),H(fe,null,we(u(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.gan_zhu.gaonengs,g=>(k(),H("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),H(fe,null,we(l(p.gan_zhu),g=>(k(),H("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),H(fe,null,we(c(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.gan_zhu.gaonengs,g=>(k(),H("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)}}}),H8e=X("br",null,null,-1),j8e=X("br",null,null,-1),q8e=X("br",null,null,-1),G8e=X("br",null,null,-1),W8e=X("br",null,null,-1),U8e=te({__name:"SiZhu_DiZhi",setup(e){let t=L(function(){let l=[];return F.bazi.value!=null&&(l.push(F.bazi.value.nian_zhi),l.push(F.bazi.value.yue_zhi),l.push(F.bazi.value.ri_zhi),l.push(F.bazi.value.shi_zhi)),l});function n(l){let s="",u=0;return F.bazi.value!=null?(s="+",u=F.bazi.value.powerDetail.getPower(l),u==0&&(u=F.bazi.value.power_steps.get(l),u==null&&(u=0)),s+u.toFixed(0)):s}function r(){let l=[];return F.bazi.value!=null&&F.curDaYun.value!=null&&l.push(F.curDaYun.value),l}function a(){let l=[];return F.bazi.value!=null&&F.curLiuNian.value!=null&&l.push(F.curLiuNian.value),l}function i(){let l=[];return F.bazi.value!=null&&F.curLiuYue.value!=null&&l.push(F.curLiuYue.value),l}function o(){let l=[];return F.bazi.value!=null&&F.curLiuRi.value!=null&&l.push(F.curLiuRi.value),l}return(l,s)=>{const u=se("el-text");return k(),H(fe,null,[(k(!0),H(fe,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),H8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256)),(k(!0),H(fe,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),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),H(fe,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),q8e,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),H(fe,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),G8e,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),H(fe,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),W8e,I(u,{tag:"ins",size:"small"},{default:M(()=>[G(U(n(c.zhi_zhu.shi_shen)),1)]),_:2},1024)]),_:2},1032,["type"]))),256))],64)}}}),Y8e=te({__name:"DiZhi_CangGan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o.push(F.bazi.value.nian_zhi),o.push(F.bazi.value.yue_zhi),o.push(F.bazi.value.ri_zhi),o.push(F.bazi.value.shi_zhi)),o});function n(){let o=[];return F.bazi.value!=null&&F.curDaYun.value!=null&&o.push(F.curDaYun.value),o}function r(){let o=[];return F.bazi.value!=null&&F.curLiuNian.value!=null&&o.push(F.curLiuNian.value),o}function a(){let o=[];return F.bazi.value!=null&&F.curLiuYue.value!=null&&o.push(F.curLiuYue.value),o}function i(){let o=[];return F.bazi.value!=null&&F.curLiuRi.value!=null&&o.push(F.curLiuRi.value),o}return(o,l)=>{const s=se("el-text"),u=se("el-space");return k(),H(fe,null,[(k(!0),H(fe,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),H(fe,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),H(fe,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),H(fe,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),H(fe,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)}}}),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=X("br",null,null,-1),uCe=X("br",null,null,-1),cCe=te({__name:"DiZhi_GaoNeng",setup(e){let t=L(function(){let f=[];return F.bazi.value!=null&&(f.push(F.bazi.value.nian_zhi),f.push(F.bazi.value.yue_zhi),f.push(F.bazi.value.ri_zhi),f.push(F.bazi.value.shi_zhi)),f});function n(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null){let h=F.curDaYun.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function r(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null&&F.curLiuNian.value!=null){let h=F.curLiuNian.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function a(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null&&F.curLiuNian.value!=null&&F.curLiuYue.value!=null){let h=F.curLiuYue.value.trigger;d=f.trigger_gaonengs.get(h),d==null&&(d=[])}return d}function i(f){let d=[];if(F.bazi.value!=null&&F.curDaYun.value!=null&&F.curLiuNian.value!=null&&F.curLiuYue.value!=null&&F.curLiuRi.value!=null){let h=F.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 F.bazi.value!=null&&F.curDaYun.value!=null&&f.push(F.curDaYun.value),f}function s(){let f=[];return F.bazi.value!=null&&F.curLiuNian.value!=null&&f.push(F.curLiuNian.value),f}function u(){let f=[];return F.bazi.value!=null&&F.curLiuYue.value!=null&&f.push(F.curLiuYue.value),f}function c(){let f=[];return F.bazi.value!=null&&F.curLiuRi.value!=null&&f.push(F.curLiuRi.value),f}return(f,d)=>{const h=se("el-text"),v=se("el-space");return k(),H(fe,null,[(k(!0),H(fe,null,we(y(t),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.gaonengs,g=>(k(),H("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)]),_:2},1032,["type"])]))),256)),(k(!0),H(fe,null,we(n(p),g=>(k(),H("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),H(fe,null,we(r(p),g=>(k(),H("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)),(k(!0),H(fe,null,we(a(p),g=>(k(),H("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("(月)")]),_:1})]),_:2},1032,["type"])]))),256)),(k(!0),H(fe,null,we(i(p),g=>(k(),H("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)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),H(fe,null,we(l(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.zhi_zhu.gaonengs,g=>(k(),H("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("(运)"+U(g.src),1)]),_:2},1024)]),_:2},1032,["type"])]))),256)),(k(!0),H(fe,null,we(r(p.zhi_zhu),g=>(k(),H("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)),(k(!0),H(fe,null,we(a(p.zhi_zhu),g=>(k(),H("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),H(fe,null,we(i(p.zhi_zhu),g=>(k(),H("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)),I(h,null,{default:M(()=>[G(" ")]),_:1})]),_:2},1024))),256)),(k(!0),H(fe,null,we(s(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.zhi_zhu.gaonengs,g=>(k(),H("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)),(k(!0),H(fe,null,we(a(p.zhi_zhu),g=>(k(),H("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),H(fe,null,we(i(p.zhi_zhu),g=>(k(),H("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),H(fe,null,we(u(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.zhi_zhu.gaonengs,g=>(k(),H("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)),(k(!0),H(fe,null,we(i(p.zhi_zhu),g=>(k(),H("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(()=>[sCe,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),H(fe,null,we(c(),p=>(k(),Y(v,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,null,we(p.zhi_zhu.gaonengs,g=>(k(),H("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(()=>[uCe,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)}}}),fCe=te({__name:"Shen_Sha",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o.push(F.bazi.value.nian_zhi),o.push(F.bazi.value.yue_zhi),o.push(F.bazi.value.ri_zhi),o.push(F.bazi.value.shi_zhi)),o});function n(){let o=[];return F.bazi.value!=null&&F.curDaYun.value!=null&&(o=F.curDaYun.value.zhi_zhu.shenshas),o}function r(){let o=[];return F.bazi.value!=null&&F.curDaYun.value!=null&&F.curLiuNian.value!=null&&(o=F.curLiuNian.value.zhi_zhu.shenshas),o}function a(){let o=[];return F.bazi.value!=null&&F.curLiuYue.value!=null&&(o=F.curLiuYue.value.zhi_zhu.shenshas),o}function i(){let o=[];return F.bazi.value!=null&&F.curLiuRi.value!=null&&(o=F.curLiuRi.value.zhi_zhu.shenshas),o}return(o,l)=>{const s=se("el-text"),u=se("el-space");return k(),H(fe,null,[(k(!0),H(fe,null,we(y(t),c=>(k(),Y(u,{direction:"vertical",size:0},{default:M(()=>[(k(!0),H(fe,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),H(fe,null,we(n(),c=>(k(),H("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),H(fe,null,we(r(),c=>(k(),H("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),H(fe,null,we(a(),c=>(k(),H("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),H(fe,null,we(i(),c=>(k(),H("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)}}}),dCe={style:{width:"100%"}},hCe=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 F.bazi.value!=null&&F.curLiuNian.value!=null&&i.push(F.curLiuNian.value.liuyue[a]),i}function r(a){F.curLiuYue.value=F.curLiuNian.value.liuyue[a];let i=F.curLiuYue.value;F.calcLiuYueGaoNeng(i,F.curDaYun.value,F.curLiuNian.value),F.liuriIndex.value=null,F.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(),H("div",dCe,[y(F).bazi.value!=null&&y(F).curLiuNian.value!=null?(k(),Y(u,{key:0,onChange:r,block:"",modelValue:y(F).liuyueIndex.value,"onUpdate:modelValue":i[0]||(i[0]=c=>y(F).liuyueIndex.value=c),options:t(0,11)},{default:M(({item:c})=>[(k(!0),H(fe,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)])}}}),vCe={style:{width:"1800px"}},pCe=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){F.curLiuRi.value=F.curLiuYue.value.liuri[h];let v=F.curLiuRi.value;F.calcLiuRiGaoNeng(v,F.curLiuYue.value,F.curDaYun.value,F.curLiuNian.value)}function i(h){t.value.setScrollLeft(h)}function o(h){let v=[];if(F.bazi.value!=null&&F.curLiuYue.value!=null){let p=F.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=F.bazi.value)==null?void 0:g.dayun.length);m++){let b=F.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(F.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(){F.dayunIndex.value=m[0],F.curDaYun.value=m[1],F.curLiuNianList.value=m[1].liunian;let b=u(v,m[1].liunian);b!=null&&setTimeout(function(){F.liunianIndex.value=b[0],F.curLiuNian.value=b[1];let _=c(p,b[1].liuyue);_!=null&&setTimeout(function(){F.liuyueIndex.value=_[0],F.curLiuYue.value=_[1];let w=f(g,_[1].liuri);w!=null&&setTimeout(function(){F.liuriIndex.value=w[0],F.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(),H(fe,null,[I(b,{ref_key:"bar",ref:t,style:{"padding-bottom":"20px"}},{default:M(()=>[X("div",vCe,[y(F).bazi.value!=null&&y(F).curLiuYue.value!=null?(k(),Y(m,{key:0,onChange:a,block:"",modelValue:y(F).liuriIndex.value,"onUpdate:modelValue":v[0]||(v[0]=C=>y(F).liuriIndex.value=C),options:r(0,y(F).curLiuYue.value.liuri.length-1)},{default:M(({item:C})=>[(k(!0),H(fe,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(F).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=>st(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)}}}),gCe={align:"right"},mCe={class:"grid-container"},yCe={class:"grid-container"},bCe={class:"grid-container",style:{"margin-top":"-20px"}},_Ce={class:"grid-container",style:{"margin-top":"-10px"}},wCe={class:"grid-container",style:{"margin-top":"-20px"}},xCe={class:"grid-container",style:{"margin-top":"-20px"}},SCe={class:"grid-container",style:{"margin-top":"-20px"}},CCe=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",gCe,[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(D8e),I(i),I(P8e),I(i),I(hCe),I(i),I(pCe),I(i),X("div",mCe,[(k(!0),H(fe,null,we(y(t),l=>(k(),Y(a,null,{default:M(()=>[G(U(l),1)]),_:2},1024))),256))]),X("div",yCe,[I(B8e)]),X("div",bCe,[I(F8e)]),X("div",_Ce,[I(U8e)]),X("div",wCe,[I(Y8e)]),X("div",xCe,[I(cCe)]),X("div",SCe,[I(fCe)])]),_:1})}}}),TCe=Ya(CCe,[["__scopeId","data-v-9b17426b"]]),kCe={align:"left"},zCe=te({__name:"WuXingZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.wuxing.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.wuxing.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.wuxing.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.wuxing.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.wuxing.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.wuxing.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.wuxing.cankao.forEach(function(o){o.selected=!1}),F.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",kCe,[(k(!0),H(fe,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),H(fe,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"},ECe=te({__name:"ShiShenZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.shishen.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.shishen.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.shishen.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.shishen.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.shishen.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.shishen.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.shishen.cankao.forEach(function(o){o.selected=!1}),F.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",MCe,[(k(!0),H(fe,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),H(fe,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})}}}),ACe={align:"left"},ICe=te({__name:"ZuoZhiZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.zuozhi.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.zuozhi.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.zuozhi.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.zuozhi.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.zuozhi.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.zuozhi.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.zuozhi.cankao.forEach(function(o){o.selected=!1}),F.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",ACe,[(k(!0),H(fe,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),H(fe,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:"MenHuZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.menhu.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.menhu.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.menhu.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.menhu.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.menhu.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.menhu.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.menhu.cankao.forEach(function(o){o.selected=!1}),F.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",DCe,[(k(!0),H(fe,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),H(fe,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:"ShenShaZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.shensha.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.shensha.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.shensha.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.shensha.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.shensha.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.shensha.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.shensha.cankao.forEach(function(o){o.selected=!1}),F.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",PCe,[(k(!0),H(fe,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),H(fe,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})}}}),NCe={align:"left"},OCe=te({__name:"GeJuZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.geju.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.geju.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.geju.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.geju.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.geju.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.geju.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.geju.cankao.forEach(function(o){o.selected=!1}),F.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",NCe,[I(s,{type:"danger"},{default:M(()=>[G("注意:格局指的不是马上会体现出来的特性,而是随着大运流年的流转触发。 ")]),_:1}),(k(!0),H(fe,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),H(fe,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})}}}),$Ce={align:"left"},VCe=te({__name:"GaoNengZhenDuan",setup(e){let t=L(function(){let l=[];return F.bazi.value!=null&&F.bazi.value.zhenduan.gaoneng.forEach(function(s,u){l.push(u)}),l});function n(l){let s=[];return F.bazi.value!=null&&(s=F.bazi.value.zhenduan.gaoneng.get(l).jianyi),s}function r(l){let s=[];return F.bazi.value!=null&&(s=F.bazi.value.zhenduan.gaoneng.get(l).cankao),s}function a(){F.bazi.value!=null&&F.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(){F.bazi.value!=null&&F.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(){F.bazi.value!=null&&F.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),H(fe,null,we(y(t),p=>(k(),H("div",$Ce,[I(u,null,{default:M(()=>[G(U(p),1)]),_:2},1024),(k(!0),H(fe,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),H(fe,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})}}}),BCe={align:"left"},FCe=te({__name:"JianKangZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.jiankang.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.jiankang.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.jiankang.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.jiankang.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.jiankang.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.jiankang.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.jiankang.cankao.forEach(function(o){o.selected=!1}),F.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",BCe,[(k(!0),H(fe,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),H(fe,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:"QingGanZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.qinggan.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.qinggan.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.qinggan.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.qinggan.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.qinggan.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.qinggan.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.qinggan.cankao.forEach(function(o){o.selected=!1}),F.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",HCe,[(k(!0),H(fe,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),H(fe,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:"DaYunZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.dayun.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.dayun.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.dayun.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.dayun.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.dayun.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.dayun.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.dayun.cankao.forEach(function(o){o.selected=!1}),F.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",qCe,[(k(!0),H(fe,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),H(fe,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={align:"left"},UCe=te({__name:"YinYuanZhenDuan",setup(e){let t=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.yinyuan.jianyi),o}),n=L(function(){let o=[];return F.bazi.value!=null&&(o=F.bazi.value.zhenduan.yinyuan.cankao),o});function r(){F.bazi.value!=null&&(F.bazi.value.zhenduan.yinyuan.cankao.forEach(function(o){o.selected=!0}),F.bazi.value.zhenduan.yinyuan.jianyi.forEach(function(o){o.selected=!0}))}function a(){F.bazi.value!=null&&(F.bazi.value.zhenduan.yinyuan.cankao.forEach(function(o){o.selected=!1}),F.bazi.value.zhenduan.yinyuan.jianyi.forEach(function(o){o.selected=!0}))}function i(){F.bazi.value!=null&&(F.bazi.value.zhenduan.yinyuan.cankao.forEach(function(o){o.selected=!1}),F.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",WCe,[(k(!0),H(fe,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),H(fe,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})}}}),YCe=te({__name:"ZhenDuan",setup(e){let t=j("wuxing"),n=j(),r=j(!1),a=j(!1),i=j(!1);function o(){let l="";F.bazi.value!=null&&(l=F.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=>st(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=>st(r)?r.value=b:r=b)},{default:M(()=>[G("包括情感")]),_:1},8,["modelValue"]),I(h,{modelValue:y(a),"onUpdate:modelValue":s[2]||(s[2]=b=>st(a)?a.value=b:a=b)},{default:M(()=>[G("包括大运")]),_:1},8,["modelValue"]),I(h,{modelValue:y(i),"onUpdate:modelValue":s[3]||(s[3]=b=>st(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=>st(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(zCe,{key:0,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="shishen"?(k(),Y(ECe,{key:1,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="zuozhi"?(k(),Y(ICe,{key:2,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="menhu"?(k(),Y(LCe,{key:3,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="shensha"?(k(),Y(RCe,{key:4,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="geju"?(k(),Y(OCe,{key:5,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="gaoneng"?(k(),Y(VCe,{key:6,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="jiankang"?(k(),Y(FCe,{key:7,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="qinggan"?(k(),Y(jCe,{key:8,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="dayun"?(k(),Y(GCe,{key:9,style:{"margin-top":"10px"}})):Q("",!0),y(t)=="yinyuan"?(k(),Y(UCe,{key:10,style:{"margin-top":"10px"}})):Q("",!0)]),_:1})}}}),KCe=te({__name:"User",props:{onReadUser:Function},setup(e){let t=e,n=j(""),r=j(!1);function a(){r.value=!0,qi.loadUsers(function(){r.value=!1})}function i(){let s=[];if(F.ownerUsers.value!=null){let u=n.value.trim();F.ownerUsers.value.forEach(function(c){(u.length==0||c.getKey().indexOf(u)!=-1)&&s.push(c)})}return s}function o(s){qi.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=>st(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),H(fe,null,we(i(),w=>(k(),H("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})}}}),XCe=Ya(KCe,[["__scopeId","data-v-73155549"]]);/*! *****************************************************************************
- Copyright (c) Microsoft Corporation.
- Permission to use, copy, modify, and/or distribute this software for any
- purpose with or without fee is hereby granted.
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- PERFORMANCE OF THIS SOFTWARE.
- ***************************************************************************** */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 ZCe=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),JCe=function(){function e(){this.browser=new ZCe,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 JCe;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):QCe(navigator.userAgent,Jt);function QCe(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 k6=12,gF="sans-serif",Ws=k6+"px "+gF,eTe=20,tTe=100,nTe="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function rTe(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)-eTe)/tTe;t[r]=a}return t}var aTe=rTe(nTe),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]||k6,l=0;if(r.indexOf("mono")>=0)l=o*n.length;else for(var s=0;s<n.length;s++){var u=aTe[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}},mF=Oo(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),yF=Oo(["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,iTe=Hy.forEach,oTe=Hy.filter,z6=Hy.slice,lTe=Hy.map,Iz=(function(){}).constructor,Cg=Iz?Iz.prototype:null,M6="__proto__",sTe=2311;function bF(){return sTe++}function E6(){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(yF[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(!mF[n]&&!Fv(e)&&!Rd(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==M6&&(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!==M6){var a=e[r],i=t[r];wt(i)&&wt(a)&&!He(i)&&!He(a)&&!Rd(i)&&!Rd(a)&&!Dz(i)&&!Dz(a)&&!Fv(i)&&!Fv(a)?jt(a,i,n):(n||!(r in e))&&(e[r]=kt(t[r]))}return e}function A6(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!==M6&&(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 uTe(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===iTe)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 I6(e);if(e.map&&e.map===lTe)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 Oo(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 I6(e);if(e.filter&&e.filter===oTe)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 cTe(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 fTe(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return e.apply(t,n.concat(z6.call(arguments)))}}var lt=Cg&&yt(Cg.bind)?Cg.call.bind(Cg.bind):fTe;function Bt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return function(){return e.apply(this,t.concat(z6.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 Dz(e){return!!mF[ih.call(e)]}function Pa(e){return!!yF[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 dTe(e){return e.image!=null}function hTe(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 $t(e,t){return e??t}function Ao(e,t,n){return e??t??n}function I6(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return z6.apply(e,t)}function D6(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 Gi(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var _F="__ec_primitive__";function rm(e){e[_F]=!0}function Fv(e){return e[_F]}var vTe=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}(),wF=typeof Map=="function";function pTe(){return wF?new Map:new vTe}var gTe=function(){function e(t){var n=He(t);this.data=pTe();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 wF?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e}();function pt(e){return new gTe(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 xF(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 mTe(e,t,n){return e[0]=t,e[1]=n,e}function Lz(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(yTe(e))}function yTe(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 bTe(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var bc=bTe;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}(),_Te=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}(),Ai=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}(),wTe=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)/wTe);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 Pz(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 Rz="___zrEVENTSAVED",kb=[];function xTe(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&&!SF(t)){var i=t[Rz]||(t[Rz]={}),o=STe(t,i),l=CTe(o,i,a);if(l)return l(e,n,r),!0}return!1}function STe(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 CTe(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?Pz(l,o):Pz(o,l))}function SF(e){return e.nodeName.toUpperCase()==="CANVAS"}var TTe=/([&<>"'])/g,kTe={"&":"&","<":"<",">":">",'"':""","'":"'"};function Ta(e){return e==null?"":(e+"").replace(TTe,function(t,n){return kTe[n]})}var zTe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,zb=[],MTe=Jt.browser.firefox&&+Jt.browser.version.split(".")[0]<39;function kw(e,t,n,r){return n=n||{},r?Nz(e,t,n):MTe&&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):Nz(e,t,n),n}function Nz(e,t,n){if(Jt.domSupported&&e.getBoundingClientRect){var r=t.clientX,a=t.clientY;if(SF(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 L6(e){return e||window.event}function ai(e,t,n){if(t=L6(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=ETe(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var l=t.button;return t.which==null&&l!==void 0&&zTe.test(t.type)&&(t.which=l&1?1:l&2?3:l&4?2:0),t}function ETe(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 ATe(e,t,n,r){e.removeEventListener(t,n,r)}var Cl=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function Oz(e){return e.which===2||e.which===3}var ITe=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 $z(e){var t=e[1][0]-e[0][0],n=e[1][1]-e[0][1];return Math.sqrt(t*t+n*n)}function DTe(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=$z(r)/$z(a);!isFinite(i)&&(i=1),t.pinchScale=i;var o=DTe(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 P6(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 R6(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 LTe(e){var t=Ga();return P6(t,e),t}var Ht=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 Ht,gu=new Ht,mu=new Ht,yu=new Ht,Dh=new Ht,Lh=new Ht,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]),R6(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?Ht.set(Lh,-p,0):Ht.set(Lh,g,0)):_<h&&(h=_,p<g?Ht.set(Dh,p,0):Ht.set(Dh,-g,0)),l<c||f<o?w>v&&(v=w,m<b?Ht.set(Lh,0,-m):Ht.set(Lh,0,b)):_<h&&(h=_,m<b?Ht.set(Dh,0,m):Ht.set(Dh,0,-b))}return n&&Ht.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}(),CF="silent";function PTe(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:RTe}}function RTe(){Cl(this.event)}var NTe=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}(Ai),Ph=function(){function e(t,n){this.x=t,this.y=n}return e}(),OTe=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],Eb=new qt(0,0,0,0),TF=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 NTe,l.proxy=null,l.setHandlerProxy(a),l._draggingMgr=new _Te(l),l}return t.prototype.setHandlerProxy=function(n){this.proxy&&this.proxy.dispose(),n&&(K(OTe,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=kF(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=PTe(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(Vz(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)&&(Eb.copy(d.getBoundingRect()),d.transform&&Eb.applyTransform(d.transform),Eb.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(Vz(l,o,b,_,a),o.target)return o}}return o},t.prototype.processGesture=function(n,r){this._gestureMgr||(this._gestureMgr=new ITe);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}(Ai);K(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){TF.prototype[e]=function(t){var n=t.zrX,r=t.zrY,a=kF(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 $Te(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?CF:!0}return!1}function Vz(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=$Te(o,n,r))&&(!t.topTarget&&(t.topTarget=o),l!==CF)){t.target=o;break}}}function kF(e,t,n){var r=e.painter;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var zF=32,Rh=7;function VTe(e){for(var t=0;e>=zF;)t|=e&1,e>>=1;return e+t}function Bz(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++;BTe(e,t,a)}else for(;a<n&&r(e[a],e[a-1])>=0;)a++;return a-t}function BTe(e,t,n){for(n--;t<n;){var r=e[t];e[t++]=e[n],e[n--]=r}}function Fz(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 Ab(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 FTe(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=Ab(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=Ab(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,E=!1;do if(t(o[_],e[b])<0){if(e[w--]=e[b--],T++,z=0,--v===0){E=!0;break}}else if(e[w--]=o[_--],z++,T=0,--g===1){E=!0;break}while((T|z)<C);if(E)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){E=!0;break}}if(e[w--]=o[_--],--g===1){E=!0;break}if(z=g-Ab(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){E=!0;break}}if(e[w--]=e[b--],--v===0){E=!0;break}C--}while(T>=Rh||z>=Rh);if(E)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<zF){i=Bz(e,n,r,t),Fz(e,n,r,n+i,t);return}var o=FTe(e,t),l=VTe(a);do{if(i=Bz(e,n,r,t),i<l){var s=a;s>l&&(s=l),Fz(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,Hz=!1;function Db(){Hz||(Hz=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function jz(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var HTe=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=jz}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,jz)},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,MF=1e-4,qz=Ls(3),Mg=1/3,wo=Zc(),ci=Zc(),od=Zc();function Ss(e){return e>-om&&e<om}function EF(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 Gz(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+qz*Math.sin(S)))/(3*o),z=(-l+C*(T-qz*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(EF(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 IF(e,t,n,r,a,i,o,l,s,u,c){var f,d=.005,h=1/0,v,p,g,m;wo[0]=s,wo[1]=u;for(var b=0;b<1;b+=.05)ci[0]=pr(e,n,a,o,b),ci[1]=pr(t,r,i,l,b),g=bc(wo,ci),g<h&&(f=b,h=g);h=1/0;for(var _=0;_<32&&!(d<MF);_++)v=f-d,p=f+d,ci[0]=pr(e,n,a,o,v),ci[1]=pr(t,r,i,l,v),g=bc(ci,wo),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,wo),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 jTe(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 qTe(e,t,n,r,a){var i=e-2*t+n,o=2*(t-e),l=e-r,s=0;if(Ss(i)){if(EF(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 DF(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 LF(e,t,n,r,a,i,o,l,s){var u,c=.005,f=1/0;wo[0]=o,wo[1]=l;for(var d=0;d<1;d+=.05){ci[0]=kr(e,n,a,d),ci[1]=kr(t,r,i,d);var h=bc(wo,ci);h<f&&(u=d,f=h)}f=1/0;for(var v=0;v<32&&!(c<MF);v++){var p=u-c,g=u+c;ci[0]=kr(e,n,a,p),ci[1]=kr(t,r,i,p);var h=bc(ci,wo);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,wo);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 GTe(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 WTe=/cubic-bezier\(([0-9,\.e ]+)\)/;function N6(e){var t=e&&WTe.exec(e);if(t){var n=t[1].split(","),r=+Gi(n[0]),a=+Gi(n[1]),i=+Gi(n[2]),o=+Gi(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 UTe=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]||N6(t)},e}(),PF=function(){function e(t){this.value=t}return e}(),YTe=function(){function e(){this._len=0}return e.prototype.insert=function(t){var n=new PF(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 YTe,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 PF(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}(),Wz={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 Yi(e){return e=Math.round(e),e<0?0:e>255?255:e}function KTe(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)==="%"?Yi(parseFloat(t)/100*255):Yi(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 ri(e,t,n,r,a){return e[0]=t,e[1]=n,e[2]=r,e[3]=a,e}function Ew(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var RF=new kp(20),Eg=null;function hf(e,t){Eg&&Ew(Eg,t),Eg=RF.put(e,Eg||t.slice())}function Wa(e,t){if(e){t=t||[];var n=RF.get(e);if(n)return Ew(t,n);e=e+"";var r=e.replace(/ /g,"").toLowerCase();if(r in Wz)return Ew(t,Wz[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)){ri(t,0,0,0,1);return}return ri(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)){ri(t,0,0,0,1);return}return ri(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?ri(t,+u[0],+u[1],+u[2],1):ri(t,0,0,0,1);c=_c(u.pop());case"rgb":if(u.length>=3)return ri(t,Lb(u[0]),Lb(u[1]),Lb(u[2]),u.length===3?c:_c(u[3])),hf(e,t),t;ri(t,0,0,0,1);return;case"hsla":if(u.length!==4){ri(t,0,0,0,1);return}return u[3]=_c(u[3]),Aw(u,t),hf(e,t),t;case"hsl":if(u.length!==3){ri(t,0,0,0,1);return}return Aw(u,t),hf(e,t),t;default:return}}ri(t,0,0,0,1)}}function Aw(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||[],ri(t,Yi(Pb(o,i,n+1/3)*255),Yi(Pb(o,i,n)*255),Yi(Pb(o,i,n-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function XTe(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]=Yi(Cs(o[0],l[0],s)),n[1]=Yi(Cs(o[1],l[1],s)),n[2]=Yi(Cs(o[2],l[2],s)),n[3]=P1(Cs(o[3],l[3],s)),n}}function ZTe(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([Yi(Cs(o[0],l[0],s)),Yi(Cs(o[1],l[1],s)),Yi(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=XTe(a),t!=null&&(a[0]=KTe(t)),n!=null&&(a[1]=_c(n)),r!=null&&(a[2]=_c(r)),gl(Aw(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 Uz=new kp(100);function Dw(e){if(it(e)){var t=Uz.get(e);return t||(t=Iw(e,-.1),Uz.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 Yz=1e-4;function Ts(e){return e<Yz&&e>-Yz}function Ag(e){return cm(e*1e3)/1e3}function Lw(e){return cm(e*1e4)/1e4}function JTe(e){return"matrix("+Ag(e[0])+","+Ag(e[1])+","+Ag(e[2])+","+Ag(e[3])+","+Lw(e[4])+","+Lw(e[5])+")"}var QTe={left:"start",right:"end",center:"middle",middle:"middle"};function e7e(e,t,n){return n==="top"?e+=t/2:n==="bottom"&&(e-=t/2),e}function t7e(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function n7e(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 NF(e){return e&&!!e.image}function r7e(e){return e&&!!e.svgElement}function O6(e){return NF(e)||r7e(e)}function OF(e){return e.type==="linear"}function $F(e){return e.type==="radial"}function VF(e){return e&&(e.type==="linear"||e.type==="radial")}function Wy(e){return"url(#"+e+")"}function BF(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 FF(e){var t=e.x||0,n=e.y||0,r=(e.rotation||0)*a2,a=$t(e.scaleX,1),i=$t(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 a7e=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 Nb(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 i7e(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 Kz(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 o7e(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 l7e(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 s7e(e){return Zr(e&&e[0])?2:1}var Dg=0,u2=1,HF=2,dv=3,Rw=4,Nw=5,Xz=6;function Zz(e){return e===Rw||e===Nw}function Lg(e){return e===u2||e===HF}var Nh=[0,0,0,0],u7e=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=Xz,s=n;if(Zr(n)){var u=s7e(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:$F(n)&&(l=Nw),s=f}i===0?this.valType=l:(l!==this.valType||l===Xz)&&(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]||N6(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=Zz(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?l7e(d,h,a):u&&o7e(d.colorStops,h.colorStops))}if(!l&&a!==Nw&&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):Kz([],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?Nh: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?Nb(b,h[a],v[a],m):i7e(b,h[a],v[a],m);else if(Zz(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(Nb([],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)Nb(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],Nh),Ig(Nh,Nh,a,1),t[r]=s2(Nh)):n===u2?Ig(t[r],t[r],a,1):n===HF&&Kz(t[r],t[r],a,1)},e}(),$6=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){E6("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 u7e(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 UTe({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 c7e=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 $6(n,r.loop);return this.addAnimator(a),a},t}(Ai),f7e=300,Ob=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}}(),Jz={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},Qz=!1;function Ow(e){var t=e.pointerType;return t==="pen"||t==="touch"}function d7e(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 h7e(e,t){return ai(e.dom,new v7e(e,t),!0)}function jF(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 v7e=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=ai(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=ai(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=ai(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=ai(this.dom,e);var t=e.toElement||e.relatedTarget;jF(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){Qz=!0,e=ai(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){Qz||(e=ai(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=ai(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=ai(this.dom,e),Vb(e),this.handler.processGesture(e,"change"),$i.mousemove.call(this,e)},touchend:function(e){e=ai(this.dom,e),Vb(e),this.handler.processGesture(e,"end"),$i.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<f7e&&$i.click.call(this,e)},pointerdown:function(e){$i.mousedown.call(this,e)},pointermove:function(e){Ow(e)||$i.mousemove.call(this,e)},pointerup:function(e){$i.mouseup.call(this,e)},pointerout:function(e){Ow(e)||$i.mouseout.call(this,e)}};K(["click","dblclick","contextmenu"],function(e){$i[e]=function(t){t=ai(this.dom,t),this.trigger(e,t)}});var $w={pointermove:function(e){Ow(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 p7e(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),d7e(t)})}),K($b.mouse,function(r){c2(t,r,function(a){a=L6(a),t.touching||n[r].call(e,a)})}))}function g7e(e,t){Jt.pointerEventsSupported?K(Jz.pointer,n):Jt.touchEventsSupported||K(Jz.mouse,n);function n(r){function a(i){i=L6(i),jF(e,i.target)||(i=h7e(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)&&ATe(e.domTarget,n,t[n],e.listenerOpts[n]);e.mounted={}}var eM=function(){function e(t,n){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=n}return e}(),m7e=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 eM(n,$i),Ob&&(a._globalHandlerScope=new eM(document,$w)),p7e(a,a._localHandlerScope),a}return t.prototype.dispose=function(){Bb(this._localHandlerScope),Ob&&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,Ob&&+this.__pointerCapturing^+n){this.__pointerCapturing=n;var r=this._globalHandlerScope;n?g7e(this,r):Bb(r)}},t}(Ai),qF=1;Jt.hasGlobalWindow&&(qF=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var fm=qF,Vw=.4,Bw="#333",Fw="#ccc",y7e="#eee",tM=Gy,nM=5e-5;function bu(e){return e>nM||e<-nM}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&&(tM(r),this.invTransform=null);return}r=r||Ga(),n?this.getLocalTransform(r):tM(r),t&&(n?pl(r,t,r):P6(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){GF(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 GF(e,t){for(var n=0;n<Vo.length;n++){var r=Vo[n];e[r]=t[r]}}var rM={};function Ua(e,t){t=t||Ws;var n=rM[t];n||(n=rM[t]=new kp(500));var r=n.get(e);return r==null&&(r=Us.measureText(e,t).width,n.put(e,r)),r}function aM(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(`
- `),i=a.length;if(i===1)return aM(a[0],t,n,r);for(var o=new qt(0,0,0,0),l=0;l<a.length;l++){var s=aM(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 Qi(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+=Qi(r[0],n.width),u+=Qi(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"]),b7e=Oo(Vo,function(e,t){return e[t]=!0,e},{ignore:!1}),pf={},_7e=new qt(0,0,0,0),Yy=function(){function e(t){this.id=bF(),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=_7e;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=Qi(f[0],c.width),h=Qi(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){E6("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&&b7e[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 $6(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,Ai);sr(Yy,cl);function Gb(e,t,n,r,a){n=n||{};var i=[];WF(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 w7e(e){return Zr(e[0])}function x7e(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(w7e(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 S7e(e,t){return e===t||Zr(e)&&Zr(t)&&C7e(e,t)}function C7e(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 WF(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}WF(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(A){return!S7e(r[A],n[A])}),_=p.length),_>0||a.force&&!o.length){var T=void 0,z=void 0,E=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){E={};for(var w=0;w<_;w++){var m=p[w];E[m]=qv(n[m]),x7e(n,r,m)}}var x=new $6(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),E&&x.whenWithKeys(0,E,p),x.whenWithKeys(u??500,l?z:r,p).delay(c||0),e.addAnimator(x,t),o.push(x)}}var Et=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);Et.prototype.type="group";/*!
- * ZRender, a high performance 2d drawing library.
- *
- * Copyright (c) 2013, Baidu Inc.
- * All rights reserved.
- *
- * LICENSE
- * https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
- */var f2={},UF={};function T7e(e){delete UF[e]}function k7e(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 z7e=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 HTe,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 m7e(l.getViewportRoot(),l.root):null,c=r.useCoarsePointer,f=c==null||c==="auto"?Jt.touchEventsSupported:!!c,d=44,h;f&&(h=$t(r.pointerSize,d)),this.handler=new TF(i,l,u,l.root,h),this.animation=new c7e({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=k7e(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 Et&&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,T7e(this.id))},e}();function iM(e,t){var n=new z7e(bF(),e,t);return UF[n.id]=n,n}function M7e(e,t){f2[e]=t}var Hw;function E7e(e){if(typeof Hw=="function")return Hw(e)}function A7e(e){Hw=e}var oM=1e-4,YF=20;function I7e(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)?I7e(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),YF),e=(+e).toFixed(t),n?e:+e}function mi(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 D7e(e)}function D7e(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 KF(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 L7e(e,t){var n=Oo(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=Oo(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 P7e(e,t){var n=Math.max(To(e),To(t)),r=e+t;return n>YF?r:Zn(r,n)}var lM=9007199254740991;function XF(e){var t=Math.PI*2;return(e%t+t)%t}function N1(e){return e>-oM&&e<oM}var R7e=/^(?:(\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=R7e.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 N7e(e){return Math.pow(10,V6(e))}function V6(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 ZF(e,t){var n=V6(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 sM(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 JF(e){return!isNaN(Tl(e))}function QF(){return Math.round(Math.random()*9)}function eH(e,t){return t===0?e:eH(t,e%t)}function uM(e,t){return e==null?t:t==null?e:e*t/eH(e,t)}function pn(e){throw new Error(e)}function cM(e,t,n){return(t-e)*n+e}var tH="series\0",nH="\0_ec_\0";function Cn(e){return e instanceof Array?e:e==null?[]:[e]}function Oc(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 fM=["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 O7e(e){return wt(e)&&!(e instanceof Array)}function rH(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=$7e(e,o,n);return(r||a)&&V7e(l,e,o,t),r&&B7e(l,t),r||a?F7e(l,t,a):i&&H7e(l,t),j7e(l),l}function $7e(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"||O1(i)?null:i,newOption:null,keyInfo:null,brandNew:null})}return r}function V7e(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 B7e(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)&&!O1(n)&&!O1(i)&&aH("name",i,n)){e[a].newOption=n,t[r]=null;return}}})}function F7e(e,t,n){K(t,function(r){if(r){for(var a,i=0;(a=e[i])&&(a.newOption||O1(a.existing)||a.existing&&r.id!=null&&!aH("id",r,a.existing));)i++;a?(a.newOption=r,a.brandNew=n):e.push({newOption:r,brandNew:n,existing:null,keyInfo:null}),i++}})}function H7e(e,t){K(t,function(n){e.push({newOption:n,brandNew:!0,existing:null,keyInfo:null})})}function j7e(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:tH+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 aH(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 B6(e){var t=e.name;return!!(t&&t.indexOf(tH))}function O1(e){return e&&e.id!=null&&Gv(e.id).indexOf(nH)===0}function q7e(e){return nH+e}function G7e(e,t,n){K(e,function(r){var a=r.newOption;wt(a)&&(r.keyInfo.mainType=t,r.keyInfo.subType=W7e(t,a,r.existing,n))})}function W7e(e,t,n,r){var a=t.type?t.type:n?n.subType:r.determineSubType(e,t);return a}function U7e(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_"+Y7e++;return function(t){return t[e]||(t[e]={})}}var Y7e=QF();function Wv(e,t,n){var r=F6(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 F6(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},K7e={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 iH(e,t,n){e.setAttribute?e.setAttribute(t,n):e[t]=n}function X7e(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function Z7e(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 oH(e,t,n,r,a){var i=t==null||t==="auto";if(r==null)return r;if(ln(r)){var o=cM(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=cM(h,v,a);l[f]=Zn(o,i?Math.max(To(h),To(v)):t)}}return l}}var J7e=".",wu="___EC__COMPONENT__CONTAINER___",lH="___EC__EXTENDED_CLASS___";function ko(e){var t={main:"",sub:""};if(e){var n=e.split(J7e);t.main=n[0]||"",t.sub=n[1]||""}return t}function Q7e(e){ha(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function eke(e){return!!(e&&e[lH])}function H6(e,t){e.$constructor=e,e.extend=function(n){var r=this,a;return tke(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)},uTe(a,this)),$e(a.prototype,n),a[lH]=!0,a.extend=this.extend,a.superCall=ake,a.superApply=ike,a.superClass=r,a}}function tke(e){return yt(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function sH(e,t){e.extend=t.extend}var nke=Math.round(Math.random()*10);function rke(e){var t=["__\0is_clz",nke++].join("_");e.prototype[t]=!0,e.isInstance=function(n){return!!(n&&n[t])}}function ake(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 ike(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){Q7e(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 oke=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],lke=Vc(oke),ske=function(){function e(){}return e.prototype.getAreaStyle=function(t,n){return lke(this,t,n)},e}(),qw=new kp(50);function uke(e){if(typeof e=="string"){var t=qw.get(e);return t&&t.image}else return e}function j6(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,dM,dM),t.__zrImageSrc=e,qw.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function dM(){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 cke(e,t,n,r,a){if(!t)return"";var i=(e+"").split(`
- `);a=uH(t,n,r,a);for(var o=0,l=i.length;o<l;o++)i[o]=cH(i[o],a);return i.join(`
- `)}function uH(e,t,n,r){r=r||{};var a=$e({},r);a.font=t,n=$t(n,"..."),a.maxIterations=$t(r.maxIterations,2);var i=a.minChar=$t(r.minChar,0);a.cnCharWidth=Ua("国",t);var o=a.ascCharWidth=Ua("a",t);a.placeholder=$t(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 cH(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?fke(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 fke(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 dke(e,t){e!=null&&(e+="");var n=t.overflow,r=t.padding,a=t.font,i=n==="truncate",o=Uy(a),l=$t(t.lineHeight,o),s=!!t.backgroundColor,u=t.lineOverflow==="truncate",c=t.width,f;c!=null&&(n==="break"||n==="breakAll")?f=e?fH(e,t.font,c,n==="breakAll",0).lines:[]:f=e?e.split(`
- `):[];var d=f.length*l,h=$t(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=uH(c,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;g<f.length;g++)f[g]=cH(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 hke=function(){function e(){}return e}(),hM=function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e}(),vke=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 pke(e,t){var n=new vke;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,E=S.font=C.font||t.font;S.contentHeight=Uy(E);var A=$t(C.height,S.contentHeight);if(S.innerHeight=A,T&&(A+=T[0]+T[2]),S.height=A,S.lineHeight=Ao(C.lineHeight,t.lineHeight,A),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,E);else{if($){var N=C.backgroundColor,R=N&&N.image;R&&(R=uke(R),Xy(R)&&(S.width=Math.max(S.width,R.width*A/R.height)))}var O=v&&r!=null?r-w:null;O!=null&&O<S.width?!$||O<z?(S.text="",S.width=S.contentWidth=0):(S.text=cke(S.text,O-z,E,t.ellipsis,{minChar:t.truncateMinChar}),S.width=S.contentWidth=Ua(S.text,E)):S.contentWidth=Ua(S.text,E)}S.width+=z,w+=S.width,C&&(_=Math.max(_,S.lineHeight))}g(b,w,_)}n.outerWidth=n.width=$t(r,d),n.outerHeight=n.height=$t(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=Qi(o.width,r.width)+h;l.length>0&&v+r.accumWidth>r.width&&(c=t.split(`
- `),u=!0),r.accumWidth=v}else{var p=fH(t,s,r.width,r.breakAll,r.accumWidth);r.accumWidth=p.accumWidth+h,f=p.linesWidths,c=p.lines}}else c=t.split(`
- `);for(var g=0;g<c.length;g++){var m=c[g],b=new hke;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 hM)).tokens,w=_.length;w===1&&_[0].isLineHolder?_[0]=b:(m||!w||i)&&_.push(b)}else l.push(new hM([b]))}}function gke(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var mke=Oo(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function yke(e){return gke(e)?!!mke[e]:!0}function fH(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===`
- `){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:!yke(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 vM=["z","z2","invisible"],bke=["invisible"],Mi=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&&_ke(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,vM)},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?bke:vM,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 _ke(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(),Ng=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 pM(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 gM=[],mM=[];function wke(e,t,n,r,a,i,o,l,s,u){var c=AF,f=pr,d=c(e,n,a,o,gM);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,gM[h]);s[0]=ka(v,s[0]),u[0]=za(v,u[0])}d=c(t,r,i,l,mM);for(var h=0;h<d;h++){var p=f(t,r,i,l,mM[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 xke(e,t,n,r,a,i,o,l){var s=DF,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 Ske(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&&(Ng[0]=Qb(h)*n+e,Ng[1]=Jb(h)*r+t,u(l,Ng,l),c(s,Ng,s))}var Mn={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Su=[],Cu=[],uo=[],Yl=[],co=[],fo=[],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",Oh=[];function r_(e){var t=Math.round(e/Ww*1e8)/1e8;return t%2*Ww}function q6(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(),Oh[0]=a,Oh[1]=i,q6(Oh,o),a=Oh[0],i=Oh[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(){uo[0]=uo[1]=co[0]=co[1]=Number.MAX_VALUE,Yl[0]=Yl[1]=fo[0]=fo[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++],co[0]=a,co[1]=i,fo[0]=a,fo[1]=i;break;case Mn.L:pM(n,r,t[o],t[o+1],co,fo),n=t[o++],r=t[o++];break;case Mn.C:wke(n,r,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],co,fo),n=t[o++],r=t[o++];break;case Mn.Q:xke(n,r,t[o++],t[o++],t[o],t[o+1],co,fo),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),Ske(u,c,f,d,h,v,p,co,fo),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++];pM(a,i,a+g,i+m,co,fo);break;case Mn.Z:n=a,r=i;break}ws(uo,uo,co),xs(Yl,Yl,fo)}return o===0&&(uo[0]=uo[1]=Yl[0]=Yl[1]=0),new qt(uo[0],uo[1],Yl[0]-uo[0],Yl[1]-uo[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=jTe(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=GTe(i,o,w,x,g,m,10),i=g,o=m;break}case Mn.A:var T=t[d++],z=t[d++],E=t[d++],A=t[d++],D=t[d++],$=t[d++],N=$+D;d+=1,v&&(l=Tu(D)*E+T,s=ku(D)*A+z),p=t_(E,A)*e_(ls,Math.abs($)),i=Tu(N)*E+T,o=ku(N)*A+z;break;case Mn.R:{l=i=t[d++],s=o=t[d++];var R=t[d++],O=t[d++];p=R*2+O*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),E=el(d-c);if(z>a||E>i){if(h){var A=v[m++];if(g+A>b){var D=(b-g)/A;t.lineTo(u*(1-D)+f*D,c*(1-D)+d*D);break e}g+=A}t.lineTo(f,d),u=f,c=d,_=0}else{var $=z*z+E*E;$>_&&(w=f,x=d,_=$)}break}case Mn.C:{var N=r[S++],R=r[S++],O=r[S++],B=r[S++],V=r[S++],P=r[S++];if(h){var A=v[m++];if(g+A>b){var D=(b-g)/A;Ys(u,N,O,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+=A}t.bezierCurveTo(N,R,O,B,V,P),u=V,c=P;break}case Mn.Q:{var N=r[S++],R=r[S++],O=r[S++],B=r[S++];if(h){var A=v[m++];if(g+A>b){var D=(b-g)/A;L1(u,N,O,D,Su),L1(c,R,B,D,Cu),t.quadraticCurveTo(Su[1],Cu[1],Su[2],Cu[2]);break e}g+=A}t.quadraticCurveTo(N,R,O,B),u=O,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,de=!1;if(h){var A=v[m++];g+A>b&&(ce=ue+ye*(b-g)/A,de=!0),g+=A}if(ve&&t.ellipse?t.ellipse(W,Z,ee,re,le,ue,ce,ae):t.arc(W,Z,ie,ue,ce,ae),de)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 A=v[m++];if(g+A>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+=A}t.rect(f,d,xe,J);break;case Mn.Z:if(h){var A=v[m++];if(g+A>b){var D=(b-g)/A;t.lineTo(u*(1-D)+l*D,c*(1-D)+s*D);break e}g+=A}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 Cke(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=IF(e,t,n,r,a,i,o,l,u,c,null);return d<=f/2}function dH(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=LF(e,t,n,r,a,i,l,s,null);return c<=u/2}var yM=Math.PI*2;function Fa(e){return e%=yM,e<0&&(e+=yM),e}var $h=Math.PI*2;function Tke(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,kke=1e-4;function zke(e,t){return Math.abs(e-t)<kke}var ia=[-1,-1,-1],li=[-1,-1];function Mke(){var e=li[0];li[0]=li[1],li[1]=e}function Eke(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,li),li[1]<li[0]&&d>1&&Mke(),h=pr(t,r,i,l,li[0]),d>1&&(v=pr(t,r,i,l,li[1]))),d===2?g<li[0]?f+=h<t?m:-m:g<li[1]?f+=v<h?m:-m:f+=l<v?m:-m:g<li[0]?f+=h<t?m:-m:f+=l<h?m:-m)}return f}function Ake(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=qTe(t,r,i,l,ia);if(s===0)return 0;var u=DF(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 Ike(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 hH(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(Cke(s,u,i[v++],i[v++],i[v++],i[v++],i[v],i[v+1],t,r,a))return!0}else l+=Eke(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(dH(s,u,i[v++],i[v++],i[v],i[v+1],t,r,a))return!0}else l+=Ake(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(Tke(m,b,w,x,x+S,C,t,T,a))return!0}else l+=Ike(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++],E=i[v++];if(d=c+z,h=f+E,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&&!zke(u,f)&&(l+=ol(s,u,c,f,r,a)||0),l!==0}function Dke(e,t,n){return hH(e,0,!1,t,n)}function Lke(e,t,n,r){return hH(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),Pke={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?y7e: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)),Lke(l,s/u,n,r)))return!0}if(this.hasFill())return Dke(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 Pke},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}(Mi),Rke=_t({strokeFirst:!0,font:Ws,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},hm),Nd=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(Rke,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}(Mi);Nd.prototype.type="tspan";var Nke=_t({x:0,y:0},wc),Oke={style:_t({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Zy.style)};function $ke(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(Nke,n)},t.prototype._getSize=function(n){var r=this.style,a=r[n];if(a!=null)return a;var i=$ke(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 Oke},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}(Mi);Ir.prototype.type="image";function Vke(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 vH(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 pH(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 Bke=function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e}(),Fke={},rn=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new Bke},t.prototype.buildPath=function(n,r){var a,i,o,l;if(this.subPixelOptimize){var s=pH(Fke,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?Vke(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 bM={fill:"#000"},_M=2,Hke={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=bM,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,Gke(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||bM},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 Hke},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=zM(n),o=dke(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&&(_=kM(p,m,a),b==="top"?w+=a[0]:b==="bottom"&&(w-=a[2]));for(var C=0,T=!1,z=TM("fill"in n?n.fill:(T=!0,v.fill)),E=CM("stroke"in n?n.stroke:!s&&(!v.autoStroke||T)?(C=_M,v.stroke):null),A=n.textShadowBlur>0,D=n.width!=null&&(n.overflow==="truncate"||n.overflow==="break"||n.overflow==="breakAll"),$=o.calculatedLineHeight,N=0;N<d.length;N++){var R=this._getOrCreateChild(Nd),O=R.createStyle();R.useStyle(O),O.text=d[N],O.x=_,O.y=w,m&&(O.textAlign=m),O.textBaseline="middle",O.opacity=n.opacity,O.strokeFirst=!0,A&&(O.shadowBlur=n.textShadowBlur||0,O.shadowColor=n.textShadowColor||"transparent",O.shadowOffsetX=n.textShadowOffsetX||0,O.shadowOffsetY=n.textShadowOffsetY||0),O.stroke=E,O.fill=z,E&&(O.lineWidth=n.lineWidth||C,O.lineDash=n.lineDash,O.lineDashOffset=n.lineDashOffset||0),O.font=r,xM(O,n),w+=h,D&&R.setBoundingRect(new qt(hv(O.x,n.width,O.textAlign),Vf(O.y,$,O.textBaseline),f,$))}},t.prototype._updateRichTexts=function(){var n=this.style,r=zM(n),a=pke(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,E=0,A=g,D=b,$=C-1,N=void 0;E<C&&(N=S[E],!N.align||N.align==="left");)this._placeToken(N,n,T,m,A,"left",_),z-=N.width,A+=N.width,E++;for(;$>=0&&(N=S[$],N.align==="right");)this._placeToken(N,n,T,m,D,"right",_),z-=N.width,D-=N.width,$--;for(A+=(i-(A-g)-(b-D)-z)/2;E<=$;)N=S[E],this._placeToken(N,n,T,m,A+N.width/2,"center",_),A+=N.width,E++;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=kM(o,l,v),f-=n.height/2-v[0]-n.innerHeight/2);var p=this._getOrCreateChild(Nd),g=p.createStyle();p.useStyle(g);var m=this._defaultStyle,b=!1,_=0,w=TM("fill"in u?u.fill:"fill"in r?r.fill:(b=!0,m.fill)),x=CM("stroke"in u?u.stroke:"stroke"in r?r.stroke:!h&&!s&&(!m.autoStroke||b)?(_=_M,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=Ao(u.opacity,r.opacity,1),xM(g,u),x&&(g.lineWidth=Ao(u.lineWidth,r.lineWidth,_),g.lineDash=$t(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=$t(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=$t(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=Ao(n.opacity,r.opacity,1)},t.makeFont=function(n){var r="";return mH(n)&&(r=[n.fontStyle,n.fontWeight,gH(n.fontSize),n.fontFamily||"sans-serif"].join(" ")),r&&Gi(r)||n.textFont||n.font},t}(Mi),jke={left:!0,right:1,center:1},qke={top:1,bottom:1,middle:1},wM=["fontStyle","fontWeight","fontSize","fontFamily"];function gH(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?k6+"px":e+"px"}function xM(e,t){for(var n=0;n<wM.length;n++){var r=wM[n],a=t[r];a!=null&&(e[r]=a)}}function mH(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function Gke(e){return SM(e),K(e.rich,SM),e}function SM(e){if(e){e.font=on.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||jke[t]?t:"left";var n=e.verticalAlign;n==="center"&&(n="middle"),e.verticalAlign=n==null||qke[n]?n:"top";var r=e.padding;r&&(e.padding=D6(e.padding))}}function CM(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function TM(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function kM(e,t,n){return t==="right"?e-n[1]:t==="center"?e+n[3]/2-n[1]/2:e+n[3]}function zM(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"})}},MM=1,EM={},yH=an(),G6=an(),W6=0,Ep=1,Qy=2,va=["emphasis","blur","select"],$1=["normal","emphasis","blur","select"],uh=10,Wke=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 bH(e){e3(e,"emphasis",Qy)}function _H(e){e.hoverState===Qy&&e3(e,"normal",W6)}function U6(e){e3(e,"blur",Ep)}function wH(e){e.hoverState===Ep&&e3(e,"normal",W6)}function Uke(e){e.selected=!0}function Yke(e){e.selected=!1}function AM(e,t,n){t(e,n)}function Fl(e,t,n){AM(e,t,n),e.isGroup&&e.traverse(function(r){AM(r,t,n)})}function vm(e,t){switch(t){case"emphasis":e.hoverState=Qy;break;case"normal":e.hoverState=W6;break;case"blur":e.hoverState=Ep;break;case"select":e.selected=!0}}function Kke(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 Xke(e,t,n,r){var a=n&&Yt(n,"select")>=0,i=!1;if(e instanceof Zt){var o=yH(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 Zke(e,t,n){if(n&&n.z2==null){n=$e({},n);var r=e.z2SelectLift;n.z2=e.z2+(r??Wke)}return n}function Jke(e,t,n){var r=Yt(e.currentStates,t)>=0,a=e.style.opacity,i=r?null:Kke(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 Xke(this,e,t,n);if(e==="blur")return Jke(this,e,n);if(e==="select")return Zke(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 IM(e,t){!TH(e,t)&&!e.__highByOuter&&Fl(e,bH)}function DM(e,t){!TH(e,t)&&!e.__highByOuter&&Fl(e,_H)}function kl(e,t){e.__highByOuter|=1<<(t||0),Fl(e,bH)}function zl(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Fl(e,_H)}function xH(e){Fl(e,U6)}function Y6(e){Fl(e,wH)}function SH(e){Fl(e,Uke)}function CH(e){Fl(e,Yke)}function TH(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function kH(e){var t=e.getModel(),n=[],r=[];t.eachComponent(function(a,i){var o=G6(i),l=a==="series",s=l?e.getViewOfSeriesModel(i):e.getViewOfComponentModel(i);!l&&r.push(s),o.isBlured&&(s.group.traverse(function(u){wH(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&&Y6(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"||U6(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),G6(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){G6(r).isBlured=!0;var a=n.getViewOfComponentModel(r);!a||!a.focusBlurEnabled||a.group.traverse(function(i){U6(i)})}}}function Qke(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 K6(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 eze(e,t,n){var r=Dt(e),a=K6(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 IM(l,t)})):(Yw(r.seriesIndex,r.focus,r.blurScope,n),r.focus==="self"&&Kw(r.componentMainType,r.componentIndex,n),IM(e,t))}function tze(e,t,n){kH(n);var r=Dt(e),a=K6(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;a?K(a,function(i){return DM(i,t)}):DM(e,t)}function nze(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 LM(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)?SH(i):CH(i)})})}function rze(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 aze(e){lc(e,!1)}function Kn(e,t,n,r){r?aze(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 PM=["emphasis","blur","select"],ize={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Br(e,t,n,r){n=n||"itemStyle";for(var a=0;a<PM.length;a++){var i=PM[a],o=t.getModel([i,n]),l=e.ensureState(i);l.style=r?r(o):o[ize[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 oze(e,t,n){var r=Dt(e);r.componentMainType=t.mainType,r.componentIndex=t.componentIndex,r.componentHighDownName=n}function lze(e){var t=EM[e];return t==null&&MM<=32&&(t=EM[e]=MM++),t}function Zw(e){var t=e.type;return t===Uv||t===h2||t===Yv}function RM(e){var t=e.type;return t===xc||t===d2}function sze(e){var t=yH(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,uze=[[],[],[]],NM=Math.sqrt,cze=Math.atan2;function zH(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=NM(t[0]*t[0]+t[1]*t[1]),_=NM(t[2]*t[2]+t[3]*t[3]),w=cze(-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=uze[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,Og=Math.sin,$g=Math.cos,Vh=Math.PI;function OM(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])/(OM(e)*OM(t))}function $M(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Jw(e,t))}function VM(e,t,n,r,a,i,o,l,s,u,c){var f=s*(Vh/180),d=$g(f)*(e-n)/2+Og(f)*(t-r)/2,h=-1*Og(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-Og(f)*m,_=(t+r)/2+Og(f)*g+$g(f)*m,w=$M([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=$M(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 fze=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,dze=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function hze(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(fze);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(dze)||[],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,E=void 0,A=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,E=t.len(),A=t.data,o===l.C&&(m+=n-A[E-4],b+=r-A[E-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,E=t.len(),A=t.data,o===l.C&&(m+=n-A[E-4],b+=r-A[E-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,E=t.len(),A=t.data,o===l.Q&&(m+=n-A[E-4],b+=r-A[E-3]),n=h[g++],r=h[g++],d=l.Q,t.addData(d,m,b,n,r);break;case"t":m=n,b=r,E=t.len(),A=t.data,o===l.Q&&(m+=n-A[E-4],b+=r-A[E-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,VM(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,VM(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 MH=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(n){},t}(Zt);function EH(e){return e.setData!=null}function AH(e,t){var n=hze(e),r=$e({},t);return r.buildPath=function(a){if(EH(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){zH(n,a),this.dirtyShape()},r}function IH(e,t){return new MH(AH(e,t))}function vze(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}(MH);return r}function pze(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(EH(l)){l.appendPath(n);var s=l.getContext();s&&l.rebuildPath(s,1)}},o}function X6(e,t){t=t||{};var n=new Zt;return e.shape&&n.setShape(e.shape),n.setStyle(e.style),t.bakeTransform?zH(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 gze=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 gze},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 mze=function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e}(),DH=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new mze},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);DH.prototype.type="ellipse";const Z6=DH;var LH=Math.PI,s_=LH*2,Mu=Math.sin,yf=Math.cos,yze=Math.acos,Hr=Math.atan2,BM=Math.abs,Kv=Math.sqrt,vv=Math.max,ho=Math.min,Oi=1e-4;function bze(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<Oi))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,E=(S*_+b*C)/w,A=(-S*b+_*C)/w,D=T-g,$=z-m,N=E-g,R=A-m;return D*D+$*$>N*N+R*R&&(T=E,z=A),{cx:T,cy:z,x0:-c,y0:-f,x1:T*(a/x-1),y1:z*(a/x-1)}}function _ze(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 wze(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=BM(u-s),v=h>s_&&h%s_;if(v>Oi&&(h=v),!(r>Oi))e.moveTo(c,f);else if(h>s_-Oi)e.moveTo(c+r*yf(s),f+r*Mu(s)),e.arc(c,f,r,s,u,!d),a>Oi&&(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,E=void 0,A=void 0,D=void 0,$=void 0,N=void 0,R=r*yf(s),O=r*Mu(s),B=a*yf(u),V=a*Mu(u),P=h>Oi;if(P){var W=t.cornerRadius;W&&(n=_ze(W),p=n[0],g=n[1],m=n[2],b=n[3]);var Z=BM(r-a)/2;if(_=ho(Z,m),w=ho(Z,b),x=ho(Z,p),S=ho(Z,g),z=C=vv(_,w),E=T=vv(x,S),(C>Oi||T>Oi)&&(A=r*yf(u),D=r*Mu(u),$=a*yf(s),N=a*Mu(s),h<LH)){var ee=bze(R,O,$,N,A,D,B,V);if(ee){var re=R-ee[0],ue=O-ee[1],ye=A-ee[0],le=D-ee[1],ae=1/Mu(yze((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=ho(C,(r-ie)/(ae+1)),E=ho(T,(a-ie)/(ae-1))}}}if(!P)e.moveTo(c+R,f+O);else if(z>Oi){var ve=ho(m,z),ce=ho(b,z),de=Vg($,N,R,O,r,ve,d),xe=Vg(A,D,B,V,r,ce,d);e.moveTo(c+de.cx+de.x0,f+de.cy+de.y0),z<C&&ve===ce?e.arc(c+de.cx,f+de.cy,z,Hr(de.y0,de.x0),Hr(xe.y0,xe.x0),!d):(ve>0&&e.arc(c+de.cx,f+de.cy,ve,Hr(de.y0,de.x0),Hr(de.y1,de.x1),!d),e.arc(c,f,r,Hr(de.cy+de.y1,de.cx+de.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+O),e.arc(c,f,r,s,u,!d);if(!(a>Oi)||!P)e.lineTo(c+B,f+V);else if(E>Oi){var ve=ho(p,E),ce=ho(g,E),de=Vg(B,V,A,D,a,-ce,d),xe=Vg(R,O,$,N,a,-ve,d);e.lineTo(c+de.cx+de.x0,f+de.cy+de.y0),E<T&&ve===ce?e.arc(c+de.cx,f+de.cy,E,Hr(de.y0,de.x0),Hr(xe.y0,xe.x0),!d):(ce>0&&e.arc(c+de.cx,f+de.cy,ce,Hr(de.y0,de.x0),Hr(de.y1,de.x1),!d),e.arc(c,f,a,Hr(de.cy+de.y1,de.cx+de.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 xze=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 xze},t.prototype.buildPath=function(n,r){wze(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 Sze=function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e}(),PH=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){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);PH.prototype.type="ring";const t3=PH;function Cze(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=Lz([],v,o),_=Lz([],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 RH(e,t,n){var r=t.smooth,a=t.points;if(a&&a.length>=2){if(r){var i=Cze(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 Tze=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 Tze},t.prototype.buildPath=function(n,r){RH(n,r,!0)},t}(Zt);ga.prototype.type="polygon";var kze=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 kze},t.prototype.buildPath=function(n,r){RH(n,r,!1)},t}(Zt);ya.prototype.type="polyline";var zze={},Mze=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 Mze},t.prototype.buildPath=function(n,r){var a,i,o,l;if(this.subPixelOptimize){var s=vH(zze,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=[],Eze=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 FM(e,t,n){var r=e.cpx2,a=e.cpy2;return r!=null||a!=null?[(n?Gz:pr)(e.x1,e.cpx1,e.cpx2,e.x2,t),(n?Gz: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 Ap=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 Eze},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 FM(this.shape,n,!1)},t.prototype.tangentAt=function(n){var r=FM(this.shape,n,!0);return oh(r,r)},t}(Zt);Ap.prototype.type="bezier-curve";var Aze=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 Aze},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 Ize=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 J6=Ize;var NH=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}(NH),Dze=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}(NH);const OH=Dze;var Eu=[0,0],Au=[0,0],Bg=new Ht,Fg=new Ht,Lze=function(){function e(t,n){this._corners=[],this._axes=[],this._origin=[0,0];for(var r=0;r<4;r++)this._corners[r]=new Ht;for(var r=0;r<2;r++)this._axes[r]=new Ht;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);Ht.sub(a[0],r[1],r[0]),Ht.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||Ht.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,Eu),this._getProjMinMaxOnAxis(s,n._corners,Au),Eu[1]<Au[0]||Eu[0]>Au[1]){if(l=!1,i)return l;var c=Math.abs(Au[0]-Eu[1]),f=Math.abs(Eu[0]-Au[1]);Math.min(c,f)>a.len()&&(c<f?Ht.scale(a,u,-c*o):Ht.scale(a,u,f*o))}else if(r){var c=Math.abs(Au[0]-Eu[1]),f=Math.abs(Eu[0]-Au[1]);Math.min(c,f)<r.len()&&(c<f?Ht.scale(r,u,c*o):Ht.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=Lze;var Pze=[],Rze=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(Pze)),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}(Mi);const Nze=Rze;var $H=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=$t(r.duration,200),c=$t(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 Q6(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){Q6("update",e,t,n,r,a,i)}function On(e,t,n,r,a,i){Q6("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)||Q6("leave",e,t,n,r,a,i)}function HM(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||HM(a,t,n,r)}):HM(e,t,n,r)}function eo(e){$H(e).oldStyle=e.style}function Oze(e){return $H(e).oldStyle}var gm=Math.max,mm=Math.min,Qw={};function $ze(e){return Zt.extend(e)}var Vze=vze;function Bze(e,t){return Vze(e,t)}function io(e,t){Qw[e]=t}function e8(e){if(Qw.hasOwnProperty(e))return Qw[e]}function r3(e,t,n,r){var a=IH(e,t);return n&&(r==="center"&&(n=BH(n,a.getBoundingRect())),FH(a,n)),a}function VH(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(BH(t,i))}}});return r}function BH(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 hi=pze;function FH(e,t){if(e.applyTransform){var n=e.getBoundingRect(),r=n.calculateTransform(t);e.applyTransform(r)}}function Od(e,t){return vH(e,e,{lineWidth:t}),e}function Fze(e){return pH(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 Ki(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=Ki(i,t,n),Math.abs(i[0])>Math.abs(i[1])?i[0]>0?"right":"left":i[1]>0?"bottom":"top"}function jM(e){return!e.isGroup}function Hze(e){return e.shape!=null}function Dp(e,t,n){if(!e||!t)return;function r(o){var l={};return o.traverse(function(s){jM(s)&&s.anid&&(l[s.anid]=s)}),l}function a(o){var l={x:o.x,y:o.y,rotation:o.rotation};return Hze(o)&&(l.shape=$e({},o.shape)),l}var i=r(e);t.traverse(function(o){if(jM(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 HH(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 jze(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(jH(e,t,n,r,l[0],l[1],o[0],o[1]))return!0;o=l}}function jH(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(qze(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 qze(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 qM(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++)qM(e[n],t);else qM(e,t)}io("circle",Hl);io("ellipse",Z6);io("sector",pa);io("ring",t3);io("polygon",ga);io("polyline",ya);io("rect",rn);io("line",mr);io("bezierCurve",Ap);io("arc",n3);const Qc=Object.freeze(Object.defineProperty({__proto__:null,Arc:n3,BezierCurve:Ap,BoundingRect:qt,Circle:Hl,CompoundPath:J6,Ellipse:Z6,Group:Et,Image:Ir,IncrementalDisplayable:Nze,Line:mr,LinearGradient:Ip,OrientedBoundingRect:pm,Path:Zt,Point:Ht,Polygon:ga,Polyline:ya,RadialGradient:OH,Rect:rn,Ring:t3,Sector:pa,Text:on,applyTransform:Ki,clipPointsByRect:HH,clipRectByRect:jze,createIcon:Lp,extendPath:Bze,extendShape:$ze,getShapeClass:e8,getTransform:Cc,groupTransition:Dp,initProps:On,isElementRemoved:ld,lineLineIntersect:jH,linePolygonIntersect:pv,makeImage:VH,makePath:r3,mergePath:hi,registerShape:io,removeElement:Ks,removeElementWithFadeOut:B1,resizePath:FH,setTooltipConfig:fh,subPixelOptimize:v2,subPixelOptimizeLine:Od,subPixelOptimizeRect:Fze,transformDirection:a3,traverseElements:lu,updateProps:un},Symbol.toStringTag,{value:"Module"}));var i3={};function qH(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]=$t(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=!!$t(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);qH(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 Gze(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=$t(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 Gze(e,t,n,r,a){n=n||i3;var i=t.ecModel,o=i&&i.option.textStyle,l=Wze(t),s;if(l){s={};for(var u in l)if(l.hasOwnProperty(u)){var c=t.getModel(["rich",u]);YM(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),YM(e,t,o,n,r,a,!0,!1)}function Wze(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 GM=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],WM=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],UM=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function YM(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=$t(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=$t(t.getShallow("textBorderWidth"),n.textBorderWidth);d!=null&&(e.lineWidth=d);var h=$t(t.getShallow("textBorderType"),n.textBorderType);h!=null&&(e.lineDash=h);var v=$t(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<GM.length;p++){var g=GM[p],m=$t(t.getShallow(g),n[g]);m!=null&&(e[g]=m)}for(var p=0;p<WM.length;p++){var g=WM[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<UM.length;p++){var g=UM[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 t8(e,t){var n=t&&t.getModel("textStyle");return Gi([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 GH(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 WH(e,t,n,r,a){var i=dh(e);if(!i.valueAnimation||i.prevValue===i.value)return;var o=i.defaultInterpolatedText,l=$t(i.interpolatedValue,i.prevValue),s=i.value;function u(c){var f=oH(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);qH(e,d)}e.percent=0,(i.prevValue==null?On:un)(e,{percent:1},r,t,null,u)}var Uze=["textStyle","color"],c_=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],f_=new on,Yze=function(){function e(){}return e.prototype.getTextColor=function(t){var n=this.ecModel;return this.getShallow("color")||(!t&&n?n.get(Uze):null)},e.prototype.getFont=function(){return t8({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}(),UH=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],Kze=Vc(UH),Xze=function(){function e(){}return e.prototype.getLineStyle=function(t){return Kze(this,t)},e}(),YH=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],Zze=Vc(YH),Jze=function(){function e(){}return e.prototype.getItemStyle=function(t,n){return Zze(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}();H6(yn);rke(yn);sr(yn,Xze);sr(yn,Jze);sr(yn,ske);sr(yn,Yze);var Qze=Math.round(Math.random()*10);function hh(e){return[e||"",Qze++].join("_")}function eMe(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 tMe(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 nMe={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:". "}}}},rMe={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",n8="EN",sd=n8,p2={},r8={},KH=Jt.domSupported?function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||sd).toUpperCase();return e.indexOf(bm)>-1?bm:sd}():sd;function XH(e,t){e=e.toUpperCase(),r8[e]=new yn(t),p2[e]=t}function aMe(e){if(it(e)){var t=p2[e.toUpperCase()]||{};return e===bm||e===n8?kt(t):jt(kt(t),kt(p2[sd]),!1)}else return jt(kt(e),kt(p2[sd]),!1)}function tx(e){return r8[e]}function iMe(){return r8[sd]}XH(n8,nMe);XH(bm,rMe);var a8=1e3,i8=a8*60,Xv=i8*60,vi=Xv*24,KM=vi*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}",XM={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"],ZH=["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 oMe(e){return e===ud(e)}function lMe(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[o8(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||KH)||iMe(),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 sMe(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=JH(e.value,a);if(s[u])i=s[u];else if(s.inherit){for(var c=ZH.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 JH(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 ZM(e,t,n){var r=ln(e)?Bo(e):e;switch(t=t||JH(e,n),t){case"year":return r[o8(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 o8(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 uMe(e){return e?"setUTCFullYear":"setFullYear"}function QH(e){return e?"setUTCMonth":"setMonth"}function ej(e){return e?"setUTCDate":"setDate"}function tj(e){return e?"setUTCHours":"setHours"}function nj(e){return e?"setUTCMinutes":"setMinutes"}function rj(e){return e?"setUTCSeconds":"setSeconds"}function aj(e){return e?"setUTCMilliseconds":"setMilliseconds"}function ij(e){if(!JF(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 oj(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=D6;function nx(e,t,n){var r="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function a(c){return c&&Gi(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)?ij(u):_w(e)?a(e):typeof e=="boolean"?e+"":"-"}var JM=["a","b","c","d","e","f","g"],h_=function(e,t){return"{"+e+(t??"")+"}"};function lj(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=JM[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_(JM[s],l),n?Ta(u):u)}return e}function cMe(e,t,n){return K(t,function(r,a){e=e.replace("{"+a+"}",r)}),e}function fMe(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,sj=["left","right","top","bottom","width","height"],sc=[["width","left","right"],["height","top","bottom"]];function l8(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=l8;Bt(l8,"vertical");Bt(l8,"horizontal");function dMe(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 hMe(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 uj({},e)}function uj(e,t){return t&&e&&g2(sj,function(n){t.hasOwnProperty(n)&&(e[n]=t[n])}),e}var vMe=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(!eke(n))return n.defaultOption;var r=vMe(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);sH(Qt,yn);Ky(Qt);eMe(Qt);tMe(Qt,pMe);function pMe(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 cj="";typeof navigator<"u"&&(cj=navigator.platform||"");var bf="rgba(0, 0, 0, 0.2)";const gMe={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:cj.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 fj=pt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ii="original",Jr="arrayRows",Di="objectRows",Go="keyedColumns",Ps="typedArray",dj="unknown",Io="column",gh="row",Dr={Must:1,Might:2,Not:3},hj=an();function mMe(e){hj(e).datasetMap=pt()}function vj(e,t,n){var r={},a=u8(t);if(!a||!e)return r;var i=[],o=[],l=t.ecModel,s=hj(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 s8(e,t,n){var r={},a=u8(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=gj(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 u8(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 yMe(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 pj(e,t){return gj(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function gj(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 bMe(e,t){ha(rx.get(e)==null&&t),rx.set(e,t)}function _Me(e,t,n){var r=rx.get(t);if(!r)return n;var a=r(e);return a?n.concat(a):n}var QM=an(),wMe=an(),c8=function(){function e(){}return e.prototype.getColorFromPalette=function(t,n,r){var a=Cn(this.get("color",!0)),i=this.get("colorLayer",!0);return mj(this,QM,a,i,t,n,r)},e.prototype.clearColorPalette=function(){SMe(this,QM)},e}();function ax(e,t,n,r){var a=Cn(e.get(["aria","decal","decals"]));return mj(e,wMe,a,null,t,n,r)}function xMe(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 mj(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:xMe(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 SMe(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var jg,Bh,eE,tE="\0_ec_inner",CMe=1,f8=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=aE(r);this._optionManager.setOption(n,a,i),this._resetOption(null,i)},t.prototype.resetOption=function(n,r){return this._resetOption(n,aE(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"?eE(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;mMe(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=_Me(this,f,Cn(n[f])),h=i.get(f),v=h?u&&u.get(f)?"replaceMerge":"normalMerge":"replaceAll",p=rH(h,d,v);G7e(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 E=$e({componentIndex:x},w.keyInfo);S=new z(C,this,this,E),$e(S,E),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]&&!O1(i[s])?l=!0:(i[s]=null,!l&&o--);i.length=o,n[a]=i}}),delete n[tE],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=nE("id",i,l):o!=null?s=nE("name",o,l):s=_n(l,function(u){return!!u}),rE(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(rE(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"||!TMe(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){},eE=function(n,r){n.option={},n.option[tE]=CMe,n._componentsMap=pt({series:[]}),n._componentsCount=pt();var a=r.aria;wt(a)&&a.enabled==null&&(a.enabled=!0),kMe(r,n._theme.option),jt(r,gMe,!1),n._mergeOption(r,null)}}(),t}(yn);function TMe(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 kMe(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 nE(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 rE(e,t){return t.hasOwnProperty("subType")?_n(e,function(n){return n&&n.subType===t.subType}):e}function aE(e){var t=pt();return e&&K(Cn(e.replaceMerge),function(n){t.set(n,!0)}),{replaceMergeMainTypeMap:t}}sr(f8,c8);var zMe=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],yj=function(){function e(t){K(zMe,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}(),MMe=/^(min|max)?(.+)$/,EMe=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=AMe(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++)IMe(a[s].query,n,r)&&o.push(s);return!o.length&&i&&(o=[-1]),o.length&&!LMe(o,this._currentMediaIndices)&&(l=Ge(o,function(c){return kt(c===-1?i.option:a[c].option)})),this._currentMediaIndices=o,l},e}();function AMe(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 IMe(e,t,n){var r={width:t,height:n,aspectratio:t/n},a=!0;return K(e,function(i,o){var l=o.match(MMe);if(!(!l||!l[1]||!l[2])){var s=l[1],u=l[2].toLowerCase();DMe(r[u],i,s)||(a=!1)}}),a}function DMe(e,t,n){return n==="min"?e>=t:n==="max"?e<=t:e===t}function LMe(e,t){return e.join(",")===t.join(",")}var Pi=K,j1=wt,iE=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function p_(e){var t=e&&e.itemStyle;if(t)for(var n=0,r=iE.length;n<r;n++){var a=iE[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=fM.length;a<i;a++){var o=fM[a];r.hasOwnProperty(o)&&(n[o]=r[o])}}function ii(e){e&&(mv(e),nr(e,"label"),e.emphasis&&nr(e.emphasis,"label"))}function PMe(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),ii(t));var n=e.markLine;n&&(p_(n),ii(n));var r=e.markArea;r&&ii(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++)ii(i[o]);K(e.categories,function(u){mv(u)})}if(a&&!Pa(a))for(var o=0;o<a.length;o++)ii(a[o]);if(t=e.markPoint,t&&t.data)for(var l=t.data,o=0;o<l.length;o++)ii(l[o]);if(n=e.markLine,n&&n.data)for(var s=n.data,o=0;o<s.length;o++)He(s[o])?(ii(s[o][0]),ii(s[o][1])):ii(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 oE(e){return(He(e)?e[0]:e)||{}}function RMe(e,t){Pi(tl(e.series),function(r){j1(r)&&PMe(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)&&(ii(r),Pi(tl(r.regions),function(a){ii(a)}))}),Pi(tl(e.timeline),function(r){ii(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(oE(e.axisPointer),"label"),nr(oE(e.tooltip).axisPointer,"label")}function NMe(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 OMe(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 lE(e){e&&K($Me,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var $Me=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],VMe=["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 sE(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(e.edgeDistance=e.margin)}function uE(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay)}function BMe(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(e.emphasis.focus="adjacency"))}function bj(e,t){if(e)for(var n=0;n<e.length;n++)t(e[n]),e[n]&&bj(e[n].children,t)}function _j(e,t){RMe(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),sE(n.label);var a=n.data;if(a&&!Pa(a))for(var i=0;i<a.length;i++)sE(a[i]);n.hoverOffset!=null&&(n.emphasis=n.emphasis||{},(n.emphasis.scaleSize=null)&&(n.emphasis.scaleSize=n.hoverOffset))}else if(r==="gauge"){var o=NMe(n,"pointer.color");o!=null&&OMe(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)),uE(n),bj(n.data,uE)}else r==="graph"||r==="sankey"?BMe(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)),lE(n)}}),e.dataRange&&(e.visualMap=e.dataRange),K(VMe,function(n){var r=e[n];r&&(He(r)||(r=[r]),K(r,function(a){lE(a)}))})}function FMe(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(HMe)}function HMe(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=P7e(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||dj,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&&pj(this,r)===Dr.Must&&(a.type="ordinal")}}return e}();function d8(e){return e instanceof d3}function ix(e,t,n){n=n||wj(e);var r=t.seriesLayoutBy,a=qMe(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 h8(e){return new d3({data:e,sourceFormat:Pa(e)?Ps:Ii})}function jMe(e){return new d3({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:kt(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function wj(e){var t=dj;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 qMe(e,t,n,r,a){var i,o;if(!e)return{dimensionsDefine:cE(a),startIndex:o,dimensionsDetectedCount:i};if(t===Jr){var l=e;r==="auto"||r==null?fE(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=[],fE(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=GMe(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:cE(a),dimensionsDetectedCount:i}}function GMe(e){for(var t=0,n;t<e.length&&!(n=e[t++]););if(n)return tn(n)}function cE(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 fE(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 xj(e){var t=e.sourceFormat;return t===Di||t===Go}var Iu,Du,Lu,dE,hE,Sj=function(){function e(t,n){var r=d8(t)?t:h8(t);this._source=r;var a=this._data=r.data;r.sourceFormat===Ps&&(this._offset=0,this._dimSize=n,this._data=a),hE(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;hE=function(o,l,s){var u=s.sourceFormat,c=s.seriesLayoutBy,f=s.startIndex,d=s.dimensionsDefine,h=dE[v8(u,c)];if($e(o,h),u===Ps)o.getItem=n,o.count=a,o.fillStorage=r;else{var v=Cj(u,c);o.getItem=lt(v,null,l,f,d);var p=Tj(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};dE=(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}(),vE=function(e,t,n,r){return e[r]},WMe=(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]=vE,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]=vE,Iu);function Cj(e,t){var n=WMe[v8(e,t)];return n}var pE=function(e,t,n){return e.length},UMe=(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]=pE,Du[Go]=function(e,t,n){var r=n[0].name,a=e[r];return a?a.length:0},Du[Ii]=pE,Du);function Tj(e,t){var n=UMe[v8(e,t)];return n}var m_=function(e,t,n){return e[t]},YMe=(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 kj(e){var t=YMe[e];return t}function v8(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 kj(i)(r,o,l)}else{var s=r;return i===Ii&&(s=sh(r)),s}}}}var KMe=/\{@(.+?)\}/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=lj(i,s);return c.replace(KMe,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 gE(e){var t,n;return wt(e)?e.type&&(n=e):t=e,{text:t,frag:n}}function Zv(e){return new XMe(e)}var XMe=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){mE.reset(n,r,a,i),this._callingProgress=t,this._callingProgress({start:n,end:r,count:r-n,next:mE.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}(),mE=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 ZMe=pt({number:function(e){return parseFloat(e)},time:function(e){return+Bo(e)},trim:function(e){return it(e)?Gi(e):e}});function zj(e){return ZMe.get(e)}var Mj={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}},JMe=function(){function e(t,n){if(!ln(n)){var r="";pn(r)}this._opFn=Mj[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}(),Ej=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}(),QMe=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 eEe(e,t){return e==="eq"||e==="ne"?new QMe(e==="eq",t):ht(Mj,e)?new JMe(e,t):null}var tEe=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 nEe(e,t){var n=new tEe,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=Cj(a,Io);t.__isBuiltIn&&(n.getRawDataItem=function(p){return f(r,i,l,p)},n.getRawData=lt(rEe,null,e)),n.cloneRawData=lt(aEe,null,e);var d=Tj(a,Io);n.count=lt(d,null,r,i,l);var h=kj(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(iEe,null,l,s),n.cloneAllDimensionInfo=lt(oEe,null,l),n}function rEe(e){var t=e.sourceFormat;if(!p8(t)){var n="";pn(n)}return e.data}function aEe(e){var t=e.sourceFormat,n=e.data;if(!p8(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 iEe(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 oEe(e){return kt(e)}var Aj=pt();function lEe(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 sEe(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=uEe(s,t),o!==l-1&&(t.length=Math.max(t.length,1))}return t}function uEe(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 nEe(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=wj(u.data);p8(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 p8(e){return e===Jr||e===Di}var v3="undefined",cEe=typeof Uint32Array===v3?Array:Uint32Array,fEe=typeof Uint16Array===v3?Array:Uint16Array,Ij=typeof Int32Array===v3?Array:Int32Array,yE=typeof Float64Array===v3?Array:Float64Array,Dj={float:yE,int:Ij,ordinal:Array,number:Array,time:yE},y_;function Hh(e){return e>65535?cEe:fEe}function _f(){return[1/0,-1/0]}function dEe(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function bE(e,t,n,r,a){var i=Dj[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=[],xj(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 Dj[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];bE(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()),bE(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 E=a[z],b=h[E][C];(b<t[E][0]||b>t[E][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 E=-1,A=0,_=S;_<C;_++){var w=this.getRawIndex(_),x=i[w];if(isNaN(x)){A++,E<0&&(E=w);continue}f=Math.abs((T-m)*(x-z)-(T-_)*(b-z)),f>c&&(c=f,d=w)}A>0&&A<C-S&&(h[l++]=Math.min(E,d),d=Math.max(E,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&&Oo(t,function(l,s){return l[s]=!0,l},{});if(i)for(var o=0;o<a.length;o++)r._chunks[o]=i[o]?dEe(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}(),Lj=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=$t(f.seriesLayoutBy,d.seriesLayoutBy)||null,v=$t(f.sourceHeader,d.sourceHeader),p=$t(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&&wE(i)}var o,l=[],s=[];return K(t,function(u){u.prepareSource();var c=u.getSource(a||0),f="";a!=null&&!c&&wE(f),l.push(c),s.push(u._getVersionSign())}),r?o=sEe(r,l,{datasetIndex:n.componentIndex}):a!=null&&(o=[jMe(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 Sj(n,t.length),t)),o[r]=l}return l},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(qg(t)){var n=u8(t);return n?[n.getSourceManager()]:[]}else return Ge(yMe(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 _E(e){var t=e.option.transform;t&&rm(e.option.transform)}function qg(e){return e.mainType==="series"}function wE(e){throw new Error(e)}var Pj="line-height:1";function Rj(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 hEe=[0,10,20,30],vEe=["",`
- `,`
- `,`
- `];function Cr(e,t){return t.type=e,t}function lx(e){return e.type==="section"}function Nj(e){return lx(e)?pEe:gEe}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 pEe(e,t,n,r){var a=t.noHeader,i=mEe(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 Ej(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=Nj(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=Rj(r,e.renderMode).nameStyle;return e.renderMode==="richText"?$j(e,d,h)+i.richText+f:sx('<div style="'+h+";"+Pj+';">'+Ta(d)+"</div>"+f,n)}function gEe(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=Rj(r,a),b=m.nameStyle,_=m.valueStyle;return a==="richText"?(l?"":f)+(i?"":$j(e,d,b))+(o?"":_Ee(e,v,p,g,_)):sx((l?"":f)+(i?"":yEe(d,!l,b))+(o?"":bEe(v,p,g,_)),n)}}function xE(e,t,n,r,a,i){if(e){var o=Nj(e),l={useUTC:a,renderMode:n,orderMode:r,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(l,e,0,i)}}function mEe(e){return{html:hEe[e],richText:vEe[e]}}function sx(e,t){var n='<div style="clear:both"></div>',r="margin: "+t+"px 0 0";return'<div style="'+r+";"+Pj+';">'+e+n+"</div>"}function yEe(e,t,n){var r=t?"margin-left:2px":"";return'<span style="'+n+";"+r+'">'+Ta(e)+"</span>"}function bEe(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(" ")+"</span>"}function $j(e,t,n){return e.markupStyleCreator.wrapRichTextStyle(t,n)}function _Ee(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 Vj(e,t){var n=e.getData().getItemVisual(t,"style"),r=n[e.visualDrawType];return Fc(r)}function Bj(e,t){var n=e.get("padding");return n??(t==="richText"?[8,10]:10)}var b_=function(){function e(){this.richTextStyles={},this._nextStyleNameId=QF()}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=fMe({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 Fj(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=Vj(t,n),c,f,d,h;if(o>1||s&&!o){var v=wEe(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=B6(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:!Gi(_),value:c,valueType:f,dataIndex:n})].concat(d||[])})}function wEe(e,t,n,r,a){var i=t.getData(),o=Oo(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:SEe,reset:CEe}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(n,a);var i=Zl(this).sourceManager=new Lj(this);i.prepareSource();var o=this.getInitialData(n,a);CE(o,this),this.dataTask.context.data=o,Zl(this).dataBeforeProcessed=o,SE(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()),Oc(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);CE(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Zl(this).dataBeforeProcessed=o,SE(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&&Oc(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 Fj({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=c8.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,c8);sH(Ln,Qt);function SE(e){var t=e.name;B6(e)||(e.name=xEe(e)||t)}function xEe(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 SEe(e){return e.model.getRawData().count()}function CEe(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),TEe}function TEe(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function CE(e,t){K(am(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(n){e.wrapMethod(n,Bt(kEe,t))})}function kEe(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 Et,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}();H6(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 Hj=an(),zEe=mh(),zn=function(){function e(){this.group=new Et,this.uid=hh("viewChart"),this.renderTask=Zv({plan:MEe,reset:EEe}),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&&kE(i,a,"emphasis")},e.prototype.downplay=function(t,n,r,a){var i=t.getData(a&&a.dataType);i&&kE(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){Hj(t).updateMethod=n},e.protoInitialize=function(){var t=e.prototype;t.type="chart"}(),e}();function TE(e,t,n){e&&V1(e)&&(t==="emphasis"?kl:zl)(e,n)}function kE(e,t,n){var r=$c(e,t),a=t&&t.highlightKey!=null?lze(t.highlightKey):null;r!=null?K(Cn(r),function(i){TE(e.getItemGraphicEl(i),n,a)}):e.eachItemGraphicEl(function(i){TE(i,n,a)})}H6(zn);Ky(zn);function MEe(e){return zEe(e.model)}function EEe(e){var t=e.model,n=e.ecModel,r=e.api,a=e.payload,i=t.pipelineContext.progressiveRender,o=e.view,l=a&&Hj(a).updateMethod,s=i?"incrementalPrepareRender":l&&o[l]?l:"render";return s!=="render"&&o[s](t,n,r,a),AEe[s]}var AEe={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",zE="\0__throttleRate",ME="\0__throttleType";function g8(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[ME],l=a[zE];if(l!==n||o!==r){if(n==null||!r)return e[t]=i;a=e[t]=g8(i,n,r==="debounce"),a[wm]=i,a[ME]=r,a[zE]=n}return a}}function q1(e,t){var n=e[t];n&&n[wm]&&(n.clear&&n.clear(),e[t]=n[wm])}var EE=an(),AE={itemStyle:Vc(YH,!0),lineStyle:Vc(UH,!0)},IEe={lineStyle:"stroke",itemStyle:"fill"};function jj(e,t){var n=e.visualStyleMapper||AE[t];return n||(console.warn("Unknown style type '"+t+"'."),AE.itemStyle)}function qj(e,t){var n=e.visualDrawType||IEe[t];return n||(console.warn("Unknown style type '"+t+"'."),"fill")}var DEe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=e.getModel(r),i=jj(e,r),o=i(a),l=a.getShallow("decal");l&&(n.setVisual("decal",l),l.dirty=!0);var s=qj(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,LEe={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var n=e.getData(),r=e.visualStyleAccessPath||"itemStyle",a=jj(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}}}},PEe={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)),EE(n).scope=i}}),e.eachSeries(function(n){if(!(n.isColorBySeries()||e.isSeriesFiltered(n))){var r=n.getRawData(),a={},i=n.getData(),o=EE(n).scope,l=n.visualStyleAccessPath||"itemStyle",s=qj(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 REe(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 Et,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 Gj=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:BEe,reset:FEe,count:jEe}));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:NEe});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:OEe,onDirty:VEe})));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:qEe(t)}),t.uid=hh("stageHandler"),n&&(t.visualType=n),t},e}();function NEe(e){e.overallReset(e.ecModel,e.api,e.payload)}function OEe(e){return e.overallProgress&&$Ee}function $Ee(){this.agent.dirty(),this.getDownstream().dirty()}function VEe(){this.agent&&this.agent.dirty()}function BEe(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function FEe(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 Wj(r)}):HEe}var HEe=Wj(0);function Wj(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 jEe(e){return e.data.count()}function qEe(e){xm=null;try{e(G1,Uj)}catch{}return xm}var G1={},Uj={},xm;Yj(G1,f8);Yj(Uj,yj);G1.eachSeriesByType=G1.eachRawSeriesByType=function(e){xm=e};G1.eachComponent=function(e){e.mainType==="series"&&e.subType&&(xm=e.subType)};function Yj(e,t){for(var n in t.prototype)e[n]=er}var IE=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const GEe={color:IE,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],IE]};var ra="#B9B8CE",DE="#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"}}}},LE=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],Kj={darkMode:!0,color:LE,backgroundColor:DE,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:DE},dayLabel:{color:ra},monthLabel:{color:ra},yearLabel:{color:ra}},timeAxis:Ug(),logAxis:Ug(),valueAxis:Ug(),categoryAxis:Ug(),line:{symbol:"circle"},graph:{color:LE},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"}}};Kj.categoryAxis.splitLine.show=!1;var WEe=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"],PE=cx.concat(["symbolKeepAspect"]),UEe={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}}},YEe={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<PE.length;l++){var s=PE[l],u=o.getShallow(s,!0);u!=null&&a.setItemVisual(i,s,u)}}return{dataEach:n.hasItemOption?r:null}}};function m8(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 Xj(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 Zj(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 KEe(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 XEe=Math.round(Math.random()*9),ZEe=typeof Object.defineProperty=="function",JEe=function(){function e(){this._id="__ec_inner_"+XEe++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,n){var r=this._guard(t);return ZEe?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}(),QEe=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()}}),eAe=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()}}),tAe=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()}}),nAe=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()}}),rAe={line:mr,rect:rn,roundRect:rn,square:rn,circle:Hl,diamond:eAe,pin:tAe,arrow:nAe,triangle:QEe},aAe={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(rAe,function(e,t){Sm[t]=new e});var iAe=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]),aAe[r](t.x,t.y,t.width,t.height,a.shape),a.buildPath(e,a.shape,n)}}});function oAe(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=VH(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 iAe({shape:{symbolType:e,x:t,y:n,width:r,height:a}}),s.__isEmptyBrush=l,s.setColor=oAe,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($t(e[1],e[0]),t[1])||0]}function cc(e){return isFinite(e)}function lAe(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 sAe(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"?sAe(e,t,n):lAe(e,t,n),a=t.colorStops,i=0;i<a.length;i++)r.addColorStop(a[i].offset,a[i].color);return r}function uAe(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 cAe(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 y8(e){var t=e.style,n=t.lineDash&&t.lineWidth>0&&cAe(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 fAe=new Fo(!0);function Cm(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function RE(e){return typeof e=="string"&&e!=="none"}function Tm(e){var t=e.fill;return t!=null&&t!=="none"}function NE(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 OE(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=j6(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 dAe(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||fAe,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=y8(t),T=a[0],z=a[1]);var E=!0;(u||f&$f)&&(c.setDPR(e.dpr),s?c.setContext(null):(c.setContext(e),E=!1),c.reset(),t.buildPath(c,t.shape,r),c.toStatic(),t.pathUpdated()),E&&c.rebuildPath(e,s?l:1),T&&(e.setLineDash(T),e.lineDashOffset=z),r||(n.strokeFirst?(i&&OE(e,n),o&&NE(e,n)):(o&&NE(e,n),i&&OE(e,n))),T&&e.setLineDash([])}function hAe(e,t,n){var r=t.__image=j6(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 vAe(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=y8(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 $E=["shadowBlur","shadowOffsetX","shadowOffsetY"],VE=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Jj(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<$E.length;l++){var s=$E[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 BE(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=Jj(e,i,o,r,a);if((r||i.fill!==o.fill)&&(l||(Ma(e,a),l=!0),RE(i.fill)&&(e.fillStyle=i.fill)),(r||i.stroke!==o.stroke)&&(l||(Ma(e,a),l=!0),RE(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<VE.length;c++){var f=VE[c],d=f[0];(r||i[d]!==o[d])&&(l||(Ma(e,a),l=!0),e[d]=i[d]||f[1])}return l}function pAe(e,t,n,r,a){return Jj(e,W1(t,a.inHover),n&&W1(n,a.inHover),r,a)}function Qj(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 gAe(e,t,n){for(var r=!1,a=0;a<e.length;a++){var i=e[a];r=r||i.isZeroArea(),Qj(t,i),t.beginPath(),i.buildPath(t,i.shape),t.clip()}n.allClipped=r}function mAe(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 FE=1,HE=2,jE=3,qE=4;function yAe(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 eq(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||uAe(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(),gAe(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&&yAe(t.style);l||mAe(a,u.transform)?(Ma(e,n),Qj(e,t)):c||Ma(e,n);var f=W1(t,n.inHover);t instanceof Zt?(n.lastDrawType!==FE&&(s=!0,n.lastDrawType=FE),BE(e,t,u,s,n),(!c||!n.batchFill&&!n.batchStroke)&&e.beginPath(),dAe(e,t,f,c),c&&(n.batchFill=f.fill||"",n.batchStroke=f.stroke||"")):t instanceof Nd?(n.lastDrawType!==jE&&(s=!0,n.lastDrawType=jE),BE(e,t,u,s,n),vAe(e,t,f)):t instanceof Ir?(n.lastDrawType!==HE&&(s=!0,n.lastDrawType=HE),pAe(e,t,u,s,n),hAe(e,t,f)):t.getTemporalDisplayables&&(n.lastDrawType!==qE&&(s=!0,n.lastDrawType=qE),bAe(e,t,n)),c&&r&&Ma(e,n),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),n.prevEl=t,t.__dirty=0,t.__isRendered=!0}function bAe(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 JEe,GE=new kp(100),WE=["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<WE.length;++d){var h=o[WE[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=GE.get(v);p&&(a?u.svgElement=p:u.image=p)}var g=nq(o.dashArrayX),m=_Ae(o.dashArrayY),b=tq(o.symbol),_=wAe(g),w=rq(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")),E(),f&&GE.put(v,x||S),u.image=x,u.svgElement=S,u.svgWidth=C.width,u.svgHeight=C.height;function z(){for(var A=1,D=0,$=_.length;D<$;++D)A=uM(A,_[D]);for(var N=1,D=0,$=b.length;D<$;++D)N=uM(N,b[D].length);A*=N;var R=w*_.length*b.length;return{width:Math.max(1,Math.min(A,o.maxTileWidth)),height:Math.max(1,Math.min(R,o.maxTileHeight))}}function E(){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 A=0,D=0;D<m.length;++D)A+=m[D];if(A<=0)return;for(var $=-w,N=0,R=0,O=0;$<C.height;){if(N%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[O].length;++D)Z+=g[O][D];if(Z<=0)break;if(P%2===0){var ee=(1-o.symbolSize)*.5,re=V+g[O][P]*ee,ue=$+m[N]*ee,ye=g[O][P]*o.symbolSize,le=m[N]*o.symbolSize,ae=W/2%b[B].length;ie(re,ue,ye,le,b[B][ae])}V+=g[O][P],++W,++P,P===g[O].length&&(P=0)}++O,O===g.length&&(O=0)}$+=m[N],++R,++N,N===m.length&&(N=0)}function ie(ve,ce,de,xe,J){var oe=a?1:n,pe=lr(J,ve*oe,ce*oe,de*oe,xe*oe,o.color,o.symbolKeepAspect);if(a){var Te=r.painter.renderOneToVNode(pe);Te&&S.children.push(Te)}else eq(T,pe)}}}}function tq(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 tq([e]);for(var r=[],n=0;n<e.length;++n)it(e[n])?r.push([e[n]]):r.push(e[n]);return r}function nq(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 nq([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 _Ae(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 wAe(e){return Ge(e,function(t){return rq(t)})}function rq(e){for(var t=0,n=0;n<e.length;++n)t+=e[n];return e.length%2===1?t*2:t}function xAe(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 Ai,aq={};function SAe(e,t){aq[e]=t}function CAe(e){return aq[e]}var TAe=1,kAe=800,zAe=900,MAe=1e3,EAe=2e3,AAe=5e3,iq=1e3,IAe=1100,b8=2e3,oq=3e3,DAe=4e3,p3=4500,LAe=4600,PAe=5e3,RAe=6e3,lq=7e3,NAe={PROCESSOR:{FILTER:MAe,SERIES_FILTER:kAe,STATISTIC:AAe},VISUAL:{LAYOUT:iq,PROGRESSIVE_LAYOUT:IAe,GLOBAL:b8,CHART:oq,POST_CHART_LAYOUT:LAe,COMPONENT:DAe,BRUSH:PAe,CHART_ITEM:p3,ARIA:RAe,DECAL:lq}},jr="__flagInMainProcess",xa="__pendingUpdate",w_="__needsUpdateStatus",UE=/^[a-zA-Z0-9_]+$/,x_="__connectUpdateStatus",YE=0,OAe=1,$Ae=2;function sq(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this.isDisposed()){this.id;return}return cq(this,e,t)}}function uq(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return cq(this,e,t)}}function cq(e,t,n){return n[0]=n[0]&&n[0].toLowerCase(),Ai.prototype[t].apply(e,n)}var fq=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(Ai),dq=fq.prototype;dq.on=uq("on");dq.off=uq("off");var xf,S_,Kg,Jl,C_,T_,k_,qh,Gh,KE,XE,z_,ZE,Xg,JE,hq,Ja,QE,vq=function(e){Se(t,e);function t(n,r,a){var i=e.call(this,new WEe)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],a=a||{},it(r)&&(r=pq[r]),i._dom=n;var o="canvas",l="auto",s=!1;a.ssr&&A7e(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=iM(n,{renderer:a.renderer||o,devicePixelRatio:a.devicePixelRatio,width:a.width,height:a.height,ssr:a.ssr,useDirtyRect:$t(a.useDirtyRect,s),useCoarsePointer:$t(a.useCoarsePointer,l),pointerSize:a.pointerSize});i._ssr=a.ssr,i._throttledZrFlush=g8(lt(u.flush,u),17),r=kt(r),r&&_j(r,!0),i._theme=r,i._locale=aMe(a.locale||KH),i._coordSysMgr=new Pp;var c=i._api=JE(i);function f(d,h){return d.__prio-h.__prio}return l2(zm,f),l2(hx,f),i._scheduler=new Gj(i,c,hx,zm),i._messageCenter=new fq,i._initEvents(),i.resize=lt(i.resize,i),u.animation.on("frame",i._onframe,i),KE(u,i),XE(u,i),rm(i),i}return t.prototype._onframe=function(){if(!this._disposed){QE(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=TAe,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 EMe(this._api),u=this._theme,c=this._model=new f8;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(eA[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=iM(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?m8(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(VAe,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)}),KEe(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&&iH(this.getDom(),w8,"");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 E=ko(S.type),A=d?Hn.getClass(E.main,E.sub):zn.getClass(E.sub);z=new A,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(RM(h))if(S instanceof Ln)h.type===xc&&!h.notBlur&&!S.get(["emphasis","disabled"])&&Qke(S,h,f._api);else{var T=K6(S.mainType,S.componentIndex,h.name,f._api),z=T.focusSelf,E=T.dispatchers;h.type===xc&&z&&!h.notBlur&&Kw(S.mainType,S.componentIndex,f._api),E&&K(E,function(A){h.type===xc?kl(A):zl(A)})}else Zw(h)&&S instanceof Ln&&(nze(S,h,f._api),LM(S),Ja(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(N){return N=_t($e({},N),f),N.batch=null,N}));var T=[],z,E=Zw(f),A=RM(f);if(A&&kH(this._api),K(S,function(N){if(z=m.action(N,h._model,h._api),z=z||$e({},N),z.type=b.event||z.type,T.push(z),A){var R=F6(f),O=R.queryOptionMap,B=R.mainTypeSpecified,V=B?O.keys()[0]:"series";Kg(h,w,N,V),Ja(h)}else E?(Kg(h,w,N,"series"),Ja(h)):x&&Kg(h,w,N,x.main,x.sub)}),w!=="none"&&!A&&!E&&!x)try{this[xa]?(xf(this),Jl.update.call(this,f),this[xa]=null):Jl[w].call(this,f)}catch(N){throw this[jr]=!1,N}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),E){var $={type:"selectchanged",escapeConnect:g,selected:rze(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")},KE=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")})},XE=function(f,d){f.on("mouseover",function(h){var v=h.target,p=uc(v,V1);p&&(eze(p,h,d._api),Ja(d))}).on("mouseout",function(h){var v=h.target,p=uc(v,V1);p&&(tze(p,h,d._api),Ja(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),ZE(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)})},ZE=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),LM(_)}),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)},Ja=function(f){f[w_]=!0,f.getZr().wakeUp()},QE=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===Ep&&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&&sze(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)}})}JE=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),Ja(f)},h.prototype.leaveEmphasis=function(v,p){zl(v,p),Ja(f)},h.prototype.enterBlur=function(v){xH(v),Ja(f)},h.prototype.leaveBlur=function(v){Y6(v),Ja(f)},h.prototype.enterSelect=function(v){SH(v),Ja(f)},h.prototype.leaveSelect=function(v){CH(v),Ja(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}(yj))(f)},hq=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(eA[f.group]&&f[x_]!==YE){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,YE),K(m,function(b){b[x_]!==OAe&&b.dispatchAction(g)}),d(m,$Ae)}})})}}(),t}(Ai),_8=vq.prototype;_8.on=sq("on");_8.off=sq("off");_8.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 VAe=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"],km={},Jv={},hx=[],vx=[],zm=[],pq={},px={},Qv={},eA={},BAe=+new Date-0,w8="_echarts_instance_";function gq(e,t,n){{var r=FAe(e);if(r)return r}var a=new vq(e,t,n);return a.id="ec_"+BAe++,Qv[a.id]=a,iH(e,w8,a.id),hq(a),Vi.trigger("afterinit",a),a}function FAe(e){return Qv[X7e(e,w8)]}function mq(e,t){pq[e]=t}function yq(e){Yt(vx,e)<0&&vx.push(e)}function bq(e,t){S8(hx,e,t,EAe)}function HAe(e){x8("afterinit",e)}function jAe(e){x8("afterupdate",e)}function x8(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(UE.test(r)&&UE.test(t)),km[r]||(km[r]={action:n,actionInfo:e}),Jv[t]=r)}function qAe(e,t){Pp.register(e,t)}function GAe(e,t){S8(zm,e,t,iq,"layout")}function tf(e,t){S8(zm,e,t,oq,"visual")}var tA=[];function S8(e,t,n,r,a){if((yt(t)||wt(t))&&(n=t,t=r),!(Yt(tA,n)>=0)){tA.push(n);var i=Gj.wrapStageHandler(n,a);i.__prio=t,i.__raw=n,e.push(i)}}function _q(e,t){px[e]=t}function WAe(e,t,n){var r=CAe("registerMap");r&&r(e,t,n)}var UAe=lEe;tf(b8,DEe);tf(p3,LEe);tf(p3,PEe);tf(b8,UEe);tf(p3,YEe);tf(lq,xAe);yq(_j);bq(zAe,FMe);_q("default",REe);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);mq("light",GEe);mq("dark",Kj);var nA=[],YAe={registerPreprocessor:yq,registerProcessor:bq,registerPostInit:HAe,registerPostUpdate:jAe,registerUpdateLifecycle:x8,registerAction:Wo,registerCoordinateSystem:qAe,registerLayout:GAe,registerVisual:tf,registerTransform:UAe,registerLoading:_q,registerMap:WAe,registerImpl:SAe,PRIORITY:NAe,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){M7e(e,t)}};function Kt(e){if(He(e)){K(e,function(t){Kt(t)});return}Yt(nA,e)>=0||(nA.push(e),yt(e)&&(e={install:e}),e.install(YAe))}function Wh(e){return e==null?0:e.length||1}function rA(e){return e}var Ml=function(){function e(t,n,r,a,i,o){this._old=t,this._new=n,this._oldKeyGetter=r||rA,this._newKeyGetter=a||rA,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}(),KAe=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 XAe(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),ZAe(h.type)&&(i[0]=d),M_(l,v)[p]=e.getDimensionIndex(h.name)),h.defaultTooltip&&o.push(d)}fj.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 KAe(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 ZAe(e){return!(e==="ordinal"||e==="time")}var y2=function(){function e(t){this.otherDims={},t!=null&&$e(this,t)}return e}(),JAe=an(),QAe={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},wq=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=Cq(this.source)))},e.prototype.getSourceDimensionIndex=function(t){return $t(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=xj(this.source),r=!Tq(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+=QAe[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 xq(e){return e instanceof wq}function Sq(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 Cq(e){var t=JAe(e);return t.dimNameMap||(t.dimNameMap=Sq(e.dimensionsDefine))}function Tq(e){return e>30}var Uh=wt,Ql=Ge,eIe=typeof Int32Array>"u"?Array:Int32Array,tIe="e\0\0",aA=-1,nIe=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],rIe=["_approximateExtent"],iA,Zg,Yh,Kh,E_,Jg,A_,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;xq(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=d8(t)||Zr(t)?new Sj(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=XAe(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&&A_(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&&O7e(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++)A_(this,c);iA(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)?aA: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)),E_(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(I6(arguments)))})},e.internalField=function(){iA=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 eIe(o.categories.length);for(var s=0;s<r.length;s++)r[s]=aA;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=tIe+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 E_(n,t),n},E_=function(t,n){K(nIe.concat(n.__wrappedMethods||[]),function(r){n.hasOwnProperty(r)&&(t[r]=n[r])}),t.__wrappedMethods=n.__wrappedMethods,K(rIe,function(r){t[r]=kt(n[r])}),t._calculationInfo=$e({},n._calculationInfo)},A_=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 Np(e,t){d8(e)||(e=h8(e)),t=t||{};var n=t.coordDimensions||[],r=t.dimensionsDefine||e.dimensionsDefine||[],a=pt(),i=[],o=iIe(e,n,r,t.dimensionsCount),l=t.canOmitUnusedDimensions&&Tq(o),s=r===e.dimensionsDefine,u=s?Cq(e):Sq(r),c=t.encodeDefine;!c&&t.encodeDefaulter&&(c=t.encodeDefaulter(e,o));for(var f=pt(c),d=new Ij(o),h=0;h<d.length;h++)d[h]=-1;function v(z){var E=d[z];if(E<0){var A=r[z],D=wt(A)?A:{name:A},$=new y2,N=D.name;N!=null&&u.get(N)!=null&&($.name=$.displayName=N),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[E]}if(!l)for(var h=0;h<o;h++)v(h);f.each(function(z,E){var A=Cn(z).slice();if(A.length===1&&!it(A[0])&&A[0]<0){f.set(E,!1);return}var D=f.set(E,[]);K(A,function($,N){var R=it($)?u.get($):$;R!=null&&R<o&&(D[N]=R,g(v(R),E,N))})});var p=0;K(n,function(z){var E,A,D,$;if(it(z))E=z,$={};else{$=z,E=$.name;var N=$.ordinalMeta;$.ordinalMeta=null,$=$e({},$),$.ordinalMeta=N,A=$.dimsDef,D=$.otherDims,$.name=$.coordDim=$.coordDimIndex=$.dimsDef=$.otherDims=null}var R=f.get(E);if(R!==!1){if(R=Cn(R),!R.length)for(var O=0;O<(A&&A.length||1);O++){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,$),E,V),P.name==null&&A){var W=A[V];!wt(W)&&(W={name:W}),P.name=P.displayName=W.name,P.defaultTooltip=W.defaultTooltip}D&&_t(P.otherDims,D)})}});function g(z,E,A){fj.get(E)!=null?z.otherDims[E]=A:(z.coordDim=E,z.coordDimIndex=A,a.set(E,!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,E){return z.storeDimIndex-E.storeDimIndex});else for(var S=0;S<o;S++){var C=v(S),T=C.coordDim;T==null&&(C.coordDim=oIe(w,a,_),C.coordDimIndex=0,(!m||b<=0)&&(C.isExtraCoord=!0),b--),x(C),C.type==null&&(pj(e,S)===Dr.Must||C.isExtraCoord&&(C.otherDims.itemName!=null||C.otherDims.seriesName!=null))&&(C.type="ordinal")}return aIe(i),new wq({source:e,dimensions:i,fullDimensionCount:o,dimensionOmitted:l})}function aIe(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 iIe(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 oIe(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 lIe=function(){function e(t){this.coordSysDims=[],this.axisMap=pt(),this.categoryAxisMap=pt(),this.coordSysName=t}return e}();function sIe(e){var t=e.get("coordinateSystem"),n=new lIe(t),r=uIe[t];if(r)return r(e,n,n.axisMap,n.categoryAxisMap),n}var uIe={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 cIe(e,t,n){n=n||{};var r=n.byIndex,a=n.stackedCoordDimension,i,o,l;fIe(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 fIe(e){return!xq(e.schema)}function Zs(e,t){return!!t&&t===e.getCalculationInfo("stackedDimension")}function kq(e,t){return Zs(e,t)?e.getCalculationInfo("stackResultDimension"):t}function dIe(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 hIe(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=h8(e)):(a=r.getSource(),i=a.sourceFormat===Ii);var o=sIe(t),l=dIe(t,o),s=n.useEncodeDefaulter,u=yt(s)?s:s?Bt(vj,l,t):null,c={coordDimensions:l,generateCoord:n.generateCoord,encodeDefine:t.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!i},f=Np(a,c),d=hIe(f.dimensions,n.createInvertedIndices,o),h=i?null:r.getSharedDataStore(f),v=cIe(t,{schema:f,store:h}),p=new ua(f,t);p.setCalculationInfo(v);var g=d!=null&&vIe(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 vIe(e){if(e.sourceFormat===Ii){var t=pIe(e.data||[]);return!He(sh(t))}}function pIe(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 gIe=0,gx=function(){function e(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++gIe}return e.createByAxisModel=function(t){var n=t.option,r=n.data,a=r&&Ge(r,mIe);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 mIe(e){return wt(e)&&e.value!=null?e.value:e+""}function mx(e){return e.type==="interval"||e.type==="log"}function yIe(e,t,n,r){var a={},i=e[1]-e[0],o=a.interval=ZF(i/t);n!=null&&o<n&&(o=a.interval=n),r!=null&&o>r&&(o=a.interval=r);var l=a.intervalPrecision=zq(o),s=a.niceTickExtent=[Zn(Math.ceil(e[0]/o)*o,l),Zn(Math.floor(e[1]/o)*o,l)];return bIe(s,e),a}function I_(e){var t=Math.pow(10,V6(e)),n=e/t;return n?n===2?n=3:n===3?n=5:n*=2:n=1,Zn(n*t)}function zq(e){return To(e)+2}function oA(e,t,n){e[t]=Math.max(Math.min(e[t],n[1]),n[0])}function bIe(e,t){!isFinite(e[0])&&(e[0]=t[0]),!isFinite(e[1])&&(e[1]=t[1]),oA(e,0,t),oA(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,El=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=zq(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 ij(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=yIe(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(El);var Mq=typeof Float32Array<"u",_Ie=Mq?Float32Array:Array;function zo(e){return He(e)?Mq?new Float32Array(e):e:new _Ie(e)}var yx="__ec_stack_";function C8(e){return e.get("stack")||yx+e.seriesIndex}function T8(e){return e.dim+e.index}function wIe(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=Iq(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 Eq(e,t){var n=[];return t.eachSeriesByType(e,function(r){Pq(r)&&n.push(r)}),n}function xIe(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=xIe(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")||(Rq(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:T8(i),stackId:C8(r)})}),Iq(n)}function Iq(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 SIe(e,t,n){if(e&&t){var r=e[T8(t)];return r!=null&&n!=null?r[C8(n)]:r}}function Dq(e,t){var n=Eq(e,t),r=Aq(n);K(n,function(a){var i=a.getData(),o=a.coordinateSystem,l=o.getBaseAxis(),s=C8(a),u=r[T8(l)][s],c=u.offset,f=u.width;i.setLayout({bandWidth:u.bandWidth,offset:c,size:f})})}function Lq(e){return{seriesType:e,plan:mh(),reset:function(t){if(Pq(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=CIe(a,i),v=Rq(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(),E=d?z.width:z.height,A,D=w.getStore(),$=0;(A=_.next())!=null;){var N=D.get(f?g:o,A),R=D.get(l,A),O=h,B=void 0;f&&(B=+N-D.get(o,A));var V=void 0,P=void 0,W=void 0,Z=void 0;if(d){var ee=r.dataToPoint([N,R]);if(f){var re=r.dataToPoint([B,R]);O=re[0]}V=O,P=ee[1]+b,W=ee[0]-O,Z=m,Math.abs(W)<p&&(W=(W<0?-1:1)*p)}else{var ee=r.dataToPoint([R,N]);if(f){var re=r.dataToPoint([R,B]);O=re[1]}V=ee[0]+b,P=O,W=m,Z=ee[1]-O,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]=E),T[A]=A):w.setItemLayout(A,{x:V,y:P,width:W,height:Z}),$+=3}v&&w.setLayout({largePoints:S,largeDataIndices:T,largeBackgroundPoints:C,valueAxisHorizontal:d})}}}}}}function Pq(e){return e.coordinateSystem&&e.coordinateSystem.type==="cartesian2d"}function Rq(e){return e.pipelineContext&&e.pipelineContext.large}function CIe(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 TIe=function(e,t,n,r){for(;n<r;){var a=n+r>>>1;e[a][1]<t?n=a+1:r=a}return n},k8=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,XM[lMe(ud(this._minLevelUnit))]||XM.second,r,this.getSetting("locale"))},t.prototype.getFormattedLabel=function(n,r,a){var i=this.getSetting("useUTC"),o=this.getSetting("locale");return sMe(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=DIe(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]-=vi,r[1]+=vi),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]-vi}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(TIe(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}(El),Qg=[["second",a8],["minute",i8],["hour",Xv],["quarter-day",Xv*6],["half-day",Xv*12],["day",vi*1.2],["half-week",vi*3.5],["week",vi*7],["month",vi*31],["quarter",vi*95],["half-year",KM/2],["year",KM]];function kIe(e,t,n,r){var a=Bo(t),i=Bo(n),o=function(v){return ZM(a,v,r)===ZM(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 zIe(e,t){return e/=vi,e>16?16:e>7.5?7:e>3.5?4:e>1.5?2:1}function MIe(e){var t=30*vi;return e/=t,e>6?6:e>3?3:e>2?2:1}function EIe(e){return e/=Xv,e>12?12:e>6?6:e>3.5?4:e>2?2:1}function lA(e,t){return e/=t?i8:a8,e>30?30:e>20?20:e>15?15:e>10?10:e>5?5:e>2?2:1}function AIe(e){return ZF(e)}function IIe(e,t,n){var r=new Date(e);switch(ud(t)){case"year":case"month":r[QH(n)](0);case"day":r[ej(n)](1);case"hour":r[tj(n)](0);case"minute":r[nj(n)](0);case"second":r[rj(n)](0),r[aj(n)](0)}return r.getTime()}function DIe(e,t,n,r){var a=1e4,i=ZH,o=0;function l(E,A,D,$,N,R,O){for(var B=new Date(A),V=A,P=B[$]();V<D&&V<=r[1];)O.push({value:V}),P+=E,B[N](P),V=B.getTime();O.push({value:V,notAdd:!0})}function s(E,A,D){var $=[],N=!A.length;if(!kIe(ud(E),r[0],r[1],n)){N&&(A=[{value:IIe(new Date(r[0]),E,n)},{value:r[1]}]);for(var R=0;R<A.length-1;R++){var O=A[R].value,B=A[R+1].value;if(O!==B){var V=void 0,P=void 0,W=void 0,Z=!1;switch(E){case"year":V=Math.max(1,Math.round(t/vi/365)),P=o8(n),W=uMe(n);break;case"half-year":case"quarter":case"month":V=MIe(t),P=cd(n),W=QH(n);break;case"week":case"half-week":case"day":V=zIe(t),P=l3(n),W=ej(n),Z=!0;break;case"half-day":case"quarter-day":case"hour":V=EIe(t),P=F1(n),W=tj(n);break;case"minute":V=lA(t,!0),P=s3(n),W=nj(n);break;case"second":V=lA(t,!1),P=u3(n),W=rj(n);break;case"millisecond":V=AIe(t),P=c3(n),W=aj(n);break}l(V,O,B,P,W,Z,$),E==="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(oMe(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(E,A){return E.value-A.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(E){return _n(E,function(A){return A.value>=r[0]&&A.value<=r[1]&&!A.notAdd})}),function(E){return E.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(E,A){return E.value-A.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(k8);var sA=Uo.prototype,e1=El.prototype,LIe=Zn,PIe=Math.floor,RIe=Math.ceil,e0=Math.pow,Ri=Math.log,z8=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 El,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=sA.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),sA.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=N7e(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(RIe(r[0]/i)*i),Zn(PIe(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),Nq=z8.prototype;Nq.getMinorTicks=e1.getMinorTicks;Nq.getLabel=e1.getLabel;function t0(e,t){return LIe(e,To(t))}Uo.registerClass(z8);var NIe=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=[Qi(u[0],1),Qi(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[$Ie[t]]=n},e.prototype.setDeterminedMinMax=function(t,n){var r=OIe[t];this[r]=n},e.prototype.freeze=function(){this.frozen=!0},e}(),OIe={min:"_determinedMin",max:"_determinedMax"},$Ie={min:"_dataMin",max:"_dataMax"};function Oq(e,t,n){var r=e.rawExtentInfo;return r||(r=new NIe(e,t,n),e.rawExtentInfo=r,r)}function n0(e,t){return t==null?null:D1(t)?NaN:e.parse(t)}function $q(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=Eq("bar",o),s=!1;if(K(l,function(f){s=s||f.getBaseAxis()===t.axis}),s){var u=Aq(l),c=VIe(a,i,t,u);a=c.min,i=c.max}}return{extent:[a,i],fixMin:r.minFixed,fixMax:r.maxFixed}}function VIe(e,t,n,r){var a=n.axis.getExtent(),i=a[1]-a[0],o=SIe(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=$q(e,n),a=r.extent,i=n.get("splitNumber");e instanceof z8&&(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 k8({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new(Uo.getClass(t)||El)}}function BIe(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(M8(e,a),i,a.level!=null?{level:a.level}:null)}}(t):function(r){return e.scale.getLabel(r)}}function M8(e,t){return e.type==="category"?e.scale.getLabel(t):t.value}function FIe(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=HIe(h,o.get("rotate")||0);s?s.union(v):s=v}return s}}function HIe(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 E8(e){var t=e.get("interval");return t??"auto"}function Vq(e){return e.type==="category"&&E8(e.getLabelModel())===0}function Em(e,t){var n={};return K(e.mapDimensionsAll(t),function(r){n[kq(e,r)]=!0}),tn(n)}function jIe(e,t,n){t&&K(Em(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 Op=function(){function e(){}return e.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},e.prototype.getCoordSysModel=function(){},e}(),qIe=1e-8;function uA(e,t){return Math.abs(e-t)<qIe}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(!uA(a[0],l[0])||!uA(a[1],l[1]))&&(r+=ol(a[0],a[1],l[0],l[1],t,n)),r!==0}var GIe=[];function D_(e,t){for(var n=0;n<e.length;n++)$r(e[n],e[n],t)}function cA(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 WIe(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 Bq=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}(),fA=function(){function e(t,n){this.type="polygon",this.exterior=t,this.interiors=n}return e}(),dA=function(){function e(t){this.type="linestring",this.points=t}return e}(),Fq=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 WIe(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"?cA(l.exterior,a,i,n):K(l.points,function(s){cA(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}(Bq),UIe=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(GIe),o=n;o&&!o.isGeoSVGGraphicRoot;)pl(i,o.getLocalTransform(),i),o=o.parent;return lh(i,i),$r(a,a,i),a},t}(Bq);function YIe(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=Hq(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]=Hq(e[r],t[r],n)}function Hq(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 KIe(e,t){return e=YIe(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 fA(o[0],o.slice(1)));break;case"MultiPolygon":K(a.coordinates,function(s){s[0]&&i.push(new fA(s[0],s.slice(1)))});break;case"LineString":i.push(new dA([a.coordinates]));break;case"MultiLineString":i.push(new dA(a.coordinates))}var l=new Fq(r[t||"name"],i,r.cp);return l.properties=r,l})}var U1=an();function jq(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 XIe(e){var t=e.getLabelModel().get("customValues");if(t){var n=_h(e);return{labels:jq(e,t).map(function(r){var a={value:r};return{formattedLabel:n(a),rawLabel:e.scale.getLabel(a),tickValue:r}})}}return e.type==="category"?JIe(e):eDe(e)}function ZIe(e,t){var n=e.getTickModel().get("customValues");return n?{ticks:jq(e,n)}:e.type==="category"?QIe(e,t):{ticks:Ge(e.scale.getTicks(),function(r){return r.value})}}function JIe(e){var t=e.getLabelModel(),n=qq(e,t);return!t.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function qq(e,t){var n=Gq(e,"labels"),r=E8(t),a=Wq(n,r);if(a)return a;var i,o;return yt(r)?i=Kq(e,r):(o=r==="auto"?tDe(e):r,i=Yq(e,o)),Uq(n,r,{labels:i,labelCategoryInterval:o})}function QIe(e,t){var n=Gq(e,"ticks"),r=E8(t),a=Wq(n,r);if(a)return a;var i,o;if((!t.get("show")||e.scale.isBlank())&&(i=[]),yt(r))i=Kq(e,r,!0);else if(r==="auto"){var l=qq(e,e.getLabelModel());o=l.labelCategoryInterval,i=Ge(l.labels,function(s){return s.tickValue})}else o=r,i=Yq(e,o,!0);return Uq(n,r,{ticks:i,tickCategoryInterval:o})}function eDe(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 Gq(e,t){return U1(e)[t]||(U1(e)[t]=[])}function Wq(e,t){for(var n=0;n<e.length;n++)if(e[n].key===t)return e[n].value}function Uq(e,t,n){return e.push({key:t,value:n}),n}function tDe(e){var t=U1(e).autoInterval;return t??(U1(e).autoInterval=e.calculateCategoryInterval())}function nDe(e){var t=rDe(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 rDe(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 Yq(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=Vq(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 Kq(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 hA=[0,1],oo=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 KF(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(),vA(r,a.count())),bn(t,hA,r,n)},e.prototype.coordToData=function(t,n){var r=this._extent,a=this.scale;this.onBand&&a.type==="ordinal"&&(r=r.slice(),vA(r,a.count()));var i=bn(t,r,hA,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=ZIe(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 aDe(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 XIe(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 nDe(this)},e}();function vA(e,t){var n=e[1]-e[0],r=t,a=n/r/2;e[0]+=a,e[1]-=a}function aDe(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,iDe=["top","right","bottom","left"];function oDe(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 lDe(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 Am(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 Xq(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 sDe(e,t,n){var r=Xq(t.x,t.y,t.width,t.height,e.x,e.y,Bi);return n.set(Bi[0],Bi[1]),r}function uDe(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=Am(r,a,c[h],c[h+1],f,d,Bi,!0),r=c[h++],a=c[h++];break;case Ru.C:p=IF(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=LF(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=lDe(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=Xq(i,o,T,z,f,d,Bi);break;case Ru.Z:p=Am(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 Wi=new Ht,An=new Ht,Qn=new Ht,Mo=new Ht,xo=new Ht;function pA(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||iDe,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];oDe(v,0,l,Wi,Mo),Ht.scaleAndAdd(An,Wi,Mo,d),An.transform(f);var p=e.getBoundingRect(),g=u?u.distance(An):e instanceof Zt?uDe(An,e.path,Qn):sDe(An,p,Qn);g<s&&(s=g,An.transform(c),Qn.transform(c),Qn.toArray(i[0]),An.toArray(i[1]),Wi.toArray(i[2]))}Zq(i,t.get("minTurnAngle")),n.setShape({points:i})}}}var Im=[],oa=new Ht;function Zq(e,t){if(t<=180&&t>0){t=t/180*Math.PI,Wi.fromArray(e[0]),An.fromArray(e[1]),Qn.fromArray(e[2]),Ht.sub(Mo,Wi,An),Ht.sub(xo,Qn,An);var n=Mo.len(),r=xo.len();if(!(n<.001||r<.001)){Mo.scale(1/n),xo.scale(1/r);var a=Mo.dot(xo),i=Math.cos(t);if(i<a){var o=Am(An.x,An.y,Qn.x,Qn.y,Wi.x,Wi.y,Im,!1);oa.fromArray(Im),oa.scaleAndAdd(xo,o/Math.tan(Math.PI-t));var l=Qn.x!==An.x?(oa.x-An.x)/(Qn.x-An.x):(oa.y-An.y)/(Qn.y-An.y);if(isNaN(l))return;l<0?Ht.copy(oa,An):l>1&&Ht.copy(oa,Qn),oa.toArray(e[1])}}}}function cDe(e,t,n){if(n<=180&&n>0){n=n/180*Math.PI,Wi.fromArray(e[0]),An.fromArray(e[1]),Qn.fromArray(e[2]),Ht.sub(Mo,An,Wi),Ht.sub(xo,Qn,An);var r=Mo.len(),a=xo.len();if(!(r<.001||a<.001)){Mo.scale(1/r),xo.scale(1/a);var i=Mo.dot(t),o=Math.cos(n);if(i<o){var l=Am(An.x,An.y,Qn.x,Qn.y,Wi.x,Wi.y,Im,!1);oa.fromArray(Im);var s=Math.PI/2,u=Math.acos(xo.dot(t)),c=s+u-n;if(c>=s)Ht.copy(oa,Qn);else{oa.scaleAndAdd(xo,l/Math.tan(Math.PI/2-c));var f=Qn.x!==An.x?(oa.x-An.x)/(Qn.x-An.x):(oa.y-An.y)/(Qn.y-An.y);if(isNaN(f))return;f<0?Ht.copy(oa,An):f>1&&Ht.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 fDe(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 A8(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:$t(a.states[u]&&a.states[u].ignore,l);if(h||!$t(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=fDe}}function I8(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 Jq(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 Qq(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,E){if(T<0){var A=Math.min(z,-T);if(A>0){x(A*E,0,o);var D=A+T;D<0&&S(-D*E,1)}else S(-T*E,1)}}function x(T,z,E){T!==0&&(u=!0);for(var A=z;A<E;A++){var D=e[A],$=D.rect;$[t]+=T,D.label[t]+=T}}function S(T,z){for(var E=[],A=0,D=1;D<o;D++){var $=e[D-1].rect,N=Math.max(e[D].rect[t]-$[t]-$[n],0);E.push(N),A+=N}if(A){var R=Math.min(Math.abs(T)/A,z);if(T>0)for(var D=0;D<o-1;D++){var O=E[D]*R;x(O,0,D+1)}else for(var D=o-1;D>0;D--){var O=E[D-1]*R;x(-O,D,o)}}}function C(T){var z=T<0?-1:1;T=Math.abs(T);for(var E=Math.ceil(T/(o-1)),A=0;A<o-1;A++)if(z>0?x(E,0,A+1):x(-E,o-A-1,o),T-=E,T<=0)return}return u}function dDe(e,t,n,r){return Qq(e,"x","width",t,n,r)}function eG(e,t,n,r){return Qq(e,"y","height",t,n,r)}function tG(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 hDe(e){if(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].slice());return t}}function vDe(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:hDe(r&&r.shape.points)}}var gA=["align","verticalAlign","width","height","fontSize"],ta=new cl,R_=an(),pDe=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"],gDe=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(){pA(_,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(vDe(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<gA.length;p++){var g=gA[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=Jq(this._labelList),i=_n(a,function(s){return s.layoutOption.moveOverlap==="shiftX"}),o=_n(a,function(s){return s.layoutOption.moveOverlap==="shiftY"});dDe(i,0,n),eG(o,0,r);var l=_n(a,function(s){return s.layoutOption.hideOverlap});tG(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");A8(t,I8(l),s),pA(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=$t(r.style.opacity,1);r.style.opacity=0,On(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)}WH(r,s,c,n,n)}if(a&&!a.ignore&&!a.invisible){var i=pDe(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,On(a,{style:{strokePercent:1}},n)),i.oldLayout=p}},e}(),N_=an();function mDe(e){e.registerUpdateLifecycle("series:beforeupdate",function(t,n,r){var a=N_(n).labelManager;a||(a=N_(n).labelManager=new gDe),a.clearLabels()}),e.registerUpdateLifecycle("series:layoutlabels",function(t,n,r){var a=N_(n).labelManager;r.updatedSeries.forEach(function(i){a.addLabelsOfSeries(n.getViewOfSeriesModel(i))}),a.updateLayoutConfig(n),a.layout(n),a.processLabelsOverall()})}var O_=Math.sin,$_=Math.cos,nG=Math.PI,Nu=Math.PI*2,yDe=180/nG,rG=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-Nu)||(c?u>=Nu:-u>=Nu),h=u>0?u%Nu:u%Nu+Nu,v=!1;d?v=!0:Ts(f)?v=!1:v=h>=nG==!!c;var p=t+r*$_(o),g=n+a*O_(o);this._start&&this._add("M",p,g);var m=Math.round(i*yDe);if(d){var b=1/this._p,_=(c?1:-1)*(Nu-b);this._add("A",r,a,m,1,+c,t+r*$_(o+_),n+a*O_(o+_)),b>.01&&this._add("A",r,a,m,0,+c,p,g)}else{var w=t+r*$_(l),x=n+a*O_(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}(),D8="none",bDe=Math.round;function _De(e){var t=e.fill;return t!=null&&t!==D8}function wDe(e){var t=e.stroke;return t!=null&&t!==D8}var bx=["lineCap","miterLimit","lineJoin"],xDe=Ge(bx,function(e){return"stroke-"+e.toLowerCase()});function SDe(e,t,n,r){var a=t.opacity==null?1:t.opacity;if(n instanceof Ir){e("opacity",a);return}if(_De(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",D8);if(wDe(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=y8(n),h=d[0],v=d[1];h&&(v=bDe(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(xDe[p],m)}}}}var aG="http://www.w3.org/2000/svg",iG="http://www.w3.org/1999/xlink",CDe="http://www.w3.org/2000/xmlns/",TDe="http://www.w3.org/XML/1998/namespace",mA="ecmeta_";function oG(e){return document.createElementNS(aG,e)}function yr(e,t,n,r,a){return{tag:e,attrs:n||{},children:r,text:a,key:t}}function kDe(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 zDe(e){return"</"+e+">"}function L8(e,t){t=t||{};var n=t.newline?`
- `:"";function r(a){var i=a.children,o=a.tag,l=a.attrs,s=a.text;return kDe(o,l)+(o!=="style"?Ta(s):s||"")+(i?""+n+Ge(i,function(u){return r(u)}).join(n)+n:"")+zDe(o)}return r(e)}function MDe(e,t,n){n=n||{};var r=n.newline?`
- `:"",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 yA(e,t,n,r){return yr("svg","root",{width:e,height:t,xmlns:aG,"xmlns:xlink":iG,version:"1.1",baseProfile:"full",viewBox:r?"0 0 "+e+" "+t:!1},n)}var EDe=0;function lG(){return EDe++}var bA={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 ADe(e,t,n){var r=$e({},e.shape);$e(r,t),e.buildPath(n,r);var a=new rG;return a.reset(BF(e)),n.rebuildPath(a,1),a.generateStr(),a.getStr()}function IDe(e,t){var n=t.originX,r=t.originY;(n||r)&&(e[Vu]=n+"px "+r+"px")}var DDe={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function sG(e,t){var n=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[n]=e,n}function LDe(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=sG(a,n);return i.replace(o,l)}}function _A(e){return it(e)?bA[e]?"cubic-bezier("+bA[e]+")":N6(e)?e:"":""}function w3(e,t,n,r){var a=e.animators,i=a.length,o=[];if(e instanceof J6){var l=LDe(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=_A(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 de=ie.getTracks(),xe=ie.getMaxTime(),J=0;J<de.length;J++){var oe=de[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 Ee=pe[ge],De=Math.round(Ee.time/xe*100)+"%",Pe=_A(Ee.easing),Re=Ee.rawValue;(it(Re)||ln(Re))&&(ve[De]=ve[De]||{},ve[De][Te]=Ee.rawValue,Pe&&(ve[De][T]=Pe))}}}}for(var E=0;E<w;E++){var A=_[E],D=A.targetName;D?D==="shape"&&z(A,S):!r&&z(A,x)}for(var $ in x){var N={};GF(N,e),$e(N,x[$]);var R=FF(N),O=x[$][T];C[$]=R?{transform:R}:{},IDe(C[$],N),O&&(C[$][T]=O)}var B,V=!0;for(var $ in S){C[$]=C[$]||{};var P=!B,O=S[$][T];P&&(B=new Fo);var W=B.len();B.reset(),C[$].d=ADe(e,S[$],B);var Z=B.len();if(!P&&W!==Z){V=!1;break}O&&(C[$][T]=O)}if(!V)for(var $ in C)delete C[$].d;if(!r)for(var E=0;E<w;E++){var A=_[E],D=A.targetName;D==="style"&&z(A,C,function(de){return DDe[de]})}for(var ee=tn(C),re=!0,ue,E=1;E<ee.length;E++){var ye=ee[E-1],le=ee[E];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=sG(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-"+lG();n.cssNodes["."+m]={animation:o.join(",")},t.class=m}}function PDe(e,t,n){if(!e.ignore)if(e.isSilent()){var r={"pointer-events":"none"};wA(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),wA(r,t,n)}}function wA(e,t,n,r){var a=JSON.stringify(e),i=n.cssStyleCache[a];i||(i=n.zrId+"-cls-"+lG(),n.cssStyleCache[a]=i,n.cssNodes["."+i+":hover"]=e),t.class=t.class?t.class+" "+i:i}var Y1=Math.round;function uG(e){return e&&it(e.src)}function cG(e){return e&&yt(e.toDataURL)}function P8(e,t,n,r){SDe(function(a,i){var o=a==="fill"||a==="stroke";o&&VF(i)?dG(t,e,a,r):o&&O6(i)?hG(n,e,a,r):o&&i==="none"?e[a]="transparent":e[a]=i},t,n,!1),FDe(n,e,r)}function R8(e,t){var n=E7e(t);n&&(n.each(function(r,a){r!=null&&(e[(mA+a).toLowerCase()]=r+"")}),t.isSilent()&&(e[mA+"silent"]="true"))}function xA(e){return Ts(e[0]-1)&&Ts(e[1])&&Ts(e[2])&&Ts(e[3]-1)}function RDe(e){return Ts(e[4])&&Ts(e[5])}function N8(e,t,n){if(t&&!(RDe(t)&&xA(t))){var r=1e4;e.transform=xA(t)?"translate("+Y1(t[4]*r)/r+" "+Y1(t[5]*r)/r+")":JTe(t)}}function SA(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 CA(e){return!e.smooth}function NDe(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 ODe={circle:[NDe(["cx","cy","r"])],polyline:[SA,CA],polygon:[SA,CA]};function $De(e){for(var t=e.animators,n=0;n<t.length;n++)if(t[n].targetName==="shape")return!0;return!1}function fG(e,t){var n=e.style,r=e.shape,a=ODe[e.type],i={},o=t.animation,l="path",s=e.style.strokePercent,u=t.compress&&BF(e)||4;if(a&&!t.willUpdate&&!(a[1]&&!a[1](r))&&!(o&&$De(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 rG),p.reset(u),d.rebuildPath(p,s),p.generateStr(),v.__svgPathVersion=h,v.__svgPathStrokePercent=s),i.d=p.getStr()}return N8(i,e.transform),P8(i,n,e,t),R8(i,e),t.animation&&w3(e,i,t),t.emphasis&&PDe(e,i,t),yr(l,e.id+"",i)}function VDe(e,t){var n=e.style,r=n.image;if(r&&!it(r)&&(uG(r)?r=r.src:cG(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),N8(s,e.transform),P8(s,n,e,t),R8(s,e),t.animation&&w3(e,s,t),yr("image",e.id+"",s)}}function BDe(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=e7e(n.y||0,Uy(a),n.textBaseline),l=QTe[n.textAlign]||n.textAlign,s={"dominant-baseline":"central","text-anchor":l};if(mH(n)){var u="",c=n.fontStyle,f=gH(n.fontSize);if(!parseFloat(f))return;var d=n.fontFamily||gF,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),N8(s,e.transform),P8(s,n,e,t),R8(s,e),t.animation&&w3(e,s,t),yr("text",e.id+"",s,void 0,r)}}function TA(e,t){if(e instanceof Zt)return fG(e,t);if(e instanceof Ir)return VDe(e,t);if(e instanceof Nd)return BDe(e,t)}function FDe(e,t,n){var r=e.style;if(t7e(r)){var a=n7e(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 dG(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($F(a))i="radialGradient",o.cx=$t(a.x,.5),o.cy=$t(a.y,.5),o.r=$t(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=L8(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 hG(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(NF(a)){var d=a.imageWidth,h=a.imageHeight,v=void 0,p=a.image;if(it(p)?v=p:uG(p)?v=p.src:cG(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(E,A){if(E){var D=E.elm,$=d||A.width,N=h||A.height;E.tag==="pattern"&&(u?(N=1,$/=i.width):c&&($=1,N/=i.height)),E.attrs.width=$,E.attrs.height=N,D&&(D.setAttribute("width",$),D.setAttribute("height",N))}},b=j6(v,null,e,function(E){s||m(S,E),m(f,E)});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=FF(a);x&&(o.patternTransform=x);var S=yr("pattern","",o,[f]),C=L8(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 HDe(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,[fG(e,n)])}t["clip-path"]=Wy(i)}function kA(e){return document.createTextNode(e)}function Xu(e,t,n){e.insertBefore(t,n)}function zA(e,t){e.removeChild(t)}function MA(e,t){e.appendChild(t)}function vG(e){return e.parentNode}function pG(e){return e.nextSibling}function V_(e,t){e.textContent=t}var EA=58,jDe=120,qDe=yr("","");function xx(e){return e===void 0}function mo(e){return e!==void 0}function GDe(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(mo(r)){var a=e.elm=oG(r);if(O8(qDe,e),He(n))for(t=0;t<n.length;++t){var i=n[t];i!=null&&MA(a,K1(i))}else mo(e.text)&&!wt(e.text)&&MA(a,kA(e.text))}else e.elm=kA(e.text);return e.elm}function gG(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(mo(a.tag)){var i=vG(a.elm);zA(i,a.elm)}else zA(e,a.elm)}}function O8(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)!==jDe?r.setAttribute(n,o):n==="xmlns:xlink"||n==="xmlns"?r.setAttributeNS(CDe,n,o):n.charCodeAt(3)===EA?r.setAttributeNS(TDe,n,o):n.charCodeAt(5)===EA?r.setAttributeNS(iG,n,o):r.setAttribute(n,o))}for(n in a)n in i||r.removeAttribute(n)}}function WDe(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,pG(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=GDe(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,gG(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&&(O8(e,t),xx(t.text)?mo(r)&&mo(a)?r!==a&&WDe(n,r,a):mo(a)?(mo(e.text)&&V_(n,""),gG(n,null,a,0,a.length-1)):mo(r)?Dm(n,r,0,r.length-1):mo(e.text)&&V_(n,""):e.text!==t.text&&(mo(r)&&Dm(n,r,0,r.length-1),V_(n,t.text)))}function UDe(e,t){if(yv(e,t))Bf(e,t);else{var n=e.elm,r=vG(n);K1(t),r!==null&&(Xu(r,t.elm,pG(n)),Dm(r,[e],0,0))}return t}var YDe=0,KDe=function(){function e(t,n,r){if(this.type="svg",this.refreshHover=AA(),this.configLayer=AA(),this.storage=n,this._opts=r=$e({},r),this.root=t,this._id="zr"+YDe++,this._oldVNode=yA(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=oG("svg");O8(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",UDe(this._oldVNode,t),this._oldVNode=t}},e.prototype.renderOneToVNode=function(t){return TA(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=XDe(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=MDe(i.cssNodes,i.cssAnims,{newline:!0});if(c){var f=yr("style","stl",{},[],c);o.push(f)}}return yA(r,a,o,t.useViewBox)},e.prototype.renderToString=function(t){return t=t||{},L8(this.renderToVNode({animation:$t(t.cssAnimation,!0),emphasis:$t(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:$t(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={};HDe(d[m],b,n);var _=yr("g","clip-g-"+u++,b,[]);(l?l.children:r).push(_),i[o++]=_,l=_}s=d;var w=TA(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(O6(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=a7e(n),n&&r+"base64,"+n):r+"charset=UTF-8,"+encodeURIComponent(n)},e}();function AA(e){return function(){}}function XDe(e,t,n,r){var a;if(n&&n!=="none")if(a=yr("rect","bg",{width:e,height:t,x:"0",y:"0"}),VF(n))dG({fill:n},a.attrs,"fill",r);else if(O6(n))hG({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 ZDe(e){e.registerPainter("svg",KDe)}function IA(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=IA(n,r,a):wt(n)&&(o=n,n=o.id),i.id=n,i.dom=o;var l=o.style;return l&&(xF(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=IA("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 E=b.width*b.height,A=T.width*T.height,D=u.width*u.height,$=D-E-A;$<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 dTe(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}(Ai),DA=1e5,Ou=314159,i0=.01,JDe=.001;function QDe(e){return e?e.__builtin__?!0:!(typeof e.resize!="function"||typeof e.refresh!="function"):!1}function eLe(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 tLe=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&&(xF(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[Ou]=h,h.zlevel=Ou,l.push(Ou),this._domRoot=t}else{this._width=Yf(t,0,r),this._height=Yf(t,1,r);var u=this._domRoot=eLe(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(DA)),i||(i=r.ctx,i.save()),fc(i,l,a,o===n-1))}i&&i.restore()}},e.prototype.getHoverLayer=function(){return this.getLayer(DA)},e.prototype.paintOne=function(t,n){eq(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(Ou).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 N={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,$,N,T===g.__endIndex-1),w){var O=Date.now()-x;if(O>15)break}}N.prevElClipPaths&&m.restore()};if(b)if(b.length===0)T=g.__endIndex;else for(var E=h.dpr,A=0;A<b.length;++A){var D=b[A];m.save(),m.beginPath(),m.rect(D.x*E,D.y*E,D.width*E,D.height*E),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=Ou);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]&&QDe(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+JDe,this._needsManuallyCompositing),c.incremental=!0,o=1):c=this.getLayer(u+(o>0?i0:0),this._needsManuallyCompositing),c.__builtin__||E6("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(Ou).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[Ou].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 nLe(e){e.registerPainter("canvas",tLe)}var rLe=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 Et,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 mG(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=aLe,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),eo(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,On(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"),E=this._z2;z!=null?E==null&&(this._z2=l.z2,l.z2+=z):E!=null&&(l.z2=E,this._z2=null);var A=o&&o.useNameLabel;Fr(l,p,{labelFetcher:s,labelDataIndex:r,defaultText:D,inheritColor:C,defaultOpacity:S.opacity});function D(R){return A?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 N=g==null||g===!0?Math.max(1.1,3/this._sizeY):isFinite(g)&&g>0?+g:1;$.scaleX=this._sizeX*N,$.scaleY=this._sizeY*N,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}(Et);function aLe(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 LA(e){return e!=null&&!wt(e)&&(e={isIgnore:e}),e||{}}function PA(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 Et,this._SymbolCtor=t||$p}return e.prototype.updateData=function(t,n){this._progressiveEls=null,n=LA(n);var r=this.group,a=t.hostModel,i=this._data,o=this._SymbolCtor,l=n.disableAnimation,s=PA(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=PA(t),this._data=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n,r){this._progressiveEls=[],r=LA(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 yG(e,t,n){var r=e.getBaseAxis(),a=e.getOtherAxis(r),i=iLe(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 iLe(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 bG(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 oLe(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 lLe(e,t,n,r,a,i,o,l){for(var s=oLe(e,t),u=[],c=[],f=[],d=[],h=[],v=[],p=[],g=yG(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],E=b[C],A=b[C+1];(isNaN(T)||isNaN(z))&&(T=E,z=A),u.push(T,z),c.push(E,A),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,N=a.dataToPoint([t.get($[0],D),t.get($[1],D)]);C=D*2,u.push(N[0],N[1]),c.push(b[C],b[C+1]);var R=bG(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 O=u.length,B=zo(O),V=zo(O),P=zo(O),W=zo(O),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,E=0,A=0,D=void 0,$=void 0;if(T>=r||kc(S,C))h=m,v=b;else{E=S-u,A=C-c;var N=m-u,R=S-m,O=b-c,B=C-b,V=void 0,P=void 0;if(l==="x"){V=Math.abs(N),P=Math.abs(R);var W=E>0?1:-1;h=m-W*V*o,v=b,D=m+W*P*o,$=b}else if(l==="y"){V=Math.abs(O),P=Math.abs(B);var Z=A>0?1:-1;h=m,v=b-Z*V*o,D=m,$=b+Z*P*o}else V=Math.sqrt(N*N+O*O),P=Math.sqrt(R*R+B*B),z=P/(P+V),h=m-E*o*(1-z),v=b-A*o*(1-z),D=m+E*o*z,$=b+A*o*z,D=es(D,ts(S,m)),$=es($,ts(C,b)),D=ts(D,es(S,m)),$=ts($,es(C,b)),E=D-m,A=$-b,h=m-E*V/P,v=b-A*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)),E=m-h,A=b-v,D=m+E*P/V,$=b+A*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 _G=function(){function e(){this.smooth=0,this.smoothConstraint=!0}return e}(),sLe=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 _G},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),uLe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t}(_G),wG=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 uLe},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 xG(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;On(f,{shape:{width:s,height:u,x:o,y:l}},n,null,r,p)}return f}function SG(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,On(o,{shape:{endAngle:r.endAngle,r:i}},n)}return o}function Bp(e,t,n,r,a){if(e){if(e.type==="polar")return SG(e,t,n);if(e.type==="cartesian2d")return xG(e,t,n,r,a)}else return null;return null}function nf(e,t){return e.type===t}function RA(e,t){if(e.length===t.length){for(var n=0;n<e.length;n++)if(e[n]!==t[n])return;return!0}}function NA(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 OA(e,t){var n=NA(e),r=n[0],a=n[1],i=NA(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 $A(e){return ln(e)?e:e?.5:0}function cLe(e,t,n){if(!n.valueDim)return[];for(var r=t.count(),a=zo(r*2),i=0;i<r;i++){var o=bG(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 fLe(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=ZTe(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 dLe(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=fLe(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 hLe(e,t,n){var r=e.get("showAllSymbol"),a=r==="auto";if(!(r&&!a)){var i=n.getAxesByScale("ordinal")[0];if(i&&!(a&&vLe(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 vLe(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 pLe(e,t){return isNaN(e)||isNaN(t)}function gLe(e){for(var t=e.length/2;t>0&&pLe(e[t*2-2],e[t*2-1]);t--);return t-1}function VA(e,t){return[e[t*2],e[t*2+1]]}function mLe(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 CG(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=CG(r)?function(h,v){e._endLabelOnDuring(h,v,o,l,i,a,t)}:null,u=t.getBaseAxis().isHorizontal(),c=xG(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 SG(t,n,r)}function yLe(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 bLe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(){var n=new Et,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=yG(o,s,w),S=_&&cLe(o,s,x),C=n.get("showSymbol"),T=n.get("connectNulls"),z=C&&!d&&hLe(n,s,o),E=this._data;E&&E.eachItemGraphicEl(function(le,ae){le.__temp&&(l.remove(le),E.setItemGraphicEl(ae,null))}),C||v.remove(),l.add(m);var A=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 $=dLe(s,o,a)||s.getVisual("style")[s.getVisual("drawType")];if(!(p&&h.type===o.type&&A===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),A&&(f=ns(f,o,A,T),S&&(S=ns(S,o,A,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 N=m.getClipPath();if(N){var R=H_(this,o,!1,n);On(N,{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]]}}),(!RA(this._stackedOnPoints,S)||!RA(this._points,f))&&(b?this._doUpdateAnimation(s,S,o,a,A,w,T):(A&&(f=ns(f,o,A,T),S&&(S=ns(S,o,A,T))),p.setShape({points:f}),g&&g.setShape({points:f,stackedOnPoints:S})))}var O=n.getModel("emphasis"),B=O.get("focus"),V=O.get("blurScope"),P=O.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=$A(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=$A(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=A,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 sLe({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 wG({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(),E=z.getTextContent();p.attr({scaleX:0,scaleY:0}),p.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:T}),E&&E.animateFrom({style:{opacity:0}},{duration:300,delay:T}),z.disableLabelAnimation=!0}})},t.prototype._initOrUpdateEndLabel=function(n,r,a){var i=n.getModel("endLabel");if(CG(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=gLe(s);c>=0&&(Fr(l,Sr(n,"endLabel"),{inheritColor:a,labelFetcher:n,labelDataIndex:c,defaultText:function(f,d,h){return h!=null?mG(o,h):Fd(o,f)},enableTextSetter:!0},yLe(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=mLe(f,w,C),z=T.range,E=z[1]-z[0],A=void 0;if(E>=1){if(E>1&&!h){var D=VA(f,z[0]);u.attr({x:D[0]+x,y:D[1]+S}),o&&(A=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]),N=d.getRawValue(z[1]);o&&(A=oH(a,v,$,N,T.t))}i.lastFrameIndex=z[0]}else{var R=n===1||i.lastFrameIndex>0?z[0]:0,D=VA(f,R);o&&(A=d.getRawValue(R)),u.attr({x:D[0]+x,y:D[1]+S})}if(o){var O=dh(u);typeof O.setLabelText=="function"&&O.setLabelText(A)}}},t.prototype._doUpdateAnimation=function(n,r,a,i,o,l,s){var u=this._polyline,c=this._polygon,f=n.hostModel,d=lLe(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)),OA(h,p)>3e3||c&&OA(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,E=b[T].ptIdx*2;z.x=C[E],z.y=C[E+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 _Le={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]}},wLe=function(e){return Math.round(e.length/2)};function TG(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=_Le[i]:yt(i)&&(v=i),v&&t.setData(a.downSample(a.mapDimension(u.dim),1/h,v,wLe))}}}}}function xLe(e){e.registerChartView(bLe),e.registerSeriesModel(rLe),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,TG("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 SLe=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),CLe=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 CLe},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 TLe(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 kLe(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 Qi(i,a)})}}var j_=Math.max,q_=Math.min;function zLe(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 MLe=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=ELe(n,u);h&&this._enableRealtimeSort(h,l,a);var v=n.get("clip",!0)||h,p=zLe(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(A){var D=s0[u.type](l,A),$=NLe(u,f,D);return $.useStyle(b.getItemStyle()),u.type==="cartesian2d"?$.setShape("r",_):$.setShape("cornerRadius",_),w[A]=$,$}l.diff(s).add(function(A){var D=l.getItemModel(A),$=s0[u.type](l,A,D);if(m&&T(A),!(!l.hasValue(A)||!qA[u.type]($))){var N=!1;v&&(N=BA[u.type](p,$));var R=FA[u.type](n,l,A,$,f,d,c.model,!1,g);h&&(R.forceLabelAnimation=!0),GA(R,l,A,D,$,n,f,u.type==="polar"),S?R.attr({shape:$}):h?HA(h,d,R,$,A,f,!1,!1):On(R,{shape:$},n,A),l.setItemGraphicEl(A,R),o.add(R),R.ignore=N}}).update(function(A,D){var $=l.getItemModel(A),N=s0[u.type](l,A,$);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[A]=R);var O=s0[u.type](l,A),B=zG(f,O,u);un(R,{shape:B},d,A)}var V=s.getItemGraphicEl(D);if(!l.hasValue(A)||!qA[u.type](N)){o.remove(V);return}var P=!1;if(v&&(P=BA[u.type](p,N),P&&o.remove(V)),V?eo(V):V=FA[u.type](n,l,A,N,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 GA(V,l,A,$,N,n,f,u.type==="polar");S?V.attr({shape:N}):h?HA(h,d,V,N,A,f,!0,C):un(V,{shape:N},n,A,null),l.setItemGraphicEl(A,V),V.ignore=P,o.add(V)}).remove(function(A){var D=s.getItemGraphicEl(A);D&&B1(D,n,A)}).execute();var z=this._backgroundGroup||(this._backgroundGroup=new Et);z.removeAll();for(var E=0;E<w.length;++E)z.add(w[E]);o.add(z),this._backgroundEls=w,this._data=l},t.prototype._renderLarge=function(n,r,a){this._clear(),UA(n,this.group),this._updateLargeClip(n)},t.prototype._incrementalRenderLarge=function(n,r){this._removeBackground(),UA(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),BA={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}},FA={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=kG(a);if(c.calculateTextPosition=TLe(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:On)(c,{shape:v},i)}return c}};function ELe(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 HA(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:On)(n,{shape:s},t,a,null);var c=t?e.baseAxis.model:null;(o?un:On)(n,{shape:u},c,a)}function jA(e,t){for(var n=0;n<t.length;n++)if(!isFinite(e[t[n]]))return!0;return!1}var ALe=["x","y","width","height"],ILe=["cx","cy","r","startAngle","endAngle"],qA={cartesian2d:function(e){return!jA(e,ALe)},polar:function(e){return!jA(e,ILe)}},s0={cartesian2d:function(e,t,n){var r=e.getItemLayout(t),a=n?LLe(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 DLe(e){return e.startAngle!=null&&e.endAngle!=null&&e.startAngle===e.endAngle}function kG(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 GA(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,kLe(e,g==="outside"?h:g,kG(o),r.get(["label","rotate"]))}GH(p,v,i.getRawValue(n),function(b){return mG(t,b)});var m=r.getModel(["emphasis"]);Kn(e,m.get("focus"),m.get("blurScope"),m.get("disabled")),Br(e,r),DLe(a)&&(e.style.fill="none",e.style.stroke="none",K(e.states,function(b){b.style&&(b.style.fill=b.style.stroke="none")}))}function LLe(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 PLe=function(){function e(){}return e}(),WA=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 PLe},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 UA(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 WA({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 WA({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",YA),f.on("mousemove",YA)),n&&n.push(f)}var YA=g8(function(e){var t=this,n=RLe(t,e.offsetX,e.offsetY);Dt(t).dataIndex=n>=0?n:null},30,!1);function RLe(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 zG(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 NLe(e,t,n){var r=e.type==="polar"?pa:rn;return new r({shape:zG(t,n,e),silent:!0,z2:0})}function OLe(e){e.registerChartView(MLe),e.registerSeriesModel(SLe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Bt(Dq,"bar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Lq("bar")),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,TG("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 KA=Math.PI*2,u0=Math.PI/180;function MG(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function EG(e,t){var n=MG(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 $Le(e,t,n){t.eachSeriesByType(e,function(r){var a=r.getData(),i=a.mapDimension("value"),o=MG(r,n),l=EG(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-KA:-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],E=T*v/2;q6(z,!w),d=z[0],h=z[1];var A=AG(r);A.startAngle=d,A.endAngle=h,A.clockwise=w;var D=Math.abs(h-d),$=D,N=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):N+=B;var W=R+T*P,Z=0,ee=0;v>P?(Z=R+T*P/2,ee=Z):(Z=R+E,ee=W-E),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}),$<KA&&m)if($<=.001){var O=D/m;a.each(i,function(B,V){if(!isNaN(B)){var P=a.getItemLayout(V);P.angle=O;var W=0,Z=0;O<v?(W=d+T*(V+1/2)*O,Z=W):(W=d+T*V*O+E,Z=d+T*(V+1)*O-E),P.startAngle=W,P.endAngle=Z}})}else _=$/N,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+E,ee=R+T*W-E),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 VLe=Math.PI/180;function XA(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,E=_.targetTextWidth-z*a;IG(_,E,!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}eG(e,s,s+o)&&f(e)}function BLe(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,IG(v,g)}}XA(u,t,n,r,1,a,i,o,l,f),XA(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 IG(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 FLe(e){var t=e.getData(),n=[],r,a,i=!1,o=(e.get("minShowLabelAngle")||0)*VLe,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(),E=C.getTextGuideLine(),A=t.getItemModel(S),D=A.getModel("label"),$=D.get("position")||A.get(["emphasis","label","position"]),N=D.get("distanceToLabelLine"),R=D.get("alignTo"),O=et(D.get("edgeDistance"),u),B=D.get("bleedMargin"),V=A.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,E&&(K(E.states,h),E.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 de=ve+ee*(P+s-T.r),xe=ce+re*(P+s-T.r),J=de+(ee<0?-1:1)*W,oe=xe;R==="edge"?ue=ee<0?c+O:c+u-O:ue=J+(ee<0?-N:N),ye=oe,le=[[ve,ce],[de,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 Ee=ee<0?-Z+pe:-Z;Te=Ee}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:E,position:$,len:P,len2:W,minTurnAngle:V.get("minTurnAngle"),maxSurfaceAngle:V.get("maxSurfaceAngle"),surfaceNormal:new Ht(ee,re),linePoints:le,textAlign:ae,labelDistance:N,labelAlignTo:R,edgeDistance:O,bleedMargin:B,rect:Re,unconstrainedWidth:Re.width,labelStyleWidth:z.style.width})}C.setTextConfig({inside:ie})}}),!i&&e.get("avoidLabelOverlap")&&BLe(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):(Zq(x,g.minTurnAngle),cDe(x,g.surfaceNormal,g.maxSurfaceAngle),b.setShape({points:x}),m.__hostTarget.textGuideLineConfig={anchor:new Ht(x[0][0],x[0][1])})}}}var HLe=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?(On(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,On(o,{shape:{r:c.r}},l,r)):a!=null?(o.setShape({startAngle:a,endAngle:a}),On(o,{shape:{startAngle:c.startAngle,endAngle:c.endAngle}},l,r)):(o.shape.endAngle=c.startAngle,un(o,{shape:{endAngle:c.endAngle}},l,r))}else eo(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)),A8(this,I8(o),{stroke:u,opacity:Ao(l.get(["lineStyle","opacity"]),c,1)})}},t}(pa),jLe=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(EG(n,a),d)});h.useStyle(n.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=h,s.add(h)}o.diff(l).add(function(v){var p=new HLe(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(),FLe(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=Np(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}(),qLe=an(),GLe=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:Bt(s8,this)})},t.prototype.getDataParams=function(n){var r=this.getData(),a=qLe(r),i=a.seats;if(!i){var o=[];r.each(r.mapDimension("value"),function(s){o.push(s)}),i=a.seats=L7e(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){Oc(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 WLe(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 ULe(e){e.registerChartView(jLe),e.registerSeriesModel(GLe),Zj("pie",e.registerAction),e.registerLayout(Bt($Le,"pie")),e.registerProcessor(Hp("pie")),e.registerProcessor(WLe("pie"))}var YLe=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),DG=4,KLe=function(){function e(){}return e}(),XLe=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 KLe},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]<DG,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),ZLe=function(){function e(){this.group=new Et}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 XLe({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]<DG;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}(),JLe=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 ZLe: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),QLe=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,Op);var LG={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)"]}}},ePe=jt({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},LG),$8=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}}},LG),tPe=jt({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},$8),nPe=_t({logBase:10},$8);const PG={category:ePe,value:$8,time:tPe,log:nPe};var rPe={value:1,category:1,time:1,log:1};function Hd(e,t,n,r){K(rPe,function(a,i){var o=jt(jt({},PG[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=ZA(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",ZA)}function ZA(e){return e.type||(e.data?"category":"value")}var aPe=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 JA(e){return e.type==="interval"||e.type==="time"}var iPe=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(!(!JA(n)||!JA(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}(aPe),oPe=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}(oo);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 QA(e){return e.get("coordinateSystem")==="cartesian2d"}function eI(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 RG(e,t,n){var r=El.prototype,a=r.getTicks.call(n),i=r.getTicks.call(n,!0),o=a.length-1,l=r.getInterval.call(n),s=$q(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 lPe=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){RG(g.scale,g.model,l.scale)}))}}a(r.x),a(r.y);var i={};K(r.x,function(o){tI(r,"y",o,i)}),K(r.y,function(o){tI(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=FIe(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]),sPe(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 iPe(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 oPe(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(QA(a)){var i=eI(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(Em(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(QA(a)){var i=eI(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 tI(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)nI(a[s])&&(i=a[s]);else for(var u in a)if(a.hasOwnProperty(u)&&nI(a[u])&&!r[c(a[u])]){i=a[u];break}i&&(r[c(i)]=!0);function c(f){return f.dim+"_"+f.index}}function nI(e){return e&&e.type!=="category"&&e.type!=="time"&&BIe(e)}function sPe(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 Et,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 Et({x:n.position[0],y:n.position[1],rotation:n.rotation});r.updateTransform(),this._transformGroup=r}return e.prototype.hasBuilder=function(t){return!!rI[t]},e.prototype.add=function(t){rI[t](this.opt,this.axisModel,this.group,this._transformGroup)},e.prototype.getGroup=function(){return this.group},e.innerTextLayout=function(t,n,r){var a=XF(n-t),i,o;return N1(a)?(o=r>0?"top":"bottom",i="center"):N1(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}(),rI={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});Od(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=fPe(n,r,t,e),i=hPe(n,r,t,e);if(cPe(t,i,a),dPe(n,r,t,e.tickDirection),t.get(["axisLabel","hideOverlap"])){var o=Jq(Ge(i,function(l){return{label:l,priority:l.z2,defaultAttr:{ignore:l.ignore}}}));tG(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,iI(i)?e.labelOffset+o*s:0],d,h=t.get("nameRotate");h!=null&&(h=h*ks/180);var v;iI(i)?d=ca.innerTextLayout(e.rotation,h??e.rotation,o):(d=uPe(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 uPe(e,t,n,r){var a=XF(n-e),i,o,l=r[0]>r[1],s=t==="start"&&!l||t!=="start"&&l;return N1(a-ks/2)?(o=s?"bottom":"top",i="center"):N1(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 cPe(e,t,n){if(!Vq(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?(Qa(i),Qa(u)):aI(i,o)&&(r?(Qa(o),Qa(c)):(Qa(i),Qa(u))),a===!1?(Qa(l),Qa(f)):aI(s,l)&&(a?(Qa(s),Qa(d)):(Qa(l),Qa(f)))}}function Qa(e){e&&(e.ignore=!0)}function aI(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 iI(e){return e==="middle"||e==="center"}function NG(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});Od(c.shape,c.style.lineWidth),c.anid=a+"_"+e[s].tickValue,i.push(c)}return i}function fPe(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=NG(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 dPe(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=NG(o[c],t.transform,s,u,"minorticks_"+c),d=0;d<f.length;d++)e.add(f[d])}}function hPe(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=$t(w.getShallow("alignMinLabel",!0),T),E=$t(w.getShallow("alignMaxLabel",!0),T),A=w.getShallow("verticalAlign",!0)||w.getShallow("baseline",!0)||c.textVerticalAlign,D=$t(w.getShallow("verticalAlignMinLabel",!0),A),$=$t(w.getShallow("verticalAlignMaxLabel",!0),A),N=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?E:T,verticalAlign:g===0?D:g===s.length-1?$:A,fill:yt(S)?S(a.type==="category"?_:a.type==="value"?m+"":m,g):S})});if(N.anid="label_"+m,v){var R=ca.makeAxisEventDataBase(n);R.targetType="axisLabel",R.value=_,R.tickIndex=g,a.type==="category"&&(R.dataIndex=m),Dt(N).eventData=R}t.add(N),N.updateTransform(),d.push(N),e.add(N),N.decomposeTransform()}),d}}function vPe(e,t){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return pPe(n,e,t),n.seriesInvolved&&mPe(n,e),n}function pPe(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(),Bt(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,Bt(p,h?"cross":!0,d)),h&&K(v.otherAxes,Bt(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?gPe(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 E=yPe(i,b);if(E!=null){var A=o[E]||(o[E]={axesInfo:{}});A.axesInfo[C]=z,A.mapper=i[E].mapper,z.linkGroup=A}}}})}function gPe(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 mPe(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 yPe(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 bPe(e){var t=V8(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 V8(e){var t=(e.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return t&&t.axesInfo[Z1(e)]}function _Pe(e){var t=V8(e);return t&&t.axisPointerModel}function zx(e){return!!e.get(["handle","show"])}function Z1(e){return e.type+"||"+e.id}var oI={},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&&bPe(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=_Pe(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){oI[n]=r},t.getAxisPointerClass=function(n){return n&&oI[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 $G(e){Mx(e).splitAreaColors=null}var wPe=["axisLine","axisTickLabel","axisName"],xPe=["splitArea","splitLine","minorSplitLine"],VG=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 Et,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(wPe,u.add,u),this._axisGroup.add(u.getGroup()),K(xPe,function(f){n.get([f,"show"])&&SPe[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(){$G(this)},t.type="cartesianAxis",t}(rf),SPe={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});Od(_.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});Od(g.shape,d.lineWidth),t.add(g)}},splitArea:function(e,t,n,r){OG(e,t,n,r)}},BG=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}(VG),CPe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=BG.type,n}return t.type="yAxis",t}(VG),TPe=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),lI={offset:0};function FG(e){e.registerComponentView(TPe),e.registerComponentModel(QLe),e.registerCoordinateSystem("cartesian2d",lPe),Hd(e,"x",Cx,lI),Hd(e,"y",Cx,lI),e.registerComponentView(BG),e.registerComponentView(CPe),e.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}function kPe(e){Kt(FG),e.registerSeriesModel(YLe),e.registerChartView(JLe),e.registerLayout(Fp("scatter"))}function zPe(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]=sI(c)?c:uI(a)})}),n.each(function(o){var l=cTe(r[o],function(s){return sI(s)})||uI(a);r[o].push(l.slice()),n.setItemLayout(o,r[o])})}})}function sI(e){return!isNaN(e[0])&&!isNaN(e[1])}function uI(e){return[e.cx,e.cy]}function MPe(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 EPe=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),On(v,g,n,d),On(p,g,n,d);var m=new Et,b=new Et;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),eo(g),eo(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"]),E=z.isEmpty()&&z.parentModel.isEmpty();g.ensureState(T).ignore=E&&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 E=T.ensureState("emphasis");E.style=kt(C);var A=l.getStore().get(l.getDimensionIndex(T.__dimIdx),h);(A==null||isNaN(A))&&(A=""),Fr(T,Sr(v),{labelFetcher:l.hostModel,labelDataIndex:h,labelDimIndex:T.__dimIdx,defaultText:A,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),APe=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=Vj(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=PG.value;function c0(e,t){return _t({show:t},e)}var 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.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,Op.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),DPe=["axisLine","axisTickLabel","axisName"],LPe=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(DPe,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,O,B){var V=B%O.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,O){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,O)})}),E=[],S=0;S<=T;S++){for(var A=[],D=0;D<a.length;D++)A.push(z[D][S]);if(A[0]&&A.push(A[0].slice()),c){var C=b(g,v,S);g[C].push(new ya({shape:{points:A}}))}if(f&&E){var C=b(m,p,S-1);m[C].push(new ga({shape:{points:A.concat(E)}}))}E=A.slice().reverse()}var $=s.getLineStyle(),N=u.getAreaStyle();K(m,function(R,O){this.group.add(hi(R,{style:_t({stroke:"none",fill:p[O%p.length]},N),silent:!0}))},this),K(g,function(R,O){this.group.add(hi(R,{style:_t({fill:"none",stroke:v[O%v.length]},$),silent:!0}))},this)},t.type="radar",t}(Hn),PPe=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}(oo),RPe=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 PPe(o,new El);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 El;o.setExtent(0,i),o.setInterval(1),K(r,function(l,s){RG(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 NPe(e){e.registerCoordinateSystem("radar",RPe),e.registerComponentModel(IPe),e.registerComponentView(LPe),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 OPe(e){Kt(NPe),e.registerChartView(EPe),e.registerSeriesModel(APe),e.registerLayout(zPe),e.registerProcessor(Hp("radar")),e.registerPreprocessor(MPe)}var cI="\0_ec_interaction_mutex";function $Pe(e,t,n){var r=B8(e);r[t]=n}function VPe(e,t,n){var r=B8(e),a=r[t];a===n&&(r[t]=null)}function fI(e,t){return!!B8(e)[t]}function B8(e){return e[cI]||(e[cI]={})}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(!Oz(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"||fI(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),HG(this,"pan","moveOnMouseMove",n,{dx:l,dy:s,oldX:i,oldY:o,newX:r,newY:a,isAvailableBehavior:null})}},t.prototype._mouseupHandler=function(n){Oz(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(!fI(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}(Ai);function K_(e,t,n,r,a){e.pointerChecker&&e.pointerChecker(r,a.originX,a.originY)&&(Cl(r.event),HG(e,t,n,r,a))}function HG(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 F8(e,t,n){var r=e.target;r.x+=t,r.y+=n,r.dirty()}function H8(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 BPe={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&&!BPe.hasOwnProperty(r.mainType)&&a&&a.model!==n}function jG(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"},dI=tn(Pm),Rm={"alignment-baseline":"textBaseline","stop-color":"stopColor"},hI=tn(Rm),FPe=function(){function e(){this._defs={},this._root=null}return e.prototype.parse=function(t,n){n=n||{};var r=jG(t);this._defsUsePending=[];var a=new Et;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;qPe(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=GG(c,{x:0,y:0,width:l,height:s}),!n.ignoreViewBox)){var h=a;a=new Et,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=vI[l];if(h&&ht(vI,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 Nd({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});ei(n,r),Ra(t,r,this._defsUsePending,!1,!1),HPe(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 Et;return ei(n,r),Ra(t,r,this._defsUsePending,!1,!1),r},rect:function(t,n){var r=new rn;return ei(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 ei(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 ei(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 Z6;return ei(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=mI(r));var i=new ga({shape:{points:a||[]},silent:!0});return ei(n,i),Ra(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,n){var r=t.getAttribute("points"),a;r&&(a=mI(r));var i=new ya({shape:{points:a||[]},silent:!0});return ei(n,i),Ra(t,i,this._defsUsePending,!1,!1),i},image:function(t,n){var r=new Ir;return ei(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 Et;return ei(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 Et;return ei(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=IH(r);return ei(n,a),Ra(t,a,this._defsUsePending,!1,!1),a.silent=!0,a}}}(),e}(),vI={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 pI(e,i),gI(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 pI(e,a),gI(e,a),a}};function pI(e,t){var n=e.getAttribute("gradientUnits");n==="userSpaceOnUse"&&(t.global=!0)}function gI(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={};qG(n,i,i);var o=i.stopColor||n.getAttribute("stop-color")||"#000000";t.colorStops.push({offset:a,color:o})}n=n.nextSibling}}function ei(e,t){e&&e.__inheritedStyle&&(t.__inheritedStyle||(t.__inheritedStyle={}),_t(t.__inheritedStyle,e.__inheritedStyle))}function mI(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&&(UPe(e,t),qG(e,o,l),r||YPe(e,o,l)),i.style=i.style||{},o.fill!=null&&(i.style.fill=yI(i,"fill",o.fill,n)),o.stroke!=null&&(i.style.stroke=yI(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 HPe(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 jPe=/^url\(\s*#(.*?)\)/;function yI(e,t,n,r){var a=n&&n.match(jPe);if(a){var i=Gi(a[1]);r.push([e,t,i]);return}return n==="none"&&(n=null),n}function qPe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r[0].style[r[1]]=e[r[2]]}}var GPe=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function S3(e){return e.match(GPe)||[]}var WPe=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,Z_=Math.PI/180;function UPe(e,t){var n=e.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],a=null;n.replace(WPe,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":R6(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 bI=/([^\s:;]+)\s*:\s*([^:;]+)/g;function qG(e,t,n){var r=e.getAttribute("style");if(r){bI.lastIndex=0;for(var a;(a=bI.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 YPe(e,t,n){for(var r=0;r<dI.length;r++){var a=dI[r],i=e.getAttribute(a);i!=null&&(t[Pm[a]]=i)}for(var r=0;r<hI.length;r++){var a=hI[r],i=e.getAttribute(a);i!=null&&(n[Rm[a]]=i)}}function GG(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 KPe(e,t){var n=new FPe;return n.parse(e,t)}var XPe=pt(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),ZPe=function(){function e(t,n){this.type="geoSVG",this._usedGraphicMap=pt(),this._freedGraphics=[],this._mapName=t,this._parsedXML=jG(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=QPe(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&&KPe(t,{ignoreViewBox:!0,ignoreRootClip:!0})||{},r=n.root,ha(r!=null)}catch(g){throw new Error(`Invalid svg format
- `+g.message)}var a=new Et;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=GG(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){XPe.get(g.svgNodeTagLower)!=null&&(p.push(g),JPe(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 JPe(e){e.silent=!1,e.isGroup&&e.traverse(function(t){t.silent=!1})}function QPe(e){var t=[],n=pt();return K(e,function(r){if(r.namedFrom==null){var a=new UIe(r.name,r.el);t.push(a),n.set(r.name,a)}}),{regions:t,regionsMap:n}}var Ex=[126,25],_I="南海诸岛",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]+=Ex[0],Bu[$u][Cf][1]+=Ex[1];function eRe(e,t){if(e==="china"){for(var n=0;n<t.length;n++)if(t[n].name===_I)return;t.push(new Fq(_I,Ge(Bu,function(r){return{type:"polygon",exterior:r}}),Ex))}}var tRe={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};function nRe(e,t){if(e==="china"){var n=tRe[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 rRe=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];function aRe(e,t){e==="china"&&t.name==="台湾"&&t.geometries.push({type:"polygon",exterior:rRe[0]})}var iRe="name",oRe=function(){function e(t,n,r){this.type="geoJSON",this._parsedMap=pt(),this._mapName=t,this._specialAreas=r,this._geoJSON=sRe(n)}return e.prototype.load=function(t,n){n=n||iRe;var r=this._parsedMap.get(n);if(!r){var a=this._parseToRegions(n);r=this._parsedMap.set(n,{regions:a,boundingRect:lRe(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?KIe(r,t):[]}catch(i){throw new Error(`Invalid geoJson format
- `+i.message)}return eRe(n,a),K(a,function(i){var o=i.name;nRe(n,i),aRe(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 lRe(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 sRe(e){return it(e)?typeof JSON<"u"&&JSON.parse?JSON.parse(e):new Function("return ("+e+");")():e}var Jh=pt();const Al={registerMap:function(e,t,n){if(t.svg){var r=new ZPe(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 oRe(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 j8=["rect","circle","line","ellipse","polygon","polyline","path"],uRe=pt(j8),cRe=pt(j8.concat(["g"])),fRe=pt(j8.concat(["g"])),WG=an();function f0(e){var t=e.getItemStyle(),n=e.get("areaColor");return n!=null&&(t.fill=n),t}function wI(e){var t=e.style;t&&(t.stroke=t.stroke||t.fill,t.fill=null)}var UG=function(){function e(t){var n=new Et;this.uid=hh("ec_map_draw"),this._controller=new qp(t.getZr()),this._controllerHost={target:n},this.group=n,n.add(this._regionsGroup=new Et),n.add(this._svgGroup=new Et)}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 Et),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=zI(T,u)),K(T,function(E){_.push(new ga(d(E)))})}else{var z=C.points;u&&(z=zI(z,u,!0)),K(z,function(E){w.push(new ya(d(E)))})}});var x=c(h.getCenter(),s&&s.project);function S(C,T){if(C.length){var z=new J6({culling:!0,segmentIgnoreThreshold:1,shape:{paths:C}});p.add(z),xI(t,z,m,b),SI(t,z,v,b,o,m,x),T&&(wI(z),K(z.states,wI))}}S(_),S(w,!0)}),n.each(function(h,v){var p=r.get(v),g=p.dataIdx,m=p.regionModel;CI(t,h,v,m,o,g),TI(t,h,v,m,o),kI(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(uRe.get(c)!=null&&f instanceof Mi&&xI(t,f,d,h),f instanceof Mi&&(f.culling=!0),f.z2EmphasisLift=0,!o.namedFrom&&(fRe.get(c)!=null&&SI(t,f,l,h,s,d,null),CI(t,f,l,h,s,d),TI(t,f,l,h,s),cRe.get(c)!=null)){var v=kI(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=Al.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=Al.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,F8(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,H8(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=WG(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 xI(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 SI(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&&(WG(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 CI(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 TI(e,t,n,r,a){e.data||fh({el:t,componentModel:a,itemName:n,itemTooltipOption:r.get("tooltip")})}function kI(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&&oze(t,a,n),o}function zI(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 dRe=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 UG(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),hRe=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:Bt(s8,this)}),a=pt(),i=[],o=0,l=r.count();o<l;o++){var s=r.getName(o);a.set(s,!0)}var u=Al.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 vRe(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 pRe(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=vRe(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 gRe(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 MI=$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(),P6(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?MI(a,n,i):aa(a,n)},t.prototype.pointToData=function(n){var r=this.invTransform;return r?MI([],n,r):[n[0],n[1]]},t.prototype.convertToPixel=function(n,r,a){var i=EI(r);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(n,r,a){var i=EI(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 EI(e){var t=e.seriesModel;return t?t.coordinateSystem:null}var mRe={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},YG=["lng","lat"],KG=function(e){Se(t,e);function t(n,r,a){var i=e.call(this,n)||this;i.dimensions=YG,i.type="geo",i._nameCoordMap=pt(),i.map=r;var o=a.projection,l=Al.load(r,a.nameMap,a.nameProperty),s=Al.getGeoResource(r);i.resourceType=s?s.type:null;var u=i.regions=l.regions,c=mRe[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:$t(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=AI(r);return i===this?i.dataToPoint(a):null},t.prototype.convertFromPixel=function(n,r,a){var i=AI(r);return i===this?i.pointToData(a):null},t}(Gp);sr(KG,Gp);function AI(e){var t=e.geoModel,n=e.seriesModel;return t?t.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",rr).models[0]||{}).coordinateSystem:null}const II=KG;function DI(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 E=T-S,A=z-C,D=0;D<=100;D++){var $=D/100,N=i.project([S+E*$,C+A*$]);ws(r,r,N),xs(a,a,N)}};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 yRe(e,t){K(t.get("geoCoord"),function(n,r){e.addGeoCoord(r,n)})}var bRe=function(){function e(){this.dimensions=YG}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 II(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=DI,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 II(l,l,$e({nameMap:A6(s)},a(o[0])));u.zoomLimit=Mr.apply(null,Ge(o,function(c){return c.get("scaleLimit")})),r.push(u),u.resize=DI,u.resize(o[0],n),K(o,function(c){c.coordinateSystem=u,yRe(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=Al.load(n,r,a);return K(s.regions,function(u){var c=u.name;!o.get(c)&&i.push({name:c})}),i},e}(),XG=new bRe,_Re=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=Al.getGeoResource(n.map);if(i&&i.type==="geoJSON"){var o=n.itemStyle=n.itemStyle||{};"color"in o||(o.color="#eee")}this.mergeDefaultAndTheme(n,a),Oc(n,"label",["show"])},t.prototype.optionUpdated=function(){var n=this,r=this.option;r.regions=XG.getFilledRegions(r.regions,r.map,r.nameMap,r.nameProperty);var a={};this._optionModelMap=Oo(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 LI(e,t){return e.pointToProjected?e.pointToProjected(t):e.pointToData(t)}function q8(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(LI(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(LI(e,l),r),e.setZoom(o*a)}return{center:e.getCenter(),zoom:e.getZoom()}}var wRe=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 UG(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 xRe(e,t,n){Al.registerMap(e,t,n)}function ZG(e){e.registerCoordinateSystem("geo",XG),e.registerComponentModel(_Re),e.registerComponentView(wRe),e.registerImpl("registerMap",xRe),e.registerImpl("getMap",function(n){return Al.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=q8(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 SRe(e){Kt(ZG),e.registerChartView(dRe),e.registerSeriesModel(hRe),e.registerLayout(gRe),e.registerProcessor(e.PRIORITY.PROCESSOR.STATISTIC,pRe),Zj("map",e.registerAction)}function CRe(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 TRe(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){MRe(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=ERe(e,a,e.parentNode.hierNode.defaultAncestor||r[0],t)}function kRe(e){var t=e.hierNode.prelim+e.parentNode.hierNode.modifier;e.setLayout({x:t},!0),e.hierNode.modifier+=e.parentNode.hierNode.modifier}function PI(e){return arguments.length?e:DRe}function bv(e,t){return e-=Math.PI/2,{x:t*Math.cos(e),y:t*Math.sin(e)}}function zRe(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function MRe(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 ERe(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&&(IRe(ARe(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 ARe(e,t,n){return e.hierNode.ancestor.parentNode===t.parentNode?e.hierNode.ancestor:n}function IRe(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 DRe(e,t){return e.parentNode===t.parentNode?1:2}var LRe=function(){function e(){this.parentPoint=[],this.childPoints=[]}return e}(),PRe=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 LRe},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),RRe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._mainGroup=new Et,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){RI(i,c)&&NI(i,c,null,l,n)}).update(function(c,f){var d=u.getItemGraphicEl(f);if(!RI(i,c)){d&&$I(u,f,d,l,n);return}NI(i,c,d,l,n)}).remove(function(c){var f=u.getItemGraphicEl(c);f&&$I(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){F8(l,u.dx,u.dy),a.dispatchAction({seriesId:n.id,type:"treeRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){H8(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 RI(e,t){var n=e.getItemLayout(t);return n&&!isNaN(n.x)&&!isNaN(n.y)}function NI(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"),E=z*(Math.PI/180),A=g.getTextContent();A&&(g.setTextConfig({position:T.get("position")||C,rotation:z==null?-w:E,origin:"center"}),A.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=$),NRe(a,o,c,n,v,h,p,r),n.__edge&&(n.onHoverStateChange=function(N){if(N!=="blur"){var R=o.parentNode&&e.getItemGraphicEl(o.parentNode.dataIndex);R&&R.hoverState===Ep||vm(n.__edge,N)}})}function NRe(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 Ap({shape:Ax(c,f,d,a,a)})),un(p,{shape:Ax(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 PRe({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 OI(e,t,n,r,a){var i=t.tree.root,o=JG(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:Ax(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 JG(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 $I(e,t,n,r,a){var i=e.tree.getNodeByDataIndex(t),o=e.tree.root,l=JG(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){OI(u,e,r,a,s)}),OI(i,e,r,a,s)}function Ax(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 wi=an();function QG(e){var t=e.mainData,n=e.datas;n||(n={main:t},e.datasAttr={main:"data"}),e.datas=e.mainData=null,eW(t,n,e),K(n,function(r){K(t.TRANSFERABLE_METHODS,function(a){r.wrapMethod(a,Bt(ORe,e))})}),t.wrapMethod("cloneShallow",Bt(VRe,e)),K(t.CHANGABLE_METHODS,function(r){t.wrapMethod(r,Bt($Re,e))}),ha(n[t.dataType]===t)}function ORe(e,t){if(HRe(this)){var n=$e({},wi(this).datas);n[this.dataType]=t,eW(t,n,e)}else G8(t,this.dataType,wi(this).mainData,e);return t}function $Re(e,t){return e.struct&&e.struct.update(),t}function VRe(e,t){return K(wi(t).datas,function(n,r){n!==t&&G8(n.cloneShallow(),r,t,e)}),t}function BRe(e){var t=wi(this).mainData;return e==null||t==null?t:wi(t).datas[e]}function FRe(){var e=wi(this).mainData;return e==null?[{data:e}]:Ge(tn(wi(e).datas),function(t){return{type:t,data:wi(e).datas[t]}})}function HRe(e){return wi(e).mainData===e}function eW(e,t,n){wi(e).datas={},K(t,function(r,a){G8(r,a,e,n)})}function G8(e,t,n,r){wi(n).datas[t]=e,wi(e).mainData=n,e.dataType=t,r.struct&&(e[r.structAttr]=r.struct,r.struct[r.datasAttr[t]]=e),e.getLinkedData=BRe,e.getLinkedDataAll=FRe}var jRe=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}(),W8=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 jRe(ur(c.name,""),a);f?qRe(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=Np(i,{coordDimensions:["value"],dimensionsCount:o}).dimensions,u=new ua(s,n);return u.initData(i),r&&r(u),QG({mainData:u,struct:a,structAttr:"tree"}),a.update(),a},e}();function qRe(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 tW(e){for(var t=[];e;)e=e.parentNode,e&&t.push(e);return t.reverse()}function U8(e,t){var n=tW(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 GRe=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=W8.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 WRe(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 URe(e,t){e.eachSeriesByType("tree",function(n){YRe(n,t)})}function YRe(e,t){var n=zRe(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=PI(function(_,w){return(_.parentNode===w.parentNode?1:2)/_.depth})):(a=n.width,i=n.height,o=PI());var l=e.getData().tree.root,s=l.children[0];if(s){CRe(l),WRe(s,TRe,o),l.hierNode.modifier=-s.hierNode.prelim,Qh(s,kRe);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 KRe(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 XRe(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=q8(i,t,void 0,r);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}function ZRe(e){e.registerChartView(RRe),e.registerSeriesModel(GRe),e.registerLayout(URe),e.registerVisual(KRe),XRe(e)}var VI=["treemapZoomToNode","treemapRender","treemapMove"];function JRe(e){for(var t=0;t<VI.length;t++)e.registerAction({type:VI[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=U8(u,s.node)?"rollUp":"drillDown"),i.resetViewRoot(s.node)}}})}function nW(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 QRe=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};rW(a);var i=n.levels||[],o=this.designatedVisualItemStyle={},l=new yn({itemStyle:o},this,r);i=n.levels=eNe(i,r);var s=Ge(i||[],function(f){return new yn(f,l,r)},this),u=W8.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(){nW(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 rW(e){var t=0;K(e.children,function(r){rW(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 eNe(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 tNe=8,BI=8,e9=5,nNe=function(){function e(t){this.group=new Et,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+tNe*2,n.emptyItemWidth);n.totalWidth+=l+BI,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=dMe(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:rNe(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:Bt(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),aNe(w,t,m),s+=b+BI}},e.prototype.remove=function(){this.group.removeAll()},e}();function rNe(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 aNe(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 iNe=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 oNe(){return new iNe}var Ix=Et,FI=rn,HI=3,jI="label",qI="upperLabel",lNe=uh*10,sNe=uh*2,uNe=uh*3,Fu=Vc([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),GI=function(e){var t=Fu(e);return t.stroke=t.fill=t.lineWidth=null,t},Nm=an(),cNe=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 fNe(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,E){!z.isRemoved()&&T(E,E)})):new Ml(_,b,C,C).add(T).update(T).remove(Bt(T,null)).execute();function C(z){return z.getId()}function T(z,E){var A=z!=null?b[z]:null,D=E!=null?_[E]:null,$=f(A,D,w,S);$&&p(A&&A.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),Nm(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=oNe();K(r.willDeleteEls,function(f,d){K(f,function(h,v){if(!h.invisible){var p=h.parent,g,m=Nm(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 Et?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)>HI||Math.abs(n.dy)>HI)){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]),R6(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 nNe(this.group))).render(n,r,a.node,function(o){i._state!=="animating"&&(U8(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 fNe(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"]),E=S.get("borderRadius")||0,A=ue("nodeGroup",Ix);if(!A)return;if(s.add(A),A.x=c.x||0,A.y=c.y||0,A.markRedraw(),Nm(A).nodeWidth=h,Nm(A).nodeHeight=v,c.isAboveViewRoot)return A;var D=ue("background",FI,u,sNe);D&&P(A,D,x&&c.upperLabelHeight);var $=d.getModel("emphasis"),N=$.get("focus"),R=$.get("blurScope"),O=$.get("disabled"),B=N==="ancestor"?o.getAncestorsIndices():N==="descendant"?o.getDescendantIndices():N;if(x)V1(A)&&lc(A,!1),D&&(lc(D,!O),f.setItemGraphicEl(o.dataIndex,D),Xw(D,B,R));else{var V=ue("content",FI,u,uNe);V&&W(A,V),D.disableMorphing=!0,D&&V1(D)&&lc(D,!1),lc(A,!O),f.setItemGraphicEl(o.dataIndex,A),Xw(A,B,R)}return A;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:E}),g)Z(ie);else{ie.invisible=!1;var de=o.getVisual("style"),xe=de.stroke,J=GI(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,de.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),de=Math.max(v-2*p,0);if(ie.culling=!0,ie.setShape({x:p,y:p,width:ce,height:de,r:E}),g)Z(ie);else{ie.invisible=!1;var xe=o.getVisual("style"),J=xe.fill,oe=GI(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 de=d.getModel(ce?qI:jI),xe=ur(d.get("name"),null),J=de.getShallow("show");Fr(ae,Sr(d,ce?qI:jI),{defaultText:J?xe:null,inheritColor:ie,defaultOpacity:ve,labelFetcher:e,labelDataIndex:o.dataIndex});var oe=ae.getTextContent();if(oe){var pe=oe.style,Te=D6(pe.padding||0);ce&&(ae.setTextConfig({layoutRect:ce}),oe.disableLabelLayout=!0),oe.beforeUpdate=function(){var Ee=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!==Ee||pe.height!==De)&&oe.setStyle({width:Ee,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 de=e.get("drillDownIcon",!0);ae.text=de?de+" "+ce:ce}}function ue(ae,ie,ve,ce){var de=b!=null&&n[ae][b],xe=a[ae];return de?(n[ae][b]=null,ye(xe,de)):g||(de=new ie,de instanceof Mi&&(de.z2=dNe(ve,ce)),le(xe,de)),t[ae][m]=de}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,de=ie instanceof Et;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),de?(ve.oldX=0,ve.oldY=J):ve.oldShape={x:xe,y:J,width:0,height:0}}ve.fadein=!de}}function dNe(e,t){return e*lNe+t}var Q1=K,hNe=wt,Om=-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=gNe[n];var i=e.visualHandlers[r];this.applyVisual=i.applyVisual,this.getColorMapper=i.getColorMapper,this._normalizedToVisual=i._normalizedToVisual[n],n==="piecewise"?(t9(a),vNe(a)):n==="category"?a.categories?pNe(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(hNe(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:WI,category:_v,piecewise:function(t,n){var r=Lx.call(this,n);return r==null&&(r=WI.call(this,t)),r},fixed:Hu}},symbolSize:{applyVisual:tv("symbolSize"),_normalizedToVisual:Dx([0,1])}},e}();function vNe(e){var t=e.pieceList;e.hasSpecialVisual=!1,K(t,function(n,r){n.originIndex=r,n.visual!=null&&(e.hasSpecialVisual=!0)})}function pNe(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??Om]=o}):a[Om]=r,r=aW(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]),aW(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 WI(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!==Om?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 aW(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 gNe={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??Om},fixed:er};function h0(e,t,n){return e?t<=n:t<n}var mNe="itemStyle",iW=an();const yNe={seriesType:"treemap",reset:function(e){var t=e.getData().tree,n=t.root;n.isRemoved()||oW(n,{},e.getViewRoot().getAncestors(),e)}};function oW(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(mNe),s=bNe(l,t,r),u=o.ensureUniqueItemVisual(e.dataIndex,"style"),c=l.get("borderColor"),f=l.get("borderColorSaturation"),d;f!=null&&(d=UI(s),c=_Ne(f,d)),u.stroke=c;var h=e.viewChildren;if(!h||!h.length)d=UI(s),u.fill=d;else{var v=wNe(e,a,i,l,s,h);K(h,function(p,g){if(p.depth>=n.length||p===n[p.depth]){var m=xNe(a,s,p,g,v,r);oW(p,m,n,r)}})}}}function bNe(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 UI(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 _Ne(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 wNe(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 iW(d).drColorMappingBy=c,d}}}function r9(e,t){var n=e.get(t);return He(n)&&n.length?{name:t,range:n}:null}function xNe(e,t,n,r,a,i){var o=$e({},t);if(a){var l=a.type,s=l==="color"&&iW(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,YI=Mr,Y8=K,lW=["itemStyle","borderWidth"],SNe=["itemStyle","gapWidth"],CNe=["upperLabel","show"],TNe=["upperLabel","height"];const kNe={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(YI(l.width,s[0]),a),c=et(YI(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=tW(p);if(f!=="treemapMove"){var m=f==="treemapZoomToNode"?DNe(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),sW(p,_,!1,0),w=p.getLayout(),Y8(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(LNe(l,v,h),!0),e.setLayoutInfo(l),uW(x,new qt(-l.x,-l.y,a,i),g,p,0)}};function sW(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(lW),u=l.get(SNe)/2,c=cW(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=zNe(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=INe(_,m,t.squareRatio);C<=b?(w++,b=C):(_.area-=_.pop().getLayout().area,KI(_,m,g,u,!1),m=$m(g.width,g.height),_.length=_.area=0,b=1/0)}if(_.length&&KI(_,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++)sW(p[w],t,n,r+1)}}}function zNe(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()}),ENe(o,l);var u=ANe(t,o,l);if(u.sum===0)return e.viewChildren=[];if(u.sum=MNe(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 MNe(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 ENe(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 ANe(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],Y8(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 INe(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 KI(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 DNe(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(lW),m=Math.max(g,cW(p));u+=4*g*g+(3*g+m)*Math.pow(u,.5),u>lM&&(u=lM),i=l}u<s&&(u=s);var b=Math.pow(u/s,.5);return[r*b,a*b]}function LNe(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 uW(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);Y8(e.viewChildren||[],function(u){uW(u,s,n,r,a+1)})}}function cW(e){return e.get(CNe)?e.get(TNe):0}function PNe(e){e.registerSeriesModel(QRe),e.registerChartView(cNe),e.registerVisual(yNe),e.registerLayout(kNe),JRe(e)}function RNe(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 NNe(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 ONe(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},fW=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)},dW=function(e){var t=e.split(Px);return[t[0],t[2],t[1]].join(Px)},$Ne=function(e,t){var n=tp(e.node1,e.node2,t);return t.__edgeMap[n]},VNe=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 BNe(e){T3(e)&&(e.__curvenessList=[],e.__edgeMap={},fW(e))}function FNe(e,t,n,r){if(T3(n)){var a=tp(e,t,n),i=n.__edgeMap,o=i[dW(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 K8(e,t,n,r){var a=T3(t),i=He(a);if(!a)return null;var o=$Ne(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=VNe(e,t);fW(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=dW(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 hW(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")])}),X8(n,e)}}function X8(e,t){e.eachEdge(function(n,r){var a=Ao(n.getModel().get(["lineStyle","curveness"]),-K8(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 HNe(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])}X8(i.graph,n)}else(!r||r==="none")&&hW(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 XI=Math.PI,a9=[];function Z8(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"]);vW(n,g,s,u)}jNe[t](e,l,o,c,s,u,f),l.eachEdge(function(m,b){var _=Ao(m.getModel().get(["lineStyle","curveness"]),K8(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 jNe={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=XI/2),a9[f.dataIndex]=h,l+=h*2});var u=(2*XI-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 vW(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 qNe(e){e.eachSeriesByType("graph",function(t){t.get("layout")==="circular"&&Z8(t,"symbolSize")})}var Tf=ww;function GNe(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[_],E=_+1;E<b;E++){var S=r[E];ic(m,S.p,x.p);var C=xw(m);C===0&&(mTe(m,Math.random()-.5,Math.random()-.5),C=1);var A=(x.rep+S.rep)/C/C;!x.fixed&&Tf(x.pp,x.pp,m,A),!S.fixed&&Tf(S.pp,S.pp,m,-A)}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 WNe(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"?hW(t):s==="circular"&&Z8(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=Ao(x.getModel().get(["lineStyle","curveness"]),-K8(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=GNe(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),E=T.n1.p,A=T.n2.p,D=z.getLayout();D=D?D.slice():[],D[0]=D[0]||[],D[1]=D[1]||[],aa(D[0],E),aa(D[1],A),+T.curveness&&(D[2]=[(E[0]+A[0])/2-(E[1]-A[1])*T.curveness,(E[1]+A[1])/2-(A[0]-E[0])*T.curveness]),z.setLayout(D)}}),t.forceLayout=b,t.preservedPoints=r,b.step()}else t.forceLayout=null})}function UNe(e,t,n){var r=$e(e.getBoxLayoutParams(),{aspect:n});return fr(r,{width:t.getWidth(),height:t.getHeight()})}function YNe(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=UNe(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 ZI=mr.prototype,i9=Ap.prototype,pW=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})(pW);function o9(e){return isNaN(+e.cpx1)||isNaN(+e.cpy1)}var KNe=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 pW},t.prototype.buildPath=function(n,r){o9(r)?ZI.buildPath.call(this,n,r):i9.buildPath.call(this,n,r)},t.prototype.pointAt=function(n){return o9(this.shape)?ZI.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 JI(e){return"_"+e+"Type"}function QI(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 eD(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 XNe(e){var t=new KNe({name:"line",subPixelOptimize:!0});return Nx(t.shape,e),t}function Nx(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 J8=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=XNe(o);l.shape.percent=0,On(l,{shape:{percent:1}},i,r),this.add(l),K(l9,function(s){var u=eD(s,n,r);this.add(u),this[JI(s)]=QI(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:{}};Nx(s.shape,l),un(o,s,i,r),K(l9,function(u){var c=QI(u,n,r),f=JI(u);if(this[f]!==c){this.remove(this.childOfName(u));var d=eD(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],E=o.getState(z);if(E){var A=E.style||{},D=C.ensureState(z),$=D.style||(D.style={});A.stroke!=null&&($[C.__isEmptyBrush?"stroke":"fill"]=A.stroke),A.opacity!=null&&($.opacity=A.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");Nx(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(E,A){var D=E.__specifiedRotation;if(D==null){var $=s.tangentAt(A);E.attr("rotation",(A===1?-1:1)*Math.PI/2-Math.atan2($[1],$[0]))}else E.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}(Et),Q8=function(){function e(t){this.group=new Et,this._LineCtor=t||J8}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=tD(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=tD(t),this._lineData=null,this.group.removeAll()},e.prototype.incrementalUpdate=function(t,n){this._progressiveEls=[];function r(l){!l.isGroup&&!ZNe(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 ZNe(e){return e.animators&&e.animators.length>0}function tD(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 nD(e){return isNaN(e[0])||isNaN(e[1])}function s9(e){return e&&!nD(e[0])&&!nD(e[1])}var u9=[],c9=[],f9=[],kf=kr,d9=bc,rD=Math.abs;function aD(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=rD(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(rD(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=aD(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=aD(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 iD(e){return e.type==="view"}var JNe=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 Q8,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(iD(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),Z8(n,"symbolSize",_,[z.offsetX,z.offsetY]),i.updateLayout(n);break;case"none":default:f.setItemLayout(w,[x.x,x.y]),X8(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(_){vW(_,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)}),!iD(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){F8(l,u.dx,u.dy),a.dispatchAction({seriesId:n.id,type:"graphRoam",dx:u.dx,dy:u.dy})}).on("zoom",function(u){H8(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 QNe=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 gW(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}(),gW=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 mW(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,mW("hostGraph","data"));sr(gW,mW("hostGraph","edgeData"));function yW(e,t,n,r,a){for(var i=new QNe(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=Np(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),QG({mainData:v,struct:i,structAttr:"graph",datas:{node:v,edge:b},datasAttr:{node:"data",edge:"edgeData"}}),i.update(),i}var eOe=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),Oc(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){BNe(this);var l=yW(i,a,this,!0,s);return K(l.edges,function(u){FNe(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=Fj({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),tOe={type:"graphRoam",event:"graphRoam",update:"none"};function nOe(e){e.registerChartView(JNe),e.registerSeriesModel(eOe),e.registerProcessor(RNe),e.registerVisual(NNe),e.registerVisual(ONe),e.registerLayout(HNe),e.registerLayout(e.PRIORITY.VISUAL.POST_CHART_LAYOUT,qNe),e.registerLayout(WNe),e.registerCoordinateSystem("graphView",{dimensions:Gp.dimensions,create:YNe}),e.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},er),e.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},er),e.registerAction(tOe,function(t,n,r){n.eachComponent({mainType:"series",query:t},function(a){var i=a.coordinateSystem,o=q8(i,t,void 0,r);a.setCenter&&a.setCenter(o.center),a.setZoom&&a.setZoom(o.zoom)})})}var rOe=function(){function e(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return e}(),aOe=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 rOe},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 iOe(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 oOe=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=iOe(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];q6(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 E;for(E=0;E<i.length;E++)if(i[E][0]>=z&&(E===0?0:i[E-1][0])<z)return i[E][1];return i[E-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,E=z/x,A=m.getModel("lineStyle").getLineStyle(),D=b.getModel("lineStyle").getLineStyle(),$=m.get("distance"),N,R,O=0;O<=w;O++){if(N=Math.cos(T),R=Math.sin(T),m.get("show")){var B=$?$+c:c,V=new mr({shape:{x1:N*(v-B)+d,y1:R*(v-B)+h,x2:N*(v-S-B)+d,y2:R*(v-S-B)+h},style:A,silent:!0});A.stroke==="auto"&&V.setStyle({stroke:i(O/w)}),f.add(V)}if(_.get("show")){var B=_.get("distance")+$,P=p0(Zn(O/w*(g-p)+p),_.get("formatter")),W=i(O/w),Z=N*(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:N<-.4?"left":N>.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")&&O!==w){var B=b.get("distance");B=B?B+c:c;for(var ye=0;ye<=x;ye++){N=Math.cos(T),R=Math.sin(T);var le=new mr({shape:{x1:N*(v-B)+d,y1:R*(v-B)+h,x2:N*(v-C-B)+d,y2:R*(v-C-B)+h},silent:!0,style:D});D.stroke==="auto"&&le.setStyle({stroke:i((O+ye/x)/w)}),f.add(le),T+=E}T-=E}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(E,A){var D=b.getItemModel(E),$=D.getModel("pointer"),N=et($.get("width"),o.r),R=et($.get("length"),o.r),O=n.get(["pointer","icon"]),B=$.get("offsetCenter"),V=et(B[0],o.r),P=et(B[1],o.r),W=$.get("keepAspect"),Z;return O?Z=lr(O,V-N/2,P-R,N,R,null,W):Z=new aOe({shape:{angle:-Math.PI/2,width:N,r:R,x:V,y:P}}),Z.rotation=-(A+Math.PI/2),Z.x=o.cx,Z.y=o.cy,Z}function z(E,A){var D=g.get("roundCap"),$=D?Lm:pa,N=g.get("overlap"),R=N?g.get("width"):c/b.count(),O=N?o.r-R:o.r-(E+1)*R,B=N?o.r:o.r-E*R,V=new $({shape:{startAngle:l,endAngle:A,cx:o.cx,cy:o.cy,clockwise:u,r0:O,r:B}});return N&&(V.z2=x-b.get(_,E)%x),V}(m||p)&&(b.diff(d).add(function(E){var A=b.get(_,E);if(p){var D=T(E,l);On(D,{rotation:-((isNaN(+A)?C[0]:bn(A,S,C,!0))+Math.PI/2)},n),f.add(D),b.setItemGraphicEl(E,D)}if(m){var $=z(E,l),N=g.get("clip");On($,{shape:{endAngle:bn(A,S,C,N)}},n),f.add($),Uw(n.seriesIndex,b.dataType,E,$),v[E]=$}}).update(function(E,A){var D=b.get(_,E);if(p){var $=d.getItemGraphicEl(A),N=$?$.rotation:l,R=T(E,N);R.rotation=N,un(R,{rotation:-((isNaN(+D)?C[0]:bn(D,S,C,!0))+Math.PI/2)},n),f.add(R),b.setItemGraphicEl(E,R)}if(m){var O=h[A],B=O?O.shape.endAngle:l,V=z(E,B),P=g.get("clip");un(V,{shape:{endAngle:bn(D,S,C,P)}},n),f.add(V),Uw(n.seriesIndex,b.dataType,E,V),v[E]=V}}).execute(),b.each(function(E){var A=b.getItemModel(E),D=A.getModel("emphasis"),$=D.get("focus"),N=D.get("blurScope"),R=D.get("disabled");if(p){var O=b.getItemGraphicEl(E),B=b.getItemVisual(E,"style"),V=B.fill;if(O instanceof Ir){var P=O.style;O.useStyle($e({image:P.image,x:P.x,y:P.y,width:P.width,height:P.height},B))}else O.useStyle(B),O.type!=="pointer"&&O.setColor(V);O.setStyle(A.getModel(["pointer","itemStyle"]).getItemStyle()),O.style.fill==="auto"&&O.setStyle("fill",i(bn(b.get(_,E),S,[0,1],!0))),O.z2EmphasisLift=0,Br(O,A),Kn(O,$,N,R)}if(m){var W=v[E];W.useStyle(b.getItemVisual(E,"style")),W.setStyle(A.getModel(["progress","itemStyle"]).getItemStyle()),W.z2EmphasisLift=0,Br(W,A),Kn(W,$,N,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 Et,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 Et,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),E=h[m];E.attr({z2:g?0:2,style:In(S,{x:T,y:z,text:s.getName(m),align:"center",verticalAlign:"middle"},{inheritColor:x})}),w.add(E)}var A=b.getModel("detail");if(A.get("show")){var D=A.get("offsetCenter"),$=o.cx+et(D[0],o.r),N=o.cy+et(D[1],o.r),R=et(A.get("width"),o.r),O=et(A.get("height"),o.r),B=n.get(["progress","show"])?s.getItemVisual(m,"style").fill:x,E=v[m],V=A.get("formatter");E.attr({z2:g?0:2,style:In(A,{x:$,y:N,text:p0(_,V),width:isNaN(R)?null:R,height:isNaN(O)?null:O,align:"center",verticalAlign:"middle"},{inheritColor:B})}),GH(E,{normal:A},_,function(W){return p0(W,V)}),p&&WH(E,m,s,n,{getFormattedLabel:function(W,Z,ee,re,ue,ye){return p0(ye?ye.interpolatedValue:_,V)}}),w.add(E)}d.add(w)}),this.group.add(d),this._titleEls=h,this._detailEls=v},t.type="gauge",t}(zn),lOe=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 sOe(e){e.registerChartView(oOe),e.registerSeriesModel(lOe)}var uOe=["itemStyle","opacity"],cOe=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(uOe);c=c??1,a||eo(i),i.useStyle(n.getItemVisual(r,"style")),i.style.lineJoin="round",a?(i.setShape({points:s.points}),i.style.opacity=0,On(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 Ht(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}),A8(a,I8(s),{stroke:d})},t}(ga),fOe=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 cOe(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),dOe=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:Bt(s8,this)})},t.prototype._defaultLabelLine=function(n){Oc(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 hOe(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function vOe(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 pOe(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 gOe(e,t){e.eachSeriesByType("funnel",function(n){var r=n.getData(),a=r.mapDimension("value"),i=n.get("sort"),o=hOe(n,t),l=n.get("orient"),s=o.width,u=o.height,c=vOe(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(N,R){if(l==="horizontal"){var O=r.get(a,N)||0,B=bn(O,[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,N)||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 E=z.get(["itemStyle","width"]);E==null?E=w:(E=et(E,s),i==="ascending"&&(E=-E));var A=x(C,f),D=x(T,f+E);f+=E+b,r.setItemLayout(C,{points:A.concat(D.slice().reverse())})}else{var $=z.get(["itemStyle","height"]);$==null?$=w:($=et($,u),i==="ascending"&&($=-$));var A=x(C,d),D=x(T,d+$);d+=$+b,r.setItemLayout(C,{points:A.concat(D.slice().reverse())})}}pOe(r)})}function mOe(e){e.registerChartView(fOe),e.registerSeriesModel(dOe),e.registerLayout(gOe),e.registerProcessor(Hp("funnel"))}var yOe=.3,bOe=function(e){Se(t,e);function t(){var n=e!==null&&e.apply(this,arguments)||this;return n.type=t.type,n._dataGroup=new Et,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=lD(n);l.diff(s).add(d).update(h).remove(v).execute();function d(g){var m=oD(l,o,g,c,u);v9(m,l,g,f)}function h(g,m){var b=s.getItemGraphicEl(m),_=bW(l,g,c,u);l.setItemGraphicEl(g,b),un(b,{shape:{points:_}},n,g),eo(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=_Oe(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=lD(r),u=this._progressiveEls=[],c=n.start;c<n.end;c++){var f=oD(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 _Oe(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),On(i,{shape:{width:a.width,height:a.height}},t,n),i}function bW(e,t,n,r){for(var a=[],i=0;i<n.length;i++){var o=n[i],l=e.get(e.mapDimension(o),t);wOe(l,r.getAxis(o).type)||a.push(r.dataToPoint(l,o))}return a}function oD(e,t,n,r,a){var i=bW(e,n,r,a),o=new ya({shape:{points:i},z2:10});return t.add(o),e.setItemGraphicEl(n,o),o}function lD(e){var t=e.get("smooth",!0);return t===!0&&(t=yOe),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 wOe(e,t){return t==="category"?e==null:e==null||isNaN(e)}var xOe=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(SOe,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 SOe(e){var t=e.ecModel.getComponent("parallel",e.get("parallelIndex"));if(t){var n={};return K(t.dimensions,function(r){var a=COe(r);n[r]=a}),n}}function COe(e){return+e.replace("dim","")}var TOe=["lineStyle","opacity"],kOe={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(TOe,!0);u!=null&&(s=u)}var c=i.ensureUniqueItemVisual(l,"style");c.opacity=s},a.start,a.end)}}}};function zOe(e){MOe(e),EOe(e)}function MOe(e){if(!e.parallel){var t=!1;K(e.series,function(n){n&&n.type==="parallel"&&(t=!0)}),t&&(e.parallel=[{}])}}function EOe(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 AOe=5,IOe=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(DOe,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),DOe={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>AOe)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 LOe=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),POe=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}(oo);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,_W=Math.min,wW=Math.max,sD=Math.floor,ROe=Math.ceil,uD=Zn,NOe=Math.PI,OOe=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 POe(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")||sD(u/2);h=[c*p-v/2],h[1]=h[0]+v}var g=(l-v)/(u-f);g<3&&(g=0);var m=[sD(uD(h[0]/c,1))+1,ROe(uD(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?VOe:$Oe)(l,a),u={horizontal:{x:s.position,y:a.axisLength},vertical:{x:0,y:s.position}},c={horizontal:NOe/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 Ki([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=[wW(0,v-h/2)],a[1]=_W(o[1],a[0]+h),a[0]=a[1]-h}return{axisExpandWindow:a,behavior:u}},e}();function g0(e,t){return _W(wW(e,t[0]),t[1])}function $Oe(e,t){var n=t.layoutLength/(t.axisCount-1);return{position:n*e,axisNameAvailableWidth:n,axisLabelShow:!0}}function VOe(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 BOe(e,t){var n=[];return e.eachComponent("parallel",function(r,a){var i=new OOe(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 FOe={create:BOe},Ox=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--)mi(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(Ox,Op);var Hc=!0,np=Math.min,jd=Math.max,HOe=Math.pow,jOe=1e4,qOe=6,GOe=6,cD="globalPan",WOe={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},UOe={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},fD={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},YOe=0,eC=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 Et,r._uid="brushController_"+YOe++,K(t$e,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||$Pe(r,cD,this._uid),K(this._handlers,function(a,i){r.on(i,a)}),this._brushType=n.brushType,this._brushOption=jt(kt(fD),n,!0)},t.prototype._doDisableBrush=function(){var n=this._zr;VPe(n,cD,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(fD),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]):SW(o,xW(o,v));tC(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}(Ai);function xW(e,t){var n=k3[t.brushType].createCover(e,t);return n.__brushOption=t,TW(n,t),e.group.add(n),n}function SW(e,t){var n=nC(t);return n.endCreating&&(n.endCreating(e,t),TW(t,t.__brushOption)),t}function CW(e,t){var n=t.__brushOption;nC(t).updateCoverShape(e,t,n.range,n)}function TW(e,t){var n=t.z;n==null&&(n=jOe),e.traverse(function(r){r.z=n,r.z2=n})}function tC(e,t){nC(t).updateCommon(e,t),CW(e,t)}function nC(e){return k3[e.__brushOption.brushType]}function rC(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 kW(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 KOe(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=HOe(a*a+i*i,.5);return o>qOe}function zW(e){var t=e.length-1;return t<0&&(t=0),[e[0],e[t]]}function MW(e,t,n,r){var a=new Et;return a.add(new rn({name:"main",style:aC(n),silent:!0,draggable:!0,cursor:"move",drift:Bt(dD,e,t,a,["n","s","w","e"]),ondragend:Bt(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:Bt(dD,e,t,a,i),ondragend:Bt(jc,t,{isEnd:!0})}))}),a}function EW(e,t,n,r){var a=r.brushStyle.lineWidth||0,i=jd(a,GOe),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(aC(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]):ZOe(e,i);o&&o.attr({silent:!r,invisible:!r,cursor:r?UOe[l]+"-resize":null})})}function nl(e,t,n,r,a,i,o){var l=t.childOfName(n);l&&l.setShape(QOe(iC(e,t,[[r,a],[r+i,a+o]])))}function aC(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 XOe(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],XOe(e));return r[a]}function ZOe(e,t){var n=[Bx(e,t[0]),Bx(e,t[1])];return(n[0]==="e"||n[0]==="w")&&n.reverse(),n.join("")}function dD(e,t,n,r,a,i){var o=n.__brushOption,l=e.toRectRange(o.range),s=IW(t,a,i);K(r,function(u){var c=WOe[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])),tC(t,n),jc(t,{isEnd:!1})}function JOe(e,t,n,r){var a=t.__brushOption.range,i=IW(e,n,r);K(a,function(o){o[0]+=i[0],o[1]+=i[1]}),tC(e,t),jc(e,{isEnd:!1})}function IW(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 iC(e,t,n){var r=kW(e,t);return r&&r!==Hc?r.clipPath(n,e._transform):kt(n)}function QOe(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 e$e(e,t,n){if(!(!e._brushType||n$e(e,t.offsetX,t.offsetY))){var r=e._zr,a=e._covers,i=rC(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 DW(e,t,n,r){var a=e._creatingCover,i=e._creatingPanel,o=e._brushOption,l;if(e._track.push(n.slice()),KOe(e)||a){if(i&&!a){o.brushMode==="single"&&$x(e);var s=kt(o);s.brushType=hD(s.brushType,i),s.panelId=i===Hc?null:i.panelId,a=e._creatingCover=xW(e,s),e._covers.push(a)}if(a){var u=k3[hD(e._brushType,i)],c=a.__brushOption;c.range=u.getCreatingRange(iC(e,a,e._track)),r&&(SW(e,a),u.updateCommon(e,a)),CW(e,a),l={isEnd:r}}}else r&&o.brushMode==="single"&&o.removeOnClick&&rC(e,t,n)&&$x(e)&&(l={isEnd:r,removeOnClick:!0});return l}function hD(e,t){return e==="auto"?t.defaultBrushType:e}var t$e={mousedown:function(e){if(this._dragging)vD(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=rC(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(e$e(this,e,r),this._dragging){Fx(e);var a=DW(this,e,r,!1);a&&jc(this,a)}},mouseup:function(e){vD(this,e)}};function vD(e,t){if(e._dragging){Fx(t);var n=t.offsetX,r=t.offsetY,a=e.group.transformCoordToLocal(n,r),i=DW(e,t,a,!0);e._dragging=!1,e._track=[],e._creatingCover=null,i&&jc(e,i)}}function n$e(e,t,n){var r=e._zr;return t<0||t>r.getWidth()||n<0||n>r.getHeight()}var k3={lineX:pD(0),lineY:pD(1),rect:{createCover:function(e,t){function n(r){return r}return MW({toRectRange:n,fromRectRange:n},e,t,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(e){var t=zW(e);return AW(t[1][0],t[1][1],t[0][0],t[0][1])},updateCoverShape:function(e,t,n,r){EW(e,t,n,r)},updateCommon:Vx,contain:Hx},polygon:{createCover:function(e,t){var n=new Et;return n.add(new ya({name:"main",style:aC(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:Bt(JOe,e,t),ondragend:Bt(jc,e,{isEnd:!0})}))},updateCoverShape:function(e,t,n,r){t.childAt(0).setShape({points:iC(e,t,n)})},updateCommon:Vx,contain:Hx}};function pD(e){return{createCover:function(t,n){return MW({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=zW(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=kW(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(),EW(t,n,s,a)},updateCommon:Vx,contain:Hx}}function LW(e){return e=oC(e),function(t){return HH(t,e)}}function PW(e,t){return e=oC(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 RW(e,t,n){var r=oC(e);return function(a,i){return r.contain(i[0],i[1])&&!x3(a,t,n)}}function oC(e){return qt.create(e)}var r$e=["axisLine","axisTickLabel","axisName"],a$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 eC(r.getZr())).on("brush",lt(this._onBrush,this))},t.prototype.render=function(n,r,a,i){if(!i$e(n,r,i)){this.axisModel=n,this.api=a,this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Et,this.group.add(this._axisGroup),!!n.get("show")){var l=l$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(r$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:LW(f),isTargetByCursor:RW(f,l,i),getLinearBrushOtherExtent:PW(f,0)}]).enableBrush({brushType:"lineX",brushStyle:r,removeOnClick:!0}).updateCovers(o$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 i$e(e,t,n){return n&&n.type==="axisAreaSelect"&&t.findComponents({mainType:"parallelAxis",query:n})[0]===e}function o$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 l$e(e,t){return t.getComponent("parallel",e.get("parallelIndex"))}var s$e={type:"axisAreaSelect",event:"axisAreaSelected"};function u$e(e){e.registerAction(s$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 c$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 NW(e){e.registerComponentView(IOe),e.registerComponentModel(LOe),e.registerCoordinateSystem("parallel",FOe),e.registerPreprocessor(zOe),e.registerComponentModel(Ox),e.registerComponentView(a$e),Hd(e,"parallel",Ox,c$e),u$e(e)}function f$e(e){Kt(NW),e.registerChartView(bOe),e.registerSeriesModel(xOe),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,kOe)}var d$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}(),h$e=function(e){Se(t,e);function t(n){return e.call(this,n)||this}return t.prototype.getDefaultShape=function(){return new d$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),v$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 h$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(),E=z.get("localX"),A=z.get("localY"),D=v.getLayout(),$,N,R,O,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,N=(C!=null?C*c:w.y)+w.dy,R=(E!=null?E*u:T.x)+D.ty,O=A!=null?A*c:T.y,B=$,V=N*(1-_)+O*_,P=R,W=N*_+O*(1-_)):($=(S!=null?S*u:w.x)+w.dx,N=(C!=null?C*c:w.y)+D.sy,R=E!=null?E*u:T.x,O=(A!=null?A*c:T.y)+D.ty,B=$*(1-_)+R*_,V=N,P=$*_+R*(1-_),W=O),p.setShape({x1:$,y1:N,x2:R,y2:O,cpx1:B,cpy1:V,cpx2:P,cpy2:W}),p.useStyle(b.getItemStyle()),gD(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,Ao(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 gD(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(p$e(l.getBoundingRect(),n,function(){l.removeClipPath()})),this._data=n.getData()},t.prototype.dispose=function(){},t.type="sankey",t}(zn);function gD(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 p$e(e,t,n){var r=new rn({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return On(r,{shape:{width:e.width+20}},t,n),r}var g$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=yW(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 m$e(e,t){e.eachSeriesByType("sankey",function(n){var r=n.get("nodeWidth"),a=n.get("nodeGap"),i=y$e(n,t);n.layoutInfo=i;var o=i.width,l=i.height,s=n.getGraph(),u=s.nodes,c=s.edges;_$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");b$e(u,c,r,a,o,l,d,h,v)})}function y$e(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()})}function b$e(e,t,n,r,a,i,o,l,s){w$e(e,t,n,a,i,l,s),T$e(e,t,i,a,r,o,l),P$e(e,l)}function _$e(e){K(e,function(t){var n=Ns(t.outEdges,Vm),r=Ns(t.inEdges,Vm),a=t.getValue()||0,i=Math.max(n,r,a);t.setLayout({value:i},!0)})}function w$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"&&x$e(e,o,i,C);var T=i==="vertical"?(a-n)/C:(r-n)/C;C$e(e,T,i)}function OW(e){var t=e.hostGraph.data.getRawDataItem(e.dataIndex);return t.depth!=null&&t.depth>=0}function x$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"&&S$e(e,r)}function S$e(e,t){K(e,function(n){!OW(n)&&!n.outEdges.length&&n.setLayout({depth:t},!0)})}function C$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 T$e(e,t,n,r,a,i,o){var l=k$e(e,o);z$e(l,t,n,r,a,o),y9(l,a,n,r,o);for(var s=1;i>0;i--)s*=.99,M$e(l,s,o),y9(l,a,n,r,o),L$e(l,s,o),y9(l,a,n,r,o)}function k$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 z$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 M$e(e,t,n){K(e.slice().reverse(),function(r){K(r,function(a){if(a.outEdges.length){var i=Ns(a.outEdges,E$e,n)/Ns(a.outEdges,Vm);if(isNaN(i)){var o=a.outEdges.length;i=o?Ns(a.outEdges,A$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 E$e(e,t){return Js(e.node2,t)*e.getValue()}function A$e(e,t){return Js(e.node2,t)}function I$e(e,t){return Js(e.node1,t)*e.getValue()}function D$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 Ns(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 L$e(e,t,n){K(e,function(r){K(r,function(a){if(a.inEdges.length){var i=Ns(a.inEdges,I$e,n)/Ns(a.inEdges,Vm);if(isNaN(i)){var o=a.inEdges.length;i=o?Ns(a.inEdges,D$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 P$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 R$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 N$e(e){e.registerChartView(v$e),e.registerSeriesModel(g$e),e.registerLayout(m$e),e.registerVisual(R$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 $W=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:Bt(vj,_,this)})},e.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},e}(),VW=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(VW,$W,!0);var O$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=mD(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?(eo(f),BW(d,f,i,u)):f=mD(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),$$e=function(){function e(){}return e}(),V$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 $$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 mD(e,t,n,r,a){var i=e.ends,o=new V$e({shape:{points:a?B$e(i,r,e):i}});return BW(e,o,t,n,a),o}function BW(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 B$e(e,t,n){return Ge(e,function(r){return r=r.slice(),r[t]=n.initBaseline,r})}var t1=K;function F$e(e){var t=H$e(e);t1(t,function(n){var r=n.seriesModels;r.length&&(j$e(n),t1(r,function(a,i){q$e(a,n.boxOffsetList[i],n.boxWidthList[i])}))})}function H$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 j$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 q$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),E=[];E[o]=S,E[l]=z;var A;return isNaN(S)||isNaN(z)?A=[NaN,NaN]:(A=r.dataToPoint(E),A[o]+=t),A}function w(S,C,T){var z=C.slice(),E=C.slice();z[o]+=i,E[o]-=i,T?S.push(z,E):S.push(E,z)}function x(S,C){var T=C.slice(),z=C.slice();T[o]-=i,z[o]+=i,S.push(T,z)}}function G$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=mi(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 W$e={type:"echarts:boxplot",transform:function(t){var n=t.upstream;if(n.sourceFormat!==Jr){var r="";pn(r)}var a=G$e(n.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:a.boxData},{data:a.outliers}]}};function U$e(e){e.registerSeriesModel(VW),e.registerChartView(O$e),e.registerLayout(F$e),e.registerTransform(W$e)}var Y$e=["color","borderColor"],K$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&&yD(u,f))return;var d=b9(f,c,!0);On(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&&yD(u,h)){i.remove(d);return}d?(un(d,{shape:{points:h.ends}},n,c),eo(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(),bD(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){bD(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),X$e=function(){function e(){}return e}(),Z$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 X$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 Z$e({shape:{points:n?J$e(r,e):r},z2:100})}function yD(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 J$e(e,t){return Ge(e,function(n){return n=n.slice(),n[1]=t.initBaseline,n})}var Q$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 Q$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 bD(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(Y$e);t.useStyle(i),t.style.fill=null,t.style.stroke=a}var FW=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(FW,$W,!0);function eVe(e){!e||!He(e.series)||K(e.series,function(t){wt(t)&&t.type==="k"&&(t.type="candlestick")})}var tVe=["itemStyle","borderColor"],nVe=["itemStyle","borderColor0"],rVe=["itemStyle","borderColorDoji"],aVe=["itemStyle","color"],iVe=["itemStyle","color0"],oVe={seriesType:"candlestick",plan:mh(),performRawSeries:!0,reset:function(e,t){function n(i,o){return o.get(i>0?aVe:iVe)}function r(i,o){return o.get(i===0?rVe:i>0?tVe:nVe)}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)}}}}}},lVe={seriesType:"candlestick",plan:mh(),reset:function(e){var t=e.coordinateSystem,n=e.getData(),r=sVe(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),E=B(T,_),A=B(z,_),D=B(S,_),$=B(C,_),N=[];V(N,A,0),V(N,E,1),N.push(W($),W(A),W(D),W(E));var R=g.getItemModel(m),O=!!R.get(["itemStyle","borderColorDoji"]);g.setItemLayout(m,{sign:_D(b,m,w,x,c,O),initBaseline:w>x?A[i]:E[i],ends:N,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),E=C.get(u,S),A=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++]=_D(C,S,E,A,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 _D(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 sVe(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($t(e.get("barMaxWidth"),a),a),o=et($t(e.get("barMinWidth"),1),a),l=e.get("barWidth");return l!=null?et(l,a):Math.max(Math.min(a/2,i),o)}function uVe(e){e.registerChartView(K$e),e.registerSeriesModel(FW),e.registerPreprocessor(eVe),e.registerVisual(oVe),e.registerLayout(lVe)}function wD(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 cVe=function(e){Se(t,e);function t(n,r){var a=e.call(this)||this,i=new $p(n,r),o=new Et;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)}wD(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}}wD(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}(Et),fVe=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(cVe)},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=LTe(r.getRoamTransform()),this.group.decomposeTransform())},t.prototype.remove=function(n,r){this._symbolDraw&&this._symbolDraw.remove(!0)},t.type="effectScatter",t}(zn),dVe=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 hVe(e){e.registerChartView(fVe),e.registerSeriesModel(dVe),e.registerLayout(Fp("effectScatter"))}var HW=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 J8(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}(Et),jW=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}(Et),vVe=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 jW(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}(HW),pVe=function(){function e(){this.polyline=!1,this.curveness=0,this.segs=[]}return e}(),gVe=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 pVe},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(dH(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),mVe=function(){function e(){this.group=new Et}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 gVe({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}(),qW={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)}}}}}},yVe=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=qW.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 mVe:new Q8(o?i?vVe:jW:i?HW:J8),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),bVe=typeof Uint32Array>"u"?Array:Uint32Array,_Ve=typeof Float64Array>"u"?Array:Float64Array;function xD(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),A6([a,n[0],n[1]])}))}var wVe=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||[],xD(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(xD(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 bVe(a),o=new _Ve(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 xVe={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 SVe(e){e.registerChartView(yVe),e.registerSeriesModel(wVe),e.registerLayout(qW),e.registerVisual(xVe)}var CVe=256,TVe=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,E=z-T;S<C;){var _=x[S+3]/256,A=Math.floor(_*(CVe-1))*4;if(_>0){var D=o(_)?s:u;_>0&&(_=_*E+T),x[S++]=D[A],x[S++]=D[A+1],x[S++]=D[A+2],x[S++]=D[A+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 kVe(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 zVe(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 SD(e){var t=e.dimensions;return t[0]==="lng"&&t[1]==="lat"}var MVe=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()):SD(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&&(SD(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"),E=s?[g.mapDimension("x"),g.mapDimension("y"),g.mapDimension("value")]:[g.mapDimension("time"),g.mapDimension("value")],A=a;A<i;A++){var D=void 0,$=g.getItemVisual(A,"style");if(s){var N=g.get(E[0],A),R=g.get(E[1],A);if(isNaN(g.get(E[2],A))||isNaN(N)||isNaN(R)||N<f[0]||N>f[1]||R<d[0]||R>d[1])continue;var O=l.dataToPoint([N,R]);D=new rn({shape:{x:O[0]-u/2,y:O[1]-c/2,width:u,height:c},style:$})}else{if(isNaN(g.get(E[1],A)))continue;D=new rn({z2:1,shape:l.dataToRect([g.get(E[0],A)]).contentShape,style:$})}if(g.hasItemOption){var B=g.getItemModel(A),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(A),W="-";P&&P[2]!=null&&(W=P[2]+""),Fr(D,x,{labelFetcher:n,labelDataIndex:A,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(A,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 TVe;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 E=n.dataToPoint([C,T]);return E[0]-=d,E[1]-=h,E.push(z),E}),w=a.getExtent(),x=a.type==="visualMap.continuous"?zVe(w,a.option.range):kVe(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),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.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 AVe(e){e.registerChartView(MVe),e.registerSeriesModel(EVe)}var IVe=["itemStyle","borderWidth"],CD=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],S9=new Hl,DVe=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:CD[+c],categoryDim:CD[1-+c]};o.diff(l).add(function(v){if(o.hasValue(v)){var p=kD(o,v),g=TD(o,v,p,d),m=zD(o,d,g);o.setItemGraphicEl(v,m),i.add(m),ED(m,d,g)}}).update(function(v,p){var g=l.getItemGraphicEl(p);if(!o.hasValue(v)){i.remove(g);return}var m=kD(o,v),b=TD(o,v,m,d),_=XW(o,b);g&&_!==g.__pictorialShapeStr&&(i.remove(g),o.setItemGraphicEl(v,null),g=null),g?VVe(g,d,b):g=zD(o,d,b,!0),o.setItemGraphicEl(v,g),g.__pictorialSymbolMeta=b,i.add(g),ED(g,d,b)}).remove(function(v){var p=l.getItemGraphicEl(v);p&&MD(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){MD(i,Dt(o).dataIndex,n,o)}):a.removeAll()},t.type="pictorialBar",t}(zn);function TD(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};LVe(n,i,a,r,d),PVe(e,t,a,i,o,d.boundingLength,d.pxSign,c,r,d),RVe(n,d.symbolScale,u,r,d);var h=d.symbolSize,v=ef(n.get("symbolOffset"),h);return NVe(n,h,a,i,o,v,l,d.valueLineWidth,d.boundingLength,d.repeatCutLength,r,d),d}function LVe(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 PVe(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 RVe(e,t,n,r,a){var i=e.get(IVe)||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 NVe(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=JF(r),T=C?r:AD((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?AD((Math.abs(u)+S)/x):0),g=T*x-S,f.repeatTimes=T,f.symbolMargin=w}var E=v*(g/2),A=f.pathPosition=[];A[d.index]=n[d.wh]/2,A[h.index]=o==="start"?E:o==="end"?s-E:s/2,i&&(A[0]+=i[0],A[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(A[h.index]+E)),$[d.wh]=n[d.wh];var N=f.clipShape={};N[d.xy]=-n[d.xy],N[d.wh]=c.ecSize[d.wh],N[h.xy]=0,N[h.wh]=n[h.wh]}function GW(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 WW(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(lC(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=GW(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 UW(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=GW(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 YW(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 KW(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 kD(e,t){var n=e.getItemModel(t);return n.getAnimationDelayParams=OVe,n.isAnimationEnabled=$Ve,n}function OVe(e){return{index:e.__pictorialAnimationIndex,count:e.__pictorialRepeatTimes}}function $Ve(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function zD(e,t,n,r){var a=new Et,i=new Et;return a.add(i),a.__pictorialBundle=i,i.x=n.bundlePosition[0],i.y=n.bundlePosition[1],n.symbolRepeat?WW(a,t,n):UW(a,t,n),YW(a,n,r),KW(a,t,n,r),a.__pictorialShapeStr=XW(e,n),a.__pictorialSymbolMeta=n,a}function VVe(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?WW(e,t,n,!0):UW(e,t,n,!0),YW(e,n,!0),KW(e,t,n,!0)}function MD(e,t,n,r){var a=r.__pictorialBarRect;a&&a.removeTextContent();var i=[];lC(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 XW(e,t){return[e.getItemVisual(t.dataIndex,"symbol")||"none",!!t.symbolRepeat,!!t.symbolClip].join(":")}function lC(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 ED(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");lC(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 AD(e){var t=Math.round(e);return Math.abs(e-t)<1e-4?t:Math.ceil(e)}var BVe=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 FVe(e){e.registerChartView(DVe),e.registerSeriesModel(BVe),e.registerLayout(e.PRIORITY.VISUAL.LAYOUT,Bt(Dq,"pictorialBar")),e.registerLayout(e.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,Lq("pictorialBar"))}var HVe=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]),E=z.x,A=z.y0,D=z.y;w.push(E,A),x.push(E,A+D),S=i.getItemVisual(C[T],"style")}var $,N=i.getItemLayout(C[0]),R=n.getModel("label"),O=R.get("margin"),B=n.getModel("emphasis");if(g==="add"){var V=v[m]=new Et;$=new wG({shape:{points:w,stackedOnPoints:x,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),V.add($),l.add(V),n.isAnimationEnabled()&&$.setClipPath(jVe($.getBoundingRect(),n,function(){$.removeClipPath()}))}else{var V=_[b];$=V.childAt(0),l.add(V),v[m]=V,un($,{shape:{points:w,stackedOnPoints:x}},n),eo($)}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=N.x-O,P.y=N.y0+N.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 jVe(e,t,n){var r=new rn({shape:{x:e.x-10,y:e.y-10,width:0,height:e.height+20}});return On(r,{shape:{x:e.x-50,width:e.width+100,height:e.height+20}},t,n),r}var T9=2,qVe=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=Np(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 GVe(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];ID(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];ID(r,n,c)}r.setLayout("layoutInfo",i)})}function ID(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=WVe(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 WVe(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 UVe(e){e.registerChartView(HVe),e.registerSeriesModel(qVe),e.registerLayout(GVe),e.registerProcessor(Hp("themeRiver"))}var YVe=2,KVe=4,DD=function(e){Se(t,e);function t(n,r,a,i){var o=e.call(this)||this;o.z2=YVe,o.textConfig={inside:!0},Dt(o).seriesIndex=r.seriesIndex;var l=new on({z2:KVe,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,On(l,{shape:{r:c.r}},a,r.dataIndex)):(un(l,{shape:f},a),eo(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 E,A=g(b,"distance")||0,D=g(b,"align"),$=g(b,"rotate"),N=Math.PI*.5,R=Math.PI*1.5,O=Fa($==="tangential"?Math.PI/2-s:s),B=O>N&&!N1(O-N)&&O<R;C==="outside"?(E=o.r+A,D=B?"right":"left"):!D||D==="center"?(l===2*Math.PI&&o.r0===0?E=0:E=(o.r+o.r0)/2,D="center"):D==="left"?(E=o.r0+A,D=B?"right":"left"):D==="right"&&(E=o.r-A,D=B?"left":"right"),w.style.align=D,w.style.verticalAlign=g(b,"verticalAlign")||"middle",w.x=E*u+o.cx,w.y=E*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",LD="sunburstHighlight",XVe="sunburstUnhighlight";function ZVe(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=U8(l,o.node)?"rollUp":"drillDown"),a.resetViewRoot(o.node)}}}),e.registerAction({type:LD,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,[LD],i);o&&(t.dataIndex=o.node.dataIndex)}r.dispatchAction($e(t,{type:"highlight"}))}),e.registerAction({type:XVe,update:"updateView"},function(t,n,r){t=$e({},t),r.dispatchAction($e(t,{type:"downplay"}))})}var JVe=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(Bt(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 DD(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 DD(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),QVe=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};ZW(a);var i=this._levelModels=Ge(n.levels||[],function(s){return new yn(s,this,r)},this),o=W8.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(){nW(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 ZW(e){var t=0;K(e.children,function(r){ZW(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 PD=Math.PI/180;function eBe(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")*PD,v=r.get("minAngle")*PD,p=r.getData().tree.root,g=r.getViewRoot(),m=g.depth,b=r.get("sort");b!=null&&JW(g,b);var _=0;K(g.children,function(O){!isNaN(O.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"),E=r.get("stillShowZeroSum"),A=z?1:-1,D=function(O,B){if(O){var V=B;if(O!==p){var P=O.getValue(),W=w===0&&E?x:P*x;W<v&&(W=v),V=B+A*W;var Z=O.depth-m-(S?-1:1),ee=f+T*Z,re=f+T*(Z+1),ue=r.getLevelModel(O);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))}O.setLayout({angle:W,startAngle:B,endAngle:V,clockwise:z,cx:u,cy:c,r0:ee,r:re})}if(O.children&&O.children.length){var ie=0;K(O.children,function(ve){ie+=D(ve,B+ie)})}return V-B}};if(S){var $=f,N=f+T,R=Math.PI*2;p.setLayout({angle:R,startAngle:h,endAngle:h+R,clockwise:z,cx:u,cy:c,r0:$,r:N})}D(g,h)})}function JW(e,t){var n=e.children||[];e.children=tBe(n,t),n.length&&K(e.children,function(r){JW(r,t)})}function tBe(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 nBe(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 rBe(e){e.registerChartView(JVe),e.registerSeriesModel(QVe),e.registerLayout(Bt(eBe,"sunburst")),e.registerProcessor(Bt(Hp,"sunburst")),e.registerVisual(nBe),ZVe(e)}var RD={color:"fill",borderColor:"stroke"},aBe={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},ml=an(),iBe=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 oBe(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 lBe(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(oBe,e)}}}function sBe(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 uBe(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(sBe,e)}}}function cBe(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 fBe(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(cBe,e)}}}function dBe(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 hBe(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(dBe,e)}}}function vBe(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 QW(e,t,n,r){return e&&(e.legacy||e.legacy!==!1&&!n&&!r&&t!=="tspan"&&(t==="text"||ht(e,"text")))}function eU(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 ND(o,e),K(o.rich,function(s){ND(s,s)}),{textConfig:a,textContent:i}}function ND(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 OD(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";$D(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){$D(l,l)}),r}function $D(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 tU={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},VD=tn(tU);Oo(Vo,function(e,t){return e[t]=1,e},{});Vo.join(", ");var Bm=["","style","shape","extra"],qd=an();function sC(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(bBe,{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(wBe(e,t,f),FD("shape",t,f),FD("extra",t,f),!i&&l&&(_Be(e,t,c),BD("shape",e,t,c),BD("extra",e,t,c),xBe(e,t,u,c)),f.style=u,pBe(e,f,o),mBe(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=sC("enter",e,t,n,a);h.duration>0&&e.animateFrom(d,h)}else gBe(e,t,a||0,n,c);nU(e,t),u?e.dirty():e.markRedraw()}function nU(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=sC("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 pBe(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 gBe(e,t,n,r,a){if(a){var i=sC("update",e,t,r,n);i.duration>0&&e.animateFrom(a,i)}}function mBe(e,t){ht(t,"silent")&&(e.silent=t.silent),ht(t,"ignore")&&(e.ignore=t.ignore),e instanceof Mi&&ht(t,"invisible")&&(e.invisible=t.invisible),e instanceof Zt&&ht(t,"autoBatch")&&(e.autoBatch=t.autoBatch)}var po={},yBe={setTransform:function(e,t){return po.el[e]=t,this},getTransform:function(e){return po.el[e]},setShape:function(e,t){var n=po.el,r=n.shape||(n.shape={});return r[e]=t,n.dirtyShape&&n.dirtyShape(),this},getShape:function(e){var t=po.el.shape;if(t)return t[e]},setStyle:function(e,t){var n=po.el,r=n.style;return r&&(r[e]=t,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(e){var t=po.el.style;if(t)return t[e]},setExtra:function(e,t){var n=po.el.extra||(po.el.extra={});return n[e]=t,this},getExtra:function(e){var t=po.el.extra;if(t)return t[e]}};function bBe(){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}po.el=t,r(yBe)}}function BD(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];SBe(a[f],d)&&(o[f]=d)}}}}}function FD(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 _Be(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 wBe(e,t,n){for(var r=0;r<VD.length;r++){var a=VD[r],i=tU[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 xBe(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 SBe(e,t){return Zr(e)?e!==t:e!=null&&isFinite(e)}var rU=an(),CBe=["percent","easing","shape","style","extra"];function aU(e){e.stopAnimation("keyframe"),e.attr(rU(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=rU(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(CBe,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",uC="blur",cC="select",Qs=[zs,yl,uC,cC],k9={normal:["itemStyle"],emphasis:[yl,"itemStyle"],blur:[uC,"itemStyle"],select:[cC,"itemStyle"]},z9={normal:["label"],emphasis:[yl,"label"],blur:[uC,"label"],select:[cC,"label"]},TBe=["x","y"],kBe="e\0\0",ti={normal:{},emphasis:{},blur:{},select:{}},zBe={cartesian2d:lBe,geo:uBe,single:fBe,polar:hBe,calendar:vBe};function qx(e){return e instanceof Zt}function Gx(e){return e instanceof Mi}function MBe(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 EBe=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=HD(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=HD(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 fC(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=lU(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 Et;else{if(t==="compoundPath")throw new Error('"compoundPath" is not supported yet.');var o=e8(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 dC(e,t,n,r,a,i,o){aU(t);var l=a&&a.normal.cfg;l&&t.setTextConfig(l),r&&r.transition==null&&(r.transition=TBe);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 iU(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 ABe(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++)IBe(r,t,Qs[l])}}function IBe(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 HD(e,t,n,r){var a=e.get("renderItem"),i=e.coordinateSystem,o={};i&&(o=i.prepareCustoms?i.prepareCustoms(i):zBe[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:E,barLayout:A,currentSeriesIndices:D,font:$},o.api||{}),s={context:{},seriesId:e.id,seriesName:e.name,seriesIndex:e.seriesIndex,coordSys:o.coordSys,dataInsideLength:t.count(),encode:DBe(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(N){return N===u?c||(c=t.getItemModel(N)):t.getItemModel(N)}function b(N,R){return t.hasItemOption?N===u?f[R]||(f[R]=m(N).getModel(k9[R])):m(N).getModel(k9[R]):h[R]}function _(N,R){return t.hasItemOption?N===u?d[R]||(d[R]=m(N).getModel(z9[R])):m(N).getModel(z9[R]):v[R]}return function(N,R){return u=N,c=null,f={},d={},a&&a(_t({dataIndexInside:N,dataIndex:t.getRawIndex(N),actionType:R?R.type:null},s),l)};function w(N,R){return R==null&&(R=u),t.getStore().get(t.getDimensionIndex(N||0),R)}function x(N,R){R==null&&(R=u),N=N||0;var O=t.getDimensionInfo(N);if(!O){var B=t.getDimensionIndex(N);return B>=0?t.getStore().get(B,R):void 0}var V=t.get(O.name,R),P=O&&O.ordinalMeta;return P?P.categories[V]:V}function S(N,R){R==null&&(R=u);var O=t.getItemVisual(R,"style"),B=O&&O.fill,V=O&&O.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")?$t(e.getFormattedLabel(R,zs),Fd(t,R)):null;var re=ym(Z,W,!1);return z(N,P),P=OD(P,ee,re),N&&T(P,N),P.legacy=!0,P}function C(N,R){R==null&&(R=u);var O=b(R,yl).getItemStyle(),B=_(R,yl),V=In(B,null,null,!0,!0);V.text=B.getShallow("show")?Ao(e.getFormattedLabel(R,yl),e.getFormattedLabel(R,zs),Fd(t,R)):null;var P=ym(B,null,!0);return z(N,O),O=OD(O,V,P),N&&T(O,N),O.legacy=!0,O}function T(N,R){for(var O in R)ht(R,O)&&(N[O]=R[O])}function z(N,R){N&&(N.textFill&&(R.textFill=N.textFill),N.textPosition&&(R.textPosition=N.textPosition))}function E(N,R){if(R==null&&(R=u),ht(RD,N)){var O=t.getItemVisual(R,"style");return O?O[RD[N]]:null}if(ht(aBe,N))return t.getItemVisual(R,N)}function A(N){if(i.type==="cartesian2d"){var R=i.getBaseAxis();return wIe(_t({axis:R},N))}}function D(){return n.getCurrentSeriesIndices()}function $(N){return t8(N,n)}}function DBe(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=hC(e,t,n,r,a,i);return l&&o.setItemGraphicEl(n,l),l&&Kn(l,r.focus,r.blurScope,r.emphasisDisabled),l}function hC(e,t,n,r,a,i){var o=-1,l=t;t&&oU(t,r,a)&&(o=Yt(i.childrenRef(),t),t=null);var s=!t,u=t;u?u.clearStates():(u=fC(r),l&&MBe(l,u)),r.morph===!1?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),ti.normal.cfg=ti.normal.conOpt=ti.emphasis.cfg=ti.emphasis.conOpt=ti.blur.cfg=ti.blur.conOpt=ti.select.cfg=ti.select.conOpt=null,ti.isLegacy=!1,PBe(u,n,r,a,s,ti),LBe(u,n,r,a,s),dC(e,u,n,r,ti,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=vC(r,d,f);iU(f,u,d,h,ti)}}return ABe(u,r,a),r.type==="group"&&RBe(e,u,n,r,a),o>=0?i.replaceAt(u,o):i.add(u),u}function oU(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"&&VBe(i)&&lU(i)!==r.customPathData||a==="image"&&ht(o,"image")&&o.image!==r.customImagePath}function LBe(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&&oU(o,i,r)&&(o=null),o||(o=fC(i),e.setClipPath(o)),dC(null,o,t,i,null,r,a)}}function PBe(e,t,n,r,a,i){if(!e.isGroup){jD(n,null,i),jD(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=fC(o),e.setTextContent(c)),dC(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;iU(h,c,v,vC(o,v,h),null)}}f?c.dirty():c.markRedraw()}}}}function jD(e,t,n){var r=t?Hm(e,t):e,a=t?vC(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||QW(a,i,!!o,!!s))){n.isLegacy=!0;var u=eU(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 vC(e,t,n){var r=t&&t.style;return r==null&&n===yl&&e&&(r=e.styleEmphasis),r}function RBe(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){OBe({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),hC(e,d,n,f,a,t)):d.ignore=!0}for(var h=t.childCount()-1;h>=c;h--){var v=t.childAt(h);NBe(t,v,a)}}}function NBe(e,t,n){t&&z3(t,ml(e).option,n)}function OBe(e){new Ml(e.oldChildren,e.newChildren,qD,qD,e).add(GD).update(GD).remove($Be).execute()}function qD(e,t){var n=e&&e.name;return n??kBe+t}function GD(e,t){var n=this.context,r=e!=null?n.newChildren[e]:null,a=t!=null?n.oldChildren[t]:null;hC(n.api,a,n.dataIndex,r,n.seriesModel,n.group)}function $Be(e){var t=this.context,n=t.oldChildren[e];n&&z3(n,ml(n).option,t.seriesModel)}function lU(e){return e&&(e.pathData||e.d)}function VBe(e){return e&&(ht(e,"pathData")||ht(e,"d"))}function BBe(e){e.registerChartView(EBe),e.registerSeriesModel(iBe)}var Zu=an(),WD=kt,E9=lt,pC=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 Et,this.createPointerEl(l,u,t,n),this.createLabelEl(l,u,t,n),r.getZr().add(l);else{var d=Bt(UD,n,f);this.updatePointerEl(l,u,d),this.updateLabelEl(l,u,d,n)}KD(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=V8(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](WD(n.pointer));t.add(o)}},e.prototype.createLabelEl=function(t,n,r,a){if(n.label){var i=Zu(t).labelEl=new on(WD(n.label));t.add(i),YD(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}),YD(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:E9(this._onHandleDragMove,this,0,0),drift:E9(this._onHandleDragMove,this),ondragend:E9(this._onHandleDragEnd,this)}),r.add(a)),KD(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){UD(this._axisPointerModel,!n&&this._moveAnimation,this._handle,A9(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(A9(r),[t,n],this._axisModel,this._axisPointerModel);this._payloadInfo=a,r.stopAnimation(),r.attr(A9(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 UD(e,t,n,r){sU(Zu(n).lastProp,r)||(Zu(n).lastProp=r,t?un(n,r,e):(n.stopAnimation(),n.attr(r)))}function sU(e,t){if(wt(e)&&wt(t)){var n=!0;return K(t,function(r,a){n=n&&sU(e[a],r)}),!!n}else return e===t}function YD(e,t){e[t.get(["label","show"])?"show":"hide"]()}function A9(e){return{x:e.x||0,y:e.y||0,rotation:e.rotation||0}}function KD(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 gC(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 uU(e,t,n,r,a){var i=n.get("value"),o=cU(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),FBe(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 FBe(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 cU(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:M8(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 mC(e,t,n){var r=Ga();return Jc(r,r,n.rotation),$o(r,r,n.position),Ki([e.dataToCoord(t),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function fU(e,t,n,r,a,i){var o=ca.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=a.get(["label","margin"]),uU(t,r,a,i,{position:mC(r.axis,e,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function yC(e,t,n){return n=n||0,{x1:e[n],y1:e[1-n],x2:t[n],y2:t[1-n]}}function dU(e,t,n){return n=n||0,{x:e[n],y:e[1-n],width:t[n],height:t[1-n]}}function XD(e,t,n,r,a,i){return{cx:e,cy:t,r0:n,r,startAngle:a,endAngle:i,clockwise:!0}}var HBe=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=ZD(s,l).getOtherAxis(l).getGlobalExtent(),f=l.toGlobalCoord(l.dataToCoord(r,!0));if(u&&u!=="none"){var d=gC(i),h=jBe[u](l,f,c);h.style=d,n.graphicKey=h.type,n.pointer=h}var v=kx(s.model,a);fU(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=mC(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=ZD(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}(pC);function ZD(e,t){var n={};return n[t.dim+"AxisIndex"]=t.index,e.getCartesian(n)}var jBe={line:function(e,t,n){var r=yC([t,n[0]],[t,n[1]],JD(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:dU([t-r/2,n[0]],[r,a],JD(e))}}};function JD(e){return e.dim==="x"?0:1}var qBe=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(),GBe=K;function hU(e,t,n){if(!Jt.node){var r=t.getZr();fl(r).records||(fl(r).records={}),WBe(r,t);var a=fl(r).records[e]||(fl(r).records[e]={});a.handler=n}}function WBe(e,t){if(fl(e).initialized)return;fl(e).initialized=!0,n("click",Bt(QD,"click")),n("mousemove",Bt(QD,"mousemove")),n("globalout",YBe);function n(r,a){e.on(r,function(i){var o=KBe(t);GBe(fl(e).records,function(l){l&&a(l,i,o.dispatchAction)}),UBe(o.pendings,t)})}}function UBe(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 YBe(e,t,n){e.handler("leave",null,n)}function QD(e,t,n,r){t.handler(e,n,r)}function KBe(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 XBe=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";hU("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 vU(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 eL=an();function ZBe(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=vU({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:Bt(QBe,h),showTooltip:Bt(eFe,v)};K(l.coordSysMap,function(m,b){var _=s||m.containPoint(a);K(l.coordSysAxesInfo[b],function(w,x){var S=w.axis,C=aFe(u,w);if(!f&&_&&(!u||C)){var T=C&&C.value;T==null&&!s&&(T=S.pointToData(a)),T!=null&&tL(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,nL(w),nL(m)))),g[m.key]=C}})}),K(g,function(m,b){tL(c[b],m,p,!0,d)}),tFe(h,c,d),nFe(v,a,e,o),rFe(c,o,n),d}}function tL(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=JBe(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 JBe(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 QBe(e,t,n,r){e[t.key]={value:n,payloadBatch:r}}function eFe(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 tFe(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 nFe(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 rFe(e,t,n){var r=n.getZr(),a="axisPointerLastHighlights",i=eL(r)[a]||{},o=eL(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 aFe(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 nL(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",HBe),e.registerComponentModel(qBe),e.registerComponentView(XBe),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=vPe(t,n)}),e.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},ZBe)}function iFe(e){Kt(FG),Kt(Wp)}var oFe=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=gC(i),v=sFe[d](l,s,f,c);v.style=h,n.graphicKey=v.type,n.pointer=v}var p=i.get(["label","margin"]),g=lFe(r,a,i,s,p);uU(n,a,i,o,g)},t}(pC);function lFe(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=Ki([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 sFe={line:function(e,t,n,r){return e.dim==="angle"?{type:"Line",shape:yC(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:XD(t.cx,t.cy,r[0],r[1],(-n-a/2)*i,(-n+a/2)*i)}:{type:"Sector",shape:XD(t.cx,t.cy,n-a/2,n+a/2,0,Math.PI*2)}}},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.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),bC=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(bC,Op);var cFe=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}(bC),fFe=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}(bC),_C=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}(oo);_C.prototype.dataToRadius=oo.prototype.dataToCoord;_C.prototype.radiusToData=oo.prototype.coordToData;var dFe=an(),wC=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=dFe(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}(oo);wC.prototype.dataToAngle=oo.prototype.dataToCoord;wC.prototype.angleToData=oo.prototype.coordToData;var pU=["radius","angle"],hFe=function(){function e(t){this.dimensions=pU,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new _C,this._angleAxis=new wC,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=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.polarModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}const vFe=hFe;function pFe(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 gFe(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(Em(s,"radius"),function(u){a.scale.unionExtentFromData(s,u)}),K(Em(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 mFe(e){return e.mainType==="angleAxis"}function aL(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"),mFe(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 yFe={dimensions:pU,create:function(e,t){var n=[];return e.eachComponent("polar",function(r,a){var i=new vFe(a+"");i.update=gFe;var o=i.getRadiusAxis(),l=i.getAngleAxis(),s=r.findAxisModel("radiusAxis"),u=r.findAxisModel("angleAxis");aL(o,s),aL(l,u),pFe(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}},bFe=["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 iL(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 _Fe=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});iL(u),iL(l),K(bFe,function(c){n.get([c,"show"])&&(!a.scale.isBlank()||c==="axisLine")&&wFe[c](this.group,n,i,l,s,o,u)},this)}},t.type="angleAxis",t}(rf),wFe={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(hi(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(hi(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(hi(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(hi(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(hi(c[g],{style:_t({fill:s[g%s.length]},l.getAreaStyle()),silent:!0}))}}},xFe=["axisLine","axisTickLabel","axisName"],SFe=["splitLine","splitArea","minorSplitLine"],CFe=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 Et;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=kFe(l,n,f),v=new ca(n,h);K(xFe,v.add,v),i.add(v.getGroup()),Dp(a,i,n),K(SFe,function(p){n.get([p,"show"])&&!o.scale.isBlank()&&TFe[p](this.group,n,l,f,d,u,c)},this)}},t.type="radiusAxis",t}(rf),TFe={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(hi(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(hi(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(hi(c[d],{style:_t({fill:s[d%s.length]},l.getAreaStyle()),silent:!0}))}}};function kFe(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 gU(e){return e.get("stack")||"__ec_stack_"+e.seriesIndex}function mU(e,t){return t.dim+e.model.componentIndex}function zFe(e,t,n){var r={},a=MFe(_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=mU(l,s),c=gU(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),E=0,A=o.count();E<A;E++){var D=o.get(_,E),$=o.get(w,E),N=D>=0?"p":"n",R=z;x&&(r[c][$]||(r[c][$]={p:z,n:z}),R=r[c][$][N]);var O=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),O=R,B=R+W,V=Z-d,P=V-h,x&&(r[c][$][N]=B)}else{var ee=v.dataToCoord(D,S)-z,re=s.dataToCoord($);Math.abs(ee)<b&&(ee=(ee<0?-1:1)*b),O=re+d,B=O+h,V=R,P=R+ee,x&&(r[c][$][N]=P)}o.setItemLayout(E,{cx:p,cy:g,r0:O,r:B,startAngle:-V*Math.PI/180,endAngle:-P*Math.PI/180,clockwise:V>=P})}}})}function MFe(e){var t={};K(e,function(r,a){var i=r.getData(),o=r.coordinateSystem,l=o.getBaseAxis(),s=mU(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=gU(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 EFe={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},AFe={splitNumber:5},IFe=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 DFe(e){Kt(Wp),rf.registerAxisPointerClass("PolarAxisPointer",oFe),e.registerCoordinateSystem("polar",yFe),e.registerComponentModel(uFe),e.registerComponentView(IFe),Hd(e,"angle",cFe,EFe),Hd(e,"radius",fFe,AFe),e.registerComponentView(_Fe),e.registerComponentView(CFe),e.registerLayout(Bt(zFe,"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 LFe=["axisLine","axisTickLabel","axisName"],PFe=["splitArea","splitLine"],RFe=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 Et;var s=Ux(n),u=new ca(n,s);K(LFe,u.add,u),o.add(this._axisGroup),o.add(u.getGroup()),K(PFe,function(c){n.get([c,"show"])&&NFe[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(){$G(this)},t.type="singleAxis",t}(rf),NFe={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});Od(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(hi(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,Op.prototype);var OFe=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}(oo),yU=["single"],$Fe=function(){function e(t,n,r){this.type="single",this.dimension="single",this.dimensions=yU,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 OFe(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=oL(n);return a===this?this.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var a=oL(n);return a===this?this.pointToData(r):null},e}();function oL(e){var t=e.seriesModel,n=e.singleAxisModel;return n&&n.coordinateSystem||t&&t.coordinateSystem}function VFe(e,t){var n=[];return e.eachComponent("singleAxis",function(r,a){var i=new $Fe(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 BFe={create:VFe,dimensions:yU},lL=["x","y"],FFe=["width","height"],HFe=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=gC(i),h=jFe[f](l,c,u);h.style=d,n.graphicKey=h.type,n.pointer=h}var v=Ux(a);fU(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=mC(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}(pC),jFe={line:function(e,t,n){var r=yC([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:dU([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[lL[t]],n[lL[t]]+n[FFe[t]]]}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.type="single",t}(Hn);function GFe(e){Kt(Wp),rf.registerAxisPointerClass("SingleAxisPointer",HFe),e.registerComponentView(qFe),e.registerComponentView(RFe),e.registerComponentModel(x2),Hd(e,"single",x2,x2.defaultOption),e.registerCoordinateSystem("single",BFe)}var WFe=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),sL(n,i)},t.prototype.mergeOption=function(n){e.prototype.mergeOption.apply(this,arguments),sL(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 sL(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 hMe(t,i)&&(r[i]="auto"),r[i]!=null&&r[i]!=="auto"});Xs(e,t,{type:"box",ignoreSize:a})}var 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.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?cMe(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,YFe=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=uL(n);return a===this?a.dataToPoint(r):null},e.prototype.convertFromPixel=function(t,n,r){var a=uL(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 uL(e){var t=e.calendarModel,n=e.seriesModel,r=t?t.coordinateSystem:n?n.coordinateSystem:null;return r}function KFe(e){e.registerComponentModel(WFe),e.registerComponentView(UFe),e.registerCoordinateSystem("calendar",YFe)}function XFe(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 cL(e,t){var n;return K(t,function(r){e[r]!=null&&e[r]!=="auto"&&(n=!0)}),n}function ZFe(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}),uj(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 bU=["transition","enterFrom","leaveTo"],JFe=bU.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?bU:JFe,a=0;a<r.length;a++){var i=r[a];e[i]==null&&t[i]!=null&&(e[i]=t[i])}}function QFe(e,t){if(e&&(e.hv=t.hv=[cL(t,["left","right"]),cL(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 eHe=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=rH(o,l,"normalMerge"),u=this._elOptionsToUpdate=[];K(s,function(c,f){var d=c.newOption;d&&(u.push(d),XFe(c,d),ZFe(o,f,d),QFe(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),fL={path:null,compoundPath:null,group:Et,image:Ir,text:on},si=an(),tHe=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&&QW(v,h,!!g,!!p)){var m=eU(v,h,!0);!g&&m.textConfig&&(g=s.textConfig=m.textConfig),!p&&m.textContent&&(p=m.textContent)}var b=nHe(s),_=s.$action||"merge",w=_==="merge",x=_==="replace";if(w){var S=!c,C=c;S?C=dL(u,d,s.type,a):(C&&(si(C).isNew=!1),aU(C)),C&&(_2(C,b,n,{isInit:S}),hL(C,s,o,l))}else if(x){S2(c,s,a,n);var T=dL(u,d,s.type,a);T&&(_2(T,b,n,{isInit:!0}),hL(T,s,o,l))}else _==="remove"&&(nU(c,s),S2(c,s,a,n));var z=a.get(u);if(z&&p)if(w){var E=z.getTextContent();E?E.attr(p):z.setTextContent(new on(p))}else x&&z.setTextContent(new on(p));if(z){var A=s.clipPath;if(A){var D=A.type,$=void 0,S=!1;if(w){var N=z.getClipPath();S=!N||si(N).type!==D,$=S?Yx(D):N}else x&&(S=!0,$=Yx(D));z.setClipPath($),_2($,A,n,{isInit:S}),Fm($,A.keyframeAnimation,n)}var R=si(z);z.setTextConfig(g),R.option=s,rHe(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=si(h),m=si(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=si(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(!si(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,si(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(fL,e)?fL[e]:e8(e),n=new t({});return si(n).type=e,n}function dL(e,t,n,r){var a=Yx(n);return t.add(a),r.set(e,a),si(a).id=e,si(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(si(e).id))}function hL(e,t,n,r){e.isGroup||K([["cursor",Mi.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],function(a){var i=a[0];ht(t,i)?e[i]=$t(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 nHe(e){return e=$e({},e),K(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(sj),function(t){delete e[t]}),e}function rHe(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 aHe(e){e.registerComponentModel(eHe),e.registerComponentView(tHe),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 vL=["x","y","radius","angle","single"],iHe=["cartesian2d","polar","singleAxis"];function oHe(e){var t=e.get("coordinateSystem");return Yt(iHe,t)>=0}function Ms(e){return e+"Axis"}function lHe(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 _U(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=pL(n);this.settledOption=i,this.mergeDefaultAndTheme(n,a),this._doInit(i)},t.prototype.mergeOption=function(n){var r=pL(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(vL,function(a){var i=this.getReferringComponents(Ms(a),K7e);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(vL,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 pL(e){var t={};return K(["start","end","startValue","endValue","throttle"],function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t}var sHe=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),xC=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),uHe=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}(xC),Ff=K,gL=mi,cHe=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(oHe(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}),gL(s),gL(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=fHe(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=KF(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 fHe(e,t,n){var r=[1/0,-1/0];Ff(n,function(o){jIe(r,o.getData(),t)});var a=e.getAxisModel(),i=Oq(a.axis.scale,a,r).calculate();return[i.min,i.max]}var dHe={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 cHe(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 hHe(e){e.registerAction("dataZoom",function(t,n){var r=lHe(n,t);K(r,function(a){a.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})})})}var mL=!1;function SC(e){mL||(mL=!0,e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,dHe),hHe(e),e.registerSubTypeDefaulter("dataZoom",function(){return"slider"}))}function vHe(e){e.registerComponentModel(sHe),e.registerComponentView(uHe),SC(e)}var fi=function(){function e(){}return e}(),wU={};function Hf(e,t){wU[e]=t}function xU(e){return wU[e]}var pHe=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=xU(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 gHe(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 SU(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 mHe=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(Bt(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(yHe(g))w={onclick:_.option.onclick,featureName:g};else{var x=xU(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 fi;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,E=this.iconPaths;z.iconStatus=z.iconStatus||{},z.iconStatus[C]=T,E[C]&&(T==="emphasis"?kl:zl)(E[C])},w instanceof fi&&w.render&&w.render(_,r,a,i)}function h(v,p,g){var m=v.getModel("iconStyle"),b=v.getModel(["emphasis","iconStyle"]),_=p instanceof fi&&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 E=Lp(T,{},{x:-l/2,y:-l/2,width:l,height:l});E.setStyle(m.getItemStyle());var A=E.ensureState("emphasis");A.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:t8({fontStyle:b.get("textFontStyle"),fontFamily:b.get("textFontFamily"),fontSize:b.get("textFontSize"),fontWeight:b.get("textFontWeight")},r)},ignore:!0});E.setTextContent(D),fh({el:E,componentModel:n,itemName:z,formatterParamsExtra:{title:S[z]}}),E.__title=S[z],E.on("mouseover",function(){var $=b.getItemStyle(),N=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")}),E.setTextConfig({position:b.get("textPosition")||N}),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)(E),o.add(E),E.on("click",lt(p.onclick,p,r,a,z)),C[z]=E})}gHe(o,n,a),o.add(SU(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 fi&&o.updateView&&o.updateView(o.model,r,a,i)})},t.prototype.remove=function(n,r){K(this._features,function(a){a instanceof fi&&a.remove&&a.remove(n,r)}),this.group.removeAll()},t.prototype.dispose=function(n,r){K(this._features,function(a){a instanceof fi&&a.dispose&&a.dispose(n,r)})},t.type="toolbox",t}(Hn);function yHe(e){return e.indexOf("my")===0}var bHe=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}(fi),yL="__ec_magicType_stack__",_He=[["line","bar"],["stack"]],wHe=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(bL[a]){var l={series:[]},s=function(f){var d=f.subType,h=f.id,v=bL[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(_He,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}(fi),bL={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")===yL;if(e==="line"||e==="bar")return r.setIconStatus("stack",a?"normal":"emphasis"),jt({id:t,stack:a?"":yL},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 xHe(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 SHe(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(`
- `))}),t.join(`
- `+M3+`
- `)}function CHe(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(`
- `)}).join(`
- `+M3+`
- `)}function THe(e){var t=xHe(e);return{value:_n([SHe(t.seriesGroupByCategoryAxis),CHe(t.other)],function(n){return!!n.replace(/[\n\t\s]/g,"")}).join(`
- `+M3+`
- `),meta:t.meta}}function qm(e){return e.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function kHe(e){var t=e.slice(0,e.indexOf(`
- `));if(t.indexOf(Gd)>=0)return!0}var Kx=new RegExp("["+Gd+"]+","g");function zHe(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 MHe(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 EHe(e,t){var n=e.split(new RegExp(`
- *`+M3+`
- *`,"g")),r={series:[]};return K(n,function(a,i){if(kHe(a)){var o=zHe(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=MHe(a);r.series.push(o)}}),r}var AHe=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=THe(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=EHe(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}(fi);function IHe(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:IHe(r.data,i)})}}),t.mergeOption(_t({series:n},e.newOption))});var CU=K,TU=an();function DHe(e,t){var n=CC(e);CU(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 LHe(e){var t=CC(e),n=t[t.length-1];t.length>1&&t.pop();var r={};return CU(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 PHe(e){TU(e).snapshots=null}function RHe(e){return CC(e).length}function CC(e){var t=TU(e);return t.snapshots||(t.snapshots=[{}]),t.snapshots}var NHe=function(e){Se(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.onclick=function(n,r){PHe(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}(fi);Wo({type:"restore",event:"restore",update:"prepareAndUpdate"},function(e,t){t.resetOption("recreate")});var OHe=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],TC=function(){function e(t,n,r){var a=this;this._targetInfoList=[];var i=_L(n,t);K($He,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:CL[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?CL[r.brushType](i.values,o.offset,VHe(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:LW(a),isTargetByCursor:RW(a,t,r.coordSysModel),getLinearBrushOtherExtent:PW(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=_L(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<wL.length;s++)if(wL[s](a,o))return o}return!0},e}();function Xx(e){return e[0]>e[1]&&e.reverse(),e}function _L(e,t){return Wv(e,t,{includeMainTypes:OHe})}var $He={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:xL.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:xL.geo})})}},wL=[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}],xL={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:Bt(SL,0),lineY:Bt(SL,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 SL(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 CL={lineX:Bt(TL,0),lineY:Bt(TL,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 TL(e,t,n,r){return[t[0]-r[e]*n[0],t[1]-r[e]*n[1]]}function VHe(e,t){var n=kL(e),r=kL(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 kL(e){return e?[e[0][1]-e[0][0],e[1][1]-e[1][0]]:[NaN,NaN]}var Zx=K,BHe=q7e("toolbox-dataZoom_"),FHe=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 eC(a.getZr()),this._brushController.on("brush",lt(this._onBrush,this)).mount()),qHe(n,r,this,i,a),jHe(n,r)},t.prototype.onclick=function(n,r,a){HHe[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 TC(kC(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)}}),DHe(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}(fi),HHe={zoom:function(){var e=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:e})},back:function(){this._dispatchZoomAction(LHe(this.ecModel))}};function kC(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 jHe(e,t){e.setIconStatus("back",RHe(t)>1?"emphasis":"normal")}function qHe(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 TC(kC(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)}bMe("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=kC(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:BHe+u+f};d[c]=f,a.push(d)}return a});function GHe(e){e.registerComponentModel(pHe),e.registerComponentView(mHe),Hf("saveAsImage",bHe),Hf("magicType",wHe),Hf("dataView",AHe),Hf("dataZoom",FHe),Hf("restore",NHe),Kt(vHe)}var WHe=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 kU(e){var t=e.get("confine");return t!=null?!!t:e.get("renderMode")==="richText"}function zU(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 MU=zU(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),UHe=zU(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function EU(e,t){if(!e)return t;t=oj(t,!0);var n=e.indexOf(t);return e=n===-1?t:"-"+e.slice(0,n)+"-"+t,e.toLowerCase()}function YHe(e,t){var n=e.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e);return n?n[t]:null}var KHe=EU(UHe,"transition"),zC=EU(MU,"transform"),XHe="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Jt.transform3dSupported?"will-change:transform;":"");function ZHe(e){return e=e==="left"?"right":e==="right"?"left":e==="top"?"bottom":"top",e}function JHe(e,t,n){if(!it(n)||n==="inside")return"";var r=e.get("backgroundColor"),a=e.get("borderWidth");t=Fc(t);var i=ZHe(n),o=Math.max(Math.round(a)*1.5,6),l="",s=zC+":",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 QHe(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?","+zC+r:",left"+r+",top"+r),KHe+":"+a}function zL(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;"+zC+":"+o+";":[["top",0],["left",0],[MU,o]]}function eje(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 tje(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=Bj(e,"html"),d=s+"px "+u+"px "+o+"px "+l;return r.push("box-shadow:"+d),t&&a&&r.push(QHe(a,n)),i&&r.push("background-color:"+i),K(["width","color","radius"],function(h){var v="border-"+h,p=oj(v),g=e.get(p);g!=null&&r.push(v+":"+g+(h==="color"?"":"px"))}),r.push(eje(c)),f!=null&&r.push("padding:"+vh(f).join("px ")+"px"),r.join(";")+";"}function ML(e,t,n,r,a){var i=t&&t.painter;if(n){var o=i&&i.getViewportRoot();o&&xTe(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 nje=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()));ML(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();ai(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=YHe(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=XHe+tje(t,!this._firstShow,this._longHide)+zL(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"&&!kU(r)&&(l=JHe(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(ML(r,this._zr,this._container,t,n),r[0]!=null&&r[1]!=null){var a=this.el.style,i=zL(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}(),rje=function(){function e(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),AL(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:Bj(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=EL(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;AL(a,this._zr,t,n),t=a[0],n=a[1];var i=r.style,o=ss(i.borderWidth||0),l=EL(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 EL(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 AL(e,t,n,r){e[0]=n,e[1]=r,e[2]=e[0]/t.getWidth(),e[3]=e[1]/t.getHeight()}var aje=new rn({shape:{x:-1,y:-1,width:2,height:2}}),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){if(!(Jt.node||!r.getDom())){var a=n.getComponent("tooltip"),i=this._renderMode=Z7e(a.get("renderMode"));this._tooltipContent=i==="richText"?new rje(r):new nje(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");hU("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=IL(i,a);this._ticket="";var l=i.dataByCoordSys,s=uje(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=aje;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=vU(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(IL(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=cU(x,w.axis,a,_.seriesDataIndices,_.valueLabelOpt),C=Cr("section",{header:S,noHeader:!Gi(S),sortBlocks:!0,blocks:[]});c.blocks.push(C),K(_.seriesDataIndices,function(T){var z=a.getSeriesByIndex(T.seriesIndex),E=T.dataIndexInside,A=z.getDataParams(E);if(!(A.dataIndex<0)){A.axisDim=_.axisDim,A.axisIndex=_.axisIndex,A.axisType=_.axisType,A.axisId=_.axisId,A.axisValue=M8(w.axis,{value:x}),A.axisValueLabel=S,A.marker=d.makeTooltipMarker("item",Fc(A.color),s);var D=gE(z.formatTooltip(E,!0,null)),$=D.frag;if($){var N=nv([z],i).get("valueFormatter");C.blocks.push(N?$e({valueFormatter:N},$):$)}D.text&&f.push(D.text),u.push(A)}})}})}),c.blocks.reverse(),f.reverse();var h=r.position,v=l.get("order"),p=xE(c,d,s,v,a.get("useUTC"),l.get("textStyle"));p&&f.unshift(p);var g=s==="richText"?`
- `:"<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 _=gE(u.formatTooltip(c,!1,f)),w=p.get("order"),x=p.get("valueFormatter"),S=_.frag,C=S?xE(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=lj(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=sje(r,v,f,n.get("borderWidth"));a=m[0],i=m[1]}else{var m=oje(a,i,o,u,c,d?null:20,h?null:20);a=m[0],i=m[1]}if(d&&(a-=DL(d)?f[0]/2:d==="right"?f[0]:0),h&&(i-=DL(h)?f[1]/2:h==="bottom"?f[1]:0),kU(n)){var m=lje(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 IL(e,t){return e.dispatchAction||lt(t.dispatchAction,t)}function oje(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 lje(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 sje(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 DL(e){return e==="center"||e==="middle"}function uje(e,t,n){var r=F6(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 cje(e){Kt(Wp),e.registerComponentModel(WHe),e.registerComponentView(ije),e.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},er),e.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},er)}var fje=["rect","polygon","keep","clear"];function dje(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),hje(l),t&&!l.length&&l.push.apply(l,fje)}}function hje(e){var t={};K(e,function(n){t[n]=1}),e.length=0,K(t,function(n,r){e.push(r)})}var LL=K;function PL(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!0}}function Jx(e,t,n){var r={};return LL(t,function(i){var o=r[i]=a();LL(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)&&PL(t[a])&&(r=!0)}),r&&K(n,function(a){t.hasOwnProperty(a)&&PL(t[a])?e[a]=kt(t[a]):delete e[a]})}function vje(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 m8(n,l,f)}function u(f,d){Xj(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 pje(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 m8(l,f,x)}function c(x,S){Xj(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 gje(e){var t=e.brushType,n={point:function(r){return RL[t].point(r,n,e)},rect:function(r){return RL[t].rect(r,n,e)}};return n}var RL={lineX:NL(0),lineY:NL(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 NL(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 OL=["inBrush","outOfBrush"],R9="__ecBrushSelect",Qx="__ecInBrushSelectEvent";function IU(e){e.eachComponent({mainType:"brush"},function(t){var n=t.brushTargetManager=new TC(t.option,e);n.setInputRanges(t.areas,e)})}function mje(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})}),IU(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=wje[x.brushType],C=_t({boundingRect:S?S(x):void 0},x);return C.selectors=gje(C),C}),g=Jx(o.option,OL,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||_je(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){$L(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(),E=m(S)?function(A){return d[A]?(C.dataIndex.push(z.getRawIndex(A)),"inBrush"):"outOfBrush"}:function(A){return $L(x,T,z,A)?(C.dataIndex.push(z.getRawIndex(A)),"inBrush"):"outOfBrush"};(m(S)?v:b(T))&&vje(OL,g,z,E)})}),yje(t,a,i,r,n)}function yje(e,t,n,r,a){if(a){var i=e.getZr();if(!i[Qx]){i[R9]||(i[R9]=bje);var o=yh(i,R9,n,t);o(e,r)}}}function bje(e,t){if(!e.isDisposed()){var n=e.getZr();n[Qx]=!0,e.dispatchAction({type:"brushSelect",batch:t}),n[Qx]=!1}}function $L(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 _je(e,t){var n=e.option.seriesIndex;return n!=null&&n!=="all"&&(He(n)?Yt(n,t)<0:t!==n)}var wje={rect:function(e){return VL(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&&VL(t)}};function VL(e){return new qt(e[0][0],e[1][0],e[0][1]-e[0][0],e[1][1]-e[1][0])}var xje=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 eC(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){IU(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),Sje="#ddd",Cje=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:Sje},i.hasOwnProperty("liftZ")||(i.liftZ=5)},t.prototype.setAreas=function(n){n&&(this.areas=Ge(n,function(r){return BL(this.option,r)},this))},t.prototype.setBrushOption=function(n){this.brushOption=BL(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 BL(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 Tje=["rect","polygon","lineX","lineY","keep","clear"],kje=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:Tje.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}(fi);function zje(e){e.registerComponentView(xje),e.registerComponentModel(Cje),e.registerPreprocessor(dje),e.registerVisual(e.PRIORITY.VISUAL.BRUSH,mje),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",kje)}var Mje=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),Eje=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=$t(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 Aje(e){e.registerComponentModel(Mje),e.registerComponentView(Eje)}var FL=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),DU=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(FL.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}(FL);sr(DU,h3.prototype);var 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.type="timeline",t}(Hn),Dje=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}(oo),N9=Math.PI,HL=an(),Lje=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=Rje(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:N9/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*N9/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,E=f;x==="left"||x==="bottom"?(S&&(b=[0,0],z+=g),C&&(_=[z,0],z+=g),T&&(w=[E-v,0],E-=g)):(S&&(b=[E-v,0],E-=g),C&&(_=[0,0],z+=g),T&&(w=[E-v,0],E-=g));var A=[z,E];return n.get("inverse")&&A.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:A,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,-N9/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=Pje(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 Dje("value",o,n.axisExtent,i);return s.model=r,s},t.prototype._createGroup=function(n){var r=this[n]=new Et;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=jL(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),HL(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=Qi($t(i.get(["controlStyle",v+"BtnSize"]),o),o),b=[0,-m/2,m,m],_=Nje(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),qL(f,u._progressLine,l,a,i,!0)},onUpdate:function(f){qL(f,u._progressLine,l,a,i)}};this._currentPointer=jL(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=mi(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 Ki(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",HL(a[i]).dataIndex<=n)},t.type="timeline.slider",t}(Ije);function Pje(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 k8({locale:e.ecModel.getLocaleModel(),useUTC:e.ecModel.get("useUTC")});default:return new El}}function Rje(e,t){return fr(e.getBoxLayoutParams(),{width:t.getWidth(),height:t.getHeight()},e.get("padding"))}function Nje(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 jL(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 qL(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 Oje(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 $je(e){var t=e&&e.timeline;He(t)||(t=t?[t]:[]),K(t,function(n){n&&Vje(n)})}function Vje(e){var t=e.type,n={number:"value",time:"time"};if(n[t]&&(e.axisType=n[t],delete e.type),GL(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),GL(a))})}function GL(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 Bje(e){e.registerComponentModel(DU),e.registerComponentView(Lje),e.registerSubTypeDefaulter("timeline",function(){return"slider"}),Oje(e),e.registerPreprocessor($je)}function MC(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){Oc(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 Fje=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 Hje(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=EC(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 O9={min:Bt(S0,"min"),max:Bt(S0,"max"),average:Bt(S0,"average"),median:Bt(S0,"median")};function ap(e,t){if(t){var n=e.getData(),r=e.coordinateSystem,a=r&&r.dimensions;if(!Hje(t)&&!He(t.coord)&&He(a)){var i=LU(t,n,r,e);if(t=kt(t),t.type&&O9[t.type]&&i.baseAxis&&i.valueAxis){var o=Yt(a,i.baseAxis.dim),l=Yt(a,i.valueAxis.dim),s=O9[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++)O9[u[c]]&&(u[c]=EC(n,n.mapDimension(a[c]),u[c]));return t}}function LU(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(jje(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 jje(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 qje(e,t,n){return e&&e.containZone&&t.coord&&n.coord&&!e5(t)&&!e5(n)?e.containZone(t.coord,n.coord):!0}function PU(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 EC(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(),AC=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?xH(s):Y6(s))})}})},t.type="marker",t}(Hn);function WL(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 Gje=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&&(WL(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=Wje(o,n,r);r.setData(f),WL(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}(AC);function Wje(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"),Bt(ap,t));e&&(i=_n(i,Bt(ip,e)));var o=PU(!!e,r);return a.initData(i,null,o),a}function Uje(e){e.registerComponentModel(Fje),e.registerComponentView(Gje),e.registerPreprocessor(function(t){MC(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})})}var Yje=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(),Kje=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=LU(r,a,t,e);l=u.valueAxis;var c=kq(a,u.valueDataDim);s=EC(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 UL(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 Xje(e,t){if(e.type==="cartesian2d"){var n=t[0].coord,r=t[1].coord;if(n&&r&&(UL(1,n,r,e)||UL(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 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.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 Q8);this.group.add(c.group);var f=Jje(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:$t(C.get("symbolOffset",!0),b[S?0:1]),symbolRotate:$t(C.get("symbolRotate",!0),m[S?0:1]),symbolSize:$t(C.get("symbolSize"),g[S?0:1]),symbol:$t(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}(AC);function Jje(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"),Bt(Kje,t,e,n));e&&(l=_n(l,Bt(Xje,e)));var s=PU(!!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 Qje(e){e.registerComponentModel(Yje),e.registerComponentView(Zje),e.registerPreprocessor(function(t){MC(t.series,"markLine")&&(t.markLine=t.markLine||{})})}var eqe=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(),tqe=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=A6([{},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 YL(e,t,n,r){var a=1-e;return Wm(t[a])&&Wm(n[a])}function nqe(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&&(YL(1,n,r)||YL(0,n,r))?!0:qje(e,a,i):ip(e,a)||ip(e,i)}function KL(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 XL=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],rqe=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(XL,function(f){return KL(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 Et});this.group.add(c.group),this.markKeep(c);var f=aqe(o,n,r);r.setData(f),f.each(function(d){var h=Ge(XL,function(T){return KL(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))];mi(b),mi(_);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}(AC);function aqe(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"),Bt(tqe,t,e,n));e&&(l=_n(l,Bt(nqe,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 iqe(e){e.registerComponentModel(eqe),e.registerComponentView(rqe),e.registerPreprocessor(function(t){MC(t.series,"markArea")&&(t.markArea=t.markArea||{})})}var oqe=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,oqe(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&&B6(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),Ef=Bt,n5=K,k0=Et,RU=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=SU(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===`
- `)){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",Ef(ZL,p,null,i,d)).on("mouseover",Ef(r5,m.name,null,i,d)).on("mouseout",Ef(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),E=T.getItemVisual(z,"style"),A=T.getItemVisual(z,"legendIcon"),D=Wa(E.fill);D&&D[3]===0&&(D[3]=.2,E=$e($e({},E),{fill:gl(D,"rgba")}));var $=this._createItem(C,p,v,h,r,n,{},E,A,f,i);$.on("click",Ef(ZL,null,p,i,d)).on("mouseover",Ef(r5,null,p,i,d)).on("mouseout",Ef(a5,null,p,i,d)),a.ssr&&$.eachChild(function(N){var R=Dt(N);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=lqe(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(sqe({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,E=o.get("formatter"),A=r;it(E)&&E?A=E.replace("{name}",r??""):yt(E)&&(A=E(r));var D=g?S.getTextColor():i.get("inactiveColor");x.add(new on({style:In(S,{text:A,x:T,y:p/2,fill:D,align:z,verticalAlign:"middle"},{inheritColor:D})}));var $=new rn({shape:x.getBoundingRect(),style:{fill:"transparent"}}),N=i.getModel("tooltip");return N.get("show")&&fh({el:$,componentModel:o,itemName:r,itemTooltipOption:N.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 lqe(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 sqe(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 ZL(e,t,n,r){a5(e,t,n,r),n.dispatchAction({type:"legendToggleSelect",name:e??t}),r5(e,t,n,r)}function NU(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){NU(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:r})}function a5(e,t,n,r){NU(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:r})}function uqe(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===`
- `||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 cqe(e){e.registerAction("legendToggleSelect","legendselectchanged",Bt(av,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",Bt(av,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",Bt(av,"inverseSelect")),e.registerAction("legendSelect","legendselected",Bt(av,"select")),e.registerAction("legendUnSelect","legendunselected",Bt(av,"unSelect"))}function OU(e){e.registerComponentModel(t5),e.registerComponentView(RU),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,uqe),e.registerSubTypeDefaulter("legend",function(){return"plain"}),cqe(e)}var fqe=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),JL(this,n,i)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),JL(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 JL(e,t,n){var r=e.getOrient(),a=[1,1];a[r.index]=0,Xs(t,n,{type:"box",ignoreSize:!!a})}var QL=Et,B9=["width","height"],F9=["x","y"],dqe=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 QL),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new QL)},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],_=$t(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}(RU);function hqe(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 vqe(e){Kt(OU),e.registerComponentModel(fqe),e.registerComponentView(dqe),hqe(e)}function pqe(e){Kt(OU),Kt(vqe)}var gqe=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),IC=an();function mqe(e,t,n){IC(e).coordSysRecordMap.each(function(r){var a=r.dataZoomInfoMap.get(t.uid);a&&(a.getRange=n)})}function yqe(e,t){for(var n=IC(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||$U(n,o))}}}function $U(e,t){if(t){e.removeKey(t.model.uid);var n=t.controller;n&&n.dispose()}}function bqe(e,t){var n={model:t,containsPoint:Bt(wqe,t),dispatchAction:Bt(_qe,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 _qe(e,t){e.isDisposed()||e.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:t})}function wqe(e,t,n,r){return e.coordinateSystem.containPoint([n,r])}function xqe(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 Sqe(e){e.registerProcessor(e.PRIORITY.PROCESSOR.FILTER,function(t,n){var r=IC(n),a=r.coordSysRecordMap||(r.coordSysRecordMap=pt());a.each(function(i){i.dataZoomInfoMap=null}),t.eachComponent({mainType:"dataZoom",subType:"inside"},function(i){var o=_U(i);K(o.infoList,function(l){var s=l.model.uid,u=a.get(s)||a.set(s,bqe(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){$U(a,i);return}var c=xqe(s);o.enable(c.controlType,c.opt),o.setPointerChecker(i.containsPoint),yh(i,"dispatchAction",l.model.get("throttle",!0),"fixRate")})})}var Cqe=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(),mqe(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(){yqe(this.api,this.dataZoomModel),this.range=null},t.type="dataZoom.inside",t}(xC),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:eP(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:eP(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 eP(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 VU(e){SC(e),e.registerComponentModel(gqe),e.registerComponentView(Cqe),Sqe(e)}var 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.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,tP=7,kqe=1,q9=30,zqe=7,ov="horizontal",nP="vertical",Mqe=5,Eqe=["line","bar","candlestick","scatter"],Aqe={easing:"cubicOut",duration:100,delay:0},Iqe=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 Et;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?zqe: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-tP-i,width:o.width,height:q9}:{right:tP,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===nP&&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===nP&&!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,E){if(_>0&&E%_){b+=m;return}var A=z==null||isNaN(z)||z==="",D=A?0:bn(z,f,h,!0);A&&!w&&E?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!A&&w&&(p.push([b,0]),g.push([b,0])),p.push([b,D]),g.push([b,D]),b+=m,w=A}),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 E=x.getModel(z?"selectedDataBackground":"dataBackground"),A=new Et,D=new ga({shape:{points:u},segmentIgnoreThreshold:1,style:E.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),$=new ya({shape:{points:c},segmentIgnoreThreshold:1,style:E.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return A.add(D),A.add($),A}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(Eqe,u.get("type"))<0)){var c=i.getComponent(Ms(o),l).axis,f=Dqe(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:kqe,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:rP(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:rP(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=mi([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=mi(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=mi(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+Mqe,b=Ki([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=Ki([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 Ht(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=mi([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?Aqe:null,start:r[0],end:r[1]})},t.prototype._findCoordRect=function(){var n,r=_U(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}(xC);function Dqe(e){var t={x:"y",y:"x",radius:"angle",angle:"radius"};return t[e]}function rP(e){return e==="vertical"?"ns-resize":"ew-resize"}function BU(e){e.registerComponentModel(Tqe),e.registerComponentView(Iqe),SC(e)}function Lqe(e){Kt(VU),Kt(BU)}var FU={get:function(e,t,n){var r=kt((Pqe[e]||{})[t]);return n&&He(r)?r[r.length-1]:r}},Pqe={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]}},aP=wr.mapVisual,Rqe=wr.eachVisual,Nqe=He,iP=K,Oqe=mi,$qe=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=Oqe([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){Nqe(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]={},iP(v,function(g,m){if(wr.isValidType(m)){var b=FU.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";iP(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=aP(_.symbol,function(S){return S==="none"?g:S});var w=_.symbolSize;if(w!=null){var x=-1/0;Rqe(w,function(S){S>x&&(x=S)}),_.symbolSize=aP(w,function(S){return $qe(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),oP=[20,140],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.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]=oP[0]),(n[1]==null||isNaN(n[1]))&&(n[1]=oP[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=mi((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=lP(this,"outOfRange",this.getExtent()),a=lP(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 lP(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 HU=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),sP=[["left","right","width"],["top","bottom","height"]];function jU(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=sP[o],s=[0,null,10],u={},c=0;c<3;c++)u[sP[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 go=bn,Bqe=K,uP=Math.min,G9=Math.max,Fqe=12,Hqe=6,jqe=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=jU(r,this.api,i),u=a.mainGroup=this._createBarGroup(s),c=new Et;u.add(c),c.add(a.outOfRange=cP()),c.add(a.inRange=cP(null,l?dP(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=Qi(n.get("handleSize"),i[0]),f=lr(n.get("handleIcon"),-c/2,-c/2,c,c,null,!0),d=dP(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=Qi(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:Hqe)+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():fP(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=[go(r[0],a,i,!0),go(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=[go(i[0],o,l,!0),go(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 Et(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();Bqe([0,1],function(c){var f=o[c];f.setStyle("fill",r.handlesColor[c]),f.y=n[c];var d=go(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=Ki(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=go(n,l,u,!0),g=s[0]-v/2,m={x:f.x,y:f.y};f.y=p,f.x=g;var b=Ki(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 E=this._shapes.handleLabels;if(E)for(var A=0;A<E.length;A++)this.api.enterBlur(E[A])}},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]=uP(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=uP(G9(o[0],n),o[1]);var s=qqe(a,l,o),u=[n-s,n+s],c=go(n,o,l,!0),f=[go(u[0],o,l,!0),go(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||fP(a))&&(h=this._hoverLinkDataIndices=a.findTargetDataIndices(f));var v=U7e(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)?Ki(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}(HU);function cP(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 qqe(e,t,n){var r=Fqe/2,a=e.get("hoverLinkDataSize");return a&&(r=go(a,t,n,!0)/2),r}function fP(e){var t=e.get("hoverLinkOnHandle");return!!(t??e.get("realtime"))}function dP(e){return e==="vertical"?"ns-resize":"ew-resize"}var Gqe={type:"selectDataRange",event:"dataRangeSelected",update:"update"},Wqe=function(e,t){t.eachComponent({mainType:"visualMap",query:e},function(n){n.setSelected(e.selected)})},Uqe=[{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(pje(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(Yqe,null,e,a))||{stops:[],outerColors:[]},o=a.getDataDimensionIndex(n);o>=0&&(i.dimension=o,r.push(i))}}),e.getData().setVisual("visualMeta",r)}}];function Yqe(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 hP=K;function Kqe(e){var t=e&&e.visualMap;He(t)||(t=t?[t]:[]),hP(t,function(n){if(n){Af(n,"splitList")&&!Af(n,"pieces")&&(n.pieces=n.splitList,delete n.splitList);var r=n.pieces;r&&He(r)&&hP(r,function(a){wt(a)&&(Af(a,"start")&&!Af(a,"min")&&(a.min=a.start),Af(a,"end")&&!Af(a,"max")&&(a.max=a.end))})}})}function Af(e,t){return e&&e.hasOwnProperty&&e.hasOwnProperty(t)}var vP=!1;function qU(e){vP||(vP=!0,e.registerSubTypeDefaulter("visualMap",function(t){return!t.categories&&(!(t.pieces?t.pieces.length>0:t.splitNumber>0)||t.calculable)?"continuous":"piecewise"}),e.registerAction(Gqe,Wqe),K(Uqe,function(t){e.registerVisual(e.PRIORITY.VISUAL.COMPONENT,t)}),e.registerPreprocessor(Kqe))}function GU(e){e.registerComponentModel(Vqe),e.registerComponentView(jqe),qU(e)}var Xqe=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=[],Zqe[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]=FU.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),Zqe={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]}),sM(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),pP(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),pP(t,e),sM(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 pP(e,t){var n=e.inverse;(e.orient==="vertical"?!n:n)&&t.reverse()}var Jqe=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 Et;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 jU(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 Et,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}(HU);function WU(e){e.registerComponentModel(Xqe),e.registerComponentView(Jqe),qU(e)}function Qqe(e){Kt(GU),Kt(WU)}var eGe={label:{enabled:!0},decal:{show:!1}},gP=an(),tGe={};function nGe(e,t){var n=e.getModel("aria");if(!n.get("enabled"))return;var r=kt(eGe);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)),gP(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,tGe,e.getSeriesCount()),_=h.getVisual("decal");h.setVisual("decal",w(_,b))}else{var v=d.getRawData(),p={},g=gP(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 E=void 0,A=T.get("name"),D=A?"withName":"withoutName";E=d>1?f.get(["series","multiple",D]):f.get(["series","single",D]),E=o(E,{seriesId:T.seriesIndex,seriesName:T.get("name"),seriesType:s(T.subType)});var $=T.getData();if($.count()>h){var N=f.get(["data","partialData"]);E+=o(N,{displayCnt:h})}else E+=f.get(["data","allData"]);for(var R=f.get(["data","separator","middle"]),O=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)}))}E+=B.join(R)+O,_.push(E)}});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 rGe(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 aGe(e){e.registerPreprocessor(rGe),e.registerVisual(e.PRIORITY.VISUAL.ARIA,nGe)}var mP={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},iGe=function(){function e(t){var n=this._condVal=it(t)?new RegExp(t):hTe(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}(),oGe=function(){function e(){}return e.prototype.evaluate=function(){return this.value},e}(),lGe=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}(),sGe=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}(),uGe=function(){function e(){}return e.prototype.evaluate=function(){return!this.child.evaluate()},e}(),cGe=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 DC(e,t){if(e===!0||e===!1){var n=new oGe;return n.value=e,n}var r="";return UU(e)||pn(r),e.and?yP("and",e,t):e.or?yP("or",e,t):e.not?fGe(e,t):dGe(e,t)}function yP(e,t,n){var r=t[e],a="";He(r)||pn(a),r.length||pn(a);var i=e==="and"?new lGe:new sGe;return i.children=Ge(r,function(o){return DC(o,n)}),i.children.length||pn(a),i}function fGe(e,t){var n=e.not,r="";UU(n)||pn(r);var a=new uGe;return a.child=DC(n,t),a.child||pn(r),a}function dGe(e,t){for(var n="",r=t.prepareGetValue(e),a=[],i=tn(e),o=e.parser,l=o?zj(o):null,s=0;s<i.length;s++){var u=i[s];if(!(u==="parser"||t.valueGetterAttrMap.get(u))){var c=ht(mP,u)?mP[u]:u,f=e[u],d=l?l(f):f,h=eEe(c,d)||c==="reg"&&new iGe(d);h||pn(n),a.push(h)}}a.length||pn(n);var v=new cGe;return v.valueGetterParam=r,v.valueParser=l,v.getValue=t.getValue,v.subCondList=a,v}function UU(e){return wt(e)&&!Zr(e)}var hGe=function(){function e(t,n){this._cond=DC(t,n)}return e.prototype.evaluate=function(){return this._cond.evaluate()},e}();function vGe(e,t){return new hGe(e,t)}var pGe={type:"echarts:filter",transform:function(e){for(var t=e.upstream,n,r=vGe(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}}},gGe={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?zj(h):null;h&&!b&&pn(r),i.push({dimIdx:m.index,parser:b,comparator:new Ej(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 mGe(e){e.registerTransform(pGe),e.registerTransform(gGe)}var yGe=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 Lj(this),_E(this)},t.prototype.mergeOption=function(n,r){e.prototype.mergeOption.call(this,n,r),_E(this)},t.prototype.optionUpdated=function(){this._sourceManager.dirty()},t.prototype.getSourceManager=function(){return this._sourceManager},t.type="dataset",t.defaultOption={seriesLayoutBy:Io},t}(Qt),bGe=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 _Ge(e){e.registerComponentModel(yGe),e.registerComponentView(bGe)}var vo=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($,N){a&&a.length>2&&r.push(a),a=[$,N]}function c($,N,R,O){Kf($,R)&&Kf(N,O)||a.push($,N,R,O,R,O)}function f($,N,R,O,B,V){var P=Math.abs(N-$),W=Math.tan(P/4)*4/3,Z=N<$?-1:1,ee=Math.cos($),re=Math.sin($),ue=Math.cos(N),ye=Math.sin(N),le=ee*B+R,ae=re*V+O,ie=ue*B+R,ve=ye*V+O,ce=B*W*Z,de=V*W*Z;a.push(le-ce*re,ae+de*ee,ie+ce*ye,ve-de*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===vo.L||m===vo.C||m===vo.Q)&&(a=[l,s])),m){case vo.M:i=l=t[g++],o=s=t[g++],u(l,s);break;case vo.L:d=t[g++],h=t[g++],c(i,o,d,h),i=d,o=h;break;case vo.C:a.push(t[g++],t[g++],t[g++],t[g++],i=t[g++],o=t[g++]);break;case vo.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 vo.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 E=(z?-1:1)*Math.PI/2,A=C;z?A>T:A<T;A+=E){var D=z?Math.max(A+E,T):Math.min(A+E,T);f(A,D,_,w,x,S)}break;case vo.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 vo.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=[],E=[];Ys(e,n,a,o,.5,z),Ys(t,r,i,l,.5,E),o5(z[0],E[0],z[1],E[1],z[2],E[2],z[3],E[3],s,u),o5(z[4],E[4],z[5],E[5],z[6],E[6],z[7],E[7],s,u)}function wGe(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 YU(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 bP(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=YU([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 xGe(e,t,n){for(var r=e.width,a=e.height,i=r>a,o=YU([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 _P(e,t,n,r){return e*r-n*t}function SGe(e,t,n,r,a,i,o,l){var s=n-e,u=r-t,c=o-a,f=l-i,d=_P(c,f,s,u);if(Math.abs(d)<1e-6)return null;var h=e-a,v=t-i,p=_P(h,v,c,f)/d;return p<0||p>1?null:new Ht(p*s+e,p*u+t)}function CGe(e,t,n){var r=new Ht;Ht.sub(r,n,t),r.normalize();var a=new Ht;Ht.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 TGe(e,t,n){for(var r=e.length,a=[],i=0;i<r;i++){var o=e[i],l=e[(i+1)%r],s=SGe(o[0],o[1],l[0],l[1],t.x,t.y,n.x,n.y);s&&a.push({projPt:CGe(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 wP(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 Ht,c=new Ht;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),TGe(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 kGe(e,t){for(var n=[],r=0;r<t;r++)n.push(X6(e));return n}function zGe(e,t){t.setStyle(e.style),t.z=e.z,t.z2=e.z2,t.zlevel=e.zlevel}function MGe(e){for(var t=[],n=0;n<e.length;)t.push([e[n++],e[n++]]);return t}function EGe(e,t){var n=[],r=e.shape,a;switch(e.type){case"rect":xGe(r,t,n),a=rn;break;case"sector":bP(r,t,n),a=pa;break;case"circle":bP({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(wGe(e.getUpdatedPathProxy(),o),function(m){return MGe(m)}),s=l.length;if(s===0)Ym(wP,{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(wP,{points:h.poly},v,n),d-=v)}}a=ga;break}if(!a)return kGe(e,t);for(var p=[],u=0;u<n.length;u++){var g=new a;g.setShape(n[u]),zGe(e,g),p.push(g)}return p}function AGe(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 xP(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 IGe(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=AGe(s,u),c=n[0],f=n[1],r=c,a=f):(f=xP(a||s,s),c=s):(c=xP(r||u,u),f=u),i.push(c),o.push(f)}return[i,o]}function SP(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 DGe(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 LGe(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 PGe(e,t,n,r){for(var a=[],i,o=0;o<e.length;o++){var l=e[o],s=t[o],u=SP(l),c=SP(s);i==null&&(i=u[2]<0!=c[2]<0);var f=[],d=[],h=0,v=1/0,p=[],g=l.length;i&&(l=LGe(l));for(var m=DGe(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 E=f[_],A=f[_+1],D=s[_]-c[0],$=s[_+1]-c[1],N=D*T-$*C,R=D*C+$*T;p[_]=N,p[_+1]=R;var O=N-E,B=R-A;z+=O*O+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 KU="__mOriginal_";function Xm(e,t,n){var r=KU+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=KU+t;e[n]&&(e[t]=e[n],e[n]=null)}function CP(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 XU(e,t){var n=e.getUpdatedPathProxy(),r=t.getUpdatedPathProxy(),a=IGe(i5(n),i5(r)),i=a[0],o=a[1],l=e.getComputedTransform(),s=t.getComputedTransform();function u(){this.transform=null}l&&CP(i,l),s&&CP(o,s),Xm(t,"updateTransform",{replace:u}),t.transform=null;var c=PGe(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 E=b[z],A=b[z+1],D=_[z],$=_[z+1],N=E*v+D*h,R=A*v+$*h;f[z]=N*T-R*C+p[0],f[z+1]=N*C+R*T+p[1]}var O=f[0],B=f[1];d.moveTo(O,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++];O===D&&B===$&&V===W&&P===Z?d.lineTo(W,Z):d.bezierCurveTo(D,$,V,P,W,Z),O=W,B=Z}}}})}function LC(e,t,n){if(!e||!t)return t;var r=n.done,a=n.during;XU(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 RGe(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:RGe(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 ZU(e){return EGe(e.path,e.count)}function l5(){return{fromIndividuals:[],toIndividuals:[],count:0}}function NGe(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||ZU,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||XU(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;LC(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 OGe(e,t,n){var r=t.length,a=[],i=n.dividePath||ZU;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(X6(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;LC(a[u],t[u],d)}return{fromIndividuals:a,toIndividuals:t,count:t.length}}function TP(e){return He(e[0])}function kP(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 $Ge={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=X6(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;TP(e)&&(u=e,c=t),TP(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 E=l?_t({delay:l(_,w)},s):s;LC(T,z,E),i(T,z,T,z,E)}}else for(var A=_t({dividePath:$Ge[n],individualDelay:l&&function(B,V,P,W){return l(B+_,w)}},s),D=b?NGe(S,C,A):OGe(C,S,A),$=D.fromIndividuals,N=D.toIndividuals,R=$.length,O=0;O<R;O++){var E=l?_t({delay:l(O,R)},s):s;i($[O],N[O],b?S[O]:m.one,b?m.one:S[O],E)}}for(var d=u?u===e:e.length>t.length,h=u?kP(c,u):kP(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 JU=1e4,VGe=0,zP=1,MP=2,BGe=an();function FGe(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 HGe(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 EP(e,t,n,r){var a=r?"itemChildGroupId":"itemGroupId",i=FGe(e,a);if(i){var o=HGe(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 AP(e){var t=[];return K(e,function(n){var r=n.data,a=n.dataGroupId;if(!(r.count()>JU))for(var i=r.getIndices(),o=0;o<i.length;o++)t.push({data:r,groupId:EP(r,o,a,!1),childGroupId:EP(r,o,a,!0),divide:n.divide,dataIndex:o})}),t}function U9(e,t,n){e.traverse(function(r){r instanceof Zt&&On(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 jGe(e,t,n){var r=ch("update",n,t);r&&e.traverse(function(a){if(a instanceof Mi){var i=Oze(a);i&&a.animateFrom({style:i},r)}})}function qGe(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 QU(e,t,n){var r=AP(e),a=AP(t);function i(_,w,x,S,C){(x||_)&&w.animateFrom({style:x&&x!==_?$e($e({},x.style),_.style):_.style},C)}var o=!1,l=VGe,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=zP;break}var d=a[c].childGroupId;if(d&&s.get(d)){l=MP;break}}function h(_,w){return function(x){var S=x.data,C=x.dataIndex;return w?S.getId(C):_?l===zP?x.childGroupId:x.groupId:l===MP?x.childGroupId:x.groupId}}var v=qGe(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&&jGe(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(E){return r[E].data.getItemGraphicEl(r[E].dataIndex)}),function(E){return E&&E!==T&&!p[E.id]});T&&(Df(T),z.length?(K(z,function(E){Df(E),Y9(E)}),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 IP(e){var t=e.getModel("universalTransition").get("seriesKey");return t||e.id}function DP(e){return He(e)?e.sort().join(","):e}function vs(e){if(e.hostModel)return e.hostModel.getModel("universalTransition").get("divideShape")}function GGe(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=IP(i),c=DP(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=IP(i),u=DP(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 LP(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 WGe(e,t,n,r){var a=[],i=[];K(Cn(e.from),function(o){var l=LP(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=LP(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&&QU(a,i,r)}function UGe(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=BGe(n);if(a.oldSeries&&r.updatedSeries&&r.optionChanged){var i=r.seriesTransition;if(i)K(Cn(i),function(h){WGe(h,a,r,n)});else{var o=GGe(a,r);K(o.keys(),function(h){var v=o.get(h);QU(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()<JU&&(s.push(l[f]),u.push(l[f].get("dataGroupId")),c.push(d))}})}Kt([nLe]);Kt([ZDe]);Kt([xLe,OLe,ULe,kPe,OPe,SRe,ZRe,PNe,nOe,sOe,mOe,f$e,N$e,U$e,uVe,hVe,SVe,AVe,FVe,UVe,rBe,BBe]);Kt(iFe);Kt(DFe);Kt(ZG);Kt(GFe);Kt(NW);Kt(KFe);Kt(aHe);Kt(GHe);Kt(cje);Kt(Wp);Kt(zje);Kt(Aje);Kt(Bje);Kt(Uje);Kt(Qje);Kt(iqe);Kt(pqe);Kt(Lqe);Kt(VU);Kt(BU);Kt(Qqe);Kt(GU);Kt(WU);Kt(aGe);Kt(mGe);Kt(_Ge);Kt(UGe);Kt(mDe);const YGe={align:"left"},KGe={align:"left",style:{"margin-top":"20px"}},XGe={style:{position:"relative"}},ZGe={style:{position:"absolute",right:"0px",top:"0px","margin-top":"-50px"}},JGe=1,QGe=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 E=0;E<n.length;E++){let A=n[E];if(i.value.indexOf(A)==-1)continue;let D=[],$={name:A,type:"line",data:D,itemStyle:{color:r[E]},lineStyle:{type:T}};for(let N=1;N<=12;N++){let R=A+"_"+N.toString();D.push(C.total.get(R))}z.push($)}}function d(){let C=[];if(F.bazi.value!=null&&F.bazi.value.qushiInfo.length>0){let T=F.bazi.value.qushiInfo[o.value];if(f(T,"solid",C),u.value.length>0)for(let z=0;z<u.value.length;z++){let E=u.value[z],A=F.historyBaZi.value[E],D=A==null?void 0:A.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 E=0;E<T.length;E+=1){let A=T[E].value.toString();z+=T[E].marker+T[E].seriesName+" : "+A+"<br>"}return z="<div align='left'>"+z+"</div>",z}},xAxis:{type:"category",data:c()},yAxis:{type:"value"},series:d()}}function v(){if(F.bazi.value==null)return;if(i.value.length==0){Ve.showMessage("请至少勾选一组数据");return}o.value==null&&(o.value=0),l==null&&(l=gq(t.value),l.getZr().on("click",T=>{const z=[T.offsetX,T.offsetY];if(l.containPixel("grid",z)){const E=l.convertFromPixel({seriesIndex:0},[T.offsetX,T.offsetY])[0];try{let A=l.getOption().xAxis[0].data[E];s.value=A}catch(A){console.error(A)}}}));let C=h();l.clear(),l.setOption(C),s.value=""}Ho(function(){l!=null&&l.dispose()});function p(){v()}function g(){let C=[];if(F.bazi.value!=null){let T=F.bazi.value.qushiInfo[o.value];for(let z=0;z<n.length;z++){let E=n[z];if(i.value.indexOf(E)==-1)continue;let A=T.detailsYun.get(E);A!=null&&A.forEach(function(D){C.push(E+" : "+D)})}}return C}function m(){let C=[];if(F.bazi.value!=null){let T=F.bazi.value.qushiInfo[o.value];for(let z=0;z<n.length;z++){let E=n[z];if(i.value.indexOf(E)==-1)continue;let A=T.detailsNian.get(E);A!=null&&A.forEach(function(D){C.push(E+" : "+D)})}}return C}function b(){let C=[];if(F.bazi.value!=null){let T=parseInt(s.value.toString().replace("月","")),z=F.bazi.value.qushiInfo[o.value];for(let E=0;E<n.length;E++){let A=n[E];if(i.value.indexOf(A)==-1)continue;let D=z.detailsYue.get(A+"_"+T.toString());D!=null&&D.forEach(function($){C.push(A+" : "+$)})}}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=F.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>JGe&&u.value.splice(0,1)}return(C,T)=>{const z=se("el-checkbox-button"),E=se("el-button"),A=se("el-checkbox-group"),D=se("el-button-group"),$=se("el-radio-button"),N=se("el-radio-group"),R=se("el-col"),O=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",YGe,[I(A,{modelValue:y(i),"onUpdate:modelValue":T[1]||(T[1]=re=>st(i)?i.value=re:i=re)},{default:M(()=>[(k(!0),H(fe,null,we(y(n),re=>(k(),Y(z,{value:re},{default:M(()=>[G(U(re),1)]),_:2},1032,["value"]))),256)),I(E,{style:{"margin-left":"20px"},onClick:T[0]||(T[0]=re=>v())},{default:M(()=>[G("重绘趋势图")]),_:1})]),_:1},8,["modelValue"])]),X("div",KGe,[I(D,null,{default:M(()=>[I(E,{onClick:T[2]||(T[2]=re=>_(0))},{default:M(()=>[G("全选")]),_:1}),I(E,{onClick:T[3]||(T[3]=re=>_(1))},{default:M(()=>[G("事业")]),_:1}),I(E,{onClick:T[4]||(T[4]=re=>_(7))},{default:M(()=>[G("财富")]),_:1}),I(E,{onClick:T[5]||(T[5]=re=>_(8))},{default:M(()=>[G("地位")]),_:1}),I(E,{onClick:T[6]||(T[6]=re=>_(9))},{default:M(()=>[G("家庭")]),_:1}),I(E,{onClick:T[7]||(T[7]=re=>_(2))},{default:M(()=>[G("健康")]),_:1}),I(E,{onClick:T[8]||(T[8]=re=>_(5))},{default:M(()=>[G("人脉")]),_:1}),I(E,{onClick:T[9]||(T[9]=re=>_(4))},{default:M(()=>[G("是非")]),_:1}),I(E,{onClick:T[10]||(T[10]=re=>_(6))},{default:M(()=>[G("学习")]),_:1}),I(E,{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(N,{modelValue:y(o),"onUpdate:modelValue":T[12]||(T[12]=re=>st(o)?o.value=re:o=re)},{default:M(()=>{var re;return[(k(!0),H(fe,null,we((re=y(F).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=>st(u)?u.value=re:u=re),multiple:"",clearable:""},{default:M(()=>[(k(!0),H(fe,null,we(y(F).historyUser.value,(re,ue)=>(k(),Y(O,{value:ue,label:x(re)},{default:M(()=>[G(U(x(re)),1)]),_:2},1032,["value","label"]))),256))]),_:1},8,["modelValue"])]),_:1})]),_:1}),X("div",XGe,[X("div",ZGe,[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),H(fe,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),H(fe,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),H(fe,null,we(b(),re=>(k(),Y(P,null,{default:M(()=>[G(U(re),1)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):Q("",!0)]),_:1})}}}),eWe={align:"left"},tWe={align:"left",style:{"margin-top":"20px"}},nWe={style:{"margin-top":"10px"},align:"left"},rWe={style:{position:"relative"}},aWe={style:{position:"absolute",right:"0px",top:"0px","margin-top":"-50px"}},iWe=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(F.bazi.value!=null&&F.bazi.value.dailyQuShi.length>0){let S=F.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=[],E={name:T,type:"line",data:z,itemStyle:{color:r[C]},lineStyle:{type:"solid"}};for(let A=9;A<=21;A+=2){let D=T+"_"+A.toString();z.push(S.total.get(D))}x.push(E)}}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(F.bazi.value==null)return;if(i.value.length==0){Ve.showMessage("请至少勾选一组数据");return}l.value==null&&(l.value="甲"),o==null&&(o=gq(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(F.bazi.value!=null&&F.bazi.value.dailyQuShi.length>0){let S=F.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(E){x.push(T+" : "+E)})}}return x}function m(){let x=[];if(F.bazi.value!=null){let S=parseInt(s.value.toString().replace("点","")),C=F.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 E=C.detailsShi.get(z+"_"+S.toString());E!=null&&E.forEach(function(A){x.push(z+" : "+A)})}}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 F.bazi.value!=null&&(x=(S=F.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"),E=se("el-button-group"),A=se("el-radio-button"),D=se("el-radio-group"),$=se("el-text"),N=se("el-row"),R=se("el-space"),O=se("el-scrollbar"),B=se("el-col"),V=se("el-card");return k(),Y(V,null,{header:M(()=>[X("div",eWe,[I(z,{modelValue:y(i),"onUpdate:modelValue":S[1]||(S[1]=P=>st(i)?i.value=P:i=P)},{default:M(()=>[(k(!0),H(fe,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",tWe,[I(E,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",nWe,[I(N,{align:"middle"},{default:M(()=>[I(D,{modelValue:y(c),"onUpdate:modelValue":S[8]||(S[8]=P=>st(c)?c.value=P:c=P)},{default:M(()=>[I(A,{onChange:p,value:0},{default:M(()=>[G("今")]),_:1}),I(A,{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=>st(l)?l.value=P:l=P),style:{"margin-top":"20px"}},{default:M(()=>[(k(!0),H(fe,null,we(y(Ft).tianganAry,P=>(k(),Y(A,{onChange:p,value:P,label:P},null,8,["value","label"]))),256))]),_:1},8,["modelValue"])]),X("div",rWe,[X("div",aWe,[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(O,{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(N,{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),H(fe,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),H(fe,null,we(m(),P=>(k(),Y($,null,{default:M(()=>[G(U(P),1)]),_:2},1024))),256))]),_:1})]),_:1})]),_:1})):Q("",!0)]),_:1})}}}),oWe=e=>(T5("data-v-303b9d53"),e=e(),k5(),e),lWe={style:{width:"90%"},class:"grid-container"},sWe=oWe(()=>X("br",null,null,-1)),uWe=te({__name:"MBTI",setup(e){let t=["木","火","土","金","水","官","杀","财","才","印","枭","食","伤","比","劫"],n=L(function(){let f="";if(F.bazi.value!=null){let d=F.bazi.value.mbti,h=d.get("内向").percentage,v=d.get("外向").percentage;h>v?f+="I":f+="E";let p=d.get("感觉").percentage,g=d.get("直觉").percentage;p>g?f+="S":f+="N";let m=d.get("思考").percentage,b=d.get("情感").percentage;m>b?f+="T":f+="F";let _=d.get("判断").percentage,w=d.get("知觉").percentage;_>w?f+="J":f+="P"}return f}),r=j(0),a=j("");function i(f){let d=0;if(F.bazi.value!=null){let h=F.bazi.value.mbti.get(f);h!=null&&(d=h.percentage)}return d}function o(f){return f=="外向"?"E":f=="内向"?"I":f=="感觉"?"S":f=="直觉"?"N":f=="思考"?"T":f=="情感"?"F":f=="判断"?"J":f=="知觉"?"P":""}function l(f){return"#409EFF"}function s(f,d){let h=0;if(F.bazi.value!=null){let v=F.bazi.value.mbti.get(f);v!=null&&(h=v.score_detail.get(d))}return h}function u(){return[["外向","内向"],["感觉","直觉"],["思考","情感"],["判断","知觉"]][r.value]}function c(){if(F.bazi.value!=null){let f=Ft.mbti_results[n.value];if(f==null)return;let d=f.性格,h=f.工作,v=f.生活,p=f.情感,g=f.社交,m=f.财富,b="";b+=`性格:
- `,d.forEach(function(_){b+=_+`
- `}),b+=`
- `,b+=`工作:
- `,h.forEach(function(_){b+=_+`
- `}),b+=`
- `,b+=`生活:
- `,v.forEach(function(_){b+=_+`
- `}),b+=`
- `,b+=`情感:
- `,p.forEach(function(_){b+=_+`
- `}),b+=`
- `,b+=`社交:
- `,g.forEach(function(_){b+=_+`
- `}),b+=`
- `,b+=`财富:
- `,m.forEach(function(_){b+=_+`
- `}),a.value=b}}return(f,d)=>{const h=se("el-text"),v=se("el-col"),p=se("el-radio-button"),g=se("el-radio-group"),m=se("el-button"),b=se("el-row"),_=se("el-progress"),w=se("el-input"),x=se("el-card");return k(),Y(x,null,{header:M(()=>[I(b,{align:"middle"},{default:M(()=>[I(v,{span:4},{default:M(()=>[I(h,null,{default:M(()=>[G("MBTI诊断:")]),_:1})]),_:1}),I(v,{span:6,align:"left"},{default:M(()=>[I(h,{tag:"b"},{default:M(()=>[G(U(y(n)),1)]),_:1})]),_:1}),I(v,{span:10,align:"right"},{default:M(()=>[I(g,{modelValue:y(r),"onUpdate:modelValue":d[0]||(d[0]=S=>st(r)?r.value=S:r=S)},{default:M(()=>[I(p,{value:0,label:"EI"}),I(p,{value:1,label:"SN"}),I(p,{value:2,label:"TF"}),I(p,{value:3,label:"JP"})]),_:1},8,["modelValue"])]),_:1}),I(v,{span:4},{default:M(()=>[I(m,{type:"primary",onClick:d[1]||(d[1]=S=>c())},{default:M(()=>[G("MBTI诊断")]),_:1})]),_:1})]),_:1})]),footer:M(()=>[I(w,{type:"textarea",modelValue:y(a),"onUpdate:modelValue":d[2]||(d[2]=S=>st(a)?a.value=S:a=S),autosize:{minRows:1,maxRows:15}},null,8,["modelValue"])]),default:M(()=>[(k(!0),H(fe,null,we(u(),S=>(k(),H("div",null,[I(b,null,{default:M(()=>[I(v,{span:4},{default:M(()=>[I(h,null,{default:M(()=>[G(U(S)+" ",1),I(h,{size:"small",tag:"b"},{default:M(()=>[G(U(o(S)),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),I(v,{span:20},{default:M(()=>[X("div",null,[I(_,{color:l(0),percentage:i(S)},null,8,["color","percentage"])]),X("div",lWe,[(k(!0),H(fe,null,we(y(t),C=>(k(),Y(h,null,{default:M(()=>[G(U(C),1),sWe,I(h,{size:"small",tag:"ins"},{default:M(()=>[G(U(s(S,C)),1)]),_:2},1024)]),_:2},1024))),256))])]),_:2},1024)]),_:2},1024)]))),256))]),_:1})}}}),cWe=Ya(uWe,[["__scopeId","data-v-303b9d53"]]),fWe=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(),H(fe,null,[I($6e,{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=>st(t)?t.value=s:t=s),type:"card"},{default:M(()=>[I(o,{label:"四柱",name:"sizhu"},{default:M(()=>[I(K6e,{style:{width:"750px"}})]),_:1}),I(o,{label:"五行",name:"wuxing"},{default:M(()=>[I(J6e,{style:{width:"750px"}})]),_:1}),I(o,{label:"格局",name:"geju"},{default:M(()=>[I(A8e,{style:{width:"750px"}})]),_:1}),I(o,{label:"大运",name:"dayun"},{default:M(()=>[I(TCe,{style:{width:"750px"}})]),_:1}),I(o,{label:"诊断",name:"zhenduan"},{default:M(()=>[I(YCe)]),_:1}),I(o,{label:"趋势",name:"qushi"},{default:M(()=>[I(QGe)]),_:1}),I(o,{label:"MBTI",name:"mbti"},{default:M(()=>[I(cWe)]),_:1}),I(o,{label:"日运势",name:"riyunshi"},{default:M(()=>[I(iWe)]),_:1}),I(o,{label:"用户",name:"user"},{default:M(()=>[I(XCe,{"on-read-user":r})]),_:1})]),_:1},8,["modelValue"])],64)}}}),dWe=X("h3",null,"易 观 v2.0 ",-1),hWe={style:{width:"100%"},align:"middle"},vWe={style:{width:"50%"}},pWe={style:{width:"50%","margin-top":"10px"}},gWe={style:{width:"50%","margin-top":"20px"},align:"left"},mWe={style:{width:"50%","margin-top":"10px"},align:"left"},yWe={style:{width:"50%","margin-top":"10px"},align:"left"},bWe=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||qi.login(i,o,function(l){l==null||l.code==-1?r.value="登录失败":l.code==-100?r.value="更换了设备登录,请联系管理员或换回之前的设备登录。":(r.value="",PC.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(()=>[dWe]),default:M(()=>[X("div",hWe,[X("div",vWe,[I(l,{modelValue:y(t),"onUpdate:modelValue":o[0]||(o[0]=f=>st(t)?t.value=f:t=f),placeholder:"用户名",clearable:""},null,8,["modelValue"])]),X("div",pWe,[I(l,{onKeydown:fn(a,["enter"]),modelValue:y(n),"onUpdate:modelValue":o[1]||(o[1]=f=>st(n)?n.value=f:n=f),type:"password",placeholder:"密码",clearable:""},null,8,["modelValue"])]),X("div",gWe,[I(s,{style:{width:"100%"},onClick:a,type:"primary"},{default:M(()=>[G("登录")]),_:1})]),X("div",mWe,[y(qi).debugMode?(k(),Y(u,{key:0,tag:"b",type:"danger"},{default:M(()=>[G("测试模式")]),_:1})):Q("",!0),y(qi).debugMode?Q("",!0):(k(),Y(u,{key:1,tag:"b",type:"success"},{default:M(()=>[G("线上模式")]),_:1}))]),X("div",yWe,[I(u,{tag:"b",type:"danger"},{default:M(()=>[G(U(y(r)),1)]),_:1})])])]),_:1})}}}),_We=[{path:"/",name:"login",component:bWe},{path:"/home",name:"controller",component:fWe}],PC=IZ({history:iZ(),routes:_We});var s5;(e=>{e.areas=`省,市,区,北纬,东经,时,分,秒,市拼音,区拼音
- 未知地区,-,-,39,120,0,0,0,wz,wz
- 北京,北京,东城区,39.9288,116.416,23,42,31,bj,dc
- 北京,北京,西城区,39.9123,116.367,23,42,19,bj,xc
- 北京,北京,崇文区,39.8951,116.42,23,42,31,bj,cw
- 北京,北京,宣武区,39.8965,116.389,23,42,24,bj,xw
- 北京,北京,朝阳区,39.9217,116.443,23,42,36,bj,cy
- 北京,北京,丰台区,39.8581,116.287,23,42,0,bj,ft
- 北京,北京,石景山区,39.9058,116.223,23,41,43,bj,sjs
- 北京,北京,海淀区,39.9592,116.299,23,42,3,bj,hd
- 北京,北京,门头沟区,39.941,116.102,23,41,15,bj,mtg
- 北京,北京,房山区,39.7493,116.145,23,41,27,bj,fs
- 北京,北京,通州区,39.9063,116.664,23,43,29,bj,tz
- 北京,北京,顺义区,40.1295,116.655,23,43,29,bj,sy
- 北京,北京,昌平区,40.2202,116.232,23,41,46,bj,cp
- 北京,北京,大兴区,39.7276,116.343,23,42,12,bj,dx
- 北京,北京,怀柔区,40.3162,116.633,23,43,22,bj,hr
- 北京,北京,平谷区,40.1407,117.123,23,45,19,bj,pg
- 北京,北京,密云区,40.3766,116.415,23,42,31,bj,my
- 北京,北京,延庆区,40.3766,116.415,23,42,31,bj,yq
- 上海,上海,黄浦区,31.2326,121.486,0,2,48,sh,hp
- 上海,上海,卢湾区,31.2074,121.475,0,2,46,sh,lw
- 上海,上海,徐汇区,31.1853,121.437,0,2,36,sh,xh
- 上海,上海,长宁区,31.2212,121.423,0,2,31,sh,cn
- 上海,上海,静安区,31.2265,121.456,0,2,41,sh,ja
- 上海,上海,普陀区,31.2487,121.397,0,2,27,sh,pt
- 上海,上海,闸北区,31.2472,121.46,0,2,41,sh,zb
- 上海,上海,虹口区,31.2645,121.505,0,2,53,sh,hk
- 上海,上海,杨浦区,31.2601,121.526,0,2,58,sh,yp
- 上海,上海,闵行区,31.1134,121.382,0,2,22,sh,mh
- 上海,上海,宝山区,31.4052,121.489,0,2,48,sh,bs
- 上海,上海,嘉定区,31.3746,121.266,0,1,55,sh,jd
- 上海,上海,浦东新区,31.2208,121.544,0,3,0,sh,pdxq
- 上海,上海,金山区,30.7418,121.343,0,2,12,sh,js
- 上海,上海,松江区,31.0325,121.227,0,1,46,sh,sj
- 上海,上海,青浦区,31.1499,121.124,0,1,19,sh,pq
- 上海,上海,南汇区,31.0594,121.736,0,3,48,sh,nh
- 上海,上海,奉贤区,30.9189,121.475,0,2,46,sh,fx
- 上海,上海,崇明区,30.9189,121.475,0,2,46,sh,cm
- 天津,天津,和平区,39.1165,117.217,23,45,43,tj,hp
- 天津,天津,河东区,39.1276,117.254,23,45,51,tj,hd
- 天津,天津,河西区,39.1074,117.225,23,45,46,tj,hx
- 天津,天津,南开区,39.1371,117.151,23,45,27,tj,nk
- 天津,天津,河北区,39.1479,117.197,23,45,39,tj,kb
- 天津,天津,红桥区,39.1683,117.152,23,45,27,tj,hq
- 天津,天津,塘沽区,39.0368,117.672,23,47,31,tj,tg
- 天津,天津,汉沽区,39.2497,117.807,23,48,5,tj,hg
- 天津,天津,大港区,38.8466,117.467,23,46,43,tj,dg
- 天津,天津,东丽区,39.0822,117.319,23,46,7,tj,dl
- 天津,天津,西青区,39.1391,117.01,23,44,53,tj,xq
- 天津,天津,津南区,38.9346,117.361,23,46,17,tj,jn
- 天津,天津,北辰区,39.2224,117.14,23,45,24,tj,bc
- 天津,天津,武清区,39.381,117.049,23,45,3,tj,wq
- 天津,天津,宝坻区,39.7211,117.309,23,46,5,tj,bd
- 天津,天津,宁河区,39.3816,117.6894,23,47,36,tj,nh
- 天津,天津,静海区,38.8613,116.9728,23,44,43,tj,jh
- 天津,天津,蓟州区,39.099,117.204,23,45,39,tj,jz
- 重庆,重庆,万州区,30.8084,108.41,23,10,29,qc,wz
- 重庆,重庆,涪陵区,29.7037,107.389,23,6,24,qc,fl
- 重庆,重庆,渝中区,29.5529,106.569,23,3,7,qc,yz
- 重庆,重庆,大渡口区,29.4841,106.483,23,2,46,qc,ddk
- 重庆,重庆,江北区,29.6065,106.574,23,3,7,qc,jb
- 重庆,重庆,沙坪坝区,29.5406,106.46,23,2,41,qc,spb
- 重庆,重庆,九龙坡区,29.5019,106.512,23,2,53,qc,jlp
- 重庆,重庆,南岸区,29.5216,106.563,23,3,5,qc,na
- 重庆,重庆,北碚区,29.8058,106.398,23,2,27,qc,bf
- 重庆,重庆,万盛区,28.9098,106.918,23,4,31,qc,ws
- 重庆,重庆,双桥区,29.4971,105.787,23,0,0,qc,sq
- 重庆,重庆,渝北区,29.724,106.626,23,3,22,qc,yb
- 重庆,重庆,巴南区,29.4035,106.542,23,3,0,qc,bn
- 重庆,重庆,黔江区,29.5335,108.772,23,11,55,qc,qj
- 重庆,重庆,长寿区,29.8581,107.082,23,5,10,qc,cs
- 重庆,县,綦江县,28.9622,106.928,23,4,34,x,qj
- 重庆,县,潼南县,30.1903,105.841,23,0,12,x,tn
- 重庆,县,铜梁县,29.8446,106.059,23,1,5,x,tl
- 重庆,县,大足县,29.4832,105.773,22,59,55,x,dz
- 重庆,县,荣昌县,29.4048,105.597,22,59,15,x,rc
- 重庆,县,璧山县,29.5923,106.229,23,1,46,x,bs
- 重庆,县,梁平县,30.6746,107.805,23,8,5,x,lp
- 重庆,县,城口县,31.948,108.666,23,11,31,x,ck
- 重庆,县,丰都县,29.8629,107.733,23,7,46,x,fd
- 重庆,县,垫江县,30.3265,107.335,23,6,12,x,dj
- 重庆,县,武隆县,29.3271,107.76,23,7,53,x,wl
- 重庆,县,忠县,30.3002,108.036,23,9,0,x,zx
- 重庆,县,开县,31.1613,108.395,23,10,27,x,kx
- 重庆,县,云阳县,30.9307,108.699,23,11,39,x,yy
- 重庆,县,奉节县,31.0184,109.465,23,14,43,x,fj
- 重庆,县,巫山县,31.0748,109.881,23,16,22,x,ws
- 重庆,县,巫溪县,31.3987,109.571,23,15,7,x,wx
- 重庆,县,石柱土家族自治县,29.9986,108.115,23,9,19,x,sz
- 重庆,县,秀山土家苗族自治县,28.4476,109.007,23,12,53,x,xs
- 重庆,县,酉阳土家苗族自治县,28.8412,108.768,23,11,55,x,yy
- 重庆,县,彭水苗族土家自治县,29.2941,108.164,23,9,29,x,ps
- 重庆,两江新区,江津区,29.2903,106.262,23,1,53,lj,jj
- 重庆,两江新区,合川区,29.9725,106.278,23,1,58,lj,hc
- 重庆,两江新区,永川区,29.3561,105.929,23,0,34,lj,yc
- 重庆,两江新区,南川区,29.1578,107.101,23,5,15,lj,nc
- 香港,九龙半岛,油尖旺区,22.39,114.18,23,33,34,jl,yjw
- 香港,九龙半岛,观塘区,22.39,114.18,23,33,34,jl,gt
- 香港,九龙半岛,九龙城区,22.39,114.18,23,33,34,jl,jlc
- 香港,九龙半岛,黄大仙区,22.39,114.18,23,33,34,jl,hdx
- 香港,九龙半岛,深水埗区,22.39,114.18,23,33,34,jl,ssb
- 香港,香港岛,湾仔区,22.39,114.18,23,33,34,xgd,wz
- 香港,香港岛,北区,22.39,114.18,23,33,34,xgd,bq
- 香港,香港岛,南区,22.39,114.18,23,33,34,xgd,nq
- 香港,香港岛,中西区,22.39,114.18,23,33,34,xgd,zx
- 香港,新界,北区,22.39,114.18,23,33,34,xj,bq
- 香港,新界,大埔区,22.39,114.18,23,33,34,xj,dp
- 香港,新界,荃湾区,22.39,114.18,23,33,34,xj,qw
- 香港,新界,屯门区,22.39,114.18,23,33,34,xj,tm
- 香港,新界,元朗区,22.39,114.18,23,33,34,xj,yl
- 香港,新界,葵青区,22.39,114.18,23,33,34,xj,kq
- 香港,新界,离岛区,22.39,114.18,23,33,34,xj,ld
- 香港,新界,沙田区,22.39,114.18,23,33,34,xj,st
- 香港,新界,西贡区,22.39,114.18,23,33,34,xj,xg
- 澳门,路环,圣方济各堂区,22.149,113.568,23,31,7,lh,sfjgt
- 澳门,氹仔,嘉模堂区,22.149,113.568,23,31,7,dz,jmt
- 澳门,澳门半岛,风顺堂区,22.149,113.568,23,31,7,ambd,fst
- 澳门,澳门半岛,望德堂区,22.149,113.568,23,31,7,ambd,wdt
- 澳门,澳门半岛,大堂区,22.149,113.568,23,31,7,ambd,dt
- 澳门,澳门半岛,圣安多尼堂区,22.149,113.568,23,31,7,ambd,sadnt
- 澳门,澳门半岛,花地玛堂区,22.149,113.568,23,31,7,ambd,hdmt
- 台湾省,新北市,板桥区,25.019,121.478,0,2,46,xb,bq
- 台湾省,新北市,汐止区,25.019,121.478,0,2,46,xb,xz
- 台湾省,新北市,新店区,25.019,121.478,0,2,46,xb,xd
- 台湾省,新北市,永和区,25.019,121.478,0,2,46,xb,yh
- 台湾省,新北市,中和区,25.019,121.478,0,2,46,xb,zh
- 台湾省,新北市,土城区,25.019,121.478,0,2,46,xb,tc
- 台湾省,新北市,树林区,25.019,121.478,0,2,46,xb,sl
- 台湾省,新北市,三重区,25.019,121.478,0,2,46,xb,sc
- 台湾省,新北市,新庄区,25.019,121.478,0,2,46,xb,zx
- 台湾省,新北市,芦洲区,25.019,121.478,0,2,46,xb,lz
- 台湾省,新北市,瑞芳区,25.019,121.478,0,2,46,xb,rf
- 台湾省,新北市,三峡区,25.019,121.478,0,2,46,xb,sx
- 台湾省,新北市,莺歌区,25.019,121.478,0,2,46,xb,yg
- 台湾省,新北市,淡水区,25.019,121.478,0,2,46,xb,ds
- 台湾省,新北市,万里区,25.019,121.478,0,2,46,xb,wl
- 台湾省,新北市,金山区,25.019,121.478,0,2,46,xb,js
- 台湾省,新北市,深坑区,25.019,121.478,0,2,46,xb,sk
- 台湾省,新北市,石碇区,25.019,121.478,0,2,46,xb,sd
- 台湾省,新北市,平溪区,25.019,121.478,0,2,46,xb,px
- 台湾省,新北市,双溪区,25.019,121.478,0,2,46,xb,sx
- 台湾省,新北市,贡寮区,25.019,121.478,0,2,46,xb,gl
- 台湾省,新北市,坪林区,25.019,121.478,0,2,46,xb,pl
- 台湾省,新北市,乌来区,25.019,121.478,0,2,46,xb,wl
- 台湾省,新北市,泰山区,25.019,121.478,0,2,46,xb,ts
- 台湾省,新北市,林口区,25.019,121.478,0,2,46,xb,lk
- 台湾省,新北市,五股区,25.019,121.478,0,2,46,xb,wg
- 台湾省,新北市,八里区,25.019,121.478,0,2,46,xb,bl
- 台湾省,新北市,三芝区,25.019,121.478,0,2,46,xb,sz
- 台湾省,新北市,石门区,25.019,121.478,0,2,46,xb,sm
- 台湾省,桃园市,桃园区,24.998,121.308,0,2,5,ty,ty
- 台湾省,桃园市,中坜区,24.998,121.308,0,2,5,ty,zl
- 台湾省,桃园市,平镇区,24.998,121.308,0,2,5,ty,pz
- 台湾省,桃园市,八德区,24.998,121.308,0,2,5,ty,bd
- 台湾省,桃园市,杨梅区,24.998,121.308,0,2,5,ty,ym
- 台湾省,桃园市,大溪区,24.998,121.308,0,2,5,ty,dx
- 台湾省,桃园市,芦竹区,24.998,121.308,0,2,5,ty,lz
- 台湾省,桃园市,龙潭区,24.998,121.308,0,2,5,ty,lt
- 台湾省,桃园市,龟山区,24.998,121.308,0,2,5,ty,gs
- 台湾省,桃园市,大园区,24.998,121.308,0,2,5,ty,dy
- 台湾省,桃园市,观音区,24.998,121.308,0,2,5,ty,gy
- 台湾省,桃园市,新屋区,24.998,121.308,0,2,5,ty,xw
- 台湾省,桃园市,复兴区,24.998,121.308,0,2,5,ty,fx
- 台湾省,台中市,中区,24.166,120.655,23,59,29,tz,zq
- 台湾省,台中市,东区,24.166,120.655,23,59,29,tz,dq
- 台湾省,台中市,南区,24.166,120.655,23,59,29,tz,nq
- 台湾省,台中市,西区,24.166,120.655,23,59,29,tz,xq
- 台湾省,台中市,北区,24.166,120.655,23,59,29,tz,bq
- 台湾省,台中市,北屯区,24.166,120.655,23,59,29,tz,bt
- 台湾省,台中市,西屯区,24.166,120.655,23,59,29,tz,xt
- 台湾省,台中市,南屯区,24.166,120.655,23,59,29,tz,nt
- 台湾省,台中市,太平区,24.166,120.655,23,59,29,tz,tp
- 台湾省,台中市,大里区,24.166,120.655,23,59,29,tz,dl
- 台湾省,台中市,雾峰区,24.166,120.655,23,59,29,tz,wf
- 台湾省,台中市,乌日区,24.166,120.655,23,59,29,tz,wr
- 台湾省,台中市,丰原区,24.166,120.655,23,59,29,tz,fy
- 台湾省,台中市,后里区,24.166,120.655,23,59,29,tz,hl
- 台湾省,台中市,潭子区,24.166,120.655,23,59,29,tz,tz
- 台湾省,台中市,大雅区,24.166,120.655,23,59,29,tz,dy
- 台湾省,台中市,神冈区,24.166,120.655,23,59,29,tz,sg
- 台湾省,台中市,石冈区,24.166,120.655,23,59,29,tz,sg
- 台湾省,台中市,东势区,24.166,120.655,23,59,29,tz,ds
- 台湾省,台中市,新社区,24.166,120.655,23,59,29,tz,xs
- 台湾省,台中市,和平区,24.166,120.655,23,59,29,tz,hp
- 台湾省,台中市,大肚区,24.166,120.655,23,59,29,tz,dd
- 台湾省,台中市,沙鹿区,24.166,120.655,23,59,29,tz,sl
- 台湾省,台中市,龙井区,24.166,120.655,23,59,29,tz,lj
- 台湾省,台中市,梧栖区,24.166,120.655,23,59,29,tz,wq
- 台湾省,台中市,清水区,24.166,120.655,23,59,29,tz,qs
- 台湾省,台中市,大甲区,24.166,120.655,23,59,29,tz,dj
- 台湾省,台中市,外埔区,24.166,120.655,23,59,29,tz,wp
- 台湾省,台中市,大安区,24.166,120.655,23,59,29,tz,da
- 台湾省,台南市,中西区,23,120.2,23,57,39,tn,zx
- 台湾省,台南市,南区,23,120.2,23,57,39,tn,nq
- 台湾省,台南市,东区,23,120.2,23,57,39,tn,dq
- 台湾省,台南市,北区,23,120.2,23,57,39,tn,bq
- 台湾省,台南市,安平区,23,120.2,23,57,39,tn,ap
- 台湾省,台南市,安南区,23,120.2,23,57,39,tn,an
- 台湾省,台南市,永康区,23,120.2,23,57,39,tn,yk
- 台湾省,台南市,归仁区,23,120.2,23,57,39,tn,gr
- 台湾省,台南市,新化区,23,120.2,23,57,39,tn,xh
- 台湾省,台南市,左镇区,23,120.2,23,57,39,tn,zz
- 台湾省,台南市,玉井区,23,120.2,23,57,39,tn,yj
- 台湾省,台南市,楠西区,23,120.2,23,57,39,tn,nx
- 台湾省,台南市,南化区,23,120.2,23,57,39,tn,nh
- 台湾省,台南市,仁德区,23,120.2,23,57,39,tn,rd
- 台湾省,台南市,关庙区,23,120.2,23,57,39,tn,gm
- 台湾省,台南市,龙崎区,23,120.2,23,57,39,tn,lq
- 台湾省,台南市,官田区,23,120.2,23,57,39,tn,gt
- 台湾省,台南市,麻豆区,23,120.2,23,57,39,tn,md
- 台湾省,台南市,佳里区,23,120.2,23,57,39,tn,jl
- 台湾省,台南市,西港区,23,120.2,23,57,39,tn,xg
- 台湾省,台南市,七股区,23,120.2,23,57,39,tn,qg
- 台湾省,台南市,将军区,23,120.2,23,57,39,tn,jj
- 台湾省,台南市,学甲区,23,120.2,23,57,39,tn,xj
- 台湾省,台南市,北门区,23,120.2,23,57,39,tn,bm
- 台湾省,台南市,新营区,23,120.2,23,57,39,tn,xy
- 台湾省,台南市,后壁区,23,120.2,23,57,39,tn,hb
- 台湾省,台南市,白河区,23,120.2,23,57,39,tn,bh
- 台湾省,台南市,东山区,23,120.2,23,57,39,tn,ds
- 台湾省,台南市,六甲区,23,120.2,23,57,39,tn,lj
- 台湾省,台南市,下营区,23,120.2,23,57,39,tn,xy
- 台湾省,台南市,柳营区,23,120.2,23,57,39,tn,ly
- 台湾省,台南市,盐水区,23,120.2,23,57,39,tn,ys
- 台湾省,台南市,善化区,23,120.2,23,57,39,tn,sh
- 台湾省,台南市,大内区区,23,120.2,23,57,39,tn,dn
- 台湾省,台南市,山上区,23,120.2,23,57,39,tn,ss
- 台湾省,台南市,新市区,23,120.2,23,57,39,tn,xs
- 台湾省,台南市,安定区,23,120.2,23,57,39,tn,ad
- 台湾省,高雄市,旧高雄区,22.62,120.28,23,57,58,gx,jgx
- 台湾省,高雄市,凤山地区,22.62,120.28,23,57,58,gx,fs
- 台湾省,高雄市,冈山地区,22.62,120.28,23,57,58,gx,gs
- 台湾省,高雄市,旗山地区,22.62,120.28,23,57,58,gx,qs
- 安徽省,合肥,市辖区,31.8203,117.23,23,45,46,hf,sxq
- 安徽省,合肥,瑶海区,31.8582,117.31,23,46,5,hf,yh
- 安徽省,合肥,庐阳区,31.8781,117.265,23,45,55,hf,ly
- 安徽省,合肥,蜀山区,31.8518,117.262,23,45,53,hf,ss
- 安徽省,合肥,包河区,31.794,117.311,23,46,5,hf,bh
- 安徽省,合肥,长丰县,32.4765,117.169,23,45,31,hf,cf
- 安徽省,合肥,肥东县,31.8883,117.471,23,46,43,hf,fd
- 安徽省,合肥,肥西县,31.7065,117.159,23,45,29,hf,fx
- 安徽省,芜湖,市辖区,31.3526,118.434,23,50,34,wh,sxq
- 安徽省,芜湖,镜湖区,31.3407,118.385,23,50,24,wh,jh
- 安徽省,芜湖,戈江区,31.3119,118.373,23,50,19,wh,gj
- 安徽省,芜湖,新芜区,31.3497,118.365,23,50,19,wh,jw
- 安徽省,芜湖,鸠江区,31.3697,118.393,23,50,24,wh,jj
- 安徽省,芜湖,芜湖县,31.1341,118.576,23,51,10,wh,wh
- 安徽省,芜湖,繁昌县,31.0831,118.199,23,49,39,wh,fc
- 安徽省,芜湖,南陵县,30.9148,118.335,23,50,12,wh,nl
- 安徽省,芜湖,无为县,39.8951,116.42,23,42,31,wh,ww
- 安徽省,蚌埠,市辖区,32.9149,117.389,23,46,24,bb,sxq
- 安徽省,蚌埠,龙子湖区,32.9422,117.395,23,46,27,bb,lzh
- 安徽省,蚌埠,蚌山区,32.9442,117.368,23,46,19,bb,bs
- 安徽省,蚌埠,禹会区,32.9293,117.342,23,46,12,bb,yh
- 安徽省,蚌埠,淮上区,32.9643,117.36,23,46,17,bb,hs
- 安徽省,蚌埠,怀远县,32.9703,117.206,23,45,41,bb,hy
- 安徽省,蚌埠,五河县,33.1451,117.885,23,48,24,bb,wh
- 安徽省,蚌埠,固镇县,33.3172,117.316,23,46,7,bb,gz
- 安徽省,淮南,市辖区,32.6254,117,23,44,51,hn,sxq
- 安徽省,淮南,大通区,32.6305,117.053,23,45,3,hn,dt
- 安徽省,淮南,田家庵区,32.6468,117.018,23,44,55,hn,tja
- 安徽省,淮南,谢家集区,32.599,116.859,23,44,17,hn,xjj
- 安徽省,淮南,八公山区,32.6295,116.834,23,44,10,hn,bgs
- 安徽省,淮南,潘集区,32.7719,116.836,23,44,12,hn,pj
- 安徽省,淮南,凤台县,32.709,116.71,23,43,41,hn,ft
- 安徽省,马鞍山,市辖区,31.6695,118.505,23,50,53,mas,sxq
- 安徽省,马鞍山,金家庄区,31.7386,118.519,23,50,55,mas,jjz
- 安徽省,马鞍山,花山区,31.6995,118.511,23,50,53,mas,hs
- 安徽省,马鞍山,雨山区,31.6807,118.498,23,50,51,mas,ys
- 安徽省,马鞍山,当涂县,31.5699,118.498,23,50,51,mas,dt
- 安徽省,淮北,市辖区,33.9574,116.793,23,44,0,hb,sxq
- 安徽省,淮北,杜集区,33.9904,116.828,23,44,10,hb,dj
- 安徽省,淮北,相山区,33.9592,116.795,23,44,3,hb,xs
- 安徽省,淮北,烈山区,33.8948,116.813,23,44,5,hb,ls
- 安徽省,淮北,濉溪县,33.9151,116.766,23,43,55,hb,sx
- 安徽省,铜陵,市辖区,30.945,117.812,23,48,5,tl,sxq
- 安徽省,铜陵,铜官山区,30.9339,117.815,23,48,7,tl,tgs
- 安徽省,铜陵,狮子山区,30.9555,117.874,23,48,19,tl,szs
- 安徽省,铜陵,郊区,30.9045,117.801,23,48,3,tl,jq
- 安徽省,铜陵,铜陵县,30.9534,117.791,23,48,0,tl,tl
- 安徽省,安庆,市辖区,30.511,117.091,23,45,12,aq,sxq
- 安徽省,安庆,迎江区,30.511,117.091,23,45,12,aq,yj
- 安徽省,安庆,大观区,30.5123,117.034,23,44,58,aq,dg
- 安徽省,安庆,郊区,30.9045,117.801,23,48,3,aq,jq
- 安徽省,安庆,怀宁县,30.7326,116.829,23,44,10,aq,hn
- 安徽省,安庆,枞阳县,30.6996,117.22,23,45,43,aq,zy
- 安徽省,安庆,潜山县,30.6296,116.583,23,43,10,aq,qs
- 安徽省,安庆,太湖县,30.454,116.309,23,42,5,aq,th
- 安徽省,安庆,宿松县,30.1513,116.129,23,41,22,aq,ss
- 安徽省,安庆,望江县,30.1238,116.694,23,43,36,aq,wj
- 安徽省,安庆,岳西县,30.8481,116.361,23,42,17,aq,yx
- 安徽省,安庆,桐城,31.0352,116.974,23,44,43,aq,tc
- 安徽省,黄山,市辖区,30.1284,118.168,23,49,31,hs,sxq
- 安徽省,黄山,屯溪区,29.6964,118.315,23,50,7,hs,tx
- 安徽省,黄山,黄山区,30.273,118.141,23,49,24,hs,hs
- 安徽省,黄山,徽州区,29.828,118.337,23,50,12,hs,hz
- 安徽省,黄山,歙县,29.8606,118.414,23,50,29,hs,sx
- 安徽省,黄山,休宁县,29.786,118.183,23,49,34,hs,xnx
- 安徽省,黄山,黟县,29.924,117.939,23,48,36,hs,yx
- 安徽省,黄山,祁门县,29.8544,117.717,23,47,43,hs,qm
- 安徽省,滁州,市辖区,32.3017,118.317,23,50,7,cz,sxq
- 安徽省,滁州,琅琊区,32.2937,118.306,23,50,5,cz,ly
- 安徽省,滁州,南谯区,32.3529,118.171,23,49,31,cz,nj
- 安徽省,滁州,来安县,32.4513,118.437,23,50,36,cz,la
- 安徽省,滁州,全椒县,32.0842,118.273,23,49,55,cz,qj
- 安徽省,滁州,定远县,32.5295,117.699,23,47,39,cz,dy
- 安徽省,滁州,凤阳县,32.8663,117.562,23,47,5,cz,fy
- 安徽省,滁州,天长,32.6893,119.004,23,52,51,cz,tc
- 安徽省,滁州,明光,32.7776,117.991,23,48,48,cz,mg
- 安徽省,阜阳,市辖区,32.89,115.82,23,40,7,fy,sxq
- 安徽省,阜阳,颍州区,32.88,115.81,23,40,5,fy,yz
- 安徽省,阜阳,颍东区,32.91,115.86,23,40,17,fy,yd
- 安徽省,阜阳,颍泉区,32.92,115.81,23,40,5,fy,yq
- 安徽省,阜阳,临泉县,33.07,115.27,23,37,55,fy,lq
- 安徽省,阜阳,太和县,33.16,115.62,23,39,19,fy,th
- 安徽省,阜阳,阜南县,32.66,115.6,23,39,15,fy,fn
- 安徽省,阜阳,颍上县,32.63,116.26,23,41,53,fy,ys
- 安徽省,阜阳,界首,32.63,116.26,23,38,22,fy,js
- 安徽省,宿州,市辖区,33.65,116.97,23,44,43,sz,sxq
- 安徽省,宿州,墉桥区,33.64,116.98,23,44,46,sz,yq
- 安徽省,宿州,砀山县,34.44,116.37,23,42,19,sz,ds
- 安徽省,宿州,萧县,34.41,116.49,23,42,48,sz,xx
- 安徽省,宿州,灵璧县,33.54,117.56,23,47,5,sz,lb
- 安徽省,宿州,泗县,33.54,117.56,23,48,17,sz,sx
- 安徽省,巢湖,市辖区,31.6,117.87,23,48,19,ch,sxq
- 安徽省,巢湖,居巢区,31.6,117.87,23,47,43,ch,jc
- 安徽省,巢湖,庐江县,31.27,117.33,23,46,10,ch,lj
- 安徽省,巢湖,无为县,31.25,117.86,23,48,17,ch,ww
- 安徽省,巢湖,含山县,31.66,118.05,23,49,3,ch,hs
- 安徽省,巢湖,和县,31.66,118.05,23,50,0,ch,hx
- 安徽省,六安,市辖区,31.73,116.52,23,42,55,la,sxq
- 安徽省,六安,金安区,31.75,116.54,23,43,0,la,ja
- 安徽省,六安,裕安区,31.74,116.48,23,42,46,la,ya
- 安徽省,六安,寿县,32.57,116.78,23,43,58,la,sx
- 安徽省,六安,霍邱县,32.35,116.28,23,41,58,la,hq
- 安徽省,六安,舒城县,31.46,116.95,23,44,39,la,sc
- 安徽省,六安,金寨县,31.73,115.93,23,40,34,la,jz
- 安徽省,六安,霍山县,31.39,116.33,23,42,10,la,hs
- 安徽省,毫州,市辖区,33.84,115.78,23,39,58,hz,sxq
- 安徽省,毫州,谯城区,33.88,115.78,23,39,58,hz,qc
- 安徽省,毫州,涡阳县,33.49,116.22,23,41,43,hz,wy
- 安徽省,毫州,蒙城县,33.27,116.56,23,43,5,hz,mc
- 安徽省,毫州,利辛县,33.14,116.21,23,41,41,hz,lx
- 安徽省,池州,市辖区,30.66,117.49,23,46,48,cz,sxq
- 安徽省,池州,贵池县,30.69,117.57,23,47,7,cz,gc
- 安徽省,池州,东至县,30.1,117.03,23,44,58,cz,dz
- 安徽省,池州,石台县,30.21,117.49,23,46,48,cz,st
- 安徽省,池州,青阳县,30.64,117.85,23,48,15,cz,qy
- 安徽省,宣城,市辖区,30.94,118.76,23,51,53,xc,sxq
- 安徽省,宣城,宣州区,30.95,118.76,23,51,53,xc,xz
- 安徽省,宣城,郎溪县,31.13,119.18,23,53,34,xc,lx
- 安徽省,宣城,广德县,30.89,119.42,23,54,31,xc,gd
- 安徽省,宣城,泾县,30.69,118.42,23,50,31,xc,jx
- 安徽省,宣城,绩溪县,30.07,118.58,23,51,10,xc,jx
- 安徽省,宣城,旌德县,30.29,118.54,23,51,0,xc,jd
- 安徽省,宣城,宁国,30.29,118.54,23,52,46,xc,ng
- 福建省,福州,市辖区,26.07,119.3,23,54,3,fz,sxq
- 福建省,福州,鼓楼区,26.08,119.31,23,54,5,fz,gl
- 福建省,福州,台江区,26.05,119.31,23,54,5,fz,tj
- 福建省,福州,仓山区,26.05,119.27,23,53,55,fz,cs
- 福建省,福州,马尾区,25.99,119.46,23,54,41,fz,mw
- 福建省,福州,晋安区,26.08,119.33,23,54,10,fz,ja
- 福建省,福州,闽侯县,26.15,119.13,23,53,22,fz,mh
- 福建省,福州,连江县,26.2,119.54,23,55,0,fz,lj
- 福建省,福州,罗源县,26.49,119.55,23,55,3,fz,ly
- 福建省,福州,闽清县,26.22,118.86,23,52,17,fz,mq
- 福建省,福州,永泰县,25.87,118.93,23,52,34,fz,yt
- 福建省,福州,平潭县,25.5,119.79,23,56,0,fz,pt
- 福建省,福州,福清,25.72,119.38,23,54,22,fz,fq
- 福建省,福州,长乐,25.96,119.52,23,54,55,fz,cl
- 福建省,厦门,市辖区,24.48,118.09,23,49,12,xm,sxq
- 福建省,厦门,思明区,24.45,118.08,23,49,10,xm,sm
- 福建省,厦门,海沧区,24.48,118.03,23,48,58,xm,hc
- 福建省,厦门,湖里区,24.51,118.15,23,49,27,xm,hl
- 福建省,厦门,集美区,24.58,118.1,23,49,15,xm,jm
- 福建省,厦门,同安区,24.72,116.16,23,49,29,xm,ta
- 福建省,厦门,翔安区,24.62,118.25,23,49,51,xm,xa
- 福建省,莆田,市辖区,25.45,119.01,23,52,53,pt,sxq
- 福建省,莆田,城厢区,25.42,119,23,52,51,pt,cx
- 福建省,莆田,涵江区,25.46,119.12,23,53,19,pt,hj
- 福建省,莆田,荔城区,25.43,119.02,23,52,55,pt,lc
- 福建省,莆田,秀屿区,25.43,119.02,23,52,55,pt,xy
- 福建省,莆田,仙游区,25.36,118.69,23,51,36,pt,xy
- 福建省,三明,市辖区,26.26,117.64,23,47,24,sm,sxq
- 福建省,三明,梅列区,26.27,117.65,23,47,27,sm,ml
- 福建省,三明,三元区,26.23,117.61,23,47,17,sm,sy
- 福建省,三明,明溪县,26.36,117.2,23,45,39,sm,mx
- 福建省,三明,清流县,26.18,116.82,23,44,7,sm,ql
- 福建省,三明,宁化县,26.26,116.65,23,43,27,sm,nh
- 福建省,三明,大田县,25.69,117.85,23,48,15,sm,dt
- 福建省,三明,尤溪县,26.17,118.19,23,49,36,sm,yx
- 福建省,三明,沙县,26.4,117.79,23,48,0,sm,sx
- 福建省,三明,将乐县,26.73,117.47,23,46,43,sm,jl
- 福建省,三明,泰宁县,26.9,117.18,23,45,34,sm,tn
- 福建省,三明,建宁县,26.83,116.85,23,44,15,sm,jn
- 福建省,三明,永安,25.94,117.37,23,46,19,sm,ya
- 福建省,泉州,市辖区,24.87,118.68,23,51,34,qz,sxq
- 福建省,泉州,鲤城区,24.91,118.59,23,51,12,qz,lc
- 福建省,泉州,丰泽区,24.89,118.61,23,51,17,qz,fz
- 福建省,泉州,洛江区,24.94,118.67,23,51,31,qz,lj
- 福建省,泉州,泉港区,25.12,118.92,23,52,31,qz,qg
- 福建省,泉州,惠安县,25.03,118.8,23,52,3,qz,ha
- 福建省,泉州,安溪县,25.05,118.19,23,49,36,qz,ax
- 福建省,泉州,永春县,25.32,118.29,23,50,0,qz,yc
- 福建省,泉州,德化县,25.49,118.24,23,49,48,qz,dh
- 福建省,泉州,金门县,24.42,118.23,23,49,46,qz,jm
- 福建省,泉州,石狮,24.73,118.65,23,51,27,qz,ss
- 福建省,泉州,晋江,24.78,118.55,23,51,3,qz,jj
- 福建省,泉州,南安,24.96,118.39,23,50,24,qz,na
- 福建省,漳州,市辖区,24.51,117.65,23,47,27,zz,sxq
- 福建省,漳州,芗城区,24.51,117.65,23,47,27,zz,xc
- 福建省,漳州,龙文区,24.5,117.71,23,47,41,zz,lw
- 福建省,漳州,云霄县,23.96,117.34,23,46,12,zz,yx
- 福建省,漳州,漳浦县,24.12,117.62,23,47,19,zz,zp
- 福建省,漳州,诏安县,23.71,117.17,23,45,31,zz,za
- 福建省,漳州,长泰县,24.63,117.76,23,47,53,zz,ct
- 福建省,漳州,东山县,23.7,117.43,23,46,34,zz,ds
- 福建省,漳州,南靖县,24.51,117.36,23,46,17,zz,nj
- 福建省,漳州,平和县,24.36,117.32,23,46,7,zz,ph
- 福建省,漳州,华安县,25,117.54,23,47,0,zz,ha
- 福建省,漳州,龙海,24.45,117.82,23,48,7,zz,lh
- 福建省,南平,市辖区,26.64,118.18,23,49,34,np,sxq
- 福建省,南平,延平区,26.64,118.18,23,49,34,np,yp
- 福建省,南平,顺昌县,26.79,117.81,23,48,5,np,sc
- 福建省,南平,浦城县,27.92,118.54,23,51,0,np,pc
- 福建省,南平,光泽县,27.54,117.34,23,46,12,np,gz
- 福建省,南平,松溪县,27.53,118.79,23,52,0,np,sx
- 福建省,南平,政和县,27.37,118.86,23,52,17,np,zh
- 福建省,南平,邵武,27.34,117.49,23,46,48,np,sw
- 福建省,南平,武夷山,27.76,118.04,23,49,0,np,wys
- 福建省,南平,建瓯,27.02,118.31,23,50,5,np,jo
- 福建省,南平,建阳,27.33,118.12,23,49,19,np,jy
- 福建省,龙岩,市辖区,25.08,117.02,23,44,55,ly,sxq
- 福建省,龙岩,新罗区,25.1,117.04,23,45,0,ly,xl
- 福建省,龙岩,长汀县,25.83,116.36,23,42,17,ly,ct
- 福建省,龙岩,永定县,24.76,116.82,23,44,7,ly,yd
- 福建省,龙岩,上杭县,25.05,116.42,23,42,31,ly,sh
- 福建省,龙岩,武平县,25.09,116.1,23,41,15,ly,wp
- 福建省,龙岩,连城县,25.71,116.76,23,43,53,ly,lc
- 福建省,龙岩,漳平,25.29,117.42,23,46,31,ly,zp
- 福建省,宁德,市辖区,26.67,119.55,23,55,3,nd,sxq
- 福建省,宁德,蕉城区,26.66,119.53,23,54,58,nd,jc
- 福建省,宁德,霞浦县,26.88,120.01,23,56,53,nd,xp
- 福建省,宁德,古田县,26.58,118.75,23,51,51,nd,gt
- 福建省,宁德,屏南县,26.91,118.99,23,52,48,nd,pn
- 福建省,宁德,寿宁县,27.46,119.51,23,54,53,nd,sn
- 福建省,宁德,周宁县,27.1,119.34,23,54,12,nd,zn
- 福建省,宁德,柘荣县,27.23,119.9,23,56,27,nd,tr
- 福建省,宁德,福安,27.09,119.65,23,55,27,nd,fa
- 福建省,宁德,福鼎,27.32,120.22,23,57,43,nd,fd
- 甘肃省,兰州,市辖区,36.06,103.84,22,52,12,lz,sxq
- 甘肃省,兰州,城关区,36.06,103.83,22,52,10,lz,cg
- 甘肃省,兰州,七里河区,36.07,103.79,22,52,0,lz,qlh
- 甘肃省,兰州,西固区,36.09,103.63,22,51,22,lz,xg
- 甘肃省,兰州,安宁区,36.1,103.72,22,51,43,lz,an
- 甘肃省,兰州,红古区,36.35,102.86,22,48,17,lz,hg
- 甘肃省,兰州,永登县,36.74,103.26,22,49,53,lz,yd
- 甘肃省,兰州,皋兰县,36.33,103.95,22,52,39,lz,gl
- 甘肃省,兰州,榆中县,35.84,104.11,22,53,17,lz,yz
- 甘肃省,嘉峪关,嘉峪关,39.77,98.29,22,30,0,jyg,jyg
- 甘肃省,金昌,市辖区,38.52,102.19,22,45,36,jc,sxq
- 甘肃省,金昌,金川区,38.52,102.19,22,45,36,jc,jc
- 甘肃省,金昌,永昌县,38.52,102.19,22,44,43,jc,yc
- 甘肃省,白银,市辖区,36.54,104.14,22,53,24,by,sxq
- 甘肃省,白银,白银区,36.53,104.17,22,53,31,by,by
- 甘肃省,白银,平川区,36.73,104.83,22,56,10,by,pc
- 甘肃省,白银,靖远区,36.57,104.69,22,55,36,by,jy
- 甘肃省,白银,会宁区,35.69,105.05,22,57,3,by,hn
- 甘肃省,白银,景泰县,37.18,104.07,22,53,7,by,jt
- 甘肃省,天水,市辖区,34.58,105.73,22,59,46,ts,sxq
- 甘肃省,天水,秦城区,34.58,105.69,22,59,36,ts,qc
- 甘肃省,天水,北道区,34.56,105.98,23,0,46,ts,bd
- 甘肃省,天水,清水县,34.75,106.14,23,1,24,ts,qs
- 甘肃省,天水,泰安县,34.86,105.68,22,59,34,ts,ta
- 甘肃省,天水,甘谷县,34.73,105.34,22,58,12,ts,gg
- 甘肃省,天水,武山县,34.72,104.89,22,56,24,ts,ws
- 甘肃省,天水,张家川回族自治县,34.99,106.21,23,1,41,ts,zjchz
- 甘肃省,武威,市辖区,37.93,102.64,22,47,24,ww,sxq
- 甘肃省,武威,凉州区,37.93,102.64,22,47,24,ww,lz
- 甘肃省,武威,民勤县,38.62,103.09,22,49,12,ww,mq
- 甘肃省,武威,古浪县,37.47,102.9,22,48,27,ww,gl
- 甘肃省,武威,天祝藏族自治县,36.97,103.14,22,49,24,ww,tzzz
- 甘肃省,张掖,市辖区,38.93,100.45,22,38,39,zy,sxq
- 甘肃省,张掖,甘州区,38.93,100.48,22,38,46,zy,gz
- 甘肃省,张掖,肃南裕固族自治县,38.84,99.62,22,35,19,zy,snygz
- 甘肃省,张掖,民乐县,38.43,100.82,22,40,7,zy,ml
- 甘肃省,张掖,临泽县,39.15,100.17,22,37,31,zy,lz
- 甘肃省,张掖,高台县,39.38,99.82,22,36,7,zy,gt
- 甘肃省,张掖,山丹县,38.78,101.09,22,41,12,zy,sd
- 甘肃省,平凉,市辖区,35.54,106.67,23,3,31,pl,sxq
- 甘肃省,平凉,崆峒区,35.54,106.68,23,3,34,pl,kt
- 甘肃省,平凉,泾川县,35.33,107.37,23,6,19,pl,jc
- 甘肃省,平凉,灵台县,35.07,107.62,23,7,19,pl,lt
- 甘肃省,平凉,崇信县,35.3,107.04,23,5,0,pl,cx
- 甘肃省,平凉,华亭县,35.22,106.65,23,3,27,pl,ht
- 甘肃省,平凉,庄浪县,35.2,106.04,23,1,0,pl,zl
- 甘肃省,平凉,静宁县,35.52,105.73,22,59,46,pl,jn
- 甘肃省,酒泉,市辖区,39.72,98.5,22,30,51,jq,sxq
- 甘肃省,酒泉,肃州区,39.75,98.51,22,30,53,jq,sz
- 甘肃省,酒泉,金塔县,39.99,98.9,22,32,27,jq,jt
- 甘肃省,酒泉,安西县,40.51,95.78,22,19,58,jq,ax
- 甘肃省,酒泉,肃北蒙古族自治区,39.51,94.88,22,16,22,jq,sbmgz
- 甘肃省,酒泉,阿克塞哈萨克族自治区,39.63,94.34,22,14,12,jq,akshskz
- 甘肃省,酒泉,玉门,40.29,97.05,22,25,3,jq,ym
- 甘肃省,酒泉,敦煌,40.14,94.66,22,15,29,jq,dh
- 甘肃省,庆阳,市辖区,35.71,107.64,23,7,24,qy,sxq
- 甘肃省,庆阳,西峰区,35.73,107.65,23,7,27,qy,xf
- 甘肃省,庆阳,庆城县,36.02,107.88,23,8,22,qy,qc
- 甘肃省,庆阳,环县,36.57,107.31,23,6,5,qy,hx
- 甘肃省,庆阳,华池县,36.46,107.99,23,8,48,qy,hc
- 甘肃省,庆阳,合水县,35.82,108.02,23,8,55,qy,hs
- 甘肃省,庆阳,正宁县,35.49,108.36,23,10,17,qy,zn
- 甘肃省,庆阳,宁县,35.5,107.93,23,8,34,qy,nx
- 甘肃省,庆阳,镇原县,35.68,107.2,23,5,39,qy,zy
- 甘肃省,定西,市辖区,35.58,104.63,22,55,22,dx,sxq
- 甘肃省,定西,安定区,35.58,104.61,22,55,17,dx,ad
- 甘肃省,定西,通渭县,35.21,105.24,22,57,48,dx,tw
- 甘肃省,定西,陇西县,35,104.63,22,55,22,dx,lx
- 甘肃省,定西,渭源县,35.14,104.22,22,53,43,dx,wy
- 甘肃省,定西,临洮县,35.4,103.86,22,52,17,dx,ly
- 甘肃省,定西,漳县,34.85,104.47,22,54,43,dx,zx
- 甘肃省,定西,岷县,34.44,104.04,22,53,0,dx,mx
- 甘肃省,陇南,市辖区,33.4,104.92,22,56,31,ln,sxq
- 甘肃省,陇南,武都区,33.4,104.92,22,56,34,ln,wd
- 甘肃省,陇南,成县,33.75,105.74,22,59,48,ln,cx
- 甘肃省,陇南,文县,32.94,104.68,22,55,34,ln,wx
- 甘肃省,陇南,宕昌县,34.05,104.4,22,54,27,ln,dc
- 甘肃省,陇南,康县,33.33,105.61,22,59,17,ln,kx
- 甘肃省,陇南,西和县,34.01,105.3,22,58,3,ln,xh
- 甘肃省,陇南,礼县,34.19,105.18,22,57,34,ln,lx
- 甘肃省,陇南,徽县,33.77,106.09,23,1,12,ln,hx
- 甘肃省,陇南,两当县,33.77,106.09,23,2,5,ln,ld
- 甘肃省,临夏回族自治州,临夏,35.49,103,22,48,51,lxhz,lx
- 甘肃省,临夏回族自治州,临夏县,35.49,103,22,48,51,lxhz,lx
- 甘肃省,临夏回族自治州,康乐县,35.37,103.71,22,51,41,lxhz,kl
- 甘肃省,临夏回族自治州,永靖县,35.94,103.32,22,50,7,lxhz,yj
- 甘肃省,临夏回族自治州,广河县,35.48,103.57,22,51,7,lxhz,gh
- 甘肃省,临夏回族自治州,和政县,35.42,103.35,22,50,15,lxhz,hz
- 甘肃省,临夏回族自治州,东乡族自治县,35.66,103.39,22,50,24,lxhz,dx
- 甘肃省,临夏回族自治州,积石山保安族东乡族撒拉族自治县,35.72,102.88,22,48,22,lxhz,jssbazdxzslz
- 甘肃省,甘南藏族自治州,合作,35,102.91,22,48,29,gnzz,hz
- 甘肃省,甘南藏族自治州,临潭县,34.69,103.36,22,50,17,gnzz,lt
- 甘肃省,甘南藏族自治州,卓尼县,34.59,103.51,22,50,53,gnzz,zn
- 甘肃省,甘南藏族自治州,舟曲县,33.78,104.37,22,54,19,gnzz,zq
- 甘肃省,甘南藏族自治州,迭部县,34.06,103.22,22,49,43,gnzz,db
- 甘肃省,甘南藏族自治州,玛曲县,34,102.07,22,45,7,gnzz,mq
- 甘肃省,甘南藏族自治州,碌曲县,34.59,102.49,22,46,48,gnzz,lq
- 甘肃省,甘南藏族自治州,夏河县,35.2,102.52,22,46,55,gnzz,xh
- 广东省,广州,市辖区,23.13,113.27,23,29,55,gz,sxq
- 广东省,广州,东山区,23.13,113.27,23,29,55,gz,ds
- 广东省,广州,荔湾区,23.13,113.24,23,29,48,gz,lw
- 广东省,广州,越秀区,23.13,113.27,23,29,55,gz,yx
- 广东省,广州,海珠区,23.08,113.32,23,30,7,gz,hz
- 广东省,广州,天河区,23.13,113.36,23,30,17,gz,th
- 广东省,广州,芳村区,23.07,113.18,23,29,34,gz,fc
- 广东省,广州,白云区,23.16,113.27,23,29,55,gz,by
- 广东省,广州,黄浦区,23.18,113.49,23,30,48,gz,hp
- 广东省,广州,番禺区,22.93,113.39,23,30,24,gz,fy
- 广东省,广州,花都区,23.4,113.22,23,29,43,gz,hd
- 广东省,广州,南沙区,22.78,113.43,23,30,34,gz,ns
- 广东省,广州,萝岗区,23.2,113.49,23,30,48,gz,lg
- 广东省,广州,从化区,23.2,113.49,23,30,48,gz,ch
- 广东省,广州,增城,23.2,113.49,23,31,53,gz,zc
- 广东省,韶光,市辖区,24.81,113.6,23,31,15,sg,sxq
- 广东省,韶光,武江区,24.79,113.59,23,31,12,sg,wj
- 广东省,韶光,浈江区,24.8,113.61,23,31,17,sg,zj
- 广东省,韶光,曲江区,24.68,113.6,23,31,15,sg,qj
- 广东省,韶光,始兴县,24.95,114.06,23,33,5,sg,sx
- 广东省,韶光,仁化县,25.09,113.75,23,31,51,sg,rh
- 广东省,韶光,翁源县,24.35,114.13,23,33,22,sg,wy
- 广东省,韶光,乳源瑶族自治区,24.94,113.43,23,30,34,sg,ryyz
- 广东省,韶光,新丰县,24.06,114.21,23,33,41,sg,xf
- 广东省,韶光,乐昌,24.06,114.21,23,33,41,sg,lc
- 广东省,韶光,南雄,25.12,114.31,23,34,5,sg,nx
- 广东省,深圳,市辖区,22.54,114.06,23,33,5,ss,sxq
- 广东省,深圳,罗湖区,22.55,114.13,23,33,22,ss,lh
- 广东省,深圳,福田区,22.52,114.05,23,33,3,ss,ft
- 广东省,深圳,南山区,22.53,113.93,23,32,34,ss,ns
- 广东省,深圳,宝安区,22.55,113.88,23,32,22,ss,ba
- 广东省,深圳,龙岗区,22.72,114.25,23,33,51,ss,lg
- 广东省,深圳,盐田区,22.55,114.24,23,33,48,ss,yt
- 广东省,珠海,市辖区,22.27,113.58,23,31,10,zh,sxq
- 广东省,珠海,香洲区,22.27,113.54,23,31,0,zh,xz
- 广东省,珠海,斗门区,22.21,113.3,23,30,3,zh,dm
- 广东省,珠海,金湾区,22.15,113.36,23,30,17,zh,jw
- 广东省,汕头,市辖区,23.35,116.68,23,43,34,st,sxq
- 广东省,汕头,龙湖区,23.37,116.72,23,43,43,st,lh
- 广东省,汕头,金平区,23.36,116.7,23,43,39,st,jp
- 广东省,汕头,濠江区,23.29,116.73,23,43,46,st,hj
- 广东省,汕头,潮阳区,23.26,116.6,23,43,15,st,cy
- 广东省,汕头,潮南区,23.25,116.43,23,42,34,st,cn
- 广东省,汕头,澄海区,23.47,116.76,23,43,53,st,ch
- 广东省,汕头,南澳县,23.42,117.02,23,44,55,st,na
- 广东省,佛山,市辖区,23.02,113.12,23,29,19,fs,sxq
- 广东省,佛山,禅城区,23.01,113.12,23,29,19,fs,cc
- 广东省,佛山,南海区,23.03,113.14,23,29,24,fs,nh
- 广东省,佛山,顺德区,22.8,113.29,23,30,0,fs,sd
- 广东省,佛山,三水区,23.16,112.9,23,28,27,fs,ss
- 广东省,佛山,高明区,22.9,112.89,23,28,24,fs,gm
- 广东省,江门,市辖区,22.58,113.08,23,29,10,jm,sxq
- 广东省,江门,蓬江区,22.59,113.08,23,29,10,jm,pj
- 广东省,江门,江海区,22.56,113.11,23,29,17,jm,jh
- 广东省,江门,新会区,22.46,113.03,23,28,58,jm,xh
- 广东省,江门,台山,22.25,112.79,23,28,0,jm,ts
- 广东省,江门,开平,22.38,112.7,23,27,39,jm,kp
- 广东省,江门,鹤山,22.76,112.97,23,28,43,jm,hs
- 广东省,江门,恩平,22.18,112.31,23,26,5,jm,ep
- 广东省,湛江,市辖区,21.27,110.36,23,18,17,zj,sxq
- 广东省,湛江,赤坎区,21.27,110.37,23,18,19,zj,ck
- 广东省,湛江,霞山区,21.19,110.4,23,18,27,zj,xs
- 广东省,湛江,坡头区,21.24,110.46,23,18,41,zj,pt
- 广东省,湛江,麻章区,21.26,110.33,23,18,10,zj,mz
- 广东省,湛江,遂溪县,21.38,110.25,23,17,51,zj,sx
- 广东省,湛江,徐闻县,20.33,110.18,23,17,34,zj,xw
- 广东省,湛江,廉江,21.61,110.29,23,18,0,zj,lj
- 广东省,湛江,雷州,20.91,110.1,23,17,15,zj,lz
- 广东省,湛江,吴川,21.44,110.78,23,19,58,zj,wc
- 广东省,茂名,市辖区,21.66,110.93,23,20,34,mm,sxq
- 广东省,茂名,茂南区,21.64,110.92,23,20,31,mm,mn
- 广东省,茂名,茂港区,21.57,110.98,23,20,46,mm,mg
- 广东省,茂名,电白县,21.68,111.23,23,21,46,mm,db
- 广东省,茂名,高州,21.92,110.85,23,20,15,mm,gz
- 广东省,茂名,化州,21.66,110.64,23,19,24,mm,hz
- 广东省,茂名,信宜,22.35,110.95,23,20,39,mm,xy
- 广东省,肇庆,市辖区,23.05,112.47,23,26,43,zq,sxq
- 广东省,肇庆,端州区,23.05,112.48,23,26,46,zq,dz
- 广东省,肇庆,鼎湖区,23.16,112.57,23,27,7,zq,dh
- 广东省,肇庆,广宁区,23.63,112.44,23,26,36,zq,gn
- 广东省,肇庆,怀集区,23.91,112.19,23,25,36,zq,hj
- 广东省,肇庆,封开县,23.42,111.51,23,22,53,zq,fk
- 广东省,肇庆,德庆县,23.14,111.79,23,24,0,zq,dq
- 广东省,肇庆,高要,23.02,112.46,23,26,41,zq,gy
- 广东省,肇庆,四会,23.33,112.73,23,27,46,zq,sh
- 广东省,惠州,市辖区,23.11,114.42,23,34,31,hz,sxq
- 广东省,惠州,惠城区,23.08,114.38,23,34,22,hz,hc
- 广东省,惠州,惠阳区,22.79,114.46,23,34,41,hz,hy
- 广东省,惠州,博罗县,23.17,114.29,23,34,0,hz,bl
- 广东省,惠州,惠东县,22.98,114.72,23,35,43,hz,hd
- 广东省,惠州,龙门县,23.73,114.26,23,33,53,hz,lm
- 广东省,梅州,市辖区,24.29,116.12,23,41,19,mz,sxq
- 广东省,梅州,梅江区,24.31,116.12,23,41,19,mz,mj
- 广东省,梅州,梅县,24.37,116.19,23,41,36,mz,mx
- 广东省,梅州,大埔县,24.35,116.7,23,43,39,mz,dp
- 广东省,梅州,丰顺县,23.74,116.18,23,41,34,mz,fs
- 广东省,梅州,五华县,23.93,115.78,23,39,58,mz,wh
- 广东省,梅州,平远县,24.57,115.89,23,40,24,mz,py
- 广东省,梅州,蕉岭县,24.66,116.17,23,41,31,mz,jl
- 广东省,梅州,兴宁,24.14,115.73,23,39,46,mz,xn
- 广东省,汕尾,市辖区,22.79,115.38,23,38,22,sw,sxq
- 广东省,汕尾,城区,22.78,115.37,23,38,19,sw,cq
- 广东省,汕尾,海丰县,22.97,115.32,23,38,7,sw,hf
- 广东省,汕尾,陆河县,23.3,115.66,23,39,29,sw,lh
- 广东省,汕尾,陆丰,22.95,115.65,23,39,27,sw,lf
- 广东省,河源,市辖区,23.74,114.7,23,35,39,hy,sxq
- 广东省,河源,源城区,23.73,114.7,23,35,39,hy,yc
- 广东省,河源,紫金县,23.63,115.18,23,37,34,hy,zj
- 广东省,河源,龙川县,24.1,115.26,23,37,53,hy,lc
- 广东省,河源,连平县,24.37,114.49,23,34,48,hy,lp
- 广东省,河源,和平县,24.44,114.94,23,36,36,hy,hp
- 广东省,河源,东源县,23.79,114.75,23,35,51,hy,dy
- 广东省,阳江,市辖区,21.86,111.98,23,24,46,yj,sxq
- 广东省,阳江,江城区,21.86,111.96,23,24,41,yj,jc
- 广东省,阳江,阳西县,21.75,111.62,23,23,19,yj,yx
- 广东省,阳江,阳东县,21.96,112.06,23,25,5,yj,yd
- 广东省,阳江,阳春,22.17,111.79,23,24,0,yj,yc
- 广东省,清远,市辖区,23.68,113.06,23,29,5,qy,sxq
- 广东省,清远,清城区,23.7,113.06,23,29,5,qy,qc
- 广东省,清远,佛冈县,23.88,113.53,23,30,58,qy,fg
- 广东省,清远,阳山县,24.46,112.64,23,27,24,qy,ys
- 广东省,清远,连山壮族瑶族自治县,24.57,112.09,23,25,12,qy,lszzyz
- 广东省,清远,连南瑶族自治县,24.73,112.29,23,26,0,qy,lnyz
- 广东省,清远,清新县,23.89,112.88,23,28,22,qy,qx
- 广东省,清远,英德,24.19,113.42,23,30,31,qy,yd
- 广东省,清远,连州,24.78,112.38,23,26,22,qy,lz
- 广东省,东莞,东莞,23.02,113.75,23,31,51,qy,dg
- 广东省,中山,中山,22.52,113.39,23,30,24,zs,zs
- 广东省,潮州,市辖区,23.66,116.62,23,43,19,cz,sxq
- 广东省,潮州,湘桥区,23.67,116.63,23,43,22,cz,xq
- 广东省,潮州,潮安县,23.72,116.63,23,43,22,cz,ca
- 广东省,潮州,饶平县,23.66,117,23,44,51,cz,rp
- 广东省,揭阳,市辖区,23.55,116.37,23,42,19,jy,sxq
- 广东省,揭阳,榕城区,23.52,116.37,23,42,19,jy,lc
- 广东省,揭阳,揭东县,23.6,116.36,23,42,17,jy,jd
- 广东省,揭阳,揭西县,23.43,115.84,23,40,12,jy,jx
- 广东省,揭阳,惠来县,23.03,116.3,23,42,3,jy,hl
- 广东省,揭阳,普宁,23.3,116.17,23,41,31,jy,pn
- 广东省,云浮,市辖区,22.91,112.05,23,25,3,yf,sxq
- 广东省,云浮,云城区,22.93,112.05,23,25,3,yf,yc
- 广东省,云浮,新兴县,22.7,112.23,23,25,46,yf,xx
- 广东省,云浮,郁南县,23.23,111.54,23,23,0,yf,yn
- 广东省,云浮,云安县,22.84,111.96,23,24,41,yf,ya
- 广东省,云浮,罗定,22.84,111.96,23,24,41,yf,ld
- 广西省,南宁,市辖区,22.82,108.37,23,10,19,nn,sxq
- 广西省,南宁,兴宁区,22.85,108.37,23,10,19,nn,xn
- 广西省,南宁,青秀区,22.79,108.5,23,10,51,nn,qx
- 广西省,南宁,江南区,22.78,108.28,23,9,58,nn,jn
- 广西省,南宁,西乡塘区,22.83,108.31,23,10,5,nn,xxt
- 广西省,南宁,良庆区,22.76,108.32,23,10,7,nn,lq
- 广西省,南宁,邕宁区,22.76,108.49,23,10,48,nn,yn
- 广西省,南宁,武鸣县,23.16,108.28,23,9,58,nn,wm
- 广西省,南宁,隆安县,23.17,107.7,23,7,39,nn,la
- 广西省,南宁,马山县,23.71,108.18,23,9,34,nn,ms
- 广西省,南宁,上林县,23.43,108.6,23,11,15,nn,sl
- 广西省,南宁,宾阳县,23.21,108.81,23,12,5,nn,by
- 广西省,南宁,横县,22.69,109.26,23,13,53,nn,hx
- 广西省,柳州,市辖区,24.33,109.42,23,14,31,lz,sxq
- 广西省,柳州,城中区,23.34,109.45,23,14,39,lz,cz
- 广西省,柳州,鱼峰区,24.28,109.45,23,14,39,lz,yf
- 广西省,柳州,柳南区,24.33,109.39,23,14,24,lz,lnyz
- 广西省,柳州,柳北区,24.36,109.4,23,14,27,lz,lb
- 广西省,柳州,柳江县,24.25,109.33,23,14,10,lz,lj
- 广西省,柳州,柳城县,24.65,109.25,23,13,51,lz,lc
- 广西省,柳州,鹿寨县,24.47,109.75,23,15,51,lz,lz
- 广西省,柳州,融安县,25.22,109.4,23,14,27,lz,ra
- 广西省,柳州,融水苗族自治县,25.07,109.25,23,13,51,lz,rsmz
- 广西省,柳州,三江侗族自治县,25.78,109.61,23,15,17,lz,sjdz
- 广西省,桂林,市辖区,25.28,110.3,23,18,3,gl,sxq
- 广西省,桂林,秀峰区,25.28,110.29,23,18,0,gl,xf
- 广西省,桂林,叠彩区,25.31,110.3,23,18,3,gl,dc
- 广西省,桂林,象山区,25.26,110.28,23,17,58,gl,xs
- 广西省,桂林,七星区,25.25,110.32,23,18,7,gl,qx
- 广西省,桂林,雁山区,25.06,110.31,23,18,5,gl,ys
- 广西省,桂林,阳朔县,24.78,110.5,23,18,51,gl,ys
- 广西省,桂林,临桂县,25.24,110.21,23,17,41,gl,lg
- 广西省,桂林,灵川县,25.41,110.32,23,18,7,gl,lc
- 广西省,桂林,全州县,25.93,111.07,23,21,7,gl,qz
- 广西省,桂林,兴安县,25.61,110.67,23,19,31,gl,xa
- 广西省,桂林,永福县,24.98,109.98,23,16,46,gl,yf
- 广西省,桂林,灌阳县,25.49,111.16,23,21,29,gl,gy
- 广西省,桂林,龙胜各族自治区,25.8,110.01,23,16,53,gl,lsgz
- 广西省,桂林,资源县,26.04,110.65,23,19,27,gl,zy
- 广西省,桂林,平乐县,24.63,110.64,23,19,24,gl,pl
- 广西省,桂林,荔浦县,24.49,110.4,23,18,27,gl,lp
- 广西省,桂林,恭城瑶族自治县,24.83,110.83,23,20,10,gl,gcyz
- 广西省,梧州,市辖区,23.48,111.28,23,21,58,wz,sxq
- 广西省,梧州,万秀区,23.47,111.32,23,22,7,wz,wx
- 广西省,梧州,蝶山区,23.54,111.31,23,22,5,wz,ds
- 广西省,梧州,长洲区,23.49,111.27,23,21,55,wz,cc
- 广西省,梧州,苍梧县,23.42,111.25,23,21,51,wz,cw
- 广西省,梧州,藤县,23.37,110.91,23,20,29,wz,tx
- 广西省,梧州,蒙山县,24.19,110.52,23,18,55,wz,ms
- 广西省,梧州,岑溪,22.92,111,23,20,51,wz,cx
- 广西省,北海,市辖区,21.48,109.12,23,13,19,bh,sxq
- 广西省,北海,海城区,21.48,109.12,23,13,19,bh,hc
- 广西省,北海,银海区,21.45,109.14,23,13,24,bh,yh
- 广西省,北海,铁山港区,21.53,109.42,23,14,31,bh,tsg
- 广西省,北海,合浦县,21.66,109.21,23,13,41,bh,hp
- 广西省,防城港,市辖区,21.69,108.36,23,10,17,fcg,sxq
- 广西省,防城港,港口区,21.64,108.38,23,10,22,fcg,gk
- 广西省,防城港,防城区,21.77,108.35,23,10,15,fcg,fc
- 广西省,防城港,上思县,22.15,107.98,23,8,46,fcg,ss
- 广西省,防城港,东兴,21.55,107.97,23,8,43,fcg,dx
- 广西省,钦州,市辖区,21.98,108.66,23,11,29,qz,sxq
- 广西省,钦州,钦南区,21.94,108.66,23,11,29,qz,qn
- 广西省,钦州,钦北区,22.17,108.58,23,11,10,qz,qb
- 广西省,钦州,灵山县,22.42,109.29,23,14,0,qz,lsgz
- 广西省,钦州,浦北县,22.27,109.56,23,15,5,qz,pb
- 广西省,贵港,市辖区,23.11,109.6,23,15,15,gg,sxq
- 广西省,贵港,港北区,23.11,109.57,23,15,7,gg,gb
- 广西省,贵港,港南区,23.07,109.6,23,15,15,gg,gn
- 广西省,贵港,覃塘区,23.13,109.45,23,14,39,gg,tt
- 广西省,贵港,平南县,23.54,110.39,23,18,24,gg,pn
- 广西省,贵港,桂平,23.39,110.08,23,17,10,gg,gp
- 广西省,玉林,市辖区,22.65,110.18,23,17,34,yl,sxq
- 广西省,玉林,玉州区,22.63,110.15,23,17,27,yl,yz
- 广西省,玉林,容县,22.86,110.55,23,19,3,yl,rx
- 广西省,玉林,陆川县,22.32,110.27,23,17,55,yl,lc
- 广西省,玉林,博白县,22.27,109.98,23,16,46,yl,bb
- 广西省,玉林,兴业县,22.74,109.88,23,16,22,yl,xy
- 广西省,玉林,北流,22.71,110.35,23,18,15,yl,bl
- 广西省,百色,市辖区,23.9,106.62,23,3,19,bs,sxq
- 广西省,百色,右江区,23.9,106.62,23,3,19,bs,yj
- 广西省,百色,田阳县,23.74,106.92,23,4,31,bs,ty
- 广西省,百色,田东县,23.6,107.13,23,5,22,bs,td
- 广西省,百色,平果县,23.33,107.59,23,7,12,bs,pg
- 广西省,百色,德保县,23.32,106.62,23,3,19,bs,db
- 广西省,百色,靖西县,23.13,106.42,23,2,31,bs,jx
- 广西省,百色,那坡县,23.39,105.84,23,0,12,bs,np
- 广西省,百色,凌云县,24.35,106.56,23,3,5,bs,ly
- 广西省,百色,乐业县,24.79,106.56,23,3,5,bs,ly
- 广西省,百色,田林县,24.29,106.23,23,1,46,bs,tl
- 广西省,百色,西林县,24.49,105.09,22,57,12,bs,xl
- 广西省,百色,隆林各族自治县,24.77,105.34,22,58,12,bs,llgz
- 广西省,贺州,市辖区,24.4,111.57,23,23,7,hz,sxq
- 广西省,贺州,八步区,24.41,111.55,23,23,3,hz,bb
- 广西省,贺州,昭平县,24.17,110.81,23,20,5,hz,zp
- 广西省,贺州,钟山县,24.53,111.3,23,22,3,hz,zs
- 广西省,贺州,富川瑶族自治县,24.81,111.28,23,21,58,hz,fcyz
- 广西省,河池,市辖区,24.69,108.09,23,9,12,hc,sxq
- 广西省,河池,金城江区,24.69,108.04,23,9,0,hc,jcj
- 广西省,河池,南丹县,24.98,107.54,23,7,0,hc,nd
- 广西省,河池,天峨县,25,107.17,23,5,31,hc,te
- 广西省,河池,凤山县,24.55,107.04,23,5,0,hc,fs
- 广西省,河池,东兰县,24.51,107.37,23,6,19,hc,dl
- 广西省,河池,罗城仫佬族自治县,24.78,108.91,23,12,29,hc,lcmlz
- 广西省,河池,环江毛南族自治县,24.82,108.26,23,9,53,hc,hjmmz
- 广西省,河池,巴马瑶族自治县,24.14,107.26,23,5,53,hc,bmyz
- 广西省,河池,都安瑶族自治县,23.93,108.11,23,9,17,hc,dayz
- 广西省,河池,大化瑶族自治县,23.74,108,23,8,51,hc,dhyz
- 广西省,河池,宜州,24.48,108.64,23,11,24,hc,yz
- 广西省,来宾,市辖区,23.75,109.22,23,13,43,lb,sxq
- 广西省,来宾,兴宾区,23.73,109.24,23,13,48,lb,xb
- 广西省,来宾,忻城县,24.07,108.67,23,11,31,lb,xc
- 广西省,来宾,象州县,23.97,109.71,23,15,41,lb,xz
- 广西省,来宾,武宣县,23.59,109.66,23,15,29,lb,wx
- 广西省,来宾,金秀瑶族自治县,24.13,110.19,23,17,36,lb,jxyz
- 广西省,来宾,合山,23.81,108.89,23,12,24,lb,hs
- 广西省,崇左,市辖区,22.38,107.37,23,6,19,cz,sxq
- 广西省,崇左,江洲区,22.41,107.35,23,6,15,cz,jz
- 广西省,崇左,扶绥县,22.63,107.9,23,8,27,cz,fs
- 广西省,崇左,宁明县,22.14,107.08,23,5,10,cz,nm
- 广西省,崇左,龙州县,22.34,106.85,23,4,15,cz,lz
- 广西省,崇左,大新县,22.83,107.2,23,5,39,cz,dx
- 广西省,崇左,天等县,23.08,107.14,23,5,24,cz,td
- 广西省,崇左,凭祥,22.09,106.77,23,3,55,cz,px
- 贵州省,贵阳,市辖区,26.64,106.62,23,3,19,gy,sxq
- 贵州省,贵阳,南明区,26.57,106.71,23,3,41,gy,nm
- 贵州省,贵阳,云岩区,26.6,106.73,23,3,46,gy,yy
- 贵州省,贵阳,花溪区,26.45,106.64,23,3,24,gy,hx
- 贵州省,贵阳,乌当区,26.63,106.75,23,3,51,gy,wd
- 贵州省,贵阳,白云区,26.68,106.62,23,3,19,gy,by
- 贵州省,贵阳,小河区,26.49,106.7,23,3,39,gy,xh
- 贵州省,贵阳,开阳县,27.06,106.97,23,4,43,gy,ky
- 贵州省,贵阳,息烽县,27.09,106.74,23,3,48,gy,xf
- 贵州省,贵阳,修文县,26.84,106.59,23,3,12,gy,xw
- 贵州省,贵阳,清镇,26.56,106.47,23,2,43,gy,qz
- 贵州省,六盘水,钟山区,26.58,104.85,22,56,15,lps,zs
- 贵州省,六盘水,六枝特区,26.21,105.48,22,58,46,lps,lz
- 贵州省,六盘水,水城县,26.55,104.96,22,56,41,lps,sc
- 贵州省,六盘水,盘县,25.71,104.47,22,54,43,lps,px
- 贵州省,遵义,市辖区,27.72,106.93,23,4,34,zy,sxq
- 贵州省,遵义,红花岗区,27.64,106.89,23,4,24,zy,hhg
- 贵州省,遵义,汇川区,27.75,106.93,23,4,34,zy,hc
- 贵州省,遵义,遵义县,27.53,106.83,23,4,10,zy,zy
- 贵州省,遵义,桐梓县,28.13,106.83,23,4,10,zy,tz
- 贵州省,遵义,绥阳县,27.95,107.19,23,5,36,zy,sy
- 贵州省,遵义,正安县,28.55,107.44,23,6,36,zy,za
- 贵州省,遵义,道真仡佬族苗族自治县,28.87,107.61,23,7,17,zy,dzglzmz
- 贵州省,遵义,务川仡佬族苗族自治县,28.56,107.9,23,8,27,zy,wcglzmz
- 贵州省,遵义,凤冈县,27.95,107.72,23,7,43,zy,fg
- 贵州省,遵义,湄潭县,27.75,107.47,23,6,43,zy,mt
- 贵州省,遵义,余庆县,27.23,107.89,23,8,24,zy,yq
- 贵州省,遵义,习水县,28.33,106.2,23,1,39,zy,xs
- 贵州省,遵义,赤水,28.59,105.7,22,59,39,zy,cs
- 贵州省,遵义,仁怀,27.79,106.4,23,2,27,zy,rh
- 贵州省,安顺,市辖区,26.25,105.95,23,0,39,as,sxq
- 贵州省,安顺,西秀区,26.24,105.97,23,0,43,as,xx
- 贵州省,安顺,平坝县,26.41,106.26,23,1,43,as,pb
- 贵州省,安顺,普定县,26.3,105.74,22,59,48,as,pd
- 贵州省,安顺,镇宁布依族苗族自治县,26.06,105.77,22,59,55,as,znbyzmz
- 贵州省,安顺,关岭布依族苗族自治县,25.94,105.62,22,59,19,as,glbyzmz
- 贵州省,安顺,紫云苗族布依族自治县,25.75,106.08,23,1,10,as,zymzbyz
- 贵州省,铜仁地区,铜仁,27.69,109.18,23,13,34,tr,tr
- 贵州省,铜仁地区,江口县,27.7,108.84,23,12,12,tr,jk
- 贵州省,铜仁地区,玉屏侗族自治县,27.24,108.92,23,12,31,tr,ypdz
- 贵州省,铜仁地区,石阡县,27.51,108.22,23,9,43,tr,sq
- 贵州省,铜仁地区,思南县,27.94,108.26,23,9,53,tr,sn
- 贵州省,铜仁地区,印江土家族苗族自治县,27.99,108.41,23,10,29,tr,yjtjzmz
- 贵州省,铜仁地区,德江县,28.26,108.12,23,9,19,tr,dj
- 贵州省,铜仁地区,沿河土家族自治县,28.56,108.5,23,10,51,tr,yhtjz
- 贵州省,铜仁地区,松桃苗族自治县,28.17,109.21,23,13,41,tr,stmz
- 贵州省,铜仁地区,万山特区,27.52,109.21,23,13,41,tr,ws
- 贵州省,黔西南布依族苗族自治州,兴义,25.09,104.9,22,56,27,qxnbyzmz,xy
- 贵州省,黔西南布依族苗族自治州,兴仁县,25.44,105.19,22,57,36,qxnbyzmz,xr
- 贵州省,黔西南布依族苗族自治州,普安县,25.78,104.95,22,56,39,qxnbyzmz,pa
- 贵州省,黔西南布依族苗族自治州,晴隆县,25.83,105.22,22,57,43,qxnbyzmz,ql
- 贵州省,黔西南布依族苗族自治州,贞丰县,25.39,105.65,22,59,27,qxnbyzmz,zf
- 贵州省,黔西南布依族苗族自治州,望谟县,25.17,106.09,23,1,12,qxnbyzmz,wm
- 贵州省,黔西南布依族苗族自治州,册亨县,24.98,105.81,23,0,5,qxnbyzmz,ch
- 贵州省,黔西南布依族苗族自治州,安龙县,25.1,105.45,22,58,39,qxnbyzmz,al
- 贵州省,毕节地区,毕节,27.29,105.3,22,58,3,bj,bj
- 贵州省,毕节地区,大方县,27.14,105.61,22,59,17,bj,df
- 贵州省,毕节地区,黔西县,27.01,106.03,23,0,58,bj,qx
- 贵州省,毕节地区,金沙县,27.46,106.22,23,1,43,bj,js
- 贵州省,毕节地区,织金县,26.66,105.77,22,59,55,bj,zj
- 贵州省,毕节地区,纳雍县,26.78,105.39,22,58,24,bj,ny
- 贵州省,毕节地区,威宁彝族回族苗族自治县,26.86,104.29,22,54,0,bj,wnyzhzmz
- 贵州省,毕节地区,赫章县,27.12,104.73,22,55,46,bj,hz
- 贵州省,黔东南苗族侗族自治州,凯里,26.57,107.98,23,8,46,qdnmzdz,kl
- 贵州省,黔东南苗族侗族自治州,黄平县,26.9,107.92,23,8,31,qdnmzdz,hp
- 贵州省,黔东南苗族侗族自治州,施秉县,27.03,108.13,23,9,22,qdnmzdz,sb
- 贵州省,黔东南苗族侗族自治州,三穗县,26.96,108.68,23,11,34,qdnmzdz,sh
- 贵州省,黔东南苗族侗族自治州,镇远县,27.05,108.43,23,10,34,qdnmzdz,zy
- 贵州省,黔东南苗族侗族自治州,岑巩县,27.17,108.82,23,12,7,qdnmzdz,cg
- 贵州省,黔东南苗族侗族自治州,天柱县,26.91,109.21,23,13,41,qdnmzdz,tz
- 贵州省,黔东南苗族侗族自治州,锦屏县,26.67,109.19,23,13,36,qdnmzdz,jp
- 贵州省,黔东南苗族侗族自治州,剑河县,26.73,108.44,23,10,36,qdnmzdz,jh
- 贵州省,黔东南苗族侗族自治州,台江县,26.67,108.32,23,10,7,qdnmzdz,tj
- 贵州省,黔东南苗族侗族自治州,黎平县,25.93,108.52,23,10,55,qdnmzdz,lp
- 贵州省,黔东南苗族侗族自治州,榕江县,25.93,108.52,23,10,55,qdnmzdz,lj
- 贵州省,黔东南苗族侗族自治州,从江县,25.76,108.9,23,12,27,qdnmzdz,cj
- 贵州省,黔东南苗族侗族自治州,雷山县,26.38,108.08,23,9,10,qdnmzdz,ls
- 贵州省,黔东南苗族侗族自治州,麻江县,26.49,107.59,23,7,12,qdnmzdz,mj
- 贵州省,黔东南苗族侗族自治州,丹寨县,26.2,107.79,23,8,0,qdnmzdz,dz
- 贵州省,黔南布依族苗族自治州,都匀,26.26,107.52,23,6,55,qdnmzdz,dy
- 贵州省,黔南布依族苗族自治州,福泉,26.69,107.52,23,6,55,qdnmzdz,fq
- 贵州省,黔南布依族苗族自治州,荔波县,26.58,107.24,23,5,48,qdnmzdz,lb
- 贵州省,黔南布依族苗族自治州,贵定县,26.58,107.24,23,5,48,qdnmzdz,gd
- 贵州省,黔南布依族苗族自治州,瓮安县,27.08,107.47,23,6,43,qdnmzdz,wa
- 贵州省,黔南布依族苗族自治州,独山县,25.82,107.55,23,7,3,qdnmzdz,ds
- 贵州省,黔南布依族苗族自治州,平塘县,25.82,107.32,23,6,7,qdnmzdz,pt
- 贵州省,黔南布依族苗族自治州,罗甸县,25.43,106.75,23,3,51,qdnmzdz,ld
- 贵州省,黔南布依族苗族自治州,长顺县,26.02,106.45,23,2,39,qdnmzdz,cs
- 贵州省,黔南布依族苗族自治州,龙里县,26.45,106.98,23,4,46,qdnmzdz,ll
- 贵州省,黔南布依族苗族自治州,惠水县,26.13,106.66,23,3,29,qdnmzdz,hs
- 贵州省,黔南布依族苗族自治州,三都水族自治县,25.99,107.88,23,8,22,qdnmzdz,sdsz
- 海南省,海口,市辖区,20.04,110.2,23,17,39,hk,sxq
- 海南省,海口,秀英区,20.01,110.29,23,18,0,hk,xy
- 海南省,海口,龙华区,20.03,110.33,23,18,10,hk,lh
- 海南省,海口,琼山区,20,110.35,23,18,15,hk,qs
- 海南省,海口,美兰区,20.03,110.37,23,18,19,hk,ml
- 海南省,三亚,市辖区,18.25,109.51,23,14,53,sy,sxq
- 海南省,三亚,海棠区,18.25,109.51,23,14,53,sy,ht
- 海南省,三亚,吉阳区,18.25,109.51,23,14,53,sy,jy
- 海南省,三亚,天涯区,18.25,109.51,23,14,53,sy,ty
- 海南省,三亚,崖州区,18.25,109.51,23,14,53,sy,yz
- 海南省,省直辖县级行政单位,五指山,18.78,109.52,23,14,55,szx,wzs
- 海南省,省直辖县级行政单位,琼海,19.21,110.41,23,18,29,szx,qh
- 海南省,省直辖县级行政单位,儋州,19.52,109.58,23,15,10,szx,dz
- 海南省,省直辖县级行政单位,文昌,19.54,110.8,23,20,3,szx,wc
- 海南省,省直辖县级行政单位,万宁,20.01,110.34,23,18,12,szx,wn
- 海南省,省直辖县级行政单位,东方,19.11,108.67,23,11,31,szx,df
- 海南省,省直辖县级行政单位,定安县,19.68,110.36,23,18,17,szx,ad
- 海南省,省直辖县级行政单位,屯昌县,19.35,110.11,23,17,17,szx,tc
- 海南省,省直辖县级行政单位,澄迈县,19.74,110.01,23,16,53,szx,cm
- 海南省,省直辖县级行政单位,临高县,19.91,109.69,23,15,36,szx,lg
- 海南省,省直辖县级行政单位,白沙黎族自治县,19.23,109.45,23,14,39,szx,bslz
- 海南省,省直辖县级行政单位,昌江黎族自治县,19.3,109.06,23,13,5,szx,cjlz
- 海南省,省直辖县级行政单位,乐东黎族自治县,18.75,109.17,23,13,31,szx,ldlz
- 海南省,省直辖县级行政单位,陵水黎族自治县,18.5,110.04,23,17,0,szx,lslz
- 海南省,省直辖县级行政单位,保亭黎族苗族自治县,18.64,109.7,23,15,39,szx,btlzmz
- 海南省,省直辖县级行政单位,琼中黎族苗族自治县,19.03,109.84,23,16,12,szx,qzlzmz
- 海南省,省直辖县级行政单位,西沙群岛,16.37,111.7,23,23,39,szx,xsqd
- 海南省,省直辖县级行政单位,南沙群岛,10.65,114.84,23,36,12,szx,nsqd
- 海南省,省直辖县级行政单位,中沙群岛岛礁及其海域,15.87,114.36,23,34,17,szx,zsqd
- 河北省,石家庄,市辖区,38.26,114.19,23,33,36,sjz,sxq
- 河北省,石家庄,长安区,34.16,108.91,23,12,29,sjz,cn
- 河北省,石家庄,桥东区,38.06,114.51,23,34,53,sjz,qd
- 河北省,石家庄,桥西区,38,114.46,23,34,41,sjz,qx
- 河北省,石家庄,新华区,38.05,114.46,23,34,41,sjz,xh
- 河北省,石家庄,井陉矿区,38.07,114.07,23,33,7,sjz,jxkq
- 河北省,石家庄,裕华区,38.01,114.54,23,35,0,sjz,yh
- 河北省,石家庄,井陉县,38.03,114.15,23,33,27,sjz,jx
- 河北省,石家庄,正定县,38.15,114.57,23,35,7,sjz,zd
- 河北省,石家庄,栾城县,37.9,114.63,23,35,22,sjz,lc
- 河北省,石家庄,行唐县,38.44,114.55,23,35,3,sjz,xt
- 河北省,石家庄,灵寿县,38.31,114.38,23,34,22,sjz,ls
- 河北省,石家庄,高邑县,37.61,114.61,23,35,17,sjz,gy
- 河北省,石家庄,深泽县,38.18,115.21,23,37,41,sjz,sz
- 河北省,石家庄,赞皇县,37.67,114.39,23,34,24,sjz,zh
- 河北省,石家庄,无极县,38.18,114.98,23,36,46,sjz,wj
- 河北省,石家庄,平山县,38.26,114.19,23,33,36,sjz,ps
- 河北省,石家庄,元氏县,37.77,114.53,23,34,58,sjz,ys
- 河北省,石家庄,赵县,37.76,114.78,23,35,58,sjz,zx
- 河北省,石家庄,辛集,37.92,115.29,23,38,0,sjz,xj
- 河北省,石家庄,藁城,38.02,114.85,23,36,15,sjz,gc
- 河北省,石家庄,晋州,38.03,115.05,23,37,3,sjz,jz
- 河北省,石家庄,新乐,38.34,114.68,23,35,34,sjz,xl
- 河北省,石家庄,鹿泉,38.09,114.32,23,34,7,sjz,lq
- 河北省,唐山,市辖区,39.63,118.18,23,49,34,ts,sxq
- 河北省,唐山,路南区,39.63,118.15,23,49,27,ts,ln
- 河北省,唐山,路北区,39.62,118.2,23,49,39,ts,lb
- 河北省,唐山,古治区,39.72,118.46,23,50,41,ts,gz
- 河北省,唐山,开平区,39.67,118.26,23,49,53,ts,kp
- 河北省,唐山,丰南区,39.58,118.09,23,49,12,ts,fn
- 河北省,唐山,丰润区,39.83,118.16,23,49,29,ts,fr
- 河北省,唐山,滦县,40.36,118.31,23,50,5,ts,lx
- 河北省,唐山,滦南县,39.5,118.67,23,51,31,ts,ln
- 河北省,唐山,乐亭县,39.43,118.91,23,52,29,ts,lt
- 河北省,唐山,迁西县,40.14,118.32,23,50,7,ts,qx
- 河北省,唐山,玉田县,39.9,117.74,23,47,48,ts,yt
- 河北省,唐山,唐海县,39.27,118.42,23,50,31,ts,th
- 河北省,唐山,遵化,39.27,118.42,23,50,31,ts,zh
- 河北省,唐山,迁安,40,118.7,23,51,39,ts,qa
- 河北省,秦皇岛,市辖区,39.93,119.6,23,55,15,qhd,sxq
- 河北省,秦皇岛,海港区,39.93,119.61,23,55,17,qhd,hg
- 河北省,秦皇岛,山海关区,39.98,119.78,23,55,58,qhd,shg
- 河北省,秦皇岛,北戴河区,39.84,119.49,23,54,48,qhd,bdh
- 河北省,秦皇岛,青龙满族自治县,40.41,118.95,23,52,39,qhd,qlmz
- 河北省,秦皇岛,昌黎县,39.71,119.16,23,53,29,qhd,lc
- 河北省,秦皇岛,抚宁县,39.88,119.24,23,53,48,qhd,fn
- 河北省,秦皇岛,卢龙县,39.89,118.89,23,52,24,qhd,ll
- 河北省,邯郸,市辖区,36.63,114.54,23,35,0,hd,sxq
- 河北省,邯郸,邯山区,36.6,114.49,23,34,48,hd,hs
- 河北省,邯郸,丛台区,36.62,114.5,23,34,51,hd,ct
- 河北省,邯郸,复兴区,36.62,114.47,23,34,43,hd,fx
- 河北省,邯郸,峰峰矿区,36.42,114.21,23,33,41,hd,ffkq
- 河北省,邯郸,邯郸县,36.59,114.53,23,34,58,hd,hd
- 河北省,邯郸,临漳县,36.33,114.62,23,35,19,hd,lz
- 河北省,邯郸,成安县,36.44,114.67,23,35,31,hd,ca
- 河北省,邯郸,大名县,36.29,115.15,23,37,27,hd,dm
- 河北省,邯郸,涉县,36.78,114.95,23,36,39,hd,sx
- 河北省,邯郸,磁县,36.38,114.39,23,34,24,hd,cx
- 河北省,邯郸,肥乡县,36.55,114.8,23,36,3,hd,fx
- 河北省,邯郸,永年县,36.78,114.49,23,34,48,hd,yn
- 河北省,邯郸,邱县,36.29,114.59,23,35,12,hd,qx
- 河北省,邯郸,鸡泽县,36.92,114.88,23,36,22,hd,jz
- 河北省,邯郸,广平县,36.48,114.95,23,36,39,hd,gp
- 河北省,邯郸,馆陶县,36.54,115.31,23,38,5,hd,gt
- 河北省,邯郸,魏县,36.35,114.94,23,36,36,hd,wx
- 河北省,邯郸,曲周县,36.78,114.95,23,36,39,hd,qz
- 河北省,邯郸,武安,36.7,114.21,23,33,41,hd,wa
- 河北省,邢台,市辖区,37.07,114.51,23,34,53,xt,sxq
- 河北省,邢台,桥东区,37.07,114.51,23,34,53,xt,qd
- 河北省,邢台,桥西区,37.06,114.47,23,34,43,xt,qx
- 河北省,邢台,邢台县,37.09,114.55,23,35,3,xt,xt
- 河北省,邢台,临城县,37.44,114.5,23,34,51,xt,lc
- 河北省,邢台,内丘县,37.29,114.51,23,34,53,xt,nq
- 河北省,邢台,柏乡县,37.48,114.69,23,35,36,xt,bx
- 河北省,邢台,隆尧县,37.35,114.77,23,35,55,xt,ly
- 河北省,邢台,任县,37.12,114.67,23,35,31,xt,rx
- 河北省,邢台,南和县,37.12,114.67,23,35,31,xt,nh
- 河北省,邢台,宁普县,37.62,114.92,23,36,31,xt,np
- 河北省,邢台,巨鹿县,37.62,114.92,23,36,31,xt,jl
- 河北省,邢台,新河县,37.53,115.24,23,37,48,xt,xh
- 河北省,邢台,广宗县,37.07,115.14,23,37,24,xt,gz
- 河北省,邢台,平乡县,37.06,115.03,23,36,58,xt,px
- 河北省,邢台,威县,36.98,115.27,23,37,55,xt,wx
- 河北省,邢台,清河县,37.04,115.67,23,39,31,xt,qh
- 河北省,邢台,临西县,37.04,115.67,23,39,31,xt,lx
- 河北省,邢台,南宫,37.36,115.41,23,38,29,xt,ng
- 河北省,邢台,沙河,36.86,114.5,23,34,51,xt,sh
- 河北省,保定,市辖区,38.88,115.47,23,38,43,bd,sxq
- 河北省,保定,新市区,38.88,115.46,23,38,41,bd,xs
- 河北省,保定,北市区,38.88,115.5,23,38,51,bd,bs
- 河北省,保定,南市区,38.86,115.53,23,38,58,bd,ns
- 河北省,保定,满城县,38.95,115.32,23,38,7,bd,mc
- 河北省,保定,清苑县,38.76,115.49,23,38,48,bd,qy
- 河北省,保定,涞水县,39.39,115.71,23,39,41,bd,ls
- 河北省,保定,阜平县,38.85,114.2,23,33,39,bd,fp
- 河北省,保定,徐水县,39.02,115.66,23,39,29,bd,xs
- 河北省,保定,定兴县,39.26,115.81,23,40,5,bd,dx
- 河北省,保定,唐县,38.75,114.98,23,36,46,bd,tx
- 河北省,保定,高阳县,38.7,115.78,23,39,58,bd,gy
- 河北省,保定,容城县,39.04,115.86,23,40,17,bd,rc
- 河北省,保定,涞源县,39.36,114.7,23,35,39,bd,ly
- 河北省,保定,望都县,38.71,115.16,23,37,29,bd,wd
- 河北省,保定,安新县,38.94,115.94,23,40,36,bd,ax
- 河北省,保定,易县,39.35,115.5,23,38,51,bd,yx
- 河北省,保定,曲阳县,38.62,114.75,23,35,51,bd,qy
- 河北省,保定,蠡县,38.49,115.58,23,39,10,bd,lx
- 河北省,保定,顺平县,38.49,115.58,23,39,10,bd,sp
- 河北省,保定,博野县,38.46,115.46,23,38,41,bd,by
- 河北省,保定,雄县,38.99,116.11,23,41,17,bd,xx
- 河北省,保定,涿州,39.49,115.97,23,40,43,bd,zz
- 河北省,保定,定州,38.46,115.05,23,37,3,bd,dz
- 河北省,保定,安国,38.42,115.33,23,38,10,bd,ag
- 河北省,保定,高碑店,39.91,116.53,23,42,58,bd,gbd
- 河北省,张家口,市辖区,40.82,114.89,23,36,24,zjk,sxq
- 河北省,张家口,桥东区,40.79,114.89,23,36,24,zjk,qd
- 河北省,张家口,桥西区,40.82,114.87,23,36,19,zjk,qx
- 河北省,张家口,宣化区,40.61,115.1,23,37,15,zjk,xh
- 河北省,张家口,下花园区,40.5,115.29,23,38,0,zjk,xhy
- 河北省,张家口,宣化县,40.58,115,23,36,51,zjk,xh
- 河北省,张家口,张北县,41.16,114.72,23,35,43,zjk,zb
- 河北省,张家口,康保县,41.85,114.6,23,35,15,zjk,kb
- 河北省,张家口,沽源县,41.67,115.69,23,39,36,zjk,gy
- 河北省,张家口,尚义县,41.08,113.97,23,32,43,zjk,sy
- 河北省,张家口,蔚县,39.84,114.59,23,35,12,zjk,wx
- 河北省,张家口,阳原县,40.1,114.15,23,33,27,zjk,yy
- 河北省,张家口,怀安县,40.67,114.39,23,34,24,zjk,ha
- 河北省,张家口,万全县,40.77,114.74,23,35,48,zjk,wq
- 河北省,张家口,怀来县,40.41,115.52,23,38,55,zjk,hl
- 河北省,张家口,涿鹿县,40.38,115.22,23,37,43,zjk,zl
- 河北省,张家口,赤城县,40.91,115.83,23,40,10,zjk,cc
- 河北省,张家口,崇礼县,40.97,115.28,23,37,58,zjk,cl
- 河北省,承德,市辖区,40.95,117.96,23,48,41,cd,sxq
- 河北省,承德,双桥区,40.97,117.94,23,48,36,cd,sq
- 河北省,承德,双滦区,40.96,117.8,23,48,3,cd,sl
- 河北省,承德,鹰手营子矿区,40.55,117.66,23,47,29,cd,ysyzkq
- 河北省,承德,承德县,40.77,118.17,23,49,31,cd,cd
- 河北省,承德,兴隆县,40.42,117.5,23,46,51,cd,xl
- 河北省,承德,平泉县,41.02,118.7,23,51,39,cd,pq
- 河北省,承德,滦平县,41.02,118.7,23,51,39,cd,lp
- 河北省,承德,隆化县,41.31,117.74,23,47,48,cd,lh
- 河北省,承德,丰宁满族自治县,41.21,116.65,23,43,27,cd,fnmz
- 河北省,承德,宽城满族自治县,40.61,118.49,23,50,48,cd,kcmz
- 河北省,承德,围场满族自治县,41.94,117.76,23,47,53,cd,wcmz
- 河北省,沧州,市辖区,38.3,116.84,23,44,12,cz,sxq
- 河北省,沧州,新华区,38.31,116.87,23,44,19,cz,xh
- 河北省,沧州,运河区,38.31,116.83,23,44,10,cz,yh
- 河北省,沧州,沧县,38.32,116.61,23,43,17,cz,cx
- 河北省,沧州,青县,38.05,116.74,23,43,48,cz,qx
- 河北省,沧州,东光县,37.89,116.54,23,43,0,cz,dg
- 河北省,沧州,海兴县,38.14,117.5,23,46,51,cz,hx
- 河北省,沧州,盐山县,38.06,117.23,23,45,46,cz,ys
- 河北省,沧州,肃宁县,38.42,115.83,23,40,10,cz,sn
- 河北省,沧州,南皮县,38.04,116.71,23,43,41,cz,np
- 河北省,沧州,吴桥县,37.63,116.39,23,42,24,cz,wq
- 河北省,沧州,献县,38.19,116.12,23,41,19,cz,xx
- 河北省,沧州,孟村回族自治县,38.05,117.1,23,45,15,cz,mchz
- 河北省,沧州,泊头,38.08,116.58,23,43,10,cz,bt
- 河北省,沧州,任丘,38.71,116.1,23,41,15,cz,rq
- 河北省,沧州,黄骅,38.37,117.33,23,46,10,cz,hh
- 河北省,沧州,河间,38.45,116.1,23,41,15,cz,hj
- 河北省,廊坊,市辖区,22.57,113.1,23,29,15,lf,sxq
- 河北省,廊坊,安次县,39.5,116.69,23,43,36,lf,ac
- 河北省,廊坊,广阳区,38.06,117.23,23,45,46,lf,gy
- 河北省,廊坊,固安县,39.44,116.3,23,42,3,lf,ga
- 河北省,廊坊,永清县,39.32,116.5,23,42,51,lf,yq
- 河北省,廊坊,香河县,39.76,117.01,23,44,53,lf,xh
- 河北省,廊坊,大城县,38.7,116.65,23,43,27,lf,dc
- 河北省,廊坊,文安县,38.87,116.46,23,42,41,lf,wa
- 河北省,廊坊,大厂回族自治县,39.89,116.95,23,44,39,lf,dchz
- 河北省,廊坊,霸州,39.13,116.39,23,42,24,lf,bz
- 河北省,廊坊,三河,39.98,117.08,23,45,10,lf,sh
- 河北省,衡水,市辖区,37.74,115.67,23,39,31,hs,sxq
- 河北省,衡水,桃城区,37.73,115.68,23,39,34,hs,tc
- 河北省,衡水,枣强县,37.51,115.72,23,39,43,hs,zq
- 河北省,衡水,武邑县,37.8,115.89,23,40,24,hs,wy
- 河北省,衡水,武强县,38.04,115.98,23,40,46,hs,wq
- 河北省,衡水,饶阳县,38.24,115.73,23,39,46,hs,ry
- 河北省,衡水,安平县,38.23,115.52,23,38,55,hs,ap
- 河北省,衡水,故城县,37.35,115.97,23,40,43,hs,gc
- 河北省,衡水,景县,37.58,115.7,23,39,39,hs,jx
- 河北省,衡水,阜城县,37.87,116.14,23,41,24,hs,fc
- 河北省,衡水,冀州,37.55,115.58,23,39,10,hs,jz
- 河北省,衡水,深州,38,115.56,23,39,5,hs,sz
- 河南省,郑州,市辖区,34.75,113.63,23,31,22,zz,sxq
- 河南省,郑州,中原区,34.75,113.61,23,31,17,zz,zy
- 河南省,郑州,二七区,34.72,113.64,23,31,24,zz,eq
- 河南省,郑州,管城回族区,34.75,113.68,23,31,34,zz,gchz
- 河南省,郑州,金水区,34.8,113.66,23,31,29,zz,js
- 河南省,郑州,上街区,34.8,113.31,23,30,5,zz,sj
- 河南省,郑州,邙山区,34.87,113.65,23,31,27,zz,ms
- 河南省,郑州,中牟县,34.72,113.98,23,32,46,zz,zm
- 河南省,郑州,巩义,34.75,113.02,23,28,55,zz,gy
- 河南省,郑州,荥阳,34.79,113.38,23,30,22,zz,xy
- 河南省,郑州,新密,34.54,113.39,23,30,24,zz,xm
- 河南省,郑州,新郑,34.4,113.74,23,31,48,zz,xz
- 河南省,郑州,登封,34.45,113.05,23,29,3,zz,df
- 河南省,开封,市辖区,34.8,114.31,23,34,5,kf,sxq
- 河南省,开封,龙亭区,34.8,114.36,23,34,17,kf,lt
- 河南省,开封,顺河回族区,34.8,114.36,23,34,17,kf,shhz
- 河南省,开封,鼓楼区,34.79,114.35,23,34,15,kf,gl
- 河南省,开封,南关区,34.8,114.33,23,34,10,kf,ng
- 河南省,开封,郊区,36.22,113.11,23,29,17,kf,jq
- 河南省,开封,杞县,34.55,114.78,23,35,58,kf,qx
- 河南省,开封,通许县,34.48,114.47,23,34,43,kf,tx
- 河南省,开封,尉氏县,34.41,114.2,23,33,39,kf,ws
- 河南省,开封,开封县,34.72,114.45,23,34,39,kf,kf
- 河南省,开封,兰考县,34.82,114.82,23,36,7,kf,lk
- 河南省,洛阳,市辖区,34.62,112.45,23,26,39,ly,sxq
- 河南省,洛阳,老城区,34.68,112.47,23,26,43,ly,lc
- 河南省,洛阳,西工区,34.66,112.43,23,26,34,ly,xg
- 河南省,洛阳,廛河回族区,34.69,112.54,23,27,0,ly,chhz
- 河南省,洛阳,涧西区,34.66,112.4,23,26,27,ly,jx
- 河南省,洛阳,吉利区,34.9,112.59,23,27,12,ly,jl
- 河南省,洛阳,洛龙区,34.62,112.47,23,26,43,ly,ll
- 河南省,洛阳,孟津县,34.82,112.45,23,26,39,ly,mj
- 河南省,洛阳,新安县,34.73,112.13,23,25,22,ly,xa
- 河南省,洛阳,栾川县,33.78,111.62,23,23,19,ly,lc
- 河南省,洛阳,嵩县,34.13,112.09,23,25,12,ly,sx
- 河南省,洛阳,汝阳县,34.15,112.47,23,26,43,ly,ly
- 河南省,洛阳,宜阳县,34.51,112.18,23,25,34,ly,yy
- 河南省,洛阳,洛宁县,34.39,111.65,23,23,27,ly,ln
- 河南省,洛阳,伊川县,34.42,112.42,23,26,31,ly,yc
- 河南省,洛阳,偃师,34.73,112.79,23,28,0,ly,ys
- 河南省,平顶山,市辖区,33.76,113.19,23,29,36,pds,sxq
- 河南省,平顶山,新华区,33.74,113.29,23,30,0,pds,xh
- 河南省,平顶山,卫东区,33.73,113.34,23,30,12,pds,wd
- 河南省,平顶山,石龙区,33.9,112.9,23,28,27,pds,sl
- 河南省,平顶山,湛河区,33.7,113.28,23,29,58,pds,zh
- 河南省,平顶山,宝丰县,33.87,113.06,23,29,5,pds,bf
- 河南省,平顶山,叶县,33.63,113.36,23,30,17,pds,yx
- 河南省,平顶山,鲁山县,33.74,112.91,23,28,29,pds,ls
- 河南省,平顶山,郏县,33.97,113.21,23,29,41,pds,jx
- 河南省,平顶山,舞钢,33.29,113.53,23,30,58,pds,wg
- 河南省,平顶山,汝州,34.17,112.85,23,28,15,pds,rz
- 河南省,安阳,市辖区,36.1,114.4,23,34,27,ay,sxq
- 河南省,安阳,文峰区,36.09,114.36,23,34,17,ay,wf
- 河南省,安阳,北关区,36.11,114.36,23,34,17,ay,bg
- 河南省,安阳,殷都区,36.11,114.3,23,34,3,ay,yd
- 河南省,安阳,龙安区,36.08,114.3,23,34,3,ay,la
- 河南省,安阳,安阳县,36.21,114.23,23,33,46,ay,ay
- 河南省,安阳,汤阴县,35.92,114.36,23,34,17,ay,ty
- 河南省,安阳,滑县,35.57,114.52,23,34,55,ay,hx
- 河南省,安阳,内黄县,35.95,114.9,23,36,27,ay,hh
- 河南省,安阳,林州,36.08,113.82,23,32,7,ay,lz
- 河南省,鹤壁,市辖区,35.75,114.3,23,34,3,hb,sxq
- 河南省,鹤壁,鹤山区,35.95,114.16,23,33,29,hb,hs
- 河南省,鹤壁,山城区,35.9,114.19,23,33,36,hb,sc
- 河南省,鹤壁,淇滨区,35.74,114.3,23,34,3,hb,qb
- 河南省,鹤壁,浚县,35.68,114.55,23,35,3,hb,jx
- 河南省,鹤壁,淇县,35.61,114.2,23,33,39,hb,qx
- 河南省,新乡,市辖区,35.3,113.93,23,32,34,xx,sxq
- 河南省,新乡,红旗区,35.3,113.88,23,32,22,xx,hq
- 河南省,新乡,卫滨区,35.3,113.87,23,32,19,xx,wb
- 河南省,新乡,凤泉区,35.37,113.91,23,32,29,xx,fq
- 河南省,新乡,牧野区,35.31,113.91,23,32,29,xx,my
- 河南省,新乡,新乡县,35.19,113.81,23,32,5,xx,xx
- 河南省,新乡,获嘉县,35.26,113.66,23,31,29,xx,hj
- 河南省,新乡,原阳县,35.07,113.94,23,32,36,xx,yy
- 河南省,新乡,延津县,35.14,114.21,23,33,41,xx,yj
- 河南省,新乡,封丘县,35.04,114.42,23,34,31,xx,fq
- 河南省,新乡,长垣县,35.2,114.67,23,35,31,xx,cy
- 河南省,新乡,卫辉,35.4,114.07,23,33,7,xx,wh
- 河南省,新乡,辉县,35.46,113.81,23,32,5,xx,hx
- 河南省,焦作,市辖区,35.21,113.24,23,29,48,jz,sxq
- 河南省,焦作,解放区,35.24,113.23,23,29,46,jz,jf
- 河南省,焦作,中站区,35.24,113.18,23,29,34,jz,zz
- 河南省,焦作,马村区,35.26,113.32,23,30,7,jz,mc
- 河南省,焦作,山阳区,35.21,113.25,23,29,51,jz,sy
- 河南省,焦作,修武县,35.22,113.45,23,30,39,jz,xw
- 河南省,焦作,博爱县,35.17,113.07,23,29,7,jz,ba
- 河南省,焦作,武陟县,35.1,113.4,23,30,27,jz,wz
- 河南省,焦作,温县,34.94,113.08,23,29,10,jz,wx
- 河南省,焦作,济源,35.07,112.6,23,27,15,jz,jy
- 河南省,焦作,沁阳,35.09,112.95,23,28,39,jz,qy
- 河南省,焦作,孟州,34.91,112.79,23,28,0,jz,mz
- 河南省,濮阳,市辖区,35.76,115.03,23,36,58,py,sxq
- 河南省,濮阳,华龙区,35.78,115.08,23,37,10,py,lh
- 河南省,濮阳,清丰县,35.88,115.11,23,37,17,py,qf
- 河南省,濮阳,南乐县,36.07,115.21,23,37,41,py,nl
- 河南省,濮阳,范县,35.85,115.5,23,38,51,py,fx
- 河南省,濮阳,台前县,35.97,115.87,23,40,19,py,tq
- 河南省,濮阳,濮阳县,35.71,115.03,23,36,58,py,py
- 河南省,许昌,市辖区,34.04,113.85,23,32,15,xc,sxq
- 河南省,许昌,魏都区,34.05,113.83,23,32,10,xc,wd
- 河南省,许昌,许昌县,34.13,113.82,23,32,7,xc,xc
- 河南省,许昌,鄢陵县,34.1,114.18,23,33,34,xc,yl
- 河南省,许昌,襄城县,33.85,113.51,23,30,53,xc,xc
- 河南省,许昌,禹州,34.14,113.49,23,30,48,xc,yz
- 河南省,许昌,长葛,34.22,113.77,23,31,55,xc,cg
- 河南省,漯河,市辖区,33.58,114.02,23,32,55,lh,sxq
- 河南省,漯河,源汇区,33.55,113.92,23,32,31,lh,yh
- 河南省,漯河,郾城区,33.59,114.01,23,32,53,lh,yc
- 河南省,漯河,召陵区,33.59,114.09,23,33,12,lh,zl
- 河南省,漯河,舞阳县,33.44,113.61,23,31,17,lh,wy
- 河南省,漯河,临颍县,33.81,113.93,23,32,34,lh,ly
- 河南省,三门峡,市辖区,34.77,111.2,23,21,39,smx,sxq
- 河南省,三门峡,湖滨区,34.77,111.19,23,21,36,smx,hb
- 河南省,三门峡,渑池县,34.77,111.76,23,23,53,smx,mc
- 河南省,三门峡,陕县,34.72,111.11,23,21,17,smx,sx
- 河南省,三门峡,卢氏县,34.05,111.05,23,21,3,smx,ls
- 河南省,三门峡,义马,34.75,111.88,23,24,22,smx,ym
- 河南省,三门峡,灵宝,34.51,110.89,23,20,24,smx,lb
- 河南省,南阳,市辖区,32.99,112.53,23,26,58,ny,sxq
- 河南省,南阳,宛城区,33,112.54,23,27,0,ny,wc
- 河南省,南阳,卧龙区,32.99,112.54,23,27,0,ny,wl
- 河南省,南阳, 南召县,33.49,112.43,23,26,34,ny,nz
- 河南省,南阳,方城县,33.25,113.02,23,28,55,ny,fc
- 河南省,南阳,西峡县,33.3,111.47,23,22,43,ny,xx
- 河南省,南阳,镇平县,33.03,112.24,23,25,48,ny,zp
- 河南省,南阳,内乡县,33.04,111.85,23,24,15,ny,nx
- 河南省,南阳,淅川县,33.14,111.49,23,22,48,ny,zc
- 河南省,南阳,社旗县,33.05,112.95,23,28,39,ny,sq
- 河南省,南阳,唐河县,32.68,112.81,23,28,5,ny,th
- 河南省,南阳,新野县,32.52,112.36,23,26,17,ny,xy
- 河南省,南阳,桐柏县,32.38,113.43,23,30,34,ny,tb
- 河南省,南阳,邓州,32.69,112.09,23,25,12,ny,dz
- 河南省,商丘,市辖区,34.41,115.66,23,39,29,sq,sxq
- 河南省,商丘,梁园区,34.44,115.62,23,39,19,sq,ly
- 河南省,商丘,睢阳区,34.39,115.65,23,39,27,sq,sy
- 河南省,商丘,民权县,34.65,115.15,23,37,27,sq,mq
- 河南省,商丘,睢县,34.44,115.07,23,37,7,sq,sx
- 河南省,商丘,宁陵县,34.45,115.31,23,38,5,sq,nl
- 河南省,商丘,柘城县,34.09,115.31,23,38,5,sq,zc
- 河南省,商丘,虞城县,34.4,115.87,23,40,19,sq,yc
- 河南省,商丘,夏邑县,34.24,116.13,23,41,22,sq,xy
- 河南省,商丘,永城,33.93,116.45,23,42,39,sq,yc
- 河南省,信阳,市辖区,32.15,114.09,23,33,12,xy,sxq
- 河南省,信阳,师河区,32.12,114.06,23,33,5,xy,sh
- 河南省,信阳,平桥区,32.1,114.13,23,33,22,xy,pq
- 河南省,信阳,罗山县,32.2,114.52,23,34,55,xy,ls
- 河南省,信阳,光山县,32.01,114.92,23,36,31,xy,gs
- 河南省,信阳,新县,31.64,114.88,23,36,22,xy,xx
- 河南省,信阳,商城县,31.8,115.41,23,38,29,xy,sc
- 河南省,信阳,固始县,32.17,115.66,23,39,29,xy,gs
- 河南省,信阳,潢川县,32.13,115.06,23,37,5,xy,hc
- 河南省,信阳,淮滨县,32.47,115.42,23,38,31,xy,hb
- 河南省,信阳,息县,32.34,114.74,23,35,48,xy,xx
- 河南省,周口,市辖区,33.63,114.7,23,35,39,zk,sxq
- 河南省,周口,川汇区,33.64,114.65,23,35,27,zk,ch
- 河南省,周口,扶沟县,34.06,114.4,23,34,27,zk,fg
- 河南省,周口,西华县,33.77,114.53,23,34,58,zk,xh
- 河南省,周口,商水县,33.54,114.61,23,35,17,zk,ss
- 河南省,周口,沈丘县,33.41,115.1,23,37,15,zk,sq
- 河南省,周口,郸城县,33.64,115.18,23,37,34,zk,dc
- 河南省,周口,淮阳县,33.73,114.89,23,36,24,zk,hy
- 河南省,周口,太康县,34.06,114.84,23,36,12,zk,tk
- 河南省,周口,鹿邑县,33.86,115.49,23,38,48,zk,ly
- 河南省,周口,项城,33.47,114.88,23,36,22,zk,xc
- 河南省,驻马店,市辖区,33.01,114.02,23,32,55,zmd,sxq
- 河南省,驻马店,驿城区,32.97,113.99,23,32,48,zmd,yc
- 河南省,驻马店,西平县,33.39,114.02,23,32,55,zmd,xp
- 河南省,驻马店,上蔡县,33.26,114.26,23,33,53,zmd,sc
- 河南省,驻马店,平舆县,32.96,114.62,23,35,19,zmd,py
- 河南省,驻马店,正阳县,32.6,114.39,23,34,24,zmd,zy
- 河南省,驻马店,确山县,32.8,114.03,23,32,58,zmd,qs
- 河南省,驻马店,泌阳县,32.72,113.33,23,30,10,zmd,qy
- 河南省,驻马店,汝南县,33.01,114.36,23,34,17,zmd,rn
- 河南省,驻马店,遂平县,33.15,114.01,23,32,53,zmd,sp
- 河南省,驻马店,新蔡县,32.75,114.99,23,36,48,zmd,xc
- 黑龙江省,哈尔滨,市辖区,45.8,126.54,0,23,0,heb,sxq
- 黑龙江省,哈尔滨,道里区,45.76,126.62,0,23,19,heb,dl
- 黑龙江省,哈尔滨,南岗区,45.76,126.65,0,23,27,heb,ng
- 黑龙江省,哈尔滨,道外区,45.79,126.65,0,23,27,heb,dw
- 黑龙江省,哈尔滨,香坊区,45.71,126.66,0,23,29,heb,xf
- 黑龙江省,哈尔滨,动力区,45.72,126.65,0,23,27,heb,dl
- 黑龙江省,哈尔滨,平房区,45.6,126.64,0,23,24,heb,pf
- 黑龙江省,哈尔滨,松北区,45.81,126.56,0,23,5,heb,sb
- 黑龙江省,哈尔滨,呼兰区,45.81,126.57,0,23,7,heb,hl
- 黑龙江省,哈尔滨,依兰县,46.32,129.57,0,35,7,heb,yl
- 黑龙江省,哈尔滨,方正县,45.85,128.83,0,32,10,heb,fz
- 黑龙江省,哈尔滨,宾县,45.76,127.49,0,26,48,heb,bx
- 黑龙江省,哈尔滨,巴彦县,46.08,127.41,0,26,29,heb,by
- 黑龙江省,哈尔滨,木兰县,45.95,128.04,0,29,0,heb,ml
- 黑龙江省,哈尔滨,通河县,45.99,128.75,0,31,51,heb,th
- 黑龙江省,哈尔滨,延寿县,45.45,128.33,0,30,10,heb,ys
- 黑龙江省,哈尔滨,阿城,45.54,126.98,0,24,46,heb,ac
- 黑龙江省,哈尔滨,双城,45.38,126.31,0,22,5,heb,sc
- 黑龙江省,哈尔滨,尚志,45.21,127.96,0,28,41,heb,sz
- 黑龙江省,哈尔滨,五常,44.93,127.17,0,25,31,heb,wc
- 黑龙江省,齐齐哈尔,市辖区,47.35,123.92,0,12,31,qqhe,sxq
- 黑龙江省,齐齐哈尔,龙沙区,47.32,123.96,0,12,41,qqhe,ls
- 黑龙江省,齐齐哈尔,建华区,47.35,123.96,0,12,41,qqhe,jh
- 黑龙江省,齐齐哈尔,铁锋区,47.34,123.98,0,12,46,qqhe,tf
- 黑龙江省,齐齐哈尔,昂昂溪区,47.15,123.82,0,12,7,qqhe,aaxq
- 黑龙江省,齐齐哈尔,富拉尔基区,47.21,123.63,0,11,22,qqhe,flej
- 黑龙江省,齐齐哈尔,碾子山区,47.52,122.89,0,8,24,qqhe,nzs
- 黑龙江省,齐齐哈尔,梅里斯达翰尔族区,47.31,123.75,0,11,51,qqhe,mlsdhez
- 黑龙江省,齐齐哈尔,龙江县,47.34,123.21,0,9,41,qqhe,lj
- 黑龙江省,齐齐哈尔,依安县,47.89,125.31,0,18,5,qqhe,ya
- 黑龙江省,齐齐哈尔,泰来县,46.39,123.42,0,10,31,qqhe,tl
- 黑龙江省,齐齐哈尔,甘南县,47.92,123.51,0,10,53,qqhe,gn
- 黑龙江省,齐齐哈尔,富裕县,47.77,124.48,0,14,46,qqhe,fy
- 黑龙江省,齐齐哈尔,克山县,48.04,125.88,0,20,22,qqhe,ks
- 黑龙江省,齐齐哈尔,克东县,48.04,126.25,0,21,51,qqhe,kd
- 黑龙江省,齐齐哈尔,拜泉县,47.6,126.1,0,21,15,qqhe,bq
- 黑龙江省,齐齐哈尔,讷河,47.6,126.1,0,21,15,qqhe,nh
- 黑龙江省,鸡西,市辖区,45.3,130.97,0,40,43,jx,sxq
- 黑龙江省,鸡西,鸡冠区,45.3,130.98,0,40,46,jx,jg
- 黑龙江省,鸡西,恒山区,45.21,130.91,0,40,29,jx,hs
- 黑龙江省,鸡西,滴道区,45.35,130.84,0,40,12,jx,dd
- 黑龙江省,鸡西,梨树区,45.09,130.7,0,39,39,jx,ls
- 黑龙江省,鸡西,城子河区,45.34,131.01,0,40,53,jx,czh
- 黑龙江省,鸡西,麻山区,45.21,130.48,0,38,46,jx,ms
- 黑龙江省,鸡西,鸡东县,45.26,131.13,0,41,22,jx,jd
- 黑龙江省,鸡西,虎林,45.76,132.94,0,48,36,jx,hl
- 黑龙江省,鸡西,密山,45.76,132.94,0,48,36,jx,ms
- 黑龙江省,鹤岗,市辖区,47.35,130.3,0,38,3,hg,sxq
- 黑龙江省,鹤岗,向阳区,47.34,130.29,0,38,0,hg,xy
- 黑龙江省,鹤岗,工农区,47.32,130.28,0,37,58,hg,gn
- 黑龙江省,鹤岗,南山区,47.31,130.29,0,38,0,hg,ns
- 黑龙江省,鹤岗,兴安区,47.25,130.24,0,37,48,hg,xa
- 黑龙江省,鹤岗,东山区,47.34,130.32,0,38,7,hg,ds
- 黑龙江省,鹤岗,兴山区,47.38,130.33,0,38,10,hg,xs
- 黑龙江省,鹤岗,萝北区,47.58,130.83,0,40,10,hg,lb
- 黑龙江省,鹤岗,绥滨区,47.29,131.85,0,44,15,hg,sb
- 黑龙江省,双鸭山,市辖区,45.2,128.37,0,30,19,sys,sxq
- 黑龙江省,双鸭山,尖山区,46.65,131.16,0,41,29,sys,js
- 黑龙江省,双鸭山,岭东区,46.54,131.15,0,41,27,sys,ld
- 黑龙江省,双鸭山,四方台区,46.59,131.34,0,42,12,sys,sft
- 黑龙江省,双鸭山,宝山区,46.58,131.4,0,42,27,sys,bs
- 黑龙江省,双鸭山,集贤县,46.73,131.14,0,41,24,sys,jx
- 黑龙江省,双鸭山,友谊县,46.77,131.81,0,44,5,sys,yy
- 黑龙江省,双鸭山,宝清县,46.33,132.2,0,45,39,sys,bq
- 黑龙江省,双鸭山,饶河县,46.8,134.01,0,52,53,sys,rh
- 黑龙江省,大庆,市辖区,46.59,125.1,0,17,15,dq,sxq
- 黑龙江省,大庆,萨尔图区,46.6,125.05,0,17,3,dq,set
- 黑龙江省,大庆,龙凤区,46.56,125.14,0,17,24,dq,lf
- 黑龙江省,大庆,让胡路区,46.65,124.87,0,16,19,dq,lhl
- 黑龙江省,大庆,红岗区,46.4,124.89,0,16,24,dq,hg
- 黑龙江省,大庆,大同区,46.04,124.81,0,16,5,dq,dt
- 黑龙江省,大庆,肇州县,45.7,125.27,0,17,55,dq,zz
- 黑龙江省,大庆,肇源县,45.52,125.08,0,17,10,dq,zy
- 黑龙江省,大庆,林甸县,47.18,124.88,0,16,22,dq,ld
- 黑龙江省,大庆,杜尔伯特蒙古族自治县,46.86,124.44,0,14,36,dq,debtmgz
- 黑龙江省,伊春,市辖区,47.73,128.84,0,32,12,yc,sxq
- 黑龙江省,伊春,伊春区,47.73,128.91,0,32,29,yc,yc
- 黑龙江省,伊春,南岔区,47.14,129.28,0,33,58,yc,nc
- 黑龙江省,伊春,友好区,47.85,128.84,0,32,12,yc,yh
- 黑龙江省,伊春,西林区,47.48,129.31,0,34,5,yc,xl
- 黑龙江省,伊春,翠峦区,47.73,128.67,0,31,31,yc,cl
- 黑龙江省,伊春,新青区,48.29,129.53,0,34,58,yc,xq
- 黑龙江省,伊春,美溪区,47.63,129.13,0,33,22,yc,mx
- 黑龙江省,伊春,金山屯区,47.41,129.43,0,34,34,yc,jst
- 黑龙江省,伊春,五营区,48.11,129.25,0,33,51,yc,wy
- 黑龙江省,伊春,乌马河区,47.73,128.8,0,32,3,yc,wmh
- 黑龙江省,伊春,汤旺河区,48.45,129.57,0,35,7,yc,twh
- 黑龙江省,伊春,带岭区,47.03,129.02,0,32,55,yc,dl
- 黑龙江省,伊春,乌伊岭区,48.59,129.44,0,34,36,yc,wyl
- 黑龙江省,伊春,红星区,48.24,129.39,0,34,24,yc,hx
- 黑龙江省,伊春,上甘岭区,47.97,129.03,0,32,58,yc,sgl
- 黑龙江省,伊春,嘉荫区,48.89,130.4,0,38,27,yc,jy
- 黑龙江省,伊春,铁力,46.99,128.03,0,28,58,yc,tl
- 黑龙江省,佳木斯,市辖区,46.8,130.32,0,38,7,jms,sxq
- 黑龙江省,佳木斯,永红区,46.8,130.34,0,38,12,jms,yh
- 黑龙江省,佳木斯,向阳区,47.34,130.3,0,38,3,jms,xy
- 黑龙江省,佳木斯,前进区,46.81,130.38,0,38,22,jms,qj
- 黑龙江省,佳木斯,东风区,46.82,130.4,0,38,27,jms,df
- 黑龙江省,佳木斯,郊区,36.22,113.11,23,29,17,jms,jq
- 黑龙江省,佳木斯,桦南县,46.24,130.56,0,39,5,jms,hn
- 黑龙江省,佳木斯,桦川县,47.02,130.72,0,39,43,jms,hc
- 黑龙江省,佳木斯,汤原县,46.73,129.91,0,36,29,jms,ty
- 黑龙江省,佳木斯,抚远县,48.36,134.31,0,54,5,jms,fy
- 黑龙江省,佳木斯,同江,47.64,132.51,0,46,53,jms,tj
- 黑龙江省,佳木斯,富锦,47.25,132.04,0,45,0,jms,fj
- 黑龙江省,七台河,市辖区,45.77,131,0,40,51,qth,sxq
- 黑龙江省,七台河,新兴区,45.82,130.93,0,40,34,qth,xx
- 黑龙江省,七台河,桃山区,45.77,131.02,0,40,55,qth,ts
- 黑龙江省,七台河,茄子河区,45.78,131.07,0,41,7,qth,qzh
- 黑龙江省,七台河,勃利县,45.76,130.59,0,39,12,qth,bl
- 黑龙江省,牡丹江,市辖区,44.55,129.63,0,35,22,mdj,sxq
- 黑龙江省,牡丹江,东安区,44.58,129.63,0,35,22,mdj,da
- 黑龙江省,牡丹江,阳明区,44.6,129.64,0,35,24,mdj,ym
- 黑龙江省,牡丹江,爱民区,44.59,129.59,0,35,12,mdj,am
- 黑龙江省,牡丹江,西安区,44.58,129.62,0,35,19,mdj,xa
- 黑龙江省,牡丹江,东宁县,44.09,131.13,0,41,22,mdj,dn
- 黑龙江省,牡丹江,林口县,45.28,130.29,0,38,0,mdj,lk
- 黑龙江省,牡丹江,绥芬河,44.41,131.15,0,41,27,mdj,sf
- 黑龙江省,牡丹江,海林,44.59,129.38,0,34,22,mdj,hl
- 黑龙江省,牡丹江,宁安,44.34,129.48,0,34,46,mdj,na
- 黑龙江省,牡丹江,穆棱,44.92,130.53,0,38,58,mdj,ml
- 黑龙江省,黑河,市辖区,50.24,127.53,0,26,58,hh,sxq
- 黑龙江省,黑河,爱辉区,50.25,127.5,0,26,51,hh,ah
- 黑龙江省,黑河,嫩江县,49.19,125.22,0,17,43,hh,nj
- 黑龙江省,黑河,逊克县,49.56,128.48,0,30,46,hh,xk
- 黑龙江省,黑河,孙吴县,49.43,127.34,0,26,12,hh,sw
- 黑龙江省,黑河,北安,48.24,126.49,0,22,48,hh,ba
- 黑龙江省,黑河,五大连池,48.65,126.16,0,21,29,hh,wdlc
- 黑龙江省,绥化,市辖区,46.65,126.97,0,24,43,sh,sxq
- 黑龙江省,绥化,北林区,46.65,126.97,0,24,43,sh,bl
- 黑龙江省,绥化,望奎县,46.83,126.49,0,22,48,sh,wk
- 黑龙江省,绥化,兰西县,46.25,126.29,0,22,0,sh,lx
- 黑龙江省,绥化,青冈县,46.69,126.12,0,21,19,sh,qg
- 黑龙江省,绥化,庆安县,46.88,127.51,0,26,53,sh,qa
- 黑龙江省,绥化,明水县,47.17,125.91,0,20,29,sh,ms
- 黑龙江省,绥化,绥棱县,47.24,127.11,0,25,17,sh,sl
- 黑龙江省,绥化,安达,46.42,125.35,0,18,15,sh,ad
- 黑龙江省,绥化,肇东,46.05,125.96,0,20,41,sh,zd
- 黑龙江省,绥化,海伦,47.46,126.97,0,24,43,sh,hl
- 黑龙江省,大兴安岭地区,呼玛县,51.73,126.65,0,23,27,dxal,hm
- 黑龙江省,大兴安岭地区,塔河县,52.33,124.71,0,15,41,dxal,th
- 黑龙江省,大兴安岭地区,漠河县,52.97,122.54,0,7,0,dxal,mh
- 湖北省,武汉,市辖区,30.59,114.31,23,34,5,wh,sxq
- 湖北省,武汉,江岸区,30.6,114.31,23,34,5,wh,ja
- 湖北省,武汉,江汉区,30.6,114.27,23,33,55,wh,jh
- 湖北省,武汉,乔口区,30.58,114.22,23,33,43,wh,qk
- 湖北省,武汉,汉阳区,30.56,114.22,23,33,43,wh,hy
- 湖北省,武汉,武昌区,30.55,114.32,23,34,7,wh,wc
- 湖北省,武汉,青山区,30.64,114.39,23,34,24,wh,qs
- 湖北省,武汉,洪山区,30.5,114.34,23,34,12,wh,hs
- 湖北省,武汉,东西湖区,30.62,114.14,23,33,24,wh,dxh
- 湖北省,武汉,汉南区,30.31,114.09,23,33,12,wh,hn
- 湖北省,武汉,蔡甸区,30.58,114.03,23,32,58,wh,cd
- 湖北省,武汉,江夏区,30.58,114.32,23,34,7,wh,jx
- 湖北省,武汉,黄陂区,30.88,114.38,23,34,22,wh,hp
- 湖北省,武汉,新洲区,30.84,114.8,23,36,3,wh,xz
- 湖北省,黄石,市辖区,30.2,115.04,23,37,0,hs,sxq
- 湖北省,黄石,黄石港区,30.22,115.07,23,37,7,hs,hsg
- 湖北省,黄石,西塞山区,30.2,115.11,23,37,17,hs,xss
- 湖北省,黄石,下陆区,30.17,114.96,23,36,41,hs,xl
- 湖北省,黄石,铁山区,30.21,114.9,23,36,27,hs,ts
- 湖北省,黄石,阳新县,29.83,115.21,23,37,41,hs,yx
- 湖北省,黄石,大治,30.09,114.98,23,36,46,hs,dz
- 湖北省,十堰,市辖区,32.63,110.8,23,20,3,sy,sxq
- 湖北省,十堰,茅箭区,32.59,110.81,23,20,5,sy,mj
- 湖北省,十堰,张湾区,32.65,110.77,23,19,55,sy,zw
- 湖北省,十堰,郧县,32.86,110.73,23,19,46,sy,yx
- 湖北省,十堰,郧西县,32.99,110.43,23,18,34,sy,yx
- 湖北省,十堰,竹山县,32.22,110.23,23,17,46,sy,zs
- 湖北省,十堰,竹溪县,32.32,109.71,23,15,41,sy,zx
- 湖北省,十堰,房县,32.06,110.74,23,19,48,sy,fx
- 湖北省,十堰,丹江口,32.54,111.51,23,22,53,sy,djk
- 湖北省,宜昌,市辖区,30.69,111.29,23,22,0,yc,sxq
- 湖北省,宜昌,西陵区,30.71,111.29,23,22,0,yc,xl
- 湖北省,宜昌,伍家岗区,30.64,111.36,23,22,17,yc,wjg
- 湖北省,宜昌,点军区,30.69,111.27,23,21,55,yc,djk
- 湖北省,宜昌,猇亭区,30.53,111.44,23,22,36,yc,xt
- 湖北省,宜昌,夷陵区,30.77,111.33,23,22,10,yc,yl
- 湖北省,宜昌,远安县,31.06,111.64,23,23,24,yc,ya
- 湖北省,宜昌,兴山县,31.35,110.75,23,19,51,yc,xs
- 湖北省,宜昌,秭归县,30.83,110.98,23,20,46,yc,zg
- 湖北省,宜昌,长阳土家族自治县,30.47,111.21,23,21,41,yc,cytjz
- 湖北省,宜昌,五峰土家族自治县,30.2,110.68,23,19,34,yc,wftjz
- 湖北省,宜昌,宜都,30.38,111.45,23,22,39,yc,yd
- 湖北省,宜昌,当阳,30.82,111.79,23,24,0,yc,dy
- 湖北省,宜昌,枝江,30.42,111.76,23,23,53,yc,zj
- 湖北省,襄樊,市辖区,32.01,112.12,23,25,19,xf,sxq
- 湖北省,襄樊,襄城区,32.01,112.13,23,25,22,xf,xc
- 湖北省,襄樊,樊城区,32.04,112.14,23,25,24,xf,fc
- 湖北省,襄樊,襄阳区,32.22,112.24,23,25,48,xf,xy
- 湖北省,襄樊,南漳县,31.77,111.84,23,24,12,xf,nz
- 湖北省,襄樊,谷城县,32.26,111.66,23,23,29,xf,gc
- 湖北省,襄樊,保康县,31.87,111.26,23,21,53,xf,bk
- 湖北省,襄樊,老河口,32.39,111.68,23,23,34,xf,lhk
- 湖北省,襄樊,枣阳,32.13,112.77,23,27,55,xf,zy
- 湖北省,襄樊,宜城,31.72,112.26,23,25,53,xf,yc
- 湖北省,鄂州,市辖区,30.39,114.9,23,36,27,ez,sxq
- 湖北省,鄂州,梁子湖区,30.1,114.69,23,35,36,ez,lzh
- 湖北省,鄂州,华容区,30.53,114.73,23,35,46,ez,hr
- 湖北省,鄂州,鄂城区,30.4,114.89,23,36,24,ez,ec
- 湖北省,荆门,市辖区,31.03,112.2,23,25,39,jm,sxq
- 湖北省,荆门,东宝区,31.05,112.2,23,25,39,jm,db
- 湖北省,荆门,掇刀区,30.97,112.21,23,25,41,jm,dd
- 湖北省,荆门,京山县,31.02,113.12,23,29,19,jm,js
- 湖北省,荆门,沙洋县,30.71,112.59,23,27,12,jm,sy
- 湖北省,荆门,钟祥,31.17,112.59,23,27,12,jm,zx
- 湖北省,孝感,市辖区,30.92,113.92,23,32,31,xg,sxq
- 湖北省,孝感,孝南区,30.92,113.91,23,32,29,xg,xn
- 湖北省,孝感,孝昌县,31.26,114,23,32,51,xg,xc
- 湖北省,孝感,大悟县,31.56,114.13,23,33,22,xg,dw
- 湖北省,孝感,云梦县,31.02,113.75,23,31,51,xg,ym
- 湖北省,孝感,应城,30.92,113.57,23,31,7,xg,yc
- 湖北省,孝感,安陆,31.26,113.69,23,31,36,xg,al
- 湖北省,孝感,汉川,30.66,113.84,23,32,12,xg,hc
- 湖北省,荆州,市辖区,30.33,112.24,23,25,48,jz,sxq
- 湖北省,荆州,沙市区,30.31,112.26,23,25,53,jz,ss
- 湖北省,荆州,荆州区,30.35,112.19,23,25,36,jz,jz
- 湖北省,荆州,公安县,30.06,112.23,23,25,46,jz,ga
- 湖北省,荆州,监利县,29.84,112.91,23,28,29,jz,jl
- 湖北省,荆州,江陵县,30.04,112.42,23,26,31,jz,jl
- 湖北省,荆州,石首,29.72,112.43,23,26,34,jz,ss
- 湖北省,荆州,洪湖,29.83,113.48,23,30,46,jz,hh
- 湖北省,荆州,松滋,30.17,111.77,23,23,55,jz,sz
- 湖北省,黄冈,市辖区,30.45,114.87,23,36,19,hg,sxq
- 湖北省,黄冈,黄州区,30.43,114.88,23,36,22,hg,hz
- 湖北省,黄冈,团风县,30.64,114.87,23,36,19,hg,tf
- 湖北省,黄冈,红安县,31.29,114.62,23,35,19,hg,ha
- 湖北省,黄冈,罗田县,30.78,115.4,23,38,27,hg,lt
- 湖北省,黄冈,英山县,30.73,115.68,23,39,34,hg,ys
- 湖北省,黄冈,浠水县,30.45,115.27,23,37,55,hg,xs
- 湖北省,黄冈,蕲春县,30.23,115.44,23,38,36,hg,qc
- 湖北省,黄冈,黄梅县,30.07,115.94,23,40,36,hg,hm
- 湖北省,黄冈,麻城,31.17,115.01,23,36,53,hg,mc
- 湖北省,黄冈,武穴,29.84,115.56,23,39,5,hg,wx
- 湖北省,咸宁,市辖区,29.84,114.32,23,34,7,xn,sxq
- 湖北省,咸宁,咸安区,29.85,114.3,23,34,3,xn,xa
- 湖北省,咸宁,嘉鱼县,29.97,113.94,23,32,36,xn,jy
- 湖北省,咸宁,通城县,29.24,113.82,23,32,7,xn,tc
- 湖北省,咸宁,崇阳县,29.56,114.04,23,33,0,xn,cytjz
- 湖北省,咸宁,通山县,29.61,114.48,23,34,46,xn,ts
- 湖北省,咸宁,赤壁,29.72,113.9,23,32,27,xn,cb
- 湖北省,随州,市辖区,31.69,113.38,23,30,22,sz,sxq
- 湖北省,随州,曾都区,31.72,113.37,23,30,19,sz,zd
- 湖北省,随州,广水,31.62,113.83,23,32,10,sz,gs
- 湖北省,恩施土家族苗族自治州,恩施,30.29,109.48,23,14,46,estjzmz,es
- 湖北省,恩施土家族苗族自治州,利川,30.29,108.94,23,12,36,estjzmz,lc
- 湖北省,恩施土家族苗族自治州,建始县,30.6,109.72,23,15,43,estjzmz,js
- 湖北省,恩施土家族苗族自治州,巴东县,31.04,110.34,23,18,12,estjzmz,bd
- 湖北省,恩施土家族苗族自治州,宣恩县,29.99,109.49,23,14,48,estjzmz,ye
- 湖北省,恩施土家族苗族自治州,咸丰县,29.66,109.14,23,13,24,estjzmz,xf
- 湖北省,恩施土家族苗族自治州,来凤县,29.49,109.41,23,14,29,estjzmz,lf
- 湖北省,恩施土家族苗族自治州,鹤峰县,29.89,110.04,23,17,0,estjzmz,hf
- 湖北省,省直辖行政单位,仙桃,30.36,113.45,23,30,39,szx,xt
- 湖北省,省直辖行政单位,潜江,30.4,112.9,23,28,27,szx,qj
- 湖北省,省直辖行政单位,天门,30.64,113.13,23,29,22,szx,tm
- 湖北省,省直辖行政单位,神农架区,31.62,110.74,23,19,48,szx,snj
- 湖南省,长沙,市辖区,28.23,112.94,23,28,36,cs,sxq
- 湖南省,长沙,芙蓉区,28.2,113.04,23,29,0,cs,fr
- 湖南省,长沙,天心区,28.11,112.99,23,28,48,cs,tx
- 湖南省,长沙,岳麓区,28.23,112.93,23,28,34,cs,yl
- 湖南省,长沙,开福区,28.25,112.99,23,28,48,cs,kf
- 湖南省,长沙,雨花区,28.14,113.04,23,29,0,cs,yh
- 湖南省,长沙,长沙县,28.24,113.08,23,29,10,cs,cs
- 湖南省,长沙,望城县,28.29,112.82,23,28,7,cs,wc
- 湖南省,长沙,宁乡县,28.28,112.55,23,27,3,cs,nx
- 湖南省,长沙,浏阳,28.16,113.65,23,31,27,cs,ly
- 湖南省,株洲,市辖区,27.83,113.13,23,29,22,zz,sxq
- 湖南省,株洲,荷塘区,27.86,113.17,23,29,31,zz,ht
- 湖南省,株洲,芦淞区,27.79,113.15,23,29,27,zz,ls
- 湖南省,株洲,石峰区,27.87,113.12,23,29,19,zz,sf
- 湖南省,株洲,天元区,27.83,113.08,23,29,10,zz,ty
- 湖南省,株洲,株洲县,27.7,113.15,23,29,27,zz,zz
- 湖南省,株洲,攸县,27,113.35,23,30,15,zz,yx
- 湖南省,株洲,茶陵县,26.78,113.54,23,31,0,zz,cl
- 湖南省,株洲,炎陵县,26.49,113.77,23,31,55,zz,yl
- 湖南省,株洲,醴陵,27.65,113.5,23,30,51,zz,ll
- 湖南省,湘潭,市辖区,27.83,112.94,23,28,36,xt,sxq
- 湖南省,湘潭,雨湖区,27.85,112.91,23,28,29,xt,yh
- 湖南省,湘潭,岳塘区,27.87,112.97,23,28,43,xt,yt
- 湖南省,湘潭,湘潭县,27.78,112.95,23,28,39,xt,xt
- 湖南省,湘潭,湘乡,27.73,112.53,23,26,58,xt,xx
- 湖南省,湘潭,韶山,27.91,112.53,23,26,58,xt,ss
- 湖南省,衡阳,市辖区,26.89,112.57,23,27,7,hy,sxq
- 湖南省,衡阳,珠晖区,26.89,112.62,23,27,19,hy,zh
- 湖南省,衡阳,雁峰区,26.89,112.62,23,27,19,hy,yf
- 湖南省,衡阳,石鼓区,26.94,112.6,23,27,15,hy,sg
- 湖南省,衡阳,蒸湘区,26.89,112.57,23,27,7,hy,zx
- 湖南省,衡阳,南岳区,27.23,112.74,23,27,48,hy,ny
- 湖南省,衡阳,衡阳县,26.97,112.37,23,26,19,hy,hy
- 湖南省,衡阳,衡南县,26.74,112.68,23,27,34,hy,hn
- 湖南省,衡阳,衡山县,27.23,112.87,23,28,19,hy,ns
- 湖南省,衡阳,衡东县,27.08,112.96,23,28,41,hy,hd
- 湖南省,衡阳,祁东县,26.8,112.09,23,25,12,hy,qd
- 湖南省,衡阳,耒阳,26.42,112.86,23,28,17,hy,ly
- 湖南省,衡阳,常宁,26.42,112.4,23,26,27,hy,cn
- 湖南省,邵阳,市辖区,27.24,111.47,23,22,43,sy,sxq
- 湖南省,邵阳,双清区,27.23,111.5,23,22,51,sy,sq
- 湖南省,邵阳,大祥区,27.22,111.44,23,22,36,sy,dx
- 湖南省,邵阳,北塔区,27.24,111.45,23,22,39,sy,bt
- 湖南省,邵阳,邵东县,27.26,111.74,23,23,48,sy,sd
- 湖南省,邵阳,新邵县,27.32,111.46,23,22,41,sy,xs
- 湖南省,邵阳,邵阳县,26.99,111.27,23,21,55,sy,sy
- 湖南省,邵阳,隆回县,27.11,111.03,23,20,58,sy,lh
- 湖南省,邵阳,洞口县,27.06,110.58,23,19,10,sy,dk
- 湖南省,邵阳,绥宁县,26.58,110.16,23,17,29,sy,snj
- 湖南省,邵阳,新宁县,26.43,110.86,23,20,17,sy,xn
- 湖南省,邵阳,城步苗族自治县,26.39,110.32,23,18,7,sy,cbmz
- 湖南省,邵阳,武冈,26.72,110.63,23,19,22,sy,wg
- 湖南省,岳阳,市辖区,29.36,113.13,23,29,22,yy,sxq
- 湖南省,岳阳,岳阳楼区,29.37,113.13,23,29,22,yy,yyl
- 湖南省,岳阳,云溪区,29.47,113.27,23,29,55,yy,yx
- 湖南省,岳阳,君山区,29.46,113.01,23,28,53,yy,js
- 湖南省,岳阳,岳阳县,29.14,113.12,23,29,19,yy,yy
- 湖南省,岳阳,华容县,29.53,112.54,23,27,0,yy,hr
- 湖南省,岳阳,湘阴县,28.69,112.91,23,28,29,yy,xy
- 湖南省,岳阳,平江县,28.7,113.58,23,31,10,yy,pj
- 湖南省,岳阳,汩罗,28.81,113.07,23,29,7,yy,ml
- 湖南省,岳阳,临湘,29.51,113.45,23,30,39,yy,lx
- 湖南省,常德,市辖区,29.03,111.7,23,23,39,cd,sxq
- 湖南省,常德,武陵区,29.05,111.68,23,23,34,cd,wl
- 湖南省,常德,鼎城区,29.02,111.68,23,23,34,cd,dc
- 湖南省,常德,安乡县,29.41,112.17,23,25,31,cd,ax
- 湖南省,常德,汉寿县,28.9,111.97,23,24,43,cd,hs
- 湖南省,常德,澧县,29.63,111.76,23,23,53,cd,lx
- 湖南省,常德,临澧县,29.44,111.65,23,23,27,cd,ll
- 湖南省,常德,桃源县,28.9,111.49,23,22,48,cd,ty
- 湖南省,常德,石门县,29.58,111.38,23,22,22,cd,sm
- 湖南省,常德,津,29.6,111.88,23,24,22,cd,j
- 湖南省,张家界,市辖区,29.12,110.48,23,18,46,zjj,sxq
- 湖南省,张家界,永定区,29.12,110.54,23,19,0,zjj,yd
- 湖南省,张家界,武陵源区,29.34,110.55,23,19,3,zjj,wly
- 湖南省,张家界,慈利县,29.43,111.14,23,21,24,zjj,cl
- 湖南省,张家界,桑植县,29.4,110.16,23,17,29,zjj,sz
- 湖南省,益阳,市辖区,28.55,112.36,23,26,17,yy,sxq
- 湖南省,益阳,资阳区,28.59,112.33,23,26,10,yy,zy
- 湖南省,益阳,赫山区,28.58,112.38,23,26,22,yy,hs
- 湖南省,益阳,南县,29.36,112.4,23,26,27,yy,nx
- 湖南省,益阳,桃江县,28.52,112.16,23,25,29,yy,tj
- 湖南省,益阳,安化县,28.37,111.21,23,21,41,yy,ah
- 湖南省,益阳,沅江,28.84,112.36,23,26,17,yy,yj
- 湖南省,郴州,市辖区,25.77,113.02,23,28,55,bz,sxq
- 湖南省,郴州,北湖区,25.78,113.01,23,28,53,bz,bh
- 湖南省,郴州,苏仙区,25.8,113.04,23,29,0,bz,sx
- 湖南省,郴州,桂阳县,25.75,112.73,23,27,46,bz,gy
- 湖南省,郴州,宜章县,25.4,112.95,23,28,39,bz,yz
- 湖南省,郴州,永兴县,26.13,113.12,23,29,19,bz,yx
- 湖南省,郴州,嘉禾县,25.59,112.37,23,26,19,bz,jh
- 湖南省,郴州,临武县,25.28,112.56,23,27,5,bz,lw
- 湖南省,郴州,汝城县,25.55,113.69,23,31,36,bz,rc
- 湖南省,郴州,桂东县,26.08,113.94,23,32,36,bz,gd
- 湖南省,郴州,安仁县,26.71,113.27,23,29,55,bz,ar
- 湖南省,郴州,资兴,25.97,113.24,23,29,48,bz,zx
- 湖南省,永州,市辖区,26.42,111.61,23,23,17,yz,sxq
- 湖南省,永州,芝山区,26.23,111.62,23,23,19,yz,zs
- 湖南省,永州,冷水滩区,26.46,111.6,23,23,15,yz,lst
- 湖南省,永州,祁阳县,26.58,111.84,23,24,12,yz,qy
- 湖南省,永州,东安县,26.39,111.32,23,22,7,yz,da
- 湖南省,永州,双牌县,25.96,111.66,23,23,29,yz,sp
- 湖南省,永州,道县,25.52,111.6,23,23,15,yz,dx
- 湖南省,永州,江永县,25.27,111.35,23,22,15,yz,jy
- 湖南省,永州,宁远县,25.57,111.95,23,24,39,yz,ny
- 湖南省,永州,蓝山县,25.37,112.2,23,25,39,yz,ls
- 湖南省,永州,新田县,25.9,112.21,23,25,41,yz,xt
- 湖南省,永州,江华瑶族自治县,25.18,111.58,23,23,10,yz,jhyz
- 湖南省,怀化,市辖区,27.57,110,23,16,51,hh,sxq
- 湖南省,怀化,鹤城区,27.58,110.04,23,17,0,hh,hc
- 湖南省,怀化,中方县,27.44,109.95,23,16,39,hh,zf
- 湖南省,怀化,沅陵县,28.45,110.39,23,18,24,hh,yl
- 湖南省,怀化,辰溪县,28.01,110.18,23,17,34,hh,cx
- 湖南省,怀化,溆浦县,27.91,110.6,23,19,15,hh,xp
- 湖南省,怀化,会同县,26.89,109.74,23,15,48,hh,ht
- 湖南省,怀化,麻阳苗族自治县,27.86,109.8,23,16,3,hh,mymz
- 湖南省,怀化,新晃侗族自治县,27.35,109.18,23,13,34,hh,xhdz
- 湖南省,怀化,芷江侗族自治县,27.44,109.69,23,15,36,hh,zjdz
- 湖南省,怀化,靖州苗族侗族自治县,26.57,109.7,23,15,39,hh,jzmzdz
- 湖南省,怀化,通道侗族自治县,26.16,109.79,23,16,0,hh,tddz
- 湖南省,怀化,洪江,27.21,109.84,23,16,12,hh,hj
- 湖南省,娄底,市辖区,27.7,111.99,23,24,48,ld,sxq
- 湖南省,娄底,娄星区,27.73,112,23,24,51,ld,lx
- 湖南省,娄底,双峰区,27.46,112.19,23,25,36,ld,sf
- 湖南省,娄底,新化县,27.73,111.33,23,22,10,ld,xh
- 湖南省,娄底,冷水江,27.69,111.44,23,22,36,ld,lsj
- 湖南省,娄底,涟源,27.69,111.66,23,23,29,ld,ly
- 湖南省,湘西土家族苗族自治州,吉首,28.26,109.7,23,15,39,xxtjzmz,js
- 湖南省,湘西土家族苗族自治州,泸西县,28.22,110.22,23,17,43,xxtjzmz,lx
- 湖南省,湘西土家族苗族自治州,凤凰县,27.95,109.6,23,15,15,xxtjzmz,fh
- 湖南省,湘西土家族苗族自治州,花垣县,28.57,109.48,23,14,46,xxtjzmz,hy
- 湖南省,湘西土家族苗族自治州,保靖县,28.7,109.66,23,15,29,xxtjzmz,bj
- 湖南省,湘西土家族苗族自治州,古丈县,28.62,109.95,23,16,39,xxtjzmz,gz
- 湖南省,湘西土家族苗族自治州,永顺县,29,109.85,23,16,15,xxtjzmz,ys
- 湖南省,湘西土家族苗族自治州,龙山县,29.46,109.44,23,14,36,xxtjzmz,ls
- 吉林省,长春,市辖区,43.82,125.32,0,18,7,cc,sxq
- 吉林省,长春,南关区,43.86,125.35,0,18,15,cc,ng
- 吉林省,长春,宽城区,43.94,125.33,0,18,10,cc,kc
- 吉林省,长春,朝阳区,43.83,125.29,0,18,0,cc,cy
- 吉林省,长春,二道区,43.86,125.37,0,18,19,cc,ed
- 吉林省,长春,绿园区,43.88,125.26,0,17,53,cc,ly
- 吉林省,长春,双阳区,43.53,125.66,0,19,29,cc,sy
- 吉林省,长春,农安县,44.43,125.19,0,17,36,cc,na
- 吉林省,长春,九台,44.2,125.98,0,20,46,cc,jt
- 吉林省,长春,榆树,44.84,126.53,0,22,58,cc,ys
- 吉林省,长春,德惠,44.54,125.71,0,19,41,cc,dh
- 吉林省,吉林,市辖区,43.84,126.55,0,23,3,jl,sxq
- 吉林省,吉林,昌邑区,43.88,126.57,0,23,7,jl,cy
- 吉林省,吉林,龙潭区,43.91,126.56,0,23,5,jl,lt
- 吉林省,吉林,船营区,43.83,126.54,0,23,0,jl,cy
- 吉林省,吉林,丰满区,43.82,126.56,0,23,5,jl,fm
- 吉林省,吉林,永吉县,43.67,126.5,0,22,51,jl,yj
- 吉林省,吉林,蛟河,43.72,127.35,0,26,15,jl,jh
- 吉林省,吉林,桦甸,42.97,126.75,0,23,51,jl,hd
- 吉林省,吉林,舒兰,42.97,126.75,0,23,51,jl,sl
- 吉林省,吉林,磐石,42.95,126.06,0,21,5,jl,ps
- 吉林省,四平,市辖区,42.95,126.06,0,21,5,sp,sxq
- 吉林省,四平,铁西区,43.15,124.35,0,14,15,sp,tx
- 吉林省,四平,铁东区,43.16,124.41,0,14,29,sp,td
- 吉林省,四平,梨树县,43.31,124.34,0,14,12,sp,ls
- 吉林省,四平,伊通满族自治县,43.34,125.31,0,18,5,sp,ytmz
- 吉林省,四平,公主岭,43.51,124.82,0,16,7,sp,gzl
- 吉林省,四平,双辽,43.52,123.5,0,10,51,sp,sl
- 吉林省,辽源,市辖区,42.89,125.14,0,17,24,ly,sxq
- 吉林省,辽源,龙山区,42.9,125.14,0,17,24,ly,ls
- 吉林省,辽源,西安区,42.93,125.15,0,17,27,ly,xa
- 吉林省,辽源,东丰县,42.68,125.53,0,18,58,ly,df
- 吉林省,辽源,东辽县,42.93,124.99,0,16,48,ly,dl
- 吉林省,通化,市辖区,41.73,125.94,0,20,36,th,sxq
- 吉林省,通化,东昌区,41.73,125.96,0,20,41,th,dc
- 吉林省,通化,二道江区,41.77,126.04,0,21,0,th,edj
- 吉林省,通化,通化县,41.68,125.76,0,19,53,th,th
- 吉林省,通化,辉南县,42.68,126.05,0,21,3,th,hn
- 吉林省,通化,柳河县,42.28,125.75,0,19,51,th,lh
- 吉林省,通化,梅河口,42.54,125.71,0,19,41,th,mhk
- 吉林省,通化,集安,41.13,126.19,0,21,36,th,ja
- 吉林省,白山,市辖区,41.94,126.42,0,22,31,bs,sxq
- 吉林省,白山,八道江区,41.88,126.37,0,22,19,bs,bdj
- 吉林省,白山,抚松县,42.34,127.28,0,25,58,bs,fs
- 吉林省,白山,靖宇县,42.39,126.81,0,24,5,bs,jy
- 吉林省,白山,长白朝鲜自治县,41.42,128.2,0,29,39,bs,cbcx
- 吉林省,白山,江源县,42.09,126.6,0,23,15,bs,jy
- 吉林省,白山,临江,41.81,126.92,0,24,31,bs,lj
- 吉林省,松原,市辖区,45.14,124.83,0,16,10,sy,sxq
- 吉林省,松原,宁江区,45.17,124.82,0,16,7,sy,nj
- 吉林省,松原,前郭尔罗斯蒙古自治县,45.12,124.82,0,16,7,sy,qgelsmg
- 吉林省,松原,长岭县,44.28,123.97,0,12,43,sy,cl
- 吉林省,松原,乾安县,45,124.03,0,12,58,sy,qa
- 吉林省,松原,扶余县,45.12,125.56,0,19,5,sy,fy
- 吉林省,白城,市辖区,45.62,122.84,0,8,12,bc,sxq
- 吉林省,白城,洮北区,45.62,122.85,0,8,15,bc,yb
- 吉林省,白城,镇赉县,45.85,123.2,0,9,39,bc,zl
- 吉林省,白城,通榆县,44.81,123.09,0,9,12,bc,ty
- 吉林省,白城,洮南,45.34,122.79,0,8,0,bc,yn
- 吉林省,白城,大安,45.51,124.29,0,14,0,bc,da
- 吉林省,延边朝鲜族自治州,延吉,42.89,129.51,0,34,53,ybccz,yj
- 吉林省,延边朝鲜族自治州,图们,42.97,129.84,0,36,12,ybccz,tm
- 吉林省,延边朝鲜族自治州,敦化,43.37,128.23,0,29,46,ybccz,dh
- 吉林省,延边朝鲜族自治州,珲春,42.86,130.37,0,38,19,ybccz,hc
- 吉林省,延边朝鲜族自治州,龙井,42.77,129.43,0,34,34,ybccz,lj
- 吉林省,延边朝鲜族自治州,和龙,42.55,129.01,0,32,53,ybccz,hl
- 吉林省,延边朝鲜族自治州,汪清县,43.31,129.77,0,35,55,ybccz,wq
- 吉林省,延边朝鲜族自治州,安图县,43.11,128.9,0,32,27,ybccz,at
- 江苏省,南京,市辖区,32.06,118.8,23,52,3,nj,sxq
- 江苏省,南京,玄武区,32.05,118.8,23,52,3,nj,xw
- 江苏省,南京,白下区,32.02,118.82,23,52,7,nj,bx
- 江苏省,南京,秦淮区,32.04,118.8,23,52,3,nj,qh
- 江苏省,南京,建邺区,32,118.73,23,51,46,nj,jy
- 江苏省,南京,鼓楼区,32.07,118.77,23,51,55,nj,gl
- 江苏省,南京,下关区,32.1,118.77,23,51,55,nj,xg
- 江苏省,南京,浦口区,32.06,118.63,23,51,22,nj,pk
- 江苏省,南京,栖霞区,32.1,118.91,23,52,29,nj,qx
- 江苏省,南京,雨花台区,31.99,118.78,23,51,58,nj,yht
- 江苏省,南京,江宁区,31.95,118.84,23,52,12,nj,jn
- 江苏省,南京,六合区,32.32,118.82,23,52,7,nj,lh
- 江苏省,南京,溧水区,31.59,119.04,23,53,0,nj,ls
- 江苏省,南京,高淳区,31.33,118.97,23,52,43,nj,gc
- 江苏省,无锡,市辖区,31.49,120.31,23,58,5,wx,sxq
- 江苏省,无锡,崇安区,31.57,120.3,23,58,3,wx,ca
- 江苏省,无锡,南长区,31.56,120.31,23,58,5,wx,nc
- 江苏省,无锡,北塘区,31.61,120.29,23,58,0,wx,bt
- 江苏省,无锡,锡山区,31.59,120.36,23,58,17,wx,xs
- 江苏省,无锡,惠山区,31.68,120.3,23,58,3,wx,hs
- 江苏省,无锡,滨湖区,31.53,120.29,23,58,0,wx,bh
- 江苏省,无锡,江阴,31.93,120.29,23,58,0,wx,jy
- 江苏省,无锡,宜兴,31.34,119.82,23,56,7,wx,yx
- 江苏省,徐州,市辖区,34.21,117.28,23,45,58,xz,sxq
- 江苏省,徐州,鼓楼区,34.29,117.19,23,45,36,xz,gl
- 江苏省,徐州,云龙区,34.25,117.23,23,45,46,xz,yl
- 江苏省,徐州,九里区,34.32,117.12,23,45,19,xz,jl
- 江苏省,徐州,贾汪区,34.44,117.45,23,46,39,xz,jw
- 江苏省,徐州,泉山区,34.24,117.19,23,45,36,xz,qs
- 江苏省,徐州,丰县,34.69,116.59,23,43,12,xz,fx
- 江苏省,徐州,沛县,34.72,116.94,23,44,36,xz,px
- 江苏省,徐州,铜山县,34.28,117.29,23,46,0,xz,ts
- 江苏省,徐州,睢宁县,33.91,117.94,23,48,36,xz,sn
- 江苏省,徐州,新沂,34.37,118.36,23,50,17,xz,xy
- 江苏省,徐州,邳州,34.33,118.01,23,48,53,xz,pz
- 江苏省,常州,市辖区,31.78,119.96,23,56,41,cz,sxq
- 江苏省,常州,天宁区,31.78,119.98,23,56,46,cz,tn
- 江苏省,常州,钟楼区,31.8,119.9,23,56,27,cz,zl
- 江苏省,常州,戚墅堰区,31.76,120.05,23,57,3,cz,qsy
- 江苏省,常州,新北区,31.83,119.97,23,56,43,cz,xb
- 江苏省,常州,武进区,31.7,119.94,23,56,36,cz,wj
- 江苏省,常州,溧阳,31.41,119.49,23,54,48,cz,ly
- 江苏省,常州,金坛,31.72,119.6,23,55,15,cz,jt
- 江苏省,苏州,市辖区,31.3,120.58,23,59,10,sz,sxq
- 江苏省,苏州,沧浪区,31.29,120.61,23,59,17,sz,cl
- 江苏省,苏州,平江区,31.33,120.63,23,59,22,sz,pj
- 江苏省,苏州,金阊区,31.34,120.58,23,59,10,sz,jc
- 江苏省,苏州,虎丘区,31.3,120.57,23,59,7,sz,hq
- 江苏省,苏州,吴中区,31.26,120.63,23,59,22,sz,wz
- 江苏省,苏州,相城区,31.37,120.64,23,59,24,sz,xc
- 江苏省,苏州,常熟,31.65,120.75,23,59,51,sz,cs
- 江苏省,苏州,张家港,31.88,120.56,23,59,5,sz,zjg
- 江苏省,苏州,昆山,31.39,120.98,0,0,46,sz,ks
- 江苏省,苏州,吴江,31.01,120.63,23,59,22,sz,wj
- 江苏省,苏州,太仓,31.46,121.13,0,1,22,sz,tc
- 江苏省,苏州,吴县,31.33,120.54,23,59,1,sz,wx
- 江苏省,南通,市辖区,31.98,120.89,0,0,24,nt,sxq
- 江苏省,南通,崇川区,32.01,120.86,0,0,17,nt,cc
- 江苏省,南通,港闸区,32.03,120.82,0,0,7,nt,gz
- 江苏省,南通,海安县,32.54,120.47,23,58,43,nt,ha
- 江苏省,南通,如东县,32.33,121.19,0,1,36,nt,rd
- 江苏省,南通,启东,31.81,121.66,0,3,29,nt,qd
- 江苏省,南通,如皋,32.37,120.57,23,59,7,nt,rg
- 江苏省,南通,通州,32.07,121.07,0,1,7,nt,tz
- 江苏省,南通,海门,31.87,121.18,0,1,34,nt,hm
- 江苏省,连云港,市辖区,34.6,119.22,23,53,43,lyg,sxq
- 江苏省,连云港,连云区,34.76,119.34,23,54,12,lyg,ly
- 江苏省,连云港,新浦区,34.65,119.25,23,53,51,lyg,xp
- 江苏省,连云港,海州区,34.57,119.16,23,53,29,lyg,hz
- 江苏省,连云港,赣榆区,34.88,119.04,23,53,0,lyg,gy
- 江苏省,连云港,东海县,34.54,118.77,23,51,55,lyg,dh
- 江苏省,连云港,灌云县,34.28,119.24,23,53,48,lyg,gy
- 江苏省,连云港,灌南县,34.09,119.32,23,54,7,lyg,gn
- 江苏省,淮安,市辖区,33.61,119.02,23,52,55,ha,sxq
- 江苏省,淮安,清河区,33.6,119.01,23,52,53,ha,qh
- 江苏省,淮安,楚州区,33.5,119.3,23,54,3,ha,cz
- 江苏省,淮安,淮阴区,33.63,119.04,23,53,0,ha,hy
- 江苏省,淮安,清浦区,33.55,119.03,23,52,58,ha,qp
- 江苏省,淮安,涟水县,33.78,119.26,23,53,53,ha,ls
- 江苏省,淮安,洪泽县,33.29,118.87,23,52,19,ha,hz
- 江苏省,淮安,盱眙县,33.01,118.54,23,51,0,ha,xy
- 江苏省,淮安,金湖县,33.02,119.02,23,52,55,ha,jh
- 江苏省,盐城,市辖区,33.35,120.16,23,57,29,yc,sxq
- 江苏省,盐城,亭湖区,33.39,120.2,23,57,39,yc,th
- 江苏省,盐城,盐都区,33.34,120.15,23,57,27,yc,yd
- 江苏省,盐城,响水县,34.2,119.58,23,55,10,yc,xs
- 江苏省,盐城,滨海县,33.99,119.82,23,56,7,yc,bh
- 江苏省,盐城,阜宁县,33.76,119.8,23,56,3,yc,fn
- 江苏省,盐城,射阳县,33.77,120.26,23,57,53,yc,sy
- 江苏省,盐城,建湖县,33.46,119.8,23,56,3,yc,jh
- 江苏省,盐城,东台,32.87,120.32,23,58,7,yc,dt
- 江苏省,盐城,大丰,33.2,120.5,23,58,51,yc,df
- 江苏省,扬州,市辖区,32.39,119.41,23,54,29,yz,sxq
- 江苏省,扬州,广陵区,32.39,119.43,23,54,34,yz,gl
- 江苏省,扬州,邗江区,32.38,119.4,23,54,27,yz,hj
- 江苏省,扬州,郊区,30.9,117.8,23,48,3,yz,jq
- 江苏省,扬州,宝应县,33.24,119.36,23,54,17,yz,by
- 江苏省,扬州,仪征,32.27,119.18,23,53,34,yz,yz
- 江苏省,扬州,高邮,32.78,119.46,23,54,41,yz,gy
- 江苏省,扬州,江都,32.43,119.57,23,55,7,yz,jd
- 江苏省,镇江,市辖区,32.19,119.43,23,54,34,zj,sxq
- 江苏省,镇江,京口区,32.2,119.47,23,54,43,zj,jk
- 江苏省,镇江,润州区,32.2,119.41,23,54,29,zj,rz
- 江苏省,镇江,丹徒区,32.13,119.44,23,54,36,zj,dt
- 江苏省,镇江,丹阳,32.01,119.61,23,55,17,zj,dy
- 江苏省,镇江,扬中,32.24,119.8,23,56,3,zj,yz
- 江苏省,镇江,句容,31.95,119.17,23,53,31,zj,jr
- 江苏省,镇江,新区,31.95,119.17,23,53,31,zj,xq
- 江苏省,泰州,市辖区,32.46,119.93,23,56,34,tz,sxq
- 江苏省,泰州,海陵区,32.49,119.92,23,56,31,tz,hl
- 江苏省,泰州,高港区,32.32,119.88,23,56,22,tz,gg
- 江苏省,泰州,兴化,32.91,119.85,23,56,15,tz,xh
- 江苏省,泰州,靖江,32.01,120.28,23,57,58,tz,jj
- 江苏省,泰州,泰兴,32.17,120.05,23,57,3,tz,tx
- 江苏省,泰州,姜堰,32.52,120.09,23,57,12,tz,jy
- 江苏省,宿迁,市辖区,33.96,118.28,23,49,58,sq,sxq
- 江苏省,宿迁,宿城区,33.96,118.24,23,49,48,sq,sc
- 江苏省,宿迁,宿豫区,33.95,118.33,23,50,10,sq,sy
- 江苏省,宿迁,沭阳县,34.11,118.8,23,52,3,sq,sy
- 江苏省,宿迁,泗阳县,33.72,118.71,23,51,41,sq,sy
- 江苏省,宿迁,泗洪县,33.46,118.22,23,49,43,sq,sh
- 江西省,南昌,市辖区,28.68,115.86,23,40,17,nc,sxq
- 江西省,南昌,东湖区,28.68,115.9,23,40,27,nc,dh
- 江西省,南昌,西湖区,28.66,115.88,23,40,22,nc,xh
- 江西省,南昌,青云谱区,28.62,115.93,23,40,34,nc,qyp
- 江西省,南昌,湾里区,28.71,115.73,23,39,46,nc,wl
- 江西省,南昌,青山湖区,28.68,115.96,23,40,41,nc,qsh
- 江西省,南昌,南昌县,28.54,115.94,23,40,36,nc,nc
- 江西省,南昌,新建县,28.69,115.82,23,40,7,nc,xj
- 江西省,南昌,定义县,28.84,115.55,23,39,3,nc,dy
- 江西省,南昌,进贤县,28.38,116.24,23,41,48,nc,jx
- 江西省,景德镇,市辖区,29.27,117.18,23,45,34,jdz,sxq
- 江西省,景德镇,昌江区,29.27,117.19,23,45,36,jdz,cj
- 江西省,景德镇,珠山区,29.3,117.2,23,45,39,jdz,zs
- 江西省,景德镇,浮梁县,29.35,117.22,23,45,43,jdz,fl
- 江西省,景德镇,乐平,28.96,117.13,23,45,22,jdz,lp
- 江西省,萍乡,市辖区,27.62,113.86,23,32,17,px,sxq
- 江西省,萍乡,安源区,27.61,113.87,23,32,19,px,ay
- 江西省,萍乡,湘东区,27.64,113.74,23,31,48,px,xd
- 江西省,萍乡,莲花县,27.13,113.96,23,32,41,px,lh
- 江西省,萍乡,上栗县,27.88,113.8,23,32,3,px,sl
- 江西省,萍乡,芦溪县,27.63,114.03,23,32,58,px,lx
- 江西省,九江,市辖区,29.71,116,23,40,51,jj,sxq
- 江西省,九江,庐山区,29.67,115.99,23,40,48,jj,ls
- 江西省,九江,浔阳区,29.73,115.99,23,40,48,jj,xy
- 江西省,九江,九江县,29.61,115.91,23,40,29,jj,jj
- 江西省,九江,武宁县,29.26,115.1,23,37,15,jj,wn
- 江西省,九江,修水县,29.03,114.55,23,35,3,jj,xs
- 江西省,九江,永修县,29.02,115.81,23,40,5,jj,yx
- 江西省,九江,德安县,29.31,115.76,23,39,53,jj,da
- 江西省,九江,星子县,29.45,116.05,23,41,3,jj,xz
- 江西省,九江,都昌县,29.27,116.21,23,41,1,jj,dc
- 江西省,九江,湖口县,29.74,116.22,23,41,43,jj,hk
- 江西省,九江,彭泽县,29.9,116.55,23,43,3,jj,pz
- 江西省,九江,瑞昌,29.68,115.68,23,39,34,jj,rc
- 江西省,新余,市辖区,27.82,114.92,23,36,31,xy,sxq
- 江西省,新余,渝水区,27.8,114.95,23,36,39,xy,ys
- 江西省,新余,分宜县,27.81,114.69,23,35,36,xy,fy
- 江西省,鹰潭,市辖区,28.26,117.07,23,45,7,yt,sxq
- 江西省,鹰潭,月湖区,28.24,117.04,23,45,0,yt,yh
- 江西省,鹰潭,余江县,28.21,116.82,23,44,7,yt,yj
- 江西省,鹰潭,贵溪,28.29,117.25,23,45,51,yt,gx
- 江西省,赣州,市辖区,25.82,114.92,23,36,31,gz,sxq
- 江西省,赣州,章贡区,25.82,114.92,23,36,31,gz,zg
- 江西省,赣州,赣县,26.46,116.03,23,40,58,gz,gx
- 江西省,赣州,信丰县,25.38,114.92,23,36,31,gz,xf
- 江西省,赣州,大余县,25.4,114.36,23,34,17,gz,dy
- 江西省,赣州,上犹县,25.79,114.54,23,35,0,gz,sy
- 江西省,赣州,崇义县,25.68,114.31,23,34,5,gz,cy
- 江西省,赣州,安远县,25.14,115.4,23,38,27,gz,ay
- 江西省,赣州,龙南县,24.91,114.79,23,36,0,gz,ln
- 江西省,赣州,定南县,24.78,115.03,23,36,58,gz,dn
- 江西省,赣州,全南县,24.74,114.53,23,34,58,gz,qn
- 江西省,赣州,宁都县,26.47,116.01,23,40,53,gz,nd
- 江西省,赣州,于都县,25.95,115.42,23,38,31,gz,yd
- 江西省,赣州,兴国县,26.34,115.36,23,38,17,gz,xg
- 江西省,赣州,会昌县,25.6,115.79,23,40,0,gz,hc
- 江西省,赣州,寻乌县,24.96,115.65,23,39,27,gz,xw
- 江西省,赣州,石城县,26.33,116.36,23,42,17,gz,sc
- 江西省,赣州,瑞金,25.88,116.03,23,40,58,gz,rj
- 江西省,赣州,南康,25.83,114.71,23,35,41,gz,nk
- 江西省,吉安,市辖区,27.11,114.99,23,36,48,ja,sxq
- 江西省,吉安,吉州区,27.14,115,23,36,51,ja,jz
- 江西省,吉安,青原区,27.08,115.02,23,36,55,ja,qyp
- 江西省,吉安,吉安县,27.04,114.91,23,36,29,ja,ja
- 江西省,吉安,吉水县,27.23,115.14,23,37,24,ja,js
- 江西省,吉安,峡江县,27.58,115.32,23,38,7,ja,sj
- 江西省,吉安,新干县,27.74,115.39,23,38,24,ja,xg
- 江西省,吉安,永丰县,27.32,115.44,23,38,36,ja,yf
- 江西省,吉安,泰和县,26.79,114.91,23,36,29,ja,th
- 江西省,吉安,遂川县,26.31,114.52,23,34,55,ja,sc
- 江西省,吉安,万安县,26.46,114.79,23,36,0,ja,wa
- 江西省,吉安,安福县,27.39,114.62,23,35,19,ja,af
- 江西省,吉安,永新县,26.94,114.24,23,33,48,ja,yx
- 江西省,吉安,井冈山,26.53,114.15,23,33,27,ja,jgs
- 江西省,宜春,市辖区,27.81,114.42,23,34,31,yc,sxq
- 江西省,宜春,袁州区,27.79,114.43,23,34,34,yc,yz
- 江西省,宜春,奉新县,28.69,115.4,23,38,27,yc,fx
- 江西省,宜春,万载县,28.11,114.45,23,34,39,yc,wz
- 江西省,宜春,上高县,28.23,114.93,23,36,34,yc,sg
- 江西省,宜春,宜丰县,28.39,114.81,23,36,5,yc,yf
- 江西省,宜春,靖安县,28.86,115.36,23,38,17,yc,ja
- 江西省,宜春,铜鼓县,28.52,114.37,23,34,19,yc,tg
- 江西省,宜春,丰城,28.16,115.77,23,39,55,yc,fc
- 江西省,宜春,樟树,28.05,115.55,23,39,3,yc,zs
- 江西省,宜春,高安,28.42,115.38,23,38,22,yc,ga
- 江西省,抚州,市辖区,27.95,116.36,23,42,17,fz,sxq
- 江西省,抚州,临川区,27.93,116.31,23,42,5,fz,lc
- 江西省,抚州,南城县,27.57,116.64,23,43,24,fz,nc
- 江西省,抚州,黎川县,27.28,116.91,23,44,29,fz,lc
- 江西省,抚州,南丰县,27.22,116.53,23,42,58,fz,nf
- 江西省,抚州,崇仁县,27.76,116.06,23,41,5,fz,cr
- 江西省,抚州,乐安县,27.43,115.83,23,40,10,fz,la
- 江西省,抚州,宜黄县,27.55,116.24,23,41,48,fz,yh
- 江西省,抚州,金溪县,27.92,116.76,23,43,53,fz,jx
- 江西省,抚州,资溪县,27.7,117.06,23,45,5,fz,zx
- 江西省,抚州,东乡县,28.25,116.6,23,43,15,fz,dx
- 江西省,抚州,广昌县,26.84,116.33,23,42,10,fz,gc
- 江西省,上饶,市辖区,28.45,117.94,23,48,36,sr,sxq
- 江西省,上饶,信州区,28.43,117.97,23,48,43,sr,xz
- 江西省,上饶,上饶县,28.45,117.91,23,48,29,sr,sr
- 江西省,上饶,广丰县,28.43,118.19,23,49,36,sr,gf
- 江西省,上饶,玉山县,28.68,118.25,23,49,51,sr,ys
- 江西省,上饶,铅山县,28.31,117.71,23,47,41,sr,qs
- 江西省,上饶,横峰县,28.41,117.6,23,47,15,sr,hf
- 江西省,上饶,戈阳县,28.38,117.45,23,46,39,sr,gy
- 江西省,上饶,余干县,28.7,116.7,23,43,39,sr,yg
- 江西省,上饶,鄱阳县,29,116.71,23,43,41,sr,py
- 江西省,上饶,万年县,28.69,117.06,23,45,5,sr,wn
- 江西省,上饶,婺源县,29.25,117.86,23,48,17,sr,wy
- 江西省,上饶,德兴,28.95,117.58,23,47,10,sr,dx
- 辽宁省,沈阳,市辖区,41.8,123.43,0,10,34,sy,sxq
- 辽宁省,沈阳,和平区,41.79,123.42,0,10,31,sy,hp
- 辽宁省,沈阳,沈河区,41.8,123.46,0,10,41,sy,sh
- 辽宁省,沈阳,大东区,41.8,123.47,0,10,43,sy,dd
- 辽宁省,沈阳,皇姑区,41.82,123.42,0,10,31,sy,hg
- 辽宁省,沈阳,铁西区,41.8,123.38,0,10,22,sy,tx
- 辽宁省,沈阳,苏家屯区,41.66,123.35,0,10,15,sy,sjt
- 辽宁省,沈阳,东陵区,41.76,123.59,0,11,12,sy,dl
- 辽宁省,沈阳,新城子区,42.05,123.53,0,10,58,sy,xcz
- 辽宁省,沈阳,于洪区,41.79,123.31,0,10,5,sy,yh
- 辽宁省,沈阳,辽中县,41.51,122.73,0,7,46,sy,lz
- 辽宁省,沈阳,康平县,42.75,123.35,0,10,15,sy,kp
- 辽宁省,沈阳,法库县,42.5,123.41,0,10,29,sy,fk
- 辽宁省,沈阳,新民,42,122.83,0,8,10,sy,xm
- 辽宁省,大连,市辖区,38.91,121.61,0,3,17,dl,sxq
- 辽宁省,大连,中山区,38.92,121.64,0,3,24,dl,zs
- 辽宁省,大连,西岗区,38.91,121.61,0,3,17,dl,xg
- 辽宁省,大连,沙河口区,38.9,121.6,0,3,15,dl,shk
- 辽宁省,大连,甘井子区,38.95,121.53,0,2,58,dl,gjz
- 辽宁省,大连,旅顺口区,38.85,121.26,0,1,53,dl,lsk
- 辽宁省,大连,金州区,39.05,121.78,0,3,58,dl,jz
- 辽宁省,大连,长海县,39.27,122.59,0,7,12,dl,ch
- 辽宁省,大连,瓦房店,39.63,121.98,0,4,46,dl,wf
- 辽宁省,大连,普兰店,39.39,121.96,0,4,41,dl,pl
- 辽宁省,大连,庄河,39.68,122.97,0,8,43,dl,zh
- 辽宁省,鞍山,市辖区,41.11,122.99,0,8,48,as,sxq
- 辽宁省,鞍山,铁东区,41.09,122.99,0,8,48,as,td
- 辽宁省,鞍山,铁西区,41.12,122.97,0,8,43,as,tx
- 辽宁省,鞍山,立山区,41.15,123.03,0,8,58,as,lsk
- 辽宁省,鞍山,千山区,41.07,122.96,0,8,41,as,qs
- 辽宁省,鞍山,台安县,41.41,122.44,0,6,36,as,ta
- 辽宁省,鞍山,岫岩满族自治县,40.29,123.28,0,9,58,as,xymz
- 辽宁省,鞍山,海城,40.88,122.69,0,7,36,as,hc
- 辽宁省,抚顺,市辖区,41.88,123.96,0,12,41,fs,sxq
- 辽宁省,抚顺,新抚区,41.86,123.87,0,12,19,fs,xf
- 辽宁省,抚顺,东洲区,41.85,124.04,0,13,0,fs,dz
- 辽宁省,抚顺,望花区,41.85,123.79,0,12,0,fs,wh
- 辽宁省,抚顺,顺城区,41.88,123.95,0,12,39,fs,sc
- 辽宁省,抚顺,抚顺县,41.79,124.2,0,13,39,fs,fs
- 辽宁省,抚顺,新宾满族自治县,41.73,125.04,0,17,0,fs,xbmz
- 辽宁省,抚顺,清原满族自治县,42.1,124.92,0,16,31,fs,qymz
- 辽宁省,本溪,市辖区,41.28,123.76,0,11,53,bx,sxq
- 辽宁省,本溪,平山区,41.22,123.68,0,11,34,bx,ps
- 辽宁省,本溪,溪湖区,41.33,123.77,0,11,55,bx,xh
- 辽宁省,本溪,明山区,41.31,123.82,0,12,7,bx,ms
- 辽宁省,本溪,南芬区,41.1,123.75,0,11,51,bx,nf
- 辽宁省,本溪,本溪满族自治县,41.3,124.12,0,13,19,bx,bxmz
- 辽宁省,本溪,桓仁满族自治县,41.27,125.36,0,18,17,bx,hrmz
- 辽宁省,丹东,市辖区,40,124.36,0,14,17,dd,sxq
- 辽宁省,丹东,元宝区,40.14,124.4,0,14,27,dd,yb
- 辽宁省,丹东,振兴区,40.11,124.36,0,14,17,dd,zx
- 辽宁省,丹东,振安区,40.16,124.43,0,14,34,dd,za
- 辽宁省,丹东,宽甸满族自治县,40.73,124.78,0,15,58,dd,kdmz
- 辽宁省,丹东,东港,39.86,124.15,0,13,27,dd,dg
- 辽宁省,丹东,凤城,40.45,124.07,0,13,7,dd,fc
- 辽宁省,锦州,市辖区,41.1,121.13,0,1,22,jz,sxq
- 辽宁省,锦州,古塔区,41.12,121.13,0,1,22,jz,gt
- 辽宁省,锦州,凌河区,41.11,121.15,0,1,27,jz,lh
- 辽宁省,锦州,太和区,41.11,121.1,0,1,15,jz,th
- 辽宁省,锦州,黑山县,41.69,122.12,0,5,19,jz,hs
- 辽宁省,锦州,义县,41.53,121.24,0,1,48,jz,yx
- 辽宁省,锦州,凌海,41.17,121.36,0,2,17,jz,lh
- 辽宁省,锦州,北宁,41.59,121.8,0,4,3,jz,bn
- 辽宁省,营口,市辖区,40.67,122.24,0,5,48,yk,sxq
- 辽宁省,营口,站前区,40.67,122.26,0,5,53,yk,zq
- 辽宁省,营口,西市区,40.67,122.21,0,5,41,yk,xs
- 辽宁省,营口,鲅鱼圈区,40.23,122.12,0,5,19,yk,byq
- 辽宁省,营口,老边区,40.68,122.38,0,6,22,yk,lb
- 辽宁省,营口,盖州,40.4,122.35,0,6,15,yk,gz
- 辽宁省,营口,大石桥,40.61,122.5,0,6,51,yk,dsq
- 辽宁省,阜新,市辖区,42.02,121.67,0,3,31,fx,sxq
- 辽宁省,阜新,海州区,42.01,121.66,0,3,29,fx,hz
- 辽宁省,阜新,新邱区,42.09,121.79,0,4,0,fx,xq
- 辽宁省,阜新,太平区,42.01,121.68,0,3,34,fx,tp
- 辽宁省,阜新,清河门区,41.78,121.42,0,2,31,fx,qhm
- 辽宁省,阜新,细河区,42.02,121.68,0,3,34,fx,xh
- 辽宁省,阜新,阜新蒙古族自治县,42.06,121.76,0,3,53,fx,fxmgz
- 辽宁省,阜新,彰武县,42.39,122.54,0,7,0,fx,zw
- 辽宁省,辽阳,市辖区,41.27,123.24,0,9,48,ly,sxq
- 辽宁省,辽阳,白塔区,41.27,123.17,0,9,31,ly,bt
- 辽宁省,辽阳,文圣区,41.26,123.18,0,9,34,ly,ws
- 辽宁省,辽阳,宏伟区,41.22,123.2,0,9,39,ly,hw
- 辽宁省,辽阳,弓长岭区,41.15,123.42,0,10,31,ly,gcl
- 辽宁省,辽阳,太子河区,41.25,123.18,0,9,34,ly,tzh
- 辽宁省,辽阳,辽阳县,41.21,123.11,0,9,17,ly,ly
- 辽宁省,辽阳,灯塔,41.43,123.34,0,10,12,ly,dt
- 辽宁省,盘锦,市辖区,41.12,122.07,0,5,7,pj,sxq
- 辽宁省,盘锦,双台子区,41.19,122.06,0,5,5,pj,stz
- 辽宁省,盘锦,兴隆台区,41.14,122.11,0,5,17,pj,xlt
- 辽宁省,盘锦,大洼县,41,122.08,0,5,10,pj,dw
- 辽宁省,盘锦,盘山县,41.24,122,0,4,51,pj,ps
- 辽宁省,铁岭,市辖区,42.29,123.84,0,12,12,tl,sxq
- 辽宁省,铁岭,银州区,42.29,123.84,0,12,12,tl,yz
- 辽宁省,铁岭,清河区,42.55,124.16,0,13,29,tl,qh
- 辽宁省,铁岭,铁岭县,42.22,123.73,0,11,46,tl,tl
- 辽宁省,铁岭,西丰县,42.74,124.73,0,15,46,tl,xf
- 辽宁省,铁岭,昌图县,42.79,124.11,0,13,17,tl,ct
- 辽宁省,铁岭,调兵山,42.46,123.57,0,11,7,tl,dbs
- 辽宁省,铁岭,开原,42.55,124.04,0,13,0,tl,ky
- 辽宁省,朝阳,市辖区,41.57,120.45,23,58,39,cy,sxq
- 辽宁省,朝阳,双塔区,41.57,120.46,23,58,41,cy,st
- 辽宁省,朝阳,龙城区,41.6,120.42,23,58,31,cy,lc
- 辽宁省,朝阳,朝阳县,41.37,120.3,23,58,3,cy,cy
- 辽宁省,朝阳,建平县,41.4,119.64,23,55,24,cy,jp
- 辽宁省,朝阳,喀喇沁左翼蒙古族自治县,41.12,119.74,23,55,48,cy,klqzymgz
- 辽宁省,朝阳,北票,41.8,120.77,23,59,55,cy,bp
- 辽宁省,朝阳,凌源,41.25,119.4,23,54,27,cy,ly
- 辽宁省,葫芦岛,市辖区,40.71,120.84,0,0,12,hld,sxq
- 辽宁省,葫芦岛,连山区,40.77,120.87,0,0,19,hld,ls
- 辽宁省,葫芦岛,龙港区,40.74,120.9,0,0,27,hld,lg
- 辽宁省,葫芦岛,南票区,41.11,120.75,23,59,51,hld,np
- 辽宁省,葫芦岛,绥中县,40.33,120.34,23,58,12,hld,sz
- 辽宁省,葫芦岛,建昌县,40.82,119.84,23,56,12,hld,jc
- 辽宁省,葫芦岛,兴城,40.61,120.76,23,59,53,hld,xc
- 内蒙古,呼和浩特,市辖区,40.84,111.75,23,23,51,heht,sxq
- 内蒙古,呼和浩特,新城区,40.86,111.66,23,23,29,heht,xc
- 内蒙古,呼和浩特,回民区,40.81,111.62,23,23,19,heht,hm
- 内蒙古,呼和浩特,玉泉区,40.75,111.68,23,23,34,heht,yq
- 内蒙古,呼和浩特,赛罕区,40.79,111.7,23,23,39,heht,sh
- 内蒙古,呼和浩特,土默特左旗,40.73,111.16,23,21,29,heht,tmtzq
- 内蒙古,呼和浩特,托克托县,40.28,111.2,23,21,39,heht,tktx
- 内蒙古,呼和浩特,和林格尔县,40.38,111.82,23,24,7,heht,hlge
- 内蒙古,呼和浩特,清水河县,39.91,111.69,23,23,36,heht,qsh
- 内蒙古,呼和浩特,武川县,41.1,111.45,23,22,39,heht,wc
- 内蒙古,包头,市辖区,40.66,109.84,23,16,12,bt,sxq
- 内蒙古,包头,东河区,40.57,110.04,23,17,0,bt,dh
- 内蒙古,包头,昆都仑区,40.64,109.84,23,16,12,bt,kdl
- 内蒙古,包头,青山区,40.65,109.9,23,16,27,bt,qsh
- 内蒙古,包头,石拐区,40.67,110.27,23,17,55,bt,sg
- 内蒙古,包头,白云矿区,41.77,109.97,23,16,43,bt,byk
- 内蒙古,包头,九原区,40.61,109.97,23,16,43,bt,jy
- 内蒙古,包头,土默特右旗,40.57,110.53,23,18,58,bt,tmtyq
- 内蒙古,包头,固阳县,41.03,110.06,23,17,5,bt,gy
- 内蒙古,包头,达尔罕茂明安联合旗,41.7,110.43,23,18,34,bt,dehmma
- 内蒙古,乌海,市辖区,39.65,106.8,23,4,3,wh,sxq
- 内蒙古,乌海,海勃湾区,39.69,106.82,23,4,7,wh,hbw
- 内蒙古,乌海,海南区,39.44,106.89,23,4,24,wh,hn
- 内蒙古,乌海,乌达区,39.5,106.73,23,3,46,wh,wd
- 内蒙古,赤峰,市辖区,42.26,118.89,23,52,24,cf,sxq
- 内蒙古,赤峰,红山区,42.27,118.96,23,52,41,cf,hs
- 内蒙古,赤峰,元宝山区,42.04,119.29,23,54,0,cf,ybs
- 内蒙古,赤峰,松山区,42.29,118.93,23,52,34,cf,ss
- 内蒙古,赤峰,阿鲁科尔沁旗,43.87,120.06,23,57,5,cf,alkeq
- 内蒙古,赤峰,巴林左旗,43.97,119.38,23,54,22,cf,bazq
- 内蒙古,赤峰,巴林右旗,43.53,118.67,23,51,31,cf,blyq
- 内蒙古,赤峰,林西县,43.62,118.06,23,49,5,cf,lx
- 内蒙古,赤峰,克什克腾旗,43.26,117.55,23,47,3,cf,ksktq
- 内蒙古,赤峰,翁牛特旗,42.93,119.01,23,52,53,cf,wntq
- 内蒙古,赤峰,喀喇沁旗,41.93,118.7,23,51,39,cf,klqq
- 内蒙古,赤峰,宁城县,41.59,119.34,23,54,12,cf,nc
- 内蒙古,赤峰,敖汉旗,42.29,119.92,23,56,31,cf,ah
- 内蒙古,通辽,市辖区,43.65,122.25,0,5,51,tl,sxq
- 内蒙古,通辽,科尔沁区,43.62,122.26,0,5,53,tl,keq
- 内蒙古,通辽,科尔沁左翼中旗,44.05,122.5,0,6,51,tl,keqzyzq
- 内蒙古,通辽,科尔沁左翼后旗,43.19,122.7,0,7,39,tl,keqzyhq
- 内蒙古,通辽,开鲁县,43.6,121.32,0,2,7,tl,kl
- 内蒙古,通辽,库伦旗,42.73,121.81,0,4,5,tl,klq
- 内蒙古,通辽,奈曼旗,42.87,120.66,23,59,29,tl,nmq
- 内蒙古,通辽,扎鲁特旗,44.56,120.91,0,0,29,tl,zltq
- 内蒙古,通辽,霍林郭勒,45.53,119.66,23,55,29,tl,hlgl
- 内蒙古,鄂尔多斯,东胜区,39.82,109.96,23,16,41,eeds,ds
- 内蒙古,鄂尔多斯,达拉特旗,40.4,110.04,23,17,0,eeds,dltq
- 内蒙古,鄂尔多斯,准格尔旗,39.86,111.24,23,21,48,eeds,zgeq
- 内蒙古,鄂尔多斯,鄂托克前旗,38.18,107.48,23,6,46,eeds,etkqq
- 内蒙古,鄂尔多斯,鄂托克旗,39.09,107.98,23,8,46,eeds,etkq
- 内蒙古,鄂尔多斯,杭锦旗,39.83,108.73,23,11,46,eeds,hjq
- 内蒙古,鄂尔多斯,乌审旗,38.6,108.82,23,12,7,eeds,wsq
- 内蒙古,鄂尔多斯,伊金霍洛旗,39.56,109.75,23,15,51,eeds,yjhlq
- 内蒙古,呼伦贝尔,市辖区,49.21,119.77,23,55,55,hlbe,sxq
- 内蒙古,呼伦贝尔,海拉尔区,49.21,119.74,23,55,48,hlbe,hle
- 内蒙古,呼伦贝尔,阿荣旗,48.13,123.46,0,10,41,hlbe,arq
- 内蒙古,呼伦贝尔,莫力达瓦达斡尔族自治旗,49.1,124.47,0,14,43,hlbe,mldwdhez
- 内蒙古,呼伦贝尔,鄂伦春自治旗,50.59,123.73,0,11,46,hlbe,elc
- 内蒙古,呼伦贝尔,鄂温克族自治旗,49.15,119.76,23,55,53,hlbe,ewkz
- 内蒙古,呼伦贝尔,陈巴尔虎旗,49.33,119.43,23,54,34,hlbe,cbehq
- 内蒙古,呼伦贝尔,新巴尔虎左旗,48.22,118.27,23,49,55,hlbe,xbehzq
- 内蒙古,呼伦贝尔,新巴尔虎右旗,48.67,116.82,23,44,7,hlbe,xbegyq
- 内蒙古,呼伦贝尔,满洲里,49.6,117.38,23,46,22,hlbe,mzl
- 内蒙古,呼伦贝尔,牙克石,49.29,120.71,23,59,41,hlbe,yks
- 内蒙古,呼伦贝尔,扎兰屯,48.01,122.74,0,7,48,hlbe,zlt
- 内蒙古,呼伦贝尔,额尔古纳,50.24,120.18,23,57,34,hlbe,eegn
- 内蒙古,呼伦贝尔,根河,50.78,121.52,0,2,55,hlbe,gh
- 内蒙古,巴彦淖尔,市辖区,40.74,107.39,23,6,24,byze,sxq
- 内蒙古,巴彦淖尔,临河区,40.77,107.39,23,6,24,byze,lh
- 内蒙古,巴彦淖尔,五原县,41.09,108.27,23,9,55,byze,wy
- 内蒙古,巴彦淖尔,磴口县,40.33,107.01,23,4,53,byze,dk
- 内蒙古,巴彦淖尔,乌拉特前旗,40.74,108.65,23,11,27,byze,wltqq
- 内蒙古,巴彦淖尔,乌拉特中旗,41.57,108.53,23,10,58,byze,wltzq
- 内蒙古,巴彦淖尔,乌拉特后旗,41.08,107.08,23,5,10,byze,wlthq
- 内蒙古,巴彦淖尔,杭锦后旗,40.89,107.15,23,5,27,byze,hjhq
- 内蒙古,乌兰察布,市辖区,40.99,113.13,23,29,22,wlcb,sxq
- 内蒙古,乌兰察布,集宁区,40.99,113.12,23,29,19,wlcb,jn
- 内蒙古,乌兰察布,卓资县,40.89,112.58,23,27,10,wlcb,zz
- 内蒙古,乌兰察布,化德县,41.9,114.01,23,32,53,wlcb,hd
- 内蒙古,乌兰察布,商都县,41.56,113.58,23,31,10,wlcb,sd
- 内蒙古,乌兰察布,兴和县,40.87,113.83,23,32,10,wlcb,xh
- 内蒙古,乌兰察布,凉城县,40.53,112.5,23,26,51,wlcb,lc
- 内蒙古,乌兰察布,察哈尔右翼前旗,41.02,113.32,23,30,7,wlcb,cheyyqq
- 内蒙古,乌兰察布,察哈尔右翼中旗,41.27,112.64,23,27,24,wlcb,cheyyzq
- 内蒙古,乌兰察布,察哈尔右翼后旗,41.43,113.19,23,29,36,wlcb,cheyyhq
- 内蒙古,乌兰察布,四子王旗,41.53,111.71,23,23,41,wlcb,szwq
- 内蒙古,乌兰察布,丰镇,40.43,113.11,23,29,17,wlcb,fz
- 内蒙古,兴安盟,乌兰浩特,46.07,122.09,0,5,12,xam,wlht
- 内蒙古,兴安盟,阿尔山,47.18,119.94,23,56,36,xam,aes
- 内蒙古,兴安盟,科尔沁右翼前旗,46.33,121.22,0,1,43,xam,eeqyyqq
- 内蒙古,兴安盟,科尔沁右翼中旗,45.06,121.48,0,2,46,xam,keqyyzq
- 内蒙古,兴安盟,扎赉特旗,46.72,122.9,0,8,27,xam,zltq
- 内蒙古,兴安盟,突泉县,45.38,121.6,0,3,15,xam,tq
- 内蒙古,锡林郭勒盟,二连浩特,43.64,111.95,23,24,39,xlglm,elht
- 内蒙古,锡林郭勒盟,锡林浩特,43.93,116.09,23,41,12,xlglm,xlht
- 内蒙古,锡林郭勒盟,阿巴嘎旗,44.02,114.95,23,36,39,xlglm,abgq
- 内蒙古,锡林郭勒盟,苏尼特左旗,43.86,113.67,23,31,31,xlglm,sntzq
- 内蒙古,锡林郭勒盟,苏尼特右旗,42.75,112.66,23,27,29,xlglm,sntyq
- 内蒙古,锡林郭勒盟,东乌珠穆沁旗,45.51,116.97,23,44,43,xlglm,dwzmqq
- 内蒙古,锡林郭勒盟,西乌珠穆沁旗,44.59,117.61,23,47,17,xlglm,xwzmqq
- 内蒙古,锡林郭勒盟,太仆寺旗,41.88,115.28,23,37,58,xlglm,tpsq
- 内蒙古,锡林郭勒盟,镶黄旗,42.23,113.85,23,32,15,xlglm,xhq
- 内蒙古,锡林郭勒盟,正镶白旗,42.29,115.03,23,36,58,xlglm,zxbq
- 内蒙古,锡林郭勒盟,正蓝旗,42.24,115.99,23,40,48,xlglm,zlq
- 内蒙古,锡林郭勒盟,多伦县,42.2,116.49,23,42,48,xlglm,dl
- 内蒙古,阿拉善盟,阿拉善左旗,38.83,105.67,22,59,31,alsm,alszq
- 内蒙古,阿拉善盟,阿拉善右旗,39.22,101.67,22,43,31,alsm,alsyq
- 内蒙古,阿拉善盟,额济纳旗,41.95,101.06,22,41,5,alsm,ejnq
- 宁夏省,银川,市辖区,38.47,106.29,23,2,0,yc,sxq
- 宁夏省,银川,兴庆区,38.46,106.28,23,1,58,yc,xq
- 宁夏省,银川,西夏区,38.49,106.15,23,1,27,yc,xx
- 宁夏省,银川,金凤区,38.49,106.25,23,1,51,yc,jf
- 宁夏省,银川,永宁县,38.27,106.25,23,1,51,yc,yn
- 宁夏省,银川,贺兰县,38.56,106.33,23,2,10,yc,hl
- 宁夏省,银川,灵武,38.1,106.34,23,2,12,yc,lw
- 宁夏省,石嘴山,市辖区,38.98,106.39,23,2,24,szs,xsq
- 宁夏省,石嘴山,大武口区,39.02,106.37,23,2,19,szs,dwk
- 宁夏省,石嘴山,惠农区,39.23,106.78,23,3,58,szs,hn
- 宁夏省,石嘴山,平罗县,38.91,106.52,23,2,55,szs,pl
- 宁夏省,吴忠,市辖区,38,106.2,23,1,39,wz,sxq
- 宁夏省,吴忠,利通区,37.98,106.21,23,1,41,wz,lt
- 宁夏省,吴忠,盐池县,37.78,107.41,23,6,29,wz,yc
- 宁夏省,吴忠,同心县,36.98,105.91,23,0,29,wz,tx
- 宁夏省,吴忠,青铜峡,38.02,106.08,23,1,10,wz,qtx
- 宁夏省,固原,市辖区,36.02,106.24,23,1,48,gy,sxq
- 宁夏省,固原,原州区,36,106.29,23,2,0,gy,yz
- 宁夏省,固原,西吉县,35.96,105.73,22,59,46,gy,xj
- 宁夏省,固原,隆德县,35.62,106.12,23,1,19,gy,ld
- 宁夏省,固原,泾源县,35.5,106.33,23,2,10,gy,jy
- 宁夏省,固原,彭阳县,35.85,106.64,23,3,24,gy,py
- 宁夏省,中卫,市辖区,37.5,105.2,22,57,39,zw,sxq
- 宁夏省,中卫,沙坡头区,37.52,105.19,22,57,36,zw,spt
- 宁夏省,中卫,中宁县,37.49,105.68,22,59,34,zw,zn
- 宁夏省,中卫,海原县,36.57,105.64,22,59,24,zw,hy
- 青海省,西宁,市辖区,36.62,101.78,22,43,58,xn,sxq
- 青海省,西宁,城东区,36.6,101.8,22,44,3,xn,cd
- 青海省,西宁,城中区,36.59,101.77,22,43,55,xn,cz
- 青海省,西宁,城西区,36.63,101.77,22,43,55,xn,cx
- 青海省,西宁,城北区,36.65,101.77,22,43,55,xn,cb
- 青海省,西宁,大通回族自治县,36.93,101.69,22,43,36,xn,dthz
- 青海省,西宁,湟中县,36.5,101.57,22,43,7,xn,hz
- 青海省,西宁,湟源县,36.68,101.26,22,41,53,xn,hy
- 青海省,海东地区,平安县,36.4,102,22,44,51,hd,pa
- 青海省,海东地区,民和回族土族自治县,36.32,102.83,22,48,10,hd,mhhztz
- 青海省,海东地区,乐都县,36.5,102.42,22,46,31,hd,ld
- 青海省,海东地区,互助土族自治县,36.84,101.96,22,44,41,hd,hztz
- 青海省,海东地区,化隆回族自治县,36.09,102.26,22,45,53,hd,hlhz
- 青海省,海东地区,循化撒拉族自治县,35.85,102.49,22,46,48,hd,xhslz
- 青海省,海北藏族自治州,门源回族自治县,37.38,101.62,22,43,19,hbzz,myhz
- 青海省,海北藏族自治州,祁连县,38.18,100.26,22,37,53,hbzz,ql
- 青海省,海北藏族自治州,海晏县,36.9,101,22,40,51,hbzz,hy
- 青海省,海北藏族自治州,刚察县,37.32,100.15,22,37,27,hbzz,gc
- 青海省,黄南藏族自治州,同仁县,35.52,102.02,22,44,55,hnzz,tr
- 青海省,黄南藏族自治州,尖扎县,35.94,102.03,22,44,58,hnzz,jz
- 青海省,黄南藏族自治州,泽库县,35.04,101.47,22,42,43,hnzz,zk
- 青海省,黄南藏族自治州,河南蒙古族自治县,34.73,101.62,22,43,19,hnzz,hnmgz
- 青海省,海南藏族自治州,共和县,36.28,100.62,22,39,19,hnzz,gh
- 青海省,海南藏族自治州,同德县,35.25,100.58,22,39,10,hnzz,td
- 青海省,海南藏族自治州,贵德县,36.04,101.44,22,42,36,hnzz,gd
- 青海省,海南藏族自治州,兴海县,35.59,99.99,22,36,48,hnzz,xh
- 青海省,海南藏族自治州,贵南县,35.59,100.75,22,39,51,hnzz,gn
- 青海省,果洛藏族自治州,玛沁县,34.48,100.24,22,37,48,glzz,mq
- 青海省,果洛藏族自治州,班玛县,32.93,100.74,22,39,48,glzz,bm
- 青海省,果洛藏族自治州,甘德县,33.97,99.9,22,36,27,glzz,gd
- 青海省,果洛藏族自治州,达日县,33.75,99.65,22,35,27,glzz,dr
- 青海省,果洛藏族自治州,久治县,33.43,101.48,22,42,46,glzz,jz
- 青海省,果洛藏族自治州,玛多县,34.92,98.21,22,29,41,glzz,md
- 青海省,玉树藏族自治州,玉树县,32.92,96.67,22,23,31,yszz,ys
- 青海省,玉树藏族自治州,杂多县,32.89,95.3,22,18,3,yszz,zd
- 青海省,玉树藏族自治州,称多县,33.37,97.11,22,25,17,yszz,cd
- 青海省,玉树藏族自治州,治多县,33.85,95.61,22,19,17,yszz,zd
- 青海省,玉树藏族自治州,囊谦县,32.2,96.48,22,22,46,yszz,nq
- 青海省,玉树藏族自治州,曲麻菜县,34.13,95.8,22,20,3,yszz,qml
- 青海省,海西蒙古族藏族自治州,格尔木,36.4,94.9,22,16,27,hxmgz,gem
- 青海省,海西蒙古族藏族自治州,德令哈,37.37,97.36,22,26,17,hxmgz,dlh
- 青海省,海西蒙古族藏族自治州,乌兰县,36.93,98.48,22,30,46,hxmgz,wl
- 青海省,海西蒙古族藏族自治州,都兰县,36.3,98.1,22,29,15,hxmgz,dl
- 青海省,海西蒙古族藏族自治州,天峻县,37.3,99.02,22,32,55,hxmgz,tj
- 山东省,济南,市辖区,36.67,117,23,44,51,jn,sxq
- 山东省,济南,历下区,36.67,117.08,23,45,10,jn,lx
- 山东省,济南,市中区,36.65,117,23,44,51,jn,sz
- 山东省,济南,槐荫区,36.65,116.9,23,44,27,jn,hy
- 山东省,济南,天桥区,36.68,116.99,23,44,48,jn,tq
- 山东省,济南,历城区,36.68,117.07,23,45,7,jn,lc
- 山东省,济南,长清区,36.55,116.75,23,43,51,jn,qc
- 山东省,济南,平阴县,36.29,116.46,23,42,41,jn,py
- 山东省,济南,济阳县,36.98,117.18,23,45,34,jn,jy
- 山东省,济南,商河县,37.31,117.16,23,45,29,jn,sh
- 山东省,济南,章丘,36.68,117.53,23,46,58,jn,zq
- 山东省,青岛,市辖区,36.07,120.38,23,58,22,qd,sxq
- 山东省,青岛,市南区,36.07,120.41,23,58,29,qd,sn
- 山东省,青岛,市北区,36.09,120.38,23,58,22,qd,sb
- 山东省,青岛,四方区,36.12,120.37,23,58,19,qd,sf
- 山东省,青岛,黄岛区,35.96,120.2,23,57,39,qd,hd
- 山东省,青岛,崂山区,36.11,120.47,23,58,43,qd,ls
- 山东省,青岛,李沧区,36.14,120.43,23,58,34,qd,lc
- 山东省,青岛,城阳区,36.31,120.4,23,58,27,qd,cy
- 山东省,青岛,胶州,36.26,120.04,23,57,0,qd,jz
- 山东省,青岛,即墨,36.39,120.45,23,58,39,qd,jm
- 山东省,青岛,平度,36.79,119.96,23,56,41,qd,pd
- 山东省,青岛,胶南,35.85,119.85,23,56,15,qd,jn
- 山东省,青岛,莱西,36.89,120.52,23,58,55,qd,lx
- 山东省,淄博,市辖区,36.81,118.05,23,49,3,zb,sxq
- 山东省,淄博,淄川区,36.64,117.97,23,48,43,zb,zc
- 山东省,淄博,张店区,36.81,118.02,23,48,55,zb,zd
- 山东省,淄博,博山区,36.49,117.86,23,48,17,zb,bs
- 山东省,淄博,临淄区,36.83,118.31,23,50,5,zb,lz
- 山东省,淄博,周村区,36.8,117.87,23,48,19,zb,zc
- 山东省,淄博,桓台区,36.96,118.1,23,49,15,zb,ht
- 山东省,淄博,高青县,37.17,117.83,23,48,10,zb,gq
- 山东省,淄博,沂源县,36.18,118.17,23,49,31,zb,yy
- 山东省,枣庄,市辖区,34.81,117.32,23,46,7,zz,sxq
- 山东省,枣庄,市中区,34.86,117.56,23,47,5,zz,sz
- 山东省,枣庄,薛城区,34.79,117.26,23,45,53,zz,xc
- 山东省,枣庄,峄城区,34.77,117.59,23,47,12,zz,yc
- 山东省,枣庄,台儿庄区,34.56,117.73,23,47,46,zz,tez
- 山东省,枣庄,山亭区,35.1,117.46,23,46,41,zz,st
- 山东省,枣庄,滕州,35.11,117.17,23,45,31,zz,tz
- 山东省,东营,市辖区,37.43,118.68,23,51,34,dy,sxq
- 山东省,东营,东营区,37.45,118.58,23,51,10,dy,dy
- 山东省,东营,河口区,37.89,118.53,23,50,58,dy,hk
- 山东省,东营,垦利县,37.59,118.55,23,51,3,dy,kl
- 山东省,东营,利津县,37.49,118.26,23,49,53,dy,lj
- 山东省,东营,广饶县,37.05,118.41,23,50,29,dy,gr
- 山东省,烟台,市辖区,37.46,121.45,0,2,39,yt,sxq
- 山东省,烟台,芝罘区,37.54,121.4,0,2,27,yt,zf
- 山东省,烟台,福山区,37.5,121.27,0,1,55,yt,fs
- 山东省,烟台,牟平区,37.39,121.6,0,3,15,yt,mp
- 山东省,烟台,莱山区,37.51,121.45,0,2,39,yt,ls
- 山东省,烟台,长岛县,37.92,120.74,23,59,48,yt,cd
- 山东省,烟台,龙口,37.64,120.48,23,58,46,yt,lk
- 山东省,烟台,莱阳,36.98,120.71,23,59,41,yt,ly
- 山东省,烟台,莱州,37.18,119.94,23,56,36,yt,lz
- 山东省,烟台,蓬莱,37.81,120.76,23,59,53,yt,pl
- 山东省,烟台,招远,37.35,120.43,23,58,34,yt,zy
- 山东省,烟台,栖霞,37.33,120.85,0,0,15,yt,qx
- 山东省,烟台,海阳,36.78,121.16,0,1,29,yt,hy
- 山东省,潍坊,市辖区,36.71,119.16,23,53,29,wf,sxq
- 山东省,潍坊,潍城区,36.73,119.03,23,52,58,wf,wc
- 山东省,潍坊,寒亭区,36.77,119.22,23,53,43,wf,ht
- 山东省,潍坊,坊子区,36.65,119.17,23,53,31,wf,fz
- 山东省,潍坊,奎文区,36.71,119.13,23,53,22,wf,kw
- 山东省,潍坊,临朐县,36.51,118.54,23,51,0,wf,lq
- 山东省,潍坊,昌乐县,36.71,118.83,23,52,10,wf,cl
- 山东省,潍坊,青州,36.68,118.48,23,50,46,wf,qz
- 山东省,潍坊,诸城,35.99,119.41,23,54,29,wf,zc
- 山东省,潍坊,寿光,36.85,118.79,23,52,0,wf,sg
- 山东省,潍坊,安丘,36.48,119.22,23,53,43,wf,aq
- 山东省,潍坊,高密,36.38,119.76,23,55,53,wf,gm
- 山东省,潍坊,昌邑,36.86,119.4,23,54,27,wf,cy
- 山东省,济宁,市辖区,35.41,116.59,23,43,12,jn,sxq
- 山东省,济宁,市中区,35.4,116.59,23,43,12,jn,sz
- 山东省,济宁,任城区,35.41,116.6,23,43,15,jn,rc
- 山东省,济宁,微山县,34.81,117.13,23,45,22,jn,ws
- 山东省,济宁,鱼台县,35.01,116.65,23,43,27,jn,yt
- 山东省,济宁,金乡县,35.07,116.31,23,42,5,jn,jx
- 山东省,济宁,嘉祥县,35.41,116.34,23,42,12,jn,jx
- 山东省,济宁,汶上县,35.73,116.49,23,42,48,jn,ws
- 山东省,济宁,泗水县,35.66,117.25,23,45,51,jn,ss
- 山东省,济宁,梁山县,35.8,116.1,23,41,15,jn,ls
- 山东省,济宁,曲阜,35.58,116.99,23,44,48,jn,qf
- 山东省,济宁,兖州,35.57,116.75,23,43,51,jn,yz
- 山东省,济宁,邹城,35.41,117,23,44,51,jn,zc
- 山东省,泰安,市辖区,36.2,117.09,23,45,12,ta,sxq
- 山东省,泰安,泰山区,36.19,117.14,23,45,24,ta,ts
- 山东省,泰安,岱岳区,36.19,117.04,23,45,0,ta,dy
- 山东省,泰安,宁阳县,35.76,116.81,23,44,5,ta,ny
- 山东省,泰安,东平县,35.94,116.47,23,42,43,ta,dp
- 山东省,泰安,新泰,35.91,117.77,23,47,55,ta,xt
- 山东省,泰安,肥城,36.18,116.77,23,43,55,ta,fc
- 山东省,威海,市辖区,37.51,122.12,0,5,19,wh,sxq
- 山东省,威海,环翠区,37.5,122.12,0,5,19,wh,hc
- 山东省,威海,文登,37.15,122,0,4,51,wh,wd
- 山东省,威海,荣成,37.16,122.49,0,6,48,wh,rc
- 山东省,威海,乳山,36.92,121.54,0,3,0,wh,rs
- 山东省,日照,市辖区,35.42,119.53,23,54,58,rz,sxq
- 山东省,日照,东港区,35.42,119.46,23,54,41,rz,dg
- 山东省,日照,岚山区,35.12,119.32,23,54,7,rz,ls
- 山东省,日照,五莲县,35.75,119.21,23,53,41,rz,wl
- 山东省,日照,莒县,35.58,118.84,23,52,12,rz,jx
- 山东省,莱芜,市辖区,36.21,117.68,23,47,34,lw,sqx
- 山东省,莱芜,莱城区,36.2,117.66,23,47,29,lw,lc
- 山东省,莱芜,钢城区,36.06,117.81,23,48,5,lw,gc
- 山东省,临沂,市辖区,35.1,118.36,23,50,17,ly,sxq
- 山东省,临沂,兰山区,35.05,118.35,23,50,15,ly,ls
- 山东省,临沂,罗庄区,34.99,118.28,23,49,58,ly,lz
- 山东省,临沂,河东区,35.08,118.4,23,50,27,ly,hd
- 山东省,临沂,沂南县,35.55,118.47,23,50,43,ly,yn
- 山东省,临沂,郯城县,34.61,118.37,23,50,19,ly,tc
- 山东省,临沂,沂水县,35.79,118.63,23,51,22,ly,ys
- 山东省,临沂,苍山县,34.86,117.99,23,48,48,ly,cs
- 山东省,临沂,费县,35.26,117.98,23,48,46,ly,fx
- 山东省,临沂,平邑县,35.51,117.64,23,47,24,ly,py
- 山东省,临沂,莒南县,35.17,118.84,23,52,12,ly,jn
- 山东省,临沂,蒙阴县,35.71,117.95,23,48,39,ly,my
- 山东省,临沂,临沭县,34.92,118.65,23,51,27,ly,ls
- 山东省,德州,市辖区,37.43,116.36,23,42,17,dz,sxq
- 山东省,德州,德城区,37.45,116.3,23,42,3,dz,dc
- 山东省,德州,陵县,37.41,116.66,23,43,29,dz,lx
- 山东省,德州,宁津县,37.65,116.8,23,44,3,dz,nj
- 山东省,德州,庆云县,37.77,117.39,23,46,24,dz,qy
- 山东省,德州,临邑县,37.19,116.87,23,44,19,dz,ly
- 山东省,德州,齐河县,36.79,116.76,23,43,53,dz,qh
- 山东省,德州,平原县,37.16,116.43,23,42,34,dz,py
- 山东省,德州,夏津县,36.95,116,23,40,51,dz,xj
- 山东省,德州,武城县,37.21,116.07,23,41,7,dz,wc
- 山东省,德州,乐陵,37.73,117.23,23,45,46,dz,ll
- 山东省,德州,禹城,36.93,116.64,23,43,24,dz,yc
- 山东省,聊城,市辖区,36.46,115.99,23,40,48,lc,sxq
- 山东省,聊城,东昌府区,36.43,115.99,23,40,48,lc,dcf
- 山东省,聊城,阳谷县,36.11,115.79,23,40,0,lc,yg
- 山东省,聊城,莘县,36.23,115.67,23,39,31,lc,xx
- 山东省,聊城,茌平县,36.58,116.26,23,41,53,lc,cp
- 山东省,聊城,东阿县,36.33,116.25,23,41,51,lc,da
- 山东省,聊城,冠县,36.48,115.44,23,38,36,lc,gx
- 山东省,聊城,高唐县,36.87,116.23,23,41,46,lc,gt
- 山东省,聊城,临清,36.84,115.71,23,39,41,lc,lq
- 山东省,滨州,市辖区,37.38,117.97,23,48,43,bz,sxq
- 山东省,滨州,滨城区,37.43,118.02,23,48,55,bz,bc
- 山东省,滨州,惠民县,37.49,117.51,23,46,53,bz,hm
- 山东省,滨州,阳信县,37.64,117.58,23,47,10,bz,yx
- 山东省,滨州,无棣县,37.77,117.63,23,47,22,bz,wd
- 山东省,滨州,沾化县,37.78,118.08,23,49,10,bz,zh
- 山东省,滨州,博兴县,37.15,118.11,23,49,17,bz,bx
- 山东省,滨州,邹平县,36.86,117.74,23,47,48,bz,zp
- 山东省,菏泽,市辖区,35.23,115.48,23,38,46,hz,sxq
- 山东省,菏泽,牡丹区,35.25,115.42,23,38,31,hz,md
- 山东省,菏泽,曹县,34.82,115.54,23,39,0,hz,cx
- 山东省,菏泽,单县,34.79,116.09,23,41,12,hz,sx
- 山东省,菏泽,成武县,34.95,115.89,23,40,24,hz,cw
- 山东省,菏泽,巨野县,35.4,116.1,23,41,15,hz,jy
- 山东省,菏泽,郓城县,35.6,115.95,23,40,39,hz,yc
- 山东省,菏泽,鄄城县,35.56,115.51,23,38,53,hz,jc
- 山东省,菏泽,定陶县,35.07,115.57,23,39,7,hz,dt
- 山东省,菏泽,东明县,35.29,115.09,23,37,12,hz,dm
- 山西省,太原,市辖区,37.87,112.55,23,27,3,ty,sxq
- 山西省,太原,小店区,37.74,112.57,23,27,7,ty,xd
- 山西省,太原,迎泽区,37.86,112.56,23,27,5,ty,yz
- 山西省,太原,杏花岭区,37.89,112.57,23,27,7,ty,xhl
- 山西省,太原,尖草坪区,37.94,112.49,23,26,48,ty,jcp
- 山西省,太原,万柏林区,37.86,112.52,23,26,55,ty,wbl
- 山西省,太原,晋源区,37.71,112.48,23,26,46,ty,jy
- 山西省,太原,清徐县,37.61,112.36,23,26,17,ty,qx
- 山西省,太原,阳曲县,38.06,112.67,23,27,31,ty,yq
- 山西省,太原,娄烦县,38.07,111.8,23,24,3,ty,lf
- 山西省,太原,古交,37.91,112.18,23,25,34,ty,gj
- 山西省,大同,市辖区,40.08,113.3,23,30,3,dt,sxq
- 山西省,大同,城区,37.85,113.6,23,31,15,dt,cq
- 山西省,大同,矿区,37.87,113.56,23,31,5,dt,kq
- 山西省,大同,南郊区,40,113.15,23,29,27,dt,nj
- 山西省,大同,新荣区,40.26,113.14,23,29,24,dt,xr
- 山西省,大同,阳高县,40.37,113.75,23,31,51,dt,yg
- 山西省,大同,天镇县,40.42,114.09,23,33,12,dt,tz
- 山西省,大同,广灵县,39.76,114.28,23,33,58,dt,gl
- 山西省,大同,灵丘县,39.44,114.23,23,33,46,dt,lq
- 山西省,大同,浑源县,39.7,113.69,23,31,36,dt,hy
- 山西省,大同,左云县,40.01,112.7,23,27,39,dt,zy
- 山西省,大同,大同县,40.04,113.61,23,31,17,dt,dt
- 山西省,阳泉,市辖区,37.86,113.58,23,31,10,yq,sxq
- 山西省,阳泉,城区,37.85,113.6,23,31,15,yq,cq
- 山西省,阳泉,矿区,37.87,113.55,23,31,3,yq,kq
- 山西省,阳泉,郊区,37.94,113.59,23,31,12,yq,jq
- 山西省,阳泉,平定县,37.79,113.66,23,31,29,yq,pd
- 山西省,阳泉,盂县,38.09,113.41,23,30,29,yq,yx
- 山西省,长治,市辖区,36.2,113.12,23,29,19,cz,sxq
- 山西省,长治,城区,36.2,113.12,23,29,19,cz,cq
- 山西省,长治,郊区,36.22,113.11,23,29,17,cz,jq
- 山西省,长治,长治县,36.05,113.05,23,29,3,cz,cz
- 山西省,长治,襄垣县,36.54,113.05,23,29,3,cz,xy
- 山西省,长治,屯留县,36.32,112.89,23,28,24,cz,tl
- 山西省,长治,平顺县,36.2,113.44,23,30,36,cz,ps
- 山西省,长治,黎城县,36.5,113.39,23,30,24,cz,lc
- 山西省,长治,壶关县,36.11,113.21,23,29,41,cz,hg
- 山西省,长治,长子县,36.12,112.88,23,28,22,cz,cz
- 山西省,长治,武乡县,36.84,112.86,23,28,17,cz,wx
- 山西省,长治,沁县,36.76,112.7,23,27,39,cz,qx
- 山西省,长治,沁源县,36.5,112.34,23,26,12,cz,qy
- 山西省,长治,潞城,36.33,113.23,23,29,46,cz,lc
- 山西省,晋城,市辖区,35.49,112.85,23,28,15,jc,sxq
- 山西省,晋城,城区,35.5,112.86,23,28,17,jc,cq
- 山西省,晋城,沁水县,35.69,112.19,23,25,36,jc,qsx
- 山西省,晋城,阳城县,35.49,112.42,23,26,31,jc,yc
- 山西省,晋城,陵川县,35.78,113.28,23,29,58,jc,lc
- 山西省,晋城,泽州县,35.5,112.94,23,28,36,jc,zz
- 山西省,晋城,高平,35.8,112.92,23,28,31,jc,gp
- 山西省,朔州,市辖区,39.33,112.43,23,26,34,sz,sxq
- 山西省,朔州,朔城区,39.32,112.43,23,26,34,sz,sc
- 山西省,朔州,平鲁区,39.51,112.29,23,26,0,sz,pl
- 山西省,朔州,山阴县,39.53,112.82,23,28,7,sz,sy
- 山西省,朔州,应县,39.55,113.19,23,29,36,sz,yx
- 山西省,朔州,右玉县,39.99,112.47,23,26,43,sz,yy
- 山西省,朔州,怀仁县,39.83,113.1,23,29,15,sz,hr
- 山西省,晋中,市辖区,37.69,112.75,23,27,51,jz,sxq
- 山西省,晋中,榆次区,37.7,112.71,23,27,41,jz,yc
- 山西省,晋中,榆社县,37.07,112.98,23,28,46,jz,ys
- 山西省,晋中,左权县,37.08,113.38,23,30,22,jz,zq
- 山西省,晋中,和顺县,37.33,113.57,23,31,7,jz,hs
- 山西省,晋中,昔阳县,37.61,113.71,23,31,41,jz,xy
- 山西省,晋中,寿阳县,37.89,113.18,23,29,34,jz,sy
- 山西省,晋中,太谷县,37.42,112.55,23,27,3,jz,tg
- 山西省,晋中,祁县,37.36,112.34,23,26,12,jz,qx
- 山西省,晋中,平遥县,37.19,112.18,23,25,34,jz,py
- 山西省,晋中,灵石县,36.85,111.78,23,23,58,jz,ls
- 山西省,晋中,介休,37.03,111.92,23,24,31,jz,jx
- 山西省,运城,市辖区,35.02,111.01,23,20,53,yc,sxq
- 山西省,运城,盐湖区,35.01,111,23,20,51,yc,yh
- 山西省,运城,临猗县,35.14,110.77,23,19,55,yc,ly
- 山西省,运城,万荣县,35.41,110.84,23,20,12,yc,wr
- 山西省,运城,闻喜县,35.36,111.23,23,21,46,yc,wx
- 山西省,运城,稷山县,35.6,110.98,23,20,46,yc,js
- 山西省,运城,新绛县,35.62,111.22,23,21,43,yc,xj
- 山西省,运城,绛县,35.49,111.57,23,23,7,yc,jx
- 山西省,运城,垣曲县,35.3,111.67,23,23,31,yc,yq
- 山西省,运城,夏县,35.14,111.22,23,21,43,yc,xx
- 山西省,运城,平陆县,34.84,111.19,23,21,36,yc,pl
- 山西省,运城,芮城县,34.69,110.7,23,19,39,yc,rc
- 山西省,运城,永济,34.87,110.45,23,18,39,yc,yj
- 山西省,运城,河津,35.6,110.71,23,19,41,yc,hj
- 山西省,忻州,市辖区,38.42,112.73,23,27,46,xz,sxq
- 山西省,忻州,忻府区,38.4,112.75,23,27,51,xz,xf
- 山西省,忻州,定襄县,38.47,112.96,23,28,41,xz,dx
- 山西省,忻州,五台县,38.73,113.26,23,29,53,xz,wt
- 山西省,忻州,代县,39.07,112.96,23,28,41,xz,dx
- 山西省,忻州,繁峙县,39.19,113.27,23,29,55,xz,fz
- 山西省,忻州,宁武县,39,112.3,23,26,3,xz,nw
- 山西省,忻州,静乐县,38.36,111.94,23,24,36,xz,jl
- 山西省,忻州,神池县,39.09,112.21,23,25,41,xz,sc
- 山西省,忻州,五寨县,38.91,111.85,23,24,15,xz,wz
- 山西省,忻州,岢岚县,38.7,111.58,23,23,10,xz,kl
- 山西省,忻州,河曲县,39.38,111.14,23,21,24,xz,hq
- 山西省,忻州,保德县,39.02,111.09,23,21,12,xz,bd
- 山西省,忻州,偏关县,39.44,111.51,23,22,53,xz,pg
- 山西省,忻州,原平,38.73,112.71,23,27,41,xz,yp
- 山西省,临汾,市辖区,36.09,111.52,23,22,55,lf,sxq
- 山西省,临汾,尧都区,36.08,111.58,23,23,10,lf,yd
- 山西省,临汾,曲沃县,35.64,111.48,23,22,46,lf,qw
- 山西省,临汾,翼城县,35.74,111.72,23,23,43,lf,yc
- 山西省,临汾,襄汾县,35.88,111.44,23,22,36,lf,xf
- 山西省,临汾,洪洞县,36.25,111.68,23,23,34,lf,hd
- 山西省,临汾,古县,36.27,111.92,23,24,31,lf,gx
- 山西省,临汾,安泽县,36.15,112.25,23,25,51,lf,az
- 山西省,临汾,浮山县,35.97,111.85,23,24,15,lf,fs
- 山西省,临汾,吉县,36.1,110.68,23,19,34,lf,jx
- 山西省,临汾,乡宁县,35.97,110.85,23,20,15,lf,xn
- 山西省,临汾,大宁县,36.46,110.75,23,19,51,lf,dn
- 山西省,临汾,隰县,36.69,110.94,23,20,36,lf,xx
- 山西省,临汾,永和县,36.76,110.63,23,19,22,lf,yh
- 山西省,临汾,蒲县,36.41,111.1,23,21,15,lf,px
- 山西省,临汾,汾西县,36.65,111.56,23,23,5,lf,fx
- 山西省,临汾,侯马,35.62,111.37,23,22,19,lf,hm
- 山西省,临汾,霍州,36.57,111.76,23,23,53,lf,hz
- 山西省,吕梁,市辖区,37.52,111.14,23,21,24,ll,sxq
- 山西省,吕梁,离石区,37.52,111.15,23,21,27,ll,ls
- 山西省,吕梁,文水县,37.44,112.03,23,24,58,ll,ws
- 山西省,吕梁,交城县,37.55,112.16,23,25,29,ll,jc
- 山西省,吕梁,兴县,38.46,111.13,23,21,22,ll,xx
- 山西省,吕梁,临县,37.95,110.99,23,20,48,ll,lx
- 山西省,吕梁,柳林县,37.43,110.89,23,20,24,ll,ll
- 山西省,吕梁,石楼县,37,110.84,23,20,12,ll,sl
- 山西省,吕梁,岚县,38.28,111.67,23,23,31,ll,lx
- 山西省,吕梁,方山县,37.89,111.25,23,21,51,ll,fs
- 山西省,吕梁,中阳县,37.36,111.18,23,21,34,ll,zy
- 山西省,吕梁,交口县,36.98,111.18,23,21,34,ll,jk
- 山西省,吕梁,孝义,37.15,111.78,23,23,58,ll,xy
- 山西省,吕梁,汾阳,37.27,111.79,23,24,0,ll,fy
- 陕西省,西安,市辖区,34.34,108.94,23,12,36,xa,sxq
- 陕西省,西安,新城区,34.27,108.96,23,12,41,xa,xc
- 陕西省,西安,碑林区,34.23,108.94,23,12,36,xa,bl
- 陕西省,西安,莲湖区,34.27,108.94,23,12,36,xa,lh
- 陕西省,西安,灞桥区,34.27,109.07,23,13,7,xa,bq
- 陕西省,西安,未央区,34.29,108.95,23,12,39,xa,wy
- 陕西省,西安,雁塔区,34.22,108.95,23,12,39,xa,yt
- 陕西省,西安,阎良区,34.66,109.23,23,13,46,xa,yl
- 陕西省,西安,临潼区,34.37,109.22,23,13,43,xa,lt
- 陕西省,西安,长安区,34.16,108.91,23,12,29,xa,ca
- 陕西省,西安,蓝田县,34.15,109.32,23,14,7,xa,lt
- 陕西省,西安,周至县,34.16,108.22,23,9,43,xa,zz
- 陕西省,西安,户县,34.11,108.6,23,11,15,xa,hx
- 陕西省,西安,高陵县,34.51,109.07,23,13,7,xa,gl
- 陕西省,铜川,市辖区,34.9,108.95,23,12,39,tc,sxq
- 陕西省,铜川,王益区,35.07,109.08,23,13,10,tc,wy
- 陕西省,铜川,印台区,35.12,109.1,23,13,15,tc,yt
- 陕西省,铜川,耀州区,34.91,108.98,23,12,46,tc,yz
- 陕西省,铜川,宜君县,35.4,109.12,23,13,19,tc,yj
- 陕西省,宝鸡,市辖区,34.36,107.24,23,5,48,bj,sxq
- 陕西省,宝鸡,渭滨区,34.37,107.15,23,5,27,bj,wb
- 陕西省,宝鸡,金台区,34.39,107.13,23,5,22,bj,jt
- 陕西省,宝鸡,陈仓区,34.36,107.39,23,6,24,bj,cc
- 陕西省,宝鸡,凤翔县,34.52,107.4,23,6,27,bj,fx
- 陕西省,宝鸡,岐山县,34.44,107.62,23,7,19,bj,qs
- 陕西省,宝鸡,扶风县,34.38,107.9,23,8,27,bj,ff
- 陕西省,宝鸡,眉县,34.27,107.75,23,7,51,bj,mx
- 陕西省,宝鸡,陇县,34.89,106.87,23,4,19,bj,lx
- 陕西省,宝鸡,千阳县,34.64,107.13,23,5,22,bj,qy
- 陕西省,宝鸡,麟游县,34.68,107.79,23,8,0,bj,ly
- 陕西省,宝鸡,凤县,33.91,106.52,23,2,55,bj,fx
- 陕西省,宝鸡,太白县,34.06,107.32,23,6,7,bj,tb
- 陕西省,咸阳,市辖区,34.33,108.71,23,11,41,xy,sxq
- 陕西省,咸阳,秦都区,34.33,108.71,23,11,41,xy,qd
- 陕西省,咸阳,杨陵区,34.27,108.09,23,9,12,xy,yl
- 陕西省,咸阳,渭城区,34.36,108.74,23,11,48,xy,wc
- 陕西省,咸阳,三原县,34.62,108.94,23,12,36,xy,sy
- 陕西省,咸阳,泾阳县,34.53,108.84,23,12,12,xy,jy
- 陕西省,咸阳,乾县,34.53,108.24,23,9,48,xy,qx
- 陕西省,咸阳,礼泉县,34.48,108.43,23,10,34,xy,lq
- 陕西省,咸阳,永寿县,34.69,108.14,23,9,24,xy,ys
- 陕西省,咸阳,彬县,35.04,108.08,23,9,10,xy,bx
- 陕西省,咸阳,长武县,35.21,107.8,23,8,3,xy,cw
- 陕西省,咸阳,旬邑县,35.11,108.34,23,10,12,xy,xy
- 陕西省,咸阳,淳化县,34.8,108.58,23,11,10,xy,ch
- 陕西省,咸阳,武功县,34.26,108.2,23,9,39,xy,wg
- 陕西省,咸阳,兴平,34.3,108.49,23,10,48,xy,xp
- 陕西省,渭南,市辖区,34.5,109.51,23,14,53,wn,sxq
- 陕西省,渭南,临渭区,34.5,109.49,23,14,48,wn,lw
- 陕西省,渭南,华县,34.51,109.77,23,15,55,wn,hx
- 陕西省,渭南,潼关县,34.54,110.25,23,17,51,wn,tg
- 陕西省,渭南,大荔县,34.8,109.94,23,16,36,wn,dl
- 陕西省,渭南,合阳县,35.24,110.15,23,17,27,wn,hy
- 陕西省,渭南,澄城县,35.19,109.93,23,16,34,wn,cc
- 陕西省,渭南,蒲城县,34.96,109.59,23,15,12,wn,pc
- 陕西省,渭南,白水县,35.18,109.59,23,15,12,wn,bs
- 陕西省,渭南,富平县,34.75,109.18,23,13,34,wn,fp
- 陕西省,渭南,韩城,35.48,110.44,23,18,36,wn,hc
- 陕西省,渭南,华阴,34.57,110.09,23,17,12,wn,hy
- 陕西省,延安,市辖区,36.62,109.53,23,14,58,ya,sxq
- 陕西省,延安,宝塔区,36.59,109.49,23,14,48,ya,bt
- 陕西省,延安,延长县,36.58,110.01,23,16,53,ya,yc
- 陕西省,延安,延川县,36.88,110.19,23,17,36,ya,yc
- 陕西省,延安,子长县,37.14,109.68,23,15,34,ya,zc
- 陕西省,延安,安塞县,36.86,109.33,23,14,10,ya,as
- 陕西省,延安,志丹县,36.82,108.77,23,11,55,ya,zd
- 陕西省,延安,吴旗县,36.92,108.18,23,9,34,ya,wq
- 陕西省,延安,甘泉县,36.28,109.35,23,14,15,ya,gq
- 陕西省,延安,富县,35.99,109.38,23,14,22,ya,fx
- 陕西省,延安,洛川县,35.76,109.43,23,14,34,ya,lc
- 陕西省,延安,宜川县,36.05,110.17,23,17,31,ya,yc
- 陕西省,延安,黄龙县,35.58,109.84,23,16,12,ya,hl
- 陕西省,延安,黄陵县,35.58,109.26,23,13,53,ya,hl
- 陕西省,汉中,市辖区,33.07,107.02,23,4,55,hz,sxq
- 陕西省,汉中,汉台区,33.07,107.03,23,4,58,hz,ht
- 陕西省,汉中,南郑县,33,106.94,23,4,36,hz,nz
- 陕西省,汉中,城固县,33.16,107.33,23,6,10,hz,cg
- 陕西省,汉中,洋县,33.22,107.55,23,7,3,hz,yx
- 陕西省,汉中,西乡县,32.98,107.77,23,7,55,hz,xx
- 陕西省,汉中,勉县,33.15,106.67,23,3,31,hz,mx
- 陕西省,汉中,宁强县,32.83,106.26,23,1,53,hz,nq
- 陕西省,汉中,略阳县,33.33,106.16,23,1,29,hz,ly
- 陕西省,汉中,镇巴县,32.54,107.9,23,8,27,hz,zb
- 陕西省,汉中,留坝县,33.62,106.92,23,4,31,hz,lb
- 陕西省,汉中,佛坪县,33.52,107.99,23,8,48,hz,fp
- 陕西省,榆林,市辖区,38.29,109.74,23,15,48,yl,sxq
- 陕西省,榆林,榆阳区,38.28,109.72,23,15,43,yl,yy
- 陕西省,榆林,神木县,38.84,110.5,23,18,51,yl,sm
- 陕西省,榆林,府谷县,39.03,111.07,23,21,7,yl,fg
- 陕西省,榆林,横山县,37.96,109.29,23,14,0,yl,hs
- 陕西省,榆林,靖边县,37.6,108.8,23,12,3,yl,jb
- 陕西省,榆林,定边县,37.59,107.6,23,7,15,yl,db
- 陕西省,榆林,绥德县,37.5,110.27,23,17,55,yl,sd
- 陕西省,榆林,米脂县,37.76,110.19,23,17,36,yl,mz
- 陕西省,榆林,佳县,38.02,110.49,23,18,48,yl,jx
- 陕西省,榆林,吴堡县,37.45,110.74,23,19,48,yl,wb
- 陕西省,榆林,清涧县,37.09,110.12,23,17,19,yl,qj
- 陕西省,榆林,子洲县,37.61,110.03,23,16,58,yl,zz
- 陕西省,安康,市辖区,32.69,109.03,23,12,58,ak,sxq
- 陕西省,安康,汉滨区,32.7,109.03,23,12,58,ak,hb
- 陕西省,安康,汉阴县,32.89,108.51,23,10,53,ak,hy
- 陕西省,安康,石泉县,33.04,108.25,23,9,51,ak,sq
- 陕西省,安康,宁陕县,33.31,108.31,23,10,5,ak,ns
- 陕西省,安康,紫阳县,32.52,108.54,23,11,0,ak,zy
- 陕西省,安康,岚皋县,32.31,108.9,23,12,27,ak,lg
- 陕西省,安康,平利县,32.39,109.36,23,14,17,ak,pl
- 陕西省,安康,镇坪县,31.88,109.53,23,14,58,ak,zp
- 陕西省,安康,旬阳县,32.83,109.37,23,14,19,ak,xy
- 陕西省,安康,白河县,32.81,110.11,23,17,17,ak,bh
- 陕西省,商洛,市辖区,33.87,109.94,23,16,36,sl,sxq
- 陕西省,商洛,商州区,33.86,109.94,23,16,36,sl,sz
- 陕西省,商洛,洛南县,34.09,110.15,23,17,27,sl,ln
- 陕西省,商洛,丹凤县,33.7,110.33,23,18,10,sl,df
- 陕西省,商洛,商南县,33.53,110.88,23,20,22,sl,sn
- 陕西省,商洛,山阳县,33.53,109.88,23,16,22,sl,sy
- 陕西省,商洛,镇安县,33.42,109.15,23,13,27,sl,za
- 陕西省,商洛,柞水县,33.69,109.11,23,13,17,sl,zs
- 新疆,乌鲁木齐,市辖区,43.84,87.59,21,47,12,wlmq,sxq
- 新疆,乌鲁木齐,天山区,43.79,87.63,21,47,22,wlmq,ts
- 新疆,乌鲁木齐,沙依巴克区,43.8,87.6,21,47,15,wlmq,sybk
- 新疆,乌鲁木齐,新市区,43.84,87.58,21,47,10,wlmq,xs
- 新疆,乌鲁木齐,水磨沟区,43.83,87.64,21,47,24,wlmq,smg
- 新疆,乌鲁木齐,头屯河区,43.88,87.43,21,46,34,wlmq,tth
- 新疆,乌鲁木齐,达坂城区,43.36,88.31,21,50,5,wlmq,dbc
- 新疆,乌鲁木齐,东山区,43.97,87.66,21,47,29,wlmq,ds
- 新疆,乌鲁木齐,乌鲁木齐县,43.47,87.41,21,46,29,wlmq,wlmq
- 新疆,克拉玛依,市辖区,45.6,84.87,21,36,19,klmy,sxq
- 新疆,克拉玛依,独山子区,44.33,84.89,21,36,24,klmy,dsz
- 新疆,克拉玛依,克拉玛依区,45.6,84.87,21,36,19,klmy,klmy
- 新疆,克拉玛依,白碱滩区,45.69,85.13,21,37,22,klmy,bjt
- 新疆,克拉玛依,乌尔禾区,46.09,85.7,21,39,39,klmy,weh
- 新疆,吐鲁番地区,吐鲁番,42.79,88.66,21,51,29,tlf,tlf
- 新疆,吐鲁番地区,鄯善县,42.87,90.22,21,57,43,tlf,ss
- 新疆,吐鲁番地区,托克逊县,42.79,88.66,21,51,29,tlf,tkx
- 新疆,哈密地区,哈密,43.25,94.7,22,15,39,hm,hm
- 新疆,哈密地区,巴里坤哈萨克自治县,43.6,93.01,22,8,53,hm,blkhsk
- 新疆,哈密地区,伊吾县,43.25,94.7,22,15,39,hm,yw
- 新疆,昌吉回族自治州,昌吉,44.01,87.31,21,46,5,cj,cj
- 新疆,昌吉回族自治州,阜康,44.16,87.99,21,48,48,cj,fk
- 新疆,昌吉回族自治州,米泉,43.96,87.65,21,47,27,cj,mq
- 新疆,昌吉回族自治州,呼图壁县,44.19,86.9,21,44,27,cj,htb
- 新疆,昌吉回族自治州,玛纳斯县,44.3,86.21,21,41,41,cj,mns
- 新疆,昌吉回族自治州,奇台县,44.02,89.6,21,55,15,cj,qt
- 新疆,昌吉回族自治州,吉木萨尔县,44,89.18,21,53,34,cj,jmse
- 新疆,昌吉回族自治州,木垒哈萨克自治县,43.83,90.28,21,57,58,cj,mlhsk
- 新疆,博尔塔拉蒙古自治州,博乐,44.85,82.05,21,25,3,betl,bl
- 新疆,博尔塔拉蒙古自治州,精河县,44.6,82.9,21,28,27,betl,jh
- 新疆,博尔塔拉蒙古自治州,温泉县,44.97,81.02,21,20,55,betl,wq
- 新疆,巴音郭楞蒙古自治州,库尔勒,41.73,86.18,21,41,34,bygl,kel
- 新疆,巴音郭楞蒙古自治州,轮台县,41.78,84.25,21,33,51,bygl,lt
- 新疆,巴音郭楞蒙古自治州,尉犁县,41.34,86.26,21,41,53,bygl,wl
- 新疆,巴音郭楞蒙古自治州,若羌县,39.02,88.17,21,49,31,bygl,rq
- 新疆,巴音郭楞蒙古自治州,且末县,38.15,85.53,21,38,58,bygl,qm
- 新疆,巴音郭楞蒙古自治州,焉耆回族自治县,42.06,86.57,21,43,7,bygl,yq
- 新疆,巴音郭楞蒙古自治州,和静县,42.32,86.39,21,42,24,bygl,hj
- 新疆,巴音郭楞蒙古自治州,和硕县,42.27,86.86,21,44,17,bygl,hs
- 新疆,巴音郭楞蒙古自治州,博湖县,42.27,86.86,21,44,17,bygl,bh
- 新疆,阿克苏地区,阿克苏,41.17,80.27,21,17,55,aks,aks
- 新疆,阿克苏地区,温宿县,41.28,80.24,21,17,48,aks,ws
- 新疆,阿克苏地区,库车县,41.72,82.96,21,28,41,aks,kc
- 新疆,阿克苏地区,沙雅县,41.22,82.78,21,27,58,aks,sy
- 新疆,阿克苏地区,新和县,41.55,82.61,21,27,17,aks,xh
- 新疆,阿克苏地区,拜城县,41.8,81.87,21,24,19,aks,bc
- 新疆,阿克苏地区,乌什县,41.21,79.23,21,13,46,aks,ws
- 新疆,阿克苏地区,阿瓦提县,40.64,80.37,21,18,19,aks,awt
- 新疆,阿克苏地区,柯坪县,40.51,79.05,21,13,3,aks,kp
- 新疆,克孜勒苏柯尔克孜自治州,阿图什,40.94,78.45,21,10,39,kzlskekz,ats
- 新疆,克孜勒苏柯尔克孜自治州,阿克陶县,39.15,75.95,21,0,39,kzlskekz,akt
- 新疆,克孜勒苏柯尔克孜自治州,阿合奇县,40.94,78.45,21,10,39,kzlskekz,ahq
- 新疆,克孜勒苏柯尔克孜自治州,乌恰县,39.72,75.26,20,57,53,kzlskekz,wq
- 新疆,喀什地区,喀什,39.47,76,21,0,51,ks,ks
- 新疆,喀什地区,疏附县,39.38,75.87,21,0,19,ks,sf
- 新疆,喀什地区,疏勒县,39.4,76.05,21,1,3,ks,sl
- 新疆,喀什地区,英吉沙县,38.93,76.18,21,1,34,ks,yjs
- 新疆,喀什地区,泽普县,38.19,77.27,21,5,55,ks,zp
- 新疆,喀什地区,莎车县,38.41,77.25,21,5,51,ks,sc
- 新疆,喀什地区,叶城县,37.88,77.41,21,6,29,ks,yc
- 新疆,喀什地区,麦盖提县,38.9,77.65,21,7,27,ks,mgt
- 新疆,喀什地区,岳普湖县,39.23,76.78,21,3,58,ks,yph
- 新疆,喀什地区,伽师县,39.49,76.72,21,3,43,ks,gs
- 新疆,喀什地区,巴楚县,39.78,78.55,21,11,3,ks,bc
- 新疆,喀什地区,塔什库尔干塔吉克自治县,37.77,75.22,20,57,43,ks,tskegtjk
- 新疆,和田地区,和田,36.57,79.9,21,16,27,ht,ht
- 新疆,和田地区,和田县,36.57,79.91,21,16,29,ht,ht
- 新疆,和田地区,墨玉县,37.28,79.73,21,15,46,ht,my
- 新疆,和田地区,皮山县,37.62,78.28,21,9,58,ht,ps
- 新疆,和田地区,洛浦县,37.07,80.19,21,17,36,ht,lp
- 新疆,和田地区,策勒县,37,80.81,21,20,5,ht,cl
- 新疆,和田地区,于田县,36.86,81.68,21,23,34,ht,yt
- 新疆,和田地区,民丰县,37.06,82.7,21,27,39,ht,mf
- 新疆,伊犁哈萨克自治州,伊宁,43.98,81.52,21,22,55,ylhsk,yn
- 新疆,伊犁哈萨克自治州,奎屯,44.43,84.9,21,36,27,ylhsk,kt
- 新疆,伊犁哈萨克自治州,伊宁县,43.98,81.53,21,22,58,ylhsk,yn
- 新疆,伊犁哈萨克自治州,察布查尔锡伯自治县,43.84,81.15,21,21,27,ylhsk,cbcexb
- 新疆,伊犁哈萨克自治州,霍城县,44.06,80.88,21,20,22,ylhsk,hc
- 新疆,伊犁哈萨克自治州,巩留县,43.48,82.23,21,25,46,ylhsk,gl
- 新疆,伊犁哈萨克自治州,新源县,43.43,83.26,21,29,53,ylhsk,xy
- 新疆,伊犁哈萨克自治州,昭苏县,43.16,81.13,21,21,22,ylhsk,zs
- 新疆,伊犁哈萨克自治州,特克斯县,43.22,81.84,21,24,12,ylhsk,tks
- 新疆,伊犁哈萨克自治州,尼勒克县,43.8,82.51,21,26,53,ylhsk,nlk
- 新疆,塔城地区,塔城,46.75,82.99,21,28,48,tc,tc
- 新疆,塔城地区,乌苏,44.44,84.68,21,35,34,tc,ws
- 新疆,塔城地区,额敏县,46.52,83.63,21,31,22,tc,em
- 新疆,塔城地区,沙湾县,44.33,85.62,21,39,19,tc,sw
- 新疆,塔城地区,托里县,45.94,83.61,21,31,17,tc,tl
- 新疆,塔城地区,裕民县,46.2,82.98,21,28,46,tc,ym
- 新疆,塔城地区,和布克塞尔蒙古自治县,46.79,85.73,21,39,46,tc,hbkse
- 新疆,阿勒泰地区,阿勒泰,47.83,88.13,21,49,22,alt,alt
- 新疆,阿勒泰地区,布尔津县,47.7,86.86,21,44,17,alt,bej
- 新疆,阿勒泰地区,富蕴县,46.99,89.53,21,54,58,alt,fy
- 新疆,阿勒泰地区,福海县,47.11,87.49,21,46,48,alt,fh
- 新疆,阿勒泰地区,哈巴河县,48.06,86.42,21,42,31,alt,hbh
- 新疆,阿勒泰地区,青河县,46.68,90.38,21,58,22,alt,qh
- 新疆,阿勒泰地区,吉木乃县,47.44,85.88,21,40,22,alt,jmn
- 新疆,省直辖行政单位,石河子,44.31,86.07,21,41,7,szx,shz
- 新疆,省直辖行政单位,阿拉尔,40.55,81.3,21,22,3,szx,ale
- 新疆,省直辖行政单位,图木舒克,39.87,79.07,21,13,7,szx,tmsk
- 新疆,省直辖行政单位,五家渠,44.36,87.56,21,47,5,szx,wjq
- 西藏,拉萨,市辖区,29.64,91.11,22,1,17,ls,sxq
- 西藏,拉萨,城关区,29.65,91.14,22,1,24,ls,cg
- 西藏,拉萨,林周县,29.9,91.26,22,1,53,ls,lz
- 西藏,拉萨,当雄县,30.47,91.1,22,1,15,ls,dx
- 西藏,拉萨,尼木县,29.43,90.17,21,57,31,ls,mm
- 西藏,拉萨,曲水县,29.35,90.75,21,59,51,ls,qs
- 西藏,拉萨,堆龙德庆县,29.65,91.01,22,0,53,ls,dldq
- 西藏,拉萨,达孜县,29.67,91.35,22,2,15,ls,dz
- 西藏,拉萨,墨竹工卡县,29.83,91.73,22,3,46,ls,mzgk
- 西藏,昌都地区,昌都县,31.44,97.24,22,25,48,cd,cd
- 西藏,昌都地区,江达县,31.81,98.03,22,28,58,cd,jd
- 西藏,昌都地区,贡觉县,30.74,98.49,22,30,48,cd,gj
- 西藏,昌都地区,类乌齐县,31.43,96.4,22,22,27,cd,lwq
- 西藏,昌都地区,丁青县,31.68,95.31,22,18,5,cd,dq
- 西藏,昌都地区,察雅县,30.58,97.84,22,28,12,cd,cy
- 西藏,昌都地区,八宿县,30.16,96.88,22,24,22,cd,bs
- 西藏,昌都地区,左贡县,29.56,97.8,22,28,3,cd,zg
- 西藏,昌都地区,芒康县,29.61,98.61,22,31,17,cd,mk
- 西藏,昌都地区,洛隆县,30.73,95.91,22,20,29,cd,ll
- 西藏,昌都地区,边坝县,30.89,94.59,22,15,12,cd,bb
- 西藏,山南地区,乃东县,29.23,91.76,22,3,53,sn,nd
- 西藏,山南地区,扎囊县,29.25,91.34,22,2,12,sn,zn
- 西藏,山南地区,贡嘎县,29.29,90.98,22,0,46,sn,gg
- 西藏,山南地区,桑日县,29.26,92.02,22,4,55,sn,sr
- 西藏,山南地区,琼结县,29.03,91.69,22,3,36,sn,qj
- 西藏,山南地区,曲松县,29.06,92.2,22,5,39,sn,qs
- 西藏,山南地区,措美县,28.44,91.43,22,2,34,sn,cm
- 西藏,山南地区,洛扎县,28.39,90.86,22,0,17,sn,lz
- 西藏,山南地区,加查县,29.14,92.6,22,7,15,sn,jc
- 西藏,山南地区,隆子县,28.41,92.46,22,6,41,sn,lz
- 西藏,山南地区,错那县,27.99,91.96,22,4,41,sn,cn
- 西藏,山南地区,浪卡子县,28.97,90.4,21,58,27,sn,lkz
- 西藏,日喀则地区,日喀则,29.26,88.95,21,52,39,rkz,rkz
- 西藏,日喀则地区,南木林县,29.81,89.37,21,54,19,rkz,nml
- 西藏,日喀则地区,江孜县,28.9,89.66,21,55,29,rkz,jz
- 西藏,日喀则地区,定日县,28.47,86.99,21,44,48,rkz,db
- 西藏,日喀则地区,萨迦县,28.85,88.34,21,50,12,rkz,sj
- 西藏,日喀则地区,拉孜县,29.17,87.85,21,48,15,rkz,lz
- 西藏,日喀则地区,昂仁县,29.95,86.62,21,43,19,rkz,ar
- 西藏,日喀则地区,谢通门县,29.91,88.08,21,49,10,rkz,xtm
- 西藏,日喀则地区,白朗县,28.81,89.1,21,53,15,rkz,bl
- 西藏,日喀则地区,仁布县,29.22,89.97,21,56,43,rkz,rb
- 西藏,日喀则地区,康马县,28.44,89.65,21,55,27,rkz,km
- 西藏,日喀则地区,定结县,28.23,87.91,21,48,29,rkz,dj
- 西藏,日喀则地区,仲巴县,30.48,83.66,21,31,29,rkz,zb
- 西藏,日喀则地区,亚东县,27.81,89.08,21,53,10,rkz,yd
- 西藏,日喀则地区,吉隆县,28.85,85.3,21,38,3,rkz,jl
- 西藏,日喀则地区,聂拉木县,28.59,86.06,21,41,5,rkz,nlm
- 西藏,日喀则地区,萨嘎县,29.4,85.08,21,37,10,rkz,sg
- 西藏,日喀则地区,岗巴县,28.28,88.52,21,50,55,rkz,gb
- 西藏,那曲地区,那曲县,31.47,92.05,22,5,3,nq,nq
- 西藏,那曲地区,嘉黎县,30.64,93.23,22,9,46,nq,jl
- 西藏,那曲地区,比如县,31.48,93.68,22,11,34,nq,br
- 西藏,那曲地区,聂荣县,32.11,92.3,22,6,3,nq,nr
- 西藏,那曲地区,安多县,32.26,91.68,22,3,34,nq,ad
- 西藏,那曲地区,申扎县,30.93,88.71,21,51,41,nq,sz
- 西藏,那曲地区,索县,31.89,93.78,22,11,58,nq,sx
- 西藏,那曲地区,班戈县,31.39,90.01,21,56,53,nq,bg
- 西藏,那曲地区,巴青县,31.92,94.05,22,13,3,nq,bq
- 西藏,那曲地区,尼玛县,31.78,87.24,21,45,48,nq,nm
- 西藏,阿里地区,普兰县,30.29,81.18,21,21,34,al,pl
- 西藏,阿里地区,札达县,31.48,79.8,21,16,3,al,zd
- 西藏,阿里地区,噶尔县,32.5,80.1,21,17,15,al,ge
- 西藏,阿里地区,日土县,33.39,79.71,21,15,41,al,rt
- 西藏,阿里地区,革吉县,32.39,81.15,21,21,27,al,gj
- 西藏,阿里地区,改则县,32.3,84.06,21,33,5,al,gz
- 西藏,阿里地区,措勤县,31.02,85.15,21,37,27,al,cq
- 西藏,林芝地区,林芝县,29.64,94.36,22,14,17,lz,lz
- 西藏,林芝地区,工布江达县,29.89,93.25,22,9,51,lz,gbjd
- 西藏,林芝地区,米林县,29.22,94.21,22,13,41,lz,ml
- 西藏,林芝地区,墨脱县,29.32,95.33,22,18,10,lz,mt
- 西藏,林芝地区,波密县,29.86,95.77,22,19,55,lz,bm
- 西藏,林芝地区,察隅县,28.66,97.47,22,26,43,lz,cy
- 西藏,林芝地区,朗县,29.05,93.08,22,9,10,lz,lx
- 四川省,成都,市辖区,30.66,104.07,22,53,7,cd,sxq
- 四川省,成都,锦江区,30.66,104.08,22,53,10,cd,jj
- 四川省,成都,青羊区,30.67,104.06,22,53,5,cd,qy
- 四川省,成都,金牛区,30.69,104.06,22,53,5,cd,jn
- 四川省,成都,武侯区,30.64,104.04,22,53,0,cd,wh
- 四川省,成都,成华区,30.66,104.1,22,53,15,cd,ch
- 四川省,成都,龙泉驿区,30.56,104.28,22,53,58,cd,lqy
- 四川省,成都,青白江区,30.88,104.25,22,53,51,cd,qbj
- 四川省,成都,新都区,30.82,104.16,22,53,29,cd,xd
- 四川省,成都,温江区,30.68,103.86,22,52,17,cd,wj
- 四川省,成都,金堂县,30.86,104.41,22,54,29,cd,jt
- 四川省,成都,双流县,30.57,103.93,22,52,34,cd,sl
- 四川省,成都,郫县,30.8,103.9,22,52,27,cd,px
- 四川省,成都,大邑县,30.59,103.52,22,50,55,cd,dy
- 四川省,成都,浦江县,30.2,103.51,22,50,53,cd,pj
- 四川省,成都,新津县,30.41,103.81,22,52,5,cd,xj
- 四川省,成都,都江堰,30.99,103.65,22,51,27,cd,djy
- 四川省,成都,彭州,30.99,103.96,22,52,41,cd,pz
- 四川省,成都,邛崃,30.41,103.47,22,50,43,cd,ql
- 四川省,成都,崇州,30.63,103.67,22,51,31,cd,cz
- 四川省,自贡,市辖区,29.34,104.78,22,55,58,zg,sxq
- 四川省,自贡,自流井区,29.34,104.78,22,55,58,zg,zlj
- 四川省,自贡,贡井区,29.35,104.72,22,55,43,zg,gj
- 四川省,自贡,大安区,29.36,104.77,22,55,55,zg,da
- 四川省,自贡,沿滩区,29.27,104.88,22,56,22,zg,yt
- 四川省,自贡,荣县,29.44,104.42,22,54,31,zg,rx
- 四川省,自贡,富顺县,29.18,104.98,22,56,46,zg,fs
- 四川省,攀枝花,市辖区,26.58,101.72,22,43,43,pzh,sxq
- 四川省,攀枝花,东区,26.55,101.71,22,43,41,pzh,dq
- 四川省,攀枝花,西区,26.6,101.63,22,43,22,pzh,xq
- 四川省,攀枝花,仁和区,26.5,101.74,22,43,48,pzh,rh
- 四川省,攀枝花,米易县,26.89,102.11,22,45,17,pzh,my
- 四川省,攀枝花,盐边县,26.68,101.86,22,44,17,pzh,yb
- 四川省,泸州,市辖区,28.87,105.44,22,58,36,lz,sxq
- 四川省,泸州,江阳区,28.88,105.44,22,58,36,lz,jy
- 四川省,泸州,纳溪区,28.77,105.37,22,58,19,lz,nx
- 四川省,泸州,龙马潭区,28.91,105.44,22,58,36,lz,lmt
- 四川省,泸州,泸县,29.15,105.38,22,58,22,lz,lx
- 四川省,泸州,合江县,28.81,105.83,23,0,10,lz,hj
- 四川省,泸州,叙永县,28.16,105.45,22,58,39,lz,xy
- 四川省,泸州,古蔺县,28.04,105.81,23,0,5,lz,gl
- 四川省,德阳,市辖区,31.13,104.4,22,54,27,dy,sxq
- 四川省,德阳,旌阳区,31.14,104.42,22,54,31,dy,jy
- 四川省,德阳,中江县,31.03,104.68,22,55,34,dy,zj
- 四川省,德阳,罗江县,31.32,104.51,22,54,53,dy,lj
- 四川省,德阳,广汉,30.98,104.28,22,53,58,dy,gh
- 四川省,德阳,什邡,31.13,104.17,22,53,31,dy,sf
- 四川省,德阳,绵竹,31.34,104.22,22,53,43,dy,mz
- 四川省,绵阳,市辖区,31.47,104.68,22,55,34,my,sxq
- 四川省,绵阳,涪城区,31.46,104.76,22,55,53,my,fc
- 四川省,绵阳,游仙区,31.47,104.77,22,55,55,my,yx
- 四川省,绵阳,三台县,31.1,105.1,22,57,15,my,st
- 四川省,绵阳,盐亭县,31.21,105.39,22,58,24,my,yt
- 四川省,绵阳,安县,31.53,104.57,22,55,7,my,ax
- 四川省,绵阳,梓潼县,31.64,105.16,22,57,29,my,zt
- 四川省,绵阳,北川羌族自治县,31.83,104.47,22,54,43,my,bcqz
- 四川省,绵阳,平武县,32.41,104.53,22,54,58,my,pw
- 四川省,绵阳,江油,31.76,104.73,22,55,46,my,jy
- 四川省,广元,市辖区,32.44,105.84,23,0,12,gy,sxq
- 四川省,广元,市中区,29.56,103.76,22,51,53,gy,sz
- 四川省,广元,元坝区,32.14,105.88,23,0,22,gy,yb
- 四川省,广元,朝天区,32.64,105.89,23,0,24,gy,ct
- 四川省,广元,旺苍县,32.23,106.29,23,2,0,gy,wc
- 四川省,广元,青川县,32.59,105.24,22,57,48,gy,qc
- 四川省,广元,剑阁县,32.29,105.53,22,58,58,gy,jg
- 四川省,广元,苍溪县,31.73,105.94,23,0,36,gy,cx
- 四川省,遂宁,市辖区,30.53,105.59,22,59,12,sn,sxq
- 四川省,遂宁,船山区,30.53,105.57,22,59,7,sn,cs
- 四川省,遂宁,安居区,30.35,105.46,22,58,41,sn,aj
- 四川省,遂宁,蓬溪县,30.76,105.71,22,59,41,sn,px
- 四川省,遂宁,射洪县,30.87,105.39,22,58,24,sn,sh
- 四川省,遂宁,大英县,30.59,105.24,22,57,48,sn,dy
- 四川省,内江,市辖区,29.58,105.06,22,57,5,nj,sxq
- 四川省,内江,市中区,29.59,105.07,22,57,7,nj,sz
- 四川省,内江,东兴区,29.59,105.07,22,57,7,nj,dx
- 四川省,内江,威远县,29.53,104.67,22,55,31,nj,wy
- 四川省,内江,资中县,29.76,104.85,22,56,15,nj,zz
- 四川省,内江,隆昌县,29.34,105.29,22,58,0,nj,lc
- 四川省,乐山,市辖区,29.55,103.77,22,51,55,ls,sxq
- 四川省,乐山,市中区,29.56,103.76,22,51,53,ls,sz
- 四川省,乐山,沙湾区,29.41,103.55,22,51,3,ls,sw
- 四川省,乐山,五通桥区,29.41,103.82,22,52,7,ls,wtq
- 四川省,乐山,金口河区,29.24,103.08,22,49,10,ls,jkh
- 四川省,乐山,犍为县,29.21,103.95,22,52,39,ls,jw
- 四川省,乐山,井研县,29.65,104.07,22,53,7,ls,jy
- 四川省,乐山,夹江县,29.74,103.57,22,51,7,ls,jj
- 四川省,乐山,沐川县,28.96,103.9,22,52,27,ls,mc
- 四川省,乐山,峨边彝族自治县,29.23,103.26,22,49,53,ls,ebyz
- 四川省,乐山,马边彝族自治县,28.84,103.55,22,51,3,ls,mbyz
- 四川省,乐山,峨眉山,29.57,103.45,22,50,39,ls,ems
- 四川省,南充,市辖区,30.84,106.11,23,1,17,nc,sxq
- 四川省,南充,顺庆区,30.8,106.09,23,1,12,nc,sq
- 四川省,南充,高坪区,30.78,106.12,23,1,19,nc,gp
- 四川省,南充,嘉陵区,30.76,106.07,23,1,7,nc,jl
- 四川省,南充,南部县,31.35,106.07,23,1,7,nc,nb
- 四川省,南充,营山县,31.08,106.57,23,3,7,nc,ys
- 四川省,南充,蓬安县,31.03,106.41,23,2,29,nc,pa
- 四川省,南充,仪陇县,31.27,106.3,23,2,3,nc,yl
- 四川省,南充,西充县,30.99,105.9,23,0,27,nc,xc
- 四川省,南充,阆中,31.56,106.01,23,0,53,nc,lz
- 四川省,眉山,市辖区,30.07,103.85,22,52,15,ms,sxq
- 四川省,眉山,东坡区,30.04,103.83,22,52,10,ms,dp
- 四川省,眉山,仁寿县,29.99,104.14,22,53,24,ms,rs
- 四川省,眉山,彭山县,30.19,103.87,22,52,19,ms,ps
- 四川省,眉山,洪雅县,29.9,103.37,22,50,19,ms,hy
- 四川省,眉山,丹棱县,30.01,103.51,22,50,53,ms,dl
- 四川省,眉山,青神县,29.83,103.85,22,52,15,ms,qs
- 四川省,宜宾,市辖区,28.75,104.64,22,55,24,yb,sxq
- 四川省,宜宾,翠屏区,28.77,104.62,22,55,19,yb,cp
- 四川省,宜宾,宜宾县,28.69,104.53,22,54,58,yb,yb
- 四川省,宜宾,南溪县,28.85,104.97,22,56,43,yb,nx
- 四川省,宜宾,江安县,28.72,105.07,22,57,7,yb,ja
- 四川省,宜宾,长宁县,28.58,104.92,22,56,31,yb,cn
- 四川省,宜宾,高县,28.43,104.52,22,54,55,yb,gx
- 四川省,宜宾,珙县,28.44,104.71,22,55,41,yb,gx
- 四川省,宜宾,筠连县,28.16,104.51,22,54,53,yb,jl
- 四川省,宜宾,兴文县,28.3,105.24,22,57,48,yb,xw
- 四川省,宜宾,屏山县,28.65,104.15,22,53,27,yb,ps
- 四川省,广安,市辖区,28.65,104.15,22,53,27,ga,sxq
- 四川省,广安,广安区,30.47,106.64,23,3,24,ga,ga
- 四川省,广安,岳池县,30.54,106.44,23,2,36,ga,yc
- 四川省,广安,武胜县,30.35,106.3,23,2,3,ga,ws
- 四川省,广安,邻水县,30.33,106.93,23,4,34,ga,ls
- 四川省,广安,华莹,30.39,106.78,23,3,58,ga,hy
- 四川省,达州,市辖区,31.21,107.47,23,6,43,dz,sxq
- 四川省,达州,通川区,31.22,107.51,23,6,53,dz,tc
- 四川省,达州,达川区,31.18,107.42,23,6,31,dz,dc
- 四川省,达州,达县,31.18,107.42,23,6,31,dz,dx
- 四川省,达州,宣汉县,31.35,107.73,23,7,46,dz,xh
- 四川省,达州,开江县,31.08,107.87,23,8,19,dz,kj
- 四川省,达州,大竹县,30.74,107.21,23,5,41,dz,dz
- 四川省,达州,渠县,30.84,106.97,23,4,43,dz,qx
- 四川省,达州,万源,32.08,108.03,23,8,58,dz,wy
- 四川省,雅安,市辖区,30.01,103.05,22,49,3,ya,sxq
- 四川省,雅安,雨城区,30,103.03,22,48,58,ya,yc
- 四川省,雅安,名山县,30.13,103.22,22,49,43,ya,ms
- 四川省,雅安,荥经县,29.79,102.85,22,48,15,ya,xj
- 四川省,雅安,汉源县,29.34,102.65,22,47,27,ya,hy
- 四川省,雅安,石棉县,29.23,102.36,22,46,17,ya,sm
- 四川省,雅安,天全县,30.07,102.76,22,47,53,ya,tq
- 四川省,雅安,芦山县,30.14,102.93,22,48,34,ya,ls
- 四川省,雅安,宝兴县,30.37,102.82,22,48,7,ya,bx
- 四川省,巴中,市辖区,31.87,106.75,23,3,51,bz,sxq
- 四川省,巴中,巴州区,31.85,106.77,23,3,55,bz,bz
- 四川省,巴中,通江县,31.91,107.25,23,5,51,bz,tj
- 四川省,巴中,南江县,32.35,106.83,23,4,10,bz,nj
- 四川省,巴中,平昌县,31.56,107.1,23,5,15,bz,pc
- 四川省,资阳,市辖区,30.13,104.63,22,55,22,zy,sxq
- 四川省,资阳,雁江区,30.12,104.65,22,55,27,zy,yj
- 四川省,资阳,安岳县,30.1,105.34,22,58,12,zy,ay
- 四川省,资阳,乐至县,30.28,105.02,22,56,55,zy,lz
- 四川省,资阳,简阳,30.41,104.55,22,55,3,zy,jy
- 四川省,阿坝藏族羌族自治州,汶川县,31.48,103.59,22,51,12,abzzqz,wc
- 四川省,阿坝藏族羌族自治州,理县,31.43,103.17,22,49,31,abzzqz,lx
- 四川省,阿坝藏族羌族自治州,茂县,31.68,103.86,22,52,17,abzzqz,mx
- 四川省,阿坝藏族羌族自治州,松潘县,32.64,103.6,22,51,15,abzzqz,sp
- 四川省,阿坝藏族羌族自治州,九寨沟县,33.26,104.24,22,53,48,abzzqz,jzg
- 四川省,阿坝藏族羌族自治州,金川县,31.48,102.06,22,45,5,abzzqz,jc
- 四川省,阿坝藏族羌族自治州,小金县,31,102.36,22,46,17,abzzqz,xj
- 四川省,阿坝藏族羌族自治州,黑水县,32.06,102.99,22,48,48,abzzqz,hs
- 四川省,阿坝藏族羌族自治州,马尔康县,31.91,102.21,22,45,41,abzzqz,mek
- 四川省,阿坝藏族羌族自治州,壤塘县,32.27,100.98,22,40,46,abzzqz,rt
- 四川省,阿坝藏族羌族自治州,阿坝县,32.9,101.71,22,43,41,abzzqz,ab
- 四川省,阿坝藏族羌族自治州,若尔盖县,33.58,102.96,22,48,41,abzzqz,reg
- 四川省,阿坝藏族羌族自治州,红原县,32.79,102.55,22,47,3,abzzqz,hy
- 四川省,甘孜藏族自治州,康定县,30,101.96,22,44,41,gzzz,kd
- 四川省,甘孜藏族自治州,泸定县,29.91,102.24,22,45,48,gzzz,ld
- 四川省,甘孜藏族自治州,丹巴县,30.88,101.89,22,44,24,gzzz,db
- 四川省,甘孜藏族自治州,九龙县,29,101.51,22,42,53,gzzz,jl
- 四川省,甘孜藏族自治州,雅江县,30.03,101.02,22,40,55,gzzz,yj
- 四川省,甘孜藏族自治州,道孚县,30.98,101.13,22,41,22,gzzz,df
- 四川省,甘孜藏族自治州,炉霍县,31.39,100.68,22,39,34,gzzz,lh
- 四川省,甘孜藏族自治州,甘孜县,31.62,99.99,22,36,48,gzzz,gz
- 四川省,甘孜藏族自治州,新龙县,30.94,100.31,22,38,5,gzzz,xl
- 四川省,甘孜藏族自治州,德格县,31.81,98.58,22,31,10,gzzz,dg
- 四川省,甘孜藏族自治州,白玉县,31.21,98.83,22,32,10,gzzz,by
- 四川省,甘孜藏族自治州,石渠县,32.98,98.11,22,29,17,gzzz,sq
- 四川省,甘孜藏族自治州,色达县,32.27,100.34,22,38,12,gzzz,sd
- 四川省,甘孜藏族自治州,理塘县,30,100.27,22,37,55,gzzz,lt
- 四川省,甘孜藏族自治州,巴塘县,30,99.11,22,33,17,gzzz,bt
- 四川省,甘孜藏族自治州,乡城县,28.93,99.8,22,36,3,gzzz,xc
- 四川省,甘孜藏族自治州,稻城县,29.04,100.3,22,38,3,gzzz,dc
- 四川省,甘孜藏族自治州,得荣县,28.71,99.29,22,34,0,gzzz,dr
- 四川省,凉山彝族自治州,西昌,27.89,102.26,22,45,53,lsyz,xc
- 四川省,凉山彝族自治州,木里藏族自治县,27.93,101.28,22,41,58,lsyz,mlzz
- 四川省,凉山彝族自治州,盐源县,27.42,101.51,22,42,53,lsyz,yy
- 四川省,凉山彝族自治州,德昌县,27.4,102.18,22,45,34,lsyz,dc
- 四川省,凉山彝族自治州,会理县,26.66,102.25,22,45,51,lsyz,hl
- 四川省,凉山彝族自治州,会东县,26.63,102.58,22,47,10,lsyz,hd
- 四川省,凉山彝族自治州,宁南县,27.07,102.76,22,47,53,lsyz,nn
- 四川省,凉山彝族自治州,普格县,27.38,102.54,22,47,0,lsyz,pg
- 四川省,凉山彝族自治州,布拖县,27.71,102.81,22,48,5,lsyz,bt
- 四川省,凉山彝族自治州,金阳县,28.01,102.84,22,48,12,lsyz,jy
- 四川省,凉山彝族自治州,昭觉县,28.01,102.84,22,48,12,lsyz,zj
- 四川省,凉山彝族自治州,喜德县,28.31,102.41,22,46,29,lsyz,xd
- 四川省,凉山彝族自治州,冕宁县,28.55,102.18,22,45,34,lsyz,mn
- 四川省,凉山彝族自治州,越西县,28.64,102.51,22,46,53,lsyz,yx
- 四川省,凉山彝族自治州,甘洛县,28.96,102.77,22,47,55,lsyz,gl
- 四川省,凉山彝族自治州,美姑县,28.33,103.13,22,49,22,lsyz,mg
- 四川省,凉山彝族自治州,雷波县,28.26,103.57,22,51,7,lsyz,lb
- 云南省,昆明,市辖区,24.88,102.84,22,48,12,km,sxq
- 云南省,昆明,五华区,25.04,102.71,22,47,41,km,wh
- 云南省,昆明,盘龙区,25.12,102.75,22,47,51,km,pl
- 云南省,昆明,官渡区,25.01,102.74,22,47,48,km,gd
- 云南省,昆明,西山区,25.04,102.67,22,47,31,km,xs
- 云南省,昆明,东川区,26.08,103.19,22,49,36,km,dc
- 云南省,昆明,呈贡县,24.87,102.87,22,48,19,km,cg
- 云南省,昆明,普宁县,24.67,102.6,22,47,15,km,pn
- 云南省,昆明,富民县,25.22,102.5,22,46,51,km,fm
- 云南省,昆明,宜良县,24.92,103.14,22,49,24,km,yl
- 云南省,昆明,石林彝族自治县,24.77,103.29,22,50,0,km,slyz
- 云南省,昆明,嵩明县,25.34,103.04,22,49,0,km,sm
- 云南省,昆明,禄劝彝族苗族自治县,25.55,102.47,22,46,43,km,lqyzmz
- 云南省,昆明,寻甸回族彝族自治县,25.56,103.26,22,49,53,km,xdhzyz
- 云南省,昆明,安宁,24.92,102.48,22,46,46,km,an
- 云南省,曲靖,市辖区,25.49,103.8,22,52,3,qj,sxq
- 云南省,曲靖,麒麟区,25.5,103.81,22,52,5,qj,ql
- 云南省,曲靖,马龙县,25.43,103.58,22,51,10,qj,ml
- 云南省,曲靖,陆良县,25.03,103.67,22,51,31,qj,ll
- 云南省,曲靖,师宗县,24.83,103.99,22,52,48,qj,sz
- 云南省,曲靖,罗平县,24.88,104.31,22,54,5,qj,lp
- 云南省,曲靖,富源县,25.67,104.26,22,53,53,qj,fy
- 云南省,曲靖,会泽县,26.42,103.3,22,50,3,qj,hz
- 云南省,曲靖,沾益县,25.6,103.82,22,52,7,qj,zy
- 云南省,曲靖,宣威,26.22,104.11,22,53,17,qj,xw
- 云南省,玉溪,市辖区,24.35,102.55,22,47,3,yx,sxq
- 云南省,玉溪,红塔区,24.35,102.55,22,47,3,yx,ht
- 云南省,玉溪,江川县,24.29,102.75,22,47,51,yx,jc
- 云南省,玉溪,澄江县,24.67,102.91,22,48,29,yx,cj
- 云南省,玉溪,通海县,24.11,102.77,22,47,55,yx,th
- 云南省,玉溪,华宁县,24.19,102.93,22,48,34,yx,hn
- 云南省,玉溪,易门县,24.67,102.16,22,45,29,yx,ym
- 云南省,玉溪,峨山彝族自治县,24.17,102.41,22,46,29,yx,esyz
- 云南省,玉溪,新平彝族傣族自治县,24.07,101.99,22,44,48,yx,xpyzdz
- 云南省,玉溪,元江哈尼族彝族自治县,23.6,102.01,22,44,53,yx,yjhnzyz
- 云南省,保山,市辖区,25.11,99.16,22,33,29,bs,sxq
- 云南省,保山,隆阳区,25.12,99.17,22,33,31,bs,ly
- 云南省,保山,施甸县,24.72,99.19,22,33,36,bs,sd
- 云南省,保山,腾冲县,25.02,98.49,22,30,48,bs,tc
- 云南省,保山,龙陵县,24.59,98.69,22,31,36,bs,ll
- 云南省,保山,昌宁县,24.83,99.61,22,35,17,bs,cn
- 云南省,昭通,市辖区,27.34,103.72,22,51,43,zt,sxq
- 云南省,昭通,昭阳区,27.32,103.71,22,51,41,zt,zy
- 云南省,昭通,鲁甸县,27.19,103.56,22,51,5,zt,ld
- 云南省,昭通,巧家县,26.91,102.93,22,48,34,zt,qj
- 云南省,昭通,盐津县,28.11,104.24,22,53,48,zt,yj
- 云南省,昭通,大关县,27.75,103.89,22,52,24,zt,dg
- 云南省,昭通,永善县,28.23,103.64,22,51,24,zt,ys
- 云南省,昭通,绥江县,28.6,103.96,22,52,41,zt,sj
- 云南省,昭通,镇雄县,27.44,104.88,22,56,22,zt,zx
- 云南省,昭通,彝良县,27.62,104.05,22,53,3,zt,yl
- 云南省,昭通,威信县,27.85,105.05,22,57,3,zt,wx
- 云南省,昭通,水富县,28.63,104.42,22,54,31,zt,sf
- 云南省,丽江,市辖区,26.86,100.23,22,37,46,lj,sxq
- 云南省,丽江,古城区,26.88,100.23,22,37,46,lj,gc
- 云南省,丽江,玉龙纳西族自治县,26.82,100.24,22,37,48,lj,ylnxz
- 云南省,丽江,永胜县,26.68,100.75,22,39,51,lj,ys
- 云南省,丽江,华坪县,26.63,101.27,22,41,55,lj,hp
- 云南省,丽江,宁蒗彝族自治县,27.28,100.85,22,40,15,lj,nlyz
- 云南省,思茅,市辖区,22.79,100.98,22,40,46,sm,sxq
- 云南省,思茅,翠云区,23.06,101.05,22,41,3,sm,cy
- 云南省,思茅,普洱哈尼族彝族自治县,23.06,101.05,22,41,3,sm,pehnzyz
- 云南省,思茅,墨江哈尼族自治县,23.43,101.69,22,43,36,sm,mjhnz
- 云南省,思茅,景东彝族自治县,24.45,100.84,22,40,12,sm,jdyz
- 云南省,思茅,景谷傣族彝族自治县,23.5,100.7,22,39,39,sm,jgdzyz
- 云南省,思茅,镇沅彝族哈尼族自治县,24.01,101.11,22,41,17,sm,zyyzhnz
- 云南省,思茅,江城哈尼族彝族自治县,22.58,101.86,22,44,17,sm,jchnzyz
- 云南省,思茅,孟连傣族拉祜族自治县,22.33,99.59,22,35,12,sm,mldzlhz
- 云南省,思茅,澜沧拉祜族自治县,22.56,99.93,22,36,34,sm,lclhz
- 云南省,思茅,西盟佤族自治县,22.64,99.59,22,35,12,sm,xmwz
- 云南省,临沧,市辖区,23.89,100.09,22,37,12,lc,sxq
- 云南省,临沧,临翔区,23.9,100.08,22,37,10,lc,lx
- 云南省,临沧,凤庆县,24.58,99.93,22,36,34,lc,fq
- 云南省,临沧,云县,24.44,100.13,22,37,22,lc,yx
- 云南省,临沧,永德县,24.02,99.26,22,33,53,lc,yd
- 云南省,临沧,镇康县,23.76,98.83,22,32,10,lc,zk
- 云南省,临沧,双江拉祜族佤族布朗族傣族自治县,23.47,99.83,22,36,10,lc,sjlhzwzblzdz
- 云南省,临沧,耿马傣族佤族自治县,23.54,99.4,22,34,27,lc,gmdzwz
- 云南省,临沧,沧源佤族自治县,23.15,99.25,22,33,51,lc,cywz
- 云南省,楚雄彝族自治州,楚雄,23.05,101.55,22,43,3,cxyz,cx
- 云南省,楚雄彝族自治州,双柏县,24.69,101.64,22,43,24,cxyz,sb
- 云南省,楚雄彝族自治州,牟定县,25.31,101.55,22,43,3,cxyz,md
- 云南省,楚雄彝族自治州,南华县,25.19,101.27,22,41,55,cxyz,nh
- 云南省,楚雄彝族自治州,姚安县,25.5,101.24,22,41,48,cxyz,ya
- 云南省,楚雄彝族自治州,大姚县,25.72,101.32,22,42,7,cxyz,dy
- 云南省,楚雄彝族自治州,永仁县,26.05,101.67,22,43,31,cxyz,yr
- 云南省,楚雄彝族自治州,元谋县,25.7,101.88,22,44,22,cxyz,ym
- 云南省,楚雄彝族自治州,武定县,25.53,102.41,22,46,29,cxyz,wd
- 云南省,楚雄彝族自治州,禄丰县,25.15,102.08,22,45,10,cxyz,lf
- 云南省,红河哈尼族彝族自治州,个旧,23.35,103.16,22,49,29,hhhnzyz,gj
- 云南省,红河哈尼族彝族自治州,开远,23.71,103.27,22,49,55,hhhnzyz,ky
- 云南省,红河哈尼族彝族自治州,蒙自县,23.34,103.49,22,50,48,hhhnzyz,mz
- 云南省,红河哈尼族彝族自治州,屏边苗族自治县,22.98,103.69,22,51,36,hhhnzyz,pbmz
- 云南省,红河哈尼族彝族自治州,建水县,23.71,102.5,22,46,51,hhhnzyz,js
- 云南省,红河哈尼族彝族自治州,石屏县,23.71,102.5,22,46,51,hhhnzyz,sp
- 云南省,红河哈尼族彝族自治州,弥勒县,24.22,103.38,22,50,22,hhhnzyz,ml
- 云南省,红河哈尼族彝族自治州,泸西县,24.53,103.77,22,51,55,hhhnzyz,lx
- 云南省,红河哈尼族彝族自治州,元阳县,23.22,102.84,22,48,12,hhhnzyz,yy
- 云南省,红河哈尼族彝族自治州,红河县,23.37,102.42,22,46,31,hhhnzyz,hh
- 云南省,红河哈尼族彝族自治州,金平苗族瑶族傣族自治县,22.78,103.23,22,49,46,hhhnzyz,jpmzyzdz
- 云南省,红河哈尼族彝族自治州,绿春县,22.99,102.39,22,46,24,hhhnzyz,lc
- 云南省,红河哈尼族彝族自治州,河口瑶族自治县,22.53,103.94,22,52,36,hhhnzyz,hkyz
- 云南省,文山壮族苗族自治州,文山县,23.4,104.08,22,53,10,wszzmz,ws
- 云南省,文山壮族苗族自治州,砚山县,23.61,104.34,22,54,12,wszzmz,ys
- 云南省,文山壮族苗族自治州,西畴县,23.44,104.67,22,55,31,wszzmz,xc
- 云南省,文山壮族苗族自治州,麻栗坡县,23.13,104.7,22,55,39,wszzmz,mlp
- 云南省,文山壮族苗族自治州,马关县,23.01,104.4,22,54,27,wszzmz,mg
- 云南省,文山壮族苗族自治州,丘北县,24.04,104.2,22,53,39,wszzmz,qb
- 云南省,文山壮族苗族自治州,广南县,24.05,105.06,22,57,5,wszzmz,gn
- 云南省,文山壮族苗族自治州,富宁县,23.63,105.63,22,59,22,wszzmz,fn
- 云南省,西双版纳傣族自治州,景洪,22,100.77,22,39,55,xsbndz,jh
- 云南省,西双版纳傣族自治州,勐海县,21.96,100.45,22,38,39,xsbndz,mh
- 云南省,西双版纳傣族自治州,勐腊县,21.45,101.57,22,43,7,xsbndz,ml
- 云南省,大理白族自治州,大理,25.59,100.23,22,37,46,dlbz,dl
- 云南省,大理白族自治州,漾濞彝族自治县,25.67,99.96,22,36,41,dlbz,ybyz
- 云南省,大理白族自治州,祥云县,25.48,100.55,22,39,3,dlbz,yx
- 云南省,大理白族自治州,宾川县,25.83,100.57,22,39,7,dlbz,bc
- 云南省,大理白族自治州,弥渡县,25.34,100.49,22,38,48,dlbz,md
- 云南省,大理白族自治州,南涧彝族自治县,25.04,100.52,22,38,55,dlbz,njyz
- 云南省,大理白族自治州,巍山彝族回族自治县,25.23,100.31,22,38,5,dlbz,wsyzhz
- 云南省,大理白族自治州,永平县,25.46,99.54,22,35,0,dlbz,yp
- 云南省,大理白族自治州,云龙县,25.89,99.37,22,34,19,dlbz,yl
- 云南省,大理白族自治州,洱源县,26.11,99.95,22,36,39,dlbz,ey
- 云南省,大理白族自治州,剑川县,26.54,99.9,22,36,27,dlbz,jc
- 云南省,大理白族自治州,鹤庆县,26.56,100.18,22,37,34,dlbz,hq
- 云南省,德宏傣族景颇族自治州,瑞丽,24.01,97.85,22,28,15,dhdzjpz,rl
- 云南省,德宏傣族景颇族自治州,潞西,24.32,98.42,22,30,31,dhdzjpz,lx
- 云南省,德宏傣族景颇族自治州,梁河县,24.8,98.3,22,30,3,dhdzjpz,lh
- 云南省,德宏傣族景颇族自治州,盈江县,24.7,97.93,22,28,34,dhdzjpz,yj
- 云南省,德宏傣族景颇族自治州,陇川县,24.18,97.79,22,28,0,dhdzjpz,lc
- 云南省,怒江傈傈族自治州,泸水县,25.82,98.86,22,32,17,njllz,ls
- 云南省,怒江傈傈族自治州,福贡县,26.9,98.87,22,32,19,njllz,fg
- 云南省,怒江傈傈族自治州,贡山独龙族怒族自治县,27.74,98.67,22,31,31,njllz,gsdlznz
- 云南省,怒江傈傈族自治州,兰坪白族普米族自治县,26.45,99.42,22,34,31,njllz,lpbzpmz
- 云南省,迪庆藏族自治州,香格里拉县,27.9,99.83,22,36,10,dqzz,xgll
- 云南省,迪庆藏族自治州,德钦县,28.46,98.92,22,32,31,dqzz,dq
- 云南省,迪庆藏族自治州,维西傈傈族自治县,27.18,99.29,22,34,0,dqzz,wxllz
- 浙江省,杭州,市辖区,30.27,120.16,23,57,29,hz,sxq
- 浙江省,杭州,上城区,30.24,120.17,23,57,31,hz,sc
- 浙江省,杭州,下城区,30.28,120.18,23,57,34,hz,xc
- 浙江省,杭州,江干区,30.26,120.21,23,57,41,hz,jg
- 浙江省,杭州,拱墅区,30.32,120.14,23,57,24,hz,gs
- 浙江省,杭州,西湖区,30.26,120.13,23,57,22,hz,xh
- 浙江省,杭州,滨江区,30.21,120.21,23,57,41,hz,bj
- 浙江省,杭州,萧山区,30.19,120.27,23,57,55,hz,xs
- 浙江省,杭州,余杭区,30.42,120.3,23,58,3,hz,yh
- 浙江省,杭州,桐庐县,29.79,119.69,23,55,36,hz,tl
- 浙江省,杭州,淳安县,29.61,119.04,23,53,0,hz,ca
- 浙江省,杭州,建德,29.47,119.28,23,53,58,hz,jd
- 浙江省,杭州,富阳,29.99,119.84,23,56,12,hz,fy
- 浙江省,杭州,临安,30.23,119.73,23,55,46,hz,la
- 浙江省,宁波,市辖区,29.87,121.55,0,3,3,nb,sxq
- 浙江省,宁波,海曙区,29.86,121.55,0,3,3,nb,hs
- 浙江省,宁波,江东区,29.87,121.57,0,3,7,nb,jd
- 浙江省,宁波,江北区,29.89,121.56,0,3,5,nb,jb
- 浙江省,宁波,北仓区,29.9,121.84,0,4,12,nb,bc
- 浙江省,宁波,镇海区,29.95,121.72,0,3,43,nb,zh
- 浙江省,宁波,鄞州区,29.82,121.55,0,3,3,nb,yz
- 浙江省,宁波,象山县,29.82,121.55,0,3,3,nb,xs
- 浙江省,宁波,宁海县,29.29,121.43,0,2,34,nb,nh
- 浙江省,宁波,余姚,30.04,121.15,0,1,27,nb,yy
- 浙江省,宁波,慈溪,30.17,121.27,0,1,55,nb,cx
- 浙江省,宁波,奉化,29.66,121.41,0,2,29,nb,fh
- 浙江省,温州,市辖区,28.01,120.64,23,59,24,wz,sxq
- 浙江省,温州,鹿城区,28.01,120.64,23,59,24,wz,lc
- 浙江省,温州,龙湾区,28.01,120.64,23,59,24,wz,lw
- 浙江省,温州,瓯海区,28.01,120.64,23,59,24,wz,oh
- 浙江省,温州,洞头县,27.84,121.16,0,1,29,wz,dt
- 浙江省,温州,永嘉县,28.15,120.69,23,59,36,wz,yj
- 浙江省,温州,平阳县,27.66,120.57,23,59,7,wz,py
- 浙江省,温州,苍南县,27.52,120.43,23,58,34,wz,cn
- 浙江省,温州,文成县,27.79,120.09,23,57,12,wz,wc
- 浙江省,温州,泰顺县,27.56,119.72,23,55,43,wz,ts
- 浙江省,温州,瑞安,27.78,120.66,23,59,29,wz,ra
- 浙江省,温州,乐清,28.11,120.98,0,0,46,wz,lq
- 浙江省,嘉兴,市辖区,30.75,120.76,23,59,53,jx,sxq
- 浙江省,嘉兴,秀城区,30.71,120.93,0,0,34,jx,xc
- 浙江省,嘉兴,秀洲区,30.76,120.71,23,59,41,jx,xz
- 浙江省,嘉兴,嘉善县,30.83,120.93,0,0,34,jx,js
- 浙江省,嘉兴,海盐县,30.53,120.95,0,0,39,jx,hy
- 浙江省,嘉兴,海宁,30.51,120.68,23,59,34,jx,hn
- 浙江省,嘉兴,平湖,30.68,121.02,0,0,55,jx,ph
- 浙江省,嘉兴,桐乡,30.63,120.56,23,59,5,jx,tx
- 浙江省,湖州,市辖区,30.89,120.09,23,57,12,hz,sxq
- 浙江省,湖州,吴兴区,30.86,120.19,23,57,36,hz,wx
- 浙江省,湖州,南浔区,30.85,120.42,23,58,31,hz,nx
- 浙江省,湖州,德清县,30.85,120.42,23,58,31,hz,dq
- 浙江省,湖州,长兴县,31.03,119.91,23,56,29,hz,cx
- 浙江省,湖州,安吉县,30.64,119.68,23,55,34,hz,aj
- 浙江省,绍兴,市辖区,30.03,120.58,23,59,10,sx,sxq
- 浙江省,绍兴,越城区,29.99,120.58,23,59,10,sx,yc
- 浙江省,绍兴,绍兴县,29.96,120.57,23,59,7,sx,sx
- 浙江省,绍兴,新昌县,29.5,120.91,0,0,29,sx,xc
- 浙江省,绍兴,诸暨,29.71,120.24,23,57,48,sx,zj
- 浙江省,绍兴,上虞,29.97,120.88,0,0,22,sx,sy
- 浙江省,绍兴,嵊州,29.59,120.82,0,0,7,sx,sz
- 浙江省,金华,市辖区,29.08,119.65,23,55,27,jh,sxq
- 浙江省,金华,婺城区,29.09,119.57,23,55,7,jh,wc
- 浙江省,金华,金东区,29.1,119.69,23,55,36,jh,jd
- 浙江省,金华,武义县,28.89,119.82,23,56,7,jh,wy
- 浙江省,金华,浦江县,29.45,119.89,23,56,24,jh,pj
- 浙江省,金华,磐安县,29.05,120.45,23,58,39,jh,pa
- 浙江省,金华,兰溪,29.21,119.46,23,54,41,jh,lx
- 浙江省,金华,义乌,29.31,120.08,23,57,10,jh,yw
- 浙江省,金华,东阳,29.29,120.24,23,57,48,jh,dy
- 浙江省,金华,永康,28.89,120.05,23,57,3,jh,yk
- 浙江省,衢州,市辖区,28.94,118.88,23,52,22,qz,sxq
- 浙江省,衢州,柯城区,28.97,118.87,23,52,19,qz,kc
- 浙江省,衢州,衢江区,28.98,118.96,23,52,41,qz,qj
- 浙江省,衢州,常山县,28.9,118.51,23,50,53,qz,cs
- 浙江省,衢州,开化县,29.14,118.41,23,50,29,qz,kh
- 浙江省,衢州,龙游县,29.03,119.17,23,53,31,qz,ly
- 浙江省,衢州,江山,28.74,118.63,23,51,22,qz,js
- 浙江省,舟山,市辖区,29.98,122.21,0,5,41,zs,sxq
- 浙江省,舟山,定海区,30.02,122.11,0,5,17,zs,dh
- 浙江省,舟山,普陀区,29.95,122.3,0,6,3,zs,pt
- 浙江省,舟山,岱山县,30.24,122.21,0,5,41,zs,ds
- 浙江省,舟山,嵊泗县,30.73,122.45,0,6,39,zs,ss
- 浙江省,台州,市辖区,28.66,121.42,0,2,31,tz,sxq
- 浙江省,台州,椒江区,28.67,121.44,0,2,36,tz,jj
- 浙江省,台州,黄岩区,28.65,121.26,0,1,53,tz,hy
- 浙江省,台州,路桥区,28.58,121.37,0,2,19,tz,lq
- 浙江省,台州,玉环县,28.14,121.23,0,1,46,tz,yh
- 浙江省,台州,三门县,29.1,121.4,0,2,27,tz,sm
- 浙江省,台州,天台县,29.14,121.01,0,0,53,tz,tt
- 浙江省,台州,仙居县,28.85,120.73,23,59,46,tz,xj
- 浙江省,台州,温岭,28.37,121.39,0,2,24,tz,wl
- 浙江省,台州,临海,28.86,121.15,0,1,27,tz,lh
- 浙江省,丽水,市辖区,28.47,119.92,23,56,31,ls,sxq
- 浙江省,丽水,莲都区,28.45,119.91,23,56,29,ls,ld
- 浙江省,丽水,青田县,28.14,120.29,23,58,0,ls,qt
- 浙江省,丽水,缙云县,28.66,120.09,23,57,12,ls,jy
- 浙江省,丽水,遂昌县,28.59,119.28,23,53,58,ls,sc
- 浙江省,丽水,松阳县,28.45,119.48,23,54,46,ls,sy
- 浙江省,丽水,云和县,28.12,119.57,23,55,7,ls,yh
- 浙江省,丽水,庆元县,27.62,119.06,23,53,5,ls,qy
- 浙江省,丽水,景宁畲族自治县,27.97,119.64,23,55,24,ls,jnsz
- 浙江省,丽水,龙泉,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
- 1900/1/30,腊月,三十,1900
- 1900/1/31,正月,初一,1900
- 1900/2/28,正月,廿九,1900
- 1900/3/1,二月,初一,1900
- 1900/3/30,二月,三十,1900
- 1900/3/31,三月,初一,1900
- 1900/4/28,三月,廿九,1900
- 1900/4/29,四月,初一,1900
- 1900/5/27,四月,廿九,1900
- 1900/5/28,五月,初一,1900
- 1900/6/26,五月,三十,1900
- 1900/6/27,六月,初一,1900
- 1900/7/25,六月,廿九,1900
- 1900/7/26,七月,初一,1900
- 1900/8/24,七月,三十,1900
- 1900/8/25,八月,初一,1900
- 1900/9/23,八月,三十,1900
- 1900/9/24,闰八月,初一,1900
- 1900/10/22,闰八月,廿九,1900
- 1900/10/23,九月,初一,1900
- 1900/11/21,九月,三十,1900
- 1900/11/22,十月,初一,1900
- 1900/12/21,十月,三十,1900
- 1900/12/22,冬月,初一,1900
- 1901/1/19,冬月,廿九,1900
- 1901/1/20,腊月,初一,1901
- 1901/2/18,腊月,三十,1901
- 1901/2/19,正月,初一,1901
- 1901/3/19,正月,廿九,1901
- 1901/3/20,二月,初一,1901
- 1901/4/18,二月,三十,1901
- 1901/4/19,三月,初一,1901
- 1901/5/17,三月,廿九,1901
- 1901/5/18,四月,初一,1901
- 1901/6/15,四月,廿九,1901
- 1901/6/16,五月,初一,1901
- 1901/7/15,五月,三十,1901
- 1901/7/16,六月,初一,1901
- 1901/8/13,六月,廿九,1901
- 1901/8/14,七月,初一,1901
- 1901/9/12,七月,三十,1901
- 1901/9/13,八月,初一,1901
- 1901/10/11,八月,廿九,1901
- 1901/10/12,九月,初一,1901
- 1901/11/10,九月,三十,1901
- 1901/11/11,十月,初一,1901
- 1901/12/10,十月,三十,1901
- 1901/12/11,冬月,初一,1901
- 1902/1/9,冬月,三十,1901
- 1902/1/10,腊月,初一,1902
- 1902/2/7,腊月,廿九,1902
- 1902/2/8,正月,初一,1902
- 1902/3/9,正月,三十,1902
- 1902/3/10,二月,初一,1902
- 1902/4/7,二月,廿九,1902
- 1902/4/8,三月,初一,1902
- 1902/5/7,三月,三十,1902
- 1902/5/8,四月,初一,1902
- 1902/6/5,四月,廿九,1902
- 1902/6/6,五月,初一,1902
- 1902/7/4,五月,廿九,1902
- 1902/7/5,六月,初一,1902
- 1902/8/3,六月,三十,1902
- 1902/8/4,七月,初一,1902
- 1902/9/1,七月,廿九,1902
- 1902/9/2,八月,初一,1902
- 1902/10/1,八月,三十,1902
- 1902/10/2,九月,初一,1902
- 1902/10/30,九月,廿九,1902
- 1902/10/31,十月,初一,1902
- 1902/11/29,十月,三十,1902
- 1902/11/30,冬月,初一,1902
- 1902/12/29,冬月,三十,1902
- 1902/12/30,腊月,初一,1903
- 1903/1/28,腊月,三十,1903
- 1903/1/29,正月,初一,1903
- 1903/2/26,正月,廿九,1903
- 1903/2/27,二月,初一,1903
- 1903/3/28,二月,三十,1903
- 1903/3/29,三月,初一,1903
- 1903/4/26,三月,廿九,1903
- 1903/4/27,四月,初一,1903
- 1903/5/26,四月,三十,1903
- 1903/5/27,五月,初一,1903
- 1903/6/24,五月,廿九,1903
- 1903/6/25,闰五月,初一,1903
- 1903/7/23,闰五月,廿九,1903
- 1903/7/24,六月,初一,1903
- 1903/8/22,六月,三十,1903
- 1903/8/23,七月,初一,1903
- 1903/9/20,七月,廿九,1903
- 1903/9/21,八月,初一,1903
- 1903/10/19,八月,廿九,1903
- 1903/10/20,九月,初一,1903
- 1903/11/18,九月,三十,1903
- 1903/11/19,十月,初一,1903
- 1903/12/18,十月,三十,1903
- 1903/12/19,冬月,初一,1903
- 1904/1/16,冬月,廿九,1903
- 1904/1/17,腊月,初一,1904
- 1904/2/15,腊月,三十,1904
- 1904/2/16,正月,初一,1904
- 1904/3/16,正月,三十,1904
- 1904/3/17,二月,初一,1904
- 1904/4/15,二月,三十,1904
- 1904/4/16,三月,初一,1904
- 1904/5/14,三月,廿九,1904
- 1904/5/15,四月,初一,1904
- 1904/6/13,四月,三十,1904
- 1904/6/14,五月,初一,1904
- 1904/7/12,五月,廿九,1904
- 1904/7/13,六月,初一,1904
- 1904/8/10,六月,廿九,1904
- 1904/8/11,七月,初一,1904
- 1904/9/9,七月,三十,1904
- 1904/9/10,八月,初一,1904
- 1904/10/8,八月,廿九,1904
- 1904/10/9,九月,初一,1904
- 1904/11/6,九月,廿九,1904
- 1904/11/7,十月,初一,1904
- 1904/12/6,十月,三十,1904
- 1904/12/7,冬月,初一,1904
- 1905/1/5,冬月,三十,1904
- 1905/1/6,腊月,初一,1905
- 1905/2/3,腊月,廿九,1905
- 1905/2/4,正月,初一,1905
- 1905/3/5,正月,三十,1905
- 1905/3/6,二月,初一,1905
- 1905/4/4,二月,三十,1905
- 1905/4/5,三月,初一,1905
- 1905/5/3,三月,廿九,1905
- 1905/5/4,四月,初一,1905
- 1905/6/2,四月,三十,1905
- 1905/6/3,五月,初一,1905
- 1905/7/2,五月,三十,1905
- 1905/7/3,六月,初一,1905
- 1905/7/31,六月,廿九,1905
- 1905/8/1,七月,初一,1905
- 1905/8/29,七月,廿九,1905
- 1905/8/30,八月,初一,1905
- 1905/9/28,八月,三十,1905
- 1905/9/29,九月,初一,1905
- 1905/10/27,九月,廿九,1905
- 1905/10/28,十月,初一,1905
- 1905/11/26,十月,三十,1905
- 1905/11/27,冬月,初一,1905
- 1905/12/25,冬月,廿九,1905
- 1905/12/26,腊月,初一,1906
- 1906/1/24,腊月,三十,1906
- 1906/1/25,正月,初一,1906
- 1906/2/22,正月,廿九,1906
- 1906/2/23,二月,初一,1906
- 1906/3/24,二月,三十,1906
- 1906/3/25,三月,初一,1906
- 1906/4/23,三月,三十,1906
- 1906/4/24,四月,初一,1906
- 1906/5/22,四月,廿九,1906
- 1906/5/23,闰四月,初一,1906
- 1906/6/21,闰四月,三十,1906
- 1906/6/22,五月,初一,1906
- 1906/7/20,五月,廿九,1906
- 1906/7/21,六月,初一,1906
- 1906/8/19,六月,三十,1906
- 1906/8/20,七月,初一,1906
- 1906/9/17,七月,廿九,1906
- 1906/9/18,八月,初一,1906
- 1906/10/17,八月,三十,1906
- 1906/10/18,九月,初一,1906
- 1906/11/15,九月,廿九,1906
- 1906/11/16,十月,初一,1906
- 1906/12/15,十月,三十,1906
- 1906/12/16,冬月,初一,1906
- 1907/1/13,冬月,廿九,1906
- 1907/1/14,腊月,初一,1907
- 1907/2/12,腊月,三十,1907
- 1907/2/13,正月,初一,1907
- 1907/3/13,正月,廿九,1907
- 1907/3/14,二月,初一,1907
- 1907/4/12,二月,三十,1907
- 1907/4/13,三月,初一,1907
- 1907/5/11,三月,廿九,1907
- 1907/5/12,四月,初一,1907
- 1907/6/10,四月,三十,1907
- 1907/6/11,五月,初一,1907
- 1907/7/9,五月,廿九,1907
- 1907/7/10,六月,初一,1907
- 1907/8/8,六月,三十,1907
- 1907/8/9,七月,初一,1907
- 1907/9/7,七月,三十,1907
- 1907/9/8,八月,初一,1907
- 1907/10/6,八月,廿九,1907
- 1907/10/7,九月,初一,1907
- 1907/11/5,九月,三十,1907
- 1907/11/6,十月,初一,1907
- 1907/12/4,十月,廿九,1907
- 1907/12/5,冬月,初一,1907
- 1908/1/3,冬月,三十,1907
- 1908/1/4,腊月,初一,1908
- 1908/2/1,腊月,廿九,1908
- 1908/2/2,正月,初一,1908
- 1908/3/2,正月,三十,1908
- 1908/3/3,二月,初一,1908
- 1908/3/31,二月,廿九,1908
- 1908/4/1,三月,初一,1908
- 1908/4/29,三月,廿九,1908
- 1908/4/30,四月,初一,1908
- 1908/5/29,四月,三十,1908
- 1908/5/30,五月,初一,1908
- 1908/6/28,五月,三十,1908
- 1908/6/29,六月,初一,1908
- 1908/7/27,六月,廿九,1908
- 1908/7/28,七月,初一,1908
- 1908/8/26,七月,三十,1908
- 1908/8/27,八月,初一,1908
- 1908/9/24,八月,廿九,1908
- 1908/9/25,九月,初一,1908
- 1908/10/24,九月,三十,1908
- 1908/10/25,十月,初一,1908
- 1908/11/23,十月,三十,1908
- 1908/11/24,冬月,初一,1908
- 1908/12/22,冬月,廿九,1908
- 1908/12/23,腊月,初一,1909
- 1909/1/21,腊月,三十,1909
- 1909/1/22,正月,初一,1909
- 1909/2/19,正月,廿九,1909
- 1909/2/20,二月,初一,1909
- 1909/3/21,二月,三十,1909
- 1909/3/22,闰二月,初一,1909
- 1909/4/19,闰二月,廿九,1909
- 1909/4/20,三月,初一,1909
- 1909/5/18,三月,廿九,1909
- 1909/5/19,四月,初一,1909
- 1909/6/17,四月,三十,1909
- 1909/6/18,五月,初一,1909
- 1909/7/16,五月,廿九,1909
- 1909/7/17,六月,初一,1909
- 1909/8/15,六月,三十,1909
- 1909/8/16,七月,初一,1909
- 1909/9/13,七月,廿九,1909
- 1909/9/14,八月,初一,1909
- 1909/10/13,八月,三十,1909
- 1909/10/14,九月,初一,1909
- 1909/11/12,九月,三十,1909
- 1909/11/13,十月,初一,1909
- 1909/12/12,十月,三十,1909
- 1909/12/13,冬月,初一,1909
- 1910/1/10,冬月,廿九,1909
- 1910/1/11,腊月,初一,1910
- 1910/2/9,腊月,三十,1910
- 1910/2/10,正月,初一,1910
- 1910/3/10,正月,廿九,1910
- 1910/3/11,二月,初一,1910
- 1910/4/9,二月,三十,1910
- 1910/4/10,三月,初一,1910
- 1910/5/8,三月,廿九,1910
- 1910/5/9,四月,初一,1910
- 1910/6/6,四月,廿九,1910
- 1910/6/7,五月,初一,1910
- 1910/7/6,五月,三十,1910
- 1910/7/7,六月,初一,1910
- 1910/8/4,六月,廿九,1910
- 1910/8/5,七月,初一,1910
- 1910/9/3,七月,三十,1910
- 1910/9/4,八月,初一,1910
- 1910/10/2,八月,廿九,1910
- 1910/10/3,九月,初一,1910
- 1910/11/1,九月,三十,1910
- 1910/11/2,十月,初一,1910
- 1910/12/1,十月,三十,1910
- 1910/12/2,冬月,初一,1910
- 1910/12/31,冬月,三十,1910
- 1911/1/1,腊月,初一,1911
- 1911/1/29,腊月,廿九,1911
- 1911/1/30,正月,初一,1911
- 1911/2/28,正月,三十,1911
- 1911/3/1,二月,初一,1911
- 1911/3/29,二月,廿九,1911
- 1911/3/30,三月,初一,1911
- 1911/4/28,三月,三十,1911
- 1911/4/29,四月,初一,1911
- 1911/5/27,四月,廿九,1911
- 1911/5/28,五月,初一,1911
- 1911/6/25,五月,廿九,1911
- 1911/6/26,六月,初一,1911
- 1911/7/25,六月,三十,1911
- 1911/7/26,闰六月,初一,1911
- 1911/8/23,闰六月,廿九,1911
- 1911/8/24,七月,初一,1911
- 1911/9/21,七月,廿九,1911
- 1911/9/22,八月,初一,1911
- 1911/10/21,八月,三十,1911
- 1911/10/22,九月,初一,1911
- 1911/11/20,九月,三十,1911
- 1911/11/21,十月,初一,1911
- 1911/12/19,十月,廿九,1911
- 1911/12/20,冬月,初一,1911
- 1912/1/18,冬月,三十,1911
- 1912/1/19,腊月,初一,1912
- 1912/2/17,腊月,三十,1912
- 1912/2/18,正月,初一,1912
- 1912/3/18,正月,三十,1912
- 1912/3/19,二月,初一,1912
- 1912/4/16,二月,廿九,1912
- 1912/4/17,三月,初一,1912
- 1912/5/16,三月,三十,1912
- 1912/5/17,四月,初一,1912
- 1912/6/14,四月,廿九,1912
- 1912/6/15,五月,初一,1912
- 1912/7/13,五月,廿九,1912
- 1912/7/14,六月,初一,1912
- 1912/8/12,六月,三十,1912
- 1912/8/13,七月,初一,1912
- 1912/9/10,七月,廿九,1912
- 1912/9/11,八月,初一,1912
- 1912/10/9,八月,廿九,1912
- 1912/10/10,九月,初一,1912
- 1912/11/8,九月,三十,1912
- 1912/11/9,十月,初一,1912
- 1912/12/8,十月,三十,1912
- 1912/12/9,冬月,初一,1912
- 1913/1/6,冬月,廿九,1912
- 1913/1/7,腊月,初一,1913
- 1913/2/5,腊月,三十,1913
- 1913/2/6,正月,初一,1913
- 1913/3/7,正月,三十,1913
- 1913/3/8,二月,初一,1913
- 1913/4/6,二月,三十,1913
- 1913/4/7,三月,初一,1913
- 1913/5/5,三月,廿九,1913
- 1913/5/6,四月,初一,1913
- 1913/6/4,四月,三十,1913
- 1913/6/5,五月,初一,1913
- 1913/7/3,五月,廿九,1913
- 1913/7/4,六月,初一,1913
- 1913/8/1,六月,廿九,1913
- 1913/8/2,七月,初一,1913
- 1913/8/31,七月,三十,1913
- 1913/9/1,八月,初一,1913
- 1913/9/29,八月,廿九,1913
- 1913/9/30,九月,初一,1913
- 1913/10/28,九月,廿九,1913
- 1913/10/29,十月,初一,1913
- 1913/11/27,十月,三十,1913
- 1913/11/28,冬月,初一,1913
- 1913/12/26,冬月,廿九,1913
- 1913/12/27,腊月,初一,1914
- 1914/1/25,腊月,三十,1914
- 1914/1/26,正月,初一,1914
- 1914/2/24,正月,三十,1914
- 1914/2/25,二月,初一,1914
- 1914/3/26,二月,三十,1914
- 1914/3/27,三月,初一,1914
- 1914/4/24,三月,廿九,1914
- 1914/4/25,四月,初一,1914
- 1914/5/24,四月,三十,1914
- 1914/5/25,五月,初一,1914
- 1914/6/22,五月,廿九,1914
- 1914/6/23,闰五月,初一,1914
- 1914/7/22,闰五月,三十,1914
- 1914/7/23,六月,初一,1914
- 1914/8/20,六月,廿九,1914
- 1914/8/21,七月,初一,1914
- 1914/9/19,七月,三十,1914
- 1914/9/20,八月,初一,1914
- 1914/10/18,八月,廿九,1914
- 1914/10/19,九月,初一,1914
- 1914/11/16,九月,廿九,1914
- 1914/11/17,十月,初一,1914
- 1914/12/16,十月,三十,1914
- 1914/12/17,冬月,初一,1914
- 1915/1/14,冬月,廿九,1914
- 1915/1/15,腊月,初一,1915
- 1915/2/13,腊月,三十,1915
- 1915/2/14,正月,初一,1915
- 1915/3/15,正月,三十,1915
- 1915/3/16,二月,初一,1915
- 1915/4/13,二月,廿九,1915
- 1915/4/14,三月,初一,1915
- 1915/5/13,三月,三十,1915
- 1915/5/14,四月,初一,1915
- 1915/6/12,四月,三十,1915
- 1915/6/13,五月,初一,1915
- 1915/7/11,五月,廿九,1915
- 1915/7/12,六月,初一,1915
- 1915/8/10,六月,三十,1915
- 1915/8/11,七月,初一,1915
- 1915/9/8,七月,廿九,1915
- 1915/9/9,八月,初一,1915
- 1915/10/8,八月,三十,1915
- 1915/10/9,九月,初一,1915
- 1915/11/6,九月,廿九,1915
- 1915/11/7,十月,初一,1915
- 1915/12/6,十月,三十,1915
- 1915/12/7,冬月,初一,1915
- 1916/1/4,冬月,廿九,1915
- 1916/1/5,腊月,初一,1916
- 1916/2/2,腊月,廿九,1916
- 1916/2/3,正月,初一,1916
- 1916/3/3,正月,三十,1916
- 1916/3/4,二月,初一,1916
- 1916/4/2,二月,三十,1916
- 1916/4/3,三月,初一,1916
- 1916/5/1,三月,廿九,1916
- 1916/5/2,四月,初一,1916
- 1916/5/31,四月,三十,1916
- 1916/6/1,五月,初一,1916
- 1916/6/29,五月,廿九,1916
- 1916/6/30,六月,初一,1916
- 1916/7/29,六月,三十,1916
- 1916/7/30,七月,初一,1916
- 1916/8/28,七月,三十,1916
- 1916/8/29,八月,初一,1916
- 1916/9/26,八月,廿九,1916
- 1916/9/27,九月,初一,1916
- 1916/10/26,九月,三十,1916
- 1916/10/27,十月,初一,1916
- 1916/11/24,十月,廿九,1916
- 1916/11/25,冬月,初一,1916
- 1916/12/24,冬月,三十,1916
- 1916/12/25,腊月,初一,1917
- 1917/1/22,腊月,廿九,1917
- 1917/1/23,正月,初一,1917
- 1917/2/21,正月,三十,1917
- 1917/2/22,二月,初一,1917
- 1917/3/22,二月,廿九,1917
- 1917/3/23,闰二月,初一,1917
- 1917/4/20,闰二月,廿九,1917
- 1917/4/21,三月,初一,1917
- 1917/5/20,三月,三十,1917
- 1917/5/21,四月,初一,1917
- 1917/6/18,四月,廿九,1917
- 1917/6/19,五月,初一,1917
- 1917/7/18,五月,三十,1917
- 1917/7/19,六月,初一,1917
- 1917/8/17,六月,三十,1917
- 1917/8/18,七月,初一,1917
- 1917/9/15,七月,廿九,1917
- 1917/9/16,八月,初一,1917
- 1917/10/15,八月,三十,1917
- 1917/10/16,九月,初一,1917
- 1917/11/14,九月,三十,1917
- 1917/11/15,十月,初一,1917
- 1917/12/13,十月,廿九,1917
- 1917/12/14,冬月,初一,1917
- 1918/1/12,冬月,三十,1917
- 1918/1/13,腊月,初一,1917
- 1918/2/10,腊月,廿九,1917
- 1918/2/11,正月,初一,1918
- 1918/3/12,正月,三十,1918
- 1918/3/13,二月,初一,1918
- 1918/4/10,二月,廿九,1918
- 1918/4/11,三月,初一,1918
- 1918/5/9,三月,廿九,1918
- 1918/5/10,四月,初一,1918
- 1918/6/8,四月,三十,1918
- 1918/6/9,五月,初一,1918
- 1918/7/7,五月,廿九,1918
- 1918/7/8,六月,初一,1918
- 1918/8/6,六月,三十,1918
- 1918/8/7,七月,初一,1918
- 1918/9/4,七月,廿九,1918
- 1918/9/5,八月,初一,1918
- 1918/10/4,八月,三十,1918
- 1918/10/5,九月,初一,1918
- 1918/11/3,九月,三十,1918
- 1918/11/4,十月,初一,1918
- 1918/12/2,十月,廿九,1918
- 1918/12/3,冬月,初一,1918
- 1919/1/1,冬月,三十,1918
- 1919/1/2,腊月,初一,1918
- 1919/1/31,腊月,三十,1918
- 1919/2/1,正月,初一,1919
- 1919/3/1,正月,廿九,1919
- 1919/3/2,二月,初一,1919
- 1919/3/31,二月,三十,1919
- 1919/4/1,三月,初一,1919
- 1919/4/29,三月,廿九,1919
- 1919/4/30,四月,初一,1919
- 1919/5/28,四月,廿九,1919
- 1919/5/29,五月,初一,1919
- 1919/6/27,五月,三十,1919
- 1919/6/28,六月,初一,1919
- 1919/7/26,六月,廿九,1919
- 1919/7/27,七月,初一,1919
- 1919/8/24,七月,廿九,1919
- 1919/8/25,闰七月,初一,1919
- 1919/9/23,闰七月,三十,1919
- 1919/9/24,八月,初一,1919
- 1919/10/23,八月,三十,1919
- 1919/10/24,九月,初一,1919
- 1919/11/21,九月,廿九,1919
- 1919/11/22,十月,初一,1919
- 1919/12/21,十月,三十,1919
- 1919/12/22,冬月,初一,1919
- 1920/1/20,冬月,三十,1919
- 1920/1/21,腊月,初一,1919
- 1920/2/19,腊月,三十,1919
- 1920/2/20,正月,初一,1920
- 1920/3/19,正月,廿九,1920
- 1920/3/20,二月,初一,1920
- 1920/4/18,二月,三十,1920
- 1920/4/19,三月,初一,1920
- 1920/5/17,三月,廿九,1920
- 1920/5/18,四月,初一,1920
- 1920/6/15,四月,廿九,1920
- 1920/6/16,五月,初一,1920
- 1920/7/15,五月,三十,1920
- 1920/7/16,六月,初一,1920
- 1920/8/13,六月,廿九,1920
- 1920/8/14,七月,初一,1920
- 1920/9/11,七月,廿九,1920
- 1920/9/12,八月,初一,1920
- 1920/10/11,八月,三十,1920
- 1920/10/12,九月,初一,1920
- 1920/11/9,九月,廿九,1920
- 1920/11/10,十月,初一,1920
- 1920/12/9,十月,三十,1920
- 1920/12/10,冬月,初一,1920
- 1921/1/8,冬月,三十,1920
- 1921/1/9,腊月,初一,1920
- 1921/2/7,腊月,三十,1920
- 1921/2/8,正月,初一,1921
- 1921/3/9,正月,三十,1921
- 1921/3/10,二月,初一,1921
- 1921/4/7,二月,廿九,1921
- 1921/4/8,三月,初一,1921
- 1921/5/7,三月,三十,1921
- 1921/5/8,四月,初一,1921
- 1921/6/5,四月,廿九,1921
- 1921/6/6,五月,初一,1921
- 1921/7/4,五月,廿九,1921
- 1921/7/5,六月,初一,1921
- 1921/8/3,六月,三十,1921
- 1921/8/4,七月,初一,1921
- 1921/9/1,七月,廿九,1921
- 1921/9/2,八月,初一,1921
- 1921/9/30,八月,廿九,1921
- 1921/10/1,九月,初一,1921
- 1921/10/30,九月,三十,1921
- 1921/10/31,十月,初一,1921
- 1921/11/28,十月,廿九,1921
- 1921/11/29,冬月,初一,1921
- 1921/12/28,冬月,三十,1921
- 1921/12/29,腊月,初一,1921
- 1922/1/27,腊月,三十,1921
- 1922/1/28,正月,初一,1922
- 1922/2/26,正月,三十,1922
- 1922/2/27,二月,初一,1922
- 1922/3/27,二月,廿九,1922
- 1922/3/28,三月,初一,1922
- 1922/4/26,三月,三十,1922
- 1922/4/27,四月,初一,1922
- 1922/5/26,四月,三十,1922
- 1922/5/27,五月,初一,1922
- 1922/6/24,五月,廿九,1922
- 1922/6/25,闰五月,初一,1922
- 1922/7/23,闰五月,廿九,1922
- 1922/7/24,六月,初一,1922
- 1922/8/22,六月,三十,1922
- 1922/8/23,七月,初一,1922
- 1922/9/20,七月,廿九,1922
- 1922/9/21,八月,初一,1922
- 1922/10/19,八月,廿九,1922
- 1922/10/20,九月,初一,1922
- 1922/11/18,九月,三十,1922
- 1922/11/19,十月,初一,1922
- 1922/12/17,十月,廿九,1922
- 1922/12/18,冬月,初一,1922
- 1923/1/16,冬月,三十,1922
- 1923/1/17,腊月,初一,1922
- 1923/2/15,腊月,三十,1922
- 1923/2/16,正月,初一,1923
- 1923/3/16,正月,廿九,1923
- 1923/3/17,二月,初一,1923
- 1923/4/15,二月,三十,1923
- 1923/4/16,三月,初一,1923
- 1923/5/15,三月,三十,1923
- 1923/5/16,四月,初一,1923
- 1923/6/13,四月,廿九,1923
- 1923/6/14,五月,初一,1923
- 1923/7/13,五月,三十,1923
- 1923/7/14,六月,初一,1923
- 1923/8/11,六月,廿九,1923
- 1923/8/12,七月,初一,1923
- 1923/9/10,七月,三十,1923
- 1923/9/11,八月,初一,1923
- 1923/10/9,八月,廿九,1923
- 1923/10/10,九月,初一,1923
- 1923/11/7,九月,廿九,1923
- 1923/11/8,十月,初一,1923
- 1923/12/7,十月,三十,1923
- 1923/12/8,冬月,初一,1923
- 1924/1/5,冬月,廿九,1923
- 1924/1/6,腊月,初一,1923
- 1924/2/4,腊月,三十,1923
- 1924/2/5,正月,初一,1924
- 1924/3/4,正月,廿九,1924
- 1924/3/5,二月,初一,1924
- 1924/4/3,二月,三十,1924
- 1924/4/4,三月,初一,1924
- 1924/5/3,三月,三十,1924
- 1924/5/4,四月,初一,1924
- 1924/6/1,四月,廿九,1924
- 1924/6/2,五月,初一,1924
- 1924/7/1,五月,三十,1924
- 1924/7/2,六月,初一,1924
- 1924/7/31,六月,三十,1924
- 1924/8/1,七月,初一,1924
- 1924/8/29,七月,廿九,1924
- 1924/8/30,八月,初一,1924
- 1924/9/28,八月,三十,1924
- 1924/9/29,九月,初一,1924
- 1924/10/27,九月,廿九,1924
- 1924/10/28,十月,初一,1924
- 1924/11/26,十月,三十,1924
- 1924/11/27,冬月,初一,1924
- 1924/12/25,冬月,廿九,1924
- 1924/12/26,腊月,初一,1924
- 1925/1/23,腊月,廿九,1924
- 1925/1/24,正月,初一,1925
- 1925/2/22,正月,三十,1925
- 1925/2/23,二月,初一,1925
- 1925/3/23,二月,廿九,1925
- 1925/3/24,三月,初一,1925
- 1925/4/22,三月,三十,1925
- 1925/4/23,四月,初一,1925
- 1925/5/21,四月,廿九,1925
- 1925/5/22,闰四月,初一,1925
- 1925/6/20,闰四月,三十,1925
- 1925/6/21,五月,初一,1925
- 1925/7/20,五月,三十,1925
- 1925/7/21,六月,初一,1925
- 1925/8/18,六月,廿九,1925
- 1925/8/19,七月,初一,1925
- 1925/9/17,七月,三十,1925
- 1925/9/18,八月,初一,1925
- 1925/10/17,八月,三十,1925
- 1925/10/18,九月,初一,1925
- 1925/11/15,九月,廿九,1925
- 1925/11/16,十月,初一,1925
- 1925/12/15,十月,三十,1925
- 1925/12/16,冬月,初一,1925
- 1926/1/13,冬月,廿九,1925
- 1926/1/14,腊月,初一,1925
- 1926/2/12,腊月,三十,1925
- 1926/2/13,正月,初一,1926
- 1926/3/13,正月,廿九,1926
- 1926/3/14,二月,初一,1926
- 1926/4/11,二月,廿九,1926
- 1926/4/12,三月,初一,1926
- 1926/5/11,三月,三十,1926
- 1926/5/12,四月,初一,1926
- 1926/6/9,四月,廿九,1926
- 1926/6/10,五月,初一,1926
- 1926/7/9,五月,三十,1926
- 1926/7/10,六月,初一,1926
- 1926/8/7,六月,廿九,1926
- 1926/8/8,七月,初一,1926
- 1926/9/6,七月,三十,1926
- 1926/9/7,八月,初一,1926
- 1926/10/6,八月,三十,1926
- 1926/10/7,九月,初一,1926
- 1926/11/4,九月,廿九,1926
- 1926/11/5,十月,初一,1926
- 1926/12/4,十月,三十,1926
- 1926/12/5,冬月,初一,1926
- 1927/1/3,冬月,三十,1926
- 1927/1/4,腊月,初一,1926
- 1927/2/1,腊月,廿九,1926
- 1927/2/2,正月,初一,1927
- 1927/3/3,正月,三十,1927
- 1927/3/4,二月,初一,1927
- 1927/4/1,二月,廿九,1927
- 1927/4/2,三月,初一,1927
- 1927/4/30,三月,廿九,1927
- 1927/5/1,四月,初一,1927
- 1927/5/30,四月,三十,1927
- 1927/5/31,五月,初一,1927
- 1927/6/28,五月,廿九,1927
- 1927/6/29,六月,初一,1927
- 1927/7/28,六月,三十,1927
- 1927/7/29,七月,初一,1927
- 1927/8/26,七月,廿九,1927
- 1927/8/27,八月,初一,1927
- 1927/9/25,八月,三十,1927
- 1927/9/26,九月,初一,1927
- 1927/10/24,九月,廿九,1927
- 1927/10/25,十月,初一,1927
- 1927/11/23,十月,三十,1927
- 1927/11/24,冬月,初一,1927
- 1927/12/23,冬月,三十,1927
- 1927/12/24,腊月,初一,1927
- 1928/1/22,腊月,三十,1927
- 1928/1/23,正月,初一,1928
- 1928/2/20,正月,廿九,1928
- 1928/2/21,二月,初一,1928
- 1928/3/21,二月,三十,1928
- 1928/3/22,闰二月,初一,1928
- 1928/4/19,闰二月,廿九,1928
- 1928/4/20,三月,初一,1928
- 1928/5/18,三月,廿九,1928
- 1928/5/19,四月,初一,1928
- 1928/6/17,四月,三十,1928
- 1928/6/18,五月,初一,1928
- 1928/7/16,五月,廿九,1928
- 1928/7/17,六月,初一,1928
- 1928/8/14,六月,廿九,1928
- 1928/8/15,七月,初一,1928
- 1928/9/13,七月,三十,1928
- 1928/9/14,八月,初一,1928
- 1928/10/12,八月,廿九,1928
- 1928/10/13,九月,初一,1928
- 1928/11/11,九月,三十,1928
- 1928/11/12,十月,初一,1928
- 1928/12/11,十月,三十,1928
- 1928/12/12,冬月,初一,1928
- 1929/1/10,冬月,三十,1928
- 1929/1/11,腊月,初一,1928
- 1929/2/9,腊月,三十,1928
- 1929/2/10,正月,初一,1929
- 1929/3/10,正月,廿九,1929
- 1929/3/11,二月,初一,1929
- 1929/4/9,二月,三十,1929
- 1929/4/10,三月,初一,1929
- 1929/5/8,三月,廿九,1929
- 1929/5/9,四月,初一,1929
- 1929/6/6,四月,廿九,1929
- 1929/6/7,五月,初一,1929
- 1929/7/6,五月,三十,1929
- 1929/7/7,六月,初一,1929
- 1929/8/4,六月,廿九,1929
- 1929/8/5,七月,初一,1929
- 1929/9/2,七月,廿九,1929
- 1929/9/3,八月,初一,1929
- 1929/10/2,八月,三十,1929
- 1929/10/3,九月,初一,1929
- 1929/10/31,九月,廿九,1929
- 1929/11/1,十月,初一,1929
- 1929/11/30,十月,三十,1929
- 1929/12/1,冬月,初一,1929
- 1929/12/30,冬月,三十,1929
- 1929/12/31,腊月,初一,1929
- 1930/1/29,腊月,三十,1929
- 1930/1/30,正月,初一,1930
- 1930/2/27,正月,廿九,1930
- 1930/2/28,二月,初一,1930
- 1930/3/29,二月,三十,1930
- 1930/3/30,三月,初一,1930
- 1930/4/28,三月,三十,1930
- 1930/4/29,四月,初一,1930
- 1930/5/27,四月,廿九,1930
- 1930/5/28,五月,初一,1930
- 1930/6/25,五月,廿九,1930
- 1930/6/26,六月,初一,1930
- 1930/7/25,六月,三十,1930
- 1930/7/26,闰六月,初一,1930
- 1930/8/23,闰六月,廿九,1930
- 1930/8/24,七月,初一,1930
- 1930/9/21,七月,廿九,1930
- 1930/9/22,八月,初一,1930
- 1930/10/21,八月,三十,1930
- 1930/10/22,九月,初一,1930
- 1930/11/19,九月,廿九,1930
- 1930/11/20,十月,初一,1930
- 1930/12/19,十月,三十,1930
- 1930/12/20,冬月,初一,1930
- 1931/1/18,冬月,三十,1930
- 1931/1/19,腊月,初一,1930
- 1931/2/16,腊月,廿九,1930
- 1931/2/17,正月,初一,1931
- 1931/3/18,正月,三十,1931
- 1931/3/19,二月,初一,1931
- 1931/4/17,二月,三十,1931
- 1931/4/18,三月,初一,1931
- 1931/5/16,三月,廿九,1931
- 1931/5/17,四月,初一,1931
- 1931/6/15,四月,三十,1931
- 1931/6/16,五月,初一,1931
- 1931/7/14,五月,廿九,1931
- 1931/7/15,六月,初一,1931
- 1931/8/13,六月,三十,1931
- 1931/8/14,七月,初一,1931
- 1931/9/11,七月,廿九,1931
- 1931/9/12,八月,初一,1931
- 1931/10/10,八月,廿九,1931
- 1931/10/11,九月,初一,1931
- 1931/11/9,九月,三十,1931
- 1931/11/10,十月,初一,1931
- 1931/12/8,十月,廿九,1931
- 1931/12/9,冬月,初一,1931
- 1932/1/7,冬月,三十,1931
- 1932/1/8,腊月,初一,1931
- 1932/2/5,腊月,廿九,1931
- 1932/2/6,正月,初一,1932
- 1932/3/6,正月,三十,1932
- 1932/3/7,二月,初一,1932
- 1932/4/5,二月,三十,1932
- 1932/4/6,三月,初一,1932
- 1932/5/5,三月,三十,1932
- 1932/5/6,四月,初一,1932
- 1932/6/3,四月,廿九,1932
- 1932/6/4,五月,初一,1932
- 1932/7/3,五月,三十,1932
- 1932/7/4,六月,初一,1932
- 1932/8/1,六月,廿九,1932
- 1932/8/2,七月,初一,1932
- 1932/8/31,七月,三十,1932
- 1932/9/1,八月,初一,1932
- 1932/9/29,八月,廿九,1932
- 1932/9/30,九月,初一,1932
- 1932/10/28,九月,廿九,1932
- 1932/10/29,十月,初一,1932
- 1932/11/27,十月,三十,1932
- 1932/11/28,冬月,初一,1932
- 1932/12/26,冬月,廿九,1932
- 1932/12/27,腊月,初一,1932
- 1933/1/25,腊月,三十,1932
- 1933/1/26,正月,初一,1933
- 1933/2/23,正月,廿九,1933
- 1933/2/24,二月,初一,1933
- 1933/3/25,二月,三十,1933
- 1933/3/26,三月,初一,1933
- 1933/4/24,三月,三十,1933
- 1933/4/25,四月,初一,1933
- 1933/5/23,四月,廿九,1933
- 1933/5/24,五月,初一,1933
- 1933/6/22,五月,三十,1933
- 1933/6/23,闰五月,初一,1933
- 1933/7/22,闰五月,三十,1933
- 1933/7/23,六月,初一,1933
- 1933/8/20,六月,廿九,1933
- 1933/8/21,七月,初一,1933
- 1933/9/19,七月,三十,1933
- 1933/9/20,八月,初一,1933
- 1933/10/18,八月,廿九,1933
- 1933/10/19,九月,初一,1933
- 1933/11/17,九月,三十,1933
- 1933/11/18,十月,初一,1933
- 1933/12/16,十月,廿九,1933
- 1933/12/17,冬月,初一,1933
- 1934/1/14,冬月,廿九,1933
- 1934/1/15,腊月,初一,1933
- 1934/2/13,腊月,三十,1933
- 1934/2/14,正月,初一,1934
- 1934/3/14,正月,廿九,1934
- 1934/3/15,二月,初一,1934
- 1934/4/13,二月,三十,1934
- 1934/4/14,三月,初一,1934
- 1934/5/12,三月,廿九,1934
- 1934/5/13,四月,初一,1934
- 1934/6/11,四月,三十,1934
- 1934/6/12,五月,初一,1934
- 1934/7/11,五月,三十,1934
- 1934/7/12,六月,初一,1934
- 1934/8/9,六月,廿九,1934
- 1934/8/10,七月,初一,1934
- 1934/9/8,七月,三十,1934
- 1934/9/9,八月,初一,1934
- 1934/10/7,八月,廿九,1934
- 1934/10/8,九月,初一,1934
- 1934/11/6,九月,三十,1934
- 1934/11/7,十月,初一,1934
- 1934/12/6,十月,三十,1934
- 1934/12/7,冬月,初一,1934
- 1935/1/4,冬月,廿九,1934
- 1935/1/5,腊月,初一,1934
- 1935/2/3,腊月,三十,1934
- 1935/2/4,正月,初一,1935
- 1935/3/4,正月,廿九,1935
- 1935/3/5,二月,初一,1935
- 1935/4/2,二月,廿九,1935
- 1935/4/3,三月,初一,1935
- 1935/5/2,三月,三十,1935
- 1935/5/3,四月,初一,1935
- 1935/5/31,四月,廿九,1935
- 1935/6/1,五月,初一,1935
- 1935/6/30,五月,三十,1935
- 1935/7/1,六月,初一,1935
- 1935/7/29,六月,廿九,1935
- 1935/7/30,七月,初一,1935
- 1935/8/28,七月,三十,1935
- 1935/8/29,八月,初一,1935
- 1935/9/27,八月,三十,1935
- 1935/9/28,九月,初一,1935
- 1935/10/26,九月,廿九,1935
- 1935/10/27,十月,初一,1935
- 1935/11/25,十月,三十,1935
- 1935/11/26,冬月,初一,1935
- 1935/12/25,冬月,三十,1935
- 1935/12/26,腊月,初一,1935
- 1936/1/23,腊月,廿九,1935
- 1936/1/24,正月,初一,1936
- 1936/2/22,正月,三十,1936
- 1936/2/23,二月,初一,1936
- 1936/3/22,二月,廿九,1936
- 1936/3/23,三月,初一,1936
- 1936/4/20,三月,廿九,1936
- 1936/4/21,闰三月,初一,1936
- 1936/5/20,闰三月,三十,1936
- 1936/5/21,四月,初一,1936
- 1936/6/18,四月,廿九,1936
- 1936/6/19,五月,初一,1936
- 1936/7/17,五月,廿九,1936
- 1936/7/18,六月,初一,1936
- 1936/8/16,六月,三十,1936
- 1936/8/17,七月,初一,1936
- 1936/9/15,七月,三十,1936
- 1936/9/16,八月,初一,1936
- 1936/10/14,八月,廿九,1936
- 1936/10/15,九月,初一,1936
- 1936/11/13,九月,三十,1936
- 1936/11/14,十月,初一,1936
- 1936/12/13,十月,三十,1936
- 1936/12/14,冬月,初一,1936
- 1937/1/12,冬月,三十,1936
- 1937/1/13,腊月,初一,1936
- 1937/2/10,腊月,廿九,1936
- 1937/2/11,正月,初一,1937
- 1937/3/12,正月,三十,1937
- 1937/3/13,二月,初一,1937
- 1937/4/10,二月,廿九,1937
- 1937/4/11,三月,初一,1937
- 1937/5/9,三月,廿九,1937
- 1937/5/10,四月,初一,1937
- 1937/6/8,四月,三十,1937
- 1937/6/9,五月,初一,1937
- 1937/7/7,五月,廿九,1937
- 1937/7/8,六月,初一,1937
- 1937/8/5,六月,廿九,1937
- 1937/8/6,七月,初一,1937
- 1937/9/4,七月,三十,1937
- 1937/9/5,八月,初一,1937
- 1937/10/3,八月,廿九,1937
- 1937/10/4,九月,初一,1937
- 1937/11/2,九月,三十,1937
- 1937/11/3,十月,初一,1937
- 1937/12/2,十月,三十,1937
- 1937/12/3,冬月,初一,1937
- 1938/1/1,冬月,三十,1937
- 1938/1/2,腊月,初一,1937
- 1938/1/30,腊月,廿九,1937
- 1938/1/31,正月,初一,1938
- 1938/3/1,正月,三十,1938
- 1938/3/2,二月,初一,1938
- 1938/3/31,二月,三十,1938
- 1938/4/1,三月,初一,1938
- 1938/4/29,三月,廿九,1938
- 1938/4/30,四月,初一,1938
- 1938/5/28,四月,廿九,1938
- 1938/5/29,五月,初一,1938
- 1938/6/27,五月,三十,1938
- 1938/6/28,六月,初一,1938
- 1938/7/26,六月,廿九,1938
- 1938/7/27,七月,初一,1938
- 1938/8/24,七月,廿九,1938
- 1938/8/25,闰七月,初一,1938
- 1938/9/23,闰七月,三十,1938
- 1938/9/24,八月,初一,1938
- 1938/10/22,八月,廿九,1938
- 1938/10/23,九月,初一,1938
- 1938/11/21,九月,三十,1938
- 1938/11/22,十月,初一,1938
- 1938/12/21,十月,三十,1938
- 1938/12/22,冬月,初一,1938
- 1939/1/19,冬月,廿九,1938
- 1939/1/20,腊月,初一,1938
- 1939/2/18,腊月,三十,1938
- 1939/2/19,正月,初一,1939
- 1939/3/20,正月,三十,1939
- 1939/3/21,二月,初一,1939
- 1939/4/19,二月,三十,1939
- 1939/4/20,三月,初一,1939
- 1939/5/18,三月,廿九,1939
- 1939/5/19,四月,初一,1939
- 1939/6/16,四月,廿九,1939
- 1939/6/17,五月,初一,1939
- 1939/7/16,五月,三十,1939
- 1939/7/17,六月,初一,1939
- 1939/8/14,六月,廿九,1939
- 1939/8/15,七月,初一,1939
- 1939/9/12,七月,廿九,1939
- 1939/9/13,八月,初一,1939
- 1939/10/12,八月,三十,1939
- 1939/10/13,九月,初一,1939
- 1939/11/10,九月,廿九,1939
- 1939/11/11,十月,初一,1939
- 1939/12/10,十月,三十,1939
- 1939/12/11,冬月,初一,1939
- 1940/1/8,冬月,廿九,1939
- 1940/1/9,腊月,初一,1939
- 1940/2/7,腊月,三十,1939
- 1940/2/8,正月,初一,1940
- 1940/3/8,正月,三十,1940
- 1940/3/9,二月,初一,1940
- 1940/4/7,二月,三十,1940
- 1940/4/8,三月,初一,1940
- 1940/5/6,三月,廿九,1940
- 1940/5/7,四月,初一,1940
- 1940/6/5,四月,三十,1940
- 1940/6/6,五月,初一,1940
- 1940/7/4,五月,廿九,1940
- 1940/7/5,六月,初一,1940
- 1940/8/3,六月,三十,1940
- 1940/8/4,七月,初一,1940
- 1940/9/1,七月,廿九,1940
- 1940/9/2,八月,初一,1940
- 1940/9/30,八月,廿九,1940
- 1940/10/1,九月,初一,1940
- 1940/10/30,九月,三十,1940
- 1940/10/31,十月,初一,1940
- 1940/11/28,十月,廿九,1940
- 1940/11/29,冬月,初一,1940
- 1940/12/28,冬月,三十,1940
- 1940/12/29,腊月,初一,1940
- 1941/1/26,腊月,廿九,1940
- 1941/1/27,正月,初一,1941
- 1941/2/25,正月,三十,1941
- 1941/2/26,二月,初一,1941
- 1941/3/27,二月,三十,1941
- 1941/3/28,三月,初一,1941
- 1941/4/25,三月,廿九,1941
- 1941/4/26,四月,初一,1941
- 1941/5/25,四月,三十,1941
- 1941/5/26,五月,初一,1941
- 1941/6/24,五月,三十,1941
- 1941/6/25,六月,初一,1941
- 1941/7/23,六月,廿九,1941
- 1941/7/24,闰六月,初一,1941
- 1941/8/22,闰六月,三十,1941
- 1941/8/23,七月,初一,1941
- 1941/9/20,七月,廿九,1941
- 1941/9/21,八月,初一,1941
- 1941/10/19,八月,廿九,1941
- 1941/10/20,九月,初一,1941
- 1941/11/18,九月,三十,1941
- 1941/11/19,十月,初一,1941
- 1941/12/17,十月,廿九,1941
- 1941/12/18,冬月,初一,1941
- 1942/1/16,冬月,三十,1941
- 1942/1/17,腊月,初一,1941
- 1942/2/14,腊月,廿九,1941
- 1942/2/15,正月,初一,1942
- 1942/3/16,正月,三十,1942
- 1942/3/17,二月,初一,1942
- 1942/4/14,二月,廿九,1942
- 1942/4/15,三月,初一,1942
- 1942/5/14,三月,三十,1942
- 1942/5/15,四月,初一,1942
- 1942/6/13,四月,三十,1942
- 1942/6/14,五月,初一,1942
- 1942/7/12,五月,廿九,1942
- 1942/7/13,六月,初一,1942
- 1942/8/11,六月,三十,1942
- 1942/8/12,七月,初一,1942
- 1942/9/9,七月,廿九,1942
- 1942/9/10,八月,初一,1942
- 1942/10/9,八月,三十,1942
- 1942/10/10,九月,初一,1942
- 1942/11/7,九月,廿九,1942
- 1942/11/8,十月,初一,1942
- 1942/12/7,十月,三十,1942
- 1942/12/8,冬月,初一,1942
- 1943/1/5,冬月,廿九,1942
- 1943/1/6,腊月,初一,1942
- 1943/2/4,腊月,三十,1942
- 1943/2/5,正月,初一,1943
- 1943/3/5,正月,廿九,1943
- 1943/3/6,二月,初一,1943
- 1943/4/4,二月,三十,1943
- 1943/4/5,三月,初一,1943
- 1943/5/3,三月,廿九,1943
- 1943/5/4,四月,初一,1943
- 1943/6/2,四月,三十,1943
- 1943/6/3,五月,初一,1943
- 1943/7/1,五月,廿九,1943
- 1943/7/2,六月,初一,1943
- 1943/7/31,六月,三十,1943
- 1943/8/1,七月,初一,1943
- 1943/8/30,七月,三十,1943
- 1943/8/31,八月,初一,1943
- 1943/9/28,八月,廿九,1943
- 1943/9/29,九月,初一,1943
- 1943/10/28,九月,三十,1943
- 1943/10/29,十月,初一,1943
- 1943/11/26,十月,廿九,1943
- 1943/11/27,冬月,初一,1943
- 1943/12/26,冬月,三十,1943
- 1943/12/27,腊月,初一,1943
- 1944/1/24,腊月,廿九,1943
- 1944/1/25,正月,初一,1944
- 1944/2/23,正月,三十,1944
- 1944/2/24,二月,初一,1944
- 1944/3/23,二月,廿九,1944
- 1944/3/24,三月,初一,1944
- 1944/4/22,三月,三十,1944
- 1944/4/23,四月,初一,1944
- 1944/5/21,四月,廿九,1944
- 1944/5/22,闰四月,初一,1944
- 1944/6/20,闰四月,三十,1944
- 1944/6/21,五月,初一,1944
- 1944/7/19,五月,廿九,1944
- 1944/7/20,六月,初一,1944
- 1944/8/18,六月,三十,1944
- 1944/8/19,七月,初一,1944
- 1944/9/16,七月,廿九,1944
- 1944/9/17,八月,初一,1944
- 1944/10/16,八月,三十,1944
- 1944/10/17,九月,初一,1944
- 1944/11/15,九月,三十,1944
- 1944/11/16,十月,初一,1944
- 1944/12/14,十月,廿九,1944
- 1944/12/15,冬月,初一,1944
- 1945/1/13,冬月,三十,1944
- 1945/1/14,腊月,初一,1944
- 1945/2/12,腊月,三十,1944
- 1945/2/13,正月,初一,1945
- 1945/3/13,正月,廿九,1945
- 1945/3/14,二月,初一,1945
- 1945/4/11,二月,廿九,1945
- 1945/4/12,三月,初一,1945
- 1945/5/11,三月,三十,1945
- 1945/5/12,四月,初一,1945
- 1945/6/9,四月,廿九,1945
- 1945/6/10,五月,初一,1945
- 1945/7/8,五月,廿九,1945
- 1945/7/9,六月,初一,1945
- 1945/8/7,六月,三十,1945
- 1945/8/8,七月,初一,1945
- 1945/9/5,七月,廿九,1945
- 1945/9/6,八月,初一,1945
- 1945/10/5,八月,三十,1945
- 1945/10/6,九月,初一,1945
- 1945/11/4,九月,三十,1945
- 1945/11/5,十月,初一,1945
- 1945/12/4,十月,三十,1945
- 1945/12/5,冬月,初一,1945
- 1946/1/2,冬月,廿九,1945
- 1946/1/3,腊月,初一,1945
- 1946/2/1,腊月,三十,1945
- 1946/2/2,正月,初一,1946
- 1946/3/3,正月,三十,1946
- 1946/3/4,二月,初一,1946
- 1946/4/1,二月,廿九,1946
- 1946/4/2,三月,初一,1946
- 1946/4/30,三月,廿九,1946
- 1946/5/1,四月,初一,1946
- 1946/5/30,四月,三十,1946
- 1946/5/31,五月,初一,1946
- 1946/6/28,五月,廿九,1946
- 1946/6/29,六月,初一,1946
- 1946/7/27,六月,廿九,1946
- 1946/7/28,七月,初一,1946
- 1946/8/26,七月,三十,1946
- 1946/8/27,八月,初一,1946
- 1946/9/24,八月,廿九,1946
- 1946/9/25,九月,初一,1946
- 1946/10/24,九月,三十,1946
- 1946/10/25,十月,初一,1946
- 1946/11/23,十月,三十,1946
- 1946/11/24,冬月,初一,1946
- 1946/12/22,冬月,廿九,1946
- 1946/12/23,腊月,初一,1946
- 1947/1/21,腊月,三十,1946
- 1947/1/22,正月,初一,1947
- 1947/2/20,正月,三十,1947
- 1947/2/21,二月,初一,1947
- 1947/3/22,二月,三十,1947
- 1947/3/23,闰二月,初一,1947
- 1947/4/20,闰二月,廿九,1947
- 1947/4/21,三月,初一,1947
- 1947/5/19,三月,廿九,1947
- 1947/5/20,四月,初一,1947
- 1947/6/18,四月,三十,1947
- 1947/6/19,五月,初一,1947
- 1947/7/17,五月,廿九,1947
- 1947/7/18,六月,初一,1947
- 1947/8/15,六月,廿九,1947
- 1947/8/16,七月,初一,1947
- 1947/9/14,七月,三十,1947
- 1947/9/15,八月,初一,1947
- 1947/10/13,八月,廿九,1947
- 1947/10/14,九月,初一,1947
- 1947/11/12,九月,三十,1947
- 1947/11/13,十月,初一,1947
- 1947/12/11,十月,廿九,1947
- 1947/12/12,冬月,初一,1947
- 1948/1/10,冬月,三十,1947
- 1948/1/11,腊月,初一,1947
- 1948/2/9,腊月,三十,1947
- 1948/2/10,正月,初一,1948
- 1948/3/10,正月,三十,1948
- 1948/3/11,二月,初一,1948
- 1948/4/8,二月,廿九,1948
- 1948/4/9,三月,初一,1948
- 1948/5/8,三月,三十,1948
- 1948/5/9,四月,初一,1948
- 1948/6/6,四月,廿九,1948
- 1948/6/7,五月,初一,1948
- 1948/7/6,五月,三十,1948
- 1948/7/7,六月,初一,1948
- 1948/8/4,六月,廿九,1948
- 1948/8/5,七月,初一,1948
- 1948/9/2,七月,廿九,1948
- 1948/9/3,八月,初一,1948
- 1948/10/2,八月,三十,1948
- 1948/10/3,九月,初一,1948
- 1948/10/31,九月,廿九,1948
- 1948/11/1,十月,初一,1948
- 1948/11/30,十月,三十,1948
- 1948/12/1,冬月,初一,1948
- 1948/12/29,冬月,廿九,1948
- 1948/12/30,腊月,初一,1948
- 1949/1/28,腊月,三十,1948
- 1949/1/29,正月,初一,1949
- 1949/2/27,正月,三十,1949
- 1949/2/28,二月,初一,1949
- 1949/3/28,二月,廿九,1949
- 1949/3/29,三月,初一,1949
- 1949/4/27,三月,三十,1949
- 1949/4/28,四月,初一,1949
- 1949/5/27,四月,三十,1949
- 1949/5/28,五月,初一,1949
- 1949/6/25,五月,廿九,1949
- 1949/6/26,六月,初一,1949
- 1949/7/25,六月,三十,1949
- 1949/7/26,七月,初一,1949
- 1949/8/23,七月,廿九,1949
- 1949/8/24,闰七月,初一,1949
- 1949/9/21,闰七月,廿九,1949
- 1949/9/22,八月,初一,1949
- 1949/10/21,八月,三十,1949
- 1949/10/22,九月,初一,1949
- 1949/11/19,九月,廿九,1949
- 1949/11/20,十月,初一,1949
- 1949/12/19,十月,三十,1949
- 1949/12/20,冬月,初一,1949
- 1950/1/17,冬月,廿九,1949
- 1950/1/18,腊月,初一,1949
- 1950/2/16,腊月,三十,1949
- 1950/2/17,正月,初一,1950
- 1950/3/17,正月,廿九,1950
- 1950/3/18,二月,初一,1950
- 1950/4/16,二月,三十,1950
- 1950/4/17,三月,初一,1950
- 1950/5/16,三月,三十,1950
- 1950/5/17,四月,初一,1950
- 1950/6/14,四月,廿九,1950
- 1950/6/15,五月,初一,1950
- 1950/7/14,五月,三十,1950
- 1950/7/15,六月,初一,1950
- 1950/8/13,六月,三十,1950
- 1950/8/14,七月,初一,1950
- 1950/9/11,七月,廿九,1950
- 1950/9/12,八月,初一,1950
- 1950/10/10,八月,廿九,1950
- 1950/10/11,九月,初一,1950
- 1950/11/9,九月,三十,1950
- 1950/11/10,十月,初一,1950
- 1950/12/8,十月,廿九,1950
- 1950/12/9,冬月,初一,1950
- 1951/1/7,冬月,三十,1950
- 1951/1/8,腊月,初一,1950
- 1951/2/5,腊月,廿九,1950
- 1951/2/6,正月,初一,1951
- 1951/3/7,正月,三十,1951
- 1951/3/8,二月,初一,1951
- 1951/4/5,二月,廿九,1951
- 1951/4/6,三月,初一,1951
- 1951/5/5,三月,三十,1951
- 1951/5/6,四月,初一,1951
- 1951/6/4,四月,三十,1951
- 1951/6/5,五月,初一,1951
- 1951/7/3,五月,廿九,1951
- 1951/7/4,六月,初一,1951
- 1951/8/2,六月,三十,1951
- 1951/8/3,七月,初一,1951
- 1951/8/31,七月,廿九,1951
- 1951/9/1,八月,初一,1951
- 1951/9/30,八月,三十,1951
- 1951/10/1,九月,初一,1951
- 1951/10/29,九月,廿九,1951
- 1951/10/30,十月,初一,1951
- 1951/11/28,十月,三十,1951
- 1951/11/29,冬月,初一,1951
- 1951/12/27,冬月,廿九,1951
- 1951/12/28,腊月,初一,1951
- 1952/1/26,腊月,三十,1951
- 1952/1/27,正月,初一,1952
- 1952/2/24,正月,廿九,1952
- 1952/2/25,二月,初一,1952
- 1952/3/25,二月,三十,1952
- 1952/3/26,三月,初一,1952
- 1952/4/23,三月,廿九,1952
- 1952/4/24,四月,初一,1952
- 1952/5/23,四月,三十,1952
- 1952/5/24,五月,初一,1952
- 1952/6/21,五月,廿九,1952
- 1952/6/22,闰五月,初一,1952
- 1952/7/21,闰五月,三十,1952
- 1952/7/22,六月,初一,1952
- 1952/8/19,六月,廿九,1952
- 1952/8/20,七月,初一,1952
- 1952/9/18,七月,三十,1952
- 1952/9/19,八月,初一,1952
- 1952/10/18,八月,三十,1952
- 1952/10/19,九月,初一,1952
- 1952/11/16,九月,廿九,1952
- 1952/11/17,十月,初一,1952
- 1952/12/16,十月,三十,1952
- 1952/12/17,冬月,初一,1952
- 1953/1/14,冬月,廿九,1952
- 1953/1/15,腊月,初一,1952
- 1953/2/13,腊月,三十,1952
- 1953/2/14,正月,初一,1953
- 1953/3/14,正月,廿九,1953
- 1953/3/15,二月,初一,1953
- 1953/4/13,二月,三十,1953
- 1953/4/14,三月,初一,1953
- 1953/5/12,三月,廿九,1953
- 1953/5/13,四月,初一,1953
- 1953/6/10,四月,廿九,1953
- 1953/6/11,五月,初一,1953
- 1953/7/10,五月,三十,1953
- 1953/7/11,六月,初一,1953
- 1953/8/9,六月,三十,1953
- 1953/8/10,七月,初一,1953
- 1953/9/7,七月,廿九,1953
- 1953/9/8,八月,初一,1953
- 1953/10/7,八月,三十,1953
- 1953/10/8,九月,初一,1953
- 1953/11/6,九月,三十,1953
- 1953/11/7,十月,初一,1953
- 1953/12/5,十月,廿九,1953
- 1953/12/6,冬月,初一,1953
- 1954/1/4,冬月,三十,1953
- 1954/1/5,腊月,初一,1953
- 1954/2/2,腊月,廿九,1953
- 1954/2/3,正月,初一,1954
- 1954/3/4,正月,三十,1954
- 1954/3/5,二月,初一,1954
- 1954/4/2,二月,廿九,1954
- 1954/4/3,三月,初一,1954
- 1954/5/2,三月,三十,1954
- 1954/5/3,四月,初一,1954
- 1954/5/31,四月,廿九,1954
- 1954/6/1,五月,初一,1954
- 1954/6/29,五月,廿九,1954
- 1954/6/30,六月,初一,1954
- 1954/7/29,六月,三十,1954
- 1954/7/30,七月,初一,1954
- 1954/8/27,七月,廿九,1954
- 1954/8/28,八月,初一,1954
- 1954/9/26,八月,三十,1954
- 1954/9/27,九月,初一,1954
- 1954/10/26,九月,三十,1954
- 1954/10/27,十月,初一,1954
- 1954/11/24,十月,廿九,1954
- 1954/11/25,冬月,初一,1954
- 1954/12/24,冬月,三十,1954
- 1954/12/25,腊月,初一,1954
- 1955/1/23,腊月,三十,1954
- 1955/1/24,正月,初一,1955
- 1955/2/21,正月,廿九,1955
- 1955/2/22,二月,初一,1955
- 1955/3/23,二月,三十,1955
- 1955/3/24,三月,初一,1955
- 1955/4/21,三月,廿九,1955
- 1955/4/22,闰三月,初一,1955
- 1955/5/21,闰三月,三十,1955
- 1955/5/22,四月,初一,1955
- 1955/6/19,四月,廿九,1955
- 1955/6/20,五月,初一,1955
- 1955/7/18,五月,廿九,1955
- 1955/7/19,六月,初一,1955
- 1955/8/17,六月,三十,1955
- 1955/8/18,七月,初一,1955
- 1955/9/15,七月,廿九,1955
- 1955/9/16,八月,初一,1955
- 1955/10/15,八月,三十,1955
- 1955/10/16,九月,初一,1955
- 1955/11/13,九月,廿九,1955
- 1955/11/14,十月,初一,1955
- 1955/12/13,十月,三十,1955
- 1955/12/14,冬月,初一,1955
- 1956/1/12,冬月,三十,1955
- 1956/1/13,腊月,初一,1955
- 1956/2/11,腊月,三十,1955
- 1956/2/12,正月,初一,1956
- 1956/3/11,正月,廿九,1956
- 1956/3/12,二月,初一,1956
- 1956/4/10,二月,三十,1956
- 1956/4/11,三月,初一,1956
- 1956/5/9,三月,廿九,1956
- 1956/5/10,四月,初一,1956
- 1956/6/8,四月,三十,1956
- 1956/6/9,五月,初一,1956
- 1956/7/7,五月,廿九,1956
- 1956/7/8,六月,初一,1956
- 1956/8/5,六月,廿九,1956
- 1956/8/6,七月,初一,1956
- 1956/9/4,七月,三十,1956
- 1956/9/5,八月,初一,1956
- 1956/10/3,八月,廿九,1956
- 1956/10/4,九月,初一,1956
- 1956/11/2,九月,三十,1956
- 1956/11/3,十月,初一,1956
- 1956/12/1,十月,廿九,1956
- 1956/12/2,冬月,初一,1956
- 1956/12/31,冬月,三十,1956
- 1957/1/1,腊月,初一,1956
- 1957/1/30,腊月,三十,1956
- 1957/1/31,正月,初一,1957
- 1957/3/1,正月,三十,1957
- 1957/3/2,二月,初一,1957
- 1957/3/30,二月,廿九,1957
- 1957/3/31,三月,初一,1957
- 1957/4/29,三月,三十,1957
- 1957/4/30,四月,初一,1957
- 1957/5/28,四月,廿九,1957
- 1957/5/29,五月,初一,1957
- 1957/6/27,五月,三十,1957
- 1957/6/28,六月,初一,1957
- 1957/7/26,六月,廿九,1957
- 1957/7/27,七月,初一,1957
- 1957/8/24,七月,廿九,1957
- 1957/8/25,八月,初一,1957
- 1957/9/23,八月,三十,1957
- 1957/9/24,闰八月,初一,1957
- 1957/10/22,闰八月,廿九,1957
- 1957/10/23,九月,初一,1957
- 1957/11/21,九月,三十,1957
- 1957/11/22,十月,初一,1957
- 1957/12/20,十月,廿九,1957
- 1957/12/21,冬月,初一,1957
- 1958/1/19,冬月,三十,1957
- 1958/1/20,腊月,初一,1957
- 1958/2/17,腊月,廿九,1957
- 1958/2/18,正月,初一,1958
- 1958/3/19,正月,三十,1958
- 1958/3/20,二月,初一,1958
- 1958/4/18,二月,三十,1958
- 1958/4/19,三月,初一,1958
- 1958/5/18,三月,三十,1958
- 1958/5/19,四月,初一,1958
- 1958/6/16,四月,廿九,1958
- 1958/6/17,五月,初一,1958
- 1958/7/16,五月,三十,1958
- 1958/7/17,六月,初一,1958
- 1958/8/14,六月,廿九,1958
- 1958/8/15,七月,初一,1958
- 1958/9/12,七月,廿九,1958
- 1958/9/13,八月,初一,1958
- 1958/10/12,八月,三十,1958
- 1958/10/13,九月,初一,1958
- 1958/11/10,九月,廿九,1958
- 1958/11/11,十月,初一,1958
- 1958/12/10,十月,三十,1958
- 1958/12/11,冬月,初一,1958
- 1959/1/8,冬月,廿九,1958
- 1959/1/9,腊月,初一,1958
- 1959/2/7,腊月,三十,1958
- 1959/2/8,正月,初一,1959
- 1959/3/8,正月,廿九,1959
- 1959/3/9,二月,初一,1959
- 1959/4/7,二月,三十,1959
- 1959/4/8,三月,初一,1959
- 1959/5/7,三月,三十,1959
- 1959/5/8,四月,初一,1959
- 1959/6/5,四月,廿九,1959
- 1959/6/6,五月,初一,1959
- 1959/7/5,五月,三十,1959
- 1959/7/6,六月,初一,1959
- 1959/8/3,六月,廿九,1959
- 1959/8/4,七月,初一,1959
- 1959/9/2,七月,三十,1959
- 1959/9/3,八月,初一,1959
- 1959/10/1,八月,廿九,1959
- 1959/10/2,九月,初一,1959
- 1959/10/31,九月,三十,1959
- 1959/11/1,十月,初一,1959
- 1959/11/29,十月,廿九,1959
- 1959/11/30,冬月,初一,1959
- 1959/12/29,冬月,三十,1959
- 1959/12/30,腊月,初一,1959
- 1960/1/27,腊月,廿九,1959
- 1960/1/28,正月,初一,1960
- 1960/2/26,正月,三十,1960
- 1960/2/27,二月,初一,1960
- 1960/3/26,二月,廿九,1960
- 1960/3/27,三月,初一,1960
- 1960/4/25,三月,三十,1960
- 1960/4/26,四月,初一,1960
- 1960/5/24,四月,廿九,1960
- 1960/5/25,五月,初一,1960
- 1960/6/23,五月,三十,1960
- 1960/6/24,六月,初一,1960
- 1960/7/23,六月,三十,1960
- 1960/7/24,闰六月,初一,1960
- 1960/8/21,闰六月,廿九,1960
- 1960/8/22,七月,初一,1960
- 1960/9/20,七月,三十,1960
- 1960/9/21,八月,初一,1960
- 1960/10/19,八月,廿九,1960
- 1960/10/20,九月,初一,1960
- 1960/11/18,九月,三十,1960
- 1960/11/19,十月,初一,1960
- 1960/12/17,十月,廿九,1960
- 1960/12/18,冬月,初一,1960
- 1961/1/16,冬月,三十,1960
- 1961/1/17,腊月,初一,1960
- 1961/2/14,腊月,廿九,1960
- 1961/2/15,正月,初一,1961
- 1961/3/16,正月,三十,1961
- 1961/3/17,二月,初一,1961
- 1961/4/14,二月,廿九,1961
- 1961/4/15,三月,初一,1961
- 1961/5/14,三月,三十,1961
- 1961/5/15,四月,初一,1961
- 1961/6/12,四月,廿九,1961
- 1961/6/13,五月,初一,1961
- 1961/7/12,五月,三十,1961
- 1961/7/13,六月,初一,1961
- 1961/8/10,六月,廿九,1961
- 1961/8/11,七月,初一,1961
- 1961/9/9,七月,三十,1961
- 1961/9/10,八月,初一,1961
- 1961/10/9,八月,三十,1961
- 1961/10/10,九月,初一,1961
- 1961/11/7,九月,廿九,1961
- 1961/11/8,十月,初一,1961
- 1961/12/7,十月,三十,1961
- 1961/12/8,冬月,初一,1961
- 1962/1/5,冬月,廿九,1961
- 1962/1/6,腊月,初一,1961
- 1962/2/4,腊月,三十,1961
- 1962/2/5,正月,初一,1961
- 1962/3/5,正月,廿九,1962
- 1962/3/6,二月,初一,1962
- 1962/4/4,二月,三十,1962
- 1962/4/5,三月,初一,1962
- 1962/5/3,三月,廿九,1962
- 1962/5/4,四月,初一,1962
- 1962/6/1,四月,廿九,1962
- 1962/6/2,五月,初一,1962
- 1962/7/1,五月,三十,1962
- 1962/7/2,六月,初一,1962
- 1962/7/30,六月,廿九,1962
- 1962/7/31,七月,初一,1962
- 1962/8/29,七月,三十,1962
- 1962/8/30,八月,初一,1962
- 1962/9/28,八月,三十,1962
- 1962/9/29,九月,初一,1962
- 1962/10/27,九月,廿九,1962
- 1962/10/28,十月,初一,1962
- 1962/11/26,十月,三十,1962
- 1962/11/27,冬月,初一,1962
- 1962/12/26,冬月,三十,1962
- 1962/12/27,腊月,初一,1962
- 1963/1/24,腊月,廿九,1962
- 1963/1/25,正月,初一,1963
- 1963/2/23,正月,三十,1963
- 1963/2/24,二月,初一,1963
- 1963/3/24,二月,廿九,1963
- 1963/3/25,三月,初一,1963
- 1963/4/23,三月,三十,1963
- 1963/4/24,四月,初一,1963
- 1963/5/22,四月,廿九,1963
- 1963/5/23,闰四月,初一,1963
- 1963/6/20,闰四月,廿九,1963
- 1963/6/21,五月,初一,1963
- 1963/7/20,五月,三十,1963
- 1963/7/21,六月,初一,1963
- 1963/8/18,六月,廿九,1963
- 1963/8/19,七月,初一,1963
- 1963/9/17,七月,三十,1963
- 1963/9/18,八月,初一,1963
- 1963/10/16,八月,廿九,1963
- 1963/10/17,九月,初一,1963
- 1963/11/15,九月,三十,1963
- 1963/11/16,十月,初一,1963
- 1963/12/15,十月,三十,1963
- 1963/12/16,冬月,初一,1963
- 1964/1/14,冬月,三十,1963
- 1964/1/15,腊月,初一,1963
- 1964/2/12,腊月,廿九,1963
- 1964/2/13,正月,初一,1964
- 1964/3/13,正月,三十,1964
- 1964/3/14,二月,初一,1964
- 1964/4/11,二月,廿九,1964
- 1964/4/12,三月,初一,1964
- 1964/5/11,三月,三十,1964
- 1964/5/12,四月,初一,1964
- 1964/6/9,四月,廿九,1964
- 1964/6/10,五月,初一,1964
- 1964/7/8,五月,廿九,1964
- 1964/7/9,六月,初一,1964
- 1964/8/7,六月,三十,1964
- 1964/8/8,七月,初一,1964
- 1964/9/5,七月,廿九,1964
- 1964/9/6,八月,初一,1964
- 1964/10/5,八月,三十,1964
- 1964/10/6,九月,初一,1964
- 1964/11/3,九月,廿九,1964
- 1964/11/4,十月,初一,1964
- 1964/12/3,十月,三十,1964
- 1964/12/4,冬月,初一,1964
- 1965/1/2,冬月,三十,1964
- 1965/1/3,腊月,初一,1964
- 1965/2/1,腊月,三十,1964
- 1965/2/2,正月,初一,1965
- 1965/3/2,正月,廿九,1965
- 1965/3/3,二月,初一,1965
- 1965/4/1,二月,三十,1965
- 1965/4/2,三月,初一,1965
- 1965/4/30,三月,廿九,1965
- 1965/5/1,四月,初一,1965
- 1965/5/30,四月,三十,1965
- 1965/5/31,五月,初一,1965
- 1965/6/28,五月,廿九,1965
- 1965/6/29,六月,初一,1965
- 1965/7/27,六月,廿九,1965
- 1965/7/28,七月,初一,1965
- 1965/8/26,七月,三十,1965
- 1965/8/27,八月,初一,1965
- 1965/9/24,八月,廿九,1965
- 1965/9/25,九月,初一,1965
- 1965/10/23,九月,廿九,1965
- 1965/10/24,十月,初一,1965
- 1965/11/22,十月,三十,1965
- 1965/11/23,冬月,初一,1965
- 1965/12/22,冬月,三十,1965
- 1965/12/23,腊月,初一,1965
- 1966/1/20,腊月,廿九,1965
- 1966/1/21,正月,初一,1966
- 1966/2/19,正月,三十,1966
- 1966/2/20,二月,初一,1966
- 1966/3/21,二月,三十,1966
- 1966/3/22,三月,初一,1966
- 1966/4/20,三月,三十,1966
- 1966/4/21,闰三月,初一,1966
- 1966/5/19,闰三月,廿九,1966
- 1966/5/20,四月,初一,1966
- 1966/6/18,四月,三十,1966
- 1966/6/19,五月,初一,1966
- 1966/7/17,五月,廿九,1966
- 1966/7/18,六月,初一,1966
- 1966/8/15,六月,廿九,1966
- 1966/8/16,七月,初一,1966
- 1966/9/14,七月,三十,1966
- 1966/9/15,八月,初一,1966
- 1966/10/13,八月,廿九,1966
- 1966/10/14,九月,初一,1966
- 1966/11/11,九月,廿九,1966
- 1966/11/12,十月,初一,1966
- 1966/12/11,十月,三十,1966
- 1966/12/12,冬月,初一,1966
- 1967/1/10,冬月,三十,1966
- 1967/1/11,腊月,初一,1966
- 1967/2/8,腊月,廿九,1966
- 1967/2/9,正月,初一,1967
- 1967/3/10,正月,三十,1967
- 1967/3/11,二月,初一,1967
- 1967/4/9,二月,三十,1967
- 1967/4/10,三月,初一,1967
- 1967/5/8,三月,廿九,1967
- 1967/5/9,四月,初一,1967
- 1967/6/7,四月,三十,1967
- 1967/6/8,五月,初一,1967
- 1967/7/7,五月,三十,1967
- 1967/7/8,六月,初一,1967
- 1967/8/5,六月,廿九,1967
- 1967/8/6,七月,初一,1967
- 1967/9/3,七月,廿九,1967
- 1967/9/4,八月,初一,1967
- 1967/10/3,八月,三十,1967
- 1967/10/4,九月,初一,1967
- 1967/11/1,九月,廿九,1967
- 1967/11/2,十月,初一,1967
- 1967/12/1,十月,三十,1967
- 1967/12/2,冬月,初一,1967
- 1967/12/30,冬月,廿九,1967
- 1967/12/31,腊月,初一,1967
- 1968/1/29,腊月,三十,1967
- 1968/1/30,正月,初一,1968
- 1968/2/27,正月,廿九,1968
- 1968/2/28,二月,初一,1968
- 1968/3/28,二月,三十,1968
- 1968/3/29,三月,初一,1968
- 1968/4/26,三月,廿九,1968
- 1968/4/27,四月,初一,1968
- 1968/5/26,四月,三十,1968
- 1968/5/27,五月,初一,1968
- 1968/6/25,五月,三十,1968
- 1968/6/26,六月,初一,1968
- 1968/7/24,六月,廿九,1968
- 1968/7/25,七月,初一,1968
- 1968/8/23,七月,三十,1968
- 1968/8/24,闰七月,初一,1968
- 1968/9/21,闰七月,廿九,1968
- 1968/9/22,八月,初一,1968
- 1968/10/21,八月,三十,1968
- 1968/10/22,九月,初一,1968
- 1968/11/19,九月,廿九,1968
- 1968/11/20,十月,初一,1968
- 1968/12/19,十月,三十,1968
- 1968/12/20,冬月,初一,1968
- 1969/1/17,冬月,廿九,1968
- 1969/1/18,腊月,初一,1968
- 1969/2/16,腊月,三十,1968
- 1969/2/17,正月,初一,1969
- 1969/3/17,正月,廿九,1969
- 1969/3/18,二月,初一,1969
- 1969/4/16,二月,三十,1969
- 1969/4/17,三月,初一,1969
- 1969/5/15,三月,廿九,1969
- 1969/5/16,四月,初一,1969
- 1969/6/14,四月,三十,1969
- 1969/6/15,五月,初一,1969
- 1969/7/13,五月,廿九,1969
- 1969/7/14,六月,初一,1969
- 1969/8/12,六月,三十,1969
- 1969/8/13,七月,初一,1969
- 1969/9/11,七月,三十,1969
- 1969/9/12,八月,初一,1969
- 1969/10/10,八月,廿九,1969
- 1969/10/11,九月,初一,1969
- 1969/11/9,九月,三十,1969
- 1969/11/10,十月,初一,1969
- 1969/12/8,十月,廿九,1969
- 1969/12/9,冬月,初一,1969
- 1970/1/7,冬月,三十,1969
- 1970/1/8,腊月,初一,1969
- 1970/2/5,腊月,廿九,1969
- 1970/2/6,正月,初一,1970
- 1970/3/7,正月,三十,1970
- 1970/3/8,二月,初一,1970
- 1970/4/5,二月,廿九,1970
- 1970/4/6,三月,初一,1970
- 1970/5/4,三月,廿九,1970
- 1970/5/5,四月,初一,1970
- 1970/6/3,四月,三十,1970
- 1970/6/4,五月,初一,1970
- 1970/7/2,五月,廿九,1970
- 1970/7/3,六月,初一,1970
- 1970/8/1,六月,三十,1970
- 1970/8/2,七月,初一,1970
- 1970/8/31,七月,三十,1970
- 1970/9/1,八月,初一,1970
- 1970/9/29,八月,廿九,1970
- 1970/9/30,九月,初一,1970
- 1970/10/29,九月,三十,1970
- 1970/10/30,十月,初一,1970
- 1970/11/28,十月,三十,1970
- 1970/11/29,冬月,初一,1970
- 1970/12/27,冬月,廿九,1970
- 1970/12/28,腊月,初一,1970
- 1971/1/26,腊月,三十,1970
- 1971/1/27,正月,初一,1971
- 1971/2/24,正月,廿九,1971
- 1971/2/25,二月,初一,1971
- 1971/3/26,二月,三十,1971
- 1971/3/27,三月,初一,1971
- 1971/4/24,三月,廿九,1971
- 1971/4/25,四月,初一,1971
- 1971/5/23,四月,廿九,1971
- 1971/5/24,五月,初一,1971
- 1971/6/22,五月,三十,1971
- 1971/6/23,闰五月,初一,1971
- 1971/7/21,闰五月,廿九,1971
- 1971/7/22,六月,初一,1971
- 1971/8/20,六月,三十,1971
- 1971/8/21,七月,初一,1971
- 1971/9/18,七月,廿九,1971
- 1971/9/19,八月,初一,1971
- 1971/10/18,八月,三十,1971
- 1971/10/19,九月,初一,1971
- 1971/11/17,九月,三十,1971
- 1971/11/18,十月,初一,1971
- 1971/12/17,十月,三十,1971
- 1971/12/18,冬月,初一,1971
- 1972/1/15,冬月,廿九,1971
- 1972/1/16,腊月,初一,1971
- 1972/2/14,腊月,三十,1971
- 1972/2/15,正月,初一,1972
- 1972/3/14,正月,廿九,1972
- 1972/3/15,二月,初一,1972
- 1972/4/13,二月,三十,1972
- 1972/4/14,三月,初一,1972
- 1972/5/12,三月,廿九,1972
- 1972/5/13,四月,初一,1972
- 1972/6/10,四月,廿九,1972
- 1972/6/11,五月,初一,1972
- 1972/7/10,五月,三十,1972
- 1972/7/11,六月,初一,1972
- 1972/8/8,六月,廿九,1972
- 1972/8/9,七月,初一,1972
- 1972/9/7,七月,三十,1972
- 1972/9/8,八月,初一,1972
- 1972/10/6,八月,廿九,1972
- 1972/10/7,九月,初一,1972
- 1972/11/5,九月,三十,1972
- 1972/11/6,十月,初一,1972
- 1972/12/5,十月,三十,1972
- 1972/12/6,冬月,初一,1972
- 1973/1/3,冬月,廿九,1972
- 1973/1/4,腊月,初一,1972
- 1973/2/2,腊月,三十,1972
- 1973/2/3,正月,初一,1973
- 1973/3/4,正月,三十,1973
- 1973/3/5,二月,初一,1973
- 1973/4/2,二月,廿九,1973
- 1973/4/3,三月,初一,1973
- 1973/5/2,三月,三十,1973
- 1973/5/3,四月,初一,1973
- 1973/5/31,四月,廿九,1973
- 1973/6/1,五月,初一,1973
- 1973/6/29,五月,廿九,1973
- 1973/6/30,六月,初一,1973
- 1973/7/29,六月,三十,1973
- 1973/7/30,七月,初一,1973
- 1973/8/27,七月,廿九,1973
- 1973/8/28,八月,初一,1973
- 1973/9/25,八月,廿九,1973
- 1973/9/26,九月,初一,1973
- 1973/10/25,九月,三十,1973
- 1973/10/26,十月,初一,1973
- 1973/11/24,十月,三十,1973
- 1973/11/25,冬月,初一,1973
- 1973/12/23,冬月,廿九,1973
- 1973/12/24,腊月,初一,1973
- 1974/1/22,腊月,三十,1973
- 1974/1/23,正月,初一,1974
- 1974/2/21,正月,三十,1974
- 1974/2/22,二月,初一,1974
- 1974/3/23,二月,三十,1974
- 1974/3/24,三月,初一,1974
- 1974/4/21,三月,廿九,1974
- 1974/4/22,四月,初一,1974
- 1974/5/21,四月,三十,1974
- 1974/5/22,闰四月,初一,1974
- 1974/6/19,闰四月,廿九,1974
- 1974/6/20,五月,初一,1974
- 1974/7/18,五月,廿九,1974
- 1974/7/19,六月,初一,1974
- 1974/8/17,六月,三十,1974
- 1974/8/18,七月,初一,1974
- 1974/9/15,七月,廿九,1974
- 1974/9/16,八月,初一,1974
- 1974/10/14,八月,廿九,1974
- 1974/10/15,九月,初一,1974
- 1974/11/13,九月,三十,1974
- 1974/11/14,十月,初一,1974
- 1974/12/13,十月,三十,1974
- 1974/12/14,冬月,初一,1974
- 1975/1/11,冬月,廿九,1974
- 1975/1/12,腊月,初一,1974
- 1975/2/10,腊月,三十,1974
- 1975/2/11,正月,初一,1975
- 1975/3/12,正月,三十,1975
- 1975/3/13,二月,初一,1975
- 1975/4/11,二月,三十,1975
- 1975/4/12,三月,初一,1975
- 1975/5/10,三月,廿九,1975
- 1975/5/11,四月,初一,1975
- 1975/6/9,四月,三十,1975
- 1975/6/10,五月,初一,1975
- 1975/7/8,五月,廿九,1975
- 1975/7/9,六月,初一,1975
- 1975/8/6,六月,廿九,1975
- 1975/8/7,七月,初一,1975
- 1975/9/5,七月,三十,1975
- 1975/9/6,八月,初一,1975
- 1975/10/4,八月,廿九,1975
- 1975/10/5,九月,初一,1975
- 1975/11/2,九月,廿九,1975
- 1975/11/3,十月,初一,1975
- 1975/12/2,十月,三十,1975
- 1975/12/3,冬月,初一,1975
- 1975/12/31,冬月,廿九,1975
- 1976/1/1,腊月,初一,1975
- 1976/1/30,腊月,三十,1975
- 1976/1/31,正月,初一,1976
- 1976/2/29,正月,三十,1976
- 1976/3/1,二月,初一,1976
- 1976/3/30,二月,三十,1976
- 1976/3/31,三月,初一,1976
- 1976/4/28,三月,廿九,1976
- 1976/4/29,四月,初一,1976
- 1976/5/28,四月,三十,1976
- 1976/5/29,五月,初一,1976
- 1976/6/26,五月,廿九,1976
- 1976/6/27,六月,初一,1976
- 1976/7/26,六月,三十,1976
- 1976/7/27,七月,初一,1976
- 1976/8/24,七月,廿九,1976
- 1976/8/25,八月,初一,1976
- 1976/9/23,八月,三十,1976
- 1976/9/24,闰八月,初一,1976
- 1976/10/22,闰八月,廿九,1976
- 1976/10/23,九月,初一,1976
- 1976/11/20,九月,廿九,1976
- 1976/11/21,十月,初一,1976
- 1976/12/20,十月,三十,1976
- 1976/12/21,冬月,初一,1976
- 1977/1/18,冬月,廿九,1976
- 1977/1/19,腊月,初一,1976
- 1977/2/17,腊月,三十,1976
- 1977/2/18,正月,初一,1977
- 1977/3/19,正月,三十,1977
- 1977/3/20,二月,初一,1977
- 1977/4/17,二月,廿九,1977
- 1977/4/18,三月,初一,1977
- 1977/5/17,三月,三十,1977
- 1977/5/18,四月,初一,1977
- 1977/6/16,四月,三十,1977
- 1977/6/17,五月,初一,1977
- 1977/7/15,五月,廿九,1977
- 1977/7/16,六月,初一,1977
- 1977/8/14,六月,三十,1977
- 1977/8/15,七月,初一,1977
- 1977/9/12,七月,廿九,1977
- 1977/9/13,八月,初一,1977
- 1977/10/12,八月,三十,1977
- 1977/10/13,九月,初一,1977
- 1977/11/10,九月,廿九,1977
- 1977/11/11,十月,初一,1977
- 1977/12/10,十月,三十,1977
- 1977/12/11,冬月,初一,1977
- 1978/1/8,冬月,廿九,1977
- 1978/1/9,腊月,初一,1977
- 1978/2/6,腊月,廿九,1977
- 1978/2/7,正月,初一,1978
- 1978/3/8,正月,三十,1978
- 1978/3/9,二月,初一,1978
- 1978/4/6,二月,廿九,1978
- 1978/4/7,三月,初一,1978
- 1978/5/6,三月,三十,1978
- 1978/5/7,四月,初一,1978
- 1978/6/5,四月,三十,1978
- 1978/6/6,五月,初一,1978
- 1978/7/4,五月,廿九,1978
- 1978/7/5,六月,初一,1978
- 1978/8/3,六月,三十,1978
- 1978/8/4,七月,初一,1978
- 1978/9/2,七月,三十,1978
- 1978/9/3,八月,初一,1978
- 1978/10/1,八月,廿九,1978
- 1978/10/2,九月,初一,1978
- 1978/10/31,九月,三十,1978
- 1978/11/1,十月,初一,1978
- 1978/11/29,十月,廿九,1978
- 1978/11/30,冬月,初一,1978
- 1978/12/29,冬月,三十,1978
- 1978/12/30,腊月,初一,1978
- 1979/1/27,腊月,廿九,1978
- 1979/1/28,正月,初一,1979
- 1979/2/26,正月,三十,1979
- 1979/2/27,二月,初一,1979
- 1979/3/27,二月,廿九,1979
- 1979/3/28,三月,初一,1979
- 1979/4/25,三月,廿九,1979
- 1979/4/26,四月,初一,1979
- 1979/5/25,四月,三十,1979
- 1979/5/26,五月,初一,1979
- 1979/6/23,五月,廿九,1979
- 1979/6/24,六月,初一,1979
- 1979/7/23,六月,三十,1979
- 1979/7/24,闰六月,初一,1979
- 1979/8/22,闰六月,三十,1979
- 1979/8/23,七月,初一,1979
- 1979/9/20,七月,廿九,1979
- 1979/9/21,八月,初一,1979
- 1979/10/20,八月,三十,1979
- 1979/10/21,九月,初一,1979
- 1979/11/19,九月,三十,1979
- 1979/11/20,十月,初一,1979
- 1979/12/18,十月,廿九,1979
- 1979/12/19,冬月,初一,1979
- 1980/1/17,冬月,三十,1979
- 1980/1/18,腊月,初一,1979
- 1980/2/15,腊月,廿九,1979
- 1980/2/16,正月,初一,1980
- 1980/3/16,正月,三十,1980
- 1980/3/17,二月,初一,1980
- 1980/4/14,二月,廿九,1980
- 1980/4/15,三月,初一,1980
- 1980/5/13,三月,廿九,1980
- 1980/5/14,四月,初一,1980
- 1980/6/12,四月,三十,1980
- 1980/6/13,五月,初一,1980
- 1980/7/11,五月,廿九,1980
- 1980/7/12,六月,初一,1980
- 1980/8/10,六月,三十,1980
- 1980/8/11,七月,初一,1980
- 1980/9/8,七月,廿九,1980
- 1980/9/9,八月,初一,1980
- 1980/10/8,八月,三十,1980
- 1980/10/9,九月,初一,1980
- 1980/11/7,九月,三十,1980
- 1980/11/8,十月,初一,1980
- 1980/12/6,十月,廿九,1980
- 1980/12/7,冬月,初一,1980
- 1981/1/5,冬月,三十,1980
- 1981/1/6,腊月,初一,1980
- 1981/2/4,腊月,三十,1980
- 1981/2/5,正月,初一,1981
- 1981/3/5,正月,廿九,1981
- 1981/3/6,二月,初一,1981
- 1981/4/4,二月,三十,1981
- 1981/4/5,三月,初一,1981
- 1981/5/3,三月,廿九,1981
- 1981/5/4,四月,初一,1981
- 1981/6/1,四月,廿九,1981
- 1981/6/2,五月,初一,1981
- 1981/7/1,五月,三十,1981
- 1981/7/2,六月,初一,1981
- 1981/7/30,六月,廿九,1981
- 1981/7/31,七月,初一,1981
- 1981/8/28,七月,廿九,1981
- 1981/8/29,八月,初一,1981
- 1981/9/27,八月,三十,1981
- 1981/9/28,九月,初一,1981
- 1981/10/27,九月,三十,1981
- 1981/10/28,十月,初一,1981
- 1981/11/25,十月,廿九,1981
- 1981/11/26,冬月,初一,1981
- 1981/12/25,冬月,三十,1981
- 1981/12/26,腊月,初一,1981
- 1982/1/24,腊月,三十,1981
- 1982/1/25,正月,初一,1982
- 1982/2/23,正月,三十,1982
- 1982/2/24,二月,初一,1982
- 1982/3/24,二月,廿九,1982
- 1982/3/25,三月,初一,1982
- 1982/4/23,三月,三十,1982
- 1982/4/24,四月,初一,1982
- 1982/5/22,四月,廿九,1982
- 1982/5/23,闰四月,初一,1982
- 1982/6/20,闰四月,廿九,1982
- 1982/6/21,五月,初一,1982
- 1982/7/20,五月,三十,1982
- 1982/7/21,六月,初一,1982
- 1982/8/18,六月,廿九,1982
- 1982/8/19,七月,初一,1982
- 1982/9/16,七月,廿九,1982
- 1982/9/17,八月,初一,1982
- 1982/10/16,八月,三十,1982
- 1982/10/17,九月,初一,1982
- 1982/11/14,九月,廿九,1982
- 1982/11/15,十月,初一,1982
- 1982/12/14,十月,三十,1982
- 1982/12/15,冬月,初一,1982
- 1983/1/13,冬月,三十,1982
- 1983/1/14,腊月,初一,1982
- 1983/2/12,腊月,三十,1982
- 1983/2/13,正月,初一,1983
- 1983/3/14,正月,三十,1983
- 1983/3/15,二月,初一,1983
- 1983/4/12,二月,廿九,1983
- 1983/4/13,三月,初一,1983
- 1983/5/12,三月,三十,1983
- 1983/5/13,四月,初一,1983
- 1983/6/10,四月,廿九,1983
- 1983/6/11,五月,初一,1983
- 1983/7/9,五月,廿九,1983
- 1983/7/10,六月,初一,1983
- 1983/8/8,六月,三十,1983
- 1983/8/9,七月,初一,1983
- 1983/9/6,七月,廿九,1983
- 1983/9/7,八月,初一,1983
- 1983/10/5,八月,廿九,1983
- 1983/10/6,九月,初一,1983
- 1983/11/4,九月,三十,1983
- 1983/11/5,十月,初一,1983
- 1983/12/3,十月,廿九,1983
- 1983/12/4,冬月,初一,1983
- 1984/1/2,冬月,三十,1983
- 1984/1/3,腊月,初一,1983
- 1984/2/1,腊月,三十,1983
- 1984/2/2,正月,初一,1984
- 1984/3/2,正月,三十,1984
- 1984/3/3,二月,初一,1984
- 1984/3/31,二月,廿九,1984
- 1984/4/1,三月,初一,1984
- 1984/4/30,三月,三十,1984
- 1984/5/1,四月,初一,1984
- 1984/5/30,四月,三十,1984
- 1984/5/31,五月,初一,1984
- 1984/6/28,五月,廿九,1984
- 1984/6/29,六月,初一,1984
- 1984/7/27,六月,廿九,1984
- 1984/7/28,七月,初一,1984
- 1984/8/26,七月,三十,1984
- 1984/8/27,八月,初一,1984
- 1984/9/24,八月,廿九,1984
- 1984/9/25,九月,初一,1984
- 1984/10/23,九月,廿九,1984
- 1984/10/24,十月,初一,1984
- 1984/11/22,十月,三十,1984
- 1984/11/23,闰十月,初一,1984
- 1984/12/21,闰十月,廿九,1984
- 1984/12/22,冬月,初一,1984
- 1985/1/20,冬月,三十,1984
- 1985/1/21,腊月,初一,1984
- 1985/2/19,腊月,三十,1984
- 1985/2/20,正月,初一,1985
- 1985/3/20,正月,廿九,1985
- 1985/3/21,二月,初一,1985
- 1985/4/19,二月,三十,1985
- 1985/4/20,三月,初一,1985
- 1985/5/19,三月,三十,1985
- 1985/5/20,四月,初一,1985
- 1985/6/17,四月,廿九,1985
- 1985/6/18,五月,初一,1985
- 1985/7/17,五月,三十,1985
- 1985/7/18,六月,初一,1985
- 1985/8/15,六月,廿九,1985
- 1985/8/16,七月,初一,1985
- 1985/9/14,七月,三十,1985
- 1985/9/15,八月,初一,1985
- 1985/10/13,八月,廿九,1985
- 1985/10/14,九月,初一,1985
- 1985/11/11,九月,廿九,1985
- 1985/11/12,十月,初一,1985
- 1985/12/11,十月,三十,1985
- 1985/12/12,冬月,初一,1985
- 1986/1/9,冬月,廿九,1985
- 1986/1/10,腊月,初一,1985
- 1986/2/8,腊月,三十,1985
- 1986/2/9,正月,初一,1986
- 1986/3/9,正月,廿九,1986
- 1986/3/10,二月,初一,1986
- 1986/4/8,二月,三十,1986
- 1986/4/9,三月,初一,1986
- 1986/5/8,三月,三十,1986
- 1986/5/9,四月,初一,1986
- 1986/6/6,四月,廿九,1986
- 1986/6/7,五月,初一,1986
- 1986/7/6,五月,三十,1986
- 1986/7/7,六月,初一,1986
- 1986/8/5,六月,三十,1986
- 1986/8/6,七月,初一,1986
- 1986/9/3,七月,廿九,1986
- 1986/9/4,八月,初一,1986
- 1986/10/3,八月,三十,1986
- 1986/10/4,九月,初一,1986
- 1986/11/1,九月,廿九,1986
- 1986/11/2,十月,初一,1986
- 1986/12/1,十月,三十,1986
- 1986/12/2,冬月,初一,1986
- 1986/12/30,冬月,廿九,1986
- 1986/12/31,腊月,初一,1986
- 1987/1/28,腊月,廿九,1986
- 1987/1/29,正月,初一,1987
- 1987/2/27,正月,三十,1987
- 1987/2/28,二月,初一,1987
- 1987/3/28,二月,廿九,1987
- 1987/3/29,三月,初一,1987
- 1987/4/27,三月,三十,1987
- 1987/4/28,四月,初一,1987
- 1987/5/26,四月,廿九,1987
- 1987/5/27,五月,初一,1987
- 1987/6/25,五月,三十,1987
- 1987/6/26,六月,初一,1987
- 1987/7/25,六月,三十,1987
- 1987/7/26,闰六月,初一,1987
- 1987/8/23,闰六月,廿九,1987
- 1987/8/24,七月,初一,1987
- 1987/9/22,七月,三十,1987
- 1987/9/23,八月,初一,1987
- 1987/10/22,八月,三十,1987
- 1987/10/23,九月,初一,1987
- 1987/11/20,九月,廿九,1987
- 1987/11/21,十月,初一,1987
- 1987/12/20,十月,三十,1987
- 1987/12/21,冬月,初一,1987
- 1988/1/18,冬月,廿九,1987
- 1988/1/19,腊月,初一,1987
- 1988/2/16,腊月,廿九,1987
- 1988/2/17,正月,初一,1988
- 1988/3/17,正月,三十,1988
- 1988/3/18,二月,初一,1988
- 1988/4/15,二月,廿九,1988
- 1988/4/16,三月,初一,1988
- 1988/5/15,三月,三十,1988
- 1988/5/16,四月,初一,1988
- 1988/6/13,四月,廿九,1988
- 1988/6/14,五月,初一,1988
- 1988/7/13,五月,三十,1988
- 1988/7/14,六月,初一,1988
- 1988/8/11,六月,廿九,1988
- 1988/8/12,七月,初一,1988
- 1988/9/10,七月,三十,1988
- 1988/9/11,八月,初一,1988
- 1988/10/10,八月,三十,1988
- 1988/10/11,九月,初一,1988
- 1988/11/8,九月,廿九,1988
- 1988/11/9,十月,初一,1988
- 1988/12/8,十月,三十,1988
- 1988/12/9,冬月,初一,1988
- 1989/1/7,冬月,三十,1988
- 1989/1/8,腊月,初一,1988
- 1989/2/5,腊月,廿九,1988
- 1989/2/6,正月,初一,1989
- 1989/3/7,正月,三十,1989
- 1989/3/8,二月,初一,1989
- 1989/4/5,二月,廿九,1989
- 1989/4/6,三月,初一,1989
- 1989/5/4,三月,廿九,1989
- 1989/5/5,四月,初一,1989
- 1989/6/3,四月,三十,1989
- 1989/6/4,五月,初一,1989
- 1989/7/2,五月,廿九,1989
- 1989/7/3,六月,初一,1989
- 1989/8/1,六月,三十,1989
- 1989/8/2,七月,初一,1989
- 1989/8/30,七月,廿九,1989
- 1989/8/31,八月,初一,1989
- 1989/9/29,八月,三十,1989
- 1989/9/30,九月,初一,1989
- 1989/10/28,九月,廿九,1989
- 1989/10/29,十月,初一,1989
- 1989/11/27,十月,三十,1989
- 1989/11/28,冬月,初一,1989
- 1989/12/27,冬月,三十,1989
- 1989/12/28,腊月,初一,1989
- 1990/1/26,腊月,三十,1989
- 1990/1/27,正月,初一,1990
- 1990/2/24,正月,廿九,1990
- 1990/2/25,二月,初一,1990
- 1990/3/26,二月,三十,1990
- 1990/3/27,三月,初一,1990
- 1990/4/24,三月,廿九,1990
- 1990/4/25,四月,初一,1990
- 1990/5/23,四月,廿九,1990
- 1990/5/24,五月,初一,1990
- 1990/6/22,五月,三十,1990
- 1990/6/23,闰五月,初一,1990
- 1990/7/21,闰五月,廿九,1990
- 1990/7/22,六月,初一,1990
- 1990/8/19,六月,廿九,1990
- 1990/8/20,七月,初一,1990
- 1990/9/18,七月,三十,1990
- 1990/9/19,八月,初一,1990
- 1990/10/17,八月,廿九,1990
- 1990/10/18,九月,初一,1990
- 1990/11/16,九月,三十,1990
- 1990/11/17,十月,初一,1990
- 1990/12/16,十月,三十,1990
- 1990/12/17,冬月,初一,1990
- 1991/1/15,冬月,三十,1990
- 1991/1/16,腊月,初一,1990
- 1991/2/14,腊月,三十,1990
- 1991/2/15,正月,初一,1991
- 1991/3/15,正月,廿九,1991
- 1991/3/16,二月,初一,1991
- 1991/4/14,二月,三十,1991
- 1991/4/15,三月,初一,1991
- 1991/5/13,三月,廿九,1991
- 1991/5/14,四月,初一,1991
- 1991/6/11,四月,廿九,1991
- 1991/6/12,五月,初一,1991
- 1991/7/11,五月,三十,1991
- 1991/7/12,六月,初一,1991
- 1991/8/9,六月,廿九,1991
- 1991/8/10,七月,初一,1991
- 1991/9/7,七月,廿九,1991
- 1991/9/8,八月,初一,1991
- 1991/10/7,八月,三十,1991
- 1991/10/8,九月,初一,1991
- 1991/11/5,九月,廿九,1991
- 1991/11/6,十月,初一,1991
- 1991/12/5,十月,三十,1991
- 1991/12/6,冬月,初一,1991
- 1992/1/4,冬月,三十,1991
- 1992/1/5,腊月,初一,1991
- 1992/2/3,腊月,三十,1991
- 1992/2/4,正月,初一,1992
- 1992/3/3,正月,廿九,1992
- 1992/3/4,二月,初一,1992
- 1992/4/2,二月,三十,1992
- 1992/4/3,三月,初一,1992
- 1992/5/2,三月,三十,1992
- 1992/5/3,四月,初一,1992
- 1992/5/31,四月,廿九,1992
- 1992/6/1,五月,初一,1992
- 1992/6/29,五月,廿九,1992
- 1992/6/30,六月,初一,1992
- 1992/7/29,六月,三十,1992
- 1992/7/30,七月,初一,1992
- 1992/8/27,七月,廿九,1992
- 1992/8/28,八月,初一,1992
- 1992/9/25,八月,廿九,1992
- 1992/9/26,九月,初一,1992
- 1992/10/25,九月,三十,1992
- 1992/10/26,十月,初一,1992
- 1992/11/23,十月,廿九,1992
- 1992/11/24,冬月,初一,1992
- 1992/12/23,冬月,三十,1992
- 1992/12/24,腊月,初一,1992
- 1993/1/22,腊月,三十,1992
- 1993/1/23,正月,初一,1993
- 1993/2/20,正月,廿九,1993
- 1993/2/21,二月,初一,1993
- 1993/3/22,二月,三十,1993
- 1993/3/23,三月,初一,1993
- 1993/4/21,三月,三十,1993
- 1993/4/22,闰三月,初一,1993
- 1993/5/20,闰三月,廿九,1993
- 1993/5/21,四月,初一,1993
- 1993/6/19,四月,三十,1993
- 1993/6/20,五月,初一,1993
- 1993/7/18,五月,廿九,1993
- 1993/7/19,六月,初一,1993
- 1993/8/17,六月,三十,1993
- 1993/8/18,七月,初一,1993
- 1993/9/15,七月,廿九,1993
- 1993/9/16,八月,初一,1993
- 1993/10/14,八月,廿九,1993
- 1993/10/15,九月,初一,1993
- 1993/11/13,九月,三十,1993
- 1993/11/14,十月,初一,1993
- 1993/12/12,十月,廿九,1993
- 1993/12/13,冬月,初一,1993
- 1994/1/11,冬月,三十,1993
- 1994/1/12,腊月,初一,1993
- 1994/2/9,腊月,廿九,1993
- 1994/2/10,正月,初一,1994
- 1994/3/11,正月,三十,1994
- 1994/3/12,二月,初一,1994
- 1994/4/10,二月,三十,1994
- 1994/4/11,三月,初一,1994
- 1994/5/10,三月,三十,1994
- 1994/5/11,四月,初一,1994
- 1994/6/8,四月,廿九,1994
- 1994/6/9,五月,初一,1994
- 1994/7/8,五月,三十,1994
- 1994/7/9,六月,初一,1994
- 1994/8/6,六月,廿九,1994
- 1994/8/7,七月,初一,1994
- 1994/9/5,七月,三十,1994
- 1994/9/6,八月,初一,1994
- 1994/10/4,八月,廿九,1994
- 1994/10/5,九月,初一,1994
- 1994/11/2,九月,廿九,1994
- 1994/11/3,十月,初一,1994
- 1994/12/2,十月,三十,1994
- 1994/12/3,冬月,初一,1994
- 1994/12/31,冬月,廿九,1994
- 1995/1/1,腊月,初一,1994
- 1995/1/30,腊月,三十,1994
- 1995/1/31,正月,初一,1995
- 1995/2/28,正月,廿九,1995
- 1995/3/1,二月,初一,1995
- 1995/3/30,二月,三十,1995
- 1995/3/31,三月,初一,1995
- 1995/4/29,三月,三十,1995
- 1995/4/30,四月,初一,1995
- 1995/5/28,四月,廿九,1995
- 1995/5/29,五月,初一,1995
- 1995/6/27,五月,三十,1995
- 1995/6/28,六月,初一,1995
- 1995/7/26,六月,廿九,1995
- 1995/7/27,七月,初一,1995
- 1995/8/25,七月,三十,1995
- 1995/8/26,八月,初一,1995
- 1995/9/24,八月,三十,1995
- 1995/9/25,闰八月,初一,1995
- 1995/10/23,闰八月,廿九,1995
- 1995/10/24,九月,初一,1995
- 1995/11/21,九月,廿九,1995
- 1995/11/22,十月,初一,1995
- 1995/12/21,十月,三十,1995
- 1995/12/22,冬月,初一,1995
- 1996/1/19,冬月,廿九,1995
- 1996/1/20,腊月,初一,1995
- 1996/2/18,腊月,三十,1995
- 1996/2/19,正月,初一,1996
- 1996/3/18,正月,廿九,1996
- 1996/3/19,二月,初一,1996
- 1996/4/17,二月,三十,1996
- 1996/4/18,三月,初一,1996
- 1996/5/16,三月,廿九,1996
- 1996/5/17,四月,初一,1996
- 1996/6/15,四月,三十,1996
- 1996/6/16,五月,初一,1996
- 1996/7/15,五月,三十,1996
- 1996/7/16,六月,初一,1996
- 1996/8/13,六月,廿九,1996
- 1996/8/14,七月,初一,1996
- 1996/9/12,七月,三十,1996
- 1996/9/13,八月,初一,1996
- 1996/10/11,八月,廿九,1996
- 1996/10/12,九月,初一,1996
- 1996/11/10,九月,三十,1996
- 1996/11/11,十月,初一,1996
- 1996/12/10,十月,三十,1996
- 1996/12/11,冬月,初一,1996
- 1997/1/8,冬月,廿九,1996
- 1997/1/9,腊月,初一,1996
- 1997/2/6,腊月,廿九,1996
- 1997/2/7,正月,初一,1997
- 1997/3/8,正月,三十,1997
- 1997/3/9,二月,初一,1997
- 1997/4/6,二月,廿九,1997
- 1997/4/7,三月,初一,1997
- 1997/5/6,三月,三十,1997
- 1997/5/7,四月,初一,1997
- 1997/6/4,四月,廿九,1997
- 1997/6/5,五月,初一,1997
- 1997/7/4,五月,三十,1997
- 1997/7/5,六月,初一,1997
- 1997/8/2,六月,廿九,1997
- 1997/8/3,七月,初一,1997
- 1997/9/1,七月,三十,1997
- 1997/9/2,八月,初一,1997
- 1997/10/1,八月,三十,1997
- 1997/10/2,九月,初一,1997
- 1997/10/30,九月,廿九,1997
- 1997/10/31,十月,初一,1997
- 1997/11/29,十月,三十,1997
- 1997/11/30,冬月,初一,1997
- 1997/12/29,冬月,三十,1997
- 1997/12/30,腊月,初一,1997
- 1998/1/27,腊月,廿九,1997
- 1998/1/28,正月,初一,1998
- 1998/2/26,正月,三十,1998
- 1998/2/27,二月,初一,1998
- 1998/3/27,二月,廿九,1998
- 1998/3/28,三月,初一,1998
- 1998/4/25,三月,廿九,1998
- 1998/4/26,四月,初一,1998
- 1998/5/25,四月,三十,1998
- 1998/5/26,五月,初一,1998
- 1998/6/23,五月,廿九,1998
- 1998/6/24,闰五月,初一,1998
- 1998/7/22,闰五月,廿九,1998
- 1998/7/23,六月,初一,1998
- 1998/8/21,六月,三十,1998
- 1998/8/22,七月,初一,1998
- 1998/9/20,七月,三十,1998
- 1998/9/21,八月,初一,1998
- 1998/10/19,八月,廿九,1998
- 1998/10/20,九月,初一,1998
- 1998/11/18,九月,三十,1998
- 1998/11/19,十月,初一,1998
- 1998/12/18,十月,三十,1998
- 1998/12/19,冬月,初一,1998
- 1999/1/16,冬月,廿九,1998
- 1999/1/17,腊月,初一,1998
- 1999/2/15,腊月,三十,1998
- 1999/2/16,正月,初一,1999
- 1999/3/17,正月,三十,1999
- 1999/3/18,二月,初一,1999
- 1999/4/15,二月,廿九,1999
- 1999/4/16,三月,初一,1999
- 1999/5/14,三月,廿九,1999
- 1999/5/15,四月,初一,1999
- 1999/6/13,四月,三十,1999
- 1999/6/14,五月,初一,1999
- 1999/7/12,五月,廿九,1999
- 1999/7/13,六月,初一,1999
- 1999/8/10,六月,廿九,1999
- 1999/8/11,七月,初一,1999
- 1999/9/9,七月,三十,1999
- 1999/9/10,八月,初一,1999
- 1999/10/8,八月,廿九,1999
- 1999/10/9,九月,初一,1999
- 1999/11/7,九月,三十,1999
- 1999/11/8,十月,初一,1999
- 1999/12/7,十月,三十,1999
- 1999/12/8,冬月,初一,1999
- 2000/1/6,冬月,三十,1999
- 2000/1/7,腊月,初一,1999
- 2000/2/4,腊月,廿九,1999
- 2000/2/5,正月,初一,2000
- 2000/3/5,正月,三十,2000
- 2000/3/6,二月,初一,2000
- 2000/4/4,二月,三十,2000
- 2000/4/5,三月,初一,2000
- 2000/5/3,三月,廿九,2000
- 2000/5/4,四月,初一,2000
- 2000/6/1,四月,廿九,2000
- 2000/6/2,五月,初一,2000
- 2000/7/1,五月,三十,2000
- 2000/7/2,六月,初一,2000
- 2000/7/30,六月,廿九,2000
- 2000/7/31,七月,初一,2000
- 2000/8/28,七月,廿九,2000
- 2000/8/29,八月,初一,2000
- 2000/9/27,八月,三十,2000
- 2000/9/28,九月,初一,2000
- 2000/10/26,九月,廿九,2000
- 2000/10/27,十月,初一,2000
- 2000/11/25,十月,三十,2000
- 2000/11/26,冬月,初一,2000
- 2000/12/25,冬月,三十,2000
- 2000/12/26,腊月,初一,2000
- 2001/1/23,腊月,廿九,2000
- 2001/1/24,正月,初一,2001
- 2001/2/22,正月,三十,2001
- 2001/2/23,二月,初一,2001
- 2001/3/24,二月,三十,2001
- 2001/3/25,三月,初一,2001
- 2001/4/22,三月,廿九,2001
- 2001/4/23,四月,初一,2001
- 2001/5/22,四月,三十,2001
- 2001/5/23,闰四月,初一,2001
- 2001/6/20,闰四月,廿九,2001
- 2001/6/21,五月,初一,2001
- 2001/7/20,五月,三十,2001
- 2001/7/21,六月,初一,2001
- 2001/8/18,六月,廿九,2001
- 2001/8/19,七月,初一,2001
- 2001/9/16,七月,廿九,2001
- 2001/9/17,八月,初一,2001
- 2001/10/16,八月,三十,2001
- 2001/10/17,九月,初一,2001
- 2001/11/14,九月,廿九,2001
- 2001/11/15,十月,初一,2001
- 2001/12/14,十月,三十,2001
- 2001/12/15,冬月,初一,2001
- 2002/1/12,冬月,廿九,2001
- 2002/1/13,腊月,初一,2001
- 2002/2/11,腊月,三十,2001
- 2002/2/12,正月,初一,2002
- 2002/3/13,正月,三十,2002
- 2002/3/14,二月,初一,2002
- 2002/4/12,二月,三十,2002
- 2002/4/13,三月,初一,2002
- 2002/5/11,三月,廿九,2002
- 2002/5/12,四月,初一,2002
- 2002/6/10,四月,三十,2002
- 2002/6/11,五月,初一,2002
- 2002/7/9,五月,廿九,2002
- 2002/7/10,六月,初一,2002
- 2002/8/8,六月,三十,2002
- 2002/8/9,七月,初一,2002
- 2002/9/6,七月,廿九,2002
- 2002/9/7,八月,初一,2002
- 2002/10/5,八月,廿九,2002
- 2002/10/6,九月,初一,2002
- 2002/11/4,九月,三十,2002
- 2002/11/5,十月,初一,2002
- 2002/12/3,十月,廿九,2002
- 2002/12/4,冬月,初一,2002
- 2003/1/2,冬月,三十,2002
- 2003/1/3,腊月,初一,2002
- 2003/1/31,腊月,廿九,2002
- 2003/2/1,正月,初一,2003
- 2003/3/2,正月,三十,2003
- 2003/3/3,二月,初一,2003
- 2003/4/1,二月,三十,2003
- 2003/4/2,三月,初一,2003
- 2003/4/30,三月,廿九,2003
- 2003/5/1,四月,初一,2003
- 2003/5/30,四月,三十,2003
- 2003/5/31,五月,初一,2003
- 2003/6/29,五月,三十,2003
- 2003/6/30,六月,初一,2003
- 2003/7/28,六月,廿九,2003
- 2003/7/29,七月,初一,2003
- 2003/8/27,七月,三十,2003
- 2003/8/28,八月,初一,2003
- 2003/9/25,八月,廿九,2003
- 2003/9/26,九月,初一,2003
- 2003/10/24,九月,廿九,2003
- 2003/10/25,十月,初一,2003
- 2003/11/23,十月,三十,2003
- 2003/11/24,冬月,初一,2003
- 2003/12/22,冬月,廿九,2003
- 2003/12/23,腊月,初一,2003
- 2004/1/21,腊月,三十,2003
- 2004/1/22,正月,初一,2004
- 2004/2/19,正月,廿九,2004
- 2004/2/20,二月,初一,2004
- 2004/3/20,二月,三十,2004
- 2004/3/21,闰二月,初一,2004
- 2004/4/18,闰二月,廿九,2004
- 2004/4/19,三月,初一,2004
- 2004/5/18,三月,三十,2004
- 2004/5/19,四月,初一,2004
- 2004/6/17,四月,三十,2004
- 2004/6/18,五月,初一,2004
- 2004/7/16,五月,廿九,2004
- 2004/7/17,六月,初一,2004
- 2004/8/15,六月,三十,2004
- 2004/8/16,七月,初一,2004
- 2004/9/13,七月,廿九,2004
- 2004/9/14,八月,初一,2004
- 2004/10/13,八月,三十,2004
- 2004/10/14,九月,初一,2004
- 2004/11/11,九月,廿九,2004
- 2004/11/12,十月,初一,2004
- 2004/12/11,十月,三十,2004
- 2004/12/12,冬月,初一,2004
- 2005/1/9,冬月,廿九,2004
- 2005/1/10,腊月,初一,2004
- 2005/2/8,腊月,三十,2004
- 2005/2/9,正月,初一,2005
- 2005/3/9,正月,廿九,2005
- 2005/3/10,二月,初一,2005
- 2005/4/8,二月,三十,2005
- 2005/4/9,三月,初一,2005
- 2005/5/7,三月,廿九,2005
- 2005/5/8,四月,初一,2005
- 2005/6/6,四月,三十,2005
- 2005/6/7,五月,初一,2005
- 2005/7/5,五月,廿九,2005
- 2005/7/6,六月,初一,2005
- 2005/8/4,六月,三十,2005
- 2005/8/5,七月,初一,2005
- 2005/9/3,七月,三十,2005
- 2005/9/4,八月,初一,2005
- 2005/10/2,八月,廿九,2005
- 2005/10/3,九月,初一,2005
- 2005/11/1,九月,三十,2005
- 2005/11/2,十月,初一,2005
- 2005/11/30,十月,廿九,2005
- 2005/12/1,冬月,初一,2005
- 2005/12/30,冬月,三十,2005
- 2005/12/31,腊月,初一,2005
- 2006/1/28,腊月,廿九,2005
- 2006/1/29,正月,初一,2006
- 2006/2/27,正月,三十,2006
- 2006/2/28,二月,初一,2006
- 2006/3/28,二月,廿九,2006
- 2006/3/29,三月,初一,2006
- 2006/4/27,三月,三十,2006
- 2006/4/28,四月,初一,2006
- 2006/5/26,四月,廿九,2006
- 2006/5/27,五月,初一,2006
- 2006/6/25,五月,三十,2006
- 2006/6/26,六月,初一,2006
- 2006/7/24,六月,廿九,2006
- 2006/7/25,七月,初一,2006
- 2006/8/23,七月,三十,2006
- 2006/8/24,闰七月,初一,2006
- 2006/9/21,闰七月,廿九,2006
- 2006/9/22,八月,初一,2006
- 2006/10/21,八月,三十,2006
- 2006/10/22,九月,初一,2006
- 2006/11/20,九月,三十,2006
- 2006/11/21,十月,初一,2006
- 2006/12/19,十月,廿九,2006
- 2006/12/20,冬月,初一,2006
- 2007/1/18,冬月,三十,2006
- 2007/1/19,腊月,初一,2006
- 2007/2/17,腊月,三十,2006
- 2007/2/18,正月,初一,2007
- 2007/3/18,正月,廿九,2007
- 2007/3/19,二月,初一,2007
- 2007/4/16,二月,廿九,2007
- 2007/4/17,三月,初一,2007
- 2007/5/16,三月,三十,2007
- 2007/5/17,四月,初一,2007
- 2007/6/14,四月,廿九,2007
- 2007/6/15,五月,初一,2007
- 2007/7/13,五月,廿九,2007
- 2007/7/14,六月,初一,2007
- 2007/8/12,六月,三十,2007
- 2007/8/13,七月,初一,2007
- 2007/9/10,七月,廿九,2007
- 2007/9/11,八月,初一,2007
- 2007/10/10,八月,三十,2007
- 2007/10/11,九月,初一,2007
- 2007/11/9,九月,三十,2007
- 2007/11/10,十月,初一,2007
- 2007/12/9,十月,三十,2007
- 2007/12/10,冬月,初一,2007
- 2008/1/7,冬月,廿九,2007
- 2008/1/8,腊月,初一,2007
- 2008/2/6,腊月,三十,2007
- 2008/2/7,正月,初一,2008
- 2008/3/7,正月,三十,2008
- 2008/3/8,二月,初一,2008
- 2008/4/5,二月,廿九,2008
- 2008/4/6,三月,初一,2008
- 2008/5/4,三月,廿九,2008
- 2008/5/5,四月,初一,2008
- 2008/6/3,四月,三十,2008
- 2008/6/4,五月,初一,2008
- 2008/7/2,五月,廿九,2008
- 2008/7/3,六月,初一,2008
- 2008/7/31,六月,廿九,2008
- 2008/8/1,七月,初一,2008
- 2008/8/30,七月,三十,2008
- 2008/8/31,八月,初一,2008
- 2008/9/28,八月,廿九,2008
- 2008/9/29,九月,初一,2008
- 2008/10/28,九月,三十,2008
- 2008/10/29,十月,初一,2008
- 2008/11/27,十月,三十,2008
- 2008/11/28,冬月,初一,2008
- 2008/12/26,冬月,廿九,2008
- 2008/12/27,腊月,初一,2008
- 2009/1/25,腊月,三十,2008
- 2009/1/26,正月,初一,2009
- 2009/2/24,正月,三十,2009
- 2009/2/25,二月,初一,2009
- 2009/3/26,二月,三十,2009
- 2009/3/27,三月,初一,2009
- 2009/4/24,三月,廿九,2009
- 2009/4/25,四月,初一,2009
- 2009/5/23,四月,廿九,2009
- 2009/5/24,五月,初一,2009
- 2009/6/22,五月,三十,2009
- 2009/6/23,闰五月,初一,2009
- 2009/7/21,闰五月,廿九,2009
- 2009/7/22,六月,初一,2009
- 2009/8/19,六月,廿九,2009
- 2009/8/20,七月,初一,2009
- 2009/9/18,七月,三十,2009
- 2009/9/19,八月,初一,2009
- 2009/10/17,八月,廿九,2009
- 2009/10/18,九月,初一,2009
- 2009/11/16,九月,三十,2009
- 2009/11/17,十月,初一,2009
- 2009/12/15,十月,廿九,2009
- 2009/12/16,冬月,初一,2009
- 2010/1/14,冬月,三十,2009
- 2010/1/15,腊月,初一,2009
- 2010/2/13,腊月,三十,2009
- 2010/2/14,正月,初一,2010
- 2010/3/15,正月,三十,2010
- 2010/3/16,二月,初一,2010
- 2010/4/13,二月,廿九,2010
- 2010/4/14,三月,初一,2010
- 2010/5/13,三月,三十,2010
- 2010/5/14,四月,初一,2010
- 2010/6/11,四月,廿九,2010
- 2010/6/12,五月,初一,2010
- 2010/7/11,五月,三十,2010
- 2010/7/12,六月,初一,2010
- 2010/8/9,六月,廿九,2010
- 2010/8/10,七月,初一,2010
- 2010/9/7,七月,廿九,2010
- 2010/9/8,八月,初一,2010
- 2010/10/7,八月,三十,2010
- 2010/10/8,九月,初一,2010
- 2010/11/5,九月,廿九,2010
- 2010/11/6,十月,初一,2010
- 2010/12/5,十月,三十,2010
- 2010/12/6,冬月,初一,2010
- 2011/1/3,冬月,廿九,2010
- 2011/1/4,腊月,初一,2010
- 2011/2/2,腊月,三十,2010
- 2011/2/3,正月,初一,2011
- 2011/3/4,正月,三十,2011
- 2011/3/5,二月,初一,2011
- 2011/4/2,二月,廿九,2011
- 2011/4/3,三月,初一,2011
- 2011/5/2,三月,三十,2011
- 2011/5/3,四月,初一,2011
- 2011/6/1,四月,三十,2011
- 2011/6/2,五月,初一,2011
- 2011/6/30,五月,廿九,2011
- 2011/7/1,六月,初一,2011
- 2011/7/30,六月,三十,2011
- 2011/7/31,七月,初一,2011
- 2011/8/28,七月,廿九,2011
- 2011/8/29,八月,初一,2011
- 2011/9/26,八月,廿九,2011
- 2011/9/27,九月,初一,2011
- 2011/10/26,九月,三十,2011
- 2011/10/27,十月,初一,2011
- 2011/11/24,十月,廿九,2011
- 2011/11/25,冬月,初一,2011
- 2011/12/24,冬月,三十,2011
- 2011/12/25,腊月,初一,2011
- 2012/1/22,腊月,廿九,2011
- 2012/1/23,正月,初一,2012
- 2012/2/21,正月,三十,2012
- 2012/2/22,二月,初一,2012
- 2012/3/21,二月,廿九,2012
- 2012/3/22,三月,初一,2012
- 2012/4/20,三月,三十,2012
- 2012/4/21,四月,初一,2012
- 2012/5/20,四月,三十,2012
- 2012/5/21,闰四月,初一,2012
- 2012/6/18,闰四月,廿九,2012
- 2012/6/19,五月,初一,2012
- 2012/7/18,五月,三十,2012
- 2012/7/19,六月,初一,2012
- 2012/8/16,六月,廿九,2012
- 2012/8/17,七月,初一,2012
- 2012/9/15,七月,三十,2012
- 2012/9/16,八月,初一,2012
- 2012/10/14,八月,廿九,2012
- 2012/10/15,九月,初一,2012
- 2012/11/13,九月,三十,2012
- 2012/11/14,十月,初一,2012
- 2012/12/12,十月,廿九,2012
- 2012/12/13,冬月,初一,2012
- 2013/1/11,冬月,三十,2012
- 2013/1/12,腊月,初一,2012
- 2013/2/9,腊月,廿九,2012
- 2013/2/10,正月,初一,2013
- 2013/3/11,正月,三十,2013
- 2013/3/12,二月,初一,2013
- 2013/4/9,二月,廿九,2013
- 2013/4/10,三月,初一,2013
- 2013/5/9,三月,三十,2013
- 2013/5/10,四月,初一,2013
- 2013/6/7,四月,廿九,2013
- 2013/6/8,五月,初一,2013
- 2013/7/7,五月,三十,2013
- 2013/7/8,六月,初一,2013
- 2013/8/6,六月,三十,2013
- 2013/8/7,七月,初一,2013
- 2013/9/4,七月,廿九,2013
- 2013/9/5,八月,初一,2013
- 2013/10/4,八月,三十,2013
- 2013/10/5,九月,初一,2013
- 2013/11/2,九月,廿九,2013
- 2013/11/3,十月,初一,2013
- 2013/12/2,十月,三十,2013
- 2013/12/3,冬月,初一,2013
- 2013/12/31,冬月,廿九,2013
- 2014/1/1,腊月,初一,2013
- 2014/1/30,腊月,三十,2013
- 2014/1/31,正月,初一,2014
- 2014/2/28,正月,廿九,2014
- 2014/3/1,二月,初一,2014
- 2014/3/30,二月,三十,2014
- 2014/3/31,三月,初一,2014
- 2014/4/28,三月,廿九,2014
- 2014/4/29,四月,初一,2014
- 2014/5/28,四月,三十,2014
- 2014/5/29,五月,初一,2014
- 2014/6/26,五月,廿九,2014
- 2014/6/27,六月,初一,2014
- 2014/7/26,六月,三十,2014
- 2014/7/27,七月,初一,2014
- 2014/8/24,七月,廿九,2014
- 2014/8/25,八月,初一,2014
- 2014/9/23,八月,三十,2014
- 2014/9/24,九月,初一,2014
- 2014/10/23,九月,三十,2014
- 2014/10/24,闰九月,初一,2014
- 2014/11/21,闰九月,廿九,2014
- 2014/11/22,十月,初一,2014
- 2014/12/21,十月,三十,2014
- 2014/12/22,冬月,初一,2014
- 2015/1/19,冬月,廿九,2014
- 2015/1/20,腊月,初一,2014
- 2015/2/18,腊月,三十,2014
- 2015/2/19,正月,初一,2015
- 2015/3/19,正月,廿九,2015
- 2015/3/20,二月,初一,2015
- 2015/4/18,二月,三十,2015
- 2015/4/19,三月,初一,2015
- 2015/5/17,三月,廿九,2015
- 2015/5/18,四月,初一,2015
- 2015/6/15,四月,廿九,2015
- 2015/6/16,五月,初一,2015
- 2015/7/15,五月,三十,2015
- 2015/7/16,六月,初一,2015
- 2015/8/13,六月,廿九,2015
- 2015/8/14,七月,初一,2015
- 2015/9/12,七月,三十,2015
- 2015/9/13,八月,初一,2015
- 2015/10/12,八月,三十,2015
- 2015/10/13,九月,初一,2015
- 2015/11/11,九月,三十,2015
- 2015/11/12,十月,初一,2015
- 2015/12/10,十月,廿九,2015
- 2015/12/11,冬月,初一,2015
- 2016/1/9,冬月,三十,2015
- 2016/1/10,腊月,初一,2015
- 2016/2/7,腊月,廿九,2015
- 2016/2/8,正月,初一,2016
- 2016/3/8,正月,三十,2016
- 2016/3/9,二月,初一,2016
- 2016/4/6,二月,廿九,2016
- 2016/4/7,三月,初一,2016
- 2016/5/6,三月,三十,2016
- 2016/5/7,四月,初一,2016
- 2016/6/4,四月,廿九,2016
- 2016/6/5,五月,初一,2016
- 2016/7/3,五月,廿九,2016
- 2016/7/4,六月,初一,2016
- 2016/8/2,六月,三十,2016
- 2016/8/3,七月,初一,2016
- 2016/8/31,七月,廿九,2016
- 2016/9/1,八月,初一,2016
- 2016/9/30,八月,三十,2016
- 2016/10/1,九月,初一,2016
- 2016/10/30,九月,三十,2016
- 2016/10/31,十月,初一,2016
- 2016/11/28,十月,廿九,2016
- 2016/11/29,冬月,初一,2016
- 2016/12/28,冬月,三十,2016
- 2016/12/29,腊月,初一,2016
- 2017/1/27,腊月,三十,2016
- 2017/1/28,正月,初一,2017
- 2017/2/25,正月,廿九,2017
- 2017/2/26,二月,初一,2017
- 2017/3/27,二月,三十,2017
- 2017/3/28,三月,初一,2017
- 2017/4/25,三月,廿九,2017
- 2017/4/26,四月,初一,2017
- 2017/5/25,四月,三十,2017
- 2017/5/26,五月,初一,2017
- 2017/6/23,五月,廿九,2017
- 2017/6/24,六月,初一,2017
- 2017/7/22,六月,廿九,2017
- 2017/7/23,闰六月,初一,2017
- 2017/8/21,闰六月,三十,2017
- 2017/8/22,七月,初一,2017
- 2017/9/19,七月,廿九,2017
- 2017/9/20,八月,初一,2017
- 2017/10/19,八月,三十,2017
- 2017/10/20,九月,初一,2017
- 2017/11/17,九月,廿九,2017
- 2017/11/18,十月,初一,2017
- 2017/12/17,十月,三十,2017
- 2017/12/18,冬月,初一,2017
- 2018/1/16,冬月,三十,2017
- 2018/1/17,腊月,初一,2017
- 2018/2/15,腊月,三十,2017
- 2018/2/16,正月,初一,2018
- 2018/3/16,正月,廿九,2018
- 2018/3/17,二月,初一,2018
- 2018/4/15,二月,三十,2018
- 2018/4/16,三月,初一,2018
- 2018/5/14,三月,廿九,2018
- 2018/5/15,四月,初一,2018
- 2018/6/13,四月,三十,2018
- 2018/6/14,五月,初一,2018
- 2018/7/12,五月,廿九,2018
- 2018/7/13,六月,初一,2018
- 2018/8/10,六月,廿九,2018
- 2018/8/11,七月,初一,2018
- 2018/9/9,七月,三十,2018
- 2018/9/10,八月,初一,2018
- 2018/10/8,八月,廿九,2018
- 2018/10/9,九月,初一,2018
- 2018/11/7,九月,三十,2018
- 2018/11/8,十月,初一,2018
- 2018/12/6,十月,廿九,2018
- 2018/12/7,冬月,初一,2018
- 2019/1/5,冬月,三十,2018
- 2019/1/6,腊月,初一,2018
- 2019/2/4,腊月,三十,2018
- 2019/2/5,正月,初一,2019
- 2019/3/6,正月,三十,2019
- 2019/3/7,二月,初一,2019
- 2019/4/4,二月,廿九,2019
- 2019/4/5,三月,初一,2019
- 2019/5/4,三月,三十,2019
- 2019/5/5,四月,初一,2019
- 2019/6/2,四月,廿九,2019
- 2019/6/3,五月,初一,2019
- 2019/7/2,五月,三十,2019
- 2019/7/3,六月,初一,2019
- 2019/7/31,六月,廿九,2019
- 2019/8/1,七月,初一,2019
- 2019/8/29,七月,廿九,2019
- 2019/8/30,八月,初一,2019
- 2019/9/28,八月,三十,2019
- 2019/9/29,九月,初一,2019
- 2019/10/27,九月,廿九,2019
- 2019/10/28,十月,初一,2019
- 2019/11/25,十月,廿九,2019
- 2019/11/26,冬月,初一,2019
- 2019/12/25,冬月,三十,2019
- 2019/12/26,腊月,初一,2019
- 2020/1/24,腊月,三十,2019
- 2020/1/25,正月,初一,2020
- 2020/2/22,正月,廿九,2020
- 2020/2/23,二月,初一,2020
- 2020/3/23,二月,三十,2020
- 2020/3/24,三月,初一,2020
- 2020/4/22,三月,三十,2020
- 2020/4/23,四月,初一,2020
- 2020/5/22,四月,三十,2020
- 2020/5/23,闰四月,初一,2020
- 2020/6/20,闰四月,廿九,2020
- 2020/6/21,五月,初一,2020
- 2020/7/20,五月,三十,2020
- 2020/7/21,六月,初一,2020
- 2020/8/18,六月,廿九,2020
- 2020/8/19,七月,初一,2020
- 2020/9/16,七月,廿九,2020
- 2020/9/17,八月,初一,2020
- 2020/10/16,八月,三十,2020
- 2020/10/17,九月,初一,2020
- 2020/11/14,九月,廿九,2020
- 2020/11/15,十月,初一,2020
- 2020/12/14,十月,三十,2020
- 2020/12/15,冬月,初一,2020
- 2021/1/12,冬月,廿九,2020
- 2021/1/13,腊月,初一,2020
- 2021/2/11,腊月,三十,2020
- 2021/2/12,正月,初一,2021
- 2021/3/12,正月,廿九,2021
- 2021/3/13,二月,初一,2021
- 2021/4/11,二月,三十,2021
- 2021/4/12,三月,初一,2021
- 2021/5/11,三月,三十,2021
- 2021/5/12,四月,初一,2021
- 2021/6/9,四月,廿九,2021
- 2021/6/10,五月,初一,2021
- 2021/7/9,五月,三十,2021
- 2021/7/10,六月,初一,2021
- 2021/8/7,六月,廿九,2021
- 2021/8/8,七月,初一,2021
- 2021/9/6,七月,三十,2021
- 2021/9/7,八月,初一,2021
- 2021/10/5,八月,廿九,2021
- 2021/10/6,九月,初一,2021
- 2021/11/4,九月,三十,2021
- 2021/11/5,十月,初一,2021
- 2021/12/3,十月,廿九,2021
- 2021/12/4,冬月,初一,2021
- 2022/1/2,冬月,三十,2021
- 2022/1/3,腊月,初一,2021
- 2022/1/31,腊月,廿九,2021
- 2022/2/1,正月,初一,2022
- 2022/3/2,正月,三十,2022
- 2022/3/3,二月,初一,2022
- 2022/3/31,二月,廿九,2022
- 2022/4/1,三月,初一,2022
- 2022/4/30,三月,三十,2022
- 2022/5/1,四月,初一,2022
- 2022/5/29,四月,廿九,2022
- 2022/5/30,五月,初一,2022
- 2022/6/28,五月,三十,2022
- 2022/6/29,六月,初一,2022
- 2022/7/28,六月,三十,2022
- 2022/7/29,七月,初一,2022
- 2022/8/26,七月,廿九,2022
- 2022/8/27,八月,初一,2022
- 2022/9/25,八月,三十,2022
- 2022/9/26,九月,初一,2022
- 2022/10/24,九月,廿九,2022
- 2022/10/25,十月,初一,2022
- 2022/11/23,十月,三十,2022
- 2022/11/24,冬月,初一,2022
- 2022/12/22,冬月,廿九,2022
- 2022/12/23,腊月,初一,2022
- 2023/1/21,腊月,三十,2022
- 2023/1/22,正月,初一,2023
- 2023/2/19,正月,廿九,2023
- 2023/2/20,二月,初一,2023
- 2023/3/21,二月,三十,2023
- 2023/3/22,闰二月,初一,2023
- 2023/4/19,闰二月,廿九,2023
- 2023/4/20,三月,初一,2023
- 2023/5/18,三月,廿九,2023
- 2023/5/19,四月,初一,2023
- 2023/6/17,四月,三十,2023
- 2023/6/18,五月,初一,2023
- 2023/7/17,五月,三十,2023
- 2023/7/18,六月,初一,2023
- 2023/8/15,六月,廿九,2023
- 2023/8/16,七月,初一,2023
- 2023/9/14,七月,三十,2023
- 2023/9/15,八月,初一,2023
- 2023/10/14,八月,三十,2023
- 2023/10/15,九月,初一,2023
- 2023/11/12,九月,廿九,2023
- 2023/11/13,十月,初一,2023
- 2023/12/12,十月,三十,2023
- 2023/12/13,冬月,初一,2023
- 2024/1/10,冬月,廿九,2023
- 2024/1/11,腊月,初一,2023
- 2024/2/9,腊月,三十,2023
- 2024/2/10,正月,初一,2024
- 2024/3/9,正月,廿九,2024
- 2024/3/10,二月,初一,2024
- 2024/4/8,二月,三十,2024
- 2024/4/9,三月,初一,2024
- 2024/5/7,三月,廿九,2024
- 2024/5/8,四月,初一,2024
- 2024/6/5,四月,廿九,2024
- 2024/6/6,五月,初一,2024
- 2024/7/5,五月,三十,2024
- 2024/7/6,六月,初一,2024
- 2024/8/3,六月,廿九,2024
- 2024/8/4,七月,初一,2024
- 2024/9/2,七月,三十,2024
- 2024/9/3,八月,初一,2024
- 2024/10/2,八月,三十,2024
- 2024/10/3,九月,初一,2024
- 2024/10/31,九月,廿九,2024
- 2024/11/1,十月,初一,2024
- 2024/11/30,十月,三十,2024
- 2024/12/1,冬月,初一,2024
- 2024/12/30,冬月,三十,2024
- 2024/12/31,腊月,初一,2024
- 2025/1/28,腊月,廿九,2024
- 2025/1/29,正月,初一,2025
- 2025/2/27,正月,三十,2025
- 2025/2/28,二月,初一,2025
- 2025/3/28,二月,廿九,2025
- 2025/3/29,三月,初一,2025
- 2025/4/27,三月,三十,2025
- 2025/4/28,四月,初一,2025
- 2025/5/26,四月,廿九,2025
- 2025/5/27,五月,初一,2025
- 2025/6/24,五月,廿九,2025
- 2025/6/25,六月,初一,2025
- 2025/7/24,六月,三十,2025
- 2025/7/25,闰六月,初一,2025
- 2025/8/22,闰六月,廿九,2025
- 2025/8/23,七月,初一,2025
- 2025/9/21,七月,三十,2025
- 2025/9/22,八月,初一,2025
- 2025/10/20,八月,廿九,2025
- 2025/10/21,九月,初一,2025
- 2025/11/19,九月,三十,2025
- 2025/11/20,十月,初一,2025
- 2025/12/19,十月,三十,2025
- 2025/12/20,冬月,初一,2025
- 2026/1/18,冬月,三十,2025
- 2026/1/19,腊月,初一,2025
- 2026/2/16,腊月,廿九,2025
- 2026/2/17,正月,初一,2026
- 2026/3/18,正月,三十,2026
- 2026/3/19,二月,初一,2026
- 2026/4/16,二月,廿九,2026
- 2026/4/17,三月,初一,2026
- 2026/5/16,三月,三十,2026
- 2026/5/17,四月,初一,2026
- 2026/6/14,四月,廿九,2026
- 2026/6/15,五月,初一,2026
- 2026/7/13,五月,廿九,2026
- 2026/7/14,六月,初一,2026
- 2026/8/12,六月,三十,2026
- 2026/8/13,七月,初一,2026
- 2026/9/10,七月,廿九,2026
- 2026/9/11,八月,初一,2026
- 2026/10/9,八月,廿九,2026
- 2026/10/10,九月,初一,2026
- 2026/11/8,九月,三十,2026
- 2026/11/9,十月,初一,2026
- 2026/12/8,十月,三十,2026
- 2026/12/9,冬月,初一,2026
- 2027/1/7,冬月,三十,2026
- 2027/1/8,腊月,初一,2026
- 2027/2/5,腊月,廿九,2026
- 2027/2/6,正月,初一,2027
- 2027/3/7,正月,三十,2027
- 2027/3/8,二月,初一,2027
- 2027/4/6,二月,三十,2027
- 2027/4/7,三月,初一,2027
- 2027/5/5,三月,廿九,2027
- 2027/5/6,四月,初一,2027
- 2027/6/4,四月,三十,2027
- 2027/6/5,五月,初一,2027
- 2027/7/3,五月,廿九,2027
- 2027/7/4,六月,初一,2027
- 2027/8/1,六月,廿九,2027
- 2027/8/2,七月,初一,2027
- 2027/8/31,七月,三十,2027
- 2027/9/1,八月,初一,2027
- 2027/9/29,八月,廿九,2027
- 2027/9/30,九月,初一,2027
- 2027/10/28,九月,廿九,2027
- 2027/10/29,十月,初一,2027
- 2027/11/27,十月,三十,2027
- 2027/11/28,冬月,初一,2027
- 2027/12/27,冬月,三十,2027
- 2027/12/28,腊月,初一,2027
- 2028/1/25,腊月,廿九,2027
- 2028/1/26,正月,初一,2028
- 2028/2/24,正月,三十,2028
- 2028/2/25,二月,初一,2028
- 2028/3/25,二月,三十,2028
- 2028/3/26,三月,初一,2028
- 2028/4/24,三月,三十,2028
- 2028/4/25,四月,初一,2028
- 2028/5/23,四月,廿九,2028
- 2028/5/24,五月,初一,2028
- 2028/6/22,五月,三十,2028
- 2028/6/23,闰五月,初一,2028
- 2028/7/21,闰五月,廿九,2028
- 2028/7/22,六月,初一,2028
- 2028/8/19,六月,廿九,2028
- 2028/8/20,七月,初一,2028
- 2028/9/18,七月,三十,2028
- 2028/9/19,八月,初一,2028
- 2028/10/17,八月,廿九,2028
- 2028/10/18,九月,初一,2028
- 2028/11/15,九月,廿九,2028
- 2028/11/16,十月,初一,2028
- 2028/12/15,十月,三十,2028
- 2028/12/16,冬月,初一,2028
- 2029/1/14,冬月,三十,2028
- 2029/1/15,腊月,初一,2028
- 2029/2/12,腊月,廿九,2028
- 2029/2/13,正月,初一,2029
- 2029/3/14,正月,三十,2029
- 2029/3/15,二月,初一,2029
- 2029/4/13,二月,三十,2029
- 2029/4/14,三月,初一,2029
- 2029/5/12,三月,廿九,2029
- 2029/5/13,四月,初一,2029
- 2029/6/11,四月,三十,2029
- 2029/6/12,五月,初一,2029
- 2029/7/10,五月,廿九,2029
- 2029/7/11,六月,初一,2029
- 2029/8/9,六月,三十,2029
- 2029/8/10,七月,初一,2029
- 2029/9/7,七月,廿九,2029
- 2029/9/8,八月,初一,2029
- 2029/10/7,八月,三十,2029
- 2029/10/8,九月,初一,2029
- 2029/11/5,九月,廿九,2029
- 2029/11/6,十月,初一,2029
- 2029/12/4,十月,廿九,2029
- 2029/12/5,冬月,初一,2029
- 2030/1/3,冬月,三十,2029
- 2030/1/4,腊月,初一,2029
- 2030/2/2,腊月,三十,2029
- 2030/2/3,正月,初一,2030
- 2030/3/3,正月,廿九,2030
- 2030/3/4,二月,初一,2030
- 2030/4/2,二月,三十,2030
- 2030/4/3,三月,初一,2030
- 2030/5/1,三月,廿九,2030
- 2030/5/2,四月,初一,2030
- 2030/5/31,四月,三十,2030
- 2030/6/1,五月,初一,2030
- 2030/6/30,五月,三十,2030
- 2030/7/1,六月,初一,2030
- 2030/7/29,六月,廿九,2030
- 2030/7/30,七月,初一,2030
- 2030/8/28,七月,三十,2030
- 2030/8/29,八月,初一,2030
- 2030/9/26,八月,廿九,2030
- 2030/9/27,九月,初一,2030
- 2030/10/26,九月,三十,2030
- 2030/10/27,十月,初一,2030
- 2030/11/24,十月,廿九,2030
- 2030/11/25,冬月,初一,2030
- 2030/12/24,冬月,三十,2030
- 2030/12/25,腊月,初一,2030
- 2031/1/22,腊月,廿九,2030`})(u5||(u5={}));let RC=ZR(MX);RC.use($Se);RC.use(PC);RC.mount("#app");let wWe=s5.areas.split(`
- `);wWe.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],F.addAreaData(r)}});let xWe=u5.nongli.split(`
- `);xWe.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]),F.addNongLi(r)}})});export default SWe();
|